/* TransferFleet Startseite (2026-10): dunkles Marineblau, Sora + Nunito Sans.
   Gilt nur für index.html; die Unterseiten nutzen weiter site-shell.css / landing.css. */

:root {
  --bg: oklch(0.17 0.035 258);
  --bg-2: oklch(0.205 0.04 258);
  --surface: oklch(0.235 0.042 258);
  --surface-2: oklch(0.27 0.045 258);
  --line: oklch(0.36 0.04 258 / 0.55);
  --line-strong: oklch(0.45 0.05 258 / 0.7);
  --text: oklch(0.965 0.008 258);
  --muted: oklch(0.76 0.025 258);
  --dim: oklch(0.6 0.03 258);
  --accent: oklch(0.64 0.17 256);
  --accent-ink: oklch(0.985 0.005 258);
  --accent-soft: oklch(0.64 0.17 256 / 0.14);
  --cyan: oklch(0.76 0.12 215);
  --ok: oklch(0.74 0.15 155);
  --warn: oklch(0.78 0.14 70);
  --radius: 22px;
  --font-display: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Nunito Sans', ui-sans-serif, system-ui, sans-serif;
  /* Variablen, die der übernommene Testphasen-Dialog erwartet */
  --text-muted: var(--muted);
  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-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; margin: 0; line-height: 1.12; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 62ch; margin-inline: auto; }
