/* Emberware – zwei Produktwelten (Oktober 2026, löst Design D ab; gilt für alle Seiten in DE und EN,
   Ratgeber und Rechtstexte eingeschlossen).
   Auto-Pilot: dunkel, Emberware-Violett, die Uhr schaltet. Event-Switcher: hell, DigitalSat-Türkis,
   der Finger schaltet. Schrift Archivo (OFL, selbst gehostet) mit Breitenachse: breit für Namen.
   Radien: Bedienelemente als Pille, Flächen 16px, Bildschirme 6px – nirgends etwas dazwischen.
   Breakpoints: 833px (Menü und Split übereinander, steht auch in landing-d.js), 560px. */

@font-face {
  font-family: 'Archivo';
  src: url('/fonts/Archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --nav-h: 60px;
  --gutter: max(16px, min(4vw, 40px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  /* Auto-Pilot: Violett aus dem Logo, auf Schwarz aufgehellt (Text 6:1, Fläche mit Weiß 4,8:1). */
  --ap: #8b7bff;
  --ap-fill: #6a55ff;
  /* Event-Switcher: DigitalSat-Türkis. Als Fläche mit dunkler Schrift, als Text nur abgedunkelt (5:1). */
  --es: #19d3aa;
  --es-ink: #00775f;
  --es-on: #03241c;
  --night: #0a0a0d;
  --day: #f1f2ee;
  --ink: #111214;
  /* Texte in den Grafikflächen (CSS content), je Sprache einmal */
  --t-offer: 'AKTION';
  --t-tonight: 'HEUTE 20:30';
  color-scheme: dark;
}
:root:lang(en) {
  --t-offer: 'OFFER';
  --t-tonight: 'TODAY 20:30';
}

/* Themen: jede Fläche setzt ihre Töne, Komponenten lesen nur Variablen. */
.world-ap,
.theme-ap,
.footer,
.consent {
  --bg: var(--night);
  --fg: #f4f4f6;
  --fg-2: #a9a9b3;
  --fg-3: #7f7f8a;
  --line: rgba(255, 255, 255, 0.12);
  --panel: #15151b;
  --accent: var(--ap);
  --cta: var(--ap-fill);
  --cta-fg: #fff;
  color-scheme: dark;
}
.world-es,
.theme-es {
  --bg: var(--day);
  --fg: var(--ink);
  --fg-2: #4b504d;
  --fg-3: #626764;
  --line: rgba(17, 18, 20, 0.12);
  --panel: #fff;
  --accent: var(--es-ink);
  --cta: var(--es);
  --cta-fg: var(--es-on);
  color-scheme: light;
}
.theme-plain {
  --bg: #fff;
  --fg: var(--ink);
  --fg-2: #4b504d;
  --fg-3: #626764;
  --line: rgba(17, 18, 20, 0.12);
  --panel: var(--day);
  --accent: var(--ink);
  --cta: var(--ink);
  --cta-fg: #fff;
  color-scheme: light;
}
.world,
.theme-ap,
.theme-es,
.theme-plain,
.footer {
  background: var(--bg);
  color: var(--fg);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  background: var(--night);
}
body {
  margin: 0;
  font: 400 1.0625rem/1.5 var(--font);
  color: #f4f4f6;
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[hidden]:not(.consent) {
  display: none !important;
}
h1,
h2,
h3,
p,
ol,
ul,
figure {
  margin: 0;
}
ol,
ul {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
a {
  color: inherit;
}
a,
button,
summary {
  touch-action: manipulation;
}
button,
.pill,
.nav a,
.world,
summary {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
a:not(.pill, .world):active,
.link-button:active,
.nav-toggle:active {
  opacity: 0.6;
}
[id] {
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
:focus-visible {
  outline: 3px solid var(--accent, var(--ap));
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}
.wrap {
  width: min(1200px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.section {
  padding-block: clamp(72px, 9vw, 128px);
}

/* Typografie: Laufweite und Zeilenabstand hängen an der Größe. Namen breit, Text normal. */
.display-l,
.display-m,
.article h1,
.world-name {
  font-weight: 760;
  font-stretch: 116%;
}
.display-l {
  font-size: clamp(2.125rem, 4.8vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.display-m,
.article h1 {
  font-size: clamp(1.875rem, 3.4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.lead {
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.42;
  color: var(--fg-2);
  max-width: 34em;
}
* + .lead {
  margin-top: clamp(16px, 2vw, 24px);
}
.fineprint {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--fg-3);
}
.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* Bedienelemente */
.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--cta);
  color: var(--cta-fg);
  font: 600 1rem/1 var(--font);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms var(--ease-out),
    filter 200ms ease;
}
.pill:active {
  transform: scale(0.97);
}
.pill-small {
  min-height: 36px;
  padding: 0 16px;
  font-size: 0.875rem;
}
.pill-small::after {
  content: '';
  position: absolute;
  inset: -6px -4px;
}
.pill-ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--fg);
}
.pill[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.go::after,
.world-go::after {
  content: '→';
  display: inline-block;
  transition: transform 250ms var(--ease-out);
}
.link-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.link-go::after {
  content: '→';
  transition: transform 250ms var(--ease-out);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: clamp(24px, 3vw, 36px);
}
@media (hover: hover) and (pointer: fine) {
  .pill:hover {
    filter: brightness(1.08);
  }
  .pill-ghost:hover {
    box-shadow: inset 0 0 0 1.5px var(--fg-3);
    filter: none;
  }
  .pill:hover.go::after,
  .link-go:hover::after {
    transform: translateX(4px);
  }
}

/* Navigation: liegt durchsichtig über dem Einstieg und bekommt erst beim Scrollen ihr Material.
   Der Filter liegt auf ::before, damit das fixierte mobile Menü nicht im Header gefangen ist. */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-inline: var(--gutter);
  --cta: var(--ap-fill);
  --cta-fg: #fff;
  --nav-fg: #f4f4f6;
  --nav-fg-2: rgba(244, 244, 246, 0.72);
  color: var(--nav-fg);
}
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(10, 10, 13, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 300ms ease;
}
.nav[data-scrolled]::before,
html:not(.js) .nav::before {
  opacity: 1;
}
.nav-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1200px, 100%);
  height: var(--nav-h);
  margin-inline: auto;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.0625rem;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-brand svg {
  fill: currentColor;
}
.nav-links {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.4vw, 32px);
  font-size: 0.9375rem;
  font-weight: 500;
}
.nav-links a {
  color: var(--nav-fg-2);
  text-decoration: none;
  transition: color 200ms ease;
}
.nav-links a[aria-current],
.nav-links a:active {
  color: var(--nav-fg);
}
.lang {
  display: inline-flex;
  gap: 10px;
}
.lang a[aria-current] {
  font-weight: 700;
}
.nav-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -12px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.nav-toggle i {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 300ms var(--ease-in-out);
}
.nav-toggle i:first-of-type {
  top: 17px;
}
.nav-toggle i:last-of-type {
  top: 25px;
}
.nav-toggle[aria-expanded='true'] i:first-of-type {
  transform: translateY(4px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] i:last-of-type {
  transform: translateY(-4px) rotate(-45deg);
}
/* Startseite: die Leiste läuft über beide Welten. Rechts liegt sie auf Hell, also dunkle Schrift,
   bis das Material sie trägt. Event-Switcher-Seite: helles Material, dunkle Schrift. */
.page-split .nav-bar {
  width: 100%;
}
@media (min-width: 834px) {
  .page-split .nav:not([data-scrolled]) .nav-links {
    --nav-fg: var(--ink);
    --nav-fg-2: rgba(17, 18, 20, 0.66);
  }
  .page-split .nav:not([data-scrolled]) .nav-cta {
    --cta: var(--ink);
  }
}
.page-es .nav {
  --nav-fg: var(--ink);
  --nav-fg-2: rgba(17, 18, 20, 0.66);
  --cta: var(--es);
  --cta-fg: var(--es-on);
}
.page-es .nav::before {
  background: rgba(241, 242, 238, 0.82);
  box-shadow: 0 1px 0 rgba(17, 18, 20, 0.08);
}
.page-es .nav[data-open] {
  --nav-fg: #f4f4f6;
}
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover {
    color: var(--nav-fg);
  }
}
@media (max-width: 359px) {
  .nav-cta {
    display: none;
  }
}
/* Schmale Desktops: Kundenlogin steht im Fuß, die Leiste bleibt einzeilig. */
@media (min-width: 834px) and (max-width: 1100px) {
  .nav-bar {
    gap: 18px;
  }
  .nav-links {
    gap: 16px;
    font-size: 0.875rem;
  }
  .nav-links .nav-login {
    display: none;
  }
}
/* 833px steht auch in landing-d.js (matchMedia für den Menüschalter): beide Werte gehören zusammen. */
@media (max-width: 833px) {
  .nav-bar {
    gap: 12px;
  }
  .nav-brand {
    margin-right: auto;
  }
  html:not(.js) .nav-bar {
    flex-wrap: wrap;
    height: auto;
    padding-block: 6px;
  }
  html:not(.js) .nav-links {
    order: 4;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-block: 8px;
    white-space: nowrap;
  }
  .js .nav-links {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    padding: calc(var(--nav-h) + 28px) max(28px, var(--gutter)) calc(32px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(10, 10, 13, 0.9);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    backdrop-filter: saturate(180%) blur(24px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 200ms var(--ease-out),
      visibility 0s linear 200ms;
  }
  .js .nav[data-open] .nav-links {
    opacity: 1;
    visibility: visible;
    transition:
      opacity 300ms var(--ease-out),
      visibility 0s;
  }
  .js .nav-links > a,
  .js .nav-links > .lang {
    padding-block: 10px;
    font-size: 2rem;
    font-weight: 760;
    font-stretch: 116%;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #f4f4f6;
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 150ms var(--ease-out),
      transform 150ms var(--ease-out);
  }
  .js .nav[data-open] .nav-links > a,
  .js .nav[data-open] .nav-links > .lang {
    opacity: 1;
    transform: none;
    transition:
      opacity 400ms var(--ease-out) calc(40ms * var(--i, 0) + 60ms),
      transform 500ms var(--ease-out) calc(40ms * var(--i, 0) + 60ms);
  }
  .nav-links > :nth-child(2) { --i: 1; }
  .nav-links > :nth-child(3) { --i: 2; }
  .nav-links > :nth-child(4) { --i: 3; }
  .nav-links > :nth-child(5) { --i: 4; }
  .nav-links > :nth-child(6) { --i: 5; }
  .nav-links > :nth-child(7) { --i: 6; }
  .js .nav-links > a.nav-login {
    margin-top: 18px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 1.1875rem;
    font-weight: 500;
    font-stretch: 100%;
    color: #a9a9b3;
  }
  .js .nav-links > .lang {
    gap: 18px;
    font-size: 1.1875rem;
    font-weight: 500;
    font-stretch: 100%;
  }
  .js .lang a {
    display: inline-flex;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
    color: #f4f4f6;
  }
  .js .lang a:not([aria-current]) {
    color: #a9a9b3;
  }
}

/* ------------------------------------------------------------------
   Startseite: zwei Welten nebeneinander, jede Hälfte ist ein Link.
   ------------------------------------------------------------------ */
.split {
  display: flex;
  min-height: max(660px, 100svh);
}
.world {
  position: relative;
  display: flex;
  flex: 1 1 50%;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: calc(var(--nav-h) + clamp(32px, 7vh, 88px)) clamp(24px, 4.4vw, 72px) clamp(28px, 5vh, 56px);
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
}
/* Beim Klick wächst die Hälfte in die Produktseite hinein (View Transitions über Seitengrenzen). */
.world-ap {
  view-transition-name: world-ap;
}
.world-es {
  view-transition-name: world-es;
}
/* Name und Grafik wandern an ihren Platz auf der Produktseite (gleiche Namen dort im Einstieg). */
.world-ap .world-name {
  view-transition-name: name-ap;
}
.world-es .world-name {
  view-transition-name: name-es;
}
.world-ap .wall {
  view-transition-name: wall-ap;
}
.world-es .sw {
  view-transition-name: sw-es;
}
.world-copy {
  max-width: 34rem;
  transition: opacity 400ms ease;
}
.world-kicker {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
}
.world-name {
  margin-top: 10px;
  font-size: clamp(2.875rem, 5.1vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.world-line {
  margin-top: clamp(16px, 2.2vh, 24px);
  max-width: 21em;
  font-size: clamp(1.125rem, 1.45vw, 1.375rem);
  line-height: 1.35;
  color: var(--fg-2);
}
.world-go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-top: clamp(20px, 3vh, 32px);
  padding: 0 22px;
  border-radius: 999px;
  background: var(--cta);
  color: var(--cta-fg);
  font-weight: 600;
  transition: transform 160ms var(--ease-out);
}
.world:active .world-go {
  transform: scale(0.97);
}
.world:focus-visible {
  outline-offset: -6px;
  border-radius: 0;
}
.world > .wall,
.world > .sw {
  margin-top: auto;
  transition: opacity 400ms ease;
}
@media (hover: hover) and (pointer: fine) {
  /* Die gewählte Welt bleibt voll da, die andere tritt zurück. */
  .split:has(.world:hover) .world:not(:hover, :focus-visible) > * {
    opacity: 0.5;
  }
  .world:hover .world-go::after {
    transform: translateX(4px);
  }
  .world:hover .wall-grid,
  .world:hover .sw-tv {
    transform: scale(1.015);
  }
}

/* Bildschirme: zwei Ebenen je Fläche, gewechselt wird per Überblendung mit leichter Unschärfe.
   Transitions statt Keyframes: ein Wechsel mitten im Wechsel läuft ohne Sprung weiter. */
.scr,
.sw-tv,
.tv-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  /* Schrift im Bild wächst mit dem Bildschirm, nicht mit dem Fenster */
  container-type: inline-size;
}
.face,
.tv-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  filter: blur(3px);
  transform: scale(1.04);
  transition:
    opacity 380ms ease,
    filter 380ms ease,
    transform 520ms var(--ease-out);
}
.face.is-front,
.tv-layer.is-front {
  opacity: 1;
  filter: none;
  transform: none;
}
.face::before,
.face::after,
.tv-layer::after {
  position: absolute;
}
/* Programm: irgendetwas läuft, nur nicht das Spiel */
.face[data-kind='idle'],
.tv-layer[data-ch='d'] {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 4px),
    linear-gradient(140deg, #2b2e3b, #17181f 70%);
}
.face[data-kind='idle']::after {
  content: '';
  left: 8%;
  bottom: 12%;
  width: 34%;
  height: 7%;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 -180% 0 -1px rgba(255, 255, 255, 0.08);
}
/* Spielfeld von oben, schematisch: Linien als SVG (Strich bleibt 1px, egal wie groß), Mähstreifen,
   Spielstand in den Vereinsfarben. Alle Flächen sind 16:9, das SVG darf also mitgedehnt werden. */
.face[data-kind='pitch'],
.tv-layer:not([data-ch='d']) {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 90' preserveAspectRatio='none' fill='none' stroke='%23fff' stroke-opacity='.62'%3E%3Cg vector-effect='non-scaling-stroke'%3E%3Crect x='8' y='7' width='144' height='76' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M80 7v76M8 26h20v38H8M152 26h-20v38h20M8 36h7v18H8M152 36h-7v18h7' vector-effect='non-scaling-stroke'/%3E%3Ccircle cx='80' cy='45' r='11' vector-effect='non-scaling-stroke'/%3E%3C/g%3E%3C/svg%3E")
      0 0 / 100% 100%,
    repeating-linear-gradient(90deg, #2f8c4d 0 6.25%, #297f45 0 12.5%);
}
.face[data-kind='pitch']::after,
.tv-layer:not([data-ch='d'])::after {
  content: '0:0';
  top: 6%;
  left: 4%;
  padding: 0.3em 0.45em 0.3em calc(10px + 0.5em);
  border-radius: 2px;
  background:
    linear-gradient(90deg, var(--a) 0 4px, var(--b) 0 8px, transparent 0),
    rgba(8, 8, 10, 0.82);
  color: #fff;
  font: 700 max(7px, min(4.2cqi, 15px)) / 1 var(--mono);
  letter-spacing: 0.04em;
}
/* Senderkennung unten rechts, wie das Logo eines Senders im Bild */
.face[data-label]::before {
  content: attr(data-label);
  right: 4%;
  bottom: 7%;
  color: rgba(255, 255, 255, 0.8);
  font: 700 max(6px, min(3.4cqi, 12px)) / 1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
/* Quoten: Zahlenkolonnen, eine Zeile hervorgehoben */
.face[data-kind='odds'] {
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, var(--ap-fill) 0 3px, transparent 0),
    #0e0e13;
}
.face[data-kind='odds']::before {
  content: '1.85  3.40  4.20\A 2.10  3.25  3.60\A 1.55  4.00  5.50';
  position: static;
  white-space: pre;
  color: #e7e7ee;
  font: 600 max(7px, 5.4cqi) / 1.9 var(--mono);
  letter-spacing: 0.02em;
}
/* Werbung: eine Fläche, ein Motiv */
.face[data-kind='promo'] {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
    var(--ap-fill);
}
.face[data-kind='promo']::before {
  content: var(--t-offer);
  position: static;
  color: #fff;
  font: 820 max(10px, 9cqi) / 1 var(--font);
  font-stretch: 125%;
  letter-spacing: -0.02em;
}
/* Kein Signal / falscher Kanal: Rauschen, nur solange die Grafik sichtbar läuft */
.face[data-kind='noise'] {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .55 0 0 0 0 .55 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='160' height='90' filter='url(%23n)'/%3E%3C/svg%3E")
      0 0 / 160px 90px,
    #3a3a3a;
}
[data-live] .face[data-kind='noise'].is-front {
  animation: noise 300ms steps(3) infinite;
}
@keyframes noise {
  to {
    background-position: 160px 90px, 0 0;
  }
}

/* Wand (Auto-Pilot) */
.wall {
  width: 100%;
  max-width: 560px;
  padding-top: clamp(28px, 5vh, 56px);
}
.wall-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.wall-clock {
  font-size: clamp(2.5rem, 4.6vw, 4.25rem);
  font-weight: 300;
  font-stretch: 100%;
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
  transition: filter 160ms ease;
}
.wall-clock span {
  color: var(--fg-3);
}
.wall.is-ff .wall-clock {
  filter: blur(1.2px);
}
.wall-state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fg-2);
}
.wall-state i {
  position: relative;
  width: 30px;
  height: 18px;
  border-radius: 9px;
  background: var(--ap-fill);
}
.wall-state i::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
}
.wall-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(5px, 0.6vw, 9px);
  margin-top: 16px;
  transition: transform 600ms var(--ease-out);
}
.wall-grid .scr {
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.wall-plan {
  position: relative;
  height: 40px;
  margin-top: 16px;
}
.wall-rail {
  position: absolute;
  inset: 5px 0 auto;
  height: 2px;
  background: var(--line);
}
.wall-rail i {
  display: block;
  height: 100%;
  background: var(--ap);
  transform: scaleX(var(--p));
  transform-origin: 0 50%;
  transition: transform var(--move, 900ms) var(--ease-in-out);
}
/* Der Punkt läuft über left: ein 12px-Element, kein Layout-Problem, und nichts ragt über die Schiene hinaus. */
.wall-knob {
  position: absolute;
  top: 0;
  left: calc(var(--p) * 100%);
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px var(--bg);
  transition: left var(--move, 900ms) var(--ease-in-out);
}
.wall-plan li {
  position: absolute;
  top: 0;
  left: calc(var(--at) * 100%);
  padding-top: 18px;
  font: 500 0.6875rem / 1 var(--mono);
  color: var(--fg-3);
  transform: translateX(-50%);
  transition: color 300ms ease;
}
.wall-plan li::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(50% - 1px);
  width: 2px;
  height: 12px;
  border-radius: 1px;
  background: var(--fg-3);
  transition: background-color 300ms ease;
}
.wall-plan li.is-hit {
  color: var(--fg);
}
.wall-plan li.is-hit::before {
  background: var(--ap);
}
.wall.is-rewind .wall-grid {
  opacity: 0.35;
  transition: opacity 300ms ease;
}

/* Switcher (Event-Switcher) */
.sw {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding-top: clamp(28px, 5vh, 56px);
}
.sw-tv {
  border-radius: 10px;
  box-shadow:
    0 0 0 5px #1b1d1c,
    0 0 0 6px rgba(0, 0, 0, 0.12),
    0 40px 60px -40px rgba(10, 40, 30, 0.55);
  transition: transform 600ms var(--ease-out);
}
.sw-osd {
  position: absolute;
  top: 7%;
  right: 4.5%;
  z-index: 2;
  padding: 0.35em 0.6em;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font: 600 max(0.6875rem, min(2.6cqi, 0.9375rem)) / 1 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: opacity 160ms ease;
}
.sw-osd.is-tuning {
  opacity: 0;
}
.sw-card {
  position: relative;
  z-index: 2;
  width: min(84%, 380px);
  margin: -13% 4% 0 auto;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow:
    0 0 0 1px rgba(17, 18, 20, 0.06),
    0 28px 48px -28px rgba(10, 40, 30, 0.45);
}
.sw-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 10px;
  font-size: 0.8125rem;
  font-weight: 700;
}
.sw-title span {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--day);
  font: 600 0.6875rem / 1.2 var(--mono);
  color: var(--fg-2);
}
.sw-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  font-size: 0.9375rem;
  transition:
    background-color 220ms ease,
    color 220ms ease;
}
.sw-row time {
  font: 500 0.8125rem / 1 var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--fg-3);
  transition: color 220ms ease;
}
.sw-teams {
  display: inline-flex;
  gap: 3px;
}
.sw-teams i {
  width: 6px;
  height: 16px;
  border-radius: 2px;
  background: var(--a);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.sw-teams i + i {
  background: var(--b);
}
.sw-sender {
  overflow: hidden;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sw-row.is-on {
  background: var(--es);
  color: var(--es-on);
}
.sw-row.is-on time {
  color: var(--es-on);
}
/* Der Finger: Berührungspunkt wie bei Bildschirmaufnahmen vom Handy. */
.sw-finger {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  background: rgba(17, 18, 20, 0.16);
  box-shadow: inset 0 0 0 1.5px rgba(17, 18, 20, 0.4);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 700ms var(--ease-in-out),
    opacity 300ms ease,
    scale 140ms var(--ease-out);
}
.sw-finger.is-shown {
  opacity: 1;
}
.sw-finger.is-tap {
  scale: 0.78;
}
.sw-finger::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--es);
  opacity: 0;
}
.sw-finger.is-tap::after {
  animation: ripple 520ms var(--ease-out);
}
@keyframes ripple {
  from {
    opacity: 0.9;
    transform: scale(0.8);
  }
  to {
    opacity: 0;
    transform: scale(2.2);
  }
}

