/* ==========================================================================
   TAKT — landing.css
   Die Landing IST ein Liniennetz: Papiergrund, Haarlinien, Linienfarben,
   Leitsystem-Bar. Lädt tokens.css als Design-DNA (kein @import).
   Layout-Äste: Mobil (<900px) und Desktop (≥900px) sind eigene Kompositionen.
   ========================================================================== */

:root {
  --max: 1200px;
  --pad: clamp(16px, 4vw, 32px);
  --head-h: 56px;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: clamp(72px, 10vw, 128px);
  scroll-margin-top: calc(var(--head-h) + 8px);
}

.kicker {
  color: var(--tinte-70);
}

.sec-head {
  max-width: 760px;
}

h2.sec-title {
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  margin-top: 12px;
}

.sec-sub {
  margin-top: 16px;
  color: var(--tinte-70);
  font-size: 1.05rem;
  max-width: 58ch;
}

/* Bahnsteigschild-Register für Karten-/Stations-Titel */
.station-card h3,
.t-verdict,
.gleis-name,
.faq-titel {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.05;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Skip-Link
   -------------------------------------------------------------------------- */

.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  background: var(--tinte);
  color: var(--papier);
  padding: 12px 18px;
  border-radius: var(--r);
  text-decoration: none;
  font-weight: 600;
  transform: translateY(-260%);
  transition: transform .2s var(--ease);
}

.skip:focus-visible {
  transform: none;
  outline-color: var(--tinte);
}

/* --------------------------------------------------------------------------
   Leitsystem-Bar (Header, Auto-Hide via transform)
   -------------------------------------------------------------------------- */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(242, 243, 238, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transform: translateY(0);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}

.topbar.unterwegs {
  border-bottom-color: var(--linie);
}

.topbar.zu {
  transform: translateY(-101%);
}

.topbar-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  height: var(--head-h);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}

.marke {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: .02em;
  color: var(--tinte);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.marke-punkt {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal);
  margin-left: 6px;
  display: inline-block;
}

/* Dezenter Descriptor: macht sofort klar, dass TAKT ein Content-Kalender ist */
.marke-zusatz {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--tinte-45);
  margin-left: 11px;
  padding-left: 11px;
  border-left: 1px solid var(--linie);
  white-space: nowrap;
}

@media (max-width: 559px) {
  .marke-zusatz {
    display: none;
  }
}

.topnav {
  display: none;
}

.topbar-inner > .btn {
  margin-left: auto;
}

@media (min-width: 900px) {
  .topnav {
    display: flex;
    gap: 26px;
    margin-left: auto;
  }

  .topbar-inner > .btn {
    margin-left: 0;
  }
}

.topnav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--tinte-70);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--tinte);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}

.topnav a:hover {
  color: var(--tinte);
}

.topnav a:hover::after,
.topnav a:focus-visible::after {
  transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   Buttons (Signal-Gelb nur auf Primär-CTA — Stellenliste)
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.btn-signal {
  background: var(--signal);
  color: var(--tinte);
}

.btn-signal:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 24, 31, .18);
}

.btn:active {
  transform: scale(.97);
  box-shadow: none;
}

.btn-s {
  min-height: 44px;
  padding: 0 18px;
  font-size: .9rem;
}

.btn-xl {
  min-height: 58px;
  padding: 0 38px;
  font-size: 1.08rem;
}

/* --------------------------------------------------------------------------
   Hero — Einfahrt-Sequenz von links (Bewegungs-Fingerprint dieses Projekts)
   -------------------------------------------------------------------------- */

.hero {
  min-height: 95svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--head-h) + clamp(20px, 4svh, 52px));
}

.hero-inner {
  display: grid;
  gap: clamp(18px, 3vw, 56px);
  align-items: center;
  flex: 1 1 auto;
  width: 100%;
}

/* Grid-Items dürfen den Track nie aufblasen (scrollbare Legende hat
   nowrap-Pillen mit großem min-content) — Mobil-Track ist implizit. */
.hero-copy,
.hero-panel {
  min-width: 0;
}

.hero-kicker {
  margin-bottom: 14px;
}

