/* Immobilien am Zoo – Demo (eigene Umsetzung) */
:root {
  --gold: #b39a60;
  --gold-hover: #a58c52;
  --gold-dunkel: #8a7440;   /* wurde benutzt, war aber nie definiert */
  --bordeaux: #7b2233;      /* Reiter „Wir suchen“ */
  --dark: #0f0f0f;
  --ink: #1c1c1c;
  --body: #4a4a4a;
  --cream: #faf7f2;
  --beige: #f4ece1;
  --line: #e5e0d6;
  --radius: 10px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: var(--body);
  background: #fff;
  font-size: 14px;
  line-height: 1.65;
}
.serif { font-family: 'Bodoni Moda', 'Playfair Display', Georgia, serif; font-weight: 400; color: var(--ink); }
h1, h2, h3 { line-height: 1.2; }
h2.serif { font-size: 45px; line-height: 1.5; }
section > h2.serif, .agent h2.serif { text-align: center; }
.section-sub {
  max-width: 720px; margin: 18px auto 0; text-align: center;
  font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.8;
}
a { text-decoration: none; color: inherit; }
/* height:auto ist Pflicht, seit die Bilder width/height als Attribut tragen
   (gegen Layoutsprünge). Ohne die Regel nimmt der Browser die Attributhöhe
   wörtlich, während die Breite per CSS schrumpft – das Bild wird verzerrt.
   Regeln mit eigener Höhe (.testimonial-photo img, .ansprech-bild …) sind
   spezifischer und gewinnen weiterhin.
   picture selbst soll kein eigenes Kästchen bilden: display:contents lässt das
   <img> exakt so im Layout stehen wie vor der Umstellung auf <picture>. */
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
.center { text-align: center; }
svg { fill: currentColor; }

/* ---------- Topbar ---------- */
.topbar {
  /* Seit die Social-Symbole hier weg sind, steht nur noch der Kontaktblock in
     der Leiste – der gehört weiterhin nach rechts. */
  background: #0a0a0a; color: #fff; display: flex; justify-content: flex-end;
  align-items: center; padding: 14px 48px; font-size: 14px; position: relative; z-index: 30;
}
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 8px; }
/* Unterseite mit Titelbild: auch die Kontaktleiste schwebt transparent darüber */
.topbar.ueber-hero {
  position: absolute; top: 0; left: 0; right: 0; background: none;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}

.topbar-social { display: flex; gap: 26px; }
.topbar-social a { opacity: .9; }
.topbar-social a:hover { opacity: 1; color: var(--gold); }
.topbar-contact { display: flex; gap: 32px; }

/* ---------- Header ---------- */
.site-header:not(.hell) { text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.site-header {
  position: absolute; top: 48px; left: 0; right: 0; z-index: 20;
  /* minmax(0, 1fr): Ohne die 0 als Untergrenze schrumpfen die Außenspalten nur
     bis zu ihrem Inhalt – und weil Burger und Aktionsknöpfe verschieden breit
     sind, säße das Logo dazwischen nicht mehr mittig (auf dem Telefon deutlich
     nach links versetzt). */
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  padding: 26px 48px; color: #fff;
}
/* Das Logo ist schmaler als seine Spalte – ohne das säße es an deren linkem Rand */
.header-logo { display: flex; justify-content: center; }
/* Das große Logo bestimmt die Höhe des Kopfbereichs. Menü und Telefon würden
   dadurch mittig auf halber Logohöhe hängen – sie gehören nach oben. */
.site-header:not(.hell) { align-items: start; padding-top: 8px; }
.site-header:not(.hell) .header-links,
.site-header:not(.hell) .header-nav-right,
.site-header:not(.hell) .header-mobil-aktionen { padding-top: 10px; }

.header-links { display: flex; align-items: center; gap: 20px; }
/* Das Hauptmenü liegt komplett im Ausklappmenü – im Header steht dafür der Burger. */
.header-nav-left { display: none; }
.burger { display: flex; }
.header-mobil-aktionen { display: none; }
.header-nav-left a:hover, .header-nav-left a.active { color: var(--gold); }
/* 30% der Fensterhöhe, höchstens 288px. Damit bleibt das Logo auf flachen
   Fenstern gut sichtbar und erreicht auf hohen Bildschirmen seine volle Größe. */
.header-logo img { height: min(340px, 35vh); width: auto; }
.site-header:not(.hell) .header-logo img { transform: none; }
.header-nav-right { display: flex; gap: 32px; justify-content: flex-end; align-items: center; font-weight: 500; }
.header-nav-right .gold { color: var(--gold); }
.header-nav-right a:hover { color: var(--gold); }
.header-phone { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 700; }
/* Das Telefonsymbol ist eine gefüllte Form – eine Kontur in derselben Farbe macht sie kräftiger */
.header-phone svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: .8; paint-order: stroke fill; }
/* Weiß nur über dem Hero-Bild – in den hellen Leisten wäre die Nummer sonst unsichtbar */
.site-header:not(.hell) .header-phone:hover { color: #fff !important; }
.sticky-bar .header-phone:hover { color: var(--gold-dunkel) !important; }
.header-merkliste { position: relative; display: inline-flex; align-items: center; }
.header-merkliste svg { width: 22px; height: 22px; }
.header-merkliste:hover { color: var(--gold); }
.header-merkliste-zahl {
  position: absolute; top: -7px; right: -10px; background: var(--gold); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 1; min-width: 16px; height: 16px;
  border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 3px;
}
.header-merkliste-zahl[hidden] { display: none; }

/* ---------- Hero ---------- */
/* Topbar und Hero ergeben zusammen genau eine Bildschirmhöhe – der Hero nimmt
   den Rest ein, ganz ohne feste Pixelwerte für die Leiste darüber.
   dvh berücksichtigt die ein- und ausfahrende Adressleiste mobiler Browser. */
.hero-bereich {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; flex-direction: column;
}
.hero {
  position: relative; flex: 1 1 auto; min-height: 520px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding-top: min(370px, calc(35vh + 8px));   /* beginnt unterhalb des Logos */
}
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; z-index: 1;
  /* Ruhezustand leicht herangezoomt; der Reset läuft erst, wenn der Slide
     unsichtbar ist – sonst sieht man das Zurückspringen des Zooms. */
  transform: scale(1.07);
  transition: opacity 2.4s cubic-bezier(.37, 0, .19, 1), transform 0s linear 2.4s;
  will-change: opacity, transform;
  backface-visibility: hidden;
}
.hero-slide.aktiv {
  opacity: 1;
  z-index: 2;                       /* liegt über dem alten Bild: kein Durchscheinen beim Wechsel */
  transform: scale(1);
  transition: opacity 2.4s cubic-bezier(.37, 0, .19, 1), transform 11s linear;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.aktiv { transform: none; transition: opacity .6s ease; }
}
/* Verlauf statt flacher Fläche: oben und unten kräftiger, damit Navigation und
   Überschrift auch auf hellen Slides (Innenaufnahmen) sicher lesbar bleiben. */
