/* ==========================================================================
   Freudensprung – digitaler Betreuungsvertrag
   Tokens und Grundregeln aus der Website (assets/css/styles.css, Markenhandbuch V2),
   darauf die Formular-Bausteine. Gedacht fürs Handy (ab 320 px), mit ruhiger Spalte am Desktop.
   ========================================================================== */

/* ---------- Schriften (lokal, Lizenz: SIL OFL, siehe assets/fonts) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-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: "Karla";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/karla-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: "Karla";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/karla-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;
}

/* ---------- Tokens (Werte wie auf der Website) ---------- */
:root {
  --himmel: #e7eae0;       /* Salbei: Grundfläche */
  --himmel-hoch: #d6dfdc;
  --weide: #8c9a7e;        /* Linien, nie Text */
  --weide-hell: #c9d1bf;
  --wiese: #3f6a5a;        /* Tanne: Knöpfe, Links, Auswahl */
  --wiese-tief: #2c4d41;
  --bernstein: #f0c34a;    /* nur Textmarker */
  --torf: #24211c;         /* Tiefbraun: Überschriften, Tinte */
  --torf-leise: #4c473f;   /* Fließtext */
  --nebel: #fffdf8;        /* Off-White: Dokument, Hundeblöcke */
  --linie: #c9cec4;
  --rand: #9aa79f;         /* Rand der Eingabefelder */
  --fehler: #9b1c1c;
  --focus: #24211c;
  /* Flächen und Kontrastfarben (dunkles Design der Verwaltung setzt sie um, Martin 09.10.2026) */
  --flaeche: #fff;             /* Eingabefelder, Karten mit Rahmen */
  --text-auf-wiese: #fff;      /* Schrift auf Tanne (Knöpfe, Marken) */
  --text-auf-torf: #fff;       /* Schrift auf Tiefbraun */
  --text-auf-bernstein: #24211c;
  --leise: #5f645c;            /* Hilfetexte */
  --hover-leicht: #f4f7f2;
  --band: rgb(63 106 90 / 0.14);       /* Zeitraum im Kalender, „Heute“ im Plan */
  --fehler-flaeche: rgb(155 28 28 / 0.08);
  --hinweis-rand: #f0c34a;             /* gelbe Hinweise (offene Punkte, Rückfragen) */
  --hinweis-flaeche: rgb(240 195 74 / 0.14);
  --schatten: rgb(36 33 28 / 0.45);
  --schatten-rand: rgb(36 33 28 / 0.06);
  --deaktiviert: #b9bfb6;
  --band-leicht: rgb(63 106 90 / 0.08);
  --text-auf-wiese-linie: rgb(255 253 248 / 0.2);
  --text-auf-wiese-leise: rgb(255 253 248 / 0.8);
  --leiste-hover: rgb(255 253 248 / 0.65);
  --absage-rand: #e4c8c1;              /* Absagen: dezent rot */
  --absage-flaeche: #f8ece9;
  --absage-text: #7a1d1d;
  --marker-linie: #f0c34a;             /* Marker im dunklen Design der Verwaltung (gedämpft) */

  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-text: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.5rem, 1.2rem + 1vw, 1.95rem);
  --fs-xl: clamp(2rem, 1.5rem + 2.2vw, 2.75rem);

  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;

  --gutter: clamp(1rem, 4vw, 2rem);
  --spalte: 40rem;

  --radius-s: 4px;
  --radius-m: 10px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Basis ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--himmel);
  color: var(--torf-leise);
  font-family: var(--font-text);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--torf);
  line-height: 1.1;
  letter-spacing: -0.022em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: var(--fs-xl); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-lg); }
h3 { font-size: var(--fs-md); line-height: 1.25; }
h1:focus, h1:focus-visible { outline: none; } /* nur Fokusziel beim Seitenwechsel */

p { margin: 0 0 var(--space-4); text-wrap: pretty; }

a { color: var(--wiese); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.nobr { white-space: nowrap; }
a[href^="tel:"] { white-space: nowrap; } /* Telefonnummern bleiben zusammen (Martin, 13.10.2026) */
main { overflow-wrap: anywhere; } /* lange E-Mail-Adressen umbrechen statt seitlich zu schieben (Martin, 13.10.2026) */

/* Honeypot gegen Spam-Bots: unsichtbar, nicht per Tab erreichbar */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Textmarker in Bernstein: einzige Verwendung, 1–2 Wörter einer Überschrift */
.marker {
  background: linear-gradient(to top, transparent 0.08em, var(--bernstein) 0.08em, var(--bernstein) 0.42em, transparent 0.42em);
  padding-inline: 0.06em;
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: calc(var(--spalte) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Kopf- und Fußzeile ---------- */
.kopfzeile { padding-block: var(--space-4); background: var(--himmel-hoch); }
.kopfzeile img { height: 36px; width: auto; }
.kopfzeile__logo { display: block; width: max-content; } /* Logo als Link zur Website (Martin, 15.10.2026): Block in Bildgröße, Kopf bleibt gleich hoch, der Fokusrahmen umschließt das Bild */
.kopfzeile__logo:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
@media (min-width: 600px) { .kopfzeile img { height: 44px; } }

main { padding-bottom: var(--space-8); }

.fuss {
  border-top: 1px solid var(--linie);
  padding-block: var(--space-6);
  font-size: var(--fs-sm);
}
.fuss p { margin: 0 0 var(--space-3); }
.fuss__links { display: flex; flex-wrap: wrap; column-gap: var(--space-5); row-gap: 0; } /* vier Links, auch bei 320 px */
.fuss__links a { display: inline-block; padding-block: 0.6rem; } /* Tippfläche */

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 52px;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--wiese);
  border-radius: 999px;
  background: var(--wiese);
  color: var(--text-auf-wiese);
  font: 600 var(--fs-base)/1.2 var(--font-text);
  text-align: center; /* zweizeilige Knöpfe mittig (z. B. „In der Authenticator-App öffnen“) */
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}
.btn:hover { background: var(--wiese-tief); border-color: var(--wiese-tief); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--wiese); }
.btn--ghost:hover { background: var(--wiese); color: var(--text-auf-wiese); }
.btn--breit { width: 100%; }
.btn[aria-busy="true"] { cursor: progress; opacity: 0.75; }

