/* ============================================================
   T.A. Finanz - Objektunterlagen-Funnel (/objektunterlagen)
   Umbau 2026-07-26. Alles hier ist auf .page--objektunterlagen gekapselt,
   damit Kleinkredit- und Selbstauskunft-Formulare (gleiche .f__/.wiz-Klassen)
   unberuehrt bleiben.

   Aufbau: MOBILE FIRST. Basiswerte = 360px. Groessere Viewports ausschliesslich
   ueber @media (min-width: …) - keine nachtraeglichen "globalen Fixes" am
   Dateiende, die Mobil-Regeln ueberschreiben (BEKANNTE-FEHLER 019/203).

   Reihenfolge:
     0 Tokens · 1 Seitenrahmen/Hero-Uebergang · 2 Sheet + Stepper · 3 Schrittkarte
     4 Felder · 5 Objektart-Karten · 6 Leistungs-Karten · 7 Energieausweis
     8 Hinweise/Upload/Grundbuch/Vollmacht/Rechnung · 9 Uebersicht (Schritt 5)
     10 Aktionsleiste + Fehlerzustand · 11 Desktop-Rail (>=1024)

   Runde 2 (Feinschliff, 2026-07-26 abends):
     - EINE Aktionsleiste (.ou-actions) fuer alle 5 Schritte: Zurueck links,
       Zaehler, Primaeraktion rechts - auch der Absende-Button auf Schritt 5.
       Rechts bleibt --ou-fab-gap frei, dort schwebt der WhatsApp-FAB; damit
       kann er den Primaerbutton auf keiner Scrollposition mehr verdecken.
     - Fehlermeldung zusaetzlich AN der Feldgruppe (::after am Label), damit
       sie nicht mehr 230px unter der fehlerhaften Gruppe steht.
     - Hero kollabiert ab Schritt 2 (:has()), Preisbox laeuft ueber zwei Zeilen
       statt Label/Zahl nebeneinander, Schriftgroessen >= 14px, Live-Uebersicht
       in der Desktop-Schiene (.ou-rail, sticky).

   Runde 3 (Feinschliff, 2026-07-26 nachts):
     - WhatsApp-FAB auf dieser Seite unter 1200px abgeschaltet (lag messbar auf
       Bedienflaechen); dafuer .ou-help IM Fluss der Aktionsleiste. Damit faellt
       die 74px-Dauerreserve weg, die die Leiste auf allen Breiten deformiert hat.
     - .ou-mbar: klebende Live-Leiste mobil (Auswahl + laufender Richtwert +
       Abkuerzung zum Weiter) - der Live-Preis existierte unter 1024px nicht.
     - Abschlusskarte Schritt 5 zweispaltig (Betrag | Positionen/Rueckmeldung/
       Ansprechpartner) + „So geht es weiter".
     - Schritt 4 in nummerierte Untergruppen (4.1-4.3) mit Haarlinie, optionale
       Grundbuchfelder als zugeklappter <details>-Block.
     - Schriftgroessen wirklich >= 14px, Textspalten auf 58ch begrenzt
       (auf 768px liefen Zeilen bis 100 Zeichen).
   ============================================================ */

