/* ============================================================
   REMS & NECKAR IMMOBILIEN — Demo (fiktiv)
   Farbwelt „Moos und Messing“: Stein/Kalk hell, Moos dunkel,
   Messing als einziger Akzent. Fraunces light als Display,
   Hanken Grotesk als Lauftext. Teilt engine.js mit den anderen
   Demos (Preloader, Wipe, Reveal, Zeilenmasken, Parallax).
   ============================================================ */

:root {
  --stone:    #f2efe9;
  --stone-2:  #e9e4db;
  --stone-3:  #dcd5c9;
  --chalk:    #faf8f4;
  --moss:     #1c2a24;
  --moss-2:   #24342d;
  --moss-3:   #2e4038;
  --moss-4:   #3a4f45;
  --brass:    #b8925a;
  --brass-2:  #cfa86c;
  --brass-soft: rgba(184, 146, 90, .18);
  --text:     #1b1f1d;
  --text-soft: #5d635f;
  --text-mute: #8a908b;
  --on-dark:  #efece5;
  --on-dark-soft: rgba(239, 236, 229, .8);
  --line:     rgba(27, 31, 29, .12);
  --line-2:   rgba(27, 31, 29, .26);
  --line-l:   rgba(239, 236, 229, .14);
  --ok:       #3f7d5a;
  --warn:     #c2842e;
  --bad:      #b4483c;
  --display: 'Fraunces', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .21, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.65, 0, .18, 1);
  --ease-spring: cubic-bezier(.32, .72, 0, 1);
  --wrap: 1360px;
  --pad: clamp(20px, 5vw, 76px);
  --r: 4px;
  --r-lg: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.preloading, html.entering, html.modal-open { overflow: hidden; }
body { margin: 0; background: var(--stone); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, canvas, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 300; line-height: 1.02; letter-spacing: -.025em; margin: 0; }
h1 em, h2 em, h3 em, .em { font-style: italic; font-weight: 300; color: var(--brass); }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--brass-soft); }

/* Typografie */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--text-soft); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--brass); }
.dark .eyebrow { color: var(--on-dark-soft); }
.section-title { font-size: clamp(38px, 5vw, 76px); margin-bottom: 20px; max-width: 18ch; }
.lead { font-size: clamp(17px, 1.25vw, 20px); color: var(--text-soft); max-width: 54ch; font-weight: 400; }
.dark .lead { color: var(--on-dark-soft); }
.dark { background: var(--moss); color: var(--on-dark); }
.chalk { background: var(--chalk); }
.ed-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 70px); }
.ed-head .section-title { margin-bottom: 0; }
.ed-head .lead { justify-self: end; max-width: 42ch; }
main > section { position: relative; z-index: 2; }
.sec { padding: clamp(80px, 10vw, 150px) 0; }
.sec-sm { padding: clamp(56px, 7vw, 100px) 0; }
.num { font-family: var(--display); font-weight: 300; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.03em; }

/* Zeilenmasken und Reveals */
.ln { display: block; overflow: hidden; padding: .16em 0 .08em; margin: -.16em 0 -.08em; }
.ln > i { display: block; font-style: inherit; transform: translateY(112%); transition: transform 1.15s var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms + var(--d, 0ms)); }
.is-in .ln > i, .hero.is-ready .ln > i, .page-hero.is-ready .ln > i { transform: none; }
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1.2s var(--ease-spring); transition-delay: var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal].lines, [data-reveal].clip { opacity: 1; transform: none; }
.clip > img, .clip > video, .clip > .clip-in { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-soft); transition-delay: var(--d, 0ms); }
.clip.is-in > img, .clip.is-in > video, .clip.is-in > .clip-in, .is-in .clip > img, .is-in .clip > video, .is-in .clip > .clip-in { clip-path: inset(0 0 0 0); }
.clip-x > img, .clip-x > video { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease-soft); }
.clip-x.is-in > img, .clip-x.is-in > video { clip-path: inset(0); }
@media (prefers-reduced-motion: reduce) { .ln > i, [data-reveal], .clip > *, .clip-x > * { transition: none !important; transform: none !important; opacity: 1 !important; clip-path: none !important; } }

