/* ==========================================================================
   RacketWatch — Website (racket-watch.com)
   Design-Context: PRODUCT.md · Marke "Terre Battue"
   Werte aus der App: DESIGN-NEUMORPHISM.md, core-design/
   ========================================================================== */

/* ---------- Schriften (self-hosted, identisch mit der App) ---------- */

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('fonts/hanken-grotesk.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-display: swap;
}
/* Wortmarke (Nutzer-Entscheid seit App 0.23.13, Runde 49): schweres
   geometrisches Black-Italic, enge Laufweite — Poppins (SIL OFL) als
   Webfont, statt des in der App genutzten generierten PNGs. Nur der
   Latin-Schnitt („RacketWatch" braucht nichts anderes). */
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/poppins-black-italic.ttf') format('truetype');
}

/* ---------- Tokens ----------
   OKLCH, Neutrals warm toward Clay. Light-first: die App wird bei
   Tageslicht auf dem Court benutzt. Dark-Werte = Dark-Modus der App. */

:root {
  --bg: oklch(97.6% 0.007 82);        /* #FAF9F8, App-Surface */
  --bg-soft: oklch(94.6% 0.013 82);   /* Sand, Abschnitte */
  --bg-card: oklch(99.1% 0.004 84);   /* Karten, Phone-Display */
  --ink: oklch(21.5% 0.018 60);       /* #241E19, 13:1+ auf --bg */
  --ink-muted: oklch(46% 0.028 65);   /* ~#6B5D50, 5:1+ auf --bg */
  --line: oklch(87% 0.018 75);
  --clay: oklch(53% 0.14 43);         /* #A13B07, 5.4:1 auf --bg */
  --clay-soft: oklch(91% 0.045 55);
  --avatar-you-ink: oklch(97% 0.01 120);
  --clay-on: oklch(97.5% 0.01 85);    /* Text auf Clay */
  --forest: oklch(48% 0.09 152);      /* #316948 */
  --live: oklch(52% 0.09 225);        /* #006387, "Live" wie in der App */
  --big-point: #C5DA24;               /* Tennisball-Gelb, NUR Chart (BPQ-Ring) */
  --watch-bg: #16110E;
  --watch-ink: #F3EEE9;
  --watch-muted: #A2968A;
  --watch-pulse: #3FA070;             /* Chartgrün (Dunkel) */
  --badge-bg: #17140F;
  --badge-ink: #F5F1EC;
  --shadow-1: 0 1px 2px oklch(25% 0.02 60 / 0.06), 0 8px 24px oklch(25% 0.02 60 / 0.08);
  --shadow-2: 0 2px 6px oklch(25% 0.02 60 / 0.08), 0 18px 48px oklch(25% 0.02 60 / 0.14);
  /* „Schwebend"-Stufe (Runde 13): für Mock-Karten, die als Objekt über der
     Seite stehen (Live-Fenster im Hero, Dashboard-Karte im Demo-Abschnitt).
     Die enge Lage (Blur > Offset) malt sichtbar um alle vier Kanten — vorher
     war der Schatten nur als schwacher Fleck unter der Karte zu sehen. */
  --shadow-3: 0 3px 6px oklch(25% 0.02 60 / 0.12), 0 12px 32px oklch(25% 0.02 60 / 0.20), 0 32px 80px oklch(25% 0.02 60 / 0.16);

  /* Teilen-Karte: die Farbwelt des App-Teilen-Bilds (Neumorphismus-Variante).
     Werte 1:1 aus core-design/.../Palette.kt (NeuPalette) und RacketTheme.kt —
     bewusst eigene Tokens, weil die Karte ein Abbild der App ist und nicht der
     Seiten-Palette folgt (die Seite ist CLASSIC-hell, die Karte NEU-beige). */
  --share-surface: #EDE7DF;           /* NeuPalette.Light.neuBase */
  --share-ink: #241E19;               /* 13.4:1 auf --share-surface */
  --share-muted: #6B5D50;             /* 5.2:1 */
  --share-accent: #A13B07;            /* 5.4:1, Markenzeile */
  --share-live: #C25221;              /* primaryContainer: Live-Pill + Punkt-Chip */
  --share-live-on: #FFFBFF;           /* onPrimaryContainer, 6.6:1 */
  --share-set: #B1EDC4;               /* secondaryContainer: laufender Satz */
  --share-set-on: #356E4C;            /* onSecondaryContainer, 4.4:1 (große Zahl) */
  --share-chart-own: #0C7A4E;         /* ChartColors.own */
  --share-chart-opp: #A13B07;         /* ChartColors.opponent */

  --font-display: 'Montserrat', 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --container: 1120px;
  --header-h: 68px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* expo-out */
}

/* Dunkles Theme — greift im System-Dunkelmodus UND bei manueller Wahl
   (data-theme="dark"); data-theme="light" erzwingt dagegen hell
   (Dark/Light-Umschalter im Header, siehe app.js). */
:root[data-theme="dark"] {
  --bg: oklch(20.5% 0.012 80);      /* #1A1C1C, App-Dark */
  --bg-soft: oklch(25.5% 0.018 80); /* #303938 */
  --bg-card: oklch(24% 0.015 80);
  --ink: oklch(95% 0.01 80);        /* #F1F0F0 */
  --ink-muted: oklch(71% 0.025 75);
  --line: oklch(36% 0.02 75);
  --clay: oklch(76% 0.10 55);       /* #FFB599 */
  --clay-soft: oklch(30% 0.05 50);
  --clay-on: oklch(26% 0.055 42);   /* #5C1B00, 7.7:1 auf Clay */
  --forest: oklch(76% 0.08 150);    /* #98D4AC */
  --live: oklch(76% 0.08 220);      /* #7DD0FF */
  --big-point: #E2F200;             /* Tennisball-Gelb, NUR Chart (BPQ-Ring) */
  --avatar-you-ink: oklch(28% 0.06 150);
  --watch-bg: #120F0C;
  --shadow-1: 0 1px 2px oklch(0% 0 0 / 0.3), 0 8px 24px oklch(0% 0 0 / 0.35);
  --shadow-2: 0 2px 6px oklch(0% 0 0 / 0.4), 0 18px 48px oklch(0% 0 0 / 0.5);
  --shadow-3: 0 3px 6px oklch(0% 0 0 / 0.55), 0 12px 32px oklch(0% 0 0 / 0.6), 0 32px 80px oklch(0% 0 0 / 0.55);

  /* Teilen-Karte dunkel: NeuPalette.Dark + RacketDarkColors-Container */
  --share-surface: #282320;         /* NeuPalette.Dark.neuBase */
  --share-ink: #EDE6DF;             /* 12.6:1 */
  --share-muted: #A99C90;           /* 5.8:1 */
  --share-accent: #FFB599;          /* 9.1:1 */
  --share-live: #7F2A00;
  --share-live-on: #FFDBCE;
  --share-set: #165132;
  --share-set-on: #B4F0C7;
  --share-chart-own: #3FA070;
  --share-chart-opp: #D9642F;
}
/* (Runde 37: der System-Dark-Block ist entfernt — Standard ist der Light
   Mode, unabhängig vom System-Theme. Dark gibt es nur noch über die
   manuelle Wahl, siehe :root[data-theme="dark"] oben.) */

/* ---------- Reset & Basis ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  font-variant-numeric: lining-nums;
}

/* Polish (impeccable): Waisen-Vermeidung für lange Fließtexte
   (Überschriften nutzen bereits text-wrap: balance). */
p { text-wrap: pretty; }

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}

p { margin: 0 0 var(--space-4); }

::selection { background: var(--clay); color: var(--clay-on); }

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}

section { scroll-margin-top: calc(var(--header-h) + var(--space-4)); }

/* ---------- Utilities ---------- */

.container {
  width: min(var(--container), 100% - 2 * clamp(20px, 5vw, 40px));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 var(--space-3);
}

.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem); font-weight: 800; }
.section-lede { color: var(--ink-muted); font-size: 1.125rem; margin-bottom: 0; }

.lede { font-size: 1.1875rem; line-height: 1.65; max-width: 34em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: calc(var(--header-h) + 8px);
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  /* Unsichtbar bis Tastaturfokus — doppelt abgesichert (Clip + Transform):
     der Nutzer sah die Pille in seinem Browser dauerhaft oben links, obwohl
     nur Transform sie versteckt. Der Clip greift auch dann, wenn Transform
     in irgendeinem Browser-Zustand nicht angewendet wird. */
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease-out);
}
/* Fokus stellt die Pille vollständig wieder her (Maße, Clip, Transform) —
   Tab zeigt sie wie bisher, Enter springt zu #main. */
.skip-link:focus-visible {
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  overflow: visible;
  transform: none;
}

/* Logo-Varianten je Theme (System-Dunkelmodus ODER manuelle Wahl) */
.logo-on-dark { display: none; }
:root[data-theme="dark"] .logo-on-light { display: none; }
:root[data-theme="dark"] .logo-on-dark { display: block; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease-out), background-color 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--clay);
  color: var(--clay-on);
}
.btn-primary:hover {
  background: color-mix(in oklch, var(--clay) 88%, black);
  box-shadow: var(--shadow-1);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--clay);
  color: var(--clay);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  /* Runde 38: solides Panel statt Glassmorphism (backdrop-filter + 82%
     Transparenz) — Glassmorphism ist explizite Anti-Referenz in PRODUCT.md;
     die Abgrenzung trägt die Scroll-Linie (.is-scrolled). */
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 16px oklch(20% 0.02 60 / 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand-logo { width: 30px; height: 30px; } /* quadratisch — Logo ist 1024×1024 mit Racket-Glyph */
.brand-name {
  /* Runde 49: Wortmarke wie in der App — Black-Italic, enge Laufweite.
     Die Farbe bleibt bewusst die des umgebenden Texts (--ink), wie in
     der App (onSurface). Runde 55 (Nutzer-Wunsch): etwas größer, Header
     + Footer gleichermaßen (geteilte Klasse). */
  font-family: 'Poppins', var(--font-display), sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 1.1875rem;
  letter-spacing: -0.04em;
}

.site-nav { display: flex; gap: var(--space-5); }
.site-nav a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.15s;
}
.site-nav a:hover { color: var(--clay); }

