/* ──────────────────────────────────────────────────────────
   Tweaks — photographic mood (applied to all imagery layers)
   ────────────────────────────────────────────────────────── */
.landing-bg, .phero .bg, .cat-card .bg, .feat-img, .prop-img,
.news-img, .area .bg, .about-portrait, .member-portrait,
.home-intro-portrait, .map-block {
  transition: filter 0.5s ease;
}
body.mood-warm .landing-bg, body.mood-warm .phero .bg, body.mood-warm .cat-card .bg,
body.mood-warm .feat-img, body.mood-warm .prop-img, body.mood-warm .news-img,
body.mood-warm .area .bg, body.mood-warm .about-portrait, body.mood-warm .member-portrait,
body.mood-warm .home-intro-portrait, body.mood-warm .map-block {
  filter: sepia(0.32) saturate(1.3) brightness(1.03) hue-rotate(-10deg);
}
body.mood-bw .landing-bg, body.mood-bw .phero .bg, body.mood-bw .cat-card .bg,
body.mood-bw .feat-img, body.mood-bw .prop-img, body.mood-bw .news-img,
body.mood-bw .area .bg, body.mood-bw .about-portrait, body.mood-bw .member-portrait,
body.mood-bw .home-intro-portrait, body.mood-bw .map-block {
  filter: grayscale(1) contrast(1.06);
}

/* ──────────────────────────────────────────────────────────
   Renner Real Estate — Design tokens & base styles
   ────────────────────────────────────────────────────────── */

:root {
  /* Brand palette derived from the logo gold + Munich-residential warmth */
  --gold: #C7A95C;
  --gold-2: #B89248;
  --gold-soft: #E2CC95;
  --ink: #14110D;
  --ink-2: #3B342B;
  --ink-soft: #6E6557;
  --cream: #F6F1E7;
  --cream-2: #FBF7EE;
  --paper: #FFFFFF;
  --line: #E4DCC8;
  --line-soft: #EFE8D7;

  --serif: "Cormorant Garamond", "Source Serif Pro", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1440px;
}

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

html, body, #root {
  height: 100%;
  overflow: hidden; /* no page-level scrolling — every screen fits in viewport */
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }

/* ──────────────────────────────────────────────────────────
   Top navigation — shared across every page
   ────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px;
  z-index: 50;
  background: rgba(255,255,255, 0.96);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav.mobile-open.is-hidden { transform: none; }
.nav.is-transparent {
  background: transparent;
  border-bottom-color: transparent;
  color: #fff;
}
.nav.is-transparent .nav-link { color: rgba(255,255,255,0.92); }
.nav.is-transparent .nav-link:hover { color: var(--gold-soft); }
.nav.is-transparent .nav-cta { color: #fff; }

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 54px;
}
.nav-left { justify-content: flex-end; padding-right: 16px; }
.nav-right { justify-content: flex-start; padding-left: 16px; gap: 40px; }

.nav-logo {
  display: block;
  cursor: pointer;
  line-height: 0;
  padding: 0 32px;
}
.nav-logo img { display: block; height: 50px; width: auto; max-width: none; transition: filter 0.3s ease; }
.nav.is-transparent .nav-logo img {
  filter: none;
}
.nav-logo-mini {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-link {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 8px 2px;
  transition: color 0.18s ease;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.is-active { color: var(--gold-2); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -2px;
  transform: translateX(-50%);
  width: 18px; height: 1px;
  background: var(--gold);
}

/* Dropdown */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 280px;
  margin-top: 14px;
  background: rgba(250, 248, 241, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(20, 17, 13, 0.06);
  border-top: 2px solid var(--gold-soft);
  padding: 14px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 18px 44px -30px rgba(20,17,13,0.18);
}
/* invisible hover bridge so the submenu doesn't vanish while the
   cursor crosses the gap between the menu item and the dropdown */
.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -16px;
  height: 16px;
}
.nav-item:hover .nav-dropdown,
.nav-dropdown:hover {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 9px 24px;
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown a:hover { background: rgba(199, 169, 92, 0.10); color: var(--gold-2); }

.nav-cta {
  margin-left: 8px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 10px 4px;
  color: var(--gold-2);
  transition: color 0.2s ease;
}
.nav-cta:hover { color: var(--ink); }

/* Language switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 18px;
  padding: 7px 12px;
  border: 1px solid var(--gold);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.nav.is-transparent .lang-switch { border-color: rgba(255,255,255,0.55); }
.lang-switch button {
  padding: 6px 7px;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.15s ease;
  text-transform: uppercase;
}
.lang-switch button.is-active { color: var(--gold-2); }
.lang-switch .sep { color: var(--line); }
.nav.is-transparent .lang-switch button { color: rgba(255,255,255,0.7); }
.nav.is-transparent .lang-switch button.is-active { color: #fff; }
.nav.is-transparent .lang-switch .sep { color: rgba(255,255,255,0.4); }
.lang-switch button:hover { color: var(--gold-2); }
.nav.is-transparent .lang-switch button:hover { color: var(--gold-soft); }

/* ──────────────────────────────────────────────────────────
   Page shell — every page renders inside <main class="page">
   ────────────────────────────────────────────────────────── */
.page {
  position: relative;
  display: block;
  background: #fff;
}
.page-body {
  flex: 1;
  display: grid;
  padding: 150px 64px 52px;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  min-height: 0;
  overflow: hidden;
}

.crumb {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.h-display {
  font-family: var(--serif);
  font-size: clamp(48px, 5.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-weight: 400;
}
.h-display em {
  font-style: italic;
  color: var(--gold-2);
  font-weight: 400;
}

.h-section {
  font-family: var(--serif);
  font-size: clamp(36px, 3.4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.h-section em { font-style: italic; color: var(--gold-2); }

.lede {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 56ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--ink);
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--gold-2); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-2); }

.btn .arrow {
  width: 18px; height: 1px; background: currentColor; position: relative;
}
.btn .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ──────────────────────────────────────────────────────────
   LANDING
   ────────────────────────────────────────────────────────── */
/* Home scroll container */
.page-frame.is-scroll {
  overflow-y: auto;
  overflow-x: hidden;
}
.page-frame.is-snap {
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
}
.home { display: block; }
.home > section { scroll-snap-align: start; }

.landing {
  position: relative;
  height: 100vh;
  height: 100svh;
  background: #1A1A1A;
  overflow: hidden;
}
.landing-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1.2s ease;
}
.landing-bg.is-prev { opacity: 0; }
.landing::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}
.landing-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 0 32px 120px;
}
.landing-eyebrow {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #FBEFC9;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.9), 0 2px 8px rgba(0,0,0,0.7), 0 0 22px rgba(0,0,0,0.5);
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 18px;
}
.landing-eyebrow span.bar { width: 30px; height: 1px; background: var(--gold); }
.landing-headline {
  font-family: var(--serif);
  font-size: clamp(52px, 5.6vw, 88px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 22ch;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5), 0 4px 26px rgba(0,0,0,0.4);
}
.landing-headline em { font-style: italic; color: var(--gold-soft); }
.landing-sub {
  margin-top: 32px;
  font-size: 17px;
  line-height: 1.7;
  max-width: 52ch;
  color: rgba(255,255,255,0.98);
  text-shadow: 0 1px 3px rgba(0,0,0,0.8), 0 2px 14px rgba(0,0,0,0.55);
}
.landing-actions {
  margin-top: 38px;
  display: flex; gap: 14px;
}
.landing-actions .btn {
  background: var(--gold);
  min-width: 230px;
  justify-content: center;
}
.landing-actions .btn:hover { background: #fff; color: var(--ink); }
.landing-actions .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.landing-actions .btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: #fff;
}

