/* Broschi Digalytics – start-interaktiv.html: die Bühne (Inhalt und Gestalt, noch ohne Bewegung).
   Farben und Schriften aus site.css. Die Haken für die Bewegungs-Bausteine sind data-Attribute im HTML,
   die Klassen hier tragen nur die Gestalt. Ruhezustand = Endzustand: alles ist ohne Skript sichtbar. */

:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --steel-1: #1B2638;
  --steel-2: #0E1522;
  --steel-3: #0A0F18;
  --housing: #06090F;
  /* Kleine Startlampen (Renntag-Marke .mk.start): aus = dunkelrot, an = Rot aus dem Produkt (#EF4444, Abstandsanzeige der Driver Card).
     Die Startampel im Kopf trägt ihre LED-Farben im SVG. */
  --lamp-off-hi: #3B1117;
  --lamp-off: #24090E;
  --lamp-off-lo: #14050A;
  --lamp-on: #EF4444;
  --lamp-on-hi: #FFD9D9;
  --lamp-on-lo: #7A0F14;
}

html { scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
button { font: inherit; color: inherit; }
figure { margin: 0; }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 60; padding: 10px 14px; border-radius: var(--r-md); background: var(--cyan); color: #031018; font-weight: 600; }
.skip:focus-visible { top: 12px; }
a.inline { color: var(--cyan); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
code { padding: 2px 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.07); color: var(--text); font: 600 0.88em/1 ui-monospace, Consolas, monospace; }
.scroll-x { position: relative; overflow-x: auto; }
.scroll-x, .track, .garages, .dc-chans { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.18) transparent; }
/* Knöpfe, die nur mit Skript etwas tun */
html:not(.js) [data-lights-toggle], html:not(.js) [data-carousel-prev], html:not(.js) [data-carousel-next], html:not(.js) [data-funk-replay] { display: none; }
.btn:hover { border-color: var(--cyan-border); }
/* Kopfzeile ganz deckend: bei 92 % (site.css) läuft Text beim Scrollen sichtbar unter der Wortmarke durch */
.topbar { background: var(--bg); }
.btn.primary:hover, .btn.pink:hover { filter: brightness(1.08); }

/* ---------- Kopfzeile: Menü-Knopf für schmale Fenster (ohne Skript, über <details>) ---------- */
.menu-more { display: none; position: relative; }
.menu-more summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--line-strong); color: var(--text); font-size: 22px; cursor: pointer; }
.menu-more summary::-webkit-details-marker { display: none; }
.menu-more[open] summary { border-color: var(--cyan-border); color: var(--cyan); }
.menu-more nav { position: absolute; right: 0; top: calc(100% + 12px); width: min(320px, calc(100vw - 32px)); display: grid; padding: 6px 16px 16px; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: var(--surface); box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.9); }
.menu-more nav > a:not(.btn) { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--text-body); }
.menu-more nav > a:not(.btn):hover { color: var(--text); }
.menu-lang { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 14px; font-size: 14px; color: var(--text-muted); }
.menu a:hover { color: var(--text); }

/* ---------- Kopf ---------- */
.hero { padding: 48px 0 60px; }
.hero .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 64px; line-height: 1.04; letter-spacing: 0.005em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero .lead { font-size: 19px; color: var(--text-body); margin: 22px 0 30px; max-width: 34em; text-wrap: pretty; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .prices { margin-top: 18px; font-size: 14px; color: var(--text-muted); }
.hero .prices b { color: var(--text); }
.partner { display: flex; align-items: center; gap: 12px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-muted); }
.partner b { color: var(--pink-text); font: 700 18px/1 var(--font-display); letter-spacing: 0.08em; }
.pit { min-width: 0; }

/* Startampel-Brücke (SVG im HTML, viewBox 600 × 212): Träger über die ganze Breite, fünf Gehäuse mittig
   (x 94–506), je zwei rote und eine grüne LED-Leuchte mit Sonnenblende. Ruhezustand = alle Leuchten aus.
   Ein Baustein schaltet Rot mit „is-on“ am [data-lamp] und Grün mit „lx-go“ am [data-lights] ein.
   Leuchten- und Metallfarben stehen im SVG; LED-Rot #FF2E17, LED-Grün #1FEA73. */
.lights { position: relative; max-width: 640px; margin: 0 auto 18px; }
.gantry { display: block; width: 100%; height: auto; }
.gantry .lx-lit, .gantry .lx-core { opacity: 0; }
[data-lamp].is-on .lx-r :is(.lx-lit, .lx-core),
[data-lights].lx-go .lx-g :is(.lx-lit, .lx-core) { opacity: 1; }
/* Schalter rechts unter dem Träger, mittig zwischen letztem Gehäuse (x 506) und Trägerende (x 600); zurückhaltend
   (30 px, feiner Rand), die Trefferfläche ist über ::before 44 px groß. Hover nur mit Maus, auf Touch bleibt nichts hängen. */
