:root {
  --bg: #f5f2ec;
  --surface: #ffffff;
  --surface-2: #ece7de;
  --ink: #1c1a17;
  --ink-soft: #5d5850;
  --line: #d9d2c5;
  --accent: #8a6a3d;
  --accent-ink: #ffffff;
  --film-ink: #ffffff;
  --radius: 14px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14130f; --surface: #1d1b17; --surface-2: #26231e; --ink: #f1ece3; --ink-soft: #a9a196;
    --line: #36322b; --accent: #c9a46a; --accent-ink: #14130f; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14130f; --surface: #1d1b17; --surface-2: #26231e; --ink: #f1ece3; --ink-soft: #a9a196;
  --line: #36322b; --accent: #c9a46a; --accent-ink: #14130f; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: .01em; line-height: 1.1; margin: 0; }
.kicker { font: 600 11px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.btn { display: inline-flex; align-items: center; gap: .5em; border: 1px solid currentColor; border-radius: 999px; padding: .7em 1.3em; font: 500 14px/1 var(--sans); text-decoration: none; cursor: pointer; background: transparent; color: inherit; transition: background .2s, color .2s; }
.btn-solid { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { filter: brightness(1.08); }
.btn:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Header ---------- */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); color: var(--film-ink); transition: background .3s, color .3s, box-shadow .3s; }
.topbar.solid { background: color-mix(in srgb, var(--bg) 92%, transparent); color: var(--ink); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font: 500 13px var(--serif); flex: none; }
.brand-logo { height: 42px; width: auto; max-width: 160px; object-fit: contain; flex: none; }
.brand-name { font: 500 18px/1.1 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { display: block; font: 500 10px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.topnav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.topnav a { text-decoration: none; opacity: .85; }
.topnav a:hover { opacity: 1; }
@media (max-width: 900px) { .topnav a:not(.btn) { display: none; } .topnav .btn { padding: .6em 1em; font-size: 13px; } }
@media (max-width: 600px) { .topnav { display: none; } .brand-name { font-size: 16px; } }

/* ---------- Film ---------- */
.film { position: relative; background: #0d0c0a; }
.film-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.film-vids, .film-vids video, .film-still { position: absolute; inset: 0; width: 100%; height: 100%; }
.film-vids video, .film-still { object-fit: cover; }
.film-vids video { opacity: 0; }
.film-still { z-index: 1; will-change: opacity; }
.film-scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 50%, rgba(0,0,0,.62) 100%); }
.film-progress { position: absolute; z-index: 4; left: 0; top: 0; height: 2px; background: var(--film-ink); width: 0; opacity: .85; }

.chapter { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 8vh, 90px); max-width: 620px; color: var(--film-ink); opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .6s ease; pointer-events: none; }
.chapter.on { opacity: 1; transform: none; }
.chapter .kicker { color: #e8d3ad; }
.chapter h2 { font-size: clamp(40px, 6.5vw, 84px); margin: .2em 0 .25em; }
.chapter p { font-size: clamp(15px, 1.4vw, 18px); margin: 0; max-width: 46ch; opacity: .92; text-shadow: 0 1px 12px rgba(0,0,0,.35); }

.hero { max-width: 900px; }
.hero h1 { font-size: clamp(48px, 9vw, 120px); margin: .12em 0 .1em; }
.hero .sub { font: 400 clamp(17px, 2vw, 24px)/1.3 var(--serif); font-style: italic; opacity: .95; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 26px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font: 500 26px/1.1 var(--serif); }
.hero-stats span { font: 500 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.scroll-hint { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); color: var(--film-ink); font: 500 11px var(--sans); letter-spacing: .22em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: opacity .4s; }
.scroll-hint i { width: 1px; height: 34px; background: linear-gradient(var(--film-ink), transparent); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 700px) { .scroll-hint { display: none; } }

.film-nav { position: absolute; z-index: 4; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; }
.film-nav button { all: unset; cursor: pointer; display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: var(--film-ink); font: 500 12px var(--sans); letter-spacing: .08em; }
.film-nav button span { opacity: 0; transform: translateX(6px); transition: .25s; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.film-nav button i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--film-ink); transition: .25s; flex: none; }
.film-nav button.on i { background: var(--film-ink); transform: scale(1.3); }
.film-nav button:hover span, .film-nav button.on span { opacity: 1; transform: none; }
@media (max-width: 700px) { .film-nav { gap: 9px; } .film-nav button span { display: none; } }

.loader { position: absolute; z-index: 4; right: var(--gutter); bottom: 18px; color: var(--film-ink); font: 500 11px var(--sans); letter-spacing: .14em; opacity: .7; transition: opacity .6s; }

/* ---------- Exposé ---------- */
.section { padding: clamp(64px, 10vw, 130px) var(--gutter); }
.wrap { max-width: 1180px; margin: 0 auto; }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(34px, 4.6vw, 58px); }

