/* Auer Immobilien – Website auer-immo.de: Ergänzungen zu styles.css
   (Navigation, Kacheln, Unterseiten-Köpfe, Fließtext, FAQ, Tabellen).
   Farben und Schriften kommen aus styles.css (:root); die Website verwendet statt
   Rostrot das Gold aus dem Brandsheet (siehe Abschnitt "Farbwelt Gold" ganz unten). */

/* ---------- Kopfzeile mit Navigation ---------- */
html { scroll-padding-top: 96px; }
.kopf {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: var(--navy); border-bottom: 1px solid rgba(234,220,196,.12);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 41; background: var(--navy); }
.kopf-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.kopf .logo { flex: none; }
.kopf .logo img { width: 104px; }
.menue-knopf {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  background: none; border: 1px solid rgba(234,220,196,.45); border-radius: 999px;
  color: var(--creme); font: 600 1rem var(--font-text); cursor: pointer;
}
.menue-knopf .striche { position: relative; width: 18px; height: 2px; background: currentColor; }
.menue-knopf .striche::before, .menue-knopf .striche::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform .2s; }
.menue-knopf .striche::before { top: -6px; }
.menue-knopf .striche::after { top: 6px; }
.menue-offen .menue-knopf .striche { background: transparent; }
.menue-offen .menue-knopf .striche::before { transform: translateY(6px) rotate(45deg); }
.menue-offen .menue-knopf .striche::after { transform: translateY(-6px) rotate(-45deg); }

.hauptnav { display: none; }
.menue-offen .hauptnav { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-bottom: 3px solid var(--rost); box-shadow: 0 18px 30px rgba(8,23,35,.35); max-height: calc(100vh - 68px); overflow-y: auto; }
.hauptnav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 20px; }
.hauptnav a { display: block; padding: 14px 4px; color: var(--weiss); text-decoration: none; font-weight: 600; font-size: 1.125rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.hauptnav a[aria-current="page"] { color: var(--creme); box-shadow: inset 3px 0 0 var(--rost); padding-left: 14px; }
.hauptnav .nav-telefon { color: var(--creme); }
.kein-js .hauptnav { display: block; position: static; }
.kein-js .menue-knopf { display: none; }

/* Untermenü „Leistungen“ – Handy: Aufklappliste im Menü */
.untermenue-knopf {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 4px; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.1);
  color: var(--weiss); font: 600 1.125rem var(--font-text); text-align: left; cursor: pointer;
}
.untermenue-knopf::after {
  content: ""; flex: none; width: 8px; height: 8px; margin: -4px 6px 0 0;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .2s;
}
.untermenue-knopf[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 4px; }
.untermenue-knopf.aktiv { color: var(--creme); }
.hauptnav .untermenue { display: none; padding: 0 0 6px 16px; }
.untermenue-knopf[aria-expanded="true"] + .untermenue, .kein-js .hauptnav .untermenue { display: block; }
.hauptnav .untermenue a { font-size: 1.05rem; padding: 12px 4px; }

/* ---------- Seitenköpfe ---------- */
/* Foto über die ganze Breite: .hero aus styles.css (Startseite) */
.hero-start { min-height: 0; }

/* Text links, Foto rechts (Handy: Foto oben) */
.hero-split { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--weiss); }
.hero-split-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-kontakt-bild img { object-position: 50% 18%; }
.hero-split .hero-inhalt { margin-top: 0; padding-top: 32px; padding-bottom: 48px; }
.hero-split h1, .hero-schlicht h1 { color: var(--creme); font-size: clamp(2rem, 8.6vw, 3.6rem); line-height: 1.05; margin-bottom: .45em; }
.hero-split .hero-text, .hero-schlicht .hero-text { color: #e9eef2; }
.hero-split .hero-text strong, .hero-schlicht .hero-text strong { white-space: normal; }

/* Nur Text auf Dunkelblau mit großer Schleife */
.hero-schlicht { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--weiss); }
.hero-schlicht .hero-inhalt { margin-top: 0; padding-top: 48px; padding-bottom: 56px; }
.hero-schlicht .hero-inhalt > * { max-width: 720px; }
.schleife-kopf { z-index: -1; width: 420px; height: 490px; right: -240px; top: -120px; opacity: .9; }

