/* Lokale Schriften (Archivo, Public Sans; SIL Open Font License), keine Aufrufe an Google.
   Beide sind variable Schriften: eine Datei je Zeichensatz deckt alle genutzten Gewichte ab. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('/assets/fonts/archivo-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('/assets/fonts/archivo-latin.woff2') format('woff2'); 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: 'Public Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/public-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/public-sans-latin.woff2') format('woff2'); 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; }

/* ============================================================
   Aargauer Taxi GmbH: Design-System
   Anthrazit (Basis), Weiss (Grund), Taxi-Gelb (Aktion).
   Mobile-first, grosse Schrift, grosse Knoepfe, ruhige Bewegung.
   ============================================================ */
:root {
  --paper: #FFFFFF; --ground: #F3F5F8; --sunk: #E9EDF2;
  --ink: #1B2028; --ink-2: #4A5461; --ink-3: #5E6975;
  --line: #DCE1E7; --line-soft: #EBEFF3;
  --anthrazit: #1B2028; --anthrazit-2: #262D37; --anthrazit-hell: #A9B2BD;
  --gelb: #F0B000; --gelb-2: #D99F00; --gelb-soft: #FBF1CF; --gelb-ink: #1B2028;
  --ok: #17754F; --ok-soft: #E3F1EA; --warn: #9A5B0B; --warn-soft: #FBF0DF;

  --f-display: "Archivo", system-ui, sans-serif;
  --f-text: "Public Sans", system-ui, sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, monospace;

  --t-xl: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem);
  --t-lg: clamp(1.65rem, 1.3rem + 1.6vw, 2.5rem);
  --t-md: clamp(1.15rem, 1rem + 0.7vw, 1.55rem);

  /* Ein Radius-System: Pill fuer Knoepfe, 12 fuer Felder und kleine Flaechen, 20 fuer Karten, 24 fuer grosse Bilder und Formularkarten */
  --r-btn: 980px; --r-feld: 12px; --r-card: 20px; --r-gross: 24px;
  /* Ein Abstands-System (mobil -> Desktop fliessend): Sektionen, Abstand nach Sektionstitel, Karteninnenraum, Kartenabstand */
  --raum-abschnitt: clamp(56px, 40px + 4.5vw, 100px);
  --raum-titel: clamp(1.25rem, 1rem + 0.6vw, 1.75rem);
  --raum-karte: clamp(1.15rem, 0.95rem + 0.9vw, 1.6rem);
  --raum-gitter: clamp(0.75rem, 0.6rem + 0.6vw, 1.25rem);
  --knopf-h: 52px;
  --schatten-1: 0 1px 2px rgba(27, 32, 40, 0.06), 0 6px 18px -8px rgba(27, 32, 40, 0.14);
  --schatten-2: 0 4px 10px rgba(27, 32, 40, 0.08), 0 20px 48px -16px rgba(27, 32, 40, 0.22);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ------------------------------- Basis ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-text); font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gelb); color: var(--ink); }
:focus-visible { outline: 3px solid var(--anthrazit); outline-offset: 3px; border-radius: 6px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--gelb-2); text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; margin: 0; overflow-wrap: break-word; min-width: 0; }
/* Lange Komposita (Beförderungsbedingungen) auf schmalen Bildschirmen trennen statt überlaufen */
@media (max-width: 599px) { h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 14 6 6; } }
h1 { font-size: var(--t-xl); }
h2 { font-size: var(--t-lg); }
h3 { font-size: 1.2rem; }
p { text-wrap: pretty; }
address { font-style: normal; }
@supports (scrollbar-color: auto) { html { scrollbar-color: color-mix(in oklab, var(--ink) 30%, transparent) transparent; scrollbar-width: thin; } }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); }
/* Vertikaler Rhythmus: jede Sektion gleich viel Luft (--raum-abschnitt). Folgen zwei Sektionen mit
   gleichem Grund aufeinander, entfaellt der obere Abstand, sonst stuenden dort zwei Abstaende uebereinander. */
.abschnitt { padding-block: var(--raum-abschnitt); }
/* Startseite: eigener Takt (start.css, Scrollcraft), hier unveraendert */
:where(.start) .abschnitt { padding-block: 72px; }
@media (min-width: 800px) { :where(.start) .abschnitt { padding-block: 104px 112px; } }
:where(body:not(.start)) .abschnitt:where(:not(.abschnitt--ground)) + .abschnitt:where(:not(.abschnitt--ground)),
:where(body:not(.start)) .abschnitt--ground + .abschnitt--ground { padding-top: 0; }
.held-sub + .abschnitt:where(:not(.abschnitt--ground)) { padding-top: 0; }
.prosa > :first-child { margin-top: 0; }
.abschnitt--ground { background: var(--ground); }
.abschnitt--kompakt { padding-block: 8px var(--raum-abschnitt); }
/* Nach dem Sektionstitel immer gleich viel Abstand; Untertitel-Absaetze sitzen naeher */
:is(.abschnitt, .schluss) .wrap > h2 + :not(p),
:is(.abschnitt, .schluss) .wrap > :is(div, header) > h2 + :not(p) { margin-top: var(--raum-titel); }
:is(.abschnitt, .schluss) .wrap > h2 + p,
:is(.abschnitt, .schluss) .wrap > :is(div, header) > h2 + p { margin-top: 0.75rem; }
.sprung { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gelb); color: var(--ink); padding: 0.6rem 1rem; border-radius: 8px; font-weight: 600; }
.sprung:focus { left: 8px; }
.folgt { display: inline-block; padding: 0.1rem 0.6rem; border: 1px dashed var(--line); border-radius: 99px; color: var(--ink-3); font-size: 0.88em; }
.klein { font-size: 0.9rem; color: var(--ink-3); }
.hinweis { font-weight: 400; color: var(--ink-3); }
.hinweis-klein { font-size: 0.88rem; color: var(--ink-3); margin: 0.5rem 0 0; }
.lead { font-size: var(--t-md); line-height: 1.45; color: var(--ink-2); max-width: 44ch; margin: 1rem 0 0; }
.lead-klein { color: var(--ink-2); max-width: 52ch; margin: 0.75rem 0 0; }

/* ------------------------------- Knoepfe ---------------------------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 52px; padding: 0.8rem 1.7rem; border-radius: var(--r-btn);
  font-family: var(--f-text); font-weight: 600; font-size: 1rem; text-decoration: none;
  cursor: pointer; white-space: nowrap; border: 1px solid transparent;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.knopf:active { transform: translateY(1px) scale(0.985); box-shadow: none; transition-duration: 80ms; }
.knopf--voll { background: var(--gelb); color: var(--gelb-ink); }
.knopf--voll:hover { background: var(--gelb-2); }
.knopf--dunkel { background: var(--anthrazit); color: #FFFFFF; }
.knopf--dunkel:hover { background: var(--anthrazit-2); }
/* Anheben nur mit Maus; auf Touch bliebe der Hover-Zustand nach dem Tippen haengen */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .knopf--voll:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -6px rgba(217, 159, 0, 0.55); }
  .knopf--dunkel:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(27, 32, 40, 0.5); }
}
.knopf--rand { background: var(--sunk); color: var(--ink); }
.knopf--rand:hover { background: color-mix(in oklab, var(--ink) 10%, var(--sunk)); }
.knopf--leise { color: var(--ink-2); background: transparent; padding-inline: 1rem; }
.knopf--leise:hover { color: var(--ink); background: var(--sunk); }
.knopf[disabled] { opacity: 0.55; cursor: default; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .knopf:hover, .knopf:active { transform: none; } }
.ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.ctas--mitte { justify-content: center; }
/* Handy (Unterseiten): Knopfgruppen stapeln sich in voller Breite, alle gleich hoch */
@media (max-width: 599px) {
  :where(body:not(.start)) .ctas { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.625rem; }
  :where(body:not(.start)) .ctas > .knopf { width: 100%; min-height: var(--knopf-h); white-space: normal; text-align: center; }
}