.landing-bottom {
  position: absolute;
  bottom: 36px; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 64px;
  z-index: 3;
  color: rgba(255,255,255,0.75);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.landing-bottom .dots { display: flex; gap: 10px; }
.landing-bottom .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
}
.landing-bottom .dot.is-active { background: var(--gold); }

.landing-bottom .scroll-hint { display: flex; align-items: center; gap: 14px; }

/* ──────────────────────────────────────────────────────────
   HOME — intro / self-introduction section
   ────────────────────────────────────────────────────────── */
.home-intro {
  min-height: 100vh;
  background: var(--cream);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 72px;
  padding: 120px 64px 96px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.home-intro-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: #ddd;
}
.home-intro-portrait::after {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  border: 1px solid var(--gold);
  z-index: -1;
}
.home-intro-portrait .badge {
  position: absolute;
  left: -1px; bottom: 28px;
  background: var(--ink);
  color: #fff;
  padding: 18px 24px;
  max-width: none;
}
.home-intro-portrait .badge .b-num {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.08;
  color: var(--gold-soft);
}
.home-intro-portrait .badge .b-label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-top: 8px;
  color: rgba(255,255,255,0.82);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.home-intro-portrait .badge .b-label span { white-space: nowrap; }
.home-intro-text { max-width: 60ch; }
.home-intro-text .lede { margin-top: 18px; max-width: none; }
.home-intro-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 23px;
  line-height: 1.5;
  color: var(--ink-2);
  border-left: 2px solid var(--gold);
  padding-left: 22px;
  margin: 26px 0 0;
}
.home-intro-sign {
  display: flex; align-items: baseline; gap: 18px;
  margin-top: 22px;
}
.home-intro-sign .name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  color: var(--gold-2);
}
.home-intro-sign .role {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.home-intro-stats {
  display: flex;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}
.home-intro-stats .s {
  flex: 1;
  padding: 22px 0 0;
  padding-right: 24px;
}
.home-intro-stats .s .n {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--ink);
}
.home-intro-stats .s .l {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* ──────────────────────────────────────────────────────────
   HOME — compact services section (dark)
   ────────────────────────────────────────────────────────── */
.home-services {
  min-height: 100vh;
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 64px 96px;
}
.home-services-inner {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
}
.home-services-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}
.home-services-head .eyebrow { color: var(--gold-soft); }
.home-services-head .eyebrow::before { background: var(--gold); }
.home-services-head h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 3.2vw, 50px);
  line-height: 1.06;
  font-weight: 400;
  margin-top: 14px;
}
.home-services-head h2 em { font-style: italic; color: var(--gold-soft); }
.home-services-head p {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 46ch;
}
.home-svc-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.14);
}
.home-svc {
  padding: 30px 26px 28px;
  border-right: 1px solid rgba(255,255,255,0.14);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background 0.25s ease;
  min-height: 250px;
}
.home-svc:nth-child(3n) { border-right: 0; }
.home-svc:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,0.14); }
.home-svc:hover { background: rgba(255,255,255,0.04); }
.home-svc .num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--gold-soft);
  margin-bottom: 22px;
}
.home-svc .t {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.16;
  margin-bottom: 12px;
}
.home-svc .d {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.62);
  flex: 1;
}
.home-svc .a {
  margin-top: 22px;
  width: 24px; height: 1px;
  background: var(--gold);
  position: relative;
  transition: width 0.25s ease;
}
.home-svc .a::after {
  content: ""; position: absolute; right: 0; top: -4px;
  width: 8px; height: 8px;
  border-right: 1px solid var(--gold);
  border-top: 1px solid var(--gold);
  transform: rotate(45deg);
}
.home-svc:hover .a { width: 52px; }
.home-services-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.home-services-cta .ct-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: rgba(255,255,255,0.92);
}
.home-services-cta .btn { background: var(--gold); }
.home-services-cta .btn:hover { background: #fff; color: var(--ink); }

/* So arbeiten wir — light/paper process section */
.home-process {
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  padding: clamp(72px, 9vh, 116px) 64px;
}
.home-process-inner { max-width: var(--maxw); margin: 0 auto; }
.home-process-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 60px;
}
.home-process-head h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 3.2vw, 50px);
  line-height: 1.06;
  font-weight: 400;
  margin-top: 14px;
  color: var(--ink);
}
.home-process-head h2 em { font-style: italic; color: var(--gold-2); }
.home-process-head p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 46ch;
}
.home-process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.hp-step {
  position: relative;
  padding: 0 24px 0 0;
}
.hp-step:not(:last-child) { padding-right: 28px; }
.hp-node {
  position: relative;
  height: 56px;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
}
/* connecting line across the row */
.hp-node::before {
  content: "";
  position: absolute;
  left: 0; right: -28px; top: 50%;
  height: 1px;
  background: var(--line);
}
.hp-step:last-child .hp-node::before { right: 0; }
.hp-node span {
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
  flex: 0 0 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink);
  color: var(--gold-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  border-radius: 50%;
}
.hp-step h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
}
.hp-step p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 22ch;
}

/* Talk CTA — own light section between services and footer */
.home-talk {
  background: var(--cream);
  border-top: 1px solid var(--line-soft);
  padding: clamp(56px, 7vh, 88px) 64px;
}
.home-talk-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.home-talk-text { display: flex; flex-direction: column; gap: 16px; }
.home-talk .ht-line {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.home-talk .ht-line em { font-style: italic; color: var(--gold-2); }
.home-talk .btn { background: var(--ink); color: #fff; flex: 0 0 auto; }
.home-talk .btn:hover { background: var(--gold); color: #fff; }

/* scroll cue on hero */
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px; height: 34px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: cueDrop 1.8s ease-in-out infinite;
}
@keyframes cueDrop {
  0%, 100% { opacity: 0.4; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ──────────────────────────────────────────────────────────
   IMMOBILIEN — overview grid
   ────────────────────────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  min-height: 0;
}
.cat-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #222;
  display: flex; align-items: flex-end;
  transition: transform 0.4s ease;
}
.cat-card .bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s ease;
}
.cat-card:hover .bg { transform: scale(1.06); }
.cat-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.78) 100%);
}
.cat-card-body {
  position: relative; z-index: 2;
  padding: 28px 24px;
  color: #fff;
  width: 100%;
}
.cat-card-eyebrow {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 8px;
}
.cat-card-title {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.1;
  font-weight: 500;
}
.cat-card-arrow {
  margin-top: 18px;
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--gold);
  position: relative;
  transition: width 0.25s ease;
}
.cat-card-arrow::after {
  content: ""; position: absolute; right: 0; top: -4px;
  width: 9px; height: 9px;
  border-right: 1px solid var(--gold);
  border-top: 1px solid var(--gold);
  transform: rotate(45deg);
}
.cat-card:hover .cat-card-arrow { width: 56px; }