/* Aktionsband */
.aktion-band { background: var(--rost); color: var(--weiss); }
.aktion-band a { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; padding-block: 14px; color: var(--weiss); text-decoration: none; text-align: center; font-size: 1.0625rem; }
.aktion-band strong { font-family: var(--font-titel); font-size: 1.25rem; }
.aktion-band .pfeil { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- Bausteine ---------- */
.knopf-zeile { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.btn-umriss-dunkel { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-umriss-dunkel:hover { background: var(--navy); color: var(--weiss); }
.abschnitt-kopf { max-width: 760px; margin-bottom: 28px; }
.einleitung { font-size: 1.15rem; color: var(--text-leise); }

/* Fließtext */
.prosa { max-width: 68ch; }
.prosa h2 { margin-top: 1.4em; }
.prosa h2:first-child { margin-top: 0; }
.prosa h3 { font-family: var(--font-titel); font-size: 1.3rem; line-height: 1.25; color: var(--navy); margin: 1.4em 0 .5em; }
.prosa strong { color: var(--navy); }
.prosa a, .link { color: var(--navy); font-weight: 600; text-decoration-color: var(--rost); text-underline-offset: 3px; }
.navy .prosa strong, .navy .prosa h3 { color: var(--creme); }
.hinweis-klein { font-size: .95rem; color: var(--text-leise); font-style: italic; }

/* Aufzählung mit goldenen Punkten */
.punkte { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 12px; }
.punkte li { position: relative; padding-left: 26px; }
.punkte li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--rost); }

/* Nummerierte Abläufe (längere Schritte) */
.ablauf-liste { list-style: none; margin: 0; padding: 0; counter-reset: schritt; display: grid; gap: 12px; }
.ablauf-liste li { counter-increment: schritt; position: relative; background: var(--weiss); border-radius: var(--radius); padding: 18px 20px 18px 74px; min-height: 76px; }
.ablauf-liste li::before {
  content: counter(schritt); position: absolute; left: 18px; top: 16px;
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--rost); color: var(--weiss); font-family: var(--font-titel); font-weight: 700; font-size: 1.2rem;
}
.ablauf-liste strong { color: var(--navy); }
.weiss-hg .ablauf-liste li { background: var(--beige); }