/* ---------- 0 · Tokens ---------- */
.page--objektunterlagen {
  /* Rechte Innenreserve der Aktionsleiste. Unter 1200px ist der WhatsApp-FAB
     auf dieser Seite abgeschaltet - dort gilt der normale Innenabstand. */
  --ou-fab-gap: 14px;
  --ou-r-sheet: 18px;
  --ou-r-card: 12px;
  --ou-r-in: 9px;
  --ou-line: #e4e0d6;
  --ou-line-soft: #efece4;
  --ou-shadow-card: 0 1px 2px rgba(14,15,13,.04), 0 22px 44px -34px rgba(14,15,13,.45);
  --ou-focus: 0 0 0 3px rgba(36,97,74,.20);
  --ou-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect x='.9' y='.9' width='20.2' height='20.2' rx='5.6' fill='%23183f31' stroke='%23183f31' stroke-width='1.6'/%3E%3Cpath d='M6 11.3l3.3 3.3L16.2 7.7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ou-uncheck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect x='.9' y='.9' width='20.2' height='20.2' rx='5.6' fill='%23fff' stroke='%23c6c1b4' stroke-width='1.6'/%3E%3C/svg%3E");
  --ou-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.5l3.2 3.2L12.9 5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Geldbetraege: Cormorant setzt sonst Mediaevalziffern - im Formular standen
   dadurch zwei Ziffernsysteme nebeneinander (Eingabefeld vs. Preis). */
.page--objektunterlagen .ou-money,
.page--objektunterlagen [data-ou-svc-amount],
.page--objektunterlagen .ou-total__val,
.page--objektunterlagen .ou-sum__row span:last-child,
.page--objektunterlagen .ou-einheit .f__in,
.page--objektunterlagen .ea-panel .f__in {
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

/* ---------- 1 · Seitenrahmen + Uebergang Hero -> Wizard ---------- */
.page--objektunterlagen .wrap--narrow { width: min(100%, 1060px); }

.page--objektunterlagen .form-hero {
  border-bottom: 0;
  padding-bottom: clamp(30px, 5vw, 52px);
  background: linear-gradient(180deg, var(--ta-green-soft) 0%, #f4f6f1 62%, var(--ta-paper-2) 100%);
}
.page--objektunterlagen .form-hero__lede { max-width: 62ch; }
/* War 11,5-12px - der kleinste Text der ganzen Strecke. */
.page--objektunterlagen .form-hero .eyebrow { font-size: 14px; letter-spacing: .08em; }

/* Der Hero stand auf allen fuenf Schritten in voller Hoehe (~300px) und schob
   das Formular jedes Mal unter die Falz - auf Schritt 5 widersprach die
   Headline sogar dem Zustand. Ab Schritt 2 bleibt nur noch eine schmale
   Leiste (Kicker + Kurztitel) stehen. Reines CSS: greift nur, wenn der
   Wizard laeuft (.is-wizard) und Schritt 1 NICHT aktiv ist. */
.page--objektunterlagen:has(.f.is-wizard .f__step[data-step="1"]:not(.is-active)) .form-hero {
  padding-top: 16px;
  padding-bottom: 14px;
}
.page--objektunterlagen:has(.f.is-wizard .f__step[data-step="1"]:not(.is-active)) .form-hero .eyebrow {
  margin-bottom: 3px;
  font-size: 14px;
}
.page--objektunterlagen:has(.f.is-wizard .f__step[data-step="1"]:not(.is-active)) .form-hero__title {
  font-size: 1.28rem;
  margin: 0;
  max-width: none;
}
.page--objektunterlagen:has(.f.is-wizard .f__step[data-step="1"]:not(.is-active)) .form-hero__title br,
.page--objektunterlagen:has(.f.is-wizard .f__step[data-step="1"]:not(.is-active)) .form-hero__title em,
.page--objektunterlagen:has(.f.is-wizard .f__step[data-step="1"]:not(.is-active)) .form-hero__lede { display: none; }

/* WhatsApp-FAB: auf dieser Seite unter 1200px ABGESCHALTET.
   Begruendung (gemessen, Runde 3): der fixe Kreis lag auf 3 bis 9 von 5 bis 12
   Scrollpositionen je Schritt ueber echten Bedienflaechen - Objektart-Karten
   (33x46), Leistungskarten (33x50), Sanierungs-Checkbox (18x28), Upload-Feld
   (18x50), Grundbuchfelder (18x50) und dem Einwilligungssatz. Ein Tipp auf die
   rechte Feldhaelfte oeffnete WhatsApp statt der Tastatur. Die Runde-2-Loesung
   (74px Dauerreserve) hat den Fehler nicht behoben, sondern nur den CTA
   geschuetzt - und dabei die Aktionsleiste auf allen Breiten < 1200px verformt.
   WhatsApp bleibt vollstaendig erreichbar: .ou-help steht auf jedem Schritt im
   Fluss der Aktionsleiste, Schritt 5 zusaetzlich unter dem Absende-Button.
   Gleiches Muster wie im Kleinkredit-Funnel (site.css:1231). */
.page--objektunterlagen .wa-fab { display: none; }

/* Kein harter Grauwechsel mehr: die Sektion setzt die Hero-Flaeche fort und
   das weisse Sheet legt sich als eigene Ebene darueber. */
.page--objektunterlagen .form-section {
  padding-top: 0;
  padding-bottom: calc(var(--section-y) + 76px);   /* Platz fuer den WhatsApp-FAB */
  background: linear-gradient(180deg, var(--ta-paper-2) 0 200px, var(--ta-paper-3) 1400px);
}

/* ---------- 2 · Sheet + Stepper ---------- */
.page--objektunterlagen .f { gap: 16px; }

/* Kein overflow:hidden mehr: ein Vorfahre mit overflow:hidden macht
   position:sticky der Aktionsleiste wirkungslos. Die Ecken runden jetzt die
   Kinder selbst (Stepper oben, Aktionsleiste unten) - der Hintergrund des
   Sheets wird ohnehin am Radius beschnitten. */
.page--objektunterlagen .f.is-wizard {
  gap: 0;
  background: #fff;
  border: 1px solid var(--ou-line);
  border-radius: var(--ou-r-sheet);
  box-shadow: var(--ou-shadow-card);
}

/* Stepper-Leiste (mobil: waagerecht, Punkte verbunden) */
.page--objektunterlagen .f.is-wizard .wiz {
  display: flex;
  position: static;
  margin: 0;
  padding: 14px 14px 12px;
  gap: 0;
  background: linear-gradient(180deg, #fbfaf6, #fff);
  border-bottom: 1px solid var(--ou-line-soft);
  border-radius: var(--ou-r-sheet) var(--ou-r-sheet) 0 0;
}
/* Die Rail-Uebersicht ist erst ab 1024px Teil der Schiene. */
.page--objektunterlagen .ou-rail { display: none; }
.page--objektunterlagen .wiz__item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  border: 0;
  color: var(--ta-mute);        /* mute-2 kam auf 2,9:1 - unter WCAG AA */
  font-size: 12px;
  font-weight: 500;
}
.page--objektunterlagen .wiz__item::before {          /* Verbindungslinie */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 13px;
  height: 2px;
  background: var(--ou-line);
  z-index: 0;
}
.page--objektunterlagen .wiz__item:first-child::before { left: 50%; }
/* nth-child(5) statt :last-child - letztes Kind der <ol> ist seit Runde 2 die
   Rail-Uebersicht, nicht mehr Schritt 5. */
.page--objektunterlagen .wiz__item:nth-child(5)::before { right: 50%; }
.page--objektunterlagen .wiz__item.is-done::before,
.page--objektunterlagen .wiz__item.is-active::before { background: var(--ta-green); }

.page--objektunterlagen .wiz__num {
  position: relative;
  z-index: 1;
  width: 30px; height: 30px;
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--ou-line);
  background: #fff;
  color: var(--ta-mute);        /* Kontrast wie oben */
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: lining-nums;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.page--objektunterlagen .wiz__label {
  display: none;
  font-size: 14px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}
.page--objektunterlagen .wiz__item.is-active { flex: 2.4 1 0; color: var(--ta-ink); }
.page--objektunterlagen .wiz__item.is-active .wiz__label { display: block; font-weight: 600; }
.page--objektunterlagen .wiz__item.is-active .wiz__num {
  background: var(--ta-green-deep);
  border-color: var(--ta-green-deep);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(36,97,74,.14);
}
.page--objektunterlagen .wiz__item.is-done { color: var(--ta-green-deep); }
.page--objektunterlagen .wiz__item.is-done .wiz__num {
  background-color: var(--ta-green);
  background-image: var(--ou-tick);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  border-color: var(--ta-green);
  font-size: 0;
}

/* ---------- 3 · Schrittkarte ---------- */
/* Ohne JS (kein .is-wizard) steht jeder Schritt als eigene Karte - deshalb hier
   die Karten-Optik als BASIS und im Sheet flach ueberschrieben. */
.page--objektunterlagen .f__step {
  gap: 16px;
  padding: 20px 16px 22px;
  background: #fff;
  border: 1px solid var(--ou-line);
  border-radius: var(--ou-r-sheet);
  box-shadow: var(--ou-shadow-card);
}
.page--objektunterlagen .f.is-wizard .f__step {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 20px 14px 22px;
}
.page--objektunterlagen .f__step-title {
  display: block;
  margin: 0 0 2px;
  font-size: clamp(1.34rem, 5.2vw, 1.62rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.012em;
  color: var(--ta-ink);
}
.page--objektunterlagen .f__step-lede {
  margin: -8px 0 2px;
  max-width: 54ch;   /* 62ch ergab auf 768px gemessene 78 Zeichen je Zeile */
  color: var(--ta-mute);
  font-size: 14.6px;
  line-height: 1.55;
}

/* Untergruppen im Schritt (Runde 3). Schritt 4 war mobil 3.521px hoch und
   optisch eine einzige Kastenkolonne - Objektadresse, Grundbuch, Vollmacht und
   Kontakt gleich gewichtet. Die Haarlinie laeuft bis zur Kartenkante durch. */
.page--objektunterlagen .f__group {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 12px 0 -2px;
  padding-top: 15px;
  border-top: 1px solid var(--ou-line-soft);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.005em;
  color: var(--ta-ink);
}
.page--objektunterlagen .f__step > .f__group:first-of-type { margin-top: 4px; }
.page--objektunterlagen .f__group-n {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ta-green-deep);
  font-variant-numeric: lining-nums tabular-nums;
}

/* Honeypot: liegt bei left:-9999px, war aber 177x21 gross und tauchte damit in
   jedem Touch-Target-Audit als „zu kleines Ziel" auf. Bleibt unveraendert im
   DOM (tabindex -1, aria-hidden), nur ohne Flaeche. */
.page--objektunterlagen .f > input[name="website"] { width: 1px; height: 1px; padding: 0; border: 0; }

/* ---------- 4 · Felder ---------- */
/* Runde 2: die Versal-Mikrolabels (11px) waren die groesste Lesbarkeitsluecke
   im Funnel - jetzt gemischte Schreibweise ab 14px. */
.page--objektunterlagen .f__lbl {
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: .005em;
  color: var(--ta-mute);
}
.page--objektunterlagen .f__in {
  border-radius: var(--ou-r-in);
  border-color: #cfcabd;
  background: #fff;
}
.page--objektunterlagen .f__in:focus {
  border-color: var(--ta-green-deep);
  box-shadow: var(--ou-focus);
}
/* Runde 3: der Anspruch „>= 14px" war an mehreren Stellen um 0,2 bis 1,5px
   verfehlt (gemessene computed sizes auf 360px). Jetzt eingehalten - und alle
   laufenden Textbloecke bekommen eine Maximalbreite, sonst standen auf 768px
   Zeilen mit 89 bis 100 Zeichen. */
.page--objektunterlagen .f__hint { font-size: 14px; line-height: 1.5; max-width: 58ch; }
.page--objektunterlagen .f__err { font-size: 14px; }

/* Kurze Zahlenfelder brauchen keine Volltextbreite - der Hinweis darunter
   soll aber nicht auf Feldbreite umbrechen. */
.page--objektunterlagen .ou-einheit { max-width: 420px; }
.page--objektunterlagen .ou-einheit .f__in,
.page--objektunterlagen .ea-panel .f__in { max-width: 220px; }

/* Checkbox-Zeilen (.f__check): echter Input, aber 44x44 Trefferflaeche mit
   gezeichneter 22px-Box - Tastaturfokus und Klickbarkeit bleiben erhalten. */
.page--objektunterlagen .f .f__check {
  align-items: start;
  gap: 8px;
  padding: 10px 14px 10px 6px;
  border-color: var(--ou-line);
  border-radius: var(--ou-r-card);
  font-size: 14.4px;
  line-height: 1.55;
  cursor: pointer;
}
/* Runde 3: die 58px-Reserve rechts am Einwilligungssatz entfaellt - der FAB ist
   unter 1200px abgeschaltet und liegt darueber ausserhalb des Sheets. */
.page--objektunterlagen .f .f__check > span { max-width: 58ch; }

/* Textlink mitten im Einwilligungssatz: als Inline-Ziel gilt WCAG 2.2 AA
   (24px), 44px waeren nur als eigenstaendige Schaltflaeche sinnvoll. */
.page--objektunterlagen .f .f__check a {
  display: inline-block;
  padding: 4px 0;
}
.page--objektunterlagen .f .f__check input[type=checkbox] { margin: -11px 0 -11px 0; }
.page--objektunterlagen .f .f__check input[type=checkbox],
.page--objektunterlagen .f .svc > input[type=checkbox] {
  -webkit-appearance: none;
  appearance: none;
  width: 44px; height: 44px;
  flex: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background-color: transparent;
  background-image: var(--ou-uncheck);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  cursor: pointer;
}
.page--objektunterlagen .f .f__check input[type=checkbox]:checked,
.page--objektunterlagen .f .svc > input[type=checkbox]:checked {
  background-image: var(--ou-check);
}
.page--objektunterlagen .f .f__check input[type=checkbox]:focus-visible,
.page--objektunterlagen .f .svc > input[type=checkbox]:focus-visible {
  outline: 2px solid var(--ta-green-deep);
  outline-offset: -9px;
}
.page--objektunterlagen .f .f__check:has(input:checked) {
  border-color: #b9d8c6;
  background: var(--ta-green-soft);
}
.page--objektunterlagen .f .f__check:has(input:focus-visible) {
  border-color: var(--ta-green-deep);
  box-shadow: var(--ou-focus);
}

/* ---------- 5 · Objektart-Karten (Schritt 1 / Schritt 3) ---------- */
.page--objektunterlagen .choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.page--objektunterlagen .choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 64px;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid var(--ou-line);
  border-radius: var(--ou-r-card);
  cursor: pointer;
  text-align: left;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.page--objektunterlagen .choice > input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  margin: 0;
}
.page--objektunterlagen .choice__ill {
  flex: none;
  width: 52px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #7c7768;               /* Linien-Icon: 4,6:1 auf Weiss */
  transition: color .16s ease;
}
.page--objektunterlagen .choice__ill svg { width: 100%; height: 100%; display: block; }
.page--objektunterlagen .choice__ill-hl { fill: currentColor; opacity: .16; transition: opacity .16s ease; }
.page--objektunterlagen .choice__txt { display: grid; gap: 1px; min-width: 0; }
.page--objektunterlagen .choice__t {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  overflow-wrap: break-word;
  hyphens: auto;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.005em;
  color: var(--ta-ink);
}
.page--objektunterlagen .choice__d { font-size: 14px; color: var(--ta-mute); line-height: 1.35; }

/* Auswahl-Indikator: echter Radio-Punkt, nicht nur Farbe (WCAG 1.4.1).
   Mobil sitzt er LINKS vor der Illustration: rechts unten schwebt der
   WhatsApp-FAB (fixed, 50x50) und lag gemessen genau ueber dem Indikator
   der untersten sichtbaren Karte. Rechts bleibt jetzt nur Kartenflaeche. */
.page--objektunterlagen .choice__mark {
  position: static;
  flex: none;
  order: -1;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.6px solid #c6c1b4;
  background: #fff;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.page--objektunterlagen .choice:hover {
  border-color: #b9b3a3;
  box-shadow: 0 6px 18px -14px rgba(14,15,13,.7);
}
.page--objektunterlagen .choice:hover .choice__ill { color: var(--ta-mute); }
.page--objektunterlagen .choice:has(input:checked) {
  border-color: var(--ta-green-deep);
  background: linear-gradient(180deg, #fff, var(--ta-green-soft));
  box-shadow: inset 0 0 0 1px var(--ta-green-deep);
}
.page--objektunterlagen .choice:has(input:checked) .choice__ill { color: var(--ta-green-deep); }
.page--objektunterlagen .choice:has(input:checked) .choice__ill-hl { opacity: .3; }
.page--objektunterlagen .choice:has(input:checked) .choice__mark {
  border-color: var(--ta-green-deep);
  background: var(--ta-green-deep);
  box-shadow: inset 0 0 0 3.5px #fff;
}
.page--objektunterlagen .choice:has(input:focus-visible) {
  outline: 2px solid var(--ta-green-deep);
  outline-offset: 2px;
}
.page--objektunterlagen .f__row.has-err .choice { border-color: #d8b4b0; }

/* ---------- 6 · Leistungs-Karten (Schritt 2) ---------- */
.page--objektunterlagen .svc-list { display: grid; gap: 10px; }
.page--objektunterlagen .svc {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  row-gap: 0;
  padding: 12px 14px 12px 8px;
  background: #fff;
  border: 1px solid var(--ou-line);
  border-radius: var(--ou-r-card);
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.page--objektunterlagen .svc > input[type=checkbox] { grid-column: 1; grid-row: 1; margin: -10px 0 0 -4px; }
.page--objektunterlagen .svc__main { grid-column: 2; grid-row: 1; display: grid; gap: 3px; min-width: 0; }
.page--objektunterlagen .svc__name {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ta-ink);
}
.page--objektunterlagen .svc__desc { font-size: 14px; color: var(--ta-mute); line-height: 1.45; }
.page--objektunterlagen .svc__price {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 9px 0 0 4px;
  padding-top: 8px;
  border-top: 1px solid var(--ou-line-soft);
  text-align: left;
  white-space: nowrap;
}
/* Mobil beginnt die Preiszeile links unter dem Namen - rechtsbuendig lag der
   Betrag unter dem WhatsApp-FAB. Ab 560px steht der Preis wieder als eigene
   rechte Spalte (dort ist die Karte breit genug). */
.page--objektunterlagen .svc__price { justify-content: flex-start; gap: 9px; }
/* War 10px Versal („RICHTWERT") - jetzt in der Schreibweise, die auch im
   Kontrakt steht (Richtwert / Festpreis), 14px, ohne Versalsatz. */
.page--objektunterlagen .svc__price small {
  display: inline;
  font-size: 14px;
  text-transform: none;
  letter-spacing: .005em;
  font-weight: 500;
  color: var(--ta-mute);
}
.page--objektunterlagen .svc__price [data-ou-svc-amount] {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ta-green-deep);
}
.page--objektunterlagen .svc:hover { border-color: #b9b3a3; }
.page--objektunterlagen .svc:has(input:checked) {
  border-color: var(--ta-green-deep);
  background: linear-gradient(180deg, #fff, var(--ta-green-soft));
  box-shadow: inset 0 0 0 1px var(--ta-green-deep);
}
.page--objektunterlagen .svc:has(input:checked) .svc__price { border-top-color: #cbe3d6; }
.page--objektunterlagen .svc:has(input:focus-visible) { outline: 2px solid var(--ta-green-deep); outline-offset: 2px; }
.page--objektunterlagen .svc-list.has-err .svc { border-color: #d8b4b0; }

/* ---------- 7 · Energieausweis-Schublade ---------- */
.page--objektunterlagen .svc-ea { display: grid; gap: 0; }
.page--objektunterlagen .svc-ea:has(.ea-panel:not([hidden])) .svc {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.page--objektunterlagen .ea-panel {
  display: grid;
  gap: 13px;
  margin: -1px 0 0;
  padding: 15px 14px 16px;
  background: #fbfaf6;
  border: 1px solid var(--ta-green-deep);
  border-top: 1px dashed #b9d8c6;
  border-radius: 0 0 var(--ou-r-card) var(--ou-r-card);
}
.page--objektunterlagen .ea-panel[hidden] { display: none; }
.page--objektunterlagen .ea-panel .f__check { background: #fff; }
.page--objektunterlagen .ea-hint {
  margin: 0;
  max-width: 58ch;
  padding: 11px 13px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ta-green-deep);
  background: #fff;
  border: 1px solid #cfe5da;
  border-left: 3px solid var(--ta-green);
  border-radius: var(--ou-r-in);
}
.page--objektunterlagen .ea-hint[hidden] { display: none; }
.page--objektunterlagen .ea-hint--pflicht {
  color: #7d4318;
  background: #fdf7ef;
  border-color: #e8cfae;
  border-left-color: #c98a3c;
  font-weight: 500;
}

/* ---------- 8 · Hinweise, Upload, Grundbuch, Vollmacht, Rechnung ---------- */
/* Hinweis-Kasten darf NICHT wie eine Auswahl aussehen (war identisches Gruen). */
.page--objektunterlagen .ou-hint {
  padding: 13px 15px;
  background: #fbfaf6;
  border: 1px solid var(--ou-line);
  border-left: 3px solid var(--ta-green);
  border-radius: var(--ou-r-in);
  max-width: 58ch;
  font-size: 14.2px;
  line-height: 1.55;
  color: var(--ta-ink);
}
.page--objektunterlagen .ou-hint[hidden] { display: none; }
.page--objektunterlagen .ou-hint strong { font-weight: 600; }

.page--objektunterlagen .ou-upload { margin: 2px 0 0; }
.page--objektunterlagen .ou-upload[hidden] { display: none; }
.page--objektunterlagen .upl__cat {
  padding: 14px;
  background: #fbfaf6;
  border: 1px dashed #c6c1b4;
  border-radius: var(--ou-r-card);
}
.page--objektunterlagen .upl__cathead { gap: 8px; margin-bottom: 8px; }
.page--objektunterlagen .upl__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ta-ink);
}
.page--objektunterlagen .upl__label svg { flex: none; color: var(--ta-green-deep); }
.page--objektunterlagen .upl__list li { font-size: 14px; max-width: 58ch; }
.page--objektunterlagen .upl__face {
  min-height: 52px;
  border-radius: var(--ou-r-in);
  background: #fff;
}
/* War 40px hoch und damit unter der Trefferflaechen-Grenze (span, deshalb im
   Standard-Audit unsichtbar) - jetzt 44px. */
.page--objektunterlagen .upl__btn { min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; font-size: 14px; }
.page--objektunterlagen .upl__facetxt { font-size: 14px; line-height: 1.4; max-width: 52ch; }

/* Grundbuch- und Vollmacht-Block: eigene, ruhige Ebene mit Titel */
.page--objektunterlagen .ou-gb,
.page--objektunterlagen .ou-vm {
  display: grid;
  gap: 13px;
  padding: 15px 14px;
  background: #fbfaf6;
  border: 1px solid var(--ou-line);
  border-radius: var(--ou-r-card);
  margin: 2px 0;
}
.page--objektunterlagen .ou-gb[hidden],
.page--objektunterlagen .ou-vm[hidden] { display: none; }   /* muss gegen display:grid gewinnen (FEHLER-129) */
.page--objektunterlagen .ou-gb__title,
.page--objektunterlagen .ou-vm__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.24rem;
  line-height: 1.2;
  letter-spacing: -.005em;
  color: var(--ta-ink);
}
.page--objektunterlagen .ou-gb__hint,
.page--objektunterlagen .ou-vm__text {
  margin: -7px 0 0;
  max-width: 58ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ta-mute);
}
/* Zugeklappter Optionalblock (Runde 3). Die vier Grundbuchfelder sind rein
   optional, kosteten mobil aber ~500px in einem Schritt, der ohnehin 2,6
   Bildschirme hoch war. Serverseitig gefuellte Felder oeffnen den Block
   automatisch (open im Template), damit nach einem 400er nichts verschwindet. */
.page--objektunterlagen .ou-fold { display: grid; }
.page--objektunterlagen .ou-fold__sum {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 2px 0;
  cursor: pointer;
  list-style: none;
}
.page--objektunterlagen .ou-fold__sum::-webkit-details-marker { display: none; }
.page--objektunterlagen .ou-fold__sum:focus-visible {
  outline: 2px solid var(--ta-green-deep);
  outline-offset: 3px;
  border-radius: var(--ou-r-in);
}
.page--objektunterlagen .ou-fold__txt { display: grid; gap: 2px; min-width: 0; }
.page--objektunterlagen .ou-fold__note { font-size: 14px; line-height: 1.4; color: var(--ta-mute); }
.page--objektunterlagen .ou-fold__chev {
  flex: none;
  margin-left: auto;
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--ou-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ta-green-deep);
  transition: transform .18s ease;
}
.page--objektunterlagen .ou-fold[open] .ou-fold__chev { transform: rotate(180deg); }
.page--objektunterlagen .ou-fold__body { display: grid; gap: 13px; padding-top: 13px; }

.page--objektunterlagen .ou-vm { background: var(--ta-green-soft); border-color: #cfe5da; }
.page--objektunterlagen .ou-vm__text { color: var(--ta-ink); }
.page--objektunterlagen .ou-vm__dl {
  display: inline-flex; align-items: center; gap: 9px;
  justify-self: start;
  min-height: 44px;
  padding: 0 15px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ta-green-deep);
  background: #fff;
  border: 1px solid #cfe5da;
  border-radius: var(--ou-r-in);
  transition: box-shadow .18s ease, border-color .18s ease;
}
.page--objektunterlagen .ou-vm__dl:hover { border-color: var(--ta-green); box-shadow: var(--ou-focus); }
.page--objektunterlagen .ou-vm__dl:focus-visible { outline: 2px solid var(--ta-green-deep); outline-offset: 2px; }
.page--objektunterlagen .ou-vm .upl__cat { background: #fff; border-color: #cfe5da; }

.page--objektunterlagen .ou-rechnung {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 15px 14px;
  background: #fbfaf6;
  border: 1px solid var(--ou-line);
  border-radius: var(--ou-r-card);
}
.page--objektunterlagen .ou-rechnung[hidden] { display: none; }
.page--objektunterlagen .ou-einheit[hidden] { display: none; }

/* ---------- 9 · Uebersicht (Schritt 5) ---------- */
.page--objektunterlagen .ou-sum {
  display: grid;
  background: #fff;
  border: 1px solid var(--ou-line);
  border-radius: var(--ou-r-card);
  overflow: hidden;
}
.page--objektunterlagen .ou-sum__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 2px 14px;
  padding: 12px 14px;
  border-top: 1px solid var(--ou-line-soft);
  font-size: 14.5px;
}
.page--objektunterlagen .ou-sum__row:first-child { border-top: 0; }
.page--objektunterlagen .ou-sum__row span:first-child { flex: 1 1 auto; min-width: 0; color: var(--ta-ink); }
.page--objektunterlagen .ou-sum__row span:last-child {
  margin-left: auto;
  white-space: nowrap;
  color: var(--ta-green-deep);
  font-weight: 600;
}
.page--objektunterlagen .ou-sum__empty { padding: 15px 14px; color: var(--ta-mute); font-size: 14px; }

/* Runde 2: Label UEBER der Zahl, nicht daneben. Nebeneinander brach das Label
   mitten in der Einheit („… INKL. 19 % / MWST") und die Spanne kollidierte mit
   dem Boxrand. Ausserdem raus aus dem Versalsatz - so passt der ganze
   Kontrakt-Text „Unverbindlicher Richtwert inkl. 19 % MwSt" auch auf 360px
   in eine Zeile. */
/* Runde 3: die Karte war ein flacher Farbblock (690x110) mit Inhalt nur im
   linken Drittel. Jetzt zwei Bereiche - Betrag und die drei Fakten, die an
   dieser Stelle wirklich zaehlen (Umfang, Rueckmeldezeit, Ansprechpartner) -
   getrennt durch eine Haarlinie, die Karte selbst mit Innenkante statt reiner
   Farbflaeche. Die Preistexte selbst sind unveraendert. */
.page--objektunterlagen .ou-total {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding: 17px 18px 18px;
  background: linear-gradient(140deg, #24614a 0%, #183f31 60%, #183f31 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--ou-r-card);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 18px 36px -26px rgba(24,63,49,.9);
}
.page--objektunterlagen .ou-total__main { display: grid; gap: 5px; align-content: start; }
.page--objektunterlagen .ou-total__meta {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-top: 13px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.page--objektunterlagen .ou-total__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 14px;
}
.page--objektunterlagen .ou-total__meta dt {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255,255,255,.74);
}
.page--objektunterlagen .ou-total__meta dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  text-align: right;
  color: #fff;
  font-variant-numeric: lining-nums tabular-nums;
}
.page--objektunterlagen .ou-total[hidden] { display: none; }
.page--objektunterlagen .ou-total__lbl {
  font-size: 14px;
  text-transform: none;
  letter-spacing: .005em;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255,255,255,.82);
  /* Zeilenumbruch darf die Einheit nicht trennen: mit 26ch faellt der Bruch
     hinter „Richtwert", „inkl. 19 % MwSt" bleibt zusammen (auf 360px). */
  max-width: 26ch;
  text-wrap: balance;
}
.page--objektunterlagen .ou-total__val {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 7.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.page--objektunterlagen .ou-disclaimer {
  margin: 12px 0 0;
  max-width: 58ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ta-mute);
}

/* „Was passiert als Naechstes" - der Schritt vor dem Absenden endete bisher mit
   dem Betrag und dem Einwilligungssatz; was danach kommt, stand nirgends. */
.page--objektunterlagen .ou-next__h {
  margin: 16px 0 -6px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ta-ink);
}
.page--objektunterlagen .ou-next {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 15px 16px;
  max-width: 58ch;
  background: #fbfaf6;
  border: 1px solid var(--ou-line);
  border-radius: var(--ou-r-card);
  counter-reset: none;
}
.page--objektunterlagen .ou-next li {
  display: flex;
  align-items: baseline;
  gap: 11px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ta-ink);
}
.page--objektunterlagen .ou-next li::before { content: none; }
.page--objektunterlagen .ou-next__n {
  flex: none;
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  align-self: flex-start;
  border-radius: 50%;
  background: var(--ta-green-soft);
  color: var(--ta-green-deep);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: lining-nums;
}

