/* Schladitz milwa — shared design system
   Layers: reset → tokens → base → layout → components → pages → motion → utilities */

/* Self-hosted fonts — no requests to Google (DSGVO) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@layer reset, tokens, base, layout, components, pages, motion, utilities;

/* Registered so they interpolate: product aura colour and spatial tilt */
@property --aura { syntax: "<color>"; inherits: true; initial-value: #7f95ff; }
@property --rx { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
@property --ry { syntax: "<angle>"; inherits: true; initial-value: 0deg; }

@view-transition { navigation: auto; }

/* =================================================================== tokens */
@layer tokens {
  :root {
    color-scheme: light;
    --logo: url("/assets/img/logo-white.png");

    --navy-950: oklch(15.5% 0.045 262);
    --navy-900: oklch(19% 0.06 262);
    --navy-700: oklch(34% 0.13 260);
    --ice:      oklch(87% 0.07 225);
    --red:      oklch(55% 0.215 27);

    --bg:          light-dark(oklch(98.6% 0.004 250), var(--navy-950));
    --bg-alt:      light-dark(oklch(95.4% 0.013 245), var(--navy-900));
    --surface:     light-dark(oklch(100% 0 0), oklch(23% 0.065 262));
    --text:        light-dark(oklch(21% 0.045 262), oklch(97% 0.008 250));
    --text-dim:    light-dark(oklch(45% 0.04 262), oklch(77% 0.035 255));
    --hairline:    light-dark(oklch(88% 0.015 255), oklch(31% 0.05 262));
    --accent-text: light-dark(oklch(51% 0.21 27), var(--ice));
    --btn-bg:      light-dark(var(--navy-700), oklch(98% 0.005 250));
    --btn-hover:   light-dark(oklch(40% 0.14 260), oklch(91% 0.03 240));
    --btn-text:    light-dark(oklch(99% 0 0), oklch(21% 0.07 262));
    --logo-color:  light-dark(oklch(52% 0.21 27), oklch(99% 0 0));
    --glass-tint:  color-mix(in oklch, var(--bg) 72%, transparent);
    --glass-strong: color-mix(in oklch, var(--bg) 92%, transparent);

    --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
    --font-mono:  ui-monospace, "SF Mono", "Cascadia Code", Menlo, monospace;

    --step--1: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
    --step-0:  clamp(1.0625rem, 1.04rem + 0.1vw, 1.125rem);
    --step-1:  clamp(1.1875rem, 1.1rem + 0.35vw, 1.4rem);
    --step-2:  clamp(1.375rem, 1.2rem + 0.75vw, 1.875rem);
    --step-3:  clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
    --step-4:  clamp(2.25rem, 1.7rem + 2.4vw, 4rem);
    --step-5:  clamp(2.75rem, 1.9rem + 3.6vw, 5.25rem);
    --step-6:  clamp(3rem, 1.9rem + 4.6vw, 6rem);
    --step-7:  clamp(3.4rem, 1.4rem + 7.6vw, 8.75rem);

    --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.25rem;
    --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem;
    --space-section: clamp(4.5rem, 3rem + 7vw, 10rem);
    --gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
    --max: 76rem;
    --nav-h: 52px;
    --tabs-h: 60px;

    --radius-s: 12px; --radius-m: 20px; --radius-l: 30px; --radius-pill: 980px;

    --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
    --ease-in:       cubic-bezier(0.5, 0, 0.75, 0);
    --spring-snappy: linear(0, 0.018, 0.065, 0.133, 0.212, 0.298, 0.386, 0.473, 0.555, 0.631, 0.7, 0.761, 0.815, 0.861, 0.9, 0.933, 0.959, 0.98, 0.996, 1.008, 1.017, 1.023, 1.026, 1.028, 1.028, 1.027, 1.026, 1.024, 1.022, 1.019, 1.017, 1.014, 1.012, 1.01, 1.008, 1.006, 1.005, 1.004, 1.003, 1.002, 1);
    --spring-smooth: linear(0, 0.021, 0.075, 0.148, 0.233, 0.322, 0.411, 0.496, 0.574, 0.646, 0.709, 0.765, 0.812, 0.853, 0.887, 0.914, 0.937, 0.955, 0.97, 0.981, 0.989, 0.996, 1, 1.003, 1.005, 1.006, 1.007, 1.007, 1.007, 1.007, 1.006, 1.005, 1.005, 1.004, 1.003, 1.003, 1.002, 1.002, 1.002, 1.001, 1);
    --dur-micro: 160ms; --dur-ui: 280ms; --dur-reveal: 800ms; --dur-scene: 1200ms;
  }
}

/* =================================================================== reset */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  img, picture, video, canvas, svg { display: block; max-width: 100%; }
  img { height: auto; }
  input, button, textarea, select { font: inherit; color: inherit; }
  button { background: none; border: 0; padding: 0; cursor: pointer; }
  ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
}

/* =================================================================== base */
@layer base {
  html {
    background: var(--navy-950); color: var(--text);
    font-family: var(--font-sans);
    scroll-padding-top: calc(var(--nav-h) + var(--tabs-h) + 1rem);
    scrollbar-gutter: stable;
    accent-color: var(--navy-700);
    overflow-x: clip;   /* never scroll sideways: decorative glows may poke out by a few pixels on phones */
  }
  body {
    background: var(--bg);
    min-height: 100svh;
    font-size: var(--step-0); line-height: 1.5; letter-spacing: -0.011em;
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
  }
  h1, h2, h3 { font-weight: 650; line-height: 1.04; letter-spacing: -0.032em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
  p, li { text-wrap: pretty; }
  a { color: inherit; }
  em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
  ::selection { background: color-mix(in oklch, var(--red) 30%, transparent); }
  :focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
  @media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
}

/* =================================================================== layout */
@layer layout {
  .wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
  .wrap--text { width: min(100% - 2 * var(--gutter), 46rem); margin-inline: auto; }
  .section { padding-block: var(--space-section); }
  .section--tight { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
  .is-dark { color-scheme: dark; background: var(--bg); color: var(--text); }
  .is-alt  { background: var(--bg-alt); }
  .section-head { display: grid; gap: var(--space-3); margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
  .section-head h2 { font-size: var(--step-5); max-width: 16ch; }
  .section-head .lede { margin-top: var(--space-2); }
  .split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
  @media (width >= 60rem) { .split { grid-template-columns: 1fr 1fr; } .split--wide-media { grid-template-columns: .9fr 1.1fr; } }
}

/* =================================================================== components */
@layer components {
  .skip-link { position: absolute; left: var(--gutter); top: -200px; z-index: 100; padding: .75em 1em; border-radius: var(--radius-s); background: var(--text); color: var(--bg); text-decoration: none; }
  .skip-link:focus { top: .75rem; }

  .eyebrow { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.012em; color: var(--accent-text); }
  .lede { max-width: 40ch; font-size: var(--step-1); line-height: 1.42; color: var(--text-dim); }
  .prose { display: grid; gap: var(--space-4); max-width: 62ch; color: var(--text-dim); font-size: var(--step-0); line-height: 1.6; }
  .prose strong { color: var(--text); font-weight: 600; }
  .fineprint { font-size: var(--step--1); color: var(--text-dim); }

  .logo { display: block; aspect-ratio: 415 / 112; background: var(--logo-color); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }

  /* ---------- Navigation: glass bar + Apple-style flyouts */
  .nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); display: flex; align-items: center; color: var(--text); }
  .nav::before {   /* glass lives on a pseudo-element so the flyouts can blur the page themselves */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--glass-tint);
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 0 var(--hairline);
    transition: background-color var(--dur-ui) var(--ease-out);
  }
  .nav.is-over-dark { color-scheme: dark; }
  .nav.has-open::before { background: var(--glass-strong); }
  .nav__inner { display: flex; align-items: center; gap: var(--space-8); }
  .nav__brand { display: inline-flex; align-items: center; min-height: 44px; }
  .nav__brand .logo { width: 82px; }
  .nav__links { display: none; align-items: center; gap: var(--space-6); padding: 0; list-style: none; }
  .nav__trigger, .nav__link {
    display: inline-flex; align-items: center; gap: .35em; min-height: 44px;
    font-size: var(--step--1); color: var(--text-dim); text-decoration: none;
    transition: color var(--dur-micro) var(--ease-out);
  }
  .nav__trigger svg { width: .55em; height: .55em; transition: rotate var(--dur-ui) var(--ease-out); }
  .nav__trigger:hover, .nav__link:hover, .nav__trigger[aria-expanded="true"], .nav__link[aria-current="page"], .is-current > .nav__trigger { color: var(--text); }
  .nav__trigger[aria-expanded="true"] svg { rotate: 180deg; }
  .nav__actions { display: flex; align-items: center; gap: var(--space-2); margin-inline-start: auto; }
  @media (width >= 60rem) { .nav__inner > nav { margin-inline-start: auto; } .nav__links { display: flex; } .nav__actions { margin-inline-start: 0; } .nav .nav__menu-btn { display: none; } }
  @media (prefers-reduced-transparency: reduce) { .nav::before, .flyout { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; } }

  .flyout {
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    padding-block: var(--space-8) var(--space-12);
    background: var(--glass-strong);
    -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
    box-shadow: 0 1px 0 var(--hairline), 0 40px 80px -40px rgb(0 0 0 / .45);
    opacity: 0; visibility: hidden; translate: 0 -10px;
    transition: opacity var(--dur-ui) var(--ease-out), translate var(--dur-ui) var(--ease-out), visibility 0s linear var(--dur-ui);
  }
  .has-flyout.is-open .flyout { opacity: 1; visibility: visible; translate: none; transition-delay: 0s; }
  .flyout__inner { display: grid; grid-template-columns: 13rem 1fr; gap: var(--space-8); }
  .flyout__label { font-size: var(--step--1); color: var(--text-dim); padding-top: .6em; }
  .flyout ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: var(--space-3) clamp(2rem, 1rem + 2vw, 3.5rem); }
  .flyout a { display: grid; gap: .3em; min-width: 0; padding: var(--space-2) 0; text-decoration: none; }
  .flyout a strong { font-size: clamp(1.5rem, 1.1rem + 1vw, 2.125rem); font-weight: 650; letter-spacing: -0.028em; line-height: 1.1; overflow-wrap: break-word; hyphens: auto; transition: color var(--dur-micro) var(--ease-out); }   /* long German compounds never run into the next column */
  .flyout a span { font-size: var(--step--1); color: var(--text-dim); }
  .flyout a:hover strong, .flyout a[aria-current="page"] strong { color: var(--accent-text); }
  .nav-dim { position: fixed; inset: var(--nav-h) 0 0; z-index: 45; background: oklch(15% 0.04 262 / .28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity var(--dur-ui) var(--ease-out), visibility 0s linear var(--dur-ui); }
  .flyout-open .nav-dim { opacity: 1; visibility: visible; transition-delay: 0s; }

  .mobile-menu {
    inset: calc(var(--nav-h) + .5rem) var(--gutter) auto auto; width: min(22rem, 100% - 2 * var(--gutter));
    max-height: calc(100svh - var(--nav-h) - 1rem); overflow: auto;
    padding: var(--space-4); border: 0; border-radius: var(--radius-m); color-scheme: dark;
    background: color-mix(in oklch, var(--navy-900) 90%, transparent); color: var(--text);
    -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
    box-shadow: inset 0 0 0 1px var(--hairline), 0 24px 60px -20px rgb(0 0 0 / .45);
  }
  .mobile-menu__group + .mobile-menu__group { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--hairline); }
  .mobile-menu__label { padding-inline: var(--space-3); font-size: var(--step--1); color: var(--text-dim); }
  .mobile-menu ul { list-style: none; padding: 0; display: grid; }
  .mobile-menu a { display: flex; align-items: center; min-height: 46px; padding-inline: var(--space-3); border-radius: var(--radius-s); text-decoration: none; font-size: var(--step-1); font-weight: 550; }
  .mobile-menu a:hover, .mobile-menu a[aria-current="page"] { background: color-mix(in oklch, var(--text) 8%, transparent); }

  .nav__lang { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding-inline: .4rem; border-radius: var(--radius-pill); font-size: var(--step--1); font-weight: 600; letter-spacing: .06em; color: var(--text-dim); text-decoration: none; transition: color var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
  .nav__lang:hover { color: var(--text); background: color-mix(in oklch, var(--text) 8%, transparent); }
  .nav__lang:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }

  /* ---------- Section tabs (sibling pages) */
  .tabs { margin-top: var(--nav-h); transition: background-color var(--dur-ui) var(--ease-out); }
  .has-tabs .page-hero { margin-top: calc(-1 * (var(--nav-h) + var(--tabs-h))); padding-top: calc(var(--nav-h) + var(--tabs-h) + var(--space-12)); min-height: min(76svh, 46rem); }
  .tabs { position: sticky; top: var(--nav-h); z-index: 30; height: var(--tabs-h); display: flex; align-items: center; background: var(--glass-tint); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 var(--hairline); }
  .tabs__inner { display: flex; align-items: center; gap: var(--space-6); }
  .tabs__label { display: none; font-size: var(--step--1); font-weight: 600; color: var(--text); white-space: nowrap; }
  @media (width >= 48rem) { .tabs__label { display: block; } }
  .tabs__list { display: flex; gap: 4px; padding: 4px; margin: 0 0 0 auto; min-width: 0; list-style: none; border-radius: var(--radius-pill); background: var(--bg-alt); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .tabs__list::-webkit-scrollbar { display: none; }
  .tabs__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1em; border-radius: var(--radius-pill); font-size: var(--step--1); font-weight: 550; color: var(--text-dim); text-decoration: none; white-space: nowrap; transition: color var(--dur-micro) var(--ease-out); }
  .tabs__list a:hover { color: var(--text); }
  .tabs__list a[aria-current="page"], .tabs__list a.is-active { color: var(--btn-text); background: var(--btn-bg); }
  .tabs__list a[aria-current="page"] { view-transition-name: tab-active; }
  @media (width < 48rem) { .tabs__list { margin-left: 0; } }

  /* ---------- Buttons & links */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 50px; padding: 0 1.5em; border-radius: var(--radius-pill);
    background: var(--btn-bg); color: var(--btn-text);
    font-weight: 600; text-decoration: none; white-space: nowrap;
    transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-ui) var(--spring-snappy);
  }
  .btn:hover { background: var(--btn-hover); }
  .btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--hairline); }
  .btn--ghost:hover { background: color-mix(in oklch, var(--text) 6%, transparent); }
  .btn:active, .icon-btn:active { transform: scale(.96); transition-duration: 80ms; }
  .btn--small { min-height: 44px; padding: 0 1.1em; font-size: var(--step--1); }
  .link-chevron { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; color: var(--accent-text); font-weight: 500; text-decoration: none; }
  .link-chevron svg { width: .62em; height: .62em; transition: transform var(--dur-ui) var(--spring-snappy); }
  .link-chevron:hover { text-decoration: underline; text-underline-offset: .22em; }
  .link-chevron:hover svg { transform: translateX(3px); }
  .icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--hairline); transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-ui) var(--spring-snappy); }
  .icon-btn:hover { background: var(--bg-alt); }
  .icon-btn svg { width: 18px; height: 18px; }
  .nav .icon-btn { background: transparent; box-shadow: none; }
  .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); }

  .chips { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0; list-style: none; }
  .chips li { padding: .45em .85em; border-radius: var(--radius-pill); font-size: var(--step--1); font-weight: 550; color: var(--text); background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--hairline); }

  /* ---------- Ambient grains canvas */
  .grains { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

  /* ---------- Tiles, cards, bento */
  .bento { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
  @media (width >= 48rem) { .bento { grid-template-columns: repeat(6, 1fr); } .span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; } }
  .tile { position: relative; display: grid; align-content: space-between; gap: var(--space-8); min-height: 16rem; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); border-radius: var(--radius-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); overflow: hidden; }
  .tile p { max-width: 32ch; color: var(--text-dim); }
  @media (width < 48rem) { .tile { min-height: 0; gap: var(--space-4); } }
  .tile p strong { color: var(--text); font-weight: 600; }
  .tile h3 { font-size: var(--step-2); letter-spacing: -0.025em; }
  .tile--dark { box-shadow: none; background: radial-gradient(90% 120% at 85% 0%, oklch(32% 0.11 255), var(--navy-950) 70%); }
  .stat { font-size: var(--step-6); font-weight: 760; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; color: var(--text); }
  .stat small { font-size: .42em; letter-spacing: -0.02em; margin-inline-start: .08em; }
  .stat--hero { font-size: clamp(3.5rem, 1.6rem + 8vw, 9rem); background: linear-gradient(115deg, var(--ice) 15%, oklch(70% 0.14 248)); -webkit-background-clip: text; background-clip: text; color: transparent; }

  .cards { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); }
  .card { display: grid; align-content: start; gap: var(--space-3); padding: var(--space-8) var(--space-6); border-radius: var(--radius-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); }
  .is-alt .card { box-shadow: none; }
  .card__icon { width: 34px; height: 34px; color: var(--accent-text); margin-bottom: var(--space-3); }
  .card h3 { font-size: var(--step-1); letter-spacing: -0.02em; line-height: 1.2; }
  .card p { color: var(--text-dim); font-size: var(--step--1); line-height: 1.55; }
  .card .chip-note { justify-self: start; padding: .3em .7em; border-radius: var(--radius-pill); font-size: .75rem; font-weight: 600; color: var(--accent-text); background: color-mix(in oklch, var(--accent-text) 12%, transparent); }

  /* ---------- Page hero (subpages) */
  .page-hero { position: relative; isolation: isolate; overflow: clip; display: grid; align-items: end; min-height: min(78svh, 46rem); padding-top: calc(var(--nav-h) + var(--space-12)); padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
  .page-hero__glow { position: absolute; z-index: -2; width: min(130vw, 1200px); aspect-ratio: 1; left: 78%; top: 40%; translate: -50% -50%; background: radial-gradient(closest-side, oklch(50% 0.15 252 / .55), oklch(32% 0.11 258 / .25) 52%, transparent); }
  .page-hero__photo { position: absolute; inset: 0; z-index: -3; }
  .page-hero__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2); mix-blend-mode: luminosity; opacity: .55; }
  .page-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, oklch(15.5% 0.045 262 / .55), var(--navy-950) 92%); }
  .page-hero__inner { display: grid; gap: var(--space-5); justify-items: start; }
  .page-hero h1 { font-size: var(--step-7); font-weight: 720; letter-spacing: -0.05em; line-height: .95; max-width: 12ch; }
  .page-hero h1 em { color: var(--ice); font-size: 1.08em; letter-spacing: -0.025em; }
  .page-hero .lede { max-width: 44ch; }
  /* hero visual sits in its own column, sized by height, never over the headline or under the nav.
     Per page: --art-h (height of the visual), --art-w (width reserved for it next to the copy). */
  .page-hero__media { position: absolute; right: max(var(--gutter), (100% - var(--max)) / 2 + var(--gutter)); bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); --ph: var(--art-h, min(46svh, 26rem)); height: var(--ph); margin: 0; }
  .page-hero__media img { height: 100%; width: auto; filter: drop-shadow(0 40px 50px oklch(5% 0.03 262 / .6)); }
  .page-hero__media--art svg { height: 100%; width: auto; }
  .page-hero__media--text { height: auto; }
  @media (width >= 60rem) {
    .page-hero:has(.page-hero__media) .page-hero__inner { padding-inline-end: calc(var(--gutter) + var(--art-w, min(28svh, 16rem)) + var(--space-10)); }
    .page-hero:has(.page-hero__media) h1 { font-size: var(--step-6); max-width: 14ch; }
  }
  .page-hero--compact, .has-tabs .page-hero--compact { min-height: min(60svh, 34rem); }

  /* Eigenmarken: white-label pouch, the label prints onto it (multiply keeps the folds) and cycles brand colours */
  .pouch__label { position: absolute; left: 17%; right: 17%; top: 33%; height: 31%; display: grid; place-content: center; gap: .35em; padding: 0 6%; border-radius: 6px; background: #1c3f8f; mix-blend-mode: multiply; text-align: center; }
  .pouch__brand { font-size: calc(var(--ph) * .078); font-weight: 760; letter-spacing: -0.035em; line-height: 1; color: #fff; }
  .pouch__sub { font-size: calc(var(--ph) * .03); font-weight: 600; letter-spacing: .02em; color: #fff; opacity: .85; }

  /* Grundwerte: five values, lit one after another */
  .values-stack { display: grid; justify-items: end; gap: .08em; font-size: clamp(1.5rem, .9rem + 1.9vw, 2.75rem); font-weight: 760; letter-spacing: -0.035em; line-height: 1.04; }
  .values-stack span { color: color-mix(in oklch, var(--ice) 26%, transparent); transition: color .6s var(--ease-out); }
  .values-stack span:first-child { color: var(--ice); }
  /* Umweltschutz: leaf of powder grains */
  .grain-art { color: var(--ice); overflow: visible; }
  /* Unsere Marken: logo index */
  .brand-index { display: flex; flex-wrap: wrap; gap: 10px; margin: var(--space-2) 0 0; padding: 0; list-style: none; }
  .brand-index a { display: grid; place-items: center; height: 60px; padding-inline: 20px; border-radius: var(--radius-s); background: oklch(100% 0 0); box-shadow: 0 8px 24px oklch(5% 0.03 262 / .25); transition: translate var(--dur-ui) var(--spring-snappy), box-shadow var(--dur-ui) var(--ease-out); }
  .brand-index a:hover { translate: 0 -3px; box-shadow: 0 14px 30px oklch(5% 0.03 262 / .32); }
  .brand-index a:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
  .brand-index img { height: 24px; width: auto; }
  .brand-index img.is-tall { height: 46px; }
  @media (width < 60rem) {   /* phones: the visual follows the copy instead of disappearing */
    .page-hero__media { position: relative; right: auto; bottom: auto; justify-self: center; --ph: min(var(--art-h, 26rem), 15rem); margin-top: var(--space-8); }
    .page-hero__media--text { height: auto; justify-self: start; }
    .page-hero__media--text.values-stack { justify-items: start; font-size: 1.6rem; }
  }

  /* ---------- Statement (light-up text) */
  .statement p { max-width: 24ch; font-size: var(--step-4); font-weight: 650; line-height: 1.1; letter-spacing: -0.03em; }
  .statement--wide p { max-width: 30ch; font-size: var(--step-3); line-height: 1.18; }

  /* ---------- Figures */
  .photo { margin: 0; display: grid; gap: var(--space-3); }
  .photo img { width: 100%; border-radius: var(--radius-l); box-shadow: 0 30px 60px -40px oklch(20% 0.06 262 / .5); }
  .photo figcaption { font-size: var(--step--1); color: var(--text-dim); }
  .photo--sepia img { filter: sepia(.25) contrast(1.05); }

  /* ---------- Next chapter */
  .next { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-4); padding: clamp(1.75rem, 1rem + 3vw, 3rem); border-radius: var(--radius-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); text-decoration: none; transition: box-shadow var(--dur-ui) var(--ease-out); }
  .next:hover { box-shadow: inset 0 0 0 1px var(--hairline), 0 30px 60px -30px oklch(30% 0.08 262 / .35); }
  .next__label { display: block; font-size: var(--step--1); color: var(--text-dim); }
  .next__title { display: block; font-size: min(var(--step-4), 9vw); hyphens: auto; overflow-wrap: break-word; font-weight: 680; letter-spacing: -0.04em; line-height: 1.05; }
  .next__arrow { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-text); transition: transform var(--dur-ui) var(--spring-snappy); }
  .next__arrow svg { width: 20px; height: 20px; }
  .next:hover .next__arrow { transform: translateX(6px); }

  /* ---------- CTA band */
  .cta-band { position: relative; isolation: isolate; overflow: clip; text-align: center; }
  .cta-band .wrap { display: grid; justify-items: center; gap: var(--space-5); }
  .cta-band h2 { font-size: var(--step-6); max-width: 15ch; }
  .cta-band h2 em { color: var(--ice); }
  .cta-band .cta-row { justify-content: center; }

  /* ---------- Map */
  .map { position: relative; margin: 0; border-radius: var(--radius-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); overflow: hidden; }
  .map__canvas > svg { display: block; width: 100%; height: auto; }
  .map__coords { position: absolute; left: var(--space-6); top: var(--space-5); font: 500 var(--step--1) / 1.4 var(--font-mono); letter-spacing: .02em; color: var(--text-dim); }
  .pin, .pin__pulse { transform-box: fill-box; transform-origin: center; }
  .map__canvas { position: relative; container-type: inline-size; }
  .map__grid { stroke: color-mix(in oklab, var(--hairline) 80%, transparent); }
  .map__bed { stroke: color-mix(in oklab, var(--ice) 30%, var(--surface)); }
  .map__town { fill: var(--surface); stroke: var(--text); stroke-width: 2.5px; vector-effect: non-scaling-stroke; }
  .pin__dot { fill: var(--red); stroke: var(--surface); }
  .pin__pulse { fill: var(--red); }
  .map__scale { stroke: var(--text); stroke-width: 1.5px; vector-effect: non-scaling-stroke; fill: none; }
  .map__north { fill: var(--text); }
  /* labels: real text over the canvas, sized to the map (cqi) with a floor for phones */
  .map__label { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); white-space: nowrap; line-height: 1;
    font: 600 clamp(11.5px, 2.5cqi, 15px) / 1 var(--font-sans); letter-spacing: -0.01em; color: var(--text);
    text-shadow: 0 0 2px var(--surface), 0 0 4px var(--surface), 0 0 8px var(--surface); }
  .map__label[data-side="r"] { translate: 0.75em -50%; }
  .map__label[data-side="up"] { translate: -50% calc(-100% - .6em); }
  .map__label[data-side="down"] { translate: -50% 0; }
  .map__label--river { translate: -100% -75%; font: italic 400 clamp(20px, 5.2cqi, 32px) / 1 var(--font-serif); letter-spacing: 0; color: color-mix(in oklab, var(--text) 60%, var(--ice)); }
  .map__label--place { translate: 3.4cqi -0.56em; display: grid; gap: .35em; font: 500 clamp(11.5px, 2.4cqi, 15px) / 1 var(--font-sans); color: var(--text-dim); }
  .map__label--place strong { font: 700 clamp(19px, 4.2cqi, 26px) / 1 var(--font-sans); letter-spacing: -0.02em; color: var(--text); }
  .map__label--tiny { font-size: clamp(10px, 1.9cqi, 12px); color: var(--text-dim); letter-spacing: .04em; }
  .map__coords { top: auto; bottom: var(--space-5); }
  .map__legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-5);
    padding: var(--space-4) var(--space-6); border-top: 1px solid var(--hairline); font: 500 var(--step--1) / 1.3 var(--font-sans); }
  .map__dists { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin: 0; padding: 0; list-style: none; }
  .map__dists li { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--text); }
  .map__dists span { font-weight: 500; color: var(--text-dim); font-variant-numeric: tabular-nums; }
  .map__brg { width: 1em; height: 1em; flex: none; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .map__note { margin: 0; color: var(--text-dim); font-size: .92em; }
  .map { container: map / inline-size; }
  @container map (width < 30rem) {   /* phones: three even columns, name over distance */
    .map__legend { padding: var(--space-4) var(--space-5); }
    .map__dists { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; width: 100%; gap: var(--space-3); }
    .map__dists li { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: center; column-gap: .4em; row-gap: .2em; }
    .map__dists span { grid-column: 2; }
  }

  /* ---------- Voices: selected Google reviews (typed in). Lead memory lights up, four voices below. */
  .voices__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-5) var(--space-8); margin-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
  .voices__head h2 { font-size: var(--step-5); letter-spacing: -0.035em; line-height: 1.02; max-width: 14ch; text-wrap: balance; }
  .voices__rating { display: inline-flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-5) var(--space-3) var(--space-4); border-radius: var(--radius-pill);
    background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); color: var(--text); text-decoration: none;
    transition: box-shadow var(--dur-ui) var(--ease-out), translate var(--dur-ui) var(--ease-out); }
  .voices__rating:hover { box-shadow: inset 0 0 0 1px var(--text-dim), 0 10px 24px oklch(25% 0.05 262 / .08); translate: 0 -2px; }
  .voices__rating:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
  .voices__score { font: 700 var(--step-3) / 1 var(--font-sans); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
  .voices__meta { display: grid; gap: 2px; font-size: var(--step--1); color: var(--text-dim); line-height: 1.3; }
  .stars { --r: 5; display: inline-block; letter-spacing: .08em; line-height: 1; font-size: 1.05em; font-family: system-ui, sans-serif;
    background: linear-gradient(90deg, var(--star, oklch(80% 0.16 82)) calc(var(--r) / 5 * 100%), color-mix(in oklab, var(--text) 18%, transparent) 0);
    -webkit-background-clip: text; background-clip: text; color: transparent; }
  .voice { margin: 0; }
  .voice blockquote { margin: 0; }
  .voice figcaption { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-4); font-size: var(--step--1); font-weight: 600; color: var(--text-dim); }
  .voice--lead { max-width: 62rem; margin-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
  .voice--lead p { font: 400 var(--step-4) / 1.12 var(--font-serif); letter-spacing: -0.01em; max-width: 30ch; text-wrap: pretty; text-indent: -0.42em; }
  @supports (hanging-punctuation: first) { .voice--lead p { text-indent: 0; hanging-punctuation: first; } }
  .voice--lead figcaption { margin-top: var(--space-6); font-size: var(--step-0); }
  .voices__grid { columns: 2 22rem; column-gap: var(--space-5); }
  .voices__grid .voice { break-inside: avoid; margin-bottom: var(--space-5); padding: var(--space-6); border-radius: var(--radius-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); }
  .voices__grid .voice > .stars { margin-bottom: var(--space-4); font-size: var(--step--1); }
  .voices__grid .voice p { font-size: var(--step-1); line-height: 1.45; letter-spacing: -0.01em; text-wrap: pretty; }
  .voices__note { max-width: 70ch; margin-top: var(--space-4); }
  .voice--inline { margin-top: var(--space-6); padding: var(--space-5) var(--space-6); border-radius: var(--radius-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); max-width: 40rem; }
  .voice--inline > .stars { margin-bottom: var(--space-3); font-size: var(--step--1); }
  .voice--inline p { font-size: var(--step-1); line-height: 1.45; letter-spacing: -0.01em; text-wrap: pretty; color: var(--text); }
  .voice--inline figcaption { flex-wrap: wrap; justify-content: space-between; gap: var(--space-1) var(--space-4); margin-top: var(--space-3); }
  .voice--inline figcaption small { font-weight: 400; font-size: .92em; opacity: .85; }

  /* ---------- Packaging silhouettes */
  .pk-shape { fill: color-mix(in oklch, var(--ice) 26%, var(--surface)); stroke: var(--text); stroke-width: 1.6; stroke-linejoin: round; }
  .pk-top { fill: color-mix(in oklch, var(--ice) 40%, var(--surface)); }
  .pk-shade { fill: color-mix(in oklch, var(--ice) 12%, var(--bg-alt)); }
  .pk-line { fill: none; stroke: var(--text); stroke-width: 1.2; stroke-linecap: round; opacity: .55; }
  .pk-handle { stroke-width: 2.4; opacity: .8; }
  .pk-accent { fill: var(--red); }

  /* ---------- Packaging scale */
  .pack-scale { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; gap: clamp(.5rem, .2rem + 1.5vw, 2rem); padding-bottom: var(--space-2); border-bottom: 1.5px solid var(--hairline); }
  .pk { margin: 0; display: grid; justify-items: center; gap: var(--space-3); text-align: center; text-decoration: none; }
  .pk svg { width: 100%; height: auto; overflow: visible; }
  .pk figcaption, .pk__cap { display: grid; gap: .15em; }
  .pk strong { font-size: var(--step--1); font-weight: 650; letter-spacing: -0.01em; color: var(--text); line-height: 1.2; }
  .pk span { font: 500 .75rem / 1.3 var(--font-mono); color: var(--text-dim); }
  @media (width < 40rem) { .pack-scale { grid-template-columns: repeat(5, 1fr); gap: .35rem; } .pk strong { font-size: .72rem; } .pk span { font-size: .65rem; } }

  /* ---------- Footer */
  .footer { padding-block: var(--space-12) var(--space-10); font-size: .8125rem; line-height: 1.55; color: var(--text-dim); border-top: 1px solid var(--hairline); }
  .footer__grid { display: grid; gap: var(--space-8); grid-template-columns: 1fr; }
  @media (width >= 40rem) { .footer__grid { grid-template-columns: 1fr 1fr; } }
  @media (width >= 60rem) { .footer__grid { grid-template-columns: 1.5fr repeat(4, 1fr); } }
  .footer .logo { width: 96px; margin-bottom: var(--space-4); }
  .footer h2 { font-size: .8125rem; font-weight: 600; letter-spacing: 0; color: var(--text); margin-bottom: var(--space-2); }
  .footer ul { list-style: none; padding: 0; display: grid; gap: var(--space-1); }
  .footer a { text-decoration: none; }
  .footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: .2em; }
  .footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-10); padding-top: var(--space-5); border-top: 1px solid var(--hairline); }
}

