/* eyofleet.de – gemeinsamer Stil aller Seiten. Tokens wie die Zentrale (docs/design.md).
   Keine Webfonts, keine fremden Server, kein JavaScript. Hell/Dunkel folgt dem Gerät. */
:root {
  color-scheme: light dark;
  --seite: #EEF0ED;
  --flaeche: #FFFFFF;
  --schrift: #12161B;
  --schrift-2: #515A66;
  --linie: #E6E9EC;
  --spur: #EDF0F2;
  --akzent: #0E7A4B;
  --akzent-flaeche: #0E7A4B;
  --akzent-auf: #FFFFFF;
  --akzent-zart: #EEF6F2;
  --warnung: #A84D08;
  --warnung-zart: #FFFBEB;
  --schatten: 0 1px 2px rgba(18,22,27,.06), 0 8px 24px rgba(18,22,27,.05);
}
@media (prefers-color-scheme: dark) {
  :root {
    --seite: #090B0E;
    --flaeche: #161B21;
    --schrift: #EEF1F4;
    --schrift-2: #A7B0BB;
    --linie: #252C34;
    --spur: #222830;
    --akzent: #22C55E; /* Grün der Marke (App-Symbol); 5,9–8,7:1 auf allen dunklen Flächen */
    --akzent-flaeche: #22C55E;
    --akzent-auf: #0A1F15;
    --akzent-zart: #1F3331;
    --warnung: #F5B25C;
    --warnung-zart: #332F29;
    --schatten: 0 0 0 1px rgba(255,255,255,.05);
  }
  /* Signet und App-Symbol heben sich auf dem fast schwarzen Grund mit einer feinen Kante ab */
  .marke .signet, .app-symbol { box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--seite);
  color: var(--schrift);
  font: 15px/22px -apple-system, "SF Pro Text", Inter, "Segoe UI", Roboto, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
a { color: var(--akzent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 30px; line-height: 36px; }
h2 { font-size: 19px; line-height: 24px; font-weight: 650; }
h3 { font-size: 16px; line-height: 22px; font-weight: 650; }
p, ul, ol { margin: 0 0 12px; }
ul, ol { padding-left: 20px; }
li + li { margin-top: 4px; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
.wrap-schmal { max-width: 760px; }

/* Kopf */
.kopf { padding: 20px 0 8px; }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.marke { display: inline-flex; align-items: center; gap: 10px; color: var(--schrift); text-decoration: none; }
.marke .signet { height: 34px; width: auto; display: block; border-radius: 9px; }
.marke span { font-size: 13px; color: var(--schrift-2); }
.kopf nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.kopf nav a { color: var(--schrift-2); text-decoration: none; }
.kopf nav a:hover, .kopf nav a[aria-current="page"] { color: var(--schrift); }

main { padding: 16px 0 48px; }

/* Karten */
.karte {
  background: var(--flaeche);
  border-radius: 20px;
  box-shadow: var(--schatten);
  padding: 24px;
  margin-bottom: 16px;
}
.karte > :last-child { margin-bottom: 0; }
.raster { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 16px; }
.raster > * { min-width: 0; }
.raster .karte { margin-bottom: 0; }
/* Startseite: App-Symbol bei der Karte „eyo driver“, damit der Fahrer die App wiedererkennt */
.karte-kopf { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.karte-kopf > div > :last-child { margin-bottom: 0; }
.karte-kopf .chip { margin-bottom: 8px; }
.app-symbol { width: 72px; height: 72px; flex: none; display: block; border-radius: 16px; }

.einleitung { padding: 32px 0 24px; }
.einleitung h1 { font-size: 40px; line-height: 44px; max-width: 18ch; }
.einleitung p { font-size: 17px; line-height: 26px; color: var(--schrift-2); max-width: 56ch; }
.oberzeile { font-size: 13px; font-weight: 600; color: var(--akzent); margin-bottom: 8px; }
.neben { color: var(--schrift-2); font-size: 13px; line-height: 18px; }
.liste-ruhig { list-style: none; padding: 0; }
.liste-ruhig li { padding: 8px 0; border-top: 1px solid var(--linie); margin: 0; }
.liste-ruhig li:first-child { border-top: 0; padding-top: 0; }

.chip {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600; background: var(--akzent-zart); color: var(--akzent);
}
.knopfzeile { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.knopf {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 14px;
  font-weight: 600; font-size: 15px; text-decoration: none; border: 0;
  background: var(--spur); color: var(--schrift-2); cursor: default;
}
a.knopf { background: var(--akzent-flaeche); color: var(--akzent-auf); cursor: pointer; }
/* Startseite: offizielles Apple-Badge (unverändert, 48 px hoch, Freiraum ≥ 12 px = ¼ der Höhe) neben dem Knopf zur Download-Seite */
.knopfzeile-store { align-items: center; gap: 12px 16px; }
.knopfzeile-store .store-badge img { height: 48px; }

/* Rechtstexte */
.recht h2 { margin-top: 28px; padding-top: 4px; }
.recht h2:first-of-type { margin-top: 0; }
.recht h3 { margin-top: 18px; }
.recht table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; margin-bottom: 12px; }
.recht th, .recht td { text-align: left; vertical-align: top; padding: 8px 8px 8px 0; border-top: 1px solid var(--linie); }
.recht th { font-weight: 600; width: 34%; }
.tabelle-scroll { overflow-x: auto; }
.inhalt { columns: 2 220px; column-gap: 24px; padding-left: 20px; }
.inhalt li { break-inside: avoid; }


details { border-top: 1px solid var(--linie); padding: 12px 0; }
details:first-of-type { border-top: 0; padding-top: 0; }
summary { cursor: pointer; font-weight: 600; min-height: 32px; display: flex; align-items: center; }
details p, details ol, details ul { margin-top: 8px; }

/* Download-Seite (download.html, 26.11.2026): dunkle Bühne über die volle Breite – immer dunkel, auch im Hellmodus.
   Grund #0B0B0C wie das App-Symbol, Akzent #22C55E. Das Stimmungsbild (Handy-Rahmen) ist reines HTML/CSS, aria-hidden. */
.main-buehne { padding-top: 8px; }
.buehne {
  --akzent: #22C55E;
  --b-grund: #0B0B0C;
  --b-schrift: #F5F5F7;
  --b-schrift-2: #A1A1A6;
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--b-grund); color: var(--b-schrift);
  padding: 56px 16px 40px; margin-bottom: 32px; text-align: center;
}
.buehne :focus-visible { outline-color: var(--akzent); }
.buehne-kopf { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; }
.buehne-symbol { width: 104px; height: 104px; border-radius: 23px; margin: 0 auto 28px; box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 12px 40px rgba(0,0,0,.6); }
.buehne h1 { font-size: 60px; line-height: 64px; font-weight: 750; letter-spacing: -.025em; margin: 0 auto 14px; max-width: 15em; text-wrap: balance; }
.buehne h1 span { display: block; }
.buehne-titel-2 { color: var(--b-schrift-2); }
.buehne-unter { font-size: 19px; line-height: 26px; color: var(--b-schrift-2); margin: 0; }

.buehne-bild { position: relative; z-index: 0; height: 500px; margin: 40px auto 0; max-width: 980px; pointer-events: none; user-select: none;
  clip-path: inset(-400px -100vw 0 -100vw); /* unten bündig abschneiden, seitlich und oben frei */ }
.buehne-bild::after {
  content: ""; position: absolute; left: -50vw; right: -50vw; bottom: 0; height: 78%; z-index: 3;
  background: linear-gradient(to bottom, rgba(11,11,12,0) 0%, rgba(11,11,12,.55) 38%, rgba(11,11,12,.9) 64%, #0B0B0C 82%);
}
.handy-symbole { position: absolute; }
.handy {
  --hb: 264px;
  position: absolute; left: 50%; top: 0; width: var(--hb); aspect-ratio: 9 / 19.5;
  margin-left: calc(var(--hb) / -2);
  font-size: calc(var(--hb) / 39); /* 1em = 1/39 der Breite → 0,1 em je pt eines 390-pt-iPhones */
  padding: 1.1em; border-radius: 5.6em; text-align: left;
  background: linear-gradient(#2A2C30, #17181B); /* Rahmen: leichter Metallschimmer */
  box-shadow: inset 0 0 0 .2em #3A3C41, inset 0 0 0 .45em #0D0D0F, 0 3em 6em rgba(0,0,0,.55);
}
.handy-mitte { z-index: 2; filter: brightness(.82) saturate(.8); }
.handy-links { z-index: 1; transform: translate(-74%, 9%) rotate(-11deg) scale(.9); filter: brightness(.5) saturate(.55); }
.handy-rechts { z-index: 1; transform: translate(74%, 9%) rotate(11deg) scale(.9); filter: brightness(.5) saturate(.55); }
.handy-bild {
  position: relative; height: 100%; overflow: hidden; border-radius: 4.5em;
  background: #090B0E; color: #EEF1F4; font-family: -apple-system, "SF Pro Text", Inter, "Segoe UI", Roboto, system-ui, sans-serif;
  display: flex; flex-direction: column;
}
.handy-bild::before { /* Dynamic Island */
  content: ""; position: absolute; top: 1.1em; left: 50%; width: 12.4em; height: 3.6em; margin-left: -6.2em; border-radius: 2em; background: #000;
}
.handy-bild svg { width: 2.4em; height: 2.4em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hb-status { display: flex; justify-content: space-between; align-items: center; padding: 1.7em 3.2em 0 3.6em; height: 5.4em; font-size: 1.6em; font-weight: 600; }
.hb-status span { font-size: 1em; }
.hb-status i { width: 2.6em; height: 1.1em; border-radius: .35em; border: .12em solid #EEF1F4; opacity: .85; }
.hb-kopf { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: .6em 1.6em 1em; }
.hb-titel { font-size: 1.7em; font-weight: 600; }
.hb-sym { justify-self: end; color: #5FD39A; }
.hb-signet { justify-self: start; display: inline-flex; align-items: center; height: 3em; padding: 0 1em; border-radius: .9em; background: #0B0B0C; box-shadow: 0 0 0 .1em rgba(255,255,255,.14); font-size: 1em; }
.hb-signet span { font-size: 1.9em; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.hb-signet .hb-o { color: #22C55E; }
.hb-inhalt { flex: 1; display: flex; flex-direction: column; gap: 1.2em; padding: .4em 1.6em; overflow: hidden; }
.hb-karte { background: #161B21; border-radius: 2em; padding: 1.4em 1.6em; display: flex; flex-direction: column; gap: .7em; }
.hb-zeile { display: flex; justify-content: space-between; align-items: center; gap: .8em; }
.hb-abschnitt { font-size: 2em; font-weight: 700; }
.hb-klein { font-size: 1.3em; color: #A7B0BB; }
.hb-text { font-size: 1.5em; }
.hb-chip { font-size: 1.2em; font-weight: 600; line-height: 1; padding: .45em .8em; border-radius: 2em; background: #1F3331; color: #5FD39A; white-space: nowrap; }
.hb-chip-info { background: #262F3E; color: #8FB4FF; }
.hb-chip-warn { background: #332F29; color: #F5B25C; }
.hb-uhr { font-size: 3.4em; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.hb-knopf { display: flex; align-items: center; justify-content: center; border-radius: 1.2em; background: #5FD39A; color: #090B0E; font-size: 1.6em; font-weight: 600; min-height: 2.75em; margin-top: .2em; }
.hb-knopf-2 { background: #161B21; color: #5FD39A; box-shadow: inset 0 0 0 .06em #252C34; font-size: 1.8em; min-height: 3.1em; }
.hb-tour { box-shadow: inset .4em 0 0 #5FD39A; }
.hb-gross { font-size: 2.2em; font-weight: 700; font-variant-numeric: tabular-nums; }
.hb-ort { font-size: 1.5em; display: flex; gap: .6em; white-space: nowrap; overflow: hidden; }
.hb-ort span { color: #A7B0BB; font-size: .87em; min-width: 5em; }
.hb-person { display: flex; align-items: center; gap: .8em; font-size: 1.5em; color: #A7B0BB; white-space: nowrap; overflow: hidden; }
.hb-initialen { flex: none; width: 2.4em; height: 2.4em; border-radius: 50%; display: grid; place-items: center; background: #222830; color: #A7B0BB; font-size: .85em; font-weight: 600; box-shadow: 0 0 0 .05em #252C34; }
.hb-kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: .8em; }
.hb-kacheln > div { background: #161B21; border: .1em solid #252C34; border-radius: 1.6em; padding: 1.2em; display: flex; flex-direction: column; gap: .8em; font-size: 1.5em; font-weight: 600; line-height: 1.25; min-height: 6.1em; }
.hb-kacheln i { width: 2.7em; height: 2.7em; border-radius: 50%; display: grid; place-items: center; background: #5FD39A; color: #090B0E; }
.hb-kacheln i svg { width: 1.6em; height: 1.6em; stroke-width: 2; }
.hb-kacheln i.hb-warn { background: #34292D; color: #FF8A80; }
.hb-zahlen { flex-direction: row; gap: 1.6em; }
.hb-zahlen > div { flex: 1; display: flex; flex-direction: column; gap: .3em; }
.hb-zahlen b { font-size: 2em; }
.hb-tag { font-size: 1.3em; font-weight: 600; color: #A7B0BB; margin-bottom: -.4em; }
.hb-liste { padding-block: .4em; gap: 0; }
.hb-eintrag { display: flex; align-items: center; justify-content: space-between; gap: .8em; padding: 1.2em 0; border-bottom: .06em solid #252C34; }
.hb-eintrag:last-child { border-bottom: 0; }
.hb-eintrag > div { display: flex; flex-direction: column; gap: .3em; min-width: 0; font-size: 1.5em; }
.hb-eintrag > div span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-eintrag .hb-klein { font-size: .87em; }
.hb-tabs { display: flex; justify-content: space-around; padding: .9em .8em 3.2em; background: #161B21; border-top: .06em solid #252C34; color: #A7B0BB; }
.hb-tabs span { display: flex; flex-direction: column; align-items: center; gap: .25em; font-size: 1.1em; font-weight: 600; }
.hb-tabs svg { width: 2.2em; height: 2.2em; }
.hb-tabs .an { color: #5FD39A; }

.buehne-knoepfe { position: relative; z-index: 4; display: flex; justify-content: center; align-items: flex-start; gap: 40px; margin: -132px auto 0; }
.buehne-laden { width: 100%; max-width: 352px; }
/* Apple-Badge und Google-Platzhalter gleich hoch; Abstand ≥ ¼ der Badge-Höhe (Vorgabe Apple) */
.store-reihe { display: flex; justify-content: center; gap: 16px; margin-bottom: 16px; }
.store-badge { display: block; flex: none; border-radius: 9px; }
.store-badge img { display: block; height: 56px; width: auto; }
.store-badge:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }
.store-bald {
  flex: none; width: 168px; height: 56px; border-radius: 9px; background: #000; color: #8E8E93; cursor: default;
  box-shadow: inset 0 0 0 1px rgba(166,166,166,.45);
  display: flex; flex-direction: column; justify-content: center; align-items: center; line-height: 1.1;
}
.store-knopf {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; padding: 8px 14px;
  border-radius: 12px; background: #000; color: #FFFFFF; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.42);
  font-size: 17px; font-weight: 600; line-height: 1.15;
}
a.store-knopf:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.8); }
a.store-knopf:active { transform: scale(.98); }
.store-knopf:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }
.store-klein { font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: .02em; }
.store-gross { font-size: 19px; line-height: 23px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.store-aus { color: #8E8E93; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); cursor: default; }
.store-breit { width: 100%; }
.qr-kachel { display: none; margin: 0; flex: none; background: #FFFFFF; color: #12161B; border-radius: 18px; padding: 12px 12px 10px; text-align: center; }
.qr-kachel img { display: block; width: 140px; height: 140px; }
.qr-kachel figcaption { font-size: 13px; line-height: 18px; font-weight: 600; margin-top: 6px; }
@media (min-width: 900px) { .qr-kachel { display: block; } }
.buehne-neben { text-wrap: balance; margin: 18px 0 0; font-size: 13px; line-height: 18px; color: var(--b-schrift-2); }

.raster-start { align-items: start; }
.schritte { list-style: none; padding: 0; counter-reset: schritt; margin: 0; }
.schritte li { counter-increment: schritt; position: relative; padding: 0 0 0 44px; margin: 0; min-height: 32px; }
.schritte li + li { margin-top: 16px; }
.schritte li::before {
  content: counter(schritt); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--akzent-zart); color: var(--akzent);
}
.schritte b { display: block; font-weight: 650; }
.schritte span { display: block; color: var(--schrift-2); }

@media (max-width: 720px) {
  .buehne { padding-top: 40px; }
  .buehne h1 { font-size: 40px; line-height: 44px; }
  .buehne-bild { height: 400px; margin-top: 32px; }
  .handy { --hb: 216px; }
  .handy-links { transform: translate(-70%, 10%) rotate(-11deg) scale(.88); }
  .handy-rechts { transform: translate(70%, 10%) rotate(11deg) scale(.88); }
  .buehne-knoepfe { margin-top: -112px; }
}
@media (max-width: 400px) {
  .buehne { padding: 28px 14px 32px; }
  .buehne-symbol { width: 96px; height: 96px; border-radius: 21px; margin-bottom: 20px; }
  .buehne-bild { height: 372px; margin-top: 24px; }
  .buehne-knoepfe { margin-top: -104px; }
  .buehne h1 { font-size: 34px; line-height: 39px; }
  .buehne-unter { font-size: 17px; }
  .store-reihe { gap: 12px; }
  .store-badge img { height: 48px; }
  .store-bald { width: 144px; height: 48px; }
  .store-gross { font-size: 17px; line-height: 20px; }
  .store-knopf { min-height: 48px; }
  .buehne-laden { max-width: 300px; }
  .kopf nav { gap: 12px; }
}

/* Fuß */
.fuss { padding: 24px 0 40px; color: var(--schrift-2); font-size: 13px; line-height: 18px; }
.fuss .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; border-top: 1px solid var(--linie); padding-top: 20px; }
.fuss nav { display: flex; gap: 16px; flex-wrap: wrap; }
.fuss a { color: var(--schrift-2); }

@media (max-width: 520px) {
  .einleitung { padding-top: 16px; }
  .einleitung h1 { font-size: 32px; line-height: 38px; }
  .karte { padding: 20px; }
  h1 { font-size: 26px; line-height: 32px; }
  .karte h1, .karte h2 { hyphens: auto; -webkit-hyphens: auto; }
  .recht th { width: auto; display: block; border-top: 1px solid var(--linie); padding-bottom: 0; }
  .recht td { display: block; border-top: 0; }
}
@media print {
  body { background: #fff; color: #000; }
  .karte { box-shadow: none; padding: 0; }
  .kopf nav, .fuss nav { display: none; }
  .buehne-bild { display: none; }
  .buehne { background: #fff; color: #000; }
}
