/* ==========================================================================
   Wohnpark am Miesberg · Objektseite WEIGL Unternehmensgruppe
   CI: ausschließlich Marineblau #07192E und Weiß, General Sans.
   Glas-Flächen und weiche Blau-Verläufe angelehnt an die NART-Seite Schwandorf.
   Mobile first ab 320 px.
   ========================================================================== */

@font-face { font-family: 'General Sans'; src: url('../fonts/GeneralSans-Light.otf') format('opentype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('../fonts/GeneralSans-Medium.otf') format('opentype'); font-weight: 500; font-display: swap; }

:root {
  /* Farbe: Primary = Marineblau, Abstufungen nur als Tönung desselben Blaus */
  --navy: #07192E;
  --navy-light: #12304F;
  --navy-dark: #040F1C;
  --navy-glow: #24507E;
  --white: #FFFFFF;
  --bg-light: #F5F6F8;
  --text: #07192E;
  --text-light: #3A4A5C;
  --text-muted: #5B6675;
  --border: #E3E6EB;
  --error: #B3261E;

  /* Glas */
  --glass-bg: rgba(255, 255, 255, .08);
  --glass-bg-strong: rgba(255, 255, 255, .12);
  --glass-border: rgba(255, 255, 255, .18);
  --glass-blur: blur(18px) saturate(140%);

  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 18px 50px rgba(7, 25, 46, .14);
  --gutter: clamp(16px, 4vw, 32px);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
@media (min-width: 900px) { html { scroll-padding-top: 80px; } }
body {
  margin: 0;
  font-family: 'General Sans', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; line-height: 1.1; letter-spacing: -.01em; margin: 0; }
p { margin: 0; }
strong { font-weight: 500; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--navy-glow); outline-offset: 3px; }

/* ---------- Buttons (Pill) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0;
  font: 500 16px/1 'General Sans', system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--light { background: var(--white); color: var(--navy); box-shadow: 0 10px 30px rgba(4, 15, 28, .25); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(4, 15, 28, .35); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn--glass { background: var(--glass-bg); color: var(--white); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.btn--glass:hover { background: var(--glass-bg-strong); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text-muted); padding: 0 10px; min-height: 44px; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* ---------- Glas-Fläche ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
}

/* ---------- Blau-Blobs (weich, nur Tönungen des CI-Blaus) ---------- */
.has-blobs { position: relative; isolation: isolate; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; z-index: -1; pointer-events: none; }
.blob--1 { width: 520px; height: 520px; background: var(--navy-glow); top: -160px; right: -140px; animation: float1 22s ease-in-out infinite; }
.blob--2 { width: 420px; height: 420px; background: #1B4470; bottom: -160px; left: -160px; animation: float2 26s ease-in-out infinite; }
@keyframes float1 { 50% { transform: translate(-60px, 50px) scale(1.08); } }
@keyframes float2 { 50% { transform: translate(70px, -40px) scale(1.1); } }

/* ---------- Scroll-Fortschritt ---------- */
.scroll-indicator { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000; pointer-events: none; }
.scroll-indicator span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy-glow), #8FB3DA); transform-origin: left; transform: scaleX(0); }

/* ---------- Kopfleiste ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 900; padding: 14px 0; transition: background .35s, padding .35s, box-shadow .35s; }
.site-header.is-scrolled { padding: 8px 0; background: rgba(7, 25, 46, .82); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: 0 8px 30px rgba(4, 15, 28, .25); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-flex; color: var(--white); text-decoration: none; }
.logo img { height: 28px; width: auto; }
@media (min-width: 720px) { .logo img { height: 34px; } }
.site-header .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
@media (min-width: 720px) { .site-header .btn { padding: 0 24px; font-size: 15px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--white); background: var(--navy);
  padding: 120px 0 150px;
}
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 60%; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 25, 46, .55) 0%, rgba(7, 25, 46, .5) 30%, rgba(7, 25, 46, .72) 62%, rgba(7, 25, 46, .97) 100%);
}
@media (min-width: 900px) {
  .hero::before {
    background:
      linear-gradient(90deg, rgba(7, 25, 46, .82) 0%, rgba(7, 25, 46, .45) 55%, rgba(7, 25, 46, .15) 100%),
      linear-gradient(180deg, rgba(7, 25, 46, .4) 0%, rgba(7, 25, 46, 0) 30%, rgba(7, 25, 46, .6) 75%, rgba(7, 25, 46, .97) 100%);
  }
}
.hero__lead, .hero h1, .eyebrow { text-shadow: 0 2px 24px rgba(4, 15, 28, .45); }
.hero .wrap { position: relative; z-index: 2; }
.eyebrow { font-weight: 500; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; opacity: .9; margin-bottom: 14px; }
.hero h1 { font-size: clamp(42px, 11vw, 96px); line-height: .98; margin-bottom: 18px; text-wrap: balance; }
.hero__lead { font-size: clamp(18px, 2.4vw, 22px); max-width: 36ch; margin-bottom: 28px; opacity: .95; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; max-width: 760px; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts li { padding: 14px 16px; border-radius: 16px; }
.facts strong { display: block; font-size: clamp(22px, 4vw, 28px); line-height: 1.1; }
.facts span { font-size: 13px; opacity: .85; }
.media-label { position: absolute; z-index: 2; right: 14px; bottom: 12px; font-size: 11px; letter-spacing: .04em; opacity: .7; }

/* ---------- Anfrage (Quiz) überlappt den Hero ---------- */
.request { position: relative; background: var(--navy); color: var(--white); padding: 0 0 72px; }
.request .wrap { position: relative; z-index: 2; display: grid; gap: 20px; margin-top: -96px; }
@media (min-width: 960px) { .request .wrap { grid-template-columns: 1.25fr .75fr; align-items: stretch; gap: 24px; } }

.quiz { padding: 24px 18px; }
@media (min-width: 720px) { .quiz { padding: 36px; } }
.quiz__head { margin-bottom: 18px; }
.quiz__head h2 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 6px; }
.quiz__head p { opacity: .8; font-size: 15px; }
.quiz__progress { height: 4px; background: rgba(255, 255, 255, .14); border-radius: 4px; overflow: hidden; margin-bottom: 10px; }
.quiz__progress span { display: block; height: 100%; background: var(--white); transform-origin: left; transform: scaleX(.25); transition: transform .4s var(--ease); }
.quiz__counter { font-size: 13px; opacity: .7; margin: 0 0 14px; }
.quiz fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz legend { font-weight: 500; font-size: clamp(20px, 3.4vw, 24px); line-height: 1.25; margin-bottom: 16px; padding: 0; }
.tiles { display: grid; gap: 10px; }
@media (min-width: 560px) { .tiles--3 { grid-template-columns: repeat(3, 1fr); } .tiles--2 { grid-template-columns: repeat(2, 1fr); } }
.tile { position: relative; display: block; }
.tile input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.tile span {
  display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 14px 16px;
  background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(255, 255, 255, .2); border-radius: 16px;
  cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.tile span svg { width: 22px; height: 22px; flex: none; opacity: .9; }
.tile span:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .1); }
.tile input:focus-visible + span { outline: 3px solid var(--white); outline-offset: 2px; }
.tile input:checked + span { background: var(--white); color: var(--navy); border-color: var(--white); }