.section-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
  align-items: end;
}

/* ──────────────────────────────────────────────────────────
   PROPERTY LISTING — Kauf/Miete pages
   ────────────────────────────────────────────────────────── */
.prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  min-height: 0;
}
.prop {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
.prop:hover { border-color: var(--gold); }
.prop-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.prop-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 6px 12px;
}
.prop-tag.gold { background: var(--gold); color: #fff; }
.prop-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.prop-loc {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-2);
}
.prop-title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.18;
  color: var(--ink);
}
.prop-meta {
  display: flex; gap: 18px;
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.prop-meta span { display: inline-flex; align-items: center; gap: 6px; }
.prop-meta .dot { width: 3px; height: 3px; background: var(--line); border-radius: 50%; }
.prop-foot {
  margin-top: 12px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.prop-price {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
}
.prop-price small { font-size: 12px; color: var(--ink-soft); font-family: var(--sans); margin-left: 4px; }

.list-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}

/* Empty listings state */
.empty-listings {
  max-width: 680px; margin: 0 auto; text-align: center;
  padding: 36px 40px 44px; border: 1px solid var(--line-soft); background: var(--cream-2);
}
.el-eyebrow {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-2);
}
.el-title {
  font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); font-weight: 500;
  line-height: 1.1; color: var(--ink); margin: 14px 0 16px;
}
.el-title em { font-style: italic; color: var(--gold-2); }
.el-text { font-size: 15.5px; line-height: 1.8; color: var(--ink-2); max-width: 56ch; margin: 0 auto; }
.el-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.chip-row { display: flex; gap: 8px; }
.chip {
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s ease;
}
.chip:hover, .chip.is-active {
  border-color: var(--ink);
  color: var(--ink);
}
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ──────────────────────────────────────────────────────────
   SERVICES grid
   ────────────────────────────────────────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  min-height: 0;
}
.svc-card {
  background: var(--cream-2);
  padding: 32px 26px;
  display: flex; flex-direction: column;
  border: 1px solid var(--line-soft);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  min-height: 0;
}
.svc-card:hover {
  background: #fff;
  border-color: var(--gold);
}
.svc-num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--gold-2);
  margin-bottom: 26px;
}
.svc-title {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--ink);
}
.svc-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.65;
  flex: 1;
}
.svc-arrow {
  margin-top: 24px;
  display: inline-block;
  width: 24px; height: 1px; background: var(--ink);
  position: relative;
  transition: width 0.25s ease, background 0.25s ease;
}
.svc-arrow::after {
  content: ""; position: absolute; right: 0; top: -4px;
  width: 9px; height: 9px;
  border-right: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
  transform: rotate(45deg);
}
.svc-card:hover .svc-arrow { width: 56px; background: var(--gold); }
.svc-card:hover .svc-arrow::after { border-color: var(--gold); }

/* ──────────────────────────────────────────────────────────
   HERO with side panel — used by service detail pages
   ────────────────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 0;
  height: 100%;
}
.split-image {
  background-size: cover;
  background-position: center;
  position: relative;
}
.split-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.35));
}
.split-text {
  padding: 0 0 0 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.split-text.padded { padding: 0 56px; }

/* form */
.form {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field {
  display: flex; flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
}

/* Multi-select dropdown (features & extras) */
.multi-select { position: relative; }
.ms-trigger {
  width: 100%; font: inherit; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 12px; border: 1px solid var(--line); background: #fff;
  color: var(--ink); text-align: left; transition: border-color 0.15s ease; min-height: 46px;
}
.ms-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.ms-chips .loc-chip { cursor: default; }
.multi-select.open .ms-trigger, .ms-trigger:focus { border-color: var(--gold); outline: none; }
.ms-placeholder { color: var(--ink-soft); }
.ms-val { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-caret {
  flex: none; width: 8px; height: 8px; border-right: 1.5px solid var(--ink-soft);
  border-bottom: 1.5px solid var(--ink-soft); transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.multi-select.open .ms-caret { transform: rotate(-135deg) translateY(-2px); }
.ms-backdrop { position: fixed; inset: 0; z-index: 40; }
.ms-panel {
  position: absolute; z-index: 41; top: calc(100% + 4px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(20,17,13,0.14);
  padding: 6px; display: flex; flex-direction: column;
}
.ms-opt {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; cursor: pointer;
  font-size: 14px; color: var(--ink-2); transition: background 0.12s ease;
}
.ms-opt:hover { background: var(--cream); }
.ms-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.ms-box {
  flex: none; width: 18px; height: 18px; border: 1px solid var(--line);
  position: relative; transition: border-color 0.15s ease, background 0.15s ease;
}
.ms-opt input:checked + .ms-box { background: var(--gold); border-color: var(--gold); }
.ms-opt input:checked + .ms-box::after {
  content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.ms-label { user-select: none; }

/* Number field with unit suffix (area / budget) */
.num-field { position: relative; }
.num-field input { width: 100%; padding-right: 40px !important; }
.num-suffix {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--ink-soft); font-size: 14px; pointer-events: none;
}

/* Location autocomplete */
.loc-ac { position: relative; }
.loc-control {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  padding: 7px 10px; border: 1px solid var(--line); background: #fff;
  transition: border-color 0.15s ease; min-height: 46px;
}
.loc-control.open, .loc-control:focus-within { border-color: var(--gold); }
.loc-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--cream); border: 1px solid var(--line-soft);
  padding: 4px 6px 4px 11px; font-size: 13px; color: var(--ink);
}
.loc-chip-x {
  border: none; background: none; cursor: pointer; font-size: 16px; line-height: 1;
  color: var(--ink-soft); padding: 0 2px; transition: color 0.15s ease;
}
.loc-chip-x:hover { color: var(--gold-2); }
.loc-input {
  flex: 1; min-width: 120px; border: none !important; outline: none;
  padding: 5px 4px !important; font: inherit; background: transparent !important;
}
.loc-input:focus { border: none !important; }
.loc-panel {
  position: absolute; z-index: 41; top: calc(100% + 4px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(20,17,13,0.14);
  padding: 6px; display: flex; flex-direction: column; max-height: 280px; overflow-y: auto;
}
.loc-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 12px; cursor: pointer; font-size: 14px; color: var(--ink-2);
  transition: background 0.12s ease;
}
.loc-opt:hover, .loc-opt.active { background: var(--cream); }
.loc-name { color: var(--ink); }
.loc-plz { flex: none; font-size: 12px; letter-spacing: 0.05em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* Disabled field (e.g. rooms when "Grundstück" is selected) */
.field.is-disabled { opacity: 0.45; }
.field.is-disabled select { cursor: not-allowed; background: var(--cream); }

/* ──────────────────────────────────────────────────────────
   UNTERNEHMEN — stats + values
   ────────────────────────────────────────────────────────── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  color: var(--gold-2);
  font-weight: 500;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.values {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 32px;
}
.value-num {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--gold-2);
}
.value h3 {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
  margin: 10px 0 12px;
}
.value p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }

/* News */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  min-height: 0;
}
.news-newsletter {
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: 56px; align-items: center;
}
.nn-intro .nn-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 3.4vw, 50px); line-height: 1.08;
  margin: 16px 0 18px; color: var(--ink);
}
.nn-intro .nn-title em { font-style: italic; color: var(--gold-2); }
.nn-intro .nn-text {
  font-size: 16px; line-height: 1.8; color: var(--ink-2); max-width: 46ch;
}
.nn-card { align-self: stretch; }