.lights-toggle { position: absolute; right: calc(7.83% - 15px); top: calc(13.2% + 13px); display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--text-subdued); font-size: 15px; cursor: pointer; }
.lights-toggle::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; }
@media (hover: hover) and (pointer: fine) {
  .lights-toggle:hover { color: var(--text); border-color: var(--cyan-border); }
}

/* Boxenmauer (wie 01): Tabelle und Driver Card nebeneinander, Cockpit darunter */
.wall { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 14px 16px; padding: 18px 0; border-top: 2px solid var(--line-strong); border-bottom: 2px solid var(--line-strong); }
.wall figure { min-width: 0; }
.wall .w-cockpit { grid-column: 1 / -1; }
.wall figcaption { margin-top: 7px; font-size: 12px; line-height: 1.4; color: var(--text-subdued); }
.wall figcaption.demo { color: var(--warning); font-weight: 600; }
.wall .league { padding: 16px; }
.ptop { display: flex; align-items: flex-start; gap: 10px; }
.ptop .tag { margin-left: auto; }
.wall .ptitle { font: 700 18px/1.2 var(--font-display); color: var(--text); letter-spacing: 0.02em; }
.wall .psub { margin-top: 2px; font-size: 12.5px; color: var(--text-subdued); }
.wall table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
.wall td, .wall th { padding: 7px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.wall th { color: var(--text-subdued); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.wall th.r { text-align: right; }
.wall td.n { font: 700 16px/1 var(--font-display); color: var(--text); }
.wall td.p { text-align: right; font: 700 16px/1 var(--font-display); color: var(--text); font-variant-numeric: tabular-nums; }
.wall tr.me td { background: var(--cyan-surface); box-shadow: inset 0 1px 0 var(--cyan-border), inset 0 -1px 0 var(--cyan-border); }
.obs-feed { padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-deep); }
.wall .to-stream { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-top: 4px; font: 600 13px/1.3 var(--font-ui); color: var(--cyan); }
.wall .to-stream .ic { font-size: 15px; }
.cockpit-screen .shot { height: auto; }

.pitwall .wrap { flex-wrap: wrap; }

/* ---------- Renntag: Zeitplan an einer Linie ---------- */
.raceday { padding-bottom: 72px; }
.rd-head { display: grid; grid-template-columns: 5fr 7fr; gap: 24px 56px; align-items: end; margin-bottom: 44px; }
.rd-head h2 { font-size: 44px; line-height: 1.02; text-wrap: balance; }
.rd-intro p { color: var(--text-muted); max-width: 64ch; text-wrap: pretty; }
.rd-intro .demo-note { margin-top: 12px; color: var(--warning); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1.08fr 1fr 1.22fr; }
.station { display: grid; grid-template-rows: auto auto auto 1fr; min-width: 0; padding-right: 32px; }
.station .when { display: flex; flex-direction: column; justify-content: flex-end; min-height: 66px; }
.station .day { font: 600 13px/1.3 var(--font-ui); color: var(--text-muted); }
.station .t { margin-top: 2px; font: 700 42px/1 var(--font-display); color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.station .t.flag { font-size: 28px; line-height: 1.05; padding-bottom: 3px; }
.station .rail { position: relative; display: block; height: 30px; margin: 14px -32px 18px 0; }
.station .rail::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 2px; background: var(--line-strong); }
.station:last-child .rail::before { background: linear-gradient(90deg, var(--line-strong) 60%, transparent); }
.mk { position: absolute; left: 0; top: 4px; display: block; width: 4px; height: 22px; border-radius: 2px; background: var(--cyan); }
.mk.start { display: flex; gap: 4px; width: auto; height: 14px; top: 8px; padding: 3px 5px; border-radius: 4px; background: var(--housing); border: 1px solid rgba(255, 255, 255, 0.14); }
.mk.start > i { width: 6px; height: 6px; border-radius: 50%; background: var(--lamp-off-hi); }
.mk.flag { width: 24px; height: 24px; top: 3px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.4); background: repeating-conic-gradient(#F8FAFC 0 25%, var(--bg) 0 50%) 0 0 / 8px 8px; }
/* Tageswechsel zwischen Mittwoch und Donnerstag: die Linie bricht */
.brk { position: absolute; right: 22px; top: 6px; width: 18px; height: 18px; background: var(--bg); }
.brk::before, .brk::after { content: ""; position: absolute; top: 0; width: 2px; height: 18px; background: var(--text-subdued); transform: skewX(-24deg); }
.brk::before { left: 4px; }
.brk::after { right: 4px; }
.station h3 { font-size: 24px; line-height: 1.1; }
.does { list-style: none; margin: 12px 0 0; padding: 0; }
.does li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--text-body); text-wrap: pretty; }
.does .tag { height: 22px; margin-left: 4px; vertical-align: 1px; }