.field { margin-bottom: 12px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 5px; }
.field input[type=text], .field input[type=email], .field input[type=tel] {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--white);
  background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(255, 255, 255, .22); border-radius: 14px;
  transition: border-color .2s, background .2s;
}
.field input::placeholder { color: rgba(255, 255, 255, .45); }
.field input:focus { outline: none; border-color: var(--white); background: rgba(255, 255, 255, .1); }
.field.is-invalid input { border-color: #FF8A80; }
.field-row { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-row.field-row--plz { grid-template-columns: 1fr 116px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; opacity: .85; }
.consent input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--white); }
.consent a { color: var(--white); }
.field.is-invalid .consent { color: #FF8A80; opacity: 1; }
.quiz__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.quiz__nav .btn--ghost { color: rgba(255, 255, 255, .75); }
.quiz__nav .btn--light { margin-left: auto; }
.quiz__status { font-size: 14px; margin-top: 12px; min-height: 1.4em; }
.quiz__status a { color: var(--white); }
.quiz__trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; opacity: .8; }
.quiz__trust span { display: inline-flex; align-items: center; gap: 6px; }
.quiz__trust svg { width: 16px; height: 16px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { padding: 32px 24px; outline: none; }
.done h2 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 10px; }
.done p { opacity: .9; }

/* Grundriss-Teaser */
.plan { position: relative; overflow: hidden; padding: 0; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; }
.plan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; transform: scale(1.05); }
.plan::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 25, 46, .05) 0%, rgba(7, 25, 46, .9) 78%); }
.plan__body { position: relative; z-index: 1; padding: 22px; }
.plan__lock { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px; }
.plan__lock svg { width: 20px; height: 20px; }
.plan h3 { font-size: 22px; margin-bottom: 6px; }
.plan p { font-size: 15px; opacity: .85; }

/* ---------- Begleitung ---------- */
.section { padding: clamp(64px, 10vw, 112px) 0; }
.section__head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 48px); }
.section__head h2 { font-size: clamp(30px, 5.5vw, 48px); margin-bottom: 14px; text-wrap: balance; }
.section__head p { font-size: clamp(17px, 2vw, 19px); color: var(--text-light); }
.kicker { font-weight: 500; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }

.phases { display: grid; gap: 16px; }
@media (min-width: 900px) { .phases { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.phase {
  background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 22px; transition: transform .3s var(--ease), box-shadow .3s;
}
.phase:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.phase__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.phase__tag svg { width: 18px; height: 18px; color: var(--navy); }
.phase h3 { font-size: 22px; margin-bottom: 18px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step var(--start, 0); }
.steps li { position: relative; padding-left: 46px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--white); font-weight: 500; font-size: 14px;
}
.steps strong { display: block; line-height: 1.35; margin-bottom: 2px; }
.steps span { font-size: 15px; color: var(--text-light); line-height: 1.5; }

/* ---------- WEIGL in Zahlen ---------- */
.proof { background: var(--navy); color: var(--white); }
.proof .section__head p { color: rgba(255, 255, 255, .8); }
.proof .kicker { color: rgba(255, 255, 255, .65); }
.numbers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .numbers { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.numbers li { padding: 22px 18px; }
.numbers strong { display: block; font-size: clamp(30px, 6vw, 48px); line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.numbers span { font-size: 14px; opacity: .8; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 500; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--text-light); }

/* ---------- Abschluss ---------- */
.final { text-align: center; color: var(--white); background: var(--navy); }
.final h2 { font-size: clamp(30px, 5.5vw, 48px); margin-bottom: 14px; text-wrap: balance; }
.final p { max-width: 46ch; margin: 0 auto 28px; opacity: .85; }
.final .hero__actions { justify-content: center; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, .75); font-size: 14px; padding: 40px 0 110px; }
.site-footer .wrap { display: grid; gap: 22px; }
@media (min-width: 900px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: end; } }
.site-footer .logo img { height: 30px; }
.site-footer address { font-style: normal; margin-top: 14px; line-height: 1.7; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer button.link { background: none; border: 0; padding: 0; font: inherit; color: rgba(255, 255, 255, .85); cursor: pointer; }
.site-footer .small { font-size: 12px; opacity: .7; }

/* ---------- FAB + mobile Leiste ---------- */
.fab-group { position: fixed; right: 16px; bottom: 16px; z-index: 800; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab {
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18);
  display: grid; place-items: center; color: var(--white); cursor: pointer; text-decoration: none;
  background: rgba(7, 25, 46, .86); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: 0 12px 30px rgba(4, 15, 28, .3); transition: transform .25s var(--ease), opacity .3s, visibility .3s;
}
.fab:hover { transform: translateY(-2px); }
.fab svg { width: 22px; height: 22px; }
.fab--top { opacity: 0; visibility: hidden; transform: translateY(10px); }
.fab--top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Cookie-Banner ---------- */
.consent-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 950; max-width: 520px; margin: 0 auto; padding: 20px;
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(7, 25, 46, .22); font-size: 14px;
}
.consent-banner p { margin-bottom: 14px; }
.consent-banner .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-banner .btn { min-height: 44px; font-size: 14px; }
.btn--outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }

/* ==========================================================================
   Mehrseitig: Navigation, Unterseiten-Kopf, Rechner, Info-Karten, Quellen
   ========================================================================== */

