/* Schriften: selbst ausgeliefert (DM Sans, DM Serif Display; SIL Open Font License 1.1) */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 300 500; font-display: swap; src: url("fonts/dm-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 300 500; font-display: swap; src: url("fonts/dm-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/dm-serif-display-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/dm-serif-display-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* wolasselda⁷ – Stylesheet (veredelt)
   Haltung: ruhig, hell, präzise. Haarlinien statt Boxen, leichte Typografie, viel Luft.
   Bewegung nach Emil Kowalski: starke ease-out-Kurve, kurze UI-Zeiten, Hover nur mit Maus,
   Druck-Feedback auf Buttons, nichts animiert aus dem Nichts, reduzierte Bewegung respektiert. */

:root {
  --navy: #031a30;
  --ink: #0c2236;
  --ink-soft: rgba(12, 34, 54, 0.74);
  --paper: #f7f4ee;
  --paper-2: #efebe2;
  --sand: #ecd5ac;
  --gold: #a98a52;
  --hair: rgba(12, 34, 54, 0.15);
  --hair-strong: rgba(12, 34, 54, 0.32);
  --hair-light: rgba(236, 213, 172, 0.3);
  --serif: "DM Serif Display", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 4.4vw, 72px);
  --max: 1320px;
  --header-h: 80px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);          /* starkes ease-out für alles, was reagiert */
  --ease-move: cubic-bezier(0.77, 0, 0.175, 1);     /* Bewegung auf der Seite */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; font-weight: 400; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.04; margin: 0; letter-spacing: -0.022em; text-wrap: balance; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
sup { font-size: 0.5em; line-height: 0; vertical-align: super; }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
.on-dark :focus-visible, .site-header :focus-visible, .hero :focus-visible { outline-color: var(--sand); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--sand); color: var(--navy); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(80px, 11vw, 168px); }
.on-dark { background: var(--navy); color: var(--paper); }
.on-dark .muted { color: rgba(247, 244, 238, 0.7); }
.muted { color: var(--ink-soft); }

/* Typografie */
.label { display: flex; align-items: center; gap: 16px; font: 500 0.72rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.6rem; }
.label::before { content: ""; flex: none; width: 64px; height: 12px; background: radial-gradient(circle at 17px 50%, currentColor 0 4.6px, transparent 5.2px), linear-gradient(currentColor, currentColor) 0 50% / 12px 1px no-repeat, linear-gradient(currentColor, currentColor) 22px 50% / 42px 3px no-repeat; }
.label--plain::before { display: none; }
.on-dark .label { color: var(--sand); }
.display { font-size: clamp(2.8rem, 6.4vw, 5.6rem); }
.h1 { font-size: clamp(2.3rem, 4.8vw, 4.2rem); }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
.lead { font-size: clamp(1.1rem, 1.45vw, 1.28rem); line-height: 1.65; font-weight: 300; }

/* Buttons: eckig, ruhig, spürbar beim Drücken */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 30px; border-radius: 0;
  font: 500 0.82rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 160ms var(--ease);
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--ink); color: var(--paper); } }
.btn--solid { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .btn--solid:hover { background: transparent; color: var(--ink); } }
.btn--light { background: #fff; border-color: #fff; color: var(--navy); }
@media (hover: hover) and (pointer: fine) { .btn--light:hover { background: transparent; color: #fff; } }
.btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; } }
.btn--sand { background: var(--sand); border-color: var(--sand); color: var(--navy); }
@media (hover: hover) and (pointer: fine) { .btn--sand:hover { background: transparent; color: var(--sand); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 500 0.78rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; padding-bottom: 8px; border-bottom: 1px solid currentColor; }
.link-arrow::after { content: "→"; font-size: 1.1rem; letter-spacing: 0; transition: transform 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover::after { transform: translateX(5px); } }
.round { display: inline-grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 50%; color: #fff; text-decoration: none; transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--ease); }
.round:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .round:hover { background: #fff; color: var(--navy); } }
.round svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: #fff; transition: background-color 260ms ease; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; background: linear-gradient(to bottom, rgba(3, 26, 48, 0.55), rgba(3, 26, 48, 0)); transition: opacity 260ms ease; pointer-events: none; }
.site-header .wrap { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; position: relative; }
.site-header .wrap::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, 0.4); }
.site-header.is-solid, .site-header.is-open, body:not(.has-hero) .site-header { background: var(--navy); }
.site-header.is-solid::before, .site-header.is-open::before, body:not(.has-hero) .site-header::before { opacity: 0; }
.site-header.is-solid .wrap::after, body:not(.has-hero) .site-header .wrap::after { background: var(--hair-light); }
.nav { grid-column: 1; grid-row: 1; display: flex; gap: clamp(22px, 2.8vw, 44px); }
.nav a { text-decoration: none; font: 400 0.78rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; padding: 10px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--sand); transform: scaleX(0); transform-origin: 0 50%; transition: transform 220ms var(--ease); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); } }
.header-cta { grid-column: 3; justify-self: end; min-height: 44px; padding: 0 22px; white-space: nowrap; }
.menu-btn { display: none; grid-column: 1; grid-row: 1; justify-self: start; width: 48px; height: 48px; background: none; border: 0; color: inherit; cursor: pointer; margin-left: -12px; }
.menu-btn span { display: block; width: 24px; height: 1px; background: currentColor; margin: 7px auto; transition: transform 220ms var(--ease), opacity 160ms ease; }
.site-header.is-open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header.is-open .menu-btn span:nth-child(2) { opacity: 0; }
.site-header.is-open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 880px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--navy); flex-direction: column; gap: 0; padding: 8px var(--gutter) 32px; border-top: 1px solid var(--hair-light); opacity: 0; transform: translateY(-6px); visibility: hidden; transition: opacity 180ms ease, transform 220ms var(--ease), visibility 180ms; }
  .site-header.is-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a { font: 400 1.9rem/1 var(--serif); letter-spacing: -0.01em; text-transform: none; padding: 18px 0; border-bottom: 1px solid var(--hair-light); }
  .nav a::after { display: none; }
  .header-cta { padding: 0 14px; font-size: 0.7rem; min-height: 40px; }
  .logo { font-size: 1.9rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; color: #fff; overflow: hidden; isolation: isolate; background: var(--navy); }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; animation: settle 2.6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.05); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(3, 26, 48, 0.72) 0%, rgba(3, 26, 48, 0.08) 48%), linear-gradient(to right, rgba(3, 26, 48, 0.4), rgba(3, 26, 48, 0) 60%); }
.hero__stats { padding-top: calc(var(--header-h) + 22px); display: flex; justify-content: flex-end; gap: clamp(20px, 4vw, 64px); font: 300 0.98rem/1.3 var(--sans); }
.hero__stats b { font-weight: 400; }
.hero__main { display: flex; align-items: center; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(3.6rem, 12.5vw, 12rem); line-height: 0.92; letter-spacing: -0.035em; }
.hero__title sup { font-size: 0.28em; vertical-align: top; position: relative; top: 0.4em; margin-left: 0.05em; letter-spacing: 0; }
.hero__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: end; padding-bottom: clamp(32px, 6vh, 64px); }
.hero__lead { font: 300 1.02rem/1.6 var(--sans); max-width: 34ch; }
.hero__lead b { display: block; font: 400 clamp(1.3rem, 2vw, 1.7rem)/1.2 var(--serif); margin-bottom: 0.5rem; }
.hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.hero__place { display: flex; align-items: center; gap: 14px; border: 1px solid rgba(255, 255, 255, 0.5); padding: 12px 18px; font: 300 0.9rem/1.3 var(--sans); text-decoration: none; transition: background-color 180ms ease, color 180ms ease; }
.hero__place svg { width: 18px; height: 18px; flex: none; }
.hero__place small { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; }
@media (hover: hover) and (pointer: fine) { .hero__place:hover { background: rgba(255, 255, 255, 0.12); } }
.hero--sub { min-height: min(74svh, 700px); }
.hero--sub .hero__title { font-size: clamp(3rem, 8vw, 7rem); }
.hero--sub .hero__lead { max-width: 44ch; }
@media (max-width: 760px) {
  .hero__stats { display: none; }
  .hero__foot { grid-template-columns: 1fr; }
  .hero__actions { justify-content: flex-start; }
  .hero__place { display: none; }
}

