/* ═══════════════════════════════════════════════════════════════
   HÖV – Nachtexpress
   Warmes Schwarz, HKS-16-Signalrot, Stationslicht-Sand.
   Archivo (eine Familie, condensed Display) + Azeret Mono (Fahrplandaten).
   CD-Fixpunkte laut Gestaltungsrichtlinien 2011:
   HKS 16 #9e0a0e · Pantone Cool Grey 10 #6d6e71 · Logo-Vektordaten.
   ═══════════════════════════════════════════════════════════════ */

/* Selbst gehostete Schriften (DSGVO-sauber, keine externen Requests) */
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Azeret Mono";
  src: url("assets/fonts/azeret-mono-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --night-0: #1e1926;   /* Seite */
  --night-1: #282232;   /* Flächen */
  --night-2: #322b3e;   /* Tafeln */
  --line:    #443b52;   /* Haarlinien */
  --line-hi: #574c68;

  --text-hi:  #f8f4f6;
  --text:     #ded6dd;
  --text-dim: #b2a7b1;

  --red:        #9e0a0e;  /* HKS 16 – verbindlich */
  --red-bright: #c8191e;  /* Signal auf Dunkel */
  --sand:       #eac3b2;  /* Stationslicht */
  --sand-deep:  #d5937d;

  --wm-red:  #9e0a0e;
  --wm-gray: #6d6e71;

  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Azeret Mono", ui-monospace, "Cascadia Mono", monospace;

  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --shell: 1200px;
}

/* ── Basis ────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--line) var(--night-0);
}

body {
  margin: 0;
  background: var(--night-0);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--sand); color: var(--night-1); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--night-0); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--line-hi); }

body { caret-color: var(--sand); }

:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
  border-radius: 2px;
}

img, svg { max-width: 100%; }

h1, h2, h3, h4 {
  color: var(--text-hi);
  font-variation-settings: "wdth" 80;
  font-weight: 620;
  line-height: 1.08;
  margin: 0 0 0.6em;
  text-wrap: balance;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--sand);
  text-decoration-color: color-mix(in srgb, var(--sand) 45%, transparent);
  text-underline-offset: 0.2em;
  transition: color 200ms ease, text-decoration-color 200ms ease;
}
a:hover { color: var(--text-hi); text-decoration-color: var(--sand); }

.shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.skip {
  position: absolute;
  left: 1rem; top: -3.5rem;
  z-index: 100;
  background: var(--sand);
  color: var(--night-1);
  padding: 0.6em 1.1em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: top 200ms var(--ease-out);
}
.skip:focus-visible { top: 1rem; }

/* ── Buttons ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.8em 1.5em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn .i { width: 1.1em; height: 1.1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.btn-primary {
  background: var(--red);
  color: #ffffff;
}
.btn-primary:hover { background: var(--red-bright); color: #ffffff; }

.btn-line {
  border: 1px solid var(--line-hi);
  color: var(--text-hi);
}
.btn-line:hover { border-color: var(--sand); color: var(--sand); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow .i { width: 1.1em; height: 1.1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: translate 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover .i { translate: 4px 0; }
}

/* ── Header ───────────────────────────────────────────────── */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: color-mix(in srgb, var(--night-0) 84%, transparent);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}
.logo-plate {
  display: inline-flex;
  background: #f4eff0;
  border-radius: 6px;
  padding: 6px 10px;
  box-shadow: 0 4px 18px -6px rgba(234, 195, 178, 0.25);
}
.logo-word { height: 30px; width: auto; display: block; }
.logo-sub {
  font-size: 0.62rem;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.9rem);
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 200ms ease;
}
.nav a:hover { color: var(--sand); }
.nav a.active { color: var(--sand); }
.nav .nav-cta {
  background: var(--red);
  color: #ffffff;
  padding: 0.5em 1.15em;
  border-radius: 999px;
  font-weight: 600;
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.nav .nav-cta:hover { background: var(--red-bright); color: #ffffff; }
.nav .nav-cta:active { transform: scale(0.97); }

.burger { display: none; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .logo-sub { display: none; }

  .header-inner { position: relative; }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
  }
  /* Fokussierbare Checkbox, unsichtbar exakt über dem Burger
     (gleiche right-Kante: Shell-Padding) */
  .nav-toggle {
    display: block;
    position: absolute;
    top: 50%;
    right: clamp(1.25rem, 4vw, 2rem);
    translate: 0 -50%;
    width: 44px;
    height: 44px;
    margin: 0;
    opacity: 0;
    z-index: 5;
    cursor: pointer;
  }
  .nav-toggle:focus-visible ~ .burger {
    outline: 2px solid var(--sand);
    outline-offset: 3px;
  }
  .burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-hi);
    border-radius: 999px;
    transition: transform 250ms var(--ease-out), opacity 200ms ease;
  }
  .nav-toggle:checked ~ .burger span:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .burger span:nth-of-type(2) { opacity: 0; }
  .nav-toggle:checked ~ .burger span:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--night-1);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0 1rem;
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s 220ms;
  }
  .nav-toggle:checked ~ .nav {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
  }
  .nav a {
    padding: 0.8rem clamp(1.25rem, 4vw, 2rem);
    font-size: 1.0625rem;
  }
  .nav .nav-cta {
    margin: 0.6rem clamp(1.25rem, 4vw, 2rem) 0;
    text-align: center;
    justify-content: center;
    display: inline-block;
  }
}

