/* d2.css — Design 2.0, nur von index.html geladen.
   Graphit-Stufen + Lime als einziger Akzent (Ring, Fokus, ein CTA-Detail).
   Alle Bewegung steht in @media (prefers-reduced-motion: no-preference) und
   versteckt Ausgangszustaende nur unter html.js. Basis = statischer Endzustand. */

@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('assets/fonts/schibsted-grotesk-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: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('assets/fonts/schibsted-grotesk-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;
}

@property --n {
  syntax: '<integer>';
  inherits: true;
  initial-value: 11;
}

:root {
  /* Flaechen (App D2-A2) */
  --bg:        #0C0D0E;
  --card:      #151618;
  --surface:   #1E2023;
  --line:      rgba(255, 255, 255, 0.07);
  --line-2:    rgba(255, 255, 255, 0.12);
  --edge:      inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.06);

  /* Text — alle Stufen >= 5:1 auf allen drei Flaechen */
  --text:      #F2F3F4;
  --text-2:    #B4B8BE;
  --muted:     #8C9199;

  /* Akzent — nie Textfarbe, nie flaechig */
  --lime:         #CCFF00;
  --lime-pressed: #A8D400;
  --on-lime:      #0A0A0A;

  /* Bewegung — eine Easing-Familie */
  --ease-out:    cubic-bezier(.22, 1, .36, 1);
  --ease-inout:  cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  /* Raster */
  --content: 1160px;
  --gutter:  clamp(20px, 5vw, 40px);
  --bleed:   min(96px, max(0px, calc(max(var(--gutter), (100vw - var(--content)) / 2) - 20px)));

  /* Typo-Skala */
  --fs-display: clamp(2.6rem, 0.9rem + 6.6vw, 6.25rem);
  --fs-h2:      clamp(2rem, 1.15rem + 3.4vw, 3.75rem);
  --fs-h3:      clamp(1.6rem, 1.15rem + 1.8vw, 2.4rem);
  --fs-lead:    clamp(1.125rem, 1.02rem + 0.42vw, 1.375rem);
  --fs-quote:   clamp(1.35rem, 1.05rem + 1.1vw, 1.9rem);

  /* Radien — bewusst unterschiedlich je Rolle */
  --r-shot:  22px;
  --r-inset: 14px;
  --r-chip:  7px;

  --font: 'Schibsted Grotesk', 'Segoe UI', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #2B2E33 var(--bg);
  scroll-padding-top: 84px;
}
body {
  position: relative;
  isolation: isolate;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-2);
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
/* Sehr feines Korn, Inline-SVG, kein Request */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--lime); color: var(--on-lime); }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
main { display: block; flex: 1 0 auto; }
main:focus { outline: none; }

/* ===== Fokus — weich einblendend, Lime 2 px ===== */
:root { --tr-focus: outline-color 200ms var(--ease-out), outline-offset 200ms var(--ease-out); }
:where(a, summary, button) {
  outline: 2px solid transparent;
  outline-offset: 8px;
  transition: var(--tr-focus);
}
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
/* Der Fokusring folgt dem Radius des Elements (Radius + Offset) */
.nav-links a, .footer-links a, .brand, .founder-text a, .inset a { border-radius: 6px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-chip);
  background: var(--lime);
  color: var(--on-lime);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.skip-link:focus-visible { outline-offset: 3px; }

.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }

/* ===== Raster ===== */
.wrap {
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(88px, 11vw, 168px); }

/* ===== Typografie ===== */
h1, h2, h3 { color: var(--text); font-weight: 800; text-wrap: balance; }
p { max-width: 62ch; text-wrap: pretty; }
p + p { margin-top: 14px; }
strong { color: var(--text); font-weight: 600; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--line-2);
}
.eyebrow--live::before { display: none; }
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.12);
}

.display {
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -0.036em;
  word-spacing: 0.04em;
  line-height: 0.96;
}
.display .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.display .line > span { display: block; }

h2 {
  font-size: var(--fs-h2);
  letter-spacing: -0.038em;
  line-height: 1.02;
  max-width: 17ch;
  margin-bottom: 26px;
}
h3 { letter-spacing: -0.02em; }
.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  letter-spacing: -0.008em;
  color: var(--text-2);
  max-width: 44ch;
}
.nobr { white-space: nowrap; }

.caption {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin-top: 16px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
}
.caption::before {
  content: '';
  flex: 0 0 18px;
  height: 1px;
  background: var(--line-2);
  transform: translateY(-0.3em);
}

