/* ============================================================
   CHICKEN ROAD TAFEL
   ДИЗАЙН: «Nacht-Tafel» — ретро-электронное табло (вокзал/
   аэропорт): тёмный графит, янтарные LED-точки, расщеплённые
   строки с горизонтальной линией сгиба (split-flap), моно-шрифт
   табло, сигнальные зелёный/красный статусы. Oswald + Barlow +
   IBM Plex Mono.
   ============================================================ */

:root {
  --night: #15171B;
  --hall: #191C21;
  --board: #20242B;
  --board-2: #282D36;
  --line: 1.5px solid #3C434F;
  --line-soft: 1px solid #2C323B;
  --amber: #FFB300;
  --amber-dim: #C98F00;
  --cream: #EFE9DA;
  --muted: #99A0AC;
  --green: #5FC57D;
  --red: #FF5C4D;
  --radius: 3px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Consolas', monospace;
  --container: 1140px;
  --dots: radial-gradient(rgba(255, 179, 0, 0.07) 1px, transparent 1.4px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--night);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--amber); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: .01em; }
.mono { font-family: var(--font-mono); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 26px; }
.section { padding: 76px 0; }
.section--hall { background: var(--hall); }

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.kicker::before { content: '▌ '; color: var(--amber-dim); }

.sec-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.sec-lead { color: var(--muted); max-width: 640px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 22px;
  border: 1.5px solid var(--amber);
  border-radius: var(--radius);
  background: transparent;
  color: var(--amber);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.btn:hover { background: var(--amber); color: var(--night); }
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--amber); color: var(--night); }
.btn--solid:hover { background: var(--cream); border-color: var(--cream); }
.btn--ghost { border-color: #55606E; color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--night); border-color: var(--cream); }
.btn--dark { border-color: var(--night); background: var(--night); color: var(--amber); }
.btn--dark:hover { background: #000; }

/* ---------- Бегущая строка ---------- */
.ticker {
  display: flex;
  align-items: stretch;
  background: #0D0F12;
  border-bottom: var(--line-soft);
  overflow: hidden;
}
.ticker__label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  background: var(--amber);
  color: var(--night);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 8px 18px;
  z-index: 2;
}
.ticker__viewport { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker__track { display: flex; white-space: nowrap; animation: tickerMove 55s linear infinite; }
.ticker__track:hover { animation-play-state: paused; }
.ticker__item { color: var(--amber-dim); font-family: var(--font-mono); font-size: 12.5px; padding: 8px 28px; position: relative; }
.ticker__item::after { content: '·'; position: absolute; right: -4px; color: #4A5260; }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(21, 23, 27, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--amber);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__tag {
  width: 42px; height: 42px;
  background: var(--board-2);
  border: 1.5px solid var(--amber);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.logo__name { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; color: var(--cream); }
.logo__sub { display: block; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); letter-spacing: .08em; margin-top: 1px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 9px 13px;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--cream); border-bottom-color: #4A5260; }
.nav a.active { color: var(--amber); border-bottom-color: var(--amber); }
.burger {
  display: none;
  background: transparent;
  border: 1.5px solid var(--amber);
  border-radius: var(--radius);
  color: var(--amber);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 10px 16px;
  cursor: pointer;
}
@media (max-width: 820px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 86vw);
    background: var(--board);
    border-left: var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 26px 20px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform .28s ease;
    box-shadow: var(--shadow);
    z-index: 90;
  }
  .nav.open { transform: none; }
  .nav a { border-bottom: var(--line-soft); padding: 14px 12px; }
  .nav a.active { border-bottom: 2px solid var(--amber); }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 80; display: none; }
  .nav-backdrop.show { display: block; }
}
@media (min-width: 821px) { .nav-backdrop { display: none; } }

/* ---------- Hero: полноэкранная Tafel ---------- */
.hero {
  padding: 88px 0 76px;
  text-align: center;
  background:
    var(--dots) 0 0 / 9px 9px,
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255, 179, 0, 0.09), transparent 70%),
    var(--night);
  border-bottom: var(--line-soft);
}
.hero__kicker { display: block; margin-bottom: 18px; }
.hero__title {
  font-size: clamp(40px, 6.4vw, 72px);
  text-transform: uppercase;
  letter-spacing: .02em;
  max-width: 900px;
  margin: 0 auto 22px;
}
.hero__title .hl-amber { color: var(--amber); }
.hero__sub { color: var(--muted); max-width: 620px; margin: 0 auto 30px; font-size: 17px; }
.hero__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.hero__rail {
  margin-top: 46px;
  display: flex;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #4A5260;
}
.hero__rail span { border: 1px solid #333A44; border-radius: 999px; padding: 5px 14px; }
.hero__rail b { color: var(--amber-dim); font-weight: 600; }

/* ---------- Fahrplan-Sektion: Tafel-Sim + Foto ---------- */
.fahrplan__grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 40px;
  align-items: start;
}

