/* 45 – Metro · Liniennetzplan · Inter Tight + DM Mono */
:root {
  --l1: #e1251b;
  --l2: #0067b1;
  --l3: #f6c400;
  --l4: #00968f;
  --l5: #7b3f98;
  --l6: #ef7d00;
  --ink: #16181d;
  --grey: #5f636b;
  --line: #d9dbd8;
  --soft: #f3f4f1;
  --river: #d8eaf6;
  --bg: #ffffff;
  --sans: 'Inter Tight', 'Inter', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --wrap: 1360px;
  --pad: clamp(16px, 4vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--l2); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.mono { font-family: var(--mono); }

/* ---------- Badges & Piktogramme ---------- */
.badge { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 1px 7px 0; border-radius: 5px; font: 500 13px/1 var(--mono); color: #fff; background: var(--ink); letter-spacing: .02em; }
.b1 { background: var(--l1); } .b2 { background: var(--l2); } .b3 { background: var(--l3); color: var(--ink); }
.b4 { background: var(--l4); } .b5 { background: var(--l5); } .b6 { background: var(--l6); color: var(--ink); }
.pic { position: relative; flex: none; display: inline-block; width: 30px; height: 18px; }
.pic-ring::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 6px; background: var(--ink); }
.pic-ring i { position: absolute; left: 7px; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); }
.pic-lines { display: inline-flex; flex-direction: column; justify-content: center; gap: 1px; }
.pic-lines i { display: block; height: 2px; width: 100%; }
.pic-lines i:nth-child(1) { background: var(--l4); } .pic-lines i:nth-child(2) { background: var(--l1); }
.pic-lines i:nth-child(3) { background: var(--l2); } .pic-lines i:nth-child(4) { background: var(--l5); }
.pic-lines i:nth-child(5) { background: var(--l6); } .pic-lines i:nth-child(6) { background: var(--l3); }
.pic-tick::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 6px; background: var(--l4); }
.pic-tick i { position: absolute; left: 12px; top: 2px; width: 6px; height: 7px; background: var(--l4); }
.pic-hub::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 6px; background: var(--l1); }
.pic-hub i { position: absolute; left: 4px; top: 0; width: 22px; height: 18px; border-radius: 9px; background: #fff; border: 4px solid var(--ink); }
.pic-route::before { content: ""; position: absolute; left: 3px; right: 3px; top: 7px; height: 4px; background: var(--ink); }
.pic-route::after, .pic-route i { content: ""; position: absolute; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); }
.pic-route::after { right: 0; }
.pic-route i { left: 0; }