/* Leistungs-Kacheln */
.kacheln { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.kachel a {
  display: flex; flex-direction: column; height: 100%; gap: 8px;
  padding: 24px 22px; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s, box-shadow .2s;
}
.kachel a:hover { border-color: var(--rost); box-shadow: 0 10px 26px rgba(13,34,51,.08); transform: translateY(-2px); }
.kachel svg { color: var(--rost); }
.kachel-titel { font-family: var(--font-titel); font-weight: 700; font-size: 1.35rem; line-height: 1.2; color: var(--navy); }
.kachel-text { color: var(--text-leise); flex: 1; }
.kachel-mehr { font-weight: 700; color: var(--navy); }
.kachel-mehr::after { content: " →"; color: var(--rost); }

/* Claim: drei Werte */
.werte { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.werte li { border-top: 3px solid var(--rost); padding-top: 14px; }
.wert-titel { font-family: var(--font-titel); font-weight: 700; font-size: 1.6rem; color: var(--creme); display: block; margin-bottom: .2em; }
.werte p { color: #dfe5ea; }

/* Familie */
.familie-raster { display: grid; gap: 32px; align-items: center; }
.familie-bild img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; }
.familie-bild figcaption { font-size: .9rem; color: var(--text-leise); margin-top: 8px; }
.ueber-zitat { margin: 1.4em 0 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--gold); }
.ueber-zitat p { margin: 0; font-size: 1.2rem; line-height: 1.5; color: var(--navy); font-weight: 600; }
.ueber-zitat footer { margin-top: 6px; font-size: .95rem; color: var(--text-leise); }
.fakten { list-style: none; margin: 1.6em 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fakten li { background: var(--beige); border-radius: var(--radius); padding: 14px 12px; text-align: center; }
.fakten .zahl { color: var(--navy); font-size: clamp(1.5rem, 6vw, 2.2rem); display: block; }
.fakten span:last-child { font-size: .9rem; color: var(--text-leise); line-height: 1.3; display: block; margin-top: 4px; }

/* Zwei Bilder nebeneinander (Vorher/Nachher, Galerie) */
.bild-paar { display: grid; gap: 14px; margin: 1.4em 0; }
.bild-paar figure { margin: 0; }
.bild-paar img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bild-paar.hoch img { aspect-ratio: 3 / 4; }
.bild-paar figcaption { margin-top: 8px; font-family: var(--font-titel); font-weight: 700; color: var(--navy); }

.bewertungen-ersatz p { margin: 0; font-size: 1.1rem; }

/* Platzhalter (eckige Klammern) – gelb, gut sichtbar */
.platzhalter-box {
  background: #FFF3A6; color: #3a2a00; border: 2px dashed #a37f00; border-radius: var(--radius);
  padding: 22px 20px; font-weight: 600; text-align: center;
}
.platzhalter-box .bitte-pruefen { margin-bottom: .6em; }
.navy .bitte-pruefen, .hero-split .bitte-pruefen { color: #3a2a00; }

/* Kasten (Hinweis, Fallbeispiel) */
.kasten { border-radius: var(--radius); background: var(--beige); padding: 26px 22px; border-top: 4px solid var(--rost); }
.weiss-hg-kasten { background: var(--weiss); }
.fall + .fall { margin-top: 18px; }
.fall h3 { margin-top: 0; }
.fall .ergebnis { font-family: var(--font-titel); font-weight: 700; font-size: 1.25rem; color: var(--navy); }

/* Helle Kästen in dunklen Abschnitten: dunkle Schrift behalten */
.kasten { color: var(--text); }
.navy .praxis-kasten h2, .navy .kasten h2, .navy .kasten h3, .navy .kasten strong, .navy .prosa .kasten strong { color: var(--navy); }
.navy .kasten .bild-paar figcaption { color: var(--navy); }

/* Zwei Wege */
.zwei-wege { display: grid; gap: 14px; margin-bottom: 28px; }
.zwei-wege > div { background: var(--weiss); border-radius: var(--radius); padding: 24px 22px; border: 1px solid var(--linie); }
.zwei-wege h3 { margin-top: 0; }

/* Tabelle */
.tabelle-huelle { overflow-x: auto; margin: 0 0 1.2em; border-radius: var(--radius); background: var(--weiss); border: 1px solid var(--linie); }
.tabelle { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tabelle th, .tabelle td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--beige); vertical-align: top; }
.tabelle th { background: var(--navy); color: var(--creme); font-family: var(--font-titel); font-weight: 600; }
.tabelle tr:last-child td { border-bottom: 0; }
.tabelle td:last-child { font-weight: 700; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Häufige Fragen */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); }
.creme .faq details { border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 56px 18px 20px; font-family: var(--font-titel); font-weight: 700; font-size: 1.15rem; line-height: 1.3; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 11px; height: 11px; margin-top: -8px;
  border-right: 2.5px solid var(--rost); border-bottom: 2.5px solid var(--rost); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > p { margin: 0; padding: 0 20px 20px; }

/* Abschluss mit Kontakt-Aufruf */
.abschluss { position: relative; isolation: isolate; overflow: hidden; }
.abschluss .gross { color: #e9eef2; }
.abschluss .gross strong { color: var(--creme); }
.schleife-abschluss { z-index: -1; width: 420px; height: 490px; right: -250px; bottom: -220px; }

/* Kontakt */
.kontakt-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.kontakt-liste li { display: flex; gap: 14px; align-items: flex-start; background: var(--weiss); border-radius: var(--radius); padding: 16px 18px; }
.kontakt-liste svg { flex: none; color: var(--rost); margin-top: 2px; }
.kontakt-liste strong { display: block; color: var(--navy); font-family: var(--font-titel); }
.kontakt-liste a { color: var(--navy); font-weight: 600; text-decoration-color: var(--rost); text-underline-offset: 3px; }
.feld select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: #fcfaf7; border: 1px solid #c9bda9; border-radius: var(--radius);
  padding: 12px 14px; min-height: 50px;
}
.feld select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(214,75,44,.3); }

/* Akzentbild Fernglas mit Spruch
   Handy: eigener Zuschnitt (Person und Fernglas groß), Spruch darunter.
   Ab Tablet: Querformat, Spruch rechts auf der ruhigen Wasserfläche. */
.fernglas { position: relative; isolation: isolate; margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; background: var(--navy-tief); }
.fernglas img { width: 100%; height: auto; aspect-ratio: 900 / 982; object-fit: cover; }
.fernglas-spruch {
  padding: 20px 22px 24px; border-top: 3px solid var(--gold);
  font-family: var(--font-titel); font-weight: 700; font-size: 1.35rem; line-height: 1.3; color: var(--creme);
}
.knopf-zeile-mitte { justify-content: center; margin-top: 0; }
@media (min-width: 640px) {
  .fernglas img { aspect-ratio: 2000 / 1331; }
  .fernglas::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to left, rgba(13,34,51,.72) 0%, rgba(13,34,51,.45) 30%, rgba(13,34,51,0) 52%);
  }
  .fernglas-spruch {
    position: absolute; z-index: 2; right: 4%; bottom: 11%; width: 34%;
    padding: 0 0 0 18px; border-top: 0; border-left: 3px solid var(--gold);
    font-size: clamp(1.05rem, 2.3vw, 1.9rem); color: var(--weiss);
    text-shadow: 0 2px 14px rgba(8,23,35,.55);
  }
}