/* ---------- Kennzahlen ---------- */
.stats { border-bottom: 1px solid var(--hair); }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats li { padding: clamp(28px, 4vw, 52px) clamp(14px, 2vw, 32px); border-left: 1px solid var(--hair); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font: 400 clamp(1.7rem, 2.9vw, 2.8rem)/1.08 var(--serif); letter-spacing: -0.025em; }
.stats span { display: block; margin-top: 8px; font: 500 0.72rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 760px) { .stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats li:nth-child(3) { border-left: 0; padding-left: 0; } .stats li:nth-child(n + 3) { border-top: 1px solid var(--hair); } .stats b { font-size: 1.7rem; } .stats li { padding-inline: 14px; } .stats li:nth-child(odd) { padding-left: 0; } }

/* ---------- Split-Layouts ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4.4vw, 80px); align-items: center; }
.split__media { grid-column: 1 / span 6; }
.split__text { grid-column: 8 / span 5; }
.split--flip .split__media { grid-column: 7 / span 6; grid-row: 1; }
.split--flip .split__text { grid-column: 1 / span 5; grid-row: 1; }
.frame { position: relative; overflow: hidden; background: var(--paper-2); }
.frame img { width: 100%; height: auto; }
.pic { position: relative; isolation: isolate; }
.pic::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--hair-strong); z-index: -1; }
.split--flip .pic::before { inset: 18px 18px -18px -18px; }
.pic .frame { z-index: 1; }
@media (hover: hover) and (pointer: fine) { .frame img { transition: transform 900ms var(--ease); } .frame:hover img { transform: scale(1.025); } }
@media (max-width: 880px) { .split, .split--flip { display: block; } .split__text { margin-top: 44px; } .pic::before { inset: 12px -10px -12px 10px; } }
.bleed { margin-top: clamp(48px, 7vw, 96px); }
.bleed img { width: 100%; height: clamp(320px, 52vw, 700px); object-fit: cover; }

/* ---------- Haus: die Zeichnungstafel ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(32px, 4.6vw, 64px); }
.sheet { position: relative; border: 1px solid var(--hair-strong); background: var(--paper-2); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.sheet__stage { position: relative; padding: clamp(24px, 3.4vw, 52px); border-right: 1px solid var(--hair-strong); }
.sheet__stage::before, .sheet__stage::after { content: ""; position: absolute; width: 18px; height: 18px; border: 1px solid var(--ink); pointer-events: none; }
.sheet__stage::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.sheet__stage::after { right: 12px; bottom: 12px; border-left: 0; border-top: 0; }
.sheet__bar { display: flex; justify-content: space-between; gap: 16px; font: 500 0.68rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.axo { position: relative; aspect-ratio: 2134 / 1312; margin-top: clamp(8px, 1.4vw, 20px); touch-action: manipulation; }
.axo__layer { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; user-select: none; -webkit-user-drag: none; }
.axo__lines { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.axo__layer[data-unit] { opacity: 0; will-change: opacity; transition: opacity 320ms var(--ease); }
.axo[data-active="attika"] [data-unit="attika"], .axo[data-active="gartenoase"] [data-unit="gartenoase"], .axo[data-active="gartenperle"] [data-unit="gartenperle"], .axo[data-active="weitblick"] [data-unit="weitblick"], .axo[data-active="nest"] [data-unit="nest"] { opacity: 1; }
.axo[data-hover="attika"]:not([data-active="attika"]) [data-unit="attika"], .axo[data-hover="gartenoase"]:not([data-active="gartenoase"]) [data-unit="gartenoase"], .axo[data-hover="gartenperle"]:not([data-active="gartenperle"]) [data-unit="gartenperle"], .axo[data-hover="weitblick"]:not([data-active="weitblick"]) [data-unit="weitblick"], .axo[data-hover="nest"]:not([data-active="nest"]) [data-unit="nest"] { opacity: 0.5; }
.axo.is-pointing { cursor: pointer; }
.tag { position: absolute; z-index: 2; transform: translate(-50%, -50%); width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font: 500 0.62rem/1 var(--sans); letter-spacing: 0.04em; cursor: pointer; display: grid; place-items: center; mix-blend-mode: normal; transition: background-color 180ms ease, color 180ms ease, transform 180ms var(--ease); }
.tag::after { content: attr(data-name); position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 4px); background: var(--ink); color: var(--paper); font: 500 0.66rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; padding: 8px 10px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 160ms ease, transform 200ms var(--ease); }
.tag:active { transform: translate(-50%, -50%) scale(0.94); }
.tag[aria-pressed="true"] { background: var(--ink); color: var(--sand); }
.tag[aria-pressed="true"]::after, .tag:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
@media (hover: hover) and (pointer: fine) { .tag:hover::after { opacity: 1; transform: translate(-50%, 0); } .tag:hover { transform: translate(-50%, -50%) scale(1.06); } }
.sheet__foot { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-top: clamp(6px, 1vw, 14px); font: 500 0.68rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.sheet__foot i { display: inline-block; width: 22px; height: 12px; background: #e2c082; margin-right: 10px; vertical-align: -1px; }
.sheet__north { display: inline-flex; align-items: center; gap: 8px; }
.sheet__north svg { width: 18px; height: 18px; }

/* Wohnungsliste in der Tafel */
.sheet__panel { display: flex; flex-direction: column; }
.floor-label { padding: 18px clamp(18px, 2.4vw, 32px) 10px; font: 500 0.66rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); border-top: 1px solid var(--hair); }
.floor-label:first-child { border-top: 0; }
.unit { border-top: 1px solid var(--hair); }
.floor-label + .unit { border-top: 0; }
.unit__head { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto; align-items: baseline; gap: 12px; width: 100%; text-align: left; background: none; border: 0; padding: 14px clamp(18px, 2.4vw, 32px); cursor: pointer; color: var(--ink); font: inherit; transition: background-color 180ms ease; }
.unit__nr { font: 500 0.7rem/1 var(--sans); letter-spacing: 0.14em; color: var(--ink-soft); }
.unit__name { font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.1 var(--serif); letter-spacing: -0.02em; }
.unit__meta { font: 300 0.88rem/1.2 var(--sans); color: var(--ink-soft); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .unit__head:hover { background: rgba(12, 34, 54, 0.04); } }
.unit__head[aria-expanded="true"] .unit__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.unit__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms var(--ease); }
.unit__body > div { overflow: hidden; min-height: 0; }
.unit.is-active .unit__body { grid-template-rows: 1fr; }
html:not(.js) .unit__body { grid-template-rows: 1fr; }
.unit__inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 18px; padding: 4px clamp(18px, 2.4vw, 32px) 22px calc(clamp(18px, 2.4vw, 32px) + 3.2rem + 12px); opacity: 0; transition: opacity 200ms ease 60ms; }
.unit.is-active .unit__inner, html:not(.js) .unit__inner { opacity: 1; }
.unit__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); }
.unit__photo img { width: 100%; height: 100%; object-fit: cover; }
.unit__text { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; font-size: 0.92rem; line-height: 1.55; }
.unit__price { font: 400 1.5rem/1.1 var(--serif); letter-spacing: -0.02em; }
.unit__price small { display: block; font: 500 0.64rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.unit__links { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.unit__links .link-arrow { font-size: 0.7rem; padding-bottom: 6px; }
@media (max-width: 960px) {
  .sheet { grid-template-columns: 1fr; }
  .sheet__stage { border-right: 0; border-bottom: 1px solid var(--hair-strong); }
}
@media (max-width: 520px) { .unit__inner { grid-template-columns: 1fr; padding-left: clamp(18px, 2.4vw, 32px); } .unit__photo { aspect-ratio: 16 / 10; } .unit__head { grid-template-columns: 2.6rem minmax(0, 1fr) auto; } .tag { width: 30px; height: 30px; } }

/* ---------- Wohnungsliste (Ausbau-Seite) ---------- */
.apt-list { list-style: none; margin: clamp(36px, 5vw, 64px) 0 0; padding: 0; border-top: 1px solid var(--hair-strong); }
.apt-row { border-bottom: 1px solid var(--hair); }
.apt-row a { display: grid; grid-template-columns: clamp(120px, 20vw, 260px) minmax(0, 1fr) auto; gap: clamp(18px, 3.5vw, 56px); align-items: center; padding: clamp(20px, 2.6vw, 34px) 0; text-decoration: none; }
.apt-row__img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.apt-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .apt-row a:hover .apt-row__img img { transform: scale(1.04); } }
.apt-row__nr { font: 500 0.7rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.apt-row h3 { margin: 8px 0 8px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.apt-row__teaser { color: var(--ink-soft); margin-bottom: 14px; max-width: 46ch; font-weight: 300; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { font: 400 0.8rem/1 var(--sans); padding: 8px 12px; border: 1px solid var(--hair-strong); }
.apt-row__price { text-align: right; font: 400 clamp(1.2rem, 2vw, 1.6rem)/1.2 var(--serif); white-space: nowrap; }
.apt-row__price small { display: block; font: 500 0.64rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.apt-row__go { display: inline-block; margin-top: 12px; font: 500 0.7rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
@media (max-width: 720px) { .apt-row a { grid-template-columns: 110px minmax(0, 1fr); align-items: start; } .apt-row__price { grid-column: 2; text-align: left; } .apt-row__teaser { display: none; } }

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; margin-top: clamp(32px, 4vw, 56px); -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.96rem; min-width: 640px; }
table.data th, table.data td { text-align: left; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
table.data thead th { font: 500 0.68rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); border-bottom-color: var(--hair-strong); }
table.data td.num, table.data th.num { text-align: right; padding-right: 0; padding-left: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.data td a { font-weight: 500; }
.caption { font-size: 0.82rem; color: var(--ink-soft); margin-top: 12px; }

/* ---------- Lage ---------- */
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px) clamp(20px, 3vw, 48px); list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; }
.metrics li { border-top: 1px solid var(--hair-light); padding-top: 24px; }
.metrics .big { display: block; font: 400 clamp(3.2rem, 6.4vw, 5.6rem)/1 var(--serif); letter-spacing: -0.035em; color: var(--sand); }
.metrics .big small { font: 300 0.9rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; margin-left: 10px; color: rgba(247, 244, 238, 0.7); }
.metrics .l { display: block; margin-top: 12px; color: rgba(247, 244, 238, 0.85); font-size: 0.96rem; font-weight: 300; max-width: 26ch; }
.dist { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; border-top: 1px solid var(--hair-strong); }
.dist li { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--hair); }
.dist b { font-weight: 500; }
.dist span { color: var(--ink-soft); text-align: right; font-weight: 300; }
@media (max-width: 760px) { .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quote { font: 400 clamp(1.7rem, 3.4vw, 2.8rem)/1.18 var(--serif); letter-spacing: -0.02em; max-width: 26ch; text-wrap: balance; }
.map { max-width: 600px; }
.map img { width: 100%; border: 1px solid var(--hair-strong); }

/* ---------- Ausbau ---------- */
.feature-list { list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(36px, 7vw, 120px); }
.feature-list li { border-top: 1px solid var(--hair-light); padding: 32px 0 48px; }
.feature-list h3 { color: var(--sand); margin-bottom: 16px; }
.feature-list p { color: rgba(247, 244, 238, 0.82); margin-bottom: 18px; font-weight: 300; }
.feature-list a { color: var(--sand); }
@media (max-width: 760px) { .feature-list { grid-template-columns: 1fr; } }

/* ---------- Wohnungs-Detail ---------- */
.crumb { margin-bottom: 1.6rem; }
.crumb a { font: 500 0.72rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 6px; }
.detail-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4.4vw, 80px); align-items: start; }
.detail-top__media { grid-column: 1 / span 7; }
.detail-top__info { grid-column: 9 / span 4; position: sticky; top: calc(var(--header-h) + 28px); }
.detail-top__media img { width: 100%; }
.price { font: 400 clamp(1.9rem, 3vw, 2.5rem)/1.1 var(--serif); letter-spacing: -0.02em; margin: 22px 0 8px; }
.price-note { font-size: 0.82rem; color: var(--ink-soft); }
dl.specs { margin: 28px 0 0; border-top: 1px solid var(--hair-strong); }
dl.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--hair); }
dl.specs dt { color: var(--ink-soft); font-weight: 300; }
dl.specs dd { margin: 0; font-weight: 500; text-align: right; }
.detail-body { max-width: 62ch; }
.mini { margin-top: 30px; border: 1px solid var(--hair-strong); background: var(--paper-2); padding: 14px 14px 10px; }
.mini .axo { margin-top: 6px; }
.mini .sheet__bar { font-size: 0.6rem; }
.mini .axo[data-active] .axo__layer[data-unit] { transition: opacity 280ms var(--ease); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.5vw, 22px); margin-top: clamp(48px, 6vw, 88px); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.next-apt { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--hair-strong); margin-top: clamp(56px, 7vw, 100px); padding-top: 26px; }
@media (max-width: 960px) { .detail-top { display: block; } .detail-top__info { position: static; margin-top: 36px; } .gallery { grid-template-columns: 1fr; } }

