/* memovu – Design-Tokens „Der Draht“ (App · TV · Web), Stand 2026-11-02. Quelle: concepts/final/DESIGN.md */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Variable.woff2") format("woff2-variations"),
       url("fonts/PlusJakartaSans-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* ---------- Primitive ---------- */
  --coral-500: #E8674C;   /* CI */
  --coral-400: #EF8169;
  --coral-700: #A93F29;   /* einzige Coral-Textrolle, 5,76:1 auf Cream */
  --coral-300: #F4A08C;
  --coral-100: #FBE4DB;
  --apricot-400: #F2935C; /* CI */
  --apricot-300: #F6AA7E;
  --cream-50: #FCF7F4;    /* CI */
  --cream-100: #F6EDE7;
  --cream-200: #EFE2D9;
  --ink-900: #241915;     /* CI */
  --on-coral: #2A1A14;    /* CI */
  --ink-700: #4A3A33;
  --ink-600: #6B5850;
  --ink-500: #85716A;
  --night-900: #191210;   /* CI */
  --night-800: #241A17;
  --night-700: #30241F;
  --night-600: #4A3A33;
  --night-ink: #F5EDE8;   /* CI */
  --night-muted: #C4B3A9;
  --night-outline: #8C7B72;
  --success-700: #2E7A4B;
  --success-100: #E3F2E8;
  --success-300: #7DD3A0;
  --error-700: #B42318;
  --error-100: #FBE5E2;
  --error-300: #FF9B8A;
  --warning-700: #9A5A0A;
  --warning-100: #FBEFD9;
  --warning-300: #F2B15C;

  /* ---------- Rollen: hell ---------- */
  --bg: var(--cream-50);
  --surface: var(--cream-100);
  --surface-strong: var(--cream-200);
  --ink: var(--ink-900);
  --ink-muted: var(--ink-600);
  --outline: var(--ink-500);
  --divider: var(--cream-200);
  --action: var(--coral-500);
  --on-action: var(--on-coral);
  --action-pressed: var(--coral-400);
  --accent-text: var(--coral-700);
  --focus: var(--coral-700);
  --draht-start: var(--coral-500);
  --draht-end: var(--apricot-400);
  --draht: linear-gradient(90deg, var(--draht-start), var(--draht-end));
  --success: var(--success-700);
  --success-bg: var(--success-100);
  --error: var(--error-700);
  --error-bg: var(--error-100);
  --warning: var(--warning-700);
  --warning-bg: var(--warning-100);
  --scrim: rgb(36 25 21 / 0.40);
  --media: #000000;
  --shadow-overlay: 0 8px 24px rgb(36 25 21 / 0.16);
  --selection: var(--coral-100);

  /* Night-Feld (Website-Abschnitte zum Fernseher; unabhängig vom Modus) */
  --field-night-bg: var(--night-900);
  --field-night-surface: var(--night-800);
  --field-night-ink: var(--night-ink);
  --field-night-muted: var(--night-muted);
  --field-night-accent: var(--apricot-400);

  /* ---------- Komponenten ---------- */
  --btn-primary-bg: var(--action);
  --btn-primary-fg: var(--on-action);
  --btn-primary-pressed: var(--action-pressed);
  --btn-secondary-bg: var(--surface-strong);
  --btn-secondary-fg: var(--ink);
  --btn-text-fg: var(--accent-text);
  --btn-danger-bg: var(--error-700);
  --btn-danger-fg: var(--cream-50);
  --btn-disabled-bg: var(--surface-strong);
  --btn-disabled-fg: var(--ink-muted);
  --chip-bg: var(--surface);
  --chip-fg: var(--ink);
  --chip-selected-bg: var(--ink);
  --chip-selected-fg: var(--bg);
  --field-bg: var(--surface);
  --field-outline: var(--outline);
  --field-focus: var(--focus);
  --band-bg: var(--surface);
  --band-problem-bg: var(--error-bg);
  --band-warning-bg: var(--warning-bg);
  --price-bg: var(--surface);
  --notcard-bg: var(--surface-strong);
  --table-row-alt: var(--surface);
  --table-check: var(--ink);
  --table-none: var(--ink-muted);
  --qr-ring: var(--draht);

  /* ---------- Typografie ---------- */
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --fs-display: clamp(36px, 5.2vw + 16px, 76px);
  --lh-display: 1.04;
  --ls-display: -0.03em;
  --fs-headline: clamp(28px, 2.4vw + 18px, 46px);
  --lh-headline: 1.1;
  --ls-headline: -0.02em;
  --fs-title: 22px;
  --lh-title: 30px;
  --fs-price: clamp(32px, 2vw + 24px, 44px);
  --fs-body: 18px;
  --lh-body: 30px;
  --fs-small: 15px;
  --lh-small: 24px;
  --measure: 64ch;

  /* ---------- Raum, Radius ---------- */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --gutter: 16px;
  --content-max: 1200px;
  --r-xs: 6px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px;
  --touch-min: 44px;
  --cta-h: 56px;

  /* ---------- Motion ---------- */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --dur-press: 100ms;
  --dur-quick: 160ms;
  --dur-base: 240ms;
  --dur-sheet: 320ms;
  --dur-draht-draw: 1600ms;
  --dur-draht-arrive: 400ms;
  --dur-draht-rest: 2400ms;
  --dur-draht-cycle: 4400ms;
  --dur-wurf: 420ms;
  --dur-arrive: 480ms;
}

