/* Stage Kings, Eingangsseite. Gestaltung „Triumph“ (siehe ../../GESTALTUNG.md):
   Schwarz, Burgund, Weiß; senkrechte Bahnen; riesige gedrehte Versalien; winzige Angaben in Monoschrift; Burgund-Satin als einziger Schmuck;
   haarfeine Linien, keine runden Ecken, keine Schlagschatten. Schriften lokal (SIL OFL), keine Anfrage nach außen. */

@font-face { font-family: 'Sora'; font-style: normal; font-weight: 100 800; font-display: swap; src: url('../fonts/Sora.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; src: url('../fonts/InstrumentSans.woff2') format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/GeistMono.woff2') format('woff2'); }

:root {
  --schwarz: #000000; --burgund: #6D001A; --weiss: #FFFFFF;
  --burgund-hell: #C2183F; --burgund-tief: #3D000F; --rose: #E58A9C;
  --graphit: #161616; --rauch: #8C8C8C; --nebel: #D9D9D9;
  --tinte-2: #4A4A4A;                       /* Nebentext auf Weiß (Kontrast 8:1) */
  --f-kopf: 'Sora', 'Arial Black', 'Segoe UI', system-ui, sans-serif;
  --f-text: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --rand: clamp(16px, 3.4vw, 56px);
  --kopf-h: 46px;
  --fokus: #FFFFFF;
  --strich-dunkel: rgba(255, 255, 255, .24);
  --strich-hell: rgba(0, 0, 0, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-h) + 8px); scroll-behavior: smooth; }
body {
  margin: 0; background: var(--schwarz); color: var(--weiss);
  font: 400 clamp(16px, 1.15vw + 11px, 19px)/1.55 var(--f-text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--fokus); outline-offset: 3px; }