/* ---------- Seiten-Navigation ---------- */
.site-header .wrap { flex-wrap: wrap; }
.site-nav { order: 3; flex: 1 0 100%; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 10px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .85); text-decoration: none;
  background: var(--glass-bg); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  transition: background .25s, color .25s;
}
.site-nav a:hover { background: var(--glass-bg-strong); color: var(--white); }
.site-nav a[aria-current="page"] { background: var(--white); color: var(--navy); border-color: var(--white); }
.site-header.is-scrolled .site-nav { margin-top: 6px; }
@media (min-width: 900px) {
  .site-header .wrap { flex-wrap: nowrap; }
  .site-nav { order: 0; flex: 0 1 auto; margin: 0 auto; padding: 0; overflow: visible; }
  .site-nav a { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-nav a:hover { background: var(--glass-bg); }
}

/* Startseite: Platz für die zweite Kopfzeile auf dem Handy */
@media (max-width: 899px) { .hero { padding-top: 170px; } }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero { position: relative; color: var(--white); background: var(--navy); padding: 168px 0 72px; overflow: hidden; isolation: isolate; }
@media (min-width: 900px) { .page-hero { padding: 180px 0 96px; } }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 25, 46, .6) 0%, rgba(7, 25, 46, .85) 60%, var(--navy) 100%); }
.page-hero h1 { font-size: clamp(36px, 8vw, 72px); line-height: 1.02; margin-bottom: 18px; max-width: 16ch; text-wrap: balance; }
.page-hero .hero__lead { max-width: 44ch; margin-bottom: 0; }
.page-hero .facts { margin-top: 36px; }

/* ---------- Abschnitte auf Blau ---------- */
.section--navy { background: var(--navy); color: var(--white); }
.section--navy .section__head p { color: rgba(255, 255, 255, .8); }
.section--navy .kicker { color: rgba(255, 255, 255, .65); }
.section--light { background: var(--bg-light); }

/* ---------- Rechner ---------- */
.calc { display: grid; gap: 16px; }
@media (min-width: 960px) { .calc { grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; } }
.calc__inputs, .calc__result { padding: 22px 18px; }
@media (min-width: 720px) { .calc__inputs, .calc__result { padding: 32px; } }
.calc__inputs h2, .calc__result h2 { font-size: clamp(22px, 3.4vw, 28px); margin-bottom: 6px; }
.calc__intro { font-size: 15px; opacity: .8; margin-bottom: 22px; }
.ctl { margin-bottom: 20px; }
.ctl__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.ctl__top label, .ctl__label { font-size: 15px; font-weight: 500; }
.ctl__top output { font-variant-numeric: tabular-nums; font-weight: 500; font-size: 17px; white-space: nowrap; }
.ctl__hint { display: block; font-size: 13px; opacity: .65; margin-top: 6px; }
.ctl input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
.ctl input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--white) var(--fill, 50%), rgba(255, 255, 255, .2) var(--fill, 50%)); }
.ctl input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .2); }
.ctl input[type=range]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--white); }
.ctl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--white); border: 0; box-shadow: 0 4px 14px rgba(4, 15, 28, .4); }
.ctl input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 0; box-shadow: 0 4px 14px rgba(4, 15, 28, .4); }
.ctl input[type=number] {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .06); color: var(--white); font: 500 17px/1 'General Sans', system-ui, sans-serif; font-variant-numeric: tabular-nums;
}
.ctl input[type=number]:focus { outline: none; border-color: var(--white); background: rgba(255, 255, 255, .1); }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.seg span { display: grid; place-items: center; min-height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .28); font-weight: 500; font-size: 15px; cursor: pointer; transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--white); color: var(--navy); border-color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--white); outline-offset: 2px; }
.switch { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .12); cursor: pointer; }
.switch input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--white); }
.switch strong { display: block; font-size: 15px; }
.switch span span { display: block; font-size: 13px; opacity: .7; line-height: 1.5; }

.calc__bar {
  position: fixed; left: 12px; right: 80px; bottom: 16px; z-index: 790; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 18px; border-radius: 999px; background: var(--white); color: var(--navy); text-decoration: none; font-size: 14px;
  box-shadow: 0 12px 30px rgba(4, 15, 28, .35); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.calc__bar strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.calc__bar span:last-child { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__bar.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 960px) { .calc__bar { display: none; } }
.calc__result { background: var(--white); color: var(--navy); border-color: var(--white); }
@media (min-width: 960px) { .calc__result { position: sticky; top: 96px; } }
.calc__big { display: block; font-size: clamp(52px, 12vw, 80px); line-height: 1; font-weight: 500; letter-spacing: -.02em; margin: 14px 0 4px; font-variant-numeric: tabular-nums; }
.calc__biglabel { font-size: 14px; color: var(--text-muted); }
.calc__list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--border); }
.calc__list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.calc__list li span:first-child { color: var(--text-light); }
.calc__list li strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__list--sub li { font-size: 14px; padding: 8px 0; }
.calc__note { font-size: 13px; color: var(--text-muted); margin-top: 14px; line-height: 1.5; }
.calc__result .btn { width: 100%; margin-top: 20px; }
.calc__facts-title { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin: 28px 0 0; }
.calc__facts { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.calc__facts li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.calc__facts li span { opacity: .72; }
.calc__facts li strong { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }

/* ---------- Info-Karten ---------- */
.cards { display: grid; gap: 16px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 24px; transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--white); margin-bottom: 18px; }
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text-light); line-height: 1.6; }
.card__stat { display: block; font-size: clamp(34px, 6vw, 44px); line-height: 1; font-weight: 500; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.card__src { display: block; font-size: 12px; color: var(--text-muted); margin-top: 12px; }
.section--navy .card { background: var(--glass-bg); border-color: var(--glass-border); color: var(--white); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.section--navy .card p { color: rgba(255, 255, 255, .8); }
.section--navy .card__src { color: rgba(255, 255, 255, .6); }
.section--navy .card__icon { background: var(--white); color: var(--navy); }

.card--link { display: block; text-decoration: none; color: inherit; }
.card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 500; font-size: 15px; }
.card__more svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.card--link:hover .card__more svg { transform: translateX(4px); }

/* ---------- Hinweisband ---------- */
.notice { display: grid; gap: 18px; padding: 26px 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); }
@media (min-width: 900px) { .notice { grid-template-columns: auto 1fr auto; align-items: center; padding: 30px 34px; } }
.notice h3 { font-size: 22px; margin-bottom: 6px; }
.notice p { color: var(--text-light); font-size: 15px; }