@media (min-width: 480px) { :root { --gutter: 24px; } }
@media (min-width: 768px) { :root { --gutter: 40px; } }
@media (max-width: 767px) {
  :root { --fs-title: 20px; --lh-title: 28px; --fs-body: 17px; --lh-body: 28px; }
}

/* Dunkel nach System, außer der Besucher hat hell gewählt */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: var(--night-900);
    --surface: var(--night-800);
    --surface-strong: var(--night-700);
    --ink: var(--night-ink);
    --ink-muted: var(--night-muted);
    --outline: var(--night-outline);
    --divider: var(--night-700);
    --action: var(--apricot-400);
    --on-action: var(--ink-900);
    --action-pressed: var(--apricot-300);
    --accent-text: var(--apricot-400);
    --focus: var(--apricot-400);
    --success: var(--success-300);
    --success-bg: var(--night-800);
    --error: var(--error-300);
    --error-bg: var(--night-800);
    --warning: var(--warning-300);
    --warning-bg: var(--night-800);
    --scrim: rgb(25 18 16 / 0.70);
    --shadow-overlay: none;
    --selection: var(--night-700);
    --btn-danger-bg: var(--error-300);
    --btn-danger-fg: var(--ink-900);
    --field-night-bg: var(--night-800); /* Night-Feld bleibt als Tonstufe erkennbar */
  }
}

/* Dunkel ausdrücklich gewählt */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: var(--night-900);
  --surface: var(--night-800);
  --surface-strong: var(--night-700);
  --ink: var(--night-ink);
  --ink-muted: var(--night-muted);
  --outline: var(--night-outline);
  --divider: var(--night-700);
  --action: var(--apricot-400);
  --on-action: var(--ink-900);
  --action-pressed: var(--apricot-300);
  --accent-text: var(--apricot-400);
  --focus: var(--apricot-400);
  --success: var(--success-300);
  --success-bg: var(--night-800);
  --error: var(--error-300);
  --error-bg: var(--night-800);
  --warning: var(--warning-300);
  --warning-bg: var(--night-800);
  --scrim: rgb(25 18 16 / 0.70);
  --shadow-overlay: none;
  --selection: var(--night-700);
  --btn-danger-bg: var(--error-300);
  --btn-danger-fg: var(--ink-900);
  --field-night-bg: var(--night-800);
}

/* Reduzierte Bewegung: Schleifen stehen, Übergänge nur als kurze Überblendung */
@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-base: 120ms;
    --dur-sheet: 120ms;
    --dur-draht-draw: 0ms;
    --dur-draht-arrive: 0ms;
    --dur-wurf: 0ms;
    --dur-arrive: 0ms;
  }
}

/* Browserflächen */
html { background: var(--bg); color: var(--ink); font-family: var(--font); }
::selection { background: var(--selection); color: var(--ink); }
* { caret-color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
a { color: var(--accent-text); text-underline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.tnum { font-variant-numeric: tabular-nums; }

/* =====================================================================================
   memovu.app – Seitenbausteine. Werte nur über die Rollen oben (DESIGN.md §12.1).
   Aufbau: Grund · Kopf · Hero · So geht's · Was memovu zeigt · Tabelle · Geht nicht ·
   Preise · Daten · Fragen · Betriebe · Fuß · Rechtsseiten · Zustände
   ===================================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (pointer: fine) { html { overscroll-behavior: none; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 var(--fs-body)/var(--lh-body) var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  overflow-wrap: break-word;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
a:hover { text-decoration-thickness: 2px; }
[hidden] { display: none !important; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--ink-muted); border-radius: var(--r-pill); border: 3px solid var(--surface); }
html { scrollbar-color: var(--ink-muted) var(--surface); }

.wrap { width: 100%; max-width: calc(var(--content-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--ink-muted); }
.small { font-size: var(--fs-small); line-height: var(--lh-small); }
.nowrap { white-space: nowrap; }
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.h2 { font-size: var(--fs-headline); line-height: var(--lh-headline); letter-spacing: var(--ls-headline); font-weight: 800; max-width: 22ch; }
.h3 { font-size: var(--fs-title); line-height: var(--lh-title); font-weight: 700; }
.lead { max-width: var(--measure); }
.section { padding: var(--s-8) 0; }
@media (min-width: 768px) { .section { padding: var(--s-9) 0; } }
.section > .wrap > .h2 { margin-bottom: var(--s-5); }
[id] { scroll-margin-top: 16px; }

/* Skip-Link */
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 10; background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: var(--r-pill); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* Knöpfe (DESIGN §6.1) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: var(--cta-h); padding: 0 28px; border: 0; border-radius: var(--r-pill);
  font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color var(--dur-quick) var(--ease-standard), transform var(--dur-press) var(--ease-standard);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); }