.hell :focus-visible, .hell-fokus:focus-visible { --fokus: #000000; outline-color: #000000; }
.nur-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 8px; top: -80px; z-index: 100; background: var(--weiss); color: var(--schwarz); padding: 10px 14px; font: 600 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.sprung:focus { top: 8px; }

/* ---------- Bausteine ---------- */
.mono { font: 500 11px/1.5 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.kontur { transform: translateZ(0); color: transparent; -webkit-text-stroke: 1.5px var(--strich, #fff); }
.satin {
  background:
    linear-gradient(112deg, transparent 0 38%, rgba(255,255,255,.07) 44%, rgba(255,255,255,.30) 47.5%, rgba(255,255,255,.06) 51%, transparent 57%),
    linear-gradient(112deg, rgba(255,255,255,.0) 70%, rgba(194,24,63,.35) 78%, rgba(255,255,255,0) 86%),
    linear-gradient(112deg, var(--burgund-tief) 0%, var(--burgund) 28%, #7d0723 44%, var(--burgund) 60%, var(--burgund-tief) 100%);
}
.hell { background: var(--weiss); color: var(--schwarz); --strich: #000; }
.dunkel { background: var(--schwarz); color: var(--weiss); --strich: #fff; }

/* ---------- Kopfleiste ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50; height: var(--kopf-h);
  display: flex; align-items: stretch; justify-content: space-between;
  background: var(--schwarz); border-bottom: 1px solid var(--strich-dunkel);
}
.kopf a { text-decoration: none; display: flex; align-items: center; }
.kopf .marke { padding-inline: var(--rand); gap: 12px; font: 800 13px/1 var(--f-kopf); letter-spacing: .16em; text-transform: uppercase; }
.kopf .marke svg { width: 22px; height: 22px; color: var(--weiss); }
.kopf nav { display: flex; align-items: stretch; }
.kopf nav a { padding-inline: clamp(12px, 1.8vw, 26px); border-left: 1px solid var(--strich-dunkel); font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.kopf nav a:hover { background: var(--graphit); }
.kopf nav a.nav-los { background: var(--weiss); color: var(--schwarz); font-weight: 700; }
.kopf nav a.nav-los:hover { background: var(--burgund); color: var(--weiss); }
.kopf nav a.nav-los:focus-visible { outline-color: #000; outline-offset: -5px; }
@media (max-width: 760px) { .kopf nav a:not(.nav-los) { display: none; } }

/* ---------- Auftakt: drei Bahnen ---------- */
.auftakt {
  --fs: clamp(44px, min(calc((100svh - var(--kopf-h) - 112px - 110px) / 6.55), 15vw), 168px);
  --bahn: calc(var(--fs) * 1.16); --bahn2: calc(var(--fs) * 1.66);
  position: relative; display: grid; grid-template-columns: var(--bahn) var(--bahn2) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) 112px;
  height: max(600px, calc(100svh - var(--kopf-h))); background: var(--schwarz);
}
.wortmarke { display: contents; }
.wm-bahn { position: relative; display: flex; justify-content: center; align-items: flex-end; padding-bottom: 28px; overflow: hidden; border-right: 1px solid var(--strich-dunkel); }
.wm-1 { background: var(--schwarz); }
.wm-2 { background-color: var(--burgund); justify-content: flex-end; padding-right: calc(var(--fs) * .07); }
.wm-bahn .nr { position: absolute; top: 14px; left: 0; right: 0; text-align: center; color: #fff; opacity: .8; }
.wm-bahn b {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 800 var(--fs)/1 var(--f-kopf); letter-spacing: -.02em; text-transform: uppercase; color: var(--weiss);
  position: relative; white-space: nowrap;
}
.wm-bahn b .oe { position: relative; display: inline-block; }
.kranz { position: absolute; width: .62em; height: .62em; right: -.13em; top: 50%; translate: 0 -50%; color: #fff; fill: #fff; transform: rotate(0deg); pointer-events: none; }
/* Der Kranz steht über dem Ö: im gedrehten Wort liegt „oben“ links. */
.wm-bahn b .oe .kranz { right: -.74em; left: auto; top: 50%; translate: 0 -50%; transform: rotate(90deg); width: .66em; height: .66em; }

.bild-bahn { position: relative; grid-column: 3; overflow: hidden; background: var(--graphit); }
.bild-bahn picture, .bild-bahn picture img { width: 100%; height: 100%; }
.bild-bahn picture img { object-fit: cover; object-position: 42% 40%; }
.bild-bahn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.78) 100%), linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 45%); pointer-events: none; }
/* Logo und Textzeile über dem Titelbild */
.hero-text { position: absolute; z-index: 2; left: clamp(18px, 3.2vw, 48px); right: clamp(18px, 3.2vw, 48px); bottom: clamp(18px, 3.4vh, 40px); display: grid; grid-template-columns: auto 1fr; column-gap: clamp(14px, 2vw, 28px); align-items: end; color: #fff; }
.hero-logo { grid-row: 1 / 3; width: clamp(96px, 11vw, 168px); height: auto; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 10px 0 rgba(0,0,0,.55); background: #000; }
.hero-zeile { margin: 0; align-self: end; font: 800 clamp(34px, 5.2vw, 84px)/.95 Sora, sans-serif; letter-spacing: -.03em; text-transform: uppercase; text-wrap: balance; text-shadow: 0 4px 0 rgba(0,0,0,.6); }
.hero-unter { margin: 10px 0 4px; align-self: start; max-width: 46ch; font: 500 clamp(14px, 1.35vw, 19px)/1.4 'Instrument Sans', sans-serif; color: rgba(255,255,255,.92); }
.js .hero-text { animation: bahn-ein .8s .7s ease-out both; }
.bild-angabe { position: absolute; z-index: 2; left: 16px; bottom: 14px; color: #fff; text-shadow: 0 0 12px rgba(0,0,0,.65); }
.bild-angabe span { display: block; }

.auftakt-unten { grid-column: 1 / 3; grid-row: 2; background: var(--schwarz); border-top: 1px solid var(--strich-dunkel); border-right: 1px solid var(--strich-dunkel); padding: 18px 16px; display: flex; flex-direction: column; justify-content: center; gap: 4px; color: var(--weiss); }
.auftakt-unten span { display: block; opacity: .85; }
.auftakt-los { grid-column: 3; grid-row: 2; display: grid; grid-template-rows: 1fr 40px; background: var(--schwarz); }
.knopf {
  display: flex; align-items: center; justify-content: center; gap: 18px; text-decoration: none; cursor: pointer;
  background: var(--weiss); color: var(--schwarz); border: 0; border-radius: 0;
  font: 800 clamp(18px, 2.2vw, 30px)/1 var(--f-kopf); letter-spacing: .22em; text-transform: uppercase; padding: 0 24px;
  transition: background-color .2s ease-out, color .2s ease-out;
}
.knopf svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.2; flex: none; transition: transform .25s ease-out; }
.knopf:hover { background: var(--burgund); color: var(--weiss); }
.knopf:hover svg { transform: translateX(6px); }
.knopf:focus-visible { outline: 2px solid #000; outline-offset: -8px; }
.knopf:hover:focus-visible { outline-color: #fff; }
.knopf.satin-knopf { background: none; }
.zeile-frei { display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; border-top: 1px solid var(--strich-dunkel); padding-inline: 8px; }

/* Gleiten beim Laden und Einblenden */
@keyframes bahn-auf { from { transform: translateY(7%); opacity: 0; clip-path: inset(0 0 100% 0); } to { transform: none; opacity: 1; clip-path: inset(0); } }
@keyframes bahn-ein { from { opacity: 0; transform: translateY(5%); } to { opacity: 1; transform: none; } }
.js .wm-bahn, .js .bild-bahn { animation: bahn-auf .9s cubic-bezier(.16, .84, .3, 1) both; }
.js .wm-2 { animation-delay: .1s; } .js .bild-bahn { animation-delay: .22s; }
.js .auftakt-unten, .js .auftakt-los { animation: bahn-ein .8s .5s ease-out both; }
.js [data-gleit] { opacity: 0; transform: translateY(48px); transition: opacity .8s ease-out, transform .9s cubic-bezier(.16, .84, .3, 1); transition-delay: calc(var(--i, 0) * 110ms); }
.js [data-gleit].ein { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .auftakt { --fs: min(calc((100svh - var(--kopf-h) - 112px - 90px) / 6.55), 17vw); grid-template-rows: minmax(0, 1fr) 124px; }
  .auftakt-unten { font-size: 10px; padding: 12px 10px; letter-spacing: .1em; }
  .auftakt-los { grid-template-rows: 1fr 52px; }
  .knopf { letter-spacing: .12em; gap: 10px; padding: 0 10px; font-size: 18px; }
  .zeile-frei { font-size: 9.5px; letter-spacing: .08em; line-height: 1.35; }
  .bild-angabe { display: none; }
  .bild-bahn picture img { object-position: 63% 30%; }
  .hero-text { grid-template-columns: 1fr; row-gap: 8px; left: 12px; right: 12px; bottom: 12px; }
  .hero-logo { grid-row: auto; width: 72px; border-width: 2px; }
  .hero-zeile { font-size: clamp(24px, 8.4vw, 40px); }
  .hero-unter { font-size: 13px; margin: 2px 0 0; }
}

/* ---------- Abschnitte ---------- */
.abschnitt { position: relative; }
.sk { padding: clamp(56px, 9vw, 120px) var(--rand) clamp(32px, 5vw, 64px); display: grid; gap: 18px; }
.sk .mono { display: flex; gap: 14px; align-items: center; }
.sk .mono::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: .3; }
.sk h2 { font: 800 clamp(42px, 8.2vw, 132px)/.9 var(--f-kopf); letter-spacing: -.025em; text-transform: uppercase; overflow-wrap: break-word; }
.sk p.lead { max-width: 56ch; font-size: clamp(17px, 1.3vw + 10px, 22px); line-height: 1.5; opacity: .92; }
.hell .sk p.lead { color: #1c1c1c; opacity: 1; }

/* Bahnenreihe */
.bahnen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--strich-dunkel); }
.hell .bahnen { border-top-color: var(--strich-hell); }
.bahn { position: relative; padding: clamp(18px, 2.2vw, 34px); min-height: 560px; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(14px, 2vw, 28px); align-content: start; border-right: 1px solid var(--strich-dunkel); overflow: hidden; }
.bahn:last-child { border-right: 0; }
.hell .bahn { border-right-color: var(--strich-hell); }
.bahn .ordnung { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.bahn .gedreht { grid-row: 2 / span 3; grid-column: 1; writing-mode: vertical-rl; transform: rotate(180deg); font: 800 clamp(48px, 6.4vw, 104px)/1 var(--f-kopf); letter-spacing: -.02em; text-transform: uppercase; align-self: stretch; white-space: nowrap; }
.bahn .inhalt { grid-column: 2; display: grid; gap: 16px; align-content: start; min-width: 0; }
.bahn h3 { font: 800 clamp(21px, 1.7vw, 28px)/1.1 var(--f-kopf); letter-spacing: -.01em; text-transform: uppercase; }
.bahn p:not(.mono):not(.zahl-riesig) { font-size: clamp(16px, .6vw + 12px, 18.5px); }
.bahn .zahl-riesig { font: 800 clamp(96px, 13vw, 210px)/.8 var(--f-kopf); letter-spacing: -.04em; margin-left: -.04em; }

/* Was man tut: weiß */
.tun .bahn { min-height: 520px; }
.tun .bahn .gedreht { color: var(--schwarz); }
.tun .bahn.b-burgund .gedreht, .tun .bahn.b-burgund { color: var(--weiss); }
.tun .bahn.b-schwarz { background: var(--schwarz); color: var(--weiss); }
.tun .bahn.b-burgund { border-right-color: var(--strich-dunkel); }
.tun .fakten { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid currentColor; }
.tun .fakten div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid currentColor; }
.tun .fakten dt, .tun .fakten dd { margin: 0; }
.tun .fakten div { border-color: rgba(128,128,128,.55); }

/* Bordkarte: Burgund-Satin-Band */
.bordkarte { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: clamp(36px, 5vw, 72px) var(--rand); color: var(--weiss); align-items: end; }
.bordkarte h2 { font: 800 clamp(32px, 5.2vw, 78px)/.92 var(--f-kopf); letter-spacing: -.02em; text-transform: uppercase; }
.bordkarte p { max-width: 60ch; font-size: clamp(17px, 1.1vw + 10px, 21px); }
.feldleiste { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; max-width: 760px; }
.feldleiste i { height: 14px; border: 1px solid #fff; }
.feldleiste i.voll { background: #fff; }
.feldleiste-bahn { display: grid; gap: 10px; }
@media (min-width: 900px) { .bordkarte { grid-template-columns: 1.1fr 1fr; gap: 56px; } }

/* Etappen: drei Bahnen nach der Vorlage (Schwarz, Burgund, Weiß) */
.etappen .bahn { min-height: 700px; }
.etappen .b-1 { background: var(--schwarz); color: #fff; --strich: #fff; }
.etappen .b-2 { color: #fff; --strich: #fff; }
.etappen .b-3 { background: var(--weiss); color: var(--schwarz); --strich: #000; border-right: 0; }
.etappen .bahn .gedreht { font-size: clamp(34px, 3.6vw, 56px); letter-spacing: -.01em; }
.etappen .eckdaten { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; padding-block: 14px; border-block: 1px solid rgba(128,128,128,.6); }
.etappen .eckdaten dt { opacity: .75; } .etappen .eckdaten dd { margin: 2px 0 0; font: 700 15px/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.etappen .strecke { counter-reset: abs; border-top: 1px solid rgba(128,128,128,.6); }
.etappen .strecke li { display: grid; grid-template-columns: 2.2em 1fr auto; gap: 8px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid rgba(128,128,128,.6); font: 500 12px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.etappen .strecke li span:first-child { opacity: .7; }
.etappen .strecke li .kp { width: 7px; height: 7px; border: 1px solid currentColor; align-self: center; }
.etappen .strecke li .kp.voll { background: currentColor; }
.etappen .legende { display: flex; gap: 10px; align-items: center; margin-top: -4px; opacity: .8; }
.etappen .legende i { width: 7px; height: 7px; border: 1px solid currentColor; display: inline-block; }

/* Buggys: Datenblätter auf Weiß */
.buggys .bahn { display: block; min-height: 0; padding: 0; }
.buggys .bahn figure { border-bottom: 1px solid var(--strich-hell); background: var(--nebel); position: relative; }
.buggys .bahn figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.buggys .bahn figcaption { position: absolute; left: 14px; top: 12px; color: #000; background: #fff; padding: 4px 8px; }
.buggys .blatt { padding: clamp(18px, 2.2vw, 34px); display: grid; gap: 16px; }
.buggys .blatt h3 { font: 800 clamp(34px, 3.5vw, 60px)/.92 var(--f-kopf); overflow-wrap: anywhere; letter-spacing: -.025em; text-transform: uppercase; }
.buggys .blatt .ordnung { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.buggys .blatt p { color: #1a1a1a; }
.messwerte { display: grid; gap: 8px; padding-block: 14px; border-block: 1px solid var(--strich-hell); }
.messwerte div { display: grid; grid-template-columns: 7.4em 1fr 2.4em; gap: 12px; align-items: center; }
.messwerte .linie { height: 3px; background: #D9D9D9; position: relative; }
.messwerte .linie i { position: absolute; inset: 0 auto 0 0; background: var(--schwarz); width: var(--w); }
.messwerte dd { margin: 0; text-align: right; }
.signatur { display: grid; gap: 4px; }
.signatur .mono { color: var(--tinte-2); }
.signatur strong { font: 700 15px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.frei-ab { color: var(--burgund); font-weight: 700; }
.sieger { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--strich-hell); }
.sieger figure { position: relative; background: var(--nebel); }
.sieger img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.sieger .text { padding: clamp(24px, 4vw, 56px) var(--rand); display: grid; gap: 14px; align-content: center; color: #fff; }
.sieger .text h3 { font: 800 clamp(34px, 5vw, 76px)/.92 var(--f-kopf); letter-spacing: -.02em; text-transform: uppercase; }
.sieger .text p { max-width: 48ch; font-size: clamp(17px, 1vw + 11px, 20px); }
@media (min-width: 900px) { .sieger { grid-template-columns: 1fr 1fr; } }

/* Steuerung */
.steuerung .bahn { min-height: 0; display: block; }
.tasten { display: grid; gap: 0; border-top: 1px solid var(--strich-dunkel); margin-top: 6px; }
.tasten li { display: grid; grid-template-columns: minmax(7.4em, 38%) 1fr; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--strich-dunkel); font-size: 15.5px; line-height: 1.35; }
.tasten kbd { display: inline-flex; flex-wrap: wrap; gap: 4px; font: 600 11.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.tasten kbd span { border: 1px solid #fff; padding: 6px 8px; min-width: 2.2em; text-align: center; }
.tasten kbd em { font-style: normal; align-self: center; opacity: .7; padding-inline: 2px; }
.steuerung .bahn h3 { margin-bottom: 4px; }
.steuerung .bahn > .mono { margin-bottom: 18px; display: flex; justify-content: space-between; }
.steuerung .bahn > p:not(.mono) { margin: 10px 0 14px; }

/* Bildstreifen */
/* Fragen und Antworten */
.fragen-liste { padding: 0 var(--rand) clamp(56px, 8vw, 110px); max-width: 1100px; }
.fragen details { border-top: 1px solid var(--strich-hell, #000); }
.fragen details:last-child { border-bottom: 1px solid var(--strich-hell, #000); }
.fragen summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary h3 { margin: 0; font: 700 clamp(19px, 1.2vw + 12px, 28px)/1.2 var(--f-kopf); letter-spacing: -.01em; }
.fragen summary::after { content: '+'; flex: none; width: 40px; height: 40px; display: grid; place-items: center; background: #000; color: #fff; font: 500 24px/1 var(--f-kopf); }
.fragen details[open] summary::after { content: '–'; background: var(--burgund, #6d001a); }
.fragen details p { margin: 0 0 26px; max-width: 62ch; font-size: clamp(16px, .6vw + 13px, 19px); line-height: 1.55; color: #1c1c1c; }
.bilder { border-top: 1px solid var(--strich-dunkel); }
.bilder .sk { padding-bottom: 24px; }
.streifen-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-inline: var(--rand); padding-bottom: 14px; }
.pfeile { display: flex; gap: 0; }
.pfeile button { appearance: none; background: transparent; color: #fff; border: 1px solid #fff; border-radius: 0; width: 52px; height: 44px; cursor: pointer; display: grid; place-items: center; }
.pfeile button + button { border-left: 0; }
.pfeile button:hover { background: #fff; color: #000; }
.pfeile button:focus-visible { outline-offset: 2px; }
.pfeile svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.streifen { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #fff #161616; border-block: 1px solid var(--strich-dunkel); }
.streifen:focus-visible { outline-offset: -4px; }
.streifen figure { flex: 0 0 clamp(300px, 48vw, 760px); scroll-snap-align: start; border-right: 1px solid var(--strich-dunkel); position: relative; }
.streifen img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.streifen figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px 16px; }
.streifen figcaption span:last-child { opacity: .7; }
.bilder .fussnote { padding: 18px var(--rand) 56px; color: var(--rauch); max-width: 80ch; }

/* Schlussruf */
.schluss { display: grid; gap: 28px; padding: clamp(48px, 8vw, 120px) var(--rand); text-align: left; overflow: hidden; color: #fff; }
.schluss h2 { font: 800 clamp(44px, 11vw, 190px)/.86 var(--f-kopf); letter-spacing: -.035em; text-transform: uppercase; }
.schluss h2 .ton { color: rgba(255, 255, 255, .5); }
.schluss .knopf { width: min(100%, 520px); height: 84px; justify-content: space-between; padding-inline: 28px; }

/* Fuß */
.fuss { background: var(--schwarz); border-top: 1px solid var(--strich-dunkel); }
.fuss-bahnen { display: grid; grid-template-columns: 1fr 1fr 1fr; min-height: 76px; }
.fuss-bahnen > * { padding: 22px var(--rand) 22px 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; margin: 0; }
.fuss-bahnen .f-satin { display: block; align-content: center; line-height: 1.6; }
.fuss-bahnen > *:first-child { padding-left: var(--rand); }
.fuss-bahnen .f-satin { color: #fff; }
.fuss-bahnen .f-weiss { background: var(--weiss); color: var(--schwarz); justify-content: flex-end; }
.fuss a { text-decoration: none; }
.fuss a:hover { text-decoration: underline; text-underline-offset: 4px; }
.fuss-bahnen .f-weiss a:focus-visible { outline-color: #000; }
.fuss-text { padding: 22px var(--rand) 34px; color: var(--rauch); max-width: 100ch; border-top: 1px solid var(--strich-dunkel); }
.fuss-text a { color: #fff; }
@media (max-width: 760px) {
  .fuss-bahnen { grid-template-columns: 1fr; }
  .fuss-bahnen .f-weiss { justify-content: flex-start; }
  .fuss-bahnen > *:first-child { padding-left: var(--rand); }
}

/* ---------- schmale Lagen: Bahnen werden Bänder ---------- */
@media (max-width: 899px) {
  .bahnen { grid-template-columns: 1fr; }
  .bahn { min-height: 0 !important; border-right: 0; border-bottom: 1px solid var(--strich-dunkel); grid-template-columns: 1fr; padding: 22px var(--rand) 30px; }
  .hell .bahn { border-bottom-color: var(--strich-hell); }
  .bahn .gedreht { writing-mode: horizontal-tb; transform: none; grid-row: auto; grid-column: 1; font-size: clamp(48px, 15vw, 100px); margin-bottom: 14px; align-self: auto; }
  .bahn .inhalt { grid-column: 1; }
  .etappen .bahn .gedreht { font-size: clamp(30px, 8.4vw, 56px); line-height: 1; margin-bottom: 4px; }
  .etappen .bahn .zahl-riesig { font-size: 120px; margin: 18px 0 10px; }
  .etappen .b-2, .etappen .b-1, .etappen .b-3 { border-bottom: 1px solid var(--strich-dunkel); }
  .etappen .b-3 { border-bottom: 0; }
  .buggys .bahn { border-bottom: 1px solid var(--strich-hell); }
  .tasten li { grid-template-columns: minmax(6.5em, 40%) 1fr; }
}
@media (min-width: 900px) and (max-width: 1180px) {
  .tasten li { grid-template-columns: 1fr; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .wm-bahn, .js .bild-bahn, .js .auftakt-unten, .js .auftakt-los, .js .hero-text { animation: none; }
  .js [data-gleit] { opacity: 1; transform: none; transition: none; }
  .knopf, .knopf svg { transition: none; }
  .knopf:hover svg { transform: none; }
}
@media print { .kopf { position: static; } body { background: #fff; color: #000; } }

/* ---------- Rechtstexte ---------- */
.recht-seite { background: var(--weiss); color: var(--schwarz); }
.recht-kopf { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--schwarz); color: #fff; padding: 0 var(--rand); min-height: var(--kopf-h); border-bottom: 1px solid var(--strich-dunkel); flex-wrap: wrap; }
.recht-kopf a { text-decoration: none; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; padding: 14px 0; }
.recht-kopf .marke { font: 800 13px/1 var(--f-kopf); letter-spacing: .16em; }
.recht { max-width: 78ch; margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--rand) 96px; }
.recht h1 { font: 800 clamp(42px, 8vw, 96px)/.92 var(--f-kopf); letter-spacing: -.025em; text-transform: uppercase; margin-bottom: 28px; }
.recht h2 { font: 800 clamp(20px, 2vw, 26px)/1.2 var(--f-kopf); letter-spacing: -.005em; margin: 42px 0 10px; padding-top: 14px; border-top: 1px solid var(--strich-hell); }
.recht p { margin: 0 0 14px; }
.recht a { color: var(--burgund); text-underline-offset: 3px; }
.recht-fuss { background: var(--schwarz); color: #fff; padding: 22px var(--rand); border-top: 1px solid var(--strich-dunkel); display: flex; gap: 24px; flex-wrap: wrap; }
.recht-fuss a { text-decoration: none; } .recht-fuss a:hover { text-decoration: underline; }

/* Vorlader "Startampel": fünf Lichter gehen nacheinander an, dann "Los!", dann fahren fünf Bahnen abwechselnd nach oben
   und unten weg und geben die Seite frei. Nur beim ersten Aufruf je Sitzung, nur mit JS, nicht bei reduzierter Bewegung. */
.start { display: none; }
.vorlauf .start { display: block; position: fixed; inset: 0; z-index: 200; cursor: pointer; animation: start-ende .01s linear 2.2s forwards; }
.vorlauf body { overflow: hidden; }
.vorlauf .wm-bahn, .vorlauf .bild-bahn, .vorlauf .auftakt-unten, .vorlauf .auftakt-los, .vorlauf .hero-text { animation-play-state: paused; }
.start-bahnen { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.start-bahnen i { display: block; background: var(--schwarz); border-right: 1px solid rgba(255,255,255,.14); animation: start-hoch .62s cubic-bezier(.7, 0, .2, 1) forwards; }
.start-bahnen i:nth-child(even) { animation-name: start-runter; }
.start-bahnen i:nth-child(3) { background: linear-gradient(112deg, var(--burgund-tief) 0%, var(--burgund) 28%, #7d0723 44%, var(--burgund) 60%, var(--burgund-tief) 100%); }
.start-bahnen i:nth-child(1) { animation-delay: 1.50s; } .start-bahnen i:nth-child(2) { animation-delay: 1.56s; }
.start-bahnen i:nth-child(3) { animation-delay: 1.62s; } .start-bahnen i:nth-child(4) { animation-delay: 1.68s; }
.start-bahnen i:nth-child(5) { animation-delay: 1.74s; border-right: 0; }
.start-mitte { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: clamp(18px, 3vh, 34px); color: #fff; animation: start-aus .22s ease-in 1.42s forwards; }
.start-zeile { display: flex; gap: 28px; margin: 0; opacity: .8; }
.start-ampel { display: flex; gap: clamp(10px, 2vw, 22px); padding: clamp(12px, 1.6vw, 20px) clamp(14px, 2vw, 26px); background: #0b0b0b; border: 1px solid rgba(255,255,255,.28); }
.start-ampel i { display: block; width: clamp(34px, 6.4vw, 78px); aspect-ratio: 1; border-radius: 50%; background: #1b1b1b; box-shadow: inset 0 0 0 2px rgba(255,255,255,.16); animation: start-licht .01s linear forwards, start-gruen .01s linear 1.12s forwards; }
.start-ampel i:nth-child(1) { animation-delay: .18s, 1.12s; } .start-ampel i:nth-child(2) { animation-delay: .36s, 1.12s; }
.start-ampel i:nth-child(3) { animation-delay: .54s, 1.12s; } .start-ampel i:nth-child(4) { animation-delay: .72s, 1.12s; }
.start-ampel i:nth-child(5) { animation-delay: .90s, 1.12s; }
.start-los, .start-marke { grid-area: 3 / 1; margin: 0; font: 800 clamp(44px, 9vw, 132px)/.95 var(--f-kopf); letter-spacing: -.03em; text-transform: uppercase; text-align: center; }
.start-marke { animation: start-aus .01s linear 1.12s forwards; }
.start-los { opacity: 0; animation: start-knall .3s cubic-bezier(.2, 1.5, .4, 1) 1.12s forwards; }
@keyframes start-licht { to { background: var(--burgund-hell); box-shadow: 0 0 0 2px #fff, 0 0 34px 6px rgba(194, 24, 63, .75); } }
@keyframes start-gruen { to { background: #fff; box-shadow: 0 0 0 2px #fff, 0 0 44px 10px rgba(255, 255, 255, .7); } }
@keyframes start-knall { from { opacity: 0; transform: scale(.6) rotate(-4deg); } to { opacity: 1; transform: scale(1) rotate(-2deg); } }
@keyframes start-aus { to { opacity: 0; } }
@keyframes start-hoch { to { transform: translateY(-101%); } }
@keyframes start-runter { to { transform: translateY(101%); } }
@keyframes start-ende { to { visibility: hidden; pointer-events: none; } }
