/* =========================================================
   MU 1(8) West - Neufreimann
   Stylesheet
   ========================================================= */

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/InterTight-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/Manrope-normal-latin.woff2") format("woff2");
}

:root {
  --paper: #f4f0e9;
  --paper-2: #ebe5db;
  --stone: #d8cdbd;
  --stone-2: #c3b6a3;
  --ink: #1b1a17;
  --ink-2: #45413a;
  --muted: #6f685e;
  --line: rgba(27, 26, 23, 0.14);
  --line-strong: rgba(27, 26, 23, 0.28);
  --sage: #7d8c6c;
  --sage-2: #5f6e50;
  --sage-light: #c9d1bc;
  --night: #1c1f1a;
  --night-2: #262a23;
  --on-night: #efebe3;
  --on-night-muted: rgba(239, 235, 227, 0.62);
  --line-night: rgba(239, 235, 227, 0.16);
  --white: #fffdf9;

  --serif: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4.5vw, 72px);
  --max: 1440px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16px, 0.35vw + 14.6px, 18px);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius);
  transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .num { color: var(--sage-2); font-variant-numeric: tabular-nums; }
.eyebrow::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .5; }
.on-night .eyebrow { color: var(--on-night-muted); }
.on-night .eyebrow .num { color: var(--sage-light); }

.display, h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
h2.title {
  font-size: clamp(40px, 5.4vw, 88px);
  line-height: 0.98;
  margin-top: 22px;
  max-width: 16ch;
}
h2.title em, h1 em { font-style: normal; color: var(--sage-2); }
.on-night h2.title em { color: var(--sage-light); }
h3 { font-size: clamp(26px, 2.2vw, 36px); line-height: 1.08; }

.lead {
  font-size: clamp(19px, 1.25vw, 23px);
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 400;
  max-width: 46ch;
}
.on-night .lead { color: var(--on-night-muted); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.55; }
.note { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.on-night .note { color: var(--on-night-muted); }

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bg); border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em; text-decoration: none;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { background: var(--sage-2); border-color: var(--sage-2); }
.btn--light { --bg: var(--paper); --fg: var(--ink); }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn--ghost:hover { background: currentColor; }
.btn--ghost:hover span, .btn--ghost:hover svg { color: var(--ink); }
.on-night .btn--ghost:hover span, .on-night .btn--ghost:hover svg, .hero .btn--ghost:hover span, .hero .btn--ghost:hover svg { color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 4px;
  transition: gap .3s var(--ease), border-color .3s;
}
.link-arrow:hover { gap: 16px; border-color: currentColor; }

/* ---------- Scroll progress ---------- */

.progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120;
  background: var(--sage); transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  color: var(--white);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), transform .45s var(--ease);
}
.nav.is-solid {
  background: rgba(244, 240, 233, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand__mark {
  font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: -0.02em; white-space: nowrap;
}
.brand__mark sup { font-size: .5em; vertical-align: top; position: relative; top: .1em; }
.brand__sub {
  font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  line-height: 1.3; padding-left: 14px; border-left: 1px solid currentColor; opacity: .85;
}

.nav__links { display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-size: 14px; font-weight: 500; text-decoration: none; position: relative; padding: 6px 0; opacity: .9;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { min-height: 44px; padding: 0 20px; font-size: 14px; }
.nav:not(.is-solid) .nav__cta { --bg: var(--white); --fg: var(--ink); }
.nav:not(.is-solid) .nav__cta:hover { background: var(--sage-light); border-color: var(--sage-light); color: var(--ink); }

.nav__toggle {
  display: none; width: 46px; height: 46px; border: 1px solid currentColor; border-radius: 50%;
  background: transparent; align-items: center; justify-content: center; padding: 0;
}
.nav__toggle span { position: relative; display: block; width: 18px; height: 1.5px; background: currentColor; transition: background .2s; }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav-open .nav__toggle span { background: transparent; }
.nav-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--night); color: var(--on-night);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.nav-open .mobile-menu { opacity: 1; visibility: visible; }
.nav-open .nav { color: var(--on-night); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.mobile-menu ol { list-style: none; margin: 0 0 40px; padding: 0; counter-reset: m; }
.mobile-menu li { counter-increment: m; border-bottom: 1px solid var(--line-night); }
.mobile-menu a {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0; text-decoration: none;
  font-family: var(--serif); font-size: clamp(32px, 8vw, 48px); line-height: 1.1;
}
.mobile-menu a::before { content: "0" counter(m); font-family: var(--sans); font-size: 12px; letter-spacing: .1em; color: var(--sage-light); }
.mobile-menu .btn { align-self: flex-start; }

@media (max-width: 1100px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
}
@media (max-width: 420px) {
  .brand__sub { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden; isolation: isolate;
  background: var(--night);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%;
  transform: scale(1.12); animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1.0); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 22, 18, 0.55) 0%, rgba(20, 22, 18, 0) 26%),
    linear-gradient(0deg, rgba(20, 22, 18, 0.88) 0%, rgba(20, 22, 18, 0.45) 38%, rgba(20, 22, 18, 0) 64%),
    linear-gradient(90deg, rgba(20, 22, 18, 0.45) 0%, rgba(20, 22, 18, 0) 55%);
}
.hero__content { width: 100%; padding-top: calc(var(--nav-h) + 40px); padding-bottom: clamp(28px, 5vh, 56px); }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 11px; letter-spacing: .16em;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #a9c48f; box-shadow: 0 0 0 0 rgba(169, 196, 143, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(169, 196, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(169, 196, 143, 0); } }

.hero h1 {
  font-size: clamp(50px, 8.6vw, 156px);
  line-height: .92; letter-spacing: -0.025em;
  margin: 22px 0 0; max-width: 12ch;
}
.hero h1 em { color: #d6dfc8; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.2s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: none; } }

.hero__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: end;
  margin-top: clamp(24px, 4vh, 44px);
}
.hero__lead { font-size: clamp(17px, 1.2vw, 21px); line-height: 1.55; max-width: 44ch; color: rgba(255, 253, 249, .86); margin: 0; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .fade-in { opacity: 0; animation: fadeUp 1.2s var(--ease) .55s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero__facts {
  margin-top: clamp(28px, 5vh, 56px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .25);
}
.hero__fact { padding: 18px 20px 0 0; }
.hero__fact + .hero__fact { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .18); }
.hero__fact b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 44px); line-height: 1; }
.hero__fact span { display: block; margin-top: 8px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 253, 249, .7); }