/* Startseite: Zahlen mit Wörtern ("Seit 1970", "2. Generation") */
.fakten .zahl { font-size: clamp(1.1rem, 4.4vw, 1.7rem); line-height: 1.15; }

/* Startseite: Suchauftrag unter "Aktuelle Angebote" */
.suchauftrag-hinweis {
  margin-top: 20px; display: grid; gap: 16px; align-items: center;
  background: var(--navy); color: #e9eef2; border-radius: var(--radius); padding: 24px 22px;
}
.suchauftrag-hinweis p { margin: 0; font-size: 1.1rem; }
.suchauftrag-hinweis .btn { justify-self: start; }
@media (min-width: 760px) { .suchauftrag-hinweis { grid-template-columns: 1fr auto; padding: 28px 32px; } }

/* Startseite: kleiner Hinweis auf das Empfehlungsprogramm */
.empfehlung-band { background: var(--weiss); border-top: 1px solid var(--linie); }
.empfehlung-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 22px; }
.empfehlung-band p { margin: 0; color: var(--text); }
.empfehlung-band strong { color: var(--navy); }
.empfehlung-band .link { white-space: nowrap; }
.empfehlung-band .link::after { content: " →"; }

/* Gegliederte Formulare (Suchauftrag, Empfehlung) */
.formular-gruppe { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
.formular-gruppe legend {
  font-family: var(--font-titel); font-weight: 700; font-size: 1.15rem; color: var(--navy);
  padding: 0 0 6px; margin-bottom: 14px; border-bottom: 2px solid var(--gold); width: 100%;
}
.formular-gruppe + .formular-gruppe { margin-top: 10px; }
.feld-titel { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--navy); }
.wahl-zeile { display: flex; flex-wrap: wrap; gap: 10px; }
.wahl {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px;
  border: 1px solid #c9bda9; border-radius: var(--radius); background: #fcfaf7; cursor: pointer; font-weight: 600; color: var(--navy);
}
.wahl input { width: 20px; height: 20px; margin: 0; accent-color: var(--gold); }
.wahl:has(input:checked) { border-color: var(--navy); background: var(--weiss); box-shadow: 0 0 0 2px rgba(197,159,99,.5); }
.feld select:invalid { color: var(--text-leise); }
.geprueft .feld select:invalid { border-color: var(--fehler); }

/* Prämientabelle: lange Werte dürfen umbrechen */
.tabelle-praemie td:last-child { white-space: normal; }

/* Google-Bewertungen im eigenen Design */
.bewertung-gesamt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 22px; }
.bewertung-note { font-family: var(--font-titel); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--navy); }
.bewertung-anzahl { color: var(--text-leise); font-weight: 600; }
.sterne { display: inline-flex; gap: 2px; font-size: 1.35rem; line-height: 1; }
.stern { color: var(--beige-dunkel); }
.stern.voll { color: var(--gold); }
.bewertung-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bewertung { background: var(--weiss); border-radius: var(--radius); padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.bewertung .sterne { font-size: 1.05rem; }
.bewertung-text { margin: 0; color: var(--text); flex: 1; white-space: pre-line; }
.bewertung-autor { margin: 0; font-weight: 700; color: var(--navy); }
.bewertung-autor a { color: var(--navy); text-decoration-color: var(--gold); }
.bewertung-wann { margin: 0; font-size: .9rem; color: var(--text-leise); }
.bewertung-quelle { margin: 14px 0 0; font-size: .9rem; color: var(--text-leise); }
@media (min-width: 760px) { .bewertung-liste { grid-template-columns: repeat(3, 1fr); } }

/* Sichtbare Markierung für Platzhalter-Fotos */
.hero-split-bild { position: relative; }
.foto-platzhalter { position: absolute; left: 12px; bottom: 12px; z-index: 2; font-size: .85rem; }
@media (min-width: 960px) { .foto-platzhalter { left: 20px; bottom: 20px; } }

/* Galerie-Bild (Home Staging, nicht nach Schema F) */
.galerie-bild { margin: 1.4em 0 0; }
.galerie-bild img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }

/* Einzelnes Kundenzitat (Home Staging, nach dem ersten Regler) */
.kundenzitat { margin: 28px 0 0; background: var(--weiss); border-radius: var(--radius); border-left: 4px solid var(--gold); padding: 24px 24px 20px; }
.kundenzitat .sterne { font-size: 1.1rem; }
.kundenzitat blockquote { margin: 10px 0 12px; }
.kundenzitat blockquote p { margin: 0; font-size: 1.1rem; line-height: 1.6; color: var(--text); }
.kundenzitat figcaption { color: var(--text-leise); }
.kundenzitat-hinweis { margin: 12px 0 0; font-size: .9rem; color: var(--text-leise); }
.kundenzitat figcaption strong { color: var(--navy); }
.kundenzitat-hinweis { margin: 12px 0 0; font-size: .9rem; color: var(--text-leise); }

/* Fußzeile: Navigation */
.fuss-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Ab Tablet ---------- */
@media (min-width: 640px) {
  .kacheln { grid-template-columns: 1fr 1fr; }
  .werte { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .bild-paar { grid-template-columns: 1fr 1fr; }
  .zwei-wege { grid-template-columns: 1fr 1fr; }
  .kasten { padding: 36px 40px; }
  .hero-split-bild img { aspect-ratio: 16 / 9; }
}

/* ---------- Ab Desktop ---------- */
@media (min-width: 960px) {
  .menue-knopf { display: none; }
  .hauptnav, .menue-offen .hauptnav { display: block; position: static; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible; }
  .hauptnav ul { display: flex; gap: 2px; padding: 0; }
  .hauptnav a { border: 0; font-size: .9rem; padding: 8px 7px; border-radius: 999px; white-space: nowrap; }
  .kopf .header-phone { white-space: nowrap; }
  .hauptnav a:hover { background: rgba(234,220,196,.12); }
  .hauptnav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--rost); border-radius: 0; padding-left: 12px; }
  .hauptnav .nav-telefon { display: none; }
  .kopf-inner { min-height: 84px; }
  .kopf .logo img { width: 140px; }
  .kacheln { grid-template-columns: repeat(3, 1fr); }
  .hero-start { min-height: min(86vh, 820px); }
  .hero-start .hero-inhalt { padding-top: 80px; }
  .hero-split { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 560px; }
  .hero-split .hero-inhalt { order: 1; align-self: center; padding: 80px 56px 80px max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter))); max-width: none; margin: 0; }
  .hero-split-bild { order: 2; position: relative; }
  .hero-split-bild img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  .hero-schlicht .hero-inhalt { padding-top: 96px; padding-bottom: 104px; }
  .schleife-kopf { width: 720px; height: 840px; right: -160px; top: -260px; }
  .familie-raster { grid-template-columns: 1fr 1.15fr; gap: 72px; }
  .schleife-abschluss { width: 720px; height: 840px; right: -220px; bottom: -420px; }
}
/* Untermenü „Leistungen“ – ab 960 px: Klappmenü unter dem Knopf
   (öffnet beim Darüberfahren mit der Maus und per Klick/Enter, Escape schließt) */
@media (min-width: 960px) {
  .hat-untermenue { position: relative; }
  .untermenue-knopf { width: auto; border: 0; border-radius: 999px; padding: 8px 9px; font-size: .9rem; white-space: nowrap; gap: 8px; }
  .untermenue-knopf:hover { background: rgba(234,220,196,.12); }
  .untermenue-knopf.aktiv { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
  .hauptnav .untermenue {
    display: none; position: absolute; z-index: 50; top: 100%; left: 0; min-width: 250px;
    flex-direction: column; gap: 2px; padding: 8px; margin-top: 6px;
    background: var(--navy); border-top: 3px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 18px 30px rgba(8,23,35,.35);
  }
  /* unsichtbare Brücke, damit das Menü beim Weg mit der Maus offen bleibt */
  .hauptnav .untermenue::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 9px; }
  .hat-untermenue:hover .untermenue,
  .untermenue-knopf[aria-expanded="true"] + .untermenue, .kein-js .hat-untermenue:hover .untermenue { display: flex; }
  .kein-js .hauptnav .untermenue { display: none; }
  .hauptnav .untermenue a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 1rem; white-space: nowrap; }
  .hauptnav .untermenue a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); border-radius: 0 8px 8px 0; padding-left: 14px; color: var(--creme); }
}
/* Telefonnummer im Kopf: auf dem Handy und Tablet nicht (sie steht im Menü und in der Leiste unten),
   ab 960 px ausgeschrieben neben dem Symbol – mit dem Klappmenü „Leistungen“ ist dafür genug Platz */