.kicker { display: flex; align-items: center; gap: 12px; font: 500 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-bottom: 18px; }
h2 { font: 800 clamp(32px, 3.4vw, 50px)/1.04 var(--sans); letter-spacing: -.025em; margin-bottom: 20px; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; max-width: 62ch; color: #2d3038; }
.sec-head { max-width: 860px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head-split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; }
.sec-head-split h2 { margin-bottom: 0; }

/* ---------- Kopf ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 2px solid var(--ink); }
.top-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo img { width: 66px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav a { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 16px/1 var(--sans); padding: 10px 2px; border-radius: 6px; }
.nav a:hover { color: var(--l2); }
.nav .nav-phone { display: none; }
.tools { display: flex; align-items: center; gap: 12px; }
.phone { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1 var(--mono); text-decoration: none; white-space: nowrap; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 22px; }
.phone svg { width: 16px; height: 16px; fill: var(--ink); }
.phone:hover { background: var(--ink); color: #fff; }
.phone:hover svg { fill: #fff; }
.lang { display: grid; place-items: center; min-width: 46px; height: 40px; padding: 0 8px; border-radius: 6px; background: var(--ink); color: #fff; text-decoration: none; font: 500 14px/1 var(--mono); }
.lang:hover { background: var(--l2); }
.menu-btn { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 22px; background: #fff; color: var(--ink); font: 600 15px/1 var(--sans); cursor: pointer; }
.burger { display: grid; gap: 3px; width: 22px; }
.burger i { display: block; height: 3px; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger i:nth-child(1) { background: var(--l1); } .burger i:nth-child(2) { background: var(--l2); } .burger i:nth-child(3) { background: var(--l4); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); background: var(--ink); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); background: var(--ink); }

/* ---------- Hero / Netzplan ---------- */
.hero { position: relative; overflow: clip; min-height: clamp(660px, calc(100svh - 78px), 900px); display: flex; align-items: center; border-bottom: 2px solid var(--ink); }
.map-wrap { position: absolute; inset: 0; }
.netmap { position: absolute; top: 50%; translate: 0 -50%; right: max(0px, calc((100vw - 1440px) / 2)); width: min(1060px, calc(100vw - 470px), 125svh); height: auto; aspect-ratio: 1000 / 800; overflow: visible; }
.tick { stroke-width: 9; }
.bdg rect { fill: var(--ink); }
.bdg.b1 rect { fill: var(--l1); } .bdg.b2 rect { fill: var(--l2); } .bdg.b3 rect { fill: var(--l3); }
.bdg.b4 rect { fill: var(--l4); } .bdg.b5 rect { fill: var(--l5); } .bdg.b6 rect { fill: var(--l6); }
.netmap .b-n { font: 500 14px var(--mono); fill: #fff; stroke: none; }
.legend-box { margin-top: 26px; padding-top: 18px; border-top: 2px solid var(--line); }
.lg-title { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-bottom: 12px; }
.lg-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.lg-chips li { display: flex; align-items: center; gap: 10px; font: 600 14px/1.2 var(--sans); }
.lg-chips .badge { min-width: 32px; height: 22px; font-size: 12px; }
.netmap .ln { fill: none; stroke-width: 9; stroke-linejoin: round; }
.l1 { stroke: var(--l1); } .l2 { stroke: var(--l2); } .l3 { stroke: var(--l3); }
.l4 { stroke: var(--l4); } .l5 { stroke: var(--l5); } .l6 { stroke: var(--l6); }
.river { fill: none; stroke: var(--river); stroke-width: 30; stroke-linejoin: round; }
.river-t { font: italic 500 15px var(--sans); fill: #5d8db3; letter-spacing: .04em; }
.hub { fill: #fff; stroke: var(--ink); stroke-width: 5; }
.pill-o { stroke: var(--ink); stroke-width: 24; stroke-linecap: round; }
.pill-i { stroke: #fff; stroke-width: 14; stroke-linecap: round; }
.ring { fill: #fff; stroke: var(--ink); stroke-width: 5; }
.term { stroke: var(--ink); stroke-width: 8; }
.netmap text, .mmap text { paint-order: stroke; stroke: #fff; stroke-width: 6px; stroke-linejoin: round; }
.st { font: 700 15.5px var(--sans); fill: var(--ink); letter-spacing: -.005em; }
.st-sm { font-size: 14px; }
.hub-t { font: 800 26px var(--sans); fill: var(--ink); letter-spacing: -.02em; }
.hub-s { font: 500 13px var(--mono); fill: var(--grey); }
.netmap .b3 .b-n, .netmap .b6 .b-n { fill: var(--ink); }

.hero-in { position: relative; z-index: 2; padding-block: 36px; }
.sign { width: min(540px, 100%); background: #fff; border: 3px solid var(--ink); border-radius: 14px; padding: 0 clamp(22px, 2.8vw, 40px) clamp(26px, 3vw, 38px); box-shadow: 0 0 0 10px #fff; }
.sign-stripe { display: grid; grid-template-columns: repeat(6, 1fr); height: 12px; margin: 0 calc(-1 * clamp(22px, 2.8vw, 40px)) 26px; border-radius: 10px 10px 0 0; overflow: hidden; }
.sign-stripe i:nth-child(1) { background: var(--l1); } .sign-stripe i:nth-child(2) { background: var(--l2); }
.sign-stripe i:nth-child(3) { background: var(--l3); } .sign-stripe i:nth-child(4) { background: var(--l4); }
.sign-stripe i:nth-child(5) { background: var(--l5); } .sign-stripe i:nth-child(6) { background: var(--l6); }
.you { position: relative; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--l1); box-shadow: 0 0 0 4px rgba(225, 37, 27, .2); }
.sign h1 { font: 800 clamp(36px, 3.6vw, 54px)/1.02 var(--sans); letter-spacing: -.03em; margin-bottom: 20px; hyphens: manual; text-wrap: balance; }
.hero-text { font-size: 17px; line-height: 1.55; color: #2d3038; margin-bottom: 26px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 12px 22px; border-radius: 25px; font: 700 16px/1.1 var(--sans); text-decoration: none; border: 2px solid var(--ink); transition: background .15s, color .15s; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--l1); border-color: var(--l1); }
.btn-line { background: #fff; }
.btn-line:hover { background: var(--soft); }
.mini-lines { display: grid; gap: 2px; width: 18px; }
.mini-lines i { height: 3px; border-radius: 2px; }
.mini-lines i:nth-child(1) { background: var(--l1); } .mini-lines i:nth-child(2) { background: var(--l3); } .mini-lines i:nth-child(3) { background: var(--l4); }
.mmap { display: none; }

/* ---------- Schwerpunkt: Streckenband ---------- */
.focus { padding-block: clamp(90px, 10vw, 150px) clamp(70px, 8vw, 120px); }
.strip-label { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.strip { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.strip::before { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 6px); height: 12px; background: var(--ink); border-radius: 6px; }
.strip li { position: relative; display: grid; grid-template-rows: 1fr 56px 1fr; min-height: 470px; }
.stop { grid-row: 2; justify-self: center; align-self: center; position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 7px solid var(--ink); }
.st-body { position: relative; padding: 0 12px; text-align: center; }
.strip li:nth-child(odd) .st-body { grid-row: 1; align-self: end; padding-bottom: 26px; }
.strip li:nth-child(even) .st-body { grid-row: 3; align-self: start; padding-top: 26px; }
.st-body::after { content: ""; position: absolute; left: 50%; width: 2px; height: 18px; background: var(--ink); }
.strip li:nth-child(odd) .st-body::after { bottom: 0; }
.strip li:nth-child(even) .st-body::after { top: 0; }
.st-body h3 { font: 800 clamp(18px, 1.45vw, 21px)/1.12 var(--sans); letter-spacing: -.01em; margin-bottom: 8px; hyphens: auto; }
.st-body p { font-size: 15px; line-height: 1.45; color: #2d3038; hyphens: auto; }
.chg { display: flex; justify-content: center; gap: 4px; margin-top: 12px; }
.chg .badge { min-width: 30px; height: 22px; font-size: 12px; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(64px, 7vw, 110px); }
.stats li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 28px 40px; background: var(--soft); border-radius: 12px; overflow: hidden; }
.stats li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: var(--l1); }
.stats li:nth-child(2)::before { background: var(--l2); }
.stats li:nth-child(3)::before { background: var(--l4); }
.stats strong { font: 800 clamp(48px, 5vw, 76px)/.95 var(--sans); letter-spacing: -.04em; }
.stats span { font: 500 14px/1.35 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--grey); }

.route { margin-top: clamp(64px, 7vw, 110px); padding: clamp(28px, 3.5vw, 48px); border: 3px solid var(--ink); border-radius: 18px; }
.route-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 32px; margin-bottom: 36px; }
.route-head .kicker { margin: 0; color: var(--ink); font-size: 15px; }
.route-note { font-size: 15px; color: var(--grey); }
.route-line { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rs { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 52px; text-align: center; }
.rs::after { content: ""; position: absolute; z-index: 1; top: 6px; left: 50%; translate: -50% 0; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 7px solid var(--ink); }
.rs-end::after { width: 40px; height: 40px; top: 2px; border-radius: 20px; background: var(--ink); box-shadow: inset 0 0 0 7px var(--ink), inset 0 0 0 12px #fff; }
.rs + .rs::before { content: ""; position: absolute; top: 17px; right: 50%; width: 100%; height: 10px; }
.seg-fly::before { background: var(--l1); }
.seg-car::before { background: repeating-linear-gradient(90deg, var(--grey) 0 14px, transparent 14px 22px); }
.code { font: 500 clamp(24px, 2.4vw, 34px)/1 var(--mono); letter-spacing: .02em; }
.city { font-size: 14px; color: var(--grey); margin-top: 6px; }
.route-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 30px; padding-top: 22px; border-top: 2px solid var(--line); font-size: 15px; color: #2d3038; }
.legend { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.legend i { width: 34px; height: 8px; }
.lg-fly { background: var(--l1); }
.lg-car { background: repeating-linear-gradient(90deg, var(--grey) 0 9px, transparent 9px 14px); }
.route-text { flex: 1 1 320px; text-align: right; }

/* ---------- Leistungen: Linienübersicht ---------- */
.services { padding-block: clamp(90px, 10vw, 150px); background: var(--soft); border-block: 2px solid var(--ink); }
.lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px clamp(32px, 5vw, 80px); }
.line { position: relative; }
.line-bar { position: relative; height: 12px; margin: 14px 0 28px 0; border-radius: 0 6px 6px 0; background: var(--c); }
.line-bar .badge { position: absolute; left: 0; top: 50%; translate: 0 -50%; height: 40px; min-width: 56px; font-size: 18px; border-radius: 8px; box-shadow: 0 0 0 4px var(--soft); }
.line-bar i { position: absolute; top: -10px; width: 8px; height: 12px; background: var(--c); }
.line-bar i:nth-of-type(1) { left: 34%; } .line-bar i:nth-of-type(2) { left: 58%; } .line-bar i:nth-of-type(3) { left: 82%; }
.line-bar::after { content: ""; position: absolute; right: 0; top: -12px; width: 12px; height: 36px; background: var(--ink); border-radius: 3px; }
.c1 { --c: var(--l1); } .c2 { --c: var(--l2); } .c3 { --c: var(--l3); } .c4 { --c: var(--l4); } .c5 { --c: var(--l5); } .c6 { --c: var(--l6); }
.line h3 { font: 800 clamp(24px, 2.2vw, 32px)/1.08 var(--sans); letter-spacing: -.02em; margin-bottom: 10px; }
.line p { color: #2d3038; max-width: 52ch; }
.line:hover .line-bar { animation: pulse .6s ease; }
@keyframes pulse { 50% { transform: scaleY(1.5); } }

/* ---------- Ablauf ---------- */
.process { padding-block: clamp(90px, 10vw, 150px); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
.steps::before { content: ""; position: absolute; left: 0; right: 12%; top: 15px; height: 10px; background: var(--ink); border-radius: 5px 0 0 5px; }
.steps li { position: relative; padding-top: 64px; }
.steps .stop { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-width: 8px; }
.steps .last .stop { width: 76px; border-radius: 20px; background: #fff; }
.step-no { font: 500 13px/1 var(--mono); color: var(--grey); letter-spacing: .08em; }
.steps h3 { font: 800 clamp(22px, 1.9vw, 28px)/1.1 var(--sans); margin: 8px 0 8px; letter-spacing: -.02em; }
.steps p { font-size: 16px; color: #2d3038; max-width: 30ch; }

/* ---------- Über uns ---------- */
.about { padding-block: clamp(90px, 10vw, 150px); background: var(--soft); border-block: 2px solid var(--ink); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 18px; border: 3px solid var(--ink); }
.plate { position: absolute; left: 24px; bottom: -26px; display: flex; align-items: center; gap: 14px; padding: 12px 20px 12px 14px; background: #fff; border: 3px solid var(--ink); border-radius: 12px; }
.plate-hub { width: 22px; height: 46px; border-radius: 11px; border: 5px solid var(--ink); }
.plate strong { display: block; font: 800 26px/1 var(--sans); letter-spacing: -.02em; }
.plate span:last-child { font: 500 14px/1.4 var(--mono); color: var(--grey); }
.feats { position: relative; margin-top: 34px; padding-left: 40px; }
.feats::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 10px; background: var(--l4); border-radius: 5px; }
.feats li { position: relative; padding: 9px 0; font: 600 18px/1.3 var(--sans); }
.feats li::before { content: ""; position: absolute; left: -40px; top: 50%; translate: 0 -50%; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 6px solid var(--ink); }

/* ---------- Kontakt ---------- */
.contact { padding-block: clamp(90px, 10vw, 150px); }
.station-sign { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, .8fr); gap: 20px clamp(24px, 3vw, 48px); align-items: center; padding: clamp(24px, 3vw, 40px); border: 3px solid var(--ink); border-radius: 18px; margin-bottom: 20px; }
.ss-hub { width: 44px; height: 110px; border-radius: 22px; border: 9px solid var(--ink); background: #fff; box-shadow: 0 0 0 0 transparent; position: relative; }
.ss-kicker { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-bottom: 12px; }
.station-sign h2 { font-size: clamp(40px, 5vw, 76px); margin: 0; }
.ss-text { font-size: 18px; color: #2d3038; }
.board { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 20px; }
.bd { padding: 28px; border-radius: 18px; background: var(--soft); }
.bd-h { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-bottom: 16px; }
.bd-big { font: 800 clamp(22px, 2vw, 28px)/1.2 var(--sans); letter-spacing: -.015em; }
.bd-small { margin-top: 10px; font: 500 14px/1.4 var(--mono); color: var(--grey); }
.bd-hours { background: var(--ink); color: #fff; }
.bd-hours .bd-h, .bd-hours .bd-small { color: #c9ccd2; }
.bd-conn { display: grid; gap: 0; padding-block: 12px; }
.bd-conn li { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; padding: 12px 0; border-bottom: 2px solid #fff; }
.bd-conn li:last-child { border-bottom: 0; }
.bd-conn .badge { grid-row: 1 / 3; align-self: center; min-width: 40px; height: 32px; }
.bd-l { font: 500 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.bd-conn a, .bd-conn li > span:last-child { font: 700 18px/1.3 var(--sans); overflow-wrap: anywhere; }
.bd-conn a { text-decoration: none; }
.bd-conn a:hover { text-decoration: underline; text-underline-offset: 3px; color: var(--l2); }

/* ---------- Fuß ---------- */
.foot { background: var(--ink); color: #fff; }
.foot-lines { display: grid; }
.foot-lines i { height: 5px; }
.foot-lines i:nth-child(1) { background: var(--l1); } .foot-lines i:nth-child(2) { background: var(--l2); }
.foot-lines i:nth-child(3) { background: var(--l3); } .foot-lines i:nth-child(4) { background: var(--l4); }
.foot-lines i:nth-child(5) { background: var(--l5); } .foot-lines i:nth-child(6) { background: var(--l6); }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; padding-block: 44px 64px; }
.foot-logo { display: block; justify-self: start; background: #fff; border-radius: 12px; padding: 10px 12px; }
.foot-logo img { width: 72px; height: auto; }
.foot-copy { font-size: 15px; line-height: 1.6; color: #d5d8de; }
.foot-copy .mono { font-size: 13px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { font: 600 15px/1 var(--sans); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.foot-links a:hover { border-bottom-color: var(--l3); }
.foot :focus-visible { outline-color: var(--l3); }

/* ---------- Rechtsseiten ---------- */
.legal-head { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); border-bottom: 2px solid var(--ink); }
.legal-head { position: relative; overflow: clip; }
.lh-lines { position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 34%; display: grid; gap: 5px; }
.lh-lines i { height: 9px; }
.lh-lines i:nth-child(1) { background: var(--l4); } .lh-lines i:nth-child(2) { background: var(--l1); } .lh-lines i:nth-child(3) { background: var(--l2); }
.lh-lines i:nth-child(4) { background: var(--l5); } .lh-lines i:nth-child(5) { background: var(--l6); } .lh-lines i:nth-child(6) { background: var(--l3); }
.lh-lines b { position: absolute; left: 0; top: -14px; bottom: -14px; width: 40px; border-radius: 20px; background: #fff; border: 6px solid var(--ink); }
@media (max-width: 1000px) { .lh-lines { display: none; } }
.legal-head h1 { font: 800 clamp(36px, 5.4vw, 76px)/1.02 var(--sans); letter-spacing: -.03em; max-width: 18ch; overflow-wrap: break-word; hyphens: auto; }
.back { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font: 600 16px/1 var(--sans); text-decoration: none; padding: 12px 18px; border: 2px solid var(--ink); border-radius: 22px; }
.back:hover { background: var(--ink); color: #fff; }
.legal-wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(48px, 6vw, 88px) clamp(80px, 10vw, 140px); }
.legal-side ul { position: sticky; top: 110px; padding-left: 40px; background: linear-gradient(var(--ink), var(--ink)) 9px 22px / 10px calc(100% - 44px) no-repeat; }
.legal-side li { position: relative; }
.legal-side a { display: block; padding: 12px 0; font: 700 17px/1.2 var(--sans); text-decoration: none; }
.legal-side a::before { content: ""; position: absolute; left: -40px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 6px solid var(--ink); }
.legal-side a[aria-current="page"]::before { background: var(--l1); }
.legal-side a:hover { color: var(--l2); }
.legal-body { max-width: 68ch; font-size: 17px; line-height: 1.65; color: #23262d; }
.legal-body h2 { position: relative; font: 800 clamp(21px, 1.8vw, 26px)/1.2 var(--sans); letter-spacing: -.015em; margin: 48px 0 12px; padding-left: 22px; }
.legal-body h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 8px; border-radius: 4px; background: var(--l2); }
.legal-body h2:first-child, .legal-note + h2 { margin-top: 0; }
.legal-body p, .legal-body ul { margin-bottom: 14px; }
.legal-body li { position: relative; padding-left: 26px; margin-bottom: 6px; }
.legal-body li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--ink); }
.legal-body a { color: var(--l2); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-note { padding: 16px 20px; margin-bottom: 40px !important; background: #fff6cc; border: 2px solid var(--ink); border-radius: 12px; font-weight: 600; }
.legal-address { padding: 18px 22px; background: var(--soft); border-radius: 12px; font-family: var(--mono); font-size: 15px; }

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .netmap .ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s cubic-bezier(.6, 0, .2, 1) forwards; }
  .js .netmap .l1 { animation-delay: .1s; } .js .netmap .l2 { animation-delay: .25s; } .js .netmap .l5 { animation-delay: .4s; }
  .js .netmap .l6 { animation-delay: .55s; } .js .netmap .l3 { animation-delay: .7s; }
  .js .netmap .pill-o, .js .netmap .pill-i, .js .netmap .ring, .js .netmap .st { animation: fade .5s 1.5s both; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes fade { from { opacity: 0; } }
  .you { animation: here 2s ease-in-out infinite; }
  @keyframes here { 50% { box-shadow: 0 0 0 9px rgba(225, 37, 27, .08); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .hero { display: block; min-height: 0; }
  .hero-in { padding-block: 32px 8px; }
  .map-wrap { position: relative; padding: 24px var(--pad) 32px; }
  .netmap { position: static; translate: none; width: 100%; max-width: 900px; margin-inline: auto; }
  .sign { width: min(720px, 100%); }
}
@media (max-width: 700px) {
  .map-wrap { display: none; }
  .mmap { display: block; padding: 8px 0 20px; }
}
@media (max-width: 1240px) {
  .phone { display: none; }
  .strip li { min-height: 520px; }
}
@media (max-width: 1000px) {
  .menu-btn { display: inline-flex; }
  .tools { margin-left: auto; }
  .nav { position: fixed; inset: 78px 0 0 0; z-index: 49; display: none; flex-direction: column; background: #fff; padding: 20px var(--pad) 40px; overflow-y: auto; }
  .menu-open .nav { display: flex; }
  .menu-open { overflow: hidden; }
  .nav ul { position: relative; flex-direction: column; gap: 0; padding-left: 8px; }
  .nav a { font-size: 26px; font-weight: 800; padding: 18px 0; gap: 18px; border-bottom: 2px solid var(--line); border-radius: 0; }
  .nav a .pic { transform: scale(1.3); transform-origin: left center; margin-right: 10px; }
  .nav .nav-phone { display: block; margin-top: 28px; padding: 16px 22px; border-radius: 30px; background: var(--ink); color: #fff; font: 600 18px/1.2 var(--sans); text-decoration: none; text-align: center; }
  .sign { width: 100%; box-shadow: none; }
  .mmap svg { width: 100%; height: auto; max-width: 560px; margin-inline: auto; overflow: visible; }
  .mmap .ln { fill: none; stroke-width: 8; stroke-linejoin: round; }
  .mmap .hub { stroke-width: 5; }
  .mmap .hub-t { font-size: 22px; }
  .sec-head-split { grid-template-columns: 1fr; }
  .strip { display: block; }
  .strip::before { left: 11px; right: auto; top: 0; bottom: 0; width: 12px; height: auto; }
  .strip li { display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto; column-gap: 22px; min-height: 0; padding-block: 18px; }
  .strip li .stop, .strip li:nth-child(n) .st-body { grid-row: 1; }
  .stop { grid-column: 1; align-self: start; margin-top: 0; }
  .strip li:nth-child(n) .st-body { grid-column: 2; padding: 2px 0 0; text-align: left; align-self: start; }
  .st-body::after { display: none; }
  .chg { justify-content: flex-start; }
  .stats { grid-template-columns: 1fr; }
  .route-line { grid-template-columns: 1fr; gap: 0; }
  .rs { flex-direction: row; align-items: baseline; gap: 14px; padding: 0 0 0 64px; min-height: 76px; text-align: left; }
  .rs::after { left: 22px; top: 0; }
  .rs-end::after { left: 22px; top: -4px; }
  .rs + .rs::before { top: auto; bottom: calc(100% - 10px); right: auto; left: 17px; width: 10px; height: 76px; }
  .seg-car::before { background: repeating-linear-gradient(180deg, var(--grey) 0 12px, transparent 12px 20px); }
  .route-text { text-align: left; flex-basis: 100%; }
  .lines { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { left: 15px; right: auto; top: 10px; bottom: 30px; width: 10px; height: auto; border-radius: 5px; }
  .steps li { padding: 4px 0 0 66px; }
  .steps .last .stop { width: 40px; height: 64px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 560px; margin-bottom: 26px; }
  .station-sign { grid-template-columns: auto minmax(0, 1fr); }
  .ss-text { grid-column: 1 / -1; }
  .board { grid-template-columns: 1fr 1fr; }
  .bd-conn { grid-column: 1 / -1; }
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-side ul { position: relative; top: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top-in { height: 68px; gap: 10px; }
  .nav { inset: 70px 0 0 0; }
  .logo img { width: 56px; }
  .lang { min-width: 44px; height: 44px; }
  .sign h1 { font-size: clamp(34px, 9.6vw, 44px); }
  .board { grid-template-columns: 1fr; }
  .station-sign { grid-template-columns: 1fr; }
  .ss-hub { width: 110px; height: 40px; border-width: 8px; }
  .foot-in { grid-template-columns: 1fr; padding-bottom: 96px; }
  .bd { padding: 22px 20px; }
}