@media (max-width: 833px) {
  .split {
    flex-direction: column;
    min-height: 0;
  }
  .world {
    padding: 36px var(--gutter) 32px;
  }
  .world-ap {
    padding-top: calc(var(--nav-h) + 28px);
  }
  .world-name {
    font-size: clamp(2.5rem, 11.5vw, 4.5rem);
    white-space: normal;
  }
  .world-go {
    min-height: 44px;
  }
  .wall,
  .sw {
    padding-top: 28px;
  }
}

/* ------------------------------------------------------------------
   Produktseiten: Einstieg als eine Welt, darunter Abschnitte mit je einer Grafik.
   ------------------------------------------------------------------ */
.hero-world {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
  min-height: min(88svh, 860px);
  padding: calc(var(--nav-h) + clamp(32px, 6vh, 72px)) max(var(--gutter), (100% - 1200px) / 2) clamp(48px, 8vh, 96px);
  background: var(--bg);
  color: var(--fg);
}
.hero-world .world-name {
  font-size: clamp(2.75rem, 4.6vw, 4.75rem);
}
.hero-world .world-line {
  max-width: 24em;
}
.hero-world > .wall,
.hero-world > .sw {
  justify-self: end;
  max-width: 600px;
  padding-top: 0;
}
.hero-note {
  margin-top: 16px;
}
.section-head > * {
  max-width: 820px;
}
.section-head + * {
  margin-top: clamp(40px, 6vw, 80px);
}
@media (max-width: 833px) {
  .hero-world {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: calc(var(--nav-h) + 32px);
  }
  .hero-world .world-name {
    font-size: clamp(2.5rem, 11.5vw, 4.5rem);
    white-space: normal;
  }
  .hero-world > .wall,
  .hero-world > .sw {
    justify-self: stretch;
  }
}