.btn-primary:hover, .btn-primary:active { background: var(--btn-primary-pressed); }
.btn-tonal { background: var(--btn-secondary-bg); color: var(--btn-secondary-fg); min-height: var(--touch-min); padding: 0 20px; font-size: 16px; }
.btn-tonal:hover { background: var(--surface); box-shadow: inset 0 0 0 2px var(--surface-strong); }
.textlink { display: inline-flex; align-items: center; min-height: var(--touch-min); color: var(--btn-text-fg); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.textlink:hover { text-decoration-thickness: 2px; }

/* Wortmarke */
.wm { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; min-height: var(--touch-min); }
.wm svg { height: 22px; width: auto; }


/* ---------- Kopfleiste (DESIGN §6.16): nicht schwebend, keine Unschärfe ---------- */
.site-head { position: relative; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; gap: var(--s-4); min-height: 64px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: var(--s-1); }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: var(--touch-min); padding: 0 12px; color: var(--ink); font-weight: 600; font-size: 16px; text-decoration: none; border-radius: var(--r-pill); }
.nav a:not(.btn):hover { background: var(--surface); }
.nav .lang { color: var(--ink-muted); }
.nav .btn { margin-left: var(--s-2); }
.menu-btn { display: none; }
@media (min-width: 900px) { .site-head .wrap { min-height: 80px; } .wm svg { height: 24px; } }
@media (max-width: 899px) {
  .js .menu-btn {
    display: inline-flex; align-items: center; gap: var(--s-2); margin-left: auto; min-height: 48px; min-width: 48px; padding: 0 16px;
    border: 0; border-radius: var(--r-pill); background: var(--surface); font-weight: 700; font-size: 16px; cursor: pointer;
  }
  .menu-btn .bars { width: 16px; height: 12px; position: relative; }
  .menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--dur-quick) var(--ease-standard), top var(--dur-quick) var(--ease-standard); }
  .menu-btn .bars::before { top: 2px; } .menu-btn .bars::after { top: 8px; }
  .menu-btn[aria-expanded="true"] .bars::before { top: 5px; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .bars::after { top: 5px; transform: rotate(-45deg); }
  .site-head .wrap { flex-wrap: wrap; }
  .nav { width: 100%; flex-wrap: wrap; margin: 0 0 var(--s-3); gap: 0; }
  .js .nav { display: none; }
  .js .nav.open { display: flex; flex-direction: column; align-items: stretch; background: var(--surface); border-radius: var(--r-lg); padding: var(--s-2); }
  .js .nav.open a:not(.btn) { min-height: 48px; padding: 0 16px; }
  .js .nav.open .btn { margin: var(--s-2) 0 0; }
}