.tafel {
  background:
    var(--dots) 0 0 / 8px 8px,
    #101216;
  border: 2px solid var(--line);
  border-top-color: var(--amber);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px;
}
.tafel__title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.tafel__title::before {
  content: '';
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: lamp 2s infinite;
}
@keyframes lamp { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.tafel__hint { color: var(--muted); font-size: 13.5px; margin-bottom: 20px; }

.tafel__rows { display: grid; gap: 7px; margin-bottom: 20px; }
.tafel-row {
  display: grid;
  grid-template-columns: 92px 1fr 84px;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid #2E3540;
  background: linear-gradient(180deg, var(--board-2) 0 50%, #1B1F26 50%, #16191F 100%);
  position: relative;
  overflow: hidden;
}
.tafel-row::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  background: rgba(0, 0, 0, 0.55);
}
.tafel-row__lane {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #596270;
}
.tafel-row__state {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .1em;
  color: #4A5260;
}
.tafel-row__fact { font-family: var(--font-mono); font-size: 16px; font-weight: 700; text-align: right; color: #4A5260; }
.tafel-row.is-safe .tafel-row__state { color: var(--amber); }
.tafel-row.is-safe .tafel-row__fact { color: var(--amber); text-shadow: 0 0 12px rgba(255, 179, 0, 0.35); }
.tafel-row.is-end { border-color: rgba(255, 92, 77, 0.55); }
.tafel-row.is-end .tafel-row__state { color: var(--red); text-shadow: 0 0 10px rgba(255, 92, 77, 0.4); }
.tafel-row.is-bank .tafel-row__state { color: var(--green); text-shadow: 0 0 10px rgba(95, 197, 125, 0.4); }
.tafel-row.is-bank .tafel-row__fact { color: var(--green); }
@keyframes flipIn {
  0% { transform: rotateX(90deg); opacity: 0; }
  100% { transform: rotateX(0); opacity: 1; }
}
.tafel-row.is-flip { animation: flipIn .32s ease; }

.tafel__status {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  min-height: 24px;
  margin-bottom: 16px;
}
.tafel__meta { display: flex; gap: 28px; align-items: baseline; margin-bottom: 18px; border-top: var(--line-soft); padding-top: 16px; }
.tafel__fact { font-family: var(--font-mono); font-size: 44px; font-weight: 700; color: var(--amber); line-height: 1; text-shadow: 0 0 18px rgba(255, 179, 0, 0.25); }
.tafel__cap { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 6px; }
.tafel__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.tafel__btns .btn { font-size: 11.5px; padding: 11px 16px; }

.fahrplan__side { display: grid; gap: 20px; }
.foto-frame {
  background: var(--board);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
}
.foto-frame img { width: 100%; height: 250px; object-fit: cover; background: var(--board-2); border-radius: var(--radius); }
.foto-frame figcaption {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 11px;
}
.meldung-box {
  border: 1.5px dashed #3C434F;
  border-radius: var(--radius);
  background: var(--hall);
  padding: 18px 20px;
}
.meldung-box h3 { font-size: 16px; margin-bottom: 6px; }
.meldung-box p { font-size: 13.5px; color: var(--muted); }

/* ---------- Abrechnung (счётчики) ---------- */
.abrechnung { background: #0D0F12; border-top: var(--line-soft); border-bottom: var(--line-soft); padding: 42px 0; }
.abrechnung__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.abrechnung__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 50px);
  color: var(--amber);
  line-height: 1;
  text-shadow: 0 0 16px rgba(255, 179, 0, 0.2);
  display: block;
}
.abrechnung__cap { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Anlagenbericht: staggered 2-col ---------- */
.anlage__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; }
.karte {
  background: var(--board);
  border: var(--line-soft);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: transform .18s ease, border-color .18s ease;
}
.karte:hover { transform: translateY(-4px); border-left-color: var(--cream); }
.karte:nth-child(even) { transform: translateY(16px); }
.karte:nth-child(even):hover { transform: translateY(12px); }
.karte__top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.karte__ico { font-size: 20px; }
.karte h3 { font-size: 16.5px; }
.karte p { color: var(--muted); font-size: 14px; }
.anlage__foto { max-width: 900px; margin-top: 34px; }
.anlage__foto img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius); background: var(--board-2); border: var(--line-soft); }
.anlage__foto figcaption { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 10px; }

/* ---------- Dienstanweisungen: нумерованные строки ---------- */
.anweisungen { max-width: 860px; }
.anweisung {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  align-items: start;
  padding: 26px 0;
  border-bottom: var(--line-soft);
}
.anweisung:first-of-type { border-top: var(--line-soft); }
.anweisung__nr {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 700;
  color: #3C434F;
  line-height: 1;
}
.anweisung:hover .anweisung__nr { color: var(--amber); }
.anweisung h3 { font-size: 17px; margin-bottom: 6px; }
.anweisung p { color: var(--muted); font-size: 14.5px; max-width: 640px; }

