/* ============================================================
   14 NHQ – Haus 2.3 | Projektseite
   Branding Konzept 2: Dunkelgrün / Gelb / Magenta
   ============================================================ */

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jost-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jost-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/jost-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/great-vibes-latin-400-normal.woff2') format('woff2');
}

:root {
  --green: #325632;
  --green-deep: #27452a;
  --green-tint: #eef2ec;
  --yellow: #f7e942;
  --magenta: #e4127e;
  --magenta-dark: #c40e6b;
  --ink: #2e2e2d;
  --gray: #656463;
  --line: #e4e6e1;
  --paper: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(50, 86, 50, .10);
  --font: 'Jost', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --script: 'Great Vibes', 'Snell Roundhand', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--green); }

/* ---------- Typo ---------- */
h1, h2, h3 { font-weight: 600; line-height: 1.18; color: var(--green); }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.3rem); letter-spacing: .01em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.4rem); margin-bottom: .6em; }
h3 { font-size: 1.18rem; color: var(--ink); }

.eyebrow {
  font-family: var(--script);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--magenta);
  display: block;
  margin-bottom: .2em;
  line-height: 1.2;
}
.eyebrow--yellow { color: var(--yellow); }

.lead { font-size: 1.12rem; color: var(--gray); max-width: 46em; }

/* ---------- Layout ---------- */
.wrap { width: min(1160px, 92%); margin: 0 auto; }
.wrap--narrow { width: min(860px, 92%); margin: 0 auto; }

section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 130px 0; } }

.section-head { max-width: 720px; margin-bottom: 44px; }

.grid-2 {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 72px; }
  .grid-2 .order-first-desktop { order: -1; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  background: var(--magenta);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .02em;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 16px 34px;
  min-height: 52px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 6px 22px rgba(228, 18, 126, .32);
}
.btn:hover { background: var(--magenta-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(228, 18, 126, .4); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  color: var(--green);
  box-shadow: none;
  border: 2px solid var(--green);
}
.btn--ghost:hover { background: var(--green); color: #fff; box-shadow: none; }
.btn--big { padding: 19px 44px; font-size: 1.1rem; }
.btn--pulse { animation: btn-pulse 2.4s ease-in-out infinite; }
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 6px 22px rgba(228, 18, 126, .32), 0 0 0 0 rgba(228, 18, 126, .45); }
  50% { box-shadow: 0 6px 22px rgba(228, 18, 126, .32), 0 0 0 14px rgba(228, 18, 126, 0); }
}
@media (prefers-reduced-motion: reduce) { .btn--pulse { animation: none; } }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.cta-note { font-size: .92rem; color: var(--gray); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px min(4vw, 40px);
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 18px rgba(0, 0, 0, .07);
  padding-top: 8px;
  padding-bottom: 8px;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 54px; width: auto; display: block; }
