/* Immobilien-Kostencheck: gemeinsames Designsystem für alle Seiten.
   Navigation, Footer, Typografie, Kacheln, Motion, Rechner.
   Marke: Navy #0A1F33, Cyan #00FFFF, DM Sans. Keine Bibliotheken. */

:root {
  --navy: #0A1F33;
  --navy-2: #112B44;
  --navy-3: #1A3A57;
  --ink: #0A1F33;
  --ink-2: #3A5168;
  --ink-3: #6B8599;
  --paper: #FFFFFF;
  --paper-2: #F3F7F9;
  --paper-3: #E9F1F4;
  --cyan: #00FFFF;
  --cyan-2: #00CCCC;
  --teal: #0A8C8C;
  --mint: #4ADDC8;
  --line: #E3EAEF;
  --line-dark: rgba(255, 255, 255, 0.10);
  --light: #F1F5F9;
  --light-2: #A9BFCF;
  --green: #22A06B;
  --amber: #D98E04;
  --red: #D64545;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 52px;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --r-xl: 32px;
  --w-wide: 1120px;
  --w-text: 740px;
  --sec: clamp(72px, 10vw, 136px);
  --shadow-1: 0 1px 2px rgba(10, 31, 51, 0.04), 0 8px 24px rgba(10, 31, 51, 0.06);
  --shadow-2: 0 2px 6px rgba(10, 31, 51, 0.06), 0 24px 64px rgba(10, 31, 51, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select { font: inherit; }
::selection { background: var(--cyan); color: var(--navy); }
:focus-visible { outline: 2px solid var(--cyan-2); outline-offset: 3px; border-radius: 4px; }

/* ── Typografie ─────────────────────────────────────────────── */
.d1 { font-size: clamp(40px, 7vw, 80px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 700; }
.d2 { font-size: clamp(32px, 4.8vw, 56px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; }
.d3 { font-size: clamp(24px, 3vw, 34px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
.lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--ink-2); }
.lead-light { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--light-2); }
.small { font-size: 14px; color: var(--ink-3); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.on-dark .kicker { color: var(--light-2); }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: var(--w-wide); margin: 0 auto; padding: 0 24px; }
.wrap-text { width: 100%; max-width: var(--w-text); margin: 0 auto; padding: 0 24px; }
.sec { padding: var(--sec) 0; }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head .lead, .sec-head .lead-light { margin-top: 18px; }
.sec-head.left { margin-left: 0; text-align: left; }
.on-dark { background: var(--navy); color: var(--light); }
.on-paper { background: var(--paper-2); }
.center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mt-64 { margin-top: 64px; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 0.25s var(--ease), background-size 0.35s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  background-repeat: no-repeat; background-size: 0% 100%;
}
.btn .arr { display: inline-block; width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); background-size: 100% 100%; }
.btn:active { transform: translateY(0); }
.btn-cyan { background-color: var(--cyan); background-image: linear-gradient(var(--cyan-2), var(--cyan-2)); color: var(--navy); }
.btn-navy { background-color: var(--navy); background-image: linear-gradient(var(--navy-3), var(--navy-3)); color: var(--light); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background-image: linear-gradient(var(--paper-2), var(--paper-2)); }
.on-dark .btn-ghost { border-color: var(--line-dark); color: var(--light); background-image: linear-gradient(rgba(255,255,255,0.08), rgba(255,255,255,0.08)); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.link-u { position: relative; font-weight: 600; color: var(--teal); }
.link-u::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.link-u:hover::after { transform: scaleX(1); }
.on-dark .link-u { color: var(--cyan); }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 31, 51, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: var(--light);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.scrolled { background: rgba(10, 31, 51, 0.88); box-shadow: 0 1px 0 rgba(255,255,255,0.06); }
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; height: 100%; }
.nav-logo img { height: 22px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { position: relative; font-size: 14px; font-weight: 500; color: rgba(241,245,249,0.82); transition: color 0.2s; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.nav-links a:hover { color: var(--light); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--cyan); color: var(--navy); font-size: 13px; font-weight: 700; transition: background-color 0.2s var(--ease), transform 0.2s var(--ease); }
.nav-cta:hover { background: var(--cyan-2); transform: translateY(-1px); }
.nav-burger { display: none; width: 44px; height: 44px; margin-right: -10px; align-items: center; justify-content: center; }
.nav-burger span { position: relative; display: block; width: 18px; height: 1.5px; background: var(--light); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-burger span::before, .nav-burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--light); transition: transform 0.3s var(--ease); }
.nav-burger span::before { top: -6px; } .nav-burger span::after { top: 6px; }
.nav.open .nav-burger span { background: transparent; }
.nav.open .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }
.nav-sheet { display: none; }
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-sheet {
    display: block; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 99;
    background: rgba(10, 31, 51, 0.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    padding: 32px 24px; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .nav.open + .nav-sheet { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
  .nav-sheet ul { list-style: none; }
  .nav-sheet li { border-bottom: 1px solid var(--line-dark); }
  .nav-sheet a { display: block; padding: 18px 0; font-size: 22px; font-weight: 600; color: var(--light); letter-spacing: -0.01em; }
  .nav-sheet .nav-sheet-sub { font-size: 15px; font-weight: 500; color: var(--light-2); padding: 12px 0 12px 16px; }
  .nav-sheet .btn { margin-top: 28px; width: 100%; }
  body.nav-lock { overflow: hidden; }
}
.page { padding-top: var(--nav-h); position: relative; z-index: 0; }

/* ── Kacheln ────────────────────────────────────────────────── */
.tile { background: var(--paper); border-radius: var(--r-l); padding: 32px; box-shadow: var(--shadow-1); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.tile-dark { background: var(--navy-2); color: var(--light); box-shadow: none; }
.tile-dark:hover { box-shadow: 0 24px 64px rgba(0,0,0,0.25); }
.tile-flat { box-shadow: none; border: 1px solid var(--line); }
.tile-flat:hover { transform: none; box-shadow: none; border-color: #CBD8E1; }
.tile h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.tile p { color: var(--ink-2); font-size: 16px; margin-top: 8px; }
.tile-dark p { color: var(--light-2); }
.ico { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--paper-3); color: var(--navy); margin-bottom: 20px; transition: transform 0.3s var(--ease); }
.ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tile:hover .ico { transform: translateY(-3px); }
.tile-dark .ico { background: rgba(255,255,255,0.08); color: var(--cyan); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-2 > *, .grid-3 > *, .art-split > *, .steps > * { min-width: 0; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } .tile { padding: 26px 22px; } }

/* Große Zahl */
.bignum { font-size: clamp(44px, 7vw, 88px); line-height: 0.95; letter-spacing: -0.04em; font-weight: 700; font-variant-numeric: tabular-nums; }
.statnum { font-size: clamp(30px, 3.6vw, 44px); line-height: 1; letter-spacing: -0.03em; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── Motion: Reveal ─────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-group > * { opacity: 0; transform: translateY(18px); transition: opacity 0.55s var(--ease), transform 0.65s var(--ease); }
.rv-group.in > * { opacity: 1; transform: none; }
.rv-group.in > *:nth-child(2) { transition-delay: 0.07s; }
.rv-group.in > *:nth-child(3) { transition-delay: 0.14s; }
.rv-group.in > *:nth-child(4) { transition-delay: 0.21s; }
.rv-group.in > *:nth-child(5) { transition-delay: 0.28s; }
.rv-group.in > *:nth-child(6) { transition-delay: 0.35s; }
/* Zeilen-Reveal für Headlines: jede Zeile in einem Clip */
.lines .ln { display: block; overflow: hidden; }
.lines .ln > span { display: block; transform: translateY(110%); transition: transform 0.8s var(--ease); }
.lines.in .ln > span { transform: none; }
.lines.in .ln:nth-child(2) > span { transition-delay: 0.09s; }
.lines.in .ln:nth-child(3) > span { transition-delay: 0.18s; }
/* Scroll-getriebene Balken (nur wo unterstützt), Basis: Klasse .in */
.bar-fill { transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease); }
.in .bar-fill { transform: scaleX(1); }
.in .bar-fill.b2 { transition-delay: 0.25s; }
.in .bar-fill.b3 { transition-delay: 0.5s; }
.in .bar-fill.b4 { transition-delay: 0.75s; }
/* Linien-Zeichnung (SVG stroke) */
.draw path, .draw polyline, .draw line, .draw circle, .draw rect { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-io); }
.draw.in path, .draw.in polyline, .draw.in line, .draw.in circle, .draw.in rect { stroke-dashoffset: 0; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.on-dark .faq-item { border-color: var(--line-dark); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; text-align: left; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.faq-q .plus { position: relative; flex: 0 0 22px; width: 22px; height: 22px; }
.faq-q .plus::before, .faq-q .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.3s var(--ease); }
.faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-q .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 44px 24px 0; color: var(--ink-2); font-size: 16px; opacity: 0; transform: translateY(-6px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.on-dark .faq-a p { color: var(--light-2); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a p { opacity: 1; transform: none; transition-delay: 0.1s; }

/* ── Tabellen ───────────────────────────────────────────────── */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--paper); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); background: var(--paper-2); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.n, .tbl th.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl tr.hl td { background: #F7FBFC; font-weight: 600; }
.tbl tbody tr { transition: background-color 0.2s; }
.tbl tbody tr:hover td { background: #F7FBFC; }
.tbl-note { font-size: 14px; color: var(--ink-3); margin-top: 12px; }
@media (max-width: 640px) { .tbl-hint { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 8px; } }
@media (min-width: 641px) { .tbl-hint { display: none; } }

/* ── Rechner (Ratgeber) ─────────────────────────────────────── */
.calc { background: var(--navy); color: var(--light); border-radius: var(--r-xl); padding: 36px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.calc > * { min-width: 0; }
.calc-title { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; }
.calc-sub { color: var(--light-2); font-size: 15px; margin-top: 6px; }
.calc-field { margin-top: 24px; }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 600; color: var(--light-2); margin-bottom: 10px; letter-spacing: 0.02em; }
.calc-label output, .calc-label .val { font-size: 16px; color: var(--light); font-variant-numeric: tabular-nums; font-weight: 700; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer; }
.range:focus { outline: none; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan) var(--p, 50%), rgba(255,255,255,0.16) var(--p, 50%)); }
.range::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255,255,255,0.16); }
.range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--cyan); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--paper); border: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.3); transition: transform 0.2s var(--ease); }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.range:active::-webkit-slider-thumb, .range:focus-visible::-webkit-slider-thumb { transform: scale(1.15); }
.range:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--cyan); outline-offset: 2px; }
.sel { width: 100%; height: 46px; padding: 0 40px 0 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23A9BFCF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--light); -webkit-appearance: none; appearance: none; font-size: 15px; font-weight: 500; }
.sel option { color: var(--ink); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14); color: var(--light-2); font-size: 14px; font-weight: 600; transition: background-color 0.2s var(--ease), color 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
.seg button:hover { color: var(--light); border-color: rgba(255,255,255,0.3); }
.seg button[aria-pressed="true"] { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }
.seg.ek button { min-width: 42px; padding: 9px 0; text-align: center; }
.sw { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-dark); font-size: 15px; }
.sw:last-child { border-bottom: 1px solid var(--line-dark); }
.sw button { position: relative; flex: 0 0 46px; width: 46px; height: 28px; border-radius: 14px; background: rgba(255,255,255,0.16); transition: background-color 0.25s var(--ease); }
.sw button::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); transition: transform 0.25s var(--ease); }
.sw button[aria-checked="true"] { background: var(--cyan); }
.sw button[aria-checked="true"]::after { transform: translateX(18px); }
.calc-out { background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark); border-radius: var(--r-l); padding: 28px; position: sticky; top: calc(var(--nav-h) + 16px); }
.calc-out .kicker { color: var(--light-2); }
.calc-out .bignum { font-size: clamp(36px, 4.4vw, 54px); margin-top: 10px; color: var(--cyan); }
.calc-out .bignum.wht { color: var(--light); }
.calc-rows { margin-top: 22px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line-dark); font-size: 15px; color: var(--light-2); }
.calc-row b { color: var(--light); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-row.sum { color: var(--light); font-weight: 600; }
.calc-note { font-size: 13px; color: var(--light-2); margin-top: 18px; line-height: 1.5; }
.calc-bar { height: 10px; border-radius: 5px; background: rgba(255,255,255,0.1); overflow: hidden; display: flex; margin-top: 18px; }
.calc-bar i { display: block; height: 100%; transition: flex-basis 0.5s var(--ease); flex: 0 0 0%; }
.calc-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 12px; color: var(--light-2); }
.calc-legend span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: 1px; background: var(--c); }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); padding: 26px 20px; gap: 24px; } .calc-out { position: static; padding: 22px; } }