/* ---------- Dokument-Seiten ---------- */
.doc { max-width: 860px; }
.doc section { padding: 34px 0; border-top: 1px solid var(--hair-strong); display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 12px 44px; }
.doc section:last-of-type { border-bottom: 1px solid var(--hair-strong); }
.doc h2 { font-size: 1.4rem; }
.doc ul { margin: 0 0 1em; padding-left: 1.1em; }
.doc li { margin-bottom: 0.35em; }
.doc .table-wrap { margin-top: 12px; }
.doc table.data { min-width: 0; }
.doc table.data th, .doc table.data td { padding-block: 10px; }
@media (max-width: 700px) { .doc section { display: block; } .doc h2 { margin-bottom: 10px; } }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); margin-top: clamp(36px, 5vw, 64px); }
.team article { border-top: 1px solid var(--hair-strong); padding-top: 22px; }
.team h2 { font: 500 0.7rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.team address { font-style: normal; }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }

/* ---------- Formular ---------- */
.form-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(32px, 5vw, 88px); }
.form-grid__intro { grid-column: 1 / span 4; }
.form-grid form { grid-column: 6 / span 7; }
.form-grid--solo form { grid-column: 5 / span 8; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { margin-bottom: 26px; }
.field label, .field legend { display: block; font: 500 0.68rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 10px; padding: 0; color: var(--ink-soft); }
.field input, .field textarea { width: 100%; font: inherit; color: inherit; background: transparent; border: 0; border-bottom: 1px solid var(--hair-strong); border-radius: 0; padding: 12px 0; min-height: 50px; transition: border-color 180ms ease, box-shadow 180ms ease; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field input:user-invalid { border-color: #a23b2a; }
fieldset.field { border: 0; padding: 0; margin: 0 0 26px; }
.checks { display: grid; gap: 0; border-top: 1px solid var(--hair); }
.checks label { display: flex; align-items: center; gap: 14px; margin: 0; padding: 13px 4px; border-bottom: 1px solid var(--hair); font: 400 1rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; min-height: 52px; transition: background-color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .checks label:hover { background: rgba(12, 34, 54, 0.035); } }
.checks input { appearance: none; width: 20px; height: 20px; min-height: 0; padding: 0; border: 1px solid var(--ink); border-radius: 0; flex: none; display: grid; place-items: center; transition: background-color 160ms ease; }
.checks input::after { content: ""; width: 10px; height: 10px; background: var(--ink); transform: scale(0); transition: transform 160ms var(--ease); }
.checks input:checked::after { transform: scale(1); }
.checks input:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; box-shadow: none; }
.checks small { margin-left: auto; color: var(--ink-soft); font-weight: 300; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 18px; }
.form-status { margin-top: 16px; font-weight: 500; }
@media (max-width: 960px) { .form-grid { display: block; } .form-grid form { margin-top: 36px; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- CTA-Band ---------- */
.cta-band { text-align: center; }
.cta-band .h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }
.cta-band .label { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--paper); padding-block: clamp(64px, 9vw, 120px) 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(32px, 4vw, 72px); }
.footer-logo { font: 400 3rem/1 var(--serif); letter-spacing: -0.02em; color: var(--sand); text-decoration: none; }
.footer-logo sup { font-size: 0.5em; }
.footer-grid h2 { font: 500 0.68rem/1.3 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--sand); margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { text-decoration: none; color: rgba(247, 244, 238, 0.82); font-weight: 300; }
@media (hover: hover) and (pointer: fine) { .footer-grid a:hover { color: var(--sand); } }
.footer-grid address { font-style: normal; color: rgba(247, 244, 238, 0.82); font-weight: 300; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: clamp(44px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--hair-light); font-size: 0.82rem; color: rgba(247, 244, 238, 0.6); }
.footer-base ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.footer-base li { margin: 0; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Einblenden: ruhig, gestaffelt, ohne JavaScript sichtbar ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease) var(--d, 0ms), transform 700ms var(--ease) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .frame.reveal { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-move); }
.js .frame.reveal img { transform: scale(1.08); transition: transform 1400ms var(--ease); }
.js .frame.reveal.in { clip-path: inset(0 0 0 0); }
.js .frame.reveal.in img { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__img img { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: opacity 200ms ease; }
  .js .frame.reveal { clip-path: none; transition: none; }
  .js .frame.reveal img { transform: none; transition: none; }
  .unit__body, .axo__layer[data-unit], .tag, .tag::after { transition-duration: 1ms; }
}
@media print { .site-header, .menu-btn { display: none; } }

.tag--below::after { bottom: auto; top: calc(100% + 10px); transform: translate(-50%, -4px); }
.tag--below[aria-pressed="true"]::after, .tag--below:focus-visible::after { transform: translate(-50%, 0); }
@media (hover: hover) and (pointer: fine) { .tag--below:hover::after { transform: translate(-50%, 0); } }
@media (max-width: 520px) { .sheet__bar span:last-child { display: none; } }

/* ========== Zeichen: Linie mit Punkt ========== */
.rule { display: flex; align-items: center; width: clamp(150px, 15vw, 200px); height: 14px; color: currentColor; }
.rule::before { content: ""; flex: 0 0 22%; height: 1px; background: currentColor; }
.rule::after { content: ""; flex: 1; height: 3px; background: currentColor; }
.rule i { flex: none; width: 13px; height: 13px; border-radius: 50%; background: currentColor; }
.rule--lg { width: clamp(190px, 20vw, 280px); }
.rule--center { margin-inline: auto; }
.on-dark .rule, .hero .rule { color: var(--sand); }

/* ========== Hero: zweiteilige Aussage wie in der Vorlage ========== */
.hero__title { display: flex; justify-content: space-between; align-items: flex-end; gap: 4vw; width: 100%; font-size: clamp(3rem, 8.6vw, 8.6rem); letter-spacing: -0.03em; line-height: 0.95; }
.hero__title .t1 { display: block; }
.hero__title .t2 { display: block; margin-bottom: -0.04em; margin-top: 6vh; text-align: right; }
.hero--sub .hero__title { display: block; font-size: clamp(3rem, 8vw, 7rem); }
.hero__stats { gap: clamp(18px, 2.4vw, 40px); font-size: 0.9rem; }
@media (max-width: 1280px) { .hero__stats { display: none; } }
@media (max-width: 760px) { .hero__title { flex-direction: column; align-items: flex-start; } .hero__title .t2 { text-align: left; margin-top: 0.1em; } .hero__main { align-items: flex-end; padding-bottom: 8vh; } }

/* ========== Tafel: luftiger, edler ========== */
.sheet { background: var(--paper); }
.sheet__stage { background: var(--paper-2); }
.sheet__panel { padding-block: clamp(14px, 2vw, 28px); }
.floor-label { display: flex; align-items: center; gap: 16px; padding: clamp(26px, 3.4vw, 46px) clamp(26px, 3.4vw, 52px) 6px; border-top: 0; font: 500 0.66rem/1 var(--sans); letter-spacing: 0.26em; color: var(--gold); }
.floor-label::before { content: ""; flex: none; width: 52px; height: 12px; background: radial-gradient(circle at 14px 50%, currentColor 0 4.2px, transparent 4.8px), linear-gradient(currentColor, currentColor) 0 50% / 10px 1px no-repeat, linear-gradient(currentColor, currentColor) 19px 50% / 33px 3px no-repeat; }
.unit { border-top: 0; margin-inline: clamp(26px, 3.4vw, 52px); border-bottom: 1px solid var(--hair); }
.floor-label + .unit { border-top: 0; }
.unit__head { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nr meta" "name meta"; align-items: center; gap: 6px 20px; padding: clamp(22px, 2.6vw, 34px) 0; }
.unit__nr { grid-area: nr; font-size: 0.66rem; letter-spacing: 0.22em; }
.unit__name { grid-area: name; font-size: clamp(1.9rem, 2.8vw, 2.7rem); line-height: 1.04; text-decoration: none !important; }
.unit__meta { grid-area: meta; display: flex; align-items: center; gap: 18px; font-size: 0.86rem; letter-spacing: 0.02em; }
.unit__meta::after { content: ""; width: 34px; height: 34px; border: 1px solid var(--hair-strong); border-radius: 50%; background: linear-gradient(currentColor, currentColor) 50% 50% / 11px 1px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 1px 11px no-repeat; transition: transform 240ms var(--ease), background-color 180ms ease; }
.unit__head[aria-expanded="true"] .unit__meta::after { transform: rotate(45deg); background-color: var(--ink); color: var(--paper); border-color: var(--ink); }
.unit__head[aria-expanded="true"] .unit__meta::after { background: linear-gradient(var(--paper), var(--paper)) 50% 50% / 11px 1px no-repeat, linear-gradient(var(--paper), var(--paper)) 50% 50% / 1px 11px no-repeat, var(--ink); }
@media (hover: hover) and (pointer: fine) { .unit__head:hover { background: transparent; } .unit__head:hover .unit__meta::after { border-color: var(--ink); } }
.unit__inner { display: block; padding: 2px 0 clamp(28px, 3.2vw, 44px); }
.unit__photo { aspect-ratio: 16 / 9; margin-bottom: clamp(18px, 2vw, 28px); }
.unit__text { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 36px; align-items: end; font-size: 0.98rem; line-height: 1.65; }
.unit__text > p { grid-column: 1 / -1; margin: 0; max-width: 40ch; font-weight: 300; }
.unit__price { font-size: 1.7rem; }
.unit__links { justify-content: flex-end; gap: 14px 26px; }
@media (max-width: 520px) { .unit__text { grid-template-columns: 1fr; } .unit__links { justify-content: flex-start; } .unit__meta { font-size: 0.78rem; gap: 12px; } }

/* ========== Wallisellen-Block wie auf der Wix-Seite ========== */
.lage-teaser { background: var(--navy); }
.lage-teaser .pic::before { border-color: var(--hair-light); }
.pic--quote .frame { background: var(--navy); }
.pic--quote .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3, 26, 48, 0.82) 0%, rgba(3, 26, 48, 0.25) 46%, rgba(3, 26, 48, 0) 70%); pointer-events: none; }
.overquote { position: absolute; z-index: 2; right: clamp(20px, 2.8vw, 40px); bottom: clamp(18px, 2.6vw, 38px); left: clamp(20px, 2.8vw, 40px); margin: 0; text-align: right; font: 400 clamp(1.5rem, 2.9vw, 2.7rem)/1.14 var(--serif); letter-spacing: -0.02em; color: var(--sand); text-wrap: balance; }