@media (min-width: 900px) { .logo img { height: 64px; } }
.logo .logo-light { display: block; }
.logo .logo-dark { display: none; }
.site-header.scrolled .logo .logo-light, .inner-header .logo .logo-light { display: none; }
.site-header.scrolled .logo .logo-dark, .inner-header .logo .logo-dark { display: block; }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; padding: 12px 26px; min-height: 44px; font-size: .95rem; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  color: #fff;
  isolation: isolate;
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-bg { overflow: hidden; }
.hero-bg img { animation: hero-zoom 16s ease-in-out infinite alternate; will-change: transform; }
@keyframes hero-zoom {
  from { transform: scale(1.02) translate(0, 0); }
  to { transform: scale(1.16) translate(-1.6%, 1.2%); }
}
@media (prefers-reduced-motion: reduce) { .hero-bg img { animation: none; } }
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(30, 45, 30, .42) 0%, rgba(30, 45, 30, .12) 38%, rgba(24, 38, 24, .78) 100%);
}
.hero-inner { width: min(1160px, 92%); margin: 0 auto; padding: 150px 0 110px; }
.hero .eyebrow { color: var(--yellow); }
.hero h1 { color: #fff; max-width: 15em; text-wrap: balance; }
.hero p.sub { margin-top: 18px; font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 36em; color: rgba(255, 255, 255, .92); }
.hero-badge {
  display: inline-flex; align-items: center; gap: .6em;
  background: rgba(247, 233, 66, .16);
  border: 1px solid rgba(247, 233, 66, .55);
  color: var(--yellow);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 14px 26px;
  margin-top: 30px;
  font-size: .95rem;
  color: rgba(255, 255, 255, .94);
}
.hero-facts span {
  display: inline-flex; align-items: center;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  padding: 8px 20px;
  backdrop-filter: blur(3px);
}

.hero .cta-note { color: rgba(255, 255, 255, .88); }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .85);
  transition: opacity .4s ease;
  z-index: 2;
}
.scroll-hint svg { width: 30px; height: 30px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
.scroll-hint.hidden { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .scroll-hint svg { animation: none; } }

/* ---------- Zahlenleiste ---------- */
.stats {
  background: var(--green);
  color: #fff;
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 20px;
  text-align: center;
}
@media (min-width: 800px) { .stats-grid { grid-template-columns: repeat(5, 1fr); } }
.stat b {
  display: block;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 600;
  color: var(--yellow);
  line-height: 1.1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stat small { font-size: .92rem; color: rgba(255, 255, 255, .85); letter-spacing: .03em; }
@media (min-width: 800px) { .stat small { white-space: nowrap; } }

/* ---------- Bild / Cards ---------- */
.img-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.img-card img { width: 100%; height: 100%; object-fit: cover; }
.img-note { font-size: .82rem; color: var(--gray); margin-top: 10px; }

.feature-list { list-style: none; display: grid; gap: 16px; margin-top: 26px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .tick {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.feature-list .tick svg { width: 13px; height: 13px; }
.feature-list b { font-weight: 500; }

/* ---------- Wohnungsmix ---------- */
.bg-tint { background: var(--green-tint); }
.mix-grid { display: grid; gap: 22px; }
@media (min-width: 800px) { .mix-grid { grid-template-columns: repeat(3, 1fr); } }
.mix-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 4px solid var(--green);
}
.mix-card.highlight { border-top-color: var(--magenta); }
.mix-card .tag {
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--magenta);
}
.mix-card h3 { font-size: 1.35rem; color: var(--green); }
.mix-card .price { font-size: 1.7rem; font-weight: 600; color: var(--ink); margin-top: 6px; }
.mix-card .price small { font-size: .95rem; font-weight: 400; color: var(--gray); }
.mix-card ul { list-style: none; margin-top: 12px; display: grid; gap: 7px; font-size: .97rem; color: var(--gray); }
.mix-card ul li::before { content: '·'; color: var(--magenta); font-weight: 700; margin-right: .5em; }

/* ---------- Quartier / Bauabschnitt ---------- */
.dark { background: var(--green-deep); color: #fff; }
.dark h2 { color: #fff; }
.dark .lead { color: rgba(255, 255, 255, .82); }
.dark .eyebrow { color: var(--yellow); }

.house-grid { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 800px) { .house-grid { grid-template-columns: repeat(3, 1fr); } }
.house-card {
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.house-card.active {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .32);
  position: relative;
}
.house-card h3 { color: var(--yellow); font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; }
.house-card.active h3 { color: var(--magenta); }
.house-card p { font-size: .98rem; color: rgba(255, 255, 255, .82); margin-top: 8px; }
.house-card.active p { color: var(--gray); }
.house-card .hc-figures { margin-top: 14px; display: grid; gap: 4px; font-size: .95rem; }
.house-card .hc-figures span b { font-weight: 600; }
.house-card .badge {
  position: absolute; top: -13px; right: 20px;
  background: var(--magenta); color: #fff;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}

/* ---------- Lage ---------- */
.poi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 26px; margin-top: 26px; }
@media (min-width: 640px) { .poi-grid { grid-template-columns: repeat(2, 1fr); } }
.poi { display: flex; gap: 12px; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.poi b { font-weight: 600; color: var(--green); white-space: nowrap; font-variant-numeric: tabular-nums; }
.poi span { color: var(--gray); font-size: .97rem; }

/* ---------- Kapitalanlage ---------- */
.invest-benefits { display: grid; gap: 18px; margin: 40px 0 56px; }
@media (min-width: 800px) { .invest-benefits { grid-template-columns: repeat(4, 1fr); } }
.benefit {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.benefit .b-ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--green-tint); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.benefit .b-ico svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 1.04rem; margin-bottom: 6px; }
.benefit p { font-size: .93rem; color: var(--gray); }

.calc {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
}
@media (min-width: 900px) { .calc { grid-template-columns: 1.1fr .9fr; } }
.calc-in { padding: 38px 34px; }
.calc-out {
  background: var(--green);
  color: #fff;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.calc h3 { margin-bottom: 20px; }
.seg { display: flex; gap: 8px; background: var(--green-tint); padding: 6px; border-radius: 999px; margin-bottom: 28px; }
.seg button {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--font);
  font-size: .98rem;
  font-weight: 500;
  color: var(--gray);
  padding: 11px 10px;
  min-height: 44px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.seg button.on { background: var(--green); color: #fff; }
.slider-row { margin-bottom: 22px; }
.slider-row label { display: flex; justify-content: space-between; font-size: .95rem; margin-bottom: 8px; color: var(--gray); }
.slider-row label output { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  outline: none;
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--magenta);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  cursor: pointer;
}
input[type='range']::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--magenta);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  cursor: pointer;
}
.calc-out .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 1px solid rgba(255, 255, 255, .18); padding-bottom: 12px; }
.calc-out .row small { color: rgba(255, 255, 255, .8); font-size: .92rem; }
.calc-out .row b { font-size: 1.25rem; font-weight: 600; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc-out .row.big b { font-size: 1.8rem; color: var(--yellow); }
.calc-disclaimer { font-size: .8rem; color: rgba(255, 255, 255, .65); line-height: 1.5; }

/* ---------- Karte & Umgebung ---------- */
.map-grid { display: grid; gap: 22px; margin-top: 56px; }
@media (min-width: 900px) { .map-grid { grid-template-columns: 1.15fr .85fr; } }
.map-box {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-tint);
  min-height: 340px;
  box-shadow: var(--shadow);
}
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 30px;
  background:
    radial-gradient(circle at 30% 30%, rgba(50, 86, 50, .08), transparent 55%),
    radial-gradient(circle at 75% 65%, rgba(50, 86, 50, .1), transparent 50%),
    var(--green-tint);
}
.map-consent .pin { width: 52px; height: 52px; color: var(--magenta); }
.map-consent p { font-size: .85rem; color: var(--gray); max-width: 30em; }
.map-consent .btn { box-shadow: none; }
.env-figure { display: flex; flex-direction: column; }
.env-figure .img-card { flex: 1; }
.env-figure .img-card img { height: 100%; min-height: 240px; }
figcaption { font-size: .82rem; color: var(--gray); margin-top: 10px; }

/* ---------- Mikrolage-Karte ---------- */
.micro-grid {
  display: grid;
  margin-top: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
@media (min-width: 900px) { .micro-grid { grid-template-columns: 1.5fr 1fr; } }
.micro-grid .micro-map { position: relative; min-height: 300px; }
.micro-grid .micro-map img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; }
@media (max-width: 899px) {
  .micro-grid .micro-map { aspect-ratio: 4 / 3; min-height: 0; }
}
@media (min-width: 900px) {
  .micro-grid .micro-map { max-height: 560px; }
}
.micro-panel {
  background: var(--green-deep);
  color: #fff;
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.micro-panel .eyebrow { color: var(--yellow); }
.micro-panel h3 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.micro-panel p { font-size: .95rem; color: rgba(255, 255, 255, .82); margin-bottom: 24px; }
.legend { list-style: none; display: grid; gap: 12px; }
.legend li { display: flex; align-items: center; gap: 14px; font-size: .85rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.legend .dot {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}
@media (max-width: 640px) { .micro-panel { padding: 32px 24px; } }

/* ---------- Wertsteigerung-Highlight ---------- */
.invest-highlight {
  display: grid;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 56px;
}
@media (min-width: 900px) { .invest-highlight { grid-template-columns: 1fr 1fr; } }
.invest-highlight .ih-text {
  background: var(--green);
  color: #fff;
  padding: 44px 40px;
}
.invest-highlight .ih-text .eyebrow { color: var(--yellow); }
.invest-highlight .ih-text h3 { color: #fff; font-size: 1.45rem; margin-bottom: 12px; }
.invest-highlight .ih-text p { color: rgba(255, 255, 255, .85); font-size: .98rem; }
.invest-highlight .ih-steps {
  background: #fff;
  padding: 44px 40px;
  display: grid;
  gap: 18px;
  align-content: center;
}
.ih-step { display: flex; gap: 14px; align-items: flex-start; }
.ih-step .n {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--green-tint); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: .9rem;
}
.ih-step b { font-weight: 600; display: block; }
.ih-step p { font-size: .92rem; color: var(--gray); }
@media (max-width: 640px) { .invest-highlight .ih-text, .invest-highlight .ih-steps { padding: 30px 24px; } }

/* ---------- Historie ---------- */
.timeline { list-style: none; margin-top: 44px; display: grid; gap: 0; }
.timeline li {
  position: relative;
  padding: 0 0 38px 42px;
}
.timeline li::before {
  content: '';
  position: absolute; left: 10px; top: 8px; bottom: 0;
  width: 2px;
  background: var(--line);
}
.timeline li:last-child::before { display: none; }
.timeline li::after {
  content: '';
  position: absolute; left: 3px; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--magenta);
}
/* Zeitstrahl-Animation: Linie wächst, Punkte & Inhalte erscheinen gestaffelt */
.js .timeline li > * { opacity: 0; transform: translateX(16px); transition: opacity .55s ease, transform .55s ease; }
.js .timeline li::after { opacity: 0; transform: scale(.4); transition: opacity .4s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.js .timeline li::before { transform: scaleY(0); transform-origin: top; transition: transform .7s ease; }
.js .timeline.in li:nth-child(1) > *, .js .timeline.in li:nth-child(1)::after { transition-delay: .05s; }
.js .timeline.in li:nth-child(1)::before { transition-delay: .2s; }
.js .timeline.in li:nth-child(2) > *, .js .timeline.in li:nth-child(2)::after { transition-delay: .45s; }
.js .timeline.in li:nth-child(2)::before { transition-delay: .6s; }
.js .timeline.in li:nth-child(3) > *, .js .timeline.in li:nth-child(3)::after { transition-delay: .85s; }
.js .timeline.in li:nth-child(3)::before { transition-delay: 1s; }
.js .timeline.in li:nth-child(4) > *, .js .timeline.in li:nth-child(4)::after { transition-delay: 1.25s; }
.js .timeline.in li > * { opacity: 1; transform: none; }
.js .timeline.in li::after { opacity: 1; transform: scale(1); }
.js .timeline.in li::before { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) {
  .js .timeline li > *, .js .timeline li::after { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .timeline li::before { transform: none !important; transition: none !important; }
}
.timeline .year { font-weight: 600; color: var(--green); font-size: 1.25rem; display: block; }
.timeline p { color: var(--gray); font-size: .98rem; max-width: 40em; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; margin-top: 10px; }
.faq details {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--green); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 500;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex: none;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--magenta);
  line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 22px 20px; color: var(--gray); font-size: .97rem; }
/* FAQ: gestaffeltes Einblenden */
.js .faq details { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease, border-color .2s ease; }
.js .faq.in details { opacity: 1; transform: none; }
.js .faq.in details:nth-child(2) { transition-delay: .08s; }
.js .faq.in details:nth-child(3) { transition-delay: .16s; }
.js .faq.in details:nth-child(4) { transition-delay: .24s; }
.js .faq.in details:nth-child(5) { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .js .faq details { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Bauträger ---------- */
.dev-logo { height: 110px; width: auto; margin: 0 auto 26px; }
.dev-quote {
  font-family: var(--script);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--green);
  line-height: 1.3;
  margin-bottom: 18px;
}

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta .cta-row { justify-content: center; }

/* ---------- Footer ---------- */
footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, .75);
  padding: 40px 0 110px;
  font-size: .9rem;
}
@media (min-width: 900px) { footer { padding-bottom: 40px; } }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 30px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; }
.footer-links a, .footer-links button {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font); font-size: .9rem; padding: 0;
}
.footer-links a:hover, .footer-links button:hover { color: var(--yellow); }