@media (max-width: 720px) {
  .site-nav { display: none; }
}

.header-cta {
  padding: 10px 18px;
  font-size: 0.875rem;
  /* Runde 38 (P0): auf Smartphone-Breiten brach „Zur Warteliste" auf zwei
     Zeilen um (70px-Button im 68px-Header). nowrap + die Mobil-Regeln unten
     (engere Gaps, schmaleres Padding, Logo-only unter 380px) halten den
     Button auf allen Breiten einzeilig. */
  white-space: nowrap;
}

/* Runde 38 (P0/P1): Platz im 68px-Header auf Mobile — die Maßnahmen
   halten den CTA auf allen Breiten einzeilig. Runde 40: ein vierter
   Header-Button (Sprach-Switcher) verschärft das Budget — unter 430px
   8px-Gaps, unter 419px nur das Logo. */
@media (max-width: 720px) {
  .header-inner { gap: var(--space-4); }
  .header-cta { padding: 11px 14px; } /* ≈44px hoch = Touch-Ziel (WCAG 2.5.8) */
}
@media (max-width: 430px) {
  /* 320px: Logo 30 + CTA 134 + Theme 44 + Sprache 44 + 3×8 = 276 < 280 ✓ */
  .header-inner { gap: var(--space-2); }
  /* Runde 44 (Nutzer-Wunsch): die Wortmarke bleibt auf Mobile sichtbar —
     leicht kleiner gesetzt, damit das Budget ab 360px mit Logo + Wortmarke
     + CTA + Einstellungen-Button reicht. Runde 55: proportional mit dem
     Desktop-Wert mitgewachsen (1 → 1.0625rem). */
  .brand-name { font-size: 1.0625rem; }
}
@media (max-width: 374px) {
  /* Erst unter 375px weicht die Wortmarke dem Primär-CTA — dort reicht das
     Platzbudget nicht für beides (ab 360px lief die Zeile gemessen über),
     sonst bricht der CTA zweizeilig um (Runde 38/40). */
  .brand-name { display: none; }
}

/* ---------- Dark/Light-Umschalter ---------- */

/* color-scheme folgt der manuellen Wahl bzw. dem System (native Controls,
   Scrollbalken) */
:root { color-scheme: light dark; }
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  /* Runde 38 (P1): 44×44 statt 40×40 — WCAG-2.5.8-Touch-Ziel. */
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.theme-toggle:hover { background: var(--bg-soft); }
.theme-toggle:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 2px;
}
.theme-toggle svg { width: 18px; height: 18px; }
/* Sprach-Switcher (Runde 40): gleiche Kreis-Pille wie der Theme-Toggle,
   zeigt die ANDERE Sprache als Label („DE" auf EN-Seiten, „EN" auf
   DE-Seiten). Reiner Link — funktioniert ohne JS. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.lang-switch:hover { background: var(--bg-soft); }
.lang-switch:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 2px;
}

/* ---------- Einstellungen-Menü (Runde-40-Nachtrag, nur mobil) ----------
   Theme + Sprache in EINEM Button, damit die Top-Leiste auf schmalen
   Smartphones nicht überläuft (die Wortmarke wurde in der Zone
   419–465px sonst unter den CTA gequetscht). Desktop behält die zwei
   getrennten Buttons. Das Popover ist nativ (popover-Attribut) — öffnet
   und funktioniert auch ohne JS, nur die Theme-Gruppe ist JS-gated. */

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 2px;
}
.icon-btn svg { width: 18px; height: 18px; }
/* Runde 43b–43h: die PNG-Icons tragen ihre Glyphen nicht bis zum Canvas-Rand —
   bei 18px wirkten sie als winziger Punkt im 44px-Button. Quellen auf Inhalt
   zugeschnitten; 28px Anzeige nach Nutzer-Iteration (26→36→40→38→37→35→32→28),
   Glyphe ~22×26px im Knopf. */
.icon-btn img { width: 28px; height: 28px; }

/* Breakpoint wie die Nav (≤720px ausgeblendet): mobil nur der Menü-Button. */
@media (min-width: 721px) {
  .header-menu-btn { display: none; }
}
@media (max-width: 720px) {
  .header-inner > .theme-toggle,
  .header-inner > .lang-switch { display: none; }
}

.header-menu-btn { anchor-name: --header-menu; }

/* Basis-Positionierung (funktioniert überall): fest unter dem Header,
   rechtsbündig zum Container-Rand. */
.header-menu-pop {
  position: fixed;
  inset: auto;
  top: calc(var(--header-h) + 8px);
  right: clamp(20px, 5vw, 40px);
  margin: 0;
  width: 232px;
  padding: var(--space-3);
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-3);
}
/* Progressive Enhancement: am Button verankern, wo unterstützt. */
@supports (anchor-name: --header-menu) {
  .header-menu-pop {
    position-anchor: --header-menu;
    top: anchor(bottom);
    right: anchor(right);
  }
}

.menu-group + .menu-group {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}
.menu-label {
  margin: 0 0 var(--space-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: center;
}
/* Auswahl-Chips im Stil der Waitlist-Radios (.platform-option) —
   Nutzer-Wunsch Runde-40-Nachtrag: gleiche Karten-Optik wie die Plattform-
   Auswahl unten (Clay-Rahmen bei Auswahl, Sun/Moon-Icons beim Modus).
   Sprache UND Modus stehen untereinander (Nutzer-Wunsch), die Chips
   füllen die Popover-Breite, Inhalt zentriert. */
.menu-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.header-menu-pop .platform-option {
  display: flex;
  justify-content: center;
}
/* Die Sprach-Links tragen zusätzlich .lang-switch (Kreis-Pille für
   Header/Legal-Köpfe) — im Popover sind sie Chips: Pillen-Maße
   zurücksetzen, damit sie die volle Popover-Breite füllen. */
.header-menu-pop .lang-switch {
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
}
.header-menu-pop .platform-option.is-current {
  border-color: var(--clay);
}
.header-menu-pop .platform-option.is-current span {
  color: var(--clay);
}
/* Theme-Wahl braucht JS — wie früher der Theme-Button. */
html:not(.js) .menu-group--theme { display: none; }
/* Hell: Mond anzeigen (= zu dunkel wechseln); dunkel: Sonne (= zu hell).
   Bewusst NUR über data-theme gesteuert — dieselbe Quelle wie alle Farben
   (Runde 37: Light ist Standard, Dark nur per manueller Wahl). Die frühere
   prefers-color-scheme-Kopplung der Icons (Runde 41) zeigte auf
   System-Dunkel-Handys beim Start das falsche Icon: Seite hell (Light-
   Standard), Vorschau dunkel. */
.theme-icon-sun { display: none; }
:root[data-theme="dark"] .theme-icon-sun { display: block; }
:root[data-theme="dark"] .theme-icon-moon { display: none; }
/* Ohne JS kann der Button nichts — erst zeigen, wenn app.js läuft. */
html:not(.js) .theme-toggle { display: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(56px, 9vw, 112px) clamp(64px, 9vw, 112px);
}

.hero-court {
  position: absolute;
  top: -12%;
  right: -6%;
  width: clamp(360px, 46vw, 620px);
  height: 130%;
  color: var(--clay);
  opacity: 0.09;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero-court { opacity: 0.06; right: -28%; }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px) {
  /* Copy führt auf Mobile — die Bühne (das Hero-Foto) folgt danach. */
  .hero-inner { grid-template-columns: 1fr; }
}

/* ---------- Hero: Foto statt Geräte-Mockup ---------- */
.hero-photo {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: clamp(280px, 32vw, 460px);
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}
@media (max-width: 900px) {
  .hero-photo { max-width: 420px; margin-inline: auto; }
  .hero-photo img { aspect-ratio: 4 / 5; }
}

.hero-title {
  font-size: clamp(2.75rem, 1.7rem + 4vw, 4.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-5);
}

.hero-lede { margin-bottom: var(--space-6); color: var(--ink); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.hero-note {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  margin: 0;
}
.hero-note a { color: var(--clay); }

/* Hero-Load: gestaffelte Reveal (einmalig) */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: hero-rise 0.7s var(--ease-out) backwards;
  }
  .hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.14s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.24s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.34s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.44s; }
}

/* ---------- Watch-Mockup (Pixel-Style, Squircle) ---------- */

