/* ==========================================================================
   Belur Immobilien – Designsystem (eine Datei für alle Seiten)
   Hell & klassisch: warmes Off-White, Navy als Markenfarbe, Gold nur als Akzent.
   Schriften: Systemschriften (keine externen Font-Server → schnell, datenschutzfreundlich).
   ========================================================================== */

:root {
  --bg: #FAF8F4;
  --surface: #FFFFFF;
  --surface-2: #F3EFE7;
  --ink: #0B1526;
  --ink-2: #334055;
  --muted: #667085;
  --line: #E6E0D4;
  --line-2: #D5CCBA;
  --brand: #0B1526;
  --brand-hover: #1B2B45;
  --accent: #9A7638;          /* Gold für Text/Linien auf Weiß (Kontrast ≥ 4.5:1) */
  --accent-light: #C4A86B;    /* Champagner, nur dekorativ */
  --accent-soft: #F4ECDD;
  --ok: #2D6A4F;
  --ok-bg: #EAF4EE;
  --err: #A12A2A;
  --err-bg: #FBEFEF;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(11, 21, 38, .06);
  --shadow: 0 1px 2px rgba(11, 21, 38, .05), 0 8px 24px rgba(11, 21, 38, .07);
  --shadow-lg: 0 2px 6px rgba(11, 21, 38, .06), 0 20px 48px rgba(11, 21, 38, .12);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink-2);
  font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--accent-light); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.18; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent-soft); color: var(--ink); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--surface-2); }
.section--white { background: var(--surface); }
.section--dark { background: var(--brand); color: rgba(255, 255, 255, .78); }
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem;
  font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent-light); }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--accent-light); }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.4rem; border-radius: var(--radius-sm); border: 1px solid transparent;
  font: 600 .98rem/1.2 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .18s, border-color .18s, color .18s, box-shadow .18s, transform .18s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-hover); color: #fff; box-shadow: var(--shadow); }
.btn--outline { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent-soft); color: var(--ink); }
.btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { border-color: #fff; color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--ink); display: inline-flex; gap: .4rem; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .18s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(250, 248, 244, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: .1rem; margin-left: auto; }
.nav a {
  padding: .55rem .6rem; border-radius: var(--radius-sm); text-decoration: none; white-space: nowrap;
  font: 500 .95rem/1 var(--sans); color: var(--ink-2);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.header-cta { display: flex; align-items: center; gap: .7rem; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; font: 600 .95rem/1 var(--sans); text-decoration: none; color: var(--ink); white-space: nowrap; }
.header-phone svg { width: 17px; height: 17px; color: var(--accent); }
.header-cta .btn { min-height: 42px; padding: .6rem 1.1rem; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--surface); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.mobile-nav { display: none; }

@media (max-width: 1240px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--bg);
    padding: 1rem var(--gutter) 2rem; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .mobile-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .mobile-nav a.mnav-link { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); font: 500 1.15rem/1.2 var(--sans); color: var(--ink); text-decoration: none; }
  .mobile-nav a.mnav-link[aria-current="page"] { color: var(--accent); }
  .mobile-nav .btn-row { margin-top: 1.5rem; }
  .mobile-nav .btn { flex: 1 1 100%; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 1.2rem; }
.hero .lead { max-width: 560px; margin-bottom: 2rem; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero-badge {
  position: absolute; left: -24px; bottom: 28px; max-width: 250px; background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 1rem 1.2rem; display: flex; gap: .8rem; align-items: center;
}
.hero-badge img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; aspect-ratio: 1; box-shadow: none; }
.hero-badge strong { display: block; font-size: .95rem; }
.hero-badge span { display: block; font-size: .82rem; line-height: 1.35; color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 2.2rem 0 0; padding: 1.6rem 0 0; border-top: 1px solid var(--line); }
.trust li { list-style: none; display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--ink-2); }
.trust ul { display: contents; }
.check { width: 18px; height: 18px; flex: none; color: var(--accent); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 11; }
  .hero-badge { left: 10px; bottom: 10px; max-width: 210px; padding: .55rem .8rem; gap: .6rem; }
  .hero-badge img { width: 38px; height: 38px; }
  .hero-badge strong { font-size: .88rem; }
  .hero-badge span { font-size: .76rem; }
}

/* Seitenkopf für Unterseiten */
.page-head { padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); background: var(--surface); }
.page-head p { max-width: 640px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.2rem; font-size: .88rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--line-2); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- Karten & Raster ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.icon-badge {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--accent-soft); color: var(--accent);
}
.icon-badge svg { width: 22px; height: 22px; }

/* Ablauf */
.steps { counter-reset: step; }
.step-card { position: relative; padding-top: 3.4rem; }
.step-card::before {
  counter-increment: step; content: "0" counter(step); position: absolute; top: 1.4rem; left: clamp(22px, 3vw, 32px);
  font: 600 1.1rem/1 var(--serif); color: var(--accent); letter-spacing: .06em;
}