/* Gut zu wissen — prominent band (News page) */
.gzw-band {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px;
  cursor: pointer;
}
.gzw-band-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 4vw, 56px); line-height: 1.04;
  margin: 14px 0 16px; color: #fff;
}
.gzw-band-title em { font-style: italic; color: var(--gold-soft); }
.gzw-band-sub {
  font-size: 16px; line-height: 1.75; color: rgba(255,255,255,0.72); max-width: 60ch; margin: 0;
}
.gzw-letters {
  display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 22px;
}
.gzw-letters span {
  font-size: 12px; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.62);
  border: 1px solid rgba(255,255,255,0.18); padding: 6px 13px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.gzw-band:hover .gzw-letters span { color: var(--gold-soft); border-color: rgba(199,169,92,0.5); }
.gzw-band-action { flex: 0 0 auto; }
.gzw-band:hover .gzw-band-action .btn { background: var(--gold-2); }
.news {
  display: flex; flex-direction: column;
  border: 1px solid var(--line-soft);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.25s ease;
}
.news:hover { border-color: var(--gold); }
.news-img {
  aspect-ratio: 16/10;
  background-size: cover; background-position: center;
}
.news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.news-meta {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-2);
  display: flex; gap: 14px; align-items: center;
}
.news-meta .dot { width: 3px; height: 3px; background: var(--line); border-radius: 50%; }
.news-title {
  font-family: var(--serif); font-size: 22px; line-height: 1.18;
}
.news-excerpt { font-size: 13px; color: var(--ink-soft); line-height: 1.65; }

/* Über uns */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  min-height: 0;
}
.about-portrait {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  background-color: #ddd;
  position: relative;
}
.about-portrait::after {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid var(--gold);
  z-index: -1;
}
.about-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-2);
  border-left: 2px solid var(--gold);
  padding-left: 20px;
  margin-top: 18px;
}
.about-signature {
  margin-top: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--gold-2);
}

/* Legal / Impressum text page */
.legal { max-width: 880px; }

/* ──────────────────────────────────────────────────────────
   Article — News market report
   ────────────────────────────────────────────────────────── */
.article { max-width: 820px; margin: 0 auto; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
  padding-bottom: 28px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft);
}
.article-meta .m-cat { color: var(--gold-2); }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.article-intro {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  color: var(--ink-2);
  padding: 30px 0 6px;
}
.article-section { padding: 34px 0; border-top: 1px solid var(--line); }
.article-sec-num {
  font-family: var(--serif); font-style: italic;
  font-size: 15px; letter-spacing: 0.16em; color: var(--gold-2);
}
.article-h2 {
  font-family: var(--serif);
  font-size: clamp(25px, 2.3vw, 33px);
  line-height: 1.12; margin: 6px 0 14px; color: var(--ink);
}
.article p { font-size: 15.5px; line-height: 1.8; color: var(--ink-2); }
.article p + p { margin-top: 14px; }
.data-group-title {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-2); margin: 24px 0 4px;
}
.data-rows { display: flex; flex-direction: column; }
.data-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px;
}
.data-row .k { color: var(--ink-soft); }
.data-row .v { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.chip-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.stat-chip {
  display: flex; flex-direction: column; gap: 7px;
  padding: 14px 20px; border: 1px solid var(--line);
}
.stat-chip .sc-v { font-family: var(--serif); font-size: 23px; line-height: 1.05; color: var(--ink); white-space: nowrap; }
.stat-chip .sc-v.up { color: #2F7D55; }
.stat-chip .sc-v.down { color: #B0573C; }
.stat-chip .sc-l { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.article-fazit { background: var(--ink); color: #fff; padding: 40px 44px; margin-top: 40px; }
.article-fazit .article-sec-num { color: var(--gold-soft); }
.article-fazit .article-h2 { color: #fff; }
.article-fazit p { color: rgba(255,255,255,0.82); }
.article-fazit .data-row { border-color: rgba(255,255,255,0.16); }
.article-fazit .data-row .k { color: rgba(255,255,255,0.7); }
.article-fazit .data-row .v { color: #fff; }
.article-back {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-2);
  margin-bottom: 30px; cursor: pointer;
}
.article-back .ar { width: 18px; height: 1px; background: currentColor; position: relative; }
.article-back .ar::after { content:""; position:absolute; left:0; top:-3px; width:7px; height:7px; border-left:1px solid currentColor; border-bottom:1px solid currentColor; transform: rotate(45deg); }
.src-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; }
.src-list li {
  position: relative; padding: 9px 0 9px 20px;
  font-size: 13.5px; line-height: 1.6; color: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
}
.src-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 9px; height: 1px; background: var(--gold); }
.article-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.article-list li { position: relative; padding-left: 24px; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.article-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 1px; background: var(--gold-2); }
.article-list li strong { color: var(--ink); font-weight: 600; }
.legal-block { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line-soft); }
.legal-block:last-child { border-bottom: 0; margin-bottom: 0; }

/* Glossar — Gut zu wissen */
.glossar { max-width: 900px; margin: 0 auto; }
.glossar-filter {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 18px 0 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.gl-letter {
  width: 38px; height: 38px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); cursor: pointer;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink-2); transition: all 0.16s ease;
}
.gl-letter.gl-all { width: auto; padding: 0 16px; letter-spacing: 0.16em; text-transform: uppercase; font-size: 11px; }
.gl-letter:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-2); }
.gl-letter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.gl-letter.is-empty { color: var(--line); border-color: var(--line-soft); cursor: default; opacity: 0.55; }
.glossar-count {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 26px;
}
.glossar-list { display: flex; flex-direction: column; gap: 8px; }
.gl-group {
  display: grid; grid-template-columns: 72px 1fr; gap: 24px;
  padding: 26px 0; border-top: 1px solid var(--line-soft);
}
.gl-group:first-child { border-top: 0; }
.gl-group-letter {
  font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--gold);
  font-style: italic;
}
.gl-entries { display: flex; flex-direction: column; gap: 22px; }
.gl-entry { }
.gl-term { font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--ink); margin: 0 0 6px; }
.gl-def { font-size: 15px; line-height: 1.72; color: var(--ink-2); margin: 0; max-width: 64ch; }