.hero-h1 {
  font-size: clamp(2.55rem, 11vw, 3.7rem);
  text-wrap: balance;
}

.hero-sub {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--tinte-70);
  max-width: 46ch;
}

.hero-cta {
  margin-top: 24px;
}

.hero-trust {
  margin-top: 16px;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--tinte-70);
}

/* Einfahrt-Sequenz */
.fahrt {
  animation: einfahrt .7s var(--ease) both;
}

@keyframes einfahrt {
  from {
    opacity: 0;
    transform: translateX(-26px);
  }
}

.d-kicker { animation-delay: .3s; }
.d-h1     { animation-delay: .45s; }
.d-sub    { animation-delay: .7s; }
.d-netz   { animation-delay: .85s; }
.d-cta    { animation-delay: .9s; }
.d-trust  { animation-delay: 1.05s; }
.d-panel  { animation-delay: 1.05s; }
.d-cue    { animation-delay: 1.6s; animation-duration: .9s; }

/* Netzplan-Kasten (fester Aspekt gegen Layout-Shift).
   2:1 = exakt das Seitenverhältnis des Renderers — kein Letterboxing.
   Schmale Bühnen (< 433px SVG-Breite) zeichnet der Renderer in 3:2. */
.netz-box {
  position: relative;
  aspect-ratio: 2 / 1;
}

@media (max-width: 470px) {
  .netz-box {
    aspect-ratio: 3 / 2;
  }
}

.netz-box svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Leeres Netzplan-Blatt, bis der Renderer zeichnet */
.netz-box::before {
  content: "";
  position: absolute;
  inset: 5%;
  background-image:
    linear-gradient(to bottom, var(--linie) 1px, transparent 1px),
    linear-gradient(to right, var(--linie) 1px, transparent 1px);
  background-size: calc(100% / 11) calc(100% / 4);
  opacity: .7;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}

.netz-box.netz-ready::before {
  opacity: 0;
}

/* Legende: Linien-Badges (Pille in Linienfarbe, weiße Condensed-Nummer) */
.legende {
  list-style: none;
  margin: 0;
  padding: 0;
}

.legende li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* Badge-Nummer bewusst groß (Netzplan-Liniennummer) — weißer Text braucht
   auf allen 8 Linienfarben die Large-Text-Schwelle (≥18.66px bold, ≥3:1) */
.legende .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 1px 10px;
  border-radius: 999px;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 1.17rem;
  line-height: 1.35;
  letter-spacing: .04em;
  color: #fff;
}

.legende-name {
  font-size: .84rem;
  color: var(--tinte-70);
}

/* Mobile Hero-Komposition: H1 → kompakter Netzplan → CTA */
.hero-netz-mobil {
  margin-top: 18px;
  border-top: 1px solid var(--linie-stark);
  border-bottom: 1px solid var(--linie-stark);
  padding: 10px 0 4px;
}

.mini-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.mini-mass {
  font-size: .68rem;
  letter-spacing: .06em;
  color: var(--tinte-70);
}

.legende-mobil {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  /* padding-right: am Scroll-Ende schiebt sich das letzte Badge aus der
     Fade-Zone — so bleibt es voll lesbar, ohne JS */
  padding: 10px 44px 8px 2px;
  min-height: 42px;
  scrollbar-width: none;
  /* Rechte Fade-Kante als bewusste Wisch-Affordance statt hartem Abschnitt */
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
}

.legende-mobil::-webkit-scrollbar {
  display: none;
}

/* Desktop-Panel (Netzplan-Blatt rechts) */
.hero-panel {
  display: none;
  border: 1px solid var(--linie-stark);
  border-radius: var(--r);
  background: var(--papier);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--linie);
}

.panel-mass {
  font-size: .7rem;
  letter-spacing: .06em;
  color: var(--tinte-70);
}

.hero-panel .netz-box {
  margin: 10px 12px 4px;
}

.legende-desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 14px 18px;
  border-top: 1px solid var(--linie);
  min-height: 56px;
}