.watch {
  --watch-size: clamp(250px, 26vw, 320px);
  position: relative;
  width: var(--watch-size);
  justify-self: center;
}
/* Runder Fall (Galaxy-Watch-Stil) — für Hero- und Demo-Uhr */
.watch--round .watch-body { aspect-ratio: 1 / 1; border-radius: 50%; }
.watch--round .watch-face { border-radius: 50%; background: #0B0A09; }
.watch--round .watch-crown { top: 38%; height: 12%; }
.hero-watch { z-index: 1; transform: rotate(-8deg); }
/* Hero: Display-Inhalt sitzt relativ zum Fall minimal verdreht → leicht gegen
   den Uhrzeigersinn nachdrehen (scale verhindert freiliegende Ränder). */
.hero-watch .watch-screen { transform: rotate(-2deg) scale(1.02); }

/* ---------- Hero: Geräte-Komposition (Uhr links, Handy rechts) ----------
   Uhr und Handy flankieren sich gespiegelt (-8deg / +8deg) und überlappen nur
   mit einer schmalen Kante. `align-items: flex-end` stellt beide auf dieselbe
   Grundlinie — nur so schneidet die Teilen-Karte (siehe unten) die Unterkante
   *beider* Geräte auf einer Höhe; bei zentrierter Ausrichtung liegen die
   Unterkanten wegen der unterschiedlichen Gerätehöhen ~35px auseinander. */

.hero-devices {
  position: relative;                 /* Anker der Teilen-Karte (Kind, absolut) */
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-phone { z-index: 0; transform: rotate(8deg); }

/* Die Geräte-Komposition gilt auf ALLEN Breiten mit denselben Formeln
   (Nutzer-Wunsch 2026-08-23: Mobile zeigt exakt dieselbe Komposition in
   Größe und Position wie der Desktop, nur eben auf schmalerem Viewport
   kleiner gerechnet). */
.hero-watch { --watch-size: clamp(160px, 18.5vw, 232px); }
/* .device.hero-phone: muss die spätere .device-Basisregel schlagen (Cascade). */
.device.hero-phone { --device-w: clamp(120px, 14vw, 178px); }
/* Negativer Versatz statt Gap: das Handy schiebt sich mit einer schmalen
   Kante hinter die Uhr (z-index 0 vs. 1). */
.hero-phone { margin-left: clamp(-40px, -2.6vw, -22px); }
/* Schmalere Bänder für die verkleinerte Hero-Uhr — der globale
   .watch-band-Wert ist auf die großen Standalone-Uhren (250–340px)
   ausgelegt und würde hier proportional zu klobig wirken. */
.hero-watch .watch-band { height: clamp(26px, 5.2vw, 38px); }
/* Die Uhr ist deutlich kürzer als das Handy — angehoben, damit sie auf der
   gemeinsamen Grundlinie nicht wie „abgesackt" wirkt UND die Namenzeile
   unten im Zählscreen nicht vom Live-Fenster verdeckt wird (das Fenster
   hängt an der Grundlinie der ganzen Gerätegruppe, nicht an der Uhr —
   bleibt beim Anheben der Uhr an Ort und Stelle). Seit 2026-08-22 etwas
   tiefer (Runde 12, Nutzer-Wunsch „ein bisschen nach unten"): Maximum von
   95 px auf 75 px gesenkt — ab ~1280 px Breite sinkt die Uhr ~13–20 px,
   bei ~900–1100 px fast unverändert, damit die Namenzeile auch am
   Hochpunkt der Float-Animation frei bleibt (nur ~1–16 px Luft dort). */
.hero-watch { margin-bottom: clamp(60px, 5.5vw, 75px); }

/* Radar-Puls: dezentes „Signal geht raus" hinter der Uhr (rein dekorativ).
   Ringe liegen unter der Watch-Body (z-index 1) und sind nur außerhalb der
   Silhouette sichtbar. */
.hero-watch { --ping-scale: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .hero-watch::before,
  .hero-watch::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--watch-size);
    height: var(--watch-size);
    border-radius: 50%;
    border: 2px solid color-mix(in oklch, var(--live) 60%, transparent);
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
    animation: hero-ping 3.6s var(--ease-out) infinite;
  }
  .hero-watch::after { animation-delay: 1.8s; }
}

/* Mobile: nur kleinere Ping-Ringe — die Geräte-Komposition selbst nutzt
   auf allen Breiten dieselben Formeln (siehe Block oben). */
@media (max-width: 900px) {
  .hero-watch { --ping-scale: 1.3; }
}

.watch-screen {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.watch-band {
  width: 46%;
  height: clamp(48px, 6vw, 72px);
  margin-inline: auto;
  background: linear-gradient(180deg, #2E2823, #211C18);
  border-radius: 14px;
  z-index: 0;
}
.watch-band--top {
  border-radius: 14px 14px 6px 6px;
  margin-bottom: -14px;
  background: linear-gradient(0deg, #211C18, #2E2823);
}
.watch-band--bottom {
  border-radius: 6px 6px 14px 14px;
  margin-top: -14px;
}

.watch-body {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 1.04;
  border-radius: 38%;
  background: linear-gradient(145deg, #35302B, #171310);
  padding: 4.5%;
  box-shadow: var(--shadow-2), inset 0 1px 1px oklch(95% 0 0 / 0.14);
}

.watch-crown {
  position: absolute;
  right: -3.5%;
  top: 34%;
  width: 5.5%;
  height: 16%;
  border-radius: 4px;
  background: linear-gradient(90deg, #3A342E, #211C18);
}

.watch-face {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 33.5%;
  background:
    radial-gradient(130% 110% at 28% 18%, #2A231D 0%, var(--watch-bg) 62%);
  color: var(--watch-ink);
  overflow: hidden;
}
/* Live-Spielstand als Overlay über dem (maskierten) Score-Bereich des
   Screenshot-Displays. Position/Größe aus dem Screenshot abgeleitet:
   Ziffernmitte bei 47 % der Displayhöhe, Cap-Höhe ≈ 76/450 (≈ 0,7 em von
   Montserrat 800), Zifferngruppe auf der Displaymitte zentriert. */
.demo-score {
  position: absolute;
  left: 0;
  right: 0;
  top: 47%;
  transform: translateY(-50%);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1em;
  pointer-events: none;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: clamp(3.57rem, 9.22vw, 4.67rem);
  line-height: 1;
}
/* App-Farben, aus dem Screenshot gemessen */
.demo-score-side--you { color: #D9642F; } /* du — Ton */
.demo-score-side--opp { color: #D9C3B8; } /* Gegner — warmes Weiß */
.demo-score-colon {
  color: #D9C3B8;
  font-size: 0.46em; /* zwei kleine Punkte, wie in der App */
  transform: translateY(-0.35em) scaleX(0.67);
}
/* Serve-Indikator: kleiner Punkt — links, wenn du aufschlagst, sonst rechts
   (Farbe wie die jeweilige Spielstand-Ziffer). 8 % statt 9,56 %: bei „40:40"
   klebten die Ziffern auf Mobile am Punkt (gemessen: 1 px Überdeckung) —
   weiter außen bleibt ~9 px Luft, der Punkt bleibt optisch beim Ziffernblock. */
.demo-serve-dot {
  position: absolute;
  left: 8%;
  top: 47.6%;
  width: 0.12em;
  height: 0.12em;
  border-radius: 50%;
  background: #D9642F;
  transform: translate(-50%, -50%);
}
.demo-score[data-server="1"] .demo-serve-dot {
  left: auto;
  right: 8%;
  /* rechts ist der Anker die rechte Kante — in die andere Richtung
     zentrieren, sonst rückt der Punkt zur Mitte hin und klebt an den
     Ziffern (gemessen bei „40:40" auf Mobile) */
  transform: translate(50%, -50%);
  background: #D9C3B8;
}

/* Namen- und Satzzeilen als Overlay über den (maskierten) Zeilen des
   Screenshots. Positionen aus dem Asset gemessen: Zeile 1 Mitte 78,4 %,
   Zeile 2 Mitte 88 %, Zahlen rechtsbündig an 72 % Breite. Größen skalieren
   wie .demo-score mit der Watch-Größe. */
.demo-rows {
  position: absolute;
  left: 28.5%;
  right: 33%;
  top: 0;
  bottom: 0;
  pointer-events: none;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: calc(var(--watch-size) / 450 * 18);
}
.demo-row {
  position: absolute;
  left: 0;
  right: 0;
  top: 78.4%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1;
}
.demo-row--opp { top: 88%; }
.demo-row-name {
  font-size: 1.15em;
  font-weight: 800;
}
/* Zeilenfarben = die Farben der großen Zähl-Ziffern darüber
   (.demo-score-side--you/--opp): Roger/obere Zahlen im Ton, Rafa/untere im
   warmen Weiß. Keine Chip-Flächen — unten stehen nur nackte Satzzahlen. */
.demo-row--you .demo-row-name,
.demo-row--you .demo-row-scores { color: #D9642F; }
.demo-row--opp .demo-row-name,
.demo-row--opp .demo-row-scores { color: #D9C3B8; }
.demo-row-scores {
  display: flex;
  align-items: baseline;
  gap: 0.55em;
  font-weight: 800;
}

/* Tipp-Hinweis mittig über dem Watchscreen: „Tipp auf die Uhr!" — bei jedem
   Besuch sichtbar, verschwindet mit dem ersten Tipp (siehe app.js).
   Grün wie die Benachrichtigungs-Toasts (--share-set/--share-set-on) — die
   Pille ist die Benachrichtigung „Du kannst hier tippen". */
.demo-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
  padding: 7px 14px;
  background: var(--share-set);
  color: var(--share-set-on);
  border: 1px solid var(--share-set-on);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-1);
  transition: opacity 0.4s var(--ease-out);
}
.demo-hint.is-dismissed { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .demo-hint { animation: hint-bob 3s var(--ease-out) infinite; }
}
@keyframes hint-bob {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 3px)); }
}

/* ---------- Demo ---------- */

.demo {
  background: var(--bg-soft);
  padding-block: clamp(64px, 9vw, 112px);
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
@media (max-width: 820px) {
  .demo-grid { grid-template-columns: 1fr; }
}
@media (min-width: 821px) {
  /* Runde 38 (Sektions-Umbau): Demo-Uhr links, Copy rechts — der Ticker
     übernahm die rechte Zickzack-Position des aufgelösten Geräte-Beweises,
     die Demo wechselt dafür auf links (Story links → Ticker rechts →
     Demo links → How-Staircase rechts). Mobil bleibt der Watch-Erste-
     Stapel unverändert (order nur im Desktop-Breakpoint).
     Der Kairos-CTA liegt als drittes Kind IN .demo-grid und muss explizit
     über die volle Breite darunter gelegt werden — sonst schiebt die
     Uhr-Reihenfolge ihn in Spalte 2 und die Uhr in die zweite Reihe. */
  .demo-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .demo-watch { order: 1; }
  .demo-right { order: 2; }
  .demo-cta { order: 3; grid-column: 1 / -1; }
}

.demo-watch {
  display: grid;
  place-items: center;
  padding: var(--space-4) 0;
}
.demo-watch-frame { --watch-size: clamp(260px, 42vw, 340px); }

/* Tipphälften: decken je die linke/rechte Zifferblatt-Hälfte ab */
.tap-half {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 1;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-radius: 33.5% / 32%;
}
.tap-half--left { left: 0; }
.tap-half--right { right: 0; }
.tap-half::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}
.tap-half--left::after { background: var(--forest); }
.tap-half--right::after { background: var(--clay); }
.tap-half.is-flash::after { animation: tap-flash 0.22s var(--ease-out); }
.tap-half:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: -6px;
}
@media (prefers-reduced-motion: no-preference) {
  .tap-half:hover::after { opacity: 0.07; }
}

/* Demo-Seite */
.demo-side { max-width: 460px; }
.demo-status {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  margin-bottom: var(--space-2);
}
.demo-detail { color: var(--ink-muted); font-size: 0.9375rem; margin-bottom: var(--space-5); }
/* Luft nach oben zur Karte (die sitzt seit 2026-08-22 direkt darüber) */
.demo-actions { margin: var(--space-4) 0 var(--space-5); }
.demo-fine {
  color: var(--ink-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 42ch;
  margin: 0;
}

/* Kairos-CTA nach der Demo (persuasive-ux "Suggestion"): direkt nach dem
   eigenen Ausprobieren ist die Motivation am höchsten. */
.demo-cta {
  margin-top: clamp(48px, 7vw, 88px);
  text-align: center;
}
.demo-cta .section-lede {
  margin: 0 auto var(--space-4);
  max-width: 42ch;
}

/* ---------- So funktioniert's ---------- */

/* Runde 30: symmetrisches Padding — seit die Statistik als Block in der
   Sektion lebt (Runde 28), ist der CTA das Sektions-Ende; ohne
   Bottom-Padding klebte der Farbwechsel der Folge-Sektion am Button. */
.how { padding-block: clamp(64px, 9vw, 112px); }

/* Nur die Schritte-Liste — das Statistik-Visual lebt in #statistik */
/* Runde 25–28: Treppen-Layout — links oben Überschrift + 01-04-Liste
   (kurzer Block), rechts der lange Statistik-Screenshot (langer Block),
   links unten die Statistik (kurzer Block). Der Screenshot beginnt auf
   Höhe von Schritt 03 und endet bündig mit dem Statistik-Block
   (align-self: end) — er verbindet die beiden kurzen Blöcke. */
.how-inner {
  display: grid;
  /* Runde 38 (P0): explizite 1fr-Spalte statt Auto — die Auto-Spalte
     maß auf 320px die einzeilige H2 („Vom Matchstart bis zur Statistik",
     32 Zeichen ≈ 352px) und erzeugte horizontalen Scroll (scrollWidth
     352 bei 320er-Viewport). */
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 6vw, 56px);
  align-items: start;
}
@media (min-width: 900px) {
  .how-inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas:
      "left vis"
      "copy vis";
  }
  /* Runde 38 (P0): grid-area nur dort, wo das Areas-Template existiert.
     Ohne Template erzeugte `grid-area: <name>` auf Mobile implizite
     Spalten (gemessen: 0px 0px 300px) und schob das Grid aus dem
     Container — Teil desselben 320px-Overflow-Befunds. */
  .how-left { grid-area: left; }
  .how-visual { grid-area: vis; }
  .stats-copy { grid-area: copy; }
}
.how-visual { justify-self: center; align-self: start; }
/* Runde 28: im How-Kontext etwas breiter als die .stats-shot-Basis
   (clamp 260/26vw/340) — so ist das Bild an den Desktop-Breiten
   höhentreibend (länger als die linke Spalte) und der Statistik-Block
   endet bündig mit dem Bild. */
.how-visual .stats-shot { width: clamp(300px, 31vw, 362px); }
@media (min-width: 900px) {
  /* Runde 31/32: Screenshot-Beginn auf Höhe von Schritt 02 „Antippen"
     (Nutzer-Anker). Runde 32: der Statistik-Block sitzt so, dass das
     Screenshot-Ende ungefähr auf der Mitte des Chart-Mockups im Block
     landet — breitenabhängige Offsets, weil die Bildhöhe mit der
     Spaltenbreite wächst (Bildbreite: .how-visual .stats-shot). */
  .how-visual { margin-top: 335px; }
  .stats-copy { align-self: start; padding-top: clamp(24px, 4vw, 48px); }
}
@media (min-width: 901px) and (max-width: 950px) {
  .stats-copy { margin-top: 165px; }
}
@media (min-width: 951px) and (max-width: 1050px) {
  .stats-copy { margin-top: 190px; }
}
@media (min-width: 1051px) and (max-width: 1300px) {
  .stats-copy { margin-top: 280px; }
}
@media (min-width: 1301px) {
  .stats-copy { margin-top: 300px; }
}

.how-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(28px, 4vw, 44px);
  counter-reset: howstep;
}

.how-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  align-items: start;
}
.step-num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--clay);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.how-step h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: var(--space-2); }
.how-step p { margin: 0; color: var(--ink-muted); max-width: 46ch; }