/* ---------- Hero ---------- */
.hero { padding: var(--s-4) 0 var(--s-8); }
.hero .wrap { display: grid; gap: var(--s-5); align-items: center; }
.hero h1 { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); font-weight: 800; }
.hero .sub { font-size: calc(var(--fs-body) + 1px); line-height: var(--lh-body); max-width: 44ch; margin-top: var(--s-4); }
.hero .price-line { font-weight: 700; margin-top: var(--s-4); max-width: 44ch; }
.hero .fine { margin-top: var(--s-4); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-5); margin-top: var(--s-5); }
.store-soon { display: inline-flex; align-items: center; gap: var(--s-3); min-height: var(--cta-h); font-size: var(--fs-title); line-height: var(--lh-title); font-weight: 700; }
.store-soon::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--draht-end); flex: none; }
.hero-art { position: relative; order: 0; }
.hero-text { order: 0; }
memovu-draht { display: block; width: 100%; aspect-ratio: 720 / 400; }
memovu-draht:not(:defined) > svg { width: 100%; height: auto; }
@media (max-width: 959px) {
  .hero .wrap { gap: 0; }
  .hero-text { display: contents; }
  .hero h1 { order: 1; }
  .hero .sub { order: 2; }
  .hero-art { order: 3; margin: var(--s-4) 0 0; }
  .hero .cta { order: 4; margin-top: var(--s-3); }
  .hero .price-line { order: 5; }
  .hero .fine { order: 6; }
}
@media (min-width: 960px) {
  .hero { padding: var(--s-5) 0 var(--s-7); }
  .hero .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--s-7); row-gap: 0; align-items: start; }
  .hero-text { display: contents; }
  .hero h1 { grid-column: 1 / -1; grid-row: 1; margin-bottom: var(--s-5); }
  .hero .sub { grid-column: 1; grid-row: 2; margin-top: 0; }
  .hero .cta { grid-column: 1; grid-row: 3; }
  .hero .price-line { grid-column: 1; grid-row: 4; }
  .hero .fine { grid-column: 1; grid-row: 5; }
  .hero-art { grid-column: 2; grid-row: 2 / span 5; margin-top: calc(-1 * var(--s-9)); }
}

/* Anhalten-Knopf für eigene Schleifen (gleiches Aussehen wie in <memovu-draht>, DESIGN §8.2) */
.anim-btn {
  position: absolute; right: 8px; bottom: 8px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; min-height: 44px; padding: 0 14px; border: 0; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 90%, transparent); color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer;
}
.anim-btn .glyph { width: 12px; height: 12px; background: currentColor; flex: none; }
.anim-btn[data-zustand="laeuft"] .glyph { -webkit-mask: linear-gradient(90deg, #000 0 35%, transparent 35% 65%, #000 65% 100%); mask: linear-gradient(90deg, #000 0 35%, transparent 35% 65%, #000 65% 100%); }
.anim-btn[data-zustand="angehalten"] .glyph { clip-path: polygon(10% 0, 100% 50%, 10% 100%); }
.anim-btn .wort { display: none; }
@media (min-width: 768px) { .anim-btn .wort { display: inline; } }
@media (max-width: 767px) { .anim-btn { width: 44px; padding: 0; } }
.no-js .anim-btn, .anim-btn:not(.ready) { display: none; }
@media (prefers-reduced-motion: reduce) { .anim-btn { display: none !important; } }

/* ---------- Geräte-Rahmen (CSS statt Mockup-Grafik, DESIGN §7.1 Rang 2) ---------- */
.phone { position: relative; width: var(--phone-w, 150px); padding: 5px; border-radius: 26px; background: var(--bg); box-shadow: inset 0 0 0 3px var(--ink); flex: none; }
.phone img { width: 100%; aspect-ratio: 9 / 20; object-fit: cover; border-radius: 21px; background: var(--surface); }
.tv { position: relative; width: 100%; padding: 6px; border-radius: 12px; background: var(--ink-900); }
.tv img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: #000; }
.tv::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 26%; height: 6px; transform: translateX(-50%); border-radius: 3px; background: var(--ink-900); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tv { background: var(--night-700); box-shadow: 0 0 0 1px var(--night-600); } :root:not([data-theme="light"]) .tv::after { background: var(--night-600); } }
:root[data-theme="dark"] .tv { background: var(--night-700); box-shadow: 0 0 0 1px var(--night-600); }

/* ---------- So geht's (KB f3; F2) ---------- */
.steps { position: relative; display: grid; gap: var(--s-7); margin-top: var(--s-6); counter-reset: s; }
.steps > li { position: relative; display: grid; gap: var(--s-3); align-content: start; }
.step-head { display: flex; align-items: flex-start; gap: var(--s-4); }
.step-num { position: relative; z-index: 1; width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink); font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.step-head .h3 { padding-top: 6px; }
.steps p { color: var(--ink-muted); max-width: 40ch; padding-left: 60px; }
.step-fig { display: flex; align-items: flex-end; gap: var(--s-4); padding-left: 60px; margin-top: var(--s-3); min-height: 0; }
.step-fig .tv { width: min(100%, 300px); margin-bottom: 18px; }
.step-fig.duo { position: relative; }
.step-fig.duo .phone { --phone-w: 108px; margin-left: -36px; margin-bottom: -6px; }
.step-fig.single .phone { --phone-w: 132px; }
@media (min-width: 900px) {
  /* echte Bildschirmfotos (Release 1.1.1) tragen kleine Schrift: Handys größer, weniger Überlappung (Review S5) */
  .step-fig.single .phone { --phone-w: 176px; }
  .step-fig.duo .phone { --phone-w: 132px; margin-left: -12px; }
}
.wire { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.wire path { fill: none; stroke: url(#draht-grad); stroke-width: 3; stroke-linecap: round; }
.wire circle { fill: var(--draht-end); }
.after-steps { margin-top: var(--s-7); max-width: var(--measure); }
.after-steps p + p { margin-top: var(--s-2); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
  .steps > li { grid-template-rows: auto auto 1fr; }
  .step-head { flex-direction: column; gap: var(--s-4); }
  .step-head .h3 { padding-top: 0; }
  .steps p, .step-fig { padding-left: 0; }
  .step-fig { align-self: end; }
}

/* ---------- Was memovu zeigt (Night-Feld; KB f5; F3, F8) ---------- */
.night { background: var(--field-night-bg); color: var(--field-night-ink); }
.night ::selection { background: var(--night-700); color: var(--night-ink); }
.night a { color: var(--field-night-accent); }
.night :focus-visible { outline-color: var(--apricot-400); }
.shows .wrap { display: grid; gap: var(--s-7); }
.shows-list { display: grid; gap: var(--s-6); }
.shows-list li { display: grid; gap: var(--s-2); padding-left: var(--s-5); position: relative; }
.shows-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--night-600); transition: background-color var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-out-expo); }
.shows-list li.on::before { background: var(--apricot-400); transform: scale(1.25); }
.shows-list .h3 { color: var(--field-night-ink); }
.shows-list p { color: var(--field-night-muted); max-width: 52ch; }
.marks { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-1); }
.mark { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 32px; padding: 0 12px 0 10px; border-radius: var(--r-pill); background: var(--field-night-surface); color: var(--field-night-ink); font-size: var(--fs-small); line-height: 1.3; font-weight: 600; }
.mark .ic { width: 20px; height: 20px; stroke: var(--night-muted); }
.mark.fire .ic { stroke: var(--apricot-400); }
.shows-tv { position: relative; }
.shows-tv .tv { background: #000; box-shadow: 0 0 0 1px var(--night-600); padding: 8px; }
.shows-tv .tv::after { background: var(--night-600); }
.tv-stack { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #000; }
.tv-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; opacity: 0; transition: opacity 600ms linear; }
.tv-stack img.on { opacity: 1; }
.shows-tv figcaption { margin-top: 30px; color: var(--field-night-muted); font-size: var(--fs-small); line-height: var(--lh-small); }
.shows-tv .anim-btn { background: color-mix(in srgb, var(--night-800) 90%, transparent); color: var(--night-ink); bottom: 52px; right: 16px; }
@media (min-width: 960px) {
  .shows .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); align-items: start; }
  .shows .h2 { grid-column: 1 / -1; }
  .shows-tv { position: sticky; top: 24px; grid-column: 2; grid-row: 2; }
  .shows-list { grid-column: 1; grid-row: 2; }
}