/* ---------- 10 · Aktionsleiste (alle 5 Schritte) + Fehlerzustand ----------
   EINE Leiste statt drei Bloecken. .wiz__nav und .f__submit-row geben ihre
   Box per display:contents ab, ihre Kinder ordnen sich direkt in der Leiste an
   - dadurch steht der CTA auf Schritt 5 an genau derselben Stelle wie das
   „Weiter" auf Schritt 1-4 (vorher lag „Absenden" UNTER „Zurueck").
   Die Fehlermeldung steht als erstes Element IN der Leiste, direkt ueber den
   Schaltflaechen (vorher stand sie hinter dem Zaehler ganz unten).
   Rechts bleibt --ou-fab-gap frei: in dieser Spalte schwebt der WhatsApp-FAB,
   dadurch kann er den Primaerbutton auf keiner Scrollposition mehr verdecken.

   BEWUSST NICHT sticky: eine klebende Leiste deckt die untersten ~110px des
   Viewports ab. Auf 360px liegen dort auf Schritt 1 zwei Objektart-Karten -
   gemessen ging der Klick auf „Einfamilienhaus" (Mittelpunkt 180/684) an
   DIV.ou-actions statt an die Karte. Eine Leiste, die Bedienelemente
   abfaengt, ist teurer als der gewonnene Daumenweg. */
