/* ===== Schriften (lokal gehostet, DSGVO-freundlich) ===== */
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }

/* ===== Farben & Grundwerte ===== */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --sand: #f1ebe1;
  --ink: #1c1b2e;
  --muted: #5f5e72;
  --line: #e4ddd1;
  --brand: #1A1847;
  --brand-dark: #110f33;
  --brand-soft: #e9e8f4;
  --accent: #F2A93B;
  --accent-soft: #FDF1DC;
  --ok: #2e7d4f;
  --err: #b3261e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(30,42,43,.06), 0 8px 24px rgba(30,42,43,.07);
  --max: 1180px;
  --serif: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gold: #C98A1A;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; font-weight: 400; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--serif); font-weight: 800; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
h3 { font-size: 19px; line-height: 1.3; }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--sand { background: var(--sand); }
.section--brand { background: var(--brand); color: #fff; }
.section--brand h2, .section--brand h3 { color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: 13px; font-weight: 800; color: var(--gold); margin-bottom: .6em; display: block; }
.lead { font-size: 18px; font-weight: 400; line-height: 1.7; color: var(--muted); max-width: 680px; }
.section--brand .lead { color: #d9d8ec; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: 800 17px var(--sans); text-decoration: none; cursor: pointer; transition: .15s;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--accent { background: var(--accent); color: var(--brand); }
.btn--accent:hover { background: #F7BA55; }
.btn--ghost { border-color: currentColor; color: var(--brand); background: transparent; }
.btn--ghost:hover { background: var(--brand-soft); }
.btn--light { background: #fff; color: var(--brand); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* ===== Kopfzeile ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,247,242,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo img { height: 58px; width: auto; }
@media (max-width: 640px) { .logo img { height: 48px; } }
.logo-text { font-family: var(--serif); font-size: 1.1rem; font-weight: 800; line-height: 1; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.logo-text small { display: block; font-family: var(--sans); font-size: .6rem; letter-spacing: .42em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; padding: .5em .8em; border-radius: 8px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.nav a[aria-current="page"] { font-weight: 700; }
.nav .btn { margin-left: 8px; color: #fff; padding: .6em 1.1em; font-size: 15px; font-weight: 800; }
.nav .btn:hover { background: var(--brand-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
@media (max-width: 1240px) and (min-width: 1101px) { .nav a { padding: .5em .6em; font-size: 14.5px; } }
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: .8em; }
  .nav .btn { margin: 8px 0 0; }
}

/* ===== Hero ===== */
.hero { position: relative; padding: 88px 0 96px; overflow: hidden; background: linear-gradient(135deg, var(--brand) 0%, #2d2a6e 100%); color: #fff; }
.hero.has-image { background-size: cover; background-position: center; }
.hero.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,24,71,.88) 0%, rgba(26,24,71,.6) 55%, rgba(26,24,71,.2) 100%); }
.hero .container { position: relative; }
.hero h1 { color: #fff; max-width: 760px; font-size: clamp(30px, 4vw, 48px); }
.hero .lead { color: #e2e1f0; }
.hero .eyebrow { color: #FFC65C; }
.hero-deco { position: absolute; right: -60px; bottom: -40px; width: 460px; opacity: .12; pointer-events: none; }
.page-hero { padding: 64px 0 56px; background: var(--sand); border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-bottom: 0; }

/* ===== Karten / Raster ===== */
.grid { display: grid; gap: 24px; }
.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: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 52px 0; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin-top: .2em; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; }
.card--link { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; display: block; }
.card--link:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(30,42,43,.12); }
.more { color: var(--brand); font-weight: 600; margin-top: .8em; display: inline-block; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1847' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ===== Objektkarten ===== */
.obj-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.obj-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(30,42,43,.12); }
.obj-media { position: relative; aspect-ratio: 3 / 2; background: var(--sand); }
.obj-media img { width: 100%; height: 100%; object-fit: cover; }
.obj-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-soft), var(--sand)); color: var(--brand); }
.obj-placeholder svg { width: 64px; height: 64px; opacity: .55; }
.badge { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--brand); font-size: .75rem; font-weight: 600; padding: .3em .75em; border-radius: 999px; letter-spacing: .03em; }
.badge--status { left: auto; right: 12px; background: var(--accent); color: var(--brand); }
.badge--sold { background: var(--brand); color: #fff; }
.badge--demo { top: auto; bottom: 12px; background: #fff3cd; color: #7a5b00; }
.obj-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.obj-loc { font-size: .85rem; color: var(--muted); margin-bottom: .3em; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.obj-nr { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--brand); white-space: nowrap; }
.form input[readonly] { background: var(--sand, #f5f2ec); color: var(--brand); font-weight: 700; cursor: default; }
.obj-body h3 { font-size: 22px; margin-bottom: .6em; }
.obj-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; color: var(--muted); margin-top: auto; padding-top: 10px; }
.obj-price { font-family: var(--serif); font-size: 24px; font-weight: 800; color: var(--brand); margin-top: 10px; }
.obj-price small { font-family: var(--sans); font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.obj-card.is-sold { opacity: .85; }
.empty { padding: 48px 32px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); grid-column: 1 / -1; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { border: 1px solid var(--line); background: var(--surface); padding: .5em 1.1em; border-radius: 999px; font: 700 15px var(--sans); cursor: pointer; color: var(--ink); text-decoration: none; }
.chip.active, .chip:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ===== Exposé ===== */
.expose-head { padding-top: 40px; padding-bottom: 24px; }
.expose-head h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.25; letter-spacing: 0; max-width: 900px; margin-bottom: 24px; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 1em; }
.breadcrumb a { color: var(--muted); }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(280px, 48vw, 520px); border-radius: var(--radius); overflow: hidden; }
.gallery > * { overflow: hidden; background: var(--sand); cursor: zoom-in; border: 0; padding: 0; }
.gallery > *:first-child { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery > *:hover img { transform: scale(1.03); }
.gallery.single { grid-template-columns: 1fr; }
.gallery .more-photos { position: relative; }
.gallery .more-photos span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(26,24,71,.55); color: #fff; font-weight: 600; font-size: 1.1rem; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; } .gallery > *:not(:first-child) { display: none; } }

.expose-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding-top: 32px; padding-bottom: 72px; align-items: start; }
@media (max-width: 960px) { .expose-layout { grid-template-columns: 1fr; } }
.keyfacts-box { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 24px 0 32px; background: var(--line); }
.keyfacts-adresse { background: var(--surface); padding: 14px 18px; margin-bottom: 1px; font-weight: 600; color: var(--brand); }
.keyfacts-adresse span { display: block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.keyfacts { display: flex; gap: 1px; margin: 0; }
.keyfacts div { background: var(--surface); padding: 14px 14px; flex: 1 1 auto; min-width: 0; }
.keyfacts dt { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.keyfacts dd { white-space: nowrap; margin: 4px 0 0; font-family: var(--serif); font-size: clamp(16px, 1.7vw, 21px); font-weight: 700; }
.keyfacts dt { white-space: nowrap; font-size: 11px; letter-spacing: .05em; }
@media (max-width: 640px) { .keyfacts { flex-wrap: wrap; } .keyfacts div { flex: 1 1 40%; } }
.expose-section { margin-bottom: 36px; }
.expose-section h2 { font-size: 1.5rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.tags li { background: var(--brand-soft); color: var(--brand); padding: .35em .9em; border-radius: 999px; font-size: .9rem; font-weight: 500; }
.datatable { width: 100%; border-collapse: collapse; font-size: .96rem; }
.datatable th, .datatable td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.datatable th { color: var(--muted); font-weight: 500; width: 45%; }
.sticky-box { position: sticky; top: 96px; }
.sticky-box--lang { position: static; }
.price-box { background: var(--surface); color: var(--brand); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 16px; box-shadow: var(--shadow); }
.price-box .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.price-box .value { font-family: var(--serif); font-size: 2rem; font-weight: 800; line-height: 1.2; }
.price-box .sub { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.notice { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 8px; font-size: .93rem; margin: 16px 0; }
.notice--demo { background: #fff3cd; border-color: #d4a800; }

/* ===== Formulare ===== */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 5px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=password], .form input[type=number], .form input[type=date], .form input:not([type]), .form select, .form textarea {
  width: 100%; padding: .75em .9em; border: 1px solid #d3cabb; border-radius: 10px; background: #fff;
  font: 400 1rem var(--sans); color: var(--ink);
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; font-weight: 400; }
.form .check input { margin-top: .3em; width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.form .hp { position: absolute; left: -5000px; }
.form-msg { padding: 14px 16px; border-radius: 10px; font-size: .95rem; display: none; }
.form-msg.ok { display: block; background: #e5f3ea; color: var(--ok); }
.form-msg.err { display: block; background: #fbe9e7; color: var(--err); }
.small { font-size: .85rem; color: var(--muted); }

/* ===== Vertrag ===== */
.contract { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; max-height: 520px; overflow-y: auto; font-size: .95rem; }
.contract h3 { font-size: 1.1rem; margin-top: 1.4em; }
.contract h3:first-child { margin-top: 0; }
.contract .vertrag-objekt { list-style: none; padding: 12px 16px; margin: 0 0 1em; background: var(--sand); border-radius: 10px; }
.contract .vertrag-objekt li { margin: 2px 0; }
.contract .vertrag-objekt li:nth-child(2) { font-weight: 700; color: var(--brand); }
.contract .vertrag-abschluss { margin-top: 1.4em; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .88rem; color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--brand); display: grid; place-items: center; font-weight: 800; }

/* ===== Lightbox ===== */
.lightbox { position: fixed; inset: 0; background: rgba(10,16,17,.94); z-index: 200; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; }
.lightbox .lb-next { right: 16px; top: 50%; }
.lightbox .lb-count { position: absolute; bottom: 18px; color: #ccc; font-size: .9rem; }

/* ===== Fußzeile ===== */
.site-footer { background: var(--sand); color: var(--muted); padding: 56px 0 28px; font-size: .94rem; border-top: 4px solid var(--accent); }
.site-footer a { color: var(--brand); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h4 { color: var(--brand); font-family: var(--serif); font-size: 14px; margin: 0 0 .9em; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .45em; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; font-weight: 400; }
.footer-bottom a { font-size: 12px; font-weight: 400; }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
.legal { max-width: 820px; }
.todo { background: #fff3cd; padding: 0 .3em; border-radius: 4px; }

/* Zweispaltige Bereiche mit ungleicher Breite */
.split--a { grid-template-columns: 1.2fr 1fr; }
.split--b { grid-template-columns: 1fr 1.4fr; }
@media (max-width: 860px) { .split--a, .split--b { grid-template-columns: 1fr; } }
.grid > * { min-width: 0; }
.form select { max-width: 100%; text-overflow: ellipsis; }
[hidden] { display: none !important; }

/* Bilder in Inhaltsbereichen */
.media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.media--tall img { aspect-ratio: 3 / 4; }
.hero--page { padding: 84px 0 76px; }
.footer-head { display: flex; align-items: center; gap: 20px; padding-bottom: 32px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-head img { width: 64px; height: auto; flex: none; }
.footer-head .footer-logo { width: 230px; }
.footer-head .footer-badge { width: 92px; margin-left: auto; }
@media (max-width: 640px) { .footer-head { flex-direction: column; align-items: flex-start; } .footer-head .footer-badge { margin-left: 0; width: 80px; } }
.footer-title { font-family: var(--serif); font-weight: 800; font-size: clamp(26px, 3vw, 37px); line-height: 1.15; color: var(--brand); margin: 0; letter-spacing: -.01em; }
.footer-sub { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-top: 6px; }
.badge-img { width: 110px; height: auto; }
.trust { display: flex; align-items: center; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 40px; color: var(--muted); font-size: .95rem; }

/* WhatsApp Business */
.whatsapp { display: inline-flex; align-items: center; gap: 20px; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 16px 22px 16px 16px; margin-top: 28px; text-align: left; box-shadow: var(--shadow); max-width: 100%; }
.whatsapp-qr { width: 120px; height: 120px; flex: none; }
.whatsapp strong { display: block; font-weight: 800; font-size: 17px; }
.whatsapp span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.whatsapp .btn { margin-top: 10px; }
.btn--whatsapp { background: #25D366; color: #0b3d1e; font-size: 15px; padding: .55em 1.1em; }
.btn--whatsapp:hover { filter: brightness(.95); }
/* Auf dem Handy kann man den eigenen Bildschirm nicht scannen: QR nur, wenn kein Direktlink da ist */
@media (max-width: 640px) { .whatsapp:has(.btn--whatsapp) .whatsapp-qr { display: none; } }

/* Vorteils-Karten (Immobilien-Boutique) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }
.feature { position: relative; overflow: hidden; background: var(--surface); border-radius: 20px; padding: 34px 30px 30px; box-shadow: 0 2px 4px rgba(26,24,71,.04), 0 18px 40px rgba(26,24,71,.08); transition: transform .2s, box-shadow .2s; }
.feature::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 56px; background: var(--gold); transition: width .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(26,24,71,.05), 0 26px 50px rgba(26,24,71,.14); }
.feature:hover::after { width: 100%; }
.feature-nr { display: block; font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -.03em; margin-bottom: 18px; background: linear-gradient(135deg, var(--brand) 0%, #3a3690 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feature-icon { position: relative; width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 22px; background: linear-gradient(140deg, var(--brand) 0%, #3a3690 100%); box-shadow: 0 10px 22px rgba(26,24,71,.25); }
.feature-icon svg { width: 36px; height: 36px; }
.feature h3 { position: relative; font-size: 19px; margin-bottom: .45em; }
.feature p { position: relative; color: var(--muted); margin: 0; }
/* Bild so hoch wie der Text daneben */
.media--fill { align-self: stretch; }
.media--fill img { height: 100%; aspect-ratio: auto; min-height: 320px; }

.empty-title { display: block; font-weight: 800; font-size: 26px; color: var(--ink); margin-bottom: 8px; }

/* Leistungsübersicht (Leistungen-Seite): nummerierte Liste mit Gold-Akzent */
.leistungsliste { list-style: none; margin: 0; padding: 8px 28px; counter-reset: leistung; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow); }
.leistungsliste li { counter-increment: leistung; display: flex; align-items: baseline; gap: 18px; padding: 16px 0; font-weight: 600; color: var(--brand); border-bottom: 1px solid var(--line); }
.leistungsliste li:last-child { border-bottom: 0; }
.leistungsliste li::before { content: counter(leistung, decimal-leading-zero); flex: 0 0 auto; min-width: 28px; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--gold); }
@media (max-width: 600px) { .leistungsliste { padding: 4px 20px; } .leistungsliste li { padding: 13px 0; gap: 14px; } }
@media (max-width: 600px) { h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; } }

/* Maklervertrag als Schritt-für-Schritt-Ablauf */
.wizard-wrap { max-width: 860px; }
.wizard-objekt { display: flex; gap: 18px; align-items: center; padding: 18px; margin-bottom: 28px; }
.wizard-objekt:empty { display: none; }
.wizard-objekt img, .wizard-objekt .obj-placeholder { width: 120px; height: 84px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.wizard-objekt .obj-placeholder svg { width: 32px; height: 32px; }
.wizard-objekt h3 { font-size: 17px; margin: 2px 0 4px; }
.wizard-objekt .meta { font-size: 13px; color: var(--muted); }
.wizard-objekt .meta b { color: var(--brand); }
.stepper { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: none; }
.stepper li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 10px; border-top: 4px solid var(--line); }
.stepper li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--line); color: var(--ink); font-size: 12px; flex: 0 0 auto; }
.stepper li.is-active { color: var(--brand); border-top-color: var(--accent); }
.stepper li.is-active span { background: var(--accent); color: var(--brand); }
.stepper li.is-done { color: var(--brand); border-top-color: var(--brand); }
.stepper li.is-done span { background: var(--brand); color: #fff; }
.wizard fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; min-width: 0; }
.wizard legend { font-size: 22px; font-weight: 800; color: var(--brand); margin-bottom: 4px; padding: 0; }
.wizard .contract { max-height: 460px; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.wizard-done { text-align: center; padding: 32px 24px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow); }
.wizard-done h2 { font-size: 26px; margin-bottom: .4em; }
@media (max-width: 640px) {
  .stepper { grid-template-columns: repeat(4, 1fr); }
  .stepper li { flex-direction: column; align-items: flex-start; font-size: 11px; gap: 4px; }
  .wizard-objekt img, .wizard-objekt .obj-placeholder { width: 84px; height: 64px; }
  .step-nav .btn { flex: 1 1 100%; }
  .step-nav span:empty { display: none; }
}

/* Gesperrtes Kaufexposé */
.lock-box { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 28px 32px; margin: 8px 0 32px; box-shadow: var(--shadow); }
.lock-box h2 { font-size: 24px; margin-bottom: .4em; }
.lock-box p, .lock-box ol { color: var(--muted); }
.lock-box ol { margin: 0 0 20px; padding-left: 1.2em; }
.lock-box ol li { margin-bottom: .3em; }
.expose-tools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.expose-tools .btn { flex: 1 1 auto; }

/* PDF-Exposé (wird nur zum Erzeugen der PDF-Datei aufgebaut) */
.pdf-expose { width: 794px; background: #fff; color: #1c1b2e; font: 400 12px/1.55 var(--sans); padding: 8px 48px; }
.pdf-expose .pdf-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid #F2A93B; padding-bottom: 14px; margin-bottom: 20px; }
.pdf-expose .pdf-head img { height: 44px; }
.pdf-expose .pdf-head div { text-align: right; font-size: 11px; color: #5f5e72; }
.pdf-expose h1 { font-size: 24px; line-height: 1.2; margin: 6px 0 12px; color: #1A1847; }
.pdf-expose h2 { font-size: 15px; margin: 18px 0 8px; color: #1A1847; }
.pdf-expose .kicker { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #C98A1A; }
.pdf-expose .pdf-hero { width: 100%; height: 300px; object-fit: cover; border-radius: 8px; margin-bottom: 12px; }
.pdf-expose .pdf-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pdf-expose .pdf-fotos img { width: 100%; height: 190px; object-fit: cover; border-radius: 6px; }
.pdf-expose .pdf-facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #e4ddd1; border-radius: 8px; margin: 12px 0; }
.pdf-expose .pdf-facts div { padding: 8px 10px; border-right: 1px solid #e4ddd1; }
.pdf-expose .pdf-facts div:last-child { border-right: 0; }
.pdf-expose .pdf-facts dt { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #5f5e72; }
.pdf-expose .pdf-facts dd { margin: 0; font-size: 14px; font-weight: 800; color: #1A1847; }
.pdf-expose table { width: 100%; border-collapse: collapse; }
.pdf-expose th, .pdf-expose td { text-align: left; padding: 5px 0; border-bottom: 1px solid #eee7dc; font-size: 11.5px; vertical-align: top; }
.pdf-expose th { font-weight: 500; color: #5f5e72; width: 45%; }
.pdf-expose .pdf-foot { margin-top: 22px; padding-top: 10px; border-top: 1px solid #e4ddd1; font-size: 10px; color: #5f5e72; }
.pdf-expose .pdf-block { page-break-inside: avoid; }
/* Startseite: Bildkarten statt Icon-Kästchen */
.card--bild { padding: 0; overflow: hidden; border-top: 3px solid var(--gold); display: flex; flex-direction: column; }
.card--bild .card-bild { aspect-ratio: 3 / 2; overflow: hidden; }
.card--bild .card-bild img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.card--bild:hover .card-bild img { transform: scale(1.04); }
.card--bild .card-text { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.card--bild .card-text .more { margin-top: auto; padding-top: .8em; }
/* Courtage: alles auf einer Seite */
.wizard { display: grid; gap: 40px; }
.wizard legend { display: flex; align-items: center; gap: 12px; }
.wizard .step-nr { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--brand); font-size: 15px; flex: 0 0 auto; }
.wizard .contract.contract--lang { max-height: 600px; }
.contract .vertrag-trenner { border: 0; border-top: 2px solid var(--gold); margin: 2em 0; opacity: .5; }
@media (max-width: 600px) { .wizard .contract.contract--lang { max-height: 70vh; padding: 20px; } }
/* Exposé: Bildergalerie mit Pfeilen */
.slider { margin-top: 4px; }
.slider-buehne { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand); height: clamp(240px, 46vw, 560px); }
.slider-band { display: flex; height: 100%; transition: transform .45s ease; }
.slider-bild { flex: 0 0 100%; height: 100%; border: 0; padding: 0; background: var(--sand); cursor: zoom-in; }
.slider-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider-pfeil { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--brand); font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 4px 16px rgba(26,24,71,.18); display: grid; place-items: center; padding-bottom: 4px; }
.slider-pfeil:hover { background: #fff; }
.slider-zurueck { left: 16px; }
.slider-weiter { right: 16px; }
.slider-zahl { position: absolute; right: 16px; bottom: 14px; background: rgba(26,24,71,.7); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.slider-leiste { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.slider-leiste button { flex: 0 0 auto; width: 96px; height: 64px; border: 2px solid transparent; border-radius: 8px; padding: 0; overflow: hidden; cursor: pointer; opacity: .65; background: var(--sand); }
.slider-leiste button.aktiv { border-color: var(--gold); opacity: 1; }
.slider-leiste img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider--leer { height: clamp(220px, 36vw, 420px); border-radius: var(--radius); overflow: hidden; background: var(--sand); display: grid; place-items: center; }
.slider--leer .obj-placeholder svg { width: 56px; height: 56px; color: var(--muted); }
@media (max-width: 640px) { .slider-pfeil { width: 38px; height: 38px; font-size: 24px; } .slider-zurueck { left: 8px; } .slider-weiter { right: 8px; } .slider-leiste button { width: 72px; height: 50px; } }
/* Exposé: Objektdaten, Lage, Grundriss */
.datatable tr.summe th, .datatable tr.summe td { font-weight: 800; color: var(--brand); }
.karten-link { font-weight: 600; }
.karten-link a { color: var(--brand); }
.lightbox--hell { background: rgba(250,247,242,.97); }
.lightbox--hell img { background: #fff; padding: 12px; border-radius: 10px; box-shadow: 0 10px 40px rgba(26,24,71,.15); }
.lightbox--hell button { background: var(--brand); }
.lightbox--hell .lb-count { color: var(--brand); font-weight: 700; }
.pdf-expose .pdf-adresse { margin: -4px 0 12px; font-weight: 600; color: #1A1847; }
.pdf-expose a { color: #1A1847; font-weight: 600; }
.pdf-expose .pdf-kontakt { margin-top: 22px; background: #F3ECE2; border-radius: 8px; padding: 6px 16px 12px; }
.pdf-expose .pdf-kontakt h2 { padding-bottom: 6px; border-bottom: 2px solid #C98A1A; }
.pdf-expose .pdf-kontakt th { width: 22%; }
.pdf-expose .pdf-kontakt th, .pdf-expose .pdf-kontakt td { border-bottom-color: #e4d9c8; }
.pdf-expose tr.summe th, .pdf-expose tr.summe td { font-weight: 800; color: #1A1847; }
.pdf-expose .pdf-grundriss { display: block; width: 100%; height: 620px; object-fit: contain; }
/* Referenzkarten: nicht anklickbar, Fotos zum Durchklicken */
.obj-card.is-sold:hover { transform: none; box-shadow: var(--shadow); }
.obj-slider { overflow: hidden; }
.obj-slider .slider-band { height: 100%; }
.is-sold .obj-slider .slider-bild { cursor: default; }
.obj-slider .slider-pfeil { width: 36px; height: 36px; font-size: 24px; }
.obj-slider .slider-zurueck { left: 10px; }
.obj-slider .slider-weiter { right: 10px; }
.obj-slider .slider-zahl { right: 10px; bottom: 10px; font-size: 12px; }
.obj-slider .badge { z-index: 2; }

/* Mietexposé */
.miet-hinweis { margin-top: 12px; }
.lage-kurz { font-weight: 700; color: var(--brand); }
.ausstattung-liste { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
@media (max-width: 480px) { .ausstattung-liste { grid-template-columns: 1fr; } }
.ausstattung-liste li { display: flex; gap: 14px; align-items: flex-start; }
.aus-icon { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.aus-icon svg { width: 24px; height: 24px; }
.ausstattung-liste div { display: grid; gap: 1px; padding-top: 2px; }
.ausstattung-liste b { color: var(--brand); font-size: .98rem; }
.ausstattung-liste div > span { color: var(--ink); font-size: .92rem; }
.ausstattung-liste small { font-size: .82rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.miet-form .row { gap: 10px; }
.miet-form .notice { margin: 0; }
.miet-bedingungen { background: var(--sand); border-radius: 10px; padding: 12px 14px; }
.miet-bedingungen ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }

/* Wasserzeichen über Objektfotos: Logo in transparentem Weiß, mittig im unteren Fünftel */
.wz { position: absolute; left: 0; right: 0; top: 80%; height: 20%; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 1; }
.wz img, .obj-media .wz img, .lightbox .wz img, .pdf-expose .wz img { width: auto; height: 62%; max-width: none; max-height: none; object-fit: contain; opacity: .7; border-radius: 0; padding: 0; margin: 0; background: none; box-shadow: none; }
.lb-bild { position: relative; display: inline-flex; max-width: 92vw; max-height: 86vh; }
.pdf-foto { position: relative; }
.pdf-foto--hero { margin-bottom: 12px; }
.pdf-expose .pdf-foto--hero .pdf-hero { margin-bottom: 0; display: block; }
.pdf-expose .pdf-foto img:not(.wz img) { display: block; }

/* Mietkarten: Hinweis zur Miete in eigener Zeile unter dem Preis */
.obj-price--miete small { display: block; margin-top: 2px; }