/* Suchprofil form */
.profile-form { display: flex; flex-direction: column; gap: 16px; }
.pf-section-label {
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-2); padding-bottom: 10px; margin-bottom: 4px;
  border-bottom: 1px solid var(--line-soft);
}
.consent {
  margin-top: 8px; padding: 18px 20px;
  background: var(--cream-2); border: 1px solid var(--line-soft);
}
.consent-row { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.consent-row input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px;
  border: 1.5px solid var(--gold-2); background: #fff; cursor: pointer;
  border-radius: 2px; transition: background 0.15s ease;
}
.consent-row input[type="checkbox"]:checked { background: var(--gold-2); }
.consent-row input[type="checkbox"]:checked::after {
  content: "✓"; display: block; color: #fff; font-size: 13px; line-height: 17px; text-align: center;
}
.consent-row span { font-size: 13px; line-height: 1.65; color: var(--ink-2); }
.consent-row a { color: var(--gold-2); text-decoration: underline; }
.pf-note { font-size: 12.5px; line-height: 1.6; color: var(--ink-soft); }
.pf-error {
  font-size: 13px; color: #B0573C; padding: 10px 14px;
  background: rgba(176,87,60,0.08); border: 1px solid rgba(176,87,60,0.25);
}
.pf-success { text-align: center; padding: 30px 0 10px; }
.pf-success-mark {
  width: 60px; height: 60px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--gold); color: #fff; font-size: 30px; line-height: 60px;
}
.pf-success h2 { font-family: var(--serif); font-size: 32px; font-weight: 500; color: var(--ink); }
.pf-success p { font-size: 15.5px; line-height: 1.75; color: var(--ink-2); max-width: 52ch; margin: 14px auto 0; }