/* ========== Ausbau: Bild und Text im Wechsel ========== */
.feat { padding-block: clamp(48px, 6vw, 96px); }
.feat__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4.4vw, 80px); align-items: center; }
.feat--left .feat__media { grid-column: 1 / span 5; }
.feat--left .feat__text { grid-column: 7 / span 5; }
.feat--right .feat__media { grid-column: 8 / span 5; grid-row: 1; }
.feat--right .feat__text { grid-column: 2 / span 5; grid-row: 1; }
.feat__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feat__nr { font: 500 0.7rem/1 var(--sans); letter-spacing: 0.26em; color: var(--gold); margin: 2rem 0 1.2rem; }
.feat__text .h1 { margin-bottom: 1.6rem; }
.feat__text .lead { margin-bottom: 1.8rem; max-width: 40ch; }
@media (max-width: 880px) { .feat__grid { display: block; } .feat__text { margin-top: 44px; } }
.banner { margin-block: clamp(48px, 6vw, 96px); }
.banner .frame { margin-inline: 0; }
.banner img { width: 100%; height: clamp(300px, 46vw, 640px); object-fit: cover; object-position: 50% 55%; }

/* ========== Formular: Axonometrie bei der Wahl ========== */
.picker__sheet { border: 1px solid var(--hair-strong); background: var(--paper-2); padding: clamp(16px, 2vw, 26px) clamp(16px, 2vw, 26px) 6px; margin-bottom: 8px; }
.picker .axo__layer[data-unit] { opacity: 0; }
.picker .axo__layer[data-unit].is-hover { opacity: 0.5; }
.picker .axo__layer[data-unit].is-on { opacity: 1; }
.picker .tag { pointer-events: auto; }
.picker .tag[aria-pressed="true"]::after { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .picker .tag:hover::after { opacity: 1; } }
.checks__nr { font: 500 0.68rem/1 var(--sans); letter-spacing: 0.16em; color: var(--ink-soft); width: 2.4rem; }
.checks label:has(input:checked) { background: rgba(169, 138, 82, 0.1); }