.scroll-cue {
  align-self: center;
  margin-top: clamp(10px, 3svh, 28px);
  padding: 14px 18px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tinte-70);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.scroll-cue:hover {
  color: var(--tinte);
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  }

  .hero-h1 {
    font-size: clamp(3.2rem, 6vw, 5.4rem);
  }

  .hero-sub {
    font-size: 1.12rem;
  }

  .hero-netz-mobil {
    display: none;
  }

  .hero-panel {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   Sektion 2 · Timing ist kein Bauchgefühl
   -------------------------------------------------------------------------- */

.timing-grid {
  margin-top: clamp(32px, 5vw, 52px);
  display: grid;
  gap: 14px;
}

.timing-card {
  border: 1px solid var(--linie-stark);
  border-radius: var(--r);
  background: var(--papier);
  padding: clamp(18px, 3vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timing-card .t-monat {
  margin-bottom: 2px;
}

.spark-wrap {
  position: relative;
  aspect-ratio: 24 / 10;
}

.spark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.spark path {
  stroke-width: 3;
  stroke-linecap: round;
}

.spark-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: currentColor;
  opacity: .5;
}

.spark-marker::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: currentColor;
}

.t-wert {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.t-wert strong {
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1;
}

.t-wert span {
  font-size: .8rem;
  color: var(--tinte-70);
}

.t-verdict {
  font-size: 1.5rem;
}

.t-text {
  font-size: .95rem;
  color: var(--tinte-70);
}

/* Die richtige Abfahrt: dunkles Schild */
.timing-card.ist-richtig {
  background: var(--tinte);
  border-color: var(--tinte);
  color: var(--papier);
}

.ist-richtig .kicker,
.ist-richtig .t-wert span,
.ist-richtig .t-text {
  color: rgba(242, 243, 238, .75);
}

@media (min-width: 900px) {
  .timing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

/* --------------------------------------------------------------------------
   Sektion 3 · Streckenverlauf (Scroll-Progress zeichnet die Linie)
   -------------------------------------------------------------------------- */

.strecke-track {
  position: relative;
  margin-top: clamp(36px, 6vw, 64px);
  padding-left: 40px;
}

.strecke-line {
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 2px;
  background: var(--linie);
}

.strecke-progress {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: var(--tinte);
  transform: scaleY(0);
  transform-origin: top center;
  will-change: transform;
}

.stationen {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(44px, 9vw, 88px);
}

.station {
  position: relative;
}

.station-punkt {
  position: absolute;
  top: 2px;
  left: -39.5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--linie-stark);
  transform: scale(.6);
  transition: transform .5s var(--ease-dock), border-color .3s var(--ease);
}

.station.dock .station-punkt {
  transform: scale(1);
  border-color: var(--tinte);
}

.station-card .kicker {
  margin-bottom: 8px;
}

.station-card h3 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.station-card p:last-child {
  color: var(--tinte-70);
  max-width: 52ch;
}

/* reduced-motion / Fallback: fertiger Zustand */
.strecke-track.fertig .strecke-progress {
  transform: scaleY(1);
}

.strecke-track.fertig .station-punkt {
  transform: scale(1);
  border-color: var(--tinte);
}

@media (min-width: 900px) {
  .strecke-track {
    padding-left: 0;
  }

  .strecke-line {
    left: 50%;
    margin-left: -1.5px;
    top: 8px;
    bottom: 8px;
  }

  .stationen {
    gap: clamp(56px, 7vw, 96px);
  }

  .station {
    width: calc(50% - 64px);
  }

  .station:nth-child(odd) {
    margin-right: auto;
    text-align: right;
  }

  .station:nth-child(even) {
    margin-left: auto;
  }

  .station:nth-child(odd) .station-punkt {
    left: auto;
    right: -73px;
  }

  .station:nth-child(even) .station-punkt {
    left: -73px;
  }

  .station:nth-child(odd) .station-card p:last-child {
    margin-left: auto;
  }
}

/* --------------------------------------------------------------------------
   Sektion 4 · Die 9 Gleise
   -------------------------------------------------------------------------- */

.gleis-grid {
  list-style: none;
  margin: clamp(28px, 5vw, 44px) 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  min-height: 600px;
}

/* Mobil: Schild als Zeile — Nummer · Name/Zeit · Icon */
.gleis-schild {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--linie);
  border-radius: var(--r);
  background: var(--papier);
}

.gleis-nr {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--tinte);
  color: var(--papier);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
}