.hero-overlay {
  position: absolute; inset: 0; z-index: 3;
  background:
    linear-gradient(to bottom,
      rgba(12, 10, 6, .62) 0%,
      rgba(12, 10, 6, .38) 32%,
      rgba(12, 10, 6, .40) 68%,
      rgba(12, 10, 6, .55) 100%);
}
.hero-content {
  position: relative; z-index: 5; text-align: center; color: #fff;
  padding: 22px 20px 70px; width: 100%;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .38);
}
.hero-topline { font-family: 'Open Sans', sans-serif; letter-spacing: 1px; font-size: 16px; margin-bottom: 26px; }
.hero h1 {
  font-family: 'Bodoni Moda', Georgia, serif; font-weight: 400;
  font-size: 68px; line-height: 1.2; max-width: 900px; margin: 0 auto 44px;
}
/* Umschalter: zwei Hälften in einer Pille, die aktive ist gefüllt */
.hero-tabs {
  display: inline-flex; gap: 4px; margin-bottom: 30px; padding: 5px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-tabs .tab {
  background: none; border: none; color: #fff; font-size: 14px; font-weight: 600;
  letter-spacing: 1.6px; text-transform: uppercase; font-family: inherit;
  padding: 12px 36px; border-radius: 999px; cursor: pointer;
  transition: background .25s ease, color .25s ease;
  text-shadow: none;
}
.hero-tabs .tab:hover { background: rgba(255, 255, 255, .18); }
.hero-tabs .tab.active { background: #fff; color: var(--ink); }
.hero-tabs .tab.active:hover { background: #fff; }
.hero-search {
  display: flex; align-items: center; background: #fff; border-radius: 999px;
  max-width: 760px; margin: 0 auto; padding: 7px 7px 7px 30px; box-shadow: 0 14px 40px rgba(0,0,0,.25);
}
/* Ein Punkt je Slide, unter dem Suchfeld – auch zum direkten Anspringen */
.hero-punkte { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.hero-punkt {
  width: 10px; height: 10px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .3);
  transition: background .2s, transform .2s;
}
.hero-punkt:hover { background: rgba(255, 255, 255, .7); }
.hero-punkt.aktiv { background: #fff; transform: scale(1.25); }
.hero-punkt:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero-search input {
  flex: 1; border: none; outline: none; font-size: 16px; font-family: inherit; color: var(--ink); background: none;
}
.hero-search input::placeholder { color: #8a8a8a; }
.hero-search button {
  display: inline-flex; align-items: center; gap: 9px; background: var(--gold); color: #fff;
  border: none; border-radius: 999px; padding: 15px 32px; font-size: 16px; font-weight: 500;
  font-family: inherit; cursor: pointer; transition: background .2s;
}
.hero-search button:hover { background: var(--gold-hover); }
.hero-search svg { width: 18px; height: 18px; }
.side-tabs {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; gap: 3px;
}
.side-tab {
  background: #111; color: #fff; writing-mode: vertical-rl;
  padding: 22px 13px; font-size: 12.5px; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 600; border-radius: 6px 0 0 6px;
  transition: background .25s ease, padding-right .2s ease;
}
.side-tab:first-child { background: var(--gold); }      /* Kaufen als Hauptaktion in Gold */
.side-tab.suchen, .side-tab.suchen:hover { background: var(--bordeaux); }   /* Wir suchen */
.side-tab:hover { background: var(--gold-hover); padding-right: 17px; }
.side-tab:first-child:hover { background: var(--gold-hover); }
@media (max-width: 680px) { .side-tabs { display: none; } }

/* ---------- Intro ---------- */
.intro { background: var(--cream); padding: 110px 48px 100px; }
.intro-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  max-width: 1320px; margin: 60px auto 0;
}
.intro-card {
  position: relative; height: 360px; border-radius: 6px; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.intro-card::after { content: ''; position: absolute; inset: 0; background: rgba(10, 8, 5, .38); transition: background .25s; }
.intro-card:hover::after { background: rgba(10, 8, 5, .5); }
.intro-card span {
  position: relative; z-index: 2; color: #fff; font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 26px; letter-spacing: 5px; text-transform: uppercase;
}

/* ---------- Agentin ---------- */
/* Schließt ohne weißen Streifen an die Intro-Sektion an */
.agent { position: relative; padding: 90px 48px 110px; background: var(--cream); }
.agent-bg { display: none; }
.agent-inner {
  position: relative; display: grid; grid-template-columns: 460px 1fr; gap: 90px;
  max-width: 1320px; margin: 0 auto; align-items: start;
}
.agent-photo img { border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.12); }
.agent-text h2 { text-align: left !important; margin-bottom: 34px; }
.agent-text p { margin-bottom: 22px; max-width: 620px; font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.8; }
.agent-footer {
  display: flex; justify-content: flex-start; align-items: center; max-width: 620px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 20px 0; margin-top: 36px;
}
.agent-social { display: flex; gap: 12px; }
.agent-social a {
  width: 42px; height: 42px; border: 1px solid rgba(28, 28, 28, .35); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}
.agent-social a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.contact-link { font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; font-size: 13.5px; color: var(--ink); }
.contact-link span { margin-left: 6px; }
.contact-link:hover { color: var(--gold); }

/* ---------- Kieze ---------- */
.kieze { padding: 100px 48px; }
.kiez-grid {
  display: grid; gap: 26px; max-width: 1320px; margin: 55px auto 0;
  grid-template-columns: repeat(8, 1fr);
}
.kiez-card {
  /* Höhe kommt je Reihe aus lagen_raster(); ohne Angabe bleibt es beim alten Maß */
  position: relative; height: var(--kachel-hoehe, 420px); border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.kiez-card .kiez-card-bild {
  /* Höhere Spezifität als ".kiez-card span" unten nötig – sonst gewinnt dessen position:relative.
     ⚠ z-index gehört ebenfalls hierher: „.kiez-card span" setzt z-index 2, und das galt auch für
     diesen Span. Das Bild lag damit ÜBER dem Schleier des ::after – der war unsichtbar, egal wie
     dunkel er eingestellt war. */
  position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center;
  transition: transform .7s ease;
}
.kiez-card:hover .kiez-card-bild { transform: scale(1.07); }
/* Der Schleier trägt die Beschriftung: Auf hellen Bildern (Himmel, heller Putz)
   ist der weiße Name sonst kaum zu lesen. Beim Überfahren wird er kräftiger. */
.kiez-card::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: rgba(10, 8, 5, .42); transition: background .25s;
}
.kiez-card:hover::after { background: rgba(10, 8, 5, .68); }
.kiez-card span { position: relative; z-index: 2; color: #fff; font-size: 26px; }
.kiez-card span.serif { text-shadow: 0 2px 14px rgba(0, 0, 0, .5); transition: text-shadow .25s; }
.kiez-card:hover span.serif { text-shadow: 0 2px 18px rgba(0, 0, 0, .7); }

/* ---------- Immobilien ---------- */
.properties { padding: 40px 48px 100px; }
.property-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px;
  max-width: 1320px; margin: 60px auto 55px;
}
.property-media {
  display: block; position: relative; height: 265px; border-radius: var(--radius);
  overflow: hidden;
}
/* Bildebenen der Karte: eine sichtbar, die übrigen warten. Beim Überfahren zoomt die aktive. */
.pm-bilder { position: absolute; inset: 0; }
.pm-bild {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity .35s ease, transform .7s ease;
}
.pm-bild.aktiv { opacity: 1; }
.property-media:hover .pm-bild.aktiv { transform: scale(1.07); }
.pm-link { position: absolute; inset: 0; z-index: 2; }
.pm-pfeil {
  position: absolute; top: 50%; z-index: 4; transform: translateY(-50%);
  width: 34px; height: 34px; padding: 0; cursor: pointer;
  border: none; border-radius: 50%; background: rgba(255,255,255,.92); color: #111;
  font-size: 20px; line-height: 32px; text-align: center;
  opacity: 0; transition: opacity .2s ease, background .2s ease;
}
.property-media:hover .pm-pfeil, .pm-pfeil:focus-visible { opacity: 1; }
.pm-pfeil:hover { background: #fff; }
.pm-pfeil.links { left: 12px; }
.pm-pfeil.rechts { right: 12px; }
.pm-punkte {
  position: absolute; left: 0; right: 0; bottom: 14px; z-index: 4;
  display: flex; justify-content: center; gap: 6px; pointer-events: none;
}
.pm-punkte i {
  width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5);
  transition: background .2s ease;
}
.pm-punkte i.aktiv { background: #fff; }
@media (hover: none) { .property-media .pm-pfeil { opacity: 1; } }
.badge {
  position: absolute; top: 16px; font-size: 12px; font-weight: 500; color: #fff;
  padding: 5px 14px; border-radius: 999px;
}
.badge-dark { left: 16px; background: rgba(10,10,10,.85); }
/* Mehrere Kennzeichnungen stapeln sich, statt sich zu überdecken */
.badges-left { position: absolute; top: 16px; left: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.badges-left .badge { position: static; left: auto; }
.badges-right { position: absolute; top: 16px; right: 16px; display: flex; gap: 8px; }
.badges-right .badge { position: static; }
.badge-gold { background: rgba(179, 154, 96, .92); }
.badge-light { background: rgba(179, 154, 96, .65); }
.property-agent {
  position: absolute; bottom: 16px; left: 16px; width: 52px; height: 52px;
  border-radius: 50%; overflow: hidden; border: 2px solid #fff;
}
.property-agent img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fav {
  position: absolute; bottom: 16px; right: 16px; z-index: 5; background: none; border: none; padding: 0;
  color: #fff; cursor: pointer; line-height: 0;
}
.fav svg { width: 26px; height: 26px; }
.fav:hover { color: var(--gold); }
.fav.aktiv { color: var(--gold); }
.fav.aktiv svg { fill: currentColor; }
.property-body { padding: 18px 4px 0; }
.property-body h3 { font-size: 16px; color: var(--ink); font-weight: 500; margin-bottom: 10px; font-family: inherit; }
.property-meta { font-size: 14px; margin-bottom: 4px; }
.property-price { color: var(--gold); font-weight: 500; font-size: 15px; margin-top: 10px; }
.btn-gold {
  background: var(--gold); color: #fff; border: 1.5px solid transparent; border-radius: 6px;
  padding: 13px 30px; font-size: 14px; font-weight: 600; letter-spacing: 1px;
  font-family: inherit; cursor: pointer; text-transform: uppercase;
}
/* Zwei Schaltflächen unter einer Liste: gleiche Höhe, gleiche Mindestbreite,
   nebeneinander – untereinander erst, wenn der Platz nicht reicht. */
.knopf-reihe {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  /* .property-grid bringt unten schon 55px mit – hier kein zweiter Abstand */
  margin: 0 auto; max-width: 1320px;
}
/* Pillen-Schaltfläche: rundes Symbol links, Text daneben, alles im Goldton.
   Gemischte Groß- und Kleinschreibung – ruhiger als die Versalien der .btn-gold. */
.knopf-pille {
  display: inline-flex; align-items: center; gap: 13px;
  padding: 7px 28px 7px 7px; border-radius: 999px;
  background: var(--gold); color: #fff; border: 1.5px solid var(--gold);
  font-family: inherit; font-size: 15px; font-weight: 500; letter-spacing: .01em;
  cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.knopf-pille .pille-icon {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  display: inline-flex; align-items: center; justify-content: center;
}
.knopf-pille .pille-icon svg { width: 18px; height: 18px; }
.knopf-pille:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
/* Helle Zweitvariante: derselbe Umriss, Gold als Linie und Schrift */
.knopf-pille.hell { background: transparent; color: #8a7440; }
.knopf-pille.hell .pille-icon { background: rgba(179, 154, 96, .16); }
.knopf-pille.hell:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

.knopf-reihe .knopf-pille { flex: 0 1 auto; }
@media (max-width: 620px) {
  .knopf-reihe .knopf-pille { flex-basis: 100%; justify-content: flex-start; }
}
.btn-gold:hover { background: var(--gold-hover); }
/* Helle Zweitvariante: steht unter „Weitere Objekte anzeigen" und führt zur Übersicht */
.btn-gold.hell {
  background: transparent; color: #8a7440; border: 1.5px solid var(--gold);
}
.btn-gold.hell:hover { background: var(--gold); color: #fff; }

/* ---------- Warum ---------- */
/* Gemeinsamer Beige-Block hinter „Warum" (ab Stats) und „Referenzen" */
.duo-bg { position: relative; margin: 60px 0 0; }
.duo-bg::before {
  content: ''; position: absolute; top: 0; bottom: 160px; left: 0; right: 13%;
  background: var(--beige);
}
.why {
  position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px;
  align-items: center;
  /* Links auf der 1320er-Achse der übrigen Sektionen, rechts offen bis zum Bildschirmrand */
  padding: 70px 0 90px max(48px, calc((100vw - 1320px) / 2));
}
.why h2 { text-align: left !important; margin-bottom: 26px; }
.why-text p { max-width: 480px; font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.8; }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 44px; max-width: 480px; }
.why-stats strong { display: block; font-size: 19px; color: var(--ink); margin-bottom: 6px; }
.why-stats span { font-size: 14.5px; }
.why-media {
  position: relative; height: 480px; border-radius: var(--radius) 0 0 var(--radius);
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.play {
  width: 92px; height: 92px; border-radius: 50%; background: rgba(255,255,255,.85);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  cursor: pointer; transition: transform .2s;
}
.play:hover { transform: scale(1.06); }
.play svg { width: 34px; height: 34px; margin-left: 4px; }

/* ---------- Referenzen ---------- */
.testimonial { position: relative; padding: 40px 48px 130px; }
.testimonial-bg { display: none; }
.testimonial-inner {
  position: relative; display: grid; grid-template-columns: 480px 1fr; gap: 80px;
  max-width: 1180px; margin: 0 auto; align-items: center;
}
/* Feste Höhe, volle Spaltenbreite: das Bild wird breiter, nicht höher. */
.testimonial-photo img {
  width: 100%; height: 500px; object-fit: cover; object-position: center;
  border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.12);
}
.testimonial-text { padding-right: 90px; }
.testimonial-text h2 { text-align: left !important; margin-bottom: 22px; }
.stimme { display: none; }
.stimme.aktiv { display: block; animation: stimmeEin .45s ease; }
@keyframes stimmeEin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.stimme p { max-width: 560px; margin-bottom: 30px; font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.8; }
.testimonial-photo { position: relative; }
.stimme-bild { display: none; }
.stimme-bild.aktiv { display: block; animation: stimmeEin .45s ease; }
.stimmen-punkte { display: flex; gap: 10px; margin-top: 26px; }
.stimmen-punkt {
  width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--ink);
  background: none; cursor: pointer; padding: 0; transition: background .2s ease;
}
.stimmen-punkt.aktiv { background: var(--gold); border-color: var(--gold); }
.stimmen-punkt:hover { border-color: var(--gold); }
.testimonial-person { display: flex; align-items: center; gap: 14px; }
.testimonial-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial-person strong { display: block; color: var(--ink); font-size: 15px; }
.testimonial-person span { color: var(--gold); font-size: 13.5px; }

/* ---------- Fakten (ueber-uns.php) ---------- */
.fakten { background: var(--cream); padding: 70px 48px; text-align: center; }
.fakten-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  max-width: 780px; margin: 0 auto;
}
.fakten-grid > div:not(:first-child) { border-left: 1px solid var(--line); }
.fakten-grid strong {
  display: block; font-family: 'Bodoni Moda', Georgia, serif; font-weight: 400;
  font-size: 42px; color: var(--gold); margin-bottom: 8px;
}
.fakten-grid span { font-size: 14.5px; color: var(--body); }
@media (max-width: 680px) {
  .fakten { padding: 50px 20px; }
  .fakten-grid { grid-template-columns: 1fr; gap: 30px; }
  .fakten-grid > div:not(:first-child) { border-left: none; border-top: 1px solid var(--line); padding-top: 24px; }
}

/* ---------- Team (ueber-uns.php) ---------- */
.team { padding: 90px 48px; text-align: center; }
.team h2 { margin-bottom: 44px; }
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 440px));
  justify-content: center; gap: 26px; max-width: 1360px; margin: 0 auto;
}
.team-card {
  position: relative; height: 380px; border-radius: var(--radius); overflow: hidden;
}
.team-card-bild {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .7s ease;
}
.team-card:hover .team-card-bild { transform: scale(1.07); }
.team-card::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,0) 55%);
}
.team-card-info { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; text-align: left; }
.team-card-info strong { display: block; font-family: 'Frank Ruhl Libre', serif; font-size: 19px; color: #fff; }
.team-card-info span { font-size: 13px; color: #e6e0d4; }

/* ---------- Werte-Karten (ueber-uns.php) ---------- */
.werte { padding: 90px 48px; background: var(--beige); }
.werte h2 { text-align: center; margin-bottom: 44px; }
.werte-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px;
  max-width: 1000px; margin: 0 auto;
}
.werte-karte { background: #fff; border-radius: 12px; padding: 40px; box-shadow: 0 4px 22px rgba(0,0,0,.05); }
.werte-karte h3 { font-family: 'Frank Ruhl Libre', serif; font-weight: 500; font-size: 21px; color: var(--ink); margin-bottom: 14px; }
.werte-karte p { font-family: 'Open Sans', sans-serif; font-size: 15.5px; line-height: 1.8; color: var(--body); }
@media (max-width: 680px) {
  .team, .werte { padding: 50px 20px; }
  .werte-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ (ueber-uns.php, faq.php) ---------- */
.faq { padding: 90px 48px; background: var(--cream); }
.faq h2 { text-align: center; margin-bottom: 14px; }
.faq-intro { text-align: center; max-width: 640px; margin: 0 auto 44px; font-family: 'Open Sans', sans-serif; font-size: 15.5px; color: var(--body); }
.faq-liste { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-eintrag { background: #fff; border-radius: 10px; box-shadow: 0 4px 18px rgba(0,0,0,.05); overflow: hidden; }
.faq-frage {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: none; text-align: left; cursor: pointer;
  padding: 22px 26px; font-family: 'Frank Ruhl Libre', serif; font-size: 17px; color: var(--ink);
}
.faq-frage svg { width: 18px; height: 18px; flex: none; color: var(--gold); transition: transform .25s ease; }
.faq-frage[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-antwort { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-antwort p { padding: 0 26px 22px; font-family: 'Open Sans', sans-serif; font-size: 15px; line-height: 1.75; color: var(--body); }
@media (max-width: 680px) {
  .faq { padding: 50px 20px; }
  .faq-frage { padding: 18px 20px; font-size: 15.5px; }
}

/* ---------- Kategorien ---------- */
.categories { padding: 90px 48px; }
.category-row {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1320px; margin: 55px auto 0; border-radius: var(--radius);
  box-shadow: 0 16px 50px rgba(0,0,0,.08);
}
.category-card {
  position: relative; height: 330px; background-size: cover; background-position: center;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding-bottom: 34px; gap: 10px; overflow: hidden;
}
/* Runde Ecken nur außen (1. Kind ist der linke Pfeil, Karten sind 2–5) */
.category-row .category-card:nth-child(2) { border-radius: var(--radius) 0 0 var(--radius); }
.category-row .category-card:nth-child(5) { border-radius: 0 var(--radius) var(--radius) 0; }
.category-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.08) 55%); transition: background .25s; }
.category-card:hover::after { background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.2) 55%); }
.category-card span { position: relative; z-index: 2; color: #fff; font-size: 23px; }
.category-card em {
  position: relative; z-index: 2; font-style: normal; font-size: 12.5px; color: #fff;
  background: rgba(179, 154, 96, .9); padding: 4px 14px; border-radius: 999px;
}
.cat-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: none; background: #fff;
  font-size: 26px; line-height: 1; color: var(--ink); cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.cat-arrow:first-child { left: -23px; }
.cat-arrow:last-child { right: -23px; }
.cat-arrow[hidden] { display: none; }

/* Logo im Fußbereich führt zur Startseite */
.footer-logo-link { display: inline-block; line-height: 0; }
.footer-logo-link:hover { opacity: .85; }

/* Übersichtskarte unter den Lagen */
.such-karte { padding: 20px 48px 90px; }
.such-karte h2 { text-align: center; }
.objekte-karte {
  height: 480px; max-width: 1320px; margin: 34px auto 0;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  z-index: 0;   /* sonst legt sich Leaflet über die feste Kopfleiste */
}
.objekte-karte .karten-popup { display: flex; gap: 12px; align-items: center; color: inherit; }
/* Mehrere Objekte an einer Adresse: Nadel mit Anzahl, Popup als Liste */
.karten-buendel span {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: #fff; font-size: 14px; font-weight: 600;
  border: 2px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,.3);
}
.karten-popup-liste { display: flex; flex-direction: column; gap: 4px; }
.karten-popup-zahl {
  font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: #9a958c;
  margin-bottom: 2px;
}
.karten-popup-liste .karten-popup { padding: 8px 0; border-top: 1px solid var(--line); }
.karten-popup-liste .karten-popup:first-of-type { border-top: none; }
@media (max-width: 700px) {
  .such-karte { padding-left: 22px; padding-right: 22px; }
  .objekte-karte { height: 360px; }
}

/* Weitere Lagen auf einer einzelnen Lage-Seite: eine Reihe zum Blättern */
.lagen-reihe { position: relative; max-width: 1320px; margin: 45px auto 0; }
.lagen-spur {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity;
  /* Weich scrollen über CSS, nicht über scrollBy({behavior:'smooth'}) – zusammen
     mit dem Scroll-Snap kam die Reihe damit kaum von der Stelle. */
  scroll-behavior: smooth; scrollbar-width: none; padding: 2px;
}
.lagen-spur::-webkit-scrollbar { display: none; }
.lagen-spur .lage-kachel {
  flex: 0 0 clamp(230px, 24%, 320px); height: 260px; scroll-snap-align: start;
  border-radius: var(--radius);
}
.lagen-spur .lage-kachel span.serif { font-size: 22px; text-align: center; padding: 0 14px; }
@media (max-width: 700px) {
  .lagen-spur .lage-kachel { flex-basis: 78%; height: 220px; }
  .lagen-reihe .cat-arrow { display: none; }
}

/* ---------- Blog ---------- */
.blog { padding: 40px 48px 110px; }
.blog-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px;
  max-width: 1180px; margin: 55px auto 0;
}
.blog-main {
  position: relative; min-height: 460px; border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center; display: flex; align-items: flex-end;
}
.blog-main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0) 55%); }
.blog-main-body { position: relative; z-index: 2; color: #fff; padding: 30px; }
.blog-main-body time { font-size: 13px; opacity: .85; }
.blog-main-body h3 { font-size: 26px; line-height: 1.3; color: #fff; margin: 8px 0 10px; }
.blog-main-body p { font-size: 14.5px; max-width: 460px; }
.blog-list { display: flex; flex-direction: column; gap: 30px; }
.blog-item { display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: start; }
.blog-thumb { height: 135px; border-radius: 8px; background-size: cover; background-position: center; }
.blog-item time { font-size: 13px; color: #8a8a8a; }
.blog-item h3 { font-size: 20px; margin: 6px 0 8px; }
.blog-item:hover h3 { color: var(--gold); }
.blog-item p { font-size: 14.5px; }

/* ---------- CTA ---------- */
.cta { display: grid; grid-template-columns: 1fr 1fr; }
.cta-half {
  position: relative; min-height: 480px; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.cta-half::after { content: ''; position: absolute; inset: 0; background: rgba(8, 6, 3, .55); transition: background .25s; }
.cta-half:hover::after { background: rgba(8, 6, 3, .42); }
.cta-content { position: relative; z-index: 2; color: #fff; padding: 40px; }
.cta-content p { letter-spacing: 3px; text-transform: uppercase; font-size: 13px; margin-bottom: 16px; }
.cta-content h2 { color: #fff; font-size: 30px; line-height: 1.35; margin-bottom: 30px; }
.btn-outline {
  display: inline-block; border: 1.5px solid #fff; border-radius: 8px; color: #fff;
  padding: 14px 30px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500; transition: all .2s;
}
.cta-half:hover .btn-outline { background: #fff; color: var(--ink); }

/* ---------- Footer ---------- */
/* ---------- Bestätigungs- und Abmeldeseite ---------- */
.dank-band { padding: 70px 20px 84px; background: #fff; }
.dank-karte {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: #fff; border: 1px solid #efece6; border-radius: 16px;
  padding: 54px 46px 46px; box-shadow: 0 18px 50px rgba(0, 0, 0, .07);
}
.dank-symbol {
  display: flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; margin: 0 auto 26px; border-radius: 50%;
  background: #f4efe3; color: var(--gold);
}
.dank-symbol svg { width: 34px; height: 34px; }
.dank-symbol.neutral { background: #f1f1ef; color: #6f6a63; }
.dank-symbol.warnung { background: #fbf1e8; color: #b58a4a; }
.dank-karte h2 { font-size: 30px; line-height: 1.25; margin-bottom: 14px; }
.dank-karte p {
  font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.8;
  color: #5d5a54; max-width: 46ch; margin: 0 auto;
}
.dank-knoepfe { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.dank-knoepfe .btn-kontur, .dank-knoepfe .btn-gold { margin-top: 0; }
@media (max-width: 560px) {
  .dank-band { padding: 44px 16px 56px; }
  .dank-karte { padding: 36px 22px 30px; }
  .dank-karte h2 { font-size: 24px; }
  .dank-knoepfe { flex-direction: column; }
}

/* ---------- Newsletter als Fenster ---------- */
.nl-schleier {
  position: fixed; inset: 0; z-index: 2500; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(24, 22, 18, .62);
}
.nl-schleier[hidden] { display: none; }
.nl-fenster {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  width: min(920px, 100%); max-height: 100%; overflow: hidden;
  background: #fff; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.nl-bild { background-color: #efece6; background-size: cover; background-position: center; min-height: 380px; }
.nl-inhalt { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; overflow-y: auto; }
.nl-inhalt h2 { font-size: 27px; line-height: 1.25; margin-bottom: 12px; text-align: left; }
.nl-inhalt > p { font-size: 15px; line-height: 1.7; color: #5d5a54; margin-bottom: 22px; }
.nl-pop-form { display: grid; gap: 10px; }
.nl-pop-form input[type=email] {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 15.5px;
  border: 1px solid #ddd7cb; border-radius: 8px; background: #fbfaf8;
}
.nl-pop-form input[type=email]:focus { outline: 2px solid var(--gold); border-color: transparent; }
.nl-pop-form .btn-gold { margin: 0; padding: 14px 24px; border-radius: 8px; }
.nl-pop-hinweis { margin-top: 14px; font-size: 12px; line-height: 1.6; color: #8a857c; }
.nl-pop-hinweis a { color: var(--gold); text-decoration: underline; }
.nl-zu {
  position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; z-index: 2;
  border: none; border-radius: 50%; background: rgba(255, 255, 255, .86); color: #4a4a48;
  font-size: 24px; line-height: 1; cursor: pointer;
}
.nl-zu:hover { background: #fff; color: var(--gold); }
@media (max-width: 780px) {
  .nl-fenster { grid-template-columns: 1fr; max-height: 92vh; }
  .nl-bild { min-height: 150px; }
  .nl-inhalt { padding: 26px 22px 30px; }
  .nl-inhalt h2 { font-size: 22px; }
}
@media (max-height: 620px) {
  .nl-bild { display: none; }
  .nl-fenster { grid-template-columns: 1fr; }
}

/* ---------- Newsletter über dem Footer ---------- */
.newsletter-band { background: #f0ece3; padding: 54px 20px; }
.newsletter-inner {
  max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr;
  gap: 34px; align-items: center;
}
.newsletter-text h2 { font-size: 28px; line-height: 1.25; margin-bottom: 10px; text-align: left; }
.newsletter-text p { font-size: 15.5px; line-height: 1.7; color: #5d5a54; max-width: 46ch; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: stretch; }
.newsletter-form input[type=email] {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 15.5px;
  border: 1px solid #ddd7cb; border-radius: 8px; background: #fff;
}
.newsletter-form input[type=email]:focus { outline: 2px solid var(--gold); border-color: transparent; }
.newsletter-form .btn-gold { margin: 0; padding: 0 28px; border-radius: 8px; display: flex; align-items: center; }
.newsletter-hinweis { grid-column: 1 / -1; font-size: 12.5px; line-height: 1.6; color: #8a857c; }
.newsletter-hinweis a { color: var(--gold); text-decoration: underline; }
.newsletter-form .anfrage-hinweis { grid-column: 1 / -1; }
.sr-nur {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
@media (max-width: 900px) {
  .newsletter-inner { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 560px) {
  .newsletter-band { padding: 40px 16px; }
  .newsletter-form { grid-template-columns: 1fr; }
  .newsletter-text h2 { font-size: 23px; }
}

.site-footer { background: #000; color: #b9b9b9; padding: 90px 48px 0; }
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 0.85fr 1fr; gap: 60px;
  max-width: 1320px; margin: 0 auto; padding-bottom: 70px;
}
/* Die Logodatei bringt selbst leere Ränder mit: 15% oben, 18% unten. Die negativen
   Ränder gleichen das aus – die sichtbare Oberkante liegt so bündig mit „Kontakt".
   Bei geänderter Breite neu rechnen: oben = 0,15 × Höhe, unten = 0,18 × Höhe − Wunschabstand. */
.footer-logo { width: 100%; max-width: 310px; height: auto; margin: -33px 0 -19px; }
.footer-about p { font-size: 14.5px; }
.footer-social { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.footer-social a {
  width: 46px; height: 46px; border-radius: 50%; background: #f6f1e8; color: #111;
  display: inline-flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--gold); color: #fff; }

.footer-col h4 { color: #fff; font-size: 17px; margin-bottom: 24px; }
.footer-col a { display: block; font-size: 14.5px; padding: 6px 0; color: #b9b9b9; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid #1d1d1d; display: flex; justify-content: space-between;
  max-width: 1320px; margin: 0 auto; padding: 26px 0; font-size: 13.5px;
}
.footer-copyright { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.design-credit { display: inline-flex; align-items: baseline; gap: 6px; color: #b9b9b9; }
.ibx-wortmarke {
  font-family: 'Open Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700; font-size: 16px; letter-spacing: -0.5px; color: #fff; line-height: 1;
}
.design-credit:hover, .design-credit:hover .ibx-wortmarke { color: var(--gold); }
.footer-kontakt p { font-size: 14.5px; margin-bottom: 16px; }
.footer-kontakt a { display: block; padding: 3px 0; }
.footer-kontakt .dezent { display: block; padding: 3px 0; color: #8a8a8a; }

/* ---------- Sticky-Header ---------- */
.sticky-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: #fff; color: var(--ink); padding: 10px 48px;
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
  transform: translateY(-110%); transition: transform .35s ease;
}
.sticky-bar.sichtbar { transform: translateY(0); }
/* Ohne Logo in der Mitte tragen Flex-Enden die Leiste – das Raster hätte eine leere Spalte */
.sticky-bar { display: flex; justify-content: space-between; padding: 20px 48px; }
.sticky-bar .header-nav-left a:hover { color: var(--gold); }
.sticky-bar .header-phone { font-size: 16px; }

/* ---------- Heller Header (Unterseiten) ---------- */
.site-header.hell {
  position: static; background: #fff; color: var(--ink);
  border-bottom: 1px solid #eee;
}
.site-header.hell .header-logo img { height: 106px; }
.site-header.hell .header-phone:hover { color: var(--gold-dunkel) !important; }

/* Unterseite mit Titelbild: Header schwebt transparent darüber, Menü/Telefon oben – genau wie
   auf der Startseite (dieselbe align-items:start + padding-top-Regel). */
.site-header.hell.ueber-hero {
  position: absolute; background: none; color: #fff; border-bottom: none;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
  align-items: start; padding-top: 8px;
}
.site-header.hell.ueber-hero .header-links,
.site-header.hell.ueber-hero .header-nav-right,
.site-header.hell.ueber-hero .header-mobil-aktionen { padding-top: 10px; }
/* Der Menü-Knopf ist 42px hoch, Telefon/Herz nur ~31px – ohne gleiche Innenhöhe zentrieren sie
   sich auf unterschiedlichen Mitten und die Nummer sitzt sichtbar höher als „MENÜ".
   52px = 42px Innenhöhe + 10px padding-top (box-sizing: border-box). */
.site-header.hell.ueber-hero .header-nav-right,
.site-header.hell.ueber-hero .header-mobil-aktionen { min-height: 52px; }
/* Eigene helle Logo-Datei für die dunkle Fläche (uploads/logo-hell.png) – Rot bleibt Rot,
   nur die schwarzen Teile sind für die dunkle Fläche weiß eingefärbt */
.site-header.hell.ueber-hero .header-logo img { height: 176px; }
/* Das große schwebende Logo braucht Platz – sonst läuft es in die Überschrift des Kopfbereichs.
   (.such-kopf und .bewertung-kopf setzen ihre Abstände weiter unten per padding-Kurzform selbst.) */
.seiten-kopf { padding-top: 200px; }
.site-header.hell.ueber-hero .header-phone:hover,
.site-header.hell.ueber-hero .header-merkliste:hover { color: #fff !important; }

/* ---------- Breadcrumb-Leiste ---------- */
.crumb-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 16px 48px; border-bottom: 1px solid #eee; font-size: 13px; flex-wrap: wrap;
}
.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.crumbs span { color: #bbb; }
.crumbs em { font-style: normal; color: var(--gold); }
.crumbs a:hover { color: var(--gold); }
.crumb-anker { display: flex; gap: 26px; }
.crumb-anker a { font-weight: 500; color: var(--ink); }
.crumb-anker a:hover { color: var(--gold); }
.crumb-aktionen { display: flex; gap: 20px; }
.crumb-aktionen a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 500; }
.crumb-aktionen a:hover { color: var(--gold); }
.crumb-aktionen svg { width: 16px; height: 16px; }
.crumb-aktionen a.aktiv { color: var(--gold); }
.crumb-aktionen a.aktiv svg { fill: currentColor; }

/* ---------- Galerie-Slider ---------- */
.galerie-slider { position: relative; }
.galerie-fenster { overflow: hidden; }
.galerie-spur { display: flex; transition: transform .5s ease; }
.galerie-slide {
  flex: 0 0 33.3333%; height: 480px; background-size: cover; background-position: center;
  display: block; border-right: 2px solid #fff;
}
.gal-pfeil {
  position: absolute; top: 50%; transform: translateY(-50%); left: 22px; z-index: 5;
  width: 50px; height: 50px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--ink); font-size: 28px; line-height: 1;
  box-shadow: 0 6px 22px rgba(0,0,0,.25);
}
.gal-pfeil.rechts { left: auto; right: 22px; }
.gal-pfeil:hover { background: var(--gold); color: #fff; }

/* ---------- Detailseite ---------- */
.detail-wrap {
  display: grid; grid-template-columns: 1fr 380px; gap: 44px; align-items: start;
  max-width: 1400px; margin: 55px auto 30px; padding: 0 48px;
}
.detail-kopf { display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; }
.detail-kopf h1 { font-family: 'Frank Ruhl Libre', Georgia, serif; font-weight: 500; font-size: 30px; margin-bottom: 10px; }
.detail-adresse { font-size: 15.5px; }
.detail-adresse strong { color: var(--ink); }
.detail-marken { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pille {
  font-size: 12px; font-weight: 500; color: #fff; background: rgba(10, 10, 10, .85);
  padding: 5px 14px; border-radius: 999px;
}
.detail-preis { text-align: right; white-space: nowrap; }
.detail-preis strong { display: block; font-family: 'Frank Ruhl Libre', Georgia, serif; font-size: 25px; color: var(--ink); font-weight: 500; }
.detail-preis span { font-size: 14px; }
.detail-courtage { display: block; white-space: normal; margin-top: 3px; }
.detail-linie { border: none; border-top: 1px solid #e8e8e8; margin: 34px 0; }
/* Eckdaten stehen über der Beschreibung, nicht daneben: In der schmalen Spalte
   brachen lange Angaben („Klinik, Pflege-/Senioreneinrichtung …") über vier
   Zeilen um, und der Beschreibung blieb kaum Breite. */
.detail-zweispaltig { display: block; }
.eckdaten {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 4px 34px; padding-bottom: 24px; margin-bottom: 30px; border-bottom: 1px solid #e8e8e8;
}
.eckdaten li { display: flex; align-items: center; gap: 14px; padding: 9px 0; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.eckdaten svg { width: 21px; height: 21px; flex-shrink: 0; color: var(--ink); }
.detail-text h2 { font-family: 'Roboto', sans-serif; font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: 18px; text-align: left; }
.ausstattung h2, .karten-block h2, .disclaimer h3 {
  font-family: 'Frank Ruhl Libre', Georgia, serif; font-size: 22px; color: var(--ink);
  font-weight: 500; line-height: 1.3; margin-bottom: 18px; text-align: left;
}
.detail-text p { margin-bottom: 18px; }
.detail-ministats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.detail-ministats strong { display: block; font-size: 19px; color: var(--ink); margin-bottom: 4px; }
.detail-ministats span { font-size: 14px; }
.ausstattung h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin: 26px 0 12px; }
/* Merkmale kommen aus dem Editor: Absätze als Fließtext, Aufzählungen mit Häkchen.
   Das Häkchen steckt als Bild im ::before – im Fließtext liegt kein <svg> vor. */
.merkmale-block p { font-size: 14px; line-height: 1.75; margin: 0 0 14px; }
.merkmale-block ul {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px 24px; margin: 0 0 18px;
}
.merkmale-block ul li { position: relative; padding-left: 29px; font-size: 14px; }
.merkmale-block ul li::before {
  content: ''; position: absolute; left: 0; top: 0; width: 19px; height: 19px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b39a60' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10' stroke-width='1.6'/%3E%3Cpath d='M8 12.5l2.5 2.5L16 9.5' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat center / contain;
}
.merkmale-block ol { margin: 0 0 18px 20px; font-size: 14px; line-height: 1.8; }
.merkmale-block > *:last-child { margin-bottom: 0; }
#objekt-karte { height: 420px; border-radius: var(--radius); z-index: 1; }
.disclaimer { background: #f5f5f3; border-radius: var(--radius); padding: 30px 34px; margin-top: 44px; }
.disclaimer h3 { margin-bottom: 12px; }
.disclaimer p { font-size: 14px; margin-bottom: 10px; }

/* Sidebar */
.detail-sidebar { position: sticky; top: 90px; }
.agent-karte { background: var(--cream); border-radius: 12px; padding: 26px; }
.agent-karte-kopf { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.agent-karte-kopf img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; object-position: top; }
.agent-karte-kopf strong { display: block; color: var(--ink); font-size: 16.5px; }
.agent-karte-kopf span { font-size: 13px; }
.kontakt-form input, .kontakt-form textarea {
  width: 100%; border: 1px solid #e2dccd; border-radius: 9px; background: #fff;
  padding: 12px 14px; font-size: 14.5px; font-family: inherit; margin-bottom: 12px; color: var(--ink);
}
.kontakt-form input:focus, .kontakt-form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.kontakt-form .btn-gold { width: 100%; border-radius: 9px; }
.btn-kontur {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  border: 1.5px solid var(--gold); color: #8a7440; border-radius: 9px;
  padding: 12px; font-size: 14.5px; font-weight: 600; margin-top: 12px;
}
.btn-kontur:hover { background: var(--gold); color: #fff; }
.btn-kontur svg { width: 17px; height: 17px; }

/* Exposé erst nach einer Anfrage – der Knopf führt bis dahin zum Formular.
   Er bleibt bewusst normal sichtbar: Ein ausgegrauter Knopf wirkt kaputt,
   dieser hier ist ein Angebot. Die Sperre selbst sitzt serverseitig. */
.expose-knopf.gesperrt { cursor: pointer; }
.btn-kontur.expose-knopf { margin-bottom: 0; }
.expose-notiz {
  margin: 6px 2px 0; font-size: 12.5px; line-height: 1.45; color: #8b8578; text-align: center;
}
.expose-hinweis {
  margin: 0 0 14px; padding: 11px 13px; border-radius: 8px;
  background: #f6f1e4; border-left: 3px solid var(--gold);
  font-size: 13.5px; line-height: 1.5; color: #6b5a2c;
}
/* Kurzes Aufleuchten, wenn der gesperrte Knopf hierher geschickt hat */
.kontakt-form.hebt-hervor {
  animation: formularAufleuchten 2.2s ease-out;
  border-radius: 10px;
}
@keyframes formularAufleuchten {
  0%   { box-shadow: 0 0 0 0 rgba(176, 149, 84, 0); }
  15%  { box-shadow: 0 0 0 5px rgba(176, 149, 84, .35); }
  100% { box-shadow: 0 0 0 0 rgba(176, 149, 84, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .kontakt-form.hebt-hervor { animation: none; box-shadow: 0 0 0 3px rgba(176, 149, 84, .35); }
}

.aehnliche { padding-top: 30px; }
.aehnliche h2 { font-family: 'Frank Ruhl Libre', Georgia, serif; font-size: 24px; font-weight: 500;
  text-align: left !important; max-width: 1400px; margin: 0 auto; padding: 0 0 10px; }
.aehnliche .property-grid { margin-top: 20px; }
.property-body h3 a:hover { color: var(--gold); }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.seiten-kopf {
  position: relative; min-height: 460px; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.seiten-kopf::before { content: ''; position: absolute; inset: 0; background: rgba(10, 9, 6, .78); }
.seiten-kopf-inhalt { position: relative; z-index: 2; color: #fff; padding: 60px 20px; }
.seiten-kopf h1 { font-family: 'Bodoni Moda', Georgia, serif; font-weight: 400; font-size: 62px; color: #fff; margin-bottom: 14px; }
/* Einleitung im Seitenkopf: begrenzte Zeilenbreite, sonst laufen die Zeilen über
   die ganze Fensterbreite und sind kaum noch zu lesen. */
.seiten-kopf p {
  font-family: 'Open Sans', sans-serif; font-size: 15.5px; color: #e6e0d4;
  max-width: 640px; margin: 0 auto; line-height: 1.7;
}

/* ---------- Kontaktseite ---------- */
.kontakt-wrap {
  display: grid; grid-template-columns: 1fr 400px; gap: 32px; align-items: start;
  max-width: 1400px; margin: 60px auto 80px; padding: 0 48px;
}
.karte-weiss {
  background: #fff; border: 1px solid #efece6; border-radius: 12px;
  padding: 40px; margin-bottom: 32px; box-shadow: 0 4px 22px rgba(0,0,0,.05);
}
.kontakt-seitenleiste .karte-weiss { padding: 28px; }
/* Hinweis über einer geplanten Beitragsvorschau */
.vorschau-hinweis {
  max-width: 1240px; margin: 18px auto 0; padding: 12px 18px;
  background: #fdf6e6; border: 1px solid #e8d9b4; border-radius: 10px;
  font-size: 14.5px; color: #6d5a2c;
}

/* Verfasser eines Beitrags – steht oben in der Seitenspalte */
.autor-karte { display: flex; align-items: center; gap: 16px; padding: 22px 24px; }
.autor-bild {
  width: 58px; height: 58px; flex-shrink: 0; border-radius: 50%;
  background-color: #f0ede7; background-size: cover; background-position: center;
}
.autor-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.autor-text em {
  font-style: normal; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #9a958c;
}
.autor-text strong { font-size: 16px; font-weight: 600; color: var(--ink); }
.autor-text span { font-size: 13.5px; color: #6f6a63; }
.karte-weiss h2 { font-family: 'Roboto', sans-serif; font-size: 26px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.karte-weiss h3 { font-family: 'Roboto', sans-serif; font-size: 17px; font-weight: 500; color: var(--ink); margin-bottom: 18px; }
.kontakt-adresse { font-size: 15px; margin-bottom: 16px; }
.kontakt-social { display: flex; gap: 18px; margin-bottom: 22px; }
.kontakt-social a { color: var(--ink); }

.kontakt-social a:hover { color: var(--gold); }
.kontakt-daten { border-collapse: collapse; margin-bottom: 26px; }
.kontakt-daten th { text-align: left; font-weight: 500; color: var(--ink); padding: 4px 28px 4px 0; font-size: 14.5px; }
.kontakt-daten td { padding: 4px 0; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.kontakt-daten a:hover { color: var(--gold); }
.kontakt-text { font-family: 'Open Sans', sans-serif; font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.ansprech-karte { text-align: center; }
.ansprech-bild {
  width: 100%; height: 330px; object-fit: cover;
  /* Nicht ganz am oberen Bildrand ansetzen – sonst steht viel Hintergrund über dem Kopf. */
  object-position: center 26%;
  border-radius: 10px; margin-bottom: 18px;
}
.ansprech-daten strong { display: block; font-size: 17px; color: var(--ink); }
.ansprech-daten > span { display: block; font-size: 13.5px; margin-bottom: 16px; }
.ansprech-tel, .ansprech-mail {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 9px 0; font-size: 15px; font-weight: 500; color: var(--ink);
}
.ansprech-tel:hover, .ansprech-mail:hover { color: var(--gold); }
.ansprech-tel .ikon, .ansprech-mail .ikon { height: 16px; color: var(--gold); }
.kontakt-formular textarea, .kontakt-formular input {
  width: 100%; border: 1px solid #e2ded4; border-radius: 9px; background: #fcfbf9;
  padding: 13px 15px; font-size: 15px; font-family: inherit; color: var(--ink); margin-bottom: 14px;
}
.kontakt-formular input:focus, .kontakt-formular textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.formular-zeile { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.formular-zeile + .formular-zeile { margin-top: 14px; }
.formular-zeile.zwei { grid-template-columns: 1fr 1fr; }
/* Postleitzahl braucht wenig Platz, der Ort viel */
.formular-zeile.plz-ort { grid-template-columns: 140px 1fr; }
#kontakt-karte { height: 380px; border-radius: 10px; z-index: 1; }
.such-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.such-tab {
  flex: 1; border: none; border-radius: 8px; background: #f2ece0; color: #8a7440;
  padding: 11px; font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer;
}
.such-tab.aktiv { background: var(--gold); color: #fff; }
.such-formular input, .such-formular select {
  width: 100%; border: 1px solid #e2ded4; border-radius: 8px; background: #fff;
  padding: 12px 14px; font-size: 14.5px; font-family: inherit; color: var(--ink); margin-bottom: 12px;
}
.such-formular .btn-gold { width: 100%; border-radius: 8px; }
.mini-objekt { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding: 10px 0; }
.mini-bild { height: 58px; border-radius: 6px; background-size: cover; background-position: center; }
.mini-objekt strong { display: block; font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.4; }
.mini-objekt em { font-style: normal; font-size: 14px; color: var(--gold); font-weight: 700; }
.mini-objekt:hover strong { color: var(--gold); }
.zeiten { width: 100%; border-collapse: collapse; }
.zeiten th { text-align: left; font-weight: 500; color: var(--ink); padding: 6px 0; font-size: 14.5px; }
.zeiten td { text-align: right; padding: 6px 0; font-size: 14.5px; }
.blog-link {
  display: block; padding: 12px 0; font-size: 14.5px; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.blog-link:last-child { border-bottom: none; padding-bottom: 2px; }
.blog-link:hover { color: var(--gold); }

/* Suchergebnis-Hinweis auf der Startseite */
.such-ergebnis {
  max-width: 1320px; margin: 26px auto 0; text-align: center; font-size: 15px; color: var(--ink);
}
.such-ergebnis a { color: var(--gold); margin-left: 14px; text-decoration: underline; }
.such-leer {
  max-width: 660px; margin: 40px auto 0; text-align: center;
  font-family: 'Open Sans', sans-serif; font-size: 15.5px; line-height: 1.8;
}
.such-leer .btn-gold { display: inline-block; margin-top: 20px; }
.merkliste-werkzeuge { text-align: center; margin: 34px 0 0; }
.merkliste-leeren-knopf { background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; }

/* ---------- Schwebende Knöpfe ---------- */
/* Ein Stapel statt drei einzeln gesetzter Knöpfe: Der Nach-oben-Knopf wird am
   Seitenanfang ausgeblendet (display: none, nicht nur durchsichtig), und weil er
   dann keinen Platz belegt, rutschen Darstellung und E-Mail nach unten. */
.schwebe {
  position: fixed; right: 26px; bottom: 26px; z-index: 70;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.nach-oben {
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: #fff; color: var(--ink); box-shadow: 0 8px 28px rgba(0,0,0,.22);
  display: none; align-items: center; justify-content: center;
}
.nach-oben.sichtbar { display: flex; }
.nach-oben:hover { background: var(--gold); color: #fff; }
.nach-oben svg { width: 22px; height: 22px; }
.mail-knopf {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: #fff; color: var(--ink); box-shadow: 0 8px 28px rgba(0,0,0,.22);
  display: flex; align-items: center; justify-content: center;
}
.mail-knopf:hover { background: var(--gold); color: #fff; }
.mail-knopf svg { width: 21px; height: 21px; }

/* ---------- Darstellung anpassen (Barrierefreiheit) ---------- */
.zugang { position: relative; }   /* Anker für den Kasten darüber */
.zugang-knopf {
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: #fff; color: var(--ink); box-shadow: 0 8px 28px rgba(0,0,0,.22);
  display: flex; align-items: center; justify-content: center;
}
.zugang-knopf:hover, .zugang-knopf[aria-expanded="true"] { background: var(--gold); color: #fff; }
.zugang-knopf svg { width: 24px; height: 24px; fill: currentColor; }
.zugang-panel {
  position: absolute; right: 0; bottom: 64px; width: 262px;
  background: #fff; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.24);
  padding: 16px; display: flex; flex-direction: column; gap: 8px; text-align: left;
}
.zugang-panel[hidden] { display: none; }
.zugang-titel { font-size: 13px; font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.zugang-zeile { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--ink); }
.zugang-stufen { display: inline-flex; align-items: center; gap: 6px; }
.zugang-stufen button {
  width: 30px; height: 30px; border-radius: 7px; border: 1px solid var(--linie, #e3e0da);
  background: #fff; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer;
}
.zugang-stufen button:hover { border-color: var(--gold); color: var(--gold-dunkel); }
.zugang-wert { font-size: 12px; color: #8b9098; min-width: 44px; text-align: center; }
.zugang-schalter, .zugang-zuruecksetzen {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border-radius: 8px; border: 1px solid var(--linie, #e3e0da);
  background: #fff; color: var(--ink); font: inherit; font-size: 13.5px; cursor: pointer; text-align: left;
}
.zugang-schalter::after {
  content: ''; width: 32px; height: 18px; border-radius: 999px; background: #ddd9d2;
  box-shadow: inset 12px 0 0 #fff; flex-shrink: 0; transition: background .15s, box-shadow .15s;
}
.zugang-schalter.an::after { background: var(--gold); box-shadow: inset -12px 0 0 #fff; }
.zugang-schalter:hover, .zugang-zuruecksetzen:hover { border-color: var(--gold); }
.zugang-zuruecksetzen { justify-content: center; color: #6b7178; font-size: 12.5px; margin-top: 2px; }

/* Mehr Kontrast: helle Grautöne auf lesbares Schwarz, Ränder deutlicher */
.zugang-kontrast body { color: #111; }
.zugang-kontrast .section-sub, .zugang-kontrast .property-meta, .zugang-kontrast .hinweis-klein,
.zugang-kontrast .detail-adresse, .zugang-kontrast .merkmale-block p, .zugang-kontrast .detail-text,
.zugang-kontrast .footer-inner, .zugang-kontrast .disclaimer p, .zugang-kontrast .feld-hinweis {
  color: #111;
}
.zugang-kontrast .hero-overlay { background: rgba(0, 0, 0, .55); }
.zugang-kontrast .btn-gold, .zugang-kontrast .knopf { outline: 2px solid #111; outline-offset: -2px; }
.zugang-kontrast :focus-visible { outline: 3px solid #111; outline-offset: 2px; }

/* Links unterstreichen – im Inhalt, nicht bei Knöpfen und Kacheln */
.zugang-links .detail-text a, .zugang-links .beitrag a, .zugang-links .lp-text a,
.zugang-links .disclaimer a, .zugang-links .footer-inner a, .zugang-links .merkmale-block a,
.zugang-links .section-sub a { text-decoration: underline; }

/* Bewegung anhalten */
.zugang-ruhe *, .zugang-ruhe *::before, .zugang-ruhe *::after {
  animation-duration: .001s !important; animation-iteration-count: 1 !important;
  transition-duration: .001s !important; scroll-behavior: auto !important;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(12, 10, 6, .92);
  display: none;
}
.lightbox.offen { display: grid; grid-template-columns: 1fr 440px; }
.lb-buehne { position: relative; min-width: 0; }
#lb-bild { width: 100%; height: 100vh; object-fit: cover; display: block; }
.lb-buehne .gal-pfeil { left: 26px; box-shadow: 0 6px 22px rgba(0, 0, 0, .35); }
.lb-buehne .gal-pfeil.rechts { left: auto; right: 26px; }
/* Bildunterschrift aus dem Medienbereich – liegt über dem unteren Bildrand,
   damit sie in beiden Lightboxen ohne Umbau der Bühne Platz hat. */
.lb-unterschrift {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; z-index: 1;
  padding: 40px 70px 20px; color: #fff; font-size: 14px; line-height: 1.5; text-align: center;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7)); pointer-events: none;
}
.lb-unterschrift[hidden] { display: none; }
.lb-panel { background: #fff; padding: 60px 38px 38px; overflow-y: auto; }
.lb-panel h2 { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 24px; margin-bottom: 8px; }
.lb-frage { font-weight: 600; color: var(--ink); margin-bottom: 20px; }
.lb-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.lb-buttons .btn-kontur { margin-top: 0; }
/* Dunkler Kreis, damit das Kreuz auch auf hellen Fotos sichtbar bleibt */
.lb-schliessen {
  position: absolute; top: 22px; right: 464px; z-index: 105; width: 48px; height: 48px;
  border: none; border-radius: 50%; background: rgba(18, 16, 10, .62); color: #fff;
  font-size: 30px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .2s ease, transform .2s ease;
}
.lb-schliessen:hover { background: var(--gold); transform: scale(1.06); }
@media (max-width: 1100px) {
  .lightbox.offen { grid-template-columns: 1fr; }
  .lb-panel { display: none; }
  .lb-schliessen { right: 18px; }
}

/* Karten-Popup mit Foto */
.karten-popup { display: flex; gap: 12px; align-items: flex-start; }
.karten-popup img { width: 92px; height: 68px; object-fit: cover; border-radius: 6px; }
.karten-popup strong { display: block; font-size: 13.5px; margin-bottom: 3px; }
.karten-popup span { display: block; font-size: 12.5px; color: #666; }
.karten-popup .popup-preis { color: var(--gold); font-weight: 700; margin-bottom: 2px; }

/* ---------- Hamburger-Menü ---------- */
.burger {
  height: 42px; border: none; background: none; cursor: pointer; color: inherit;
  padding: 0; display: flex; align-items: center; gap: 12px; font-family: inherit;
}
.burger-striche { display: flex; flex-direction: column; gap: 6px; }
.burger-striche span {
  display: block; width: 26px; height: 2px; background: currentColor; border-radius: 2px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .25);
}
.site-header.hell .burger-striche span, .sticky-bar .burger-striche span { box-shadow: none; }
.burger-text {
  font-size: 14px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
}
.burger:hover { color: var(--gold); }
/* Bei offenem Menü verschwindet der Button – das Panel hat sein eigenes Schließkreuz,
   zwei Kreuze nebeneinander wirken sonst wie zwei Bedienelemente. */
body.menue-offen .burger { opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.header-tel-mobil { color: inherit; }
.header-tel-mobil .ikon { height: 20px; }
.header-merkliste-mobil { position: relative; color: inherit; display: inline-flex; align-items: center; }
.header-merkliste-mobil svg { width: 21px; height: 21px; }

.menue-schleier {
  position: fixed; inset: 0; z-index: 90; background: rgba(10, 8, 5, .55);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
body.menue-offen .menue-schleier { opacity: 1; pointer-events: auto; }

.mobil-menue {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
  width: min(360px, 86vw); background: #fff; color: var(--ink);
  display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(100%); transition: transform .38s cubic-bezier(.4, 0, .2, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, .18);
}
body.menue-offen .mobil-menue { transform: translateX(0); }
body.menue-offen { overflow: hidden; }
.mobil-menue-kopf {
  display: flex; align-items: center; justify-content: flex-end;
  padding: 16px 20px 12px;
}
.menue-zu {
  border: none; background: none; font-size: 32px; line-height: 1; color: var(--ink);
  cursor: pointer; padding: 0 4px;
}
.menue-zu:hover { color: var(--gold); }
.mobil-menue-links { display: flex; flex-direction: column; padding: 10px 24px; }
.mobil-menue-links a {
  padding: 15px 0; font-size: 17px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid #f2efe9;
}
.mobil-menue-links a:last-child { border-bottom: none; }
.mobil-menue-links a:hover { color: var(--gold); }
.mobil-menue-fuss { margin-top: auto; padding: 24px; border-top: 1px solid #efece6; }
.mobil-menue-fuss .btn-gold { display: block; width: 100%; text-align: center; border-radius: 8px; }
.mobil-tel { display: flex; align-items: center; gap: 10px; padding: 14px 0 4px; font-size: 15px; font-weight: 500; color: var(--ink); }
.mobil-mail { display: flex; align-items: center; gap: 10px; padding: 4px 0 2px; font-size: 15px; font-weight: 500; color: var(--ink); }
.mobil-tel:hover, .mobil-mail:hover { color: var(--gold); }
.mobil-social { display: flex; gap: 18px; margin-top: 22px; font-size: 17px; justify-content: center; }
.mobil-social a { color: var(--ink); }
.mobil-social a:hover { color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .mobil-menue, .menue-schleier, .burger span { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  /* Gleiche Außenspalten, damit das Logo wirklich in der Fenstermitte steht –
     „auto 1fr auto" richtete es an Burger und Aktionsknöpfen aus, die
     verschieden breit sind. */
  .site-header { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding: 16px 24px; }
  /* Der Schriftzug trägt rechts mehr Masse („am Zoo"): geometrisch mittig wirkt
     er nach rechts versetzt. Der kleine Versatz gleicht das optisch aus. */
  .header-logo { transform: translateX(-12px); }
  .sticky-bar { grid-template-columns: auto 1fr auto; padding: 16px 24px; }
  .header-nav-right { display: none; }
  .burger-text { display: none; }
  .header-mobil-aktionen { display: flex; align-items: center; gap: 18px; justify-content: flex-end; }
  .sticky-bar { padding: 12px 24px; }
  .detail-wrap { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .eckdaten { grid-template-columns: 1fr 1fr; gap: 2px 24px; }
  .merkmale-block ul { grid-template-columns: 1fr 1fr; }
  .galerie-slide { flex-basis: 50%; height: 340px; }
  .crumb-anker { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .kontakt-wrap { grid-template-columns: 1fr; padding: 0 24px; }
  .seiten-kopf h1 { font-size: 44px; }
  .hero h1 { font-size: 52px; }
  .agent-inner, .testimonial-inner { grid-template-columns: 1fr; gap: 44px; }
  .testimonial-photo img { height: 420px; }
  .testimonial-text { padding-right: 0; }
  .why { grid-template-columns: 1fr; gap: 44px; padding: 60px 24px 70px; }
  .why-media { border-radius: var(--radius); }
  .property-grid, .intro-cards { grid-template-columns: 1fr 1fr; }
  .kiez-grid { grid-template-columns: 1fr 1fr; }
  /* Auf schmalen Fenstern zwei gleich große Kacheln – die wechselnden Höhen
     aus lagen_raster() würden dort nur unruhig wirken */
  .kiez-grid .kiez-card { grid-column: span 1 !important; height: 300px !important; }
  .category-row { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 680px) {
  .merkmale-block ul, .detail-ministats, .eckdaten { grid-template-columns: 1fr; }
  .galerie-slide { flex-basis: 100%; height: 280px; }
  /* Beide schwebenden Knöpfe stehen genau übereinander (gleicher Abstand
     rechts) und tiefer als vorher. env(safe-area-inset-bottom) hält sie über
     dem Home-Balken des iPhones. */
  .schwebe { right: 20px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .detail-kopf { flex-direction: column; }
  .detail-preis { text-align: left; }
  .detail-wrap, .crumb-bar { padding-left: 20px; padding-right: 20px; }
  /* Auf dem Telefon nimmt die Suche im Slider den halben Bildschirm und
     verdeckt das Bild; gesucht wird dort über das Menü. */
  .hero .hero-tabs, .hero .hero-search { display: none; }   /* nicht die Tabs der Suchseite */
  .topbar { flex-direction: column; gap: 10px; padding: 12px 20px; }
  .topbar-contact { gap: 18px; flex-wrap: wrap; justify-content: center; }
  .site-header { top: 88px; }
  .header-logo img { height: 150px; }
  .hero { padding-top: 175px; }
  .hero h1 { font-size: 36px; }
  .hero-tabs .tab { padding: 11px 24px; font-size: 13px; letter-spacing: 1.2px; }
  .hero-search { flex-direction: column; border-radius: 20px; padding: 14px; gap: 12px; }
  .hero-search input { width: 100%; padding: 8px 4px; }
  section, .intro, .kieze, .properties, .categories, .blog, .testimonial, .agent { padding-left: 20px; padding-right: 20px; }
  section > h2.serif { font-size: 32px; }
  .property-grid, .intro-cards, .kiez-grid, .category-row { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .blog-item { grid-template-columns: 1fr; }
  .why { padding: 40px 20px; }
  .formular-zeile { grid-template-columns: 1fr; }
  .karte-weiss { padding: 26px; }
  .seiten-kopf { min-height: 320px; padding-top: 175px; }
  .seiten-kopf h1 { font-size: 32px; }
  /* Auf schmalen Bildschirmen wäre das große Logo zu dominant */
  .site-header.hell.ueber-hero .header-logo img { height: 104px; }
  .site-footer { padding: 60px 20px 0; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}


/* ---------- Icons: einheitliche optische Größe ----------
   Die Marken-SVGs haben unterschiedliche viewBox-Proportionen. Die Höhe wird
   je Icon so gesetzt, dass alle gleich groß wirken; die Breite folgt automatisch. */
.ikon { height: 1em; width: auto; display: block; fill: currentColor; }
.ik-facebook  { height: 1.02em; }
.ik-x         { height: .92em; }
.ik-linkedin  { height: .94em; }
.ik-instagram { height: 1em; }
.ik-whatsapp  { height: 1.06em; }
.ik-mail, .ik-telefon { height: 1em; }

.topbar-social, .footer-social, .agent-social, .kontakt-social { font-size: 17px; }
.topbar-contact { font-size: 14px; }
.topbar-contact .ikon { height: 15px; }
.header-phone .ikon { height: 17px; }
.btn-kontur .ikon, .crumb-aktionen .ikon { height: 16px; }


/* ---------- Suchseite ---------- */
.such-kopf {
  position: relative; background-size: cover; background-position: center;
  padding: 260px 48px 100px; text-align: center;
}
.such-kopf::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(12,10,6,.72), rgba(12,10,6,.62));
}
.such-kopf-inhalt { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; }
.such-kopf h1 {
  font-family: 'Bodoni Moda', Georgia, serif; font-weight: 400; font-size: 52px;
  color: #fff; line-height: 1.25; margin-bottom: 30px; text-shadow: 0 2px 18px rgba(0,0,0,.4);
}
.such-kopf-tabs { margin-bottom: 26px; }
.such-kopf-tabs .tab { display: inline-block; text-decoration: none; }
.such-maske {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr auto; gap: 12px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  border-radius: 14px; padding: 14px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.such-maske input, .such-maske select {
  border: none; border-radius: 9px; background: #fff; color: var(--ink);
  padding: 14px 16px; font-size: 14.5px; font-family: inherit; width: 100%;
}
.such-maske input:focus, .such-maske select:focus { outline: 2px solid var(--gold); }
.such-maske button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--gold); color: #fff; border: none; border-radius: 9px;
  padding: 14px 26px; font-size: 14.5px; font-weight: 600; font-family: inherit;
  cursor: pointer; white-space: nowrap;
}
.such-maske button:hover { background: var(--gold-hover); }
.such-maske svg { width: 17px; height: 17px; }

.ergebnis-leiste {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  max-width: 1320px; margin: 34px auto 0; padding: 0 48px; flex-wrap: wrap;
}
.ergebnis-zahl { font-size: 15px; color: var(--ink); }
.ergebnis-werkzeuge { display: flex; align-items: center; gap: 18px; }
.filter-weg { color: var(--gold); text-decoration: underline; font-size: 14.5px; }
.sortier-form select {
  border: 1px solid #e2ded4; border-radius: 8px; background: #fff; color: var(--ink);
  padding: 10px 14px; font-size: 14.5px; font-family: inherit; cursor: pointer;
}
.such-treffer { padding-top: 30px; }
.such-treffer .property-grid { margin-top: 0; }

.such-lagen { padding: 20px 48px 90px; text-align: center; }
.such-lagen h2 { font-size: 30px; margin-bottom: 22px; }

@media (max-width: 1100px) {
  .such-maske { grid-template-columns: 1fr 1fr; }
  .such-kopf h1 { font-size: 38px; }
}
@media (max-width: 680px) {
  .such-kopf { padding: 230px 20px 70px; }
  .such-kopf h1 { font-size: 29px; }
  .such-maske { grid-template-columns: 1fr; }
  .ergebnis-leiste { padding: 0 20px; flex-direction: column; align-items: flex-start; }
  .such-lagen { padding: 20px 20px 60px; }
}


/* ---------- Auswahlfelder einheitlich gestalten ----------
   Native Selects bringen je nach System eigenen Rahmen, Pfeil und blauen Fokus mit.
   Hier bekommen alle denselben Look wie die übrigen Eingabefelder. */
select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 42px !important;
  font-family: inherit; color: var(--ink); cursor: pointer;
}
/* Pfeil als eigenes Element über der Hülle – zuverlässiger als eine Hintergrundgrafik */
.select-huelle { position: relative; display: block; }
.select-huelle::after {
  content: ''; position: absolute; right: 17px; top: 50%; z-index: 1;
  width: 8px; height: 8px; margin-top: -6px; pointer-events: none;
  border-right: 1.8px solid var(--gold); border-bottom: 1.8px solid var(--gold);
  transform: rotate(45deg);
}
.select-huelle select { width: 100%; }
select:focus, select:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(179, 154, 96, .35);
}
select::-ms-expand { display: none; }

.sortier-form select {
  border: 1px solid var(--line); border-radius: 999px; background-color: #fff;
  padding: 11px 16px; font-size: 14.5px; font-weight: 500;
  transition: border-color .2s ease;
}
.sortier-form select:hover { border-color: var(--gold); }
.such-maske select { border-radius: 9px; }
.filter-weg {
  text-decoration: none; border-bottom: 1px solid rgba(179, 154, 96, .5);
  padding-bottom: 2px; font-weight: 500;
}
.filter-weg:hover { border-bottom-color: var(--gold); }


/* Suchfeld über der Lagenliste */
.lagen-suche {
  position: relative; max-width: 420px; margin: 0 auto 30px;
}
.lagen-suche svg {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--gold); pointer-events: none;
}
.lagen-suche input {
  width: 100%; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  padding: 14px 20px 14px 48px; font-size: 15px; font-family: inherit; color: var(--ink);
}
.lagen-suche input:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(179, 154, 96, .3);
}
.lagen-leer { margin-bottom: 24px; font-size: 15px; }
.lagen-leer a { color: var(--gold); text-decoration: underline; }


/* ---------- Immobilienbewertung ---------- */
.bewertung-kopf {
  position: relative; min-height: 480px; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 200px 48px 60px;
}
.bewertung-kopf::before { content: ''; position: absolute; inset: 0; background: rgba(12, 10, 6, .62); }
.bewertung-kopf h1 {
  position: relative; z-index: 2; color: #fff; font-family: 'Bodoni Moda', Georgia, serif;
  font-weight: 400; font-size: 54px; line-height: 1.25; max-width: 900px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .4);
}
.bewertung-bereich { position: relative; padding: 70px 0 90px; }
.bewertung-bereich::before {
  content: ''; position: absolute; left: 0; right: 22%; top: 0; bottom: 140px;
  background: var(--cream);
}
/* Bild und Formular stoßen direkt aneinander; die Karte liegt leicht über dem Bild. */
.bewertung-inner {
  position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 0;
  max-width: 1320px; margin: 0 auto; padding: 0 48px; align-items: start;
}
.bewertung-bild { position: relative; z-index: 1; }
.bewertung-bild img {
  width: 100%; height: 660px; object-fit: cover;
  border-radius: var(--radius) 0 0 var(--radius); box-shadow: 0 22px 60px rgba(0, 0, 0, .16);
}
.bewertung-karte {
  position: relative; z-index: 2; margin-left: -24px; margin-top: 34px;
  background: #fff; border-radius: 14px; padding: 46px 44px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .12);
}
.bewertung-karte h2 { font-size: 34px; margin-bottom: 14px; text-align: left; }
.bewertung-text { font-family: 'Open Sans', sans-serif; font-size: 15px; line-height: 1.8; margin-bottom: 26px; }
.bewertung-formular label {
  display: block; font-size: 13.5px; font-weight: 600; color: #777; margin-bottom: 14px;
}
.bewertung-formular input[type=text],
.bewertung-formular input[type=email],
.bewertung-formular input[type=tel],
.bewertung-formular textarea,
.bewertung-formular select {
  width: 100%; margin-top: 6px; border: 1px solid #e2ded4; border-radius: 9px;
  background: #fcfbf9; padding: 13px 15px; font-size: 14.5px; font-family: inherit;
  color: var(--ink); font-weight: 400;
}
.bewertung-formular input:focus, .bewertung-formular textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(179, 154, 96, .3);
}
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feld-drei { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
/* Datenschutz-Einwilligung – gilt für alle Formulare der Seite */
.einwilligung {
  display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--body);
  font-size: 13px; line-height: 1.6; margin: 4px 0 18px; cursor: pointer;
}
.einwilligung input {
  margin-top: 2px; accent-color: var(--gold);
  width: 16px; height: 16px; flex-shrink: 0; cursor: pointer;
}
.einwilligung a { color: var(--gold); text-decoration: underline; }
.einwilligung a:hover { color: var(--gold-hover); }
/* In der dunklen Lightbox und auf hellen Karten gleichermaßen lesbar */
.lb-panel .einwilligung { color: var(--body); }
.bewertung-formular .btn-gold { width: 100%; border-radius: 9px; padding: 15px; }
.bewertung-hinweis { font-size: 12.5px; color: #8f8f8f; margin-top: 14px; text-align: center; }

.bewertung-vorteile { padding: 20px 48px 100px; max-width: 1320px; margin: 0 auto; }
.vorteile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.vorteil h3 {
  font-family: 'Frank Ruhl Libre', Georgia, serif; font-size: 20px; font-weight: 500;
  color: var(--ink); margin-bottom: 10px; padding-top: 20px; border-top: 2px solid var(--gold);
}
.vorteil p { font-family: 'Open Sans', sans-serif; font-size: 14.5px; line-height: 1.8; }
.vorteile-kontakt { text-align: center; margin-top: 50px; font-size: 15.5px; }
.vorteile-kontakt a { color: var(--gold); font-weight: 600; }
.vorteile-kontakt a:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .bewertung-inner { grid-template-columns: 1fr; gap: 0; }
  .bewertung-bereich::before { right: 0; }
  .bewertung-bild img { height: 340px; border-radius: var(--radius) var(--radius) 0 0; }
  .bewertung-karte { margin-left: 0; margin-top: -20px; border-radius: 14px; }
  .bewertung-kopf h1 { font-size: 38px; }
  .vorteile-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 680px) {
  .bewertung-kopf { min-height: 320px; padding: 230px 20px 40px; }
  .bewertung-kopf h1 { font-size: 29px; }
  .bewertung-inner, .bewertung-vorteile { padding-left: 20px; padding-right: 20px; }
  .bewertung-karte { padding: 30px 24px; }
  .feld-paar, .feld-drei { grid-template-columns: 1fr; }
}


/* ---------- Blog ---------- */
.seiten-kopf.dunkel { background: #111; min-height: 380px; }
.seiten-kopf.dunkel::before { background: none; }

.blog-wrap {
  display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start;
  max-width: 1320px; margin: 60px auto 90px; padding: 0 48px;
}
.blog-karten { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.blog-karte {
  background: #fff; border: 1px solid #f0ede7; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 22px rgba(0, 0, 0, .05); display: flex; flex-direction: column;
}
.blog-karte-bild {
  position: relative; display: block; height: 220px;
  background-size: cover; background-position: center;
}
.blog-kategorie {
  position: absolute; left: 14px; top: 14px; background: rgba(179, 154, 96, .94);
  color: #fff; font-size: 12px; font-weight: 500; padding: 5px 13px; border-radius: 999px;
}
.blog-karte-text { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-karte-text time { font-size: 13px; color: #9a9a9a; }
.blog-karte-text h2 {
  font-family: 'Frank Ruhl Libre', Georgia, serif; font-size: 21px; font-weight: 500;
  line-height: 1.35; margin: 8px 0 12px; color: var(--ink);
}
.blog-karte-text h2 a:hover { color: var(--gold); }
.blog-karte-text p { font-family: 'Open Sans', sans-serif; font-size: 14.5px; line-height: 1.75; flex: 1; }
.weiterlesen {
  margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--gold);
  display: inline-flex; align-items: center; gap: 6px;
}
.weiterlesen:hover { gap: 10px; }
.blog-filter { margin-bottom: 24px; font-size: 15px; }
.blog-filter a { color: var(--gold); text-decoration: underline; margin-left: 12px; }
.blog-alle {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 6px;
  font-size: 14.5px; font-weight: 600; color: var(--gold);
}
.blog-alle:hover { gap: 11px; }

.blog-seitenleiste .karte-weiss { padding: 26px; }
.karte-hinweis { background: var(--cream); }
.karte-hinweis p { font-size: 14.5px; margin-bottom: 16px; }
.karte-hinweis .btn-gold { display: block; text-align: center; border-radius: 8px; }
.blog-seitenleiste .such-formular input,
.blog-seitenleiste .such-formular select {
  width: 100%; border: 1px solid #e2ded4; border-radius: 8px; background: #fff;
  padding: 12px 14px; font-size: 14.5px; font-family: inherit; color: var(--ink); margin-bottom: 12px;
}
.blog-seitenleiste .such-formular .btn-gold { width: 100%; border-radius: 8px; }

/* Einzelbeitrag */
.beitrag {
  background: #fff; border: 1px solid #f0ede7; border-radius: 12px;
  padding: 40px 44px; box-shadow: 0 4px 22px rgba(0, 0, 0, .05);
}
.beitrag-crumbs { margin-bottom: 26px; font-size: 13px; }
.beitrag p {
  font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.9; margin-bottom: 20px;
}
/* Listen und Auszeichnungen aus dem Editor */
.beitrag ul, .beitrag ol {
  font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.9;
  margin: 0 0 20px; padding-left: 24px;
}
.beitrag li { margin-bottom: 6px; }
.beitrag a { color: var(--gold); text-decoration: underline; }
/* Bilder, die im Text eingefügt wurden */
.beitrag img, .detail-text img {
  display: block; max-width: 100%; height: auto; border-radius: 10px; margin: 6px 0 24px;
}

/* Bildergalerie im Beitrag */
.beitrag-galerie {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px; margin: 30px 0 6px;
}
.bg-kachel {
  aspect-ratio: 4 / 3; border: none; border-radius: 10px; padding: 0; cursor: zoom-in;
  background-color: #f0ede7; background-size: cover; background-position: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.bg-kachel:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .16); }
/* Grundrisse: vollständig zeigen statt füllen – ein angeschnittener Plan ist wertlos */
.plan-galerie {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px; margin: 6px 0 4px;
}
.plan-galerie .bg-kachel {
  aspect-ratio: 4 / 3; background-color: #fff; background-size: contain;
  background-repeat: no-repeat; border: 1px solid #efece6;
}
/* Der erste Plan ist der wichtigste: volle Breite und dieselbe Höhe wie die
   Karte darunter. Weitere Pläne stehen klein im Raster darunter. */
.plan-galerie .bg-kachel:first-child {
  grid-column: 1 / -1; aspect-ratio: auto; height: 420px;
}
@media (max-width: 680px) {
  .plan-galerie .bg-kachel:first-child { height: 260px; }
}

.bg-lightbox {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(18, 16, 13, .92); padding: 40px 70px;
  align-items: center; justify-content: center;
}
.bg-lightbox.offen { display: flex; }
.bg-lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
/* PDF-Plan: keine Lightbox, sondern eine Kachel, die die Datei öffnet.
   Oben die erste Seite (als Bild, sonst vom Browser im <iframe> gezeichnet),
   unten eine Leiste mit Kennzeichen und Namen. */
.bg-pdf {
  position: relative; overflow: hidden; cursor: pointer; display: block; padding: 0;
  background: #f5f4f1; border: 1px solid #e6e3dc; text-decoration: none;
}
.bg-pdf:hover { border-color: var(--gold); }
.bg-pdf-seite {
  display: block; width: 100%; height: 100%; border: 0; object-fit: contain;   /* Pläne nie anschneiden */
  background: #fff; pointer-events: none;   /* der Klick gehört der Kachel */
}
/* Ohne Vorschau und ohne PDF-fähigen Browser: ruhige Fläche statt leerem Rahmen */
.bg-pdf-platzhalter { display: flex; align-items: center; justify-content: center; background: #f5f4f1; }
.bg-pdf-gross { font-size: 15px; font-weight: 700; letter-spacing: 3px; color: #c3bfb6; }
/* Ohne Verlauf: Pläne sind hell, da genügt ein ruhiger weißer Streifen mit
   schwarzer Schrift – der Verlauf legte sich als dunkler Schleier über den Plan. */
.bg-pdf-fuss {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: rgba(255, 255, 255, .93);
}
.bg-pdf-zeichen {
  flex-shrink: 0; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: #fff;
  background: var(--gold); border-radius: 5px; padding: 4px 9px;
}
.bg-pdf-name {
  font-size: 13px; color: var(--ink); line-height: 1.35; text-align: left;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bg-zu {
  position: absolute; top: 18px; right: 22px; width: 42px; height: 42px;
  border: none; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer;
}
.bg-pfeil {
  position: absolute; left: 18px; width: 46px; height: 46px;
  border: none; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer;
}
.bg-pfeil.rechts { left: auto; right: 18px; }
.bg-zu:hover, .bg-pfeil:hover { background: rgba(255, 255, 255, .26); }
@media (max-width: 680px) {
  .bg-lightbox { padding: 20px 12px; }
  .bg-pfeil { left: 8px; } .bg-pfeil.rechts { right: 8px; }
}

.weitere-beitraege { margin-top: 50px; }
.weitere-beitraege h2 { font-size: 30px; margin-bottom: 24px; text-align: left; }

/* ---------- Rechtstexte ---------- */
.rechtstext-wrap { max-width: 900px; margin: 60px auto 90px; padding: 0 48px; }
.rechtstext section { margin-bottom: 40px; }
.rechtstext h2 {
  font-family: 'Frank Ruhl Libre', Georgia, serif; font-size: 22px; font-weight: 500;
  color: var(--ink); margin-bottom: 14px; padding-top: 18px; border-top: 2px solid var(--gold);
}
.rechtstext p {
  font-family: 'Open Sans', sans-serif; font-size: 15px; line-height: 1.85; margin-bottom: 16px;
}
/* Auszeichnungen und Listen aus dem Texteditor */
.rechtstext ul, .rechtstext ol, .lp-text ul:not([class]), .lp-text ol:not([class]), .agent-text ul, .agent-text ol {
  font-family: 'Open Sans', sans-serif; line-height: 1.85; margin: 0 0 18px; padding-left: 24px;
}
.rechtstext li, .lp-text li:not([class]), .agent-text li { margin-bottom: 6px; }
.rechtstext a, .lp-text a, .agent-text a { color: var(--gold); text-decoration: underline; }
.lp-text img, .agent-text img, .rechtstext img {
  display: block; max-width: 100%; height: auto; border-radius: 10px; margin: 6px 0 22px;
}
.rechtstext-fuss {
  border-top: 1px solid var(--line); padding-top: 22px; font-size: 14px; color: #8f8f8f;
}
.rechtstext-fuss a { color: var(--gold); }
.rechtstext-fuss a:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .blog-wrap { grid-template-columns: 1fr; padding: 0 24px; }
  .blog-karten { grid-template-columns: 1fr 1fr; }
  .rechtstext-wrap { padding: 0 24px; }
}
@media (max-width: 680px) {
  .blog-karten { grid-template-columns: 1fr; }
  .blog-wrap { padding: 0 20px; }
  .beitrag { padding: 26px 22px; }
  .rechtstext-wrap { padding: 0 20px; }
}


/* ---------- Markierung der aktuellen Seite ---------- */
.header-nav-left a.aktuell,
.mobil-menue-links a.aktuell,
.footer-col a.aktuell {
  color: var(--gold);
}
.mobil-menue-links a.aktuell { font-weight: 600; }
.footer-col a.aktuell { font-weight: 500; }
/* Im hellen Header genügt die Goldfarbe, im dunklen Hero zusätzlich etwas Gewicht */
.site-header:not(.hell) .header-nav-left a.aktuell { font-weight: 600; }

/* ---------- Anfragen ---------- */
.honigtopf { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.anfrage-hinweis {
  margin-top: 14px; padding: 12px 16px; border-radius: 10px;
  font-size: 14.5px; line-height: 1.5;
}
.anfrage-hinweis.gut { background: #edf5ee; color: #2a6b3a; }
.anfrage-hinweis.schlecht { background: #fbeceb; color: #a33a32; }

/* Titelbild der Objektkarte ist ein echtes <img> (Bildersuche + Lazy-Loading);
   die weiteren Galeriebilder bleiben Hintergrundebenen. */
.pm-bild img, .pm-bild picture { width: 100%; height: 100%; display: block; }
.pm-bild img { object-fit: cover; }

/* Brotkrumen */
.brotkrumen {
  max-width: 1320px; margin: 0 auto; padding: 18px 48px 0;
  font-family: 'Open Sans', sans-serif; font-size: 13px; color: var(--body);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.brotkrumen a { color: var(--body); }
.brotkrumen a:hover { color: var(--gold); }
.brotkrumen em { font-style: normal; color: var(--ink); }
.brotkrumen span { color: var(--line); }
@media (max-width: 680px) { .brotkrumen { padding: 14px 20px 0; font-size: 12px; } }

/* Impressum/Datenschutz im Fußbereich sind Links, kein Fließtext */
.footer-recht a { text-decoration: none; }
.footer-recht a:hover { color: var(--gold); }

/* ---------- Landingpages (seite.php) ----------
   Leistungs- und Stadtteilseiten aus dem Backend. Diese Seiten leben vom Text –
   aber reiner Fließtext über mehrere Bildschirme liest sich niemand durch.
   Deshalb: wechselnder Hintergrund je Abschnitt, und drei Darstellungsarten für
   Aufzählungen, die jeweils etwas anderes über den Inhalt aussagen. */
.landing { padding-bottom: 0; }

.landing-einleitung {
  max-width: 1320px; margin: 0 auto; padding: 62px 48px 10px;
}
.landing-vorspann {
  max-width: 30ch; font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 26px; line-height: 1.5; color: var(--ink);
  max-width: 60ch;
}

/* ---- Abschnittsblock ---- */
.lp-block { padding: 58px 48px; }
.lp-block.getoent { background: var(--cream); }
.lp-inner { max-width: 860px; margin: 0 auto; }
.lp-inner.mit-bild {
  max-width: 1320px; display: grid; grid-template-columns: 1fr 480px;
  gap: 64px; align-items: start;
}
.lp-titel { font-size: 32px; line-height: 1.3; text-align: left; margin-bottom: 20px; }
.lp-titel::after {
  content: ''; display: block; width: 54px; height: 2px;
  background: var(--gold); margin-top: 18px;
}
.lp-text p {
  font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.85;
  margin-bottom: 18px; max-width: 68ch;
}
.lp-bild img { border-radius: 12px; box-shadow: 0 18px 46px rgba(0,0,0,.12); }

/* ---- Ablauf: Reihenfolge zählt, also nummeriert und verbunden ---- */
.lp-schritte { list-style: none; padding: 0; margin: 26px 0 6px; }
.lp-schritte li {
  position: relative; display: flex; gap: 20px; align-items: flex-start;
  padding-bottom: 26px;
}
.lp-schritte li:last-child { padding-bottom: 0; }
/* Verbindungslinie zwischen den Ziffern */
.lp-schritte li:not(:last-child)::before {
  content: ''; position: absolute; left: 21px; top: 44px; bottom: 4px;
  width: 1px; background: var(--line);
}
.lp-schritt-nr {
  flex: none; width: 43px; height: 43px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold); background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bodoni Moda', Georgia, serif; font-size: 18px;
  position: relative; z-index: 1;
}
.lp-schritt-text {
  font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.7;
  padding-top: 9px; color: var(--ink);
}

/* ---- Karten: Gleichrangiges ohne Reihenfolge ---- */
.lp-karten {
  list-style: none; padding: 0; margin: 26px 0 6px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px;
}
.lp-karten li {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 20px 22px 20px 46px; position: relative;
  font-family: 'Open Sans', sans-serif; font-size: 15.5px; line-height: 1.6;
  color: var(--ink);
}
.lp-karten li::before {
  content: ''; position: absolute; left: 22px; top: 25px;
  width: 7px; height: 12px; border: solid var(--gold);
  border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ---- Häkchenliste: Standard, ab sechs Punkten zweispaltig ---- */
.lp-haken {
  list-style: none; padding: 0; margin: 22px 0 6px;
  display: flex; flex-direction: column; gap: 11px;
}
.lp-haken.zweispaltig {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 34px;
}
.lp-haken li {
  position: relative; padding-left: 28px;
  font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.7;
}
.lp-haken li::before {
  content: ''; position: absolute; left: 4px; top: 9px;
  width: 7px; height: 12px; border: solid var(--gold);
  border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ---- Quellenangabe: belegte Zahlen sind ein Qualitätsmerkmal,
       also sichtbar statt kleingedruckt ---- */
.lp-quelle {
  margin-top: 26px; padding: 12px 16px; border-left: 2px solid var(--gold);
  background: rgba(179,154,96,.08); border-radius: 0 6px 6px 0;
  font-family: 'Open Sans', sans-serif; font-size: 13.5px; line-height: 1.6;
  color: var(--body); max-width: 68ch;
}
.lp-quelle span {
  display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 3px;
}

@media (max-width: 1100px) {
  .lp-inner.mit-bild { grid-template-columns: 1fr; gap: 34px; max-width: 860px; }
}
@media (max-width: 680px) {
  .landing-einleitung { padding: 44px 20px 6px; }
  .landing-vorspann { font-size: 20px; }
  .lp-block { padding: 40px 20px; }
  .lp-titel { font-size: 25px; }
  .lp-haken.zweispaltig { grid-template-columns: 1fr; }
  .lp-schritte li { gap: 14px; }
  .lp-schritt-nr { width: 36px; height: 36px; font-size: 16px; }
  .lp-schritte li:not(:last-child)::before { left: 18px; top: 38px; }
  .lp-schritt-text { padding-top: 6px; font-size: 15px; }
}

.landing-objekte { padding-top: 70px; }
.landing-objekte h2.serif { margin-bottom: 34px; }
.landing-faq { margin-top: 70px; }
.landing-faq h2.serif { margin-bottom: 34px; }

.landing-cta { background: var(--dark); color: #fff; padding: 84px 48px; text-align: center; }
.landing-cta-inhalt { max-width: 720px; margin: 0 auto; }
.landing-cta-ueber {
  font-family: 'Roboto', sans-serif; font-size: 13px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.landing-cta h2.serif { color: #fff; text-align: center; margin-bottom: 18px; }
.landing-cta p {
  font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.8;
  color: rgba(255,255,255,.82); margin-bottom: 32px;
}
.landing-cta-knoepfe { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.landing-cta .btn-kontur { border-color: rgba(255,255,255,.5); color: #fff; }
.landing-cta .btn-kontur:hover { background: #fff; color: var(--ink); }

@media (max-width: 680px) {
  .landing-cta { padding: 60px 20px; }
}

/* Zusatzabschnitte auf der Bewertungsseite */
.bewertung-inhalt { padding-top: 20px; }

/* FAQ: Fragen stecken jetzt in Überschriften, Gruppen bekommen eine
   Zwischenüberschrift. Die h3 darf optisch nichts verändern – sie ist nur
   Gliederung für Suchmaschinen und Vorleseprogramme. */
.faq-frage-titel { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
.faq-gruppe {
  max-width: 820px; margin: 46px auto 18px; text-align: left;
  font-size: 26px; line-height: 1.3;
}
.faq-liste + .faq-gruppe { margin-top: 52px; }
@media (max-width: 680px) { .faq-gruppe { font-size: 21px; margin-top: 36px; } }

/* Objekte, die erst auf „Weitere Objekte anzeigen" erscheinen */
.karte-versteckt { display: none; }
#mehr-laden { margin-top: 8px; }

/* ---------- Gesuche („Wir suchen") ---------- */
/* Die Karten sind mit den Angebotskarten identisch – abgesetzt wird der ganze
   Abschnitt über seinen Hintergrund. So bleibt die Bildsprache einheitlich und
   trotzdem ist auf einen Blick klar: hier wird gesucht, nicht angeboten. */
.gesuche { padding: 70px 48px 90px; background: var(--beige); }
/* Auf dem beigen Abschnitt braucht die Karte eine eigene weiße Fläche – sonst
   stünde der Text nackt auf dem Hintergrund, während die Angebote auf Weiß sitzen. */
.gesuch-karte {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}
.gesuch-karte .property-media { border-radius: var(--radius) var(--radius) 0 0; }
.gesuch-karte .property-body { padding: 18px 20px 22px; }
.gesuch-karte .property-price { color: #8a7440; }
/* Fläche ohne Bild – bei einem Suchauftrag der Normalfall */
.gesuch-karte .pm-leer {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #e7dbc9, #f3ece1);
  color: rgba(138, 116, 64, .5);
}
.gesuch-karte .pm-leer svg { width: 58px; height: 58px; }
.gesuch-auftrag { font-size: 13.5px; font-style: italic; color: #7a746b; margin-top: 2px; }
.gesuch-anbieten-link {
  display: inline-block; margin-top: 12px; font-size: 14.5px; font-weight: 600;
  color: #8a7440;
}
.gesuch-anbieten-link:hover { color: var(--gold-hover); }

/* Formular „Sie haben ein passendes Objekt?" */
.gesuch-anbieten { background: #fff; padding: 90px 48px; }
.gesuch-anbieten-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.gesuch-anbieten h2 { font-size: 34px; margin-bottom: 14px; }
.gesuch-anbieten p { color: #56514a; line-height: 1.7; }
.gesuch-anbieten form { margin-top: 32px; text-align: left; }
.gesuch-bezug {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 16px; margin-bottom: 16px; font-size: 14.5px;
}
@media (max-width: 700px) {
  .gesuche, .gesuch-anbieten { padding-left: 22px; padding-right: 22px; }
}

}