/* ---------- Geräte-Mockup (echter Rahmen + App-Screenshot) ----------
   `assets/phone-frame.png` (Galaxy S24, 386×800) hat einen wirklich
   transparenten Screen-Ausschnitt — der Screenshot liegt darunter und wird von
   der Blende beschnitten. Alle Prozentwerte sind am Alphakanal gemessen, nicht
   geschätzt: Ausschnitt x 14–369, y 15–785 von 386×800.

   Ersetzt das frühere CSS-Handy, das bei ~178px Breite einen 40px-Eckenradius
   hatte (22 % — echte Geräte liegen bei ~10 %) und deshalb nicht wie ein
   Smartphone aussah. */

.device {
  --device-w: clamp(230px, 24vw, 280px);
  position: relative;
  width: var(--device-w);
  aspect-ratio: 386 / 800;
  flex: none;
  /* drop-shadow statt box-shadow: folgt der Silhouette des Rahmens statt einem
     Rechteck um sie herum. */
  filter: drop-shadow(0 2px 6px oklch(25% 0.02 60 / 0.10))
          drop-shadow(0 16px 40px oklch(25% 0.02 60 / 0.18));
}
.device-shot {
  position: absolute;
  left: 3.63%;
  top: 1.88%;
  width: 92.23%;
  height: 96.38%;
  object-fit: cover;
  object-position: top;          /* Kopf des Screens zuerst, unten wird beschnitten */
  /* 9,5 % der Screen-Breite (gemessene Rundung des Ausschnitts) */
  border-radius: calc(var(--device-w) * 0.088);
  background: var(--share-surface);
}
.device-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Der Rahmen ist ein dunkles Gerät auf hellem Grund — im Dunkelmodus braucht
   er eine leichte Aufhellung, sonst verschwindet seine Silhouette.
   (System-Dunkelmodus ODER manuelle Wahl, s. o.) */
:root[data-theme="dark"] .device {
  filter: drop-shadow(0 2px 6px oklch(0% 0 0 / 0.5))
          drop-shadow(0 16px 40px oklch(0% 0 0 / 0.55));
}
/* (Runde 37: System-Dark-Variante entfernt — Standard ist Light;
   Dark-Schatten kommen nur über :root[data-theme="dark"] .device.) */

.p-person {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 9px 2px;
  border-top: 1px solid var(--line);
}
.p-person-text strong { display: block; font-size: 0.8125rem; }
.p-person-text small { color: var(--ink-muted); font-size: 0.6875rem; }
.p-follow {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  color: var(--ink-muted);
}
.p-follow--on { border-color: transparent; background: var(--clay-soft); color: var(--clay); }

/* ---------- Features ---------- */

.features {
  background: var(--bg-soft);
  padding-block: clamp(64px, 9vw, 112px);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.feature-row:last-of-type { margin-bottom: 0; }
@media (max-width: 820px) {
  .feature-row, .feature-row--reversed { grid-template-columns: 1fr; }
  .feature-visual { order: -1; }
}
.feature-row--reversed { direction: rtl; }
.feature-row--reversed > * { direction: ltr; }

.feature-copy h3 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
  font-weight: 800;
  margin-bottom: var(--space-3);
}
.feature-copy p { color: var(--ink-muted); max-width: 52ch; }
.feature-visual { justify-self: center; }

.format-pills {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.format-pills li {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--ink);
}

/* Baseliner-Board (kleines Zählformat-Board) */
.format-board {
  width: min(320px, 100%);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-1);
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}
.fb-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.fb-row:last-of-type { border-bottom: 0; }
.fb-name { font-size: 1rem; font-weight: 600; }
.fb-count { margin-left: auto; font-size: 1.75rem; font-weight: 800; }
.fb-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  color: var(--ink-muted);
  font-size: 0.8125rem;
}
.fb-serve { color: var(--clay); font-weight: 600; }

.feature-list {
  list-style: none;
  margin: clamp(48px, 7vw, 80px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5) var(--space-7);
  border-top: 1px solid var(--line);
  padding-top: clamp(32px, 5vw, 48px);
}
@media (max-width: 700px) {
  .feature-list { grid-template-columns: 1fr; }
}
.feature-list li {
  position: relative;
  padding-left: 26px;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--clay);
}
.feature-list h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: var(--space-1); }
.feature-list p { margin: 0; color: var(--ink-muted); font-size: 0.9375rem; max-width: 40ch; }