/* ---------- Sticky Mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, .12);
  transform: translateY(110%);
  transition: transform .35s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Reveal-Animationen (JS setzt Startzustand) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Cookie-Banner ---------- */
.consent {
  position: fixed;
  z-index: 90;
  left: 14px; right: 14px;
  bottom: 14px;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  padding: 26px 26px 22px;
  display: none;
}
.consent.open { display: block; }
.consent h3 { font-size: 1.08rem; margin-bottom: 8px; }
.consent p { font-size: .9rem; color: var(--gray); margin-bottom: 18px; }
.consent p a { color: var(--green); }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent-btns .btn { padding: 13px 10px; font-size: .95rem; box-shadow: none; }
.consent-btns .btn--ghost { border-width: 1.5px; }

/* ---------- Funnel-Seiten ---------- */
.funnel-body { min-height: 100svh; display: flex; flex-direction: column; }
.funnel-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 90px 5% 40px; text-align: center; }
.funnel-main .wrap--narrow { display: flex; flex-direction: column; align-items: center; }
.funnel-footer { padding: 18px; text-align: center; font-size: .8rem; color: var(--gray); }
.funnel-footer a { color: var(--gray); margin: 0 10px; }

.progress-shell { width: min(420px, 100%); height: 10px; border-radius: 999px; background: var(--green-tint); margin: 26px auto 8px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--green), var(--magenta)); transition: width 1.1s cubic-bezier(.2, .7, .3, 1); }
.progress-label { font-size: .85rem; color: var(--gray); margin-bottom: 34px; }