/* ── Hero · nächtliche Einfahrt ───────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: clip;
  background: linear-gradient(180deg, #2e2640 0%, var(--night-0) 72%);
}

.hero-sky { position: absolute; inset: 0 0 40%; pointer-events: none; }
.star {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: #f4eff0;
  opacity: 0.22;
}
.star.s1 { left: 8%;  top: 22%; }
.star.s2 { left: 19%; top: 38%; opacity: 0.14; }
.star.s3 { left: 31%; top: 15%; }
.star.s4 { left: 44%; top: 30%; opacity: 0.12; }
.star.s5 { left: 57%; top: 18%; }
.star.s6 { left: 66%; top: 42%; opacity: 0.15; }
.star.s7 { left: 78%; top: 24%; }
.star.s8 { left: 88%; top: 35%; opacity: 0.14; }
.star.s9 { left: 95%; top: 14%; }
.star.s1, .star.s5, .star.s7 { animation: twinkle 8s ease-in-out infinite alternate; }
@keyframes twinkle {
  from { opacity: 0.1; }
  to   { opacity: 0.35; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(7rem, 14vh, 9.5rem);
  width: 100%;
}

.hero h1 {
  font-size: clamp(3rem, 7.5vw, 5.4rem);
  font-variation-settings: "wdth" 75;
  font-weight: 640;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 0.35em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(105deg, var(--sand), var(--sand-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  max-width: 56ch;
  font-size: 1.125rem;
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

/* Szene */
.hero-scene { margin-top: auto; }
.scene {
  display: block;
  width: 100%;
  /* Deckel 380px: der slice-Ausschnitt (unten verankert) darf das
     Stationsschild auf breiten Viewports nicht enthaupten */
  height: clamp(200px, 24vw, 380px);
}
.h-sign      { fill: #ffffff; font-family: var(--font-mono); font-weight: 600; font-size: 15px; }
.plate-line1 { fill: #131015; font-family: var(--font-sans); font-weight: 650; font-size: 17px; }
.plate-line2 { fill: #494349; font-family: var(--font-sans); font-weight: 500; font-size: 12px; }
.dest        { fill: var(--sand); font-family: var(--font-mono); font-weight: 600; font-size: 8.5px; letter-spacing: 1.6px; }

/* Erstbesuchs-Choreografie (nur mit JS; ohne JS steht alles) */
.js .hero-inner h1,
.js .hero-inner .lead,
.js .hero-inner .hero-actions,
.js .board .board-row,
.js .hero-hint {
  opacity: 0;
  translate: 0 20px;
  animation: rise 750ms var(--ease-out) forwards;
}
.js .hero-inner h1           { animation-delay: 350ms; }
.js .hero-inner .lead        { animation-delay: 550ms; }
.js .hero-inner .hero-actions{ animation-delay: 750ms; }
.js .board .board-row:nth-child(1) { animation-delay: 1500ms; }
.js .board .board-row:nth-child(2) { animation-delay: 1590ms; }
.js .board .board-row:nth-child(3) { animation-delay: 1680ms; }
.js .board .board-row:nth-child(4) { animation-delay: 1770ms; }
.js .hero-hint               { animation-delay: 2500ms; }

@keyframes rise {
  to { opacity: 1; translate: 0 0; }
}

.js .tram {
  transform: translateX(-1080px);
  animation: arrive 2600ms var(--ease-out) 350ms forwards;
}
@keyframes arrive {
  to { transform: translateX(0); }
}

.js .spark {
  opacity: 0;
  animation: sparkle 500ms ease 2650ms;
}
@keyframes sparkle {
  0%   { opacity: 0; }
  30%  { opacity: 1; }
  100% { opacity: 0; }
}

.js .rail-shine {
  opacity: 0;
  animation: shine 900ms var(--ease-out) 2300ms forwards;
}
@keyframes shine {
  to { opacity: 1; }
}

/* Stationslampe glimmt bei Ankunft auf */
.js .station .lamp {
  opacity: 0;
  animation: lampOn 900ms ease 2350ms forwards;
}
@keyframes lampOn {
  0%   { opacity: 0; }
  30%  { opacity: 0.9; }
  45%  { opacity: 0.4; }
  60%  { opacity: 1; }
  75%  { opacity: 0.75; }
  100% { opacity: 1; }
}

/* Ausfahrt beim Anscrollen: die Bahn übergibt an das Strecken-Badge.
   Nach der Ankunft übernimmt eine Transition (unterbrech- und umkehrbar). */
.js .tram.arrived {
  animation: none;
  transform: translateX(0);
  transition: transform 1400ms var(--ease-in-out);
}
.js .tram.arrived.away {
  transform: translateX(1300px);
}

/* Wiederbesuch: keine lange Einfahrt, nur kurzes Ankommen */
.js.revisit .tram { transform: translateX(0); animation: none; }
.js.revisit .spark { animation: none; opacity: 0; }
.js.revisit .rail-shine { animation-delay: 200ms; }
.js.revisit .station .lamp { animation-duration: 400ms; animation-delay: 300ms; }
.js.revisit .hero-inner h1,
.js.revisit .hero-inner .lead,
.js.revisit .hero-inner .hero-actions,
.js.revisit .board .board-row,
.js.revisit .hero-hint {
  animation-duration: 450ms;
  animation-delay: 100ms;
}

/* Abfahrtstafel */
.board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.board-row {
  padding: 1.5rem 1.5rem 1.5rem 0;
}
.board-row + .board-row {
  border-left: 1px solid var(--line);
  padding-left: 1.5rem;
}
.board dt {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-size: 1.9rem;
  color: var(--sand);
  line-height: 1.1;
}
.board dt i {
  font-style: normal;
  color: var(--sand-deep); /* Einheiten-Glyphen: Sand-Tief statt Rot – red-bright erreicht auf night-0 keine 3:1 */
}
.board dd {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
}
.board dd strong {
  display: block;
  color: var(--text-hi);
  font-weight: 600;
}
.board dd span { color: var(--text-dim); }

@media (max-width: 860px) {
  .board { grid-template-columns: 1fr 1fr; }
  .board-row { padding: 1.25rem 1rem 1.25rem 0; }
  .board-row + .board-row { border-left: 0; padding-left: 0; }
  .board-row:nth-child(even) { border-left: 1px solid var(--line); padding-left: 1.25rem; }
  .board-row:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .board { grid-template-columns: 1fr; }
  .board dt { font-size: 1.6rem; }
  .board-row:nth-child(even) { border-left: 0; padding-left: 0; }
  .board-row:nth-child(n+2) { border-top: 1px solid var(--line); }
}

.hero-hint {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 1.4rem 0 1.1rem;
}

/* ── Mitglieder-Band ──────────────────────────────────────── */

/* Rote Bauchbinde: das Mitglieder-Band trägt das CD-Rot als Fläche */
.marquee-band {
  position: relative;
  border-block: 1px solid var(--red-bright);
  background: var(--red);
  padding: 1.1rem 0;
  overflow: clip;
}
.marquee-caption {
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  z-index: 2;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  /* Ticker-Prinzip: harte Kante mit Trennlinie auf Rot, kein Fade über laufendem Text */
  background: var(--red);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.9em 1.4rem 0.9em clamp(1.25rem, 4vw, 2rem);
}
/* Pause-Steuerung (WCAG 2.2.2): fokussierbare Checkbox exakt über dem Knopf */
.marquee-pause-box {
  position: absolute;
  top: 50%;
  right: clamp(1rem, 3vw, 1.6rem);
  translate: 0 -50%;
  width: 44px;
  height: 44px;
  margin: 0;
  opacity: 0;
  z-index: 3;
  cursor: pointer;
}
.marquee-pause {
  position: absolute;
  top: 50%;
  right: clamp(1rem, 3vw, 1.6rem);
  translate: 0 -50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 200ms ease;
}
.marquee-pause svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255, 255, 255, 0.92);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.marquee-pause .ic-play { display: none; fill: rgba(255, 255, 255, 0.92); stroke: none; }
.marquee-pause-box:hover ~ .marquee-pause { border-color: #ffffff; }
.marquee-pause-box:focus-visible ~ .marquee-pause {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}
.marquee-pause-box:checked ~ .marquee .marquee-track { animation-play-state: paused; }
.marquee-pause-box:checked ~ .marquee-pause .ic-pause { display: none; }
.marquee-pause-box:checked ~ .marquee-pause .ic-play { display: block; }
.marquee {
  display: flex;
  width: 100%;
  overflow: clip;
  /* Auslaufkante: Namen lösen sich auf, bevor sie die Pausentaste erreichen
     (Maske muss auf dem bandbreiten Wrapper liegen, nicht auf der Spur) */
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 6.5rem), transparent calc(100% - 1.5rem));
  mask-image: linear-gradient(90deg, #000 calc(100% - 6.5rem), transparent calc(100% - 1.5rem));
}
.marquee-track {
  display: flex;
  gap: 3.5rem;
  padding: 0 1.75rem;
  margin: 0;
  list-style: none;
  animation: marquee 46s linear infinite;
}
.marquee-track li {
  white-space: nowrap;
  font-variation-settings: "wdth" 90;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@media (hover: hover) and (pointer: fine) {
  .marquee-band:hover .marquee-track { animation-play-state: paused; }
}

/* ── Journey & Streckenlinie ──────────────────────────────── */

.journey { position: relative; }

.route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
}
.route-track {
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
  stroke-dasharray: 5 9;
  stroke-linecap: round;
}
.route-progress {
  fill: none;
  stroke: url(#routeGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
}
.route-vehicle {
  color: var(--sand);
  transition: opacity 400ms ease;
}
/* In Scroll-Ruhe tritt das Badge zurück, statt in Zeilen zu parken */
.route-vehicle.idle { opacity: 0.35; }
.route-vehicle .veh-glow  { fill: var(--red-bright); opacity: 0.16; }
.route-vehicle .veh-badge { fill: var(--night-2); stroke: var(--red-bright); stroke-width: 2; }
.route-vehicle .veh { transition: opacity 300ms ease; }

/* Haltestellenschild: die Zeile läuft sticky mit,
   statt hinter dem Header zu verschwinden */
.stop-row {
  position: sticky;
  top: 90px;
  z-index: 3;
  margin-bottom: 1.4rem;
  pointer-events: none;
}
.stop-sign {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  /* kein pointer-events: auto – das Sticky-Schild darf keine Klicks
     auf darunterliegende Links und Buttons schlucken */
}
/* Eigenes Gleis: die Streckenlinie läuft auf allen Breiten in einem
   Korridor am linken Rand, die Haltepunkte rücken hinein, der Inhalt
   weicht aus – identisch zur Mobilansicht */
.journey .shell { padding-left: calc(clamp(1.25rem, 4vw, 2rem) + 14px); }
.stop-sign { position: relative; }
.stop-sign .stop {
  position: absolute;
  left: -26px;
  top: 50%;
  translate: 0 -50%;
}
.stop {
  flex: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--line-hi);
  background: var(--night-0);
  transition: border-color 400ms ease, background-color 400ms ease, box-shadow 400ms ease;
}
.stop.lit {
  border-color: var(--red-bright);
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(200, 25, 30, 0.14);
}
.stop-end { border-radius: 4px; }
/* Betriebshof (Karriere): der Prellbock ersetzt den Punkt – hier endet die Strecke */
.stop-depot {
  width: 20px;
  height: 13px;
  border: 0;
  border-radius: 0;
  background: none;
}
.stop-depot svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--line-hi);
  stroke-width: 2.4;
  stroke-linecap: round;
  transition: stroke 400ms ease;
}
.stop-depot.lit { background: none; box-shadow: none; }
.stop-depot.lit svg { stroke: var(--red-bright); }
.stop-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--line);
  background: var(--night-2);
  border-radius: 4px;
  padding: 0.35em 0.8em;
}