.hero__scroll {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: 100% 50%;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
  display: flex; align-items: center; gap: 14px; text-decoration: none;
}
.hero__scroll::after { content: ""; width: 56px; height: 1px; background: currentColor; animation: scrollLine 2.4s var(--ease) infinite; transform-origin: 0 50%; }
@keyframes scrollLine { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); transform-origin: 0 50%; } 51% { transform-origin: 100% 50%; } 100% { transform: scaleX(0); transform-origin: 100% 50%; } }

@media (max-width: 900px) {
  .hero__row { grid-template-columns: 1fr; }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__fact:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 16px; }
  .hero__scroll { display: none; }
}
@media (max-width: 760px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(20, 22, 18, 0.6) 0%, rgba(20, 22, 18, 0.2) 22%),
      linear-gradient(0deg, rgba(20, 22, 18, 0.92) 0%, rgba(20, 22, 18, 0.72) 55%, rgba(20, 22, 18, 0.35) 80%);
  }
  .hero__kicker > span:last-child { display: none; }
  .hero h1 { margin-top: 16px; }
}
@media (max-width: 480px) {
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__fact { padding-right: 12px; }
  .hero__fact + .hero__fact { padding-left: 12px; }
  .hero__fact:nth-child(3) { padding-left: 0; }
}

/* ---------- Marquee ---------- */

.marquee { background: var(--night); color: var(--on-night); overflow: hidden; border-top: 1px solid var(--line-night); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__item {
  display: flex; align-items: center; gap: 28px; padding: 18px 28px 18px 0;
  font-family: var(--serif); font-size: clamp(18px, 1.5vw, 24px); white-space: nowrap; font-weight: 400; letter-spacing: -0.01em;
}
.marquee__item::after { content: "✦"; font-style: normal; font-size: .55em; color: var(--sage-light); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { padding-block: clamp(80px, 11vw, 168px); position: relative; }
.section--tight { padding-block: clamp(64px, 8vw, 120px); }
.section--paper2 { background: var(--paper-2); }
.on-night { background: var(--night); color: var(--on-night); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px clamp(32px, 6vw, 120px);
  align-items: end; margin-bottom: clamp(48px, 6vw, 88px);
}
.section-head .lead { margin: 0; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Intro / Projekt ---------- */

.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.intro__statement {
  font-family: var(--serif); font-size: clamp(30px, 3.3vw, 54px); line-height: 1.12; letter-spacing: -0.01em; margin: 26px 0 0;
}
.intro__statement em { color: var(--sage-2); }
.intro__body { padding-top: 8px; }
.intro__body p { color: var(--ink-2); }
.intro__media { margin-top: clamp(40px, 5vw, 72px); position: relative; overflow: hidden; border-radius: var(--radius); }
.intro__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.intro__media figcaption, .caption {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 12px;
}

.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong); margin-top: clamp(56px, 7vw, 104px);
}
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__value { font-family: var(--serif); font-size: clamp(46px, 5.2vw, 88px); line-height: .95; letter-spacing: -0.02em; white-space: nowrap; }
.stat__value small { font-size: .42em; letter-spacing: 0; margin-left: 4px; }
.stat__value .pre { font-family: var(--sans); font-size: .2em; letter-spacing: .08em; text-transform: uppercase; margin-right: 6px; vertical-align: middle; color: var(--muted); }
.stat__label { margin-top: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 28px; border-top: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 14px; }
  .stat:nth-child(3) { padding-left: 0; }
}

/* ---------- Gewerbe-Explorer ---------- */

.explorer {
  display: grid; grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 88px); align-items: start;
}
.building { position: sticky; top: calc(var(--nav-h) + 24px); }
.building__svg { width: 100%; height: auto; overflow: visible; }
.building__svg .floor rect.slab { fill: var(--night-2); stroke: var(--line-night); stroke-width: 1; transition: fill .35s var(--ease); }
.building__svg .floor text { fill: var(--on-night-muted); font-family: var(--sans); font-size: 11px; letter-spacing: .12em; }
.building__svg .floor .win { fill: rgba(239, 235, 227, .08); }
.building__svg .floor.is-target { cursor: pointer; }
.building__svg .floor.is-target rect.slab { fill: #3a4334; stroke: var(--sage); }
.building__svg .floor.is-target text { fill: var(--on-night); font-weight: 600; }
.building__svg .floor.is-target .win { fill: rgba(201, 209, 188, .35); }
.building__svg .floor.is-target:hover rect.slab,
.building__svg .floor.is-target:focus-visible rect.slab { fill: #4a5641; }
.building__svg .floor.is-active rect.slab { fill: var(--sage); stroke: var(--sage-light); }
.building__svg .floor.is-active .win { fill: rgba(255, 253, 249, .8); }
.building__svg .floor.is-active text { fill: var(--white); }
.building__svg .floor:focus { outline: none; }
.building__svg .ground { stroke: var(--line-night); }
.building__legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: 13px; color: var(--on-night-muted); }
.building__legend i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 8px; vertical-align: -1px; }