/* ------------------------------- Kopf ------------------------------- */
.kopf {
  position: sticky; top: 0; z-index: 70; height: 66px;
  display: flex; align-items: center; gap: 1rem;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft);
}
.marke { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; flex: none; }
.marke__punkt { display: inline-block; width: 18px; height: 12px; border-radius: 3px; background: var(--gelb); border: 1.5px solid var(--ink); vertical-align: baseline; margin-right: 0.55rem; }
.marke img { height: 44px; width: auto; max-width: 46vw; object-fit: contain; }
@media (max-width: 699px) { .marke img { height: 36px; } }
@media (min-width: 1320px) and (max-width: 1439px) { .marke img { height: 38px; } }
/* Fusszeile: Logo auf weisser Flaeche, damit Sterne und Kreuz weiss bleiben */
.fuss__logo { display: inline-block; background: #FFFFFF; border-radius: 10px; padding: 8px 12px; margin-bottom: 0.4rem; }
.fuss__logo img { display: block; height: 34px; width: auto; }
.fuss__name:has(.fuss__logo) { font-size: 0; margin-bottom: 0.9rem; }
.marke img[hidden] { display: none; }
.kopf__nav { display: none; gap: clamp(0.8rem, 1.2vw, 1.3rem); margin-left: 0.75rem; }
.kopf__nav a { font-size: 0.9rem; white-space: nowrap; color: var(--ink-2); text-decoration: none; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
.kopf__nav a:hover { color: var(--ink); }
.kopf__nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gelb); }
.kopf__rechts { margin-left: auto; display: flex; align-items: center; gap: 0.6rem; }
.kopf__firmen { display: none; font-size: 0.9rem; color: var(--ink-2); text-decoration: none; margin-right: 0.4rem; }
.kopf__firmen:hover { color: var(--ink); text-decoration: underline; }
.kopf__tel { display: none; }
/* Alle Bedienelemente der Kopfzeile gleich hoch (46px) */
.kopf .knopf--voll { display: none; min-height: 46px; padding-block: 0.6rem; }
.kopf .kopf__tel { min-height: 46px; min-width: 46px; padding-block: 0.6rem; }
.menu-knopf { display: grid; gap: 5px; padding: 0.7rem; background: transparent; border: 0; cursor: pointer; border-radius: 10px; min-width: 46px; min-height: 46px; place-content: center; }
/* Grosse Schrift (alle Seiten): vergroessert alle rem-Masse um knapp ein Fuenftel */
html.schrift-gross { font-size: 118.75%; }
/* Kopfzeile bleibt in grosser Schrift einzeilig: Navigation in Pixeln etwa gleich gross wie vorher */
html.schrift-gross .kopf__nav a { font-size: 0.8rem; }
html.schrift-gross .kopf__nav { gap: clamp(0.6rem, 0.9vw, 1rem); }
html.schrift-gross .kopf .knopf, html.schrift-gross .kopf__tel { font-size: 0.86rem; }
html.schrift-gross .marke { font-size: 0.95rem; }
.schrift-knopf { display: inline-grid; place-items: center; min-width: 46px; min-height: 46px; padding: 0 0.45rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); cursor: pointer; font-family: var(--f-display); font-weight: 700; transition: background-color 160ms var(--ease), border-color 160ms var(--ease); }
.schrift-knopf span[aria-hidden] { font-size: 0.8rem; line-height: 1; }
.schrift-knopf b { font-size: 1.15rem; margin-left: 1px; }
.schrift-knopf:hover { border-color: var(--anthrazit-hell); }
.schrift-knopf:active { transform: translateY(1px); }
.schrift-knopf[aria-pressed="true"] { background: var(--gelb); border-color: var(--gelb); }
.menu-knopf span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 200ms var(--ease), opacity 200ms var(--ease); }
.menu-knopf[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-knopf[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-knopf[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu { position: fixed; inset: 66px 0 0 0; z-index: 69; background: var(--paper); overflow-y: auto; padding: 1rem clamp(1.25rem, 5vw, 2.5rem) 6rem; }
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a { padding: 0.95rem 0; font-size: 1.15rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.menu__aktionen { display: grid; gap: 0.6rem; margin-top: 1.5rem; }
@media (min-width: 1320px) {
  .kopf__nav, .kopf__tel, .kopf .knopf--voll { display: inline-flex; }
  .kopf__nav a, .kopf__firmen, .kopf__tel { white-space: nowrap; }
  .menu-knopf, .menu { display: none !important; }
}
@media (min-width: 1800px) { .kopf__firmen { display: inline-flex; } }
/* Telefon in der Kopfzeile: Nummer mit Symbol; in engen Bereichen nur das Symbol (Nummer bleibt fuer Screenreader), damit alles einzeilig bleibt, auch mit grosser Schrift */
.kopf__tel { align-items: center; gap: 0.4rem; }
.kopf__tel svg { flex: none; }
@media (min-width: 700px) and (max-width: 899px), (min-width: 1320px) and (max-width: 1599px) {
  .kopf__tel { padding-inline: 0.7rem; }
  .kopf__tel .kopf__tel-nr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* Sprachwahl DE | EN: kompakt neben dem Schrift-Knopf, im mobilen Menue unten */
.sprache { display: inline-flex; align-items: center; gap: 0.1rem; font-family: var(--f-display); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.02em; white-space: nowrap; flex: none; }
.sprache span { color: var(--line); padding-inline: 0.05rem; }
.sprache a { display: inline-grid; place-items: center; min-width: 44px; min-height: 46px; padding: 0 0.15rem; color: var(--ink-3); text-decoration: none; border-radius: 8px; }
.sprache a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.sprache a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--gelb); border-radius: 0; }
.sprache--kopf { display: none; }
@media (min-width: 700px) { .sprache--kopf { display: inline-flex; } }
.sprache--menu { display: flex; margin-top: 1.5rem; font-size: 1rem; gap: 0.3rem; }
.sprache--menu a { min-width: 48px; min-height: 48px; }
@media (max-width: 699px) { .menu .sprache--menu { margin-top: 1rem; } }
@media (min-width: 700px) and (max-width: 1319px) {
  .kopf__tel, .kopf .knopf--voll { display: inline-flex; }
}

/* ------------------------------- Brotkrumen ------------------------- */
.krumen { max-width: 1160px; margin: 0 auto; padding: 0.35rem clamp(1.25rem, 5vw, 2.5rem) 0; font-size: 0.875rem; color: var(--ink-3); }
.krumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: 0.35rem; }
.krumen li { display: inline-flex; align-items: center; min-height: 44px; }
.krumen li + li::before { content: "›"; margin-right: 0.35rem; color: var(--line); }
.krumen a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; color: var(--ink-3); }
.krumen a:hover { color: var(--ink); text-decoration: underline; }

/* ------------------------------- Unterseiten-Kopf ------------------- */
.held-sub { padding: clamp(1.25rem, 4vw, 4rem) 0 var(--raum-abschnitt); }
.held-sub__gitter { display: grid; gap: clamp(1.75rem, 1.2rem + 2vw, 3rem); align-items: center; }
@media (min-width: 900px) { .held-sub__gitter { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; } }
.held-sub--schmal .wrap { max-width: 60rem; }
.held-sub--kompakt { padding-bottom: var(--raum-titel); }
.gebiet { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; font-size: 0.9rem; color: var(--ink-3); }
.gebiet svg { color: var(--gelb-2); }
.gebiet a { display: inline-flex; align-items: center; min-height: 44px; }

/* ------------------------------- Bilder ----------------------------- */
.bild {
  position: relative; overflow: hidden; border-radius: var(--r-card); margin: 0;
  background: repeating-linear-gradient(-45deg, var(--ground) 0 14px, var(--sunk) 14px 28px);
  border: 1px dashed var(--line); width: 100%; max-width: 100%; min-width: 0;
  display: grid; place-items: center; aspect-ratio: 4 / 3;
}
.bild--held { aspect-ratio: 5 / 4; }
.bild figcaption { display: grid; gap: 0.25rem; justify-items: center; text-align: center; padding: 1rem; color: var(--ink-2); font-size: 0.92rem; }
.bild figcaption strong { font-family: var(--f-display); color: var(--ink); }
.bild figcaption span { font-size: 0.82rem; color: var(--ink-3); max-width: 28ch; }
.bild.hat-bild { border: 0; background: var(--sunk); }
.bild.hat-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bild.hat-bild figcaption { display: none; }
.bilder-stapel { display: grid; gap: 1rem; }

/* ------------------------------- Inhaltsraster ---------------------- */
.text-gitter { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .text-gitter { grid-template-columns: 1.4fr 0.9fr; gap: 3.5rem; } }
.text-spalte p { color: var(--ink-2); max-width: 62ch; }
.text-spalte p:first-child { margin-top: 0; }
.enthalten { background: var(--ground); }
.enthalten h2 { font-size: 1.05rem; margin-bottom: 0.8rem; }
.enthalten ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.enthalten li { display: flex; gap: 0.6rem; align-items: baseline; color: var(--ink-2); font-size: 0.98rem; }
.enthalten li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gelb); border: 1px solid var(--ink); translate: 0 -2px; }
.haken-liste { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.haken-liste li { position: relative; padding-left: 1.7rem; color: var(--ink-2); }
.haken-liste li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 16px; height: 16px; border-radius: 50%; background: var(--gelb); }
.haken-liste li::after { content: ""; position: absolute; left: 5px; top: calc(0.35em + 3px); width: 5px; height: 8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (min-width: 640px) { .haken-liste--zwei { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }
.zwei-spalten { display: grid; gap: 2rem; align-items: center; }
.zwei-spalten > * { min-width: 0; }
.text-gitter > * { min-width: 0; }
@media (min-width: 900px) { .zwei-spalten { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; } .zwei-spalten--bild-links { grid-template-columns: 0.9fr 1.1fr; } }
.vorspann { max-width: 46rem; margin-inline: auto; text-align: center; }
.vorspann p { color: var(--ink-2); margin: 0.7rem auto 0; max-width: 50ch; }

.hinweis-box { background: var(--gelb-soft); border-left: 4px solid var(--gelb); border-radius: 0 12px 12px 0; padding: 1rem 1.2rem; margin: 1.5rem 0; }
.hinweis-box h2 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.hinweis-box ul { margin: 0.4rem 0 0; padding-left: 1.1rem; color: var(--ink-2); display: grid; gap: 0.3rem; }
.hinweis-box p { margin: 0; color: var(--ink-2); }
.hinweis-box--kompakt { font-size: 0.95rem; }
.hinweis-box--entwurf { background: var(--sunk); border-left-color: var(--ink-3); }

.zahl-liste { list-style: none; counter-reset: z; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .zahl-liste { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.25rem; } }
.zahl-liste li { counter-increment: z; position: relative; background: var(--paper); }
.abschnitt:not(.abschnitt--ground) .zahl-liste li { background: var(--ground); }
.zahl-liste li::before { content: counter(z); position: absolute; left: 1.1rem; top: 1.15rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--gelb); font-family: var(--f-display); font-weight: 700; font-size: 0.85rem; display: grid; place-items: center; }
.zahl-liste strong { display: block; font-family: var(--f-display); font-size: 1rem; margin-bottom: 0.2rem; }
.zahl-liste span { color: var(--ink-2); font-size: 0.95rem; }
.zahl-liste--kompakt { grid-template-columns: 1fr; gap: 0.6rem; margin-top: 0.8rem; }
.zahl-liste--kompakt li { padding: 0.8rem 0.9rem 0.8rem 3rem; background: var(--paper); }
.zahl-liste--kompakt li::before { top: 0.8rem; left: 0.9rem; }

.branchen { display: grid; gap: 1rem; margin-top: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.branche { background: var(--paper); }
.branche h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.branche p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.verwandt { display: grid; gap: 1rem; margin-top: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.verwandt__karte { display: grid; gap: 0.3rem; text-decoration: none; background: var(--ground); }
.verwandt__karte span { color: var(--gelb-2); }
.verwandt__karte small { color: var(--ink-2); font-size: 0.9rem; }
.lokal__karten { display: grid; gap: 1rem; margin-top: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.lokal__karte { display: grid; gap: 0.3rem; text-decoration: none; background: var(--paper); }
.lokal__karte h3 { font-size: 1.05rem; }
.lokal__karte p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.lokal__karte span { color: var(--ink); font-weight: 600; font-size: 0.9rem; text-decoration: underline; text-decoration-color: var(--gelb); text-underline-offset: 0.25em; }
.ziele { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.ziele li { display: grid; gap: 0.1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); }
.ziele li span { color: var(--ink-2); font-size: 0.95rem; }
.ziele--einfach li { padding: 0.25rem 0; color: var(--ink-2); }
.ziele li > a { display: flex; align-items: center; min-height: 44px; }
.linkliste { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0; }
.linkliste a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.regionen { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.region { background: var(--paper); display: grid; gap: 0.35rem; align-content: start; }
.region p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.region a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 0.95rem; }
.weitere { margin: 1.5rem 0 0; color: var(--ink-2); }
.orte { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: center; }
.orte li, .orte li a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 1rem; border-radius: 99px; background: var(--ground); font-weight: 600; text-decoration: none; }
.orte li:has(a) { padding: 0; background: none; }
.orte li a:hover { background: var(--gelb-soft); }
.orte__weitere { text-align: center; color: var(--ink-2); margin: 1.25rem 0 0; }

/* FAQ */
.faq h2 { text-align: center; }
.faq-liste { max-width: 48rem; margin: 1.75rem auto 0; }
.faq-liste details { border-top: 1px solid var(--line); }
.faq-liste details:last-child { border-bottom: 1px solid var(--line); }
.faq-liste summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0.25rem; cursor: pointer; font-weight: 600; list-style: none; min-height: 48px; }
.faq-liste summary::-webkit-details-marker { display: none; }
.faq-liste summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform 180ms var(--ease); }
.faq-liste details[open] summary::after { transform: rotate(225deg); }
.faq-antwort { padding: 0 0.25rem 1.2rem; color: var(--ink-2); max-width: 60ch; }
.faq-antwort p { margin: 0; }
.faq-liste summary { transition: color 160ms var(--ease); }
.faq-liste summary:hover, .faq-liste details[open] summary { color: var(--ink); }
.faq-liste summary::after { transition: transform 300ms var(--feder); }
.faq-liste summary:focus-visible { outline-offset: 2px; }
/* Hoehe animiert bewegung.js; der Text gleitet dazu leicht nach */
@media (prefers-reduced-motion: no-preference) {
  .faq-liste details[open] .faq-antwort { animation: faq-auf 360ms cubic-bezier(0.22, 0.7, 0.3, 1) both; }
  @keyframes faq-auf { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

/* Schluss-CTA */
.schluss { text-align: center; }
.schluss p { color: var(--ink-2); max-width: 44ch; margin: 0.9rem auto 0; }
.schluss .ctas { justify-content: center; }
.schluss__hinweis { font-size: 0.9rem; color: var(--ink-3); margin-top: 1rem !important; }

/* Prosa (Rechtstexte) */
.prosa h2 { font-size: 1.3rem; margin: 2.2rem 0 0.6rem; }
.prosa h3 { font-size: 1.05rem; margin: 1.5rem 0 0.4rem; }
.prosa p, .prosa li { color: var(--ink-2); }
.prosa--schmal { max-width: 44rem; }

/* Kontakt */
.kontakt-gitter { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .kontakt-gitter { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } }
.kontakt-daten h2 { font-family: var(--f-text); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.01em; color: var(--ink-3); margin: 1.4rem 0 0.2rem; }
.kontakt-daten h2:first-child { margin-top: 0; }
.kontakt-daten p, .kontakt-daten address { margin: 0; }
.karte-platzhalter { background: var(--paper); display: grid; gap: 0.75rem; justify-items: start; margin-top: 1.25rem; }
.karte-platzhalter p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.karte-platzhalter iframe { width: 100%; height: 360px; border: 0; border-radius: 12px; }

/* ------------------------------- Formulare -------------------------- */
.panel { background: var(--paper); padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-gross); box-shadow: var(--schatten-weich); }
.panel--breit { max-width: none; }
.stepper { list-style: none; margin: 1rem 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.35rem; }
.stepper li { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); padding-top: 0.5rem; border-top: 3px solid var(--line-soft); }
.stepper li.ist-aktiv, .stepper li.ist-fertig { border-top-color: var(--gelb); color: var(--ink); }
@media (max-width: 520px) { .stepper li { font-size: 0; } .stepper li::after { content: attr(data-s); font-size: 0.75rem; } }
.fluss__schritt { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.fluss__schritt.ist-aktiv { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .fluss__schritt.ist-aktiv { animation: einschieben 340ms var(--ease); }
  .fluss__schritt.ist-aktiv.von-links { animation-name: einschieben-links; }
  @keyframes einschieben { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
  @keyframes einschieben-links { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }
}
.frage { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; margin: 0 0 1rem; padding: 0; }
.frage--klein { font-size: 1rem; margin: 1.25rem 0 0.6rem; }
.feld { position: relative; margin-bottom: 1.1rem; }
.feld label { display: block; font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.feld input:not([type="checkbox"]):not([type="radio"]), .feld select, .feld textarea {
  width: 100%; min-height: 52px; padding: 0.7rem 0.9rem; border-radius: var(--r-feld);
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); transition: border-color 150ms var(--ease);
}
.feld textarea { min-height: 84px; resize: vertical; }
.feld :is(input, select, textarea):hover { border-color: var(--anthrazit-hell); }
.feld :is(input, select, textarea):focus-visible { outline: 3px solid var(--anthrazit); outline-offset: 1px; border-color: var(--anthrazit); }
.feld.hat-fehler :is(input, select, textarea) { border-color: var(--warn); }
.feld__fehler { display: none; font-size: 0.9rem; color: var(--warn); margin: 0.4rem 0 0; }
.feld.hat-fehler .feld__fehler, .feld__fehler:not([hidden]).sichtbar { display: block; }
.feld--zeile { display: flex; gap: 0.75rem; align-items: flex-start; }
.feld--zeile input[type="checkbox"], .feld--zeile input[type="radio"] { width: 22px; height: 22px; accent-color: var(--anthrazit); flex: none; margin-top: 0.15rem; }
.feld--zeile label, .feld--zeile span { margin: 0; font-weight: 500; font-size: 0.98rem; }
/* In Formularkarten: Haken-Zeile als ruhige, ganz tippbare Flaeche mit eigenem Kaestchen */
.formular .feld--zeile, .rechner .feld--zeile { align-items: center; min-height: 52px; padding: 0.7rem 0.95rem; border-radius: var(--r-feld); background: var(--ground); cursor: pointer; transition: background-color 200ms var(--ease), box-shadow 220ms var(--feder); }
.formular .feld--zeile:has(input:checked), .rechner .feld--zeile:has(input:checked) { background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); }
.formular .feld--zeile.hat-fehler, .formular .feld--zeile:has([aria-invalid="true"]), .rechner .feld--zeile.hat-fehler, .rechner .feld--zeile:has([aria-invalid="true"]) { background: var(--warn-soft); box-shadow: inset 0 0 0 1px var(--warn); }
.formular .feld--zeile > label, .rechner .feld--zeile > label { flex: 1; cursor: pointer; line-height: 1.4; }
.formular .feld--zeile input[type="checkbox"], .rechner .feld--zeile input[type="checkbox"] { appearance: none; -webkit-appearance: none; display: grid; place-items: center; width: 24px; height: 24px; margin: 0; border-radius: 7px; border: 1.5px solid var(--line-feld); background: var(--paper); cursor: pointer; transition: background-color 180ms var(--ease), border-color 180ms var(--ease); }
.formular .feld--zeile input[type="checkbox"]::after, .rechner .feld--zeile input[type="checkbox"]::after { content: ""; width: 6px; height: 11px; border: solid #FFFFFF; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px) scale(0); transition: transform 240ms var(--feder); }
.formular .feld--zeile input[type="checkbox"]:checked, .rechner .feld--zeile input[type="checkbox"]:checked { background: var(--anthrazit); border-color: var(--anthrazit); }
.formular .feld--zeile input[type="checkbox"]:checked::after, .rechner .feld--zeile input[type="checkbox"]:checked::after { transform: rotate(45deg) translate(-1px, -1px) scale(1); }
.formular .feld--zeile input[type="checkbox"]:focus-visible, .rechner .feld--zeile input[type="checkbox"]:focus-visible { outline: 3px solid var(--anthrazit); outline-offset: 2px; }
.formular .feld--zeile + .feld__fehler { margin: -0.6rem 0 1rem; }
/* Gestapelt kein Zeilenabstand: den gibt schon .feld (sonst doppelte Luft zwischen zwei Feldern) */
.felder-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0.9rem; row-gap: 0; }
.felder-3 { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 0.85fr); column-gap: 0.75rem; row-gap: 0; }
.rechner .felder-2 > .feld--zeile { align-self: end; }
.rechner .feld--zeile { background: var(--paper); }
.felder-2 > *, .felder-3 > * { min-width: 0; }
.feld :is(input, select) { min-width: 0; max-width: 100%; }
@media (max-width: 520px) { .felder-2, .felder-3 { grid-template-columns: 1fr; } }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin: 0.25rem 0 1rem; }
.chip { position: relative; display: block; }
.chip input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.chip span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 0.6rem 0.9rem; border-radius: var(--r-feld); border: 1px solid var(--line); font-weight: 500; font-size: 0.95rem; cursor: pointer; transition: border-color 150ms var(--ease), background-color 150ms var(--ease); }
.chip span:hover { border-color: var(--anthrazit-hell); }
.chip input:checked + span { border-color: var(--gelb); background: var(--gelb-soft); font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--anthrazit); outline-offset: 2px; }
.unterfeld { border: 1px solid var(--line-soft); border-radius: var(--r-feld); padding: 0.9rem 1rem 1rem; margin: 0 0 1rem; }
.unterfeld legend { font-weight: 600; font-size: 0.92rem; padding: 0 0.4rem; }
.haken-gitter { display: grid; gap: 0.6rem; }
@media (min-width: 640px) { .haken-gitter { grid-template-columns: 1fr 1fr; } }
.mehr-felder { margin: 0 0 1rem; }
.mehr-felder summary { cursor: pointer; font-weight: 600; font-size: 0.95rem; color: var(--ink-2); padding: 0.5rem 0; min-height: 44px; display: flex; align-items: center; }
.mehr-felder[open] summary { color: var(--ink); }
.fluss__fuehrung { display: flex; justify-content: space-between; gap: 0.75rem; margin-top: 1.5rem; }
.fluss__fuehrung .knopf--voll { flex: 1; max-width: 22rem; }
.zusammenfassung { display: grid; gap: 0.7rem; margin: 0 0 1.5rem; }
.zusammenfassung > div { display: grid; grid-template-columns: 7rem 1fr auto; gap: 0.75rem; align-items: baseline; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line-soft); }
@media (max-width: 520px) { .zusammenfassung > div { grid-template-columns: 1fr auto; } .zusammenfassung dt { grid-column: 1 / -1; } }
.zusammenfassung dt { font-size: 0.85rem; color: var(--ink-3); }
.zusammenfassung dd { margin: 0; font-weight: 500; }
.zusammenfassung .bearbeiten { font-size: 0.85rem; color: var(--ink); background: none; border: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--gelb); text-underline-offset: 0.2em; padding: 0.3rem; min-height: 44px; }
.sende-fehler { margin: 0 0 1rem; padding: 0.9rem 1rem; border-radius: var(--r-feld); background: var(--warn-soft); color: var(--warn); }
.sende-fehler[hidden] { display: none; }
.demo-hinweis { margin-top: 1rem; padding: 0.75rem 0.95rem; border-radius: var(--r-feld); background: var(--warn-soft); color: var(--warn); font-size: 0.88rem; }
.demo-hinweis[hidden] { display: none; }
.formular__erfolg { margin-top: 1.25rem; padding: 1.2rem 1.3rem; border-radius: var(--r-feld); background: var(--ok-soft); color: var(--ink); }
.formular__erfolg[hidden] { display: none; }
.formular__erfolg p { margin: 0.3rem 0 0; color: var(--ink-2); }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular .knopf--voll { width: 100%; max-width: 22rem; }
.formular.ist-fertig .knopf--voll, .formular.ist-fertig .feld, .formular.ist-fertig .felder-2, .formular.ist-fertig .unterfeld, .formular.ist-fertig .feld--zeile,
.formular.ist-fertig .formstand, .formular.ist-fertig .mehr-angaben, .formular.ist-fertig .formular__gruppe { display: none; }
@media (max-width: 599px) { .formular .knopf--voll { max-width: none; } }