.section { padding-block: clamp(80px, 12vw, 150px); }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .lead { margin-top: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: oklch(0.69 0.17 256); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.trial-line { color: var(--muted); font-size: 0.98rem; margin-top: 22px; }
.trial-line strong { color: var(--text); font-weight: 700; }

/* ─── Navigation ─── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: oklch(0.17 0.035 258 / 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.95rem; font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
.nav-login { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav-login:hover { color: var(--text); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: transparent; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }
@media (max-width: 960px) {
  .nav-links, .nav-login { display: none; }
  .burger { display: inline-flex; }
  .mobile-menu {
    position: fixed; inset: 72px 0 auto; z-index: 49; display: grid; gap: 4px;
    padding: 12px 16px 24px; background: var(--bg-2); border-bottom: 1px solid var(--line);
    transform: translateY(-110%); transition: transform .3s ease; visibility: hidden;
  }
  .mobile-menu.open { transform: none; visibility: visible; }
  .mobile-menu a { padding: 14px 8px; text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--line); }
}
@media (max-width: 420px) { .nav-actions .btn { padding: 0 14px; } }

/* ─── Hero ─── */
.hero { position: relative; padding: clamp(112px, 14vh, 150px) 0 0; overflow: hidden; }
.hero-routes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .55; }
.hero-routes path { fill: none; stroke: var(--accent); stroke-width: 1.2; stroke-linecap: round; opacity: .55; }
.hero-routes path:nth-child(even) { stroke: var(--cyan); opacity: .35; }
.hero-routes circle { fill: var(--cyan); }
.hero-inner { position: relative; text-align: center; }
.hero h1 { display: grid; gap: 22px; justify-items: center; }
.hero-name {
  display: block; font-size: clamp(3.1rem, 11vw, 8.2rem); font-weight: 700; letter-spacing: -0.045em; line-height: .95;
}
.hero-name .ch { display: inline-block; }
.hero-sub {
  display: block; font-family: var(--font-body); font-weight: 600; letter-spacing: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: var(--muted); line-height: 1.35; max-width: 34ch;
}
.hero-sub em { font-style: normal; color: var(--text); }
.hero-lead { margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--dim); font-size: 0.92rem; font-weight: 600; }
.hero-actions { margin-top: 30px; }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 64px); }
.hero-stage { position: relative; perspective: 1600px; }
.hero-visual { position: relative; width: 100%; max-width: 1120px; margin-inline: auto; transform-origin: 50% 0; }
.hv-browser { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong); background: oklch(0.13 0.03 258); box-shadow: 0 50px 100px -40px oklch(0.05 0.03 258 / 0.9); }
.hv-browser img { width: 100%; height: auto; }
.hv-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.hv-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.hv-bar span { margin-left: 12px; font-size: .78rem; color: var(--dim); font-weight: 600; }
.hv-phone { position: absolute; right: -1.5%; bottom: -9%; width: 19%; padding: 7px; border-radius: 30px; background: oklch(0.12 0.03 258); border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -20px oklch(0.05 0.03 258 / 0.9); }
.hv-phone img { width: 100%; height: auto; border-radius: 23px; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; margin-top: clamp(64px, 8vw, 96px); padding-block: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* Desktop: Text links, Produkt rechts, beides im ersten Bildschirm (wie bei Software-Anbietern üblich) */
@media (min-width: 1024px) {
  .hero { padding-top: 132px; }
  .hero-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
  .hero-inner { text-align: left; }
  .hero h1 { justify-items: start; gap: 16px; }
  .hero-inner .lead { margin-inline: 0; }
  .hero-inner .hero-actions { justify-content: flex-start; }
  .hero-stage { perspective: 1800px; }
  .hero-visual { transform-origin: 0% 50%; }
  .hv-phone { right: -2%; bottom: -12%; width: 22%; }
  .hero-proof { margin-top: 88px; justify-content: space-between; }
}
.maker { display: inline-flex; align-items: center; gap: 14px; color: var(--dim); font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; opacity: .9; transition: opacity .2s; }
.maker:hover { opacity: 1; }
.maker img { height: 40px; width: auto; }
@media (max-width: 700px) {
  .hv-bar { height: 26px; padding: 0 10px; gap: 5px; }
  .hv-bar i { width: 7px; height: 7px; }
  .hv-bar span { font-size: .66rem; margin-left: 6px; }
  .hv-browser { border-radius: 12px; }
  .hv-phone { width: 30%; right: 2%; bottom: -16%; padding: 4px; border-radius: 18px; }
  .hv-phone img { border-radius: 14px; }
  .hero-actions .btn { width: min(320px, 100%); }
}
.hero-trust span::before { content: '✓\FE0E'; color: var(--ok); margin-right: 7px; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; display: grid; justify-items: center; gap: 8px; color: var(--dim); font-size: 0.8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.scroll-hint i { width: 1px; height: 38px; background: linear-gradient(var(--dim), transparent); animation: hint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-height: 700px), (max-width: 700px) { .scroll-hint { display: none; } }

/* ─── Ablauf (gepinnte Scroll-Szene) ─── */
.flow { position: relative; background: var(--bg); }
.flow { padding-top: clamp(40px, 6vw, 80px); }
.flow-head { margin-bottom: 28px; }
.flow-pin { padding-block: 96px clamp(40px, 6vw, 80px); }
/* Während der Szene: Überschrift kompakter, damit alles in einen Bildschirm passt */
.flow.is-scene .flow-head .h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.flow.is-scene .flow-head .kicker { margin-bottom: 10px; }
.flow-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 760px; margin: 0 auto 32px; list-style: none; padding: 0; }
.flow-progress li { display: grid; gap: 10px; font-size: .82rem; font-weight: 700; color: var(--dim); text-align: center; transition: color .3s; }
.flow-progress li i { display: block; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.flow-progress li i b { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.flow-progress li.is-active, .flow-progress li.is-done { color: var(--text); }
.flow-steps { display: grid; gap: 28px; }
.flow-step { display: grid; gap: 28px; align-items: center; }
.flow-text { text-align: center; max-width: 560px; margin-inline: auto; }
.flow-text .num { font-family: var(--font-display); color: var(--cyan); font-weight: 700; font-size: .9rem; letter-spacing: .12em; }
.flow-text h3 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin: 10px 0 12px; }
.flow-text p { color: var(--muted); }
.flow-visual { position: relative; width: min(560px, 100%); margin-inline: auto; aspect-ratio: 5 / 4; }

/* JS-Modus: Schritte liegen übereinander, Scroll blendet sie durch */
.flow.is-scene .flow-steps { display: block; position: relative; height: min(calc(100svh - 330px), 560px); }
.flow.is-scene .flow-step { position: absolute; inset: 0; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.flow.is-scene .flow-text { text-align: left; margin: 0; }
@media (max-width: 860px) {
  .flow.is-scene .flow-steps { height: calc(100svh - 290px); }
  .flow.is-scene .flow-head { margin-bottom: 16px; }
  .flow.is-scene .flow-head .kicker { display: none; }
  .flow.is-scene .flow-head .h2 { font-size: 1.45rem; }
  .flow.is-scene .flow-step { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 22px; align-content: start; align-items: start; }
  .flow.is-scene .flow-text { text-align: center; }
  .flow.is-scene .flow-text h3 { font-size: 1.45rem; margin: 6px 0 6px; }
  .flow.is-scene .flow-text p { font-size: .95rem; line-height: 1.5; }
  .flow.is-scene .flow-visual { width: min(420px, 100%); aspect-ratio: auto; height: 100%; max-height: 360px; }
  .flow-pin { padding-top: 84px; padding-bottom: 20px; }
  .flow-progress { margin-bottom: 18px; }
  .flow-progress li { font-size: .72rem; }
}

/* Gemeinsame UI-Karte in den Szenen */
.ui {
  position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px; box-shadow: 0 30px 60px -30px oklch(0.08 0.03 258 / 0.9);
}
.ui-label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.ui-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.ui-row:last-child { border-bottom: 0; }
.ui-row span { color: var(--dim); }
.ui-row b { font-weight: 700; text-align: right; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 800; background: var(--accent-soft); color: oklch(0.82 0.1 256); }
.pill.ok { background: oklch(0.74 0.15 155 / .15); color: var(--ok); }

/* Schritt 1: E-Mail wird Auftrag */
.v-mail { left: 0; top: 4%; width: 62%; font-size: .88rem; }
.v-mail p { color: var(--muted); line-height: 1.55; }
.v-mail .from { font-weight: 800; color: var(--text); }
.v-mail mark { background: var(--accent-soft); color: var(--text); border-radius: 4px; padding: 0 3px; }
.v-order { right: 0; bottom: 0; width: 62%; }
.v-arrow { position: absolute; left: 48%; top: 46%; width: 60px; color: var(--cyan); }

/* Schritt 2: Fahrer bekommt Push */
.v-map { inset: 0 18% 0 0; padding: 0; overflow: hidden; background: var(--bg-2); }
.v-map svg { width: 100%; height: 100%; }
.v-map .grid { stroke: var(--line); stroke-width: 1; }
.v-map .route { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; }
.v-map .city { fill: var(--text); font: 700 13px var(--font-body); }
.v-map .dot { fill: var(--cyan); }
.v-phone { right: 0; top: 8%; width: 44%; aspect-ratio: 9 / 18.5; padding: 10px; border-radius: 30px; background: oklch(0.13 0.03 258); }
.v-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 22px; }
.v-push { position: absolute; left: 6%; right: 6%; top: 9%; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: oklch(0.97 0.006 258 / .96); color: oklch(0.2 0.03 258); font-size: .72rem; line-height: 1.35; box-shadow: 0 10px 30px -10px oklch(0 0 0 / .6); }
.v-push img { width: 34px; height: 34px; border-radius: 9px; object-fit: contain; background: oklch(0.17 0.035 258); padding: 4px; }
.v-push b { display: block; font-size: .78rem; }

/* Schritt 3: Protokoll */
.v-car { left: 0; top: 0; width: 58%; height: 100%; display: grid; grid-template-rows: auto 1fr; }
.v-car svg { width: 100%; height: 100%; }
.v-car .body { fill: none; stroke: var(--muted); stroke-width: 2; }
.v-car .damage { fill: oklch(0.7 0.19 30); }
.v-car .damage-ring { fill: none; stroke: oklch(0.7 0.19 30); stroke-width: 2; }
.v-shots { right: 0; top: 0; width: 38%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.v-shots .ui-label { grid-column: 1 / -1; margin-bottom: 2px; }
.v-shots i { aspect-ratio: 1; border-radius: 10px; background: var(--surface-2); border: 1px dashed var(--line-strong); display: grid; place-items: center; }
.v-shots i { position: relative; overflow: hidden; }
.v-shots s { position: absolute; inset: 0; display: grid; place-items: center; text-decoration: none; font-weight: 800; color: var(--ok); background: linear-gradient(140deg, oklch(0.42 0.05 250), oklch(0.3 0.04 258)); }
.v-sign { right: 0; bottom: 0; width: 38%; }
.v-sign svg { width: 100%; height: 60px; }
.v-sign path { fill: none; stroke: var(--text); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Schritt 4: Rechnung */
.v-invoice { left: 50%; top: 50%; width: min(400px, 92%); translate: -50% -50%; }
.v-invoice .total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-strong); }
.v-invoice .total span { color: var(--muted); font-weight: 700; }
.v-invoice .total b { font-family: var(--font-display); font-size: 1.9rem; }
.v-invoice .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.v-invoice .head strong { font-family: var(--font-display); font-size: 1.1rem; }

@media (max-width: 860px) {
  .ui { padding: 14px; border-radius: 14px; }
  .ui-row { font-size: .82rem; padding: 7px 0; }
  .v-mail { width: 74%; font-size: .78rem; }
  .v-order { width: 70%; }
  .v-arrow { display: none; }
  .v-invoice .total b { font-size: 1.5rem; }
}

/* ─── Video ─── */
.film { padding-bottom: clamp(80px, 10vw, 130px); }
.film-frame {
  position: relative; width: min(1180px, 100% - 32px); margin: 0 auto; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden; background: oklch(0.12 0.03 258); border: 1px solid var(--line);
}
.film-frame video { width: 100%; height: 100%; object-fit: cover; }
.film-sound {
  position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid oklch(1 0 0 / .2);
  background: oklch(0.15 0.03 258 / .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--text); font: 700 .9rem var(--font-body); cursor: pointer;
}
.film-sound svg { width: 18px; height: 18px; }
.film-caption { color: var(--dim); font-size: .92rem; margin-top: 16px; }

/* ─── Bento: Alles in einem System ─── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 34px);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; transition: border-color .3s ease, transform .3s ease;
}
a.tile:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.tile h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.tile p { color: var(--muted); }
.tile .more { margin-top: auto; padding-top: 10px; font-weight: 800; color: var(--cyan); font-size: .95rem; }
.tile .more a { color: inherit; text-decoration: none; }
.tile .more a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tile .tag { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.t-dispo { grid-column: span 4; }
.t-app { grid-column: span 2; grid-row: span 2; }
.t-ki { grid-column: span 2; }
.t-bill { grid-column: span 2; }
.t-dispo .shot { margin-top: 10px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.t-dispo .shot img { width: 100%; height: auto; }
.phones { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 14px 4%; margin-top: 14px; }
.phones img { width: 100%; height: auto; border-radius: 22px; border: 6px solid oklch(0.12 0.03 258); box-shadow: 0 24px 50px -24px oklch(0 0 0 / .8); }
/* linke Spalte versetzt, wirkt wie gestaffelt statt Raster */
.phones img:nth-child(odd) { margin-top: 28px; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.badges img { height: 40px; width: auto; }
.mini-list { display: grid; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.mini-list li::before { content: '✓\FE0E'; color: var(--ok); margin-right: 8px; font-weight: 800; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .t-dispo { grid-column: 1 / -1; }
  .t-app { grid-column: 1 / -1; grid-row: auto; }
  .t-ki, .t-bill { grid-column: span 1; }
  .phones { max-width: 640px; margin-inline: auto; width: 100%; grid-template-columns: repeat(4, 1fr); gap: 3%; padding: 24px 0 48px; }
}
@media (max-width: 600px) {
  .phones { max-width: 420px; grid-template-columns: 1fr 1fr; gap: 14px 4%; padding: 0 0 48px; }
}
@media (max-width: 600px) {
  .t-ki, .t-bill { grid-column: 1 / -1; }
}

/* ─── Halle / Praxis ─── */
.yard { position: relative; overflow: hidden; }
.yard-photo { position: relative; height: clamp(360px, 62vw, 640px); overflow: hidden; }
.yard-photo img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; }
.yard-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, oklch(0.17 0.035 258 / 0.25) 30%, oklch(0.17 0.035 258 / 0.25) 70%, var(--bg) 100%); }
.yard-body { position: relative; margin-top: clamp(-120px, -10vw, -60px); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 26px 22px; text-align: left; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact b { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 6px; }
.fact span { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
}

/* ─── Für Fahrer ─── */
.drivers { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.drivers h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.drivers p { color: var(--muted); }
.drivers-links { display: grid; gap: 10px; }
.drivers-links a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); text-decoration: none; font-weight: 700; transition: border-color .2s; }
.drivers-links a:hover { border-color: var(--line-strong); }
.drivers-links a span { color: var(--cyan); }
@media (max-width: 800px) { .drivers { grid-template-columns: 1fr; } }

/* ─── Preise (kompakt) ─── */
.prices { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.price { padding: 28px 22px; display: grid; gap: 4px; align-content: start; text-align: left; }
.price + .price { border-left: 1px solid var(--line); }
.price.pop { background: var(--surface); position: relative; }
.price.pop::before { content: 'Beliebt'; position: absolute; top: 14px; right: 14px; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 3px 9px; border-radius: 999px; }
.price h3 { font-size: 1.1rem; }
.price .amt { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin-top: 10px; }
.price .amt small { font-family: var(--font-body); font-size: .9rem; color: var(--dim); font-weight: 600; }
.price .vol { color: var(--muted); font-size: .92rem; }
.price-note { margin-top: 24px; color: var(--muted); }
.price-note a { color: var(--cyan); font-weight: 700; }
@media (max-width: 960px) {
  .prices { grid-template-columns: 1fr 1fr; }
  .price + .price { border-left: 0; }
  .price { border-top: 1px solid var(--line); }
  .price:nth-child(1), .price:nth-child(2) { border-top: 0; }
  .price:nth-child(even) { border-left: 1px solid var(--line); }
  .price:last-child { grid-column: 1 / -1; border-left: 0; }
}
@media (max-width: 420px) {
  .price { padding: 22px 16px; }
  .price .amt { font-size: 1.6rem; }
  .price.pop::before { top: 10px; right: 10px; }
}

/* ─── FAQ ─── */
.faq { display: grid; gap: 10px; text-align: left; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--cyan); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

/* ─── Abschluss + Links ─── */
.final { border-top: 1px solid var(--line); }
.final .h2 { max-width: 18ch; margin-inline: auto; }
.topics { border-top: 1px solid var(--line); padding-block: 56px; }
.topics h2 { font-size: 1.05rem; margin-bottom: 18px; color: var(--muted); font-family: var(--font-body); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.topics ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.topics a { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--muted); font-size: .92rem; font-weight: 600; transition: color .2s, border-color .2s; }
.topics a:hover { color: var(--text); border-color: var(--line-strong); }

.footer { border-top: 1px solid var(--line); padding: 64px 0 120px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: .95rem; max-width: 32ch; }
.footer h4 { font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.footer-col { display: grid; gap: 9px; align-content: start; }
.footer-col a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: .88rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 961px) { .footer { padding-bottom: 64px; } }

/* Mobile-Leiste unten */
.mobile-bar { display: none; }
@media (max-width: 960px) {
  .mobile-bar {
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40;
    display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 8px; border-radius: 999px;
    background: oklch(0.2 0.04 258 / .9); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transform: translateY(140%); transition: transform .35s ease;
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
  .mobile-bar .mb-call { padding: 0 18px; border: 1px solid var(--line-strong); }
  .mobile-bar .mb-trial { background: var(--accent); color: var(--accent-ink); }
}

/* Einblenden (nur wenn JS aktiv) */
.js .reveal { opacity: 0; transform: translateY(26px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .scroll-hint i { animation: none; }
  .btn, a.tile { transition: none; }
}

/* ─── Hero-Titel: Marke als kleines Label, Aussage groß ─── */
.hero-brand {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--bg-2);
  font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text);
}
.hero-brand img { width: 26px; height: 26px; border-radius: 7px; background: oklch(0.13 0.03 258); padding: 3px; }
.hero-title { display: block; font-size: clamp(1.9rem, 7.4vw, 3.4rem); hyphens: manual; font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; max-width: 16ch; }
.hero-title em { font-style: normal; color: var(--cyan); }
@media (min-width: 1024px) { .hero-title { font-size: clamp(2.3rem, 3.3vw, 2.95rem); max-width: none; } }
.hero-title .w { display: inline-block; }

/* ─── Mini-Animationen in den Funktions-Kacheln ─── */
.mini { margin-top: 8px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; display: grid; gap: 10px; }
.mk-mail { position: relative; overflow: hidden; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); color: var(--muted); line-height: 1.55; }
.mk-mail b { font-weight: 700; color: var(--text); border-radius: 4px; padding: 0 3px; box-shadow: inset 0 0 0 999px var(--hl, transparent); }
.mk-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--cyan); opacity: 0; }
.mk-fields { display: grid; gap: 6px; }
.mk-fields div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 8px; background: var(--bg-2); }
.mk-fields span { color: var(--dim); }
.mk-fields b { font-weight: 700; }
.mb-head { display: flex; justify-content: space-between; align-items: center; }
.mb-head b { font-family: var(--font-display); }
.mb-stamp { font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: oklch(0.74 0.15 155 / .15); color: var(--ok); }
.mb-line, .mb-total { display: flex; justify-content: space-between; gap: 10px; }
.mb-line span { color: var(--dim); }
.mb-total { padding-top: 8px; border-top: 1px solid var(--line-strong); }
.mb-total span { color: var(--muted); font-weight: 700; }
.mb-total b { font-family: var(--font-display); font-size: 1.15rem; }
.mb-btn { justify-self: start; padding: 7px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .8rem; }