/* Objektkarten */
.prop-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.prop-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--line-2); color: inherit; }
.prop-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.prop-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prop-card:hover .prop-card__img img { transform: scale(1.03); }
.tag {
  display: inline-block; padding: .35rem .65rem; border-radius: 999px; font: 600 .75rem/1 var(--sans); letter-spacing: .02em;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm);
}
.prop-card__img .tag { position: absolute; top: 14px; left: 14px; }
.prop-card__body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.prop-card__type { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.prop-card__title { font: 600 1.2rem/1.3 var(--serif); color: var(--ink); margin: 0; }
.prop-card__loc { font-size: .92rem; color: var(--muted); }
.prop-card__facts { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: .8rem 0 0; padding: .9rem 0 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
.prop-card__price { margin-top: auto; padding-top: .9rem; font: 600 1.3rem/1 var(--serif); color: var(--ink); display: flex; justify-content: space-between; align-items: baseline; }
.prop-card__price small { font: 500 .85rem/1 var(--sans); color: var(--accent); }

/* Filter-Chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  min-height: 40px; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
  font: 500 .92rem/1 var(--sans); color: var(--ink-2); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Split-Layout (Bild + Text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--narrow-img { grid-template-columns: .8fr 1.2fr; }
.split img { border-radius: var(--radius); width: 100%; object-fit: cover; }
@media (max-width: 860px) { .split, .split--narrow-img { grid-template-columns: 1fr; } }
.portrait { aspect-ratio: 4 / 5; object-position: top; background: var(--surface-2); }
.quote { font: italic 400 1.3rem/1.5 var(--serif); color: var(--ink); border-left: 2px solid var(--accent-light); padding-left: 1.2rem; margin: 1.5rem 0; }
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist .check { margin-top: .25rem; }

/* Kennzahlen */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { background: var(--surface); padding: 1.1rem 1.2rem; }
.fact b { display: block; font: 600 1.35rem/1.1 var(--serif); color: var(--ink); }
.fact span { display: block; margin-top: .3rem; font-size: .82rem; line-height: 1.35; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.3rem 2.5rem 1.3rem 0; position: relative;
  font: 600 1.08rem/1.4 var(--sans); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 1.1rem; font: 400 1.6rem/1 var(--sans); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.4rem; max-width: 760px; }

/* CTA-Band */
.cta-band { border-radius: var(--radius); background: var(--brand); color: rgba(255, 255, 255, .8); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .6rem; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- Formulare ---------- */
.form-card { background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h2, .form-card h3, .form-card strong, .card h3, .card strong { color: var(--ink); }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label, .field .label { font: 600 .9rem/1.3 var(--sans); color: var(--ink); }
.field .hint { font-size: .82rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--sans); transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23667085'%3E%3Cpath d='M5.5 7.5 10 12l4.5-4.5'/%3E%3C/svg%3E") no-repeat right .8rem center / 18px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(196, 168, 107, .35); }
.input::placeholder, .textarea::placeholder { color: #9AA3B2; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.checkbox { display: flex; gap: .7rem; align-items: flex-start; margin: .2rem 0 1.2rem; font-size: .95rem; color: var(--ink-2); cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin: .12rem 0 0; accent-color: var(--brand); flex: none; }
.form-note { font-size: .82rem; color: var(--muted); margin: 1rem 0 0; }
.lead-err { margin: 1rem 0 0; padding: .9rem 1rem; border: 1px solid #E3B8B8; border-radius: var(--radius-sm); background: var(--err-bg); color: var(--err); font-size: .92rem; }
.lead-err a { color: var(--err); font-weight: 600; }

/* Auswahlkacheln */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: .7rem; }
.tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; min-height: 100px; padding: .9rem .6rem;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; cursor: pointer; text-align: center;
  font: 600 .98rem/1.3 var(--sans); color: var(--ink); transition: border-color .15s, box-shadow .15s, background .15s;
}
.tile svg { width: 34px; height: 34px; color: var(--accent); }
.tile:hover { border-color: var(--ink); }
.tile.selected, .tile[aria-pressed="true"] { border-color: var(--brand); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.tiles--compact .tile { min-height: 64px; }

/* Schritt-Assistent */
.stepper { display: flex; gap: .4rem; margin-bottom: 1.8rem; }
.stepper span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .25s; }
.stepper span.on { background: var(--brand); }
.step-label { font: 600 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .7rem; }
.step { display: none; }
.step.active { display: block; animation: fadein .25s ease; }
.step h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.8rem; }
.btn-back { background: none; border: 0; font: 600 .95rem/1 var(--sans); color: var(--muted); cursor: pointer; padding: .8rem 0; min-height: 44px; }
.btn-back:hover { color: var(--ink); }
.range-out { font: 600 2rem/1 var(--serif); color: var(--ink); margin: .3rem 0 .6rem; }
input[type="range"] { width: 100%; accent-color: var(--brand); height: 28px; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Ergebnis Werteinschätzung */
.result { text-align: center; }
.result__range { font: 600 clamp(1.8rem, 4vw, 2.4rem)/1.15 var(--serif); color: var(--ink); margin: .2rem 0 1rem; }
.method-table { width: 100%; max-width: 440px; margin: 0 auto 1rem; border-collapse: collapse; font-size: .95rem; text-align: left; }
.method-table td { padding: .6rem .3rem; border-bottom: 1px solid var(--line); }
.method-table td:nth-child(2) { text-align: right; font-weight: 600; color: var(--ink); white-space: nowrap; }
.method-table td:nth-child(3) { text-align: right; color: var(--muted); white-space: nowrap; font-size: .85rem; }
.method-table caption { caption-side: bottom; padding-top: .6rem; font-size: .85rem; color: var(--muted); }
.success-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); margin: 0 auto 1.2rem; }
.success-icon svg { width: 28px; height: 28px; }

/* Kontaktliste */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .icon-badge { width: 42px; height: 42px; margin: 0; flex: none; }
.contact-list .icon-badge svg { width: 19px; height: 19px; }
.contact-list small { display: block; color: var(--muted); font-size: .82rem; }
.contact-list a { font-weight: 600; text-decoration: none; }

/* Calendly-Platzhalter (lädt erst auf Klick) */
.consent-box { border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 2rem; text-align: center; background: var(--surface); }
.consent-box p { max-width: 460px; margin: .8rem auto 0; font-size: .85rem; color: var(--muted); }
#calBox { min-height: 0; }

/* ---------- Objektseite ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; aspect-ratio: 16 / 7.5; border-radius: var(--radius); overflow: hidden; }
.gallery button { padding: 0; border: 0; background: var(--surface-2); cursor: zoom-in; position: relative; overflow: hidden; }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery .more { position: absolute; right: 12px; bottom: 12px; }
.gallery--single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; aspect-ratio: 4 / 4; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; }
  .gallery button:nth-child(n+4) { display: none; }
}
.object-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.object-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.price-box .price { font: 600 2rem/1.1 var(--serif); color: var(--ink); margin: .2rem 0 .3rem; }
.price-box hr { border: 0; border-top: 1px solid var(--line); margin: 1.2rem 0; }
.agent { display: flex; gap: .9rem; align-items: center; }
.agent img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; }
@media (max-width: 980px) { .object-layout { grid-template-columns: 1fr; } .object-aside { position: static; } }
.prose h2 { margin-top: 2.6rem; }
.prose h2:first-child { margin-top: 0; }
.feature-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.6rem; margin: 1.4rem 0; }
.feature-list li { display: flex; gap: .7rem; }
.feature-list strong { display: block; }
.feature-list span { font-size: .93rem; color: var(--muted); }
@media (max-width: 640px) { .feature-list { grid-template-columns: 1fr; } }
.data-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.data-table th, .data-table td { text-align: left; padding: .75rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { width: 38%; font-weight: 500; color: var(--muted); padding-right: 1rem; }
.data-table td { color: var(--ink); }
.notice { border-radius: var(--radius-sm); padding: 1rem 1.1rem; background: var(--accent-soft); color: var(--ink-2); font-size: .92rem; }
.disclaimer { font-size: .82rem; color: var(--muted); margin-top: 2rem; }
.mobile-bar { display: none; }
@media (max-width: 980px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(11, 21, 38, .08);
  }
  .has-mobile-bar { padding-bottom: 84px; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8, 14, 26, .94); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: 1200px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lightbox figcaption { color: rgba(255, 255, 255, .8); margin-top: .9rem; font-size: .95rem; }
.lb-btn { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; cursor: pointer; font-size: 1.4rem; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.45rem; margin-top: 2.4rem; }
.legal h3 { font-size: 1.1rem; font-family: var(--sans); margin-top: 1.6rem; }
.legal address { font-style: normal; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 2rem; }
.toc ol { margin: .4rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand); color: rgba(255, 255, 255, .7); padding: clamp(48px, 7vw, 80px) 0 28px; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 2rem; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .data-table { min-width: 560px; }
.prose ol, .prose ul { margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.region-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.region-links a { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 500; color: var(--ink); }
.region-links a:hover { border-color: var(--ink); color: var(--ink); }
.region-links svg { width: 16px; height: 16px; color: var(--accent); }
.footer-grid h4 { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-brand img { width: 160px; margin-bottom: 1rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .85rem; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; }
.socials a:hover { border-color: #fff; }
.socials svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Dezente Einblendung beim Scrollen (nur mit JS, respektiert reduzierte Bewegung) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Ablauf in Schritten (Suchauftrag-Seite): mobil Liste, ab Tablet vier Spalten */
.steps { display: grid; grid-template-columns: 1fr; gap: .9rem; counter-reset: step; margin: 0; padding: 0; list-style: none; }
.steps .step { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.steps .step b { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--brand); color: #E9D6A6; font: 700 1.05rem/2.4rem var(--sans); text-align: center; }
.steps .step span { font-size: 1rem; line-height: 1.45; color: var(--ink-2); padding-top: .15rem; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .steps .step { flex-direction: column; gap: .8rem; padding: 1.4rem 1.3rem; }
  .steps .step span { font-size: .95rem; padding-top: 0; }
}