.page--objektunterlagen .ou-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 14px;
  padding: 12px var(--ou-fab-gap) 14px 14px;
  background: #fbfaf6;
  border-top: 1px solid var(--ou-line);
  border-radius: 0 0 var(--ou-r-sheet) var(--ou-r-sheet);
}
.page--objektunterlagen .f.is-wizard .wiz__nav,
.page--objektunterlagen .f.is-wizard .f__submit-row { display: contents; }
/* Die klebende Leiste deckt die untersten ~110px des Viewports ab. Damit
   Browser, Tastaturfokus und Test-Treiber Bedienelemente IMMER oberhalb der
   Leiste einscrollen (statt dahinter), bekommt jedes Bedienelement im Schritt
   eine Scroll-Reserve nach unten - und nach oben die Hoehe der Kopfleiste. */
.page--objektunterlagen .f__step :is(label, input, textarea, button, a, .f__row),
/* Runde 3: die Auswahlgruppen selbst fehlten in dieser Liste. Genau sie sind
   das Sprungziel der Wizard-Validierung (site.js) - ohne Reserve landete der
   Kopf der Gruppe samt Fehlermeldung hinter der klebenden Kopfleiste
   (gemessen 360px, Schritt 2: 0 von 32px sichtbar). */
.page--objektunterlagen .f__step :is([data-required-group], .svc-list, .f__check-group) {
  scroll-margin-bottom: 150px;
  scroll-margin-top: 96px;
}
/* [hidden] muss gegen display:contents gewinnen (FEHLER-129-Muster) */
.page--objektunterlagen .f.is-wizard .f__submit-row[hidden] { display: none; }