/* =================================================================== page-specific */
@layer pages {
  /* ----- Home hero */
  .hero { position: relative; }
  .hero__stage { position: relative; isolation: isolate; overflow: clip; min-height: max(100svh, 640px); display: grid; align-items: center; padding-top: calc(var(--nav-h) + clamp(1.75rem, 1rem + 3vw, 3.5rem)); padding-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
  .hero__powder { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; display: none; }
  .hero__grid { position: relative; z-index: 2; }
  .hero__hint { display: none; }

  /* Live mode (JS): powder assembles the pack, scroll blows it away */
  .hero--live .hero__powder { display: block; }
  /* the background lives on the stage itself (contrast tools see it) and turns transparent as the last grains blow away */
  .hero--pin { height: 180svh; z-index: 1; background: none; --hero-a: calc((1 - clamp(0, (var(--p, 0) - .86) * 7.2, 1)) * 100%); }
  .hero--pin .hero__stage { background: color-mix(in oklab, var(--bg) var(--hero-a), transparent); }
  .hero--pin .grains { opacity: calc(1 - clamp(0, (var(--p, 0) - .8) * 5, 1)); }
  .hero--pin .hero__glow { opacity: calc(1 - clamp(0, (var(--p, 0) - .55) * 2.4, 1)); }
  .hero--pin + .story { margin-top: -100svh; }
  .hero--done .hero__stage { pointer-events: none; }
  .hero--pin .hero__stage { position: sticky; top: 0; height: 100svh; min-height: 0; }
  .hero--live .hero__product { z-index: 0; }
  .hero--live .hero__product img { filter: none; }   /* canvas repaints the photo; keep both identical */
  .hero--live .hero__product figcaption, .hero--live .hero__product::after { transition: opacity .6s var(--ease-out); opacity: calc(1 - clamp(0, var(--p, 0) * 10, 1)); }
  .hero--live:not(.hero--assembled) .hero__product figcaption, .hero--live:not(.hero--assembled) .hero__product::after { opacity: 0; }
  .hero--pin .hero__copy { opacity: calc(1 - clamp(0, (var(--p, 0) - .55) * 2.6, 1)); translate: 0 calc(clamp(0, var(--p, 0) - .55, .45) * -24svh); }
  .hero--live .hero__hint {
    position: absolute; left: 50%; bottom: max(3svh, 1.25rem); z-index: 3; translate: -50% 0;
    display: grid; justify-items: center; gap: .55rem; font-size: .75rem; letter-spacing: .04em; color: var(--text-dim);
    opacity: calc(1 - clamp(0, var(--p, 0) * 14, 1)); transition: opacity .5s var(--ease-out);
  }
  .hero--live:not(.hero--assembled) .hero__hint { opacity: 0; }
  .hero__wheel { position: relative; width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px currentColor; }
  .hero__wheel::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: currentColor; }
  .hero__glow { position: absolute; z-index: -2; width: min(130vw, 1200px); aspect-ratio: 1; left: 50%; top: 62%; translate: -50% -50%; background: radial-gradient(closest-side, oklch(50% 0.15 252 / .62), oklch(32% 0.11 258 / .3) 52%, transparent); }
  .hero__grid { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; }
  .hero__copy { display: grid; gap: var(--space-5); justify-items: start; }
  .hero__title { font-size: var(--step-7); font-weight: 720; letter-spacing: -0.05em; line-height: .94; }
  .hero__title .line { display: block; }
  .hero__title:lang(en) { font-size: calc(var(--step-7) * .82); }   /* "Powder with" is longer than "Pulver mit" */
  .hero__title em { color: var(--ice); font-size: 1.1em; line-height: .85; letter-spacing: -0.025em; padding-inline-end: .04em; }
  .hero .lede { max-width: 32ch; }
  .hero__meta { display: inline-flex; align-items: center; gap: .6em; font-size: var(--step--1); color: var(--text-dim); }
  .hero__meta::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px oklch(55% 0.215 27 / .22); }
  .hero__product { position: relative; justify-self: center; width: min(52vw, 230px); margin: 0; }
  .hero__product .pack { position: relative; }
  .hero__product img { width: 100%; filter: drop-shadow(0 40px 50px oklch(5% 0.03 262 / .6)); }
  .hero__product::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -5%; height: 9%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, oklch(5% 0.03 262 / .65), transparent); }
  .hero__product figcaption { position: absolute; left: 50%; bottom: -7%; translate: -50% 0; padding: .45em .8em; border-radius: var(--radius-pill); font: 500 var(--step--1) / 1 var(--font-sans); color: var(--text); background: color-mix(in oklch, var(--navy-900) 55%, transparent); -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%); box-shadow: inset 0 1px 0 oklch(100% 0 0 / .18), inset 0 0 0 1px oklch(100% 0 0 / .1); white-space: nowrap; }
  @media (width >= 60rem) { .hero__grid { grid-template-columns: 1.3fr 1fr; } .hero__product { width: min(28vw, 380px); } .hero__glow { left: 72%; top: 50%; } }
  @media (width < 60rem) {   /* phones/tablets: the whole hero fits one screen so it can pin */
    .hero__stage { padding-top: calc(var(--nav-h) + 1.25rem); padding-bottom: 1.25rem; }
    .hero__grid { gap: 1.25rem; }
    .hero__copy { gap: var(--space-4); }
    .hero .lede { font-size: var(--step-0); max-width: 34ch; }
    .hero .cta-row { gap: var(--space-3) var(--space-5); }
    .hero__product { width: min(40vw, 30svh, 190px); }
    .hero__product figcaption { display: none; }
    .hero--live .hero__hint { display: none; }
  }

  /* ----- Story: static timeline by default, pinned particle scene when live */
  .story__stage { padding-block: var(--space-section); }
  .story__canvas { display: none; }
  .story__head h2 { font-size: var(--step-6); }
  .story__intro { margin-top: var(--space-4); max-width: 34ch; color: var(--text-dim); font-size: var(--step-1); }
  .story__steps { display: grid; gap: var(--space-10); margin-top: var(--space-12); padding: 0; list-style: none; }
  .story__year { display: block; font-size: var(--step-6); font-weight: 760; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--text); }
  .story__step p { max-width: 32ch; margin-top: var(--space-3); font-size: var(--step-1); line-height: 1.35; color: var(--text-dim); }
  .story__progress, .story__skip { display: none; }
  .story__img { display: block; width: min(100%, 26rem); height: auto; margin-top: var(--space-5); border-radius: var(--radius-m); }
  .story__src { display: block; margin-top: var(--space-2); font-size: var(--step--1); color: var(--text-dim); }
  @media (width >= 48rem) {
    .story__step:has(.story__img) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); column-gap: var(--space-10); align-content: start; }
    .story__step:has(.story__img) > :not(.story__img) { grid-column: 1; }
    .story__img { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
  }
  .story--live { height: 400vh; }
  .story--live .story__stage { position: sticky; top: 0; height: 100svh; padding: 0; overflow: clip; }
  .story--live .story__canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
  .story--live .story__head { position: absolute; inset: calc(var(--nav-h) + 5svh) 0 auto; transition: opacity .6s var(--ease-out), translate .6s var(--ease-out); }
  .story--live:not([data-active="0"]) .story__head { opacity: 0; translate: 0 -28px; }
  .story--live .story__foot { position: absolute; inset: auto 0 max(6svh, 2.5rem); display: grid; gap: var(--space-5); }
  .story--live .story__steps { display: grid; margin: 0; }
  .story--live .story__step { grid-area: 1 / 1; opacity: 0; translate: 0 18px; transition: opacity .18s var(--ease-in), translate .18s var(--ease-in); }
  .story--live .story__step.is-active { opacity: 1; translate: none; transition: opacity .5s var(--ease-out) .22s, translate .6s var(--ease-out) .22s; }
  .story--live .story__img { display: none; }
  .story--live .story__step { display: block; }
  .story--live .story__year { font-size: clamp(3rem, 1.8rem + 4.6vw, 6.5rem); font-weight: 760; letter-spacing: -0.05em; line-height: .92; font-variant-numeric: tabular-nums; color: var(--accent-text); }
  .story--live .story__src { margin-top: var(--space-3); max-width: 40ch; }
  .story--live .story__step p { margin-top: var(--space-2); font-size: var(--step-2); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; color: var(--text); max-width: 28ch; }
  .story--live .story__progress { display: flex; gap: 6px; padding: 0; margin: 0; list-style: none; }
  .story__progress li { width: 28px; height: 3px; border-radius: 3px; background: var(--hairline); overflow: hidden; }
  .story__progress li span { display: block; height: 100%; background: var(--ice); transform-origin: 0 50%; transform: scaleX(var(--fill, 0)); }
  .story--live .story__skip { display: inline-flex; align-items: center; min-height: 44px; justify-self: start; font-size: var(--step--1); color: var(--text-dim); text-decoration: underline; text-underline-offset: .25em; text-decoration-color: var(--hairline); }
  .story--live .story__skip:hover { color: var(--text); }
  @media (width >= 48rem) { .story--live .story__skip { position: absolute; right: 0; bottom: -12px; } }

  /* ----- Brand lineup (home): 2 large + 3 compact studio tiles */
  .lineup { display: grid; gap: 14px; grid-template-columns: 1fr; }
  @media (width >= 48rem) { .lineup { grid-template-columns: 1fr 1fr; } .lineup__tile--corlux { grid-column: 1 / -1; } }
  @media (width >= 64rem) {
    .lineup--5 { grid-template-columns: repeat(6, 1fr); }
    .lineup--5 .lineup__tile { grid-column: span 2; }
    .lineup--5 .lineup__tile--lg { grid-column: span 3; }
    .lineup--5 .lineup__tile:not(.lineup__tile--lg) h3 { font-size: var(--step-3); }
  }
  .lineup__tile {
    position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-rows: auto 1fr; justify-items: center; text-align: center;
    padding: clamp(2.25rem, 1.5rem + 2vw, 3.25rem) var(--space-5) 0;
    border-radius: var(--radius-l);
    background: radial-gradient(75% 55% at 50% 70%, oklch(100% 0 0) 0%, oklch(96.6% 0.006 250) 55%, oklch(93.8% 0.011 250) 100%);
  }
  .lineup__head { display: grid; justify-items: center; gap: var(--space-3); max-width: 30rem; }
  .lineup__logo { height: 34px; width: auto; margin-bottom: var(--space-2); }
  .lineup__logo--tall { height: 62px; margin-top: -14px; margin-bottom: -4px; }
  .lineup__head h3 { font-size: var(--step-4); letter-spacing: -0.04em; line-height: 1.02; }
  .lineup__head p { color: var(--text-dim); font-size: var(--step-0); line-height: 1.45; max-width: 34ch; }
  .lineup__links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-2) var(--space-5); margin-top: var(--space-2); }
  .lineup__tile .pstage { align-self: end; margin-top: var(--space-8); }
  @media (width < 48rem) {
    .lineup--5 { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
      margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
    .lineup--5::-webkit-scrollbar { display: none; }
    .lineup--5 > .lineup__tile { scroll-snap-align: start; padding-inline: var(--space-4); }
    .lineup--5 .pstage { --ph: 15.5rem; }
    .lineup--5 .pstage--live .pstage__fig { touch-action: auto; }   /* the row swipes sideways; tap or swatches turn the ring */
    .lineup--5 .lineup__head h3 { font-size: var(--step-3); }
  }
  .lineup__tile:not(.lineup__tile--lg) .pstage { --ph: clamp(15rem, 9rem + 9vw, 19.5rem); }

  /* ----- Product stage: studio photo, colour aura, spatial tilt + sheen, iPhone-style swatches */
  .pstage { --ph: clamp(16rem, 8rem + 14vw, 25rem); position: relative; display: grid; justify-items: center; width: 100%; padding-bottom: var(--space-6); transition: --aura 1.1s var(--ease-out); }
  .pstage__aura {   /* soft light in the pack's own colour, behind the product */
    position: absolute; z-index: -1; left: 50%; top: 4%; width: min(120%, 40rem); height: var(--ph); translate: -50% 0; pointer-events: none;
    background: radial-gradient(closest-side, color-mix(in oklch, var(--aura) 30%, transparent), color-mix(in oklch, var(--aura) 9%, transparent) 60%, transparent);
  }
  .pstage__fig { position: relative; justify-self: stretch; display: flex; align-items: flex-end; justify-content: center; height: var(--ph); container-type: inline-size; perspective: 1100px; }
  .pstage__fig::after {   /* contact shadow, faintly tinted by the aura */
    content: ""; position: absolute; z-index: -1; left: 50%; bottom: -10px; width: min(80cqi, 24rem); height: 24px; translate: -50% 0; border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in oklch, var(--aura) 18%, oklch(25% 0.05 262 / .34)), transparent);
  }
  .pstage__tilt { position: relative; width: 100%; height: 100%; transform-origin: 50% 80%; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: --rx 1s var(--spring-smooth), --ry 1s var(--spring-smooth), translate .6s var(--spring-smooth); }
  .pstage.is-tracking .pstage__tilt { translate: 0 -6px; transition: --rx .2s var(--ease-out), --ry .2s var(--ease-out), translate .6s var(--spring-smooth); }
  /* ring of packs: without JS only the first pack, centred */
  .pstage__ring { position: relative; width: 100%; height: 100%; margin: 0; padding: 0; list-style: none; }
  .pstage__item { display: flex; justify-content: center; align-items: flex-end; height: 100%; }
  .pstage__item:not(:first-child) { display: none; }
  .pstage__img { display: block; height: min(var(--ph), calc(84cqi / var(--ar, .6))); width: auto; filter: drop-shadow(0 22px 20px oklch(25% 0.05 262 / .2)); }
  /* live: JS places every pack on the ring (position, depth scale, shade) */
  .pstage--live .pstage__item { display: block; position: absolute; left: 50%; bottom: 0; width: 0; height: 100%; transform-origin: 0 100%; will-change: transform, filter; }
  .pstage--live .pstage__img { position: absolute; left: 0; bottom: 0; translate: -50% 0; height: var(--h, var(--ph)); max-width: none; }
  .pstage__ui { display: grid; justify-items: center; gap: var(--space-3); margin-top: var(--space-6); }
  .pstage__name { min-height: 1.5em; color: var(--text-dim); font-size: var(--step--1); line-height: 1.4; text-align: center; text-wrap: balance; }
  .pstage__name strong { color: var(--text); font-weight: 600; }
  .pstage__swatches { display: flex; gap: 4px; padding: 4px; border-radius: var(--radius-pill); background: oklch(100% 0 0 / .6); box-shadow: inset 0 0 0 1px oklch(25% 0.05 262 / .08), 0 6px 18px oklch(25% 0.05 262 / .06); backdrop-filter: blur(10px); }
  .pstage__sw { position: relative; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; transition: background-color var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out); }
  .pstage__sw img { height: 36px; width: auto; max-width: 38px; object-fit: contain; transition: transform var(--dur-ui) var(--spring-snappy); }
  .pstage__sw:hover img { transform: translateY(-2px) scale(1.07); }
  .pstage__sw[aria-checked="true"] { background: oklch(100% 0 0); box-shadow: 0 0 0 1.5px var(--text), 0 4px 12px oklch(25% 0.05 262 / .14); }
  .pstage__sw:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
  /* glass indicator that glides between swatches (replaces the per-swatch selected state once JS runs) */
  .pstage__swatches { position: relative; }
  .pstage__ind { position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; pointer-events: none;
    background: oklch(100% 0 0); box-shadow: 0 0 0 1.5px var(--text), 0 4px 12px oklch(25% 0.05 262 / .14);
    translate: var(--x, 4px) var(--y, 4px); transition: translate .6s var(--spring-snappy); }
  .pstage--live .pstage__sw[aria-checked="true"] { background: transparent; box-shadow: none; }
  .pstage--live .pstage__fig { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
  .pstage--live .pstage__item:not(.is-front) { cursor: pointer; }
  .pstage.is-grabbing .pstage__fig, .pstage.is-grabbing .pstage__item { cursor: grabbing; }
  .pstage__img { -webkit-user-drag: none; user-select: none; }
  .pstage__name { will-change: filter, opacity; }
  /* variant morph (same-document View Transition) */
  ::view-transition-old(pstage-img), ::view-transition-new(pstage-img) { height: 100%; width: auto; left: 50%; translate: -50% 0; }
  ::view-transition-group(pstage-img) { animation-duration: .6s; animation-timing-function: var(--spring-smooth); }
  ::view-transition-old(pstage-img) { animation: ps-out .32s var(--ease-in) both; }
  ::view-transition-new(pstage-img) { animation: ps-in .6s var(--ease-out-expo) both; }
  html.vt-variant::view-transition-old(root), html.vt-variant::view-transition-new(root) { animation: none; }
  @keyframes ps-out { to { opacity: 0; transform: scale(.94); filter: blur(6px); } }
  @keyframes ps-in { from { opacity: 0; transform: translateY(14px) scale(1.03); filter: blur(6px); } }

  /* ----- Product orbit (Unsere Marken): the whole range on a ring that turns with scroll */
  .orbit-section { position: relative; overflow: clip; transition: --aura 1.2s var(--ease-out); }
  .orbit__sticky { display: grid; justify-items: center; gap: var(--space-8); padding-block: var(--space-section); }
  .orbit__head { display: grid; justify-items: center; gap: var(--space-3); text-align: center; }
  .orbit__head h2 { font-size: var(--step-5); letter-spacing: -0.045em; line-height: 1; }
  .orbit__hint { color: var(--text-dim); max-width: 40ch; }
  .orbit__stage { position: relative; width: 100%; }
  .orbit__ring { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: var(--space-6) var(--space-4); padding-inline: var(--gutter); list-style: none; }
  .orbit__item img { height: clamp(8rem, 6rem + 6vw, 12rem); width: auto; filter: drop-shadow(0 18px 18px oklch(0% 0 0 / .35)); }
  .orbit__floor, .orbit__label { display: none; }
  /* live: pinned stage, JS places each pack on the ring */
  .orbit--live { height: 380svh; }
  .orbit--live .orbit__sticky { position: sticky; top: 0; height: 100svh; grid-template-rows: auto 1fr auto; gap: 0; padding-block: calc(var(--nav-h) + var(--tabs-h) + clamp(1.5rem, 1rem + 2vw, 3rem)) clamp(1.5rem, 1rem + 2vw, 3rem); }
  .orbit--live .orbit__stage { height: 100%; }
  .orbit--live .orbit__ring { position: absolute; inset: 0; display: block; padding: 0; }
  .orbit--live .orbit__item { position: absolute; left: 50%; top: 80%; width: 0; height: 0; transform-origin: 0 0; will-change: transform, filter; }
  .orbit--live .orbit__item img { position: absolute; left: 0; bottom: 0; translate: -50% 0; height: var(--oh, 22rem); max-width: none; }
  .orbit--live .orbit__floor {
    display: block; position: absolute; left: 50%; top: 80%; width: min(110vw, 80rem); height: 40%; translate: -50% -50%; pointer-events: none;
    background:
      radial-gradient(closest-side, color-mix(in oklch, var(--aura) 34%, transparent), transparent),
      radial-gradient(50% 9% at 50% 50%, oklch(100% 0 0 / .1), transparent);
  }
  .orbit--live .orbit__label { display: block; min-height: 1.4em; font-size: var(--step-1); font-weight: 600; letter-spacing: -0.02em; text-align: center; }
  .orbit__label.is-swap { animation: label-in .5s var(--ease-out) both; }
  @keyframes label-in { from { opacity: 0; transform: translateY(8px); } }

  /* ----- B2B (home + Eigenmarken) */
  .b2b__grid { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
  @media (width >= 60rem) { .b2b__grid { grid-template-columns: 1fr 1.35fr; align-items: end; } .b2b__grid .pack-scale { gap: 1.25rem; } }
  .b2b__links { display: grid; gap: var(--space-3); }
  .b2b__link { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--space-4); padding: var(--space-6); border-radius: var(--radius-m); background: var(--surface); text-decoration: none; box-shadow: inset 0 0 0 1px var(--hairline); transition: background-color var(--dur-micro) var(--ease-out); }
  .b2b__link:hover { background: color-mix(in oklch, var(--surface) 80%, var(--text) 6%); }
  .b2b__link strong { display: block; font-size: var(--step-2); letter-spacing: -0.03em; }
  .b2b__link span { font-size: var(--step--1); color: var(--text-dim); }
  .b2b__link svg { width: 18px; height: 18px; color: var(--accent-text); }

  /* ----- Origin */
  .origin__copy { display: grid; gap: var(--space-5); justify-items: start; }
  .origin__copy h2 { font-size: var(--step-5); max-width: 12ch; }
  .origin__copy p { max-width: 40ch; color: var(--text-dim); font-size: var(--step-1); line-height: 1.4; }
  .hours { display: grid; gap: var(--space-2); padding: var(--space-5) var(--space-6); border-radius: var(--radius-m); background: var(--bg-alt); min-width: min(100%, 22rem); }
  .hours h3 { font-size: var(--step-0); letter-spacing: -0.015em; }
  .hours dl { display: grid; grid-template-columns: auto 1fr; gap: .25em 1.5em; font-size: var(--step--1); color: var(--text-dim); }
  .hours dt { font-weight: 600; color: var(--text); }

  /* ----- Timeline (Historie) */
  .timeline { position: relative; display: grid; gap: clamp(3.5rem, 2rem + 5vw, 7rem); padding: 0; margin: 0; list-style: none; view-timeline: --tl block; }
  .timeline::before, .timeline::after { content: ""; position: absolute; top: 0; bottom: 0; left: 6px; width: 2px; border-radius: 2px; background: var(--hairline); }
  .timeline::after { background: linear-gradient(var(--red), oklch(56% 0.17 248)); transform-origin: top; }
  .tl { position: relative; display: grid; gap: var(--space-4); padding-left: clamp(2rem, 1rem + 3vw, 3.5rem); }
  .tl::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 3px var(--red); }
  .tl__year { font-size: var(--step-5); font-weight: 760; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
  .tl__year--range { font-size: var(--step-3); letter-spacing: -0.035em; white-space: nowrap; }
  .tl__year small { display: block; margin-top: .4em; font-size: var(--step--1); font-weight: 550; letter-spacing: 0; color: var(--accent-text); }
  .tl__body { display: grid; gap: var(--space-5); }
  .tl__body h2 { font-size: var(--step-3); max-width: 22ch; }
  .tl__body .prose { font-size: var(--step-0); }
  @media (width >= 60rem) {
    .tl { grid-template-columns: 15rem 1fr; gap: var(--space-10); }
    .tl__year { position: sticky; top: calc(var(--nav-h) + var(--tabs-h) + 2rem); align-self: start; }
  }
  .tl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: var(--space-3); }
  .tl-stat { padding: var(--space-5); border-radius: var(--radius-m); background: var(--bg-alt); }
  .tl-stat b { display: block; font-size: var(--step-3); font-weight: 750; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
  .tl-stat span { display: block; margin-top: .45em; font-size: var(--step--1); color: var(--text-dim); line-height: 1.35; }
  .tl-photos { display: grid; gap: var(--space-4); }
  @media (width >= 40rem) { .tl-photos--2 { grid-template-columns: 1.4fr 1fr; align-items: end; } }

  .chart { display: grid; gap: var(--space-3); margin: 0; padding: var(--space-6); border-radius: var(--radius-m); background: var(--bg-alt); }
  .chart__title { font-size: var(--step--1); font-weight: 600; }
  .chart__row { display: grid; grid-template-columns: 3.2rem 1fr; align-items: center; gap: var(--space-3); font-size: var(--step--1); }
  .chart__track { position: relative; height: 34px; }
  .chart__bar { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); display: flex; align-items: center; justify-content: flex-end; padding-inline: .8em; border-radius: 8px; background: linear-gradient(90deg, var(--navy-700), oklch(56% 0.17 248)); color: #fff; font-weight: 650; font-variant-numeric: tabular-nums; transform-origin: left center; white-space: nowrap; }

  /* ----- Values (Grundwerte) */
  .values { display: grid; padding: 0; margin: 0; list-style: none; }
  .value { display: grid; gap: var(--space-4); padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); border-top: 1px solid var(--hairline); }
  .value:last-child { border-bottom: 1px solid var(--hairline); }
  .value__num { font-family: var(--font-serif); font-style: italic; font-size: clamp(4rem, 2rem + 7vw, 8rem); line-height: .8; color: var(--red); letter-spacing: -0.02em; }
  .value h2 { font-size: var(--step-4); max-width: 16ch; }
  .value p { max-width: 52ch; color: var(--text-dim); font-size: var(--step-1); line-height: 1.45; }
  @media (width >= 60rem) { .value { grid-template-columns: 14rem 1fr 1.1fr; align-items: start; gap: var(--space-10); } }
  .value .voice--inline p { color: var(--text); }
  @media (width >= 60rem) { .value .voice--inline { grid-column: 3; margin-top: calc(var(--space-4) - var(--space-10)); } }

  /* ----- Brand sections (Unsere Marken) */
  .brand { scroll-margin-top: calc(var(--nav-h) + var(--tabs-h)); }
  .brand__grid { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5rem); align-items: center; }
  @media (width >= 60rem) { .brand__grid { grid-template-columns: 1fr 1fr; } }
  .brand__copy { display: grid; gap: var(--space-5); justify-items: start; }
  .brand__logo { height: clamp(48px, 36px + 2vw, 72px); width: auto; }
  .brand__logo--tall { height: clamp(72px, 60px + 2.5vw, 100px); }
  .brand__logo--native { height: 46px; }
  .brand--solo .brand__grid { grid-template-columns: minmax(0, 46rem); }
  .brand__copy h2 { font-size: var(--step-4); max-width: 18ch; }
  /* readable brand copy: lead paragraph, narrower measure, spec-style facts instead of chips */
  .brand__copy { gap: var(--space-6); }
  .prose--brand { max-width: 54ch; color: color-mix(in oklab, var(--text) 80%, var(--bg)); }
  .prose--brand p:first-child { font-size: var(--step-1); line-height: 1.45; color: var(--text); }
  .facts { width: 100%; max-width: 34rem; margin: 0; }
  .facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-5); padding-block: .8rem; border-top: 1px solid var(--hairline); }
  .facts > div:last-child { border-bottom: 1px solid var(--hairline); }
  .facts dt { flex: none; color: var(--text-dim); font-size: var(--step--1); }
  .facts dd { margin: 0; text-align: right; font-size: var(--step--1); font-weight: 600; color: var(--text); }
  .brand__media {   /* same studio stage as the homepage lineup */
    position: relative; display: flex; align-items: flex-end; justify-content: center; gap: var(--space-4);
    min-height: clamp(22rem, 15rem + 14vw, 31rem); padding: var(--space-10) var(--space-6) clamp(2rem, 1.5rem + 2vw, 3rem);
    border-radius: var(--radius-l);
    background: radial-gradient(75% 55% at 50% 84%, oklch(100% 0 0) 0%, oklch(96.6% 0.006 250) 55%, oklch(93.8% 0.011 250) 100%);
  }
  .brand__media::after { content: ""; position: absolute; left: 50%; bottom: calc(clamp(2rem, 1.5rem + 2vw, 3rem) - 10px); width: min(74%, 24rem); height: 22px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, oklch(25% 0.05 262 / .3), transparent); }
  .brand__media > img { position: relative; z-index: 1; height: clamp(13rem, 8rem + 10vw, 19rem); width: auto; max-width: 88%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 18px 18px oklch(25% 0.05 262 / .18)); }
  .brand__media--row > img { max-width: 44%; }
  .brand__media--row > img + img { margin-left: -6%; }
  .brand__media--small { min-height: clamp(16rem, 12rem + 8vw, 22rem); }
  .brand__media--small > img { height: clamp(9rem, 6rem + 6vw, 13rem); max-width: 30%; }
  .brand__media--small > img + img { margin-left: 0; }
  .brand__media--stage { padding: var(--space-12) var(--space-5) 0; overflow: hidden; isolation: isolate; }
  .brand__media--stage::after { content: none; }
  .brand__note { display: grid; gap: var(--space-3); padding: var(--space-6); border-radius: var(--radius-m); background: var(--bg-alt); max-width: 52ch; }
  .is-alt .brand__note { background: var(--surface); }
  .brand__note h3 { font-size: var(--step-1); letter-spacing: -0.02em; }
  .brand__note p { color: var(--text-dim); font-size: var(--step--1); line-height: 1.55; }

  /* ----- Packaging detail (Eigenmarken) */
  .pk-detail { display: grid; gap: var(--space-4); }
  .pk-item { display: grid; gap: var(--space-6); padding: clamp(1.75rem, 1rem + 2.5vw, 3rem); border-radius: var(--radius-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); scroll-margin-top: calc(var(--nav-h) + var(--tabs-h) + 1rem); }
  @media (width >= 48rem) { .pk-item { grid-template-columns: 9rem 1fr 1fr; align-items: start; } }
  .pk-item svg { width: 100%; max-width: 9rem; height: auto; }
  .pk-item h3 { font-size: var(--step-2); letter-spacing: -0.03em; }
  .pk-item h3 span { display: block; margin-top: .35em; font: 500 var(--step--1) / 1.3 var(--font-mono); letter-spacing: 0; color: var(--text-dim); }
  .pk-item dl { display: grid; gap: var(--space-4); }
  .pk-item dt { font-weight: 650; color: var(--text); }
  .pk-item dd { margin: .2em 0 0; color: var(--text-dim); font-size: var(--step--1); line-height: 1.55; }

  .reasons { display: grid; gap: var(--space-2) var(--space-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); padding: 0; margin: 0; list-style: none; counter-reset: r; }
  .reasons li { display: grid; grid-template-columns: 2.6rem 1fr; align-items: baseline; padding-block: var(--space-4); border-top: 1px solid var(--hairline); font-size: var(--step-1); font-weight: 600; letter-spacing: -0.02em; counter-increment: r; }
  .reasons li::before { content: counter(r, decimal-leading-zero); font: 500 var(--step--1) / 1 var(--font-mono); color: var(--accent-text); }

  /* ----- Contact */
  .contact-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
  @media (width >= 48rem) { .contact-grid { grid-template-columns: 1fr 1fr; } }   /* 4 cards = always a clean 2 × 2 */
  .contact-card { display: grid; align-content: start; gap: var(--space-2); padding: var(--space-8) var(--space-6); border-radius: var(--radius-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); }
  .contact-card svg { width: 30px; height: 30px; color: var(--accent-text); margin-bottom: var(--space-3); }
  .contact-card h2 { font-size: var(--step--1); font-weight: 600; letter-spacing: 0; color: var(--text-dim); }
  .contact-card a { display: inline-flex; align-items: center; min-height: 44px; }
  .contact-card a, .contact-card .contact-card__value { font-size: var(--step-2); font-weight: 650; letter-spacing: -0.03em; line-height: 1.2; text-decoration: none; color: var(--text); }
  .contact-card .link-chevron { font-size: var(--step--1); font-weight: 600; letter-spacing: 0; color: var(--accent-text); }
  .contact-card p a { display: inline-flex; align-items: center; min-height: 44px; font-size: inherit; font-weight: 500; letter-spacing: 0; }
  /* addresses never break mid-domain (the hyphen in milwa-piador looked like a line-break hyphen) */
  a[href^="mailto:"], a[href^="tel:"], .contact-card a { hyphens: none; overflow-wrap: normal; white-space: nowrap; }
  .contact-card a:hover { color: var(--accent-text); }
  .contact-card p { color: var(--text-dim); font-size: var(--step--1); }

  /* ----- Legal text */
  .legal { display: grid; gap: var(--space-8); }
  .legal h2 { font-size: var(--step-2); letter-spacing: -0.025em; margin-bottom: var(--space-3); }
  .legal p, .legal address { font-style: normal; color: var(--text-dim); line-height: 1.65; }
  .legal strong { color: var(--text); }
  .legal h3 { margin: var(--space-5) 0 var(--space-2); font-size: var(--step-0); font-weight: 650; letter-spacing: -0.01em; color: var(--text); }
  .legal p + p, .legal p + address, .legal address + p { margin-top: var(--space-3); }
}