/* Sektionen: Wechsel aus Grundton und hellerer Fläche trennt die Bereiche;
   die Streckenlinie fährt über den Flächen, der Inhalt über der Linie. */
.section {
  position: relative;
  padding-block: clamp(5.5rem, 11vw, 9.5rem);
}
.section > .shell {
  position: relative;
  z-index: 2;
}
.section--right {
  background: var(--night-1);
  border-block: 1px solid var(--line);
}

.section-head { max-width: 58%; }
.section--right .section-head { margin-left: auto; }
.section-head h2 { font-size: clamp(2rem, 4.3vw, 3.1rem); }
.section-sub { color: var(--text); max-width: 54ch; }

h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }

@media (max-width: 980px) {
  .section-head { max-width: none; }
  .section--right .section-head { margin-left: 0; }
}

/* Haltestelle 01: Split + Grundpfeiler */
.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.split-text h2 { font-size: clamp(2rem, 4.3vw, 3.1rem); }
.split-text .link-arrow { margin-top: 1rem; }

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pillars li {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0;
}
.pillars li:last-child { border-bottom: 1px solid var(--line); }
.pill-icon {
  width: 26px;
  height: 26px;
  stroke: var(--sand);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 0.7rem;
}
.pillars h3 { font-size: 1.2rem; margin-bottom: 0.3em; }
.pillars p { color: var(--text); font-size: 0.98rem; }

