/* Produktwebsite FleetOps: statisch, ohne JavaScript, ohne externe Schriften oder Dienste.
   Bewusst nur dunkel, wie die Oberfläche der App. */
:root {
  --bg: #0f141b;
  --surface: #171e27;
  --surface-2: #1d2631;
  --text: #e6ebf1;
  --muted: #9aa6b4;
  --border: #2c3744;
  --primary: #5b9bff;
  --primary-hover: #7cb0ff;
  --primary-contrast: #0b1220;
  --navy: #0b1626;
  --navy-text: #d7deea;
  --brand-a: #4c8efe;
  --brand-b: #1fb49b;
  --success: #56d364;
  --success-bg: #12301c;
  --info-bg: #142338;
  --focus: #ffbf47;
  --map-bg: #1b2430;
  --map-road: #2a3644;
  --map-park: #1d3326;
  --map-water: #1a2c42;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img, svg { max-width: 100%; }
a { color: var(--primary); text-underline-offset: 2px; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* Kopf */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.brand img { border-radius: 8px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .97rem; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a[aria-current="page"] { color: var(--primary); font-weight: 600; }
.nav .btn { margin-left: 8px; }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent; line-height: 1.2; }
.btn-primary { background: var(--primary); color: var(--primary-contrast); }
.btn-primary:hover { background: var(--primary-hover); color: var(--primary-contrast); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--surface-2); color: var(--text); }
.nav .btn { padding: 8px 14px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--primary-contrast); }
.nav a.btn-primary:hover { background: var(--primary-hover); }

/* Abschnitte */
section { padding: 72px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46em; }
.section-head { max-width: 760px; margin-bottom: 36px; }

