/* Stau A3 – "Wegweiser": deutsche Autobahnbeschilderung als Gestaltungsidee. Blaue Tafeln mit weißem Rand für alles,
   was Orientierung gibt, helle Flächen für Details. Signalfarben nur dort, wo auf der Strecke etwas passiert. Mobil zuerst. */
:root {
  --bg: #edf0f4; --surface: #fff; --surface-2: #f3f6fa; --ink: #0f1a2b; --muted: #536179; --line: #dae1ea; --line-2: #bfcbda;
  --accent: #0a4b94; --accent-ink: #fff; --link: #0a4b94; --soft: #e3edf9; --sign: #0a4b94; --sign-2: #083a74;
  --ok: #1f7a50; --works: #7b8696; --slow: #b97f00; --jam: #c4312b; --closed: #7d3191; --acc: #c05a1e; --hazard: #93740c; --weather: #2a72b5;
  --lane: #dfe6ef;
  --m-jam: #ff6b52; --m-slow: #ffc531; --m-closed: #ff82e0; --m-works: #dbe9fb;
  --r: 10px;
  --head: Bahnschrift, "DIN Alternate", "Roboto Condensed", "Archivo Narrow", "Arial Narrow", system-ui, sans-serif;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #0a111d; --surface: #121c2c; --surface-2: #182437; --ink: #e4ebf5; --muted: #95a5bd; --line: #243248; --line-2: #354764;
  --accent: #7db4f5; --accent-ink: #07172c; --link: #8cbdf7; --soft: #172a45; --sign: #0c3a70; --sign-2: #092c56;
  --ok: #63bd8f; --works: #8995a8; --slow: #e8b13c; --jam: #f17a70; --closed: #c68bdb; --acc: #e68d55; --hazard: #cdae45; --weather: #6fb0ec;
  --lane: #263550;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font: 16px/1.58 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; background: var(--bg); color: var(--ink); overflow-wrap: break-word; font-variant-numeric: tabular-nums; }
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(1.65rem, 6vw, 2.35rem); }
h2 { font-size: clamp(1.32rem, 4.4vw, 1.6rem); }
h3 { font-size: 1.1rem; }
h2 a { color: inherit; }
p { margin: 0 0 .8em; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { width: 100%; max-width: 940px; margin: 0 auto; padding: 0 14px; }
.main { padding-top: 16px; padding-bottom: 44px; }
.sec { display: block; margin: 34px 0; min-width: 0; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sec-h a { font-size: .9rem; }
.fine { font-size: .82rem; color: var(--muted); margin: 8px 0 0; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.2em; }
.grid2 { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }

/* Kopf */
.site-header { background: var(--sign); color: #fff; position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 8px rgba(6, 24, 52, .22); }
/* Innenabstand statt nur fester Höhe: automatische Anzeigen überschreiben height und min-height des Kopfs */
.hdr { display: flex; align-items: center; gap: 14px; height: 56px; padding-top: 8px; padding-bottom: 8px; max-width: 1160px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; flex: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font: 700 1.22rem/1.15 var(--head); }
.brand-txt small { font-size: .72rem; opacity: .85; }
.shield { display: inline-grid; place-items: center; width: 38px; height: 32px; background: #fff; clip-path: polygon(22% 0, 78% 0, 100% 50%, 78% 100%, 22% 100%, 0 50%); color: #fff; font: 700 1.15rem/1 var(--head); position: relative; isolation: isolate; }
.shield::before { content: ""; position: absolute; inset: 2.5px; background: #0a4b94; clip-path: inherit; z-index: -1; box-shadow: none; }
.nav-d { display: none; margin-left: auto; gap: 2px; }
.nav-d a { color: #fff; text-decoration: none; padding: 7px 9px; font: 600 .98rem/1.2 var(--head); white-space: nowrap; border-radius: 6px; opacity: .88; }
.nav-d a:hover { opacity: 1; background: rgba(255,255,255,.12); }
.nav-d a[aria-current] { opacity: 1; background: #fff; color: #0a4b94; }
.hdr-tools { margin-left: auto; display: flex; gap: 6px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.site-header :focus-visible { outline-color: #fff; }
.i-sun, html[data-theme="dark"] .i-moon { display: none; }
html[data-theme="dark"] .i-sun { display: block; }
.nt-bars, .nt-bars::before, .nt-bars::after { content: ""; display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nt-bars::before { position: absolute; top: -6px; } .nt-bars::after { position: absolute; top: 6px; }
.sheet { position: fixed; inset: 56px 0 0; background: var(--bg); z-index: 39; overflow: auto; padding: 6px 0 100px; }
.sheet-in { max-width: 560px; margin: 0 auto; padding: 0 14px; display: flex; flex-direction: column; }
.sheet-in a { padding: 12px 2px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.sheet-in a.sub { padding-left: 16px; color: var(--muted); }
.sheet-h { margin: 22px 0 2px; font: 700 1.15rem var(--head); color: var(--accent); }
.no-js .nav-toggle { display: none; }
@media (min-width: 1120px) { .nav-d { display: flex; } .hdr-tools { margin-left: 0; } .nav-toggle { display: none; } }

/* Brotkrumen, Seitenkopf */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0 0 12px; padding: 0; font-size: .82rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 4px; opacity: .6; }
.crumbs a { color: var(--muted); }
.page-head { margin: 8px 0 20px; border-left: 6px solid var(--sign); padding-left: 14px; }
.page-head > :last-child { margin-bottom: 0; }
.lead { color: var(--muted); font-size: 1.04rem; max-width: 66ch; }
.eyebrow { font-size: .84rem; color: var(--muted); margin-bottom: 2px; }
.stand { font-size: .82rem; color: var(--muted); margin: 0; }
.linkbtn { background: none; border: 0; padding: 4px 0; color: var(--link); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Tafel mit weißem Rand: Startseiten-Kopf und Streckenkarte */
.intro, .atlas { background: var(--sign); color: #fff; border-radius: 16px; position: relative; isolation: isolate; }
.intro::after, .atlas::after { content: ""; position: absolute; inset: 5px; border: 2px solid rgba(255,255,255,.92); border-radius: 12px; pointer-events: none; z-index: -1; }
.intro { padding: 22px 22px 18px; margin-bottom: 12px; }
.kicker { font: 600 .84rem/1.45 var(--head); opacity: .85; margin-bottom: 8px; }
.intro h1 { display: flex; gap: 12px; margin-bottom: .3em; }
.intro h1 i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: #7fe0a8; margin-top: .42em; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.intro .lead { color: #fff; opacity: .92; margin-bottom: 6px; font-size: 1rem; }
.intro .stand { color: #fff; opacity: .8; }
.intro .linkbtn { color: #fff; }
.v-slow h1 i { background: var(--m-slow); } .v-jam h1 i { background: var(--m-jam); } .v-closed h1 i { background: var(--m-closed); } .v-unknown h1 i { background: #b9c3d1; }

/* Knöpfe, Formulare */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 18px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-family: inherit; font-size: .94rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--accent); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.is-saved { border-color: var(--ok); color: var(--ok); }
.fld { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fld span { font-size: .8rem; color: var(--muted); }
select { min-height: 44px; width: 100%; max-width: 100%; padding: 8px 10px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: inherit; }

.tripform { display: grid; gap: 10px; grid-template-columns: 1fr; position: relative; }
.tripform .swap { justify-self: end; width: 48px; height: 30px; margin: -6px 0 -34px; position: relative; z-index: 1; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; font-size: 1.05rem; }
.no-js .swap { display: none; }
.tripform-full { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-top: 0; }
@media (min-width: 680px) {
  .tripform { grid-template-columns: 1fr 44px 1fr auto; align-items: end; }
  .tripform .swap { margin: 0; height: 44px; width: 44px; }
  .tripform-full { grid-template-columns: 1fr 44px 1fr; }
  .tripform-full .btn { grid-column: 3; }
}
.mytrip { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; background: var(--soft); border-radius: var(--r); padding: 11px 14px; margin-bottom: 18px; }
.mytrip a { font-weight: 600; }
.mytrip b { font: 700 1.3rem var(--head); }
.mytrip .mt-bad { color: var(--jam); font-weight: 600; }
.mytrip button { margin-left: auto; background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: .82rem; text-decoration: underline; }

/* Richtungen: zwei Wegweiser */
.ways { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.way { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--surface); border-radius: var(--r); padding: 12px 14px; color: var(--ink); min-width: 0; box-shadow: inset 0 0 0 1px var(--line); border-top: 5px solid var(--ok); }
.way p { margin: 0; }
.way-n { min-width: 0; }
.way-n b { display: block; font: 700 1.08rem/1.3 var(--head); }
.way-n small, .way-t small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.45; }
.way-t { text-align: right; flex: none; }
.way-t b { display: block; font: 700 clamp(1.35rem, 6vw, 1.7rem)/1.25 var(--head); white-space: nowrap; }
.way-t small { max-width: 200px; margin-left: auto; }
.way-t .way-closed { color: var(--closed); }
.way em { font-style: normal; font-weight: 700; color: var(--jam); }
.way.st-works { border-top-color: var(--works); } .way.st-slow { border-top-color: var(--slow); } .way.st-jam { border-top-color: var(--jam); } .way.st-closed { border-top-color: var(--closed); }

/* Streckenkarte */
.atlas { padding: 12px 10px 10px; min-width: 0; }
.at { display: block; width: 100%; height: auto; max-height: 600px; margin: 0 auto; overflow: visible; }
.at path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.at .at-road { stroke: rgba(0,0,0,.22); stroke-width: 12px; }
.at .at-lane { stroke: rgba(255,255,255,.42); stroke-width: 2.5px; }
.at .at-m { stroke-width: 6px; stroke-linecap: round; }
.at .at-m.st-jam { stroke: var(--m-jam); } .at .at-m.st-slow { stroke: var(--m-slow); } .at .at-m.st-closed { stroke: var(--m-closed); stroke-width: 6px; }
.at .at-m.st-works { stroke: var(--m-works); stroke-dasharray: 3 4; stroke-width: 4px; stroke-linecap: butt; }
.at .at-hit { stroke: transparent; stroke-width: 18px; pointer-events: stroke; }
.at a:hover .at-m, .at a:focus-visible .at-m { stroke-width: 9px; }
.at a:focus-visible { outline: none; }
.at-dot { fill: var(--sign); stroke: #fff; stroke-width: 4; }
.at-lbl { fill: #fff; font: 600 31px var(--head); paint-order: stroke; stroke: var(--sign); stroke-width: 7px; stroke-linejoin: round; }
.at-land { fill: #fff; opacity: .65; font: 700 28px var(--head); }
@media (min-width: 680px) { .at-lbl { font-size: 24px; } .at-land { font-size: 22px; } .at .at-m { stroke-width: 7.5px; } .at { max-height: 480px; } .at .at-lane { stroke-width: 3.5px; } .at .at-road { stroke-width: 17px; } .atlas { padding: 18px 18px 12px; } }

.atlas .legend { justify-content: center; color: #fff; margin: 6px 6px 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .76rem; color: var(--muted); margin: 10px 0 0; align-items: center; }
.lg { display: inline-flex; align-items: center; gap: 6px; }
.lg::before { content: ""; width: 16px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.42); }
.lg.st-jam::before { background: var(--m-jam); } .lg.st-slow::before { background: var(--m-slow); } .lg.st-closed::before { background: var(--m-closed); }
.lg.st-works::before { background: repeating-linear-gradient(90deg, var(--m-works) 0 3px, transparent 3px 6px); }

/* Etappentabelle */
.plan-t { margin-top: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.lt-head, .leg > summary { display: grid; grid-template-columns: minmax(0, 1fr) 76px 76px; gap: 6px; align-items: center; padding-left: 14px; padding-right: 10px; }
.lt-head { font-size: .74rem; color: var(--muted); padding-top: 9px; padding-bottom: 9px; }
.lt-head span + span { text-align: center; }
.lt-sec { margin: 0; padding: 14px 14px 6px; font-size: .92rem; border-top: 1px solid var(--line-2); }
.lt-sec a { color: var(--ink); text-decoration: none; }
.lt-sec a:hover { text-decoration: underline; }
.leg { border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.leg > summary { list-style: none; cursor: pointer; padding-top: 9px; padding-bottom: 9px; }
.leg > summary::-webkit-details-marker { display: none; }
.leg > summary:hover { background: var(--surface-2); }
.leg-n { min-width: 0; }
.leg-n b { display: block; font-weight: 500; line-height: 1.35; }
.leg-n small { display: block; font-size: .76rem; color: var(--muted); }
.leg-n small::after { content: " ▾"; opacity: .6; }
.leg[open] .leg-n small::after { content: " ▴"; }
.leg[open] > summary { background: var(--surface-2); }
.leg-s { text-align: center; font-size: .8rem; line-height: 1.3; padding: 4px 3px; border-radius: 5px; color: var(--muted); }
.leg-s.st-ok { opacity: .75; }
.leg-s.st-works { background: color-mix(in srgb, var(--works) 16%, transparent); color: var(--ink); }
.leg-s.st-slow { background: color-mix(in srgb, var(--slow) 20%, transparent); color: var(--ink); font-weight: 600; }
.leg-s.st-jam { background: color-mix(in srgb, var(--jam) 17%, transparent); color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--jam); }
.leg-s.st-closed { background: var(--closed); color: var(--surface); font-weight: 700; }
.leg-body { padding: 2px 14px 12px; background: var(--surface-2); }
.leg-body .fine { margin: 6px 0 0; }
.leg-list { list-style: none; margin: 0; padding: 0; }
.leg-list li { --kc: var(--works); padding: 8px 0 8px 12px; border-left: 2px solid var(--kc); margin-top: 6px; line-height: 1.4; }
.leg-list a { color: var(--ink); }
.leg-list small { display: block; font-size: .78rem; color: var(--muted); }
.leg-more { margin: 8px 0 0; font-size: .86rem; }
.leg-more:empty { display: none; }
@media (max-width: 380px) { .lt-head, .leg > summary { grid-template-columns: minmax(0, 1fr) 66px 66px; gap: 4px; padding-left: 10px; padding-right: 6px; } .leg-s { font-size: .74rem; } .leg-n b { font-size: .92rem; } }

/* Meldungen */
.k-jam { --kc: var(--jam); } .k-jam.sev-1, .k-jam.sev-2 { --kc: var(--slow); } .k-closed, .k-ramp { --kc: var(--closed); } .k-accident { --kc: var(--acc); } .k-hazard { --kc: var(--hazard); } .k-weather { --kc: var(--weather); } .k-works { --kc: var(--works); }
.leg-list li.k-jam { --kc: var(--jam); } .leg-list li.k-jam.sev-1, .leg-list li.k-jam.sev-2 { --kc: var(--slow); } .leg-list li.k-closed, .leg-list li.k-ramp { --kc: var(--closed); } .leg-list li.k-accident { --kc: var(--acc); } .leg-list li.k-hazard { --kc: var(--hazard); } .leg-list li.k-weather { --kc: var(--weather); }
.mc-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.mc { display: flex; gap: 14px; justify-content: space-between; padding: 13px 14px; border-left: 3px solid var(--kc, var(--works)); }
.mc + .mc, .mc + .ad, .ad + .mc { border-top: 1px solid var(--line); }
.mc.is-ended { opacity: .66; }
.mc-body { min-width: 0; }
.mc-meta { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; margin: 0 0 2px; font-size: .78rem; color: var(--muted); }
.tag { font-weight: 700; color: var(--ink); }
.tag-end { color: var(--ok); font-weight: 700; }
.mc-h { font-family: inherit; font-size: 1rem; font-weight: 600; margin: 0 0 3px; line-height: 1.4; }
.mc-h a { color: inherit; text-decoration: none; }
.mc-h a:hover { text-decoration: underline; }
.mc-facts { display: flex; flex-wrap: wrap; gap: 0 14px; font-size: .84rem; color: var(--muted); margin: 0; }
.trend { font-weight: 600; } .t-up { color: var(--jam); } .t-down { color: var(--ok); }
.mc-why { font-size: .84rem; margin: 3px 0 0; }
.mc-before { list-style: none; margin: 7px 0 0; padding: 0; font-size: .82rem; color: var(--muted); }
.mc-before b { color: var(--ink); font-weight: 600; }
.mc-num { text-align: right; flex: none; }
.mc-num b { display: block; font: 700 1.4rem/1.15 var(--head); color: var(--kc, var(--ink)); }
.mc-num small { color: var(--muted); font-size: .72rem; }
.ad { padding: 8px; min-height: 110px; }
.ad-l { font-size: .72rem; color: var(--muted); }

/* Filter */
.filters { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.no-js .filters, .no-js .restbar { display: none; }
.seg { display: inline-flex; align-self: flex-start; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; max-width: 100%; }
.seg button { border: 0; background: none; color: var(--ink); font-family: inherit; font-size: .88rem; padding: 7px 14px; cursor: pointer; min-height: 38px; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.is-on { background: var(--accent); color: var(--accent-ink); }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.chip { flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 99px; padding: 6px 13px; font-family: inherit; font-size: .85rem; cursor: pointer; min-height: 36px; }
.chip i { font-style: normal; color: var(--muted); margin-left: 4px; }
.chip.is-on { border-color: var(--accent); background: var(--soft); box-shadow: inset 0 0 0 1px var(--accent); }
.f-none { color: var(--muted); }
.collapsible.is-collapsed .mc-list > :nth-child(n+13), .citylist.is-collapsed > :nth-child(n+9) { display: none; }
.morebtn { width: 100%; margin-top: 10px; }
.grp { margin-bottom: 24px; }
.grp-h { display: flex; gap: 8px; align-items: baseline; }
.grp-h small { color: var(--muted); font-family: system-ui, sans-serif; font-weight: 400; }
.subnav { display: flex; gap: 18px; overflow-x: auto; margin: 16px 0; border-bottom: 1px solid var(--line); }
.subnav a { flex: none; padding: 8px 0; text-decoration: none; color: var(--muted); font-size: .92rem; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subnav a[aria-current] { color: var(--ink); border-bottom-color: var(--accent); }
.recent { margin-top: 14px; }
.recent > summary { cursor: pointer; color: var(--muted); padding: 10px 0; }
.fold { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.fold > summary { cursor: pointer; padding: 13px 14px; font-weight: 600; }
.fold > summary small { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); }
.fold > div { padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.fold > div > .fine { margin: 0 0 10px; }

/* Grenzen */
.border { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; min-width: 0; }
.border header h3 { margin: 0; }
.border header h3 a { color: inherit; }
.border header p { margin: 0 0 10px; font-size: .82rem; color: var(--muted); }
.border dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.border dt { font-size: .76rem; color: var(--muted); }
.border dd { margin: 0; font: 700 1.14rem var(--head); }
.border dd.st-ok { color: var(--ok); } .border dd.st-slow { color: var(--slow); } .border dd.st-jam { color: var(--jam); } .border dd.st-closed { color: var(--closed); }
.border-l, .border-f { margin: 10px 0 0; padding-left: 18px; font-size: .86rem; }
.border-l a { color: var(--ink); }
.border-f { color: var(--muted); }

/* Lkw-Fahrverbot */
.ban { display: block; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r); padding: 12px 14px; color: var(--ink); text-decoration: none; margin-bottom: 12px; }
a.ban:hover { border-color: var(--accent); }
.ban.is-on { border-left-color: var(--jam); background: color-mix(in srgb, var(--jam) 8%, var(--surface)); }
.ban-k { display: block; font-size: .78rem; color: var(--muted); }
.ban b { display: block; font: 700 1.1rem/1.4 var(--head); }
.ban small { display: block; font-size: .8rem; color: var(--muted); }

/* Alternative */
.altbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; min-width: 0; }
.altbox-h { margin: 0 0 10px; }
.altbox-h b { display: block; font: 700 1.02rem var(--head); }
.altbox-h span { font-size: .84rem; color: var(--muted); }
.alt-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.alt-c { border: 1px solid var(--line); border-radius: 6px; padding: 9px 10px; min-width: 0; }
.alt-c.is-best { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.alt-c p { margin: 0; }
.alt-road { font-weight: 600; font-size: .86rem; }
.alt-road i { font-style: normal; font-weight: 400; font-size: .72rem; color: var(--accent); margin-left: 3px; }
.alt-time { font: 700 1.3rem/1.35 var(--head); }
.alt-sub { font-size: .76rem; color: var(--muted); line-height: 1.45; }

/* Wetter */
.wxstrip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.wx { flex: 0 0 126px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 3px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; text-decoration: none; color: var(--ink); }
.wx.lv-1 { border-color: var(--weather); }
.wx.lv-2 { border-color: var(--weather); background: color-mix(in srgb, var(--weather) 13%, var(--surface)); }
.wx-n { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wx-t { display: flex; align-items: center; gap: 6px; }
.wx-t b { font: 700 1.4rem var(--head); }
.wx-r { font-size: .74rem; color: var(--muted); line-height: 1.35; }
.wi { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; color: var(--muted); }
.wxbanner { display: flex; gap: 11px; align-items: center; margin: 14px 0; padding: 11px 14px; border-radius: var(--r); background: color-mix(in srgb, var(--weather) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--weather) 40%, transparent); color: var(--ink); text-decoration: none; font-size: .9rem; }
.wxbanner > span:first-child { font-size: 1.3rem; color: var(--weather); }
.alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.al { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 11px 14px; border-left: 3px solid var(--slow); }
.al-2 { border-left-color: var(--acc); } .al-3 { border-left-color: var(--jam); } .al-4 { border-left-color: var(--closed); }
.al b, .al span, .al small { display: block; }
.al span { font-size: .84rem; } .al small { font-size: .8rem; color: var(--muted); }
.tablewrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.wxt { border-collapse: collapse; width: 100%; min-width: 600px; font-size: .86rem; }
.wxt th, .wxt td { padding: 8px 9px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.wxt th[scope="row"] { text-align: left; position: sticky; left: 0; background: var(--surface); min-width: 128px; max-width: 150px; font-weight: 600; }
.wxt th small { display: block; font-weight: 400; color: var(--muted); font-size: .72rem; }
.wxt thead th { font-size: .74rem; font-weight: 400; color: var(--muted); }
.wxt td b { display: block; font: 700 1.05rem var(--head); }
.wxt td small { display: block; font-size: .7rem; color: var(--muted); }
.wxt td .wi { width: 21px; height: 21px; }
.wxt td.lv-1 { background: color-mix(in srgb, var(--weather) 10%, transparent); }
.wxt td.lv-2 { background: color-mix(in srgb, var(--weather) 24%, transparent); }
.wxt td.lv-2 small { color: var(--ink); font-weight: 600; }
.wxt .range { white-space: nowrap; }
.climbs { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.climb { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 13px 14px; }
.climb.lv-1 { border-color: var(--weather); } .climb.lv-2 { border-color: var(--jam); }
.climb p { margin: 0 0 6px; font-size: .88rem; }
.climb-meta { color: var(--muted); font-size: .78rem !important; }
.climb-now { margin: 0 !important; }

/* Fahrtplaner */
.res-card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r); padding: 18px 16px; }
.res-card.has-closure { border-color: var(--closed); }
.res-card p { margin: 0; }
.res-route { font-weight: 600; } .res-route i { font-style: normal; color: var(--muted); } .res-route small { color: var(--muted); font-weight: 400; margin-left: 6px; }
.res-time { font: 700 clamp(2.2rem, 10vw, 3.2rem)/1.2 var(--head); }
.res-arr { color: var(--muted); } .res-arr b { color: var(--ink); }
.res-sum { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.res-sum dt { font-size: .76rem; color: var(--muted); }
.res-sum dd { margin: 0; font: 700 1.15rem var(--head); }
.res-sum .is-bad dd { color: var(--jam); }
.res-note { margin-top: 10px !important; font-size: .84rem; color: var(--muted); }
.res-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
@media (min-width: 680px) { .res-sum { grid-template-columns: repeat(4, 1fr); } }
.plan { list-style: none; margin: 0; padding: 0; }
.pl { --kc: var(--works); display: grid; grid-template-columns: 50px 20px minmax(0, 1fr); gap: 8px; }
.pl-t { font-weight: 600; font-size: .95rem; padding-top: 11px; text-align: right; line-height: 1.35; }
.pl-t small { display: block; font-size: .7rem; font-weight: 400; color: var(--muted); }
.pl-dot { position: relative; }
.pl-dot::before { content: ""; position: absolute; left: 9px; top: 0; bottom: 0; width: 2px; background: var(--line-2); }
.pl-dot::after { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 3px solid var(--kc); }
.pl:first-child .pl-dot::before { top: 20px; } .pl:last-child .pl-dot::before { bottom: auto; height: 20px; }
.pl-b { margin: 4px 0; padding: 9px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.pl-b b { font-weight: 600; }
.pl-b b a { color: inherit; }
.pl-b small, .pl-b em { display: block; font-size: .8rem; color: var(--muted); }
.pl-b em { margin-top: 3px; font-style: normal; color: var(--ink); }
.pl-b em.gone { color: var(--ok); font-weight: 600; }
.pl-item.is-gone .pl-b { opacity: .75; }
.pl-end { --kc: var(--ink); }
.pl-break { --kc: var(--accent); } .pl-break .pl-b { background: var(--soft); border-color: transparent; }
.pl-wx { --kc: var(--line-2); }
.pl-wx .pl-b { display: flex; align-items: center; gap: 9px; background: transparent; border-style: dashed; font-size: .86rem; }
.pl-wx.lv-1 .pl-b, .pl-wx.lv-2 .pl-b { background: color-mix(in srgb, var(--weather) 12%, var(--surface)); border-style: solid; border-color: var(--weather); }

/* Raststätten */
.restbar { position: sticky; top: 56px; z-index: 5; background: var(--bg); padding: 9px 0; display: flex; flex-direction: column; gap: 8px; }
.rests { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.rest { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; padding: 13px 14px 11px 10px; }
.rest + .rest { border-top: 1px solid var(--line); }
.rest-km { text-align: right; border-right: 1px solid var(--line-2); padding-right: 9px; }
.rest-km b { display: block; font: 700 1.1rem/1.35 var(--head); }
.rest-km small { color: var(--muted); font-size: .68rem; }
.rest h3 { margin: 0; font-family: inherit; font-size: 1rem; font-weight: 600; }
.rest h3 a { color: inherit; text-decoration: none; }
.rest h3 a:hover { text-decoration: underline; }
.rest-sub, .rest-brands { font-size: .82rem; color: var(--muted); margin: 0; }
.fac { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 4px; }
.fac:empty { display: none; }
.fac span, .fac a { font-size: .76rem; border-radius: 5px; padding: 2px 8px; background: var(--surface-2); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.fac a { padding: 6px 10px; background: var(--surface); }
.fac .f-charge { border-color: var(--ok); }
.rest-more { margin: 2px 0 -2px; font-size: .86rem; }
.rest-more a { display: inline-block; padding: 5px 0; }
.rest-p .rest-km { color: var(--muted); }
.rest-p h3 { font-size: .92rem !important; font-weight: 400 !important; }
.js .rest-p { display: none; }
.js [data-rests].show-park .rest-p { display: grid; }
.rest-hint { margin: 6px 0 0; font-size: .82rem; border-radius: 5px; padding: 5px 10px; background: color-mix(in srgb, var(--slow) 15%, transparent); }
.rest-hint a { color: var(--ink); }
.rest-hint.h-bad { background: color-mix(in srgb, var(--jam) 13%, transparent); }
.rest-hint.h-ok { background: color-mix(in srgb, var(--ok) 13%, transparent); }
.rest-hint.big { font-size: .92rem; padding: 10px 13px; border-radius: var(--r); }
.rest-hint.big a { text-decoration: none; }
.rd-h { margin-top: 12px; }
.js .restdir .rd-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.restmini { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.restmini li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 9px 12px; }
.restmini small { display: block; color: var(--muted); }
.restmini a { text-decoration: none; color: var(--ink); }

/* Detailseite Rastanlage */
.poi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 13px 14px; min-width: 0; }
.poi h3 { margin-bottom: 4px; }
.poi p { margin: 0 0 4px; }
.poi-sub { color: var(--muted); font-size: .84rem; }
.poi-h { font-size: .88rem; }
.poi dl { margin: 6px 0 0; display: grid; gap: 7px; }
.poi dt { font-size: .74rem; color: var(--muted); }
.poi dd { margin: 0; font-size: .9rem; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px !important; }
.tags span { font-size: .76rem; border-radius: 5px; padding: 2px 8px; background: var(--surface-2); border: 1px solid var(--line); }
.waylist { list-style: none; margin: 0; padding: 0; }
.waylist li { padding: 8px 0; border-top: 1px solid var(--line); }
.waylist span, .waylist small { display: block; font-size: .78rem; color: var(--muted); }
.waylist a { font-weight: 600; display: inline-block; padding: 3px 0; }
.wxline { display: flex; gap: 13px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 13px 14px; text-decoration: none; color: var(--ink); }
.wxline.lv-1 { border-color: var(--weather); } .wxline.lv-2 { border-color: var(--jam); }
.wxline .wi { width: 32px; height: 32px; }
.wxline small { display: block; color: var(--muted); }
.prices { margin-bottom: 12px; display: grid; gap: 10px; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 13px 14px; }
.price-h { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin: 0 0 8px; }
.price-h span { font-size: .76rem; white-space: nowrap; }
.price-h .is-open { color: var(--ok); } .price-h .is-closed { color: var(--jam); }
.price dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.price dl div { background: var(--surface-2); border-radius: 6px; padding: 8px 6px; text-align: center; }
.price dt { font-size: .72rem; color: var(--muted); }
.price dd { margin: 0; font: 700 clamp(1.05rem, 5vw, 1.4rem)/1.35 var(--head); white-space: nowrap; }
.price dd sup { font-size: .6em; }
.lgd { display: inline-flex; align-items: center; gap: 5px; }
.lgd i, .mk-dot[class*="s-"] { font: 700 .68rem/1 system-ui, sans-serif; font-style: normal; color: #fff; background: var(--sc, #61737b); }
.lgd i { min-width: 20px; height: 20px; padding: 0 4px; border-radius: 10px; display: inline-grid; place-items: center; }
.mk-dot[class*="s-"] { width: 24px; height: 24px; }
.s-fuel, .s-rest-s { --sc: #0a4b94; } .s-food { --sc: #a5603c; } .s-charge { --sc: #437a60; } .s-wc { --sc: #55656d; } .s-shop { --sc: #6b578c; } .s-hotel { --sc: #85644a; } .s-play { --sc: #8a7632; } .s-extra { --sc: #61737b; } .s-rest-a { --sc: #3a7a77; } .s-rest-p { --sc: #85908f; }

/* Stadtliste */
.citylist { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.citylist li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 10px; padding: 9px 12px; font-size: .9rem; align-items: center; }
.citylist li + li { border-top: 1px solid var(--line); }
.citylist b { color: var(--jam); }
.road { font-weight: 700; font-size: .76rem; text-align: center; border-radius: 4px; padding: 2px 4px; background: var(--sign); color: #fff; }
.road-b { background: #e8c64a; color: #221c02; } .road-l, .road-k { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }

/* Nähe */
.near-box { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 14px; }
.near-box .fld { flex: 1 1 240px; max-width: 380px; }
.ahead { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; min-width: 0; }
.ahead ul { list-style: none; margin: 0; padding: 0; }
.ahead li { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.ahead li b.d { font: 700 1.02rem var(--head); }
.ahead li.n-jam b.d { color: var(--jam); } .ahead li.n-closed b.d { color: var(--closed); } .ahead li.n-rest b.d { color: var(--accent); } .ahead li.n-exit b.d { color: var(--muted); }
.ahead small { display: block; color: var(--muted); }

/* Hinweise, leer, FAQ, Fakten, Tabellen, Linklisten */
.notice { border-radius: var(--r); padding: 12px 14px; margin: 14px 0; background: var(--soft); }
.notice ul { margin: 6px 0 0; padding-left: 18px; }
.notice a { color: var(--ink); }
.notice-warn { background: color-mix(in srgb, var(--slow) 13%, var(--surface)); border-left: 3px solid var(--slow); }
.notice-bad { background: color-mix(in srgb, var(--closed) 11%, var(--surface)); border-left: 3px solid var(--closed); }
.notice-ok { background: color-mix(in srgb, var(--ok) 11%, var(--surface)); border-left: 3px solid var(--ok); }
.empty { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; color: var(--muted); }
.empty span { color: var(--ok); font-weight: 700; margin-right: 6px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: 13px 2px; }
.faq-a { padding: 0 2px 6px; max-width: 72ch; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 14px 0 0; }
.facts div { border-top: 1px solid var(--line-2); padding-top: 7px; }
.facts dt { font-size: .76rem; color: var(--muted); } .facts dd { margin: 0; font-weight: 600; }
.facts dd small { display: block; font-weight: 400; font-size: .76rem; color: var(--muted); }
.wave { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 13px 14px; }
.wave span, .wave small { display: block; font-size: .8rem; color: var(--muted); }
.wave b { font: 700 1.15rem var(--head); }
.tbl { border-collapse: collapse; width: 100%; font-size: .9rem; }
.tbl th, .tbl td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tbody th { font-weight: 600; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl thead th { font-size: .76rem; font-weight: 400; color: var(--muted); }
.tbl td small { display: block; color: var(--muted); font-size: .8rem; }
.tbl tr.is-home th, .tbl tr.is-home td { background: var(--soft); }
.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.links a { display: block; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 13px; color: var(--ink); text-decoration: none; }
.links a:hover { border-color: var(--accent); }
.links b { display: block; font-weight: 600; }
.links small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.45; }
.kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.kpi { grid-column: span 2; display: flex; flex-direction: column-reverse; min-width: 0; }
.kpi:first-child { grid-column: span 4; }
.kpi dd { margin: 0; font: 700 1.4rem/1.3 var(--head); }
.kpi dd small { font-size: .85rem; margin-left: 3px; }
.kpi dt { font-size: .74rem; color: var(--muted); }
.kpi-ds dd, .kpi-j dd { color: var(--jam); } .kpi-c dd { color: var(--closed); } .kpi-a dd { color: var(--acc); }
.kpi.is-zero dd { color: var(--muted); }
@media (min-width: 680px) { .kpis { grid-template-columns: repeat(5, 1fr); } .kpi, .kpi:first-child { grid-column: span 1; } }
.heatwrap { overflow-x: auto; }
.heat { border-collapse: separate; border-spacing: 2px; font-size: .7rem; min-width: 560px; width: 100%; }
.heat th { font-weight: 600; color: var(--muted); text-align: left; padding: 0 4px 0 0; }
.heat .hh { text-align: center; font-size: .62rem; padding: 0; }
.heat td { height: 22px; border-radius: 3px; background: var(--surface); }
.heat .h1, .heat-legend .h1 { background: color-mix(in srgb, var(--accent) 18%, var(--surface)); }
.heat .h2, .heat-legend .h2 { background: color-mix(in srgb, var(--accent) 36%, var(--surface)); }
.heat .h3, .heat-legend .h3 { background: color-mix(in srgb, var(--accent) 56%, var(--surface)); }
.heat .h4, .heat-legend .h4 { background: color-mix(in srgb, var(--accent) 78%, var(--surface)); }
.heat .h5, .heat-legend .h5 { background: var(--accent); }
.heat-legend i.h0 { background: var(--surface); }
.heat-legend { font-size: .76rem; color: var(--muted); display: flex; align-items: center; gap: 3px; margin: 8px 0 0; }
.heat-legend i { width: 18px; height: 12px; border-radius: 2px; display: inline-block; }
.legal { max-width: 78ch; } .legal h1 { font-size: 1.6rem; } .legal h2 { font-size: 1.15rem; }

/* Karte */
.map-wrap { position: relative; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); margin-top: 10px; }
.map-md { min-height: 320px; } .map-xl { min-height: 68vh; }
.map-gate { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 18px; }
.map-gate p { max-width: 38ch; }
.map-keep { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--muted); padding: 6px; cursor: pointer; }
.map-keep input { width: 18px; height: 18px; accent-color: var(--accent); }
.no-js .map-gate button, .no-js .map-keep { display: none; }
.map-off { display: block; font-size: .78rem; margin-top: 4px; }
.map-canvas { position: absolute; inset: 0; z-index: 1; }
.mk-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--kc); color: #fff; border: 2px solid #fff; display: grid; place-items: center; font: 700 .8rem/1 system-ui, sans-serif; box-shadow: 0 1px 3px rgba(0,0,0,.35); }
.pop b { display: block; }

/* Fuß */
.site-footer { border-top: 1px solid var(--line); background: var(--surface-2); padding: 30px 0 26px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-cols { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; font-size: .86rem; }
.foot-cols li { margin: 6px 0; }
.foot-2 { columns: 2; }
.foot-h { font: 700 .98rem var(--head); margin-bottom: 6px; }
.foot-note { font-size: .76rem; color: var(--muted); margin-top: 24px; max-width: 90ch; }
.foot-legal { font-size: .84rem; margin: 0; color: var(--muted); }

/* Untere Leiste (mobil) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 38; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 0 6px; text-decoration: none; color: var(--muted); font-size: .68rem; border-top: 2px solid transparent; margin-top: -1px; }
.tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a[aria-current] { color: var(--ink); border-top-color: var(--accent); }
@media (max-width: 1119px) { body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); } }
@media (min-width: 1120px) { .tabbar { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, .tabbar, .site-footer, .map-wrap, .atlas, .filters, .tripform { display: none !important; } body { background: #fff; padding: 0; } }

/* ---------- Wegweiser-Anpassungen ---------- */
.btn { font-family: var(--head); font-size: 1.02rem; }
.plan-t { border: 0; box-shadow: 0 0 0 1px var(--line); }
.lt-head { background: var(--sign); color: #fff; font: 600 .86rem/1.3 var(--head); }
.lt-sec { background: var(--soft); border-top: 0; padding: 9px 14px; font-size: 1.05rem; color: var(--accent); }
.lt-sec a { color: var(--accent); }
.leg-n b { font: 600 1.04rem/1.3 var(--head); }
.leg-s { font-family: var(--head); font-size: .9rem; }
.mc-num b, .alt-time { font-family: var(--head); }
.kpis { border-top: 5px solid var(--sign); }
.ban { border-left-width: 6px; }
.site-footer { background: var(--sign-2); color: #fff; border-top: 3px solid #fff; }
.site-footer a { color: #fff; }
.foot-note, .foot-legal { color: #c6d6ee; }
.foot-h { font-size: 1.12rem; }
.tabbar a[aria-current] { color: var(--accent); }

/* Flughäfen */
.airstrip { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 680px) { .airstrip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.airstrip a { display: flex; flex-direction: column; height: 100%; background: var(--surface); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); border-bottom: 5px solid var(--ok); padding: 10px 12px 8px; color: var(--ink); text-decoration: none; }
.airstrip b { font: 700 1.5rem/1.1 var(--head); }
.airstrip span { font-size: .78rem; color: var(--muted); }
.airstrip em { font: 700 1.05rem/1.5 var(--head); font-style: normal; margin-top: 4px; }
.airstrip .st-slow { border-bottom-color: var(--slow); } .airstrip .st-jam { border-bottom-color: var(--jam); } .airstrip .st-jam em { color: var(--jam); } .airstrip .st-closed { border-bottom-color: var(--closed); } .airstrip .st-closed em { color: var(--closed); } .airstrip .st-works { border-bottom-color: var(--works); }
.air { scroll-margin-top: 70px; }
.air-h { display: flex; gap: 14px; align-items: center; background: var(--sign); color: #fff; border-radius: var(--r) var(--r) 0 0; padding: 12px 14px; }
.air-h h2 { margin: 0; font-size: 1.28rem; }
.air-h p { margin: 0; font-size: .82rem; opacity: .88; }
.air-code { flex: none; font: 700 1.25rem/1 var(--head); border: 2px solid #fff; border-radius: 6px; padding: 8px 8px 6px; }
.air-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r) var(--r); overflow: hidden; }
.air-w { background: var(--surface); padding: 12px 14px; border-top: 4px solid var(--ok); min-width: 0; }
.air-w.st-works { border-top-color: var(--works); } .air-w.st-slow { border-top-color: var(--slow); } .air-w.st-jam { border-top-color: var(--jam); } .air-w.st-closed { border-top-color: var(--closed); }
.air-from { font: 700 1.05rem/1.35 var(--head); margin: 0 0 4px; }
.air-from small { display: block; font: 400 .78rem system-ui, sans-serif; color: var(--muted); }
.air-t { display: flex; align-items: baseline; gap: 10px; margin: 0; flex-wrap: wrap; }
.air-t b { font: 700 1.7rem/1.3 var(--head); }
.air-t small { color: var(--muted); font-size: .82rem; }
.air-t em { font-style: normal; font-weight: 700; color: var(--jam); }
.air-l { list-style: none; margin: 8px 0 0; padding: 0; font-size: .86rem; }
.air-l li { padding: 6px 0; border-top: 1px solid var(--line); }
.air-l a { color: var(--ink); }
.air-l b { color: var(--jam); }
.air-more { color: var(--muted); }

.mapsec { margin: 0 0 12px; }
.dirsec { margin-top: 12px; }
.leg-s { font-size: .84rem; white-space: nowrap; padding-left: 1px; padding-right: 1px; }
.lt-head, .leg > summary { grid-template-columns: minmax(0, 1fr) 78px 78px; }
.lt-head span + span { white-space: nowrap; font-size: .82rem; }
@media (max-width: 380px) { .lt-head, .leg > summary { grid-template-columns: minmax(0, 1fr) 72px 72px; } .leg-s { font-size: .76rem; } .lt-head span + span { font-size: .76rem; } }

/* Leere (nicht ausgelieferte) Anzeigen nehmen keinen Platz ein - sonst reißen sie u. a. den Kopf auf (Vorgehen laut AdSense-Hilfe) */
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.google-auto-placed:has(> ins.adsbygoogle[data-ad-status="unfilled"]) { display: none !important; }