/* Auto-Pilot: der Spieltag zum Anfassen. Logik in landing-d.js, hier nur die neue Bildsprache:
   dieselben Bildschirmflächen wie auf der Wand. */
.stage {
  padding: clamp(18px, 3.2vw, 44px);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.stage-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.stage-label {
  display: block;
  margin-bottom: 8px;
  font: 500 0.8125rem / 1 var(--mono);
  color: var(--fg-3);
}
.stage-time {
  display: block;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stage-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  font-weight: 600;
  white-space: nowrap;
}
/* Schalter: Auto-Pilot-Grafik und Einwilligungsdialog (Clarity in den Optionen). */
.switch {
  position: relative;
  flex: none;
  width: 51px;
  height: 31px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #3a3a44;
  cursor: pointer;
  transition: background-color 250ms ease;
}
.switch::after {
  content: '';
  position: absolute;
  inset: -7px;
}
.switch[aria-checked='true'] {
  background: var(--ap-fill);
}
/* Der Knopf trägt den Weg, sein ::before die Druck-Rückmeldung: zwei Bewegungen, zwei Elemente. */
.switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  transition: transform 250ms var(--ease-out);
}
.switch-knob::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  transition: transform 160ms var(--ease-out);
}
.switch[aria-checked='true'] .switch-knob {
  transform: translateX(20px);
}
.switch:active .switch-knob::before {
  transform: scale(0.92);
}
.stage-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(24px, 3vw, 36px);
}
.tvs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 14px);
}
.tv-screen {
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.tv-layer {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.35em;
  padding: 0 4% 6%;
  color: rgba(255, 255, 255, 0.85);
  font: 700 max(7px, 3.6cqi) / 1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tv-layer[data-ch='d'] {
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--fg-3);
}
.tv-layer[data-ch='a'] { --a: #e5484d; --b: #f2f2f2; }
.tv-layer[data-ch='b'] { --a: #3e63dd; --b: #ffd43b; }
.tv-layer[data-ch='c'] { --a: #30a46c; --b: #151515; }
.tv-name {
  display: block;
  margin-top: 10px;
  font: 500 0.75rem / 1 var(--mono);
  text-align: center;
  color: var(--fg-3);
}
.plan-status {
  margin-bottom: 12px;
  font: 500 0.8125rem / 1.3 var(--mono);
  color: var(--fg-2);
}
.plan li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  margin-inline: -12px;
  padding: 10px 12px;
  border-radius: 12px;
  transition:
    background-color 300ms ease,
    color 300ms ease;
}
.plan time {
  grid-row: span 2;
  font: 600 1rem / 1.3 var(--mono);
  font-variant-numeric: tabular-nums;
  transition: color 300ms ease;
}
.plan-match {
  font-weight: 600;
}
.plan-route {
  grid-column: 2;
  font-size: 0.875rem;
  color: var(--fg-2);
}
.plan li.is-next {
  background: rgba(139, 123, 255, 0.12);
}
.plan li.is-next time {
  color: var(--ap);
}
.plan li.is-done,
.plan li.is-done .plan-route,
.stage[data-paused] .plan li,
.stage[data-paused] .plan-route {
  color: var(--fg-3);
}
.plan li.is-done .plan-match,
.stage[data-paused] .plan-match,
.stage[data-paused] .plan time {
  font-weight: 400;
}
.stage[data-paused] .plan li {
  background: none;
}
.stage[data-paused] .plan-status {
  color: var(--fg);
}
@media (max-width: 880px) {
  /* Einspaltig rückt die Zeitleiste direkt unter die Bildschirme: Ursache und Wirkung bleiben zusammen. */
  .stage {
    display: flex;
    flex-direction: column;
  }
  .stage-body {
    display: contents;
  }
  .tvs {
    order: 1;
    margin-top: 24px;
  }
  .scrub {
    order: 2;
  }
  .plan {
    order: 3;
    margin-top: 28px;
  }
}
.scrub {
  margin-top: clamp(20px, 3vw, 36px);
  padding-inline: 14px;
}
.scrub-track {
  position: relative;
  height: 44px;
  cursor: grab;
  /* waagerecht gehört die Geste der Zeitleiste, senkrecht bleibt sie beim Browser */
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  outline: none;
}
.scrub-track.is-dragging {
  cursor: grabbing;
}
.scrub-rail {
  position: absolute;
  inset: 50% 0 auto;
  height: 4px;
  margin-top: -2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
}
.scrub-fill {
  height: 100%;
  background: var(--ap);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.scrub-marks i {
  position: absolute;
  top: 50%;
  width: 2px;
  height: 16px;
  margin: -8px 0 0 -1px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.6);
}
.scrub-knob {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  will-change: transform;
}
.scrub-knob span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 4px var(--panel),
    0 3px 10px rgba(0, 0, 0, 0.55);
  transition: transform 160ms var(--ease-out);
}
.is-dragging .scrub-knob span {
  transform: scale(1.18);
}
/* Kein Fokusring nach Maus oder Finger; erst die Tastatur holt ihn zurück. */
.scrub-track:focus-visible:not([data-pointer]) .scrub-knob span {
  outline: 3px solid var(--ap);
  outline-offset: 3px;
}
.scrub-scale {
  position: relative;
  height: 1.2em;
  margin-top: 2px;
  font: 500 0.75rem / 1.2 var(--mono);
  color: var(--fg-3);
}
.scrub-scale span {
  position: absolute;
  left: calc(25% * var(--n, 0));
  transform: translateX(-50%);
}
.scrub-scale span:nth-child(2) { --n: 1; }
.scrub-scale span:nth-child(3) { --n: 2; }
.scrub-scale span:nth-child(4) { --n: 3; }
.scrub-scale span:nth-child(5) { --n: 4; }
.scrub-hint {
  margin-top: 18px;
  font-size: 0.8125rem;
  text-align: center;
  color: var(--fg-3);
  transition: opacity 400ms ease;
}
html:not(.js) .scrub-hint,
.stage[data-touched] .scrub-hint {
  opacity: 0;
}

/* Formate: drei Bildschirmformen an einer Wand, unterschiedlich groß wie in echt. */
.shapes {
  display: grid;
  grid-template-columns: 5fr 2fr 5fr;
  align-items: end;
  gap: clamp(16px, 3vw, 48px);
}
.shape figcaption {
  margin-top: 14px;
  font: 500 0.8125rem / 1.3 var(--mono);
  color: var(--fg-3);
}
.shape-screens {
  display: grid;
  gap: 4px;
  padding: 6px;
  border-radius: 10px;
  background: #050507;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.shape .scr {
  border-radius: 3px;
}
.shape-split .shape-screens {
  grid-template-columns: 3fr 1.4fr;
}
.shape-split .scr {
  aspect-ratio: auto;
  height: 100%;
}
.shape-split .shape-screens {
  aspect-ratio: 16 / 9;
}
.shape-wall .shape-screens {
  grid-template-columns: 1fr 1fr;
}
.scr-tall {
  aspect-ratio: 9 / 16;
}
.face[data-kind='poster'] {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10%;
  background:
    radial-gradient(130% 70% at 100% 0%, rgba(255, 255, 255, 0.2), transparent 60%),
    linear-gradient(180deg, var(--ap-fill), #3d27c9);
}
.face[data-kind='poster']::before {
  content: var(--t-offer);
  position: static;
  color: #fff;
  font: 820 max(12px, 17cqi) / 0.95 var(--font);
  font-stretch: 125%;
  letter-spacing: -0.03em;
}
.face[data-kind='poster']::after {
  content: var(--t-tonight);
  position: static;
  margin-top: 0.6em;
  color: rgba(255, 255, 255, 0.85);
  font: 700 max(7px, 6cqi) / 1 var(--mono);
  letter-spacing: 0.06em;
}
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(56px, 8vw, 104px);
}
.specs h3 {
  font-size: 1.125rem;
  font-weight: 700;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.chips li {
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.9375rem;
  font-weight: 500;
}
.specs .fineprint {
  margin-top: 12px;
}
@media (max-width: 833px) {
  .shapes {
    grid-template-columns: 1fr 1fr;
  }
  .shape-split {
    grid-column: 1 / -1;
  }
  .shape-portrait {
    max-width: 180px;
  }
  .specs {
    grid-template-columns: 1fr;
  }
}

/* Echte Aufnahmen: Bildschirmvideos der Oberfläche, stumm, laufen nur sichtbar (ember.js). */
.clip video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #0b0c12;
  box-shadow:
    0 0 0 1px var(--line),
    0 40px 80px -48px rgba(0, 0, 0, 0.9);
}
.clip figcaption {
  margin-top: 14px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--fg-3);
}

/* Demo und Abschluss: ein Band, links Aussage und Handlung, rechts das Video */
.demo-band,
.closing-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: 16px;
  background: var(--panel);
}
.demo-band h2 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
}
.demo-band .chips {
  margin-top: 24px;
}
.demo-act {
  margin-top: clamp(24px, 3vw, 36px);
}
.demo-act .fineprint {
  margin-top: 16px;
  max-width: 30em;
}
.closing-band {
  grid-template-columns: 1fr auto;
  align-items: center;
  background: none;
  padding-inline: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}