.link-knopf {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.25rem;
  border: 0;
  background: none;
  color: var(--wiese);
  font: 600 var(--fs-sm)/1.2 var(--font-text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.link-knopf:disabled { color: var(--weide); text-decoration: none; cursor: default; }

/* ---------- Seitenkopf mit Fortschritt ---------- */
.kopf { padding-block: var(--space-6) var(--space-6); }
.einleitung { margin: var(--space-4) 0 0; font-size: 1.125rem; line-height: 1.55; }

.fortschritt {
  display: grid;
  gap: var(--space-2);
  margin: 0 0 var(--space-5);
  font-size: var(--fs-sm);
}
.fortschritt strong { color: var(--torf); }
.fortschritt__balken { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.fortschritt__balken i { height: 4px; border-radius: 2px; background: var(--weide-hell); }
.fortschritt__balken i.is-aktiv { background: var(--wiese); }

/* ---------- Abschnitte ---------- */
.block { margin-bottom: var(--space-7); }
.block > h2 { margin-bottom: var(--space-4); }
.block__hinweis { margin: calc(-1 * var(--space-2)) 0 var(--space-5); font-size: var(--fs-sm); }

/* ---------- Felder ---------- */
.felder { display: grid; gap: var(--space-5); }
.felder + .felder { margin-top: var(--space-5); }
@media (min-width: 480px) { .felder--2 { grid-template-columns: 1fr 1fr; } }
.felder--plz { grid-template-columns: minmax(6.5rem, 2fr) 5fr; }

.feld { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.feld > label,
.wahl > legend,
.datum > legend,
.upload__titel,
.unterschrift__titel {
  font-weight: 600;
  color: var(--torf);
}
.optional { font-weight: 400; color: var(--torf-leise); }
.hint { margin: 0; font-size: var(--fs-sm); line-height: 1.45; }

.feld input,
.feld textarea,
.feld select,
.datum input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--rand);
  border-radius: var(--radius-s);
  background: var(--flaeche);
  color: var(--torf);
  font: 400 1rem/1.4 var(--font-text); /* ≥ 16 px: kein Zoom auf iOS */
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.feld textarea { min-height: 7.5rem; resize: vertical; }
/* Auswahlfelder wie die Textfelder (Martin, 13.10.2026, Design-Prüfung B1): ohne Browser-Optik, eigener Pfeil in Tanne, hell und dunkel */
.feld select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--wiese) 50%), linear-gradient(135deg, var(--wiese) 50%, transparent 50%);
  background-position: calc(100% - 1.2rem) 52%, calc(100% - 0.85rem) 52%;
  background-size: 0.35rem 0.35rem;
  background-repeat: no-repeat;
  text-overflow: ellipsis;
  cursor: pointer;
}
.feld input:focus-visible,
.feld textarea:focus-visible,
.feld select:focus-visible,
.datum input:focus-visible {
  outline: none;
  border-color: var(--wiese);
  box-shadow: 0 0 0 3px rgb(63 106 90 / 0.3);
}
[aria-invalid="true"] { border-color: var(--fehler) !important; }

.feld__fehler {
  display: flex;
  gap: 0.4rem;
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
  color: var(--fehler);
}
.feld__fehler::before { content: "!"; flex: none; display: grid; place-items: center; width: 1.2em; height: 1.2em; margin-top: 0.05em; border-radius: 50%; background: var(--fehler); color: #fff; font-size: 0.8em; }

/* Auswahl als zwei Knöpfe (Geschlecht, kastriert) */
.wahl, .datum { margin: 0; padding: 0; border: 0; min-width: 0; }
.wahl > legend, .datum > legend { padding: 0; margin-bottom: 0.4rem; }
/* Pillen gleich hoch je Zeile, Text mittig mit Innenabstand, Umbruch nur an Leerzeichen (Martin, 21.10.2026: „KI-Tipp (z. B. ChatGPT)“ lief aus dem Knopf) */
.wahl__optionen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2); }
.wahl__optionen label { position: relative; display: flex; min-width: 0; }
.wahl__optionen input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.wahl__optionen span {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.45rem 0.9rem;
  text-align: center;
  line-height: 1.25;
  overflow-wrap: anywhere;
  border: 1.5px solid var(--rand);
  border-radius: 999px;
  background: var(--flaeche);
  color: var(--torf);
  font-weight: 600;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease);
}
.wahl__optionen input:checked + span { background: var(--wiese); border-color: var(--wiese); color: var(--text-auf-wiese); }
.wahl__optionen input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.wahl.is-fehler .wahl__optionen span { border-color: var(--fehler); }
.wahl .feld__fehler, .datum .feld__fehler { margin-top: 0.5rem; }