/* ---------- Fahrplanübersicht (таблица) ---------- */
.plan { border: var(--line); border-top: 2px solid var(--amber); border-radius: var(--radius); background: var(--board); box-shadow: var(--shadow); overflow-x: auto; }
.plan table { width: 100%; border-collapse: collapse; min-width: 720px; }
.plan th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: left;
  color: var(--amber);
  border-bottom: var(--line);
  padding: 15px 18px;
}
.plan td { padding: 15px 18px; border-bottom: var(--line-soft); font-size: 14px; vertical-align: top; color: var(--cream); }
.plan tr:last-child td { border-bottom: none; }
.plan td.g { font-family: var(--font-mono); font-weight: 700; white-space: nowrap; }
.grad {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--amber);
  color: var(--amber);
  margin-right: 8px;
}
.grad--3 { border-color: #E07A4F; color: #E07A4F; }
.grad--4 { border-color: var(--red); color: var(--red); }
.plan-note { margin-top: 16px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding-left: 14px; border-left: 3px solid var(--amber); max-width: 780px; }

/* ---------- Abfahrtkontrolle (чек-лист) ---------- */
.kontrolle { max-width: 720px; }
.checklist { list-style: none; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--board);
  border: var(--line-soft);
  border-radius: var(--radius);
  padding: 15px 18px;
  margin-bottom: 9px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  user-select: none;
  transition: background .15s ease;
}
.checklist li:hover { background: var(--board-2); }
.checklist .box {
  width: 22px; height: 22px;
  flex-shrink: 0;
  border: 1.5px solid var(--amber);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--night);
  margin-top: 2px;
}
.checklist li.done { border-left: 3px solid var(--green); }
.checklist li.done .box { background: var(--green); border-color: var(--green); }
.checklist li.done .box::after { content: '✓'; }
.checklist li.done .txt { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--muted); }
.checklist__count { font-family: var(--font-mono); font-size: 13px; color: var(--amber); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--board);
  border: var(--line-soft);
  border-radius: var(--radius);
  margin-bottom: 9px;
}
.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: none;
  border: none;
  padding: 16px 20px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
}
.faq-item__q { font-weight: 700; font-size: 15.5px; flex: 1; color: var(--cream); }
.faq-item__sign { font-family: var(--font-mono); font-size: 18px; color: var(--amber); transition: transform .25s ease; flex-shrink: 0; }
.faq-item.open .faq-item__sign { transform: rotate(45deg); }
.faq-item__body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item__body-inner { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }
.faq-item.open { border-left: 3px solid var(--amber); }

/* ---------- CTA: янтарная плашка ---------- */
.cta { background: var(--amber); color: var(--night); padding: 62px 0; }
.cta .kicker { color: var(--night); }
.cta .kicker::before { color: rgba(21, 23, 27, 0.55); }
.cta h2 { font-size: clamp(28px, 4vw, 44px); max-width: 640px; margin-bottom: 12px; text-transform: uppercase; }
.cta p { max-width: 540px; margin-bottom: 24px; color: rgba(21, 23, 27, 0.8); font-weight: 600; }
.cta .btn { border-color: var(--night); background: var(--night); color: var(--amber); }
.cta .btn:hover { background: var(--cream); border-color: var(--cream); color: var(--night); }