/* Buttons */
.btn { --mx: 50%; --my: 50%; position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 15px 24px; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .01em; border: 1px solid transparent; overflow: hidden; isolation: isolate; transition: transform .6s var(--ease-spring), background .3s, color .3s, border-color .3s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(160px 160px at var(--mx) var(--my), rgba(255, 255, 255, .18), transparent 60%); opacity: 0; transition: opacity .3s; }
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-spring); }
.btn:hover svg { transform: translateX(4px); }
.btn-brass { background: var(--brass); color: #fff; }
.btn-brass:hover { background: var(--brass-2); }
.btn-moss { background: var(--moss); color: var(--on-dark); }
.btn-moss:hover { background: var(--moss-3); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: inherit; }
.btn-ghost:hover { border-color: currentColor; }
.dark .btn-ghost { border-color: var(--line-l); }
.btn-light { background: var(--on-dark); color: var(--moss); }
.btn-light:hover { background: #fff; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; position: relative; padding-bottom: 3px; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(.35); transform-origin: left; transition: transform .5s var(--ease-out); opacity: .5; }
.link-arrow:hover::after { transform: scaleX(1); opacity: 1; }
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-spring); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Preloader */
.pre { position: fixed; inset: 0; z-index: 90; background: var(--moss); color: var(--on-dark); display: grid; place-items: center; transition: opacity .8s var(--ease), visibility .8s; }
.pre.is-done { opacity: 0; visibility: hidden; }
.pre-inner { text-align: center; }
.pre-mark svg { width: 56px; height: 56px; fill: none; stroke: var(--brass); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 190; stroke-dashoffset: 190; animation: preDraw 1.5s var(--ease-soft) .1s forwards; margin: 0 auto 22px; }
@keyframes preDraw { to { stroke-dashoffset: 0; } }
.pre-word { font-family: var(--display); font-weight: 300; font-size: clamp(30px, 4.6vw, 50px); letter-spacing: -.02em; opacity: 0; animation: preUp 1s var(--ease-out) .4s forwards; }
.pre-word em { color: var(--brass); font-style: italic; }
.pre-line { width: 160px; height: 1px; background: var(--line-l); margin: 20px auto; overflow: hidden; }
.pre-line span { display: block; height: 100%; width: 100%; background: var(--brass); transform: scaleX(0); transform-origin: left; animation: preLine 1.4s var(--ease-soft) .4s forwards; }
@keyframes preLine { to { transform: scaleX(1); } }
.pre-sub { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--on-dark-soft); opacity: 0; animation: preUp .9s var(--ease) .8s forwards; }
@keyframes preUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Wipe, Progress */
.wipe { position: fixed; inset: 0; z-index: 80; background: var(--moss); transform: translateY(calc(100% + 4px)); pointer-events: none; }
.wipe::after { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--brass); }
.wipe.is-cover { transform: none; }
.wipe.is-in { transform: none; transition: transform .6s var(--ease-soft); }
.wipe.is-out { transform: translateY(-101%); transition: transform .8s var(--ease-soft); }
html.entering .wipe { transform: none; }
.progress { position: fixed; left: 0; top: 0; right: 0; height: 2px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--brass); transform-origin: left; transform: scaleX(0); }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--pad); color: var(--text); transition: background .5s, color .4s, padding .5s; }
.nav::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 26px; background: linear-gradient(rgba(242, 239, 233, .92), rgba(242, 239, 233, 0)); opacity: 0; transition: opacity .5s; pointer-events: none; }
.nav.is-solid { background: rgba(242, 239, 233, .9); backdrop-filter: blur(14px); padding: 10px var(--pad); }
.nav.is-solid::after { opacity: 1; }
.nav.on-dark:not(.is-solid):not(.is-open) { color: var(--on-dark); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: -.01em; }
.brand > span { display: block; line-height: 1.05; white-space: nowrap; }
.brand small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; opacity: .7; margin-top: 4px; }
.brand-mark { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.nav-cta):not(.nav-login) { font-size: 14px; font-weight: 600; letter-spacing: .02em; position: relative; padding: 4px 0; }
.nav-links a:not(.nav-cta):not(.nav-login)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav-login { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; opacity: .8; }
.nav-login svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-cta { font-size: 14px; font-weight: 600; padding: 11px 18px; border-radius: 999px; background: var(--brass); color: #fff !important; transition: transform .6s var(--ease-spring), background .3s; }
.nav-cta:hover { transform: translateY(-2px); background: var(--brass-2); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; z-index: 2; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out), top .4s; }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.nav.is-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.nav.is-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero (Start) ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: var(--on-dark); background: var(--moss); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.4s var(--ease-soft), opacity 1.2s; }
.hero.is-ready .hero-media video, .hero.is-ready .hero-media img, .page-hero.is-ready .hero-media img { transform: scale(1); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 42, 36, .28) 0%, rgba(28, 42, 36, 0) 30%, rgba(28, 42, 36, .12) 55%, rgba(28, 42, 36, .78) 100%); }
.hero-content { position: relative; z-index: 1; padding: 140px 0 clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.hero h1 { font-size: clamp(50px, 8.4vw, 132px); line-height: .96; letter-spacing: -.035em; max-width: 11ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero-sub { margin-top: 26px; font-size: clamp(16px, 1.2vw, 19px); color: var(--on-dark); text-shadow: 0 1px 14px rgba(0, 0, 0, .45); max-width: 46ch; opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease) .9s, transform 1.2s var(--ease-spring) .9s; }
.hero.is-ready .hero-sub, .page-hero.is-ready .hero-sub { opacity: 1; transform: none; }
.hero-search { justify-self: end; width: min(100%, 440px); background: rgba(250, 248, 244, .96); color: var(--text); border-radius: var(--r-lg); padding: 22px 22px 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .28); opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease) 1.2s, transform 1.3s var(--ease-spring) 1.2s; }
.hero.is-ready .hero-search { opacity: 1; transform: none; }
.seg { display: inline-flex; background: var(--stone-2); border-radius: 999px; padding: 3px; gap: 2px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text-soft); cursor: pointer; transition: background .3s, color .3s; }
.seg input:checked + span { background: var(--moss); color: var(--on-dark); }
.hero-search-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.field { display: grid; gap: 5px; }
.field > span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--text-soft); }
.field select, .field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; appearance: none; -webkit-appearance: none; transition: border-color .3s, box-shadow .3s; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235d635f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.field select:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px var(--brass-soft); }
.hero-search .btn { width: 100%; justify-content: center; }
.hero-meta { position: absolute; left: var(--pad); bottom: 0; z-index: 1; display: none; }
.hero-scroll { position: absolute; right: var(--pad); top: 50%; z-index: 1; writing-mode: vertical-rl; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-soft); display: flex; align-items: center; gap: 14px; transform: translateY(-50%); }
.hero-scroll::after { content: ""; width: 1px; height: 54px; background: linear-gradient(var(--brass), transparent); animation: scrollHint 2.2s var(--ease-soft) infinite; }
@keyframes scrollHint { 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; } }