/* ---------- Welcher Fernseher passt? (§5.3, DESIGN §6.12) ---------- */
.tvs .lead { margin-bottom: var(--s-6); }
.seg { display: none; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.cmp caption { text-align: left; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 16px; }
.cmp thead th { vertical-align: top; padding-bottom: 20px; }
.cmp thead th .ic { width: 32px; height: 32px; margin-bottom: var(--s-3); stroke-width: 1.6; }
.cmp thead .name { display: block; font-size: var(--fs-title); line-height: var(--lh-title); font-weight: 700; }
.cmp thead .subline { display: block; color: var(--ink-muted); font-size: var(--fs-small); line-height: var(--lh-small); font-weight: 500; margin-top: 2px; }
.cmp tbody th { font-weight: 700; width: 26%; }
.cmp tbody th .pro { display: inline-flex; margin-left: 6px; padding: 0 8px; border-radius: var(--r-pill); background: var(--surface-strong); font-size: 13px; line-height: 22px; font-weight: 700; vertical-align: 2px; }
.cmp .yes { display: flex; flex-direction: column; gap: 2px; }
.cmp .yes .ic { width: 20px; height: 20px; color: var(--table-check); stroke-width: 2.4; }
.cmp .cond { color: var(--ink-muted); font-size: var(--fs-small); line-height: var(--lh-small); }
.cmp .no { display: block; width: 12px; height: 2px; margin-top: 11px; border-radius: 1px; background: var(--table-none); }
.tvs-notes { margin-top: var(--s-5); display: grid; gap: var(--s-3); max-width: var(--measure); }
.tvs-notes details summary { cursor: pointer; font-weight: 700; color: var(--accent-text); min-height: var(--touch-min); display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tvs-notes details p { margin-top: var(--s-2); }
@media (min-width: 720px) {
  .cmp tbody tr:nth-child(odd) > * { background: var(--table-row-alt); }
  .cmp tbody tr:nth-child(odd) > :first-child { border-radius: var(--r-md) 0 0 var(--r-md); }
  .cmp tbody tr:nth-child(odd) > :last-child { border-radius: 0 var(--r-md) var(--r-md) 0; }
}
/* Mobil ohne JavaScript: jede Zeile als Liste, Spaltenname vor jeder Zelle */
@media (max-width: 719px) {
  .no-js .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .no-js .cmp, .no-js .cmp tbody, .no-js .cmp tr, .no-js .cmp th, .no-js .cmp td { display: block; width: auto; }
  .no-js .cmp tbody tr { padding: var(--s-3) 0; }
  .no-js .cmp td { padding: 4px 16px; }
  .no-js .cmp td::before { content: attr(data-col); display: block; font-size: var(--fs-small); color: var(--ink-muted); }
  .no-js .cmp td[hidden] { display: none; }
  /* Mobil mit JavaScript: Segment + gewählte Spalte, nie Querscrollen */
  .js .seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: var(--s-4); border-radius: var(--r-lg); background: var(--surface); }
  .js .seg button { flex: 1 1 140px; min-height: 48px; padding: 6px 12px; border: 0; border-radius: var(--r-pill); background: transparent; font-weight: 700; font-size: 15px; line-height: 1.25; cursor: pointer; }
  .js .seg button:hover { background: var(--surface-strong); }
  .js .seg button[aria-pressed="true"] { background: var(--chip-selected-bg); color: var(--chip-selected-fg); }
  .js .cmp [data-c]:not(.sel) { display: none; }
  .js .cmp thead, .js .cmp thead tr { display: block; }
  .js .cmp thead td { display: none; }
  .js .cmp thead th.sel { display: flex; align-items: center; gap: var(--s-3); padding: 0 0 var(--s-3); }
  .js .cmp thead th.sel .ic { margin: 0; }
  .js .cmp thead .name { display: none; }
  .js .cmp tbody th { width: 52%; padding-left: 0; }
  .js .cmp tbody tr > * { border-top: 1px solid var(--divider); }
  .cmp th, .cmp td { padding: 14px 12px; }
}

/* ---------- „Geht nicht“-Karte (§5.4, DESIGN §6.13) ---------- */
.notcard { margin-top: var(--s-7); max-width: 64ch; padding: var(--s-5); border-radius: var(--r-lg); background: var(--notcard-bg); }
.notcard .h3 { margin-bottom: var(--s-3); }
.notcard li { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); padding: var(--s-2) 0; }
.notcard li .ic { color: var(--ink-muted); margin-top: 3px; }
.notcard li b { font-weight: 700; }
.notcard li .small { display: block; color: var(--ink-muted); margin-top: 2px; }