.gleis-name {
  font-size: 1.25rem;
  line-height: 1.1;
}

.gleis-label {
  display: none;
  font-size: .65rem;
}

.gleis-zeiten {
  margin-top: 2px;
}

.gleis-zeit {
  display: block;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  font-size: .76rem;
  color: var(--tinte-70);
}

.gleis-zeit + .gleis-zeit {
  display: none;
}

.gleis-icon {
  width: 22px;
  height: 22px;
  color: var(--tinte);
  justify-self: end;
}

/* Desktop: 9 Schilder-Karten im 3×3-Raster */
@media (min-width: 900px) {
  .gleis-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    min-height: 430px;
  }

  .gleis-schild {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "nr icon"
      "info info";
    row-gap: 18px;
    align-items: start;
    padding: 18px;
  }

  .gleis-nr {
    grid-area: nr;
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }

  .gleis-icon {
    grid-area: icon;
    width: 24px;
    height: 24px;
    color: var(--tinte-70);
    align-self: start;
  }

  .gleis-info {
    grid-area: info;
  }

  .gleis-label {
    display: block;
    margin: 10px 0 4px;
  }

  .gleis-zeit + .gleis-zeit {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   Sektion 5 · Probebetrieb + FAQ
   -------------------------------------------------------------------------- */

.probe {
  background: var(--papier-2);
  border-block: 1px solid var(--linie);
}

.probe-grid {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
}

.probe-body > p:first-child {
  font-size: 1.1rem;
  max-width: 62ch;
}

/* Die Weiche: Probebetrieb vs. Echtbetrieb */
.weiche {
  display: grid;
  gap: 16px;
}

.weiche-karte {
  border: 1px solid var(--linie);
  border-radius: var(--r);
  background: var(--papier);
  padding: 20px 22px 16px;
}

.weiche-karte-echt {
  border-color: var(--linie-stark);
}

.weiche-kicker {
  margin-bottom: 10px;
}

.weiche-karte-echt .weiche-kicker {
  color: var(--tinte);
}

.weiche-text {
  font-size: .95rem;
  color: var(--tinte-70);
  margin-bottom: 8px;
}

.weiche-karte .echt-liste li {
  font-size: .9rem;
  padding: 10px 0;
}

.weiche-karte .echt-liste li:first-child {
  border-top: 0;
}

@media (min-width: 1220px) {
  .weiche {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.echt-label {
  margin: 26px 0 4px;
}

.echt-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 62ch;
}

.echt-liste li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--linie);
  color: var(--tinte-70);
}

.echt-liste li::before {
  content: "✓";
  font-weight: 600;
  color: var(--tinte);
  flex: 0 0 auto;
}

.faq-titel {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.faq-item {
  border-top: 1px solid var(--linie);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--linie);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 16px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  font-size: 1.02rem;
}

.faq-q:hover {
  color: var(--tinte);
}

.faq-plus {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--tinte-70);
  transition: transform .3s var(--ease);
  flex: 0 0 auto;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
}

/* Ohne JS bleiben die Antworten offen — zugeklappt wird nur mit JS */
.faq-a {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .45s var(--ease);
}

html.js .faq-item:not(.open) .faq-a {
  grid-template-rows: 0fr;
}

.faq-a-inner {
  overflow: hidden;
}

.faq-a p {
  padding: 0 4px 18px;
  color: var(--tinte-70);
  max-width: 68ch;
}

@media (min-width: 900px) {
  .probe-grid {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }

  .faq {
    grid-column: 1 / -1;
    margin-top: 16px;
  }
}

/* --------------------------------------------------------------------------
   Sektion 6 · Abfahrt (End-CTA, dunkles Band)
   -------------------------------------------------------------------------- */

.abfahrt {
  background: var(--tinte);
  color: var(--papier);
  text-align: center;
}

.abfahrt .kicker {
  color: rgba(242, 243, 238, .55);
}

