/* FleetCred – öffentliche Website. Gleiche Schrift und Tafel-Sprache wie die Plattform. */
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url('/static/fonts/barlow-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url('/static/fonts/barlow-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url('/static/fonts/barlow-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url('/static/fonts/barlow-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url('/static/fonts/barlow-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url('/static/fonts/barlow-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-weight: 700; font-display: swap; src: url('/static/fonts/barlow-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Barlow'; font-weight: 700; font-display: swap; src: url('/static/fonts/barlow-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 600; font-display: swap; src: url('/static/fonts/barlow-semi-condensed-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 600; font-display: swap; src: url('/static/fonts/barlow-semi-condensed-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 700; font-display: swap; src: url('/static/fonts/barlow-semi-condensed-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 700; font-display: swap; src: url('/static/fonts/barlow-semi-condensed-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Farben ----------
   Aus Logo und Titelbild: tiefes Nachtblau als Grund, Blau-Verlauf wie „Cred“ für Aktionen, Cyan als Licht.
   Orange und Rot nur für Fristen (bald fällig, abgelaufen). */
:root {
  color-scheme: light;
  --navy: #05172b; --navy-2: #0c2440; --navy-3: #133152; --navy-line: #1d3d61; --navy-deep: #020c19;
  --blue: #0a6ed8; --blue-hover: #0858b3; --blue-on-dark: #6cc4f8; --cyan: #1cbcf3;
  --cta: linear-gradient(180deg, #0a72dc, #0654bf); --cta-hover: linear-gradient(180deg, #1580e8, #0a5fd0);
  --orange: #f0821e; --orange-hover: #f6984a; --orange-soft: #fdebd3; --orange-ink: #9a4f05;
  --green: #1e8a57; --green-bright: #2fd36b;
  --red: #c0261c;
  --paper: #f2f6fa; --white: #ffffff; --field: #ffffff;
  --ink: #0b1a2e; --muted: #53637a; --line: #d4dde7;
  --on-dark: #e6eef7; --on-dark-muted: #a3b6cb;
  --stripe: rgba(108, 196, 248, .38);
  --wrap: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #071321; --white: #0b1a2c; --field: #071321;
    --ink: #e6eef7; --muted: #9db1c7; --line: #1f3550;
    --blue: #4fb3f6; --blue-hover: #7cc6f8;
    --orange-soft: #3a2914; --orange-ink: #f5b26b; --green: #6fd09a;
  }
}

/* ---------- Grundlagen ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.55;
  font-variant-numeric: tabular-nums;
}
img { max-width: 100%; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.mast :focus-visible, .hero :focus-visible, .band.dark :focus-visible, .foot :focus-visible, .legal-head :focus-visible { outline-color: var(--blue-on-dark); }
h1, h2, h3 { font-family: 'Barlow Semi Condensed', 'Barlow', system-ui, sans-serif; font-weight: 700; line-height: 1.08; margin: 0 0 .45em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); letter-spacing: -.012em; }
h2 { font-size: clamp(1.95rem, 3.3vw, 2.7rem); letter-spacing: -.008em; }
h3 { font-size: 1.22rem; font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 5px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Knöpfe: Warntafel für die Hauptaktion */
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--cta); color: #fff; border: 0; border-radius: 7px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 6px 18px -8px rgba(10, 110, 216, .7);
  padding: 10px 20px; font-family: 'Barlow Semi Condensed', 'Barlow', sans-serif; font-weight: 700; font-size: 1.06rem; line-height: 1.15;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-cta:hover { background: var(--cta-hover); color: #fff; }
.btn-cta.lg { padding: 14px 28px; font-size: 1.2rem; }
.btn-cta.wide { width: 100%; }
.btn-line {
  display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 7px; border: 2px solid rgba(108, 196, 248, .55);
  color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: 1.05rem;
}
.btn-line:hover { color: #fff; border-color: #fff; }

/* ---------- Kopf ---------- */
.mast { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--on-dark); border-bottom: 1px solid var(--navy-line); }
.mast-in { display: flex; align-items: center; gap: 28px; min-height: 70px; }
.logo { display: block; flex: none; }
.logo img { display: block; height: 38px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--on-dark); text-decoration: none; font-weight: 500; padding: 8px 11px; border-radius: 4px; }
.nav a:hover { color: #fff; background: var(--navy-2); }
.nav .nav-login { display: none; }
.mast-act { display: flex; align-items: center; gap: 18px; }
.nav + .mast-act { margin-left: 8px; }
.mast-act:only-child, .logo + .mast-act { margin-left: auto; }
.mast-login { color: var(--on-dark); text-decoration: none; font-weight: 600; }
.mast-login:hover { color: #fff; text-decoration: underline; }
.nav-btn { display: none; background: none; border: 2px solid var(--navy-line); color: var(--on-dark); border-radius: 5px; padding: 6px 12px; font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- Einstieg ---------- */
.hero { position: relative; background: var(--navy); color: var(--on-dark); padding: 84px 0 112px; overflow: hidden; }
/* Leitlinie am unteren Rand */
.hero::after, .band.dark::before {
  content: ''; position: absolute; left: 0; right: 0; height: 6px; pointer-events: none;
  background: repeating-linear-gradient(to right, var(--stripe) 0 46px, transparent 46px 86px);
}
.hero::after { bottom: 0; }
.band.dark::before { top: 0; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.9rem); }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--on-dark); max-width: 36em; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-for { margin: 28px 0 0; color: var(--on-dark-muted); font-size: .98rem; }

/* Szene: Telefon mit Aufnahme, davor die Fristentafel */
.scene { position: relative; display: flex; justify-content: flex-start; padding: 118px 0 120px 10px; }
/* Foto aus dem Titelbild, Telefon und Tafel liegen davor */
.scene-photo { position: absolute; top: 0; right: 0; width: 94%; aspect-ratio: 672 / 345; border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(108, 196, 248, .32), 0 30px 70px -30px rgba(0, 0, 0, .85); }
.scene-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.scene-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 23, 43, .7), rgba(5, 23, 43, 0) 60%); }
.phone {
  position: relative; width: 300px; flex: none; border-radius: 38px; padding: 14px; background: #0d1418;
  box-shadow: 0 0 0 1.5px #3a4b56, 0 30px 60px -24px rgba(0, 0, 0, .6);
}
.phone > * { position: relative; }
.ph-bar { background: var(--navy); border-radius: 24px 24px 0 0; padding: 22px 18px 12px; display: grid; gap: 2px; }
.ph-bar span { color: var(--on-dark-muted); font-size: .76rem; font-weight: 600; }
.ph-bar strong { color: #fff; font-family: 'Barlow Semi Condensed', sans-serif; font-size: 1.12rem; line-height: 1.15; }
.ph-cam { position: relative; aspect-ratio: 3 / 3.4; background: #0b1013; overflow: hidden; }
.card {
  position: absolute; left: 9%; right: 9%; top: 50%; aspect-ratio: 1.586; transform: translateY(-50%);
  background: linear-gradient(160deg, #eef2f4, #dfe6ea); border-radius: 9px; padding: 9% 7%; display: flex; gap: 7%;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .35);
}
.card-photo { flex: 0 0 28%; background: #c3ced5; border-radius: 4px; }
.card-fields { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.card-fields li { display: flex; align-items: center; gap: 5px; }
.card-fields b { font-family: 'Barlow Semi Condensed', sans-serif; font-size: .58rem; color: #56636c; width: 1.7em; }
.card-fields i { display: block; height: 5px; border-radius: 3px; background: #b6c2c9; }
.card-fields .hit i { background: #0b5c91; }
.ph-frame { position: absolute; left: 6%; right: 6%; top: 50%; aspect-ratio: 1.586; transform: translateY(-50%); border: 3px solid var(--green-bright); border-radius: 12px; box-shadow: 0 0 0 999px rgba(11, 16, 19, .5), 0 0 0 4px rgba(47, 211, 107, .3); }
.ph-hold { position: absolute; left: 16%; right: 16%; bottom: 46px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .22); overflow: hidden; opacity: 0; }
.ph-hold span { display: block; height: 100%; width: 100%; background: var(--green-bright); }
.ph-status { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: grid; white-space: nowrap; }
.ph-status span { grid-area: 1 / 1; justify-self: center; display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: rgba(11, 16, 19, .86); border: 2px solid #fff; color: #fff; font-weight: 700; font-size: .78rem; opacity: 0; }
.ph-status .st3 { opacity: 1; border-color: var(--green-bright); color: #c9f7d9; }
.ph-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.ph-foot { display: flex; justify-content: center; background: var(--navy); border-radius: 0 0 24px 24px; padding: 16px 0 22px; }
.shutter { width: 56px; height: 56px; border-radius: 50%; border: 5px solid #fff; background: var(--cta); }
.tick { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green-bright); position: relative; }
.tick::after { content: ''; position: absolute; left: 10px; top: 6px; width: 7px; height: 12px; border: solid #0b1013; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.tick.sm { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }
.tick.sm::after { left: 5px; top: 2px; width: 4px; height: 8px; border-width: 0 2px 2px 0; }
.board {
  position: absolute; right: 0; bottom: 0; width: 296px; background: #fff; color: #17212a; border-radius: 9px; padding: 14px 16px 6px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 22px 44px -18px rgba(0, 0, 0, .65);
}
.board-h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid #d3dadf; font-size: .82rem; }
.board-h strong { font-family: 'Barlow Semi Condensed', sans-serif; font-size: 1.05rem; }
.board-h span { color: #56636c; }
.board-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #e7ecef; }
.board-row:last-child { border-bottom: 0; }
.board .who { font-weight: 600; font-size: .9rem; line-height: 1.2; }
.board .who small { display: block; color: #56636c; font-weight: 500; font-size: .76rem; }
/* Fristentafel wie in der Plattform */
.tafel { display: inline-flex; flex-direction: column; min-width: 104px; padding: 3px 8px 2px; border: 2.5px solid #8fa39a; border-radius: 4px; background: #fff; line-height: 1.15; }
.tafel .k { font-size: .66rem; font-weight: 600; color: #1e8a57; }
.tafel .v { font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: .95rem; color: #17212a; display: grid; }
.tafel .v > span { grid-area: 1 / 1; }
.tafel.bald { background: #fdebd3; border-color: #f0821e; }
.tafel.bald .k { color: #9a4f05; }
.tafel.fs .v1 { opacity: 0; }

/* Der eine Ablauf beim Laden: Karte legt sich in den Rahmen, Rahmen wird grün, Auslösen, Ergebnis, Tafel springt um.
   Endzustand ist der Normalzustand – ohne Bewegung (reduzierte Bewegung) steht sofort das Ergebnis da. */
@media (prefers-reduced-motion: no-preference) {
  .card { animation: settle .8s cubic-bezier(.2, .7, .2, 1) .35s backwards; }
  .ph-frame { animation: frameOk 1.45s linear backwards; }
  .card-fields .hit i { animation: hit .35s ease-out 1.95s backwards; }
  .ph-hold { animation: holdBar 2.45s linear; }
  .ph-hold span { animation: holdFill 1s linear 1.35s backwards; }
  .ph-status .st1 { animation: st1 1.35s step-end; }
  .ph-status .st2 { animation: st2 2.45s step-end; }
  .ph-status .st3 { animation: show .01s 2.45s backwards; }
  .ph-flash { animation: flash .4s ease-out 2.45s; }
  .shutter { animation: shutterReady 2.45s step-end; }
  .tafel.fs { animation: tafelOk .3s ease-out 3.25s backwards; }
  .tafel.fs .k { animation: tafelK .3s ease-out 3.25s backwards; }
  .tafel.fs .v1 { animation: st1 3.25s step-end; }
  .tafel.fs .v2 { animation: show .01s 3.25s backwards; }
}
@keyframes settle { from { transform: translate(14px, -38%) rotate(-8deg) scale(.9); opacity: .5; } }
@keyframes frameOk { 0%, 88% { border-color: #fff; box-shadow: 0 0 0 999px rgba(11, 16, 19, .5), 0 0 0 4px rgba(47, 211, 107, 0); } }
@keyframes hit { from { background: #b6c2c9; } }
@keyframes holdBar { 0%, 54% { opacity: 0; } 55%, 99% { opacity: 1; } 100% { opacity: 0; } }
@keyframes holdFill { from { width: 0; } }
@keyframes st1 { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes st2 { 0% { opacity: 0; } 55% { opacity: 1; } 100% { opacity: 0; } }
@keyframes show { from { opacity: 0; } }
@keyframes flash { 0% { opacity: .75; } 100% { opacity: 0; } }
@keyframes shutterReady { 0% { box-shadow: none; } 55% { box-shadow: 0 0 0 5px rgba(47, 211, 107, .4); } 100% { box-shadow: none; } }
@keyframes tafelOk { from { background: #fdebd3; border-color: #f0821e; } }
@keyframes tafelK { from { color: #9a4f05; } }

/* ---------- Abschnitte ---------- */
.band { position: relative; padding: 104px 0; background: var(--white); }
.band.alt { background: var(--paper); }
.band.dark { background: var(--navy); color: var(--on-dark); }
.band.dark h2 { color: #fff; }
.band.dark a { color: var(--blue-on-dark); }
.sec-head { max-width: 760px; margin-bottom: 46px; }
.sec-head p, .lead-sm { font-size: 1.13rem; color: var(--muted); }
.band.dark .lead-sm { color: var(--on-dark-muted); }

/* Was geprüft wird */
.ledger { border-top: 3px solid var(--blue); }
.ledger-row { display: grid; grid-template-columns: 230px minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ledger-head { padding: 12px 0; font-size: .9rem; font-weight: 600; color: var(--muted); }
.ledger .doc { justify-self: start; font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: 1.2rem; line-height: 1.1; padding: 6px 12px 5px; border: 2.5px solid var(--ink); border-radius: 4px; }
.fn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 1.75em; height: 1.45em; padding: 0 .3em;
  border: 1.5px solid var(--blue); border-radius: 4px; color: var(--blue); font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: .82em; vertical-align: .08em;
}

/* Ablauf als Strecke mit vier Halten */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; position: relative; }
.route::before { content: ''; position: absolute; left: 24px; right: 24px; top: 22px; height: 4px; background: repeating-linear-gradient(to right, var(--line) 0 22px, transparent 22px 38px); }
.route li { position: relative; }
.stop {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 18px;
  background: var(--cta); color: #fff; border: 0; border-radius: 9px; box-shadow: 0 0 0 5px var(--paper);
  font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: 1.45rem;
}
.route p { color: var(--muted); margin: 0; }
.aside { margin: 46px 0 0; padding-left: 16px; border-left: 4px solid var(--blue); color: var(--ink); max-width: 46em; }

/* Zwei Spalten */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 80px; align-items: center; }
.split.rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.facts { margin: 30px 0 0; }
.facts > div { padding: 16px 0; border-top: 1px solid var(--line); }
.band.dark .facts > div { border-color: var(--navy-line); }
.facts dt { font-weight: 700; font-size: 1.08rem; margin-bottom: 3px; }
.facts dd { margin: 0; color: var(--muted); }
.band.dark .facts dt { color: #fff; }
.band.dark .facts dd { color: var(--on-dark-muted); }
.facts.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 34px; margin: 0; }

/* Telefon in Ruhe: Startseite der Fahrer-App */
.phone.still { justify-self: center; }
.ph-body { background: var(--navy); border-radius: 0 0 24px 24px; padding: 4px 16px 22px; }
.ph-p { color: var(--on-dark); font-size: .86rem; margin: 0 0 10px; }
.ph-task { background: #fff; border-radius: 7px; border-left: 7px solid #f0821e; padding: 10px 12px; color: #17212a; }
.ph-task strong { display: block; font-size: .98rem; }
.ph-task span { color: #56636c; font-size: .8rem; }
.ph-h { color: #fff; font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: 1rem; margin: 18px 0 8px; }
.ph-doc { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--navy-2); border-left: 5px solid var(--green-bright); border-radius: 6px; padding: 8px 10px; margin-bottom: 6px; font-size: .76rem; color: #dfe6ea; }
.ph-doc strong { display: block; color: #fff; font-size: .86rem; }
.ph-doc em { font-style: normal; font-weight: 700; color: #c9f7d9; }
.ph-doc em.w { color: #ffe0a3; }
.ph-doc:has(em.w) { border-left-color: #f5a524; }

/* Fuhrparkleitung */
.feat { list-style: none; margin: 28px 0 0; padding: 0; }
.feat li { padding: 15px 0; border-top: 1px solid var(--line); color: var(--muted); }
.feat strong { display: block; color: var(--ink); font-size: 1.08rem; margin-bottom: 2px; }
.mini-dash { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 440px; justify-self: center; width: 100%; }
/* Kennzahlen wie in der Übersicht der Plattform */
.mk { --tone: #5c6f87; --tone-soft: #e9eef5; --tone-ink: var(--ink);
  position: relative; display: flex; flex-direction: column; padding: 14px 16px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(5, 23, 43, .05); }
.mk::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--tone); }
.mk.tone-red { --tone: #c0261c; --tone-soft: #f9e1de; --tone-ink: #c0261c; }
.mk.tone-orange { --tone: #f0821e; --tone-soft: #fdebd3; --tone-ink: var(--orange-ink); }
.mk-ico { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: var(--tone-soft); color: var(--tone); }
.mk-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mk-n { display: block; margin-top: 10px; font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--tone-ink); }
.mk-n small { font-size: .5em; color: var(--muted); }
.mk-l { display: block; margin: 3px 0 12px; font-weight: 600; font-size: .88rem; }
.mk-bar { display: block; height: 6px; margin-top: auto; border-radius: 3px; background: #e8edf3; overflow: hidden; }
.mk-bar i { display: block; height: 100%; min-width: 4px; border-radius: 3px; background: var(--tone); }
.mk-ring { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 16px; --tone: #23a066; }
.mk-ring .mk-n { margin-top: 0; color: var(--ink); }
.mk-ring .mk-l { margin-bottom: 0; }
.ring { position: relative; flex: none; width: 84px; height: 84px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 12; }
.ring-track { stroke: #e8edf3; }
.ring-val { stroke: #23a066; stroke-linecap: round; }
.ring-pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: 1.25rem; }
@media (prefers-color-scheme: dark) { .mk-bar, .ring-track { background: #1a2b40; stroke: #1a2b40; } .mk.tone-red { --tone-soft: #3b1c1a; --tone-ink: #ff8b80; } .mk { --tone-soft: #1a2b40; } }

/* Halterhaftung: Paragraf als Blickfang */
.law { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; }
.law-mark { margin: 0; font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: clamp(4.6rem, 10vw, 8.4rem); line-height: .86; color: var(--ink); letter-spacing: -.02em; }
.law-mark span { display: block; font-size: .3em; letter-spacing: 0; color: var(--muted); margin-top: 12px; }
.law p { max-width: 40em; }
.law .note { font-size: .92rem; color: var(--muted); }

/* Fragen */
.faq-wrap > * { max-width: 860px; }
.faq { border-top: 3px solid var(--blue); margin-top: 26px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 19px 0; font-weight: 600; font-size: 1.14rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 14px; height: 14px; border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq summary:hover { color: var(--blue); }
.faq details p { color: var(--muted); max-width: 44em; margin: -4px 0 20px; }

/* Angebot */
.offer .split { align-items: start; }
.direct { margin-top: 30px; color: var(--on-dark-muted); line-height: 1.7; }
.direct a { font-weight: 600; }
.band.dark .form-card a { color: var(--blue); }
.form-card { background: var(--white); color: var(--ink); border-radius: 12px; padding: 30px; border-top: 5px solid var(--blue); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.f { margin-bottom: 16px; min-width: 0; }
.f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.f label, .f legend { display: block; font-weight: 600; margin-bottom: 5px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
fieldset.f { border: 0; padding: 0; margin: 0 0 16px; }
.f input[type=text], .f input[type=email], .f input[type=tel], .f textarea {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 5px; background: var(--field); color: var(--ink); font: inherit;
}
.f textarea { resize: vertical; min-height: 104px; }
.f input:focus, .f textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.f.bad input, .f.bad textarea { border-color: var(--red); }
.err { display: block; color: var(--red); font-size: .9rem; font-weight: 600; margin-top: 4px; }
@media (prefers-color-scheme: dark) { .err { color: #ff8b80; } .f.bad input { border-color: #ff8b80; } }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { margin: 0; font-weight: 500; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-block; padding: 7px 14px; border: 1.5px solid var(--line); border-radius: 5px; cursor: pointer; }
.seg label:hover span { border-color: var(--muted); }
.seg input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (prefers-color-scheme: dark) { .seg input:checked + span { background: var(--on-dark); border-color: var(--on-dark); color: var(--navy); } }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.f.check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.f.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--blue); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #f6dcd9; color: #6d0f09; border-left: 5px solid var(--red); padding: 10px 14px; border-radius: 4px; margin-bottom: 18px; font-weight: 600; }
.sent { text-align: left; padding: 6px 0; }
.sent .tick { display: block; width: 44px; height: 44px; margin-bottom: 16px; }
.sent .tick::after { left: 16px; top: 9px; width: 10px; height: 19px; border-width: 0 4px 4px 0; }
.sent h3 { font-size: 1.6rem; }

/* ---------- Fuß ---------- */
.foot { background: var(--navy-deep); color: var(--on-dark-muted); padding: 56px 0 28px; font-size: .95rem; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 40px; align-items: start; }
.foot-brand img { display: block; height: 52px; width: auto; }
.foot address { font-style: normal; line-height: 1.6; }
.foot a { color: var(--on-dark); }
.foot-nav { display: flex; flex-direction: column; gap: 6px; }
.foot-small { margin-top: 36px; padding-top: 18px; border-top: 1px solid #12263d; font-size: .85rem; }
.foot > .wrap:last-child { padding-top: 0; }

/* ---------- Rechtstexte ---------- */
.legal-head { position: relative; background: var(--navy); color: #fff; padding: 64px 0 48px; }
.legal-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); margin: 0; }
.legal { max-width: 820px; padding-top: 48px; padding-bottom: 80px; }
.legal section { padding: 4px 0 10px; }
.legal h2 { font-size: 1.35rem; margin: 22px 0 8px; }
.legal p { max-width: 42em; }

/* ---------- Schmal ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 8px 8px; }
  .mast-login { display: none; }
  .nav .nav-login { display: block; }
}
@media (max-width: 960px) {
  .hero-in, .split, .split.rev, .law { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 96px; }
  .hero h1 { font-size: clamp(2.2rem, 9.6vw, 4.2rem); }
  .scene { width: 100%; max-width: 560px; margin: 0 auto; padding: 96px 0 40px 0; }
  .board { right: 0; bottom: 0; }
  .split { gap: 48px; }
  .split.rev .mini-dash { justify-self: start; }
  .law { gap: 14px; }
  .facts.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .route::before { display: none; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--navy); border-bottom: 1px solid var(--navy-line); padding: 8px 16px 14px; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 6px; border-bottom: 1px solid var(--navy-2); border-radius: 0; }
  .nav-btn { display: inline-block; }
  .mast-act { margin-left: auto; gap: 10px; }
  .mast-act .btn-cta { padding: 7px 12px; font-size: .98rem; }
  .ledger-head { display: none; }
  .ledger-row { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .ledger-row > span:nth-child(2)::before, .ledger-row > span:nth-child(3)::before { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
  .ledger-row > span:nth-child(2)::before { content: 'Abgeglichen wird'; }
  .ledger-row > span:nth-child(3)::before { content: 'Erinnert wird an'; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .band { padding: 72px 0; }
  .logo img { height: 32px; }
  .mast-in { gap: 12px; min-height: 62px; }
  .mast-act .btn-cta { display: none; }
  .lead { font-size: 1.1rem; }
  .scene { flex-direction: column; padding: 72px 0 0; }
  .phone { width: 250px; }
  .board { position: relative; width: 272px; align-self: flex-end; margin-top: -78px; }
  .route, .facts.grid, .f-row, .foot-in { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .hero-cta .btn-cta, .hero-cta .btn-line { width: 100%; justify-content: center; }
}
@media (max-width: 380px) {
  .hero h1 { hyphens: auto; -webkit-hyphens: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq summary::after { transition: none; }
}
@media print {
  .mast, .hero-cta, .scene, .form-card, .nav-btn { display: none !important; }
  .band.dark, .hero, .legal-head, .foot { background: #fff !important; color: #000 !important; }
}