.hero__title { flex-direction: column; align-items: flex-start; gap: 0; font-size: clamp(3rem, 8.2vw, 8.4rem); }
.hero__title .t2 { align-self: flex-end; margin-top: 0.02em; margin-bottom: 0; text-align: right; }
.hero--sub .hero__title { display: block; }
@media (max-width: 760px) { .hero__title .t2 { align-self: flex-start; text-align: left; } }

.sheet__sticky { position: sticky; top: calc(var(--header-h) + 28px); }
@media (max-width: 960px) { .sheet__sticky { position: static; } }

.lage-teaser { padding-top: clamp(72px, 9vw, 140px); }

.nav__extra { display: none; }
@media (max-width: 880px) { .header-cta { display: none; } .nav__extra { display: block; } }


/* ================= Kopfbereich: Leiste und Block sind ein Stück ================= */
:root { --header-h: 84px; }
.site-header { background: var(--navy); height: var(--header-h); }
.site-header::before, .site-header::after { display: none; }
.site-header .wrap::after { background: var(--hair-light); }
.brand { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: clamp(238px, 18.5vw, 282px); height: calc(var(--header-h) + 34px); background: var(--navy); border: 1px solid var(--hair-light); border-top: 0; display: flex; flex-direction: column; align-items: center; color: var(--sand); text-decoration: none; transition: height 520ms var(--ease-move), width 520ms var(--ease-move); }
.brand__name { display: flex; align-items: center; height: var(--header-h); font: 400 clamp(2.1rem, 2.7vw, 2.55rem)/1 var(--serif); letter-spacing: -0.02em; white-space: nowrap; transition: font-size 520ms var(--ease-move); }
.brand__name sup { font-size: 0.5em; margin-left: 2px; align-self: flex-start; position: relative; top: 0.78em; line-height: 1; }
.brand__rule { position: absolute; bottom: 13px; left: 50%; transform: translateX(-50%); width: 76px; color: var(--sand); transition: opacity 240ms ease; }
.site-header.is-solid .brand, .site-header.is-open .brand { height: var(--header-h); width: clamp(210px, 15.5vw, 244px); }
.site-header.is-solid .brand__name, .site-header.is-open .brand__name { font-size: clamp(1.7rem, 2.1vw, 2rem); }
.site-header.is-solid .brand__rule, .site-header.is-open .brand__rule { opacity: 0; }
@media (max-width: 880px) {
  :root { --header-h: 66px; }
  .brand { width: 200px; height: calc(var(--header-h) + 26px); }
  .brand__name { font-size: 1.85rem; }
  .brand__rule { bottom: 9px; width: 60px; }
  .site-header.is-solid .brand, .site-header.is-open .brand { width: 170px; }
  .site-header.is-solid .brand__name, .site-header.is-open .brand__name { font-size: 1.55rem; }
}
@media (prefers-reduced-motion: reduce) { .brand, .brand__name, .brand__rule { transition: none; } }

/* ================= Hero: ruhiger, neutraler Verlauf ================= */
.hero::after { background: linear-gradient(to top, rgba(9, 13, 19, 0.6) 0%, rgba(9, 13, 19, 0.22) 30%, rgba(9, 13, 19, 0) 56%); }
.hero__lead b { font-size: clamp(1.4rem, 2.2vw, 2rem); max-width: 18ch; }
.hero__lead { max-width: 30ch; }
.hero__place { border-color: rgba(255, 255, 255, 0.55); }

/* ================= Kennzahlen: Wert und Beschriftung auf einer Linie ================= */
.stats ul { align-items: start; }
.stats li { display: grid; grid-template-rows: 3.2rem auto; align-items: end; row-gap: 12px; }
.stats b { white-space: nowrap; font-size: clamp(1.2rem, 2.1vw, 2.1rem); line-height: 1; padding-bottom: 0.1em; }
.stats span { margin-top: 0; align-self: start; }
@media (max-width: 760px) { .stats li { grid-template-rows: 2.4rem auto; } .stats b { font-size: 1.12rem; } }