/* Startbereich */
.hero { padding: 64px 0 56px; background:
  radial-gradient(900px 400px at 85% -10%, color-mix(in srgb, var(--brand-b) 14%, transparent), transparent 70%),
  radial-gradient(700px 380px at 0% 0%, color-mix(in srgb, var(--brand-a) 12%, transparent), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero p.lead { margin-bottom: 28px; }
.page-hero .wrap { display: block; }
.page-hero { padding-bottom: 32px; }
section.after-hero { padding-top: 24px; }
.more { margin-top: 24px; }
th.col-rule { width: 28%; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .93rem; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-b); }

/* Darstellung der Oberfläche */
.hero-visual { position: relative; padding: 0 96px 40px 0; }
.mock-window { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mock-bar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-url { margin-left: 10px; font-size: .75rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 2px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-body { display: grid; grid-template-columns: 52% 48%; min-height: 300px; }
.mock-list { padding: 12px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; font-size: .78rem; }
.mock-h { font-weight: 700; font-size: .8rem; color: var(--muted); }
.mock-trip { border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; display: grid; grid-template-columns: auto auto 1fr; gap: 2px 8px; align-items: center; white-space: nowrap; }
.mock-trip .chip { justify-self: end; }
.mock-trip small { white-space: normal; }
.mock-trip small { grid-column: 1 / -1; color: var(--muted); font-size: .72rem; }
.mock-trip.active { border-color: var(--primary); box-shadow: inset 3px 0 0 var(--primary); }
.chip { font-size: .66rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.chip.go { background: var(--success-bg); color: var(--success); }
.chip.plan { background: var(--info-bg); color: var(--primary); }
.mock-map { background: var(--map-bg); position: relative; }
.mock-map svg { display: block; width: 100%; height: 100%; position: absolute; inset: 0; }
.m-park { fill: var(--map-park); }
.m-water { fill: var(--map-water); }
.m-road { fill: none; stroke: var(--map-road); stroke-width: 11; stroke-linecap: round; }
.m-road-s { fill: none; stroke: var(--map-road); stroke-width: 5; stroke-linecap: round; }
.m-route { fill: none; stroke: var(--primary); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.m-stop { fill: var(--surface); stroke: var(--primary); stroke-width: 3; }
.m-car { fill: var(--brand-b); stroke: #fff; stroke-width: 3; }
.m-car-2 { fill: var(--brand-a); stroke: #fff; stroke-width: 3; }
.mock-phone { position: absolute; right: 0; bottom: 0; width: 196px; background: var(--navy); border: 1px solid var(--border); border-radius: 26px; padding: 9px; box-shadow: var(--shadow); }
.mock-phone-screen { background: var(--surface); border-radius: 18px; padding: 14px 12px; font-size: .74rem; display: flex; flex-direction: column; gap: 6px; }
.mp-status { display: flex; align-items: center; gap: 6px; background: var(--success-bg); color: var(--success); font-weight: 700; border-radius: 8px; padding: 5px 8px; font-size: .68rem; }
.mp-status .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mp-label { color: var(--muted); font-size: .68rem; margin-top: 4px; }
.mp-title { font-weight: 700; font-size: .95rem; }
.mp-addr { color: var(--muted); }
.mp-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.mp-tags span { background: var(--surface-2); border-radius: 6px; padding: 2px 6px; font-size: .66rem; }
.mp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 4px; }
.mp-actions span { border: 1px solid var(--border); border-radius: 8px; text-align: center; padding: 6px 4px; font-weight: 600; }
.mp-done { background: var(--primary); color: var(--primary-contrast); border-radius: 8px; text-align: center; padding: 8px; font-weight: 700; }

/* Karten und Raster */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.section-alt .card { background: var(--bg); }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; background: linear-gradient(135deg, var(--brand-a), var(--brand-b)); }
.card .icon svg { width: 24px; height: 24px; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

/* Listen mit Haken */
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--success-bg); }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(.35em + 4px); width: 5px; height: 9px; border: solid var(--success); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Ablauf */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; position: relative; }
.section-alt .steps li { background: var(--bg); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps h3 { font-size: 1.02rem; }
.steps p { font-size: .93rem; color: var(--muted); margin: 0; }

/* Zweispaltige Erklärblöcke */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.feature-block { padding: 40px 0; border-top: 1px solid var(--border); }
.feature-block:first-of-type { border-top: 0; padding-top: 0; }
.feature-block .split > div > h2 { font-size: 1.6rem; }

/* Tabellen */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface-2); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* Fragen */
.faq { max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
.section-alt .faq details { background: var(--bg); }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* Aufruf */
.cta { background: linear-gradient(135deg, var(--navy), #1d3a63); color: #fff; border-radius: 20px; padding: 48px; display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: var(--navy-text); margin: 0; max-width: 40em; }
.cta .btn-primary { background: #fff; color: var(--navy); }
.cta .btn-primary:hover { background: #e7eefb; color: var(--navy); }

/* Screenshots aus dem Betrieb */
.shot { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.shot-bar small { margin-left: 8px; font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption, .phone figcaption { padding: 10px 14px; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--border); }
.phone { margin: 0 auto; width: min(300px, 100%); background: var(--navy); border-radius: 34px; padding: 10px; box-shadow: var(--shadow); }
.phone img { display: block; width: 100%; height: auto; border-radius: 25px; }
.phone figcaption { border: 0; color: var(--navy-text); text-align: center; padding: 10px 6px 4px; }
.showcase { display: grid; gap: 64px; }
.showcase-row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.showcase-row.flip { grid-template-columns: 1fr 1.35fr; }
.showcase-row.flip > :first-child { order: 2; }
.showcase-row.narrow { grid-template-columns: 1fr 1fr; }
.showcase-row h3 { font-size: 1.45rem; }
.feature-block .shot, .feature-block .phone { margin-top: 28px; }
.feature-block .phone { margin-left: 0; }
.ds-shot { margin-top: 32px; }

/* Kontaktformular */
.split.contact { grid-template-columns: 1fr 1.25fr; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .95rem; min-width: 0; }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field-row label { flex: 1 1 220px; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: 10px; padding: 11px 14px; width: 100%;
}
.form textarea { resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--primary); }
.form .btn { border: 0; cursor: pointer; font-size: 1rem; }
.form p { margin: 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Hinweis */
.note { background: var(--info-bg); border-radius: 12px; padding: 16px 20px; font-size: .95rem; }

/* Rechtstexte */
.legal { max-width: 780px; padding: 56px 20px 72px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal address { font-style: normal; margin-bottom: 1em; }

/* Fuß */
.site-footer { background: var(--navy); color: var(--navy-text); padding: 40px 0; font-size: .93rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: #fff; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .hero .wrap, .split, .split.contact, .showcase-row, .showcase-row.flip, .showcase-row.narrow { grid-template-columns: 1fr; }
  .showcase-row.flip > :first-child { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero-visual { max-width: 620px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 52px 0; }
  .site-header .wrap { gap: 4px 12px; padding-top: 8px; padding-bottom: 8px; }
  .nav { margin-left: 0; width: 100%; flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; }
  .nav a { white-space: nowrap; padding: 6px 10px; }
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .split { gap: 8px; }
  .feature-block { padding: 28px 0; }
  .hero-visual { padding: 0; }
  .mock-window { display: none; }
  .mock-phone { position: static; width: 250px; margin: 0 auto; }
  .mock-phone-screen { font-size: .85rem; }
  .cta { padding: 32px 24px; }
  .legal { padding: 40px 16px 56px; }
}
/* Bewegung: alles ist auch ohne Animation vollständig sichtbar */
@keyframes rise { from { opacity: .35; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }
@keyframes tap { 0%, 78%, 100% { transform: none; filter: none; } 84% { transform: scale(.96); filter: brightness(1.12); } }
.car-static { display: none; }
.hero .wrap > * { animation: rise .7s ease-out both; }
.hero .wrap > *:nth-child(2) { animation-delay: .12s; }
.m-route { stroke-dasharray: 420; animation: draw 1.6s ease-out .3s both; }
.mp-status .dot, .chip.go::before { animation: pulse 1.8s ease-out infinite; }
.chip.go::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 5px; vertical-align: 1px; }
.mp-done { animation: tap 6s ease-in-out 2s infinite; }
.card, .shot { transition: transform .2s ease, box-shadow .2s ease; }
.card:not(.form):hover, .shot:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
/* Beim Scrollen blendet jeder Block einzeln ein; Nachbarn in einer Reihe leicht versetzt.
   Fertig, sobald der Block ganz im Bild ist, so bleibt auch am Seitenende nichts halb durchsichtig. */
@keyframes fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .reveal, .grid > *, .steps > li, .checks > li, .faq details, .feature-block .split > *, .showcase-row > *,
  .table-wrap, .cta, .note, .shot, .phone, .legal > h2, .legal > p, .form > *, .site-footer .wrap {
    animation: fade-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 85%;
  }
  .grid > :nth-child(3n + 2), .steps > li:nth-child(even), .checks > li:nth-child(even), .showcase-row > :nth-child(2), .feature-block .split > :nth-child(2) { animation-range: entry 8% entry 95%; }
  .grid > :nth-child(3n + 3), .steps > li:nth-child(3n + 3) { animation-range: entry 16% entry 100%; }
  /* Verschachtelte Blöcke nicht doppelt bewegen */
  .reveal .reveal, .feature-block .checks > li, .showcase-row .shot, .showcase-row .phone { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .car-anim { display: none; }
  .car-static { display: inline; }
}
