/* Rex Logistics & Services – Fahrzeugüberführungen
   Leitbild „präzise B2B-Logistik, Straße & Route“: helles Layout, Asphalt-Navy-Bänder,
   Verkehrsblau für Bedienelemente, Fahrbahngelb nur als Linie/Akzent.
   Schriften liegen auf dem eigenen Server – keine externen Einbindungen. */

@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/barlow-condensed-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/barlow-condensed-700-latin.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/barlow-condensed-800-latin.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/barlow-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/barlow-500-latin.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/barlow-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/barlow-700-latin.woff2') format('woff2'); }

/* Design-Tokens – werden auch vom Preisrechner genutzt */
:root {
    /* Flächen */
    --bg: #FFFFFF;            /* Seitenhintergrund */
    --soft: #F3F5F8;          /* helle, kühle Abschnittsfläche */
    --card: #FFFFFF;          /* Karten, Formulare, Kopfzeile */
    /* Schrift */
    --ink: #0E1726;           /* Überschriften, stärkster Text */
    --text: #2A3547;          /* Fließtext */
    --muted: #5A677A;         /* Nebentext (≥ 5:1 auf --bg und --soft) */
    /* Linien */
    --line: #DCE2EA;          /* 1-px-Rahmen, Trenner */
    --line-strong: #8391A4;   /* Eingabefelder (≥ 3:1) */
    --grid: #E4E9F0;          /* Planungsraster im Hintergrund */
    /* Marke: Verkehrsblau für Buttons, Links, Fokus */
    --brand: #0E518D;         /* Fläche (Buttons) */
    --brand-hover: #0A3F70;
    --brand-text: #0E518D;    /* Markenfarbe als Schrift auf hellem Grund */
    --brand-soft: #E6EEF7;    /* zarte Markenfläche (Icon-Kacheln) */
    --brand-ring: rgba(14, 81, 141, 0.24);
    --on-brand: #FFFFFF;      /* Schrift auf --brand */
    /* Fahrbahngelb – nur Linien und kleine Akzente */
    --accent: #F2B705;
    /* Asphalt-Navy-Bänder (Kopfleiste, Fußzeile, dunkle Abschnitte) */
    --navy: #0E1726;
    --navy-2: #15223A;
    --navy-line: #273852;
    --on-navy: #E8EDF3;
    --on-navy-muted: #A9B5C6;
    /* Form */
    --radius: 6px;            /* Buttons, Eingabefelder */
    --radius-lg: 10px;        /* Karten */
    --shadow: 0 1px 2px rgba(14, 23, 38, 0.05), 0 6px 18px rgba(14, 23, 38, 0.06);
    --shadow-lg: 0 2px 6px rgba(14, 23, 38, 0.06), 0 22px 50px rgba(14, 23, 38, 0.14);
    --font-head: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
    --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    /* Logo */
    --logo-road: #15223A;
    --logo-line: #F2B705;
    --logo-name: #0E1726;
    --logo-sub: #4E5C70;
    --header-h: 52px;         /* stehen bleibende Registerkarten */
    color-scheme: light dark;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font: 400 17px/1.65 var(--font-body); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh; }