/* ================= Buttons: weiches Einfüllen statt hartem Umschalten ================= */
.btn { position: relative; overflow: hidden; isolation: isolate; --fill: var(--ink); --on-fill: var(--paper); transition: color 420ms var(--ease), border-color 420ms var(--ease), transform 160ms var(--ease); background-color: transparent; }
.btn::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--fill); transform: translateY(101%); transition: transform 560ms var(--ease); }
.btn--solid { background: var(--ink); color: var(--paper); --fill: var(--paper); --on-fill: var(--ink); }
.btn--light { background: #fff; color: var(--navy); --fill: var(--navy); --on-fill: #fff; border-color: #fff; }
.btn--sand { background: var(--sand); color: var(--navy); --fill: var(--navy); --on-fill: var(--sand); border-color: var(--sand); }
.btn--ghost { color: #fff; --fill: #fff; --on-fill: var(--navy); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover, .btn--solid:hover, .btn--light:hover, .btn--sand:hover, .btn--ghost:hover { background-color: inherit; }
  .btn:hover { color: var(--on-fill); }
  .btn--solid:hover { color: var(--on-fill); border-color: var(--ink); }
  .btn--light:hover { border-color: var(--navy); }
  .btn--sand:hover { border-color: var(--navy); }
  .btn--ghost:hover { border-color: #fff; }
  .btn:hover::before { transform: none; }
}
.btn:focus-visible::before { transform: none; }
.btn:focus-visible { color: var(--on-fill); }
.on-sand .btn--solid { --fill: var(--sand); --on-fill: var(--ink); }
.on-sand .btn:not(.btn--solid) { border-color: var(--navy); color: var(--navy); --fill: var(--navy); --on-fill: var(--sand); }
.round { position: relative; overflow: hidden; isolation: isolate; transition: color 420ms var(--ease), transform 160ms var(--ease); }
.round::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; border-radius: 50%; transform: scale(0); transition: transform 520ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .round:hover { background: transparent; color: var(--navy); } .round:hover::before { transform: scale(1); } }
.link-arrow { position: relative; border-bottom-color: transparent; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 480ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover { background-size: 35% 1px; } }

/* ================= Sand-Abschluss vor dem Footer ================= */
.on-sand { background: var(--sand); color: var(--navy); }
.on-sand .rule, .on-sand .label { color: var(--navy); }
.on-sand .quote { color: var(--navy); }
.final .quote { max-width: 24ch; }
.site-footer { background: #021525; border-top: 1px solid var(--hair-light); }
.footer-logo { font-size: clamp(2.2rem, 3.2vw, 2.9rem); letter-spacing: -0.02em; }

.brand__name sup { align-self: center; top: -0.95em; }
.unit__price--text { font-size: 1.3rem; }

/* ================= Kopfbereich: ein Stück, ohne Linien und Rahmen ================= */
.site-header .wrap::after { display: none; }
.site-header { box-shadow: 0 14px 34px -22px rgba(2, 10, 20, 0.55); }
.brand { border: 0; height: calc(var(--header-h) + 26px); box-shadow: 0 16px 30px -18px rgba(2, 10, 20, 0.6); }
.brand__rule { display: none; }
.site-header.is-solid .brand, .site-header.is-open .brand { box-shadow: none; }
@media (max-width: 880px) { .brand { height: calc(var(--header-h) + 20px); } }

/* ================= Hero: Aussage in zwei Zeilen, Buttons gleich hoch ================= */
.hero__lead b { font-size: clamp(1.5rem, 2.5vw, 2.3rem); max-width: none; line-height: 1.12; white-space: nowrap; margin-bottom: 0.9rem; }
.hero__lead { max-width: none; }
.hero__actions { align-items: stretch; }
.hero__actions .btn, .hero__place { min-height: 64px; height: 64px; padding-block: 0; }
.hero__place { padding-inline: 20px; }
@media (max-width: 760px) { .hero__lead b { white-space: normal; } .hero__actions { width: 100%; } .hero__actions .btn { flex: 1; } }

/* ================= Buttons: Hover bleibt auf jedem Grund sichtbar ================= */
.btn--sand { --fill: #fff; --on-fill: var(--navy); }
.btn--light { --fill: var(--sand); --on-fill: var(--navy); }
@media (hover: hover) and (pointer: fine) {
  .btn--sand:hover { border-color: #fff; }
  .btn--light:hover { border-color: var(--sand); }
}

/* ================= Abschluss: hell abgesetzt, ruhiger Aufbau ================= */
.final { background: var(--paper-2); color: var(--ink); border-top: 1px solid var(--hair); }
.final .rule, .final .label { color: var(--ink); }
.final .label { color: var(--gold); }
.cta-band { text-align: left; }
.cta-band__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); align-items: end; }
.cta-band__grid > :first-child { grid-column: 1 / span 7; }
.cta-band__actions { grid-column: 8 / span 5; display: grid; gap: 14px; justify-items: stretch; }
.cta-band__actions .btn { width: 100%; }
.cta-band .h1 { max-width: none; font-size: clamp(2.1rem, 4vw, 3.6rem); }
.cta-band .btn-row { margin: 0; }
@media (max-width: 880px) { .cta-band__grid { display: block; } .cta-band__actions { margin-top: 36px; } }

/* ================= Kopfbild der Unterseiten: Titel direkt über dem Text ================= */
.hero--sub { min-height: min(68svh, 640px); }
.hero--sub .hero__main { align-items: flex-end; padding-bottom: clamp(14px, 2vw, 24px); }
.hero--sub .hero__title { margin: 0; }
.hero--sub .hero__foot { padding-bottom: clamp(36px, 6vh, 64px); }
.hero--sub .hero__lead { font-size: 1.08rem; max-width: 46ch; }

/* ================= Umschalter und Visualisierung ================= */
.sheet__bar { align-items: center; }
.switch { display: inline-flex; border: 1px solid var(--hair-strong); }
.switch__btn { font: 500 0.64rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; padding: 11px 14px; background: transparent; border: 0; color: var(--ink-soft); cursor: pointer; transition: background-color 220ms var(--ease), color 220ms var(--ease); }
.switch__btn + .switch__btn { border-left: 1px solid var(--hair-strong); }
.switch__btn[aria-selected="true"] { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .switch__btn[aria-selected="false"]:hover { color: var(--ink); background: rgba(12, 34, 54, 0.05); } }
.stage__view { position: relative; aspect-ratio: 5 / 4; display: flex; align-items: center; margin-top: clamp(6px, 1vw, 14px); }
.stage__view .axo { width: 100%; margin-top: 0; transition: opacity 320ms var(--ease), visibility 0s; }
.viz { position: absolute; inset: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 320ms var(--ease), visibility 0s linear 320ms; }
.viz__inner { position: absolute; left: 0; width: 100%; height: 118.3%; top: -12.8%; }
.viz__inner img { width: 100%; height: 100%; object-fit: fill; }
.viz__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.viz__poly { fill: rgba(236, 213, 172, 0); stroke: rgba(236, 213, 172, 0); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; cursor: pointer; pointer-events: all; transition: fill 320ms var(--ease), stroke 320ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .viz__poly:hover { fill: rgba(236, 213, 172, 0.2); stroke: rgba(236, 213, 172, 0.55); } }
.viz__poly.is-on, .viz__poly.is-on:hover { fill: rgba(236, 213, 172, 0.34); stroke: rgba(246, 232, 205, 0.95); }
.sheet[data-view="viz"] .axo { opacity: 0; visibility: hidden; transition: opacity 320ms var(--ease), visibility 0s linear 320ms; }
.sheet[data-view="viz"] .viz { opacity: 1; visibility: visible; transition: opacity 320ms var(--ease), visibility 0s; }
.sheet[data-view="viz"] .sheet__north { visibility: hidden; }
.viz .tag { background: rgba(247, 244, 238, 0.94); }
.viz .tag[aria-pressed="true"] { background: var(--ink); }
@media (prefers-reduced-motion: reduce) { .stage__view .axo, .viz, .viz__poly { transition-duration: 1ms; } }

/* ================= Schrift: DM Serif Display Regular, ohne Verdichtung ================= */
html { font-synthesis: none; }
h1, h2, h3, h4, .display, .h1, .h2, .h3, .hero__title, .quote, .unit__name, .price, .brand__name, .footer-logo { font-weight: 400; letter-spacing: 0; }

/* ================= Kopfbereich: Block tiefer, Logo mittig im Block ================= */
.brand { height: calc(var(--header-h) + 58px); }
.brand__name { height: 100%; }
.site-header.is-solid .brand, .site-header.is-open .brand { height: var(--header-h); }
@media (max-width: 880px) { .brand { height: calc(var(--header-h) + 40px); } }

/* ================= Hero: Aussage prominenter ================= */
.hero__lead b { font-size: clamp(2.1rem, 4.3vw, 4.1rem); line-height: 1.04; margin-bottom: 0; }
@media (max-width: 760px) { .hero__lead b { font-size: clamp(2rem, 9vw, 2.6rem); } }

/* ================= Visualisierung: nur Nummern, keine Umrandung ================= */
.viz__svg, .viz__poly { display: none; }
.viz .tag { width: 38px; height: 38px; box-shadow: 0 4px 14px -4px rgba(2, 10, 20, 0.45); }
.viz .tag::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.55); opacity: 0; transform: scale(0.8); transition: opacity 280ms var(--ease), transform 380ms var(--ease); pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .viz .tag:hover::before { opacity: 1; transform: none; } }
.viz .tag[aria-pressed="true"]::before { opacity: 1; transform: none; border-color: var(--sand); }

/* ================= Axonometrie: Linien weicher ================= */
.axo__lines { opacity: 0.58; }

/* ================= Übersicht: Preis und Grundriss in getrennten Spalten ================= */
table.data .col-go { padding-left: clamp(28px, 5vw, 80px); white-space: nowrap; }
table.data td.col-go a { font-weight: 400; }