/* ---- Formulare Kontakt, Offerte, Storno: kurz und lebendig (formulare.js) ---- */
/* Kopf der Formularkarte: Titel und ein Satz, wie wenig es braucht */
.formkopf { margin: 0 0 1.25rem; }
.formkopf h2 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); }
.formkopf p { margin: 0.35rem 0 0; color: var(--ink-2); font-size: 0.95rem; }
/* Gruppen: ruhige Zwischentitel statt einer langen Feldliste */
.formular__gruppe { border: 0; margin: 0 0 0.4rem; padding: 0; min-width: 0; }
.formular__gruppe > legend { padding: 0; margin: 0 0 0.7rem; font-family: var(--f-text); font-size: 0.95rem; font-weight: 600; color: var(--ink); }
/* Trennlinie als Schatten: ein border-top wuerde von der Legende durchschnitten */
.formular__gruppe { margin-top: 0.4rem; padding-top: 1.1rem; box-shadow: inset 0 1px 0 var(--line-soft); }
.honig + .formular__gruppe { margin-top: 0; padding-top: 0; box-shadow: none; }
.formular__gruppe > legend { float: left; width: 100%; }
.formular__gruppe > legend + * { clear: left; }
/* Unterfelder in Formularkarten ohne zweiten Rahmen (keine Kiste in der Kiste) */
.formular .unterfeld { border: 0; padding: 0; margin: 0.4rem 0 1.1rem; min-width: 0; }
.formular .unterfeld > legend { padding: 0; margin: 0 0 0.6rem; font-size: 0.95rem; font-weight: 600; float: left; width: 100%; }
.formular .unterfeld > legend + * { clear: left; }
.formular .haken-gitter { gap: 0.5rem; }