.closing-band .cta-row {
  margin-top: 0;
}
.closing {
  padding-top: 0;
}
@media (max-width: 833px) {
  .demo-band,
  .closing-band {
    grid-template-columns: 1fr;
  }
}

/* Event-Switcher: TV-Wand mit HDMI-Matrix */
.mx {
  position: relative;
  display: grid;
  grid-template-columns: minmax(200px, 3fr) minmax(0, 8fr);
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(16px, 3vw, 36px);
  border-radius: 16px;
  background: var(--night);
  color: #f4f4f6;
}
.mx-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mx-title {
  margin-bottom: 6px;
  font-weight: 700;
}
.mx-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #17171d;
  font-size: 0.9375rem;
  font-weight: 600;
}
.mx-box small {
  display: block;
  font: 500 0.75rem / 1.3 var(--mono);
  color: #a9a9b3;
}
.mx-btn {
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 999px;
  background: var(--es);
  color: var(--es-on);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  transition: transform 140ms var(--ease-out);
}
.mx-btn.is-press {
  transform: scale(0.95);
}
.mx-tvs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 14px);
}
.mx-tv .scr {
  border-radius: 6px;
}
.mx-tv > span {
  display: block;
  margin-top: 8px;
  font: 500 0.75rem / 1 var(--mono);
  color: #7f7f8a;
}
.mx .sw-teams i {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.mx .sw-finger {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}
@media (max-width: 833px) {
  .mx {
    grid-template-columns: 1fr;
  }
  .mx-tvs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Event-Switcher: was am Standort steht und wohin es verbunden ist */
.agent-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  padding: clamp(20px, 4vw, 48px);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 0 0 1px var(--line);
}
.agent-node {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--day);
  font-size: 0.8125rem;
  color: var(--fg-2);
}
.agent-node b {
  font-size: 1rem;
  color: var(--fg);
}
.agent-receivers span {
  font: 600 0.8125rem / 1.5 var(--mono);
  color: var(--fg);
}
.agent-cloud {
  background: var(--es);
}
.agent-cloud b {
  color: var(--es-on);
}
/* Leitung mit Datenpunkt: zeigt, dass der Agent die Verbindung von sich aus aufbaut */
.agent-wire {
  position: relative;
  height: 2px;
  container-type: inline-size;
  margin-inline: 10px;
  background: repeating-linear-gradient(90deg, var(--fg-3) 0 4px, transparent 4px 8px);
  opacity: 0.6;
}
.agent-wire::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--es-ink);
  opacity: 0;
}
.agent-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(28px, 4vw, 48px);
  color: var(--fg-2);
}
.agent-notes b {
  display: block;
  margin-bottom: 4px;
  color: var(--fg);
}
@media (prefers-reduced-motion: no-preference) {
  .agent-wire::after {
    animation: packet 2.4s var(--ease-in-out) infinite;
  }
  .agent-wire:nth-of-type(2)::after { animation-delay: 0.8s; }
  .agent-wire:nth-of-type(3)::after { animation-delay: 1.6s; }
}
/* Die Leitungen sind unterschiedlich lang: 100cqw ist die Länge der eigenen Leitung. */
@keyframes packet {
  0% {
    opacity: 0;
    transform: none;
  }
  15%,
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(calc(100cqw - 8px));
  }
}
@media (max-width: 833px) {
  .agent-flow {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .agent-wire {
    width: 2px;
    height: 24px;
    margin: 6px 0 6px 24px;
    background: repeating-linear-gradient(180deg, var(--fg-3) 0 4px, transparent 4px 8px);
  }
  .agent-wire::after {
    display: none;
  }
  .agent-notes {
    grid-template-columns: 1fr;
  }
}

/* Preise: zwei Pläne, Pro trägt die Farbe des Event-Switchers */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: clamp(12px, 2vw, 24px);
  align-items: stretch;
}
.plan-card {
  padding: clamp(22px, 3vw, 36px);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 0 0 1px var(--line);
}
.plan-card h3 {
  font-size: 1.25rem;
  font-weight: 760;
  font-stretch: 116%;
}
.plan-price {
  margin: 18px 0 10px;
  color: var(--fg-2);
}
.plan-price .num {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font);
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 760;
  font-stretch: 116%;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.plan-pro {
  background: var(--es);
  box-shadow: none;
  color: var(--es-on);
}
.plan-pro .plan-price,
.plan-pro .plan-price .num {
  color: var(--es-on);
}
.plans-act {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 16px;
  padding: clamp(4px, 1vw, 12px) 0 0 clamp(0px, 1.5vw, 16px);
}
.plans-help a {
  color: var(--accent);
  font-weight: 600;
}
@media (max-width: 960px) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }
  .plans-act {
    grid-column: 1 / -1;
    padding-left: 0;
  }
}
@media (max-width: 560px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------
   Kontakt, Fragen, Fuß, Einwilligung
   ------------------------------------------------------------------ */
.contact {
  padding-block: clamp(72px, 10vw, 144px);
}
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
}
.contact-email {
  display: inline-block;
  margin-top: 24px;
  font-size: clamp(1.1875rem, 1.8vw, 1.5rem);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 0.2em;
  box-shadow: inset 0 -2px 0 var(--fg);
}
.about {
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 28em;
  color: var(--fg-2);
}
.form-panel {
  padding: clamp(22px, 3.4vw, 44px);
  border-radius: 16px;
  background: var(--panel);
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}
.full {
  grid-column: 1 / -1;
}
.form h3 {
  font-size: 1.125rem;
  font-weight: 700;
}
.form h3:not(:first-child) {
  margin-top: 14px;
}
.field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.field label,
.field legend {
  display: block;
  margin-bottom: 7px;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-2);
}
input[type='text'],
input[type='email'],
input[type='tel'],
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(17, 18, 20, 0.18);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  /* mindestens 16px, sonst zoomt iOS beim Fokus in die Seite */
  font: 400 1.0625rem/1.3 var(--font);
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease;
}
textarea {
  padding-block: 14px;
  resize: vertical;
}
select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23626764' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid transparent;
  border-color: var(--ink);
  border-radius: 12px;
  box-shadow: 0 0 0 4px rgba(17, 18, 20, 0.14);
}
.form-options {
  border-bottom: 1px solid var(--line);
}
.form-options summary {
  padding-block: 16px;
  font-size: 1.0625rem;
}
.optional-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
  max-width: none;
  padding-block: 6px 24px;
  color: inherit;
}
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}
.checks label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: var(--fg);
}
.checks input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--ink);
}
.hp {
  position: absolute;
  left: -9999px;
}
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 8px;
}
.form-note {
  flex: 1 1 260px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--fg-2);
}
.form-status {
  padding: 20px 24px;
  border-radius: 16px;
  font-weight: 500;
}
.form-status + .form:not([hidden]) {
  margin-top: 20px;
}
.form-status.ok {
  background: #e3f7ef;
  color: #0b5a3f;
}
.form-status.error {
  background: #fdecec;
  color: #8a1c1c;
}
.form-status p + p {
  margin-top: 6px;
  font-weight: 400;
}
@media (max-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .form,
  .optional-fields,
  .checks {
    grid-template-columns: 1fr;
  }
  .form-foot .pill {
    width: 100%;
  }
}