/* ---------- Was memovu kostet (§5.5, DESIGN §6.10) ---------- */
.prices .free { padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface); display: grid; gap: var(--s-3); }
.free-list { display: grid; gap: var(--s-2) var(--s-6); }
.free-list li { display: flex; gap: var(--s-3); align-items: flex-start; }
.free-list .ic { color: var(--success); margin-top: 3px; stroke-width: 2.4; width: 20px; height: 20px; }
@media (min-width: 768px) { .free-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trial { margin-top: var(--s-6); font-size: var(--fs-title); line-height: var(--lh-title); font-weight: 700; max-width: 40ch; }
.pro-list { margin-top: var(--s-3); max-width: var(--measure); }
.fireos { margin-top: var(--s-5); display: flex; gap: var(--s-3); max-width: var(--measure); color: var(--ink-muted); }
.fireos .ic { margin-top: 3px; }
.then { margin-top: var(--s-6); font-weight: 700; }
.cards { display: grid; gap: var(--s-4); margin-top: var(--s-4); }
.card { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-5); border-radius: var(--r-lg); background: var(--price-bg); }
.card .label { font-size: var(--fs-title); line-height: var(--lh-title); font-weight: 700; }
.card .amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px var(--s-2); margin-top: var(--s-2); }
.card .num { font-size: var(--fs-price); line-height: 1; letter-spacing: -0.02em; font-weight: 800; font-variant-numeric: tabular-nums; }
.card .unit { font-weight: 600; }
.card .who { margin-top: var(--s-1); }
.card .duty { color: var(--ink-muted); font-size: var(--fs-small); line-height: var(--lh-small); margin-top: auto; padding-top: var(--s-3); }
.card .vat { color: var(--ink-muted); font-size: var(--fs-small); line-height: var(--lh-small); }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; max-width: 52rem; } }
.price-notes { margin-top: var(--s-5); display: grid; gap: var(--s-3); max-width: var(--measure); }
.prices .cta { margin-top: var(--s-6); }