/* Feld ist gueltig: kleiner Haken im Feld, Rahmen beruhigt sich */
.formular .feld.ist-gut > :is(input:not([type="checkbox"]):not([type="radio"]), textarea) { padding-right: 2.9rem; }
.formular .feld.ist-gut :is(input:not([type="checkbox"]), textarea, select):not(:focus-visible) { border-color: color-mix(in oklab, var(--ok) 60%, var(--line-feld)); background-color: var(--paper); }
.formular .feld.ist-gut::after {
  content: ""; position: absolute; right: 0.85rem; bottom: 15px; width: 22px; height: 22px; border-radius: 50%; pointer-events: none;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.formular .feld.ist-gut:has(textarea)::after { bottom: auto; top: calc(0.95rem * 1.6 + 0.4rem + 13px); }
.formular .feld.ist-gut:has(select)::after { right: 2.6rem; }
@media (prefers-reduced-motion: no-preference) {
  .formular .feld.ist-gut::after { animation: feld-gut 360ms var(--feder) both; }
  @keyframes feld-gut { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
  .formular .feld.hat-fehler .feld__fehler { animation: feld-hinweis 260ms var(--ease) both; }
  @keyframes feld-hinweis { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}
.formular .feld label { transition: color 160ms var(--ease); }
.formular .feld:focus-within > label { color: var(--ink); }

/* Fortschritt: «Noch 2 Angaben», ein Balken, der sich fuellt */
.formstand { display: flex; align-items: center; gap: 0.8rem; margin: 0.4rem 0 1rem; font-size: 0.9rem; color: var(--ink-2); }
.formstand__balken { flex: 1; height: 6px; border-radius: 99px; background: var(--sunk); overflow: hidden; }
.formstand__balken span { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--gelb); transform-origin: left center; transform: scaleX(var(--stand, 0)); transition: transform 520ms var(--feder); }
.formstand__text { margin: 0; flex: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.formstand.ist-bereit { color: var(--ok); }
.formstand.ist-bereit .formstand__balken span { background: var(--ok); }
.formstand.ist-bereit .formstand__text::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 0.4rem; vertical-align: -3px; border-radius: 50%;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat; }
@media (prefers-reduced-motion: reduce) { .formstand__balken span { transition: none; } }

/* Freiwillige Angaben: eingeklappt, sichtbar zweitrangig */
.mehr-angaben { margin: 0.2rem 0 1.1rem; border-radius: var(--r-feld); }
.mehr-angaben > summary { list-style: none; display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; cursor: pointer; font-weight: 600; font-size: 0.95rem; color: var(--ink-2); border-radius: 8px; }
.mehr-angaben > summary::-webkit-details-marker { display: none; }
.mehr-angaben > summary::before { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ground); color: var(--ink); font-size: 1.1rem; line-height: 1; transition: transform 300ms var(--feder), background-color 200ms var(--ease); }
.mehr-angaben[open] > summary::before { transform: rotate(45deg); background: var(--sunk); }
.mehr-angaben > summary:hover { color: var(--ink); }
.mehr-angaben > summary:focus-visible { outline: 3px solid var(--anthrazit); outline-offset: 2px; }
.mehr-angaben > summary .hinweis { font-weight: 400; margin-left: -0.3rem; }
.mehr-angaben__inhalt { padding-top: 0.6rem; }
.mehr-angaben__inhalt > .hinweis-klein:first-child { margin: 0 0 0.9rem; }

/* Senden: Knopf zeigt den Zustand, Doppelklick ist gesperrt */
.formular button[type="submit"][aria-busy="true"] { opacity: 1; }
.formular button[type="submit"][aria-busy="true"]::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: sende-dreh 700ms linear infinite; }
@keyframes sende-dreh { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .formular button[type="submit"][aria-busy="true"]::before { animation: none; border-right-color: currentColor; opacity: 0.5; } }

