/* Modern Brokers – Unterseiten (Objekt-Detail, Exposé, interne Übersichten).
   Baut auf mbi.css auf. */
main.seite { font-size:18px; }
:where(main.seite) a { color:inherit; }
.hero-link { display:block; margin-bottom:24px; } .hero-link .hero-img { margin-bottom:0; }
.detail .mbi-modell { margin:56px 0 16px; }
.facts { z-index:3; }
main.seite { max-width:1180px; margin:0 auto; padding:180px 32px 96px; }
.eyebrow { font-family:var(--ui); font-size:15px; font-weight:600; letter-spacing:.25em; text-transform:uppercase; color:var(--gold-on-light); margin-bottom:12px; }
main.seite h1 { font-size:clamp(34px,4vw,54px); font-weight:400; line-height:1.2; margin-bottom:14px; }
main.seite h2 { font-size:clamp(26px,2.6vw,34px); font-weight:400; line-height:1.25; margin:48px 0 16px; }
.lead { font-family:var(--ui); font-size:20px; line-height:1.6; color:var(--ink-mid); max-width:62ch; margin-bottom:32px; }
.filter { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:32px; font-family:var(--ui); font-size:16px; }
.filter a { text-decoration:none; border:1px solid rgba(0,0,0,.2); padding:9px 18px; border-radius:2px; }
.filter a.is-active { background:var(--ink); color:#fff; border-color:var(--ink); }
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:24px; }
.card { background:#fff; border:1px solid rgba(127,100,15,.25); border-radius:4px; overflow:hidden; text-decoration:none; display:flex; flex-direction:column; }
.card-img { aspect-ratio:3/2; background:var(--sand-dark); position:relative; }
.card-img img { width:100%; height:100%; object-fit:cover; display:block; }
.card-status { position:absolute; top:12px; left:12px; background:var(--ink); color:#fff; font-family:var(--ui); font-size:13px; letter-spacing:.08em; text-transform:uppercase; padding:5px 12px; border-radius:2px; }
.card-body { padding:22px 24px 26px; }
.card-meta { font-family:var(--ui); font-size:15px; color:#777; margin-bottom:4px; }
.card-title { font-size:24px; line-height:1.3; margin-bottom:10px; }
.card-facts { font-family:var(--ui); font-size:16px; color:var(--ink-mid); display:flex; gap:14px; flex-wrap:wrap; }
.card-price { font-family:var(--ui); font-size:22px; font-weight:500; margin-top:10px; }
.empty { font-family:var(--ui); font-size:18px; color:#777; }
.owner { margin-top:64px; background:var(--ink); color:#fff; padding:40px; border-radius:4px; }
.owner h2 { margin-top:0; }
.owner p { font-family:var(--ui); font-size:18px; color:rgba(255,255,255,.75); max-width:62ch; margin-bottom:22px; }
.btn { display:inline-block; background:var(--gold-light); color:var(--ink); font-family:var(--ui); font-size:15px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; padding:16px 30px; border-radius:2px; text-decoration:none; }
.detail { display:grid; grid-template-columns:minmax(0,1fr) 380px; gap:56px; align-items:start; }
.gallery { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:10px; margin-top:12px; }
.gallery img { width:100%; aspect-ratio:3/2; object-fit:cover; border-radius:2px; display:block; }
.hero-img { width:100%; aspect-ratio:3/2; object-fit:cover; border-radius:4px; display:block; margin-bottom:24px; background:var(--sand-dark); }
.text { font-family:var(--ui); font-size:18px; line-height:1.7; color:var(--ink-mid); max-width:68ch; }
.text ul { padding-left:24px; }
.text li + li { margin-top:4px; }
.facts { background:#fff; border:1px solid rgba(127,100,15,.25); border-radius:4px; padding:28px; font-family:var(--ui); font-size:17px; position:sticky; top:24px; }
.facts dl { display:grid; grid-template-columns:fit-content(60%) minmax(0,1fr); gap:8px 16px; }
.facts dt { hyphens:manual; }
.facts dt { color:#777; }
.facts dd { text-align:right; }
.facts .price { font-size:34px; font-weight:500; margin-bottom:14px; }
.facts h3 { font-size:14px; letter-spacing:.08em; text-transform:uppercase; color:#777; margin:20px 0 8px; font-weight:600; }
.facts .btn { width:100%; text-align:center; margin-top:20px; }
.back { font-family:var(--ui); font-size:16px; display:inline-block; margin-bottom:24px; }
/* 3D-Modul auf heller Seite: Texte dunkel, Bühne bleibt dunkel */
main .mbi-modell { --mbi-modell-text: var(--ink); --mbi-modell-gedimmt: #777; --mbi-modell-gold: var(--gold-on-light); --mbi-modell-gold-hell: #A5822A; }
/* 3D frei auf der Seite: kein Rahmen, weich ausgeblendete Ränder */
main .mbi-modell__buehne { background-color: transparent; border: 0; }
/* Ränder: links/rechts und unten/oben garantiert vollständig ausgeblendet */
main .mbi-modell__buehne {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 10%, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 10%, #000 72%, transparent 100%);
  mask-composite: intersect;
}
main .mbi-modell__status { color: var(--gold-on-light); }
main .mbi-modell__titel { font-family:var(--body); font-weight:400; font-size:clamp(26px,2.6vw,34px); line-height:1.25; }
main .mbi-modell__label { font-family:var(--ui); font-weight:600; letter-spacing:.25em; font-size:15px; }
main .mbi-modell__hinweis { font-family:var(--ui); font-size:17px; line-height:1.55; }
main .mbi-modell__status { font-size:17px; }
.mbi-modell__status { font-family:var(--ui); }
.mbi-modell__start { font-family:var(--ui); font-weight:600; text-transform:uppercase; letter-spacing:.08em; font-size:15px; border-radius:2px; }
@media (max-width:860px) {
  main { padding:40px 20px 64px; }
  .text { font-size:17px; }
  .facts { font-size:16px; padding:22px; }
  .gallery { grid-template-columns:repeat(2,1fr); }
  .mbi-modell__fuss { flex-direction:column; align-items:flex-start; }
  /* Mobil: Titelbild, dann Faktenbox (Preis), dann Texte */
  .detail { display:flex; flex-direction:column; gap:0; }
  .detail > div { display:contents; }
  .detail > div > * { order:2; }
  .detail .hero-link, .detail .hero-img { order:0; }
  .facts { order:1; position:static; margin-bottom:8px; }
}
/* ===== Objekt-Bausteine ===== */
.unterzeile { font-family:var(--ui); font-size:15px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--gold-on-light); margin:20px 0 10px; }
.chips { list-style:none; display:flex; flex-wrap:wrap; gap:8px; font-family:var(--ui); font-size:16px; }
.chips li { border:1px solid rgba(127,100,15,.35); border-radius:999px; padding:6px 14px; background:#fff; }
.kleintext { font-family:var(--ui); font-size:15px; line-height:1.6; color:#6f6760; margin-top:10px; max-width:72ch; }
.facts-id { font-family:var(--ui); font-size:14px; letter-spacing:.12em; color:#8a8178; margin-bottom:6px; }
.facts .price .ab { font-size:20px; font-weight:400; color:#6f6760; }
.btn--rahmen { background:transparent; border:1px solid var(--ink); color:var(--ink); }
button.btn { cursor:pointer; border:0; } button.btn--rahmen { border:1px solid var(--ink); }
.lageplan { margin:20px 0 0; }
.lageplan img { display:block; width:100%; height:auto; border-radius:4px; }
.lageplan figcaption { font-family:var(--ui); font-size:14px; color:#6f6760; margin-top:8px; }
.lageplan figcaption a { color:inherit; }
.entfernungen { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:12px; margin-top:20px; font-family:var(--ui); }
.entfernungen div { background:#fff; border:1px solid rgba(127,100,15,.2); border-radius:4px; padding:12px 16px; }
.entfernungen dt { font-size:15px; color:#6f6760; } .entfernungen dd { font-size:20px; }
.tabelle { font-family:var(--ui); font-size:18px; border-top:1px solid rgba(0,0,0,.1); }
.tabelle > div { display:grid; grid-template-columns:220px 1fr; gap:16px; padding:14px 0; border-bottom:1px solid rgba(0,0,0,.1); }
.tabelle dt { color:#6f6760; }
/* Anfrage-Buttons */
.anfrage { display:grid; gap:10px; margin-top:22px; }
.anfrage .btn { width:100%; text-align:center; margin-top:0; }
.anfrage__tel { display:flex; align-items:center; justify-content:center; gap:8px; font-family:var(--ui); font-size:17px; text-decoration:none; padding:10px; border-radius:2px; }
.anfrage__tel:hover { color:var(--gold-on-light); }
.anfrage__tel svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linejoin:round; }
.anfrage__einheit { font-family:var(--ui); font-size:14px; color:#8a8178; text-align:center; }
.anfrage__einheit.ist-gewaehlt { color:var(--ink); font-weight:500; }
/* Einheiten auswählbar (Exposé) */
.einheiten__liste--auswahl > li { display:flex; }
.einheiten__liste--auswahl .einheit { width:100%; cursor:pointer; position:relative; transition:border-color .15s ease, box-shadow .15s ease; }
.einheit__wahl { position:absolute; opacity:0; pointer-events:none; }
.einheiten__liste--auswahl .einheit:hover { border-color:var(--gold-on-light); }
.einheiten__liste--auswahl .einheit:has(.einheit__wahl:checked) { border-color:var(--gold-on-light); box-shadow:0 0 0 2px var(--gold-light) inset; background:#fffdf6; }
.einheiten__liste--auswahl .einheit:has(.einheit__wahl:focus-visible) { outline:2px solid var(--gold-on-light); outline-offset:2px; }
.einheiten__liste--auswahl .einheit::after { content:""; position:absolute; top:16px; right:16px; width:20px; height:20px; border-radius:50%; border:1.5px solid rgba(127,100,15,.5); }
.einheiten__liste--auswahl .einheit:has(.einheit__wahl:checked)::after { background:var(--gold-light); border-color:var(--gold-on-light); box-shadow:inset 0 0 0 4px #fff; }
/* Einheiten */
.einheiten { margin-top:8px; }
.einheiten__liste { list-style:none; display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:12px; margin:18px 0 6px; font-family:var(--ui); }
.einheit { background:#fff; border:1px solid rgba(127,100,15,.3); border-radius:6px; padding:16px 18px; display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; }
.einheit__stock { width:100%; font-size:20px; font-family:var(--body); }
.einheit__richtung { display:inline-flex; align-items:center; gap:6px; font-size:17px; }
.einheit__richtung svg { width:22px; height:22px; fill:none; stroke:var(--gold-on-light); stroke-width:1.4; }
.einheit__richtung svg path { fill:var(--gold-on-light); stroke:none; transform:rotate(var(--grad)); transform-origin:12px 12px; }
.einheit__tag { font-size:13px; letter-spacing:.06em; text-transform:uppercase; border:1px solid rgba(0,0,0,.2); border-radius:999px; padding:2px 10px; color:#6f6760; }
.einheit__tag--res { border-color:var(--gold-on-light); color:var(--gold-on-light); }
.einheit__preis { width:100%; font-size:19px; font-weight:500; margin-top:4px; }
.einheit__nr { width:100%; font-size:14px; color:#8a8178; }
.einheit--reserviert { opacity:.7; }
/* Beispielrechnung */
.rechner { margin-top:8px; }
.rechner__grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:28px; margin-top:18px; font-family:var(--ui); }
.rechner__eingaben { display:grid; gap:12px; }
.rechner__eingaben label { display:grid; gap:4px; font-size:15px; color:#6f6760; }
.rechner__feld { display:flex; align-items:center; background:#fff; border:1px solid rgba(0,0,0,.18); border-radius:4px; }
.rechner__feld input { flex:1; min-width:0; border:0; background:transparent; font:inherit; font-size:18px; color:var(--ink); padding:10px 12px; }
.rechner__feld em { font-style:normal; padding:0 12px; color:#8a8178; }
.rechner__feld:focus-within { border-color:var(--gold-on-light); }
.rechner__reset { justify-self:start; background:none; border:0; font:inherit; font-size:15px; color:var(--gold-on-light); text-decoration:underline; cursor:pointer; padding:4px 0; }
.rechner__ergebnis { background:var(--ink); color:#f2efe8; border-radius:6px; padding:24px; align-self:start; }
.rechner__ergebnis > div { display:flex; justify-content:space-between; gap:12px; padding:9px 0; border-bottom:1px solid rgba(255,255,255,.1); font-size:17px; }
.rechner__ergebnis dt { color:rgba(242,239,232,.7); min-width:0; }
.rechner__ergebnis dd { white-space:nowrap; text-align:right; }
.rechner__summe dd, .rechner__quote dd { color:var(--gold-light); font-size:22px; font-weight:500; }
.rechner__quote { border-bottom:0 !important; }
.rechner__hinweis { font-family:var(--ui); font-size:14px; line-height:1.6; color:#6f6760; margin-top:16px; padding:14px 16px; border-left:3px solid var(--gold-light); background:rgba(212,175,90,.08); }
/* Exposé */
.expose__kopf { border-bottom:1px solid rgba(127,100,15,.3); padding-bottom:24px; margin-bottom:32px; }
.expose__meta { font-family:var(--ui); font-size:16px; color:#6f6760; }
.expose__einleitung { margin-bottom:40px; }
.expose__uebersicht { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px; margin-bottom:24px; }
.expose__sprung { display:flex; flex-direction:column; gap:4px; background:#fff; border:1px solid rgba(127,100,15,.25); border-radius:4px; overflow:hidden; text-decoration:none; padding-bottom:14px; }
.expose__sprung img { width:100%; aspect-ratio:3/2; object-fit:cover; margin-bottom:8px; }
.expose__sprung > span, .expose__sprung > strong { padding:0 14px; }
.expose__sprung strong { font-weight:400; font-size:19px; line-height:1.3; }
.expose__preis { font-family:var(--ui); font-size:17px; }
.expose__objekt { padding-top:56px; margin-top:56px; border-top:1px solid rgba(127,100,15,.3); scroll-margin-top:20px; }
.expose__titel { font-size:clamp(30px,3.4vw,44px); margin:0 0 24px; }
.expose__abschluss, .expose__abgelaufen { margin-top:72px; padding:40px; background:#fff; border:1px solid rgba(127,100,15,.25); border-radius:6px; }
.expose__abschluss h2, .expose__abgelaufen h2 { margin-top:0; }
.expose__kontakt { display:flex; flex-wrap:wrap; gap:12px; margin:24px 0 8px; }
@media (max-width:1000px) { .rechner__grid { grid-template-columns:1fr; } }
@media (max-width:720px) {
  .tabelle > div { grid-template-columns:1fr; gap:2px; }
  .expose__abschluss, .expose__abgelaufen { padding:24px; }
}
@media print {
  .facts { position:static; }
  .expose__objekt { break-before:page; }
  a[href]:after { content:none; }
}

/* Einheiten: weitere hinter "Alle anzeigen", Blick und Fläche je Einheit */
.einheiten__liste [hidden] { display:none !important; }
.einheit__blick,
.einheit__flaeche { font-size:15px; color:#6f6760; }
.einheiten__alle { margin:4px 0 14px; }
