/* abfahrklar – Thema „Wiegeschein & Passstraße“ und Hero-Motiv. Gerüst: /shared/app-page.css */
@font-face { font-family: "Barlow"; src: url("/abfahrklar/fonts/Barlow-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/abfahrklar/fonts/Barlow-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/abfahrklar/fonts/Barlow-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/abfahrklar/fonts/BarlowCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #f7f3ea; --surface: #fffdf8; --sunken: #efe9dc;
  --ink: #1b2733; --ink-soft: #5c6773; --ink-faint: #8a9199; --line: #e2daca;
  --accent: #16324a; --on-accent: #f7f3ea; --accent-strong: #0e2233;
  --panel: #16324a; --panel-ink: #f7f3ea; --panel-ink-soft: #c9d6e1; --panel-line: #24496a;
  --brass: #b7862f; --go: #2e7d4e; --wait: #d19a12; --stop: #b5382b;
  --good: #2e7d4e;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif; --ui: "Barlow", system-ui, sans-serif;
  --display-weight: 700; --display-tracking: 0;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1720; --surface: #15242f; --sunken: #101e28;
    --ink: #efe9dc; --ink-soft: #a9b2b9; --ink-faint: #76818a; --line: #253845;
    --accent: #86bfdf; --on-accent: #0c1720; --accent-strong: #86bfdf;
    --panel: #15242f; --panel-line: #253845; --brass: #e2b866;
    --go: #4fb27a; --wait: #e9b840; --stop: #e2675a; --good: #4fb27a;
  }
}
body { font-size: 18px; }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; }

/* Ampel-Karte im Hero */
.cockpit { width: min(360px, 100%); margin: 0 auto; background: var(--panel); color: var(--panel-ink); border-radius: 28px; padding: 22px; box-shadow: 0 30px 60px -28px rgba(14, 34, 51, 0.6); }
.cockpit .state { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.cockpit .housing { display: grid; gap: 6px; background: #0e2233; padding: 10px 8px; border-radius: 14px; }
.cockpit .housing i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); opacity: .18; display: block; }
.cockpit .housing i.on { opacity: 1; box-shadow: 0 0 14px var(--c); }
.cockpit .word { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; }
.cockpit .row { display: grid; grid-template-columns: 18px 1fr auto; gap: 12px; align-items: center; background: rgba(255,255,255,.06); border-radius: 14px; padding: 12px 14px; margin-top: 8px; }
.cockpit .row::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.cockpit .row b { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--panel-ink-soft); font-weight: 600; }
.cockpit .row span { font-weight: 600; }
.cockpit .row em { font-style: normal; font-family: var(--display); font-size: 20px; }

/* Achslast-Balken */
.axles { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; max-width: 560px; }
.axle { margin: 10px 0 16px; }
.axle header { display: flex; justify-content: space-between; font-weight: 600; }
.axle header em { font-style: normal; font-family: var(--display); font-size: 20px; }
.axle .bar { position: relative; height: 14px; border-radius: 7px; background: var(--sunken); margin-top: 6px; }
.axle .bar span { position: absolute; inset: 0 auto 0 0; border-radius: 7px; background: var(--c); }
.axle .bar::after { content: ""; position: absolute; left: 86.9%; top: 0; width: 3px; height: 14px; background: var(--ink); }

table.rules { border-collapse: collapse; width: 100%; max-width: 640px; margin: 10px 0 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
table.rules th, table.rules td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 16px; vertical-align: top; }
table.rules th { color: var(--ink-soft); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
table.rules tr:last-child td { border-bottom: 0; }