/* ===== Kopf ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header::before,
.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.site-header::before {
  z-index: -1;
  background: var(--bg);
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
}
.site-header::after {
  top: auto;
  height: 1px;
  background: var(--line);
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
}
.site-header.is-stuck::before { opacity: 1; }
.site-header.is-stuck::after { opacity: 1; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 44px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand img {
  width: 28px;
  height: 28px;
  border-radius: var(--r-chip);
}

/* Mobil: einzeilige, scrollbare Leiste statt versteckter Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 20px), transparent);
          mask-image: linear-gradient(to right, #000 calc(100% - 20px), transparent);
  /* Innenabstand, damit der Fokusring im Scroll-Container nicht abgeschnitten wird */
  padding: 8px 6px 8px 6px;
  margin: -8px 0 -8px -6px;
}
/* Schmal: Wortmarke nur visuell ausblenden (Logo + Aria-Label bleiben), damit alle vier Links passen */
@media (max-width: 479px) {
  .nav { gap: 12px; }
  .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .nav-links { gap: 16px; -webkit-mask-image: none; mask-image: none; }
  .nav-links a { font-size: 0.875rem; }
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9rem;
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms var(--ease-out), var(--tr-focus);
}
/* Unterstreichung: Basis = Farb-/Opacity-Wechsel; Normalmodus waechst sie per scaleX (siehe Bewegung) */
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transition: opacity 200ms var(--ease-out);
}
.nav-links a:focus-visible { color: var(--text); }
.nav-links a:focus-visible::after { opacity: 1; }
@media (min-width: 640px) {
  .nav-links { overflow: visible; -webkit-mask-image: none; mask-image: none; padding-right: 6px; gap: 30px; }
}

/* ===== Bildslots ===== */
.shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-shot);
  background: var(--card);
}
.shot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: var(--edge);
  pointer-events: none;
}
.shot img { width: 100%; height: auto; }
.ar-hero    { aspect-ratio: 1080 / 786; }
.ar-alltag  { aspect-ratio: 1080 / 1116; }
.ar-katalog { aspect-ratio: 1080 / 1488; }

/* ===== Play-Badge + Press/Hover ===== */
/* Das Badge-PNG (646x250) hat oben/unten je 29 px Transparenz; sichtbar sind 192 px mit ~20 px Eckradius.
   Der Anker wird auf die sichtbare Flaeche zugeschnitten (Fokusring sitzt so direkt am Badge),
   der Wrapper gleicht die Hoehe aus, damit das Layout gleich bleibt. Keine Kante, kein Rahmen. */
.play-cta { --bh: 60px; margin: 0; padding-block: calc(var(--bh) * 29 / 250); }
.play-badge {
  display: inline-block;
  line-height: 0;
  height: calc(var(--bh) * 192 / 250);
  border-radius: calc(var(--bh) * 20 / 250);
}
.play-badge img {
  height: var(--bh);
  width: auto;
  margin-top: calc(var(--bh) * -29 / 250);
  transition: filter 160ms var(--ease-out), opacity 160ms var(--ease-out);
}
.play-badge:focus-visible { outline-offset: 4px; }
.play-note { margin-top: 12px; font-size: 0.85rem; color: var(--muted); }

/* ===== 1 · Hero ===== */
.hero { padding-top: clamp(28px, 6vw, 88px); padding-bottom: clamp(88px, 10vw, 152px); }
.hero .eyebrow { margin-bottom: clamp(22px, 3vw, 36px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}
.hero .display { font-size: clamp(1.8rem, 8.3vw, 3.6rem); line-height: 1; margin-bottom: clamp(20px, 2.6vw, 30px); }
.hero .display .line > span { white-space: nowrap; }
.hero-copy .lead { margin-bottom: 28px; }
.hero-media { min-width: 0; }
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 9fr) minmax(0, 11fr);
    column-gap: clamp(36px, 4.4vw, 68px);
    align-items: center;
  }
  .hero-copy { container-type: inline-size; }
  .hero .display { font-size: clamp(2rem, 0.2rem + 3vw, 3rem); }
  @supports (font-size: 1cqw) {
    .hero .display { font-size: min(3.05rem, 9.2cqw); }
  }
  .hero-copy .lead { margin-bottom: 36px; }
}