.page--objektunterlagen .ou-actions .wiz__err {
  order: 1;
  flex: 1 0 100%;
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--ou-r-in);
  font-size: 14px;
}
.page--objektunterlagen .ou-actions .wiz__count {
  order: 2;
  flex: 1 0 100%;
  margin: 0;
  font-size: 14px;
  color: var(--ta-mute);
  font-variant-numeric: lining-nums;
}
.page--objektunterlagen .ou-actions .f__submit-note {
  order: 3;
  flex: 1 0 100%;
  margin: 0;
}
.page--objektunterlagen .ou-actions .f__submit-note a { display: inline-block; padding: 4px 0; }
/* Mobil: Primaeraktion volle Breite auf eigener Zeile, Zurueck darunter -
   auf JEDEM Schritt gleich. Vorher stand der Absende-Button auf Schritt 5 als
   einziger unter „Zurueck" und unter dem Schrittzaehler. */
.page--objektunterlagen .ou-actions [data-wiz-next],
.page--objektunterlagen .ou-actions .f__submit-row .btn {
  order: 4;
  flex: 1 0 100%;
  width: auto;
  max-width: none;
  min-height: 48px;
  margin: 0;
}
.page--objektunterlagen .ou-actions [data-wiz-back] {
  order: 5;
  width: auto;
  min-height: 46px;
  padding: 10px 18px;
  background: transparent !important;
  border-color: var(--ou-line);
}
.page--objektunterlagen .ou-actions .btn {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  text-align: center;
  border-radius: var(--ou-r-in);
}
.page--objektunterlagen .ou-actions .btn svg { flex: none; }

/* Erreichbarkeit im Fluss statt schwebend (Runde 3, ersetzt den FAB mobil).
   Zwei eigenstaendige Links - faellt einer weg, bleibt der andere ein
   vollstaendiger Satz. */