/* ─── Ablauf-Szene: keine Überschneidungen ─── */
/* Schritt 1: E-Mail, Pfeil und Auftrag untereinander statt übereinander */
.flow-visual.v-stack { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.v-stack .ui { position: relative; inset: auto; width: 82%; }
.v-stack .v-mail { align-self: flex-start; }
.v-stack .v-order { align-self: flex-end; }
.v-stack .v-arrow { position: static; display: block; width: 26px; height: 26px; align-self: center; }
/* Desktop: Visual füllt genau die Szenenhöhe; Handy richtet sich nach der Höhe, Karte endet davor */
@media (min-width: 861px) {
  .flow.is-scene .flow-step { align-items: stretch; }
  .flow.is-scene .flow-text { align-self: center; }
  .flow.is-scene .flow-visual { height: 100%; aspect-ratio: auto; container-type: size; }
  .flow.is-scene .v-phone { top: 0; height: 100%; width: auto; aspect-ratio: 9 / 18.5; }
  .flow.is-scene .v-map { inset: 6% calc(48.6cqh + 16px) 6% 0; }
  .flow.is-scene .v-car { height: 100%; }
}
@media (max-width: 860px) {
  .v-stack .ui { width: 88%; }
}

/* ─── Schritt 1: E-Mail wie im Mail-Programm ─── */
.mc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.mc-avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: oklch(0.82 0.1 256); font-weight: 800; font-size: .72rem; }
.mc-from { display: grid; line-height: 1.25; min-width: 0; }
.mc-from b { font-size: .86rem; }
.mc-from span { font-size: .74rem; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-time { margin-left: auto; font-size: .74rem; color: var(--dim); }
.mc-subject { font-weight: 800; margin-bottom: 4px; }
.v-mail p { color: var(--muted); }

/* ─── Schritt 3: echte PKW-Skizze, Schadenspunkte, Fotos ─── */
.flow-visual.v-proto { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; gap: 8px; }
.v-proto .ui { position: relative; inset: auto; }
.vp-sketch { display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 120px; padding: 10px 12px; background: oklch(0.975 0.004 258); }
.vp-sketch .ui-label { color: oklch(0.45 0.03 258); margin-bottom: 4px; }
.vp-sketch svg { width: 100%; height: 100%; min-height: 0; }
.mark circle { fill: oklch(0.62 0.2 28); stroke: oklch(0.99 0 0); stroke-width: 12; }
.mark text { fill: oklch(0.99 0 0); font: 800 72px var(--font-body); text-anchor: middle; }
.vp-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.vp-shots figure { position: relative; margin: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.vp-shots img { width: 100%; height: 100%; object-fit: cover; }
.vp-shots b { position: absolute; top: 6px; left: 6px; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: oklch(0.62 0.2 28); color: oklch(0.99 0 0); font-size: .7rem; text-align: center; }
.vp-shots figure:last-child b { background: var(--accent); }
.vp-sign { display: flex; align-items: center; gap: 12px; padding: 8px 12px; }
.vp-sign .ui-label { margin: 0; white-space: nowrap; }
.vp-sign svg { flex: 1; height: 30px; min-width: 0; }
.vp-sign path { fill: none; stroke: var(--text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) {
  .vp-sign .pill { display: none; }
  .v-stack .v-arrow { display: none; }
  .flow-visual.v-stack { gap: 8px; }
  /* Schritt 2: Karte voll, Handy unten rechts, Route bleibt links frei */
  .flow.is-scene .v-map, .v-map { inset: 0; }
  .v-phone { top: auto; bottom: 0; right: 0; width: 34%; }
}
/* Kleine Handys (z. B. 360×740): Szene etwas kompakter, damit nichts unten herausragt */
@media (max-width: 860px) and (max-height: 800px) {
  .flow.is-scene .flow-head .h2 { font-size: 1.25rem; }
  .flow.is-scene .flow-text h3 { font-size: 1.25rem; margin: 2px 0 4px; }
  .flow.is-scene .flow-text p { font-size: .86rem; line-height: 1.4; }
  .flow.is-scene .flow-step { gap: 12px; }
  .ui { padding: 10px; }
  .ui-row { padding: 5px 0; font-size: .78rem; }
  .mc-head { margin-bottom: 4px; }
  .v-mail { font-size: .74rem; }
  .vp-shots { gap: 6px; }
}
/* Sehr kurze Handys (iPhone SE, 667 px hoch): nur Überschrift je Schritt, Grafik bekommt den Platz */
@media (max-width: 860px) and (max-height: 700px) {
  .flow.is-scene .flow-text p { display: none; }
  .vp-sign { display: none; }
}
.vp-sketch image { mix-blend-mode: multiply; }

/* Push-Mitteilung kompakt: deckt nur die Kopfzeile der App ab, nicht den Inhalt */
.v-push { left: 5%; right: 5%; top: 7%; grid-template-columns: 22px 1fr; gap: 7px; padding: 6px 8px; border-radius: 11px; font-size: .64rem; line-height: 1.25; }
.v-push img { width: 22px; height: 22px; border-radius: 6px; padding: 2px; }
.v-push b { font-size: .7rem; }
@media (max-width: 860px) { .v-push { font-size: .56rem; padding: 5px 6px; gap: 5px; grid-template-columns: 18px 1fr; } .v-push img { width: 18px; height: 18px; } .v-push b { font-size: .6rem; } }

/* ─── Schritt 2: echte Karte (Mapbox, wie im Dashboard) ─── */
.v-map { padding: 0; overflow: hidden; background: oklch(0.2 0.005 258); }
.v-map svg { width: 100%; height: 100%; display: block; }
.v-map .route-shadow { fill: none; stroke: oklch(0.12 0.03 258 / .7); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.v-map .route { fill: none; stroke: oklch(0.68 0.17 256); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.v-map .car { fill: oklch(0.97 0.006 258); stroke: oklch(0.64 0.17 256); stroke-width: 3.5; }
.city-pill rect { fill: oklch(0.17 0.035 258 / .94); stroke: oklch(0.68 0.17 256); stroke-width: 1.5; }
.city-pill text { fill: var(--text); font: 800 12px var(--font-body); text-anchor: middle; }
.map-attr { position: absolute; left: 8px; bottom: 6px; font-size: .58rem; color: oklch(0.75 0.01 258 / .75); pointer-events: none; }
@media (max-width: 860px) {
  .flow.is-scene .v-map, .v-map { inset: 0 calc(34% + 10px) 0 0; }
}

/* Hero-Leiste nur noch mit „Entwickelt von AVO Solutions“ */
.hero-proof { justify-content: center; }
@media (min-width: 1024px) { .hero-proof { justify-content: flex-start; } }

/* Hinweis „Scrollen“ in der Ablauf-Szene (wie auf avosolutions.de) */
.flow-hint { display: none; }
.flow.is-scene .flow-pin { position: relative; }
.flow.is-scene .flow-hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); pointer-events: none;
}
.flow.is-scene .flow-hint svg { color: var(--cyan); animation: flow-hint-bounce 1.6s ease-in-out infinite; }
@keyframes flow-hint-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.flow.is-scene .flow-pin { min-height: 100vh; min-height: 100svh; }
@media (max-width: 960px) {
  .flow.is-scene .flow-hint { bottom: calc(12px + env(safe-area-inset-bottom)); }
  /* Während der Ablauf-Szene macht die untere Leiste dem Hinweis Platz */
  body.in-scene .mobile-bar { transform: translateY(140%); }
}
@media (prefers-reduced-motion: reduce) { .flow.is-scene .flow-hint svg { animation: none; } }
@media (min-width: 861px) { .flow.is-scene .flow-pin { padding-bottom: 48px; } }

/* ─── Aus der Praxis: kleine Animationen je Punkt (laufen, solange sichtbar) ─── */
.fa { display: block; width: 44px; height: 44px; margin-bottom: 14px; fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.fa * { animation-play-state: paused; }
.facts.is-on .fa * { animation-play-state: running; }
/* Offline: Empfang bricht weg, dann Haken = synchronisiert */
.fa-offline .w0 { fill: var(--cyan); stroke: none; }
.fa-offline .w1, .fa-offline .w2, .fa-offline .w3 { animation: fa-signal 4.8s ease-in-out infinite; }
.fa-offline .w2 { animation-delay: .1s; } .fa-offline .w3 { animation-delay: .2s; }
.fa-offline .cut { stroke: oklch(0.7 0.17 30); stroke-dasharray: 40; stroke-dashoffset: 40; animation: fa-cut 4.8s ease-in-out infinite; }
.fa-offline .ok circle { fill: var(--ok); stroke: var(--bg); stroke-width: 2.5; }
.fa-offline .ok path { stroke: var(--bg); stroke-width: 2.4; }
.fa-offline .ok { transform-box: fill-box; transform-origin: center; animation: fa-pop 4.8s ease-in-out infinite; }
@keyframes fa-signal { 0%, 12% { opacity: 1; } 22%, 50% { opacity: .15; } 62%, 100% { opacity: 1; } }
@keyframes fa-cut { 0%, 18% { stroke-dashoffset: 40; opacity: 1; } 28%, 50% { stroke-dashoffset: 0; opacity: 1; } 58%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes fa-pop { 0%, 62% { transform: scale(0); } 70% { transform: scale(1.15); } 76%, 94% { transform: scale(1); } 100% { transform: scale(0); } }
/* Frankfurt: Standort-Pin landet, Ring pulsiert */
.fa-server .pin { transform-box: fill-box; transform-origin: 50% 100%; animation: fa-drop 3.2s cubic-bezier(.3,.7,.4,1) infinite; }
.fa-server .pin circle { fill: var(--cyan); stroke: none; }
.fa-server .ring { transform-box: fill-box; transform-origin: center; animation: fa-ring 3.2s ease-out infinite; }
@keyframes fa-drop { 0% { transform: translateY(-10px); opacity: 0; } 18% { transform: translateY(0); opacity: 1; } 24% { transform: scaleY(.9); } 30%, 100% { transform: none; opacity: 1; } }
@keyframes fa-ring { 0%, 18% { transform: scale(.3); opacity: 0; } 24% { opacity: 1; } 60%, 100% { transform: scale(1.6); opacity: 0; } }
/* Protokoll: Zeilen schreiben sich, Firmenfarbe wechselt */
.fa-proto .l { stroke-dasharray: 16; stroke-dashoffset: 16; animation: fa-write 4s ease-in-out infinite; }
.fa-proto .l2 { animation-delay: .35s; } .fa-proto .l3 { animation-delay: .7s; }
.fa-proto .logo { stroke: none; fill: var(--accent); animation: fa-brand 4s steps(1) infinite; }
@keyframes fa-write { 0%, 8% { stroke-dashoffset: 16; } 30%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 16; } }
@keyframes fa-brand { 0% { fill: var(--accent); } 33% { fill: var(--ok); } 66% { fill: var(--warn); } }
/* Support: Antwort wird getippt */
.fa-support .d { fill: var(--cyan); stroke: none; animation: fa-type 1.4s ease-in-out infinite; }
.fa-support .d2 { animation-delay: .18s; } .fa-support .d3 { animation-delay: .36s; }
@keyframes fa-type { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.fa-support .d { transform-box: fill-box; }
@media (prefers-reduced-motion: reduce) { .fa * { animation: none !important; } .fa-offline .ok { transform: none; } .fa-offline .cut { opacity: 0; } .fa-proto .l { stroke-dashoffset: 0; } }