.kopf .header-phone { display: none; }
@media (min-width: 960px) {
  .kopf .header-phone {
    display: inline-flex; flex: none; height: 44px; padding: 0 16px 0 14px; gap: 8px;
    border: 1px solid rgba(234,220,196,.45); border-radius: 999px; color: var(--weiss);
  }
  .kopf .header-phone svg { color: var(--gold); }
  .kopf .header-phone:hover { background: rgba(234,220,196,.12); }
  .kopf .header-phone:hover span { text-decoration: none; }
}
@media (min-width: 1180px) {
  .hauptnav a, .untermenue-knopf { font-size: 1rem; padding: 10px 12px; }
}


/* =====================================================================
   Farbwelt Gold (nur Website, die Landingpage bleibt rostrot)
   Gold #C59F63 laut Brandsheet für Akzente, Linien, Icons und Hervorhebungen.
   Regeln für gute Lesbarkeit:
   - kein goldener Text auf weißem oder hellem Grund (dort Dunkelblau)
   - goldene Flächen (Knöpfe, Band, Nummern) immer mit dunkelblauer Schrift
   - goldener Text nur auf Dunkelblau
   Die Variablen heißen aus Kompatibilität mit styles.css weiter "--rost". */
:root {
  --rost: #C59F63;          /* Gold: Akzente, Linien, Icons, Flächen */
  --rost-dunkel: #B38D52;   /* Gold etwas dunkler: Knopf beim Darüberfahren */
  --rost-tief: #C59F63;     /* große Schleife */
}
.skip-link { color: var(--navy); }

/* Knöpfe: Gold mit dunkelblauer Schrift */
.btn-rost { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(197,159,99,.35); }
.btn-rost:hover { background: var(--rost-dunkel); color: var(--navy); }
.mobil-leiste .btn-rost { box-shadow: none; }

/* Aktionsband */
.aktion-band, .aktion-band a { background: var(--gold); color: var(--navy); }

/* Nummern in Abläufen */
.schritt-nr, .ablauf-liste li::before { color: var(--navy); }

/* Vorher/Nachher: Nachher-Karte in Gold */
.nachher { background: var(--gold); color: var(--navy); box-shadow: 0 10px 26px rgba(197,159,99,.35); }

/* Text auf hellem Grund: Dunkelblau statt Farbe */
.kicker { color: var(--navy); }
.kicker::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--gold); vertical-align: middle; margin: -2px 10px 0 0; }
.navy .kicker, .hero .kicker, .hero-split .kicker, .hero-schlicht .kicker { color: var(--gold); }
.navy .praxis-kasten .kicker, .navy .kasten .kicker { color: var(--navy); }
.antwort { color: var(--navy); }
.antwort::after { content: ""; display: block; width: 64px; height: 3px; background: var(--gold); margin-top: .35em; border-radius: 2px; }
.preisliste dd { color: var(--navy); }
.kachel-mehr::after { color: var(--navy); }
.rost { color: inherit; }

/* Fokus-Rahmen in Gold */
.feld input:focus, .feld textarea:focus, .feld select:focus { box-shadow: 0 0 0 3px rgba(197,159,99,.5); }

/* Große Schleife: Gold, zurückhaltend */
.schleife { opacity: .38; }
.schleife-praxis { opacity: .22; }

/* ---------- Seite „Verkaufen – So arbeiten wir“ ---------- */
/* Zeitstrahl: nummerierte Schritte an einer goldenen Linie (Handy: Linie links) */
.zeitstrahl { list-style: none; margin: 8px 0 0; padding: 0; position: relative; max-width: 860px; display: grid; gap: 18px; }
.zeitstrahl::before { content: ""; position: absolute; left: 17px; top: 22px; bottom: 22px; width: 2px; background: var(--gold); }
.zeitstrahl li { position: relative; padding-left: 48px; }
.zeitstrahl-nr {
  position: absolute; left: 0; top: 14px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: var(--navy);
  font-family: var(--font-titel); font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 5px var(--beige);
}
.zeitstrahl-karte { background: var(--weiss); border-radius: var(--radius); padding: 16px 16px 18px; }
.zeitstrahl-karte h3 { font-family: var(--font-titel); font-size: 1.2rem; line-height: 1.25; color: var(--navy); margin: 0 0 .45em; }
.zeitstrahl-karte p:last-child { margin-bottom: 0; }
.zeitstrahl-hinweis { background: var(--beige); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 12px 14px; margin-top: 1em; }
.zeitstrahl-hinweis strong, .zeitstrahl-karte .link { color: var(--navy); }