/* ---------- Objektkarten ---------- */
.obj-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.obj { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--chalk); box-shadow: 0 1px 0 var(--line); transition: transform .8s var(--ease-spring), box-shadow .8s var(--ease); }
.obj:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(28, 42, 36, .35), 0 1px 0 var(--line); }
.obj-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone-3); }
.obj-media img, .obj-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-soft), opacity .8s; }
.obj-media video { opacity: 0; }
.obj:hover .obj-media img { transform: scale(1.05); }
.obj.has-video:hover .obj-media video { opacity: 1; }
.obj-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 42, 36, .28), rgba(28, 42, 36, 0) 40%); }
.obj-tags { position: absolute; left: 16px; top: 16px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(250, 248, 244, .92); color: var(--text); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; backdrop-filter: blur(6px); }
.tag-brass { background: var(--brass); color: #fff; }
.tag-moss { background: var(--moss); color: var(--on-dark); }
.tag-new::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.obj-count { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(28, 42, 36, .55); color: var(--on-dark); font-size: 12px; font-weight: 600; backdrop-filter: blur(6px); }
.obj-count svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.obj-body { padding: 22px 24px 24px; display: grid; gap: 10px; align-content: start; }
.obj-place { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--text-soft); }
.obj-title { font-size: clamp(22px, 1.8vw, 28px); letter-spacing: -.02em; }
.obj-price { font-family: var(--display); font-size: clamp(22px, 1.9vw, 30px); font-weight: 400; letter-spacing: -.02em; margin-top: 4px; }
.obj-price small { font-family: var(--sans); font-size: 13px; color: var(--text-soft); font-weight: 500; margin-left: 6px; }
.obj-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--text-soft); padding-top: 10px; border-top: 1px solid var(--line); margin-top: 6px; }
.obj-facts b { color: var(--text); font-weight: 600; }
.obj.is-wide { grid-column: span 6; grid-template-columns: 1.35fr 1fr; grid-template-rows: none; }
.obj.is-wide .obj-media { aspect-ratio: auto; min-height: 460px; }
.obj.is-wide .obj-body { padding: clamp(28px, 3vw, 48px); align-content: center; gap: 14px; }
.obj.is-wide .obj-title { font-size: clamp(30px, 3vw, 46px); }
.obj.is-wide .obj-price { font-size: clamp(28px, 2.6vw, 40px); }
.obj.is-wide .obj-desc { color: var(--text-soft); max-width: 46ch; }
.obj.is-half { grid-column: span 3; }
.obj.is-third { grid-column: span 2; }
.obj-more { grid-column: 1 / -1; display: flex; justify-content: center; padding-top: 20px; }

/* Manifest (dunkel) */
.manifest { position: relative; overflow: hidden; }
.manifest-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(40px, 6vw, 100px); align-items: end; }
.manifest h2 { font-size: clamp(34px, 4.6vw, 70px); max-width: 16ch; }
.manifest h2 em { color: var(--brass-2); }
.numbers { display: grid; gap: 22px; }
.numbers div { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: baseline; padding-bottom: 18px; border-bottom: 1px solid var(--line-l); }
.numbers .num { font-size: clamp(48px, 5vw, 80px); line-height: 1; min-width: 3ch; display: inline-flex; align-items: baseline; gap: .12em; }
.numbers .num > span { font-size: inherit; color: inherit; line-height: inherit; }
.numbers .num small { font-size: .38em; color: var(--brass-2); }
.numbers div > span:last-child { color: var(--on-dark-soft); font-size: 15px; }
.manifest-bg { position: absolute; right: -6%; top: -10%; width: 56%; aspect-ratio: 1; opacity: .06; pointer-events: none; }
.manifest-bg svg { width: 100%; height: 100%; fill: none; stroke: var(--on-dark); stroke-width: .6; }

/* Regionen: Bild-Akkordeon */
.regions { display: flex; gap: 12px; height: clamp(420px, 60vh, 640px); }
.region { position: relative; flex: 1; border-radius: var(--r-lg); overflow: hidden; color: var(--on-dark); transition: flex 1s var(--ease-soft); cursor: pointer; isolation: isolate; }
.region:hover, .region.is-active { flex: 2.4; }
.region img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-soft); }
.region:hover img { transform: scale(1.04); }
.region::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 42, 36, 0) 40%, rgba(28, 42, 36, .82)); }
.region-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(20px, 2.4vw, 34px); display: grid; gap: 8px; }
.region-body h3 { font-size: clamp(26px, 2.6vw, 40px); }
.region-body p { font-size: 15px; color: var(--on-dark-soft); max-width: 40ch; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease) .2s, transform .8s var(--ease-spring) .2s; max-height: 0; }
.region:hover .region-body p, .region.is-active .region-body p { opacity: 1; transform: none; max-height: 120px; }
.region-kpi { display: flex; gap: 18px; font-size: 13px; color: var(--on-dark-soft); }
.region-kpi b { color: var(--on-dark); font-weight: 600; }
.region-tag { position: absolute; left: clamp(20px, 2.4vw, 34px); top: clamp(20px, 2.4vw, 34px); z-index: 2; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--on-dark); display: flex; align-items: center; gap: 8px; }
.region-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }

/* Verkaufen-Teaser */
.sell { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.sell-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.sell-media img { width: 100%; height: 100%; object-fit: cover; }
.sell-badge { position: absolute; left: 24px; bottom: 24px; background: rgba(250, 248, 244, .95); color: var(--text); border-radius: var(--r-lg); padding: 16px 18px; display: grid; gap: 2px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .4); }
.sell-badge .num { font-size: 34px; line-height: 1; }
.sell-badge span { font-size: 13px; color: var(--text-soft); }
.steps { display: grid; gap: 0; margin: 34px 0 36px; counter-reset: step; }
.steps li { list-style: none; display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); counter-increment: step; align-items: start; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(step); font-family: var(--display); font-size: 26px; color: var(--brass); line-height: 1.1; }
.steps b { grid-column: 2; display: block; font-weight: 600; font-size: 17px; margin-bottom: 2px; }
.steps span { grid-column: 2; color: var(--text-soft); font-size: 15px; }
.steps li::before { grid-row: 1 / span 2; }

/* Team-Teaser */
.team-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.person { display: grid; gap: 12px; }
.person-img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--stone-3); }
.person-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-soft), filter 1s; }
.person:hover .person-img img { transform: scale(1.04); }
.person h3 { font-size: 22px; }
.person p { font-size: 14px; color: var(--text-soft); }
.person a { font-size: 14px; font-weight: 600; color: var(--brass); }

/* Stimmen */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.voice { background: var(--chalk); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 36px); display: grid; gap: 18px; align-content: space-between; box-shadow: 0 1px 0 var(--line); }
.voice blockquote { margin: 0; font-family: var(--display); font-size: clamp(20px, 1.6vw, 25px); line-height: 1.3; letter-spacing: -.01em; }
.voice blockquote::before { content: "„"; color: var(--brass); }
.voice blockquote::after { content: "“"; color: var(--brass); }
.voice footer { display: grid; gap: 2px; font-size: 14px; color: var(--text-soft); }
.voice footer b { color: var(--text); font-weight: 600; }
.stars { color: var(--brass); letter-spacing: 2px; font-size: 13px; }