.page--objektunterlagen .ou-actions .ou-help {
  order: 6;
  flex: 1 0 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 2px 0 0;
  padding-top: 11px;
  border-top: 1px solid var(--ou-line);
}
.page--objektunterlagen .ou-help__lnk {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ta-green-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.page--objektunterlagen .ou-help__lnk:hover { text-decoration-thickness: 2px; }
.page--objektunterlagen .ou-help__lnk:focus-visible { outline: 2px solid var(--ta-green-deep); outline-offset: 3px; }
/* Auf Schritt 5 traegt die Zeile unter dem Absende-Button dieselben Wege. */
.page--objektunterlagen:has(.f.is-wizard .f__step[data-step="5"].is-active) .ou-help { display: none; }

.page--objektunterlagen .ou-actions .f__submit-note { font-size: 14px; line-height: 1.55; max-width: 58ch; }
.page--objektunterlagen .f__submit-call {
  order: 6;
  flex: 1 0 100%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ta-green-deep);
}
.page--objektunterlagen .f__submit-call svg { flex: none; }
.page--objektunterlagen .f__submit-call:focus-visible { outline: 2px solid var(--ta-green-deep); outline-offset: 3px; }

/* ---------- 10b · Mobile Live-Leiste (< 1024px) ----------
   Loest zwei gemessene Luecken: (1) der versprochene Live-Richtwert existierte
   mobil auf Schritt 1-4 gar nicht (.ou-rail ist dort display:none), (2) bis zur
   Primaeraktion lagen auf Schritt 4 1.568px Scrollweg (2,61 Bildschirme).
   position:sticky statt fixed: damit taucht sie in fullPage-Aufnahmen an ihrer
   echten Stelle auf. Sie steht im DOM VOR der Aktionsleiste - dadurch loest sie
   sich, bevor die echten Schaltflaechen in den Viewport laufen, und kann den
   „Weiter"-/Absende-Button auf keiner Scrollposition verdecken (genau der
   Defekt, an dem die klebende Aktionsleiste aus Runde 2 gescheitert ist:
   gemessen ging ein Klick auf den Wizard-Button sonst an die Leiste).
   Der „Weiter"-Chip reicht den Klick an den ECHTEN Wizard-Button weiter;
   die Schrittlogik bleibt allein in site.js. */
.page--objektunterlagen .ou-mbar {
  position: sticky;
  bottom: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 9px 12px 10px;
  background: #fff;
  border-top: 1px solid var(--ou-line-soft);
  box-shadow: 0 -12px 24px -22px rgba(14,15,13,.75);
}
/* Ohne JS gibt es keine Schritte - dann waere die Leiste sinnlos. */
.page--objektunterlagen .f:not(.is-wizard) .ou-mbar { display: none; }
/* Auf Schritt 5 steht der komplette Betrag als Karte im Schritt selbst. */
.page--objektunterlagen:has(.f.is-wizard .f__step[data-step="5"].is-active) .ou-mbar { display: none; }
/* Auf Schritt 1 ist noch nichts gewaehlt - die Leiste haette nichts zu zeigen,
   klebte aber auf 360x740 genau ueber der zweiten Objektart-Karte und fing
   deren Klicks ab (3 von 3 Versuchen landeten auf der Leiste). */
.page--objektunterlagen:has(.f.is-wizard .f__step[data-step="1"].is-active) .ou-mbar { display: none; }

.page--objektunterlagen .ou-mbar__sum {
  /* flex-basis 0, sonst drueckt der Inhalt den „Weiter"-Chip in eine zweite
     Zeile (gemessen: Leiste 124px statt 69px hoch). Zaehler ueber Betrag statt
     nebeneinander - nebeneinander musste der Zaehler bei langen Spannen
     („ca. 714,00 € - 1.666,00 €") abgeschnitten werden. */
  flex: 1 1 0;
  min-width: 0;
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 9px;
  padding: 5px 11px;
  background: #fff;
  border: 1px solid var(--ou-line);
  border-radius: var(--ou-r-in);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.page--objektunterlagen .ou-mbar__cnt {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  color: var(--ta-mute);
}
.page--objektunterlagen .ou-mbar__val {
  /* volle Leistenbreite in Zeile 2, damit auch die laengste Spanne
     („ca. 714,00 € - 1.666,00 €") ohne Abschneiden hineinpasst */
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-serif);
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ta-green-deep);
  font-variant-numeric: lining-nums tabular-nums;
}
.page--objektunterlagen .ou-mbar__chev {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  color: var(--ta-mute);
  transition: transform .18s ease;
}
.page--objektunterlagen .ou-mbar.is-open .ou-mbar__chev { transform: rotate(180deg); }
.page--objektunterlagen .ou-mbar__go {
  flex: none;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  background: var(--ta-green-deep);
  color: #fff;
  border: 0;
  border-radius: var(--ou-r-in);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.page--objektunterlagen .ou-mbar__go:hover { background: var(--ta-green); }
/* Steht die echte Aktionsleiste im Bild, faellt die Abkuerzung weg. */
.page--objektunterlagen .ou-mbar.is-near .ou-mbar__go { display: none; }
.page--objektunterlagen .ou-mbar__sum:focus-visible,
.page--objektunterlagen .ou-mbar__go:focus-visible { outline: 2px solid var(--ta-green-deep); outline-offset: 2px; }

.page--objektunterlagen .ou-mbar__panel {
  order: -1;
  flex: 1 0 100%;
  display: none;          /* per Klasse geschaltet, NICHT per [hidden] - der
                             Kontrakt zaehlt genau 13 hidden-Attribute im
                             Formular, und die gehoeren alle zur Feldlogik. */
  gap: 7px;
  max-height: 42vh;
  overflow-y: auto;
  margin: 2px 0 1px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--ou-line);
  border-radius: var(--ou-r-card);
}
.page--objektunterlagen .ou-mbar.is-open .ou-mbar__panel { display: grid; }
.page--objektunterlagen .ou-mbar__meta:empty { display: none; }
.page--objektunterlagen .ou-mbar__meta {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ta-ink);
}
.page--objektunterlagen .ou-mbar__list { display: grid; gap: 7px; }
.page--objektunterlagen .ou-mbar__list:empty { display: none; }
.page--objektunterlagen .ou-mbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 12px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ta-ink);
}
.page--objektunterlagen .ou-mbar__row span:last-child {
  margin-left: auto;
  white-space: nowrap;
  color: var(--ta-green-deep);
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
}
.page--objektunterlagen .ou-mbar__empty { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ta-mute); }
.page--objektunterlagen .ou-mbar__meta:not(:empty) ~ .ou-mbar__empty,
.page--objektunterlagen .ou-mbar__list:not(:empty) ~ .ou-mbar__empty { display: none; }

/* Fehlerzustand ZUSAETZLICH an der Feldgruppe - die Sammelmeldung in der
   Leiste sagt nicht, welches Feld gemeint ist. Der Text haengt am Label des
   betroffenen Feldes bzw. am Kopf der Auswahlgruppe. */
.page--objektunterlagen .f__row.has-err > .f__lbl::after {
  content: " · bitte ausfüllen";
  color: #b3261e;
  font-weight: 600;
}
.page--objektunterlagen .f__row[data-required-group].has-err > .f__lbl::after { content: " · bitte auswählen"; }
/* Sichtbarer Fehlerbalken statt roter Textzeile: auf 360px war die Meldung der
   einzige Hinweis am Ort des Fehlers und ging in der Kartenkolonne unter. */