.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(239, 235, 227, .07); border: 1px solid var(--line-night); margin-bottom: 32px; max-width: 100%; }
.tab {
  border: 0; background: transparent; padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--on-night-muted); transition: background .3s var(--ease), color .3s var(--ease); white-space: nowrap;
}
.tab[aria-selected="true"] { background: var(--on-night); color: var(--ink); }
.tab:not([aria-selected="true"]):hover { color: var(--on-night); }

.floor-panel[hidden] { display: none; }
.floor-panel { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.floor-panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.floor-panel__head h3 { font-size: clamp(32px, 3vw, 48px); }
.floor-panel__intro { color: var(--on-night-muted); max-width: 58ch; margin-bottom: 28px; }

.units { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.unit {
  position: relative; border: 1px solid var(--line-night); border-radius: var(--radius);
  padding: 26px 24px 24px; background: rgba(239, 235, 227, .025);
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
  display: flex; flex-direction: column;
}
.unit:hover { border-color: rgba(201, 209, 188, .5); background: rgba(239, 235, 227, .05); transform: translateY(-3px); }
.unit__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.unit__id { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-light); font-weight: 600; }
.badge {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(201, 209, 188, .45); color: var(--sage-light);
}
.unit__area { font-family: var(--serif); font-size: clamp(44px, 4vw, 64px); line-height: 1; margin: 18px 0 2px; }
.unit__area small { font-size: .42em; margin-left: 4px; }
.unit__area .pre { font-family: var(--sans); font-size: .22em; letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-muted); margin-right: 6px; vertical-align: middle; }
.unit__type { font-size: 15px; color: var(--on-night); font-weight: 600; margin-bottom: 14px; }
.unit ul { list-style: none; padding: 0; margin: 0 0 22px; font-size: 14px; color: var(--on-night-muted); }
.unit li { padding: 8px 0; border-top: 1px solid var(--line-night); display: flex; gap: 10px; }
.unit li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 9px; border-radius: 50%; background: var(--sage); }
.unit .chips { margin-top: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(239, 235, 227, .08); color: var(--on-night); }
.unit__cta { margin-top: 20px; color: var(--on-night); }

.features {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  margin-top: 28px; border-top: 1px solid var(--line-night);
}
.feature { padding: 22px 20px 4px 0; }
.feature + .feature { padding-left: 20px; border-left: 1px solid var(--line-night); }
.feature svg { width: 26px; height: 26px; color: var(--sage-light); margin-bottom: 12px; }
.feature b { display: block; font-size: 15px; margin-bottom: 4px; }
.feature span { font-size: 14px; color: var(--on-night-muted); line-height: 1.5; display: block; }
.explorer__note { margin-top: 28px; }

@media (max-width: 1100px) {
  .explorer { grid-template-columns: 1fr; }
  .building { position: relative; top: 0; max-width: 520px; }
}
@media (max-width: 640px) {
  .building { display: none; }
  .units { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .feature + .feature { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-night); }
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding: 11px 10px; font-size: 13px; }
}

/* ---------- Potenzial / Warum hier ---------- */

.reasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.reason {
  background: var(--white); border-radius: var(--radius); padding: clamp(24px, 2.4vw, 36px);
  min-height: 300px; display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.reason:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(27, 26, 23, .35); }
.reason__num { font-family: var(--serif); font-size: clamp(54px, 5vw, 80px); line-height: .9; letter-spacing: -0.02em; }
.reason__num small { font-size: .4em; }
.reason__num .pre { font-family: var(--sans); font-size: .18em; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); display: block; margin-bottom: 6px; }
.reason h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; margin: 26px 0 8px; letter-spacing: 0; line-height: 1.35; }
.reason p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.55; }
@media (max-width: 1100px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .reasons { grid-template-columns: 1fr; } .reason { min-height: 0; } }

.split-media {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 16px; margin-top: 16px;
}
.split-media figure { margin: 0; overflow: hidden; border-radius: var(--radius); position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split-media figure:hover img { transform: scale(1.04); }
.split-media .tall img { aspect-ratio: auto; }
.split-media figcaption {
  position: absolute; left: 16px; bottom: 16px; background: rgba(255, 253, 249, .92); color: var(--ink);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; border-radius: 2px;
}
@media (max-width: 760px) { .split-media { grid-template-columns: 1fr; } .split-media img { aspect-ratio: 4 / 3; } }

/* ---------- Galerie ---------- */

.gallery { position: relative; }
.gallery__track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  scrollbar-width: none; -ms-overflow-style: none; cursor: grab;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.gallery__item {
  flex: 0 0 auto; width: min(78vw, 980px); scroll-snap-align: start; margin: 0;
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--night-2);
}
.gallery__item.is-portrait { width: min(62vw, 520px); }
.gallery__item button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery__item img { width: 100%; height: clamp(300px, 56vw, 640px); object-fit: cover; transition: transform 1.2s var(--ease); pointer-events: none; user-select: none; -webkit-user-drag: none; }
.gallery__item:hover img { transform: scale(1.035); }
.gallery__item figcaption {
  display: flex; justify-content: space-between; gap: 16px; padding: 16px 2px 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-muted); background: var(--night);
}
.gallery__controls { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 32px; }
.gallery__bar { flex: 1; height: 1px; background: var(--line-night); position: relative; max-width: 520px; }
.gallery__bar span { position: absolute; left: 0; top: -1px; height: 3px; background: var(--on-night); width: 20%; transition: transform .3s var(--ease), width .3s; }
.gallery__btns { display: flex; gap: 10px; }
.icon-btn {
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-night); background: transparent; color: var(--on-night);
  display: inline-flex; align-items: center; justify-content: center; transition: background .3s, color .3s, border-color .3s;
}
.icon-btn:hover { background: var(--on-night); color: var(--ink); border-color: var(--on-night); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:disabled { opacity: .35; pointer-events: none; }
@media (max-width: 640px) {
  .gallery__item, .gallery__item.is-portrait { width: 86vw; }
  .gallery__item img { height: 62vw; min-height: 240px; }
  .gallery__item.is-portrait img { height: 110vw; }
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(14, 15, 13, .96);
  display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  color: var(--on-night);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-muted); gap: 16px; }
.lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter); min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; }
.lightbox__nav { display: flex; justify-content: center; gap: 12px; padding: 18px; }

/* ---------- Lage / Karte ---------- */

.location { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 20px; }
.filter {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; font-size: 13px; font-weight: 600; transition: background .25s, color .25s, border-color .25s;
}
.filter i { width: 8px; height: 8px; border-radius: 50%; }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.poi-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); max-height: 440px; overflow-y: auto; }
.poi-list li { border-bottom: 1px solid var(--line); }
.poi-list button {
  width: 100%; display: grid; grid-template-columns: 10px minmax(0, 1fr) auto auto; gap: 14px; align-items: center;
  padding: 13px 4px; background: none; border: 0; text-align: left; font-size: 15px; transition: background .2s, padding .3s var(--ease);
}
.poi-list button:hover, .poi-list button.is-hl { background: rgba(27, 26, 23, .04); padding-left: 10px; }
.poi-list i { width: 10px; height: 10px; border-radius: 50%; }
.poi-list .cat { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.poi-list .min { font-variant-numeric: tabular-nums; font-weight: 700; min-width: 54px; text-align: right; }
.poi-list li[hidden] { display: none; }

.connect { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-strong); }
.connect div { padding: 24px 20px 0 0; }
.connect div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.connect b { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 3.6vw, 60px); line-height: 1; display: block; }
.connect span { display: block; margin-top: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1000px) { .location { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .connect { grid-template-columns: 1fr; }
  .connect div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 20px; }
  .poi-list button { grid-template-columns: 10px minmax(0, 1fr) auto; }
  .poi-list .cat { display: none; }
}

/* ---------- Architektur ---------- */

.arch { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.acc { border-top: 1px solid var(--line-strong); }
.acc__item { border-bottom: 1px solid var(--line-strong); }
.acc__btn {
  width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) 28px; align-items: center; gap: 12px;
  padding: 22px 0; background: none; border: 0; text-align: left;
}
.acc__btn .n { font-size: 12px; letter-spacing: .12em; color: var(--sage-2); font-weight: 700; }
.acc__btn .t { font-family: var(--serif); font-size: clamp(24px, 2vw, 32px); line-height: 1.1; }
.acc__btn .plus { position: relative; width: 22px; height: 22px; justify-self: end; }
.acc__btn .plus::before, .acc__btn .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.acc__btn .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__btn[aria-expanded="true"] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 28px 24px 56px; margin: 0; color: var(--ink-2); }
.acc__btn[aria-expanded="true"] + .acc__panel { grid-template-rows: 1fr; }
@media (max-width: 560px) { .acc__btn { grid-template-columns: 32px minmax(0, 1fr) 24px; } .acc__panel p { padding: 0 0 22px 44px; } }

.badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.cert { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 22px 18px; text-align: left; background: var(--white); }
.cert b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.2vw, 36px); line-height: 1; }
.cert span { display: block; margin-top: 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
@media (max-width: 480px) { .badges { grid-template-columns: 1fr; } }

.bim { margin-top: clamp(64px, 8vw, 120px); }
.bim__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0 18px; }
.bim__tab { border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; padding: 9px 16px; font-size: 13px; font-weight: 600; }
.bim__tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bim__stage { position: relative; border-radius: var(--radius); overflow: hidden; background: #2b2d2a; aspect-ratio: 2400 / 1345; }
.bim__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.bim__stage img.is-on { opacity: 1; }
.bim__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
@media (max-width: 1000px) { .arch, .bim__grid { grid-template-columns: 1fr; } }

/* ---------- Wohnungsmix ---------- */

.mix { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.mix__bars { display: grid; gap: 10px; }
.mix__row {
  display: grid; grid-template-columns: minmax(110px, 190px) minmax(0, 1fr) 46px; gap: 16px; align-items: center;
  background: none; border: 0; padding: 6px 0; text-align: left; font-size: 14px; color: var(--on-night-muted);
}
.mix__row .bar { height: 30px; background: rgba(239, 235, 227, .07); border-radius: 2px; overflow: hidden; }
.mix__row .bar span { display: block; height: 100%; width: 0; background: var(--sage); transition: width 1.4s var(--ease), background .3s; }
.mix__row b { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--on-night); text-align: right; font-variant-numeric: tabular-nums; }
.mix__row:hover .bar span, .mix__row.is-hl .bar span { background: var(--sage-light); }
.mix__row:hover, .mix__row.is-hl { color: var(--on-night); }
.mix__donut { position: relative; max-width: 380px; width: 100%; aspect-ratio: 1; margin-inline: auto; }
.mix__donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mix__donut circle { fill: none; stroke-width: 18; transition: stroke-width .3s var(--ease), opacity .3s; cursor: pointer; }
.mix__donut circle.is-hl { stroke-width: 24; }
.mix__donut circle.is-dim { opacity: .35; }
.mix__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; padding: 22%; }
.mix__center b { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 6vw, 88px); line-height: 1; }
.mix__center span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-muted); margin-top: 6px; line-height: 1.4; }
.target-groups { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
@media (max-width: 1000px) { .mix { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .mix__row { grid-template-columns: 96px minmax(0, 1fr) 36px; gap: 10px; font-size: 13px; } .mix__row b { font-size: 22px; } }

/* ---------- Timeline ---------- */

.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; }
.timeline__line { position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--line-strong); }
.timeline__line span { position: absolute; inset: 0 auto 0 0; background: var(--ink); width: 0; transition: width 2s var(--ease); height: 1px; }
.timeline.is-in .timeline__line span { width: var(--done, 40%); }
.ms { position: relative; padding: 48px 24px 0 0; }
.ms::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--ink-2);
}
.ms.is-done::before { background: var(--ink); border-color: var(--ink); }
.ms.is-next::before { background: var(--sage); border-color: var(--sage); box-shadow: 0 0 0 6px rgba(125, 140, 108, .22); }
.ms__date { font-family: var(--serif); font-size: clamp(38px, 3.6vw, 60px); line-height: 1; }
.ms__title { margin-top: 10px; font-weight: 700; font-size: 16px; }
.ms__text { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.5; max-width: 30ch; }
.ms__state { display: inline-block; margin-top: 14px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ms.is-done .ms__state { color: var(--sage-2); font-weight: 700; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; padding-left: 36px; }
  .timeline__line { left: 7px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .timeline__line span { width: 1px !important; height: 0; transition: height 2s var(--ease); }
  .timeline.is-in .timeline__line span { height: var(--done, 40%); }
  .ms { padding: 0 0 40px; }
  .ms::before { left: -36px; top: 10px; }
}

/* ---------- Beteiligte ---------- */

.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.partner {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column; min-height: 360px; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.partner:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(27, 26, 23, .35); }
.partner--lead { background: var(--night); color: var(--on-night); border-color: var(--night); }
.partner__role { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--sage-2); }
.partner--lead .partner__role { color: var(--sage-light); }
.partner__logo { height: 64px; display: flex; align-items: center; margin: 30px 0 24px; }
.partner__logo img { height: 34px; width: auto; }
.partner--lead .partner__logo img { filter: brightness(0) invert(1); opacity: .95; }
.wordmark { font-family: var(--serif); font-size: clamp(30px, 2.6vw, 40px); line-height: 1; letter-spacing: -0.01em; }
.wordmark small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-top: 8px; color: var(--muted); }
.partner h3 { font-family: var(--sans); font-size: 19px; font-weight: 700; letter-spacing: 0; margin-bottom: 10px; }
.partner p { font-size: 15px; color: var(--muted); }
.partner--lead p { color: var(--on-night-muted); }
.partner .link-arrow { margin-top: auto; align-self: flex-start; }
.partner--lead .link-arrow { border-color: var(--line-night); }
@media (max-width: 1000px) { .partners { grid-template-columns: 1fr; } .partner { min-height: 0; } .partner .link-arrow { margin-top: 12px; } }