/* CTA-Band */
.cta { position: relative; overflow: hidden; }
.cta-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.cta h2 { font-size: clamp(38px, 5.4vw, 84px); max-width: 14ch; }
.cta-actions { display: grid; gap: 14px; justify-items: start; }
.cta-tel { font-family: var(--display); font-size: clamp(24px, 2.2vw, 34px); }
.cta-tel small { display: block; font-family: var(--sans); font-size: 13px; color: var(--on-dark-soft); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }

/* Erstgespräch */
.talk-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.talk h2 { font-size: clamp(38px, 5vw, 76px); max-width: 14ch; margin-bottom: 22px; }
.talk .cta-actions { margin-top: 34px; }
.talk-hours { font-size: 13px; color: var(--on-dark-soft); }
.talk-card { background: var(--chalk); color: var(--text); border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 34px); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .6); }
.talk-card .btn { justify-self: start; }
.talk-note { padding: 0; }
.talk-card.is-sent .book-form { display: none; }
.talk-card.is-sent .done { display: block; animation: objIn .8s var(--ease-spring) both; }
.talk-done { padding: 10px 0; box-shadow: none; }

/* Footer */
.foot { background: var(--moss); color: var(--on-dark); padding: clamp(60px, 8vw, 110px) 0 0; position: relative; z-index: 2; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 40px; padding-bottom: 50px; }
.foot-brand { display: grid; gap: 12px; align-content: start; }
.foot-brand .brand-mark { width: 42px; height: 42px; stroke: var(--brass); }
.foot-brand > span { font-family: var(--display); font-size: 26px; letter-spacing: -.01em; }
.foot-brand small { color: var(--on-dark-soft); font-size: 14px; line-height: 1.6; }
.foot-col .eyebrow { color: var(--on-dark-soft); margin-bottom: 14px; }
.foot-col p, .foot-col a { display: block; font-size: 14px; color: var(--on-dark-soft); line-height: 1.7; }
.foot-col a:hover { color: var(--on-dark); }
.foot-nav { display: grid; gap: 10px; align-content: start; font-size: 14px; font-weight: 600; }
.foot-nav a { opacity: .75; transition: opacity .3s; } .foot-nav a:hover { opacity: 1; }
.foot-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 12px; color: var(--on-dark-soft); border-top: 1px solid var(--line-l); padding-top: 22px; }
.foot-big { font-family: var(--display); font-weight: 300; font-style: italic; font-size: clamp(80px, 18vw, 300px); line-height: .8; text-align: center; color: rgba(239, 236, 229, .05); letter-spacing: -.04em; user-select: none; margin-top: 10px; white-space: nowrap; }
.foot-lejama { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px var(--pad); background: var(--stone); color: var(--text); font-size: 14px; position: relative; }
.foot-lejama-cta { font-weight: 600; color: var(--brass); }

/* ---------- Unterseiten-Kopf ---------- */
.page-head { padding: 150px 0 clamp(40px, 5vw, 70px); }
.page-head h1 { font-size: clamp(44px, 6.4vw, 100px); max-width: 14ch; }
.page-head .lead { margin-top: 20px; }
.page-head-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.page-hero { position: relative; min-height: 78vh; display: grid; align-items: end; color: var(--on-dark); background: var(--moss); overflow: hidden; }
.page-hero .hero-media::after { background: linear-gradient(180deg, rgba(28, 42, 36, .3), rgba(28, 42, 36, .05) 40%, rgba(28, 42, 36, .8)); }
.page-hero .hero-content { grid-template-columns: 1fr; padding-top: 160px; }
.page-hero h1 { font-size: clamp(44px, 7vw, 112px); max-width: 12ch; line-height: .98; letter-spacing: -.03em; }

/* ---------- Immobilien: Filter, Liste, Karte ---------- */
.filterbar { position: sticky; top: 62px; z-index: 30; background: rgba(242, 239, 233, .92); backdrop-filter: blur(14px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.filterbar-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filterbar .field { min-width: 150px; }
.filterbar .field > span { display: none; }
.filterbar .field select { padding: 10px 32px 10px 12px; background-color: var(--chalk); font-size: 14px; font-weight: 500; }
.filterbar .spacer { flex: 1; }
.filter-count { font-size: 14px; color: var(--text-soft); white-space: nowrap; }
.filter-count b { color: var(--text); font-weight: 600; }
.view-toggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.view-toggle button { border: 0; background: transparent; padding: 9px 14px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; color: var(--text-soft); transition: background .3s, color .3s; }
.view-toggle button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.view-toggle button.is-active { background: var(--moss); color: var(--on-dark); }
.range { display: grid; gap: 6px; min-width: 200px; }
.range > span { font-size: 12px; color: var(--text-soft); display: flex; justify-content: space-between; }
.range > span b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: linear-gradient(90deg, var(--brass) var(--p, 50%), var(--stone-3) var(--p, 50%)); border-radius: 2px; outline: none; margin: 8px 0; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--chalk); border: 2px solid var(--brass); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); cursor: pointer; transition: transform .3s var(--ease-spring); }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--chalk); border: 2px solid var(--brass); cursor: pointer; }
.list-wrap { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 40px 0 clamp(80px, 10vw, 140px); }
.list-wrap.has-map { grid-template-columns: 1fr minmax(360px, .8fr); }
.list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-content: start; }
.list-wrap.has-map .list-grid { grid-template-columns: repeat(2, 1fr); }
.list-grid .obj { opacity: 1; transform: none; animation: objIn .8s var(--ease-spring) both; animation-delay: calc(var(--k, 0) * 60ms); }
@keyframes objIn { from { opacity: 0; transform: translateY(18px); } }
.list-grid .obj.is-dim { opacity: .35; filter: saturate(.3); }
.list-empty { grid-column: 1 / -1; text-align: center; padding: 80px 20px; color: var(--text-soft); display: grid; gap: 12px; justify-items: center; }
.list-empty h3 { font-size: 30px; color: var(--text); }
.map-panel { position: sticky; top: 140px; height: calc(100vh - 170px); min-height: 480px; border-radius: var(--r-lg); overflow: hidden; background: var(--moss); color: var(--on-dark); display: none; }
.list-wrap.has-map .map-panel { display: block; }
.map-panel svg { width: 100%; height: 100%; }
.map-pin { cursor: pointer; }
.map-pin circle { fill: var(--brass); stroke: var(--moss); stroke-width: 2; transition: r .4s var(--ease-spring), fill .3s; }
.map-pin.is-mute circle { fill: rgba(239, 236, 229, .28); }
.map-pin.is-active circle, .map-pin:hover circle { r: 9; fill: var(--brass-2); }
.map-pin text { font-family: var(--sans); font-size: 10px; font-weight: 600; fill: var(--on-dark); opacity: 0; transition: opacity .3s; pointer-events: none; }
.map-pin.is-active text, .map-pin:hover text { opacity: 1; }
.map-label { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; fill: rgba(239, 236, 229, .55); }
.map-river { fill: none; stroke: rgba(239, 236, 229, .35); stroke-width: 1.4; stroke-linecap: round; }
.map-river-name { font-family: var(--display); font-style: italic; font-size: 12px; fill: rgba(239, 236, 229, .5); }
.map-legend { position: absolute; left: 18px; bottom: 18px; font-size: 12px; color: var(--on-dark-soft); display: grid; gap: 4px; }
.map-legend b { color: var(--on-dark); font-weight: 600; }
.map-card { position: absolute; left: 18px; right: 18px; top: 18px; background: rgba(250, 248, 244, .96); color: var(--text); border-radius: var(--r-lg); padding: 14px 16px; display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .6s var(--ease-spring); pointer-events: none; }
.map-card.is-on { opacity: 1; transform: none; pointer-events: auto; }
.map-card img { width: 84px; height: 64px; object-fit: cover; border-radius: var(--r); }
.map-card b { display: block; font-family: var(--display); font-weight: 400; font-size: 19px; }
.map-card span { font-size: 13px; color: var(--text-soft); }