.page--objektunterlagen .svc-list.has-err::before {
  content: "Bitte mindestens eine Unterlage wählen";
  padding: 9px 12px;
  border: 1px solid #e7b7b2;
  border-left: 3px solid #b3261e;
  border-radius: var(--ou-r-in);
  background: #fdf3f2;
  color: #b3261e;
  font-size: 14px;
  font-weight: 600;
}
.page--objektunterlagen .f .f__check.has-err { border-color: #b3261e; background: #fdf3f2; }
.page--objektunterlagen .f .f__check.has-err::after {
  content: "Bitte bestätigen";
  grid-column: 1 / -1;
  color: #b3261e;
  font-size: 14px;
  font-weight: 600;
}
/* Beim Server-Re-Render steht dieselbe Meldung schon als .f__err im Markup
   (server.js:344/350). Ohne diese Regel erscheint sie doppelt - die
   CSS-Fassung ist nur fuer die JS-Validierung gedacht. */
.page--objektunterlagen .svc-list.has-err:has(~ .f__err)::before,
.page--objektunterlagen .f .f__check.has-err:has(~ .f__err)::after { content: none; }

/* ============================================================
   >= 560px - zweispaltige Karten, Preis rechtsbuendig
   ============================================================ */
@media (min-width: 560px) {
  .page--objektunterlagen .f.is-wizard .wiz { padding: 16px 20px 14px; }
  .page--objektunterlagen .f.is-wizard .f__step { padding: 26px 22px 28px; }
  .page--objektunterlagen .f__step { padding: 26px 22px 28px; }
  .page--objektunterlagen .wiz__item { font-size: 12.5px; }
  .page--objektunterlagen .wiz__item.is-active { flex: 1.6 1 0; }

  .page--objektunterlagen .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .page--objektunterlagen .choice-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page--objektunterlagen .choice {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    min-height: 0;
    padding: 14px;
  }
  /* Marke sitzt frei oben rechts - der Titel bekommt dadurch die volle
     Kartenbreite und bleibt auch im 4-Spalten-Raster einzeilig. */
  .page--objektunterlagen .choice__mark { position: absolute; order: 0; top: 13px; right: 13px; }
  .page--objektunterlagen .choice__ill { width: 56px; height: 44px; }

  .page--objektunterlagen .svc {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 18px;
    padding: 12px 18px 12px 8px;
  }
  .page--objektunterlagen .svc > input[type=checkbox] { grid-row: 1; margin: 0 0 0 -4px; }
  .page--objektunterlagen .svc__main { grid-row: 1; }
  .page--objektunterlagen .svc__price {
    grid-column: 3;
    grid-row: 1;
    display: grid;
    gap: 1px;
    justify-items: end;
    text-align: right;
    margin: 0;
    padding: 0;
    border-top: 0;
  }
  .page--objektunterlagen .svc__price small { display: block; }

  /* Zweispaltig ab 560px: links der Betrag, rechts die drei Fakten. Darunter
     bleibt die gestapelte Fassung - nebeneinander waere die rechte Spalte auf
     360px auf 4 Zeichen je Zeile geschrumpft. */
  .page--objektunterlagen .ou-total {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 34%);
    align-items: center;
    gap: 20px;
    padding: 20px 24px 21px;
  }
  .page--objektunterlagen .ou-total__meta {
    padding: 2px 0 2px 20px;
    border-top: 0;
    border-left: 1px solid rgba(255,255,255,.18);
  }
  .page--objektunterlagen .ou-total__lbl { max-width: none; }   /* passt hier einzeilig */
  /* Kein white-space:nowrap auf dem Betrag: die Meta-Spalte zog sich an
     "in der Regel innerhalb eines Werktags" auf 374px auf, der nicht umbrechende
     Betrag lief darueber (gemessen 31-321px Ueberlappung ab 560px). min-width:0
     laesst die Betragsspalte stattdessen sauber schrumpfen. */
  .page--objektunterlagen .ou-total__main { min-width: 0; }
  .page--objektunterlagen .ea-panel { padding: 16px 18px 18px; }
  .page--objektunterlagen .ou-gb,
  .page--objektunterlagen .ou-vm,
  .page--objektunterlagen .ou-rechnung { padding: 18px 20px; }
  .page--objektunterlagen .upl__cat { padding: 16px 18px; }
  .page--objektunterlagen .ou-sum__row,
  .page--objektunterlagen .ou-sum__empty { padding: 13px 18px; }
}

/* ============================================================
   >= 720px - Navigation einzeilig
   ============================================================ */
@media (min-width: 720px) {
  /* Eine Zeile: Zurueck links · Schrittzaehler · Primaeraktion rechts.
     Gilt auf allen 5 Schritten, auch fuer den Absende-Button. */
  .page--objektunterlagen .ou-actions { padding: 14px var(--ou-fab-gap) 16px 22px; gap: 10px 16px; }
  .page--objektunterlagen .ou-actions .wiz__err { order: 1; }
  .page--objektunterlagen .ou-actions [data-wiz-back] { order: 2; }
  .page--objektunterlagen .ou-actions .wiz__count { order: 3; flex: 0 1 auto; margin-right: auto; }
  .page--objektunterlagen .ou-actions [data-wiz-next],
  .page--objektunterlagen .ou-actions .f__submit-row .btn { order: 4; flex: 0 0 auto; min-width: 230px; }
  .page--objektunterlagen .ou-actions .f__submit-note { flex-basis: 100%; }
  .page--objektunterlagen .ou-actions .f__submit-note { order: 5; }
}

/* ============================================================
   >= 900px - vier Objektarten nebeneinander
   ============================================================ */
@media (min-width: 900px) {
  .page--objektunterlagen .choice-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  /* Muss NACH der 4er-Regel stehen (gleiche Spezifitaet), sonst landen die drei
     Zeichnungen-Karten in einem 4-Spalten-Raster mit leerer vierter Spalte. */
  .page--objektunterlagen .choice-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page--objektunterlagen .choice { padding: 14px 13px; }
  .page--objektunterlagen .choice__ill { width: 60px; height: 46px; }
  .page--objektunterlagen .choice__t { font-size: 1.02rem; letter-spacing: -.008em; }
  .page--objektunterlagen .choice-grid--3 .choice__t { font-size: 1.18rem; }
  .page--objektunterlagen .f.is-wizard .f__step,
  .page--objektunterlagen .f__step { padding: 32px 34px 34px; }
  .page--objektunterlagen .f__step-title { font-size: 1.72rem; }
}

/* ============================================================
   >= 1024px - senkrechte Fortschritts-Schiene links im Sheet
   ============================================================ */