/* Fragen */
.faq-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(32px, 6vw, 96px);
}
.answers {
  border-bottom: 1px solid var(--line);
}
details {
  border-top: 1px solid var(--line);
}
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker {
  display: none;
}
summary:active {
  opacity: 0.6;
}
summary i {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  transition: transform 250ms var(--ease-out);
}
summary i::before,
summary i::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto;
  height: 1.5px;
  margin-top: -0.75px;
  border-radius: 1px;
  background: currentColor;
}
summary i::after {
  transform: rotate(90deg);
}
details[open] > summary i {
  transform: rotate(45deg);
}
.answer {
  padding-bottom: 26px;
  max-width: 62ch;
  color: var(--fg-2);
}
.answer a {
  color: var(--fg);
}
@media (max-width: 880px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Ratgeber und Rechtstexte: Fließtext in schmaler Spalte, Auto-Pilot-Nacht, kein Zusatz-JS.
   Ohne landing-d.js gibt es kein data-scrolled: html:not(.js) gibt der Leiste ihr Material. */
.article-head .nav-bar {
  justify-content: space-between;
}
.article {
  width: min(680px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding-block: calc(var(--nav-h) + clamp(40px, 7vw, 88px)) clamp(64px, 10vw, 120px);
}
.article h1 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 5.2vw, 3.25rem);
  /* „Datenschutzerklärung“ ist breiter als ein Handy: trennen statt überstehen */
  hyphens: auto;
  overflow-wrap: break-word;
}
.article .lead {
  margin: 0 0 clamp(40px, 6vw, 64px);
}
.article h2 {
  margin: clamp(40px, 6vw, 64px) 0 16px;
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.article h3 {
  margin: 32px 0 10px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
}
.article p,
.article ul {
  margin-bottom: 18px;
}
.article p,
.article li {
  line-height: 1.62;
  color: var(--fg-2);
}
.article ul {
  padding-left: 1.25em;
  list-style: disc;
}
.article li {
  margin-bottom: 10px;
}
.article li::marker {
  color: var(--fg-3);
}
.article code {
  font: 0.9em var(--mono);
  color: var(--fg);
}
.article .meta {
  margin-bottom: clamp(32px, 5vw, 48px);
  font-size: 0.9375rem;
  color: var(--fg-3);
}
.article .cta {
  margin-top: clamp(48px, 7vw, 72px);
  padding: 28px;
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 0 0 1px var(--line);
}
.article .cta p {
  margin-bottom: 20px;
  color: var(--fg);
}
.article .back {
  margin-top: 32px;
  font-size: 0.9375rem;
}
.article p a,
.article li a {
  color: var(--accent);
}

/* Fuß: Nacht auf allen Seiten, das Markup teilen sich alle deutschen Seiten (footer-sync-Test). */
.footer {
  padding-block: clamp(48px, 6vw, 72px) calc(36px + var(--consent-space, 0px) + env(safe-area-inset-bottom, 0px));
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--fg-2);
}
.footer a,
.link-button {
  color: inherit;
  text-decoration: none;
}
.footer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.footer a.footer-brand {
  font-size: 1.375rem;
  font-weight: 760;
  font-stretch: 116%;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 28px 32px;
  padding-block: 28px;
}
.footer-grid nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-grid .footer-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 8px 24px;
}
.footer-wide .footer-title {
  grid-column: 1 / -1;
}
.footer-title {
  font-weight: 600;
  color: var(--fg);
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
}
.footer-disclosure {
  max-width: 46em;
  color: var(--fg-3);
}
.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .footer a:hover,
  .link-button:hover,
  .form-note a:hover {
    text-decoration: underline;
  }
  .footer a:hover {
    color: var(--fg);
  }
}
@media (max-width: 833px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid .footer-wide {
    grid-column: 1 / -1;
  }
}
@media (max-width: 400px) {
  .footer-grid .footer-wide {
    grid-template-columns: 1fr;
  }
}
@media (pointer: coarse) {
  .footer-grid nav {
    gap: 0;
  }
  .footer-grid a,
  .link-button {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
}

/* Einwilligung: schwebende Materialfläche. Sie entsteht (Maßstab und Deckkraft zusammen), verschwinden geht schneller. */
.consent {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 12px;
  width: min(420px, 100vw - 32px);
  padding: 16px;
  border-radius: 16px;
  background: rgba(21, 21, 27, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  backdrop-filter: saturate(180%) blur(28px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 60px -12px rgba(0, 0, 0, 0.6);
  --fg-2: #d6d6dc;
  color: var(--fg);
  font-size: 0.8125rem;
  line-height: 1.5;
  transform: translateX(-50%);
  transition:
    opacity 400ms var(--ease-out),
    transform 500ms var(--ease-out);
  transition:
    opacity 400ms var(--ease-out),
    transform 500ms var(--ease-out),
    display 400ms allow-discrete;
}
@starting-style {
  .consent {
    opacity: 0;
    transform: translateX(-50%) translateY(20px) scale(0.97);
  }
}
.consent[hidden] {
  display: none;
  opacity: 0;
  transform: translateX(-50%) translateY(12px) scale(0.98);
  transition-duration: 200ms;
}
.consent p {
  color: var(--fg-2);
}
/* .is-options zeigt Schalter, „Auswahl speichern“ und „Ablehnen“ statt „Optionen“.
   Erste Ebene trägt damit nur „Zustimmen“ und „Optionen“ (Owner-Entscheid 12.10.2026).
   Abweichung zu Golarto, wo „Ablehnen“ auf der ersten Ebene steht: VG Hannover 19.03.2025,
   10 A 5385/22 verlangt die Ablehnung auf derselben Ebene wie die Zustimmung. Owner kennt
   das Risiko und trägt es; vor dem Zurückdrehen diese Zeile und den Golarto-Banner vergleichen. */
.consent-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  color: var(--fg-2);
  cursor: pointer;
}
.consent-service strong {
  display: block;
  color: var(--fg);
  font-size: 0.9375rem;
}
.consent:not(.is-options) .consent-service,
.consent:not(.is-options) [data-consent='save'],
.consent:not(.is-options) [data-consent='decline'],
.consent.is-options [data-consent='options'] {
  display: none;
}
.consent .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.consent .pill {
  flex: 1 1 auto;
  min-height: 44px;
}
.consent.is-options [data-consent='accept'] {
  flex-basis: 100%;
}
.consent .pill-ghost {
  --line: rgba(255, 255, 255, 0.3);
}

/* Bewegung: Einblenden beim Scrollen, Antworten aufklappen, Seitenwechsel. Alles hinter
   no-preference; wer weniger Bewegung wünscht, bekommt kurze Überblendungen statt Wegen. */
.js .reveal {
  opacity: 0;
  transition: opacity 500ms ease var(--d, 0ms);
}
.js .reveal.is-in {
  opacity: 1;
}
@supports selector(::details-content) {
  details::details-content {
    opacity: 0;
    transition: opacity 250ms ease;
  }
  details[open]::details-content {
    opacity: 1;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  ::view-transition-group(*) {
    animation-duration: 560ms;
    animation-timing-function: var(--ease-out);
  }
  /* Die angeklickte Hälfte zieht sich zur ganzen Seite auf. Ihr Inhalt bleibt in Originalgröße
     und wird nur freigelegt; skaliert würde die Schrift auf doppelte Größe gezerrt. Rechts verankert
     beim Event-Switcher, damit der Fernseher bleibt, wo er war. */
  ::view-transition-group(world-ap),
  ::view-transition-group(world-es) {
    overflow: clip;
  }
  ::view-transition-old(world-ap),
  ::view-transition-new(world-ap),
  ::view-transition-old(world-es),
  ::view-transition-new(world-es) {
    inline-size: 100%;
    block-size: 100%;
    object-fit: none;
    object-position: 0 0;
  }
  ::view-transition-old(world-es),
  ::view-transition-new(world-es) {
    object-position: 100% 0;
  }
  html {
    scroll-behavior: smooth;
  }
  .world-copy > *,
  .hero-copy > * {
    animation: rise 900ms var(--ease-out) both;
  }
  .world-copy > :nth-child(2), .hero-copy > :nth-child(2) { animation-delay: 60ms; }
  .world-copy > :nth-child(3), .hero-copy > :nth-child(3) { animation-delay: 120ms; }
  .world-copy > :nth-child(4), .hero-copy > :nth-child(4) { animation-delay: 180ms; }
  .hero-copy > :nth-child(5) { animation-delay: 240ms; }
  .world-es .world-copy > * { animation-delay: 90ms; }
  .world-es .world-copy > :nth-child(2) { animation-delay: 150ms; }
  .world-es .world-copy > :nth-child(3) { animation-delay: 210ms; }
  .world-es .world-copy > :nth-child(4) { animation-delay: 270ms; }
  .js .reveal {
    transform: translateY(24px);
    transition:
      opacity 900ms var(--ease-out) var(--d, 0ms),
      transform 1000ms var(--ease-out) var(--d, 0ms);
  }
  .js .reveal.is-in {
    transform: none;
  }
  @supports (interpolate-size: allow-keywords) {
    :root {
      interpolate-size: allow-keywords;
    }
    details::details-content {
      block-size: 0;
      overflow: clip;
      transition:
        opacity 250ms ease,
        block-size 350ms var(--ease-out);
      transition:
        opacity 250ms ease,
        block-size 350ms var(--ease-out),
        content-visibility 350ms allow-discrete;
    }
    details[open]::details-content {
      block-size: auto;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .face,
  .tv-layer,
  .sw-finger {
    transition-property: opacity;
    transition-duration: 200ms;
    filter: none;
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .nav::before,
  .js .nav-links,
  .consent {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav::before,
  .consent {
    background: #15151b;
  }
  @media (max-width: 833px) {
    .js .nav-links {
      background: var(--night);
    }
  }
}
@media (prefers-contrast: more) {
  .world-ap,
  .theme-ap,
  .footer,
  .consent {
    --fg-2: #dcdce2;
    --fg-3: #dcdce2;
    --line: rgba(255, 255, 255, 0.5);
  }
  .world-es,
  .theme-es,
  .theme-plain {
    --fg-2: #2b2e2c;
    --fg-3: #2b2e2c;
    --line: rgba(17, 18, 20, 0.5);
  }
  .nav::before {
    background: var(--night);
    box-shadow: 0 1px 0 #fff;
  }
  .consent {
    background: var(--night);
    border: 1px solid #fff;
  }
}
@media (forced-colors: active) {
  .pill,
  .world-go,
  .scr,
  .sw-tv,
  .sw-card,
  .form-panel,
  .consent {
    border: 1px solid ButtonText;
  }
  .nav-toggle i,
  summary i::before,
  summary i::after {
    background: CanvasText;
  }
}
@media print {
  .nav,
  .consent {
    display: none;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