/* ── Ratgeber-Seiten ────────────────────────────────────────── */
.art-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.art-hero h1 { max-width: 880px; margin: 0 auto; font-size: clamp(34px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -0.03em; }
.art-hero .lead { max-width: 680px; margin: 22px auto 0; }
.art-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 14px; color: var(--ink-3); }
.art-crumb { display: inline-flex; gap: 8px; font-size: 14px; color: var(--ink-3); margin-bottom: 22px; }
.art-crumb a { color: var(--teal); font-weight: 600; }
.art { padding: var(--sec) 0; }
.art h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; margin-bottom: 18px; }
.art h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; margin: 28px 0 8px; }
.art p { color: var(--ink-2); margin-bottom: 16px; max-width: 70ch; }
.art p strong { color: var(--ink); }
.art ul, .art ol { margin: 0 0 16px 20px; color: var(--ink-2); }
.art li { margin-bottom: 10px; max-width: 70ch; }
.art li strong { color: var(--ink); }
.art a:not(.btn) { color: var(--teal); font-weight: 600; }
.art-sec { padding: clamp(40px, 6vw, 80px) 0; }
.art-sec + .art-sec { border-top: 1px solid var(--line); }
.art-split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.art-split > :first-child { position: sticky; top: calc(var(--nav-h) + 24px); }
.art-split h2 { margin-bottom: 12px; }
@media (max-width: 900px) { .art-split { grid-template-columns: minmax(0, 1fr); gap: 20px; } .art-split > :first-child { position: static; } }
.note { border-radius: var(--r-m); padding: 22px 24px; background: var(--paper-2); color: var(--ink-2); font-size: 16px; margin: 24px 0; }
.note strong { color: var(--ink); }
.note .kicker { display: block; margin-bottom: 8px; }
.note-dark { background: var(--navy); color: var(--light-2); }
.note-dark strong { color: var(--light); }
.note-dark .kicker { color: var(--light-2); }
.disclaimer { font-size: 13px; line-height: 1.55; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 40px; max-width: none; }
.cta-band { background: var(--navy); color: var(--light); border-radius: var(--r-xl); padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band .d3 { max-width: 520px; }
.cta-band p { color: var(--light-2); margin: 8px 0 0; max-width: 520px; }
@media (max-width: 640px) { .cta-band { padding: 28px 22px; } .cta-band .btn { width: 100%; } }

/* Zeitleiste */
.tl { list-style: none; position: relative; padding-left: 32px; }
.tl::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl li { position: relative; padding: 0 0 28px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ''; position: absolute; left: -32px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease), transform 0.4s var(--ease); }
.tl li.in::before { border-color: var(--teal); background: var(--teal); transform: scale(1.1); }
.tl .tl-date { font-size: 13px; font-weight: 700; letter-spacing: 0.03em; color: var(--teal); text-transform: uppercase; }
.tl .tl-t { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-top: 2px; }
.tl p { margin: 4px 0 0; font-size: 15px; }