.steps { display: grid; gap: 14px; width: min(520px, 100%); margin: 10px auto 30px; text-align: left; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: #fff;
}
.step .n {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; color: var(--gray); background: var(--green-tint);
}
.step.done .n { background: var(--green); color: #fff; }
.step.now { border-color: var(--magenta); box-shadow: 0 10px 30px rgba(228, 18, 126, .13); }
.step.now .n { background: var(--magenta); color: #fff; }
.step b { font-weight: 600; }
.step p { font-size: .92rem; color: var(--gray); margin-top: 2px; }
.spam-note { font-size: .88rem; color: var(--gray); }

/* ---------- Collage (Danke-Seite) ---------- */
.collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 46px;
  width: 100%;
}
.collage img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.collage .span2 { grid-column: span 2; }
@media (max-width: 560px) {
  .collage { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 32px; }
  .collage .span2 { grid-column: span 2; }
  .collage img { min-height: 110px; }
}

/* ---------- Rechtsseiten ---------- */
.legal { padding: 140px 0 90px; }
.legal h1 { margin-bottom: 30px; }
.legal h2 { font-size: 1.3rem; margin-top: 40px; }
.legal h3 { margin-top: 24px; }
.legal p, .legal li { color: var(--ink); font-size: .98rem; margin-top: 10px; }
.legal ul { padding-left: 22px; }
.placeholder-mark { background: #fdf3c9; padding: 0 4px; border-radius: 4px; }

/* ============================================================
   Mobile-Feinschliff
   ============================================================ */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-inner { padding: 118px 0 96px; }
  .hero h1 { font-size: clamp(1.72rem, 7.4vw, 2.2rem); }
  .hero p.sub { font-size: 1.02rem; margin-top: 14px; }
  .hero-badge { font-size: .78rem; padding: 6px 14px; margin-bottom: 16px; }
  .hero-facts { font-size: .88rem; gap: 8px 8px; margin-top: 20px; }
  .hero-facts span { padding: 6px 13px; }
  .cta-row { margin-top: 22px; }
  .cta-row .btn--big { width: 100%; }
  .stats { padding: 46px 0; }
  .stats-grid { gap: 28px 14px; }
  .stats-grid .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .section-head { margin-bottom: 34px; }
  .mix-card { padding: 28px 24px; }
  .house-card { padding: 24px 22px; }
  .poi-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
  .calc-in, .calc-out { padding: 28px 22px; }
  .calc-out .row b { font-size: 1.12rem; }
  .calc-out .row.big b { font-size: 1.5rem; }
  .map-box { min-height: 300px; }
  .map-consent { padding: 22px; }
  .dev-logo { height: 84px; }
  .timeline { margin-top: 30px; }
  .timeline li { padding-bottom: 30px; }
  .faq summary { padding: 16px 18px; font-size: .98rem; }
  .faq .faq-a { padding: 0 18px 18px; }
  .invest-benefits { margin: 32px 0 40px; }
  .footer-inner { justify-content: center; text-align: center; }
}