@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
}

/* Haltestelle 02: Leistungen als Fahrplan-Zeilen */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(2.5rem, 6vw, 5rem);
  margin-top: 3.5rem;
}
.service {
  border-top: 1px solid var(--line);
  padding: 2.1rem 0;
}
.service-icon {
  width: 28px;
  height: 28px;
  stroke: var(--sand);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 0.85rem;
  transition: stroke 250ms ease;
}
.service h3 { font-size: 1.25rem; margin-bottom: 0.35em; }
.service p { color: var(--text); font-size: 0.98rem; }

@media (max-width: 720px) {
  .services { grid-template-columns: 1fr; }
}

/* Haltestelle 03: Schritte als Mini-Linie */
.steps {
  list-style: none;
  counter-reset: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  margin: 4.5rem 0 0;
  padding: 0;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 8px;
  right: 8px;
  border-top: 2px dashed var(--line-hi);
}
.steps li { position: relative; padding-top: 2.2rem; }
.step-stop {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--red-bright);
  box-shadow: 0 0 0 5px rgba(200, 25, 30, 0.12);
}
.steps h3 { font-size: 1.2rem; margin-bottom: 0.35em; }
.steps p { color: var(--text); font-size: 0.98rem; }

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; gap: 2.25rem; }
  .steps::before {
    top: 8px;
    bottom: 8px;
    left: 7px;
    right: auto;
    border-top: none;
    border-left: 2px dashed var(--line-hi);
  }
  .steps li { padding-top: 0; padding-left: 2.4rem; }
}