/* Stufen (Förderung) */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px 14px; text-align: center; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.3s; }
.step .step-d { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.step .step-v { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.step .step-s { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.step.cur { border-color: var(--navy); background: var(--navy); color: var(--light); transform: translateY(-4px); }
.step.cur .step-d, .step.cur .step-s { color: var(--light-2); }
.step.cur .step-v { color: var(--cyan); }
@media (max-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps .step:last-child { grid-column: span 2; } }

/* Haus-Grafik mit Hotspots */
.house { position: relative; max-width: 560px; margin: 0 auto; }
.house svg { width: 100%; height: auto; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.house .hs { position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: var(--navy); color: var(--cyan); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(10,31,51,0.25); transition: transform 0.25s var(--ease), background-color 0.25s; }
.house .hs:hover { transform: scale(1.1); }
.house .hs[aria-pressed="true"] { background: var(--cyan); color: var(--navy); transform: scale(1.12); }
.house-info { margin-top: 20px; min-height: 120px; }
.house-info .tile { padding: 24px; }
.house-info .tile h3 { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.house-info .tile h3 b { font-size: 16px; color: var(--teal); white-space: nowrap; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { background: var(--navy); color: var(--light-2); padding: 64px 0 36px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-logo img { height: 22px; width: auto; }
.footer-claim { margin-top: 16px; max-width: 300px; color: var(--light-2); }
.footer-title { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--light); margin-bottom: 14px; }
.footer a:not(.footer-logo) { display: inline-block; position: relative; margin-bottom: 10px; color: var(--light-2); transition: color 0.2s; }
.footer a:not(.footer-logo)::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.footer a:not(.footer-logo):hover { color: var(--light); }
.footer a:not(.footer-logo):hover::after { transform: scaleX(1); }
.footer ul { list-style: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid var(--line-dark); padding-top: 24px; font-size: 13px; color: var(--light-2); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a { margin: 0 !important; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .rv-group > *, .lines .ln > span, .bar-fill { opacity: 1; transform: none; transition: none; }
  .draw path, .draw polyline, .draw line, .draw circle, .draw rect { stroke-dashoffset: 0; transition: none; }
  .btn, .tile, .ico, .faq-a, .faq-a p, .nav-sheet, .step, .tl li::before, .calc-bar i { transition: none; }
}