/* Bewertungs-Assistent (Wizard) */
.wizard { background: #fff; border: 1px solid var(--line-soft); padding: 0; }
.wiz-progress {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  border-bottom: 1px solid var(--line-soft);
}
.wiz-pstep {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 8px; position: relative; color: var(--ink-soft);
}
.wiz-pstep:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 1px; height: 22px;
  transform: translateY(-50%); background: var(--line-soft);
}
.wiz-pnum {
  width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; background: var(--cream-2); color: var(--ink-soft);
  border: 1px solid var(--line); transition: all 0.2s ease;
}
.wiz-pstep.done .wiz-pnum { background: var(--gold); color: #fff; border-color: var(--gold); }
.wiz-pstep.done { color: var(--ink); }
.wiz-plabel { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.wiz-body { padding: 38px 40px 8px; min-height: 250px; }
.wiz-q {
  font-family: var(--serif); font-size: 25px; font-weight: 500; color: var(--ink);
  margin-bottom: 22px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.wiz-q-sub {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-2); font-weight: 600;
}
.wiz-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.wiz-opt {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  width: 100%; min-height: 156px; padding: 22px 14px; background: var(--cream-2); border: 1px solid var(--line-soft);
  cursor: pointer; transition: all 0.18s ease; color: var(--ink-2); font: inherit;
}
.wiz-opt svg { width: 38px; height: 38px; flex: 0 0 38px; color: var(--gold-2); transition: color 0.18s ease; }
.wiz-opt span { font-size: 14px; font-weight: 500; text-align: center; min-height: 2.6em; display: flex; align-items: center; justify-content: center; line-height: 1.3; word-break: break-word; hyphens: auto; }
.wiz-opt:hover { border-color: var(--gold); background: #fff; }
.wiz-opt.active { border-color: var(--gold); background: #fff; box-shadow: inset 0 0 0 1px var(--gold); }
.wiz-opt.active svg { color: var(--gold); }
.wiz-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.wiz-pill {
  padding: 12px 20px; background: var(--cream-2); border: 1px solid var(--line-soft);
  font: inherit; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: all 0.16s ease;
}
.wiz-pill:hover { border-color: var(--gold); }
.wiz-pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.wiz-nav {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 40px; border-top: 1px solid var(--line-soft); margin-top: 26px;
}
.wiz-nav .btn { cursor: pointer; }
@media (max-width: 760px) {
  .wiz-plabel { display: none; }
  .wiz-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wiz-body { padding: 30px 22px 8px; }
  .wiz-nav { padding: 18px 22px; }
}
.legal-block h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 12px;
}
.legal-block p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.legal-block p + p { margin-top: 12px; }

/* Team grid — two members side by side on Über uns */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.member { display: flex; flex-direction: column; }
.member-portrait {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center top;
  background-color: #e8e0cf;
  position: relative;
}
.member-portrait::after {
  content: "";
  position: absolute;
  inset: auto -18px -18px 18px;
  height: 60%;
  border: 1px solid var(--gold);
  z-index: -1;
}
.member-body { padding-top: 26px; flex: 1; display: flex; flex-direction: column; }
.member-name {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.05;
  color: var(--ink);
}
.member-roles {
  margin-top: 12px;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.member-role {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.member-bio {
  margin-top: 16px;
  flex: 1;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.member-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  border-left: 2px solid var(--gold);
  padding-left: 18px;
  margin-top: 18px;
}

/* Kontakt */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  min-height: 0;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-block { display: flex; flex-direction: column; gap: 6px; }
.contact-label {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.contact-value { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.contact-sub { font-size: 13px; color: var(--ink-soft); }

/* SVG mini icons */
.icon { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* Marketing usp */
.usp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.usp {
  border-top: 2px solid var(--gold);
  padding-top: 22px;
}
.usp-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  color: var(--gold-2);
  line-height: 1;
}
.usp h4 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 12px 0 10px;
}
.usp p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; }

/* Pill list */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-soft);
}

/* ══════════════════════════════════════════════════════════
   SCROLLING SECTION SYSTEM  (long inner pages)
   ══════════════════════════════════════════════════════════ */

/* Tall image hero at the top of every inner page */
.phero {
  position: relative;
  min-height: 78vh;
  min-height: 78svh;
  display: flex;
  align-items: flex-end;
  padding: 184px 64px 72px;
  color: #fff;
  overflow: hidden;
  background: #1a1a1a;
}
.phero .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.02);
}
.phero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.74) 0%, rgba(0,0,0,0.5) 34%, rgba(0,0,0,0.13) 60%, rgba(0,0,0,0) 80%),
    linear-gradient(180deg, rgba(0,0,0,0.52) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.26) 70%, rgba(0,0,0,0.82) 100%);
}
.phero-inner {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}
.phero .crumb { color: #F6E6BC; text-shadow: 0 1px 3px rgba(0,0,0,0.85), 0 2px 14px rgba(0,0,0,0.55); font-weight: 600; }
.phero .eyebrow { color: #F6E6BC; text-shadow: 0 1px 3px rgba(0,0,0,0.85), 0 2px 14px rgba(0,0,0,0.55); font-weight: 600; }
.phero .eyebrow::before { background: var(--gold-soft); }
.phero-title {
  font-family: var(--serif);
  font-size: clamp(46px, 5.2vw, 80px);
  line-height: 1.03;
  font-weight: 400;
  letter-spacing: -0.012em;
  max-width: 20ch;
  margin-top: 16px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5), 0 2px 22px rgba(0,0,0,0.35);
}
.phero-title em { font-style: italic; color: var(--gold-soft); }
.phero-lede {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.7;
  max-width: 56ch;
  color: rgba(255,255,255,0.96);
  text-shadow: 0 1px 3px rgba(0,0,0,0.7), 0 2px 16px rgba(0,0,0,0.4);
}
.phero-actions { margin-top: 32px; display: flex; gap: 14px; }
.phero-actions .btn { background: var(--gold); }
.phero-actions .btn:hover { background: #fff; color: var(--ink); }
.phero-actions .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.phero-actions .btn-outline:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.phero-stats {
  position: relative; z-index: 2;
  display: flex; gap: 56px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.phero-stats .ps .n { font-family: var(--serif); font-size: 40px; line-height: 1; color: #fff; }
.phero-stats .ps .l { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 8px; }

/* Generic section */
.sec { padding: clamp(76px, 9vh, 120px) 64px; }
.sec.tight { padding: clamp(56px, 6vh, 84px) 64px; }
.sec-wrap { max-width: var(--maxw); margin: 0 auto; width: 100%; }
.sec.cream { background: var(--cream); }
.sec.cream2 { background: var(--cream-2); }
.sec.ink { background: var(--ink); color: #fff; }
.sec.ink .h-section { color: #fff; }
.sec.ink .h-section em { color: var(--gold-soft); }
.sec.ink .lede { color: rgba(255,255,255,0.72); }
.sec.ink .eyebrow { color: var(--gold-soft); }
.sec.ink .eyebrow::before { background: var(--gold); }

/* Section header */
.sechead {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.sechead.solo { grid-template-columns: 1fr; }
.sechead h2 { margin-top: 14px; }
.sechead .lede { padding-bottom: 4px; }

/* Feature split row */
.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.feat + .feat { margin-top: clamp(64px, 8vh, 110px); }
.feat-img {
  aspect-ratio: 5 / 4;
  background-size: cover; background-position: center;
  background-color: #e8e0cf;
  position: relative;
}
.feat.rev .feat-img { order: 2; }
.feat-img.framed::after {
  content: "";
  position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold); z-index: -1;
}
.feat-text h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.1;
  margin: 14px 0 16px;
}
.feat-text h3 em { font-style: italic; color: var(--gold-2); }
.feat-text p { font-size: 14.5px; line-height: 1.75; color: var(--ink-soft); }
.feat-text p + p { margin-top: 14px; }
.feat-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.feat-list .li { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }

/* News archive — all reports, newest first */
.news-archive { display: flex; flex-direction: column; }
.news-archive-row {
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 8px;
}
.news-archive-row:first-child { padding-top: 0; }
.news-archive-row h4 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(19px, 1.6vw, 22px);
  color: var(--ink); transition: color 0.15s ease;
}
.news-archive-row:hover h4 { color: var(--gold-2); }
.news-archive-row p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); max-width: 62ch; }
.news-archive-link { font-size: 12px; letter-spacing: 0.06em; color: var(--gold-2); display: inline-flex; align-items: center; gap: 8px; }
.feat-list .li::before {
  content: ""; flex: none; margin-top: 6px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(199,169,92,0.16);
}

/* Numbered process / steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
.steps.cols-5 { grid-template-columns: repeat(5, 1fr); }
.step {
  padding: 30px 28px 8px;
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: 0; }
.step .sn {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--gold-2);
  line-height: 1;
}
.step h4 { font-family: var(--serif); font-size: 21px; margin: 16px 0 10px; }
.step p { font-size: 13px; line-height: 1.65; color: var(--ink-soft); }
.sec.ink .steps { border-color: rgba(255,255,255,0.16); }
.sec.ink .step { border-color: rgba(255,255,255,0.16); }
.sec.ink .step p { color: rgba(255,255,255,0.62); }
.sec.ink .step .sn { color: var(--gold-soft); }

/* Value / icon grid */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.vgrid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.vgrid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 28px; }
.vitem { border-top: 2px solid var(--gold); padding-top: 22px; }
.vitem .vn { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--gold-2); line-height: 1; }
.vitem h4 { font-family: var(--serif); font-size: 23px; margin: 12px 0 10px; }
.vitem p { font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); }
.sec.ink .vitem p { color: rgba(255,255,255,0.66); }
.sec.ink .vitem h4 { color: #fff; }

/* FAQ accordion */
.faq { border-top: 1px solid var(--line); max-width: 980px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 25px);
  color: var(--ink);
  transition: color 0.18s ease;
}
.faq-q:hover { color: var(--gold-2); }
.faq-plus { position: relative; flex: none; width: 18px; height: 18px; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: var(--gold-2);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.faq-plus::before { left: 0; top: 8px; width: 18px; height: 1.5px; }
.faq-plus::after { left: 8px; top: 0; width: 1.5px; height: 18px; }
.faq-item.open .faq-plus::after { transform: scaleY(0); opacity: 0; }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-a { max-height: 240px; padding-bottom: 26px; }
.faq-a p { font-size: 14px; line-height: 1.75; color: var(--ink-soft); max-width: 76ch; }

/* Testimonial / quote band */
.quote-band {
  display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
}
.quote-band .mark {
  font-family: var(--serif); font-style: italic;
  font-size: 120px; line-height: 0.6; color: var(--gold);
}
.quote-band blockquote {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.4;
  font-style: italic;
  color: var(--ink);
}
.sec.ink .quote-band blockquote { color: #fff; }
.quote-band .who { margin-top: 20px; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-2); }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; padding: clamp(64px, 8vh, 104px) 64px; }
.cta-band-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
}
.cta-band h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 3.2vw, 48px); line-height: 1.08;
  max-width: 20ch;
}
.cta-band h2 em { font-style: italic; color: var(--gold-soft); }
.cta-band .sub { font-size: 14px; color: rgba(255,255,255,0.66); margin-top: 14px; max-width: 44ch; }
.cta-band .btn { background: var(--gold); }
.cta-band .btn:hover { background: #fff; color: var(--ink); }

/* Footer */
.footer { background: #0F0D0A; color: rgba(255,255,255,0.66); padding: 76px 64px 36px; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 56px;
  align-items: start;
}
.footer-brand img { width: 150px; max-width: 100%; height: auto; margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 34ch; margin: 0; }
.footer-col h5 {
  font-family: var(--sans);
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 18px; font-weight: 600;
}
.footer-col a, .footer-col .ft-line { display: block; font-size: 13.5px; padding: 5px 0; color: rgba(255,255,255,0.7); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  max-width: var(--maxw); margin: 48px auto 0; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.04em; color: rgba(255,255,255,0.45);
}
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--gold-soft); }

