/*
 * Weidemann Fahrradverleih – Buchungsoberfläche.
 * Nutzt die Design-Tokens des Child-Themes (--wd-accent, --wd-ink, --wd-radius-*,
 * Acherus Grotesque). Alle Klassen tragen den Präfix .wd-bk-, damit nichts
 * Bestehendes beeinflusst wird. Fällt das Theme weg, greifen die Rückfallwerte.
 */
.wd-bk {
  --bk-accent: var(--wd-accent, #ff7822);
  /* Nur als RAHMEN, nie als Flaeche und nie als Schrift. Das Orange der
     Flaeche hebt sich von Weiss mit 2,64:1 zu wenig ab (WCAG 1.4.11
     verlangt 3:1); #e36b1e erreicht 3,29:1. Siehe Abschnitt 67 im
     Child-Theme-Stylesheet (29.10.2026). */
  --bk-rand:   var(--wd-accent-rand, #e36b1e);
  --bk-ink:    var(--wd-ink, #1a1f1c);
  --bk-muted:  var(--wd-ink-muted, #111);
  --bk-line:   var(--wd-surface-2, #e9ede9);
  --bk-soft:   var(--wd-surface, #f4f6f4);
  --bk-radius: var(--wd-radius-card, 16px);
  --bk-btn:    var(--wd-radius-btn, 8px);
  font-family: var(--wd-font, system-ui, sans-serif);
  color: var(--bk-ink);
  background: #fff;
  border: 1px solid var(--bk-line);
  border-radius: var(--bk-radius);
  padding: clamp(18px, 3vw, 32px);
}
.wd-bk *, .wd-bk *::before, .wd-bk *::after { box-sizing: border-box; }
.wd-bk :focus-visible { outline: 3px solid var(--bk-accent); outline-offset: 2px; border-radius: 4px; }

.wd-bk-demo {
  margin: 0 0 20px; padding: 12px 16px; font-size: 0.875rem; line-height: 1.45;
  background: var(--wd-accent-soft, #fff3ea); border-left: 3px solid var(--bk-accent);
  border-radius: 0 var(--bk-btn) var(--bk-btn) 0;
}
/*
 * Testbetrieb – bewusst rot und nicht in der Hausfarbe.
 *
 * Das Vorfuehrbanner darueber ist orange und freundlich; es sagt „hier
 * passiert nichts". Dieses hier sagt das Gegenteil – es wird gespeichert.
 * Die beiden duerfen sich nicht aehnlich sehen, sonst liest man das zweite
 * als das erste. Der Kontrast ist gegen Weiss geprueft (AA).
 */
.wd-bk-testbetrieb {
  background: #fdecea; border-left-color: #9b1c12; color: #5c120b;
}
.wd-bk-noscript { margin: 0; }

/* Schrittanzeige */
.wd-bk-steps { display: flex; flex-wrap: wrap; gap: 6px 4px; list-style: none; margin: 0 0 22px; padding: 0; counter-reset: none; }
.wd-bk-step { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; font-size: 0.8125rem; color: #6a706c; background: var(--bk-soft); }
.wd-bk-step-nr { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--bk-line); font-weight: 700; font-size: 0.75rem; flex: 0 0 auto; }
.wd-bk-step.ist-aktiv { background: var(--bk-ink); color: #fff; }
.wd-bk-step.ist-aktiv .wd-bk-step-nr { background: var(--bk-accent); border-color: var(--bk-accent); color: var(--bk-ink); }
.wd-bk-step.ist-fertig .wd-bk-step-nr { background: var(--bk-accent); border-color: var(--bk-accent); color: var(--bk-ink); }
.wd-bk-step.ist-klickbar { cursor: pointer; }
.wd-bk-step.ist-klickbar:hover { background: var(--bk-line); }

.wd-bk-h { margin: 0 0 6px; font-size: clamp(1.25rem, 2.2vw, 1.625rem); line-height: 1.2; }
.wd-bk-sub { margin: 0 0 18px; color: #4a504c; font-size: 0.9375rem; line-height: 1.45; max-width: 60ch; }
.wd-bk-fuss { margin: 14px 0 0; font-size: 0.8125rem; color: #6a706c; }
.wd-bk-warn { margin: 14px 0 0; padding: 10px 14px; font-size: 0.875rem; line-height: 1.45; background: var(--wd-accent-soft, #fff3ea); border-radius: var(--bk-btn); }

/*
 * Der gescheiterte Verfuegbarkeitsabgleich (30.10.2026, P2.3).
 *
 * Deutlicher als ein Hinweis: Hier ist etwas nicht in Ordnung, und es geht
 * nicht weiter. Rot wie das Testbanner, nicht orange wie ein Hinweis - die
 * Unterscheidung ist dieselbe wie dort. Die Absaetze darin verlieren ihren
 * eigenen Abstand, damit der Kasten nicht auseinanderfaellt.
 */
.wd-bk-freifehler { background: var(--wd-warn-soft, #fdecec); border-left: 4px solid #b3261e; }
.wd-bk-freifehler > p { margin: 0 0 8px; }
.wd-bk-freifehler > p:last-of-type { margin-bottom: 10px; }
.wd-bk-freifehler .wd-bk-btn { margin: 0; }
.wd-bk-fehler { margin: 0 0 16px; padding: 12px 16px; font-size: 0.9375rem; font-weight: 600; background: #fdeaea; border-left: 3px solid #c0392b; border-radius: 0 var(--bk-btn) var(--bk-btn) 0; }

/* Kalender */
.wd-bk-cal { border: 1px solid var(--bk-line); border-radius: var(--bk-radius); padding: 14px; max-width: 420px; }
.wd-bk-cal-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.wd-bk-cal-titel { font-weight: 700; font-size: 1rem; }
.wd-bk-cal-nav { width: 38px; height: 38px; border: 1px solid var(--bk-line); background: #fff; border-radius: var(--bk-btn); font-size: 1.25rem; line-height: 1; cursor: pointer; color: var(--bk-ink); }
.wd-bk-cal-nav:hover:not(:disabled) { border-color: var(--bk-accent); }
.wd-bk-cal-nav:disabled { opacity: .35; cursor: not-allowed; }
/* Die Wochentagszeile und jede Wochenzeile tragen die sieben Spalten; das
   Gitter selbst stapelt seit dem 29.10.2026 nur noch die Zeilen. Grund ist
   die ARIA-Struktur: role="grid" braucht role="row" dazwischen (siehe
   buchung.js). Die Abstaende bleiben dieselben - 2 px zwischen den Spalten
   innerhalb einer Zeile, 2 px zwischen den Zeilen -, das Bild aendert sich
   nicht. */
.wd-bk-cal-wt, .wd-bk-cal-reihe { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.wd-bk-cal-grid { display: grid; gap: 2px; }
.wd-bk-cal-wt { margin-bottom: 4px; }
.wd-bk-cal-wt span { text-align: center; font-size: 0.75rem; font-weight: 600; color: #6a706c; padding: 4px 0; }
.wd-bk-tag { aspect-ratio: 1 / 1; min-height: 40px; border: 1px solid transparent; background: #fff; border-radius: var(--bk-btn); font: inherit; font-size: 0.875rem; cursor: pointer; color: var(--bk-ink); }
.wd-bk-tag:hover:not(:disabled) { border-color: var(--bk-accent); }
.wd-bk-tag.ist-gesperrt { color: #c3c8c4; cursor: not-allowed; }
.wd-bk-tag.ist-dazwischen { background: var(--wd-accent-soft, #fff3ea); }
/* Gewaehlter Beginn bzw. gewaehltes Ende. Der Rahmen ist hier KEIN
   Zuwachs: .wd-bk-tag traegt ohnehin `border: 1px solid transparent`, es
   aendert sich nur dessen Farbe. Das Raster bleibt also Zelle fuer Zelle
   gleich – wichtig, weil die Wochenzeilen vom 29.10.2026 genau darauf
   geprueft worden sind. */
.wd-bk-tag.ist-start, .wd-bk-tag.ist-ende { background: var(--bk-accent); border-color: var(--bk-rand); color: var(--bk-ink); font-weight: 700; }
.wd-bk-cal-leer { min-height: 40px; }
.wd-bk-cal-hinweis { margin: 10px 0 0; font-size: 0.8125rem; color: #6a706c; }

.wd-bk-zeitraum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 0; max-width: 420px; }
.wd-bk-zeitraum-feld { background: var(--bk-soft); border-radius: var(--bk-btn); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.wd-bk-zeitraum-label { font-size: 0.75rem; color: #6a706c; text-transform: uppercase; letter-spacing: .06em; }

.wd-bk-zeiten { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; max-width: 560px; }
.wd-bk-feld { display: flex; flex-direction: column; gap: 6px; }
.wd-bk-feld label { font-size: 0.875rem; font-weight: 600; }
.wd-bk-select, .wd-bk-input {
  font: inherit; font-size: 1rem; padding: 11px 12px; min-height: 46px;
  border: 1px solid var(--bk-line); border-radius: var(--bk-btn); background: #fff; color: var(--bk-ink); width: 100%;
}
.wd-bk-input { resize: vertical; }

/* Fahrradkarten */
.wd-bk-staffel { margin: 0 0 14px; font-size: 0.875rem; color: #6a706c; }
.wd-bk-raeder { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 14px; }
.wd-bk-rad { border: 1px solid var(--bk-line); border-radius: var(--bk-radius); padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.wd-bk-rad.ist-gewaehlt { border-color: var(--bk-accent); box-shadow: 0 0 0 1px var(--bk-accent) inset; }
.wd-bk-rad-bild { aspect-ratio: 4 / 3; border-radius: var(--bk-btn); border: 2px dashed rgba(255,120,34,.5); background: var(--bk-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.wd-bk-rad-bild-label { font-size: 0.6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bk-accent); }
.wd-bk-rad-bild-text { font-size: 0.75rem; color: #6a706c; }
.wd-bk-rad-kopf { display: flex; flex-direction: column; gap: 1px; }
.wd-bk-rad-kopf h4 { margin: 0; font-size: 1rem; line-height: 1.25; }
.wd-bk-rad-typ { font-size: 0.75rem; color: #6a706c; text-transform: uppercase; letter-spacing: .05em; }
.wd-bk-rad-text { margin: 0; font-size: 0.8125rem; line-height: 1.4; color: #4a504c; }
.wd-bk-rad-preis { font-size: 1.0625rem; }
.wd-bk-rad-preis span { font-size: 0.8125rem; color: #6a706c; }
.wd-bk-rad-verf { margin: 0; font-size: 0.75rem; color: #6a706c; }

/* Mengenwahl – große Flächen, auch mit dem Daumen gut treffbar */
.wd-bk-menge { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 6px; }
.wd-bk-menge-btn { width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid var(--bk-line); background: #fff; border-radius: var(--bk-btn); font-size: 1.25rem; line-height: 1; cursor: pointer; color: var(--bk-ink); }
.wd-bk-menge-btn:hover:not(:disabled) { border-color: var(--bk-accent); }
.wd-bk-menge-btn:disabled { opacity: .35; cursor: not-allowed; }
.wd-bk-menge-wert { min-width: 2ch; text-align: center; font-weight: 700; font-size: 1.0625rem; }
.wd-bk-groesse { margin-top: 4px; }

/* Zubehör */
.wd-bk-zubehoer { display: flex; flex-direction: column; gap: 8px; }
.wd-bk-zub { display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--bk-line); border-radius: var(--bk-radius); padding: 12px 14px; }
.wd-bk-zub.ist-gesperrt { opacity: .6; }
.wd-bk-zub-text { display: flex; flex-direction: column; gap: 2px; }
.wd-bk-zub-preis { font-size: 0.875rem; color: #4a504c; }
.wd-bk-zub-hinweis { font-size: 0.75rem; color: #6a706c; }
/* Freie Menge im Zeitraum (10.11.2026) – wie .wd-bk-groesse-frei bei den Rädern. */
.wd-bk-zub-frei { font-size: 0.75rem; color: #6a706c; }
.wd-bk-zub .wd-bk-menge { margin-top: 0; padding-top: 0; }

/* Übergabe */
.wd-bk-transport { display: grid; gap: 10px; }
.wd-bk-option { display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--bk-line); border-radius: var(--bk-radius); padding: 14px; cursor: pointer; }
.wd-bk-option.ist-gewaehlt { border-color: var(--bk-accent); box-shadow: 0 0 0 1px var(--bk-accent) inset; }
.wd-bk-option input { margin-top: 3px; width: 20px; height: 20px; accent-color: var(--bk-accent); flex: 0 0 auto; }
.wd-bk-option-text { display: flex; flex-direction: column; gap: 2px; }
.wd-bk-option-text span { font-size: 0.875rem; color: #4a504c; }
.wd-bk-transport-detail { display: grid; gap: 14px; margin-top: 16px; }

/* Übersicht */
.wd-bk-tabelle { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.wd-bk-tabelle caption { text-align: left; font-size: 0.8125rem; color: #6a706c; padding-bottom: 8px; }
.wd-bk-tabelle th, .wd-bk-tabelle td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--bk-line); vertical-align: top; }
.wd-bk-tabelle thead th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .05em; color: #6a706c; }
.wd-bk-tabelle tbody th { font-weight: 600; }
.wd-bk-num { text-align: right !important; white-space: nowrap; }
.wd-bk-tabelle tfoot th, .wd-bk-tabelle tfoot td { border-bottom: none; padding-top: 14px; font-weight: 700; }
.wd-bk-gesamt { font-size: 1.25rem; color: var(--bk-ink); }

.wd-bk-storno { margin-top: 20px; padding: 16px; background: var(--bk-soft); border-radius: var(--bk-radius); }
.wd-bk-storno h4 { margin: 0 0 8px; font-size: 1rem; }
.wd-bk-storno-liste { margin: 0; padding-left: 20px; font-size: 0.875rem; line-height: 1.5; }
.wd-bk-ende { margin-top: 20px; padding: 18px; border: 2px dashed var(--bk-line); border-radius: var(--bk-radius); }
.wd-bk-ende h4 { margin: 0 0 6px; font-size: 1rem; }
.wd-bk-ende p { margin: 0 0 14px; font-size: 0.875rem; line-height: 1.5; color: #4a504c; }
.wd-bk-ende-link { display: inline-flex; align-items: center; min-height: 46px; padding: 12px 22px; background: var(--bk-accent); color: var(--bk-ink) !important; border: 1px solid var(--bk-rand); border-radius: var(--bk-btn); font-weight: 700; text-decoration: none !important; }

/* Warenkorbzeile */
.wd-bk-korb { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding: 14px 16px; background: var(--bk-soft); border-radius: var(--bk-radius); }
.wd-bk-korb-text { display: flex; flex-direction: column; }
.wd-bk-korb-zeile { font-size: 0.875rem; color: #4a504c; }
.wd-bk-korb-preis { display: flex; flex-direction: column; align-items: flex-end; }
.wd-bk-korb-label { font-size: 0.75rem; color: #6a706c; text-transform: uppercase; letter-spacing: .06em; }
.wd-bk-korb-preis strong { font-size: 1.25rem; }

/* Steuerung */
.wd-bk-nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 22px; flex-wrap: wrap; }
.wd-bk-btn { font: inherit; font-weight: 700; font-size: 1rem; min-height: 50px; padding: 13px 28px; border-radius: var(--bk-btn); cursor: pointer; border: 2px solid var(--bk-accent); }
/* Der 2-px-Rahmen stand schon da, nur in derselben Farbe wie die Flaeche
   und war damit unsichtbar. Nur die Farbe aendert sich, das Mass nicht.
   Beim Ueberfahren wird die Flaeche durchsichtig – dann traegt genau
   dieser Rahmen die Erkennbarkeit allein, und er schafft es jetzt
   (3,29:1 statt 2,64:1 gegen Weiss). */
.wd-bk-btn--weiter { background: var(--bk-accent); border-color: var(--bk-rand); color: var(--bk-ink); }
.wd-bk-btn--weiter:hover { background: transparent; }
.wd-bk-btn--zurueck { background: transparent; color: var(--bk-ink); border-color: var(--bk-line); }
.wd-bk-btn--zurueck:hover { border-color: var(--bk-accent); }

/* Smartphone: alles untereinander, volle Breite, große Flächen */
@media (max-width: 600px) {
  .wd-bk { padding: 16px; }
  .wd-bk-steps { gap: 4px; }
  .wd-bk-step { padding: 5px 10px 5px 6px; font-size: 0.75rem; }
  .wd-bk-step-name { display: none; }
  .wd-bk-step.ist-aktiv .wd-bk-step-name { display: inline; }
  .wd-bk-cal { max-width: none; }
  .wd-bk-zeitraum { grid-template-columns: 1fr; max-width: none; }
  .wd-bk-raeder { grid-template-columns: 1fr; }
  .wd-bk-zub { flex-direction: column; align-items: stretch; gap: 10px; }
  .wd-bk-zub .wd-bk-menge { justify-content: flex-end; }
  .wd-bk-nav { flex-direction: column-reverse; }
  .wd-bk-btn { width: 100%; }
  .wd-bk-korb { flex-direction: column; align-items: stretch; gap: 8px; }
  .wd-bk-korb-preis { align-items: flex-start; }
  .wd-bk-tabelle, .wd-bk-tabelle tbody, .wd-bk-tabelle tr, .wd-bk-tabelle th, .wd-bk-tabelle td { display: block; }
  .wd-bk-tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wd-bk-tabelle tr { border-bottom: 1px solid var(--bk-line); padding: 10px 0; }
  .wd-bk-tabelle th, .wd-bk-tabelle td { border: none; padding: 2px 0; }
  .wd-bk-num { text-align: left !important; }
  .wd-bk-tabelle tfoot tr { display: flex; justify-content: space-between; align-items: baseline; }
}

@media (prefers-reduced-motion: reduce) { .wd-bk * { transition: none !important; animation: none !important; } }

/* Sprachumschalter – oben rechts im Buchungsbereich */
.wd-bk-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.wd-bk-kopf .wd-bk-demo { margin: 0; flex: 1 1 320px; }
.wd-bk-lang { display: flex; gap: 4px; flex: 0 0 auto; background: var(--bk-soft); border-radius: 999px; padding: 4px; }
.wd-bk-lang-btn { min-width: 44px; min-height: 36px; padding: 6px 10px; border: none; background: transparent; border-radius: 999px; font: inherit; font-size: 0.8125rem; font-weight: 700; letter-spacing: .04em; color: #4a504c; cursor: pointer; }
.wd-bk-lang-btn:hover { background: #fff; }
.wd-bk-lang-btn.ist-aktiv { background: var(--bk-ink); color: #fff; }

/* Schritt 6 – Beispielfelder */
.wd-bk-datenfelder { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 14px; }
.wd-bk-input:disabled { background: var(--bk-soft); color: #9aa09c; cursor: not-allowed; }

/* Schritt 7 – Zahlung */
.wd-bk-haltefrist { margin: 0 0 16px; font-size: 0.875rem; color: #4a504c; }
.wd-bk-zahlarten { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 10px; margin-bottom: 20px; }
.wd-bk-zahlart { display: flex; align-items: center; gap: 10px; border: 1px solid var(--bk-line); border-radius: var(--bk-radius); padding: 14px; cursor: pointer; min-height: 56px; }
.wd-bk-zahlart.ist-gewaehlt { border-color: var(--bk-accent); box-shadow: 0 0 0 1px var(--bk-accent) inset; }
.wd-bk-zahlart input { width: 20px; height: 20px; accent-color: var(--bk-accent); flex: 0 0 auto; }
.wd-bk-zahlart-name { font-weight: 600; }
.wd-bk-zahlen { width: 100%; margin-top: 4px; }
.wd-bk-klein { margin: 10px 0 0; font-size: 0.8125rem; color: #6a706c; line-height: 1.45; }

/* Schritt 8 – Bestätigung */
.wd-bk-ok { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.wd-bk-ok-zeichen { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--bk-accent); color: var(--bk-ink); display: flex; align-items: center; justify-content: center; font-size: 1.375rem; font-weight: 700; }
.wd-bk-ok h3, .wd-bk-ok p { margin: 0; }
.wd-bk-ok h3 { margin-bottom: 4px; }
.wd-bk-nummer { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.wd-bk-nummer > div { background: var(--bk-soft); border-radius: var(--bk-btn); padding: 10px 16px; display: flex; flex-direction: column; gap: 2px; }
.wd-bk-nummer strong { font-size: 1.125rem; }

/* Buchungsverwaltung und Stornierung */
.wd-bk-storno-box { margin-top: 20px; padding: 18px; border: 2px solid var(--bk-accent); border-radius: var(--bk-radius); }
.wd-bk-storno-box h4 { margin: 0 0 8px; font-size: 1rem; }
.wd-bk-storno-betrag { margin: 0 0 4px; font-size: 1.125rem; font-weight: 700; }
.wd-bk-btn--storno { background: transparent; color: var(--bk-ink); border-color: var(--bk-accent); margin-top: 14px; }
.wd-bk-btn--storno:hover { background: var(--bk-accent); }

/* Bring- und Abholservice: Zonenkarte und Zonenwahl */
.wd-bk-zonen { margin-bottom: 18px; }
.wd-bk-zonen-h { margin: 0 0 4px; font-size: 1rem; }
.wd-bk-zonenkarte { margin: 12px 0; border-radius: var(--bk-radius); overflow: hidden; border: 1px solid var(--bk-line); }
.wd-bk-zonenkarte img { display: block; width: 100%; height: auto; }
.wd-bk-zonenwahl { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: 10px; }
.wd-bk-zone { display: flex; align-items: center; gap: 10px; border: 1px solid var(--bk-line); border-radius: var(--bk-radius); padding: 12px 14px; cursor: pointer; min-height: 60px; }
.wd-bk-zone.ist-gewaehlt { border-color: var(--bk-accent); box-shadow: 0 0 0 1px var(--bk-accent) inset; }
.wd-bk-zone input { width: 20px; height: 20px; accent-color: var(--bk-accent); flex: 0 0 auto; }
.wd-bk-zone-punkt { width: 14px; height: 14px; border-radius: 3px; flex: 0 0 auto; }
.wd-bk-zone-text { display: flex; flex-direction: column; gap: 1px; }
.wd-bk-zone-preis { font-size: 0.875rem; color: #4a504c; }
.wd-bk-zone-summe { font-size: 0.75rem; color: #6a706c; }

@media (max-width: 600px) {
  .wd-bk-kopf { flex-direction: column-reverse; align-items: stretch; }
  .wd-bk-lang { align-self: flex-end; }
  .wd-bk-zahlarten, .wd-bk-zonenwahl { grid-template-columns: 1fr; }
  .wd-bk-nummer { flex-direction: column; }
  .wd-bk-storno-box { padding: 14px; }
}

/* Anklickbare Zonenkarte (Buchung und Seitenabschnitt) */
.wd-bk-zonenkarte, .wd-vl-zonenkarte {
  display: block; position: relative; width: 100%; padding: 0; margin: 12px 0;
  border: 1px solid var(--bk-line, #e9ede9); border-radius: var(--bk-radius, 16px);
  overflow: hidden; background: none; cursor: zoom-in; font: inherit; color: inherit;
}
.wd-bk-zonenkarte img, .wd-vl-zonenkarte img { display: block; width: 100%; height: auto; }
.wd-bk-zonenkarte:hover, .wd-vl-zonenkarte:hover { border-color: var(--bk-accent, #ff7822); }
.wd-bk-zonenkarte:focus-visible, .wd-vl-zonenkarte:focus-visible { outline: 3px solid var(--bk-accent, #ff7822); outline-offset: 2px; }
.wd-bk-lupe {
  position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.94);
  font-size: 0.8125rem; font-weight: 600; color: #1a1f1c; box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.wd-bk-lupe-icon { font-size: 1.0625rem; line-height: 1; color: var(--bk-accent, #ff7822); }

/* Vergrößerte Ansicht */
.wd-zoom {
  position: fixed; inset: 0; z-index: 99999; background: rgba(10,13,11,.94);
  display: flex; flex-direction: column; padding: 12px;
  font-family: var(--wd-font, system-ui, sans-serif); color: #fff;
}
.wd-zoom-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 0 0 auto; padding: 4px 4px 10px; }
.wd-zoom-titel { margin: 0; font-size: 0.9375rem; font-weight: 600; }
.wd-zoom-knoepfe { display: flex; gap: 8px; }
.wd-zoom-btn {
  width: 48px; height: 48px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08); color: #fff; border-radius: 10px;
  font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.wd-zoom-btn:hover:not(:disabled) { background: var(--wd-accent, #ff7822); color: #1a1f1c; border-color: var(--wd-accent, #ff7822); }
.wd-zoom-btn:disabled { opacity: .35; cursor: not-allowed; }
.wd-zoom-btn:focus-visible { outline: 3px solid var(--wd-accent, #ff7822); outline-offset: 2px; }
.wd-zoom-buehne {
  flex: 1 1 auto; position: relative; overflow: hidden; border-radius: 12px; background: #000;
  display: flex; align-items: center; justify-content: center; touch-action: none; cursor: grab;
}
.wd-zoom-buehne.ist-gezoomt { cursor: grab; }
.wd-zoom-buehne.ist-gezoomt:active { cursor: grabbing; }
.wd-zoom-bild {
  max-width: 100%; max-height: 100%; width: auto; height: auto; display: block;
  transform-origin: center center; user-select: none; -webkit-user-drag: none;
  image-rendering: auto;
}
.wd-zoom-fuss { flex: 0 0 auto; margin: 10px 0 2px; font-size: 0.8125rem; color: rgba(255,255,255,.72); text-align: center; }
@media (max-width: 600px) {
  .wd-zoom { padding: 8px; }
  .wd-zoom-titel { font-size: 0.8125rem; }
  .wd-zoom-btn { width: 44px; height: 44px; }
  .wd-bk-lupe { left: 8px; bottom: 8px; font-size: 0.75rem; padding: 6px 11px; }
}
@media (prefers-reduced-motion: reduce) { .wd-zoom-bild { transition: none !important; } }

/* Mengenwahl je Rahmen- bzw. Laufradgröße */
.wd-bk-groessen { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--bk-line); display: flex; flex-direction: column; gap: 6px; }
.wd-bk-groessen-h { margin: 0 0 2px; font-size: 0.75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #6a706c; }
.wd-bk-groesse-zeile { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 8px; border: 1px solid transparent; border-radius: var(--bk-btn); }
.wd-bk-groesse-zeile.ist-gewaehlt { border-color: var(--bk-accent); background: var(--wd-accent-soft, #fff3ea); }
.wd-bk-groesse-zeile.ist-leer { opacity: .55; }
/*
 * NOCH NICHT FREIGEGEBEN – bewusst NICHT wie „ausgebucht" gestaltet.
 *
 * `ist-leer` blasst die Zeile ab: „das war einmal da, jetzt ist es weg".
 * `ist-nochnicht` soll etwas anderes sagen – „das kommt noch". Deshalb bleibt
 * die Zeile normal lesbar (keine zusaetzliche Transparenz) und die Auskunft
 * steht in der Akzentfarbe statt im Grau der Restzahlen. Beide Klassen koennen
 * zugleich gesetzt sein; diese Regel kommt danach und gewinnt.
 */
.wd-bk-groesse-zeile.ist-nochnicht { opacity: 1; }
.wd-bk-groesse-zeile.ist-nochnicht .wd-bk-groesse-frei {
  color: var(--bk-ink); font-weight: 600;
}

/* Der Hinweis auf der Karte selbst – einmal je Kategorie, nicht je Groesse. */
.wd-bk-rad-nochnicht {
  margin: 8px 0 0; padding: 8px 11px; font-size: 0.8125rem; line-height: 1.45;
  background: var(--wd-accent-soft, #fff3ea); border-left: 3px solid var(--bk-accent);
  border-radius: var(--bk-btn); color: var(--bk-ink);
}
.wd-bk-groesse-text { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.wd-bk-groesse-text strong { font-size: 0.875rem; }
.wd-bk-groesse-frei { font-size: 0.6875rem; color: #6a706c; }
.wd-bk-groesse-zeile .wd-bk-menge { margin: 0; padding: 0; gap: 6px; }
.wd-bk-groesse-zeile .wd-bk-menge-btn { width: 36px; height: 36px; font-size: 1.0625rem; }
.wd-bk-groesse-zeile .wd-bk-menge-wert { font-size: 0.9375rem; }
/* Kategoriefoto, sobald eines hinterlegt ist (sonst greift .wd-bk-rad-bild) */
.wd-bk-rad-foto { margin: 0 0 4px; border-radius: var(--bk-btn); overflow: hidden; background: var(--bk-soft); }
.wd-bk-rad-foto img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* „Abbildung ähnlich" – dieselbe kleine, zurückhaltende Auszeichnung wie der
   gleichlautende Hinweis auf /verleih/ (.wd-vl-rad-abb im Child-Theme). Er
   steht als Bildunterschrift IN der Figur, damit er mit dem Bild wandert und
   das Kartenraster auf dem Smartphone unverändert bleibt. */
/* Zwei Klassen im Selektor, nicht aus Gewohnheit: Blocksy richtet mit
   `.entry-content figcaption { text-align: center }` jede Bildunterschrift
   mittig aus. Eine einzelne Klasse unterliegt dieser Regel. */
.wd-bk-rad .wd-bk-rad-abb {
  padding: 3px 7px 4px;
  font-size: 0.6875rem; line-height: 1.2; color: #6a706c;
  background: var(--bk-soft);
  text-align: left;     /* wie der gleichlautende Hinweis auf /verleih/ */
}
@media (max-width: 600px) {
  .wd-bk-groesse-zeile .wd-bk-menge-btn { width: 40px; height: 40px; }
}

/* ===========================================================================
 * 32. Hinweis auf Zubehör und Hol-/Bringservice (Schritt 1)
 * ======================================================================== */
.wd-bk-hinweis {
  display: flex; align-items: flex-start; gap: 9px;
  margin: 0 0 16px; padding: 9px 13px; max-width: 74ch;
  font-size: 0.8125rem; line-height: 1.45; color: #4a504c;
  background: var(--bk-soft); border-radius: var(--bk-btn);
}
.wd-bk-hinweis-icon {
  flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%;
  background: var(--bk-accent); color: var(--bk-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8125rem; font-weight: 700; line-height: 1;
}

/* ===========================================================================
 * 33. Preisstaffel in der Fahrradauswahl
 *     Regulärer Tagespreis durchgestrichen, aktueller hervorgehoben,
 *     Ersparnis darunter. Nur dort, wo wirklich eine Staffel greift.
 * ======================================================================== */
.wd-bk-rad-preis.ist-rabattiert { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; }
.wd-bk-preis-alt { font-size: 0.875rem; color: #8a908c; text-decoration-thickness: 1px; }
.wd-bk-rad-preis.ist-rabattiert .wd-bk-preis-neu { color: #b4531a; }
.wd-bk-rad-preis .wd-bk-preis-einheit { font-size: 0.8125rem; color: #6a706c; }
.wd-bk-rad-preis .wd-bk-preis-spar {
  flex: 1 0 100%; font-size: 0.75rem; font-weight: 600; color: #2f7a3f;
}
/* nur für Screenreader */
.wd-bk-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===========================================================================
 * 34. Schritt 1 zweispaltig – Kalender links, Zeitraum und Zeiten rechts
 * ======================================================================== */
/* minmax(0,1fr): ohne das erbt das Raster min-width:auto und der Kalender
   schiebt auf schmalen Schirmen Sa/So aus dem Buchungsbereich heraus. */
.wd-bk-s1-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.wd-bk-s1-raster > * { min-width: 0; }
.wd-bk-s1-links, .wd-bk-s1-spalte { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (min-width: 860px) {
  .wd-bk-s1-raster { grid-template-columns: minmax(0,360px) minmax(0,1fr); gap: 24px; align-items: start; }
  .wd-bk-s1-links > .wd-bk-cal { max-width: none; }
  .wd-bk-s1-links > .wd-bk-zeitraum { margin: 0; max-width: none; }
  .wd-bk-s1-spalte > .wd-bk-fuss { margin: 0; }
}
/* Abholung und Rückgabe nebeneinander, sobald die Spalte breit genug ist. */
@media (min-width: 1180px) {
  .wd-bk-s1-spalte { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
  .wd-bk-s1-spalte > .wd-bk-fuss { grid-column: 1 / -1; }
}

/* ===========================================================================
 * 35. Kompakte Darstellung ab Tablet-Breite
 *     Ziel: Fortschrittsleiste, Schrittinhalt und Weiter-Knopf möglichst
 *     gemeinsam im Bild. Nur Abstände, Innenabstände und Leerflächen –
 *     keine Inhalte entfernt, keine Schrift unter 0.75rem, Bedienflächen
 *     bleiben mindestens 34 px hoch. Das Smartphone-Layout unter 601 px
 *     bleibt unverändert und scrollt weiterhin.
 * ======================================================================== */
@media (min-width: 601px) {
  .wd-bk { padding: clamp(16px, 1.6vw, 20px); }
  .wd-bk-kopf { margin-bottom: 12px; }
  .wd-bk-demo { padding: 8px 13px; font-size: 0.8125rem; line-height: 1.4; }
  .wd-bk-steps { margin-bottom: 12px; gap: 5px 4px; }
  .wd-bk-step { padding: 5px 11px 5px 7px; }
  .wd-bk-h { margin-bottom: 3px; font-size: clamp(1.15rem, 1.7vw, 1.375rem); }
  .wd-bk-sub { margin-bottom: 10px; }
  .wd-bk-hinweis { margin-bottom: 12px; }
  .wd-bk-fehler { margin-bottom: 10px; padding: 9px 14px; }

  /* Kalender: Tageszellen nicht mehr quadratisch wachsen lassen */
  .wd-bk-cal { padding: 11px; }
  .wd-bk-cal-kopf { margin-bottom: 7px; }
  .wd-bk-cal-nav { width: 34px; height: 34px; }
  .wd-bk-tag { aspect-ratio: auto; height: 34px; min-height: 0; }
  .wd-bk-cal-leer { min-height: 0; }
  .wd-bk-cal-hinweis { margin-top: 7px; }
  .wd-bk-zeitraum-feld { padding: 7px 11px; }
  .wd-bk-zeiten { margin-top: 12px; gap: 12px; }
  .wd-bk-select, .wd-bk-input { padding: 9px 11px; min-height: 42px; }

  /* Fahrradauswahl */
  .wd-bk-staffel { margin-bottom: 8px; }
  .wd-bk-raeder { gap: 10px; }
  .wd-bk-rad { padding: 11px; gap: 5px; }
  .wd-bk-groessen { padding-top: 7px; gap: 4px; }
  .wd-bk-groesse-zeile { padding: 3px 7px; }
  .wd-bk-groesse-zeile .wd-bk-menge-btn { width: 34px; height: 34px; }

  /* Zubehör und Übergabe */
  .wd-bk-zubehoer { gap: 6px; }
  .wd-bk-zub { padding: 9px 13px; }
  .wd-bk-transport { gap: 8px; }
  .wd-bk-option { padding: 11px; }
  .wd-bk-transport-detail { gap: 10px; margin-top: 12px; }
  .wd-bk-zonen { margin-bottom: 12px; }
  .wd-bk-zonenkarte { margin: 8px 0; }
  .wd-bk-zone { padding: 10px 13px; min-height: 52px; }

  /* Übersicht, Daten, Zahlung */
  .wd-bk-tabelle th, .wd-bk-tabelle td { padding: 7px 8px; }
  .wd-bk-tabelle tfoot th, .wd-bk-tabelle tfoot td { padding-top: 10px; }
  .wd-bk-storno { margin-top: 12px; padding: 13px; }
  .wd-bk-datenfelder { gap: 10px; }
  .wd-bk-haltefrist { margin-bottom: 12px; }
  .wd-bk-zahlarten { gap: 8px; margin-bottom: 14px; }
  .wd-bk-zahlart { padding: 11px; min-height: 50px; }
  .wd-bk-ok { margin-bottom: 12px; }
  .wd-bk-nummer { margin-bottom: 12px; }
  .wd-bk-ende { margin-top: 12px; padding: 14px; }
  .wd-bk-fuss, .wd-bk-warn, .wd-bk-klein { margin-top: 10px; }

  /* Fußzeile der Maske */
  .wd-bk-korb { margin-top: 12px; padding: 10px 14px; }
  .wd-bk-nav { margin-top: 12px; }
  .wd-bk-btn { min-height: 46px; padding: 11px 24px; }
}

/* ===========================================================================
 * 36. Die beiden höchsten Schritte zusätzlich verdichten
 *     Schritt 3 stellt die neun Zubehörzeilen ab Tablet in zwei Spalten
 *     statt untereinander. Schritt 2 bekommt eine Mindestbreite je Karte,
 *     damit Größenangabe und Mengenwahl auf einer Zeile bleiben.
 *     Inhalte und Bedienflächen bleiben unverändert.
 * ======================================================================== */
@media (min-width: 860px) {
  .wd-bk-zubehoer { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
}
/* Karten bewusst nicht schmaler: unter ~250 px bricht die Zeile aus
   Größenangabe und Mengenwahl um und die Karte wird dadurch höher. */
@media (min-width: 601px) {
  .wd-bk-raeder { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}

/* ===========================================================================
 * 37. Schritt 1 – Abhol- und Rückgabefeld, Illustration
 * ======================================================================== */
.wd-bk-ueb {
  border: 1px solid var(--bk-line); border-radius: var(--bk-radius);
  padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #fff;
}
/* Der ausgewaehlte Zustand wird allein durch diesen Rahmen angezeigt, und ein
   Zustand eines Bedienelements faellt unter WCAG 1.4.11: --bk-accent erreichte
   gegen die weisse Flaeche 2,64:1, --bk-rand erreicht 3,29:1 (29.10.2026). */
.wd-bk-ueb.ist-aktiv { border-color: var(--bk-rand); box-shadow: 0 0 0 1px var(--bk-rand) inset; }
.wd-bk-ueb-h { margin: 0; font-size: 1rem; }
.wd-bk-ueb-label {
  display: block; font-size: 0.6875rem; text-transform: uppercase;
  letter-spacing: .06em; color: #6a706c; margin-bottom: 2px;
}
.wd-bk-ueb-station { background: var(--bk-soft); border-radius: var(--bk-btn); padding: 9px 12px; }
.wd-bk-ueb-adresse { display: flex; flex-direction: column; font-size: 0.875rem; line-height: 1.35; }
.wd-bk-ueb-adresse strong { font-size: 0.9375rem; }
.wd-bk-ueb-datum {
  display: block; width: 100%; text-align: left; font: inherit; cursor: pointer;
  border: 1px solid var(--bk-line); border-radius: var(--bk-btn);
  background: #fff; color: var(--bk-ink); padding: 9px 12px; min-height: 44px;
}
.wd-bk-ueb-datum:hover { border-color: var(--bk-accent); }
.wd-bk-ueb-datum.ist-offen { border-style: dashed; }
.wd-bk-ueb-datum strong { display: block; font-size: 0.9375rem; }
.wd-bk-ueb-hint { display: block; font-size: 0.75rem; color: var(--bk-accent); margin-top: 2px; }

/* Samstagshinweis unter den beiden Uebergabefeldern. Er soll auffallen, ohne
   nach Fehlermeldung auszusehen: weiche Flaeche, Akzentkante links, kein Rot.
   Der Hinweis ist eine Einladung zum Absprechen, keine Warnung.

   `grid-column: 1 / -1` ueberall dort, wo die Uebergabespalte ein Raster ist
   (Desktop ab 760 px und das enge Smartphone-Raster) - sonst stuende der Satz
   in einer der beiden schmalen Spalten. Wo die Spalte ein Flex-Stapel ist,
   braucht es nichts, dort ist er ohnehin volle Breite. */
.wd-bk-s1-hinweis {
	margin: 4px 0 0; padding: 8px 10px; background: var(--bk-soft);
	border-left: 3px solid var(--bk-accent); border-radius: 0 var(--bk-btn) var(--bk-btn) 0;
	font-size: 0.8125rem; line-height: 1.45; color: var(--bk-ink);
}
.wd-bk-s1-spalte > .wd-bk-s1-hinweis { grid-column: 1 / -1; }
/* Seit dem 20.10.2026 traegt der Hinweis zwei Absaetze: die Regel und die
   Stelle, an der das Rad abgestellt wird. Der Container bringt Rahmen und
   Flaeche mit, die Absaetze darin brauchen keine eigenen Abstaende. */
.wd-bk-s1-hinweis > p { margin: 0; }
.wd-bk-s1-hinweis > p + p { margin-top: 5px; }
/* Die Stelle steht eine Spur zurueckgenommen – sie ergaenzt die Regel. */
.wd-bk-abstell-ort { color: #5c625e; }

/* Ruhiges Motiv neben dem Kalender – echtes Foto, sehr langsame Bewegung. */
.wd-bk-illu { margin: 0; border-radius: var(--bk-btn); overflow: hidden; background: var(--bk-soft); }
.wd-bk-illu img {
  display: block; width: 100%; height: auto; aspect-ratio: 8 / 3; object-fit: cover;
  animation: wd-bk-illu-zoom 26s ease-in-out infinite alternate;
}
@keyframes wd-bk-illu-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .wd-bk-illu img { animation: none; transform: none; } }
/* Auf dem Smartphone nimmt die Illustration nur Platz weg. */
@media (max-width: 859px) { .wd-bk-illu { display: none; } }

/* ===========================================================================
 * 38. Schritt 4 – Mietbeginn und Mietende getrennt, Adresse und Zone je Fahrt
 * ======================================================================== */
.wd-bk-uebergabe-raster { display: grid; gap: 16px; }
@media (min-width: 760px) { .wd-bk-uebergabe-raster { grid-template-columns: 1fr 1fr; gap: 20px; } }
.wd-bk-uebergabe-gruppe { display: flex; flex-direction: column; gap: 8px; }
.wd-bk-adressblock {
  border: 1px solid var(--bk-line); border-radius: var(--bk-radius);
  padding: 14px; display: flex; flex-direction: column; gap: 10px;
}
.wd-bk-adressfelder { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 620px) {
  .wd-bk-adressfelder { grid-template-columns: 2fr 1fr 2fr; }
}
/* Trefferfläche über die ganze Zeile, nicht nur das Kästchen. */
.wd-bk-check {
  display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; cursor: pointer;
  min-height: 44px; padding: 4px 2px; border-radius: var(--bk-btn);
}
.wd-bk-check:hover { background: var(--bk-soft); }
.wd-bk-check input { width: 20px; height: 20px; accent-color: var(--bk-accent); flex: 0 0 auto; }
.wd-bk-btn--pruefen { background: var(--bk-soft); border-color: var(--bk-line); color: var(--bk-ink); align-self: flex-start; }
.wd-bk-btn--pruefen:hover { border-color: var(--bk-accent); }
.wd-bk-btn--klein { min-height: 40px; padding: 9px 16px; font-size: 0.9375rem; margin-right: 8px; }
.wd-bk-zonen-ergebnis { margin: 0; padding: 11px 13px; background: var(--bk-soft); border-radius: var(--bk-btn); }
.wd-bk-zonen-ergebnis.ist-ok {
  background: #eef6ef; border-left: 3px solid #2f7a3f;
  border-radius: 0 var(--bk-btn) var(--bk-btn) 0; font-weight: 600;
}
.wd-bk-zonen-meldung { margin: 0 0 4px; font-weight: 600; }

/* ===========================================================================
 * 39. Schritt 5 – Mietdaten, Preisaufstellung, Transport, Summen
 * ======================================================================== */
.wd-bk-uebersicht { display: flex; flex-direction: column; gap: 18px; }
.wd-bk-mietdaten { background: var(--bk-soft); border-radius: var(--bk-radius); padding: 14px 16px; }
.wd-bk-md-h { margin: 0 0 10px; font-size: 1rem; }
.wd-bk-md-kopf { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 12px; }
.wd-bk-md-feld { display: flex; flex-direction: column; }
.wd-bk-md-feld strong { font-size: 1.0625rem; }
.wd-bk-md-label {
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: .06em; color: #6a706c;
}
.wd-bk-md-raster { display: grid; gap: 10px; }
@media (min-width: 620px) { .wd-bk-md-raster { grid-template-columns: 1fr 1fr; gap: 14px; } }
.wd-bk-md-block { background: #fff; border-radius: var(--bk-btn); padding: 11px 13px; }
.wd-bk-md-zeit { display: block; font-size: 0.9375rem; margin: 2px 0 4px; }
.wd-bk-md-ort { display: flex; flex-direction: column; font-size: 0.8125rem; line-height: 1.4; color: #4a504c; }
/* Rueckgabe ausserhalb der Oeffnungszeiten: steht unter der Adresse im
   Rueckgabeblock und sagt, was zu tun ist und wo. Gleiche Schriftgroesse wie
   die Adresse, nur mit Linie darueber, damit es als eigener Punkt lesbar
   bleibt und nicht als zweite Adresszeile missverstanden wird. */
.wd-bk-md-abstell {
  display: flex; flex-direction: column; gap: 2px; margin-top: 8px; padding-top: 8px;
  border-top: 1px solid var(--bk-line);
  font-size: 0.8125rem; line-height: 1.4; color: #4a504c;
}
.wd-bk-md-abstell-h { font-weight: 600; color: var(--bk-ink); }
.wd-bk-md-zone { font-weight: 600; color: var(--bk-ink); }

.wd-bk-tabelle--preise .wd-bk-zeilensumme { font-weight: 700; }
.wd-bk-transportliste { border: 1px solid var(--bk-line); border-radius: var(--bk-radius); padding: 14px 16px; }
.wd-bk-fahrten { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wd-bk-fahrt {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding-bottom: 8px; border-bottom: 1px solid var(--bk-line);
}
.wd-bk-fahrt-text { display: flex; flex-direction: column; min-width: 0; }
.wd-bk-fahrt-detail { font-size: 0.8125rem; color: #6a706c; }
.wd-bk-fahrt-preis { white-space: nowrap; font-weight: 600; }
.wd-bk-fahrt-gesamt {
  display: flex; justify-content: space-between; gap: 14px;
  margin: 10px 0 0; font-weight: 700;
}
.wd-bk-summen { border-top: 2px solid var(--bk-ink); padding-top: 12px; }
.wd-bk-summe-zeile {
  display: flex; justify-content: space-between; gap: 14px;
  margin: 0 0 6px; font-size: 0.9375rem;
}
.wd-bk-summe-gesamt {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--bk-line);
  font-size: 1.0625rem; font-weight: 700;
}
.wd-bk-summe-gesamt strong { font-size: 1.5rem; color: var(--bk-ink); }

/* Smartphone: die fünfspaltige Tabelle wird zu einer Karte je Position. */
@media (max-width: 600px) {
  /* caption bleibt sonst als schmale Spalte neben den Blöcken stehen */
  .wd-bk-tabelle caption { display: block; }
  .wd-bk-tabelle--preise tbody tr {
    border: 1px solid var(--bk-line); border-radius: var(--bk-btn);
    padding: 10px 12px; margin-bottom: 8px;
  }
  .wd-bk-tabelle--preise tbody th {
    font-size: 0.9375rem; font-weight: 700; line-height: 1.3; padding: 0 0 6px;
  }
  .wd-bk-tabelle--preise tbody td {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    padding: 3px 0; font-size: 0.875rem; text-align: right !important;
  }
  .wd-bk-tabelle--preise tbody td::before {
    content: attr(data-label); color: #6a706c; font-size: 0.8125rem; text-align: left;
  }
  .wd-bk-tabelle--preise tbody td.wd-bk-zeilensumme {
    margin-top: 5px; padding-top: 7px; border-top: 1px solid var(--bk-line); font-size: 1rem;
  }
  .wd-bk-md-kopf { gap: 8px 20px; }
  .wd-bk-summe-gesamt strong { font-size: 1.3125rem; }
}

/* ===========================================================================
 * 40. Pflichtfelder der Unterkunftsadresse
 * ======================================================================== */
.wd-bk-pflicht { color: var(--bk-accent); margin-left: 3px; font-weight: 700; }
.wd-bk-pflicht-hinweis { margin-top: 2px; }
.wd-bk-feld.ist-fehlerhaft .wd-bk-input { border-color: #c0392b; box-shadow: 0 0 0 1px #c0392b inset; }
.wd-bk-feldfehler {
  margin: 4px 0 0; font-size: 0.8125rem; line-height: 1.35; color: #a5301f; font-weight: 600;
}
.wd-bk-btn--pruefen:disabled { opacity: .5; cursor: not-allowed; }
.wd-bk-btn--pruefen:disabled:hover { border-color: var(--bk-line); }

/* ===========================================================================
 * 41. Kategorie aus der Adresse vorgemerkt (?kat=…)
 *     Nur ein optischer Hinweis – Größe und Anzahl wählt der Gast selbst.
 * ======================================================================== */
.wd-bk-rad.ist-vorgemerkt { border-color: var(--bk-accent); }
.wd-bk-rad-merker {
  margin: 0 0 2px; padding: 6px 9px; border-radius: var(--bk-btn);
  background: var(--wd-accent-soft, #fff3ea); color: var(--bk-ink);
  font-size: 0.75rem; font-weight: 600; line-height: 1.35;
}

/* ===========================================================================
 * 42. Stornierung und Kontaktdaten
 * ======================================================================== */
/* Deutlich, aber zurückhaltend: die Bedingungen sind noch vorläufig. */
.wd-bk-storno-demo {
  margin: 10px 0 0; padding: 10px 13px; font-size: 0.8125rem; line-height: 1.45;
  color: #4a504c; background: #fff; border-left: 3px solid var(--bk-accent);
  border-radius: 0 var(--bk-btn) var(--bk-btn) 0;
}
.wd-bk-storno-text { margin: 0; font-size: 0.875rem; line-height: 1.5; color: #4a504c; }
.wd-bk-storno-liste li { margin-bottom: 3px; }
/* „in Vorbereitung" an der Kontooption */
.wd-bk-bald {
  display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
  background: var(--bk-soft); color: #6a706c;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  vertical-align: middle;
}
/* Vier Kontaktfelder: zwei Spalten ab Tablet */
.wd-bk-datenfelder { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ===========================================================================
 * 43. Zonenkarte in normaler Größe
 *     Nicht über die sinnvolle Breite hinaus aufziehen: darüber wird die
 *     Karte nur hochskaliert und unscharf, ohne lesbarer zu werden.
 *     Die Großansicht per Klick bleibt davon unberührt.
 * ======================================================================== */
.wd-bk-zonenkarte { max-width: 860px; margin-inline: auto; }
.wd-bk-zonenkarte img { aspect-ratio: 2629 / 1372; }

/* ===========================================================================
 * 44. Löschkreuz in den Adressfeldern
 *     Der Text läuft nicht unter das Kreuz (Innenabstand rechts),
 *     die Fläche ist mit dem Daumen gut zu treffen und per Tastatur erreichbar.
 * ======================================================================== */
.wd-bk-eingabe { position: relative; display: block; }
.wd-bk-input.hat-loeschen { padding-right: 46px; }
.wd-bk-loeschen {
  position: absolute; top: 50%; right: 4px; transform: translateY(-50%);
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  padding: 0; border: none; background: none; cursor: pointer; border-radius: 50%;
  color: #6a706c; font: inherit; line-height: 1;
}
.wd-bk-loeschen-zeichen { font-size: 1.25rem; line-height: 1; pointer-events: none; }
.wd-bk-loeschen:hover { background: var(--bk-soft); color: var(--bk-ink); }
.wd-bk-loeschen:focus-visible { outline: 3px solid var(--bk-accent); outline-offset: 1px; }
@media (max-width: 600px) {
  /* etwas größere Fläche für den Daumen */
  .wd-bk-loeschen { width: 42px; height: 42px; right: 3px; }
  .wd-bk-input.hat-loeschen { padding-right: 48px; }
}

/* ===========================================================================
 * 45. Zeitraumleiste: Beginn und Ende sind Schaltflächen
 * ======================================================================== */
.wd-bk-zeitraum-knopf {
  font: inherit; text-align: left; cursor: pointer;
  border: 1px solid transparent; color: var(--bk-ink);
}
/* Wie bei .wd-bk-ueb: Der Rahmen ist die Zustandsanzeige dieser Schaltflaeche.
   Gegen den hellen Grund #fff3ea sind es mit --bk-accent 2,42:1, mit --bk-rand
   3,02:1; gegen Weiss 2,64 bzw. 3,29:1 (29.10.2026). */
.wd-bk-zeitraum-knopf:hover { border-color: var(--bk-rand); }
.wd-bk-zeitraum-knopf.ist-aktiv { border-color: var(--bk-rand); background: var(--wd-accent-soft, #fff3ea); }

/* Mietdaten: Wochentag · Datum · Uhrzeit */
.wd-bk-md-zeit { display: block; }
.wd-bk-md-tag::after, .wd-bk-md-datum::after { content: ", "; }
.wd-bk-md-uhr::before { content: ""; }

/* ===========================================================================
 * 46. Smartphone: zusammengehörende Elemente nebeneinander
 *     Ziel ist weniger Scrollen bei gleicher Bedienbarkeit. Wo die Breite
 *     dafür nicht reicht (Kalender, Adressfelder), hat die Bedienbarkeit
 *     Vorrang und es bleibt einspaltig.
 * ======================================================================== */
@media (max-width: 600px) {
  .wd-bk { padding: 14px; }

  /* --- Schritt 1: Kalender voll breit, darunter Beginn/Ende/Miettage zu dritt */
  .wd-bk-zeitraum { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; margin-top: 12px; }
  .wd-bk-zeitraum-feld { padding: 7px 8px; min-width: 0; }
  .wd-bk-zeitraum-label { font-size: 0.625rem; letter-spacing: .04em; }
  .wd-bk-zeitraum-feld strong { font-size: 0.8125rem; line-height: 1.2; }
  .wd-bk-cal { padding: 9px; }
  .wd-bk-cal-nav { width: 36px; height: 36px; }
  .wd-bk-cal-hinweis { margin-top: 6px; font-size: 0.75rem; }

  /* --- Schritt 1: Abholung und Rückgabe nebeneinander */
  .wd-bk-s1-raster { gap: 12px; }
  .wd-bk-s1-links { gap: 10px; }
  .wd-bk-s1-spalte { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: start; }
  .wd-bk-s1-spalte > .wd-bk-fuss { grid-column: 1 / -1; margin-top: 2px; }
  .wd-bk-ueb { padding: 10px; gap: 8px; min-width: 0; }
  .wd-bk-ueb-h { font-size: 0.875rem; }
  .wd-bk-ueb-station { padding: 7px 9px; }
  /* „RÜCKGABESTATION" soll nicht mitten im Wort umbrechen */
  .wd-bk-ueb-label { font-size: 0.5625rem; letter-spacing: .03em; hyphens: auto; }
  .wd-bk-ueb-adresse { font-size: 0.75rem; line-height: 1.3; overflow-wrap: anywhere; }
  .wd-bk-ueb-adresse strong { font-size: 0.8125rem; }
  .wd-bk-ueb-datum { padding: 7px 9px; min-height: 42px; }
  .wd-bk-ueb-datum strong { font-size: 0.8125rem; }
  .wd-bk-ueb-hint { font-size: 0.6875rem; }
  .wd-bk-ueb .wd-bk-feld label { font-size: 0.75rem; }
  .wd-bk-ueb .wd-bk-select { font-size: 0.875rem; padding: 8px 6px; min-height: 42px; }

  /* --- Schritt 2: Fahrradkarte quer – Bild links, Auswahl rechts */
  .wd-bk-raeder { grid-template-columns: 1fr; gap: 8px; }
  .wd-bk-rad {
    display: grid; grid-template-columns: 96px minmax(0,1fr);
    column-gap: 10px; row-gap: 2px; align-items: start; padding: 10px;
  }
  .wd-bk-rad > .wd-bk-rad-merker { grid-column: 1 / -1; }
  .wd-bk-rad > .wd-bk-rad-foto,
  .wd-bk-rad > .wd-bk-rad-bild { grid-column: 1; grid-row: span 2; margin: 0; }
  /* 96 px Bildspalte: der Hinweis wird kleiner, damit er darunter passt. */
  .wd-bk-rad .wd-bk-rad-abb { padding: 2px 4px 3px; font-size: 0.5625rem; line-height: 1.15; }
  .wd-bk-rad > .wd-bk-rad-kopf,
  .wd-bk-rad > .wd-bk-rad-preis { grid-column: 2; }
  /* Der längere Beschreibungstext entfällt mobil – Name und Gattung genügen,
     die vollständige Beschreibung steht auf der Informationsseite. */
  .wd-bk-rad > .wd-bk-rad-text { display: none; }
  .wd-bk-rad-kopf h4 { font-size: 0.9375rem; }
  .wd-bk-rad-typ { font-size: 0.6875rem; }
  .wd-bk-rad-preis { font-size: 1rem; }
  /* Der Sperrhinweis gehoert ueber die ganze Karte, nicht in die rechte
     Spalte neben das Bild – sonst steht er in einer Schlucht von 40 % Breite. */
  .wd-bk-rad > .wd-bk-rad-nochnicht { grid-column: 1 / -1; }
  .wd-bk-rad > .wd-bk-groessen { grid-column: 1 / -1; margin-top: 6px; padding-top: 7px; gap: 3px; }
  .wd-bk-groessen-h { font-size: 0.6875rem; }
  .wd-bk-groesse-zeile { padding: 2px 6px; gap: 8px; }
  .wd-bk-groesse-zeile .wd-bk-menge-btn { width: 42px; height: 42px; }
  .wd-bk-groesse-text strong { font-size: 0.8125rem; }

  /* --- Schritt 3: zwei Zubehörkarten nebeneinander */
  .wd-bk-zubehoer { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: stretch; }
  .wd-bk-zub {
    flex-direction: column; align-items: stretch; justify-content: space-between;
    gap: 8px; padding: 10px; min-width: 0;
  }
  .wd-bk-zub-text { gap: 1px; min-width: 0; }
  .wd-bk-zub-text strong { font-size: 0.875rem; line-height: 1.2; overflow-wrap: anywhere; }
  .wd-bk-zub-preis { font-size: 0.8125rem; }
  .wd-bk-zub-hinweis { font-size: 0.6875rem; line-height: 1.3; }
  .wd-bk-zub .wd-bk-menge { justify-content: center; gap: 8px; }

  /* --- Schritt 4: die beiden Möglichkeiten je Frage nebeneinander */
  .wd-bk-transport { grid-template-columns: 1fr 1fr; gap: 8px; align-items: stretch; }
  .wd-bk-option { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; min-width: 0; }
  .wd-bk-option-text strong { font-size: 0.875rem; line-height: 1.2; }
  .wd-bk-option-text span { font-size: 0.75rem; line-height: 1.3; }
  .wd-bk-uebergabe-raster { gap: 14px; }
  .wd-bk-zonen-h { font-size: 0.9375rem; }

  /* --- Schritt 6: Vorname/Nachname und Mail/Telefon paarweise */
  .wd-bk-datenfelder { grid-template-columns: 1fr 1fr; gap: 8px; }
  .wd-bk-datenfelder .wd-bk-feld label { font-size: 0.8125rem; }
  .wd-bk-datenfelder .wd-bk-input { min-height: 44px; padding: 9px 10px; font-size: 0.9375rem; }

  /* --- Schritt 5 und 8: Abholung und Rückgabe nebeneinander */
  .wd-bk-md-raster { grid-template-columns: 1fr 1fr; gap: 8px; align-items: stretch; }
  .wd-bk-md-block { padding: 9px 10px; min-width: 0; }
  .wd-bk-md-zeit { font-size: 0.8125rem; line-height: 1.25; margin: 2px 0 3px; }
  .wd-bk-md-zeit > span { display: block; }
  .wd-bk-md-tag::after, .wd-bk-md-datum::after { content: ""; }
  .wd-bk-md-ort { font-size: 0.6875rem; line-height: 1.35; overflow-wrap: anywhere; }
  .wd-bk-md-kopf { gap: 6px 18px; }
  .wd-bk-md-feld strong { font-size: 0.9375rem; }
  .wd-bk-uebersicht { gap: 12px; }
  .wd-bk-mietdaten { padding: 11px 12px; }

  /* --- Schritt 8: Buchungsnummer und Betrag nebeneinander */
  .wd-bk-nummer { flex-direction: row; gap: 8px; }
  .wd-bk-nummer > div { flex: 1 1 0; min-width: 0; padding: 9px 11px; }
  .wd-bk-nummer strong { font-size: 1rem; overflow-wrap: anywhere; }
}

/* Sehr schmale Geräte: Abstände weiter zurücknehmen, Spalten bleiben */
@media (max-width: 360px) {
  .wd-bk { padding: 11px; }
  .wd-bk-rad { grid-template-columns: 84px minmax(0,1fr); column-gap: 8px; }
  .wd-bk-zeitraum { gap: 4px; }
  .wd-bk-zeitraum-feld { padding: 6px; }
  .wd-bk-s1-spalte, .wd-bk-zubehoer, .wd-bk-transport, .wd-bk-md-raster { gap: 6px; }
  .wd-bk-groesse-zeile .wd-bk-menge-btn { width: 40px; height: 40px; }
  .wd-bk-zub .wd-bk-menge-btn, .wd-bk-menge-btn { width: 40px; height: 40px; }
}

/* Sehr schmale Geräte: Die Tageszellen dürfen schmaler als 40 px werden,
   sonst ist das siebenspaltige Raster breiter als der Bildschirm und
   Samstag und Sonntag werden abgeschnitten. Die Höhe bleibt gut treffbar. */
@media (max-width: 400px) {
  .wd-bk-tag { aspect-ratio: auto; height: 42px; min-height: 0; font-size: 0.8125rem; }
  .wd-bk-cal-leer { min-height: 0; height: 42px; }
  .wd-bk-cal-wt span { font-size: 0.6875rem; padding: 2px 0; }
}
@media (max-width: 360px) {
  .wd-bk-cal { padding: 6px; }
  .wd-bk-cal-wt, .wd-bk-cal-reihe, .wd-bk-cal-grid { gap: 1px; }
}

/* ===========================================================================
 * 47. Vorlaufzeit: der heutige Tag ist online nicht buchbar
 *     Gesperrte Tage bleiben erkennbar, aber zurückgenommen – sie sollen den
 *     Blick nicht vom wählbaren Zeitraum wegziehen.
 * ======================================================================== */
.wd-bk-tag.ist-gesperrt { background: #f4f6f4; border-color: transparent; }
.wd-bk-cal-vorlauf {
  margin: 8px 0 0; padding: 8px 10px;
  font-size: 0.8125rem; line-height: 1.45; color: #5c625e;
  background: var(--bk-soft); border: 1px solid var(--bk-line);
  border-radius: var(--bk-btn);
}
@media (max-width: 600px) {
  .wd-bk-cal-vorlauf { margin-top: 6px; padding: 7px 9px; font-size: 0.75rem; }
}

/* Schritt 4 ohne Liefer- und Rückholservice (17.10.2026):
   Abhol- und Rückgabestation als ruhige Angabe statt einer Auswahl. */
.wd-bk-station { display: grid; gap: 2px; margin: 0; font-size: 0.9375rem; }
.wd-bk-station strong { font-weight: 700; }
.wd-bk-station span { color: #4a504c; }

/* ===========================================================================
 * 45. Bedienflächen auf Geräten mit grobem Zeiger (19.10.2026)
 *
 * Abschnitt 35 verkleinert ab 601 px bewusst alles, damit Fortschrittsleiste,
 * Schrittinhalt und Weiter-Knopf gemeinsam ins Bild passen – auf einem Tablet
 * landen die Plus/Minus-Knöpfe dadurch bei 34 px und die Monatspfeile ebenso.
 * Mit der Maus ist das kein Problem, mit dem Finger schon.
 *
 * Deshalb greift diese Korrektur ausdrücklich nur bei `pointer: coarse`, also
 * bei Touchbedienung. Ein schmales Fenster am Rechner behält die Verdichtung
 * aus Abschnitt 35 unverändert. 44 px ist das Maß, das sowohl Apple als auch
 * Google für Berührflächen empfehlen.
 * ======================================================================== */
@media (pointer: coarse) {
  .wd-bk .wd-bk-cal-nav { width: 44px; height: 44px; }
  .wd-bk .wd-bk-menge-btn,
  .wd-bk .wd-bk-groesse-zeile .wd-bk-menge-btn,
  .wd-bk .wd-bk-zub .wd-bk-menge-btn { width: 44px; height: 44px; }
}

/* ===========================================================================
 * 46. Ausgabetage: sonntags keine Ausgabe (19.10.2026)
 *
 * Gesperrt wird ein solcher Tag nur dort, wo der Klick den MIETBEGINN setzen
 * würde – als Mietende bleibt er wählbar. Der Kalender zeigt denselben Tag
 * deshalb je nach Schritt unterschiedlich, und genau das soll er auch.
 *
 * Die Kennzeichnung bleibt bewusst dieselbe wie bei den übrigen gesperrten
 * Tagen (Abschnitt 47): zurückgenommen, nicht alarmierend. Der Satz unter dem
 * Kalender erklärt den Grund, eine zusätzliche Farbe wäre Lärm.
 * ======================================================================== */
.wd-bk-cal-abholtage,
.wd-bk-cal-feiertage {
  margin: 6px 0 0;
  font-size: 0.8125rem; line-height: 1.45; color: #5c625e;
}
@media (max-width: 600px) {
  .wd-bk-cal-abholtage,
  .wd-bk-cal-feiertage { font-size: 0.75rem; }
}

/* ---------------------------------------------------------------------------
 * Gesetzliche Feiertage (25.10.2026, Befund H7)
 *
 * `ist-feiertag` bekommt AUSDRUECKLICH KEINE eigene Farbe. Ein Feiertag ist
 * gesperrt wie ein Sonntag, und die Gestaltung dafuer steht schon oben – eine
 * zweite Farbe waere genau der Laerm, den der Kommentar darueber ablehnt.
 *
 * Die Klasse ist trotzdem gesetzt, und zwar fuer zwei Dinge, die keine
 * Gestaltung sind: Der Titel am Knopf nennt den Namen des Feiertags, und der
 * Browsertest in docs/tests/verleih-ausgabetage.js erkennt daran, dass die
 * Oberflaeche den Tag wirklich als Feiertag behandelt und nicht nur zufaellig
 * sperrt.
 * ------------------------------------------------------------------------ */

/* ===========================================================================
 * 47. Geschlossener Tag: Hinweis statt Uhrzeitliste (19.10.2026)
 *
 * Erscheint dort, wo sonst die Auswahl der Übergabezeit steht. Seit dem
 * 20.10.2026 steht in diesem Kasten an einem Abstelltag (Sonntag) die
 * Rückgabe ohne feste Uhrzeit; „geschlossen, Zeit noch offen" bleibt für
 * alles andere. Bewusst ruhig gehalten: Es ist kein Fehler des Gastes.
 * ======================================================================== */
.wd-bk-zeit-zu {
  margin: 0; padding: 9px 11px;
  font-size: 0.8125rem; line-height: 1.45; color: #5c625e;
  background: var(--bk-soft); border: 1px solid var(--bk-line);
  border-radius: var(--bk-btn);
}
@media (max-width: 600px) {
  .wd-bk-zeit-zu { padding: 8px 10px; font-size: 0.75rem; }
}

/*
 * Hinweis unter der Rückgabezeit: ab wann am Abstellort abgestellt wird
 * (31.10.2026, Befund N2).
 *
 * Er steht unter der Auswahl und nicht nur in der Gruppenüberschrift: Ist
 * die Auswahl zugeklappt – und das ist der Normalfall –, sieht man die
 * Überschrift nicht. Bewusst leiser als .wd-bk-zeit-zu: Dort steht, dass es
 * keine Uhrzeit gibt; hier ergänzt der Satz eine, die dasteht.
 */
.wd-bk-zeit-abstell-hinweis {
  margin: 6px 0 0; font-size: 0.75rem; line-height: 1.45; color: #5c625e;
}
@media (max-width: 600px) {
  .wd-bk-zeit-abstell-hinweis { font-size: 0.6875rem; }
}

/*
 * „Deine Daten" in der Bestätigung (31.10.2026, Befund N7).
 *
 * Gestaltet wie die Mietdaten daneben (.wd-bk-mietdaten), damit die
 * Bestätigung nicht aus drei verschiedenen Kästen besteht. Die Anschrift
 * steht untereinander wie auf einem Briefumschlag – das ist die Form, in der
 * man eine Adresse prüft.
 */
.wd-bk-kundenkasten {
  margin: 18px 0 0; padding: 14px 16px;
  background: var(--bk-soft); border: 1px solid var(--bk-line);
  border-radius: var(--bk-radius);
}
.wd-bk-kundenkasten-adresse, .wd-bk-kundenkasten-kontakt { display: grid; gap: 2px; }
.wd-bk-kundenkasten-adresse span { font-size: 0.9375rem; line-height: 1.5; }
.wd-bk-kundenkasten-adresse span:first-child { font-weight: 600; }
.wd-bk-kundenkasten-kontakt {
  margin-top: 8px; font-size: 0.8125rem; color: #5c625e;
}
@media (max-width: 600px) {
  .wd-bk-kundenkasten { padding: 12px 13px; }
  .wd-bk-kundenkasten-adresse span { font-size: 0.875rem; }
}

/* ===========================================================================
 * Pflichtbestätigung vor der Zahlung (25.10.2026, Befund H9)
 *
 * Sie steht zwischen den Zahlungsarten und dem Bezahlknopf – also dort, wo
 * sie gelesen wird, und nicht am Seitenende. Gestaltet wie ein Hinweisfeld
 * und nicht wie eine Warnung: Sie meldet keinen Fehler, sie holt eine
 * Zustimmung ein.
 *
 * Die Verweise stehen UNTER dem Haken und nicht in seinem Text. Ein Link
 * innerhalb der Beschriftung wird beim Klick auf die Beschriftung mit
 * ausgelöst – dann öffnet sich eine Seite, obwohl jemand nur den Haken setzen
 * wollte.
 * ======================================================================== */
.wd-bk-zustimmung { margin: 16px 0 0; padding: 14px 16px;
  background: var(--wd-accent-soft, #fff3ea); border-radius: var(--bk-btn); }
.wd-bk-zustimmung-h { margin: 0 0 8px; font-size: 0.9375rem; }
.wd-bk-zustimmung-zeile { display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.9375rem; line-height: 1.45; cursor: pointer; }
/* Das Kästchen etwas größer und mit Abstand zur Textkante – es wird auf dem
   Smartphone mit dem Daumen getroffen. */
.wd-bk-zustimmung-zeile input[type="checkbox"] { flex: 0 0 auto;
  width: 20px; height: 20px; margin: 1px 0 0; }
.wd-bk-zustimmung-links { margin: 8px 0 0; font-size: 0.875rem; }
/*
 * DER VERWEIS MUSS MIT DEM DAUMEN ZU TREFFEN SEIN (25.10.2026).
 *
 * Erster Versuch: ein gewoehnlicher Textlink. Der Mobiltest hat ihn gemessen
 * und bei ALLEN fuenf Breiten beanstandet – „A 151x22": 151 px breit, aber nur
 * 22 px hoch. Die Schwelle in docs/tests/verleih-mobil.js liegt bei 40 px, die
 * WCAG-Empfehlung bei 44.
 *
 * Das ist kein Formfehler: Dieser Verweis steht unmittelbar vor dem
 * Bezahlknopf und ist der einzige Weg zu dem Text, den der Haken bestaetigt.
 * Wer ihn nicht trifft, bestaetigt etwas Ungelesenes.
 *
 * `inline-block` mit Polsterung statt einer festen Hoehe: So waechst die
 * Trefferflaeche mit der Schrift mit, wenn jemand sie groesser stellt.
 */
.wd-bk-zustimmung-links a { display: inline-block; padding: 11px 4px;
  text-decoration: underline; }
/* Die Polsterung wuerde den Abstand zum Haken darueber doppelt aufbauen. */
.wd-bk-zustimmung-links { margin-top: 0; }

/* ===========================================================================
 * 48. Datumswahl zurücknehmen (29.10.2026)
 *
 * Zwei Bedienelemente: das Löschkreuz je Übergabefeld und „Auswahl
 * zurücksetzen" unter der Zeitraumleiste.
 *
 * Das Kreuz sitzt in der Kopfzeile des Feldes und nicht an der
 * Datumsschaltfläche; die Begründung steht bei uebergabeFeld() in buchung.js.
 * Zeichen, Farbe und runde Fläche sind die des Kreuzes in den Adressfeldern
 * (Abschnitt 44) – ein Kreuz bedeutet im ganzen Ablauf dasselbe.
 *
 * 44 px statt der 38 px aus Abschnitt 44: Der Mobiltest in
 * docs/tests/verleih-mobil.js prüft bis 768 px Fensterbreite und beanstandet
 * jede Bedienfläche unter 40 px. Dort greift die Smartphone-Regel unten noch
 * nicht, also muss schon der Grundwert über der Schwelle liegen – und 44 px
 * ist zugleich die WCAG-Empfehlung.
 * ======================================================================== */
.wd-bk-ueb-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
/* Die Überschrift darf schrumpfen und umbrechen, das Kreuz nicht. */
.wd-bk-ueb-kopf > .wd-bk-ueb-h { min-width: 0; hyphens: auto; overflow-wrap: break-word; }
/* Die negativen Raender ziehen die 44 px grosse Trefferflaeche optisch wieder
   auf Zeilenhoehe zusammen: Die Kopfzeile bleibt dadurch 32 px hoch, waehrend
   der Daumen die ganze Flaeche trifft. Der Ueberhang liegt im Innenabstand der
   Karte und im Abstand zum Stationsblock – er ueberdeckt nichts. */
/*
 * ES SOLL ALS SCHALTFLAECHE ZU ERKENNEN SEIN (29.10.2026).
 *
 * Erster Entwurf: dasselbe freistehende Kreuz wie in den Adressfeldern, grau
 * auf Weiss. Im Bildschirmfoto fiel dann der bewusst DEZENTE Knopf „Auswahl
 * zuruecksetzen" staerker auf als das Kreuz, das das wichtigere der beiden
 * Bedienelemente ist – genau verkehrt herum.
 *
 * In den Adressfeldern sitzt das Kreuz IN einem umrandeten Eingabefeld und ist
 * dadurch schon als Bedienteil gerahmt. Hier steht es frei neben einer
 * Ueberschrift. Es bekommt deshalb eine ruhige Kreisflaeche: deutlich genug,
 * um gefunden zu werden, leise genug, um die Ueberschrift nicht zu
 * ueberstimmen. Beim Zeigen wird die Flaeche zum Akzent.
 */
.wd-bk-datum-loeschen {
  flex: 0 0 auto; width: 44px; height: 44px; margin: -6px -8px -6px 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0; border: none; cursor: pointer; border-radius: 50%;
  background: var(--bk-soft); color: #4a504c; font: inherit; line-height: 1;
}
.wd-bk-datum-loeschen:hover {
  background: var(--wd-accent-soft, #fff3ea); color: var(--bk-ink);
  box-shadow: 0 0 0 1px var(--bk-accent) inset;
}
.wd-bk-datum-loeschen:focus-visible { outline: 3px solid var(--bk-accent); outline-offset: 1px; }

/* Dezent: ein Textknopf. Kein dritter Hauptknopf neben „Weiter" – das
   Zurücksetzen ist der Ausnahmefall, nicht der Weg nach vorn. */
.wd-bk-reset {
  align-self: start; display: inline-flex; align-items: center; gap: 6px;
  margin: 0; padding: 10px 12px 10px 8px; min-height: 44px;
  border: none; background: none; cursor: pointer;
  font: inherit; font-size: 0.8125rem; color: #6a706c;
  text-decoration: underline; text-underline-offset: 2px;
  border-radius: var(--bk-btn);
}
.wd-bk-reset:hover { color: var(--bk-ink); background: var(--bk-soft); }
.wd-bk-reset-zeichen { font-size: 1.125rem; line-height: 1; }

@media (max-width: 600px) {
  /* In der schmalen Spalte zählt jedes Pixel für das Datum daneben. 42 px
     bleibt über der Testschwelle und ist derselbe Wert, den das Kreuz in den
     Adressfeldern auf dem Smartphone hat. */
  .wd-bk-datum-loeschen { width: 42px; height: 42px; margin-right: -6px; }
  .wd-bk-ueb-kopf { gap: 4px; }
  .wd-bk-reset { font-size: 0.75rem; padding: 10px 10px 10px 6px; }
}

/* ===========================================================================
 * Wartungsseite der oeffentlichen Online-Buchung (core/wartung.php).
 *
 * BEWUSST UNABHAENGIG VON .wd-bk. Dieser Kasten erscheint genau dann, wenn
 * die Buchungsstrecke NICHT laeuft – haeufig, weil an ihr etwas kaputt ist.
 * Er holt sich seine Werte darum direkt aus den Theme-Tokens und nicht aus
 * den --bk-* des Buchungswidgets. Faellt das Theme weg, greifen die
 * Rueckfallwerte, und der Kasten steht trotzdem.
 *
 * Das Orange steht als FLAECHE nur unter dunklem Text (--wd-ink auf #ff7822
 * ergibt 6,9:1, siehe Child-Theme Abschnitt 67) und sonst als Rahmen. Als
 * Schrift auf Weiss waere es mit 2,64:1 zu schwach.
 * ======================================================================== */
.wd-wartung {
  --wa-accent: var(--wd-accent, #ff7822);
  --wa-rand:   var(--wd-accent-rand, #e36b1e);
  --wa-ink:    var(--wd-ink, #1a1f1c);
  --wa-muted:  var(--wd-ink-muted, #111);
  --wa-line:   var(--wd-surface-2, #e9ede9);
  font-family: var(--wd-font, system-ui, sans-serif);
  color: var(--wa-muted);
  background: #fff;
  border: 1px solid var(--wa-line);
  border-left: 4px solid var(--wa-rand);
  border-radius: var(--wd-radius-card, 16px);
  padding: clamp(20px, 3.2vw, 36px);
  max-width: 54rem;
}
.wd-wartung *, .wd-wartung *::before, .wd-wartung *::after { box-sizing: border-box; }
.wd-wartung-marke {
  margin: 0 0 6px; color: var(--wa-muted); font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8125rem;
}
.wd-wartung-h { margin: 0 0 12px; color: var(--wa-ink); font-size: clamp(1.25rem, 2.4vw, 1.625rem); line-height: 1.25; }
.wd-wartung-text { margin: 0 0 20px; font-size: 1rem; line-height: 1.55; }
.wd-wartung-tel { margin: 0 0 16px; }
.wd-wartung-knopf {
  display: inline-block; background: var(--wa-accent); color: var(--wa-ink);
  text-decoration: none; font-weight: 500;
  /* 48 px hoch: Dieselbe Beruehrungsflaeche wie die Knoepfe der
     Buchungsstrecke. Wer hier landet, soll mit dem Daumen treffen. */
  padding: 14px 22px; min-height: 48px; line-height: 1.4;
  border-radius: var(--wd-radius-btn, 8px);
}
.wd-wartung-knopf:hover, .wd-wartung-knopf:focus-visible { text-decoration: underline; }
/* Die Nummer als reiner Text neben dem Knopf – siehe core/wartung.php:
   der Email-Encoder ersetzt den Inhalt des Ankers, dieser Text bleibt. */
.wd-wartung-nummer { font-weight: 500; color: var(--wa-ink); white-space: nowrap; }
.wd-wartung :focus-visible { outline: 3px solid var(--wa-rand); outline-offset: 2px; border-radius: 4px; }
.wd-wartung-klein { margin: 0; font-size: 0.875rem; line-height: 1.5; }
.wd-wartung-klein a { color: var(--wa-ink); }
@media (max-width: 600px) {
  /* Auf dem Smartphone spannt der Anrufknopf ueber die volle Breite – er ist
     dort die wahrscheinlichste Handlung. */
  .wd-wartung-knopf { display: block; text-align: center; }
}

/* ===========================================================================
 * Infobox zur Tagesmiete (Schritt 1, vor dem Kalender).
 *
 * Benutzt den vorhandenen Hinweiskasten aus Abschnitt 32 und ergaenzt nur,
 * was dort fehlt: Der Inhalt hat jetzt eine Ueberschrift und zwei Absaetze
 * statt einer Zeile. Keine eigene Flaeche, keine eigene Farbe – es ist eine
 * Auskunft, keine Warnung.
 * ======================================================================== */
.wd-bk-tagesmiete { align-items: flex-start; }
.wd-bk-hinweis-text { min-width: 0; }
.wd-bk-hinweis-text strong { display: block; color: var(--bk-ink); }
/* Browser geben einem <p> im Flex-Kind oben und unten Abstand. Hier zaehlt
   nur der Abstand ZWISCHEN den Absaetzen; der erste schliesst direkt an die
   Ueberschrift an. */
.wd-bk-hinweis-text p { margin: 6px 0 0; }

/* ===========================================================================
 * Anschrift in Schritt 6 (31.10.2026).
 *
 * Eigenes Raster statt `auto-fit`: Strasse und Hausnummer gehoeren in EINE
 * Zeile, und zwar im richtigen Verhaeltnis – eine Hausnummer braucht drei
 * Zeichen, eine Strasse dreissig. Mit `auto-fit, minmax(220px, 1fr)` haetten
 * beide dieselbe Breite bekommen, und das Feld fuer „12a" waere so breit
 * gewesen wie das fuer „Rengoldshauser Strasse".
 *
 * Zwoelf Spalten, und jedes Feld nennt seine Breite selbst. Generische Namen
 * („breit", „schmal") waren der erste Versuch und gingen schief: Auf dem
 * Smartphone sollten PLZ und Ort nebeneinander bleiben, aber „Ort" trug
 * dieselbe Klasse wie „Strasse" und sprang damit auf die volle Breite. Wenn
 * eine Klasse zwei Dinge bedeuten muss, ist sie die falsche Klasse.
 *
 * Die Paare sind dieselben, die ein Mensch nebeneinander erwartet:
 * Strasse + Nummer, PLZ + Ort. Sie bleiben es auf JEDER Breite – 8/4 von
 * 313 px sind immer noch 200 px fuer die Strasse und 100 px fuer die Nummer.
 * ======================================================================== */
.wd-bk-anschrift-h { margin: 22px 0 4px; font-size: 1rem; }
.wd-bk-anschrift {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
}
.wd-bk-anschrift .wd-bk-feld--strasse    { grid-column: span 8; }
.wd-bk-anschrift .wd-bk-feld--hausnummer { grid-column: span 4; }
.wd-bk-anschrift .wd-bk-feld--zusatz     { grid-column: span 12; }
.wd-bk-anschrift .wd-bk-feld--plz        { grid-column: span 4; }
.wd-bk-anschrift .wd-bk-feld--ort        { grid-column: span 8; }
.wd-bk-anschrift .wd-bk-feld--land       { grid-column: span 12; }
/* Die Auswahl sieht sonst anders aus als die Eingabefelder daneben. */
.wd-bk-anschrift select.wd-bk-input { width: 100%; }
@media (min-width: 601px) {
  /* Ab Tablet braucht das Land nicht die ganze Zeile – die laengste
     Beschriftung („Vereinigtes Königreich") passt in die halbe. */
  .wd-bk-anschrift .wd-bk-feld--land { grid-column: span 6; }
}