/* =================================================================== motion (opt-in) */
@layer motion {
  ::view-transition-old(root) { animation: vt-out .32s var(--ease-in) both; }
  ::view-transition-new(root) { animation: vt-in .5s var(--ease-out) both; }
  ::view-transition-group(tab-active) { animation-duration: .45s; animation-timing-function: var(--ease-out); }
  @keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }
  @media (prefers-reduced-motion: reduce) {
    ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  }

  @media (prefers-reduced-motion: no-preference) {
    .hero [data-enter], .page-hero [data-enter] { animation: enter var(--dur-scene) var(--ease-out-expo) both; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
    .hero__title .line { animation: rise var(--dur-scene) var(--ease-out-expo) both; animation-delay: calc(var(--i, 0) * 110ms + 60ms); }
    .page-hero h1 { animation: rise var(--dur-scene) var(--ease-out-expo) both; animation-delay: 60ms; }
    .hero__product .pack { animation: pack-in 1.4s var(--spring-smooth) both; animation-delay: 180ms; }
    .hero__product img, .page-hero__media img { animation: float 7s var(--ease-in-out) 1.6s infinite alternate; }
    .hero__wheel::after { animation: wheel 1.8s var(--ease-in-out) infinite; }
    /* Early flag from <head>: hide the photo until the powder has assembled it (fallback reveals it anyway) */
    .js-hero:not(.hero-ok) .hero__product img { opacity: 0; animation: img-fallback .5s var(--ease-out) 3s forwards; }
    .js-hero .hero__product .pack, .js-hero.hero-ok .hero__product img { animation: none; }
    .hero--live .hero__copy, .hero--live .hero__product { animation: none !important; }

    .io-reveal .reveal { opacity: 0; transform: translateY(32px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
    .io-reveal .reveal.is-in { opacity: 1; transform: none; }

    @supports (animation-timeline: view()) {
      .nav::before { animation: nav-solidify linear both; animation-timeline: scroll(root); animation-range: 0px 140px; }

      .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% cover 28%; }
      .bento > :nth-child(even), .cards > :nth-child(even), .contact-grid > :nth-child(even), .reasons > :nth-child(even) { animation-range: entry 12% cover 34%; }

      .hero__copy    { animation: hero-copy-out linear both; animation-timeline: view(); animation-range: exit 0% exit 80%; }
      .hero__product { animation: hero-pack-out linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
      .page-hero__inner { animation: hero-copy-out linear both; animation-timeline: view(); animation-range: exit 0% exit 90%; }

      .lightup-wrap { view-timeline: --lightup block; }
      .lightup {
        color: transparent;
        background-image: linear-gradient(var(--text), var(--text)), linear-gradient(var(--lightup-dim, oklch(80% 0.02 255)), var(--lightup-dim, oklch(80% 0.02 255)));
        background-size: 0% 100%, 100% 100%; background-repeat: no-repeat;
        -webkit-background-clip: text; background-clip: text;
        animation: lightup linear both; animation-timeline: --lightup; animation-range: cover 15% cover 55%;
      }
      .is-dark .lightup { --lightup-dim: oklch(40% 0.04 260); }

      .origin, .pack-section { view-timeline: --origin block; }
      .river { animation: draw linear both; animation-timeline: --origin; animation-range: entry 15% cover 55%; }
      .pin   { animation: pin-in linear both; animation-timeline: --origin; animation-range: cover 40% cover 55%; }
      .map__label--place { animation: label-in linear both; animation-timeline: --origin; animation-range: cover 44% cover 58%; }

      .pstage__fig { animation: pk-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
      .pack-scale .pk { animation: pk-rise linear both; animation-timeline: --origin; }
      .pack-scale .pk:nth-child(1) { animation-range: entry 20% cover 32%; }
      .pack-scale .pk:nth-child(2) { animation-range: entry 26% cover 36%; }
      .pack-scale .pk:nth-child(3) { animation-range: entry 32% cover 40%; }
      .pack-scale .pk:nth-child(4) { animation-range: entry 38% cover 44%; }
      .pack-scale .pk:nth-child(5) { animation-range: entry 44% cover 48%; }

      .timeline::after { animation: tl-grow linear both; animation-timeline: --tl; animation-range: contain 0% contain 100%; }
      .chart__bar { animation: bar-grow linear both; animation-timeline: view(); animation-range: entry 30% cover 45%; }
      .value__num { animation: num-in linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
    }
    .pin__pulse { animation: pulse 2.4s var(--ease-out) infinite; }
    .pouch__label { animation: label-colours 12s linear infinite; }
    .grain-art circle { animation: grain-in 1.6s var(--ease-out-expo) both; animation-delay: calc(var(--d) * 1.1s + .25s); }
    .values-stack span { animation: value-lit 10s linear infinite; animation-delay: calc(var(--i) * 2s); }
    .values-stack span:first-child { color: color-mix(in oklch, var(--ice) 26%, transparent); }
  }

  @keyframes enter   { from { opacity: 0; transform: translateY(20px); } }
  @keyframes rise    { from { transform: translateY(.32em); } }
  @keyframes pack-in { from { transform: translateY(60px) scale(.9) rotate(-4deg); } }
  @keyframes float   { from { transform: translateY(0) rotate(0deg); } to { transform: translateY(-14px) rotate(-1.2deg); } }
  @keyframes reveal  { from { opacity: 0; transform: translateY(40px) scale(.985); } }
  @keyframes nav-solidify  { from { background-color: transparent; box-shadow: 0 1px 0 transparent; backdrop-filter: saturate(100%) blur(0px); } }
  @keyframes hero-copy-out { to { transform: translateY(-12svh); opacity: 0; } }
  @keyframes hero-pack-out { to { transform: translateY(-6svh) scale(.82); opacity: .2; } }
  @keyframes lightup { to { background-size: 100% 100%, 100% 100%; } }
  @keyframes draw    { from { stroke-dashoffset: 1; } }
  @keyframes pin-in  { from { opacity: 0; transform: scale(.4); } }
  @keyframes label-in { from { opacity: 0; translate: 2cqi -0.56em; } }
  @keyframes pulse   { from { opacity: .55; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }
  @keyframes pk-rise { from { opacity: 0; transform: translateY(40px); } }
  @keyframes tl-grow { from { transform: scaleY(0); } }
  @keyframes bar-grow { from { transform: scaleX(.04); } }
  @keyframes num-in  { from { opacity: .15; transform: translateY(24px); } }
  @keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(9px); } }
  @keyframes img-fallback { to { opacity: 1; } }
  @keyframes label-colours { 0%, 18% { background: #1c3f8f; } 25%, 43% { background: #c8161d; } 50%, 68% { background: #128a4e; } 75%, 93% { background: #6b3fa0; } 100% { background: #1c3f8f; } }
  @keyframes grain-in { from { opacity: 0; transform: translate(var(--x), var(--y)); } }
  @keyframes value-lit { 0%, 17% { color: var(--ice); } 23%, 100% { color: color-mix(in oklch, var(--ice) 26%, transparent); } }
}

/* =================================================================== utilities */
@layer utilities {
  .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .mt-8 { margin-top: var(--space-8); } .mt-12 { margin-top: var(--space-12); }
  .center { text-align: center; justify-items: center; }
}