/* Geburtsdatum: Tag, Monat, Jahr */
.datum__felder { display: flex; gap: var(--space-3); }
.datum__feld { display: flex; flex-direction: column; gap: 0.25rem; }
.datum__feld label { font-size: var(--fs-sm); }
.datum__tag, .datum__monat { width: 4.25rem !important; text-align: center; }
.datum__jahr { width: 6rem !important; text-align: center; }

/* ---------- Hunde ---------- */
.hund {
  margin-bottom: var(--space-5);
  padding: var(--space-5) var(--space-4);
  border: 1px solid var(--linie);
  border-radius: var(--radius-m);
  background: var(--nebel);
}
@media (min-width: 600px) { .hund { padding: var(--space-6); } }
.hund__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin: calc(-1 * var(--space-2)) 0 var(--space-4);
}
.hund__kopf h3 { min-width: 0; overflow-wrap: anywhere; }
.hund:only-child [data-hund-entfernen] { display: none; }
[data-hund-plus] { margin-top: var(--space-2); }
.hund.is-neu { animation: hund-neu 320ms var(--ease); }
@keyframes hund-neu { from { opacity: 0; transform: translateY(8px); } }

/* Feldgruppen im Hundeblock (Futter, Besonderheiten) */
.gruppe { margin: 0; padding: 0; border: 0; min-width: 0; }
.gruppe > legend { padding: 0; margin-bottom: var(--space-3); font: 700 1.0625rem/1.3 var(--font-display); color: var(--torf); }
/* Zwei Felder nebeneinander (Futter, Betrag/Datum …): Beschriftung unten bündig, Felder auf einer Linie, Fehlermeldung darunter über die
   volle Breite (Martin, 13.10.2026, Design-Prüfung B1/B4); .feld nimmt dafür nicht am Raster teil, Label und Feld schon */
.felder--paar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 var(--space-3); }
.felder--paar > .feld { display: contents; }
.felder--paar > .feld > * { grid-column: 1; grid-row: 2; min-width: 0; }
.felder--paar > .feld + .feld > * { grid-column: 2; }
.felder--paar > .feld > label { grid-row: 1; align-self: end; margin-bottom: 0.4rem; }
.felder--paar > .feld > .feld__fehler { grid-column: 1 / -1; grid-row: 3; margin-top: 0.4rem; }
.felder--paar > .feld + .feld > .feld__fehler { grid-row: 4; }
.felder--raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3); } /* mehr als zwei kurze Felder (Einstellungen) */
.einheit { position: relative; }
.einheit input { padding-right: 2.25rem; }
.einheit span { position: absolute; top: 50%; right: 0.85rem; transform: translateY(-50%); color: var(--torf-leise); pointer-events: none; }

/* Barcode scannen (Chipnummer) */
.scan-knopf {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0 1rem;
  border: 1.5px solid var(--wiese);
  border-radius: 999px;
  background: var(--flaeche);
  color: var(--wiese);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
}
.feld > .scan-knopf { color: var(--wiese); } /* nicht die dunkle Label-Farbe erben */
.scan-knopf:hover { background: var(--hover-leicht); }
.scan-knopf:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.scan-status { margin: 0; font-size: var(--fs-sm); line-height: 1.45; }
.scan-status:empty { display: none; }
.scan-status.is-ok { color: var(--wiese); font-weight: 600; }
.scan-status.is-fehler { color: var(--fehler); font-weight: 600; }

/* Impfpass-Upload */
.upload { display: flex; flex-direction: column; gap: var(--space-3); }
.upload__titel { margin: 0; }
.upload__titel + .hint { margin-top: calc(-1 * var(--space-2)); }
.upload__liste {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.upload__liste:empty { display: none; }
.upload__liste li {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--linie);
  border-radius: var(--radius-s);
  background: var(--himmel);
}
.upload__liste img { width: 100%; height: 100%; object-fit: cover; }
.upload__liste .datei {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 100%;
  padding: 0.5rem;
  color: var(--torf);
  font-size: 0.8125rem;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}