/* Two-column rich text / lists */
.rich-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px; }
.rich-cols.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 40px; }
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list .ci { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.check-list .ci .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--gold); position: relative; margin-top: 1px;
}
.check-list .ci .tick::after {
  content: ""; position: absolute; left: 7px; top: 5px;
  width: 5px; height: 9px; border-right: 1.5px solid var(--gold-2); border-bottom: 1.5px solid var(--gold-2);
  transform: rotate(45deg);
}
.sec.ink .check-list .ci { color: rgba(255,255,255,0.82); }

/* Area / neighbourhood grid */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.area {
  position: relative; aspect-ratio: 3/4; overflow: hidden; cursor: pointer;
  display: flex; align-items: flex-end;
}
.area .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1s ease; }
.area:hover .bg { transform: scale(1.07); }
.area::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.78)); }
.area .lbl { position: relative; z-index: 2; padding: 20px; color: #fff; }
.area .lbl .n { font-family: var(--serif); font-size: 22px; }
.area .lbl .s { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-soft); margin-top: 4px; }

/* Logo / partner strip */
.partners { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; }
.partners .pl {
  font-family: var(--serif); font-size: 22px; color: var(--ink-soft);
  letter-spacing: 0.02em; opacity: 0.8;
}
.sec.ink .partners .pl { color: rgba(255,255,255,0.7); }

/* Split contact map block */
.map-block { aspect-ratio: 16/7; overflow: hidden; background-color: var(--cream-2); border: 1px solid var(--line-soft); }
.region-map { width: 100%; height: 100%; display: block; }