/* Hero-Film: ganzes 16:9-Bild (contain, kein Zoom), stumme Schleife mit Pause-Button */
.hero-film {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-shot);
  background: #0C0D0E;
  box-shadow: var(--edge), 0 30px 80px -40px rgba(204, 255, 0, 0.18);
  transform: translateZ(0);
}
.hero-film video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0C0D0E;
  border-radius: inherit;
}
.loop-toggle {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(12, 13, 14, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: var(--text);
  cursor: pointer;
}
.loop-toggle[hidden], .film-open[hidden] { display: none; }
.loop-toggle:focus-visible, .film-open:focus-visible, .film-close:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
/* Pause-Symbol (läuft) / Play-Symbol (pausiert) */
.loop-toggle-icon { width: 14px; height: 16px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.loop-toggle[aria-pressed="true"] .loop-toggle-icon {
  width: 0;
  height: 0;
  border-left: 14px solid currentColor;
  border-right: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}
.film-open-row { margin-top: 18px; }
.film-open {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 6px 20px 6px 6px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.film-open-meta { font-weight: 500; color: var(--text-2); }
.film-open-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lime);
}
.film-open-icon::before {
  content: '';
  margin-left: 3px;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent var(--on-lime);
}
@media (hover: hover) {
  .film-open:hover { background: #26292D; }
}
@media (max-width: 479px) {
  .film-open { font-size: 0.875rem; padding-right: 16px; }
}

/* Vollfilm im modalen Fenster */
.film-dialog {
  width: min(96vw, 1280px);
  max-width: none;
  max-height: 94vh;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  color-scheme: dark;
}
.film-dialog::backdrop { background: rgba(5, 6, 7, 0.86); }
.film-dialog video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90vh;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}
.film-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(12, 13, 14, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  color: var(--text);
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

/* Ausbrechen aus dem Raster (nur breit) */
@media (min-width: 900px) {
  .bleed-right { margin-right: calc(-1 * var(--bleed)); }
  .bleed-left  { margin-left:  calc(-1 * var(--bleed)); }
}

/* ===== 2 · Alltag ===== */
.alltag-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.alltag-head h2 { margin-bottom: 0; max-width: 14ch; }
.alltag-visual { max-width: 520px; }
.scenes { list-style: none; counter-reset: scene; }
.scene {
  counter-increment: scene;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: var(--text-2);
}
.scene:last-child { border-bottom: 1px solid var(--line); }
.scene::before {
  content: counter(scene, decimal-leading-zero);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  padding-top: 0.45em;
}
.scene p { max-width: 38ch; }
.fit-note { margin-top: 32px; font-size: 0.92rem; color: var(--muted); max-width: 44ch; }
@media (min-width: 900px) {
  .alltag-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 72px;
  }
  .alltag-head { grid-column: 1 / 10; }
  .alltag-visual { grid-column: 1 / 6; max-width: none; margin-top: 40px; }
  .alltag-text { grid-column: 7 / 13; }
}

/* ===== 3 · Katalog ===== */
.katalog-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.katalog-text .lead { margin-bottom: 18px; }
.katalog-scan { margin-top: clamp(32px, 4vw, 56px); max-width: 480px; }
.katalog-visual { max-width: 440px; }
@media (min-width: 900px) {
  .katalog-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .katalog-text { grid-column: 1 / 6; position: sticky; top: 132px; padding-top: 48px; }
  .katalog-visual { grid-column: 7 / 13; max-width: none; justify-self: end; width: calc(100% + var(--bleed)); }
}

/* ===== 4 · Der Tag + Ring ===== */
.day { padding-bottom: clamp(88px, 11vw, 168px); }
.day-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
.day-text h2 { max-width: 12ch; }
.day-text .lead { margin-bottom: 14px; }

.day-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 36px;
}
.ring-wrap {
  position: relative;
  width: clamp(200px, 56vw, 300px);
  aspect-ratio: 1;
}
.ring { width: 100%; height: 100%; }
.ring circle { fill: none; stroke-width: 4.5; }
.ring-track { stroke: var(--surface); }
.ring-bar {
  stroke: var(--lime);
  stroke-linecap: round;
  stroke-dasharray: 100 200;
  stroke-dashoffset: 0;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transform-box: fill-box;
}
.ring-count {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 2px;
  color: var(--text);
}
.ring-num {
  --n: 5;
  counter-reset: n var(--n);
  font-size: clamp(3.4rem, 2.2rem + 4vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  /* Feste Breite, Text linksbuendig: der Textanfang bleibt beim Hochzaehlen stehen (kein Layout-Shift
     bei 9 -> 10). Die optische Zentrierung einstelliger Werte uebernimmt translate (kein Layout). */
  width: calc(2ch - 0.1em);
  text-align: left;
}
@supports (translate: calc(1ch * round(down, 1.5, 1))) {
  .ring-num { translate: calc((0.5ch - 0.025em) * (1 - round(down, var(--n) / 10, 1))) 0; }
}
.ring-num::before { content: counter(n); }
.ring-of { font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.slots { list-style: none; width: 100%; max-width: 360px; }
.slot {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.slot:last-child { border-bottom: 1px solid var(--line); }
.slot-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--text);
}
.slot-check path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 2;
  stroke-dashoffset: 0;
}
.slot-name { color: var(--text); font-weight: 600; }
.slot-state { display: grid; font-size: 0.8rem; color: var(--muted); text-align: right; }
.slot-state > span { grid-area: 1 / 1; }
.s-open { opacity: 0; }

@media (min-width: 900px) {
  .day-visual { justify-items: start; }
  .day-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .day-text { grid-column: 1 / 6; }
  .day-visual {
    grid-column: 7 / 13;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 48px;
  }
  .ring-wrap { width: clamp(220px, 22vw, 300px); }
}