/* ---------- Exposé ---------- */
.expo-top { padding: 120px 0 0; }
.expo-crumbs { font-size: 13px; color: var(--text-soft); display: flex; gap: 10px; align-items: center; margin-bottom: 26px; }
.expo-crumbs a:hover { color: var(--text); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 10px; border-radius: var(--r-lg); overflow: hidden; position: relative; }
.gallery figure { margin: 0; position: relative; overflow: hidden; cursor: zoom-in; background: var(--stone-3); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-soft); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery-all { position: absolute; right: 16px; bottom: 16px; z-index: 2; }
.gallery-play { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 999px; background: rgba(28, 42, 36, .6); color: var(--on-dark); font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); border: 0; }
.gallery-play i { width: 28px; height: 28px; border-radius: 50%; background: var(--brass); display: grid; place-items: center; }
.gallery-play svg { width: 12px; height: 12px; fill: #fff; margin-left: 2px; }
.expo-grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(40px, 5vw, 80px); align-items: start; padding: 40px 0 clamp(80px, 10vw, 140px); }
.expo-main { display: grid; gap: clamp(60px, 7vw, 100px); min-width: 0; }
.expo-head h1 { font-size: clamp(38px, 4.6vw, 68px); max-width: 16ch; }
.expo-head .obj-place { margin-bottom: 14px; }
.expo-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.key { padding: 16px 18px; border-radius: var(--r-lg); background: var(--chalk); box-shadow: 0 1px 0 var(--line); display: grid; gap: 2px; }
.key .num { font-size: 28px; line-height: 1.1; }
.key .num small { font-size: 14px; font-family: var(--sans); color: var(--text-soft); margin-left: 4px; }
.key span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--text-soft); }
.expo-text { max-width: 66ch; display: grid; gap: 16px; font-size: 17px; }
.expo-text p + p { color: var(--text-soft); }
.expo-h2 { font-size: clamp(30px, 3.2vw, 46px); margin-bottom: 24px; }
.expo-sec { display: grid; gap: 0; }
.expo-aside { position: sticky; top: 90px; display: grid; gap: 16px; }
.price-card { background: var(--moss); color: var(--on-dark); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 18px; }
.price-card .num { font-size: clamp(32px, 2.6vw, 42px); line-height: 1; }
.price-card .price-sub { font-size: 13px; color: var(--on-dark-soft); display: flex; gap: 14px; flex-wrap: wrap; }
.price-card .btn { justify-content: center; }
.price-card .btn-ghost { border-color: var(--line-l); }
.price-card .btn-ghost:hover { border-color: var(--on-dark); }
.agent-card { background: var(--chalk); border-radius: var(--r-lg); padding: 22px; display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; box-shadow: 0 1px 0 var(--line); }
.agent-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; }
.agent-card b { display: block; font-family: var(--display); font-weight: 400; font-size: 20px; }
.agent-card span { font-size: 13px; color: var(--text-soft); display: block; }
.agent-card a { font-size: 14px; font-weight: 600; color: var(--brass); display: inline-block; margin-top: 4px; }
.aside-note { font-size: 12px; color: var(--text-mute); padding: 0 6px; }
.expo-film { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--moss); }
.expo-film video { width: 100%; height: 100%; object-fit: cover; }
.film-tabs { display: flex; gap: 8px; margin-top: 14px; }
.film-tabs button { border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--text-soft); transition: all .3s; }
.film-tabs button.is-active { background: var(--moss); color: var(--on-dark); border-color: var(--moss); }
.model-box { position: relative; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(120% 100% at 50% 0%, #e7e2d8, var(--stone-2) 70%); aspect-ratio: 16 / 10; }
.model-box model-viewer { width: 100%; height: 100%; --poster-color: transparent; --progress-bar-color: var(--brass); --progress-bar-height: 2px; }
.model-hint { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(28, 42, 36, .7); color: var(--on-dark); font-size: 12px; font-weight: 600; backdrop-filter: blur(6px); transition: opacity .6s; }
.model-hint svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.model-box.is-touched .model-hint { opacity: 0; }
.model-tools { position: absolute; right: 16px; top: 16px; z-index: 2; display: flex; gap: 6px; }
.model-tools button { border: 0; background: rgba(250, 248, 244, .92); color: var(--text); border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 600; transition: background .3s, color .3s; }
.model-tools button.is-active, .model-tools button:hover { background: var(--moss); color: var(--on-dark); }
.model-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-soft); font-size: 14px; }
.floor { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
.floor-stage { position: relative; border-radius: var(--r-lg); background: var(--chalk); box-shadow: 0 1px 0 var(--line); padding: 22px; }
.floor-stage svg { width: 100%; height: auto; }
.room { fill: var(--stone-2); stroke: var(--moss); stroke-width: 1.2; transition: fill .3s; cursor: pointer; }
.room:hover, .room.is-active { fill: var(--brass-soft); }
.room-lbl { font-family: var(--sans); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; fill: var(--text-soft); pointer-events: none; }
.room-m2 { font-family: var(--display); font-size: 12px; fill: var(--text); pointer-events: none; }
.floor-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.floor-tabs button { border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--text-soft); transition: all .3s; }
.floor-tabs button.is-active { background: var(--moss); color: var(--on-dark); border-color: var(--moss); }
.floor-info { display: grid; gap: 0; align-content: start; }
.floor-info li { list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; cursor: pointer; transition: color .3s, padding-left .4s var(--ease-out); }
.floor-info li:hover, .floor-info li.is-active { color: var(--brass); padding-left: 8px; }
.floor-info li b { font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--text); }
.floor-info li.is-active b { color: var(--brass); }
.floor-total { display: flex; justify-content: space-between; padding-top: 14px; font-weight: 600; }
.floor-dl { margin-top: 20px; }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 40px; }
.feat-grid li { list-style: none; display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.feat-grid li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); flex: none; transform: translateY(-2px); }
.energy { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; background: var(--chalk); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 1px 0 var(--line); }
.energy-scale { display: flex; gap: 4px; }
.energy-scale span { flex: 1; height: 34px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; border-radius: 3px; opacity: .35; }
.energy-scale span.is-on { opacity: 1; transform: scaleY(1.25); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); }
.energy dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; font-size: 14px; }
.energy dt { color: var(--text-soft); } .energy dd { margin: 0; font-weight: 600; }
.loc { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.loc-map { border-radius: var(--r-lg); overflow: hidden; background: var(--moss); min-height: 340px; position: relative; }
.loc-map svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.loc-list { display: grid; gap: 0; align-content: center; }
.loc-list li { list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.loc-list li span { color: var(--text-soft); }
.loc-list li b { font-family: var(--display); font-weight: 400; font-size: 18px; }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 60px); background: var(--moss); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 44px); }
.calc .range > span { color: var(--on-dark-soft); }
.calc .range > span b { color: var(--on-dark); }
.calc input[type=range] { background: linear-gradient(90deg, var(--brass) var(--p, 50%), rgba(239, 236, 229, .2) var(--p, 50%)); }
.calc input[type=range]::-webkit-slider-thumb { background: var(--moss); }
.calc-fields { display: grid; gap: 22px; }
.calc-out { display: grid; gap: 14px; align-content: center; border-left: 1px solid var(--line-l); padding-left: clamp(24px, 3vw, 50px); }
.calc-out .num { font-size: clamp(48px, 5vw, 80px); line-height: 1; color: var(--brass-2); }
.calc-out .num small { display: block; font-size: 14px; color: var(--on-dark-soft); font-family: var(--sans); margin-top: 8px; letter-spacing: 0; }
.calc-out dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; font-size: 14px; }
.calc-out dt { color: var(--on-dark-soft); } .calc-out dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-note { font-size: 12px; color: var(--on-dark-soft); }
.book { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 60px); }
.days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 18px; }
.day { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 12px 6px; text-align: center; display: grid; gap: 2px; cursor: pointer; transition: all .3s; background: transparent; }
.day small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); }
.day b { font-family: var(--display); font-weight: 400; font-size: 24px; }
.day.is-active { background: var(--moss); color: var(--on-dark); border-color: var(--moss); }
.day.is-active small { color: var(--on-dark-soft); }
.day:disabled { opacity: .35; cursor: not-allowed; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: 9px 14px; font-size: 14px; font-weight: 600; transition: all .3s; }
.slot.is-active { background: var(--brass); color: #fff; border-color: var(--brass); }
.slot:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.book-form { display: grid; gap: 14px; }
.book-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.book-sum { background: var(--chalk); border-radius: var(--r-lg); padding: 16px 18px; font-size: 14px; color: var(--text-soft); box-shadow: 0 1px 0 var(--line); }
.book-sum b { color: var(--text); font-weight: 600; }
.done { display: none; background: var(--chalk); border-radius: var(--r-lg); padding: 28px; text-align: center; box-shadow: 0 1px 0 var(--line); }
.done h3 { font-size: 30px; margin-bottom: 8px; }
.done p { color: var(--text-soft); }
.is-sent .book-form, .is-sent .book-sum { display: none; }
.is-sent .done { display: block; animation: objIn .8s var(--ease-spring) both; }
.similar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 85; background: rgba(20, 28, 24, .96); color: var(--on-dark); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--pad); font-size: 13px; color: var(--on-dark-soft); }
.lb-close { border: 0; background: transparent; color: var(--on-dark); width: 44px; height: 44px; display: grid; place-items: center; }
.lb-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 var(--pad); min-height: 0; }
.lb-stage img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--r); animation: lbIn .6s var(--ease-spring); }
@keyframes lbIn { from { opacity: 0; transform: scale(.98); } }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-l); background: rgba(28, 42, 36, .6); color: var(--on-dark); display: grid; place-items: center; transition: background .3s; }
.lb-nav:hover { background: var(--brass); }
.lb-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lb-prev { left: calc(var(--pad) - 10px); } .lb-next { right: calc(var(--pad) - 10px); }
.lb-cap { padding: 16px var(--pad) 22px; text-align: center; font-size: 14px; color: var(--on-dark-soft); }