@media (min-width: 1024px) {
  .page--objektunterlagen .f.is-wizard {
    display: grid;
    grid-template-columns: 228px minmax(0, 1fr);
    align-items: stretch;
  }
  /* Die Schiene traegt jetzt die Farbe des Sheets selbst (Verlauf im
     Hintergrund), damit die Inhalte darin sticky mitlaufen duerfen, ohne dass
     unten eine leere Flaeche uebrig bleibt: der Rail-Block war auf Schritt 4/5
     zu 72-85 % leer. */
  .page--objektunterlagen .f.is-wizard {
    background:
      linear-gradient(90deg, #fbfaf6 0 227px, var(--ou-line-soft) 227px 228px, #fff 228px);
  }
  .page--objektunterlagen .f.is-wizard > * { grid-column: 2; }
  .page--objektunterlagen .f.is-wizard .wiz {
    grid-column: 1;
    grid-row: 1 / 30;   /* -1 zoege nur bis zur letzten EXPLIZITEN Zeile = Zeile 1 */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-self: start;
    position: sticky;
    top: 92px;          /* Hoehe der klebenden Kopfleiste + Luft */
    gap: 2px;
    padding: 26px 18px 22px;
    background: transparent;
    border-bottom: 0;
    border-right: 0;
    border-radius: var(--ou-r-sheet) 0 0 0;
  }
  .page--objektunterlagen .wiz__item {
    flex: none;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 13.5px;
  }
  .page--objektunterlagen .wiz__item::before {          /* senkrechter Verbinder */
    left: 23px; right: auto;
    top: 0; bottom: auto;
    width: 2px; height: calc(100% + 2px);
  }
  .page--objektunterlagen .wiz__item:first-child::before { left: 23px; right: auto; top: 23px; height: calc(100% - 21px); }
  .page--objektunterlagen .wiz__item:nth-child(5)::before { left: 23px; right: auto; top: 0; height: 23px; }
  .page--objektunterlagen .wiz__item.is-active { flex: none; background: #fff; box-shadow: inset 0 0 0 1px var(--ou-line); }
  .page--objektunterlagen .wiz__label { display: block; }
  .page--objektunterlagen .wiz__item.is-active .wiz__label { font-weight: 600; }

  /* ---- Live-Bestelluebersicht in der Schiene ----
     Spiegelt Positionen + laufenden Richtwert aus Schritt 5, damit der Preis
     in JEDEM Schritt sichtbar ist und die Schiene nicht mehr leer steht. */
  .page--objektunterlagen .ou-rail {
    display: grid;
    gap: 7px;
    margin: 22px 0 0;
    padding: 14px 12px 13px;
    background: #fff;
    border: 1px solid var(--ou-line);
    border-radius: var(--ou-r-card);
  }
  .page--objektunterlagen .ou-rail__h {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .005em;
    color: var(--ta-mute);
  }
  /* Objektart + Einheiten stehen sofort in der Schiene - vorher meldete sie
     „Noch nichts gewaehlt", waehrend links sichtbar eine Karte gewaehlt war. */
  .page--objektunterlagen .ou-rail__meta {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ta-ink);
  }
  .page--objektunterlagen .ou-rail__meta:empty { display: none; }
  /* Trennlinie nur, wenn darunter wirklich Positionen stehen - sonst haengt
     eine Linie unter der Objektart im Leeren. */
  .page--objektunterlagen .ou-rail__meta:not(:empty):has(~ .ou-rail__list:not(:empty)) {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ou-line-soft);
  }
  .page--objektunterlagen .ou-rail__meta:not(:empty) ~ .ou-rail__empty { display: none; }
  .page--objektunterlagen .ou-rail__list { display: grid; gap: 6px; }
  .page--objektunterlagen .ou-rail__list:empty { display: none; }
  .page--objektunterlagen .ou-rail__row {
    display: grid;
    gap: 1px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--ta-ink);
  }
  .page--objektunterlagen .ou-rail__row span:last-child {
    color: var(--ta-green-deep);
    font-weight: 600;
    font-variant-numeric: lining-nums tabular-nums;
  }
  .page--objektunterlagen .ou-rail__empty {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--ta-mute);
  }
  .page--objektunterlagen .ou-rail__list:not(:empty) ~ .ou-rail__empty { display: none; }
  .page--objektunterlagen .ou-rail__total {
    display: grid;
    gap: 2px;
    margin-top: 2px;
    padding-top: 9px;
    border-top: 1px solid var(--ou-line-soft);
  }
  .page--objektunterlagen .ou-rail__total:has(.ou-rail__val:empty) { display: none; }
  .page--objektunterlagen .ou-rail__lbl { font-size: 14px; line-height: 1.35; color: var(--ta-mute); }
  .page--objektunterlagen .ou-rail__val {
    font-family: var(--font-serif);
    font-size: 1.32rem;
    font-weight: 500;
    line-height: 1.15;
    color: var(--ta-green-deep);
    font-variant-numeric: lining-nums tabular-nums;
  }

  /* Ab hier uebernimmt die Schiene den Live-Richtwert wieder. */
  .page--objektunterlagen .ou-mbar { display: none; }

  .page--objektunterlagen .f.is-wizard .f__step { padding: 32px 30px 34px; }
  .page--objektunterlagen .ou-actions { padding: 16px var(--ou-fab-gap) 20px 30px; }
  .page--objektunterlagen .form-section { padding-bottom: var(--section-y); }
}

/* ============================================================
   >= 1200px - der WhatsApp-FAB liegt jetzt neben dem Sheet,
   die Reserve in der Aktionsleiste entfaellt.
   ============================================================ */
@media (min-width: 1200px) {
  /* Ab hier liegt der FAB neben dem Sheet - er kommt zurueck, aber als reiner
     50x50-Kreis. Der breite Textknopf (137px) ueberlappte bei 1200px gemessen
     den „Weiter"-Button (14x42px; elementFromPoint auf dem rechten Buttonrand
     lieferte a.wa-fab statt des Buttons). */
  .page--objektunterlagen { --ou-fab-gap: 30px; }
  .page--objektunterlagen .wa-fab { display: inline-flex; padding: 14px; }
  .page--objektunterlagen .wa-fab__txt { display: none; }
}

/* ============================================================
   >= 1400px - erst hier ist zwischen Sheet-Kante (max. 1060px breit,
   zentriert) und dem 137px breiten Text-FAB genug Luft: gerechnet 15px bei
   1400px, darueber mehr. Deshalb kommt die Beschriftung erst jetzt zurueck.
   ============================================================ */
@media (min-width: 1400px) {
  .page--objektunterlagen .wa-fab { padding: 14px 18px 14px 14px; }
  .page--objektunterlagen .wa-fab__txt { display: inline; }
}

/* Sofortkauf (CRM m028, 17.09.2026): Kennzeichnung am Preis der Leistung. */
.page--objektunterlagen .svc__price--sofort small { color: #1f6fb3; font-weight: 700; }

/* AGB-Einbau (18.09.2026): Zahlungsarten am Anfang, Lieferzeit + Haekchen vorzeitiger Beginn. */
.page--objektunterlagen .ou-zahlarten { font-size: .92em; margin-top: -4px; }
.page--objektunterlagen .ou-lieferzeit { margin: 14px 0 10px; font-size: .95em; }
.page--objektunterlagen .ou-vorzeitig-hinweis { display: block; margin-top: 4px; opacity: .8; }
.page--objektunterlagen .svc__zusatz { display: block; font-size: .72em; opacity: .75; margin-top: 2px; font-weight: 400; }
/* Express hervorheben (Toni 18.09.2026) */
.page--objektunterlagen .ou-express { border: 2px solid #b3261e; background: #fdf1f0; }
.page--objektunterlagen .ou-express strong { color: #b3261e; }

/* Ein weggenommener Schritt bleibt weg, auch wenn er einmal `is-active` war: `[hidden]` ist nur
   eine UA-Regel und verliert gegen jede Autorenregel mit `display` (21.09.2026). */
.f__step[hidden] { display: none !important; }

/* Gewerbe / gemischt genutzt (Loukas #28331, Toni #28347, 30.10.2026): fuenfte Objektart als breite
   Karte UNTER den vier Wohnobjekten - liegend, damit kein halbes Raster mit einer verwaisten Karte
   entsteht. Die Felder Gewerbe-/Wohneinheiten stehen ab 560 px nebeneinander. */
.page--objektunterlagen .choice--breit { grid-column: 1 / -1; }
.page--objektunterlagen .ou-gewerbe[hidden] { display: none; }
.page--objektunterlagen .ou-gewerbe { display: grid; gap: 0 18px; }
.page--objektunterlagen .ou-gewerbe__hint { grid-column: 1 / -1; max-width: 560px; margin-top: 0; }
@media (min-width: 560px) {
  .page--objektunterlagen .choice--breit { flex-direction: row; align-items: center; gap: 14px; padding-right: 44px; }
  .page--objektunterlagen .choice--breit .choice__mark { top: 50%; transform: translateY(-50%); }
  .page--objektunterlagen .ou-gewerbe { grid-template-columns: repeat(2, minmax(0, 220px)); justify-content: start; }
}
@media (min-width: 900px) {
  .page--objektunterlagen .choice--breit .choice__t { font-size: 1.1rem; }
}