/* Vergleich */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  margin-top: 4.5rem;
}
.compare-col {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: var(--night-1);
}
/* Die HÖV-Spalte steht auf dem CD-Rot selbst */
.compare-hi {
  border-color: var(--red-bright);
  background: var(--red);
  box-shadow: 0 18px 48px -24px rgba(200, 25, 30, 0.55);
}
.compare-hi .list-check li { color: #ffffff; }
.compare-hi .list-check li + li { border-top-color: rgba(255, 255, 255, 0.18); }
.compare-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
}
.compare-hi .compare-tag { color: var(--sand); }

.list-x, .list-check {
  list-style: none;
  margin: 0;
  padding: 0;
}
.list-x li, .list-check li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2rem;
  font-size: 0.98rem;
}
.list-x li + li, .list-check li + li { border-top: 1px solid var(--line); }
.list-x li::before, .list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-size: 18px;
}
.list-x li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 5l8 8M13 5l-8 8' stroke='%23948a90' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.list-check li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.5l4 4 7-8' stroke='%23eac3b2' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.list-x li { color: var(--text-dim); }
.list-check li { color: var(--text); }

@media (max-width: 860px) {
  .compare { grid-template-columns: 1fr; }
}

/* Haltestelle 04: Historie */
/* Die Streckenlinie selbst fädelt durch die Jahrespunkte (data-waypoint) */
.timeline {
  list-style: none;
  margin: 3.5rem 0 0;
  padding: 0;
  position: relative;
  max-width: 720px;
}
.timeline li {
  position: relative;
  padding: 0 0 3rem 3.2rem;
}
.timeline li:last-child { padding-bottom: 0.5rem; }
.tl-dot {
  position: absolute;
  left: 1px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--line-hi);
  background: var(--night-0);
  transition: border-color 400ms ease, background-color 400ms ease, box-shadow 400ms ease;
}
.tl-dot.lit {
  border-color: var(--red-bright);
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(200, 25, 30, 0.16);
}
.tl-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
  display: block;
  margin-bottom: 0.4rem;
}
.timeline h3 { font-size: 1.25rem; margin-bottom: 0.3em; }
.timeline p { color: var(--text); font-size: 0.98rem; max-width: 58ch; }