/* Reduzierte Bewegung: Zustaende wechseln sofort */
@media (prefers-reduced-motion: reduce) {
  .mehr-angaben > summary::before, .formular .feld--zeile, .rechner .feld--zeile, .formular .feld--zeile input::after,
  .lokal__karte, .verwandt__karte, .faq-liste summary::after { transition: none; }
}
/* Erfolg: Haken zeichnet sich, Karte hebt sich sanft an */
.formular__erfolg { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.2rem 1rem; align-items: start; }
.formular__erfolg > :not(.formular__haken) { grid-column: 2; }
.formular__haken { grid-row: span 3; width: 44px; height: 44px; }
.formular__haken .haken__kreis { fill: var(--ok); stroke: var(--ok); }
.formular__haken .haken__strich { stroke: #FFFFFF; }
.formular__erfolg :is(h2, h3) { margin: 0.45rem 0 0; font-size: 1.15rem; }
@media (prefers-reduced-motion: no-preference) {
  .formular__erfolg:not([hidden]) { animation: karte-auf 560ms var(--feder) both; }
  .formular__erfolg:not([hidden]) .formular__haken svg { animation: haken-auf 520ms var(--feder) 120ms both; }
  .formular__erfolg:not([hidden]) .haken__strich { animation: haken-zug 480ms var(--feder) 360ms both; }
}

/* Fakten (Vertrauen) */
.fakten { padding: 2rem 0 3rem; }
.fakten__reihe { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.fakt { display: grid; gap: 0.25rem; padding-left: 1rem; border-left: 3px solid var(--gelb); }
.fakt strong { font-family: var(--f-display); font-size: 1.1rem; letter-spacing: -0.01em; }
.fakt span { color: var(--ink-2); font-size: 0.95rem; }

/* Wochenplan */
.wochenplan { margin: 0; background: var(--paper); border-radius: var(--r-card); border-top: 3px solid var(--gelb); box-shadow: var(--schatten-1); padding: 1.2rem 1.25rem 1.4rem; }
.wochenplan figcaption { font-family: var(--f-display); font-weight: 700; font-size: 0.98rem; margin-bottom: 0.9rem; }
.wochenplan__tage { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); text-align: center; margin-bottom: 0.45rem; font-weight: 600; }
.wochenplan__raster { display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 22px; gap: 8px 0.5rem; background: repeating-linear-gradient(to bottom, var(--line-soft) 0 1px, transparent 1px 30px); padding-top: 1px; }
.wp { grid-column: var(--t); grid-row: var(--r) / span var(--h); min-width: 0; background: var(--gelb); color: var(--ink); border-radius: 6px; font-style: normal; font-size: 0.72rem; font-weight: 600; padding: 0.3rem 0.35rem; line-height: 1.15; hyphens: manual; overflow-wrap: break-word; }
.wp--rahmen { background: var(--paper); border: 1.5px solid var(--gelb); }
.wp--dunkel { background: var(--anthrazit); color: #FFFFFF; }

/* ------------------------------- Fuss ------------------------------- */
.fuss { background: var(--anthrazit); color: #D8DEE6; padding: 3.5rem 0 2rem; margin-top: 0; }
.fuss a { color: #FFFFFF; text-decoration: none; }
.fuss a:hover { text-decoration: underline; text-decoration-color: var(--gelb); }
.fuss :focus-visible { outline-color: var(--gelb); }
.fuss__spalten { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); }
.fuss__name { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; color: #FFFFFF; margin: 0 0 0.5rem; }
.fuss__firma p { margin: 0 0 0.6rem; font-size: 0.95rem; }
.fuss h2 { font-family: var(--f-text); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gelb); margin: 0 0 0.4rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-size: 0.95rem; }
/* Fusslinks als 44px-Zeilen: bequem tippbar, ohne die Liste optisch zu strecken */
.fuss ul a, .fuss__recht a, .fuss__firma a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss__recht a { min-width: 44px; }
.fuss__firma p { line-height: 1.5; }
.fuss .folgt { border-color: #3C4653; color: #A9B2BD; }
.fuss__unten { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #333C48; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; font-size: 0.875rem; color: #A9B2BD; }
.fuss__recht { display: flex; flex-wrap: wrap; gap: 0 1.1rem; }
.fuss__recht a { color: #D8DEE6; }

/* ------------------------------- Mobile Aktionsleiste --------------- */
/* Drei Knoepfe gleich hoch; WhatsApp nur so breit wie noetig, auf schmalen Handys nur das Symbol.
   Solange die Knoepfe im Seitenkopf sichtbar sind, ruht die Leiste unten (bewegung.js setzt .leiste-ruht),
   damit nicht zweimal dieselben Aktionen auf einem Bildschirm stehen. Ohne Skript ist sie immer da. */
:root { --leiste-h: 70px; }
.aktionsleiste { position: fixed; inset: auto 0 0 0; z-index: 70; display: flex; gap: 0.5rem; padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom)); background: color-mix(in oklab, var(--paper) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line-soft); transition: transform 420ms var(--feder), opacity 300ms var(--ease); }
.aktionsleiste .knopf { flex: 1 1 0; min-width: 0; min-height: 50px; padding-inline: 0.5rem; font-size: 0.95rem; }
.aktionsleiste .knopf--wa { flex: 0 0 auto; padding-inline: 0.9rem; }
@media (max-width: 420px) { .aktionsleiste .wa-text { display: none; } .aktionsleiste .knopf--wa .wa-icon { width: 24px; height: 24px; } }
html.leiste-ruht .aktionsleiste { transform: translateY(calc(100% + 4px)); opacity: 0; visibility: hidden; transition: transform 420ms var(--feder), opacity 300ms var(--ease), visibility 0s linear 420ms; }
@media (prefers-reduced-motion: reduce) { .aktionsleiste { transition: none; } }
@media (max-width: 699px) { body { padding-bottom: calc(var(--leiste-h) + 12px + env(safe-area-inset-bottom)); } }

/* ------------------------------- Einblenden -------------------------
   Seitenkopf: gestaffelter Auftritt beim Laden, rein in CSS (kein Warten auf Skripte, kein Aufblitzen).
   Weiter unten: bewegung.js setzt .zeige und beim Sichtbarwerden .ist-da. Ohne Skript und mit
   reduzierter Bewegung ist alles sofort da. Nur transform und opacity, keine Layoutverschiebung. */
@media (prefers-reduced-motion: no-preference) {
  :is(.held-sub .held-sub__gitter > div, .held-sub--schmal .wrap) > * { animation: auftritt 560ms cubic-bezier(0.22, 0.7, 0.3, 1) both; }
  :is(.held-sub .held-sub__gitter > div, .held-sub--schmal .wrap) > :nth-child(2) { animation-delay: 80ms; }
  :is(.held-sub .held-sub__gitter > div, .held-sub--schmal .wrap) > :nth-child(3) { animation-delay: 160ms; }
  :is(.held-sub .held-sub__gitter > div, .held-sub--schmal .wrap) > :nth-child(n+4) { animation-delay: 240ms; }
  @keyframes auftritt { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }
  html.bewegt .zeige { opacity: 0; transform: translate3d(0, 20px, 0); }
  html.bewegt .zeige.ist-da { opacity: 1; transform: none; transition: opacity 600ms cubic-bezier(0.22, 0.7, 0.3, 1), transform 600ms cubic-bezier(0.22, 0.7, 0.3, 1); transition-delay: calc(var(--zeige-i, 0) * 70ms); }
}
@media print { html.bewegt .zeige { opacity: 1 !important; transform: none !important; } }

/* ------------------------------- Richtpreis ------------------------- */
.richtpreis { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gelb); border-radius: var(--r-feld); padding: 0.85rem 1rem; margin: 0.25rem 0 0.9rem; transition: opacity 160ms var(--ease); }
.richtpreis[hidden] { display: none; }
.richtpreis__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.richtpreis__kopf span { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.richtpreis__kopf b { font-family: var(--f-display); font-size: 1.45rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.richtpreis__meta { margin: 0.2rem 0 0; font-size: 0.9rem; color: var(--ink-2); }
.richtpreis details { margin-top: 0.5rem; font-size: 0.88rem; }
.richtpreis summary { cursor: pointer; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--gelb); text-underline-offset: 0.2em; }
.richtpreis dl { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1rem; margin: 0.6rem 0 0; }
.richtpreis dt { color: var(--ink-2); }
.richtpreis dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.richtpreis dt.summe, .richtpreis dd.summe { font-weight: 700; color: var(--ink); border-top: 1px solid var(--line); padding-top: 0.35rem; margin-top: 0.2rem; }
.richtpreis .klein { margin: 0.6rem 0 0; }
.richtpreis--laedt { opacity: 0.65; }
.richtpreis--fehler { border-left-color: var(--ink-3); }
.richtpreis--gross { padding: 1.1rem 1.25rem; }
.richtpreis--gross .richtpreis__kopf b { font-size: 2rem; }

/* ------------------------------- Tarif und Rechner ------------------ */
.rechner { background: var(--ground); padding: clamp(1.1rem, 3vw, 1.6rem); margin: 0 0 2.2rem; }
.rechner h2 { font-size: 1.25rem; margin: 0 0 0.9rem; }
.rechner .feld { margin-bottom: 0.8rem; }
.rechner .richtpreis { background: var(--paper); margin-top: 0.4rem; }
.rechner .ctas { margin-top: 0.4rem; }
.rechner .klein { margin: 0.8rem 0 0; }
.tarif-tabelle { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1.75rem; font-size: 0.95rem; }
.tarif-tabelle th, .tarif-tabelle td { text-align: left; padding: 0.65rem 0.6rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.tarif-tabelle th { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.tarif-tabelle td:last-child, .tarif-tabelle th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.tarif-tabelle small { display: block; color: var(--ink-3); font-weight: 400; font-size: 0.875rem; }
.tarif-stand { font-size: 0.875rem; color: var(--ink-3); margin: -1rem 0 1.5rem; }

/* ------------------------------- Mailto-Hinweis, Aktionsleiste mit drei Knoepfen */
.mailto-hinweis { background: var(--gelb-soft); border-left: 4px solid var(--gelb); border-radius: 0 12px 12px 0; padding: 1rem 1.2rem; margin: 1rem 0 0; color: var(--ink-2); }
.mailto-hinweis[hidden] { display: none; }
.mailto-hinweis .knopf { margin-top: 0.7rem; }

.bild__symbol { position: absolute; right: 0.6rem; bottom: 0.5rem; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(27, 32, 40, 0.62); color: #fff; padding: 0.15rem 0.55rem; border-radius: 99px; pointer-events: none; }

/* ------------------------------- Anfrage: drei Schritte ------------- */
.stepper--drei { grid-template-columns: repeat(3, 1fr); }
.chips--vier { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .chips--vier { grid-template-columns: repeat(4, 1fr); } }
.richtpreis-kompakt { display: inline-flex; align-items: baseline; gap: 0.4rem; background: var(--gelb-soft); border: 1px solid color-mix(in oklab, var(--gelb) 45%, transparent); border-radius: 99px; padding: 0.25rem 0.75rem; font-size: 0.85rem; color: var(--ink-2); white-space: nowrap; }
.richtpreis-kompakt b { font-family: var(--f-display); font-size: 1rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.richtpreis-kompakt.richtpreis--laedt { opacity: 0.6; }
.richtpreis-kompakt.richtpreis--fehler { background: var(--sunk); border-color: var(--line); }
.frage--klein { font-size: 1rem; margin: 1.1rem 0 0.5rem; }
.fluss__rechtlich { margin: 1rem 0 0; }
.zusammenfassung .bearbeiten { white-space: nowrap; }

/* ====================================================================
   Revision 17: Buchung und Bestaetigung im Apple-Stil
   Ruhige Flaechen, doppelte Rahmen (Schale + Kern), Segmente statt
   Knopfreihen, eine mitlaufende Reisekarte. Palette unveraendert.
   ==================================================================== */
:root {
  --r-schale: 28px; --r-kern: 22px;
  --feder: cubic-bezier(0.32, 0.72, 0, 1);
  --schatten-weich: 0 1px 2px rgba(27, 32, 40, 0.05), 0 12px 32px -12px rgba(27, 32, 40, 0.16), 0 40px 80px -40px rgba(27, 32, 40, 0.18);
  --schale-grund: color-mix(in oklab, var(--ink) 4%, var(--paper));
}
.sprung-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Doppelter Rahmen: aussen eine leise Schale, innen der eigentliche Inhalt */
.schale { background: var(--schale-grund); border-radius: var(--r-schale); padding: 6px; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ink) 5%, transparent); }
.schale__kern { background: var(--paper); border-radius: var(--r-kern); box-shadow: var(--schatten-weich), inset 0 1px 0 rgba(255, 255, 255, 0.9); }

/* Knopf mit Pfeil im eigenen Kreis */
.knopf--pfeil { justify-content: space-between; gap: 1rem; padding: 6px 6px 6px 1.6rem; min-height: 58px; }
.knopf__kreis { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--anthrazit); color: var(--gelb); transition: transform 380ms var(--feder); }
.knopf--pfeil:hover .knopf__kreis { transform: translateX(3px) scale(1.04); }
.knopf--pfeil:active { transform: scale(0.98); }
.knopf.sendet .knopf__kreis svg { animation: sendet-puls 900ms var(--feder) infinite; }
@keyframes sendet-puls { 0%, 100% { opacity: 1; transform: none; } 50% { opacity: 0.35; transform: translateX(3px); } }

/* Segmente: zwei bis vier Optionen wie ein iOS-Umschalter */
.chips { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; padding: 4px; background: var(--ground); border-radius: 14px; margin: 0.25rem 0 1.1rem; }
.chips--drei, .chips--vier { grid-template-columns: none; }
@media (max-width: 480px) { .chips--vier, .chips--drei { grid-auto-flow: row; grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .chips--zwei { grid-auto-flow: row; } }
.chip span { min-height: 46px; padding: 0.5rem 0.75rem; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); font-weight: 500; font-size: 0.94rem; line-height: 1.25; transition: background-color 220ms var(--feder), box-shadow 220ms var(--feder), color 160ms var(--ease); }
.chip span:hover { color: var(--ink); border-color: transparent; }
.chip input:checked + span { background: var(--paper); color: var(--ink); font-weight: 600; border-color: transparent; box-shadow: 0 1px 2px rgba(27, 32, 40, 0.08), 0 4px 10px -3px rgba(27, 32, 40, 0.14); }

/* Felder in Formularkarten: gefuellt statt umrandet */
:is(.fluss, .panel) .feld :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  background: var(--ground); border: 1px solid transparent; border-radius: 12px; min-height: 52px; padding: 0.7rem 0.95rem;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
:is(.fluss, .panel) .feld :is(input, select, textarea):hover { border-color: var(--line); }
:is(.fluss, .panel) .feld :is(input, select, textarea):focus-visible { background: var(--paper); border-color: var(--ink); outline: none; box-shadow: 0 0 0 4px color-mix(in oklab, var(--gelb) 35%, transparent); }
:is(.fluss, .panel) .feld.hat-fehler :is(input, select, textarea) { border-color: var(--warn); background: var(--warn-soft); }
.feld select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235E6975' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }

/* -------------------------------------------------- Buchungsseite */
.buchen { padding: clamp(1rem, 3vw, 2.25rem) 0 clamp(4rem, 8vw, 7rem); background: linear-gradient(180deg, var(--ground) 0, var(--paper) 460px); }
.buchen__gitter { display: grid; gap: 1.25rem; grid-template-areas: "kopf" "form"; }
.buchen__gitter > * { min-width: 0; }
.buchen__kopf { grid-area: kopf; }
.buchen__kopf h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.5rem); letter-spacing: -0.035em; }
.buchen__unter { color: var(--ink-2); max-width: 50ch; margin: 0.75rem 0 0; font-size: 1.05rem; }
.buchen__unter a { font-weight: 600; white-space: nowrap; }
.buchen__form { grid-area: form; }
.reise { grid-area: reise; display: none; }
@media (min-width: 960px) {
  .buchen__gitter { grid-template-columns: minmax(0, 1fr) 21.5rem; grid-template-areas: "kopf reise" "form reise"; column-gap: 3rem; row-gap: 1.75rem; align-items: start; }
  .reise { display: block; position: sticky; top: 88px; }
  #preisKopf, #preisSchaetzung { display: none !important; }
}
@media (min-width: 1180px) { .buchen__gitter { grid-template-columns: minmax(0, 1fr) 23.5rem; column-gap: 4.5rem; } }

/* Fortschritt: drei Balken, die sich fuellen */
.buchen__leiste { display: flex; align-items: center; gap: 0.9rem; margin: 0 0 0.9rem; }
.buchen .stepper { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0; }
.buchen .stepper li { border: 0; padding: 0; font-size: 0.8rem; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--ink-3); }
.buchen .stepper li::after { content: none; }
.buchen .stepper li::before { content: ""; display: block; height: 4px; margin-bottom: 7px; border-radius: 99px; background: var(--sunk); background-image: linear-gradient(var(--gelb), var(--gelb)); background-repeat: no-repeat; background-size: 0% 100%; transition: background-size 600ms var(--feder); }
.buchen .stepper li.ist-aktiv::before, .buchen .stepper li.ist-fertig::before { background-size: 100% 100%; }
.buchen .stepper li.ist-aktiv, .buchen .stepper li.ist-fertig { color: var(--ink); }
.buchen__leiste .richtpreis-kompakt { flex: none; align-self: flex-start; }

/* Formularkarte */
.fluss.schale__kern { padding: clamp(1.25rem, 3.5vw, 2.25rem); }
.fluss .frage { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem); margin: 0 0 1.1rem; letter-spacing: -0.02em; }
.fluss .frage--klein { font-family: var(--f-text); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin: 1.6rem 0 0.55rem; }
.fluss .hinweis-klein { font-size: 0.86rem; line-height: 1.45; margin: -0.35rem 0 1rem; }
.fluss .hinweis-klein--oben { margin: -0.6rem 0 1.25rem; }
.fluss__fuehrung { align-items: center; margin-top: 1.9rem; }
.fluss__fuehrung .knopf--voll { flex: 1; max-width: 20rem; }
@media (max-width: 560px) { .fluss__fuehrung .knopf--voll { max-width: none; } }

/* Fahrtarten als Kacheln */
.arten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.art { position: relative; display: block; }
.art input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.art span { display: grid; align-content: space-between; gap: 12px; min-height: 96px; padding: 12px 12px 13px; border-radius: 16px; background: var(--ground); cursor: pointer; transition: background-color 200ms var(--ease), box-shadow 260ms var(--feder), transform 260ms var(--feder); }
.art i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--paper); color: var(--ink); font-style: normal; transition: background-color 260ms var(--feder), transform 260ms var(--feder); }
.art b { font-weight: 600; font-size: 0.9rem; line-height: 1.2; }
.art span:hover { background: var(--sunk); }
.art span:active { transform: scale(0.97); }
.art input:checked + span { background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink), 0 8px 18px -10px rgba(27, 32, 40, 0.35); }
.art input:checked + span i { background: var(--gelb); transform: scale(1.06); }
.art input:focus-visible + span { outline: 3px solid var(--anthrazit); outline-offset: 2px; }
@media (max-width: 560px) {
  .arten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .art span { min-height: 78px; padding: 10px 11px 11px; gap: 8px; border-radius: 14px; }
  .art i { width: 32px; height: 32px; }
  .art i svg { width: 18px; height: 18px; }
  .art b { font-size: 0.86rem; overflow-wrap: anywhere; }
  .fluss.schale__kern { padding: 1.1rem 0.95rem 1.25rem; }
  .buchen .schale { padding: 4px; border-radius: 24px; }
  .buchen .schale__kern { border-radius: 20px; }
  .chip span { font-size: 0.9rem; padding-inline: 0.5rem; }
  .route { padding-right: 54px; }
  .buchen__leiste .richtpreis-kompakt span { display: none; }
  .buchen .stepper li { font-size: 0.74rem; }
}
/* Auf der Buchungsseite ist "Fahrt anfragen" in der Aktionsleiste doppelt */
.buchung .aktionsleiste a[href^="/fahrt-anfragen"] { display: none; }