/* Interactive service map (Leaflet + two-click consent) */
.leaflet-host { width: 100%; height: 100%; }
.map-consent { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 28px; text-align: center; }
.map-consent-inner { max-width: 440px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.map-consent-icon { width: 46px; height: 46px; color: var(--gold-2); }
.map-consent-icon svg { width: 100%; height: 100%; }
.map-consent h4 { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--ink); }
.map-consent p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
.map-consent .btn { margin-top: 6px; }
.map-consent-note { font-size: 12.5px; }
.map-consent-note a { color: var(--gold-2); text-decoration: underline; }
.rre-map-label { background: var(--ink); color: #fff; border: none; box-shadow: none; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.02em; padding: 3px 8px; border-radius: 2px; }
.rre-map-label::before { display: none; }

/* ══════════════════════════════════════════════════════════
   MOBILE NAV — burger + drawer (base; shown via media query)
   ══════════════════════════════════════════════════════════ */
.nav-burger {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  padding: 0;
}
.nav-burger span {
  display: block; width: 26px; height: 2px; background: var(--ink);
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.nav.is-transparent .nav-burger span { background: #fff; }
.nav.mobile-open .nav-burger span { background: var(--ink); }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  display: none;
  position: fixed; left: 0; right: 0; top: var(--nav-h, 76px); bottom: 0;
  background: var(--cream);
  z-index: 49;
  overflow-y: auto;
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.mobile-drawer.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-drawer-inner { padding: 14px 22px 60px; display: flex; flex-direction: column; }
.md-link, .md-group-head {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; text-align: left;
  font-size: 17px; letter-spacing: 0.02em; color: var(--ink);
  padding: 18px 2px; border: 0; border-bottom: 1px solid var(--line); background: none;
  cursor: pointer; font-family: var(--sans);
}
.md-link.is-active, .md-group-head.is-active { color: var(--gold-2); }
.md-group-head .md-chevron {
  width: 9px; height: 9px; border-right: 1.5px solid var(--gold-2); border-bottom: 1.5px solid var(--gold-2);
  transform: rotate(45deg); transition: transform 0.25s ease; margin-right: 4px;
}
.md-group.is-expanded .md-group-head .md-chevron { transform: rotate(-135deg); }
.md-sub { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.md-group.is-expanded .md-sub { max-height: 420px; }
.md-sub a {
  display: block; padding: 14px 2px 14px 18px;
  font-size: 15px; color: var(--ink-2); border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
}
.md-sub a.is-active { color: var(--gold-2); }
.md-cta { color: var(--gold-2); font-weight: 500; }
.md-lang { display: flex; gap: 10px; margin-top: 26px; }
.md-lang button {
  flex: 1; padding: 13px; background: none; border: 1px solid var(--line);
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
  cursor: pointer; font-family: var(--sans);
}
.md-lang button.is-active { border-color: var(--gold); color: var(--gold-2); background: var(--cream-2); }
body.nav-locked { overflow: hidden; }

/* ══════════════════════════════════════════════════════════
   TABLET / MOBILE  (≤ 980px)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .sec { padding: 64px 36px; }
  .sec.tight { padding: 52px 36px; }
  .cta-band { padding: 64px 36px; }
  .footer { padding: 60px 36px 32px; }

  /* multi-col → 2 col */
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prop-grid, .news-grid, .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .values, .usp-grid, .vgrid, .vgrid.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps.cols-3, .steps.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .home-svc-row { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }

  /* So arbeiten wir → vertical timeline already from mobile; stack head + steps here */
  .home-process-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .home-process-steps { grid-template-columns: 1fr; }
  .home-process .hp-step { padding: 0 0 30px 0; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; align-items: start; }
  .home-process .hp-step:last-child { padding-bottom: 0; }
  .home-process .hp-node { height: 56px; margin-bottom: 0; grid-row: 1 / span 3; }
  .home-process .hp-node::before { left: 50%; right: auto; top: 56px; bottom: -30px; width: 1px; height: auto; }
  .home-process .hp-step:last-child .hp-node::before { display: none; }
  .home-process .hp-step h4 { margin-top: 16px; margin-bottom: 6px; }
  .home-process .hp-step p { max-width: none; }

  /* two-col splits → stack */
  .feat, .about, .team-grid, .contact, .split,
  .home-services-head, .section-header, .sechead,
  .rich-cols, .rich-cols.cols-3, .home-intro, .news-newsletter, .gzw-band { grid-template-columns: 1fr; }
  /* .split uses inline grid-template-columns on some pages → force single column on mobile */
  .split { grid-template-columns: 1fr !important; }
  .split > * { position: static !important; }
  .feat { gap: 36px; }
  .home-intro { gap: 40px; padding: 96px 36px 72px; min-height: 0; }
  .home-services { padding: 80px 36px; min-height: 0; }
  .about { gap: 36px; }
  .contact { gap: 36px; }
  .sechead { gap: 18px; margin-bottom: 36px; }

  /* feature image first, reasonable height */
  .feat.rev .feat-img { order: -1; }

  /* inner-page hero: prevent 3-line title crowding the lede */
  .phero-title { font-size: clamp(38px, 6.6vw, 58px); }
  .phero-lede { margin-top: 20px; }
}

/* ══════════════════════════════════════════════════════════
   MOBILE NAV ACTIVE  (≤ 900px)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  :root { --nav-h: 72px; }
  .nav {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; padding: 0 18px;
    /* backdrop-filter creates a containing block for the fixed drawer,
       trapping it inside the 72px nav box — disable it on mobile so the
       drawer positions against the viewport */
    backdrop-filter: none;
  }
  .nav.mobile-open { background: var(--cream); }
  .nav-left, .nav-right { display: none; }
  .nav-logo { padding: 0; }
  .nav-logo img { height: 40px; width: auto !important; }
  .nav-burger { display: flex; }
  .mobile-drawer { display: block; }

  /* inner-page hero offset for shorter header */
  .phero { min-height: 84svh; }
  .phero-inner { padding: 120px 36px 48px; }
}

/* ══════════════════════════════════════════════════════════
   PHONE  (≤ 600px)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .sec { padding: 52px 22px; }
  .sec.tight { padding: 44px 22px; }
  .cta-band { padding: 52px 22px; }
  .footer { padding: 52px 22px 28px; }

  /* everything → single column */
  .cat-grid, .prop-grid, .news-grid, .svc-grid,
  .values, .usp-grid, .vgrid, .vgrid.cols-2, .vgrid.cols-4,
  .home-svc-row { grid-template-columns: 1fr; }

  /* footer (mobile): 2x2 grid — Immobilien | Services  /  Logo+Text | Kontakt, equal heights */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px 22px; align-items: stretch; }
  .footer-inner > :nth-child(1) { order: 3; }  /* brand (logo + tagline) */
  .footer-inner > :nth-child(2) { order: 1; }  /* Immobilien */
  .footer-inner > :nth-child(3) { order: 2; }  /* Services */
  .footer-inner > :nth-child(4) { order: 4; }  /* Kontakt */
  .footer-brand img { width: 92px !important; margin-bottom: 12px; }
  .footer-brand p { width: 100% !important; max-width: none; font-size: 12px; line-height: 1.6; margin: 0; }
  .area-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats, .steps, .steps.cols-3, .steps.cols-5 { grid-template-columns: 1fr; }
  .vgrid, .vgrid.cols-4, .values, .usp-grid { gap: 22px; }

  /* stat/step cells: row dividers instead of column dividers */
  .stats { border-top: 0; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 22px 4px; }
  .step { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .home-svc { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,0.14); min-height: 0; }
  .home-svc:nth-child(n+4) { border-top: 0; }

  /* landing */
  .landing-content { padding: 100px 22px 96px; }
  .landing-headline { font-size: clamp(38px, 12vw, 56px); }
  .landing-sub { font-size: 15px; margin-top: 22px; }
  .landing-eyebrow { font-size: 10px; letter-spacing: 0.26em; }
  .landing-bottom { padding: 0 22px 26px; }

  /* inner hero — fill one clean visible screen, content centered (not crammed at bottom) */
  .phero { min-height: 100svh; align-items: center; }
  .phero-inner { padding: 92px 22px 40px; }
  .phero-title { font-size: clamp(32px, 9vw, 46px); }
  .phero-lede { font-size: 15px; margin-top: 16px; }
  .phero-stats { gap: 18px; margin-top: 28px; flex-wrap: wrap; }
  .phero-stats .ps .n { font-size: 30px; }

  /* home intro */
  .home-intro { padding: 92px 22px 64px; }
  .home-intro-sign { flex-direction: column; gap: 8px; }
  .landing-actions { flex-direction: column; gap: 12px; width: 100%; max-width: 360px; }
  .landing-actions .btn { min-width: 0; width: 100%; }
  .home-intro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .home-intro-stats .s {
    padding: 20px 0 20px;
    padding-right: 16px;
    border-bottom: 1px solid var(--line);
  }
  .home-intro-stats .s:nth-child(odd) { padding-left: 0; }
  .home-intro-stats .s:nth-child(even) {
    padding-left: 18px;
    border-left: 1px solid var(--line);
  }
  .home-intro-stats .s:nth-last-child(-n+2) { border-bottom: 0; }
  .home-intro-stats .s .n { font-size: 34px; }
  .home-services { padding: 64px 22px; }
  .home-talk { padding: 48px 22px; }
  .home-talk-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .home-talk .btn { width: 100%; justify-content: center; }
  .home-services-head { gap: 18px; }

  /* So arbeiten wir — vertical timeline on mobile */
  .home-process { padding: 64px 22px; }
  .home-process-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .home-process-steps { grid-template-columns: 1fr; gap: 0; }
  .hp-step { padding: 0 0 30px 0; }
  .hp-step:last-child { padding-bottom: 0; }
  .hp-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; align-items: start; }
  .hp-node { height: 56px; margin-bottom: 0; grid-row: 1 / span 3; }
  .hp-node::before { left: 50%; right: auto; top: 56px; bottom: -30px; width: 1px; height: auto; }
  .hp-step:last-child .hp-node::before { display: none; }
  .hp-step h4 { margin-top: 16px; margin-bottom: 6px; }
  .hp-step p { max-width: none; }

  /* section heads */
  .sechead, .section-header, .home-services-head { gap: 14px; margin-bottom: 28px; }

  /* forms / toolbars stack */
  .form-row { grid-template-columns: 1fr; }
  .list-toolbar { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; gap: 26px; text-align: left; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-bottom .fb-links { flex-wrap: wrap; gap: 14px 22px; }
  .quote-band { grid-template-columns: 1fr; gap: 18px; }

  /* article / legal padding */
  .article-fazit { padding: 30px 24px; }
  .empty-listings { padding: 30px 24px 36px; }
  /* glossar: stack letter above entries */
  .gl-group { grid-template-columns: 1fr; gap: 10px; }
  .gl-group-letter { font-size: 34px; }
  .gl-letter { width: 34px; height: 34px; font-size: 12px; }

  /* touch targets */
  .btn { padding: 14px 22px; }
  .chip { padding: 12px 16px; }

  /* multi-select & location dropdowns: comfortable touch targets, capped height */
  .ms-opt { padding: 13px 12px; }
  .ms-panel, .loc-panel { max-height: 55vh; overflow-y: auto; }

  /* hide decorative scroll cue on small screens */
  .scroll-cue { display: none; }
}

/* very small phones */
@media (max-width: 380px) {
  .area-grid { grid-template-columns: 1fr; }
  .landing-headline { font-size: clamp(34px, 13vw, 46px); }
}