/* Haltestelle 05: Mitglieder */
.members {
  list-style: none;
  margin: 3.25rem 0 0;
  padding: 0;
  columns: 3;
  column-gap: clamp(2rem, 4vw, 3.5rem);
}
.members li {
  break-inside: avoid;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--text);
}
.members a { color: var(--text); text-decoration-color: color-mix(in srgb, var(--sand) 35%, transparent); }
.members a:hover { color: var(--sand); }

@media (max-width: 980px) { .members { columns: 2; } }
@media (max-width: 640px) { .members { columns: 1; } }

/* Mobile Disclosure: die lange Liste versperrt sonst den Weg zur Endhaltestelle */
.members-more { display: none; }
@supports selector(:has(*)) {
  @media (max-width: 640px) {
    .members {
      max-height: 29.5rem;
      overflow: hidden;
      -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 4.5rem), transparent);
      mask-image: linear-gradient(180deg, #000 calc(100% - 4.5rem), transparent);
    }
    .members-wrap:has(.members-toggle:checked) .members {
      max-height: none;
      -webkit-mask-image: none;
      mask-image: none;
    }
    .members-more {
      position: relative;
      display: inline-flex;
      align-items: center;
      margin-top: 1.1rem;
      border: 1px solid var(--line-hi);
      border-radius: 999px;
      padding: 0.7em 1.4em;
      color: var(--text-hi);
      font-weight: 600;
      font-size: 0.95rem;
      cursor: pointer;
    }
    .members-more:active { transform: scale(0.97); }
    .members-toggle {
      position: absolute;
      width: 1px;
      height: 1px;
      margin: 0;
      opacity: 0;
      pointer-events: none;
    }
    .members-more:has(.members-toggle:focus-visible) {
      outline: 2px solid var(--sand);
      outline-offset: 3px;
    }
    .members-wrap .less { display: none; }
    .members-wrap:has(.members-toggle:checked) .more { display: none; }
    .members-wrap:has(.members-toggle:checked) .less { display: inline; }
  }
}

.partners { margin-top: 4rem; }
.partners-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
}
.partners ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5rem 2.5rem;
}
.partners li {
  color: var(--text-hi);
  font-weight: 600;
  font-size: 1.0625rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.partners small {
  display: block;
  color: var(--text-dim);
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-top: 0.3rem;
}

/* Betriebshof: Nachspann der Fahrt, nicht zweiter Höhepunkt –
   die Endhaltestelle behält den emotionalen Schlusspunkt */
#karriere { padding-block: clamp(3.5rem, 7vw, 6rem); }
#karriere .section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
#karriere .stop-label { opacity: 0.85; }

/* Betriebshof: Jobs (aus assets/jobs.json gerendert) */
.jobs {
  margin-top: 3.25rem;
  display: grid;
  gap: 2rem;
  min-height: 8.5rem; /* reserviert Platz, bis jobs.json geladen ist – kein Nachrücken */
}

.job {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--night-2);
  padding: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1.75rem, 4vw, 2.75rem);
}
.job-title { margin: 0; }
.job-toggle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.job-name {
  flex: 1 1 0;
  min-width: 0;
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  font-weight: 620;
  font-variation-settings: "wdth" 80;
  color: var(--text-hi);
  letter-spacing: -0.02em;
}
.job-meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
.job-chev {
  flex: none;
  width: 22px;
  height: 22px;
  stroke: var(--text-dim);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 240ms var(--ease-out), stroke 200ms ease;
}
.job.open .job-chev { transform: rotate(180deg); stroke: var(--sand); }

.job-body {
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: height 240ms var(--ease-out), opacity 240ms var(--ease-out);
}
/* zugeklappt: unsichtbar UND aus der Tab-Reihenfolge (visibility verzögert,
   damit die Höhen-Transition sichtbar bleibt) */
.job:not(.open) .job-body {
  opacity: 0;
  visibility: hidden;
  transition:
    height 240ms var(--ease-out),
    opacity 240ms var(--ease-out),
    visibility 0s 240ms;
}
.job-intro { color: var(--text); max-width: 68ch; margin-top: 1.4rem; }