/* Strecke: ein Block mit Punkt, Linie, Punkt und Tauschknopf */
.route { position: relative; display: grid; background: var(--ground); border-radius: 18px; padding: 0 60px 0 46px; transition: background-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.route:focus-within { background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 5px color-mix(in oklab, var(--gelb) 30%, transparent); }
.route__feld { position: relative; margin: 0; }
.route__feld + .route__feld { border-top: 1px solid var(--line); }
.route__feld::before { content: ""; position: absolute; left: -30px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--gelb); box-shadow: 0 0 0 2px var(--ink); }
.route__feld[data-feld="nach"]::before { border-radius: 3px; background: var(--ink); }
.route__linie { position: absolute; left: 21px; top: 50%; height: 36%; transform: translateY(-50%); border-left: 2px dotted var(--ink-3); }
.route__feld label { margin: 12px 0 0; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.route__feld:focus-within label { color: var(--ink); }
.fluss .route .feld input:not([type]),
.fluss .route .feld input[type="text"] { min-height: 42px; padding: 2px 0 12px; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 1.06rem; font-weight: 500; }
.fluss .route .feld input:focus-visible { box-shadow: none; outline: none; }
.route .feld__fehler { margin: -6px 0 10px; }
.route .feld.hat-fehler input { background: transparent !important; }
.route__tausch { position: absolute; right: 10px; top: 50%; width: 42px; height: 42px; margin-top: -21px; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 2px rgba(27, 32, 40, 0.1), 0 4px 12px -4px rgba(27, 32, 40, 0.2); transition: transform 200ms var(--feder), box-shadow 200ms var(--ease); }
.route__tausch:hover { transform: scale(1.06); }
.route__tausch:active { transform: scale(0.94); }
.route__tausch.dreht svg { animation: tausch-dreh 460ms var(--feder); }
@keyframes tausch-dreh { from { transform: rotate(0); } to { transform: rotate(180deg); } }

.mehr-felder--leise { margin: 0.35rem 0 1rem; }
.mehr-felder--leise summary { list-style: none; display: inline-flex; gap: 0.45rem; align-items: center; font-size: 0.92rem; font-weight: 600; color: var(--ink-2); min-height: 44px; }
.mehr-felder--leise summary::-webkit-details-marker { display: none; }
.mehr-felder--leise summary::before { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ground); font-size: 1rem; line-height: 1; transition: transform 260ms var(--feder); }
.mehr-felder--leise[open] summary::before { transform: rotate(45deg); }
.mehr-felder--leise summary:hover { color: var(--ink); }

.notiz { background: var(--gelb-soft); border-radius: 14px; padding: 0.85rem 1rem; margin: 0 0 1rem; font-size: 0.94rem; }
.notiz p { margin: 0; color: var(--ink-2); }

/* Details: Gruppen, Schalterzeilen, Haken, Wochentage */
.gruppe { margin-bottom: 0.4rem; }
.liste { background: var(--ground); border-radius: 16px; margin: 0 0 1rem; }
.liste__zeile { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 62px; padding: 10px 14px 10px 16px; cursor: pointer; }
.liste__zeile > span { display: grid; gap: 1px; font-weight: 600; font-size: 0.98rem; }
.liste__zeile small { font-weight: 400; font-size: 0.84rem; color: var(--ink-3); }
.liste__zusatz { padding: 0 16px 14px; }
.liste .feld { margin-bottom: 0.6rem; }
:is(.fluss, .panel) .liste .feld :is(input, select, textarea) { background: var(--paper); }
.schalter { appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 51px; height: 31px; margin: 0; border-radius: 99px; background: var(--line); cursor: pointer; transition: background-color 240ms var(--feder); }
.schalter::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 2px 5px rgba(27, 32, 40, 0.22), 0 0 0 0.5px rgba(27, 32, 40, 0.06); transition: transform 300ms var(--feder); }
.schalter:checked { background: var(--anthrazit); }
.schalter:checked::after { transform: translateX(20px); }
.schalter:focus-visible { outline: 3px solid var(--anthrazit); outline-offset: 3px; }
.fluss .unterfeld { border: 0; padding: 0; margin: 0 0 1rem; }
.fluss .unterfeld legend { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); padding: 0; margin: 0.4rem 0 0.6rem; }
.fluss .haken-gitter { gap: 6px; margin-bottom: 0.9rem; }
.haken { display: flex; align-items: center; gap: 0.75rem; min-height: 54px; padding: 10px 14px; border-radius: 14px; background: var(--ground); cursor: pointer; transition: background-color 200ms var(--ease), box-shadow 220ms var(--feder); }
.haken input { appearance: none; -webkit-appearance: none; flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin: 0; border-radius: 7px; border: 1.5px solid var(--ink-3); background: var(--paper); cursor: pointer; transition: background-color 180ms var(--ease), border-color 180ms var(--ease); }
.haken input::after { content: ""; width: 6px; height: 11px; border: solid #FFFFFF; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px) scale(0); transition: transform 220ms var(--feder); }
.haken input:checked { background: var(--anthrazit); border-color: var(--anthrazit); }
.haken input:checked::after { transform: rotate(45deg) translate(-1px, -1px) scale(1); }
.haken input:focus-visible { outline: 3px solid var(--anthrazit); outline-offset: 2px; }
.haken span { font-weight: 500; font-size: 0.95rem; line-height: 1.3; }
.haken:has(input:checked) { background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); }
.tage { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.3rem; }
.tage label { position: relative; }
.tage input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.tage span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); font-weight: 600; font-size: 0.88rem; cursor: pointer; transition: background-color 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--feder); }
.tage input:checked + span { background: var(--anthrazit); color: #FFFFFF; }
.tage input:focus-visible + span { outline: 3px solid var(--anthrazit); outline-offset: 2px; }
.tage span:active { transform: scale(0.92); }

/* Schritt 3: Ueberblick wie eine Einstellungsliste */
.ueberblick { margin-top: 1.9rem; padding: 1.1rem 1.25rem 0.5rem; border-radius: 18px; background: var(--ground); }
.ueberblick__titel { font-size: 1.05rem; margin: 0 0 0.3rem; }
.ueberblick .zusammenfassung { gap: 0; margin: 0; }
.ueberblick .zusammenfassung > div { grid-template-columns: 6.8rem minmax(0, 1fr) auto; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.ueberblick .zusammenfassung > div:last-child { border-bottom: 0; }
.ueberblick .zusammenfassung dd { overflow-wrap: break-word; min-width: 0; }
.ueberblick .bearbeiten { font-weight: 600; text-decoration: none; color: var(--ink-2); padding: 0.3rem 0.5rem; border-radius: 8px; }
.ueberblick .bearbeiten:hover { background: var(--paper); color: var(--ink); }
.ueberblick__preis { border-top: 1px solid var(--line); padding: 0.85rem 0 0.4rem; }
.ueberblick__preis .hinweis-klein { margin: 0.35rem 0 0.2rem; }
.richtpreis--schlicht { background: none; border: 0; padding: 0; margin: 0; }
.zusatz { font-size: 0.88rem; color: var(--ink-2); margin: 0.3rem 0 0.4rem; }
.zusatz summary { cursor: pointer; font-weight: 600; min-height: 40px; display: inline-flex; align-items: center; }
.zusatz ul { margin: 0.2rem 0 0.5rem; padding-left: 1.1rem; display: grid; gap: 0.25rem; }
.status-zeile { display: flex; gap: 0.55rem; align-items: flex-start; margin: 1.1rem 0 0; font-size: 0.9rem; color: var(--ink-2); }
.status-zeile svg { flex: none; margin-top: 2px; color: var(--ink-3); }
.sende-fehler { margin-top: 1rem; border-radius: 14px; }
.fluss__rechtlich { text-align: center; font-size: 0.82rem; }

/* Reisekarte (nur Desktop) */
.reise__karte { overflow: hidden; }
.bild.reise__bild { aspect-ratio: 16 / 9; border-radius: 0; }
.reise__bild img { object-position: center 62%; }
.reise__inhalt { padding: 1.15rem 1.35rem 1.35rem; }
.reise__art { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1.1rem; font-weight: 600; font-size: 0.95rem; }
.reise__art-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--gelb); }
.reise__art-icon svg { width: 18px; height: 18px; }
.reise__art-icon:empty { background: var(--ground); }
.reise__route { list-style: none; position: relative; display: grid; gap: 16px; margin: 0; padding: 0 0 0 24px; }
.reise__route::before, .reise__route::after { content: ""; position: absolute; left: 5px; top: 12px; bottom: 12px; border-left: 2px dotted var(--line); }
.reise__route::after { border-left: 2px solid var(--gelb-2); transform: scaleY(0); transform-origin: top; transition: transform 800ms var(--feder); }
.reise.hat-von.hat-nach .reise__route::after { transform: scaleY(1); }
.reise__halt { position: relative; display: grid; gap: 1px; }
.reise__halt::before { content: ""; position: absolute; left: -24px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line); transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease); }
.reise__halt--ziel::before { border-radius: 3px; }
.reise.hat-von .reise__halt--start::before { background: var(--gelb); box-shadow: 0 0 0 2px var(--ink); }
.reise.hat-nach .reise__halt--ziel::before { background: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.reise__halt--stopp::before { width: 8px; height: 8px; left: -22px; top: 7px; background: var(--ink-3); box-shadow: none; }
.reise__halt small { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); }
.reise__halt b { font-weight: 600; font-size: 1rem; line-height: 1.3; overflow-wrap: break-word; }
.reise:not(.hat-von) #rVon, .reise:not(.hat-nach) #rNach { color: var(--ink-3); font-weight: 500; }
.reise__marken { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 1.1rem 0 0; padding: 0; }
.reise__marken:empty { display: none; }
.reise__marken li { padding: 5px 11px; border-radius: 99px; background: var(--ground); color: var(--ink-2); font-size: 0.8rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.richtpreis--reise { margin: 1.1rem 0 0; padding: 1rem 0 0; border: 0; border-top: 1px solid var(--line-soft); border-radius: 0; background: none; }
.richtpreis--reise .richtpreis__kopf b { font-size: 2.1rem; }
.richtpreis--reise .richtpreis__meta { font-size: 0.84rem; }
.reise__vertrauen { list-style: none; display: grid; gap: 0.5rem; margin: 1.15rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line-soft); font-size: 0.86rem; color: var(--ink-2); }
.reise__vertrauen li { display: flex; align-items: center; gap: 0.55rem; }
.reise__vertrauen li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--gelb-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1' fill='none' stroke='%231B2028' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* -------------------------------------------------- Bestaetigung */
.ankunft { padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 7rem); background: radial-gradient(900px 420px at 50% -8%, var(--gelb-soft), transparent 72%), var(--paper); }
.ankunft__wrap { max-width: 42rem; text-align: center; }
.ankunft__wrap h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.2rem); letter-spacing: -0.035em; }
.ankunft__lead { color: var(--ink-2); font-size: 1.12rem; max-width: 40ch; margin: 0.8rem auto 2.2rem; }
.ankunft__haken { width: 64px; height: 64px; margin: 0 auto 1.1rem; }
.haken__kreis { fill: var(--gelb); stroke: var(--gelb-2); stroke-width: 2; }
.haken__strich { fill: none; stroke: var(--ink); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ankunft__haken svg { animation: haken-auf 560ms var(--feder) both; }
  .haken__strich { animation: haken-zug 520ms var(--feder) 280ms both; }
  @keyframes haken-auf { from { transform: scale(0.5); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes haken-zug { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
  .ankunft .schale--karte { animation: karte-auf 700ms var(--feder) 180ms both; }
  @keyframes karte-auf { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }
}
.ankunft__leer .ctas { justify-content: center; }
.ankunft__leer .buchen__unter { margin-inline: auto; }

.schale--karte { text-align: left; }
.fahrkarte { overflow: hidden; }
.bild.fahrkarte__bild { aspect-ratio: 21 / 8; border-radius: 0; }
.fahrkarte__bild img { object-position: center 64%; }
.fahrkarte__oben { padding: 1.3rem 1.5rem 1.4rem; }
.fahrkarte__unten { padding: 1.25rem 1.5rem 1.5rem; }
.fahrkarte__kopf { display: flex; justify-content: space-between; align-items: center; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.fahrkarte__status { color: var(--ok); background: var(--ok-soft); padding: 4px 10px; border-radius: 99px; letter-spacing: 0.04em; }
.fahrkarte__titel { font-size: 1.5rem; margin: 0.7rem 0 1.3rem; }
.fahrkarte__strecke { display: grid; grid-template-columns: minmax(0, 1fr) minmax(64px, 1fr) minmax(0, 1fr); gap: 0.9rem; align-items: center; }
.fahrkarte__ort small, .fahrkarte__fakten small, .fahrkarte__referenz small { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.fahrkarte__ort b { display: block; font-size: 1rem; line-height: 1.3; overflow-wrap: break-word; }
.fahrkarte__ort--ziel { text-align: right; }
.fahrkarte__weg { position: relative; height: 24px; }
.fahrkarte__spur { position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--line); }
.fahrkarte__fahrer { position: absolute; inset: 0; }
.fahrkarte__auto { position: absolute; right: 0; top: 50%; margin-top: -12px; }
@media (prefers-reduced-motion: no-preference) {
  .fahrkarte__fahrer { animation: auto-fahrt 2.4s cubic-bezier(0.45, 0, 0.2, 1) 0.8s both; }
  @keyframes auto-fahrt { from { transform: translateX(calc(-100% + 34px)); } to { transform: none; } }
}
.fahrkarte__fakten { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 1.5rem; margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); }
.fahrkarte__fakten b { display: block; font-weight: 600; font-variant-numeric: tabular-nums; }
#fkPreisBlock { text-align: right; }
#fkPreis { font-family: var(--f-display); font-size: 1.7rem; letter-spacing: -0.02em; line-height: 1.1; }
#fkPreisMeta { display: block; font-size: 0.8rem; color: var(--ink-3); }
.fahrkarte__perforation { position: relative; margin: 0 1.25rem; border-top: 2px dashed var(--line); }
.fahrkarte__perforation::before, .fahrkarte__perforation::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--schale-grund); }
.fahrkarte__perforation::before { left: calc(-1.25rem - 11px); }
.fahrkarte__perforation::after { right: calc(-1.25rem - 11px); }
.fahrkarte__referenz { display: flex; justify-content: space-between; align-items: baseline; margin: 0; }
.fahrkarte__referenz b { font-family: var(--f-mono); font-size: 1.05rem; letter-spacing: 0.04em; }
.fahrkarte__gruss { margin: 0.9rem 0 0; color: var(--ink); font-weight: 500; }
.fahrkarte__naechstes { list-style: none; counter-reset: n; display: grid; gap: 0.55rem; margin: 1.1rem 0 0; padding: 0; font-size: 0.92rem; color: var(--ink-2); }
.fahrkarte__naechstes li { counter-increment: n; display: flex; gap: 0.7rem; align-items: baseline; }
.fahrkarte__naechstes li::before { content: counter(n); flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ground); font-size: 0.75rem; font-weight: 700; color: var(--ink); translate: 0 3px; }
.fahrkarte__naechstes li:first-child::before { background: var(--gelb); }
.fahrkarte__aktionen { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.3rem; }
.fahrkarte__aktionen .knopf { min-height: 46px; padding: 0.6rem 1.15rem; font-size: 0.94rem; }
.fahrkarte__merken { margin: 0.7rem 0 0; font-size: 0.88rem; color: var(--ok); overflow-wrap: anywhere; }
.ankunft__fuss { font-size: 0.9rem; color: var(--ink-2); max-width: 52ch; margin: 1.6rem auto 0; }
.ankunft .mailto-hinweis, .ankunft .demo-hinweis { text-align: left; margin-top: 1.25rem; }
@media (max-width: 520px) {
  .fahrkarte__oben, .fahrkarte__unten { padding-inline: 1.1rem; }
  .fahrkarte__perforation { margin-inline: 1rem; }
  .fahrkarte__perforation::before { left: calc(-1rem - 11px); }
  .fahrkarte__perforation::after { right: calc(-1rem - 11px); }
  .fahrkarte__strecke { grid-template-columns: 1fr; gap: 0.35rem; }
  .fahrkarte__ort--ziel { text-align: left; }
  .fahrkarte__weg { height: 26px; }
  .fahrkarte__fakten { grid-template-columns: 1fr; }
  #fkPreisBlock { text-align: left; }
}
.fahrkarte__rueck { display: block; margin-top: 0.3rem; font-size: 0.88rem; color: var(--ink-2); }