/* ---------- Strecken / Fahrzeiten ---------- */
.routes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 720px) { .routes { grid-template-columns: repeat(2, 1fr); } }
.routes li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-radius: var(--radius); }
.routes strong { font-size: 17px; }
.routes span { font-size: 14px; opacity: .8; text-align: right; }

/* ---------- Karte + Strecken ---------- */
.geo { display: grid; gap: 16px; }
@media (min-width: 960px) { .geo { grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; } .geo .routes { grid-template-columns: 1fr; } }
.geo__map { margin: 0; padding: 14px 10px 16px; }
.geo__map svg { display: block; width: 100%; height: auto; }
.geo__map figcaption { font-size: 12px; opacity: .65; padding: 6px 10px 0; }

/* ---------- Zwei Spalten: Text + Grafik ---------- */
.split { display: grid; gap: 8px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } .split .section__head { margin-bottom: 0; } }

/* ---------- Balken ---------- */
.bars__title { font-weight: 500; font-size: 15px; margin-bottom: 16px; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 15px; }
.bars li span { color: var(--text-light); }
.bars li strong { font-variant-numeric: tabular-nums; }
.bars li i { grid-column: 1 / -1; display: block; height: 10px; border-radius: 10px; background: var(--border); position: relative; overflow: hidden; }
.bars li i::after { content: ''; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: #9AA8B8; transform-origin: left; transform: scaleX(var(--s, 1)); }
.bars li.is-key span, .bars li.is-key strong { color: var(--navy); font-weight: 500; }
.bars li.is-key i::after { background: var(--navy); }
.bars--years { grid-template-columns: repeat(7, 1fr); align-items: end; gap: 8px; height: 240px; }
.bars--years li { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; height: 100%; text-align: center; gap: 6px; font-size: 13px; }
.bars--years li strong { order: -1; font-size: 13px; }
.bars--years li i { grid-column: auto; height: 100%; width: 100%; max-width: 44px; justify-self: center; background: transparent; border-radius: 10px 10px 4px 4px; }
.bars--years li i::after { top: auto; height: var(--w); width: 100%; transform-origin: bottom; transform: scaleY(var(--s, 1)); border-radius: 10px 10px 4px 4px; }
.bars--years li span { order: 3; }
.bars__src { font-size: 12px; color: var(--text-muted); margin-top: 16px; }

/* ---------- Annahmen und Quellen ---------- */
.fineprint { max-width: 900px; }
.fineprint details { border-top: 1px solid var(--border); }
.fineprint details:last-child { border-bottom: 1px solid var(--border); }
.fineprint summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 500; min-height: 44px; }
.fineprint summary::-webkit-details-marker { display: none; }
.fineprint summary svg { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); }
.fineprint details[open] summary svg { transform: rotate(45deg); }
.fineprint ul, .fineprint ol { margin: 0 0 20px; padding-left: 20px; font-size: 14px; color: var(--text-light); line-height: 1.7; }
.fineprint a { color: var(--navy); }
.fineprint p { font-size: 14px; color: var(--text-light); margin-bottom: 14px; }

/* ---------- Einblendungen (GSAP setzt Startzustand) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Standortkarten (statische OSM-Renders, Quelle: ../../karten/render.html) ---------- */
.geo__map--img { padding: 8px; }
.geo__map--img img { display: block; width: 100%; height: auto; border-radius: calc(var(--radius-lg) - 8px); }
.geo__map--img figcaption { padding: 10px 8px 2px; }
.ortmap { margin: 0 0 clamp(24px, 4vw, 40px); }
.ortmap img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.ortmap figcaption { font-size: 12px; color: var(--text-muted); padding: 10px 4px 0; }

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */
.page-hero--legal { padding-bottom: 56px; }
.page-hero--legal h1 { max-width: none; }
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(22px, 3vw, 28px); margin: 48px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 18px; margin: 32px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--text-light); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 20px; }
.legal a, .legal .link { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--text); font-weight: 500; }
.legal__lead { font-size: 18px !important; color: var(--text) !important; }
.legal__date { margin-top: 40px !important; font-size: 14px !important; color: var(--text-muted) !important; }

/* ==========================================================================
   Einseitige Landingpage (18.11.2026)
   ========================================================================== */

/* Anfrage weiter unten auf der Seite: kein Überlappen mit dem Abschnitt davor */
.request--flow { padding-top: clamp(56px, 8vw, 96px); border-top: 1px solid rgba(255, 255, 255, .08); }
.request--flow .wrap { margin-top: 0; }

/* Text + Bild */
@media (min-width: 960px) { .split--media { grid-template-columns: .9fr 1.1fr; } }
.media-figure { margin: 0; }
.media-figure img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.media-figure figcaption { font-size: 12px; color: var(--text-muted); padding: 10px 4px 0; }

/* Ausstattung */
.features { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1040px) { .features { grid-template-columns: repeat(3, 1fr); } }
.features li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); transition: transform .3s var(--ease), box-shadow .3s; }
.features li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.features__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--white); }
.features__icon svg { width: 22px; height: 22px; }
.features strong { display: block; font-weight: 500; font-size: 17px; margin-bottom: 2px; }
.features span { font-size: 15px; color: var(--text-light); line-height: 1.55; }