/* ================= Grundriss auf der Wohnungsseite ================= */
.plan { margin-top: clamp(56px, 7vw, 110px); scroll-margin-top: calc(var(--header-h) + 24px); }
.plan__sheet { display: block; background: #fff; border: 1px solid var(--hair-strong); padding: clamp(14px, 3vw, 44px); cursor: zoom-in; }
.plan__sheet img { width: 100%; height: auto; max-width: 1100px; margin-inline: auto; display: block; }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
dialog.lightbox::backdrop { background: rgba(3, 14, 26, 0.86); }
.lightbox__inner { display: grid; place-items: center; width: 100%; height: 100%; padding: clamp(14px, 4vw, 56px); }
.lightbox__fig { margin: 0; max-width: min(1500px, 100%); max-height: 100%; display: grid; gap: 14px; justify-items: center; }
.lightbox__fig img { background: #fff; max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; }
.lightbox__fig figcaption { color: var(--sand); font: 500 0.7rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.lightbox__close { position: fixed; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background-color 240ms var(--ease), color 240ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .lightbox__close:hover { background: #fff; color: var(--navy); } }
dialog.lightbox[open] .lightbox__fig { animation: lb-in 320ms var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { dialog.lightbox[open] .lightbox__fig { animation: none; } }

/* ================= Kontakt: Ansprechperson ================= */
.contact-person { margin-top: 1.6rem; line-height: 1.5; }
.contact-person b { font-weight: 500; }

/* ================= Schlussband: gleiche Ausrichtung wie die anderen Abschnitte ================= */
.cta-band .label { justify-content: flex-start; }
.cta-band .h2 { margin-inline: 0; }
.hero__lead b { margin-bottom: 0.7rem; }

/* ================= Wohnungsseite: klar gegliedert ================= */
.apt-hero { padding-top: calc(var(--header-h) + clamp(32px, 5vw, 64px)); padding-bottom: clamp(36px, 5vw, 72px); }
.apt-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4.4vw, 80px); align-items: end; }
.apt-hero__media { grid-column: 1 / span 7; }
.apt-hero__media img { width: 100%; }
.apt-hero__info { grid-column: 8 / span 5; padding-bottom: 4px; }
.apt-hero__info .h1 { margin-bottom: 1.1rem; }
.apt-hero__info .lead { margin: 0 0 clamp(24px, 3vw, 40px); max-width: 32ch; }
.apt-hero__price { border-top: 1px solid var(--hair-strong); padding-top: 18px; margin-bottom: 26px; }
.apt-hero__price small { display: block; font: 500 0.66rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.apt-hero__price .price { display: block; margin: 10px 0 0; }
.apt-hero__info .price-note { margin: 20px 0 0; }
@media (max-width: 960px) { .apt-hero__grid { display: block; } .apt-hero__info { margin-top: 32px; } }

.subnav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(247, 244, 238, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-block: 1px solid var(--hair); }
.subnav ul { display: flex; gap: clamp(20px, 3.4vw, 52px); list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: block; padding: 17px 0; font: 500 0.68rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: var(--ink-soft); border-bottom: 1px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color 240ms var(--ease), border-color 240ms var(--ease); }
.subnav a.is-current { color: var(--ink); border-bottom-color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .subnav a:hover { color: var(--ink); } }
.apt-section { scroll-margin-top: calc(var(--header-h) + 56px); padding-block: clamp(56px, 7vw, 110px); }
.apt-section--alt { background: var(--paper-2); }
.apt-section[id], .apt-hero[id] { scroll-margin-top: calc(var(--header-h) + 52px); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 0 0 clamp(48px, 6vw, 96px); border-block: 1px solid var(--hair-strong); }
.facts div { padding: 22px 20px 22px 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--hair); }
.facts dt { font: 500 0.64rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.facts dd { margin: 0; font: 400 clamp(1.25rem, 1.9vw, 1.7rem)/1.15 var(--serif); }
@media (max-width: 640px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts div:nth-child(odd) { padding-left: 0; border-left: 0; } .facts div:nth-child(n+3) { border-top: 1px solid var(--hair); } }

.apt-text { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4.4vw, 80px); }
.apt-text > :first-child { grid-column: 1 / span 5; }
.apt-text > :last-child { grid-column: 7 / span 6; max-width: 58ch; }
.apt-text .lead { margin-top: 0; }
.apt-text .small { font-size: 0.9rem; }
@media (max-width: 880px) { .apt-text { display: block; } .apt-text > :last-child { margin-top: 24px; } }

.plan-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); align-items: start; }
.plan-grid__main { grid-column: 1 / span 9; min-width: 0; }
.plan-grid__side { grid-column: 10 / span 3; min-width: 0; position: sticky; top: calc(var(--header-h) + 90px); }
.plan-grid__side .mini { margin-top: 0; }
.plan-grid .plan__sheet { margin-top: clamp(20px, 2.4vw, 32px); }
@media (max-width: 960px) { .plan-grid { display: block; } .plan-grid__side { position: static; margin-top: 32px; max-width: 420px; } }
.next-apt { margin-top: 0; }
.apt-hero + .subnav + .apt-section { padding-top: clamp(40px, 5vw, 72px); }
.apt-hero__media img { aspect-ratio: 5 / 4; object-fit: cover; height: auto; }
@media (max-width: 960px) { .apt-hero__media img { aspect-ratio: 4 / 3; } }
.plan-grid__main { grid-column: 1 / span 8; }
.plan-grid__side { grid-column: 9 / span 4; }
.facts dd { font-size: clamp(1.15rem, 1.65vw, 1.5rem); }
@media (max-width: 960px) { .subnav { top: var(--header-h); } }

/* ================= Startseite: ruhigere Anordnung ================= */
.choose { align-items: end; }
.choose .btn-row { margin-top: 2rem; }
.choose .h1 { margin-bottom: 0; }
.final .quote.quote--wide { max-width: none; font-size: clamp(1.5rem, 2.9vw, 2.6rem); line-height: 1.25; }
@media (max-width: 760px) { .final .quote.quote--wide { font-size: clamp(1.45rem, 6.4vw, 1.9rem); } }


/* ================= Startseiten-Hero: ruhig, klar gegliedert ================= */
.hero--home::after { background: radial-gradient(ellipse 75% 62% at 14% 100%, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.22) 46%, rgba(0, 0, 0, 0) 100%); }
.hero--home .hero__lead b { text-shadow: 0 2px 28px rgba(0, 0, 0, 0.28); }
.hero--home .hero__foot { align-items: end; padding-bottom: clamp(36px, 7vh, 72px); }
.hero--home .hero__lead { margin: 0; }
.hero--home .hero__lead b { font-size: clamp(2.4rem, 5.2vw, 5rem); line-height: 1.04; margin-bottom: clamp(18px, 2.4vw, 30px); letter-spacing: 0; }
.hero--home .hero__lead { display: flex; flex-direction: column; align-items: flex-start; font: 500 0.72rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--sand); }
.hero--home .hero__lead::before { content: ""; width: 64px; height: 12px; margin-bottom: 16px; background: radial-gradient(circle at 17px 50%, currentColor 0 4.6px, transparent 5.2px), linear-gradient(currentColor, currentColor) 0 50% / 12px 1px no-repeat, linear-gradient(currentColor, currentColor) 100% 50% / calc(100% - 22px) 2px no-repeat; }
.hero--home .hero__lead b { order: -1; color: #fff; text-transform: none; letter-spacing: 0; font-family: var(--serif); font-weight: 400; }
@media (max-width: 760px) { .hero--home .hero__lead b { font-size: clamp(2.1rem, 9.4vw, 2.8rem); white-space: normal; } }

/* ================= Lage: interaktive Karte (erst nach Klick laden) ================= */
.map { max-width: none; }
.map__box { position: relative; aspect-ratio: 1 / 1; background: var(--paper-2); border: 1px solid var(--hair-strong); overflow: hidden; }
.map__box > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.map__box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; background: rgba(247, 244, 238, 0.28); padding: 20px; }
.map__cover p { margin: 0; font-size: 0.8rem; color: var(--ink); background: rgba(247, 244, 238, 0.85); padding: 4px 10px; }
.map .caption { margin-top: 14px; }
@media (max-width: 880px) { .map__box { aspect-ratio: 4 / 5; } }

/* ================= «Sie wählen.»: Überschrift und Text auf gleicher Höhe ================= */
.choose { align-items: start; }
.choose > :last-child { padding-top: 3.1rem; }
.choose > :last-child .lead { margin-top: 0; }
@media (max-width: 880px) { .choose > :last-child { padding-top: 0; margin-top: 8px; } }