/* Bilder in Seitenleisten und Unterseiten-Koepfen */
.bild--seite { aspect-ratio: 16 / 10; margin: -0.4rem -0.5rem 1.2rem; width: calc(100% + 1rem); max-width: none; border-radius: 12px; }
.held-sub__gitter .bild--held { box-shadow: var(--schatten-weich); }
@media (max-width: 899px) { .held-sub__gitter .bild--held { aspect-ratio: 16 / 10; } }

/* -------------------------------------------------- Karten und Flaechen (ein System)
   Radius --r-card (20) fuer Karten, --r-gross (24) fuer Bilder und Formularkarten.
   Innenraum --raum-karte, Abstand im Gitter --raum-gitter. Anheben nur mit Maus,
   auf Touch ein kurzer Druckzustand. */
.held-sub h1 { letter-spacing: -0.035em; }
.held-sub__gitter .bild--held { border-radius: var(--r-gross); }
.held-sub .lead-klein { font-size: 1.02rem; margin-top: 1rem; }
.enthalten, .lokal__karte, .verwandt__karte, .region, .branche, .zahl-liste li, .karte-platzhalter { border-radius: var(--r-card); }
.enthalten, .lokal__karte, .verwandt__karte, .region, .branche, .karte-platzhalter { padding: var(--raum-karte); }
.zahl-liste li { padding: var(--raum-karte) var(--raum-karte) var(--raum-karte) calc(var(--raum-karte) + 2.1rem); }
.zahl-liste li::before { left: var(--raum-karte); top: calc(var(--raum-karte) - 0.05rem); }
.lokal__karten, .verwandt, .branchen, .regionen, .zahl-liste { gap: var(--raum-gitter); }
.lokal__karte, .verwandt__karte { box-shadow: 0 1px 2px rgba(27, 32, 40, 0.04); transition: transform 360ms var(--feder), box-shadow 360ms var(--feder), background-color 200ms var(--ease); }
.lokal__karte span::after, .verwandt__karte strong::after { content: "→"; display: inline-block; margin-left: 0.35em; transition: transform 300ms var(--feder); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .lokal__karte:hover, .verwandt__karte:hover { transform: translateY(-4px); box-shadow: var(--schatten-weich); }
  .lokal__karte:hover span::after, .verwandt__karte:hover strong::after { transform: translateX(3px); }
}
@media (hover: none) { .lokal__karte:hover, .verwandt__karte:hover { transform: none; box-shadow: 0 1px 2px rgba(27, 32, 40, 0.04); } }
/* Druckzustand: Karte, Ortslink, Segment geben beim Tippen nach */
@media (prefers-reduced-motion: no-preference) {
  .lokal__karte:active, .verwandt__karte:active, .orte li a:active { transform: scale(0.98); transition-duration: 90ms; }
  .chip span:active, .haken:active, .feld--zeile:active { transform: scale(0.98); }
  .chip span, .haken, .feld--zeile { transition: transform 160ms var(--feder), background-color 200ms var(--ease), box-shadow 200ms var(--ease); }
}
.hinweis-box { border-radius: 0 var(--r-feld) var(--r-feld) 0; }
.rechner { border-radius: var(--r-gross); }

/* -------------------------------------------------- Pruefung 2026-09-25: Kontrast und Lesbarkeit
   Feldraender, Schalter und gewaehlte Segmente waren mit 1.1:1 bis 1.3:1 kaum zu sehen
   (WCAG 1.4.11 verlangt 3:1). Kleine Versal-Etiketten (11 bis 13 px) sind fuer aeltere
   Menschen schwer lesbar. */
:root { --line-feld: #7D8894; }
.feld input:not([type="checkbox"]):not([type="radio"]), .feld select, .feld textarea { border-color: var(--line-feld); }
:is(.fluss, .panel, .widget, .rechner) .feld :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { background: var(--ground); border: 1px solid var(--line-feld); border-radius: 12px; min-height: 52px; }
:is(.fluss, .panel, .widget, .rechner) .feld :is(input, select, textarea):focus-visible { background: var(--paper); border-color: var(--ink); outline: 3px solid var(--anthrazit); outline-offset: 2px; box-shadow: none; }
:is(.fluss, .panel, .widget, .rechner) .liste .feld :is(input, select, textarea) { background: var(--paper); }
.route { box-shadow: inset 0 0 0 1px var(--line-feld); }
.route:focus-within { box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px color-mix(in oklab, var(--gelb) 45%, transparent); }
.fluss .route .feld input[type="text"], .fluss .route .feld input:not([type]) { border: 0; background: transparent; }
.fluss .route .feld input:focus-visible { outline: none; }
.chip input:checked + span { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), 0 1px 2px rgba(27, 32, 40, 0.08); }
.schalter { background: var(--line-feld); }
.haken input { border-color: var(--line-feld); }
.tage span { box-shadow: inset 0 0 0 1px var(--line-feld); }

