/* =============================================================================
   mariusworch.de/start — die Zeitreise. Baut auf mw.css auf (Farben, Hero, Buchung).
   Fast nur Typografie: ein Porträt oben, danach tragen Zahlen und Überschriften.
   ============================================================================= */
.st { --achse: 236px; }
html { scroll-behavior: smooth; }

/* ---------- Hero ---------- */
.st-hero { padding-bottom: 104px; }
.st-hero .mw-hero-raster { padding-top: 52px; }
.st-hero h1 { font-size: clamp(44px, 6.2vw, 72px); }

/* ---------- Zeitstrahl ---------- */
.st-reise { position: relative; padding-block: 112px 24px; }
.st-stationen { position: relative; list-style: none; margin: 0; padding: 0; }
.st-faden {
  position: absolute; left: var(--achse); top: 14px; bottom: 120px; width: 1px;
  background: var(--linie); pointer-events: none;
}
.st-faden span {
  position: absolute; inset: 0; transform-origin: top; transform: scaleY(var(--fortschritt, 0));
  background: linear-gradient(180deg, var(--blau-hell), var(--blau));
}
.st-station {
  position: relative; display: grid; grid-template-columns: var(--achse) minmax(0, 1fr);
  padding-bottom: 116px;
}
.st-letzte { padding-bottom: 96px; }
.st-punkt {
  position: absolute; z-index: 1; left: calc(var(--achse) - 5px); top: 9px; width: 11px; height: 11px;
  border-radius: 3px; background: var(--papier); border: 2px solid var(--blau-nebel-2);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.st-station.da .st-punkt { background: var(--blau); border-color: var(--blau); box-shadow: 0 0 0 6px rgba(54, 92, 214, .13); }

.st-zeit { padding-right: 52px; text-align: right; }
.st-zeit > div { position: sticky; top: 36px; }
.st-nr {
  display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .2em; color: var(--blau);
  font-variant-numeric: tabular-nums;
}
.st-wann {
  display: block; margin-top: 6px; font-family: var(--schrift-display);
  font-size: 24px; line-height: 1.15; font-weight: 750; letter-spacing: -.02em; color: var(--tinte);
}

.st-inhalt { padding-left: 60px; min-width: 0; }
.st-inhalt h2 {
  margin: -4px 0 22px; max-width: 640px; font-family: var(--schrift-display);
  font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; font-weight: 800; letter-spacing: -.028em; color: var(--tinte);
  text-wrap: balance;
}
.st-inhalt p { margin: 0 0 16px; max-width: 620px; font-size: 18.5px; line-height: 1.75; color: #353b4d; }
.st-inhalt p:last-child { margin-bottom: 0; }

/* Einblenden beim Scrollen — nur mit JS, ohne bleibt alles sichtbar */
.js .st-station .st-zeit, .js .st-station .st-inhalt { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .st-station .st-inhalt { transition-delay: .08s; }
.js .st-station.da .st-zeit, .js .st-station.da .st-inhalt { opacity: 1; transform: none; }

/* ---------- Zahlen (Station 04) ---------- */
.st-zahlen {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 30px 0 32px; padding: 38px 8px;
  border-radius: var(--radius-gross); color: var(--dunkel-text);
  background: radial-gradient(900px 420px at 85% -120px, var(--nacht-glanz) 0%, var(--nacht-2) 48%, var(--nacht) 100%);
  box-shadow: 0 30px 70px rgba(12, 20, 48, .22);
}
.st-zahlen > div { padding: 0 24px; border-left: 1px solid rgba(157, 180, 245, .16); }
.st-zahlen > div:first-child { border-left: 0; }
.st-zahlen dt {
  font-family: var(--schrift-display); font-size: clamp(30px, 3.3vw, 46px); line-height: 1.1; font-weight: 800;
  letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap;
  background: linear-gradient(100deg, #ffffff 0%, #a9bdf7 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #fff;
}
.st-zahlen dd { margin: 12px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--dunkel-grau); }

/* ---------- Stimmen: leiser Schalter, laute Wand ---------- */
.st-mehr {
  display: flex; align-items: center; gap: 16px; width: 100%; max-width: 620px; margin-top: 30px; padding: 18px 2px;
  font: inherit; font-size: 16px; font-weight: 600; color: var(--grau); text-align: left; cursor: pointer;
  background: none; border: 0; border-block: 1px solid var(--linie);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.st-mehr span { flex: 1; }
.st-mehr svg {
  flex: 0 0 auto; width: 34px; height: 34px; padding: 8px; border-radius: 50%;
  color: var(--blau); background: var(--blau-nebel); transition: transform .45s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.st-mehr:hover { color: var(--tinte); border-color: #cfd6ea; }
.st-mehr:hover svg { background: var(--blau); color: #fff; }
.st-mehr[aria-expanded="true"] svg { transform: rotate(135deg); }

.st-stimmen {
  grid-column: 1 / -1; position: relative; z-index: 2;
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease);
}
.st-stimmen.offen { grid-template-rows: 1fr; }
.st-stimmen-innen { min-height: 0; overflow: hidden; }
.st-stimmen-karte {
  margin-top: 44px; padding: 56px 48px 44px; border-radius: 28px; color: var(--dunkel-text);
  background: radial-gradient(1100px 560px at 80% -200px, var(--nacht-glanz) 0%, var(--nacht-2) 44%, var(--nacht) 100%);
  box-shadow: 0 40px 90px rgba(12, 20, 48, .3);
}
.st-stimmen-karte h3 {
  margin: 0; max-width: 760px; font-family: var(--schrift-display); font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08;
  font-weight: 800; letter-spacing: -.03em; color: #fff; text-wrap: balance;
}
.st-stimmen-karte h3 em {
  font-style: normal;
  background: linear-gradient(100deg, #c3d1fb 0%, #7d9bf2 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--blau-hell);
}
.st-stimmen-unter { margin: 16px 0 0; max-width: 560px; font-size: 16px; line-height: 1.6; color: var(--dunkel-grau); }
.st-stimmen-unter a { color: var(--blau-hell); }

.st-wand { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.st-stimme { grid-column: span 2; align-self: start; min-width: 0; }
.st-stimme.gross { grid-column: span 3; }
.st-stimme-bild {
  position: relative; display: block; width: 100%; padding: 0; overflow: hidden; aspect-ratio: 16 / 9;
  font: inherit; color: inherit; border: 0; border-radius: 16px; cursor: pointer;
  background: var(--nacht-2); box-shadow: 0 0 0 1px rgba(157, 180, 245, .16), 0 18px 40px rgba(3, 7, 22, .45);
}
div.st-stimme-bild { cursor: default; }
.st-stimme-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s var(--ease); filter: saturate(.92) brightness(.9); }
.st-stimme-bild::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(12, 20, 48, 0) 45%, rgba(12, 20, 48, .82) 100%); }
button.st-stimme-bild:hover img, button.st-stimme-bild:focus-visible img { transform: scale(1.04); filter: none; }
/* Das Video läuft an Ort und Stelle in der Karte, nicht in einem Überlagerungsfenster */
.st-stimme-bild.spielt { background: #000; }
.st-stimme-bild.spielt::after { display: none; }
.st-stimme-bild iframe, .st-stimme-bild video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.st-play {
  position: absolute; z-index: 1; left: 14px; bottom: 14px; display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; color: var(--nacht); background: #fff; box-shadow: 0 8px 22px rgba(3, 7, 22, .45);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.st-play svg { width: 18px; height: 18px; margin-left: 2px; }
button.st-stimme-bild:hover .st-play { background: var(--blau); color: #fff; transform: scale(1.06); }
.st-dauer {
  position: absolute; z-index: 1; right: 12px; bottom: 14px; padding: 3px 8px; border-radius: 6px;
  font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; color: #fff; background: rgba(12, 20, 48, .6);
}
.st-marke {
  position: absolute; z-index: 1; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: rgba(54, 92, 214, .88);
}
.st-stimme-name { display: block; margin: 14px 2px 0; font-family: var(--schrift-display); font-size: 18px; font-weight: 750; letter-spacing: -.01em; color: #fff; }
.st-stimme.gross .st-stimme-name { font-size: 21px; }
.st-stimme-satz { display: block; margin: 4px 2px 0; font-size: 14.5px; line-height: 1.5; color: var(--dunkel-grau); }

.st-stimmen .st-stimme, .st-stimmen .st-stimmen-karte > * { opacity: 0; }
.st-stimmen.offen .st-stimmen-karte > * { animation: stRein .7s var(--ease) .15s both; }
.st-stimmen.offen .st-stimme { animation: stKarte .7s var(--ease) both; animation-delay: calc(var(--i) * 55ms + 380ms); }
@keyframes stRein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes stKarte { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Schluss ---------- */
.st-schluss { padding-block: 104px 170px; }
.st-schluss h2 {
  margin: 0; font-family: var(--schrift-display); font-size: clamp(38px, 5.2vw, 58px); line-height: 1.05;
  font-weight: 800; letter-spacing: -.03em; color: #fff;
}
.st-schluss h2 em {
  font-style: normal;
  background: linear-gradient(100deg, #c3d1fb 0%, #7d9bf2 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--blau-hell);
}
.st-schluss .mw-lead, .st-schluss .mw-text { max-width: 600px; }
.st .ub-feld textarea { min-height: 168px; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .st { --achse: 0px; }
  .st-hero .mw-marke::before { display: block; }
  .st-hero .mw-foto { display: block; max-width: 300px; margin-top: 44px; justify-self: start; }
  .st-hero .mw-foto::before { inset: -12px -12px 18px 18px; }
  .st-hero { padding-bottom: 72px; }
  .st-hero .mw-hero-raster { padding-top: 26px; }

  .st-reise { padding-block: 72px 8px; }
  .st-faden { left: 5px; top: 10px; bottom: 90px; }
  .st-station { display: block; padding: 0 0 84px 34px; }
  .st-letzte { padding-bottom: 72px; }
  .st-punkt { left: 0; top: 4px; }
  .st-zeit { padding: 0; text-align: left; }
  .st-zeit > div { position: static; display: flex; align-items: baseline; gap: 12px; }
  .st-wann { margin: 0; font-size: 15px; font-weight: 650; letter-spacing: 0; color: var(--grau); }
  .st-inhalt { padding: 0; margin-top: 14px; }
  .st-inhalt h2 { margin: 0 0 18px; }
  .st-inhalt p { font-size: 17.5px; }

  .st-zahlen { grid-template-columns: 1fr; padding: 8px 26px; margin: 26px 0 28px -34px; }
  .st-zahlen > div { padding: 24px 0; border-left: 0; border-top: 1px solid rgba(157, 180, 245, .16); }
  .st-zahlen > div:first-child { border-top: 0; }
  .st-zahlen dt { font-size: 44px; }
  .st-zahlen dd { margin-top: 8px; font-size: 15px; }

  .st-stimmen { margin-left: -34px; }
  .st-stimmen-karte { margin-top: 34px; padding: 40px 22px 32px; border-radius: 22px; }
  .st-wand { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; margin-top: 30px; }
  .st-stimme { grid-column: span 1; }
  .st-stimme.gross { grid-column: 1 / -1; }
  .st-stimme-name { font-size: 16.5px; margin-top: 11px; }
  .st-stimme-satz { font-size: 13.5px; }
  .st-play { width: 36px; height: 36px; left: 10px; bottom: 10px; }
  .st-play svg { width: 15px; height: 15px; }
  .st-dauer { right: 9px; bottom: 11px; }
  .st-marke { left: 9px; top: 9px; font-size: 10px; padding: 3px 8px; }

  .st-schluss { padding-block: 72px 120px; }
}
@media (max-width: 767px) {
  .st-wand { grid-template-columns: 1fr; gap: 30px; }
  .st-stimme, .st-stimme.gross { grid-column: auto; }
  .st-stimme-name, .st-stimme.gross .st-stimme-name { font-size: 18px; }
  .st-stimme-satz { font-size: 14.5px; }
  .st-play { width: 42px; height: 42px; left: 12px; bottom: 12px; }
  .st-play svg { width: 18px; height: 18px; }

  .st-schluss { padding-block: 64px 104px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .st-station .st-zeit, .js .st-station .st-inhalt { opacity: 1; transform: none; }
  .st-stimmen .st-stimme, .st-stimmen .st-stimmen-karte > * { opacity: 1; }
}
