/* Markenschriften wie auf der Startseite, lokal ausgeliefert (keine fremden Server). Nur die nötigen Dateien: Latein für alle Seiten, Kyrillisch lädt der Browser nur auf der russischen Seite (unicode-range). */
@font-face { font-family: "Manrope Variable"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/manrope-latin-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope Variable"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/manrope-cyrillic-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "DM Sans Variable"; font-style: normal; font-display: swap; font-weight: 100 1000; src: url(/fonts/dm-sans-latin-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* Farben wie auf der Startseite (src/index.css). Dunkel ist der Grundzustand. */
:root {
  color-scheme: dark;
  --font-display: "Manrope Variable", "Manrope", system-ui, sans-serif;
  --font-body: "DM Sans Variable", "DM Sans", system-ui, sans-serif;
  --bg: #090b0e;
  --bg-alt: #0e1116;
  --bar: rgba(9,11,14,.92);
  --surface: #13161b;
  --surface-2: #1a1e24;
  --text: #f7f5ef;
  --soft: #d4d8df;
  --muted: #a5a7ad;
  --faint: #8d95a2;
  --line: rgba(255,255,255,.13);
  --gold: #f59e0b;
  --gold-text: #fbbf24;
  --gold-tint: rgba(245,158,11,.14);
  --gold-line: rgba(245,158,11,.34);
  --hero: radial-gradient(circle at 84% 20%,rgba(245,158,11,.18),transparent 30%), linear-gradient(135deg,#10141a,#080a0d 62%);
  font-family: var(--font-body);
}
/* Hell: nach Systemvorgabe des Geräts, außer der Besucher hat auf der Startseite ausdrücklich Dunkel gewählt (Klasse .dark). Die Wahl "Hell" setzt .light. */
@media (prefers-color-scheme: light) {
  :root:not(.dark) { color-scheme: light; --bg: #e9e0d2; --bg-alt: #e1d7c7; --bar: rgba(233,224,210,.94); --surface: #f9f4ea; --surface-2: #ddd3c3; --text: #171713; --soft: #33342d; --muted: #505149; --faint: #55564d; --line: rgba(47,39,27,.2); --gold: #b86700; --gold-text: #7a4700; --gold-tint: rgba(184,103,0,.1); --gold-line: rgba(133,77,0,.38); --hero: radial-gradient(circle at 84% 20%,rgba(184,103,0,.16),transparent 30%), linear-gradient(135deg,#f3ebdd,#e4dac9 62%); }
}
:root.light { color-scheme: light; --bg: #e9e0d2; --bg-alt: #e1d7c7; --bar: rgba(233,224,210,.94); --surface: #f9f4ea; --surface-2: #ddd3c3; --text: #171713; --soft: #33342d; --muted: #505149; --faint: #55564d; --line: rgba(47,39,27,.2); --gold: #b86700; --gold-text: #7a4700; --gold-tint: rgba(184,103,0,.1); --gold-line: rgba(133,77,0,.38); --hero: radial-gradient(circle at 84% 20%,rgba(184,103,0,.16),transparent 30%), linear-gradient(135deg,#f3ebdd,#e4dac9 62%); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); }
body, button, input { font-family: var(--font-body); }
a { color: inherit; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 12px 18px; border-radius: 12px; color: #16120a; background: #f59e0b; font-weight: 800; text-decoration: none; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
main, #rechner { scroll-margin-top: 90px; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.topbar { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid var(--line); background: var(--bar); backdrop-filter: blur(18px); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 18px; font-weight: 760; letter-spacing: -.025em; text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.navlinks { display: flex; align-items: center; gap: 20px; }
.navlinks a { color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.navlinks a:hover { color: var(--gold-text); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 18px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-text); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 0; border-radius: 14px; color: #16120a; background: linear-gradient(135deg,#ffc94e,#f59e0b); font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; box-shadow: 0 14px 35px rgba(245,158,11,.2); }
.hero { position: relative; overflow: hidden; padding: 110px 0 86px; border-bottom: 1px solid var(--line); background: var(--hero); }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -180px; bottom: -230px; border: 1px solid var(--gold-line); border-radius: 50%; box-shadow: 0 0 0 58px rgba(245,158,11,.035),0 0 0 116px rgba(245,158,11,.02); pointer-events: none; }
.eyebrow { margin-bottom: 17px; color: var(--gold-text); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1,h2,h3 { margin-top: 0; font-family: var(--font-display); line-height: 1.04; }
h1 { max-width: 900px; margin-bottom: 25px; font-size: clamp(46px,8vw,88px); font-weight: 700; letter-spacing: -.055em; }
h2 { margin-bottom: 18px; font-size: clamp(32px,5vw,54px); font-weight: 700; letter-spacing: -.04em; }
h3 { font-size: 20px; letter-spacing: -.02em; }
.lead { max-width: 760px; margin: 0 0 32px; color: var(--soft); font-size: clamp(18px,2.4vw,23px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ghost { display: inline-flex; align-items: center; min-height: 50px; padding: 0 22px; border: 1px solid var(--line); border-radius: 14px; color: var(--text); font-weight: 800; text-decoration: none; }
.facts { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--line); }
.fact { padding: 25px; border-right: 1px solid var(--line); text-align: center; }
.fact:last-child { border-right: 0; }
.fact strong { display: block; color: var(--gold-text); font-family: var(--font-display); font-size: 20px; }
.fact span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }
.section { padding: 86px 0; }
.section.alt { background: var(--bg-alt); }
.intro { max-width: 780px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 38px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.card p,.copy p,.copy li { color: var(--muted); line-height: 1.7; }
.copy { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.checklist { margin: 0; padding-left: 20px; }
.checklist li { margin-bottom: 10px; }
.faq { max-width: 850px; }
.faq article { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq article p { margin-bottom: 0; }
.cta { padding: 38px; border: 1px solid var(--gold-line); border-radius: 28px; background: var(--gold-tint); }
.cta p { max-width: 680px; color: var(--soft); line-height: 1.65; }
.footer { padding: 48px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.footer p,.footer a { color: var(--muted); font-size: 14px; line-height: 1.8; }
.footer a { display: block; text-decoration: none; }
.footer a:hover { color: var(--gold-text); }
.footer small { display: block; margin-top: 32px; color: var(--faint); }
.footer small a { display: inline; text-decoration: underline; text-underline-offset: 3px; }
.legal-page { max-width: 860px; }
.legal-page article { padding: 28px 0; border-bottom: 1px solid var(--line); }
.legal-page article:last-child { border-bottom: 0; }
.legal-page h2 { font-size: clamp(24px,4vw,36px); }
.legal-page p,.legal-page li { color: var(--muted); line-height: 1.75; }
.legal-page a { color: var(--gold-text); text-underline-offset: 3px; }
@media (max-width: 760px) {
  .nav { min-height: 68px; }.navlinks > a:not(.button) { display: none; }.navlinks .button { min-height: 44px; padding: 0 14px; font-size: 13px; }
  .hero { padding: 82px 0 64px; }.facts { grid-template-columns: repeat(2,1fr); }.fact:nth-child(2) { border-right: 0; }.fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid,.copy,.footer-grid { grid-template-columns: 1fr; }.section { padding: 64px 0; }.cta { padding: 26px; }
  /* Tippflächen am Handy: mindestens 44 px hoch */
  .footer a { display: flex; align-items: center; min-height: 44px; }
  .footer small { line-height: 1.6; }.footer small a { display: inline-flex; align-items: center; min-height: 44px; }
  .breadcrumbs { gap: 4px 8px; padding-top: 6px; }.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Keyboard focus: clear ring for links and buttons (mouse clicks stay unchanged). */
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 3px; }

.intro a { color: var(--gold-text); text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Ratgeber-Seiten (Fließtext, Tabellen, Karten) */
.hero.guide { padding: 84px 0 64px; }
.hero.guide h1 { max-width: 880px; font-size: clamp(30px,5.4vw,56px); line-height: 1.08; letter-spacing: -.035em; overflow-wrap: break-word; hyphens: auto; }
.hero .lead a { color: var(--gold-text); text-underline-offset: 3px; }
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(24px,3.6vw,36px); line-height: 1.15; letter-spacing: -.025em; overflow-wrap: break-word; hyphens: auto; }
.prose p, .prose li { color: var(--muted); font-size: 17px; line-height: 1.75; }
.prose p.answer { color: var(--soft); font-size: 18px; }
.prose a, .note-small a, .cta a:not(.button):not(.ghost) { color: var(--gold-text); text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose .checklist { margin: 0 0 14px; padding-left: 22px; }
.note-small { margin: 10px 0 0; color: var(--faint); font-size: 13px; line-height: 1.6; }
.guide-table { width: 100%; margin: 22px 0 8px; border-collapse: collapse; }
.guide-table caption { padding-bottom: 10px; text-align: left; font-weight: 800; font-size: 16px; }
.guide-table th, .guide-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.guide-table th { color: var(--gold-text); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.guide-table td { color: var(--muted); font-size: 15px; line-height: 1.5; }
.guide-table td:first-child { color: var(--text); font-weight: 700; }
.linklist { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px 24px; }
.linklist a { display: flex; align-items: center; min-height: 44px; font-weight: 700; }
.guide-card { display: block; text-decoration: none; transition: border-color .2s, transform .2s; }
.guide-card:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.guide-card h3 { color: var(--text); line-height: 1.2; }
.guide-card .more { color: var(--gold-text); font-weight: 800; font-size: 14px; }
@media (max-width: 760px) {
  .hero.guide { padding: 56px 0 44px; }
  .prose p, .prose li { font-size: 16px; }
  .prose p.answer { font-size: 17px; }
  .guide-table th, .guide-table td { padding: 10px 6px; font-size: 13px; }
  .guide-table caption { font-size: 15px; }
  .linklist { grid-template-columns: 1fr; }
  .hero-actions .button, .hero-actions .ghost { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .guide-card { transition: none; } .guide-card:hover { transform: none; } }

/* Kopfzeilen-Knopf: Text dunkel auf Gold (sonst überschreibt .navlinks a die Knopffarbe) */
.navlinks a.button, .navlinks a.button:hover { color: #16120a; }
@media (max-width: 760px) {
  .guide-table.num th { letter-spacing: 0; font-size: 11px; }
  .guide-table.num td:not(:first-child), .guide-table.num th:not(:first-child) { white-space: nowrap; }
  .guide-table.num .ca { display: none; }
}

/* Preisrechner auf /taxi-preisrechner-berlin/ (Skript: /rechner.js, gleiche Rechenlogik wie die Startseite) */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; margin-top: 30px; }
.calc-form, .calc-result { padding: 30px; border-radius: 26px; }
.calc-form { display: grid; gap: 12px; align-content: start; border: 1px solid var(--line); background: var(--surface); }
.calc-field { display: grid; gap: 8px; }
.calc-field label { color: var(--muted); font-size: 14px; font-weight: 700; }
.calc-input { position: relative; }
.calc-input input { width: 100%; height: 52px; padding: 0 15px; border: 1px solid var(--line); border-radius: 14px; color: var(--text); background: var(--surface-2); font-size: 16px; }
.calc-input input:focus { border-color: var(--gold); }
.calc-hint { color: var(--muted); font-size: 12px; }
.calc-list { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; max-height: 290px; margin: 0; padding: 7px; overflow-x: hidden; overflow-y: auto; list-style: none; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.calc-list li { min-height: 44px; display: flex; align-items: center; padding: 10px; border-radius: 10px; color: var(--text); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; cursor: pointer; }
.calc-list li:hover, .calc-list li[aria-selected="true"] { background: var(--gold-tint); }
.calc-list li.calc-empty { color: var(--muted); cursor: default; background: none; }
.calc-swap { justify-self: center; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 14px; color: var(--gold-text); background: transparent; font-size: 20px; cursor: pointer; }
.calc-restriction { margin: 6px 0 0; padding: 14px; border-radius: 14px; color: var(--gold-text); background: var(--gold-tint); font-size: 13px; line-height: 1.5; }
.calc-source { color: var(--muted); font-size: 12px; }
.calc-result { display: flex; flex-direction: column; align-items: flex-start; color: #16120a; background: linear-gradient(140deg,#ffd467,#f3a30d); box-shadow: 0 28px 80px rgba(245,158,11,.2); }
.calc-kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.calc-price { margin: 16px 0 8px; font-family: var(--font-display); font-size: clamp(56px,8vw,96px); line-height: .95; font-weight: 750; letter-spacing: -.06em; }
.calc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.calc-meta span { padding: 8px 10px; border-radius: 99px; background: rgba(255,255,255,.34); font-size: 13px; font-weight: 800; }
.calc-note { max-width: 460px; margin: 0 0 22px; font-size: 14px; line-height: 1.55; }
.calc-request { margin-top: auto; min-height: 52px; color: #f7f5ef; background: #16120a; box-shadow: none; }
.calc-request:focus-visible { outline-color: #16120a; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; gap: 16px; }.calc-form, .calc-result { padding: 22px; }.calc-request { width: 100%; } }