/* ---------- Kontakt ---------- */

.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.contact__bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; opacity: .14; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.contact .container, .contact > * { position: relative; z-index: 1; }
.contact__info { margin-top: 40px; display: grid; gap: 20px; }
.contact__info div { border-top: 1px solid var(--line-night); padding-top: 16px; }
.contact__info span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-muted); margin-bottom: 6px; }
.contact__info a, .contact__info p { font-size: 18px; text-decoration: none; margin: 0; }
.contact__info a:hover { color: var(--sage-light); }

.form { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 52px); }
.form h3 { font-size: clamp(30px, 2.6vw, 42px); margin-bottom: 8px; }
.form > p { color: var(--muted); font-size: 15px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-top: 28px; }
.form__full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 13px 14px; transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1a17' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage-2); box-shadow: 0 0 0 3px rgba(125, 140, 108, .22); }
.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { margin: 0; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; }
.seg input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.seg span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; background: var(--white); }
.seg input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.check a { color: var(--ink); }
.form__actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.form__status { font-size: 14px; color: var(--sage-2); font-weight: 600; min-height: 1.4em; }
.form__status.is-error { color: #a2412f; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 1000px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } .form__actions .btn { width: 100%; } }

/* ---------- Footer ---------- */

.footer { background: #141613; color: var(--on-night-muted); padding: clamp(64px, 7vw, 104px) 0 32px; font-size: 14px; }
.footer__big { font-family: var(--serif); color: var(--on-night); font-size: clamp(56px, 11vw, 200px); line-height: .9; letter-spacing: -0.03em; margin: 0 0 clamp(40px, 5vw, 72px); }
.footer__big em { color: var(--sage-light); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; border-top: 1px solid var(--line-night); padding-top: 36px; }
.footer h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-night); margin: 0 0 14px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--on-night); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-night); font-size: 12.5px; }
.footer__logo { height: 26px; width: auto; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 18px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile CTA ---------- */

.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; display: none;
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.sticky-cta .btn { width: 100%; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .45); }
.sticky-cta.is-on { transform: none; }
@media (max-width: 760px) { .sticky-cta { display: block; } }

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(12% 0 0 0); transition: clip-path 1.4s var(--ease); }
.js .reveal-img img { transform: scale(1.12); transition: transform 1.8s var(--ease); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-img.is-in img { transform: none; }
.d1 { transition-delay: .08s !important; }
.d2 { transition-delay: .16s !important; }
.d3 { transition-delay: .24s !important; }

/* ---------- Legal pages ---------- */

.legal { padding: calc(var(--nav-h) + 64px) 0 96px; }
.legal h1 { font-size: clamp(44px, 6vw, 88px); line-height: 1; margin-bottom: 40px; }
.legal h2 { font-family: var(--sans); font-size: 18px; font-weight: 700; margin: 36px 0 10px; letter-spacing: 0; }
.legal p, .legal li { color: var(--ink-2); max-width: 72ch; }
.legal .todo { background: #fff3c4; padding: 2px 6px; border-radius: 2px; }

/* ---------- Widescreen ---------- */

@media (min-width: 1800px) {
  :root { --max: 1600px; }
  .gallery__item { width: min(60vw, 1180px); }
  .gallery__item img { height: 720px; }
}

/* ---------- Moderne Grotesk für Headlines und Zahlen ---------- */

em { font-style: normal; }
.display, h1, h2, h3 { font-weight: 500; letter-spacing: -0.035em; }
.hero h1 { font-size: clamp(44px, 7.2vw, 128px); line-height: .95; letter-spacing: -0.045em; font-weight: 500; }
h2.title { line-height: 1.02; }
.intro__statement { font-size: clamp(26px, 2.8vw, 46px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 400; }
.brand__mark { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.mobile-menu a { font-size: clamp(28px, 7vw, 42px); font-weight: 500; letter-spacing: -0.03em; }
.hero__fact b, .stat__value, .unit__area, .reason__num, .connect b, .cert b, .mix__row b, .mix__center b, .ms__date, .wordmark, .footer__big {
  font-weight: 500; letter-spacing: -0.04em;
}
.stat__value { font-size: clamp(40px, 4.6vw, 76px); }
.reason__num { font-size: clamp(46px, 4.4vw, 70px); }
.unit__area { font-size: clamp(40px, 3.6vw, 56px); }
.ms__date { font-size: clamp(32px, 3vw, 52px); }
.connect b { font-size: clamp(32px, 3.2vw, 52px); }
.cert b { font-size: clamp(22px, 1.9vw, 30px); }
.mix__center b { font-size: clamp(48px, 5vw, 76px); }
.mix__row b { font-size: 22px; }
.acc__btn .t { font-size: clamp(20px, 1.7vw, 26px); font-weight: 500; letter-spacing: -0.025em; }
.floor-panel__head h3 { font-size: clamp(28px, 2.6vw, 42px); }
.wordmark { font-size: clamp(26px, 2.2vw, 34px); font-weight: 600; }
.footer__big { font-size: clamp(48px, 10vw, 180px); font-weight: 600; letter-spacing: -0.05em; }
.hero__fact b { font-size: clamp(24px, 2.2vw, 38px); }
.hero__fact b, .stat__value, .unit__area { font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .hero h1 { font-size: 42px; } .stat__value { font-size: 32px; } }
@media (max-height: 820px) and (min-width: 901px) { .hero h1 { font-size: clamp(44px, 10.5vh, 128px); } }

.timeline--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .timeline--3 { grid-template-columns: 1fr; } }

/* ---------- Review-Korrekturen ---------- */

:root { --muted: #655e54; }
html, body { overflow-x: clip; }
@media (max-width: 760px) {
  html { scroll-padding-bottom: 90px; }
  .sticky-cta { bottom: max(12px, env(safe-area-inset-bottom)); }
  .sticky-cta .btn { border-color: rgba(239, 235, 227, .35); }
}

/* Hero: Lesbarkeit auf Tablet/Laptop */
.hero h1, .hero__kicker { text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.hero__kicker > span:last-child { text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.hero::before {
  background:
    linear-gradient(180deg, rgba(20, 22, 18, 0.62) 0%, rgba(20, 22, 18, 0.3) 40%, rgba(20, 22, 18, 0) 60%),
    linear-gradient(0deg, rgba(20, 22, 18, 0.88) 0%, rgba(20, 22, 18, 0.45) 38%, rgba(20, 22, 18, 0) 64%),
    linear-gradient(90deg, rgba(20, 22, 18, 0.5) 0%, rgba(20, 22, 18, 0) 60%);
}
@media (max-width: 1100px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(20, 22, 18, .62) 0%, rgba(20, 22, 18, .3) 40%),
      linear-gradient(0deg, rgba(20, 22, 18, .92) 0%, rgba(20, 22, 18, .6) 55%, rgba(20, 22, 18, .3) 85%);
  }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 42px; }
  .hero__lead { font-size: 16px; }
  .hero__facts { margin-top: 22px; }
  .hero__content { padding-top: calc(var(--nav-h) + 16px); }
}
@media (max-height: 820px) and (min-width: 901px) {
  .hero h1 { font-size: clamp(44px, 10.5vh, 128px); }
}
@media (max-width: 760px) {
  .nav:not(.is-solid) { background: linear-gradient(180deg, rgba(20, 22, 18, .5), rgba(20, 22, 18, 0)); }
}

/* Überschriften Tablet */
h2.title { font-size: clamp(34px, 3.4vw + 12px, 76px); }

/* Fokus-Overlays: Sichtbarkeit sofort, damit focus() greift */
.lightbox.is-open { transition: opacity .35s var(--ease), visibility 0s; }
.nav-open .mobile-menu { transition: opacity .4s var(--ease), visibility 0s; }
.lightbox__count { white-space: nowrap; flex: none; }
.lightbox__cap { flex: 1; min-width: 0; text-align: center; }

/* Mobile-Menü */
.mobile-menu a::before { content: none; }
.mobile-menu ol a::before { content: "0" counter(m); }
.mobile-menu { overflow-y: auto; justify-content: flex-start; }
@media (min-height: 700px) { .mobile-menu { justify-content: center; } }

/* Explorer */
.building__svg .floor.is-active:hover rect.slab { fill: var(--sage); }
@media (max-width: 1100px) { .building { margin-inline: auto; } }

/* Touch-Targets */
.filter, .bim__tab, .tab { min-height: 44px; }
.link-arrow { min-height: 44px; }
.footer ul { gap: 0; }
.footer ul a, .footer__bottom a { display: inline-block; padding: 10px 0; }
.contact__info a { display: inline-block; padding: 8px 0; }
.check { padding: 6px 0; }
.check input { width: 22px; height: 22px; margin-top: 0; }

/* Galerie */
.gallery__track {
  align-items: flex-start;
  padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
}
.icon-btn[aria-disabled="true"] { opacity: .35; cursor: default; }
.icon-btn[aria-disabled="true"]:hover { background: transparent; color: var(--on-night); border-color: var(--line-night); }

/* Architektur-Kacheln */
@media (max-width: 1360px) and (min-width: 1001px) { .badges { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .badges { grid-template-columns: 1fr; } }
.cert b, .cert span { overflow-wrap: anywhere; hyphens: auto; }

/* Vergleichsregler-Fokus */
@media (max-width: 420px) {
}
@media (min-width: 1800px) { .mix__donut { max-width: 460px; } }

/* Lage */
.marquee:hover .marquee__track { animation-play-state: paused; }

/* Wohnungsmix als Liste */
.mix__bars { list-style: none; margin: 0; padding: 0; }
.mix__row { cursor: default; }
.mix__row:focus-visible { outline: 2px solid var(--sage-light); outline-offset: 2px; }
@media (max-width: 480px) { .mix__row { grid-template-columns: 116px minmax(0, 1fr) 36px; } }

/* Formular */
.field input, .field select, .field textarea { border-color: #8a8378; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--sage-2); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: #a2412f; }
@media (max-width: 420px) { .field select { font-size: 15px; padding-right: 36px; } }

/* Footer-Überschriften */
.footer__h { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-night); margin: 0 0 6px; font-weight: 700; }
.footer__role { color: var(--on-night-muted); }

/* Einheiten nicht in Großbuchstaben */
.u { text-transform: none; }

/* Druck */
@media print {
  .js .reveal, .js .reveal-img, .js .reveal-img img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .nav, .sticky-cta, .progress, .marquee { display: none !important; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero h1 .line > span { transform: none; }
  .hero .fade-in { opacity: 1; }
  .js .reveal, .js .reveal-img, .js .reveal-img img { opacity: 1; transform: none; clip-path: none; }
  .marquee__track { animation: none; }
}


/* ---------- Logo in der Navigation ---------- */
.brand__logo { width: 38px; height: 38px; flex: none; }
@media (max-width: 420px) { .brand__logo { width: 34px; height: 34px; } }

/* ---------- 1. OG: komplett oder geteilt ---------- */
.split { margin: 4px 0 22px; display: grid; gap: 16px; }
.split__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.split__opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left;
  padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line-night);
  background: transparent; color: var(--on-night); transition: background .25s, border-color .25s;
}
.split__opt b { font-size: 15px; font-weight: 600; }
.split__opt span { font-size: 12.5px; color: var(--on-night-muted); }
.split__opt:hover { border-color: rgba(201, 209, 188, .5); }
.split__opt[aria-pressed="true"] { background: var(--sage); border-color: var(--sage); color: #fff; }
.split__opt[aria-pressed="true"] span { color: rgba(255, 255, 255, .85); }
.split__opt:focus-visible { outline: 2px solid var(--sage-light); outline-offset: 2px; }
.split__plan { margin: 0; }
.split__plan svg { width: 100%; height: auto; display: block; }
.split__plan figcaption { margin-top: 8px; }
.split__shell { fill: none; stroke: rgba(239, 235, 227, .35); stroke-width: 1.5; }
.split__zone { fill: #3a4334; transition: fill .4s var(--ease), x .4s var(--ease), width .4s var(--ease); }
.split__wall { stroke: var(--on-night); stroke-width: 3; stroke-dasharray: 8 6; opacity: 0; transition: opacity .35s; }
.split__core rect { fill: #262a23; stroke: rgba(239, 235, 227, .45); }
.split__core-t, .split__dir { font-family: var(--sans); font-size: 12px; letter-spacing: .1em; fill: var(--on-night-muted); }
.split__lbl { font-family: var(--sans); font-size: 26px; font-weight: 500; letter-spacing: -.02em; fill: var(--on-night); transition: opacity .35s; }
.split[data-mode="ganz"] .split__zone { fill: var(--sage); }
.split[data-mode="ganz"] .split__zone--a { width: 580px; }
.split[data-mode="ganz"] .split__zone--b { opacity: 0; }
.split[data-mode="ganz"] .split__lbl--a, .split[data-mode="ganz"] .split__lbl--b { opacity: 0; }
.split[data-mode="zwei"] .split__zone--a { fill: var(--sage); }
.split[data-mode="zwei"] .split__zone--b { fill: #a9b697; }
.split[data-mode="zwei"] .split__wall { opacity: 1; }
.split[data-mode="zwei"] .split__lbl--all { opacity: 0; }
.split[data-mode="zwei"] .split__lbl--b { fill: #1c1f1a; }
.split__zone--b { transition: fill .4s var(--ease), opacity .3s; }
.units[hidden] { display: none; }
.unit--wide { grid-column: 1 / -1; }
.split__more { margin-top: 14px; }
@media (max-width: 480px) { .split__opts { grid-template-columns: 1fr; } }

/* ---------- Bilder Projekt und Quartier ---------- */
.split-media--intro { margin-top: 16px; }
.quarter-wide { margin: 0 0 16px; position: relative; overflow: hidden; border-radius: var(--radius); }
.quarter-wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; }
.quarter-wide figcaption {
  position: absolute; left: 14px; bottom: 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(27, 26, 23, .75); color: var(--white); padding: 7px 11px; border-radius: 2px;
}
@media (max-width: 760px) { .quarter-wide img { aspect-ratio: 4 / 3; } }
.reasons + .quarter-wide { margin-top: clamp(40px, 5vw, 72px); }

/* ---------- Google-Karte ---------- */
.map-wrap { position: relative; }
.gmap {
  position: relative; width: 100%; aspect-ratio: 1; min-height: 360px; border-radius: var(--radius); overflow: hidden;
  background: var(--paper-2); border: 1px solid var(--line);
}
.gmap__canvas { position: absolute; inset: 0; }
.gmap__consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 32px; text-align: center;
  background:
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(27, 26, 23, .05) 46px 47px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(27, 26, 23, .05) 46px 47px),
    radial-gradient(circle at 50% 45%, #efe9df 0%, var(--paper-2) 75%);
}
.gmap__consent > svg { width: 40px; height: 40px; color: var(--sage-2); }
.gmap__consent b { font-size: 18px; font-weight: 600; }
.gmap__consent p { max-width: 380px; margin: 0; font-size: 14px; color: var(--muted); }
.gmap__consent a { color: var(--ink); }
.gmap__remember { justify-content: center; }
.gmap.is-loading .gmap__consent { opacity: .6; pointer-events: none; }
.gmap.is-loaded .gmap__consent { display: none; }
.gpin { position: absolute; transform: translate(-50%, -50%); cursor: pointer; }
.gpin[hidden] { display: none; }
.gpin__dot {
  display: block; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35); transition: transform .2s var(--ease);
}
.gpin__lbl {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%);
  background: var(--ink); color: var(--paper); padding: 6px 10px; border-radius: 3px; font-size: 12.5px; white-space: nowrap;
  pointer-events: none; opacity: 0; transition: opacity .15s;
}
.gpin__lbl b { font-weight: 600; }
.gpin:hover .gpin__dot, .gpin.is-hl .gpin__dot { transform: scale(1.35); }
.gpin:hover .gpin__lbl, .gpin.is-hl .gpin__lbl { opacity: 1; }
.gpin--home { z-index: 40; cursor: default; }
.gpin--home .gpin__dot { width: 22px; height: 22px; background: var(--ink); border-width: 3px; }
.gpin--home .gpin__lbl { opacity: 1; background: var(--sage-2); font-weight: 600; letter-spacing: .02em; }
@media (max-width: 1000px) { .map-wrap { order: 2; } .gmap { aspect-ratio: 4 / 3; } }

/* ---------- Lage im Quartier ---------- */
.qmap { margin: 0; }
.qmap__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.qmap__tab { border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; padding: 9px 18px; font-size: 13px; font-weight: 600; min-height: 44px; }
.qmap__tab[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.qmap__view { position: relative; border-radius: var(--radius); overflow: hidden; background: #f4f0e9; border: 1px solid var(--line); }
.qmap__view[hidden] { display: none; }
.qmap__view img { display: block; width: 100%; height: auto; }
.qmap figcaption { margin-top: 12px; }
.qmap__rings { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.qmap__rings circle { fill: none; stroke: var(--sage-2); stroke-width: 2.5; stroke-dasharray: 10 9; }
.qmap__rings circle:nth-of-type(2) { fill: rgba(95, 110, 80, .10); }
.qmap__rings text { font-family: var(--sans); font-size: 24px; font-weight: 700; letter-spacing: .04em; fill: var(--sage-2); text-anchor: middle; paint-order: stroke; stroke: #fffdf9; stroke-width: 6px; }
.ql {
  position: absolute; display: inline-flex; align-items: center; gap: 7px; transform: translate(-7px, -50%);
  font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; pointer-events: none;
  text-shadow: 0 0 3px #fffdf9, 0 0 3px #fffdf9, 0 0 6px #fffdf9;
}
.ql i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); border: 2px solid #fffdf9; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.ql--l { flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -50%); }
.ql--t { flex-direction: column-reverse; gap: 4px; transform: translate(-50%, calc(-100% + 7px)); }
.ql--b { flex-direction: column; gap: 4px; transform: translate(-50%, -7px); }
.ql--plain { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transform: none; }
.ql--project { z-index: 2; text-shadow: none; }
.ql--project i { width: 18px; height: 18px; background: var(--sage-2); border-width: 3px; position: relative; }
.ql--project i::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--sage-2);
  animation: qlPulse 2.4s var(--ease) infinite;
}
@keyframes qlPulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ql--project i::after { animation: none; opacity: 0; } }
.ql--project b { background: var(--ink); color: var(--paper); padding: 7px 12px; border-radius: 3px; font-size: 14px; font-weight: 600; }
.qfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line-strong); }
.qfacts div { padding: 22px 18px 0 0; }
.qfacts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.qfacts b { display: block; font-size: clamp(30px, 3vw, 48px); line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.qfacts span { display: block; margin-top: 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.45; }
@media (max-width: 900px) {
  .qfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qfacts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .qfacts div:nth-child(n+3) { margin-top: 20px; border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .ql:not(.ql--project) { font-size: 10px; gap: 4px; }
  .ql i { width: 8px; height: 8px; }
  .ql--plain { display: none; }
  .ql--project b { font-size: 11px; padding: 5px 8px; }
  .qmap__rings text { font-size: 34px; }
}
@media (max-width: 480px) {
  .qfacts { grid-template-columns: 1fr; }
  .qfacts div, .qfacts div + div { padding-left: 0; border-left: 0; }
  .qfacts div + div { margin-top: 20px; border-top: 1px solid var(--line); }
}

.qmap__inner { position: relative; }
@media (max-width: 760px) {
  .qmap__inner { width: 175%; transform: translateX(-36%); }
  .qmap__view[data-qmap-panel="plan"] .qmap__inner { width: 150%; transform: translateX(-30%); }
}
@media (max-width: 760px) {
  .ql--l { flex-direction: column-reverse; gap: 3px; transform: translate(-50%, calc(-100% + 5px)); }
}
@media (max-width: 760px) { .ql--hide-m { display: none; } }
.qmap__credit { position: absolute; right: 8px; bottom: 6px; margin: 0; font-size: 10.5px; color: var(--ink-2); background: rgba(255, 253, 249, .82); padding: 3px 7px; border-radius: 2px; }
.quarter-wide--render img { aspect-ratio: 16 / 8; object-position: 50% 60%; }
@media (max-width: 760px) {
  .qmap__credit { position: static; display: block; padding: 6px 8px; background: transparent; }
  .qmap__inner--vis { width: 160%; transform: translateX(-28%); }
  .quarter-wide--render img { aspect-ratio: 4 / 3; }
}