/* Zeitplan */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: tl; position: relative; }
@media (min-width: 820px) { .timeline { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.timeline li { position: relative; padding: 26px 24px 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.timeline li::before { content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 3px; border-radius: 0 0 3px 3px; background: var(--border); }
.timeline li.is-now::before { background: var(--navy); }
.timeline__when { font-size: clamp(28px, 4.5vw, 38px); font-weight: 500; line-height: 1.1; color: var(--navy); margin-bottom: 6px; }
.timeline strong { font-weight: 500; font-size: 17px; }
.timeline li > span:last-child { font-size: 15px; color: var(--text-light); }

/* WEIGL in Zahlen auf hellem Grund */
.numbers--light { margin-top: clamp(56px, 8vw, 80px); }
.numbers--light li { border-radius: var(--radius); background: var(--bg-light); }
.numbers--light span { color: var(--text-light); opacity: 1; }

/* Rechner auf der Hauptseite */
.calc__h { font-size: clamp(20px, 3vw, 24px); margin-bottom: 14px; }
.calc__result .calc__big { margin-top: 6px; }
.calc__flow { list-style: none; margin: 20px 0 0; padding: 14px 16px; border-radius: 16px; background: var(--bg-light); }
.calc__flow li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; }
.calc__flow li span { color: var(--text-light); }
.calc__flow li strong { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__flow li.is-sum { border-top: 1px solid var(--border); margin-top: 4px; padding-top: 9px; }
.calc__flow li.is-total { border-top: 2px solid var(--navy); margin-top: 4px; padding-top: 9px; font-size: 15px; }
.calc__flow li.is-total span, .calc__flow li.is-total strong { color: var(--navy); font-weight: 500; }
.calc__list li.is-key span, .calc__list li.is-key strong { color: var(--navy); font-weight: 500; }
.fineprint--navy { max-width: none; margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); border-bottom: 1px solid rgba(255, 255, 255, .16); }
.fineprint--navy summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 500; min-height: 44px; }
.fineprint--navy summary::-webkit-details-marker { display: none; }
.fineprint--navy summary svg { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); }
.fineprint--navy[open] summary svg { transform: rotate(45deg); }
.fineprint--navy ul { margin: 0 0 20px; padding-left: 20px; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .78); max-width: 900px; }

/* Standort */
.split__h { font-size: clamp(20px, 3vw, 24px); margin-bottom: 14px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--text-light); }
.checks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.geo--spaced { margin-top: clamp(32px, 5vw, 56px); }
.geo__note { margin-top: 18px; font-size: 17px; font-weight: 500; }

/* Grundriss-Kasten */
.plan__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.plan__list li { position: relative; padding-left: 20px; opacity: .9; }
.plan__list li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--white); }

/* Vier Abschnitts-Links passen am Handy in eine Zeile */
@media (max-width: 899px) {
  .site-nav { gap: 4px; }
  .site-nav a { flex: 1 1 auto; justify-content: center; text-align: center; padding-left: 10px; padding-right: 10px; font-size: 13px; }
}
.calc__bar > span { white-space: nowrap; }
.calc__bar > span:last-child { font-size: 13px; }

/* ---------- Hero 18.11.: Häuser groß im Bild ---------- */
/* Handy: Bild als eigener Block oben, Text darunter auf Blau, damit die Häuser nicht unter dem Text liegen */
@media (max-width: 899px) {
  .hero { display: block; min-height: 0; padding: 0 0 56px; }
  .hero__media { position: relative; inset: auto; height: min(46svh, 380px); }
  .hero__media img { height: 112%; object-position: 50% 45%; }
  .hero__media::after { content: ''; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, rgba(7, 25, 46, 0) 0%, var(--navy) 100%); }
  .hero::before { display: none; }
  .hero .wrap { margin-top: -72px; }
  .hero .media-label { top: calc(min(46svh, 380px) - 36px); bottom: auto; }
}
/* Desktop: Text links auf Blau, Bild rechts in voller Höhe */
@media (min-width: 900px) {
  .hero__media { left: auto; width: 58%; }
  .hero__media img { object-position: 50% 40%; }
  .hero::before {
    background:
      linear-gradient(90deg, var(--navy) 0%, var(--navy) 42%, rgba(7, 25, 46, .55) 50%, rgba(7, 25, 46, 0) 64%),
      linear-gradient(180deg, rgba(7, 25, 46, .45) 0%, rgba(7, 25, 46, 0) 22%, rgba(7, 25, 46, 0) 80%, rgba(7, 25, 46, .6) 100%);
  }
  .hero .wrap > * { max-width: 520px; }
  .hero .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) { .hero .wrap > * { max-width: 560px; } }