img { max-width: 100%; display: block; }
a { color: var(--brand-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--accent); color: #0E1726; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.topbar :focus-visible, .site-footer :focus-visible, .section-dark :focus-visible, .cta :focus-visible { outline-color: var(--accent); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-head); font-weight: 800; line-height: 1.05; letter-spacing: 0.005em; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); line-height: 0.98; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.02; text-transform: uppercase; }
h3 { font-size: 1.45rem; font-weight: 700; line-height: 1.15; letter-spacing: 0.01em; }
h4 { font-size: 1.1rem; font-weight: 700; }
p { color: var(--muted); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lead { font-size: 1.16rem; line-height: 1.6; max-width: 640px; color: var(--text); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.tnum { font-variant-numeric: tabular-nums; }
.mark { box-shadow: inset 0 -0.18em 0 var(--accent); }

/* Linien-Icons (inline SVG) */
.i { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Label statt Mini-Eyebrow: gelber Strich + schmale Versalien */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 1.05rem/1.2 var(--font-head); letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 1px; background: var(--accent); flex-shrink: 0; }
.section-dark .eyebrow, .cta .eyebrow { color: var(--on-navy); }
/* Nummerierte Etappe als Label (Leistungen 01–03) */
.stop-label::before { display: none; }
.stop-no { display: inline-grid; place-items: center; min-width: 34px; height: 30px; padding: 0 6px; border-radius: var(--radius); background: var(--navy); color: #FFFFFF; font: 800 1rem/1 var(--font-head); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; box-shadow: inset 0 -3px 0 var(--accent); }

/* Fahrbahn als Trenner: Asphaltstreifen mit gestrichelter Mittellinie */
.road { height: 10px; background: repeating-linear-gradient(90deg, var(--accent) 0 32px, transparent 32px 56px) 0 50% / 100% 2px no-repeat, var(--navy); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 22px; border-radius: var(--radius); border: 1px solid transparent; font: 700 1.08rem/1.15 var(--font-head); letter-spacing: 0.045em; text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s; }
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: 0.7; cursor: progress; }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 1px 0 rgba(14, 23, 38, 0.12); }
.btn-primary:hover { background: var(--brand-hover); color: var(--on-brand); }
.btn-outline { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--navy); color: #FFFFFF; }
.btn-dark:hover { background: var(--navy-2); color: #FFFFFF; }
.btn-light { background: #FFFFFF; color: #0E1726; }
.btn-light:hover { background: #E4EAF2; color: #0E1726; }
/* Ghost: transparent mit Rahmen – dunkle Schrift auf hellem Grund, weiße Schrift in Navy-Bändern */
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.section-dark .btn-ghost, .cta .btn-ghost, .site-footer .btn-ghost, .topbar .btn-ghost, .on-dark .btn-ghost { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.4); }
.section-dark .btn-ghost:hover, .cta .btn-ghost:hover, .site-footer .btn-ghost:hover, .topbar .btn-ghost:hover, .on-dark .btn-ghost:hover { border-color: #FFFFFF; color: #FFFFFF; }
.btn-accent { background: var(--accent); color: #0E1726; }
.btn-accent:hover { background: #FFC933; color: #0E1726; }
.btn-sm { min-height: 44px; padding: 9px 16px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-arrow::after, .quote-card .btn::after { content: ''; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-left: -2px; flex-shrink: 0; }

/* Kopf: Dispositionstafel – oben die Tafel (Logo, Sendungscode, Preis berechnen), darunter Registerkarten.
   Beim Scrollen fährt die Tafel weg, die Registerkarten bleiben stehen. Handy/Tablet: Dock mit Kacheln unten. */
:root { --board-h: 88px; --tabs-h: 52px; --dock-h: 0px; }
.dispatch { position: sticky; top: calc(-1 * var(--board-h)); z-index: 50; }
.db-board { background: var(--navy); color: var(--on-navy-muted); background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 44px 100%; }
.db-board-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; min-height: var(--board-h); }
.dispatch :focus-visible, .db-dock :focus-visible, .lf :focus-visible { outline-color: var(--accent); }

.db-track { justify-self: center; width: min(100%, 470px); }
.db-track-label { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; font: 700 0.86rem/1.2 var(--font-head); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-navy-muted); }
.db-track-label .i { width: 15px; height: 15px; color: var(--accent); }
.db-track-field { display: flex; align-items: stretch; border-radius: var(--radius); background: #070B13; box-shadow: inset 0 0 0 1px #34465F, inset 0 2px 6px rgba(0, 0, 0, 0.45); }
.db-track-field:focus-within { box-shadow: inset 0 0 0 2px var(--accent), inset 0 2px 6px rgba(0, 0, 0, 0.45); }
.db-track-field input {
    flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border: 0; background: transparent; color: var(--accent);
    font: 700 1.2rem/1 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; font-variant-numeric: tabular-nums;
}
.db-track-field input::placeholder { color: #A9B5C6; opacity: 1; letter-spacing: 0.05em; font-weight: 600; }
.db-track-field input:focus { outline: none; }
.db-track-go {
    display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 14px 0 16px; margin: 0; border: 0; border-left: 1px solid #34465F;
    border-radius: 0 var(--radius) var(--radius) 0; background: #1A2A44; color: #FFFFFF; cursor: pointer;
    font: 700 1rem/1 var(--font-head); letter-spacing: 0.06em; text-transform: uppercase;
}
.db-track-go:hover { background: #22375A; }
.db-track-go .i { width: 18px; height: 18px; color: var(--accent); }
.db-track-go:focus-visible { outline-offset: -3px; }

.db-quote {
    display: inline-flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 18px 8px 20px; border-radius: var(--radius);
    background: var(--accent); color: #0E1726; text-decoration: none; box-shadow: inset 0 -4px 0 rgba(14, 23, 38, 0.18); transition: background-color 0.15s;
}
.db-quote:hover { background: #FFC933; color: #0E1726; }
.db-quote:focus-visible { outline-color: #FFFFFF; outline-offset: 3px; }
.db-quote-text { display: flex; flex-direction: column; }
.db-quote-kicker { font-weight: 600; font-size: 0.8rem; line-height: 1.2; }
.db-quote-main { font: 800 1.45rem/1.05 var(--font-head); letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; }
.db-quote .i { width: 26px; height: 26px; stroke-width: 2.4; }

/* Registerkarten: aktive Karte hat die Farbe der Seite und wächst aus der Tafel heraus */
.db-tabs { background: var(--navy); border-top: 1px solid var(--navy-line); }
.db-tabs-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; min-height: var(--tabs-h); }
.db-nav { display: flex; align-items: flex-end; gap: 4px; }
.db-nav > a {
    position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; margin-top: 8px;
    border-radius: var(--radius) var(--radius) 0 0; color: var(--on-navy); text-decoration: none; white-space: nowrap;
    font: 700 1.08rem/1 var(--font-head); letter-spacing: 0.06em; text-transform: uppercase; transition: background-color 0.15s, color 0.15s;
}
.db-nav > a:hover { background: var(--navy-2); color: #FFFFFF; }
.db-nav > a.active { background: var(--soft); color: var(--ink); }
body:has(> main.rq) .db-nav > a.active { background: var(--bg); }
.db-nav > a.active::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: var(--radius) var(--radius) 0 0; background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 15px); }
.db-nav > a:focus-visible { outline-offset: -4px; }
/* Geschäftskunden-Login: als letzte Registerkarte, mit Symbol und dezentem Rahmen */
.db-nav > a.db-nav-login { gap: 8px; margin-left: 10px; box-shadow: inset 0 0 0 1px var(--navy-line); }
.db-nav-login .i { width: 18px; height: 18px; color: var(--accent); }
/* Am Rechner nur als Symbol mit Tooltip (Beschriftung bleibt für Screenreader) – die Registerkarten füllen die Leiste; im Handy-Menü (≤ 960 px) mit Text */
@media (min-width: 961px) {
    .db-nav-login-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .db-nav > a.db-nav-login { width: 44px; padding: 0; justify-content: center; margin-left: 6px; }
}
.db-sheet-head, .db-sheet-contact { display: none; }
.db-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 4px; color: #FFFFFF; font: 700 1.15rem/1 var(--font-head); letter-spacing: 0.03em; text-decoration: none; white-space: nowrap; }
.db-phone .i { width: 18px; height: 18px; color: var(--accent); }
.db-phone:hover { text-decoration: underline; }
.dispatch.scrolled .db-tabs { box-shadow: 0 10px 24px -12px rgba(14, 23, 38, 0.5); }

/* Dock (Handy/Tablet) */
.db-dock, .db-scrim { display: none; }

/* Logo: Straße, die ein „R“ fährt – Start unten links, Ziel unten rechts */
.logo { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; flex-shrink: 0; text-decoration: none; color: var(--logo-name); }
.logo-mark { width: 34px; height: 42px; flex-shrink: 0; overflow: visible; }
.logo-road { fill: none; stroke: var(--logo-road); stroke-width: 8; stroke-linejoin: round; }
.logo-line { fill: none; stroke: var(--logo-line); stroke-width: 1.5; stroke-dasharray: 3 2.6; stroke-linejoin: round; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font: 800 1.6rem/1 var(--font-head); letter-spacing: 0.02em; text-transform: uppercase; color: var(--logo-name); white-space: nowrap; }
.logo-sub { display: flex; align-items: center; gap: 8px; margin-top: 5px; font: 600 0.7rem/1.3 var(--font-body); letter-spacing: 0.28em; text-transform: uppercase; color: var(--logo-sub); white-space: nowrap; }
.logo-sub::after { content: ''; flex: 1 1 auto; min-width: 12px; height: 2px; background: repeating-linear-gradient(90deg, var(--logo-line) 0 6px, transparent 6px 10px); }
.logo-inverse { --logo-road: #46669A; --logo-name: #FFFFFF; --logo-sub: #A9B5C6; }

/* Planungsraster als heller Hintergrund */
.hero, .page-head, .contact-section { position: relative; isolation: isolate; background: var(--soft); }
.hero::before, .page-head::before, .contact-section::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 44px 44px; background-position: -1px -1px; -webkit-mask-image: linear-gradient(100deg, transparent 5%, #000 60%); mask-image: linear-gradient(100deg, transparent 5%, #000 60%); }

/* Hero */
.hero { overflow: hidden; padding: 76px 0 84px; }
.hero-route { position: absolute; z-index: -1; top: 0; right: 0; width: 58%; height: 100%; pointer-events: none; }
.route-edge { fill: none; stroke: var(--line); stroke-width: 50; stroke-linecap: round; }
.route-road { fill: none; stroke: var(--card); stroke-width: 46; stroke-linecap: round; }
.route-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 22 18; }
.route-dot { fill: var(--card); stroke: var(--ink); stroke-width: 5; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; }
.fact-bar { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 28px; max-width: 640px; }
.fact-bar li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; color: var(--muted); font-size: 0.9rem; line-height: 1.35; }
.fact-bar li:nth-child(even) { border-left: 1px solid var(--line); }
.fact-bar li:nth-child(n+3) { border-top: 1px solid var(--line); }
.fact-bar .i { width: 22px; height: 22px; margin-top: 1px; color: var(--brand-text); }
.fact-bar strong { display: block; color: var(--ink); font-size: 0.98rem; font-weight: 600; margin-bottom: 2px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.hero-phone { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; color: var(--ink); text-decoration: none; font: 700 1.3rem/1 var(--font-head); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.hero-phone .i { color: var(--brand-text); width: 22px; height: 22px; }
.hero-phone:hover { color: var(--brand-text); }
.hero-note { margin-top: 12px; font-size: 0.93rem; }

/* Preisrechner-Karte (Inhalt kommt vom Rechner-Baustein) */
.quote-card { position: relative; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 42px 32px 32px; }
.quote-card::before { content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 10px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: repeating-linear-gradient(90deg, var(--accent) 0 22px, transparent 22px 36px) 0 50% / 100% 2px no-repeat, var(--navy); }
.quote-card h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-bottom: 10px; }
.quote-card p { margin-bottom: 22px; }
.quote-card > .btn { width: 100%; }

/* Abschnitte */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); --sec-bg: var(--soft); }
.section-dark { background: var(--navy); color: var(--on-navy-muted); --sec-bg: var(--navy); }
.section-dark h2, .section-dark h3 { color: #FFFFFF; }
.section-dark p { color: var(--on-navy-muted); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 14px; }
.section-head.center { margin: 0 auto 48px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }

.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: border-color 0.2s, box-shadow 0.2s; }
.card::before { content: ''; position: absolute; left: 28px; right: 28px; top: -1px; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin: 18px 0 8px; }
.card p { font-size: 0.98rem; }
.icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--radius); display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); }
.icon .i { width: 26px; height: 26px; }

/* Aufzählung als Routenpunkte */
.feature-list { list-style: none; margin-top: 16px; }
.feature-list li { position: relative; padding: 7px 0 7px 32px; color: var(--text); }
.feature-list li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 13px; height: 13px; border-radius: 50%; border: 3px solid var(--brand); background: var(--card); }
.feature-list li:not(:last-child)::after { content: ''; position: absolute; left: 7.5px; top: 30px; bottom: -14px; border-left: 2px dotted var(--line-strong); }
.section-dark .feature-list li { color: var(--on-navy); }
.section-dark .feature-list li::before { border-color: var(--accent); background: var(--navy); }
.section-dark .feature-list li:not(:last-child)::after { border-color: var(--navy-line); }

/* Fotos: gerahmt, mit Fahrbahnkante */
.photo { position: relative; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; background: var(--navy-2) center / cover; box-shadow: var(--shadow); }
.photo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: repeating-linear-gradient(90deg, var(--accent) 0 26px, transparent 26px 44px) 0 50% / 100% 2px no-repeat, var(--navy); }

/* Ablauf als Route mit Etappen */
.route { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.route::before { content: ''; position: absolute; top: 20px; left: 0; right: 0; height: 16px; border-radius: 8px; background: repeating-linear-gradient(90deg, var(--accent) 0 18px, transparent 18px 32px) 0 50% / 100% 2px no-repeat, var(--navy-2); }
.stop { position: relative; padding-top: 76px; }
.stop-num { position: absolute; top: 8px; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 3px solid var(--navy-2); box-shadow: 0 0 0 5px var(--sec-bg, var(--bg)); color: var(--ink); font: 800 1.1rem/1 var(--font-head); font-variant-numeric: tabular-nums; }
.stop:last-child .stop-num { background: var(--accent); color: #0E1726; }
.stop h3 { margin-bottom: 6px; }
.stop p { font-size: 0.98rem; }

/* Zielgruppen */
.audience { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.audience-photo { aspect-ratio: 4 / 3; background: var(--navy-2) center / cover; border-bottom: 3px solid var(--navy); }
.audience-body { padding: 18px 20px 22px; }
.audience h3 { margin-bottom: 4px; }
.audience p { font-size: 0.95rem; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
.faq-layout .section-head { margin-bottom: 0; }
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 60px; padding: 16px 0; font-weight: 600; font-size: 1.08rem; line-height: 1.4; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex-shrink: 0; width: 30px; height: 30px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat; }
.faq details[open] summary::after { border-color: var(--brand); background: linear-gradient(var(--brand-text), var(--brand-text)) center / 12px 2px no-repeat; }
.faq summary:hover { color: var(--brand-text); }
.faq details p { padding: 0 50px 20px 0; }

/* Abschluss-Aufruf */
.cta { position: relative; overflow: hidden; background: var(--navy); border-radius: var(--radius-lg); padding: 56px 56px 68px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cta::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: repeating-linear-gradient(90deg, var(--accent) 0 30px, transparent 30px 52px) 0 50% / 100% 2px no-repeat, var(--navy-2); }
.cta h2 { color: #FFFFFF; margin-bottom: 12px; }
.cta p { color: var(--on-navy-muted); font-size: 1.08rem; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cta-actions a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; color: #FFFFFF; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.cta-actions a:not(.btn):hover { text-decoration: underline; }

/* Unterseiten-Kopf: hell, Foto gerahmt statt vollflächig */
.page-head { padding: 64px 0; overflow: hidden; }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.page-head h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); margin-bottom: 18px; }
.page-head-photo { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: var(--navy-2) center / cover; box-shadow: 14px 14px 0 var(--navy); margin-right: 14px; }

/* Kontakt-Abschnitt */
.contact-section { padding: 64px 0 88px; }
.contact-title { font-size: clamp(2.2rem, 4.4vw, 3.3rem); margin-bottom: 18px; }

/* Formulare */
.form-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 46px 36px 34px; box-shadow: var(--shadow-lg); }
.form-card::before { content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 10px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: repeating-linear-gradient(90deg, var(--accent) 0 22px, transparent 22px 36px) 0 50% / 100% 2px no-repeat, var(--navy); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; counter-reset: formstep; }
.full { grid-column: 1 / -1; }
.form-sep { grid-column: 1 / -1; counter-increment: formstep; display: flex; align-items: center; gap: 10px; padding-top: 16px; margin-top: 6px; border-top: 1px dashed var(--line-strong); color: var(--ink); font: 700 1.15rem/1.2 var(--font-head); letter-spacing: 0.04em; text-transform: uppercase; }
.form-sep::before { content: counter(formstep, decimal-leading-zero); display: grid; place-items: center; width: 34px; height: 28px; border-radius: var(--radius); background: var(--navy); color: #FFFFFF; font-size: 0.95rem; font-variant-numeric: tabular-nums; box-shadow: inset 0 -3px 0 var(--accent); }
.form-sep:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.field label { display: block; font-weight: 600; font-size: 0.93rem; color: var(--ink); margin-bottom: 6px; }
.field label small { font-weight: 400; font-size: inherit; color: var(--muted); }
.field input, .field select, .field textarea, .input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); font: inherit; font-size: 1rem; line-height: 1.4; color: var(--ink); background: var(--card); transition: border-color 0.15s, box-shadow 0.15s; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238391A4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 12px 8px no-repeat; }
.field input::placeholder, .field textarea::placeholder, .input::placeholder { color: var(--muted); opacity: 0.85; }
.field input:hover, .field select:hover, .field textarea:hover, .input:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.field textarea { resize: vertical; min-height: 116px; }
input[type=checkbox], input[type=radio] { accent-color: var(--brand); }
.form-note { font-size: 0.86rem; margin-top: 14px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.success { display: none; text-align: center; padding: 40px 12px; }
.success .big { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); }
.success .big .i { width: 34px; height: 34px; stroke-width: 2.2; }
.contact-list { list-style: none; display: grid; gap: 20px; margin-top: 30px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text); }
.contact-list .icon { width: 46px; height: 46px; }
.contact-list strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.contact-list a { display: flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-list a:hover { color: var(--brand-text); text-decoration: underline; }

/* Geschäftsführung (Über uns) */
.founder { display: flex; gap: 20px; align-items: center; }
.avatar { position: relative; width: 76px; height: 76px; flex-shrink: 0; border-radius: var(--radius-lg); background: var(--navy); color: #FFFFFF; display: grid; place-items: center; font: 800 1.7rem/1 var(--font-head); letter-spacing: 0.04em; }
.avatar::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 11px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 10px); }
.founder h3 { margin: 0 0 2px; }
.founder .role { color: var(--brand-text); font-weight: 600; font-size: 0.95rem; }

/* Rechtstexte */
.legal { max-width: 860px; padding: 64px 24px 96px; }
.legal h1 { font-size: clamp(2.1rem, 7vw, 3rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.6rem; text-transform: none; letter-spacing: 0.01em; margin: 40px 0 12px; }
.legal h3 { font-size: 1.2rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text); margin-bottom: 10px; overflow-wrap: anywhere; }
.legal ul { padding-left: 22px; }
.legal-stand { margin-top: 32px; font-size: 0.9rem; color: var(--muted) !important; }
.todo { background: #FEF3C7; color: #92400E; padding: 1px 6px; border-radius: 4px; font-weight: 700; }

/* Fußzeile: Routenkarte mit Stopps, darunter Kontakt + Rechtliches als Frachtbrief-Streifen */
.lf { margin-top: auto; background: var(--navy); color: var(--on-navy-muted); font-size: 0.97rem; }
.lf p { color: var(--on-navy-muted); }
.lf-map { position: relative; padding: 64px 0 36px; overflow: hidden; background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 44px 44px; }
.lf-map-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px; margin-bottom: 18px; }
.lf-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 8px; font: 700 1.05rem/1.2 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-navy) !important; }
.lf-kicker::before { content: ''; width: 28px; height: 3px; border-radius: 1px; background: var(--accent); }
.lf-title { max-width: 16em; color: #FFFFFF !important; font: 800 clamp(1.9rem, 1.2rem + 2.6vw, 3rem)/1.02 var(--font-head); text-transform: uppercase; letter-spacing: 0.005em; }

.lf-route { position: relative; height: 250px; margin: 0 -8px; }
.lf-road { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lf-road path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.lf-road-edge { stroke: var(--navy-line); stroke-width: 30; }
.lf-road-base { stroke: #1B2A43; stroke-width: 24; }
.lf-road-line { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 14 12; animation: lfDrive 1.6s linear infinite; }
@keyframes lfDrive { to { stroke-dashoffset: -26; } }
.lf-stops { list-style: none; position: absolute; inset: 0; }
.lf-stop { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 0; height: 0; }
.lf-pin { position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; border: 4px solid var(--navy); box-shadow: 0 0 0 3px var(--accent); }
.lf-hq .lf-pin { left: -22px; top: -22px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--accent); border: 4px solid var(--navy); box-shadow: 0 0 0 3px var(--accent), 0 0 0 12px rgba(242, 183, 5, 0.16); color: #0E1726; font: 800 0.95rem/1 var(--font-head); letter-spacing: 0.04em; }
.lf-end .lf-pin { background: var(--accent); }
.lf-label { position: absolute; left: 0; bottom: 20px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; text-align: center; white-space: nowrap; }
.lf-below .lf-label { bottom: auto; top: 20px; }
.lf-hq .lf-label { left: -12px; transform: none; align-items: flex-start; text-align: left; bottom: 32px; }
.lf-end .lf-label { left: auto; right: -8px; transform: none; align-items: flex-end; text-align: right; }
.lf-label strong { color: #FFFFFF; font: 700 1.15rem/1.1 var(--font-head); letter-spacing: 0.04em; text-transform: uppercase; }
.lf-label small { color: var(--on-navy-muted); font-size: 0.85rem; line-height: 1.3; }
.lf-note { margin-top: 10px; max-width: 46em; }

.lf-strip { background: var(--navy-2); border-top: 1px solid var(--navy-line); padding: 26px 0 18px; }
.lf-waybill { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px 40px; padding: 16px 20px; border: 1px dashed #3A4E6C; border-radius: var(--radius-lg); }
.lf-fields { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: end; gap: 12px 0; }
.lf-fields > div { padding: 0 24px; border-left: 1px dashed #3A4E6C; }
.lf-fields dt { font: 700 0.8rem/1.2 var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.lf-fields dd { color: var(--on-navy); line-height: 1.45; }
.lf-fields a { display: flex; align-items: center; min-height: 44px; color: #FFFFFF; text-decoration: none; }
.lf-fields a:hover { text-decoration: underline; }
.lf-phone { font: 700 1.2rem/1 var(--font-head); letter-spacing: 0.03em; }
.lf-fields dd a + a { margin-top: -10px; }
.lf-links { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0 28px; margin-top: 12px; }
.lf-nav, .lf-legal { display: flex; flex-wrap: wrap; margin: 0 -9px; }
.lf-nav a, .lf-legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 9px; color: var(--on-navy-muted); text-decoration: none; }
.lf-nav a:hover, .lf-legal a:hover { color: #FFFFFF; text-decoration: underline; }
.lf-legal a { color: var(--on-navy); font-weight: 600; }
.lf-nav a.active { color: #FFFFFF; }
.lf-copy { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 24px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--navy-line); font-size: 0.88rem; }

/* Status-Portal – tracking.css liest die --tr-Variablen */
.tr-wrap { --tr-accent: var(--brand); --tr-accent-text: var(--on-brand); --tr-accent-strong: var(--brand-text); --tr-text: var(--ink); --tr-muted: var(--muted); --tr-card: var(--card); --tr-line: var(--line); --tr-error: #B42318; }
main.tr-wrap { padding-top: 64px; }
.tr-wrap .tr-btn { min-height: 50px; border-radius: var(--radius); font: 700 1.08rem/1.15 var(--font-head); letter-spacing: 0.045em; text-transform: uppercase; }
.tr-wrap .tr-btn:hover { filter: none; background: var(--brand-hover); }
.tr-wrap .tr-btn-ghost { border: 1px solid var(--line-strong); }
.tr-wrap .tr-btn-ghost:hover { background: transparent; border-color: var(--ink); }
.tr-wrap .tr-form input { border: 1px solid var(--line-strong); border-radius: var(--radius); }
.tr-wrap .tr-form input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.tr-wrap .tr-benefits div, .tr-wrap .tr-summary, .tr-wrap .tr-card, .tr-wrap .tr-update { border-radius: var(--radius-lg); }
.tr-wrap .tr-card h2 { text-transform: none; font-size: 1.45rem; }
.tr-wrap .tr-now strong { font-family: var(--font-head); font-size: 1.7rem; }
.tr-wrap .tr-ring span { font-family: var(--font-head); font-variant-numeric: tabular-nums; }
.tr-wrap .tr-contact .tr-avatar { color: var(--on-brand); }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; }
    .lf-road-line { animation: none; }
    .db-nav, .db-panel, .db-menu-icon, .db-menu-icon::before, .db-menu-icon::after { transition: none !important; }
}

@media (max-width: 1100px) {
    .db-board-inner { gap: 20px; }
    .db-nav > a { padding: 0 12px; font-size: 1rem; }
    .db-quote-kicker { display: none; }
    .lf-fields > div { padding: 0 16px; }
}
@media (max-width: 1060px) {
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lf-waybill { grid-template-columns: minmax(0, 1fr); }
    .lf-fields { justify-content: start; }
    .lf-fields > div:first-child { padding-left: 0; border-left: 0; }
}
@media (max-width: 960px) {
    /* Kopf: nur die Tafel mit Logo, alles andere wandert ins Dock */
    :root { --header-h: 0px; --dock-h: 76px; }
    .dispatch { position: relative; top: auto; z-index: auto; }
    .db-board-inner { grid-template-columns: minmax(0, 1fr); min-height: 64px; }
    .db-track, .db-quote, .db-phone { display: none; }
    .db-tabs { border-top: 0; }
    .db-tabs-inner { min-height: 0; }
    body { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); }
    body .rq-bar { bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); }

    .db-dock { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; }
    .db-dock-bar {
        position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px;
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--navy); border-top: 1px solid var(--navy-line);
        box-shadow: 0 -12px 30px -14px rgba(14, 23, 38, 0.55);
    }
    .db-tile {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 60px; padding: 6px 4px;
        border: 0; border-radius: var(--radius); background: var(--navy-2); color: #FFFFFF; cursor: pointer; text-align: center; text-decoration: none;
        font: 700 0.86rem/1.05 var(--font-head); letter-spacing: 0.04em; text-transform: uppercase; hyphens: manual;
    }
    .db-tile[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); }
    .db-tile-quote[aria-current="page"] { box-shadow: inset 0 -3px 0 #0E1726; }
    .db-tile .i { width: 22px; height: 22px; color: var(--accent); }
    html:not(.js) #navToggle, html:not(.js) #dbTrackToggle { display: none; }
    html:not(.js) .db-dock-bar noscript { display: contents; }
    .db-tile:hover { background: #1E2F4B; color: #FFFFFF; }
    .db-tile[aria-expanded="true"] { background: var(--soft); color: var(--ink); box-shadow: inset 0 3px 0 var(--accent); }
    .db-tile[aria-expanded="true"] .i { color: var(--brand-text); }
    .db-tile-quote, .db-tile-quote:hover { background: var(--accent); color: #0E1726; }
    .db-tile-quote .i { color: #0E1726; }
    .db-tile:focus-visible { outline-offset: 2px; }
    .db-menu-icon, .db-menu-icon::before, .db-menu-icon::after { display: block; width: 20px; height: 2px; background: var(--accent); transition: transform 0.2s, background-color 0.2s; }
    .db-menu-icon { position: relative; margin: 10px 0; }
    .db-menu-icon::before, .db-menu-icon::after { content: ''; position: absolute; left: 0; }
    .db-menu-icon::before { top: -6px; }
    .db-menu-icon::after { top: 6px; }
    #navToggle[aria-expanded="true"] .db-menu-icon { background: transparent; }
    #navToggle[aria-expanded="true"] .db-menu-icon::before { transform: translateY(6px) rotate(45deg); background: var(--ink); }
    #navToggle[aria-expanded="true"] .db-menu-icon::after { transform: translateY(-6px) rotate(-45deg); background: var(--ink); }

    /* Sheets über dem Dock: Menü (große Kacheln) und Sendungscode */
    .db-nav, .db-panel {
        position: fixed; left: 0; right: 0; bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); z-index: 79;
        max-height: calc(100vh - var(--dock-h) - 32px); max-height: calc(100dvh - var(--dock-h) - 32px); overflow-y: auto; overscroll-behavior: contain;
        padding: 18px 16px 18px; background: var(--card); border-radius: 16px 16px 0 0; box-shadow: 0 -20px 50px -16px rgba(14, 23, 38, 0.5);
        transform: translateY(calc(100% + var(--dock-h) + 20px)); visibility: hidden; transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.3s;
    }
    .db-panel { z-index: 1; }
    .db-nav.open, .db-panel.open { transform: none; visibility: visible; transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
    .db-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 8px; }
    .db-sheet-head { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
    .db-sheet-title, .db-panel-title { font: 800 1.5rem/1 var(--font-head); letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }
    .db-sheet-close { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--card); color: var(--ink); font: 700 0.95rem/1 var(--font-head); letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; }
    .db-sheet-close .i { width: 18px; height: 18px; }
    .db-nav > a {
        margin: 0; min-height: 68px; padding: 10px 14px; border-radius: var(--radius-lg); align-items: flex-end; white-space: normal;
        background: var(--soft); color: var(--ink); border: 1px solid var(--line); font-size: 1.15rem; line-height: 1.05;
    }
    .db-nav > a::after { content: ''; position: absolute; right: 12px; top: 12px; width: 10px; height: 10px; border-radius: 50%; border: 3px solid var(--brand-text); }
    .db-nav > a:hover { background: var(--soft); color: var(--brand-text); }
    .db-nav > a.active { background: var(--navy); color: #FFFFFF; border-color: var(--navy); }
    .db-nav > a.active::before { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .db-nav > a.active::after { border-color: var(--accent); }
    .db-sheet-contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 18px; padding-top: 4px; }
    .db-sheet-contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand-text); font-weight: 600; }
    .db-panel-note { margin: 6px 0 14px; font-size: 0.95rem; }
    .db-panel .db-track-field input { min-height: 52px; }
    .db-panel .db-track-go { min-height: 52px; }
    .db-scrim { display: block; position: fixed; inset: 0; z-index: 78; background: rgba(8, 13, 22, 0.55); }
    .sheet-open body { overflow: hidden; }

    .lf-route { height: auto; margin: 8px 0 0; }
    .lf-road { display: none; }
    .lf-stops { position: relative; inset: auto; display: grid; gap: 14px; padding-left: 4px; }
    .lf-stops::before { content: ''; position: absolute; left: 13px; top: 10px; bottom: 10px; width: 14px; border-radius: 7px; background: repeating-linear-gradient(180deg, var(--accent) 0 12px, transparent 12px 22px) 50% 0 / 2px 100% no-repeat, #1B2A43; }
    .lf-stop { position: relative; left: auto; top: auto; width: auto; height: auto; display: flex; align-items: center; gap: 16px; min-height: 36px; }
    .lf-pin, .lf-hq .lf-pin { position: relative; left: auto; top: auto; flex-shrink: 0; }
    .lf-pin { margin: 0 8px 0 10px; }
    .lf-hq .lf-pin { margin: 0; }
    .lf-label, .lf-below .lf-label, .lf-hq .lf-label, .lf-end .lf-label { position: static; transform: none; flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 0 10px; text-align: left; white-space: normal; }
    .hero { padding: 56px 0 64px; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .hero-route { display: none; }
    .quote-card { max-width: 560px; }
    .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 900px) {
    .route { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .route::before { top: 0; bottom: 0; left: 12px; right: auto; width: 16px; height: auto; background: repeating-linear-gradient(180deg, var(--accent) 0 14px, transparent 14px 26px) 50% 0 / 2px 100% no-repeat, var(--navy-2); }
    .stop { padding: 0 0 0 64px; min-height: 48px; }
    .stop-num { top: 0; }
}
@media (max-width: 860px) {
    body { font-size: 16px; }
    .lf-map { padding-top: 48px; }
    .lf-links { flex-direction: column; align-items: flex-start; }
    .split, .cta, .grid-3, .form-grid, .page-head-grid { grid-template-columns: minmax(0, 1fr); }
    .split { gap: 40px; }
    .photo { aspect-ratio: 16 / 9; }
    .section { padding: 64px 0; }
    .page-head { padding: 48px 0 52px; }
    .page-head-grid { gap: 32px; }
    .page-head-photo { aspect-ratio: 2 / 1; box-shadow: 8px 8px 0 var(--navy); margin-right: 8px; }
    .cta { padding: 40px 28px 56px; }
    .form-card { padding: 38px 20px 24px; }
    .contact-section { padding: 48px 0 64px; }
    .faq details p { padding-right: 0; }
}
@media (max-width: 560px) {
    .container { padding: 0 18px; }
    .legal { padding: 44px 18px 72px; }
    .logo { gap: 9px; }
    .logo-mark { width: 30px; height: 37px; }
    .logo-name { font-size: 1.38rem; }
    .logo-sub { font-size: 0.64rem; margin-top: 4px; }
    .grid-4, .grid-2 { grid-template-columns: minmax(0, 1fr); }
    .lf-fields { grid-template-columns: minmax(0, 1fr); }
    .lf-fields > div { padding: 10px 0 0; border-left: 0; border-top: 1px dashed #3A4E6C; }
    .lf-fields > div:first-child { padding-top: 0; border-top: 0; }
    .lf-map-head .btn { width: 100%; }
    .page-head-photo { aspect-ratio: 16 / 9; }
    .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .audience-body { padding: 12px 14px 16px; }
    .audience h3 { font-size: 1.25rem; }
    .audience p { font-size: 0.88rem; hyphens: auto; }
    .hero-actions .btn { width: 100%; }
    .quote-card { padding: 38px 20px 22px; }
    .fact-bar li { flex-direction: column; gap: 6px; padding: 12px 12px 13px; hyphens: auto; overflow-wrap: break-word; }
    .fact-bar strong { font-size: 0.94rem; }
    .founder { align-items: flex-start; }
    .avatar { width: 64px; height: 64px; font-size: 1.45rem; }
}
@media (max-width: 400px) {
    .db-tile { font-size: 0.78rem; letter-spacing: 0.02em; }
    .db-nav > a { font-size: 1.05rem; min-height: 60px; }
    .audience-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .audience { flex-direction: row; }
    .audience-photo { flex: 0 0 38%; aspect-ratio: auto; min-height: 104px; border-bottom: 0; border-right: 3px solid var(--navy); }
    .audience-body { align-self: center; }
}

/* Dunkelmodus – folgt der Systemeinstellung, gleiche Token-Namen */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0B1220; --soft: #0F1828; --card: #131E30;
        --ink: #F1F4F8; --text: #D3DAE4; --muted: #9DA9BA;
        --line: #243248; --line-strong: #5A6B84; --grid: #162236;
        --brand: #2A6DB5; --brand-hover: #235F9F; --brand-text: #7DB1EA; --brand-soft: rgba(42, 109, 181, 0.2); --brand-ring: rgba(125, 177, 234, 0.3);
        --navy: #080D16; --navy-2: #111A2A; --navy-line: #22304A;
        --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
        --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 24px 60px rgba(0, 0, 0, 0.45);
        --logo-road: #46669A; --logo-name: #F1F4F8; --logo-sub: #9DA9BA;
    }
    .dispatch.scrolled .db-tabs { box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.7); }
    .db-track-field { background: #03060B; }
    .db-tile:not(.db-tile-quote):not([aria-expanded="true"]) { background: #15213A; }
    .lf-road-base { stroke: #16233A; }
    .route::before, .stop-num { --navy-2: #2A3A55; }
    .cta, .section-dark { border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); }
    .cta { border: 1px solid var(--navy-line); }
    .tr-wrap { --tr-error: #FCA5A5; }
}