/* ---------- Für den Stream: Regie-Wand ---------- */
.stream { padding-top: 24px; }
.stream .section-head p { max-width: 62ch; }
.regie { padding: 20px 0 0; border-top: 2px solid var(--line-strong); }
.pgm { display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: 24px; align-items: start; }
/* Monitor wie 01: Rahmen, Bildschirm, Beschriftung */
.mon { min-width: 0; padding: 6px 6px 0; border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.1); background: #0B111B; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.mon .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 2px 6px 4px; }
.mon .bar b { font: 700 13.5px/1 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.mon .air { display: inline-flex; align-items: center; gap: 7px; height: 22px; padding: 0 9px 0 7px; border-radius: 5px; border: 1px solid var(--pink-border); background: var(--pink-surface); color: var(--pink-text); font: 700 12px/1 var(--font-display); letter-spacing: 0.14em; }
.mon .air i { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 2px rgba(255, 0, 128, 0.22); }
.pgm-mon { padding-bottom: 6px; border-color: var(--pink-border); }
.mon .scr, .src-scr { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; background: #05090D; box-shadow: 0 0 0 1px #000; }
.pgm-fit { position: absolute; inset: 0; }
.pgm-fit > .ovl.screen { border-radius: 0; box-shadow: none; }
.pgm-fit.ctr { display: grid; place-items: center; background: #04070C; }
.pgm-fit.ctr > .ovl.card { width: 48%; }
.pgm-fit.ctr > .ovl.tc { width: 90%; }
.src-scr .pgm-fit.ctr > .ovl.card { width: 64%; }
.pgm-cap { display: grid; gap: 10px; padding-top: 34px; }
.cap-t { font: 700 32px/1.05 var(--font-display); color: var(--text); letter-spacing: 0.01em; }
.cap-f { font: 600 13px/1.35 var(--font-ui); color: var(--cyan); }
.cap-d { font-size: 15px; line-height: 1.55; color: var(--text-body); text-wrap: pretty; }
.cap-n { margin-top: 6px; line-height: 1.45; }

/* Karussell-Spur der Quellen */
.lane { margin-top: 26px; }
.lane-head { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.lane-head p { display: flex; align-items: baseline; gap: 12px; }
.lane-head b { font: 700 18px/1 var(--font-display); color: var(--text); letter-spacing: 0.04em; }
.lane-head p span { font-size: 13.5px; color: var(--text-muted); }
.lane-nav { display: flex; gap: 8px; margin-left: auto; }
.lane-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: transparent; color: var(--text); font-size: 18px; cursor: pointer; }
.lane-btn:hover { border-color: var(--cyan-border); color: var(--cyan); }
.lane-btn:disabled { opacity: 0.4; cursor: default; }
.track { list-style: none; margin: 0 -6px; padding: 6px 6px 14px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4.15); gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 6px; }
.src { position: relative; min-width: 0; padding: 6px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.1); background: #0B111B; scroll-snap-align: start; }
.src-take { position: static; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 8px; width: 100%; padding: 8px 2px 3px; border: 0; background: none; text-align: left; cursor: pointer; }
.src-take::after { content: ""; position: absolute; inset: 0; border-radius: 9px; }
.src-take b { font: 700 15px/1.15 var(--font-display); letter-spacing: 0.03em; color: var(--text); }
.src-take span { grid-column: 2; font-size: 12px; line-height: 1.35; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tally { grid-row: span 2; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; }
.src-take:focus-visible { outline: 0; }
.src:has(.src-take:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }
.src:hover { border-color: rgba(255, 255, 255, 0.22); }
.src:has([aria-pressed="true"]), .src.is-live { border-color: var(--pink-border); }
.src:has([aria-pressed="true"]) .src-scr, .src.is-live .src-scr { box-shadow: 0 0 0 2px var(--pink); }
[aria-pressed="true"] > .tally { border-color: var(--pink); background: var(--pink); }

/* Regie-Leiste: Bedienleiste eines Bildmischers */
.desk { list-style: none; margin: 18px 0 0; padding: 18px 22px; display: flex; flex-wrap: wrap; gap: 18px 0; border-radius: 12px; border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #0F1826 0%, #080D16 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.ctl { flex: 1 1 0; min-width: 150px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 20px; border-left: 1px solid var(--line); }
.ctl:first-child { padding-left: 0; border-left: 0; }
.ctl.more { flex: 2.2 1 0; min-width: 260px; }
.ctl-l { font-size: 13.5px; line-height: 1.4; color: var(--text-muted); text-wrap: pretty; }
.hw { display: inline-flex; align-items: center; gap: 8px; height: 38px; font: 700 14px/1 var(--font-display); letter-spacing: 0.12em; }
/* Tasten der Leiste sind gedruckte Beschriftung, keine Knöpfe: flach, ohne Füllung, gedämpfter Rand */
.desk { cursor: default; }
.key { padding: 0 14px; border-radius: 6px; border: 1px solid var(--line-strong); background: none; color: var(--text-body); }
.key.take { color: var(--pink-text); }
.key.post { color: var(--text-body); }
.key.post .ic { color: var(--discord); }
.key .ic { font-size: 17px; }
.led { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); }
.led.ok { background: var(--success); }
.seg { gap: 3px; padding: 3px; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--bg); }
.seg span { display: grid; place-items: center; min-width: 32px; height: 30px; border-radius: 4px; color: var(--text-subdued); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.seg span.on { background: var(--cyan-surface); color: var(--cyan); box-shadow: inset 0 0 0 1px var(--cyan-border); }
.seg small { padding: 0 6px 0 3px; font-size: 12px; color: var(--text-subdued); }
.ind { padding: 0 12px; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--success); }
.more-keys { display: flex; flex-wrap: wrap; gap: 6px; }
.kc { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 5px; border: 1px solid var(--line); background: none; font: 700 12.5px/1 var(--font-display); letter-spacing: 0.1em; color: var(--text-muted); }
.kc.pro { color: var(--pink-text); }

/* ---------- Discord ---------- */
.dc-sec { padding-top: 32px; }
.dc-grid { display: grid; grid-template-columns: 4fr 7fr; gap: 48px; align-items: start; }
.dc-copy { position: sticky; top: 104px; padding-top: 12px; }
.dc-copy h2 { font-size: 36px; line-height: 1.05; text-wrap: balance; }
.dc-copy .say { color: var(--text-muted); margin: 16px 0 18px; text-wrap: pretty; }
.dc-copy .hint { font-size: 14px; color: var(--text-subdued); text-wrap: pretty; }
.dc-fig > figcaption { margin-top: 10px; text-align: right; }
.dc-win { --dc-main: #23263A; --dc-side: #1B1E2E; --dc-line: rgba(255, 255, 255, 0.07); --dc-text: #DCDDE6; --dc-muted: #A3A6B8;
  display: grid; grid-template-columns: 236px minmax(0, 1fr); border-radius: 12px; overflow: hidden; border: 1px solid rgba(88, 101, 242, 0.35); background: var(--dc-main); color: var(--dc-text); }
.dc-side { min-width: 0; padding-bottom: 14px; border-right: 1px solid var(--dc-line); background: var(--dc-side); }
.dc-server { display: flex; align-items: center; height: 52px; padding: 0 16px; border-bottom: 1px solid var(--dc-line); font: 700 15px/1.2 var(--font-ui); color: #fff; }
.dc-chans { display: grid; gap: 2px; padding: 10px 8px 0; }
.dc-chan { display: grid; grid-template-columns: 14px minmax(0, 1fr); column-gap: 8px; padding: 8px 10px; border-radius: 6px; color: var(--dc-muted); }
.dc-chan .hash { grid-row: span 2; font: 500 19px/1 var(--font-ui); color: #80848E; }
.dc-chan b { font: 600 14.5px/1.25 var(--font-ui); color: inherit; }
.dc-chan small { margin-top: 3px; font-size: 12px; line-height: 1.4; color: #9295A8; }
.dc-chan:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
.dc-chan[aria-selected="true"] { background: rgba(255, 255, 255, 0.08); color: #fff; }
.dc-main { min-width: 0; display: flex; flex-direction: column; }
.dc-feed { scroll-margin-top: 88px; }
.dc-feed + .dc-feed { border-top: 1px solid var(--dc-line); }
.dc-head { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px; border-bottom: 1px solid var(--dc-line); font-size: 15px; }
.dc-head .hash { font-size: 21px; color: #80848E; }
.dc-head b { color: #fff; font-weight: 600; }
.dc-head .topic { min-width: 0; margin-left: 6px; padding-left: 12px; border-left: 1px solid var(--dc-line); font-size: 13px; color: var(--dc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-msgs { display: grid; gap: 16px; padding: 16px 18px 20px; }
.dm { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; }
.dm-ava { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--discord); color: #fff; font-size: 22px; }
.dm-body { min-width: 0; }
.dm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 6px; font-size: 14px; }
.dm-meta time { font-size: 12px; color: var(--dc-muted); }
.dc-name { color: #F2F5F9; font-weight: 600; }
.dc-tag { padding: 2px 5px; border-radius: 4px; background: var(--discord); color: #fff; font: 700 11px/1.2 var(--font-ui); letter-spacing: 0.02em; }
.dm-text { margin-bottom: 8px; font-size: 15px; }
.dm-text b { color: #fff; }
.dm-att { width: 420px; max-width: 100%; border-radius: 8px; overflow: hidden; }
.dm-att.card { width: 380px; overflow: visible; }
.dm-cmd { grid-column: 1 / -1; position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 6px 54px; font-size: 13px; color: var(--dc-muted); }
.dm-cmd::before { content: ""; position: absolute; left: -34px; top: 9px; width: 28px; height: 14px; border-left: 2px solid #4E5058; border-top: 2px solid #4E5058; border-top-left-radius: 6px; }
.dm-cmd b { color: #E3E5EC; font-weight: 600; }
.dm-cmd code { font-size: 12px; }
.mini-ava { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #0B1A2A; border: 1px solid var(--cyan); color: var(--cyan); font: 700 8px/1 var(--font-display); }
/* Rennankündigung (Embed, ohne Emojis, ohne Farbstreifen) */
.ann { max-width: 440px; padding: 12px 14px; border-radius: 6px; border: 1px solid var(--dc-line); background: rgba(0, 0, 0, 0.18); }
.ann-title { margin-bottom: 8px; font-size: 15px; font-weight: 700; color: #fff; }
.ann dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.ann dt { font-size: 12.5px; font-weight: 700; color: #fff; }
.ann dd { margin: 0; font-size: 13px; }
.ann dd b { color: #fff; }
.ann-count { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--dc-line); font-size: 12.5px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.ann-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.db { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 0; border-radius: 6px; color: #fff; font: 600 13px/1 var(--font-ui); cursor: pointer; }
.db .ic { font-size: 16px; }
.db.ok { background: #248046; } .db.no { background: #DA373C; } .db.res { background: var(--discord); }
.db:hover { filter: brightness(1.1); }
.dc-typing { display: flex; align-items: center; gap: 8px; padding: 0 18px 14px; font-size: 13px; color: var(--dc-muted); }
.dc-typing[hidden] { display: none; }
.dc-typing b { color: #fff; font-weight: 600; }
.dc-typing .dots { display: inline-flex; gap: 3px; }
.dc-typing .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--dc-muted); }

/* ---------- Für wen? Garagen als Reiter ---------- */
.boxes { padding-top: 40px; }
.garage .door { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, #101E35 0 11px, #1A2D4C 11px 13px); clip-path: inset(0 0 0 0); }
.garage.open .door { clip-path: inset(0 0 100% 0); }
.garage:hover { color: var(--text); }
.garage:not(.open):hover .no { color: rgba(255, 255, 255, 0.28); }
.garage-floor { scroll-margin-top: 80px; padding-bottom: 24px; }
.boxes .garages, .boxes .garage { scroll-margin-top: 100px; }
.garage-floor + .garage-floor { margin-top: 56px; }
.floor { display: grid; grid-template-columns: 5fr 6fr; gap: 44px; align-items: start; }
.floor > div { min-width: 0; }
.garage-floor h3 { font-size: 34px; line-height: 1.05; text-wrap: balance; }
.garage-floor .say { color: var(--text-muted); margin: 14px 0 22px; max-width: 62ch; text-wrap: pretty; }
.garage-floor .say b { color: var(--text); font-weight: 600; }
.garage-floor .ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.desk-col { display: grid; gap: 18px; }
.preview .shot, .logo-fig .shot { height: auto; }
.preview .caption, .pro-ovl .caption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
/* Datenblatt: Zeilen „Merkmal · Wert“ wie ein Setup-Blatt */
.sheet { margin: 0; border-top: 2px solid var(--line-strong); border-bottom: 2px solid var(--line-strong); }
.sheet > div { display: grid; grid-template-columns: minmax(128px, 34%) minmax(0, 1fr); gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.sheet > div:first-child { border-top: 0; }
.sheet dt { font: 700 16px/1.4 var(--font-display); letter-spacing: 0.03em; color: var(--text); }
.sheet dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text-body); text-wrap: pretty; }
.sheet dd b { color: var(--text); font-weight: 600; }
.sheet dd .tag, .sheet dd .chip { margin-left: 4px; vertical-align: 1px; }
.sheet dd .chip { height: 24px; font-size: 12px; }
.sheet .pro dt { color: var(--pink-text); }
.sheet .nk { color: var(--pink-text); font: 700 17px/1 var(--font-display); letter-spacing: 0.08em; }
/* Ligaleiter: Anmeldeliste und Ergebnis als Dashboard-Nachbau */
.signup, .race { padding: 16px 18px; }
.su-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.su-head b { color: var(--text); font-weight: 600; }
.su-head .demo-note { margin-left: auto; }
.su-meta { margin-top: 6px; font-size: 13px; color: var(--text-subdued); }
.su-sum { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 4px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 700 15px/1 var(--font-display); letter-spacing: 0.04em; }
.su-sum .ok, .su-list .st.ok { color: var(--success); }
.su-sum .no, .su-list .st.no { color: #F87171; }
.su-sum .res, .su-list .st.res { color: #A5ADFF; }
.su-list { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.su-list th { padding: 8px 6px 6px; text-align: left; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-subdued); }
.su-list td { padding: 6px; border-top: 1px solid var(--line); color: var(--text-body); }
.su-list td:nth-child(2) { color: var(--text); }
.su-list .nr { width: 52px; font: 700 14px/1 var(--font-display); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.su-list .td { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--tc); vertical-align: 1px; }
.su-list .st { font-weight: 600; font-size: 12.5px; }
.su-list tr.gap td { border-top: 1px solid var(--line-strong); }
.su-list tr.me td { background: var(--cyan-surface); }
.race .row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.race .su-head { margin-bottom: 4px; }
.race .pos { width: 24px; font: 700 18px/1 var(--font-display); color: var(--text); }
.race .who { flex: 1; color: var(--text); }
.race .car { color: var(--text-subdued); }
.race .pts { width: 34px; text-align: right; font: 700 16px/1 var(--font-display); color: var(--cyan); }
.race .meta { padding-top: 10px; font-size: 13px; color: var(--text-subdued); }
/* Fahrer: Yannick-Funk wie eine Funkeinblendung */
.funk { padding: 16px 18px 14px; border-radius: var(--r-lg); border: 1px solid var(--pink-border); background: linear-gradient(180deg, #13101F 0%, var(--surface) 100%); }
.funk-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.funk-ch { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 5px; background: #D6006B; color: #fff; font: 700 13px/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; }
.funk-ch .ic { font-size: 15px; }
.funk-head b { font: 700 20px/1 var(--font-display); color: var(--text); letter-spacing: 0.03em; }
.funk-head .role { font-size: 13px; color: var(--text-muted); }
.funk-replay { display: inline-flex; align-items: center; gap: 6px; height: 32px; margin-left: auto; padding: 0 12px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: transparent; color: var(--text-body); font: 600 13px/1 var(--font-ui); cursor: pointer; }
.funk-replay:hover { border-color: var(--cyan-border); color: var(--text); }
.funk-log { list-style: none; margin: 0; padding: 0; }
.fm { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; column-gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.fm .who { font: 700 14px/1.2 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-subdued); }
.fm p { grid-column: 2; font-size: 15px; line-height: 1.45; color: var(--text-body); }
.fm.y .who { color: var(--pink-text); }
.fm.y p { color: var(--text); font-weight: 500; }
.wave { grid-column: 2; display: flex; align-items: center; gap: 3px; height: 22px; margin-bottom: 6px; }
.wave > span { display: block; width: 3px; height: calc(var(--h, 0.5) * 100%); border-radius: 2px; background: var(--pink-text); opacity: 0.85; }
.fm.y .who { align-self: start; padding-top: 4px; }
.funk > figcaption { margin-top: 10px; }
/* Streamer: Overlay-Links (Nachbau) und Driver-Pro-Overlays */
.obs-path { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; width: fit-content; max-width: 100%; margin-top: 18px; padding: 9px 12px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); font-size: 14px; color: var(--text); }
.obs-path span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.obs-path span .ic { font-size: 16px; color: var(--cyan); }
.obs-path .arr { font-size: 14px; color: var(--text-subdued); }
.urls { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--cyan-border); background: #07111D; font-size: 13px; }
.urls .uh { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.urls .uh .ic { color: var(--cyan); font-size: 18px; }
.urls .uh b { font: 700 16px/1 var(--font-display); color: #fff; }
.urls .uh .demo-note { margin-left: auto; }
.urls > p { margin: 8px 0 10px; color: var(--text-subdued); font-size: 12.5px; }
.ur { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 5px 0; }
.ur > span:first-child { color: var(--text-muted); font-size: 12.5px; }
.ur code { padding: 4px 8px; background: rgba(0, 0, 0, 0.3); color: var(--cyan); font-weight: 500; font-size: 11.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ur .cp { padding: 5px 9px; border-radius: 6px; border: 1px solid var(--cyan-border); background: var(--cyan-surface); color: var(--cyan); font: 600 12px/1 var(--font-ui); }
.pro-row { display: flex; gap: 10px; align-items: flex-start; }
.pro-row .shot { width: auto; min-width: 0; height: 92px; flex: 1 1 auto; object-fit: cover; }
/* Spiele */
.games { width: 100%; border-collapse: collapse; border-top: 2px solid var(--line-strong); border-bottom: 2px solid var(--line-strong); }
.games th, .games td { padding: 14px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.games tr:first-child th, .games tr:first-child td { border-top: 0; }
.games th { width: 42%; padding-right: 18px; font-weight: 400; }
.games th b { display: block; margin-bottom: 8px; font: 700 20px/1.15 var(--font-display); color: var(--text); letter-spacing: 0.02em; }
.games th .chip { margin: 0 6px 6px 0; height: 26px; font-size: 12px; }
.games td { font-size: 14.5px; line-height: 1.5; color: var(--text-body); text-wrap: pretty; }
/* Preise */
.price-head { margin-bottom: 28px; }
.price-head .say { margin-bottom: 0; }
.price-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: start; }
.price-board { min-width: 0; }
.price-board h4 { margin-bottom: 14px; font-size: 24px; line-height: 1.1; }
.plans { width: 100%; min-width: 520px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line-strong); border-radius: var(--r-lg); overflow: hidden; background: rgba(5, 8, 15, 0.35); font-size: 14.5px; }
.plans th, .plans td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.plans td, .plans thead th { border-left: 1px solid var(--line); }
.plans thead td:first-child { border-left: 0; }
.plans thead th, .plans thead td { padding: 18px 16px 16px; vertical-align: top; background: var(--surface); }
.plans .pname { display: block; font: 700 22px/1 var(--font-display); color: var(--text); letter-spacing: 0.02em; }
.plans .price { display: block; margin-top: 10px; font: 700 34px/1 var(--font-display); color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.plans .per { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--text-muted); }
.plans tbody th { font-weight: 500; color: var(--text-body); }
.plans tbody td { font-weight: 600; color: var(--text); }
.plans tbody tr:last-child th, .plans tbody tr:last-child td { border-bottom: 0; }
.plans .yes { color: var(--cyan); font-size: 20px; vertical-align: -3px; }
.plans .no { color: var(--text-subdued); font-weight: 400; }
.price-board .incl { margin-top: 16px; font-size: 14.5px; color: var(--text-body); text-wrap: pretty; }
.price-board .incl b { color: var(--text); }
.price-board .terms { margin-top: 8px; font-size: 13.5px; color: var(--text-muted); }
.ladder { margin: 0; border-top: 2px solid var(--line-strong); border-bottom: 2px solid var(--line-strong); }
.ladder > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.ladder > div:first-child { border-top: 0; }
.ladder dt { font: 700 20px/1.2 var(--font-display); color: var(--text); letter-spacing: 0.02em; }
.ladder dd { margin: 0; }
.ladder dd.price { font: 700 22px/1.1 var(--font-display); color: var(--text); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ladder dd.price small { font: 400 13px/1 var(--font-ui); color: var(--text-muted); }
.ladder dd:last-child { grid-column: 1 / -1; font-size: 14px; line-height: 1.5; color: var(--text-body); text-wrap: pretty; }
.ladder dd:last-child b { color: var(--text); }
.ladder dd .chip { height: 24px; margin-left: 4px; font-size: 12px; }
.ladder .pro dt, .ladder .pro .price { color: var(--pink-text); }
/* Über uns */
.logo-fig { max-width: 520px; }

/* ---------- Schlussaufruf ---------- */
.start-steps { padding-top: 32px; }
.final { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: linear-gradient(90deg, rgba(0, 212, 255, 0.10), rgba(255, 0, 128, 0.08)); }
.final h2 { font-size: 30px; line-height: 1.15; text-wrap: balance; }
.final-say { margin-top: 6px; color: var(--text-muted); text-wrap: pretty; }
.final .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.foot-about { margin-top: 16px; font-size: 14px; max-width: 34ch; }
.footer a:hover { color: var(--text); }
/* Spaltentitel der Fußzeile als h2 (eigener Bereich nach dem Schlussaufruf), Gestalt wie .footer h4 in site.css */
.footer h2 { font-size: 16px; margin-bottom: 12px; letter-spacing: 0.04em; }
body:has(> .cookie:not([hidden])) .footer { padding-bottom: 140px; }
.cookie[hidden] { display: none; }

/* ---------- Breiten ---------- */
@media (min-width: 1181px) {
  .hero .wrap { align-items: start; }
  .hero-copy { padding-top: 22px; }
  .cookie { left: calc((100% - min(var(--page), 100% - 64px)) / 2); transform: none; width: calc((min(var(--page), 100% - 64px) - 48px) * 5 / 12);
    flex-wrap: wrap; gap: 12px 14px; padding: 14px 16px; }
  .cookie p { flex: 1 1 calc(100% - 40px); font-size: 13.5px; }
  .cookie .btn { flex: 1; }
}
@media (max-width: 1180px) {
  .topbar .menu { display: none; }
  .menu-more { display: block; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 720px; }
  .pgm { grid-template-columns: minmax(0, 1fr) 240px; }
  .track { grid-auto-columns: calc((100% - 2 * 14px) / 3.2); }
}
@media (max-width: 980px) {
  .rd-head, .dc-grid, .floor, .price-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .station { grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: none; padding: 0 0 26px; }
  .station .rail { grid-column: 1; grid-row: 1 / span 3; height: auto; margin: 0; }
  .station .rail::before { left: 11px; right: auto; top: 6px; bottom: -26px; width: 2px; height: auto; }
  .station:last-child .rail::before { background: linear-gradient(180deg, var(--line-strong) 60%, transparent); }
  .station .when, .station h3, .station .does { grid-column: 2; }
  .station .when { min-height: 0; }
  .station h3 { margin-top: 10px; }
  .mk { left: 10px; top: 6px; width: 4px; height: 22px; transform: translateX(-1px); }
  .mk.start { left: 0; flex-direction: column; width: auto; height: auto; top: 4px; padding: 4px 3px; }
  .mk.flag { left: 0; top: 6px; }
  .brk { right: auto; left: 3px; top: auto; bottom: -22px; width: 18px; height: 18px; transform: rotate(90deg); }
  .pgm { grid-template-columns: 1fr; gap: 14px; }
  .pgm-cap { padding-top: 0; }
  .cap-t { font-size: 26px; }
  .ctl { flex: 1 1 40%; }
  .ctl:nth-child(odd) { padding-left: 0; border-left: 0; }
  .ctl.more { flex-basis: 100%; padding-left: 0; border-left: 0; }
  .dc-copy { position: static; padding-top: 0; }
  .garages { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 168px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .garage { scroll-snap-align: start; }
  .final { flex-direction: column; align-items: flex-start; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .section { padding: 56px 0; }
  .topbar .wrap { gap: 10px; height: 64px; }
  .topbar .wrap > .lang, .topbar .wrap > .btn.primary { display: none; }
  .brand { gap: 10px; }
  .brand img { width: 44px; height: 30px; }
  .brand b { font-size: 18px; }
  .brand span { font-size: 11px; }
  .topbar .wrap > .btn.sm { height: 44px; padding: 0 12px; }
  .hero { padding: 32px 0 44px; }
  .hero h1 { font-size: 44px; line-height: 1.02; }
  .hero .lead { font-size: 17px; margin: 18px 0 24px; }
  .hero .ctas { flex-direction: column; }
  .hero .ctas .btn { width: 100%; }
  .lights { margin-bottom: 14px; }
  .lights-toggle { top: calc(13.2% + 8px); }
  .wall { grid-template-columns: 1fr; gap: 16px; padding: 14px 0; }
  .wall td, .wall th { padding: 7px 4px; white-space: nowrap; }
  .obs-feed { max-width: 380px; }
  .pitwall .wrap { gap: 8px; padding: 16px 0 18px; }
  .pitwall .label { flex-basis: 100%; margin: 0 0 4px; }
  .rd-head h2 { font-size: 36px; }
  .station .t { font-size: 36px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-head h2 { font-size: 34px; }
  .track { grid-auto-columns: 80%; }
  .lane-head { flex-wrap: wrap; }
  .lane-head p { flex-direction: column; gap: 4px; }
  .desk { padding: 16px; }
  .ctl { flex-basis: 100%; padding: 0; border-left: 0; }
  .ctl + .ctl { padding-top: 16px; border-top: 1px solid var(--line); }
  .dc-copy h2 { font-size: 30px; }
  .dc-win { grid-template-columns: 1fr; }
  .dc-side { padding-bottom: 0; border-right: 0; border-bottom: 1px solid var(--dc-line); }
  .dc-server { height: 46px; }
  .dc-chans { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding: 8px; }
  .dc-chan small { display: none; }
  .dc-chan .hash { grid-row: auto; }
  .dc-head { padding: 0 14px; }
  .dc-head .topic { display: none; }
  .dc-msgs { padding: 14px 14px 18px; }
  .dm { grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; }
  .dm-ava { width: 34px; height: 34px; font-size: 19px; }
  .dm-cmd { margin-left: 44px; }
  .dm-cmd::before { left: -28px; width: 22px; }
  .ann dl { grid-template-columns: 1fr; }
  .garages { grid-auto-columns: 152px; }
  .garage-floor h3 { font-size: 28px; }
  .sheet > div { grid-template-columns: 1fr; gap: 2px; }
  .su-list th:nth-child(3), .su-list td:nth-child(3) { display: none; }
  .race .car { display: none; }
  .ur { grid-template-columns: minmax(0, 1fr) auto; }
  .ur > span:first-child { grid-column: 1 / -1; }
  .pro-row .shot { height: 64px; }
  .games th, .games td { display: block; width: auto; padding-right: 0; }
  .games td { padding-top: 0; border-top: 0; }
  .final { padding: 22px 20px; }
  .final h2 { font-size: 26px; }
  .plans .price { font-size: 28px; }
  .final .ctas, .final .ctas .btn { width: 100%; }
  .footer .cols { grid-template-columns: 1fr; gap: 24px; }
  .footer .legal { flex-direction: column; gap: 8px; }
  .cookie { flex-wrap: wrap; gap: 12px; bottom: 12px; padding: 14px; }
  .cookie p { flex-basis: calc(100% - 40px); }
  .cookie .btn { flex: 1; }
  body:has(> .cookie:not([hidden])) .footer { padding-bottom: 260px; }
}