.job-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 1.8rem;
}
.job-cols h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.8rem;
}
.job-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.job-cols li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.4rem;
  font-size: 0.98rem;
  color: var(--text);
}
.job-cols li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.job-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem 2rem;
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.job-facts div { margin: 0; }
.job-facts dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.job-facts dd {
  margin: 0.25rem 0 0;
  color: var(--text-hi);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.job-apply {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}
.job-contact { color: var(--text-dim); font-size: 0.92rem; margin: 0; }

.jobs-empty {
  border: 1px dashed var(--line-hi);
  border-radius: 12px;
  padding: 2rem;
  color: var(--text);
  text-align: center;
}

@media (max-width: 720px) {
  .job-cols { grid-template-columns: 1fr; }
  /* Eckdaten unter den Titel statt daneben – die Mono-Zeile darf nicht überlaufen */
  .job-meta {
    order: 4;
    flex-basis: 100%;
    margin-left: 0;
    white-space: normal;
  }
}

/* Endhaltestelle: Kontakt (Wechselfläche – Karten steigen auf die Tafel-Stufe) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  margin-top: 3.25rem;
}
.person, .office {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--night-2);
  padding: clamp(1.75rem, 3.5vw, 2.4rem);
}
.person h3, .office h3 { font-size: 1.2rem; margin-bottom: 1.1rem; }

.lead-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
}
.lead-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.avatar {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  font-weight: 650;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  letter-spacing: 0.04em;
}
.lead-name { color: var(--text-hi); font-weight: 600; margin: 0; }
.role { color: var(--text-dim); font-size: 0.92rem; margin: 0; }

.office address {
  font-style: normal;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.office-links { line-height: 2; }

.org-card {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--night-2);
  padding: clamp(1.75rem, 3.5vw, 2.4rem);
  display: grid;
  gap: 1.6rem;
}
.org-row strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.7rem;
}
.org-people {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.55rem 2rem;
}
.org-people li {
  color: var(--text-hi);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
}
.org-people small {
  display: block;
  color: var(--text-dim);
  font-weight: 400;
  font-size: 0.82rem;
}
.org-deputies { color: var(--text-dim); font-size: 0.85rem; margin: 0.9rem 0 0; max-width: 60ch; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ── Footer ───────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--night-1);
  margin-top: clamp(3rem, 8vw, 6rem);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.footer-plate {
  display: inline-block;
  background: #f4eff0;
  border-radius: 8px;
  padding: 14px 18px;
  box-shadow: 0 6px 24px -8px rgba(234, 195, 178, 0.22);
}
.footer-lockup { width: 210px; height: auto; display: block; }
.footer-claim {
  color: var(--sand);
  font-weight: 600;
  font-size: 1.0625rem;
  margin: 1.4rem 0 0.5rem;
}
.footer-desc {
  color: var(--text-dim);
  font-size: 0.92rem;
  max-width: 44ch;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-nav .footer-head {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.footer-nav a {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.3rem 0;
}
.footer-nav a:hover { color: var(--sand); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-block: 1.4rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-bottom p { margin: 0; }
.footer-legal a { margin-left: 1.5rem; color: var(--text); text-decoration: none; }
.footer-legal a:first-child { margin-left: 0; }
.footer-legal a:hover { color: var(--sand); }

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

/* ── Rechtsseiten (Impressum, Datenschutz) ────────────────── */

.page-main {
  padding-top: clamp(8rem, 16vh, 10rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}
.prose {
  max-width: 72ch;
}
.prose h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-variation-settings: "wdth" 75;
  margin-bottom: 1em;
}
.prose h2 {
  font-size: 1.35rem;
  margin-top: 2.2em;
}
.prose h3 { font-size: 1.125rem; margin-top: 1.8em; }
.prose p, .prose li, .prose address { color: var(--text); }
.prose address { font-style: normal; }
.prose ul { padding-left: 1.2em; }

.footer-slim { margin-top: 0; }
.footer-slim .footer-top { display: none; }

/* ── Reveals (Scroll-Eintritt entlang der Strecke) ────────── */

.js .reveal {
  opacity: 0;
  translate: 0 18px;
  transition:
    opacity 650ms var(--ease-out),
    translate 650ms var(--ease-out);
  transition-delay: var(--rv-delay, 0s);
}
.js .timeline .reveal { translate: -16px 0; }
.js .reveal.in {
  opacity: 1;
  translate: 0 0;
}

.js .compare.reveal {
  translate: 0 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 750ms var(--ease-in-out), opacity 400ms ease;
}
.js .compare.reveal.in { clip-path: inset(0 0 0 0); }

/* ── Reduzierte Bewegung ──────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .js .hero-inner h1,
  .js .hero-inner .lead,
  .js .hero-inner .hero-actions,
  .js .board .board-row,
  .js .hero-hint {
    translate: 0 0;
    animation: fadeOnly 200ms ease forwards;
  }
  .js .tram { transform: translateX(0); animation: none; }
  .js .tram.arrived { transition: none; }
  .js .tram.arrived.away { transform: translateX(0); }
  .js .spark { animation: none; opacity: 0; }
  .js .rail-shine { animation: fadeOnly 200ms ease forwards; }
  .js .station .lamp { animation: fadeOnly 200ms ease forwards; }
  .star { animation: none !important; }
  .marquee-track { animation: none; }
  .marquee { width: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; }
  .marquee-track li[aria-hidden="true"] { display: none; }
  /* Ohne Lauf gibt es nichts zu pausieren; die Beschriftung wird zur Zeile */
  .marquee-pause, .marquee-pause-box { display: none; }
  .marquee-band { display: flex; flex-direction: column; }
  .marquee-caption {
    order: -1;
    position: static;
    translate: none;
    background: none;
    border-right: 0;
    padding: 0 1.75rem 0.5rem;
  }

  .js .reveal,
  .js .timeline .reveal {
    translate: 0 0;
    transition: opacity 200ms ease;
  }
  .js .compare.reveal { clip-path: none; transition: opacity 200ms ease; }

  .route-vehicle { display: none; }
  .job-body { transition: opacity 200ms ease; }
  .job-chev { transition: none; }
  .link-arrow .i { transition: none; }
  .btn, .nav .nav-cta { transition-property: background-color, border-color, color; }

  @keyframes fadeOnly {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}

/* ── Druckfassung: die Tagform des Nachtexpress ───────────────
   Für den ausgedruckten Vorstands-Handout: weißer Grund, Tinte
   statt Nachtviolett, HKS 16 bleibt die einzige Signalfarbe. */

@media print {
  :root {
    --night-0: #ffffff;
    --night-1: #ffffff;
    --night-2: #ffffff;
    --line: #d8d3d6;
    --line-hi: #b9b2b6;
    --text-hi: #131015;
    --text: #131015;
    --text-dim: #494349;
    --sand: #9e0a0e;
    --sand-deep: #9e0a0e;
  }
  @page { margin: 18mm; }

  * { box-shadow: none !important; text-shadow: none !important; }
  html { scroll-behavior: auto; }
  body { background: #ffffff; color: #131015; font-size: 10.5pt; line-height: 1.55; }

  .skip, .site-header, .hero-sky, .hero-scene, .hero-hint, .hero-actions,
  .marquee-band, .route, .members-more, .job-apply,
  .footer-nav, .link-arrow, .job-chev { display: none !important; }

  .hero { min-height: 0; background: #ffffff; }
  .hero-inner { padding-top: 0; }
  .hero h1 em {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: var(--red);
  }

  .js .reveal, .js .timeline .reveal, .js .compare.reveal,
  .js .hero-inner h1, .js .hero-inner .lead, .js .board .board-row {
    opacity: 1 !important;
    translate: 0 0 !important;
    clip-path: none !important;
    animation: none !important;
    transition: none !important;
  }

  .section, .section--right { background: #ffffff; border: 0; padding-block: 1.6rem; }
  .stop-row { position: static; }
  .board dt { color: #131015; }
  .board dt i { color: var(--red); }

  .compare-hi { background: #ffffff; border: 2px solid var(--red); }
  .compare-hi .list-check li { color: #131015; }
  .compare-hi .list-check li + li { border-top-color: var(--line); }
  .compare-hi .compare-tag { color: var(--red); }
  .list-check li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.5l4 4 7-8' stroke='%239e0a0e' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  .avatar { background: #ffffff; color: var(--red); border: 2px solid var(--red); }
  .members { columns: 2; max-height: none; -webkit-mask-image: none; mask-image: none; }

  .job-body { height: auto !important; opacity: 1 !important; visibility: visible !important; }
  .job, .compare-col, .person, .office, .org-card, .board-row,
  .timeline li, .service, .pillars li { break-inside: avoid; }

  .page-main { padding-top: 0; }
  .site-footer { margin-top: 2rem; background: #ffffff; }
  .footer-plate, .logo-plate { background: #ffffff; padding: 0; }
}