.upload__liste .datei svg { width: 28px; height: 28px; color: var(--wiese); }
.upload__liste li.is-arbeitet .datei { color: var(--torf-leise); }
.upload__liste li.is-arbeitet { animation: arbeitet 1.2s ease-in-out infinite alternate; }
@keyframes arbeitet { to { background: var(--weide-hell); } }
.upload__entfernen {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(36 33 28 / 0.78);
  color: #fff;
  cursor: pointer;
}
.upload__entfernen svg { width: 18px; height: 18px; }
.upload__knopf {
  position: relative; /* Bezug für das versteckte Dateifeld */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 56px;
  padding: 0.75rem 1rem;
  border: 1.5px dashed var(--wiese);
  border-radius: var(--radius-m);
  background: var(--flaeche);
  color: var(--wiese);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms var(--ease);
}
.upload__knopf:hover { background: var(--hover-leicht); }
.upload__knopf:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.upload.is-fehler .upload__knopf { border-color: var(--fehler); border-style: solid; }
/* Nachfrage nach dem ersten Impfpass-Foto (Martin, 21.10.2026) */
.upload__nachfrage { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); padding: var(--space-3) var(--space-4); border: 1.5px solid var(--wiese); border-radius: var(--radius-m); background: var(--nebel); }
.upload__nachfrage p { margin: 0; flex: 1 1 12rem; color: var(--torf); }
.upload__nachfrage .btn { flex: 0 0 auto; min-height: 44px; }
/* Rückfrage „Nur eine Seite?“ vor dem Weitergehen (Martin, 21.10.2026) */
.rueckfrage { margin: 0 0 var(--space-4); padding: var(--space-4); border: 2px solid var(--wiese); border-radius: var(--radius-m); background: var(--nebel); color: var(--torf); }
.rueckfrage p { margin: 0 0 var(--space-3); }
.rueckfrage__knoepfe { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); }
.rueckfrage__knoepfe .btn { flex: 1 1 12rem; min-height: 48px; }
.rueckfrage:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.upload__status { margin: 0; font-size: var(--fs-sm); }
.upload__status:empty { display: none; }

/* ---------- Vertragstext ---------- */
/* Jeder Paragraph ist ein aufklappbarer Abschnitt; aufgeklappt steht der Text vollständig da */
.dokument {
  overflow: hidden;
  border: 1px solid var(--linie);
  border-radius: var(--radius-m);
  background: var(--nebel);
  color: var(--torf-leise);
  font-size: 1rem;
  line-height: 1.6;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}
.dokument__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4);
  border-bottom: 1px solid var(--linie);
}
.dokument__stand { margin: 0; font-size: var(--fs-sm); }
.paragraf + .paragraf { border-top: 1px solid var(--linie); }
.paragraf summary {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  min-height: 56px;
  padding: var(--space-4);
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.paragraf summary::-webkit-details-marker { display: none; }
.paragraf summary::after { /* Pfeil: zeigt nach unten, aufgeklappt nach oben */
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin: 0.3em 0.25rem 0 auto;
  border-right: 2px solid var(--wiese);
  border-bottom: 2px solid var(--wiese);
  transform: rotate(45deg);
  transition: transform 200ms var(--ease);
}
.paragraf[open] summary::after { transform: translateY(0.25em) rotate(-135deg); }
.paragraf summary:hover { background: #f6f7f1; }
.paragraf summary:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: 0; }
.paragraf summary h3 { flex: 1; font-size: 1.0625rem; line-height: 1.3; hyphens: manual; -webkit-hyphens: manual; }
.paragraf__text { padding: 0 var(--space-4) var(--space-2); }
@media (min-width: 600px) {
  .paragraf summary { padding-inline: var(--space-5); }
  .paragraf__text { padding-inline: var(--space-5); }
  .dokument__kopf { padding-inline: var(--space-5); }
}
.dokument .par { color: var(--wiese); }
.paragraf__text p { margin: 0 0 var(--space-4); }
.paragraf__text ol { margin: 0 0 var(--space-4); padding-left: 1.6rem; }
.paragraf__text li { margin-bottom: var(--space-2); padding-left: 0.15rem; }
.paragraf__text li::marker { color: var(--wiese); font-weight: 700; }
.paragraf__text ol ol { margin: var(--space-2) 0 0; padding-left: 1.4rem; }
.paragraf__text strong { color: var(--torf); }

/* Texte der IT-Recht Kanzlei: Zeile für Zeile, wie geliefert; Überschriften und Schreiblinien nur als Darstellung (Markdown.php) */
.kanzlei p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; hyphens: manual; -webkit-hyphens: manual; }
.kanzlei p.leer { height: 0.8em; }
.kanzlei h4, .kanzlei h5 { margin: var(--space-4) 0 var(--space-2); line-height: 1.3; color: var(--torf); }
.kanzlei h4 { font-size: 1.0625rem; }
.kanzlei h5 { font-size: 1rem; }
.kanzlei .schreiblinie { margin: 4px 0 var(--space-2); line-height: 1.8; }
.kanzlei .linie { display: inline-block; max-width: 100%; height: 1.4em; border-bottom: 1px solid var(--torf-leise); vertical-align: baseline; }

/* Platzhalter für noch fehlende Texte (wie auf der Website, bewusst nicht gelb) */
.offen {
  padding: 0 0.25em;
  border-radius: 2px;
  outline: 1px dashed rgb(76 71 63 / 0.45);
  outline-offset: -1px;
  background: rgb(76 71 63 / 0.1);
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Haken ---------- */
.haken { border-top: 1px solid var(--linie); }
.check {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: var(--space-3);
  align-items: start;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--linie);
  color: var(--torf);
  line-height: 1.45;
  cursor: pointer;
}
/* Haken selbst gestaltet (Martin, 13.10.2026, Design-Prüfung B2): in Safari und Firefox gleich, Häkchen auf Tanne, Fehler = roter Rand der Box */
.check input[type="checkbox"],
.auswahl__zeile input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-content: center;
  flex: none;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1.5px solid var(--rand);
  border-radius: 6px;
  background: var(--flaeche);
  cursor: pointer;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.check input[type="checkbox"]::before,