/* ---------- Wo deine Fotos und Videos hingehen (§E9; KC f5) ---------- */
.data .wrap { display: grid; gap: var(--s-6); align-items: center; }
.data-text p + p { margin-top: var(--s-4); }
.data-text .textlink { margin-top: var(--s-3); }
.flow { position: relative; padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface); }
.flow svg { width: 100%; height: auto; overflow: visible; }
.flow .dev { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.flow .dev-fill { fill: var(--bg); }
.flow .main { fill: none; stroke: url(#draht-grad-flow); stroke-width: 4; stroke-linecap: round; }
.flow .main-v { stroke: url(#draht-grad-flow-v); }
.flow .branch { fill: none; stroke: var(--ink-muted); stroke-width: 2; stroke-linecap: round; }
.flow .lbl { fill: var(--ink); font: 700 16px var(--font); }
.flow .lbl-s { fill: var(--ink-muted); font: 500 15px var(--font); }
.flow .dot { fill: var(--draht-end); }
.flow .tip { fill: var(--ink-muted); }
.flow-v { display: block; }
.flow-h { display: none; }
@media (min-width: 720px) { .flow-v { display: none; } .flow-h { display: block; } }
@media (min-width: 960px) { .data .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-8); } }

/* ---------- Häufige Fragen ---------- */
.faq-list { max-width: 820px; margin-top: var(--s-2); }
.faq-list details { border-radius: var(--r-md); }
.faq-list details + details { margin-top: 4px; }
.faq-list summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 56px; padding: 12px 16px; border-radius: var(--r-md); cursor: pointer; font-weight: 700; font-size: 18px; line-height: 26px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { background: var(--surface); }
.faq-list details[open] { background: var(--surface); }
.pm { position: relative; width: 16px; height: 16px; flex: none; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 1px; background: currentColor; transition: transform var(--dur-quick) var(--ease-standard); }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0deg); }
.faq-list .answer { padding: 0 16px 20px; max-width: var(--measure); }

/* ---------- Für Feiern und Betriebe (Teaser) ---------- */
.biz-teaser .wrap { display: grid; gap: var(--s-3); }
.biz-teaser .box { padding: var(--s-6) var(--s-5); border-radius: var(--r-lg); background: var(--surface); display: grid; gap: var(--s-3); }
@media (min-width: 900px) { .biz-teaser .box { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--s-7); padding: var(--s-7); } .biz-teaser .box .h2 { grid-column: 1; } .biz-teaser .box p { grid-column: 1; } .biz-teaser .box .textlink { grid-column: 2; grid-row: 1 / span 2; } }