/* Zwei Textblöcke nebeneinander */
.info-paar { margin-bottom: 0; }
.info-paar h2 { font-size: clamp(1.35rem, 5vw, 1.75rem); margin-top: 0; }
.info-paar p { margin-bottom: 0; }

/* Breite Kachel auf der Startseite („So arbeiten wir“) */
.kachel-breit a { background: var(--navy); border-color: var(--navy); }
.kachel-breit .kachel-titel { color: var(--creme); }
.kachel-breit .kachel-text { color: #dfe5ea; }
.kachel-breit .kachel-mehr, .kachel-breit .kachel-mehr::after { color: var(--gold); }
.kachel-breit a:hover { border-color: var(--gold); }

@media (min-width: 640px) {
  .kachel-breit { grid-column: 1 / -1; }
  .zeitstrahl { gap: 22px; }
  .zeitstrahl::before { left: 27px; top: 28px; bottom: 28px; }
  .zeitstrahl li { padding-left: 84px; }
  .zeitstrahl-nr { width: 56px; height: 56px; font-size: 1.35rem; top: 18px; }
  .zeitstrahl-karte { padding: 24px 28px 26px; }
}

/* Seite „Immobilie bei Trennung oder Scheidung“ */
.begleitung { margin-bottom: 0; }
.begleitung h3 { font-family: var(--font-titel); font-size: 1.2rem; line-height: 1.25; color: var(--navy); margin: 0 0 .45em; }
.begleitung p { margin-bottom: 0; }
.kasten-titel { font-size: clamp(1.35rem, 5vw, 1.75rem); }

/* Fußzeile: Seitenliste begrenzen, damit die Adresse daneben genug Platz hat */
@media (min-width: 960px) {
  .footer-links { max-width: 600px; }
  .fuss-nav { justify-content: flex-end; }
}

/* ---------- Referenzen ---------- */
.referenz-raster { display: grid; gap: 24px; }
.referenz-titelbild { margin: 0; }
.referenz-titelbild img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.referenz-titelbild.hoch img { aspect-ratio: auto; max-height: 640px; width: auto; max-width: 100%; margin: 0 auto; }
.referenz-inhalt h2 { margin-top: 0; }
.referenz-inhalt h3 { font-family: var(--font-titel); font-size: 1.2rem; color: var(--navy); margin: 1.5em 0 .4em; }
.referenz-eckdaten { display: grid; gap: 10px; margin: 1em 0 0; padding: 16px 18px; background: var(--beige); border-radius: var(--radius); }
.creme .referenz-eckdaten { background: var(--weiss); }
.referenz-eckdaten div { display: grid; gap: 2px; }
.referenz-eckdaten dt { font-family: var(--font-titel); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-leise); }
.referenz-eckdaten dd { margin: 0; color: var(--text); line-height: 1.5; }
.referenz-ergebnis { margin-top: 1.6em; padding: 20px 20px 22px; background: var(--navy); color: var(--creme); border-radius: var(--radius); }
.referenz-ergebnis h3 { margin-top: 0; color: var(--gold); }
.referenz-ergebnis strong { color: #fff; }
.referenz-ergebnis p:last-child { margin-bottom: 0; }
.referenz-tipp { background: var(--beige); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 12px 14px; margin-top: 1.4em; }
.creme .referenz-tipp { background: var(--weiss); }
.referenz-tipp strong { color: var(--navy); }
.referenz-galerie { display: grid; gap: 12px; }
.referenz-galerie figure { margin: 0; }
.referenz-galerie img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.referenz-paar .bild-paar { margin-top: 0; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 640px) {
  .referenz-galerie { grid-template-columns: repeat(3, 1fr); }
  .referenz-galerie.anzahl-2 { grid-template-columns: repeat(2, 1fr); }
  .referenz-galerie.anzahl-1 { grid-template-columns: minmax(0, 520px); }
  .referenz-eckdaten { padding: 18px 22px; }
  .referenz-ergebnis { padding: 24px 28px 26px; }
}
@media (min-width: 960px) {
  .referenz-raster { grid-template-columns: 5fr 7fr; gap: 28px 48px; align-items: start; }
  .referenz-galerie, .referenz-paar { grid-column: 1 / -1; }
}

/* ---------- Angebote (onOffice) ---------- */
.angebote-raster { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.angebot-karte a { display: flex; flex-direction: column; height: 100%; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.angebot-karte a:hover { box-shadow: 0 12px 30px rgba(13,34,51,.12); transform: translateY(-2px); }
.angebot-bild { position: relative; aspect-ratio: 4 / 3; background: var(--beige); }
.angebot-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.angebot-ohne-bild { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-leise); }
.angebot-status { display: inline-block; padding: 5px 12px; border-radius: 999px; font-family: var(--font-titel); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; background: var(--gold); color: var(--navy); vertical-align: middle; }
.angebot-status.status-verkauft { background: var(--navy); color: var(--weiss); }
.angebot-bild .angebot-status { position: absolute; left: 12px; top: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.hero-text .angebot-status { margin-left: 6px; }
.ist-verkauft .angebot-bild img { filter: grayscale(.45); }
.angebot-text { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.angebot-art { margin: 0; font-size: .9rem; color: var(--text-leise); font-weight: 600; }
.angebot-text h3 { margin: 0; font-family: var(--font-titel); font-size: 1.15rem; line-height: 1.3; color: var(--navy); }
.angebot-preis { margin: 4px 0 0; font-family: var(--font-titel); font-weight: 700; font-size: 1.3rem; color: var(--navy); }
.angebot-fakten { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .95rem; color: var(--text-leise); }
.angebot-mehr { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.angebote-leer { text-align: center; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 28px 22px; }
.angebote-leer .knopf-zeile { justify-content: center; }
.angebote-start { margin-bottom: 40px; }
.angebote-alle { margin: 20px 0 0; }
.angebot-galerie-abschnitt { padding-bottom: 0; }
.angebot-galerie { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.angebot-galerie figure { margin: 0; position: relative; }
.angebot-galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; }
.angebot-galerie .erstes { grid-column: 1 / -1; }
.angebot-galerie figcaption { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(13,34,51,.72); color: #fff; font-size: .8rem; }
.angebot-galerie-hinweis { margin: 10px 0 0; font-size: .9rem; color: var(--text-leise); }
.angebot-raster { display: grid; gap: 28px; }
.angebot-texte h2 { font-size: 1.35rem; }
.angebot-texte p { margin: 0 0 .9em; }
.angebot-eckdaten, .angebot-energie { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 20px 20px 22px; }
.angebot-energie { margin-top: 18px; }
.angebot-eckdaten h2, .angebot-energie h2 { font-size: 1.2rem; margin: 0 0 .6em; }
.angebot-daten { margin: 0 0 16px; display: grid; gap: 0; }
.angebot-daten div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--linie); }
.angebot-daten div:last-child { border-bottom: 0; }
.angebot-daten dt { color: var(--text-leise); }
.angebot-daten dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }
.angebot-energie .angebot-daten { margin-bottom: 0; }
.angebot-energie p { margin: 0; }
.angebot-klein { font-size: .9rem; color: var(--text-leise); margin: -6px 0 14px; }
.angebot-grundrisse { display: grid; gap: 18px; }
.angebot-grundrisse figure { margin: 0; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 12px; }
.angebot-grundrisse img { width: 100%; height: auto; display: block; }
.angebot-grundrisse figcaption { margin-top: 8px; font-weight: 600; color: var(--navy); }
#expose .gross { color: var(--creme); }
.angebot-zurueck { margin: 22px 0 0; }
.navy .angebot-zurueck .link { color: var(--creme); }
@media (min-width: 640px) {
  .angebote-raster { grid-template-columns: repeat(2, 1fr); }
  .angebot-galerie { grid-template-columns: repeat(3, 1fr); }
  .angebot-grundrisse { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .angebote-raster { grid-template-columns: repeat(3, 1fr); }
  .angebot-galerie { grid-template-columns: repeat(4, 1fr); }
  .angebot-galerie .erstes { grid-column: span 2; grid-row: span 2; }
  .angebot-galerie .erstes img { height: 100%; }
  .angebot-raster { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
  .angebot-seite { position: sticky; top: 110px; }
}
.angebot-texte h3 { font-family: var(--font-titel); font-size: 1.05rem; color: var(--navy); margin: 1.2em 0 .3em; }
.angebot-texte ul { margin: 0 0 1em; padding-left: 1.2em; }
.angebot-texte li { margin: .2em 0; }