/* ================= Mobile: Wohnungsliste, Tabelle, Lightbox, Haus ================= */
@media (max-width: 560px) {
  .unit__head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "nr" "name" "meta"; gap: 4px; padding-right: 52px; position: relative; align-items: start; }
  .unit__name { font-size: 1.9rem; }
  .unit__meta { justify-self: start; font-size: 0.84rem; }
  .unit__meta::after { position: absolute; right: 0; top: calc(50% - 17px); }
}
@media (max-width: 760px) {
  .sheet .tag::after { display: none; }
  .lage-teaser .btn-row { margin-bottom: 36px; }
  table.data.stack { min-width: 0; display: block; }
  table.data.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  table.data.stack tbody { display: block; }
  table.data.stack tr { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; padding: 22px 0; border-bottom: 1px solid var(--hair-strong); }
  table.data.stack th, table.data.stack td { display: block; padding: 0; border: 0; text-align: left; white-space: normal; }
  table.data.stack td.num, table.data.stack th.num { text-align: left; padding: 0; }
  table.data.stack td[data-label]::before { content: attr(data-label); display: block; font: 500 0.62rem/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
  table.data.stack td[data-label="Nr."] { grid-column: 1; grid-row: 1; align-self: end; }
  table.data.stack th[scope="row"] { grid-column: 1 / -1; grid-row: 2; font: 400 1.9rem/1.05 var(--serif) !important; margin: -6px 0 2px; }
  table.data.stack th[scope="row"] a { text-decoration: none; }
  table.data.stack td.col-go { grid-column: 1 / -1; padding-left: 0; margin-top: 4px; }
  .table-wrap:has(table.stack) { overflow: visible; }
  /* Grundriss gross: schwenken und zoomen auf dem Handy */
  dialog.lightbox { overflow: auto; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y pinch-zoom; }
  .lightbox__inner { display: block; width: max-content; min-width: 100%; height: auto; min-height: 100%; padding: 64px 12px 24px; }
  .lightbox__fig { max-width: none; }
  .lightbox__fig img { max-width: none; max-height: none; width: 230vw; }
  .lightbox__fig figcaption { position: sticky; left: 12px; justify-self: start; }
}
@media (max-width: 760px) {
  table.data.stack th[scope="row"] { grid-column: 1 / -1; grid-row: 1; margin: 0 0 2px; }
  table.data.stack td:nth-child(1) { grid-column: 1; grid-row: 2; align-self: start; }
  table.data.stack td:nth-child(3) { grid-column: 2; grid-row: 2; }
  table.data.stack td:nth-child(4) { grid-column: 1; grid-row: 3; }
  table.data.stack td:nth-child(5) { grid-column: 2; grid-row: 3; }
  table.data.stack td:nth-child(6) { grid-column: 1; grid-row: 4; }
  table.data.stack td:nth-child(7) { grid-column: 2; grid-row: 4; }
  table.data.stack td:nth-child(8) { grid-column: 1 / -1; grid-row: 5; }
  table.data.stack td:nth-child(9) { grid-column: 1 / -1; grid-row: 6; }
}
@media (max-width: 560px) {
  .subnav ul { justify-content: space-between; gap: 12px; }
  .subnav a { font-size: 0.6rem; letter-spacing: 0.1em; padding: 16px 0; }
}

@media (max-width: 560px) {
  table.data:not(.stack) { min-width: 0; font-size: 0.84rem; }
  table.data:not(.stack) th, table.data:not(.stack) td { padding: 12px 8px 12px 0; }
  table.data:not(.stack) td.num, table.data:not(.stack) th.num { padding-left: 8px; white-space: nowrap; }
  form[data-interest] .btn[type="submit"] { width: 100%; }
}
@media (max-width: 560px) {
  table.data:not(.stack) { font-size: 0.78rem; }
  table.data:not(.stack) th, table.data:not(.stack) td { padding: 11px 4px 11px 0; }
  table.data:not(.stack) td.num, table.data:not(.stack) th.num { padding-left: 4px; }
  table.data:not(.stack) thead th { letter-spacing: 0.1em; font-size: 0.6rem; }
}

/* ================= Lage: Karte bleibt, interaktive Karte als Zusatz ================= */
.map { max-width: 600px; }
.map img { width: 100%; border: 1px solid var(--hair-strong); }
.map__actions { margin-top: 20px; }
dialog.mapdlg { width: min(1240px, 94vw); height: min(88vh, 860px); max-width: none; max-height: none; padding: 0; border: 0; background: var(--paper); overflow: hidden; }
dialog.mapdlg[open] { display: flex; flex-direction: column; animation: lb-in 320ms var(--ease); }
dialog.mapdlg::backdrop { background: rgba(3, 14, 26, 0.86); }
.mapdlg__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 72px 16px 20px; border-bottom: 1px solid var(--hair-strong); font: 500 0.68rem/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; }
.mapdlg__bar a { color: var(--ink); white-space: nowrap; }
.mapdlg__body { flex: 1; min-height: 0; }
.mapdlg__body iframe { width: 100%; height: 100%; border: 0; display: block; }
dialog.mapdlg .lightbox__close { top: 10px; right: 10px; width: 44px; height: 44px; position: absolute; border-color: var(--hair-strong); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { dialog.mapdlg .lightbox__close:hover { background: var(--ink); color: #fff; } }
@media (max-width: 760px) { dialog.mapdlg { width: 100vw; height: 100dvh; } .mapdlg__bar span { display: none; } .mapdlg__bar { justify-content: flex-start; } }
@media (prefers-reduced-motion: reduce) { dialog.mapdlg[open] { animation: none; } }

/* ================= Wohnungsseite: Vorherige / Nächste mit Luft ================= */
.apt-nav { padding-block: clamp(64px, 9vw, 120px); }
.next-apt { border-top: 0; margin: 0; padding: 0; gap: 24px; flex-wrap: nowrap; align-items: flex-start; }
.next-apt__link { display: grid; gap: 8px; text-decoration: none; color: var(--ink); }
.next-apt__link small { font: 500 0.64rem/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.next-apt__link span { font: 400 clamp(1.5rem, 2.4vw, 2.2rem)/1.1 var(--serif); border-bottom: 1px solid transparent; transition: border-color 240ms var(--ease); width: fit-content; }
.next-apt__link--next { text-align: right; justify-items: end; }
@media (hover: hover) and (pointer: fine) { .next-apt__link:hover span { border-bottom-color: currentColor; } }

/* ================= Mobile: Hero kleiner, Kennzahlen aufgeräumt ================= */
@media (max-width: 760px) {
  .hero--home .hero__lead b { font-size: clamp(1.7rem, 7.2vw, 2.15rem); line-height: 1.08; }
  .hero--home .hero__actions { width: auto; }
  .hero--home .hero__actions .btn { flex: 0 0 auto; width: auto; min-height: 50px; height: 50px; padding-inline: 26px; font-size: 0.68rem; }
  .stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li { display: block; padding: 24px 14px 24px 0; border-left: 0 !important; border-top: 0 !important; border-bottom: 1px solid var(--hair); }
  .stats li:nth-child(even) { padding-left: 18px; padding-right: 0; border-left: 1px solid var(--hair) !important; }
  .stats li:nth-child(n + 3) { border-bottom: 0; }
  .stats li:first-child, .stats li:nth-child(3) { padding-left: 0; }
  .stats b { white-space: normal; font-size: 1.3rem; line-height: 1.12; padding: 0; min-height: 2.24em; display: flex; align-items: flex-end; }
  .stats span { margin-top: 10px; font-size: 0.64rem; letter-spacing: 0.14em; }
}
.lightbox__fig img { transition: opacity 220ms var(--ease); }
dialog.lightbox.is-loading .lightbox__fig { min-height: 50vh; align-content: center; }
dialog.lightbox.is-loading .lightbox__fig img { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .lightbox__fig img { transition: none; } }

/* ================= Mobile: Abstand unter dem Logo-Block, Übersicht nur am Desktop ================= */
@media (max-width: 880px) {
  .section[style*="padding-top:calc(var(--header-h)"] { padding-top: calc(var(--header-h) + 88px) !important; }
  .apt-hero { padding-top: calc(var(--header-h) + 80px); }
}
@media (max-width: 760px) { .desktop-only { display: none; } }

/* ================= Kennzahlen: nur zwei Felder ================= */
.stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .stats li { border-bottom: 0 !important; } }