/* ---------- Fußzeile ---------- */
.site-foot { background: var(--surface); padding: var(--s-7) 0 var(--s-8); margin-top: var(--s-8); font-size: var(--fs-small); line-height: var(--lh-small); }
.section + .site-foot, .biz-teaser + .site-foot { margin-top: 0; }
.site-foot .wm svg { height: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 var(--s-2); margin: var(--s-4) 0; }
.foot-links a { display: inline-flex; align-items: center; min-height: var(--touch-min); padding: 0 8px 0 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.foot-links a:hover, .foot-links a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.site-foot p { color: var(--ink-muted); max-width: 80ch; }
.site-foot p + p { margin-top: var(--s-2); }

/* ---------- Unterseite Betriebe (W02) ---------- */
.page-head { padding: var(--s-6) 0 var(--s-5); }
.page-head h1 { font-size: var(--fs-headline); line-height: var(--lh-headline); letter-spacing: var(--ls-headline); font-weight: 800; max-width: 20ch; }
.page-head .lead { margin-top: var(--s-4); }
.note { padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface); max-width: 80ch; }
.note.strong { background: var(--surface-strong); }
.note + .note, .b2b-grid + .note, .b2b-grid + p, p + .note { margin-top: var(--s-5); }
.b2b-grid { display: grid; gap: var(--s-4); margin: var(--s-6) 0; }
@media (min-width: 960px) { .b2b-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.b2b-card { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface); }
.b2b-card .for { color: var(--ink-muted); font-size: var(--fs-small); line-height: var(--lh-small); }
.b2b-card .founder { align-self: flex-start; padding: 4px 14px; border-radius: var(--r-pill); background: var(--surface-strong); font-weight: 700; font-size: 15px; line-height: 22px; }
.b2b-card .net { font-size: var(--fs-price); line-height: 1; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.b2b-card .per { color: var(--ink-muted); font-size: var(--fs-small); line-height: var(--lh-small); }
.b2b-card ul { display: grid; gap: var(--s-2); padding-left: 1.1em; list-style: disc; }
.b2b-card ul li::marker { color: var(--ink-muted); }
.b2b-card .btn { margin-top: auto; white-space: normal; padding: 12px 24px; }
.b2b-small { color: var(--ink-muted); font-size: var(--fs-small); line-height: var(--lh-small); max-width: 80ch; }
.b2b-who { max-width: 80ch; margin-top: var(--s-5); }
.page-main { padding-bottom: var(--s-9); }

/* ---------- Rechtsseiten (Vorlage W03; Inhalt wortgleich) ---------- */
.legal { max-width: calc(820px + 2 * var(--gutter)); padding-top: var(--s-6); padding-bottom: var(--s-9); }
.legal h1 { font-size: var(--fs-headline); line-height: var(--lh-headline); letter-spacing: var(--ls-headline); font-weight: 800; margin: 0 0 var(--s-3); }
.legal h2 { font-size: 26px; line-height: 32px; font-weight: 800; letter-spacing: -0.01em; margin: var(--s-7) 0 var(--s-3); }
.legal h3 { font-size: 20px; line-height: 28px; font-weight: 700; margin: var(--s-5) 0 var(--s-2); }
.legal p, .legal ul, .legal ol, .legal table, .legal .table-scroll { margin: 0 0 var(--s-4); }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal ul { list-style: disc; } .legal ol { list-style: decimal; }
.legal li { margin-bottom: var(--s-2); }
.legal li::marker { color: var(--ink-muted); }
.legal .meta { color: var(--ink-muted); font-size: var(--fs-small); line-height: var(--lh-small); margin-bottom: var(--s-6); }
.legal a { word-break: break-word; }
.legal mark { background: var(--warning-bg); color: var(--ink); padding: 0 5px; border-radius: 4px; font-weight: 700; }
.legal .summary-box, .legal .address, .legal .form-box { padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface); margin: var(--s-4) 0 var(--s-5); }
.legal .summary-box { background: var(--surface-strong); }
.legal .summary-box > :last-child, .legal .address > :last-child, .legal .form-box > :last-child { margin-bottom: 0; }
.legal .address { line-height: 1.9; }
.legal .table-scroll { overflow-x: auto; border-radius: var(--r-md); }
.legal table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 600px; font-size: var(--fs-small); line-height: var(--lh-small); }
.legal th, .legal td { padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--surface-strong); font-weight: 700; }
.legal tr:nth-child(even) td { background: var(--surface); }
.toc { margin: 0 0 var(--s-6); padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface); }
.toc summary { cursor: pointer; font-weight: 700; min-height: var(--touch-min); display: flex; align-items: center; }
.toc ol { list-style: none; padding: 0; margin: var(--s-2) 0 0; columns: 2 260px; column-gap: var(--s-6); }
.toc li { margin: 0; break-inside: avoid; }
.toc a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; color: var(--ink); font-weight: 600; font-size: var(--fs-small); }
.toc a:hover { text-decoration: underline; }
.legal-back { display: inline-flex; align-items: center; min-height: var(--touch-min); color: var(--ink-muted); text-decoration: none; font-weight: 600; font-size: 16px; }
.legal-back:hover { color: var(--ink); text-decoration: underline; }

/* ---------- 404 ---------- */
.lost { padding-top: var(--s-8); padding-bottom: var(--s-9); }
.lost h1 { font-size: var(--fs-headline); line-height: var(--lh-headline); font-weight: 800; letter-spacing: var(--ls-headline); max-width: 18ch; }
.lost p { margin-top: var(--s-4); max-width: var(--measure); }
.lost .art { max-width: 420px; margin-top: var(--s-6); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  .site-head .nav, .menu-btn, .anim-btn, memovu-draht, .wire, .skip { display: none !important; }
  .night { background: none; color: #000; }
}
.anim-row { display: flex; justify-content: flex-end; min-height: 44px; margin-top: var(--s-4); }
.anim-row .anim-btn { position: static; }
.data-text .h2 { margin-bottom: var(--s-5); }
.notcard .ic-wrap { display: block; }