/* ---------- App holen / Waitlist ---------- */

.getapp {
  position: relative;
  overflow: clip;
  background: var(--bg-soft);
  padding-block: clamp(72px, 10vw, 128px);
}

/* Dezente Court-Linien unten rechts */
.getapp-court {
  position: absolute;
  right: -140px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  border: 1.5px solid color-mix(in oklch, var(--clay) 22%, transparent);
  border-radius: 50%;
  pointer-events: none;
}
.getapp-court::after {
  content: '';
  position: absolute;
  inset: 12%;
  border: 1.5px solid color-mix(in oklch, var(--clay) 14%, transparent);
  border-radius: 50%;
}

.getapp-inner { position: relative; }
.getapp .section-head { margin-bottom: var(--space-6); }

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 13px 22px;
  border-radius: var(--radius-md);
  background: var(--badge-bg);
  color: var(--badge-ink);
  border: 1px solid color-mix(in srgb, var(--badge-ink) 18%, transparent);
  text-decoration: none;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s;
}
a.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
}
.store-badge img { width: 26px; height: 26px; }
.badge-text small {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.72;
  line-height: 1.2;
}
.badge-text strong {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
}
.badge-chip {
  position: absolute;
  top: -10px;
  right: 14px;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--clay);
  color: var(--clay-on);
}

/* Waitlist */
/* Der Rahmen um Auswahl + E-Mail-Feld + Button macht sichtbar, dass die
   drei zu EINEM Formular gehören. Als hervorgehobene Karte im selben
   Clay-Stil wie andere Highlight-Flächen der Seite: --clay-soft-Fläche +
   Clay-getönte Kante — das wichtigste Formular der Seite soll auffallen. */
.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  max-width: 540px;
  margin-bottom: var(--space-3);
  background: var(--clay-soft);
  border: 1px solid color-mix(in oklch, var(--clay) 35%, var(--line));
  border-radius: var(--radius-md);
  padding: var(--space-4);
}
.waitlist input {
  flex: 1 1 240px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  min-width: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.waitlist input::placeholder { color: var(--ink-muted); }
.waitlist input:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--clay) 25%, transparent);
}

/* Plattform-Auswahl: drei auswählbare Chips im Karten-Stil der Website
   (gleiche Tokens wie die übrigen Karten-Komponenten), gleicher
   Radius, Icon + Label; ausgewählt = Clay-Rahmen + Clay-soft-Fläche. */
.waitlist-platform {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  border: 0;
  padding: 0;
  margin: 0;
}
/* Runde 57: zwei Dropdowns (Smartphone + Uhr) statt Radio-Chips — Mischungen
   wie Android-Handy + Garmin-Uhr abbildbar. Optik wie das E-Mail-Feld. */
.waitlist-selects {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.waitlist-select {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}
.waitlist-select select {
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.waitlist-select select:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--clay) 25%, transparent);
}
.platform-option {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}
.platform-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.platform-option svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--ink-muted);
  transition: color 0.15s;
}
.platform-option span {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.15s;
}
/* Ausgewählt: Clay-Rahmen + Clay-Text, Fläche bleibt --bg-card —
   hebt sich auf der --clay-soft-Formularkarte klar ab (dort würde
   eine clay-soft-Fläche im Kartenhintergrund verschwinden). */
.platform-option:has(input:checked) {
  border-color: var(--clay);
}
.platform-option:has(input:checked) svg,
.platform-option:has(input:checked) span {
  color: var(--clay);
}
.platform-option:has(input:focus-visible) {
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--clay) 25%, transparent);
}
.waitlist.is-busy button { opacity: 0.6; pointer-events: none; }

.waitlist-status {
  min-height: 1.5em;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: var(--space-2);
}
.waitlist-status.is-ok { color: var(--forest); }
.waitlist-status.is-err { color: var(--clay); }

/* Runde 61: Hinweis auf das richtige E-Mail-Konto (Google-Account bzw. Apple
   Account) — bewusst kräftiger als der Datenschutz-Hinweis darunter, weil er
   über die spätere Beta-Einladung entscheidet. */
.waitlist-hint {
  color: var(--ink);
  font-size: 0.9375rem;
  margin: 0 0 var(--space-2);
}

.waitlist-privacy {
  color: var(--ink-muted);
  font-size: 0.875rem; /* Runde 38 (P3): 13 → 14px auf Mobile */
  margin: 0;
}
/* Runde 52: Link zur Datenschutzerklärung im reCAPTCHA-Hinweis — gleiche
   Optik wie die Legal-Links (Clay, dezente Unterstreichung). */
.waitlist-privacy a {
  color: var(--clay);
  text-decoration-color: color-mix(in oklab, var(--clay) 45%, transparent);
}
.waitlist-privacy a:hover { text-decoration-color: var(--clay); }

/* Runde 53: Instagram-Präsenz — CTA unter dem Formular in Marken-Orange
   (Nutzer-Wunsch: gefüllt wie der Primär-Button) und Pillen-Link mit Handle
   neben der Wortmarke im Footer. */
.waitlist-instagram {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-4) auto 0;
  width: fit-content;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--clay);
  color: var(--clay-on);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.waitlist-instagram svg { width: 18px; height: 18px; flex-shrink: 0; }
.waitlist-instagram:hover {
  background: color-mix(in oklch, var(--clay) 88%, black);
  color: var(--clay-on);
  box-shadow: var(--shadow-1);
  transform: translateY(-1px);
}
.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.15s, border-color 0.15s;
}
.footer-instagram svg { width: 17px; height: 17px; flex-shrink: 0; }
.footer-instagram:hover {
  color: var(--clay);
  border-color: color-mix(in oklab, var(--clay) 45%, transparent);
}

/* ---------- Stimmen aus den ersten Tests (ehrlicher Social Proof) ---------- */
.quotes {
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.quotes-inner { max-width: 760px; margin-inline: auto; text-align: center; }
.quote-list {
  list-style: none;
  display: grid;
  gap: var(--space-3);
  padding: 0;
  margin: 0 0 var(--space-3);
}
.quote-item {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 0.9rem + 1vw, 1.375rem);
  font-weight: 600;
  color: var(--ink);
}
.quotes-note {
  color: var(--ink-muted);
  font-size: 0.8125rem;
  margin: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: var(--space-7) var(--space-6);
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-6);
}
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.footer-brand .brand-logo { width: 24px; height: 24px; }
.footer-tagline {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  margin-left: auto;
}
@media (max-width: 700px) {
  .footer-tagline { margin-left: 0; }
}
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-4); width: 100%; }
.footer-nav a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.875rem;
  /* Runde 38 (P1): 44px-Tap-Ziel statt bloßer Texthöhe (WCAG 2.5.8) */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-nav a:hover { color: var(--clay); }
.footer-copy {
  width: 100%;
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.875rem; /* Runde 38 (P3): 13 → 14px auf Mobile */
  border-top: 1px solid var(--line);
  padding-top: var(--space-4);
}

/* ---------- Live-Feed-Karte (Hero) ---------- */

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;                /* Geräte in der Spalte zentrieren */
}
/* Die Teilen-Karte hängt unter die Geräte hinaus und ist absolut positioniert,
   zählt also nicht zur Höhe. Runde 38: die Reservierung deckt den Karten-
   Überhang (≈ Kartenbreite, clamp 178/19vw/224) ab — der frühere Geräte-
   Beweis hatte noch das Sektions-Bottom-Padding als Puffer. Die Float-
   Animation bewegt die Karte nur nach oben, die statische Position ist
   also der Worst Case.
   Runde-38-Nachtrag 2: zusätzlich ~100px für den Schatten-Auslauf der
   Karte (--shadow-3, 32px Offset + 80px Blur) — ohne Clip (siehe
   .ticker-visual) muss der Schatten hier und im Sektions-Padding auf
   einheitlichem Grund auslaufen, sonst entsteht ein harter Cut. */
.hero-stage { padding-bottom: clamp(280px, 21vw, 330px); }

/* Die Karte ist ein Abbild des App-Teilen-Bilds (MatchShareCard, Live-Variante).
   Alle Innenmaße in `cqw` (Container-Query-Breite), damit die Miniatur exakt
   dieselben Proportionen hält wie das 1080×1350-Original — dort sind Logo,
   Schriftgrößen und Chips ebenfalls feste Anteile der Kartenbreite. */
/* WICHTIG: `cqw` kann den eigenen Container nicht abfragen — Padding und Radius
   müssen deshalb auf das innere `.sc-inner`, sonst lösen sie gegen den Viewport
   auf (führte zu 129px Padding und font-size:0 bei allen Kindern). Die Karte
   selbst trägt nur Position, Breite und die Container-Deklaration. */