.route__feld label, .fluss .frage--klein, .fluss .unterfeld legend, .reise__halt small,
.fahrkarte__ort small, .fahrkarte__fakten small, .fahrkarte__referenz small, .fahrkarte__kopf,
.richtpreis__kopf span, .tarif-tabelle th, .wochenplan__tage {
  font-size: 0.875rem; letter-spacing: 0.01em; text-transform: none;
}
.fluss .frage--klein { font-weight: 600; color: var(--ink-2); }
.bild__symbol { font-size: 0.75rem; }
.fahrkarte__ref { text-transform: none; letter-spacing: 0.01em; color: var(--ink-2); }
.fahrkarte__ref b { font-family: var(--f-mono); font-size: 1rem; color: var(--ink); letter-spacing: 0.04em; margin-left: 0.3rem; }
#bestTitel:focus { outline: none; }
@media (max-width: 520px) { .bild.fahrkarte__bild { aspect-ratio: 3 / 1; } }

/* Auf einen Blick: zitierfaehige Kurzuebersicht (Ueber uns, Kontakt) */
.fakten-block { max-width: 52rem; }
.fakten-block h2 { font-size: var(--t-md); margin: 0 0 1rem; }
.fakten-block dl { margin: 0; display: grid; background: var(--paper); border-radius: 20px; padding: 0.4rem 1.4rem; box-shadow: 0 1px 2px rgba(27, 32, 40, 0.04); }
.abschnitt:not(.abschnitt--ground) .fakten-block dl { background: var(--ground); box-shadow: none; }
.fakten-block dl > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--line-soft); }
.fakten-block dl > div:first-child { border-top: 0; }
.fakten-block dt { font-weight: 600; }
.fakten-block dd { margin: 0; color: var(--ink-2); }
@media (max-width: 560px) { .fakten-block dl > div { grid-template-columns: 1fr; gap: 0.15rem; } }
.ziele--gitter { display: grid; gap: 0 2rem; }
@media (min-width: 800px) { .ziele--gitter { grid-template-columns: 1fr 1fr; } }
.orte--links { justify-content: flex-start; }
.menu__gruppe { margin: 1.4rem 0 0.2rem; font-size: 0.875rem; font-weight: 600; color: var(--ink-3); }
.menu__gruppe:first-child { margin-top: 0.4rem; }
.menu nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gelb); padding-left: 0.9rem; }
@media (max-width: 699px) { .menu__aktionen { display: none; } }
.kopf__nav a { font-size: 0.95rem; color: var(--ink); }
.linkliste--abstand { margin-top: 2rem; }

/* === Buchung Revision 20 === */
/* Zusagen im Kopf der Buchungsseite: drei bestaetigte Fakten, eine ruhige Zeile */
.buchen__zusagen { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem 1.25rem; margin: 1rem 0 0; padding: 0; font-size: 0.9rem; color: var(--ink-2); }
.buchen__zusagen li { display: inline-flex; align-items: center; gap: 0.5rem; }
.buchen__zusagen li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--gelb-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1' fill='none' stroke='%231B2028' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--gelb) 55%, transparent); }
@media (max-width: 560px) { .buchen__zusagen { flex-direction: column; gap: 0.4rem; font-size: 0.88rem; } }

/* Schnellwahl Flughafen unter der Strecke */
.flughaefen { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0.7rem 0 0.2rem; }
.flughaefen__titel { font-size: 0.86rem; color: var(--ink-3); margin-right: 0.15rem; }
.flughaefen__chip { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0.4rem 0.95rem; border: 0; border-radius: 99px; background: var(--ground); color: var(--ink); font: 600 0.9rem/1.2 var(--f-text); white-space: nowrap; cursor: pointer; transition: background-color 180ms var(--ease), box-shadow 220ms var(--feder); }
.flughaefen__chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gelb); box-shadow: 0 0 0 1.5px var(--ink); }
.flughaefen__chip:hover { background: var(--sunk); }
.flughaefen__chip:active { box-shadow: inset 0 0 0 2px var(--ink); }
.flughaefen__chip:focus-visible { outline: 3px solid var(--anthrazit); outline-offset: 2px; }

/* Termin: drei bis vier Felder im selben Raster (Datum, Flugzeit, Abholzeit, Flugnummer) */
.fluss .termin { row-gap: 0.2rem; }
@media (max-width: 400px) { .fluss .termin { grid-template-columns: 1fr; } }

/* Vorschlag fuer die Abholzeit beim Abflug */
.vorschlag { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.9rem; margin: 0.15rem 0 1rem; padding: 0.75rem 1rem; border-radius: 14px; background: var(--gelb-soft); font-size: 0.9rem; line-height: 1.45; color: var(--ink-2); }
.vorschlag p { margin: 0; flex: 1 1 16rem; }
.vorschlag__knopf { min-height: 44px; padding: 0.3rem 0.2rem; border: 0; background: none; color: var(--ink); font: 600 0.9rem/1.2 var(--f-text); white-space: nowrap; cursor: pointer; text-decoration: underline; text-decoration-color: var(--gelb-2); text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
.vorschlag__knopf:hover { text-decoration-color: var(--ink); }
.vorschlag__knopf:focus-visible { outline: 3px solid var(--anthrazit); outline-offset: 2px; border-radius: 6px; }

/* Wartezeit: fuenf Segmente, auf dem Handy drei pro Zeile */
.wartezeit { margin: 0 0 1rem; }
.fluss .wartezeit .frage--klein { margin-top: 0.4rem; }
.chips--fuenf { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.chips--fuenf .chip span { white-space: nowrap; padding-inline: 0.35rem; }
@media (max-width: 480px) { .chips--fuenf { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Schritt 2: Zurueck, Ueberspringen, Weiter; Knoepfe brechen nie um */
.fluss__fuehrung .knopf { white-space: nowrap; }
.fluss__fuehrung--drei { flex-wrap: wrap; }
.fluss__fuehrung--drei .fluss__ueberspringen { margin-left: auto; }
.fluss__fuehrung--drei .knopf--voll { flex: 0 1 15rem; }
@media (max-width: 560px) {
  .fluss__fuehrung--drei .knopf--voll { order: -1; flex: 1 1 100%; max-width: none; }
  .fluss__fuehrung--drei .knopf--leise { flex: 1 1 0; }
  .fluss__fuehrung--drei .fluss__ueberspringen { margin-left: 0; }
}

/* Schritt 3: Fahrgast, wenn fuer eine andere Person bestellt wird */
.fahrgast { margin: 0.4rem 0 0.4rem; padding: 0.2rem 1rem 0.6rem; border-radius: 16px; background: var(--ground); }
.fahrgast .frage--klein { margin-top: 0.9rem; }
:is(.fluss) .fahrgast .feld :is(input, select, textarea) { background: var(--paper); }
.fluss .fahrgast .hinweis-klein { margin: 0.2rem 0 0.5rem; }

/* Bestaetigung: Zeitleiste «Was jetzt passiert» */
.fahrkarte__zwischentitel { font-family: var(--f-text); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin: 1.3rem 0 0; }
.zeitleiste { position: relative; gap: 0; margin-top: 0.8rem; text-align: left; }
.zeitleiste li { position: relative; align-items: flex-start; gap: 0.85rem; padding: 0 0 1rem; }
.zeitleiste li:last-child { padding-bottom: 0; }
.zeitleiste li::before { translate: 0 1px; width: 26px; height: 26px; font-size: 0.8rem; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); }
.zeitleiste li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 30px; bottom: 4px; border-left: 2px dotted var(--line); }
.zeitleiste li.ist-erledigt::before { content: ""; background: var(--gelb) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1' fill='none' stroke='%231B2028' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: none; }
.zeitleiste li > div { display: grid; gap: 0.1rem; min-width: 0; }
.zeitleiste b { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.zeitleiste span { overflow-wrap: break-word; }
.zeitleiste__nr { font-family: var(--f-mono); color: var(--ink); letter-spacing: 0.03em; }
.fahrkarte__rueckmeldung { margin: 1.1rem 0 0; padding: 0.75rem 1rem; border-radius: 14px; background: var(--ground); font-size: 0.92rem; color: var(--ink-2); text-align: left; }
.fahrkarte__rueckmeldung a { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* Geschaeftskonto: freiwillige Angaben eingeklappt */
.weitere-angaben { margin: 0.4rem 0 1.1rem; }
.weitere-angaben summary .hinweis { font-weight: 400; margin-left: 0.25rem; }
.weitere-angaben[open] { padding-bottom: 0.2rem; }
.weitere-angaben > .hinweis-klein { margin: 0 0 0.9rem; }
.weitere-angaben summary:focus-visible { outline: 3px solid var(--anthrazit); outline-offset: 2px; border-radius: 8px; }

@media (prefers-reduced-motion: reduce) {
  .flughaefen__chip, .vorschlag__knopf { transition: none; }
}

/* Bot-Schutz (Turnstile): unsichtbar, nur bei Verdacht erscheint die Pruefung */
.bot-pruefung { margin-top: 0.75rem; min-height: 0; }
.bot-pruefung:empty { display: none; }

/* Zahlungsmittel in der Fusszeile */
.fuss__zahlung { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin-top: 2.2rem; padding-top: 1.25rem; border-top: 1px solid #333C48; }
.fuss__zahlung-titel { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gelb); font-weight: 600; }
.fuss__zahlung ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fuss__zahlung li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.8rem; border-radius: 99px; background: var(--anthrazit-2); color: #FFFFFF; font-size: 0.88rem; font-weight: 600; white-space: nowrap; }
.fuss__zahlung li svg { color: var(--gelb); flex: none; }
.fuss__unten { margin-top: 1.25rem; }

/* WhatsApp: Symbol in Links und Knoepfen, schwebender Knopf ab Tablet */
:root { --wa-gruen: #25D366; --wa-dunkel: #128C4B; }
.wa-icon { flex: none; }
.wa-link { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; }
.wa-link .wa-icon, .knopf--wa .wa-icon { color: var(--wa-gruen); }
.knopf--wa { gap: 0.4rem; }
.wa-schwebe { position: fixed; right: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px); z-index: 65; display: none; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa-gruen); color: #FFFFFF; box-shadow: 0 6px 20px -6px rgba(18, 140, 75, 0.6), 0 2px 6px rgba(27, 32, 40, 0.18); transition: transform 200ms var(--ease), background-color 200ms var(--ease); }
.wa-schwebe .wa-icon { width: 30px; height: 30px; color: #FFFFFF; }
.wa-schwebe:hover { transform: translateY(-3px) scale(1.04); background: var(--wa-dunkel); }
.wa-schwebe:active { transform: translateY(0) scale(0.98); }
.wa-schwebe:focus-visible { outline: 3px solid var(--anthrazit); outline-offset: 3px; }
@media (min-width: 700px) { .wa-schwebe { display: grid; } }
@media (prefers-reduced-motion: no-preference) {
  .wa-schwebe { animation: wa-auf 500ms var(--ease) 1.2s both; }
  @keyframes wa-auf { from { opacity: 0; transform: translateY(12px) scale(0.9); } }
}
@media print { .wa-schwebe, .bot-pruefung { display: none !important; } }
@media (min-width: 700px) { .fuss { padding-bottom: 6.5rem; } }

.bot-pruefung { max-width: 100%; overflow: hidden; }
@media (min-width: 700px) { .aktionsleiste { display: none !important; } }