.abfahrt-titel {
  font-size: clamp(2.6rem, 6vw, 5rem);
  margin-top: 10px;
}

.abfahrt-text {
  max-width: 52ch;
  margin: 18px auto 30px;
  font-size: 1.05rem;
  color: rgba(242, 243, 238, .78);
}

.abfahrt-hint {
  margin-top: 18px;
  font-size: .78rem;
  letter-spacing: .06em;
  color: rgba(242, 243, 238, .62);
}

.abfahrt :focus-visible {
  outline-color: var(--papier);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.fuss {
  padding: 30px 0;
}

.fuss-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 36px;
}

.fuss-marke {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.fuss-claim {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: .85rem;
  color: var(--tinte-70);
  margin-left: 12px;
}

.fuss-credit {
  font-size: .9rem;
  color: var(--tinte-70);
}

/* Datenschutz-Hinweis Echtbetrieb (eigene Zeile unter Marke/Credit) */
.fuss-hinweis {
  flex-basis: 100%;
  font-size: .78rem;
  color: var(--tinte-45);
  max-width: 86ch;
}

.fuss-credit a,
.fuss-nav a {
  color: var(--tinte);
  text-decoration: none;
}

.fuss-credit a:hover,
.fuss-nav a:hover {
  text-decoration: underline;
}

.fuss-nav {
  display: flex;
  gap: 22px;
}

.fuss-nav a {
  font-size: .9rem;
  color: var(--tinte-70);
  padding: 6px 0;
}

.fuss-nav a:hover {
  color: var(--tinte);
}

/* --------------------------------------------------------------------------
   Scroll-Reveals — Einfahrt von links, nur mit JS und ohne reduced-motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateX(-26px);
    transition:
      opacity .7s var(--ease),
      transform .7s var(--ease);
    transition-delay: calc(min(var(--i, 0), 5) * 70ms);
  }

  html.js .reveal.in {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Kleine Screens
   -------------------------------------------------------------------------- */

@media (max-width: 560px) {
  .btn-xl {
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .fuss-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   Intro-Ouvertüre (~1s): der Bahnhof wacht auf — eine Skyline steigt in den
   Linienfarben aus dem Gleis, „TAKT · Content-Kalender" blitzt auf, dann löst
   sich das Overlay auf. Nur transform/opacity. JS baut/entfernt es (einmal je
   Session), reduced-motion überspringt es komplett. Die Landing dahinter ist
   sofort fertig — das Overlay liegt nur kurz darüber.
   -------------------------------------------------------------------------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--papier);
  display: grid;
  place-items: center;
  pointer-events: none;
  will-change: opacity, transform;
}

.intro-buehne {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px;
}

.intro-skyline {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 66px;
}

.intro-haus {
  width: 13px;
  border-radius: 3px 3px 0 0;
  transform: scaleY(0);
  transform-origin: bottom center;
  animation: intro-rise .42s var(--ease-dock) both;
  animation-delay: var(--d, 0s);
}

.intro-gleis {
  width: clamp(180px, 60vw, 260px);
  height: 3px;
  background: var(--tinte);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  animation: intro-line .32s var(--ease) both;
}

.intro-wort {
  display: inline-flex;
  align-items: center;
  opacity: 0;
  transform: translateY(10px);
  animation: intro-wort .5s var(--ease) .28s both;
}

.iw-takt {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 9vw, 2.8rem);
  letter-spacing: .02em;
  line-height: 1;
  color: var(--tinte);
}

.iw-punkt {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal);
  margin-left: 7px;
}

.iw-zusatz {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--tinte-45);
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--linie);
}

.intro.intro-weg {
  opacity: 0;
  transform: translateY(-1.5%);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}

@keyframes intro-rise {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

@keyframes intro-line {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes intro-wort {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   prefers-reduced-motion — Ergänzung zu tokens.css:
   Delays nullen (fill-mode both darf nichts verstecken), Endzustände zeigen.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-delay: 0s !important;
    transition-delay: 0s !important;
  }

  .fahrt {
    opacity: 1 !important;
    transform: none !important;
  }
}