.live-feed-card {
  position: absolute;
  left: 50%;
  /* Am Fuß der Gerätereihe verankert: --sc-shift bestimmt, wie viel der Karte
     über der gemeinsamen Unterkante von Uhr und Handy liegt (= wie stark sie
     beide überdeckt). Auch von den feed-float-Keyframes gelesen. */
  top: 100%;
  --sc-shift: -30%;
  z-index: 2;                        /* über Watch (1) und Phone (0) */
  width: clamp(178px, 19vw, 224px);
  container-type: inline-size;
  transform: translate(-50%, var(--sc-shift));
}
.sc-inner {
  background: var(--share-surface);
  color: var(--share-ink);
  /* Klare Außenkante (Runde 13): Haarlinie + Schatten. Die Karte hängt vor
     der dunklen Uhr — dort trägt die Linie die Kante, wo der Schatten
     unsichtbar bleibt (--share-ink wird im Dark Mode hell, die Linie
     adaptiert mit). */
  border: 1px solid color-mix(in oklch, var(--share-ink) 14%, transparent);
  border-radius: 5cqw;               /* = 18dp/360dp im Original */
  padding: 10.5cqw 9cqw 6.5cqw;
  box-shadow: var(--shadow-3);
  text-align: center;
}
/* Marken-Kopf: Logo + Wortmarke, zentriert wie im Original */
.sc-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.8cqw;
  margin-bottom: 5.5cqw;
}
.sc-brand img { width: 11cqw; height: 11cqw; }
.sc-brand span {
  /* Runde 49: die Teilen-Karte der App trägt dort die neue Wortmarke —
     der Nachbau zieht nach. */
  font-family: 'Poppins', var(--font-display), sans-serif;
  font-style: italic;
  font-size: 6.1cqw;
  font-weight: 900;
  letter-spacing: -0.04em;
}

/* „Läuft gerade": gefüllte Pille (primaryContainer), nicht der Live-Dot der
   übrigen Seite — im Teilen-Bild ist das bewusst ein Standbild ohne Puls. */
.sc-live {
  display: inline-flex;
  align-items: center;
  gap: 2.6cqw;
  padding: 2.3cqw 5.4cqw;
  border-radius: var(--radius-pill);
  background: var(--share-live);
  color: var(--share-live-on);
  font-family: var(--font-display);
  font-size: 3.9cqw;
  font-weight: 700;
  margin-bottom: 7cqw;
}
.sc-live i {
  width: 2.6cqw;
  height: 2.6cqw;
  border-radius: 50%;
  background: currentColor;
}