.vorrat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  margin-top: clamp(72px, 9vw, 136px);
}
.vorrat-text h3 { font-size: var(--fs-h3); line-height: 1.08; letter-spacing: -0.032em; margin-bottom: 20px; max-width: 14ch; }
.vorrat-text .lead { margin-bottom: 14px; }
.ledger { margin-top: 32px; max-width: 46ch; }
.ledger-row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.ledger-row:last-child { border-bottom: 1px solid var(--line); }
.ledger dt {
  align-self: start;
  justify-self: start;
  padding: 3px 9px;
  border-radius: var(--r-chip);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}
.ledger dd { color: var(--text-2); }
@media (min-width: 900px) {
  .vorrat-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .vorrat-text { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; grid-template-rows: auto auto auto 1fr; }
  .vorrat-text > :not(.ledger) { grid-column: 1 / 7; }
  .vorrat-text .ledger { grid-column: 8 / 13; grid-row: 1 / span 4; margin-top: 8px; }
}

/* ===== 5 · Grenzen — eigenes Band auf Karten-Graphit ===== */
.band {
  background: var(--card);
  border-block: 1px solid var(--line);
  padding-block: clamp(96px, 12vw, 176px);
}
.band-head h2 { max-width: 16ch; margin-bottom: clamp(48px, 6vw, 88px); }
.limits { display: grid; grid-template-columns: minmax(0, 1fr); }
.limit {
  position: relative;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 10px;
  padding-block: 28px;
}
.limit::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line-2);
  transform-origin: left;
}
.limit:last-child { border-bottom: 1px solid var(--line); }
.limit-num {
  grid-row: 1 / 3;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.9;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.limit h3 { font-size: 1.2rem; line-height: 1.3; }
.limit p { font-size: 0.98rem; color: var(--text-2); max-width: 46ch; }
@media (min-width: 900px) {
  .limit {
    grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 6fr);
    column-gap: 24px;
    padding-block: 36px;
    align-items: baseline;
  }
  .limit-num { grid-row: auto; }
  .limit h3 { font-size: 1.5rem; letter-spacing: -0.025em; }
}

/* ===== 6 · Gruender ===== */
.founder-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.founder-head h2 { font-size: clamp(2rem, 1.3rem + 2vw, 3rem); max-width: 13ch; margin-bottom: 0; }
.quote {
  font-size: var(--fs-quote);
  line-height: 1.38;
  letter-spacing: -0.018em;
  color: var(--text);
  font-weight: 400;
  max-width: 30ch;
  margin-bottom: 28px;
}
.founder-text a { color: var(--text); text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.what-missing {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--text-2);
}
@media (min-width: 900px) {
  .founder-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .founder-head { grid-column: 1 / 6; }
  .founder-text { grid-column: 7 / 13; padding-top: 8px; }
}

/* ===== 7 · Daten ===== */
.daten { padding-top: 0; }
.inset {
  position: relative;
  background: var(--card);
  border-radius: var(--r-inset);
  box-shadow: var(--edge);
  padding: 36px 26px;
}
.inset h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); margin-bottom: 18px; }
.inset a { color: var(--text); text-underline-offset: 4px; }
@media (min-width: 900px) {
  .inset {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: 48px;
    padding: 56px 56px;
  }
  .inset .eyebrow { grid-column: 1 / -1; }
  .inset h2 { margin: 0; }
}

/* ===== 8 · FAQ ===== */
.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .faq-grid h2 { grid-column: 1 / 5; position: sticky; top: 120px; max-width: 8ch; }
  .faq-list { grid-column: 6 / 13; }
}
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  /* seitlicher Innenabstand + negativer Rand: Text bleibt buendig, Hover-Flaeche und Fokusring haben Luft */
  padding: 22px 14px;
  margin-inline: -14px;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  border-radius: 10px;
  transition: background-color 200ms var(--ease-out), var(--tr-focus);
}
.faq-list summary:focus-visible { outline-offset: -2px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '';
  flex: 0 0 18px;
  height: 18px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  color: var(--muted);
  transition: color 200ms var(--ease-out);
}
.faq-list details[open] summary::after { color: var(--text); }
.faq-answer { padding: 0 0 24px; max-width: 58ch; color: var(--text-2); }