/* ---------- Verkaufen: Wertermittlung ---------- */
.wiz { display: grid; grid-template-columns: 1fr 400px; gap: clamp(30px, 4vw, 60px); align-items: start; }
.wiz-panel { background: var(--chalk); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 44px); box-shadow: 0 1px 0 var(--line); min-height: 520px; display: grid; grid-template-rows: auto 1fr auto; gap: 26px; }
.wiz-steps { display: flex; gap: 6px; }
.wiz-steps span { flex: 1; height: 2px; background: var(--stone-3); border-radius: 2px; position: relative; overflow: hidden; }
.wiz-steps span::after { content: ""; position: absolute; inset: 0; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-soft); }
.wiz-steps span.is-done::after, .wiz-steps span.is-active::after { transform: scaleX(1); }
.wiz-steps span.is-active::after { background: var(--moss); }
.wiz-step { display: none; animation: objIn .7s var(--ease-spring) both; }
.wiz-step.is-active { display: grid; gap: 22px; align-content: start; }
.wiz-step h3 { font-size: clamp(26px, 2.6vw, 38px); }
.wiz-step h3 small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 10px; font-weight: 600; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.opts.is-4 { grid-template-columns: repeat(4, 1fr); }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.opt span { display: grid; gap: 8px; padding: 18px; border: 1px solid var(--line-2); border-radius: var(--r-lg); cursor: pointer; transition: all .3s; background: transparent; }
.opt svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.opt b { font-weight: 600; font-size: 15px; }
.opt small { color: var(--text-soft); font-size: 13px; }
.opt input:checked + span { background: var(--moss); color: var(--on-dark); border-color: var(--moss); }
.opt input:checked + span small { color: var(--on-dark-soft); }
.opt span:hover { border-color: var(--text); }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wiz-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.est { background: var(--moss); color: var(--on-dark); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 14px; position: relative; overflow: hidden; }
.est-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-soft); font-weight: 600; }
.est .num { font-size: clamp(36px, 3.2vw, 48px); line-height: 1; color: var(--brass-2); }
.est .num small { font-size: .45em; color: var(--on-dark-soft); font-family: var(--sans); }
.est-range { display: flex; justify-content: space-between; font-size: 13px; color: var(--on-dark-soft); }
.est-bar { height: 6px; border-radius: 6px; background: rgba(239, 236, 229, .14); position: relative; overflow: hidden; }
.est-bar span { position: absolute; top: 0; bottom: 0; left: var(--a, 30%); right: calc(100% - var(--b, 70%)); background: linear-gradient(90deg, var(--brass), var(--brass-2)); border-radius: 6px; transition: left .8s var(--ease-soft), right .8s var(--ease-soft); }
.est-facts { display: grid; gap: 6px; font-size: 14px; color: var(--on-dark-soft); }
.est-facts div { display: flex; justify-content: space-between; gap: 12px; }
.est-facts b { color: var(--on-dark); font-weight: 600; }
.est.is-blur .num, .est.is-blur .est-range { filter: blur(7px); user-select: none; }
.est-lock { font-size: 13px; color: var(--on-dark-soft); display: flex; gap: 8px; align-items: center; }
.est-lock svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.trust { display: grid; gap: 10px; font-size: 14px; color: var(--text-soft); padding: 0 6px; }
.trust li { list-style: none; display: flex; gap: 10px; align-items: baseline; }
.trust li::before { content: "✓"; color: var(--brass); font-weight: 700; }
.sold { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sold .obj-media { aspect-ratio: 3 / 2; }
.sold .obj-media img { filter: saturate(.9); }
.sold-days { position: absolute; left: 16px; bottom: 16px; z-index: 2; background: rgba(250, 248, 244, .95); color: var(--text); border-radius: var(--r-lg); padding: 10px 14px; display: grid; }
.sold-days .num { font-size: 26px; line-height: 1; }
.sold-days small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; counter-reset: tl; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line-2); }
.tl-item { position: relative; padding-top: 50px; counter-increment: tl; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 16px; width: 13px; height: 13px; border-radius: 50%; background: var(--stone); border: 2px solid var(--brass); }
.tl-item::after { content: "0" counter(tl); position: absolute; left: 24px; top: 8px; font-family: var(--display); font-size: 22px; color: var(--brass); }
.tl-item h3 { font-size: 24px; margin-bottom: 8px; }
.tl-item p { font-size: 15px; color: var(--text-soft); }
.dark .tl-item p { color: var(--on-dark-soft); }
.faq { max-width: 800px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--display); font-size: clamp(19px, 1.6vw, 24px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 24px; color: var(--brass); transition: transform .4s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--text-soft); max-width: 60ch; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px 40px; }
.tm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; }
.tm .person-img { aspect-ratio: 4 / 5; }
.tm-body { display: grid; gap: 12px; padding-bottom: 8px; }
.tm-body h3 { font-size: clamp(26px, 2.4vw, 34px); }
.tm-body .role { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--brass); }
.tm-body p { font-size: 15px; color: var(--text-soft); }
.tm-body a { font-size: 14px; font-weight: 600; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-lg); background: var(--moss-2); display: grid; gap: 12px; align-content: start; min-height: 220px; }
.value .num { font-size: 40px; color: var(--brass-2); line-height: 1; }
.value h3 { font-size: 26px; }
.value p { font-size: 15px; color: var(--on-dark-soft); }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.office { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; color: var(--on-dark); }
.office img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-soft); }
.office:hover img { transform: scale(1.04); }
.office::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 42, 36, 0) 40%, rgba(28, 42, 36, .85)); }
.office-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px; display: grid; gap: 4px; }
.office-body h3 { font-size: 30px; }
.office-body p { font-size: 14px; color: var(--on-dark-soft); }