/* Score-Zeilen: Initialen · Name · abgeschlossener Satz · laufender Satz · Punkt */
.sc-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 2.4cqw;
  text-align: left;
}
.sc-row + .sc-row { margin-top: 3.2cqw; }
.sc-initials {
  font-size: 2.7cqw;
  font-weight: 600;
  color: var(--share-muted);
  letter-spacing: 0.02em;
}
.sc-name {
  font-size: 5cqw;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-set,
.sc-game {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: center;
}
/* Abgeschlossener Satz: nackte Zahl, wie in der App */
.sc-set {
  font-size: 6.4cqw;
  min-width: 5cqw;
}
/* Laufender Satz + aktueller Punkt: farbige Chips — im Original spürbar höher
   als breit (125×150 px bzw. 200×160 px auf 1080 px Kartenbreite) */
.sc-set--current,
.sc-game {
  border-radius: 2.8cqw;
  padding: 2.8cqw 2.6cqw;
  min-width: 11.5cqw;
  line-height: 1;
}
.sc-set--current {
  background: var(--share-set);
  color: var(--share-set-on);
}
.sc-game {
  background: var(--share-live);
  color: var(--share-live-on);
  font-size: 8cqw;
  min-width: 14cqw;
}

.sc-label {
  margin: 7cqw 0 0;
  font-size: 3.9cqw;
  color: var(--share-muted);
}
/* aspect-ratio statt fester Höhe: passt exakt zum 240×40-viewBox (6:1), damit
   die Kurve gleichmäßig skaliert. Mit preserveAspectRatio="none" wurde die
   Strichstärke vertikal gestaucht und die Linie sah ausgefranst aus. */
.sc-momentum {
  display: block;
  width: 100%;
  aspect-ratio: 6 / 1;
  height: auto;
  margin-top: 2.5cqw;
  overflow: visible;
}
.sc-mom-line-own, .sc-mom-area-own { color: var(--share-chart-own); }
.sc-mom-line-opp, .sc-mom-area-opp { color: var(--share-chart-opp); }
.sc-momentum .sc-mom-line { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.sc-momentum .sc-mom-area { fill: currentColor; opacity: 0.13; stroke: none; }
.sc-momentum .sc-mom-axis { stroke: var(--share-muted); stroke-width: 0.7; opacity: 0.6; }

.sc-format {
  margin: 6.5cqw 0 0;
  font-size: 4.1cqw;
  color: var(--share-muted);
}
.sc-brandline {
  margin: 3.4cqw 0 0;
  font-family: var(--font-display);
  font-size: 4.1cqw;
  font-weight: 700;
  color: var(--share-accent);
}

/* Push-Toast: hängt über die obere rechte Kante der Karte hinaus (nicht in sie
   hinein — der Marken-Kopf braucht seinen Platz) und bleibt bewusst in der
   Seiten-Farbwelt: er ist die Benachrichtigung des Handys, nicht Teil des
   Teilen-Bilds. `white-space: nowrap` verhindert den Zweizeilen-Umbruch, der
   den Kopf schon einmal verdeckt hat. */
.feed-toast {
  position: absolute;
  /* Prozentualer Versatz statt fester -14px: so hängt der Toast bei JEDER
     Kartengröße gleich weit über der Oberkante und rutscht nicht in die
     Marken-Zeile (bei 901px verdeckte er sonst „RacketWatch"). */
  top: 0;
  left: 50%;
  transform: translate(-38%, -68%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  /* Links und rechts exakt gleicher Textabstand zum Pillenrand (Nutzer-Wunsch):
     links 12 px Padding + 1 px Rand + 11 px Icon + 7 px Gap = 31 px,
     rechts 30 px Padding + 1 px Rand = 31 px. */
  padding: 7px 30px 7px 12px;
  /* Grün wie der laufende Satz (--share-set/-on, dieselben Tokens wie
     .sc-set--current/.dhc-set--current) statt der ursprünglich dunklen Pille
     (--ink auf --bg, verschwand vor der fast schwarzen Uhr dahinter) —
     Nutzer-Wunsch, dunkler Rand aus derselben Grün-Stufe wie der Text. */
  background: var(--share-set);
  color: var(--share-set-on);
  border: 1px solid var(--share-set-on);
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-1);
}
.feed-toast svg { width: 11px; height: 11px; flex: none; }
.feed-toast strong { font-family: var(--font-display); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .live-feed-card { animation: feed-float 7s ease-in-out infinite; }
  .feed-toast { animation: toast-cycle 6s var(--ease-out) infinite; }
}

/* ---------- Story-Strip (Problem → Lösung) ---------- */

.story-strip {
  background: var(--bg-soft);
  padding-block: clamp(48px, 7vw, 88px);
  /* Runde 38 (P0): der Fächer darf über den Container, aber nie über den
     Viewport ragen — clip kappt nur den Überstand, erzeugt keinen
     Scroll-Container (im Gegensatz zu hidden). */
  overflow-x: clip;
}
.story-inner {
  display: grid;
  /* Runde 38 (P0): explizite 1fr-Spalte statt Auto — sonst dimensioniert
     die Auto-Spalte auf die einzeilige H2-Breite und treibt scrollWidth
     über den Viewport (gleiche Ursache im How-Grid, s. u.). */
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 860px) {
  .story-inner { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
  /* Zickzack (Runde 24): Story-Visual (Chat + Karten-Ring) links, Copy rechts —
     Hero-Foto rechts daneben hätte zwei Bild-Sektionen auf derselben Seite. */
  .story-head { order: 2; }
}
.story-head h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
  font-weight: 800;
  margin-bottom: var(--space-3);
}
/* Runde 33: keine 52ch-Kappe — die 6fr-Spalte ist ohnehin nur ~62–65ch
   breit, der Absatz brach zu früh um und wirkte schmaler als die übrigen
   Textblöcke (Nutzer-Meldung). */
.story-head p { color: var(--ink-muted); max-width: none; margin: 0; }

/* Vorher: entsättigtes, größenfestes WhatsApp-artiges Chat-Fenster (mehrere
   Personen posten Spielstände samt Gegner:innen zu vier Matches
   durcheinander) — klar als Eyebrow-Label + Graustufen-Filter von der
   Nachher-Seite abgesetzt. Nachher: vier größere, gestapelte Live-Karten als
   1:1-Klon von .sc-inner (Hero-Live-Fenster), die eigenständig durchrotieren
   (wie manuelles Durchswipen). Beide Seiten teilen sich eine Zeitleiste für
   die Score-Inhalte (app.js, initStoryChat) — ohne JS bzw. bei
   prefers-reduced-motion zeigen Chat und Karten den vollständigen,
   statischen Endzustand ohne jede Bewegung. */
.story-visual { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.story-visual-label {
  align-self: flex-start;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.story-visual-label--after { align-self: flex-start; color: var(--clay); }
.story-visual-arrow { color: var(--ink-muted); }
.story-chat {
  /* Runde 34: etwas kleiner (Nutzer-Wunsch) — schmaler als die Spalte,
     zentriert unter dem „Vorher"-Label. */
  width: min(100%, 340px);
  height: 235px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Runde 36: kein Graustufen-Filter mehr — die Emojis sollen farbig
     bleiben (Nutzer-Wunsch); das „Vorher"-Signal trägt weiterhin das
     Label, die Unübersichtlichkeit der Inhalte und der Kontrast zu den
     vollfarbigen Live-Karten darunter. */
  filter: contrast(0.96);
}
.story-chat-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
}
.story-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.story-chat-msg { display: flex; align-items: flex-end; gap: 8px; }
.story-chat-avatar {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.625rem;
}
.story-chat-avatar[data-sender="a"] { background: var(--clay-soft); color: var(--clay); }
.story-chat-avatar[data-sender="b"] { background: color-mix(in oklch, var(--forest) 20%, var(--bg-card)); color: var(--forest); }
.story-chat-avatar[data-sender="c"] { background: color-mix(in oklch, var(--live) 20%, var(--bg-card)); color: var(--live); }
.story-chat-avatar[data-sender="d"] { background: color-mix(in oklch, color-mix(in oklch, var(--clay) 50%, var(--forest) 50%) 20%, var(--bg-card)); color: color-mix(in oklch, var(--clay) 50%, var(--forest) 50%); }
.story-chat-avatar[data-sender="f"] { background: color-mix(in oklch, color-mix(in oklch, var(--forest) 50%, var(--live) 50%) 20%, var(--bg-card)); color: color-mix(in oklch, var(--forest) 50%, var(--live) 50%); }
.story-chat-avatar[data-sender="e"] { background: color-mix(in oklch, var(--live) 45%, var(--clay-soft)); color: color-mix(in oklch, var(--live) 60%, var(--ink)); }
.story-chat-avatar[data-sender="group"] { width: 26px; height: 26px; background: var(--ink-muted); color: var(--bg-card); }
.story-chat-bubble {
  margin: 0;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 0.8125rem;
  color: var(--ink);
  max-width: 80%;
}

/* Nachher: Fächer-Karussell (Nutzer-Vorlage: React/GSAP-Fächer-Komponente,
   hier als reines CSS+Vanilla-JS nachgebaut — kein React/Tailwind/GSAP im
   Projekt, siehe Plan). Kartenvorlage ist .demo-hero-card/.dhc-* aus dem
   Demo-Abschnitt 1:1 übernommen — volle Orange-Fläche mit weißem Spiel-Chip
   + grünem Satz-Chip. Gleiches Seitenverhältnis wie dort (~9:4, Querformat)
   über `aspect-ratio` erzwungen, da .dhc-* anders als .sc-inner nicht per
   cqw mitskaliert; dafür Schrift/Abstände innerhalb leicht verkleinert.
   Jede Karte hat eine feste Fächer-Position (`[data-slot]`, Werte nach der
   Formel `rot=distance*21°, scale=1-0.2244*distance², x=distance*130px,
   y=distance²*20px` der Vorlage, distance=(slot-2)/2 für 4 Karten); JS
   rotiert nur, welche Karte welchen Slot hat (wie ein Kartenmischen), alle
   3,5s einen weiter. Radius/Größen sind Schätzwerte (kein Live-Rendering
   möglich), ggf. nachzujustieren. */
.story-cards {
  position: relative;
  width: 100%;
  height: clamp(220px, 48vw, 270px);
}
.story-card-live {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(230px, 52vw, 300px);
  aspect-ratio: 9 / 4;
  /* Polish (impeccable): expo-out statt Back-Out-Overshoot — die
     Ring-Rotation deceleriert ruhig, kein Bounce. */
  transition: transform 0.7s var(--ease-out);
}
/* Runde 38 (P0): die Fächer-Offsets sind breitenabhängig (min()) — vorher
   ragte der Fächer auf Smartphone-Breiten ~85px über den Viewport und
   erzeugte horizontalen Scroll (scrollWidth 396px bei 320er-Viewport).
   Zusammen mit `overflow-x: clip` auf .story-strip bleibt der Peek-Look
   erhalten, Scroll ist ausgeschlossen. */
.story-card-live[data-slot="0"] { transform: translate(calc(-50% - min(130px, 24vw)), calc(-50% + 20px)) rotate(-21deg)   scale(0.776); z-index: 8; }
.story-card-live[data-slot="1"] { transform: translate(calc(-50% - min(65px, 12vw)),  calc(-50% + 5px))  rotate(-10.5deg) scale(0.944); z-index: 9; }
.story-card-live[data-slot="2"] { transform: translate(-50%, -50%)                              rotate(0deg)     scale(1);     z-index: 10; }
.story-card-live[data-slot="3"] { transform: translate(calc(-50% + min(65px, 12vw)),  calc(-50% + 5px))  rotate(10.5deg)  scale(0.944); z-index: 9; }
.story-card-live[data-slot="4"] { transform: translate(calc(-50% + min(130px, 24vw)), calc(-50% + 20px)) rotate(21deg)    scale(0.776); z-index: 8; }
/* Kompaktere Schrift/Abstände als im Original .demo-hero-card — die
   Fächer-Karten sind kleiner. .story-card-live.demo-hero-card (statt nur
   .demo-hero-card) sorgt für höhere Spezifität, unabhängig von der
   Reihenfolge im Stylesheet. */
.story-card-live.demo-hero-card { padding: 14px 16px; }
.story-card-live .dhc-live { font-size: 0.6875rem; margin-bottom: 8px; }
.story-card-live .dhc-live i { width: 6px; height: 6px; color: var(--live); }
.story-card-live .dhc-row + .dhc-row { margin-top: 4px; }
.story-card-live .dhc-name { font-size: 0.9375rem; }
.story-card-live .dhc-set { font-size: 1.0625rem; }
.story-card-live .dhc-set--current,
.story-card-live .dhc-game { padding: 2px 7px; font-size: 1.0625rem; min-width: 1.8em; }
.story-card-live .dhc-foot { margin-top: 8px; padding-top: 6px; font-size: 0.6875rem; }
@media (prefers-reduced-motion: no-preference) {
  .story-card-live .dhc-live i { animation: dhc-pulse 1.6s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  /* Runde 38 (P0): der Fallback war der kaputteste Zustand der Seite —
     `width: auto` in einem 1fr-1fr-Grid blähte jede Spalte auf die
     min-content-Breite der Karten (~373px) auf: scrollWidth 778px auf
     Mobile. Jetzt: einspaltig auf Smartphone, zwei Spalten mit
     minmax(0,1fr) ab 600px, Karten volle Breite. */
  .story-cards {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .story-card-live[data-slot] {
    position: static;
    width: 100%;
    min-width: 0;
    transform: none;
    transition: none;
  }
}
@media (prefers-reduced-motion: reduce) and (min-width: 600px) {
  .story-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ---------- Live-Ticker (USP-Sektion) ---------- */

.ticker { padding-block: clamp(64px, 9vw, 112px); overflow-x: clip; }
.ticker-inner {
  display: grid;
  /* Runde 38 (P0): explizite 1fr-Spalte statt Auto (siehe .story-inner). */
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 900px) {
  /* Runde 38 (Sektions-Umbau): Copy links, Geräte-Komposition rechts —
     übernimmt die rechte Zickzack-Position des aufgelösten Geräte-Beweises
     (Story links → Ticker rechts → Demo links → How-Staircase rechts). */
  .ticker-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
/* Bildspalte der Ticker-Sektion: die Geräte-Komposition (Uhr + Handy +
   Live-Karte) aus dem früheren Geräte-Beweis. Runde-38-Nachtrag 2:
   bewusst OHNE overflow: clip — der Clip schnitt die Geräte-Schatten
   (drop-shadow der Geräte, --shadow-2 der Uhr, --shadow-3 der Live-Karte)
   hart an der Spaltenkante ab, besonders unterhalb der Karte (der
   80px-Blur-Schatten hatte nur ~10-20px Luft). Stattdessen reserviert
   die Stage jetzt genug Platz (.hero-stage), damit Karte UND Schatten
   vollständig auslaufen; die frühere .device-showcase clippte an
   unsichtbaren Sektionskanten (gleicher Hintergrund daneben), die
   Grid-Spalte liegt mitten im sichtbaren Bereich. */
.ticker-visual {
  position: relative;
}
/* Die gerettete Headline des Geräte-Beweises als Bildbeschriftung im Stil
   der Story-Labels — kein Eyebrow, sondern die Botschaft der Bildspalte. */
.ticker-visual-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 0 var(--space-4);
}
/* Runde 42 (mobil, Nutzer-Befund): Titel→Geräte mehr Luft (16px ließen das
   Bild an der Überschrift kleben), dafür unten weniger — das volle
   Sektions-Padding (64px) hinterließ eine tote Zone bis zum Abschnittswechsel.
   Beides nur ≤899px (Desktop-Abstände bleiben unangetastet). */
@media (max-width: 899px) {
  .ticker-visual-title { margin-bottom: var(--space-6); }
  .ticker { padding-bottom: var(--space-6); }
}
.ticker-benefits {
  list-style: none;
  margin: var(--space-6) 0;
  padding: 0;
  display: grid;
  gap: var(--space-5);
}
.ticker-benefits li { position: relative; padding-left: 30px; }
.ticker-benefits li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--live) 20%, transparent);
}
.ticker-benefits h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-1);
}
.ticker-benefits p { margin: 0; color: var(--ink-muted); max-width: 52ch; }
.ticker-trust {
  margin: 0 0 var(--space-6);
  color: var(--ink-muted);
  max-width: 52ch;
}
.ticker-trust strong { color: var(--ink); }

/* ---------- Demo: Mini-Ticker ---------- */

.demo-right { max-width: 460px; }

/* Nachbau der Dashboard-Hero-Karte (LiveCard, mobile/.../DashboardScreen.kt:677-762):
   dieselbe primaryContainer-Farbe wie die Teilen-Karte im Hero (--share-live/-on,
   Runde 4) — App und Website beziehen sich auf denselben Farbwert, kein neues Token. */
.dhc-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  /* folgt seit 2026-08-22 direkt auf die Statuszeile — weniger Luft als
     früher (da stand davor noch der Hinweis-Text) */
  margin: var(--space-4) 0 var(--space-3);
}
.demo-hero-card {
  background: var(--share-live);
  color: var(--share-live-on);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  /* Außenschatten wie das Hero-Live-Fenster (Runde 13, --shadow-3) — die
     Karte soll als Objekt über der Seite stehen. */
  box-shadow: var(--shadow-3);
}
.dhc-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.dhc-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
@media (prefers-reduced-motion: no-preference) {
  .dhc-live i { animation: dhc-pulse 1.6s ease-in-out infinite; }
}
.dhc-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}
/* Spielstand-Spalten wie in der App: abgeschlossene Sätze (schlicht) ·
   laufender Satz (grün) · laufendes Spiel (weiß). */