.auswahl__zeile input[type="checkbox"]::before {
  content: "";
  width: 11px;
  height: 6px;
  margin-top: -3px;
  border: solid var(--text-auf-wiese);
  border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg) scale(0);
  transition: transform 120ms var(--ease);
}
.check input[type="checkbox"]:checked,
.auswahl__zeile input[type="checkbox"]:checked { background: var(--wiese); border-color: var(--wiese); }
.check input[type="checkbox"]:checked::before,
.auswahl__zeile input[type="checkbox"]:checked::before { transform: rotate(-45deg) scale(1); }
.check input[type="checkbox"]:hover:not(:checked),
.auswahl__zeile input[type="checkbox"]:hover:not(:checked) { border-color: var(--wiese); }
.check input[type="checkbox"]:focus-visible,
.auswahl__zeile input[type="checkbox"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.check .feld__fehler { grid-column: 2; }
/* Hinweis unter dem Buchungs-Haken (kein Haken; Fassung 6): gehört optisch zur selben Zeile, eingerückt wie der Text */
.check:has(+ .check-hinweis) { padding-bottom: var(--space-2); border-bottom: 0; }
.check-hinweis { padding: 0 0 var(--space-4) calc(26px + var(--space-3)); border-bottom: 1px solid var(--linie); color: var(--torf-leise); }
.check-hinweis .hint { margin: 0; }
.check-hinweis .feld__fehler { margin-top: var(--space-2); } /* Meldung zum Buchungs-Haken am Ende des Blocks (Martin, 13.10.2026) */
/* Satz direkt über einem Haken (Leistungsbeginn, Fassung 7): Bedingung für kurzfristige Buchungen, eingerückt wie der Haken-Text */
.check-vorab { margin: 0; padding: var(--space-4) 0 0; font-size: var(--fs-sm); line-height: 1.45; color: var(--torf-leise); } /* bündig links als Hinweis (Martin, 13.10.2026) */
.check-vorab + .check { padding-top: var(--space-2); }
/* Link auf die Ergänzenden Datenschutzhinweise beim Haken (Martin, 12.10.2026) */
.datenschutz-link { margin: var(--space-3) 0 0; color: var(--torf-leise); }
/* Rechtstexte zum Nachlesen über dem Buchungs-Haken (Martin, 12.10.2026): Paragraphen der Betreuungsbedingungen als Zwischenüberschriften */
.rechtstexte__par { margin: var(--space-5) 0 var(--space-2); font-size: 1rem; line-height: 1.3; color: var(--torf); }
.rechtstexte .dokument__stand { margin-top: var(--space-2); color: var(--torf-leise); }
/* Rechtstexte auf „Deine Buchung“: sichtbares „Aufklappen“/„Zuklappen“ neben dem Pfeil, unten „Zuklappen“ (Martin, 15.10.2026) */
.rechtstexte .paragraf summary { align-items: center; }
.rechtstexte .paragraf summary::after { margin: 0 0.25rem 0 0; transform: translateY(-0.15em) rotate(45deg); }
.rechtstexte .paragraf[open] summary::after { transform: translateY(0.15em) rotate(-135deg); }
.paragraf__aktion { flex: none; margin-left: auto; color: var(--wiese); font-size: var(--fs-sm); font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; }
.paragraf__zuklappen, .paragraf[open] .paragraf__auf { display: none; }
.paragraf[open] .paragraf__zuklappen { display: inline; }
.paragraf__zu { margin: 0 0 var(--space-2); }
/* Öffentliche Seite „Ergänzende Datenschutzhinweise“ */
.rechtstext h2 { margin: var(--space-6) 0 var(--space-2); font-size: 1.125rem; line-height: 1.3; }
.rechtstext > h1 + p { margin-top: var(--space-4); } /* wie die Einleitung der übrigen Seiten (Martin, 13.10.2026) */
.rechtstext p, .rechtstext ul { max-width: 70ch; margin: 0 0 var(--space-4); }
.rechtstext ul { padding-left: 1.4rem; }
.rechtstext li { margin-bottom: var(--space-2); }
.rechtstext .stand { color: var(--torf-leise); }
/* Futter (Martin, 11.10.2026): Kontrollzeile mit den Tageszeiten, Rückfrage bei ungewöhnlicher Menge pro Mahlzeit */
.futter { display: grid; gap: var(--space-2); }
.futter__kontrolle { min-height: 1.45em; color: var(--torf); font-weight: 600; }
.futter__kontrolle:empty { display: none; }
.futter__rueckfrage { padding: var(--space-3) var(--space-4) 0; border-left: 4px solid var(--hinweis-rand); border-radius: var(--radius-s); background: var(--hinweis-flaeche); }
.futter__frage { margin: 0; font-weight: 600; color: var(--torf); }
.futter__rueckfrage .check { padding-block: var(--space-3); border-bottom: 0; }
.futter__rueckfrage .feld__fehler { padding-bottom: var(--space-3); }
.check.is-fehler input[type="checkbox"] { border: 2px solid var(--fehler); }

/* ---------- Unterschrift: auf dem Horizontbogen aus dem Signet ---------- */
.unterschrift { margin-top: var(--space-6); }
.unterschrift__kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-2); }
.unterschrift__flaeche {
  position: relative;
  height: 190px;
  overflow: hidden;
  border: 1.5px solid var(--rand);
  border-radius: var(--radius-m);
  background: #fff;
  touch-action: none;
}
.unterschrift canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.unterschrift__bogen {
  position: absolute;
  left: 6%;
  bottom: 40px;
  z-index: 1;
  width: 88%;
  height: 26px;
  fill: none;
  stroke: var(--weide);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  transition: stroke 200ms var(--ease);
}
.unterschrift__leer {
  position: absolute;
  inset: 32% 1rem auto;
  z-index: 1;
  margin: 0;
  color: #6b655b;
  text-align: center;
  pointer-events: none;
}
.unterschrift__name {
  position: absolute;
  inset: auto 1rem 12px;
  z-index: 1;
  margin: 0;
  font-size: 0.875rem;
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.unterschrift.is-signiert .unterschrift__leer { display: none; }
.unterschrift.is-signiert .unterschrift__bogen { stroke: var(--wiese); }
.unterschrift.is-fehler .unterschrift__flaeche { border-color: var(--fehler); }
.unterschrift .feld__fehler { margin-top: var(--space-2); }

/* ---------- Fehlerübersicht ---------- */
/* Entwurf wiederhergestellt (Martin, 20.10.2026): ruhiger grüner Kasten über dem Kopf der Seite */
.entwurf-hinweis { display: flex; gap: var(--space-3); align-items: center; margin: 0 0 var(--space-5); padding: var(--space-3) var(--space-4); border: 1px solid var(--wiese); border-radius: var(--radius-m); background: var(--nebel); color: var(--torf); font-weight: 600; }
.entwurf-hinweis::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--wiese); }
.entwurf-hinweis[hidden] { display: none; }
.fehlerliste {
  margin: 0 0 var(--space-6);
  padding: var(--space-4) var(--space-5);
  border: 2px solid var(--fehler);
  border-radius: var(--radius-m);
  background: var(--flaeche);
}
.fehlerliste:focus { outline: none; }
.fehlerliste:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.fehlerliste h2 { font-size: var(--fs-md); color: var(--fehler); }
.fehlerliste ul { margin: var(--space-3) 0 0; padding-left: 1.1rem; }
.fehlerliste li { margin-bottom: var(--space-2); }
.fehlerliste a { color: var(--fehler); font-weight: 600; }