/* Steuer-Versprechen */
.promise { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 16px 20px; margin: 0 0 24px; border-radius: 20px; color: var(--white); text-decoration: none; transition: background .25s; }
.promise:hover { background: var(--glass-bg-strong); }
.promise__num { font-size: clamp(28px, 6vw, 38px); font-weight: 500; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.promise__text { font-size: 15px; line-height: 1.45; opacity: .92; flex: 1 1 220px; }
.promise__more { display: inline-block; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.promise sup, .hero__foot sup { font-size: .7em; }
.hero__foot { font-size: 12px; opacity: .65; margin: 14px 0 0; }

/* Kacheln mittig */
.facts li, .numbers li { text-align: center; }
.facts strong span { font-size: inherit; opacity: 1; }
@media (min-width: 900px) {
  .hero h1 { font-size: clamp(56px, 5.4vw, 80px); }
  .hero__media img { height: 108%; object-position: 50% 30%; }
}

/* ---------- Handy: Menü unten für den Daumen, Logo oben mittig (18.11.) ---------- */
.bottom-nav { display: none; }
@media (max-width: 899px) {
  html { scroll-padding-top: 76px; }
  .site-header .site-nav, .site-header .btn { display: none; }
  .site-header .wrap { justify-content: center; }
  .site-header .logo img { height: 30px; }

  .bottom-nav {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 850;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; padding: 6px;
    border-radius: 22px; background: rgba(7, 25, 46, .9); border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    box-shadow: 0 14px 36px rgba(4, 15, 28, .38);
  }
  .bottom-nav a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px;
    border-radius: 16px; font-size: 11px; font-weight: 500; letter-spacing: .01em; color: rgba(255, 255, 255, .72);
    text-decoration: none; transition: background .25s, color .25s;
  }
  .bottom-nav svg { width: 21px; height: 21px; }
  .bottom-nav a.is-active { color: var(--white); background: var(--glass-bg-strong); }
  .bottom-nav a.bottom-nav__cta { background: var(--white); color: var(--navy); }

  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .fab-group { bottom: calc(86px + env(safe-area-inset-bottom)); right: 14px; }
  .calc__bar { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .hero .media-label { display: none; }
}

/* ---------- Exposé-Formular (18.11.) ---------- */
.tiles--stack { grid-template-columns: 1fr !important; }
.tiles--stack .tile span { min-height: 64px; justify-content: flex-start; }
.quiz__thanks { font-size: 15px; opacity: .85; margin: -6px 0 16px; }
.quiz__income { margin: 22px 0 0; }
.quiz__opt { font-weight: 400; font-size: 13px; opacity: .65; margin-left: 4px; }
.quiz__group { margin-top: 24px; }
.quiz__q { font-weight: 500; font-size: 17px; margin: 0 0 4px; }
.quiz__sub { font-size: 14px; opacity: .75; margin: 0 0 12px; line-height: 1.5; }
.tiles--compact .tile span { min-height: 50px; padding: 10px 16px; font-size: 15px; }
/* Telefon nicht prominent (18.11.): Schnellkontakt führt zum Exposé-Formular, am Handy übernimmt das Menü unten */
@media (max-width: 899px) { .fab--expose { display: none; } }

/* ---------- 18.11. Nachmittag: Bauschild-Version, Wohnungsmix, Team, kürzer am Handy ---------- */
html:not(.is-bauschild) [data-variant="bauschild"],
html.is-bauschild [data-variant="anlage"] { display: none !important; }

.mix { margin-top: clamp(40px, 6vw, 64px); }
.mix__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1040px) { .mix__list { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.mix__list li { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 20px; background: var(--bg-light); border: 1px solid var(--border); }
.mix__list strong { font-size: clamp(20px, 2.4vw, 26px); font-weight: 500; line-height: 1.15; }
.mix__count { font-weight: 500; font-size: 15px; }
.mix__list li span:last-child { font-size: 14px; line-height: 1.45; opacity: .75; }
.mix__note { font-size: 13px; opacity: .65; margin: 14px 0 0; }

.team { margin-top: clamp(48px, 7vw, 80px); }
.team .section__head { margin-bottom: 0; }

.calc__more { margin-top: 28px; }
.calc__more summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 4px 0; }
.calc__more summary::-webkit-details-marker { display: none; }
.calc__more summary svg { width: 18px; height: 18px; flex: none; transition: transform .25s; }
.calc__more[open] summary svg { transform: rotate(45deg); }

@media (max-width: 719px) {
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cards--4 .card { padding: 16px; }
  .cards--4 .card h3 { font-size: 16px; line-height: 1.25; }
  .cards--4 .card p { font-size: 14px; }
  .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .routes li { padding: 14px; }
}

/* ---------- 18.11. Feedback Florian: Handy-Kopf, Zeilen, Versprechen Desktop, Fahrzeiten, Formular-Knopf ---------- */
/* Versprechen: Zahl oben, Text darunter (Desktop war neben der Zahl gequetscht) */
.promise { flex-direction: column; align-items: flex-start; gap: 6px; }
.promise__text { flex: none; }

@media (max-width: 899px) {
  /* Dunkler Balken mit Logo oben, Bild beginnt darunter */
  .site-header, .site-header.is-scrolled { background: var(--navy); padding: 12px 0; box-shadow: none; }
  .hero { padding-top: 54px; }
  .hero__media img { object-position: 50% 38%; }
  /* Eyebrow in zwei Zeilen */
  .eyebrow span { display: block; }
  .eyebrow .eyebrow__sep { display: none; }
}

/* Fahrzeiten: Ziel oben, Angabe darunter */
@media (max-width: 719px) {
  .routes li { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px; }
  .routes span { text-align: left; }
  .routes li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Formular: Knopf mittig, solange es nur einen gibt */
.quiz__nav { justify-content: center; }
.quiz__nav .btn--light { margin-left: 0; }
.quiz__nav:has([data-quiz-skip]:not([hidden])) { justify-content: space-between; }
@media (min-width: 900px) {
  .promise { padding: 20px 24px; }
  .promise__text { font-size: 17px; }
}

/* Hero 18.11. spät: Bild eng auf die fünf Häuser (neuer Zuschnitt A02) */
@media (max-width: 899px) {
  .hero__media { height: min(80vw, 400px); }
  .hero__media img { height: 108%; object-position: 50% 50%; }
}
@media (min-width: 900px) {
  .hero__media { width: 60%; }
  .hero__media img { height: 106%; object-position: 50% 50%; }
}

/* =====================================================================
   Motion Graphics 18.11.2026 (Steuerung in assets/js/motion.js)
   --k = Animationsfortschritt 0..1, ohne JS/bei reduced motion immer 1
   ===================================================================== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Wasserfall im Ergebnis */
.wf { margin: 40px 0 6px; }
.wf__plot { position: relative; height: 190px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.wf__zero { position: absolute; left: 0; right: 0; top: var(--zero, 60%); height: 1px; background: var(--text-muted); opacity: .45; }
.wf__col { position: relative; }
.wf__col i { position: absolute; left: 10%; right: 10%; top: var(--t, 0%); height: var(--h, 0%); border-radius: 6px; background: var(--navy-light);
  transform: scaleY(var(--k, 1)); transform-origin: bottom; transition: top .45s var(--ease), height .45s var(--ease); }
.wf__col.is-down i { transform-origin: top; }
.wf__col.is-minus i { background: #C3CDD8; }
.wf__col.is-tax i { background: var(--navy-glow); }
.wf__col.is-total i { background: var(--navy); }
.wf__col b { position: absolute; left: 50%; top: var(--t, 0%); transform: translate(-50%, calc(-100% - 4px)); font-size: 12px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; transition: top .45s var(--ease); }
.wf__col.is-total b { font-size: 13px; }
.wf__labels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; font-size: 11.5px; line-height: 1.25; color: var(--text-muted); text-align: center; hyphens: manual; }
@media (min-width: 720px) { .wf__plot { height: 210px; } .wf__col b { font-size: 13px; } .wf__labels { font-size: 12.5px; } }

/* Vermögensaufbau */
.growth { margin: 24px 0 0; padding: 22px 18px 16px; border-radius: var(--radius-lg); color: var(--white); }
@media (min-width: 720px) { .growth { padding: 30px 32px 22px; } }
.growth__head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.growth__kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.growth__head strong { font-size: clamp(24px, 4.6vw, 34px); font-weight: 500; font-variant-numeric: tabular-nums; }
.growth__sub { font-size: 14px; opacity: .75; }
.growth__chart { position: relative; height: 200px; }
@media (min-width: 720px) { .growth__chart { height: 240px; } }
.growth__chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.growth__line { fill: none; stroke: var(--white); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.growth__zero { stroke: rgba(255, 255, 255, .35); stroke-width: 1; stroke-dasharray: 4 5; }
.growth__dot { position: absolute; right: 0; width: 14px; height: 14px; margin: -7px -7px 0 0; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 6px rgba(255, 255, 255, .2); transition: top .45s var(--ease); }
.growth__axis { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; opacity: .65; }

/* Balkenvergleich (Preis, Industrie) */
.compare { margin-top: 28px; display: grid; gap: 14px; }
.compare__title { font-weight: 500; font-size: 15px; margin: 0; }
.compare__row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 15px; }
.compare__row strong { font-variant-numeric: tabular-nums; font-weight: 500; }
.compare__row i { grid-column: 1 / -1; position: relative; display: block; height: 14px; border-radius: 14px; background: rgba(7, 25, 46, .08); }
.compare__row i::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%); border-radius: inherit; background: #9AA8B8;
  transform: scaleX(var(--k, 1)); transform-origin: left; }
.compare__row.is-key i::after { background: var(--navy); }
.compare--navy .compare__row i { background: rgba(255, 255, 255, .1); }
.compare--navy .compare__row i::after { background: rgba(255, 255, 255, .45); }
.compare--navy .compare__row.is-key i::after { background: var(--white); }
.compare__gap { position: absolute; left: calc(var(--v) * 100%); right: 0; top: -3px; bottom: -3px; border: 1.5px dashed currentColor; border-left: 0; border-radius: 0 14px 14px 0;
  display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 0; }
.compare__gap::after { content: attr(data-x); }
.compare--price .compare__row.is-key { margin-bottom: 26px; }
.compare--price .compare__gap { font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.compare--price .compare__gap { justify-content: flex-end; align-items: flex-start; padding-top: 24px; }
@media (min-width: 960px) { .compare--price { max-width: 100%; } }

/* Zinsvergleich in der KfW-Karte */
.rates { margin: 18px 0 4px; display: grid; gap: 8px; }
.rates__row { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 10px; font-size: 14px; }
.rates__row span { color: var(--text-light); }
.rates__row strong { font-variant-numeric: tabular-nums; font-weight: 500; min-width: 48px; text-align: right; }
.rates__row i { position: relative; height: 10px; border-radius: 10px; background: var(--bg-light); }
.rates__row i::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%); border-radius: inherit; background: #B8C3CF; transform: scaleX(var(--k, 1)); transform-origin: left; }
.rates__row.is-key i::after { background: var(--navy); }
.rates__save { margin: 6px 0 0; font-size: 14px; color: var(--text-light); line-height: 1.45; }
.rates__save b { color: var(--navy); font-weight: 500; }

/* Abschreibung als Treppe */
.afa { margin: 18px 0 4px; }
.afa__bars { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; height: 76px; align-items: end; }
.afa__bars span { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.afa__bars i { display: block; width: 100%; height: calc(var(--v) * 62px); border-radius: 4px 4px 2px 2px; background: #B8C3CF; transform: scaleY(var(--k, 1)); transform-origin: bottom; }
.afa__bars .is-sonder i { background: var(--navy); }
.afa__bars em { font-style: normal; font-size: 10px; color: var(--text-muted); margin-top: 4px; line-height: 1; }
.afa figcaption { font-size: 13px; color: var(--text-muted); margin-top: 8px; line-height: 1.45; }

/* Schere Einwohner gegen Wohnungen */
.scissors { margin: 0; }
.scissors__chart { position: relative; height: 220px; margin: 8px 0 0; }
@media (min-width: 720px) { .scissors__chart { height: 260px; } }
.scissors__chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.scissors__base { stroke: var(--border); stroke-width: 1; stroke-dasharray: 4 5; }
.scissors__pop, .scissors__permits { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.scissors__pop { stroke: var(--navy); }
.scissors__permits { stroke: #9AA8B8; }
.scissors__label { position: absolute; transform: translate(-100%, calc(-100% - 10px)); text-align: right; font-size: 13px; line-height: 1.3; color: var(--text-light); white-space: nowrap; }
.scissors__label b { display: block; font-size: 18px; font-weight: 500; color: var(--navy); }
.scissors__label small { display: block; font-size: 11.5px; color: var(--text-muted); }
.scissors__label--permits { transform: translate(-100%, 12px); }
.scissors__label--permits b { color: #6F7F92; }
.scissors__axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--text-muted); }

/* Wege auf der Regionskarte */
.geo__map--img { position: relative; }
.geo__map .routes-svg { position: absolute; left: 8px; top: 8px; width: calc(100% - 16px); height: auto; pointer-events: none; overflow: hidden; }
.routes-svg--desktop { aspect-ratio: 660 / 820; }
.routes-svg--mobile { aspect-ratio: 420 / 560; }
.route__auto { fill: none; stroke: var(--navy); stroke-linecap: round; opacity: .75; }
.route__draw { fill: none; stroke: var(--navy); stroke-linecap: round; opacity: .75; }
.route__origin { fill: var(--navy); }
.geo__map .routes-svg--mobile { display: none; }
@media (max-width: 599px) { .geo__map .routes-svg--desktop { display: none; } .geo__map .routes-svg--mobile { display: block; } }

/* Zeitplan: Balken bei „Jetzt“ */
.timeline li.is-now::before { transform: scaleX(var(--k, 1)); transform-origin: left; }
.timeline__when { display: inline-flex; align-items: center; gap: 8px; }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--navy); }
.pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--navy); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(3.2); opacity: 0; } }

