/* ═══════════════════════════════════════════════════════════
   SCHERER Immobilien & Entwicklung — Objekt-Landingpage
   Marken-Farben: Wappen-Blau #10294a · Weinrot #7b2230 · Champagnergold #cda94f
   Schriften: Playfair Display (Headlines) + Montserrat (Text) — lokal gehostet (DSGVO)
   ═══════════════════════════════════════════════════════════ */

/* Lokale Schriften — Dateien nach assets/fonts/ legen (siehe Checkliste).
   Fehlen die Dateien, greifen automatisch die Fallback-Schriften. */
@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-display-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --blau: #10294a;
  --blau-dunkel: #0e2a45;
  --weinrot: #7b2230;
  --gold: #cda94f;
  --sand: #ece0c9;
  --text: #232a33;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); line-height: 1.65; background: #fff; }
img, video { max-width: 100%; display: block; }
a { color: var(--blau); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 720px; }

h1, h2, h3 { font-family: var(--serif); color: var(--blau); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 0.8em; }
h3 { font-size: 1.15rem; margin-bottom: 0.4em; }

/* ── Header ─────────────────────────────────────────────── */
/* Anker-Ziele bekommen Abstand, damit der klebende Header sie nicht verdeckt */
section[id], .hero[id] { scroll-margin-top: 84px; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--blau); border-bottom: 2px solid var(--gold);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-wappen { height: 44px; width: auto; }
.brand-name { color: #fff; font-family: var(--serif); font-size: 1.2rem; letter-spacing: 2px; }
.brand-sub { display: block; font-family: var(--sans); font-size: 0.62rem; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; }
/* Banner-Claim in der Mitte */
.header-claim { text-align: center; line-height: 1.05; }
.claim-text { display: block; font-family: var(--serif); font-weight: 700; color: var(--gold); font-size: 1.5rem; letter-spacing: 1px; text-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.claim-url { display: block; font-size: 0.72rem; letter-spacing: 1.5px; color: var(--gold); text-decoration: none; opacity: 0.92; margin-top: 2px; }
.claim-url:hover { text-decoration: underline; }

.main-nav { display: flex; gap: 22px; align-items: center; }
.main-nav a { color: #fff; text-decoration: none; font-size: 0.9rem; }
.main-nav a:hover { color: var(--gold); }
.nav-cta { border: 1px solid var(--gold); padding: 8px 16px; border-radius: 3px; color: var(--gold) !important; }
.nav-cta:hover { background: var(--gold); color: var(--blau) !important; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; background: var(--blau); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Header-Bild-Abfolge */
.hero-slideshow { position: absolute; inset: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity .6s ease-in-out;
  filter: brightness(1.09) contrast(0.99) saturate(1.03);  /* hebt dunkle Fotos dezent auf */
}
.hero-slide.aktiv { opacity: 1; }
/* Kein flächiger Filter mehr — nur ein weicher Schleier links hinter der Schrift */
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.28) 34%, rgba(0,0,0,0.05) 55%, rgba(0,0,0,0) 70%); }
/* KI-Kennzeichnung: erscheint nur beim KI-visualisierten Hero-Slide */
.hero-ki-label { position: absolute; right: 16px; bottom: 14px; z-index: 4; display: none; background: rgba(16,41,74,0.82); color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; padding: 5px 11px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.28); box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.hero-ki-label::before { content: "⚠ "; }
.hero-ki-label.sichtbar { display: block; }
@media (max-width: 600px) { .hero-ki-label { font-size: 0.66rem; right: 10px; bottom: 10px; } }
.hero-content { position: relative; z-index: 2; color: #fff; padding-top: 60px; padding-bottom: 60px; text-align: center; }
.hero-kicker { text-transform: uppercase; letter-spacing: 3px; font-size: 1.15rem; font-weight: 700; color: var(--gold); margin-bottom: 14px; text-shadow: 0 2px 10px rgba(0,0,0,0.6); -webkit-text-stroke: 0.5px var(--gold); }
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,0.55); max-width: 22ch; margin: 0 auto; }
.hero-gold-line { display: inline-block; font-family: var(--serif); font-style: italic; color: var(--blau); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; margin: 16px 0 26px; background: rgba(255,255,255,0.94); padding: 10px 26px; border-radius: 16px; box-shadow: 0 8px 26px rgba(0,0,0,0.2); }
.stat-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.hero-url { margin-top: 16px; }
.hero-url a { color: var(--gold); text-decoration: none; font-size: 1rem; letter-spacing: 1px; text-shadow: 0 1px 6px rgba(0,0,0,0.55); }
.hero-url a:hover { text-decoration: underline; }
.pill {
  background: rgba(16,41,74,0.82); border: 1px solid var(--gold);
  color: #fff; padding: 8px 18px; border-radius: 100px; font-size: 0.88rem;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn { display: inline-block; padding: 14px 30px; border-radius: 3px; text-decoration: none; font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer; font-family: var(--sans); }
.btn-gold { background: var(--gold); color: var(--blau); }
.btn-gold:hover { background: #b8963f; }
.btn-blue { background: var(--blau); color: #fff; }
.btn-blue:hover { background: var(--blau-dunkel); }

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-kicker { text-transform: uppercase; letter-spacing: 4px; font-size: 0.78rem; color: var(--weinrot); font-weight: 600; margin-bottom: 8px; }
.section-kicker-gold { color: var(--gold); }
.section-blue { background: var(--blau); }
.section-blue .on-blue, .section-blue p.on-blue { color: #fff; }
.section-blue h2.on-blue { color: #fff; }
.section-sand { background: var(--sand); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-media img { border-radius: 6px; box-shadow: 0 16px 40px rgba(16,41,74,0.18); }

/* ── Fakten ─────────────────────────────────────────────── */
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.fact { background: var(--sand); border-top: 3px solid var(--gold); padding: 18px; border-radius: 4px; }
.fact-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2px; color: var(--weinrot); margin-bottom: 4px; }
.fact-value { font-family: var(--serif); font-size: 1.15rem; color: var(--blau); font-weight: 700; }

.energie-box { margin-top: 40px; border: 1px solid var(--blau); border-left: 6px solid var(--gold); border-radius: 4px; padding: 24px 28px; }
.energie-box ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 24px; }
/* Energieeffizienz-Skala (natives Widget, ImmoScout-Stil im Markenlook) */
.ea-scale { max-width: 600px; margin: 26px auto 6px; }
.ea-scale-top { position: relative; height: 48px; }
.ea-pointer { position: absolute; transform: translateX(-50%); text-align: center; bottom: 0; }
.ea-pointer-val { display: inline-block; background: var(--blau); color: #fff; font-weight: 700; font-size: 0.82rem; padding: 4px 11px; border-radius: 5px; white-space: nowrap; box-shadow: 0 4px 10px rgba(0,0,0,0.28); }
.ea-pointer-tri { display: block; width: 0; height: 0; margin: 0 auto; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 9px solid var(--blau); }
.ea-bar { display: flex; border-radius: 6px; overflow: hidden; box-shadow: 0 5px 16px rgba(0,0,0,0.2); }
.ea-seg { flex: 1; text-align: center; padding: 12px 0; font-weight: 700; font-size: 0.85rem; color: #fff; letter-spacing: 0.02em; }
.ea-seg.active { outline: 3px solid var(--blau); outline-offset: -3px; border-radius: 5px; }
.seg-aplus { background: #009640; } .seg-a { background: #4fa82e; } .seg-b { background: #95c11f; }
.seg-c { background: #d7d700; color: #3a3a00; } .seg-d { background: #ffed00; color: #4a4400; }
.seg-e { background: #fbba00; color: #4a3600; } .seg-f { background: #ec6608; }
.seg-g { background: #e2001a; } .seg-h { background: #c50e1f; }
.ea-classbadge { text-align: center; margin-top: 16px; font-size: 0.95rem; color: var(--text); }
.ea-classbadge b { background: #009640; color: #fff; padding: 2px 12px; border-radius: 4px; font-size: 1.05rem; margin-left: 4px; }
.energie-hinweis { text-align: center; font-size: 0.8rem; opacity: 0.68; font-style: italic; margin: 6px 0 0; }
@media (max-width: 460px) { .ea-seg { font-size: 0.72rem; padding: 10px 0; } .ea-pointer-val { font-size: 0.72rem; padding: 3px 7px; } }

/* ── Grundrisse ─────────────────────────────────────────── */
.grundriss-hinweis { color: var(--text); opacity: 0.8; margin: -0.4em 0 1.8em; }
.grundriss-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.grundriss-figur { margin: 0; cursor: zoom-in; background: #fff; border-radius: 8px; padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.14); transition: transform .2s ease, box-shadow .2s ease; }
.grundriss-figur:hover, .grundriss-figur:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,0.22); outline: none; }
.grundriss-figur img { display: block; width: 100%; height: auto; border-radius: 3px; }
.grundriss-figur figcaption { text-align: center; margin-top: 12px; font-family: var(--serif); font-style: italic; color: var(--blau); font-size: 1.1rem; }
@media (max-width: 760px) { .grundriss-grid { grid-template-columns: 1fr; gap: 20px; } }
.grundriss-download { text-align: center; margin-top: 30px; }
.plan-dl { display: inline-flex; align-items: center; gap: 10px; background: var(--weinrot); color: #fff; text-decoration: none; font-weight: 600; font-size: 0.98rem; padding: 13px 26px; border-radius: 6px; box-shadow: 0 8px 22px rgba(123,34,48,0.22); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.plan-dl:hover { transform: translateY(-2px); background: #97283a; box-shadow: 0 14px 32px rgba(123,34,48,0.34); }
.plan-dl .ico { color: var(--gold); font-size: 1.55em; }

/* Cookie-Consent-Banner */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; background: var(--blau); box-shadow: 0 -6px 24px rgba(0,0,0,0.32); }
.cookie-inner { display: flex; align-items: center; gap: 22px; padding: 16px 24px; flex-wrap: wrap; }
.cookie-text { flex: 1 1 340px; font-size: 0.88rem; line-height: 1.5; margin: 0; color: rgba(255,255,255,0.92); }
.cookie-text a { color: var(--gold); }
.cookie-btns { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn { border: none; cursor: pointer; font-weight: 600; font-size: 0.92rem; padding: 11px 26px; border-radius: 6px; transition: background .2s ease, transform .15s ease; }
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-reject { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.cookie-reject:hover { background: rgba(255,255,255,0.14); }
.cookie-accept { background: var(--gold); color: var(--blau); }
.cookie-accept:hover { background: #dcb85f; }
@media (max-width: 640px) { .cookie-inner { flex-direction: column; align-items: stretch; } .cookie-btn { flex: 1; } }

/* ── Karten / Highlights ────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card { background: #fff; border-radius: 6px; padding: 26px; box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.card-highlight { border: 2px solid var(--gold); background: #fffdf6; }
.card-highlight h3::before { content: "★ "; color: var(--gold); }

/* ── „Was dieses Objekt besonders macht" — Boxen + Auffächer-Raumgalerie ── */
.besonders-sub { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.3rem; margin: -0.4em 0 1.6em; }
.besonders-boxen { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 46px; }
.besonders-box { background: #fff; border-radius: 8px; padding: 26px 28px; box-shadow: 0 12px 34px rgba(0,0,0,0.22); }
.besonders-box h3 { color: var(--blau); }
.besonders-box p { color: var(--text); font-size: 0.95rem; }
.box-pdf { display: flex; flex-direction: column; text-decoration: none; border-left: 5px solid var(--gold); transition: transform .2s ease, box-shadow .2s ease; }
.box-pdf:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,0.3); }
.box-eyebrow { display: inline-block; align-self: flex-start; background: var(--gold); color: var(--blau); font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; padding: 3px 10px; border-radius: 3px; margin-bottom: 12px; }
.box-cta { margin-top: 14px; color: var(--weinrot); font-weight: 600; font-size: 0.9rem; }
@media (max-width: 700px) { .besonders-boxen { grid-template-columns: 1fr; } }
.besonders-intro { max-width: 70ch; margin-bottom: 30px; }
.besonders-intro p { font-size: 1.05rem; }
.technik-liste { max-width: 1040px; margin: 12px 0 34px; }
.technik-gruppe { margin-bottom: 24px; }
.technik-gruppe h4 { font-family: var(--serif); color: var(--gold); font-size: 1.2rem; margin-bottom: 8px; padding-bottom: 5px; border-bottom: 1px solid rgba(205,169,79,0.4); }
.technik-gruppe ul { list-style: none; columns: 2; column-gap: 46px; }
.technik-gruppe li { color: rgba(255,255,255,0.9); position: relative; padding: 6px 0 6px 26px; font-size: 0.92rem; break-inside: avoid; border-bottom: 1px solid rgba(255,255,255,0.08); }
.technik-gruppe li::before { content: "✓"; position: absolute; left: 0; top: 6px; color: var(--gold); font-weight: 700; }
@media (max-width: 640px) { .technik-gruppe ul { columns: 1; } }
.technik-download { display: flex; justify-content: center; background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 14px 38px rgba(0,0,0,0.22); max-width: 640px; margin: 12px auto 46px; }
.btn-technik-dl { display: inline-flex; align-items: center; gap: 11px; background: var(--weinrot); color: #fff; text-decoration: none; font-weight: 600; font-size: 1.05rem; padding: 16px 32px; border-radius: 8px; box-shadow: 0 6px 16px rgba(123,34,48,0.28); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn-technik-dl .ico { color: var(--gold); font-size: 1.45em; line-height: 1; }
.btn-technik-dl:hover { transform: translateY(-2px); background: #97283a; box-shadow: 0 10px 26px rgba(123,34,48,0.42); }
.raum-galerie.raum-galerie-leer { display: block; }
.galerie-platzhalter { color: rgba(255,255,255,0.72); font-style: italic; text-align: center; padding: 34px; border: 1px dashed rgba(255,255,255,0.3); border-radius: 8px; }

/* ── Technik-Galerie: Endlos-Laufband (Quer) + Aufzieher (Hoch) ── */
.galerie-hinweis { text-align: center; font-size: 0.9rem; opacity: 0.82; margin: -0.4em 0 1.7em; }
.galerie-gruppe { display: flex; flex-direction: column; gap: 30px; margin-top: 8px; }

/* Durchlaufendes Endlos-Laufband (Querformat) */
.laufband { position: relative; overflow: hidden; padding: 10px 0;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.laufband-spur { display: flex; gap: 18px; width: max-content; animation: laufband-scroll 48s linear infinite; }
.laufband:hover .laufband-spur, .laufband:focus-within .laufband-spur { animation-play-state: paused; }
@keyframes laufband-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.laufband .faecher-karte { flex: 0 0 auto; height: 210px; padding: 0; overflow: hidden;
  border: 6px solid #fff; border-radius: 10px; background: #fff; cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,0.26); transition: transform .3s ease, box-shadow .3s ease; }
.laufband .faecher-karte img { height: 100%; width: auto; max-width: none; display: block; }
.laufband .faecher-karte:hover, .laufband .faecher-karte:focus-visible {
  transform: translateY(-6px) scale(1.03); box-shadow: 0 22px 48px rgba(0,0,0,0.38); outline: none; }
.laufband .is-clone { cursor: default; }

/* Aufziehende Hover-Reihe (Hochformat) */
.aufzieher { display: flex; gap: 12px; height: 400px; }
.aufzieher-item { flex: 1 1 0%; min-width: 0; padding: 0; overflow: hidden;
  border: 6px solid #fff; border-radius: 10px; background: #fff; cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,0.26); transition: flex-grow .55s cubic-bezier(.22,1,.36,1); }
.aufzieher-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.aufzieher-item:hover, .aufzieher-item:focus-visible { flex-grow: 5; outline: none; }

@media (prefers-reduced-motion: reduce) { .laufband-spur { animation: none; } }
@media (max-width: 760px) {
  .laufband .faecher-karte { height: 150px; }
  .aufzieher { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
  .aufzieher-item { flex: 0 0 62%; height: 300px; scroll-snap-align: center; transition: none; }
  .aufzieher-item:hover, .aufzieher-item:focus-visible { flex-grow: 0; }
}

.raum-galerie-titel { color: #fff; font-size: 1.2rem; margin-bottom: 16px; }
.raum-galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.raum-kachel { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; line-height: 0; transition: transform .2s ease, border-color .2s ease; }
.raum-kachel img { width: 100%; height: 104px; object-fit: cover; display: block; }
.raum-kachel:hover { transform: translateY(-2px); border-color: var(--gold); }
.raum-kachel:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 600px) { .raum-galerie { grid-template-columns: repeat(3, 1fr); } .raum-kachel img { height: 84px; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(8,18,33,0.93); padding: 30px; }
.lightbox.offen { display: flex; }
.lightbox-figur { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox-figur img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-figur figcaption { color: #fff; font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.lightbox-close { position: absolute; top: 18px; right: 24px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(16,41,74,0.72); color: var(--gold); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(16,41,74,0.72); color: var(--gold); font-size: 1.4rem; cursor: pointer; }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.lightbox-close:hover, .lightbox-arrow:hover { background: var(--blau); }
@media (max-width: 600px) { .lightbox-arrow { width: 44px; height: 44px; } .lb-prev { left: 8px; } .lb-next { right: 8px; } }

/* ── Rundgang-Slideshow (Signatur-Element) ──────────────── */
.rundgang-intro { max-width: 60ch; margin-bottom: 28px; }
.rundgang { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.rundgang-stage {
  position: relative; aspect-ratio: 16/10; border-radius: 8px; overflow: hidden;
  background: var(--blau-dunkel); box-shadow: 0 24px 60px rgba(16,41,74,0.28);
}
.rundgang-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease;
  pointer-events: none;
}
.rundgang-slide.aktiv { opacity: 1; pointer-events: auto; }
.rundgang-slide img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .rundgang-slide.aktiv img { animation: kenburns 7s ease-out forwards; }
  @keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.05); } }
}
.rundgang-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold);
  background: rgba(16,41,74,0.72); color: var(--gold); font-size: 1.3rem;
  cursor: pointer; transition: background .2s ease;
}
.rundgang-arrow:hover, .rundgang-arrow:focus-visible { background: var(--blau); outline: 2px solid var(--gold); }
.rundgang-prev { left: 16px; }
.rundgang-next { right: 16px; }
.rundgang-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 14px; padding: 40px 24px 18px;
  background: linear-gradient(180deg, transparent, rgba(14,42,69,0.85));
  color: #fff;
}
.rundgang-floor {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 2px; padding: 4px 10px;
  border-radius: 100px; background: var(--gold); color: var(--blau);
}
.rundgang-floor.og { background: var(--weinrot); color: #fff; }
.rundgang-room { font-family: var(--serif); font-size: 1.35rem; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.rundgang-count { margin-left: auto; font-size: 0.85rem; opacity: 0.85; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Stationen-Leiste: die Route des Rundgangs */
.rundgang-route {
  display: flex; align-items: center; gap: 8px; margin-top: 18px;
  overflow-x: auto; padding: 6px 2px 14px; scrollbar-width: thin;
}
/* Miniatur-Streifen (Variante B) — anklickbare Vorschaubilder */
.rundgang-thumb {
  flex: 0 0 auto; padding: 0; border: 2px solid transparent; border-radius: 5px;
  background: none; cursor: pointer; overflow: hidden; line-height: 0;
  opacity: 0.6; transition: opacity .2s ease, border-color .2s ease;
}
.rundgang-thumb img { width: 104px; height: 66px; object-fit: cover; display: block; }
.rundgang-thumb:hover { opacity: 1; }
.rundgang-thumb.aktiv { opacity: 1; border-color: var(--gold); }
.rundgang-thumb.besucht { opacity: 0.82; }
.rundgang-thumb:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 860px) { .rundgang-thumb img { width: 82px; height: 52px; } }
.rundgang-station {
  flex: 0 0 auto; display: flex; align-items: center; border: none; background: none;
  cursor: pointer; padding: 0; font-family: var(--sans);
}
.rundgang-station::before {
  content: ""; display: block; width: 34px; height: 2px; background: rgba(16,41,74,0.25);
}
.rundgang-station:first-child::before { display: none; }
.rundgang-station .punkt {
  width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--blau);
  background: #fff; margin: 0 6px; transition: background .2s ease, transform .2s ease;
}
.rundgang-station .label {
  font-size: 0.72rem; color: var(--blau); letter-spacing: 0.5px; white-space: nowrap;
}
.rundgang-station.aktiv .punkt { background: var(--gold); border-color: var(--gold); transform: scale(1.25); }
.rundgang-station.aktiv .label { font-weight: 600; }
.rundgang-station.besucht .punkt { background: var(--blau); }
.rundgang-station:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* Detail-Streifen: drei Hochformat-Charaktermomente */
.detail-streifen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.detail-karte { position: relative; border-radius: 6px; overflow: hidden; }
.detail-karte img { width: 100%; aspect-ratio: 3/5; object-fit: cover; transition: transform .4s ease; }
.detail-karte:hover img { transform: scale(1.04); }
.detail-karte figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(14,42,69,0.82));
  color: #fff; font-size: 0.88rem; font-family: var(--serif); font-style: italic;
}
@media (max-width: 700px) { .detail-streifen { grid-template-columns: 1fr; } .detail-karte img { aspect-ratio: 4/3; } }
.tour-video { margin-top: 40px; }
.tour-video video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #fff; border: 7px solid #fff; border-radius: 10px; box-shadow: 0 14px 34px rgba(16,41,74,0.16); }
.video-unterschrift { margin-top: 12px; font-family: var(--serif); font-style: italic; color: var(--blau); text-align: center; }
/* Verkaufsvideo im Hochformat, mittig */
.verkaufsvideo { position: relative; display: flex; flex-direction: column; align-items: center; margin-top: 48px; }
.verkaufsvideo video { width: 100%; max-width: 380px; aspect-ratio: 9 / 16; border-radius: 14px; background: #fff; border: 7px solid #fff; box-shadow: 0 16px 40px rgba(16,41,74,0.18); }

/* Objekt-Video direkt unter dem Hero */
.section-objektvideo { position: relative; overflow: hidden; padding: 64px 0 48px; background: var(--sand); }
.objektvideo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.section-objektvideo .container { position: relative; z-index: 2; }
.section-objektvideo .video-unterschrift { color: var(--blau); }
.verkaufsvideo-gross { margin-top: 0; }
.verkaufsvideo-gross video { max-width: 440px; box-shadow: 0 20px 50px rgba(16,41,74,0.22); }
.video-ton-btn {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--blau); border: none; border-radius: 100px;
  padding: 11px 24px; font-family: var(--sans); font-weight: 600; font-size: 0.92rem;
  cursor: pointer; box-shadow: 0 6px 18px rgba(16,41,74,0.25);
}
.video-ton-btn:hover { background: #b8963f; }

/* ── Lage / Karte ───────────────────────────────────────── */
.lage-liste { list-style: none; margin-top: 16px; }
.lage-liste li { padding: 8px 0; border-bottom: 1px solid rgba(16,41,74,0.12); }
.map-consent { background: var(--blau); border-radius: 6px; min-height: 340px; display: flex; align-items: center; justify-content: center; text-align: center; }
.map-consent-inner { color: #fff; padding: 32px; max-width: 380px; }
.map-consent-inner .btn { margin-top: 14px; background: var(--gold); color: var(--blau); }
.map-note { font-size: 0.8rem; opacity: 0.85; margin-top: 8px; }
.map-note a { color: var(--gold); }
.map-consent iframe { width: 100%; height: 100%; min-height: 340px; border: 0; border-radius: 6px; }

/* ── Downloads ──────────────────────────────────────────── */
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.download-card {
  display: block; text-decoration: none; background: var(--weinrot);
  border-radius: 4px; padding: 22px 26px;
  box-shadow: 0 8px 22px rgba(123,34,48,0.20); transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.download-card:hover { transform: translateY(-2px); background: #97283a; box-shadow: 0 14px 32px rgba(123,34,48,0.32); }
.download-title { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: #fff; }
.download-sub { font-size: 0.85rem; color: rgba(255,255,255,0.85); }
.dl-arrow { color: var(--gold); font-size: 1.5em; font-weight: 700; margin-right: 8px; vertical-align: -0.12em; line-height: 1; }

/* ── Makler ─────────────────────────────────────────────── */
.makler-foto img { border-radius: 6px; border: 3px solid var(--gold); max-width: 380px; }
/* Makler-Logo als weiße Plakette (transparentes Logo hat dunkle Schrift → auf Weiß lesbar) */
.makler-logo-plakette { align-self: center; background: #fff; border-radius: 16px; padding: 30px 34px; max-width: 400px; box-shadow: 0 18px 44px rgba(0,0,0,0.30); }
.makler-logo-plakette img { width: 100%; display: block; }
.kontakt-zeilen a { color: var(--gold); text-decoration: none; }
.kontakt-zeilen .klein { font-size: 0.85rem; opacity: 0.8; }

/* ── Formular ───────────────────────────────────────────── */
.kontakt-form { background: var(--sand); padding: 34px; border-radius: 6px; border-top: 4px solid var(--gold); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--blau); }
.form-row input[type="text"], .form-row input[type="email"], .form-row input[type="tel"], .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #c9c2b4; border-radius: 4px; font-family: var(--sans); font-size: 1rem; background: #fff;
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form-consent label { font-weight: 400; font-size: 0.85rem; display: flex; gap: 10px; align-items: flex-start; }
.form-consent input { margin-top: 3px; }
.form-note { font-size: 0.8rem; margin-top: 12px; color: #6b6b6b; }
.honeypot { position: absolute; left: -9999px; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--blau-dunkel); color: #dfe6ee; padding: 60px 0 0; border-top: 3px solid var(--gold); }
.site-footer a { color: var(--gold); text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; font-size: 0.9rem; }
.footer-wappen { width: 190px; height: auto; margin-bottom: 16px; border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,0.28); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 44px; padding-top: 18px; padding-bottom: 18px; font-size: 0.8rem; opacity: 0.8; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .main-nav a:not(.nav-cta) { display: none; }
  .header-claim { display: none; }
  .hero { min-height: 70vh; }
  .rundgang { padding: 0 12px; }
  .rundgang-stage { aspect-ratio: 4/3; border-radius: 6px; }
  .rundgang-arrow { width: 44px; height: 44px; }
  .rundgang-room { font-size: 1.05rem; }
  .rundgang-station:not(.aktiv) .label { display: none; }
  .rundgang-station::before { width: 22px; }
}
@media (max-width: 480px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
}

/* ── Scroll-Reveal (dezent, respektiert reduced motion) ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease-out, transform .55s ease-out; }
  .reveal.sichtbar { opacity: 1; transform: none; }
}