/* ===== 9 · Schluss-CTA ===== */
.closing { padding-bottom: clamp(104px, 12vw, 176px); }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: end; }
.closing h2 { font-size: clamp(2.3rem, 1.2rem + 4.4vw, 4.75rem); line-height: 0.98; letter-spacing: -0.045em; max-width: 13ch; margin-bottom: 20px; }
.closing .brand-mark { width: 44px; height: 44px; border-radius: 11px; margin-bottom: 36px; }
@media (min-width: 900px) {
  .closing-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .closing-cta { justify-self: end; }
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 48px 0 40px;
  font-size: 0.85rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.site-footer .brand { font-size: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; transition: color 200ms var(--ease-out), var(--tr-focus); }
.footer-bottom { padding-top: 24px; display: grid; gap: 8px; }
.footer-bottom p { max-width: 72ch; }
.footer-bottom p + p { margin-top: 0; }

/* =====================================================================
   HOVER — nur echte Zeiger
   ===================================================================== */
@media (hover: hover) {
  .nav-links a:hover { color: var(--text); }
  .nav-links a:hover::after { opacity: 1; }
  .footer-links a:hover { color: var(--text); }
  .play-badge:hover img { filter: brightness(1.06); }
  .faq-list summary:hover { background-color: rgba(255, 255, 255, 0.035); }
  .faq-list summary:hover::after { color: var(--text); }
}

/* =====================================================================
   BEWEGUNG
   ===================================================================== */

/* --- Reduced Motion: lebendig, aber ohne Bewegung ---
   Erlaubt: opacity, color, background-color, filter, outline-color.
   Nirgends transform/clip-path/scroll-gebundene Animation. */
@media (prefers-reduced-motion: reduce) {
  :root { --tr-focus: outline-color 200ms var(--ease-out); }

  /* Skip-Link erscheint per Opacity statt per Verschiebung */
  .skip-link { transform: none; opacity: 0; pointer-events: none; transition: opacity 200ms var(--ease-out), var(--tr-focus); }
  .skip-link:focus { opacity: 1; pointer-events: auto; }

  /* Press: Opacity + kurze Abdunklung */
  .press { transition: opacity 120ms var(--ease-out), filter 120ms var(--ease-out), var(--tr-focus); }
  .press:active { opacity: 0.85; filter: brightness(0.92); }
  .play-badge:active img { opacity: 0.85; filter: brightness(0.92); }
  .faq-list summary:active { background-color: rgba(255, 255, 255, 0.06); }

  /* Hero: Zeilen und Rest blenden nacheinander ein (LCP-Bild bleibt unangetastet) */
  .js .display .line > span { animation: fade-in 700ms var(--ease-out) both; }
  .js .display .line:nth-child(2) > span { animation-delay: 140ms; }
  .js .hero-in { animation: fade-in 600ms var(--ease-out) both; }
  .js .hero .eyebrow.hero-in { animation-delay: 0ms; }
  .js .hero .lead.hero-in { animation-delay: 300ms; }
  .js .hero .cta.hero-in { animation-delay: 420ms; }
  .js .hero .caption.hero-in { animation-delay: 540ms; }

  /* Reveal: weiches Einblenden, Stagger 60 ms */
  [data-reveal] { transition: opacity 420ms var(--ease-out); }
  .js [data-reveal]:not(.is-in) { opacity: 0; }
  [data-reveal="list"], [data-reveal="limits"] { transition: none; }
  .js [data-reveal="list"]:not(.is-in), .js [data-reveal="limits"]:not(.is-in) { opacity: 1; }
  [data-reveal="list"] > * { transition: opacity 420ms var(--ease-out); }
  .js [data-reveal="list"]:not(.is-in) > * { opacity: 0; }
  [data-reveal="list"] > :nth-child(2) { transition-delay: 60ms; }
  [data-reveal="list"] > :nth-child(3) { transition-delay: 120ms; }
  [data-reveal="list"] > :nth-child(4) { transition-delay: 180ms; }
  [data-reveal="list"] > :nth-child(5) { transition-delay: 240ms; }
  [data-reveal="list"] > :nth-child(6) { transition-delay: 300ms; }

  /* Grenzen: Linien blenden ein statt sich zu zeichnen */
  .limit::before, .limit > * { transition: opacity 420ms var(--ease-out); }
  .js [data-reveal="limits"]:not(.is-in) .limit::before { opacity: 0; }
  .js [data-reveal="limits"]:not(.is-in) .limit > * { opacity: 0; }
  .limit:nth-child(1) > * { transition-delay: 120ms; }
  .limit:nth-child(2)::before { transition-delay: 60ms; }
  .limit:nth-child(2) > * { transition-delay: 180ms; }
  .limit:nth-child(3)::before { transition-delay: 120ms; }
  .limit:nth-child(3) > * { transition-delay: 240ms; }
  .limit:nth-child(4)::before { transition-delay: 180ms; }
  .limit:nth-child(4) > * { transition-delay: 300ms; }

  /* Ring: Cross-Fade von leer zu voll, Haken nacheinander, Zahl blendet ein (kein Hochzaehlen) */
  .ring-bar { transition: opacity 500ms var(--ease-out) 100ms; }
  .ring-count { transition: opacity 400ms var(--ease-out) 250ms; }
  .slot-check path, .slot-name, .s-open, .s-done { transition: opacity 300ms var(--ease-out); }
  .slot .s-open { transition-duration: 150ms; }
  .slot--1 :is(path, .slot-name, .s-open) { transition-delay: 450ms; }
  .slot--2 :is(path, .slot-name, .s-open) { transition-delay: 600ms; }
  .slot--3 :is(path, .slot-name, .s-open) { transition-delay: 750ms; }
  .slot--1 .s-done { transition-delay: 600ms; }
  .slot--2 .s-done { transition-delay: 750ms; }
  .slot--3 .s-done { transition-delay: 900ms; }
  .js .day-visual:not(.is-in) .ring-bar { opacity: 0; }
  .js .day-visual:not(.is-in) .ring-count { opacity: 0; }
  .js .day-visual:not(.is-in) .slot-check path { opacity: 0; }
  .js .day-visual:not(.is-in) .slot-name { opacity: 0.45; }
  .js .day-visual:not(.is-in) .s-open { opacity: 1; }
  .js .day-visual:not(.is-in) .s-done { opacity: 0; }

  /* FAQ: Plus blendet zu Kreuz ueber (Cross-Fade statt Rotation), Antwort blendet ein */
  .faq-list summary::before {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    margin-top: -9px;
    width: 18px;
    height: 18px;
    background:
      linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
      linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
    color: var(--text);
    transform: rotate(45deg); /* statisch, aendert sich nie */
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms var(--ease-out);
  }
  .faq-list summary::after { transition: opacity 260ms var(--ease-out), color 200ms var(--ease-out); }
  .faq-list details[open] summary::before { opacity: 1; }
  .faq-list details[open] summary::after { opacity: 0; }
  .faq-list details[open] .faq-answer { animation: fade-in 320ms var(--ease-out) both; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* --- Kopf: Haarlinie zeichnet sich, Logo verdichtet sich --- */
  .site-header::after { transform: scaleX(0); transform-origin: left; transition: transform 700ms var(--ease-out), opacity 400ms var(--ease-out); }
  .site-header.is-stuck::after { transform: scaleX(1); }
  .brand img { transition: transform 500ms var(--ease-out); }
  .site-header.is-stuck .brand img { transform: scale(0.88); }
  .skip-link { transition: transform 380ms var(--ease-out), var(--tr-focus); }

  /* --- Nav-Unterstreichung: waechst per scaleX, Ursprung bleibt links (kein Springen bei Unterbrechung) --- */
  .nav-links a::after { opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform 450ms var(--ease-out); }
  .nav-links a:focus-visible::after { transform: scaleX(1); }
  @media (hover: hover) { .nav-links a:hover::after { transform: scaleX(1); } }

  /* --- FAQ-Plus dreht zu Kreuz --- */
  .faq-list summary::after { transition: transform 450ms var(--ease-out), color 200ms var(--ease-out); }
  .faq-list details[open] summary::after { transform: rotate(45deg); }

  /* --- Press: kurzer Druck, federnde Rueckkehr. Badge: Transform liegt auf dem Bild,
         der Anker bleibt ruhig (stabile Trefferflaeche, kein Flackern am Rand) --- */
  .press { transition: transform 520ms var(--ease-spring), outline-color 200ms var(--ease-out), outline-offset 200ms var(--ease-out); }
  .press:active { transform: scale(0.97); transition-duration: 90ms; transition-timing-function: var(--ease-out); }
  .play-badge img { transition: transform 520ms var(--ease-spring), filter 160ms var(--ease-out); }
  @media (hover: hover) {
    .play-badge:hover img { transform: translateY(-1px); transition: transform 180ms var(--ease-spring), filter 160ms var(--ease-out); }
  }
  .play-badge:active img { transform: scale(0.97); transition: transform 90ms var(--ease-out), filter 90ms var(--ease-out); }

  /* --- Hero-Intro: Zeilen mit Maske, Rest leise nach --- */
  .js .display .line > span { animation: line-up 1000ms var(--ease-out) both; }
  .js .display .line:nth-child(2) > span { animation-delay: 70ms; }
  .js .hero-in { animation: fade-up 900ms var(--ease-out) both; }
  .js .hero .eyebrow.hero-in { animation-delay: 0ms; }
  .js .hero .lead.hero-in { animation-delay: 220ms; }
  .js .hero .cta.hero-in { animation-delay: 320ms; }
  .js .hero .caption.hero-in { animation-delay: 620ms; }
  /* LCP-Bild: nur transform, nie opacity */
  .js .hero-media { animation: fade-up 1000ms var(--ease-out) 160ms both; }
  .js .hero .caption.hero-in { animation: none; }

  /* --- Reveal: Text (kleiner Hub) --- */
  [data-reveal] { transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
  .js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(18px); }

  /* --- Reveal: Bildslots (Maske von unten + Scale 1.04 -> 1) --- */
  [data-reveal="shot"] { transition: none; }
  [data-reveal="shot"] .shot {
    clip-path: inset(0 round var(--r-shot));
    transition: clip-path 1100ms var(--ease-out), transform 1100ms var(--ease-out);
  }
  [data-reveal="shot"] .shot img { transition: transform 1400ms var(--ease-out); }
  [data-reveal="shot"] .caption { transition: opacity 700ms var(--ease-out) 450ms; }
  .js [data-reveal="shot"]:not(.is-in) { opacity: 1; transform: none; }
  .js [data-reveal="shot"]:not(.is-in) .shot { clip-path: inset(22% 0 0 0 round var(--r-shot)); transform: translateY(28px); }
  .js [data-reveal="shot"]:not(.is-in) .shot img { transform: scale(1.04); }
  .js [data-reveal="shot"]:not(.is-in) .caption { opacity: 0; }

  /* --- Reveal: Listen gestaffelt (Container bleibt, Kinder kommen) --- */
  [data-reveal="list"] { transition: none; }
  .js [data-reveal="list"]:not(.is-in) { opacity: 1; transform: none; }
  [data-reveal="list"] > * { transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
  .js [data-reveal="list"]:not(.is-in) > * { opacity: 0; transform: translateY(14px); }
  [data-reveal="list"] > :nth-child(2) { transition-delay: 70ms; }
  [data-reveal="list"] > :nth-child(3) { transition-delay: 140ms; }
  [data-reveal="list"] > :nth-child(4) { transition-delay: 210ms; }
  [data-reveal="list"] > :nth-child(5) { transition-delay: 280ms; }
  [data-reveal="list"] > :nth-child(6) { transition-delay: 350ms; }

  /* --- Grenzen: Linie zeichnet sich, Inhalt folgt --- */
  [data-reveal="limits"] { transition: none; }
  .js [data-reveal="limits"]:not(.is-in) { opacity: 1; transform: none; }
  .limit::before { transition: transform 1000ms var(--ease-inout); }
  .limit > * { transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
  .js [data-reveal="limits"]:not(.is-in) .limit::before { transform: scaleX(0); }
  .js [data-reveal="limits"]:not(.is-in) .limit > * { opacity: 0; transform: translateY(10px); }
  .limit:nth-child(1) > * { transition-delay: 180ms; }
  .limit:nth-child(2)::before { transition-delay: 110ms; }
  .limit:nth-child(2) > * { transition-delay: 290ms; }
  .limit:nth-child(3)::before { transition-delay: 220ms; }
  .limit:nth-child(3) > * { transition-delay: 400ms; }
  .limit:nth-child(4)::before { transition-delay: 330ms; }
  .limit:nth-child(4) > * { transition-delay: 510ms; }

  /* --- Ring, Fallback: einmalig ausgeloest per IO --- */
  .ring-bar { transition: stroke-dashoffset 1700ms var(--ease-inout) 150ms; }
  .ring-num { transition: --n 1700ms var(--ease-inout) 150ms; }
  .slot-check path { transition: stroke-dashoffset 500ms var(--ease-out); }
  .slot-name { transition: opacity 400ms var(--ease-out); }
  .slot-state > span { transition: opacity 220ms var(--ease-out); }
  .slot .s-done { transition-duration: 300ms; }
  .slot--1 .s-done { transition-delay: 720ms; }
  .slot--2 .s-done { transition-delay: 1220ms; }
  .slot--3 .s-done { transition-delay: 1720ms; }
  .slot--1 *, .slot--1 path { transition-delay: 500ms; }
  .slot--2 *, .slot--2 path { transition-delay: 1000ms; }
  .slot--3 *, .slot--3 path { transition-delay: 1500ms; }
  .js .day-visual:not(.is-in) .ring-bar { stroke-dashoffset: 101; }
  .js .day-visual:not(.is-in) .ring-num { --n: 0; }
  .js .day-visual:not(.is-in) .slot-check path { stroke-dashoffset: 1; }
  .js .day-visual:not(.is-in) .slot-name { opacity: 0.45; }
  .js .day-visual:not(.is-in) .s-open { opacity: 1; }
  .js .day-visual:not(.is-in) .s-done { opacity: 0; }

  /* --- FAQ: weiches Oeffnen als Progressive Enhancement --- */
  @supports (interpolate-size: allow-keywords) and selector(::details-content) {
    :root { interpolate-size: allow-keywords; }
    .faq-list details::details-content {
      block-size: 0;
      overflow: clip;
      transition: block-size 480ms var(--ease-out), content-visibility 480ms allow-discrete;
    }
    .faq-list details[open]::details-content { block-size: auto; }
    .faq-answer { transition: opacity 420ms var(--ease-out) 60ms, transform 420ms var(--ease-out) 60ms; }
    .faq-list details:not([open]) .faq-answer { opacity: 0; transform: translateY(-4px); }
  }
}

/* --- Ring als Hero-Moment: sticky + scroll-gebunden (nur breit, nur mit Support) --- */
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) and (min-height: 640px) {
  @supports (animation-timeline: view()) {
    .js .day-track { height: 250vh; view-timeline: --day block; }
    .js .day-stage {
      position: sticky;
      top: 0;
      min-height: 100vh;
      display: grid;
      align-items: center;
      padding-top: 68px;
    }
    .js .day-visual .ring-bar,
    .js .day-visual .ring-num,
    .js .day-visual .slot-check path,
    .js .day-visual .slot-name,
    .js .day-visual .s-open,
    .js .day-visual .s-done { transition: none; }

    .js .day-visual .ring-bar { animation: ring-fill linear both; animation-timeline: --day; animation-range: contain 6% contain 86%; }
    .js .day-visual .ring-num { animation: count-up linear both; animation-timeline: --day; animation-range: contain 6% contain 86%; }

    .js .day-visual .slot-check path { animation: check-draw linear both; animation-timeline: --day; }
    .js .day-visual .slot-name { animation: slot-lit linear both; animation-timeline: --day; }
    .js .day-visual .s-open { animation: state-out linear both; animation-timeline: --day; }
    .js .day-visual .s-done { animation: state-in linear both; animation-timeline: --day; }
    /* Spezifitaet bewusst hoeher als die Shorthand-Regeln oben (die animation-range zuruecksetzen) */
    .js .day-visual .slot--1 :is(path, .slot-name, .s-open, .s-done) { animation-range: contain 14% contain 30%; }
    .js .day-visual .slot--2 :is(path, .slot-name, .s-open, .s-done) { animation-range: contain 40% contain 56%; }
    .js .day-visual .slot--3 :is(path, .slot-name, .s-open, .s-done) { animation-range: contain 66% contain 82%; }
  }
}

@keyframes fade-in   { from { opacity: 0; } }
@keyframes line-up   { from { transform: translateY(105%); } }
@keyframes fade-up   { from { opacity: 0; transform: translateY(14px); } }
@keyframes shot-rise { from { transform: translateY(36px) scale(0.985); } }
@keyframes ring-fill { from { stroke-dashoffset: 101; } to { stroke-dashoffset: 0; } }
@keyframes count-up  { from { --n: 0; } to { --n: 5; } }
@keyframes check-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes slot-lit  { from { opacity: 0.45; } to { opacity: 1; } }
/* Statuswort: erst raus, dann rein — nie beide gleichzeitig sichtbar */
@keyframes state-out { 0%, 50% { opacity: 1; transform: none; } 62%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes state-in  { 0%, 66% { opacity: 0; transform: translateY(4px); } 80%, 100% { opacity: 1; transform: none; } }

/* ===== Ambient — EINE dokumentierte Ausnahme zu "Lime nur als Akzent" =====
   Ein sehr weicher, statischer Lime-Schein auf #0C0D0E, uebernommen aus der App
   (AmbientBackground, ambient-glow.png, PLACEMENTS.opacity 0.75). Asset: gleiche
   Alpha-Maske mit Dithering, vorgefaerbt in Lime (die App faerbt zur Laufzeit per
   tintColor), Rand = Alpha 0, also exakt der Untergrund. Pro Abschnitt ein
   absolut positionierter Layer (::before) hinter dem Inhalt: nicht fixed, ohne
   Animation, ohne Filter, ohne Preload. Karten, Bildslots, Grenzen-Band, Fusszeile
   bekommen keinen eigenen Schein. --ax/--ay: Mitte in % des Abschnitts,
   --ar: Radius, --ao: Deckkraft-Faktor (App-Referenz 0.75). Das top-max() schiebt
   den Layer in den Abschnitt, damit an Abschnittsgrenzen keine Kante entsteht. */
.hero, .alltag, .katalog, .day, .closing {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.hero::before, .alltag::before, .katalog::before, .day::before, .closing::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: calc(var(--ax) - var(--ar));
  top: max(0px, calc(var(--ay) - var(--ar)));
  width: calc(2 * var(--ar));
  height: calc(2 * var(--ar));
  /* Als Maske statt background-image: Chrome zaehlt grosse Hintergrundbilder als LCP-Kandidat
     (gemessen: ersetzte das Hero-Bild); eine Maske nicht. Farbe = colors.accent der App. */
  background: #CCFF00;
  -webkit-mask: url("assets/marketing/d2/d2-ambient.png") center / 100% 100% no-repeat;
          mask: url("assets/marketing/d2/d2-ambient.png") center / 100% 100% no-repeat;
  opacity: var(--ao);
  pointer-events: none;
}
.hero    { --ax: 80%; --ay: 30%; --ar: min(95vw, 500px); --ao: 0.75; }
.alltag  { --ax: 16%; --ay: 22%; --ar: min(90vw, 520px); --ao: 0.4; }
.katalog { --ax: 84%; --ay: 26%; --ar: min(90vw, 520px); --ao: 0.4; }
.day     { --ax: 50%; --ay: 16%; --ar: min(80vw, 480px); --ao: 0.22; }
/* Schluss: flacher Schein, oben/unten Alpha 0, damit an der Abschnittsgrenze keine Kante entsteht */
.closing { --ax: 30%; --ar: min(80vw, 480px); --ao: 0.35; }
.closing::before { top: 0; height: 100%; }
@media (min-width: 900px) {
  .hero    { --ax: 72%; --ay: 38%; }
  .alltag  { --ax: 12%; --ay: 28%; }
  .katalog { --ax: 88%; --ay: 24%; }
  .closing { --ax: 26%; }
}