/* ---------- Seite 2: Aufenthalt (wie die grüne Preiskarte der Website) ---------- */
.aufenthalt {
  padding: var(--space-5);
  border-radius: var(--radius-m);
  background: var(--wiese);
  color: #fff;
}
@media (min-width: 600px) { .aufenthalt { padding: var(--space-6); } }
.aufenthalt h2 { color: #fff; font-size: var(--fs-md); }
.aufenthalt dl { display: grid; margin: var(--space-4) 0 0; }
.aufenthalt dl > div {
  display: grid;
  grid-template-columns: minmax(6.5rem, 2fr) 5fr;
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-top: 1px solid rgb(255 255 255 / 0.22);
}
.aufenthalt dt { color: #dbe5df; }
.aufenthalt dd { margin: 0; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.aufenthalt__preis dt { align-self: center; }
.aufenthalt__preis dd { font: 800 1.75rem/1.1 var(--font-display); letter-spacing: -0.01em; }
.aufenthalt__zwischentitel { margin: var(--space-5) 0 var(--space-2); color: #fff; font: 700 1rem/1.3 var(--font-text); letter-spacing: 0; }
.preiszeilen { margin: 0; padding: 0; list-style: none; }
.preiszeilen li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
  border-top: 1px solid rgb(255 255 255 / 0.22);
  line-height: 1.45;
}
.preiszeilen li span:first-child { color: #dbe5df; }
.preiszeilen li span:last-child { flex: none; color: #fff; font-weight: 600; text-align: right; }
/* „i“ an Zusatzleistungen: Beschreibung auf- und zuklappen, Tippfläche 44 px (Martin, 15.10.2026) */
.info-knopf { position: relative; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 0.2rem; padding: 0; border: 1.5px solid currentColor; border-radius: 50%; background: none; color: #fff; font: 700 0.8125rem/1 var(--font-text); vertical-align: 0.05em; cursor: pointer; }
.info-knopf::after { content: ""; position: absolute; inset: -11px; }
.info-knopf[aria-expanded="true"] { background: #fff; color: var(--wiese); }
.preiszeilen li .info-knopf span { color: inherit; font-weight: inherit; } /* nicht weiß wie die Beträge (span:last-child) */
.info-knopf:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.preiszeilen li.preiszeilen__info { display: block; padding-top: 0; border-top: 0; color: #fff; font-size: var(--fs-sm); }
.preiszeilen li.preiszeilen__info[hidden] { display: none; }
.aufenthalt .aufenthalt__summe { margin-top: 0; }
/* Gesamtpreis und Anzahlung rechtsbündig unter den Beträgen der Preiszeilen (Martin, 13.10.2026, Design-Prüfung B10) */
.aufenthalt__summe > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); }
.aufenthalt__summe dt { white-space: nowrap; }
.aufenthalt__summe dd { text-align: right; }

/* Medikamente in der Buchung */
.medikamente { margin-bottom: var(--space-6); }
.medikamente > h2 { margin-bottom: var(--space-4); }
.medi { margin-bottom: var(--space-4); padding: var(--space-5) var(--space-4); border: 1px solid var(--linie); border-radius: var(--radius-m); background: var(--nebel); }
@media (min-width: 600px) { .medi { padding: var(--space-6); } }
.medi h3 { margin-bottom: var(--space-4); }
.medi__eintrag + .medi__eintrag { margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--linie); }
.medi__entfernen { margin-top: var(--space-2); }
[data-medi-plus] { margin-top: var(--space-3); }

.aufenthalt__mwst { margin: var(--space-3) 0 var(--space-6); font-size: var(--fs-sm); }

.buchungstext { margin-bottom: var(--space-5); color: var(--torf); }

/* Wichtiger Hinweis (z. B. Impfpass ist Pflicht) */
.hint--wichtig { color: var(--torf); font-weight: 600; }
/* Hinweis nach § 7 Abs. 3 UWG (Martin, 13.11.2026): kleinste Hinweisschrift des Formulars (--fs-sm, 15 px), grau (--leise, Kontrast über 4,5:1), immer sichtbar */
.werbehinweis { margin-top: var(--space-2); color: var(--leise); }
/* Empfehlungscode (falls vorhanden), unbekannter Code (Martin, 13.11.2026): freundlicher Hinweis, kein Fehler */
.empfehlungscode__pruefung { margin-top: var(--space-2); color: var(--torf-leise); }

/* Formular B: gespeicherte Angaben bei „Ja, es hat sich etwas geändert“ */
.aenderungen__felder > .block__hinweis { margin: 0 0 var(--space-4); }
.danke__aenderungen { margin-top: var(--space-6); padding: var(--space-5) var(--space-4); border: 1px solid var(--linie); border-radius: var(--radius-m); background: var(--nebel); }
.danke__aenderungen h2 { font-size: var(--fs-md); margin-bottom: var(--space-2); }
.danke__aenderungen ul { margin: 0; padding-left: 1.1rem; }
.danke__aenderungen li { margin-bottom: var(--space-2); color: var(--torf); overflow-wrap: anywhere; }

/* Formular B: Änderungsfrage vor den Rechtstexten und Haken (Martin, 13.10.2026) */
.aenderungen { display: grid; gap: var(--space-5); margin: var(--space-6) 0 var(--space-7); }
.aenderungen .wahl > legend { line-height: 1.45; margin-bottom: var(--space-3); }

/* ---------- Abschluss ---------- */
.weiter { display: grid; justify-items: center; gap: var(--space-3); margin-top: var(--space-6); }
/* Fluchtweg (Martin, 21.10.2026): dezent unter den Knöpfen, Tippfläche über den Link selbst */
.fluchtweg { margin: var(--space-2) 0 0; font-size: var(--fs-sm); color: var(--torf-leise); text-align: center; line-height: 1.5; }
.fluchtweg a { display: inline-block; padding: 0.6rem 0; color: var(--wiese); font-weight: 600; }
.sendestatus { margin: 0; font-weight: 600; text-align: center; }
.sendestatus:empty { display: none; }
.sendestatus.is-fehler { color: var(--fehler); }
/* „Fast fertig …“ mit drei Punkten nacheinander; bei „Bewegung reduzieren“ stehen sie still (Martin, 15.10.2026) */
.sendestatus__punkte { display: block; font-size: 2rem; line-height: 0.8; letter-spacing: 0.15em; color: var(--wiese); } /* eigene Zeile unter dem Satz */
.sendestatus__punkte span { animation: sendestatus-punkt 1.2s infinite; }
.sendestatus__punkte span:nth-child(2) { animation-delay: 0.2s; }
.sendestatus__punkte span:nth-child(3) { animation-delay: 0.4s; }
@keyframes sendestatus-punkt { 0%, 60%, 100% { opacity: 0.2; } 30% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sendestatus__punkte span { animation: none; } }
/* Dankeseite: „Fertig! …“ ganz oben (Martin, 15.10.2026) */
.fertig-hinweis { display: flex; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-5); padding: var(--space-4); border-radius: var(--radius-m); background: var(--wiese); color: var(--text-auf-wiese); font-size: var(--fs-md); font-weight: 700; line-height: 1.35; }
.fertig-hinweis svg { flex: none; width: 28px; height: 28px; }

.danke .kopf { padding-bottom: var(--space-5); }
.prototyp { margin-top: var(--space-6); padding: var(--space-4); border: 1px dashed var(--weide); border-radius: var(--radius-m); background: var(--nebel); font-size: var(--fs-sm); }
.prototyp summary { font-weight: 600; color: var(--torf); cursor: pointer; }
.prototyp dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 0.25rem 0.75rem; margin: var(--space-4) 0 0; }
.prototyp dt { color: var(--torf); overflow-wrap: anywhere; }
.prototyp dd { margin: 0; overflow-wrap: anywhere; }

/* ---------- Hinweisseite ---------- */
.hinweis { padding-block: var(--space-7) var(--space-6); }
.hinweis .einleitung { margin-bottom: var(--space-4); }
.hinweis__knoepfe { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
@media (max-width: 479px) { .hinweis__knoepfe .btn { width: 100%; } }

/* ---------- Widerrufsschaltfläche (§ 356a BGB, Martin 10.10.2026) ---------- */
.widerruf h2 { margin: var(--space-6) 0 var(--space-3); font-size: var(--fs-md); }
.widerruf__schritt { margin-top: var(--space-6); }
.widerruf__schritt > summary { display: block; list-style: none; text-align: center; cursor: pointer; }
.widerruf__schritt > summary::-webkit-details-marker { display: none; }
.widerruf__schritt[open] > summary { display: none; } /* nach dem Aufklappen nur noch das Formular (Martin, 13.10.2026) */
.widerruf__form { margin-top: var(--space-5); padding: var(--space-5) var(--space-4); border: 1px solid var(--linie); border-radius: var(--radius-m); background: var(--nebel); }
@media (min-width: 600px) { .widerruf__form { padding: var(--space-6); } } /* wie die Hunde- und Medikamentenkarten */
.widerruf__form h2:first-of-type { margin-top: 0; }
.widerruf__form .feld { margin-bottom: var(--space-4); }
.widerruf__form .felder { gap: 0 var(--space-4); } /* gleicher Abstand wie zwischen den übrigen Feldern */
.widerruf__form .hint { margin-bottom: var(--space-3); }
.widerruf__form .btn { margin-top: var(--space-4); }
.widerruf__angaben { margin: 0 0 var(--space-5); padding: var(--space-4); border: 1px solid var(--linie); border-radius: var(--radius-m); background: var(--nebel); font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Herkunft: einmaliger freundlicher Hinweis, kein Fehler (Formular A) */
[data-herkunft] .wahl > legend { margin-bottom: var(--space-4); } /* Überschrift wie die übrigen Abschnitte (Martin, 13.10.2026, B9) */
[data-herkunft] .wahl > legend h2 { font-size: var(--fs-lg); line-height: 1.1; }
[data-herkunft] .wahl > legend .optional { font-family: var(--font-text); font-size: var(--fs-base); font-weight: 400; letter-spacing: 0; }
/* Felder unter der Herkunftsfrage (Martin, 16.11.2026): Abstand wie zwischen Feldgruppen (.felder), nicht direkt unter den Knöpfen –
   Empfehlungscode, „Flyer/Aushang“ samt Folgefragen zum Ort, „Sonstiges“ */
[data-herkunft] [data-empfehlungscode-feld],
[data-herkunft] > [data-herkunft-zu="Flyer/Aushang"],
[data-herkunft] > [data-herkunft-ortstelle],
[data-herkunft] > [data-herkunft-ort],
[data-herkunft] > [data-herkunft-zu="Sonstiges"] { margin-top: var(--space-5); }
.herkunft__hinweis:not(:empty) { margin-top: var(--space-3); padding: var(--space-3) var(--space-4); border-left: 3px solid var(--wiese); border-radius: var(--radius-s); background: #fff; color: var(--torf); }

/* Hundefoto, das uns schon vorliegt (Martin, 13.10.2026, Design-Prüfung B6): kleine Vorschau wie nach einem Upload */
.upload__vorhanden { width: calc((100% - 2 * var(--space-2)) / 3); aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--linie); border-radius: var(--radius-s); background: var(--himmel); }
.upload__vorhanden img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Auswahlseite „Kunde wählt selbst“ (Martin, 28.10.2026) ---------- */
.auswahl-seite .block { margin-bottom: var(--space-6); }
.auswahl-kalender .rp { max-width: 24rem; }
.auswahl-seite .check small { display: block; color: var(--torf-leise); font-size: var(--fs-sm); line-height: 1.4; }
.auswahl-seite .check--extra > span { display: grid; gap: 0.15rem; }
.auswahl-unter { margin: 0 0 var(--space-3) calc(26px + var(--space-3)); padding: 0; border: 0; min-width: 0; }
.auswahl-unter legend { padding: var(--space-3) 0 0; font-weight: 600; color: var(--torf); }
.auswahl-unter .check { padding: var(--space-3) 0; }
.auswahl-unter .check:last-of-type { border-bottom: 0; }
.auswahl-seite .aufenthalt p { margin: var(--space-3) 0 0; color: #fff; }
.auswahl-seite .feld__fehler { margin-top: var(--space-2); }
.auswahl-seite .weiter .hint { margin: 0; text-align: center; }
/* „Kunde wählt selbst“ für Neukunden (Martin, 13.11.2026): derselbe Auswahlteil auf Seite 2 von Formular A */
.auswahl-einleitung { margin: 0 0 var(--space-6); }
.auswahl-zeitraum { margin-top: var(--space-3); }
.auswahl-zeitraum:focus { outline: none; }
.auswahl-zeitraum.is-fehler .rp { box-shadow: 0 0 0 2px var(--fehler); border-radius: var(--radius-s); }
.auswahl-aendern { margin: calc(-1 * var(--space-3)) 0 var(--space-5); font-size: var(--fs-sm); color: var(--torf-leise); }