/* Screenshot-Hilfe (?shot=1 setzt data-shot im Head-Skript) */
html[data-shot] .hero, html[data-shot] .page-hero { min-height: 900px !important; }
html[data-shot="1"] *, html[data-shot="1"] *::before, html[data-shot="1"] *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition-duration: 0s !important; transition-delay: 0s !important; }
html[data-shot="1"] [data-reveal], html[data-shot="1"] .hero-sub, html[data-shot="1"] .hero-search { opacity: 1 !important; transform: none !important; }
html[data-shot="1"] .ln > i { transform: none !important; }
html[data-shot="1"] .clip > *, html[data-shot="1"] .clip-x > * { clip-path: none !important; }
html[data-shot] .pre, html[data-shot] .wipe { display: none !important; }

/* Login-Hinweis: handgezeichneter Kreis um „Login“ + wegklickbare Erklärung */
.nav-login { position: relative; }
.nav-login .nav-login-ring { position: absolute; left: -14px; top: -9px; width: calc(100% + 28px); height: calc(100% + 18px); fill: none; stroke: var(--brass); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; opacity: 0; }
.nav-login-ring path { stroke-dasharray: 340; stroke-dashoffset: 340; }
.nav.is-open .nav-login-ring { display: none; }
html.hint-on .nav-login-ring { opacity: 1; transition: opacity .3s; }
html.hint-on .nav-login-ring path { animation: ringDraw 1.1s var(--ease-soft) .2s forwards; }
@keyframes ringDraw { to { stroke-dashoffset: 0; } }
.login-hint { position: fixed; z-index: 65; top: 72px; right: calc(var(--pad) + 120px); width: min(360px, calc(100vw - 32px)); background: var(--moss); color: var(--on-dark); border-radius: var(--r-lg); padding: 20px 22px 18px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55); display: grid; gap: 10px; opacity: 0; transform: translateY(-10px); transition: opacity .5s var(--ease), transform .8s var(--ease-spring); }
.login-hint::before { content: ""; position: absolute; right: 92px; top: -8px; width: 16px; height: 16px; background: var(--moss); transform: rotate(45deg); border-radius: 2px; }
.login-hint.is-on { opacity: 1; transform: none; }
.login-hint p { font-size: 14px; line-height: 1.55; color: var(--on-dark-soft); padding-right: 20px; }
.login-hint p strong { color: var(--on-dark); font-weight: 600; }
.login-hint-tag { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--brass-2) !important; }
.login-hint-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.login-hint .btn-ghost { border-color: var(--line-l); color: var(--on-dark); }
.login-hint-close { position: absolute; right: 10px; top: 10px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--on-dark-soft); display: grid; place-items: center; border-radius: 50%; }
.login-hint-close:hover { color: var(--on-dark); background: rgba(239, 236, 229, .08); }
.login-hint-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (max-width: 960px) { .login-hint { top: auto; bottom: 16px; right: 16px; left: 16px; width: auto; transform: translateY(10px); } .login-hint::before { display: none; } .nav-login-ring { display: none; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); z-index: 96; background: var(--moss); color: var(--on-dark); padding: 14px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5); opacity: 0; transition: opacity .4s, transform .6s var(--ease-spring); pointer-events: none; max-width: min(90vw, 520px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Demo-Hinweis (dezent) */
.demo-note { position: fixed; left: 16px; bottom: 16px; z-index: 50; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); background: rgba(250, 248, 244, .8); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 999px; pointer-events: none; display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .obj.is-third { grid-column: span 3; }
  .expo-grid { grid-template-columns: 1fr 340px; }
  .team-grid { grid-template-columns: 1fr; }
  .list-grid { grid-template-columns: repeat(2, 1fr); }
  .list-wrap.has-map .list-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav-links { position: absolute; inset: 0; display: grid; align-content: center; justify-items: start; gap: 18px; padding: 110px var(--pad) 40px; opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .4s var(--ease), transform .7s var(--ease-spring); }
  .nav.is-open { position: fixed; inset: 0; background: rgba(28, 42, 36, .97); color: var(--on-dark); align-items: flex-start; padding: 18px var(--pad); }
  .nav.is-open .nav-links { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a:not(.nav-cta):not(.nav-login) { font-family: var(--display); font-weight: 300; font-size: clamp(34px, 9vw, 48px); letter-spacing: -.03em; }
  .burger { display: block; }
  .hero-content { grid-template-columns: 1fr; padding-top: 120px; }
  .hero-search { justify-self: stretch; width: 100%; }
  .hero-scroll { display: none; }
  .obj.is-wide { grid-template-columns: 1fr; }
  .obj.is-wide .obj-media { min-height: 0; aspect-ratio: 4 / 3; }
  .obj.is-half, .obj.is-third { grid-column: span 6; }
  .ed-head, .manifest-inner, .sell, .cta-inner, .expo-grid, .wiz, .calc, .book, .floor, .loc, .energy, .tm, .offices { grid-template-columns: 1fr; }
  .ed-head .lead { justify-self: start; }
  .regions { flex-direction: column; height: auto; }
  .region { min-height: 320px; flex: none !important; }
  .region::after { background: linear-gradient(180deg, rgba(28, 42, 36, .08) 0%, rgba(28, 42, 36, .45) 40%, rgba(28, 42, 36, .94) 100%); }
  .region-body { gap: 6px; }
  .region-body h3 { font-size: 30px; }
  .region-body p { opacity: 1; transform: none; max-height: none; font-size: 14px; line-height: 1.5; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
  .talk-inner, .cta-inner { grid-template-columns: 1fr; }
  .team-row { grid-template-columns: repeat(2, 1fr); }
  .voices, .values, .similar, .sold, .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .expo-aside { position: static; }
  .expo-keys { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 160px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .gallery figure:nth-child(n+4) { display: none; }
  .calc-out { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-l); padding-top: 24px; }
  .wiz-side { position: static; }
  .opts.is-4 { grid-template-columns: repeat(2, 1fr); }
  .map-panel { position: static; height: 420px; }
  .list-wrap.has-map { grid-template-columns: 1fr; }
  .filterbar { top: 58px; }
  .days { grid-template-columns: repeat(3, 1fr); }
  .tm .person-img { aspect-ratio: 3 / 4; }
  .expo-grid > *, .expo-main > *, .wiz > *, .list-wrap > * { min-width: 0; }
  .film-tabs, .floor-tabs { flex-wrap: wrap; }
  .energy dl, .calc-out dl { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .team-row, .foot-grid, .feat-grid, .opts, .book-form .row, .hero-search-row { grid-template-columns: 1fr; }
  .numbers .num { font-size: 40px; }
  .foot-lejama { flex-direction: column; align-items: flex-start; }
  .lb-nav { width: 42px; height: 42px; }
  .loc-list li { grid-template-columns: 1fr; gap: 2px; }
  .expo-keys { grid-template-columns: 1fr 1fr; gap: 10px; }
  .key { padding: 12px 14px; }
  .key .num { font-size: 24px; }
  .filterbar .field, .range { min-width: 0; flex: 1 1 140px; }
}