/* Haken nach dem Absenden */
.done__check { width: 56px; height: 56px; margin-bottom: 14px; fill: none; stroke: var(--white); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.done__check circle, .done__check path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .7s var(--ease) forwards; }
.done__check path { animation-delay: .45s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .pulse::after { animation: none; }
  .done__check circle, .done__check path { animation: none; stroke-dashoffset: 0; }
  .wf__col i, .wf__col b, .growth__dot { transition: none; }
}

/* Schere: Legende unter dem Diagramm (Beschriftung im Diagramm war am Handy zu eng) */
.scissors__legend { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.scissors__legend .scissors__label { position: static; transform: none; text-align: left; white-space: normal; display: grid; grid-template-columns: 18px 1fr; column-gap: 8px; align-items: baseline; }
.scissors__legend .scissors__label > * { grid-column: 2; }
.scissors__legend .scissors__label i { grid-column: 1; grid-row: 1 / span 3; align-self: start; margin-top: 8px; width: 18px; height: 3px; border-radius: 3px; background: var(--navy); }
.scissors__legend .scissors__label--permits i { background: #9AA8B8; }
.compare--price .compare__gap { font-size: 13.5px; }

/* Vermögensaufbau: y-Achse mit Eurowerten (18.11.) */
.growth__chart { margin-left: 74px; }
.growth__axis { margin-left: 74px; }
.growth__y { position: absolute; inset: 0; pointer-events: none; }
.growth__y span { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.growth__y span.is-zero { border-top-color: transparent; }
.growth__y em { position: absolute; right: calc(100% + 10px); top: 0; transform: translateY(-50%); font-style: normal; font-size: 12px; white-space: nowrap; opacity: .65; font-variant-numeric: tabular-nums; }
.growth__chart svg { position: relative; z-index: 1; }

/* ---------- Achsen für alle Grafiken (18.11.) ---------- */
.axis-title { margin: 6px 0 0; font-size: 12px; line-height: 1.35; color: var(--text-muted); }
.axis-title--y { margin: 0 0 8px; }
.section--navy .axis-title, .growth .axis-title, .compare--navy .axis-title { color: rgba(255, 255, 255, .62); }
.axis-x { position: relative; height: 16px; margin-top: 2px; font-size: 11.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.axis-x span { position: absolute; top: 0; left: calc(var(--p) * 100%); transform: translateX(-50%); white-space: nowrap; }
.axis-x span:first-child { transform: none; }
.axis-x span:last-child { transform: translateX(-100%); }
.axis-x span::before { content: ''; position: absolute; left: 50%; top: -5px; height: 4px; width: 1px; background: currentColor; opacity: .5; }
.axis-x span:first-child::before { left: 0; }
.axis-x span:last-child::before { left: auto; right: 0; }
.compare--navy .axis-x { color: rgba(255, 255, 255, .62); }
.compare .axis-x { margin-top: -6px; }

/* Preis: Lücke nur zwischen den beiden Werten */
.compare__gap { right: calc((1 - var(--v2, 1)) * 100%); }

/* Zinsen: Achse unter der Balkenspalte */
.rates__row { grid-template-columns: 92px 1fr 48px; }
.rates__axis { display: grid; grid-template-columns: 92px 1fr 48px; gap: 10px; align-items: start; font-size: 11.5px; color: var(--text-muted); }
.rates__axis > span { padding-top: 1px; }
.rates__axis .axis-x { grid-column: 2; margin-top: 4px; }

/* Wasserfall: y-Achse */
.wf { margin-top: 28px; }
.wf__plot, .wf__labels { margin-left: 58px; }
.wf__y { position: absolute; inset: 0; pointer-events: none; }
.wf__y span { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed rgba(7, 25, 46, .1); }
.wf__y em { position: absolute; right: calc(100% + 8px); top: 0; transform: translateY(-50%); font-style: normal; font-size: 11.5px; color: var(--text-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wf__col { z-index: 1; }

/* Vermögen: Titel der y-Achse über der Grafik */
.growth__ytitle { margin: 0 0 10px; }

/* Schere: y-Achse */
.scissors__chart, .scissors__axis { margin-left: 34px; }
.scissors .axis-title:not(.axis-title--y) { margin-left: 34px; text-align: center; }
.scissors__y { position: absolute; inset: 0; pointer-events: none; }
.scissors__y span { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--border); opacity: .7; }
.scissors__y em { position: absolute; right: calc(100% + 8px); top: 0; transform: translateY(-50%); font-style: normal; font-size: 11.5px; color: var(--text-muted); }
.scissors__chart svg { position: relative; z-index: 1; }
.growth .axis-title.growth__ytitle { margin-left: 0; }
.growth__axis + .axis-title { text-align: center; }

/* Abschreibung: y-Achse */
.afa__plot { position: relative; margin-left: 56px; }
.afa__y { position: absolute; left: 0; right: 0; top: 0; bottom: 14px; pointer-events: none; }
.afa__y span { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed var(--border); }
.afa__y em { position: absolute; right: calc(100% + 6px); top: 0; transform: translateY(-50%); font-style: normal; font-size: 10.5px; color: var(--text-muted); white-space: nowrap; }
.afa__bars { position: relative; z-index: 1; }
.afa__xtitle { margin-left: 56px; text-align: center; }
.growth__xtitle { margin-left: 74px; text-align: center; }
.card p.axis-title, .card .axis-title { font-size: 12px; line-height: 1.35; color: var(--text-muted); }
.section--navy .calc__result .axis-title { color: var(--text-muted); }
.compare--price .compare__row.is-key { margin-bottom: 30px; }
.compare--price .axis-x { margin-top: 2px; }
.compare--navy:not(.compare--price) { margin-bottom: clamp(32px, 5vw, 48px); }
.wf .axis-title--y { margin-bottom: 30px; }

/* Claims WEIGL (19.11.2026): Zitat im Teamabschnitt, Claim in der Fußzeile */
.claim-quote { margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--border); }
.claim-quote p { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.35; font-weight: 500; color: var(--text); margin: 0 0 8px; }
.claim-quote cite { font-style: normal; font-size: 13px; letter-spacing: .06em; color: var(--text-muted); }
.site-footer__claim { margin: 10px 0 0; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }

/* Spatenstiche mit Zitat (19.11.2026). Mobil seitlich wischen, ab 760px drei Spalten */
.groundbreak { margin-top: clamp(56px, 8vw, 88px); }
.groundbreak__head { max-width: 760px; }
.groundbreak__quote { margin: 0; }
.groundbreak__quote p { font-size: clamp(24px, 3.4vw, 36px); line-height: 1.2; font-weight: 500; color: var(--text); margin: 0 0 10px; letter-spacing: -.01em; }
.groundbreak__quote cite { font-style: normal; font-size: 13px; letter-spacing: .06em; color: var(--text-muted); }
.groundbreak__text { margin: 16px 0 0; color: var(--text-light); }
.groundbreak__photos { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 28px -16px 0; padding: 0 16px 6px; scrollbar-width: none; }
.groundbreak__photos::-webkit-scrollbar { display: none; }
.groundbreak__photos figure { margin: 0; scroll-snap-align: start; }
.groundbreak__photos img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; }
.groundbreak__cap { margin: 12px 0 0; font-size: 13px; color: var(--text-muted); }
@media (min-width: 760px) {
  .groundbreak__photos { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin: 32px 0 0; padding: 0; gap: 20px; }
}