/* ---------- Dienstausweis (trust-полоса) ---------- */
.ausweis-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ausweis {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: var(--line-soft);
  border-radius: var(--radius);
  padding: 16px 16px;
  background: var(--board);
}
.ausweis__ico {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--amber);
  border-radius: var(--radius);
  font-size: 18px;
}
.ausweis h3 { font-size: 13.5px; margin-bottom: 3px; }
.ausweis p { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ---------- Footer ---------- */
.footer { background: #0D0F12; border-top: 2px solid var(--amber); padding: 52px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 32px; }
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 13px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 7px; }
.footer a { text-decoration: none; font-size: 13.5px; color: var(--muted); }
.footer a:hover { color: var(--amber); }
.footer__about p { font-size: 13px; color: var(--muted); margin-top: 12px; max-width: 320px; }
.footer__disclaimer {
  border: 1.5px dashed #3C434F;
  border-radius: var(--radius);
  padding: 15px 20px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.footer__disclaimer .ico { font-size: 17px; flex-shrink: 0; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 11.5px; color: #59616D; padding-top: 15px; border-top: var(--line-soft); }

/* ---------- Cookie-Zettel ---------- */
.cookie-card {
  position: fixed;
  right: 22px; bottom: 22px;
  width: min(370px, calc(100vw - 44px));
  background: var(--amber);
  color: var(--night);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  z-index: 100;
  display: none;
}
.cookie-card.show { display: block; animation: cardIn .4s ease; }
@keyframes cardIn { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie-card__text { font-size: 13px; font-weight: 600; line-height: 1.55; margin-bottom: 13px; }
.cookie-card__text a { color: var(--night); font-weight: 800; text-decoration-thickness: 2px; }
.cookie-card__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-card__btns .btn { font-size: 11px; padding: 9px 14px; border-color: var(--night); color: var(--night); }
.cookie-card__btns .btn--dark { background: var(--night); color: var(--amber); }

/* ---------- Внутренние страницы ---------- */
.page-head { padding: 56px 0 44px; border-bottom: var(--line-soft); background:
  var(--dots) 0 0 / 9px 9px, var(--night); }
.page-head h1 { font-size: clamp(34px, 5vw, 58px); text-transform: uppercase; margin: 4px 0 14px; }
.page-head__lead { color: var(--muted); font-size: 16.5px; max-width: 720px; }

.article { max-width: 780px; margin: 0 auto; }
.article h2 { font-size: clamp(23px, 3vw, 31px); margin: 46px 0 12px; text-transform: uppercase; letter-spacing: .02em; }
.article h3 { font-size: 18px; margin: 26px 0 8px; }
.article p { margin-bottom: 13px; color: #CFC9BA; }
.article ul, .article ol { margin: 0 0 13px 24px; color: #CFC9BA; }
.article li { margin-bottom: 8px; }
.article a { font-weight: 600; }
.article strong { color: var(--cream); }

.schritte { counter-reset: schritt; list-style: none; margin: 0 !important; padding: 0; }
.schritte li {
  counter-increment: schritt;
  position: relative;
  background: var(--board);
  border: var(--line-soft);
  border-radius: var(--radius);
  padding: 16px 20px 16px 84px;
  margin-bottom: 9px !important;
}
.schritte li::before {
  content: counter(schritt, decimal-leading-zero);
  position: absolute;
  left: 20px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 26px;
  color: var(--amber);
}
.schritte li strong { color: var(--cream); }

.meldung {
  border: 1.5px dashed #3C434F;
  border-radius: var(--radius);
  background: var(--hall);
  padding: 20px 24px;
  margin: 26px 0;
  font-size: 14.5px;
  color: var(--cream);
}
.meldung--amber { border-left: 4px solid var(--amber); }

.glossar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.glossar__item { background: var(--board); border: var(--line-soft); border-radius: var(--radius); padding: 16px 20px; }
.glossar dt { font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--amber); margin-bottom: 4px; }
.glossar dd { font-size: 13.5px; color: var(--muted); }

.automat {
  border: var(--line);
  border-top: 2px solid var(--amber);
  border-radius: var(--radius);
  background: var(--board);
  box-shadow: var(--shadow);
  padding: 28px 30px;
  max-width: 640px;
}
.automat__out {
  border: 1.5px dashed #3C434F;
  border-radius: var(--radius);
  padding: 16px 18px;
  min-height: 66px;
  font-family: var(--font-mono);
  font-size: 14px;
  margin: 14px 0 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--cream);
}
.automat__out .n { color: var(--amber); flex-shrink: 0; }

/* ---------- Форма ---------- */
.form-card {
  max-width: 640px;
  background: var(--board);
  border: var(--line);
  border-top: 2px solid var(--amber);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 34px;
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  background: var(--night);
  border: var(--line-soft);
  border-radius: var(--radius);
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--cream);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--amber); }
.form-row .field-error { display: none; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; color: var(--red); margin-top: 5px; }
.form-row.invalid .field-error { display: block; }
.form-row.invalid input, .form-row.invalid textarea { border-color: var(--red); }
.form-msg { display: none; border-radius: var(--radius); padding: 12px 16px; font-family: var(--font-mono); font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(95, 197, 125, 0.14); border: 1.5px solid var(--green); color: var(--green); }
.form-msg.err { background: rgba(255, 92, 77, 0.12); border: 1.5px solid var(--red); color: var(--red); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Мобильная версия ---------- */
@media (max-width: 960px) {
  .fahrplan__grid { grid-template-columns: 1fr; }
  .abrechnung__grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .ausweis-strip { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .glossar { grid-template-columns: 1fr; }
  .karte:nth-child(even) { transform: none; }
  .karte:nth-child(even):hover { transform: translateY(-4px); }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .hero { padding: 64px 0 60px; }
  .anweisung { grid-template-columns: 60px 1fr; gap: 14px; }
  .anweisung__nr { font-size: 30px; }
  .ausweis-strip { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .tafel { padding: 20px 18px; }
  .tafel-row { grid-template-columns: 64px 1fr 64px; padding: 0 10px; }
  .cookie-card { right: 12px; }
  .form-card { padding: 24px 20px; }
}