.keyfacts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.keyfacts div { padding: 26px 20px; border-left: 1px solid var(--line); }
.keyfacts div:first-child { border-left: 0; padding-left: 0; }
.keyfacts b { display: block; font: 500 clamp(28px, 3.2vw, 42px)/1.1 var(--serif); }
.keyfacts span { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 760px) { .keyfacts { grid-template-columns: 1fr 1fr; } .keyfacts div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .keyfacts div:nth-child(-n+2) { border-top: 0; } }

.cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }
.desc h3 { font-size: 28px; margin: 0 0 10px; }
.desc p { margin: 0 0 30px; color: var(--ink-soft); font-size: 17px; }
.facts { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.facts td { padding: 12px 18px; border-bottom: 1px solid var(--line); }
.facts tr:last-child td { border-bottom: 0; }
.facts td:first-child { color: var(--ink-soft); }
.facts td:last-child { text-align: right; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chips span { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; font-size: 14px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery button { all: unset; cursor: zoom-in; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: var(--surface-2); }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery button:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,9,8,.94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 6px; }
.lightbox button { all: unset; cursor: pointer; position: absolute; color: #fff; font-size: 30px; padding: 16px; line-height: 1; }
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 14px; }

.plan { background: var(--surface); border-radius: var(--radius); padding: clamp(18px, 3vw, 36px); }
.plan-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.plan-tabs button { all: unset; cursor: pointer; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; }
.plan-tabs button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.plan svg { width: 100%; height: auto; max-height: 560px; display: block; }
.plan rect { fill: var(--surface-2); stroke: var(--ink); stroke-width: .5; transition: fill .2s; }
.plan .outdoor rect { fill: transparent; stroke-dasharray: 1.5 1.5; }
.plan .room.link { cursor: pointer; }
.plan .room.link:hover rect { fill: color-mix(in srgb, var(--accent) 35%, var(--surface-2)); }
.plan text { fill: var(--ink); font: 500 3.1px var(--sans); text-anchor: middle; pointer-events: none; }
.plan text.area { fill: var(--ink-soft); font-size: 2.5px; font-weight: 400; }
.plan .play { fill: var(--accent); font-size: 2.4px; }
.plan-note { color: var(--ink-soft); font-size: 13px; margin-top: 12px; }

.map { border: 0; width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); background: var(--surface-2); }
.dist { list-style: none; padding: 0; margin: 0; }
.dist li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dist li span:last-child { font-weight: 500; white-space: nowrap; }

.energy { background: var(--surface); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); }
.escale { position: relative; display: grid; grid-template-columns: repeat(9, 1fr); height: 30px; margin: 34px 0 10px; font: 600 12px/30px var(--sans); text-align: center; color: #fff; }
.escale span:nth-child(1) { background: #1a9641; border-radius: 6px 0 0 6px; } .escale span:nth-child(2) { background: #52b151; } .escale span:nth-child(3) { background: #8acb4d; }
.escale span:nth-child(4) { background: #c4e24b; color: #222; } .escale span:nth-child(5) { background: #fee94c; color: #222; } .escale span:nth-child(6) { background: #fdc04a; color: #222; }
.escale span:nth-child(7) { background: #f88d3d; } .escale span:nth-child(8) { background: #ec5a32; } .escale span:nth-child(9) { background: #d7191c; border-radius: 0 6px 6px 0; }
.emarker { position: absolute; top: -26px; transform: translateX(-50%); font: 600 12px var(--sans); color: var(--ink); white-space: nowrap; }
.emarker::after { content: ""; display: block; margin: 2px auto 0; width: 0; height: 0; border: 6px solid transparent; border-top-color: var(--ink); }
.egrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; font-size: 14px; margin-top: 18px; }
.egrid span { color: var(--ink-soft); }

.calc { background: var(--surface); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); }
.calc label { display: block; font-size: 14px; color: var(--ink-soft); margin: 14px 0 6px; }
.calc label b { float: right; color: var(--ink); font-weight: 500; }
.calc input[type=range] { width: 100%; accent-color: var(--accent); }
.calc-out { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.calc-out b { font: 500 40px/1.1 var(--serif); display: block; }
.calc-out small { color: var(--ink-soft); }

.contact { background: var(--ink); color: var(--bg); }
.contact .kicker { color: var(--accent); }
.agent { display: flex; gap: 18px; align-items: center; margin: 26px 0; }
.agent-photo { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 500 26px var(--serif); flex: none; }
.agent small { display: block; opacity: .7; }
.agent-links a { display: block; text-decoration: none; opacity: .9; }
form.req { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
form.req .full { grid-column: 1 / -1; }
form.req input, form.req textarea, form.req select { width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--bg) 25%, transparent); background: color-mix(in srgb, var(--bg) 6%, transparent); color: var(--bg); font: inherit; }
form.req input::placeholder, form.req textarea::placeholder { color: color-mix(in srgb, var(--bg) 55%, transparent); }
form.req label.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; opacity: .8; }
form.req label.chk input { width: auto; margin-top: 3px; }
@media (max-width: 600px) { form.req { grid-template-columns: 1fr; } }

.foot { padding: 30px var(--gutter); font-size: 12px; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.foot a { text-decoration: none; }

.cta-float { position: fixed; z-index: 40; right: 16px; bottom: 16px; display: none; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
@media (max-width: 700px) { .cta-float.show { display: inline-flex; } }

/* ---------- Archiv ---------- */
.arch-hero { padding: clamp(120px, 16vw, 200px) var(--gutter) clamp(40px, 6vw, 70px); }
.arch-hero h1 { font-size: clamp(46px, 7vw, 96px); max-width: 14ch; margin: 14px 0 18px; }
.arch-hero p { max-width: 58ch; color: var(--ink-soft); font-size: 18px; margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; }
.filters button { all: unset; cursor: pointer; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.filters button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(18px, 2.4vw, 30px); padding: 0 var(--gutter) clamp(70px, 10vw, 120px); }
.card { text-decoration: none; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: #1c1a17; font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.badge.film { left: auto; right: 14px; background: rgba(0,0,0,.55); color: #fff; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-size: 28px; }
.card-body .loc { color: var(--ink-soft); font-size: 14px; }
.card-meta { display: flex; gap: 18px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.card-meta b { font-weight: 600; }
.card.sold .card-media img { filter: grayscale(.6); }
.card.ghost { border: 1px dashed var(--line); background: transparent; align-items: center; justify-content: center; text-align: center; padding: 40px; color: var(--ink-soft); min-height: 300px; }

/* ---------- Druck / PDF-Exposé ---------- */
.print-only { display: none; }
@media print {
  @page { size: A4; margin: 14mm; }
  body { background: #fff; color: #111; font-size: 11pt; }
  .topbar, .film, .cta-float, .lightbox, form.req, .calc, .plan-tabs, .no-print, iframe.map { display: none !important; }
  .print-only { display: block; }
  .section { padding: 10mm 0; break-inside: avoid-page; }
  .contact { background: #fff; color: #111; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery button:first-child { grid-column: span 2; }
  .print-cover img { width: 100%; height: 120mm; object-fit: cover; border-radius: 4px; }
  .print-cover h1 { font-size: 36pt; margin: 8mm 0 2mm; }
}

/* ---------- Archiv: Titelbild & Eigentümer ---------- */
.arch-cover { position: relative; min-height: 88vh; min-height: 88svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #0d0c0a; }
.arch-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; transform: scale(1.04); animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.12) translate(-1.5%, -1%); } }
@media (prefers-reduced-motion: reduce) { .arch-cover img { animation: none; } }
.arch-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0) 30%, rgba(0,0,0,.65)); }
.arch-cover .arch-hero { position: relative; z-index: 1; padding-bottom: clamp(40px, 8vh, 90px); }
.arch-cover .arch-hero p { color: rgba(255,255,255,.9); }
.arch-cover .kicker { color: #e8d3ad; }
.owner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.owner ol { padding-left: 1.2em; color: var(--ink-soft); }
.owner li { margin: 0 0 10px; }
.owner li b { color: var(--ink); }
.owner-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; display: block; }
.owner-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .owner { grid-template-columns: 1fr; } }

/* ---------- Demo-Zentrale ---------- */
.hub table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.hub th, .hub td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hub th { font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.hub tr:last-child td { border-bottom: 0; }
.hub .swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; margin-right: 6px; border: 1px solid var(--line); }
.hub .scroll { overflow-x: auto; border-radius: var(--radius); }

/* Kontaktbereich: unabhängig von der Makler-Farbe immer gut lesbar */
.contact .kicker { color: color-mix(in srgb, var(--accent) 45%, #ffffff); }
.contact .btn-solid { background: var(--bg); border-color: var(--bg); color: var(--ink); }
.contact .agent-photo { box-shadow: 0 0 0 2px color-mix(in srgb, var(--bg) 30%, transparent); }

/* ---------- Handy: Bildsequenz ---------- */
.film-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Bühne in fester Höhe (größter Viewport), damit die ein-/ausfahrende Adressleiste nichts verschiebt */
html.seq .film-stage { height: 100vh; height: 100lvh; }
html.seq .chapter { bottom: calc(100lvh - 100svh + 72px); }
html.seq .scroll-hint { display: flex; bottom: calc(100lvh - 100svh + 14px); }
html.seq .scroll-hint i { height: 22px; }
html.seq .loader { bottom: calc(100lvh - 100svh + 18px); }

/* ---------- Ladeanimation ---------- */
html.intro-lock, html.intro-lock body { overflow: hidden; }
.intro { position: absolute; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  color: #fff; text-align: center; padding: 24px; background: rgba(12, 11, 9, .62); -webkit-backdrop-filter: blur(22px) saturate(1.1); backdrop-filter: blur(22px) saturate(1.1);
  transition: opacity .8s ease, transform .9s ease; }
.intro.done { opacity: 0; transform: scale(1.04); pointer-events: none; }
.intro-mark { position: relative; width: 148px; height: 148px; }
.intro-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.intro-mark circle { fill: none; stroke-width: 1.6; }
.intro-mark .bg { stroke: rgba(255,255,255,.18); }
.intro { --glow: color-mix(in srgb, var(--accent) 55%, #ffffff); }
.intro-mark .fg { stroke: var(--glow); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 352; stroke-dashoffset: 352; transition: stroke-dashoffset .35s ease; }
.intro-logo { --fill: 0%; position: absolute; inset: 22px; display: grid; place-items: center; }
.intro-logo > * { grid-area: 1 / 1; }
.intro-ini { font: 500 54px/1 var(--serif); letter-spacing: .02em; }
.intro-ini.base { color: rgba(255,255,255,.06); -webkit-text-stroke: 1px rgba(255,255,255,.32); }
.intro-ini.fill, .intro-img.fill { clip-path: inset(calc(100% - var(--fill)) 0 0 0); transition: clip-path .35s ease; }
.intro-ini.fill { color: #fff; -webkit-text-stroke: 1px #fff; text-shadow: 0 0 18px var(--glow); }
.intro-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.intro-img.base { opacity: .28; filter: grayscale(1) brightness(1.6); }
.intro-name { font: 500 28px/1.1 var(--serif); margin-top: 6px; }
.intro-obj { font: italic 400 18px/1.2 var(--serif); opacity: .85; margin-top: -10px; }
html.intro-lock .topbar, html.intro-lock .cta-float, html.intro-lock .film-nav, html.intro-lock .scroll-hint { opacity: 0; pointer-events: none; }
.topbar, .film-nav, .scroll-hint { transition: opacity .6s ease, background .3s, color .3s, box-shadow .3s; }
.intro-sub { font: 500 11px/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.intro-sub span { display: inline-block; min-width: 3em; text-align: left; color: var(--glow); }
@media (prefers-reduced-motion: reduce) { .intro, .intro-mark .fg, .intro-ini.fill, .intro-img.fill { transition: none; } }

/* =========================================================
   Exposé (Premium-Layout)
   ========================================================= */
.x-section { padding: clamp(80px, 11vw, 150px) var(--gutter); }
.x-tint { background: var(--surface-2); }
.x-h2 { font-size: clamp(36px, 4.8vw, 64px); margin-top: 12px; }
.x-h3 { font: 500 26px/1.15 var(--serif); margin: 48px 0 18px; }
.x-h3-card { margin: 8px 0 0; font-size: 30px; }
.x-note { color: var(--ink-soft); font-size: 13px; margin: 14px 0 0; }
.x-body { color: var(--ink-soft); font-size: 17px; line-height: 1.75; margin: 22px 0 0; max-width: 58ch; }
.x-sechead { margin-bottom: clamp(32px, 5vw, 60px); }

/* Einblenden */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* Kopf: aktiver Abschnitt */
.topnav a.on { opacity: 1; box-shadow: inset 0 -1px 0 currentColor; }

/* Einstieg */
.x-intro { padding: clamp(90px, 12vw, 170px) var(--gutter) clamp(70px, 9vw, 120px); }
.x-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font: 600 11px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.x-meta span + span::before { content: "·"; margin-right: 14px; opacity: .6; }
.x-title { font-size: clamp(54px, 9vw, 132px); line-height: .95; margin: 22px 0 14px; letter-spacing: -.005em; }
.x-sub { font: italic 400 clamp(20px, 2.4vw, 30px)/1.3 var(--serif); color: var(--ink-soft); margin: 0; }
.x-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-top: clamp(40px, 6vw, 72px); padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.x-price span { display: block; font: 600 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.x-price b { display: block; font: 500 clamp(36px, 4.4vw, 56px)/1.05 var(--serif); margin-top: 6px; }
.x-price small { color: var(--ink-soft); font-size: 13px; }
.x-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.x-cta .btn { padding: .95em 1.6em; }
.x-keys { display: grid; grid-template-columns: repeat(4, 1fr); }
.x-keys div { padding: 30px 26px 28px 0; }
.x-keys div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.x-keys b { display: block; font: 500 clamp(30px, 3.4vw, 46px)/1.05 var(--serif); }
.x-keys span { display: block; margin-top: 6px; font: 600 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.x-lead-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 6vw, 110px); margin-top: clamp(48px, 7vw, 96px); }
.x-lead-wrap .kicker { padding-top: 12px; }
.x-lead { font: 400 clamp(22px, 2.5vw, 32px)/1.45 var(--serif); max-width: 36ch; margin: 0; color: var(--ink); }
@media (max-width: 760px) {
  .x-keys { grid-template-columns: 1fr 1fr; }
  .x-keys div, .x-keys div + div { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .x-keys div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .x-lead-wrap { grid-template-columns: 1fr; gap: 12px; }
  .x-cta, .x-cta .btn { width: 100%; justify-content: center; }
}

/* Die Räume */
.x-rooms { padding: clamp(70px, 9vw, 120px) 0 clamp(80px, 10vw, 130px); background: var(--surface-2); }
.x-rooms-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 0 var(--gutter); margin-bottom: 40px; }
.x-arrows { display: flex; gap: 10px; }
.x-arrows button { all: unset; cursor: pointer; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font-size: 18px; transition: background .2s, color .2s; }
.x-arrows button:hover { background: var(--ink); color: var(--bg); }
.x-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
.x-track::-webkit-scrollbar { display: none; }
.x-room { flex: 0 0 clamp(280px, 30vw, 420px); scroll-snap-align: start; background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.x-room-media { all: unset; cursor: pointer; position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.x-room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.x-room:hover .x-room-media img { transform: scale(1.06); }
.x-play { position: absolute; left: 16px; bottom: 16px; background: rgba(15,14,12,.62); color: #fff; font: 500 12px var(--sans); letter-spacing: .06em; padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: translateY(6px); transition: .3s; }
.x-room:hover .x-play, .x-room-media:focus-visible .x-play { opacity: 1; transform: none; }
@media (hover: none) { .x-play { opacity: 1; transform: none; } }
.x-room-body { padding: 22px 24px 28px; }
.x-room-top { display: flex; justify-content: space-between; align-items: baseline; }
.x-num { font: 500 15px var(--serif); color: var(--accent); }
.x-area { font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.x-room h3 { font-size: 32px; margin: 6px 0 4px; }
.x-room p { color: var(--ink-soft); margin: 12px 0 0; font-size: 15px; }
@media (max-width: 700px) { .x-arrows { display: none; } .x-room { flex-basis: 82vw; } }

/* Bildband */
.x-band { position: relative; height: clamp(420px, 80vh, 820px); overflow: hidden; display: flex; align-items: flex-end; color: #fff; background: #0d0c0a; }
.x-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.x-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.6)); }
.x-band-text { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(40px, 7vw, 90px); max-width: 980px; }
.x-band-text p { font: 400 clamp(30px, 4.6vw, 64px)/1.15 var(--serif); margin: 0 0 18px; }
.x-band-text p::before { content: "„"; } .x-band-text p::after { content: "“"; }
.x-band-text span { font: 600 11px var(--sans); letter-spacing: .22em; text-transform: uppercase; opacity: .85; }

/* Galerie-Mosaik */
.x-mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(140px, 15vw, 230px); gap: 12px; }
.x-tile { all: unset; cursor: zoom-in; position: relative; overflow: hidden; border-radius: 10px; background: var(--surface-2); }
.x-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.x-tile:hover img { transform: scale(1.05); }
.x-tile-0 { grid-column: span 8; grid-row: span 2; }
.x-tile-1, .x-tile-2 { grid-column: span 4; }
.x-tile-3, .x-tile-4 { grid-column: span 6; grid-row: span 1; }
.x-cap { position: absolute; left: 14px; bottom: 12px; color: #fff; font: 500 13px var(--sans); text-shadow: 0 1px 10px rgba(0,0,0,.6); opacity: 0; transition: opacity .3s; }
.x-tile:hover .x-cap { opacity: 1; }
.x-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(12,11,9,.5); color: #fff; font: 500 22px var(--serif); }
@media (max-width: 760px) {
  .x-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 38vw; gap: 8px; }
  .x-tile-0 { grid-column: span 2; grid-row: span 2; }
  .x-tile-1, .x-tile-2, .x-tile-3, .x-tile-4 { grid-column: span 1; grid-row: span 1; }
  .x-cap { opacity: 1; }
}
/* Lightbox: Miniaturen */
html.lb-lock, html.lb-lock body { overflow: hidden; }
.lightbox { flex-direction: column; }
.lightbox img#lbImg { max-height: 74vh; }
.lb-cap { bottom: 96px; }
.lb-thumbs { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; overflow-x: auto; padding: 0 16px; }
.lb-thumbs button { all: unset; cursor: pointer; flex: none; width: 74px; height: 50px; border-radius: 6px; overflow: hidden; opacity: .45; transition: opacity .2s; outline: 2px solid transparent; }
.lb-thumbs button.on { opacity: 1; outline-color: #fff; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Das Objekt */
.x-split { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: clamp(36px, 7vw, 120px); align-items: start; }
.x-split-even { grid-template-columns: 1fr 1fr; align-items: center; }
.x-aside { position: sticky; top: 110px; }
.x-desc .x-block + .x-block { margin-top: 10px; }
.x-desc .x-h3 { margin-top: 0; }
.x-desc p { font-size: 18px; line-height: 1.8; color: var(--ink-soft); margin: 0 0 36px; }
.x-drop::first-letter { float: left; font: 500 4.4em/.8 var(--serif); padding: 7px 8px 0 0; color: var(--accent); }
.x-facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; margin: 0; }
.x-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.x-facts dt { color: var(--ink-soft); font-size: 15px; }
.x-facts dd { margin: 0; font-weight: 500; text-align: right; font-size: 15px; }
.x-facts-tight { grid-template-columns: 1fr; margin-top: 18px; }
.x-facts-tight div { padding: 11px 0; }
.x-features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.x-features li { padding: 15px 0 15px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: 16px; }
.x-features li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; border: 1px solid var(--accent); transform: translateY(-50%) rotate(45deg); }
@media (max-width: 900px) {
  .x-split, .x-split-even { grid-template-columns: 1fr; }
  .x-aside { position: static; }
  .x-facts, .x-features { grid-template-columns: 1fr; }
}

/* Grundriss */
.x-plan { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(24px, 4vw, 56px); background: var(--surface); border-radius: var(--radius); padding: clamp(20px, 4vw, 48px); }
.x-tabs { display: flex; gap: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.x-tabs button { all: unset; cursor: pointer; padding: 0 0 12px; font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.x-tabs button.on { color: var(--ink); border-bottom-color: var(--accent); }
.x-plan svg { width: 100%; height: auto; max-height: 560px; display: block; }
.x-plan rect { fill: var(--surface); stroke: var(--ink); stroke-width: .45; transition: fill .25s; }
.x-plan .outdoor rect { fill: transparent; stroke-dasharray: 1.2 1.2; stroke-width: .35; }
.x-plan .room.link { cursor: pointer; }
.x-plan .room.hi rect, .x-plan .room.link:hover rect { fill: color-mix(in srgb, var(--accent) 16%, var(--surface)); }
.x-plan text { fill: var(--ink); font: 600 2.4px var(--sans); letter-spacing: .08px; text-anchor: middle; text-transform: uppercase; pointer-events: none; }
.x-plan text.area { fill: var(--ink-soft); font: 400 2.4px var(--sans); text-transform: none; }
.x-roomlist { list-style: none; padding: 0; margin: 0; }
.x-roomlist li { display: grid; grid-template-columns: 1fr auto 18px; gap: 12px; align-items: center; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 15px; transition: background .2s; }
.x-roomlist li span:nth-child(2) { color: var(--ink-soft); }
.x-roomlist li i { font-style: normal; font-size: 10px; color: var(--accent); }
.x-roomlist li.link { cursor: pointer; }
.x-roomlist li.hi { background: color-mix(in srgb, var(--accent) 10%, transparent); }
@media (max-width: 900px) { .x-plan { grid-template-columns: 1fr; } }

/* Lage */
.x-dist { list-style: none; padding: 0; margin: 30px 0 0; counter-reset: d; }
.x-dist li { counter-increment: d; display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.x-dist li::before { content: counter(d, decimal-leading-zero); font: 500 14px var(--serif); color: var(--accent); }
.x-dist b { font-weight: 500; white-space: nowrap; }
.x-map { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.x-map img, .x-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.x-map iframe { filter: grayscale(1) contrast(1.05) brightness(1.02); opacity: 0; transition: opacity .6s; }
.x-map iframe.ok { opacity: 1; }

/* Energie & Finanzierung */
.x-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 32px); }
.x-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 44px); }
.x-card.calc { border-radius: var(--radius); }
.x-card .escale { margin-top: 44px; }
@media (max-width: 900px) { .x-two { grid-template-columns: 1fr; } }

/* Kontakt */
.x-contact { position: relative; padding: clamp(90px, 12vw, 170px) var(--gutter); color: #fff; overflow: hidden; background: #0d0c0a; --bg: #f5f2ec; }
.x-contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.x-contact::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(10,9,8,.88) 20%, rgba(10,9,8,.45)); }
.x-contact .wrap { position: relative; z-index: 2; }
.x-contact .kicker { color: color-mix(in srgb, var(--accent) 50%, #fff); }
.x-contact .x-h2 { font-size: clamp(38px, 5vw, 68px); max-width: 14ch; }
.x-contact .agent { margin: 34px 0 26px; }
.x-contact .agent-photo { background: transparent; border: 1px solid rgba(255,255,255,.6); color: #fff; object-fit: contain; }
.x-trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; color: rgba(255,255,255,.8); }
.x-trust li::before { content: ""; display: inline-block; width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); margin-right: 12px; }
.x-form { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.x-form input, .x-form textarea { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.x-form input::placeholder, .x-form textarea::placeholder { color: rgba(255,255,255,.55); }
.x-form label.chk { color: rgba(255,255,255,.75); opacity: 1; }
.x-form .btn-solid { background: #fff; border-color: #fff; color: #141210; justify-content: center; padding: 1em; }

/* Fußzeile */
.x-foot { background: var(--bg); border-top: 1px solid var(--line); padding: 56px var(--gutter) 28px; font-size: 14px; }
.x-foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.x-foot-grid a, .x-foot-grid b { display: block; text-decoration: none; margin-bottom: 8px; }
.x-foot-grid a { color: var(--ink-soft); }
.x-foot-grid a:hover { color: var(--ink); }
.x-foot-brand { display: flex; align-items: center; gap: 12px; font: 500 22px var(--serif); }
.x-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; }
@media (max-width: 760px) { .x-foot-grid { grid-template-columns: 1fr; } }

@media print {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .x-intro { padding: 0 0 8mm; }
  .x-title { font-size: 40pt; }
  .x-lead { margin-left: 0; font-size: 15pt; }
  .x-contact, .x-foot, .x-map { display: none !important; }
  .x-section { padding: 8mm 0; }
  .x-aside { position: static; }
}

/* =========================================================
   Archivseite (Portfolio des Maklers)
   ========================================================= */
.a-ribbon { position: fixed; z-index: 70; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 44px; background: var(--accent); color: var(--accent-ink); font: 500 12px/1.4 var(--sans); letter-spacing: .04em; text-align: center; }
.a-ribbon button { all: unset; cursor: pointer; position: absolute; right: 14px; font-size: 18px; line-height: 1; }
body.has-ribbon .topbar { top: 33px; }

.a-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: #fff; overflow: hidden; background: #0d0c0a; display: flex; align-items: flex-end; }
.a-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity 1.8s ease, transform 7s ease-out; }
.a-hero-media img.on { opacity: 1; transform: scale(1.09); }
.a-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,.05) 55%, rgba(0,0,0,.7) 100%); }
.a-hero-inner { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(96px, 15vh, 160px); max-width: 1100px; }
.a-hero .kicker { color: #e8d3ad; }
.a-hero h1 { font-size: clamp(56px, 10vw, 148px); line-height: .92; margin: 18px 0 22px; letter-spacing: -.01em; }
.a-hero p { max-width: 50ch; font-size: clamp(16px, 1.5vw, 19px); color: rgba(255,255,255,.9); margin: 0; }
.a-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.a-hero-cta .btn { padding: 1em 1.7em; }
.a-btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.a-btn-light:hover { background: #fff; color: #141210; }
.a-hero-now { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(30px, 6vh, 56px); display: grid; grid-template-columns: auto auto; gap: 2px 18px; align-items: center; color: #fff; text-decoration: none; padding: 16px 20px; border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius); background: rgba(12,11,9,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .3s; }
.a-hero-now:hover { background: rgba(12,11,9,.55); }
.a-hero-now span { grid-column: 1; font: 600 10px var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.a-hero-now b { grid-column: 1; font: 500 22px/1.1 var(--serif); }
.a-hero-now em { grid-column: 1; font-style: normal; font-size: 12px; opacity: .8; }
.a-hero-now i { grid-column: 2; grid-row: 1 / span 3; font-style: normal; font-size: 22px; }
.a-hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 18px; width: 1px; height: 46px; background: rgba(255,255,255,.25); overflow: hidden; }
.a-hero-scroll i { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: ascroll 2.2s ease-in-out infinite; }
@keyframes ascroll { to { top: 100%; } }
@media (max-width: 760px) {
  .a-hero-inner { padding-bottom: 150px; }
  .a-hero-now { left: var(--gutter); right: var(--gutter); bottom: 24px; }
  .a-hero-scroll { display: none; }
  .a-hero-cta .btn { flex: 1 1 100%; justify-content: center; }
}

.a-statement-grid { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(24px, 6vw, 110px); }
.a-statement-grid .kicker { padding-top: 14px; }
.a-big { font: 400 clamp(28px, 3.4vw, 46px)/1.3 var(--serif); margin: 0; }
@media (max-width: 760px) { .a-statement-grid { grid-template-columns: 1fr; gap: 14px; } }

.a-feature { padding: 0 var(--gutter) clamp(90px, 12vw, 160px); }
.a-feature-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.a-feature-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); color: #fff; text-decoration: none; }
.a-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity 1.4s ease, transform 5s ease-out; }
.a-feature-media img.on { opacity: 1; transform: scale(1.07); }
.a-feature-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.55)); }
.a-badge { position: absolute; z-index: 1; top: 18px; left: 18px; background: rgba(255,255,255,.92); color: #1c1a17; font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.a-play { position: absolute; z-index: 1; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 14px; font: 500 15px var(--sans); }
.a-play i { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.8); display: grid; place-items: center; font-style: normal; font-size: 14px; transition: background .3s, color .3s; }
.a-feature-media:hover .a-play i { background: #fff; color: #141210; }
.a-feature-body .x-h2 { font-size: clamp(44px, 5.4vw, 76px); }
.a-feature-body .x-sub { margin-top: 8px; }
.a-feature-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 30px 0 6px; border-top: 1px solid var(--line); }
.a-feature-stats div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.a-feature-stats div:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
.a-feature-stats b { display: block; font: 500 30px/1.1 var(--serif); }
.a-feature-stats span { font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.a-feature-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-top: 30px; }
.a-feature-foot .x-price b { font-size: clamp(30px, 3vw, 40px); }
.a-chapters { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.a-chapters li { font-size: 13px; color: var(--ink-soft); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
@media (max-width: 900px) { .a-feature-grid { grid-template-columns: 1fr; } .a-feature-media { aspect-ratio: 4 / 4.6; } }

.a-head-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 100px); align-items: end; }
.a-head-split .x-body { margin: 0; }
@media (max-width: 760px) { .a-head-split { grid-template-columns: 1fr; } }
.a-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
.a-features article { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 36px); }
.a-features svg { width: 44px; height: 44px; fill: none; stroke: var(--accent); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.a-features h3 { font: 500 24px/1.15 var(--serif); margin: 22px 0 10px; }
.a-features p { color: var(--ink-soft); margin: 0; font-size: 15px; }
@media (max-width: 1000px) { .a-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .a-features { grid-template-columns: 1fr; } }

.a-steps { list-style: none; padding: 0; margin: 34px 0 0; counter-reset: s; }
.a-steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; padding: 18px 0; border-top: 1px solid var(--line); }
.a-steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font: 500 18px var(--serif); color: var(--accent); }
.a-steps b { font: 500 22px/1.2 var(--serif); }
.a-steps span { color: var(--ink-soft); font-size: 15px; margin-top: 4px; }
.a-owner { align-items: start; }
.a-form { display: grid; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.a-form h3 { font: 500 28px/1.15 var(--serif); margin: 0 0 8px; }
.a-form input, .a-form select, .a-form textarea { width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; }
.a-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.a-form .chk { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); }
.a-form .chk input { width: auto; margin-top: 3px; }
.a-form .btn { justify-content: center; padding: 1em; }
@media (max-width: 560px) { .a-form-row { grid-template-columns: 1fr; } }

.a-person-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; max-width: 1000px; }
.a-person-mark { width: clamp(120px, 14vw, 180px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--accent); display: grid; place-items: center; font: 500 clamp(40px, 5vw, 60px) var(--serif); color: var(--accent); }
.a-person-mark img { max-width: 70%; max-height: 70%; object-fit: contain; }
.a-quote { font: italic 400 clamp(24px, 2.8vw, 36px)/1.35 var(--serif); margin: 0 0 24px; }
.a-person-name b { display: block; font-weight: 600; }
.a-person-name span { color: var(--ink-soft); font-size: 14px; }
.a-person-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; }
.a-person-links a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { .a-person-grid { grid-template-columns: 1fr; } }
body.arch .cta-float.show { display: none; }
@media (max-width: 700px) { body.arch .cta-float.show { display: inline-flex; } }
.a-ribbon[hidden] { display: none; }
/* bessere Lesbarkeit des Titeltexts auf hellen Bildern */
.a-hero::after { background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,.12) 52%, rgba(0,0,0,.78) 100%), linear-gradient(90deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,0) 60%); }
.a-hero h1, .a-hero p { text-shadow: 0 2px 24px rgba(0,0,0,.35); }
@media (max-width: 760px) {
  .a-hero-now { display: none; }
  .a-hero-inner { padding-bottom: 64px; }
  .a-hero p { font-size: 15px; }
  .a-hero .kicker { font-size: 10px; letter-spacing: .18em; }
  .a-hero-cta { margin-top: 26px; }
}