.dhc-scores,
.dhc-done {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.dhc-row + .dhc-row { margin-top: var(--space-2); }
.dhc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
}
.dhc-row.is-serving .dhc-dot { opacity: 1; }
.dhc-name {
  font-size: 1.25rem;
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* Abgeschlossener Satz: nur die Zahl, keine Fläche. */
.dhc-set {
  font-size: 1.5rem;
  font-weight: 700;
  min-width: 1em;
  text-align: center;
}
/* Laufender Satz: grüner Chip — dieselben Tokens wie .sc-set--current in der
   Teilen-Karte (secondaryContainer/onSecondaryContainer der App). */
.dhc-set--current {
  background: var(--share-set);
  color: var(--share-set-on);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  min-width: 1.8em;
}
.dhc-game {
  background: var(--share-live-on);
  color: var(--share-live);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  /* Breit genug für den längsten Wert ("40"/"AD"), damit beide Zeilen gleich
     breite Chips haben — sonst steht z. B. "30" gegen "0" versetzt. */
  min-width: 2.6em;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
}
.dhc-foot {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid color-mix(in oklch, var(--share-live-on) 30%, transparent);
  font-size: 0.875rem;
}

/* ---------- Statistik ---------- */

/* (Runde 28: die .stats-Sektion ist in den How-Abschnitt aufgegangen —
   keine eigenen Regeln mehr nötig.) */
/* (Runde 28: .stats/.stats-inner entfallen — die Statistik-Sektion ist
   als .stats-copy direkt in den How-Abschnitt gewandert, siehe
   Treppen-Layout oben.) */
.stats-copy h2 {
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem);
  font-weight: 800;
  margin-bottom: var(--space-4);
}
.stats-copy p { color: var(--ink-muted); max-width: 52ch; margin: 0; }
/* (Runde 25: die frühere .stats-visual-Regel entfällt — der Block lebt
   jetzt als .how-visual im How-Abschnitt.) */
/* Vollständiger Statistik-Screenshot (langer Scroll-Capture, natürliche Höhe) */
.stats-shot {
  margin: 0;
  width: clamp(260px, 26vw, 340px);
}
.stats-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}
/* Detail-Ansicht (Charts) unter dem Copy-Text */
.stats-chart-phone {
  --device-w: clamp(210px, 20vw, 250px);
  margin-top: var(--space-6);
}
/* Runde 38 (Nutzer-Wunsch): im einspaltigen (mobilen) Layout sitzt das
   Handy spaltenzentriert wie die anderen Mockups — im Desktop-Layout
   (How-Grid ab 900px) bewusst linksbündig unter dem Text. */
@media (max-width: 899px) {
  .stats-chart-phone { margin-inline: auto; }
}
/* Kairos-CTA nach der Statistik (persuasive-ux "Suggestion"), im Copy-Fluss */
.stats-cta { margin-top: var(--space-7); }
.stats-cta .section-lede {
  margin-bottom: var(--space-3);
  max-width: 42ch;
}

/* ---------- Formate + Plattformen (zusammengezogen) ---------- */

/* Erklärzeile unter den Format-Pills: Golden Point + Spielart,
   bewusst als Fließtext statt weiterer Pills (eine Kategorie pro Liste). */
.format-extras {
  color: var(--ink-muted);
  margin-top: var(--space-4);
  max-width: 60ch;
}
.format-extras strong { color: var(--ink); }

/* ---------- FAQ ---------- */

/* Bewusst auf --bg (nicht bg-soft): die Nachbarn features + getapp sind schon Sand —
   so bleibt der Hell/Dunkel-Rhythmus der Seite erhalten */
.faq { padding-block: clamp(64px, 9vw, 112px); }
.faq-inner { max-width: 760px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  text-wrap: balance;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex: none;
  width: 9px;
  height: 9px;
  margin: 0 6px 0 0;
  border-right: 2px solid var(--clay);
  border-bottom: 2px solid var(--clay);
  transform: rotate(45deg);
}
@media (prefers-reduced-motion: no-preference) {
  .faq-item summary::after { transition: transform 0.25s var(--ease-out); }
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item p {
  margin: 0 0 var(--space-4);
  color: var(--ink-muted);
  max-width: 62ch;
}

/* ---------- Legal-Seiten (Impressum/Datenschutz) ---------- */

.legal-page { padding-block: clamp(40px, 7vw, 80px) clamp(64px, 9vw, 112px); }
.legal-head {
  display: flex;
  align-items: center;
  margin-bottom: clamp(32px, 5vw, 48px);
}
/* Sprach-Switcher rechts im Legal-Kopf (Runde 40) */
.legal-head .lang-switch { margin-left: auto; }
.legal-head a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.legal-head .brand-logo { width: 28px; height: 28px; }
.legal-head strong {
  /* Runde 49: gleiche Wortmarken-Optik wie im Header (Black-Italic, eng). */
  font-family: 'Poppins', var(--font-display), sans-serif;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.legal-head small {
  display: block;
  color: var(--ink-muted);
  font-weight: 400;
  font-family: var(--font-body);
}
.legal-inner { max-width: 720px; margin-inline: auto; }
.legal-inner h1 {
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  font-weight: 800;
  margin-bottom: var(--space-6);
}
.legal-block { margin-bottom: var(--space-6); }
.legal-block h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: var(--space-2); }
.legal-block p { color: var(--ink-muted); margin-bottom: var(--space-2); }
.legal-block a { color: var(--clay); text-decoration-color: color-mix(in oklab, var(--clay) 45%, transparent); }
.legal-block a:hover { text-decoration-color: var(--clay); }
.legal-placeholder {
  display: inline-block;
  background: var(--clay-soft);
  color: var(--clay);
  border-radius: 6px;
  padding: 0 6px;
  font-weight: 600;
}
.legal-back { margin-top: var(--space-7); }

/* ---------- Motion ---------- */

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes tap-flash {
  0% { opacity: 0.28; }
  100% { opacity: 0; }
}
@keyframes score-pop {
  0% { transform: scale(1.25); }
  100% { transform: scale(1); }
}
/* --sc-shift muss mitgeführt werden, sonst springt die Karte beim Start der
   Animation aus ihrer Verankerung an der Geräte-Unterkante. */
@keyframes feed-float {
  0%, 100% { transform: translate(-50%, var(--sc-shift)) translateY(0); }
  50% { transform: translate(-50%, var(--sc-shift)) translateY(-8px); }
}
/* translateX(-38%) ist die Basis-Positionierung des Toasts (siehe .feed-toast)
   und muss in jedem Keyframe mitlaufen — `transform: none` würde ihn sonst
   verspringen lassen. */
@keyframes toast-cycle {
  0%, 100% { opacity: 0; transform: translate(-38%, -68%) translateY(6px) rotate(2deg); }
  12%, 86% { opacity: 1; transform: translate(-38%, -68%); }
}
@keyframes dhc-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes hero-ping {
  0%   { opacity: 0;   transform: translate(-50%, -50%) scale(0.95); }
  30%  { opacity: 0.55; }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(var(--ping-scale, 1.5)); }
}
.fb-count { display: inline-block; }
.is-pop { animation: score-pop 0.22s var(--ease-out); }

@media (prefers-reduced-motion: no-preference) {
  /* Nur verbergen, wenn app.js die Klasse gesetzt hat — ohne JS (oder bei
     geblockten ES-Modulen, z. B. file:// in Chrome) bleibt alles sichtbar. */
  html.js-reveal .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  }
  html.js-reveal .reveal.is-inview {
    opacity: 1;
    transform: none;
  }
  .how-step.reveal:nth-child(2) { transition-delay: 0.06s; }
  .how-step.reveal:nth-child(3) { transition-delay: 0.12s; }
  .how-step.reveal:nth-child(4) { transition-delay: 0.18s; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .is-pop { animation: none; }
}

/* ============ Gast-Einladung (Runde 46) ============ */

/* `hidden` ist die Schalt-Schnittstelle der Gast-Seite (Code-Karte vs.
   „Code fehlt"-Fallback, app.js) — das Attribut muss auch gegen die
   display-Regeln der Komponentenklassen gewinnen. */
[hidden] { display: none !important; }

.guest {
  padding-block: clamp(var(--space-7), 9vw, var(--space-9));
}
.guest-inner {
  max-width: 560px;
  text-align: center;
}
.guest-title {
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem);
  font-weight: 800;
}
.guest-lede {
  color: var(--ink-muted);
  margin-inline: auto;
}
.guest-card {
  margin-top: var(--space-6);
  padding: var(--space-6) var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.guest-label {
  margin: 0 0 var(--space-2);
  font-size: 0.9375rem;
  color: var(--ink-muted);
}
.guest-code {
  margin: 0 0 var(--space-5);
  font-family: ui-monospace, 'SF Mono', 'Cascadia Mono', 'Roboto Mono', Menlo, Consolas, monospace;
  font-size: clamp(2rem, 1.5rem + 2.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--ink);
}
.guest-open {
  min-width: min(100%, 320px);
}
.guest-hint {
  margin: var(--space-3) 0 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}
.guest-missing {
  margin-top: var(--space-6);
  padding: var(--space-5);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.guest-missing p { margin: 0; font-size: 1.0625rem; }
.guest-missing p + p {
  margin-top: var(--space-2);
  font-size: 0.9375rem;
  color: var(--ink-muted);
}
.guest-extra {
  margin-top: var(--space-8);
  display: grid;
  justify-items: center;
  gap: var(--space-4);
}
.guest-extra .guest-hint { margin-top: 0; }
.guest-extra .store-badges { margin-bottom: 0; }

