/* Immobilienankauf Johannes Notheis · Design 2
   Schriften und Bilder liegen lokal, es gibt keine Requests an Dritte. */

@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-opsz-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-opsz-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #f6f4ee;
  --surface: #ffffff;
  --tint: #ecefe6;
  --ink: #10201a;
  --ink-2: #4a5851;
  --ink-3: #5a665f;  /* kleiner Text: mindestens 5 : 1 auf allen hellen Flächen */
  --g950: #0b1d15;
  --g900: #10271c;
  --g800: #173527;
  --g700: #1f4a36;
  --g600: #2b6a4c;
  --g200: #cfe2d5;
  --g100: #e3eee6;
  --g50: #f1f6f1;
  --amber: #f3b43f;
  --amber-600: #d6920f;
  --amber-700: #8f5e00;  /* Amber als Textfarbe auf Hell */
  --line: #e1e3d9;
  --hair: rgba(16, 32, 26, .14);  /* Trennlinie ohne Kasten, trägt auf Creme und auf der getönten Fläche */
  --line-strong: #878f85;
  --danger: #a3341f;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 26, .05), 0 6px 16px -8px rgba(16, 32, 26, .14);
  --shadow: 0 2px 4px rgba(16, 32, 26, .05), 0 22px 44px -20px rgba(16, 32, 26, .3);
  --shadow-lg: 0 4px 10px rgba(11, 29, 21, .08), 0 44px 90px -34px rgba(11, 29, 21, .55);
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --frame: 1440px;
  /* Bewegung: eine Kurve für alles, was erscheint oder antwortet, eine für die Leiste am unteren Rand.
     Drücken 120 ms, Überfahren 160 ms, Aufklappen 220 ms. Nichts federt nach. */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --t-press: 120ms;
  --t-hover: 160ms;
  --t-panel: 220ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; accent-color: var(--g800); caret-color: var(--g700); scrollbar-color: var(--line-strong) transparent; }
/* Bewegung reduzieren: Farben und Deckkraft dürfen weiter weich wechseln, bewegt und skaliert wird nichts */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-property: color, background-color, border-color, outline-color, text-decoration-color, box-shadow, opacity, visibility !important; }
}
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
img { display: block; }
svg { flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: var(--g700); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color var(--t-hover) ease, text-decoration-color var(--t-hover) ease; }
a:hover { color: var(--g900); }
a, button, summary, label, input[type="range"] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
p, li, dd, figcaption { text-wrap: pretty; }
::selection { background: var(--g200); color: var(--ink); }
.hero ::selection, .section--dark ::selection, .side-card--dark ::selection, .ablauf ::selection, .result ::selection, .rechner__out ::selection, .pcard--note ::selection, .kennzahlen > div:first-child ::selection { background: var(--amber); color: var(--g950); }
.hero .card ::selection { background: var(--g200); color: var(--ink); }
.hero .card .result ::selection, .hero .card .rechner__out ::selection { background: var(--amber); color: var(--g950); }
::placeholder { color: var(--ink-3); opacity: 1; }
:focus-visible { outline: 3px solid var(--g800); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .section--dark :focus-visible, .result :focus-visible, .pcard--note :focus-visible, .side-card--dark :focus-visible { outline-color: var(--amber); }
.card :focus-visible { outline-color: var(--g800); }

h1, h2 { font-family: var(--display); font-weight: 480; font-optical-sizing: auto; letter-spacing: -.022em; margin: 0 0 .5em; text-wrap: balance; }
/* Laufweite hängt an der Größe: je größer die Zeile, desto enger */
h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.03; letter-spacing: -.028em; }
h2 { font-size: clamp(1.95rem, 3.5vw, 3rem); line-height: 1.08; }
h3 { font-family: var(--sans); font-weight: 650; font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.01em; margin: 0 0 .45em; text-wrap: balance; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { --wrap: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
[data-todo] { background: #fff3cd; outline: 1px dashed var(--amber-600); outline-offset: 2px; border-radius: 4px; color: #5c4208; }

.lead, .section__lead { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head > :last-child { margin-bottom: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; font: 650 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; padding: 1em 1.55em; border-radius: 999px; border: 1.5px solid transparent; user-select: none; -webkit-user-select: none; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, box-shadow var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.btn--primary { background: var(--g800); color: #fff; box-shadow: 0 8px 20px -12px rgba(23, 53, 39, .6); }
.btn--primary:hover { background: var(--g900); color: #fff; }
.btn--accent { background: var(--amber); color: var(--g950); box-shadow: 0 8px 20px -12px rgba(120, 78, 0, .6); }
.btn--accent:hover { background: #f7c35e; color: var(--g950); }
.btn--ghost { background: transparent; color: var(--g800); border-color: #c9cec4; }
.btn--ghost:hover { border-color: var(--g700); color: var(--g900); }
.btn--sm { padding: .72em 1.2em; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn svg { transition: transform var(--t-hover) var(--ease-out); }

/* Antwort auf den Zeiger. Anheben nur mit Maus (auf dem Handy bliebe der Zustand nach dem Tippen hängen),
   Eindrücken sofort beim Drücken, auf jedem Gerät. Beides entfällt bei „Bewegung reduzieren“. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-1px); }
  .btn:hover svg:has(use[href="#i-arrow"]) { transform: translateX(3px); }
}
@media (prefers-reduced-motion: no-preference) {
  .btn:active, .hero__contact a:active, .related a:active, .chips li a:active, .blk__toggle:active, .nav-toggle:active, .ablauf__tel:active, .pcard__go:active, .side-card__tel:active { transform: scale(.97); }
  .tile:active, .rechner__opt:active { transform: scale(.985); }
}
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Kopfzeile */
.header { position: sticky; top: 0; z-index: 50; background: rgba(246, 244, 238, .86); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(16, 32, 26, .5); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; --wrap: 1392px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
/* Das Logo ist eine Datei (assets/logo/logo.svg, Seitenverhältnis 1401 : 458). Die Höhe steuert die Größe. */
.brand__logo { display: block; flex: none; height: 48px; width: auto; }
@media (max-width: 520px) { .brand__logo { height: 42px; } }
.nav { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .9375rem; font-weight: 550; padding: 9px 13px; border-radius: 999px; transition: background-color var(--t-hover) ease; }
.nav a:not(.btn):hover { background: rgba(23, 53, 39, .07); }
.nav a[aria-current="page"] { background: var(--g100); color: var(--g800); }
.nav .btn { margin-left: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; padding: 12px 11px; transition: transform var(--t-press) var(--ease-out); }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; transition: transform var(--t-panel) var(--ease-out), opacity var(--t-hover) ease; }
/* Offenes Menü: die drei Striche werden zum Kreuz */
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1280px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); display: none; transform-origin: calc(100% - 24px) 0; }
  /* Das Menü wächst aus dem Knopf oben rechts heraus. Schließen geht ohne Übergang, also schneller als Öffnen. */
  .nav.is-open { display: flex; transition: opacity var(--t-panel) var(--ease-out), transform var(--t-panel) var(--ease-out); }
  @starting-style { .nav.is-open { opacity: 0; transform: translateY(-6px) scale(.97); } }
  .nav a:not(.btn) { padding: 13px 14px; font-size: 1.0625rem; border-radius: 12px; }
  .nav .btn { margin: 8px 0 0; }
}

/* Sechs Menüpunkte: zwischen 1281 und 1439 px etwas dichter setzen, damit alles in eine Zeile passt */
@media (min-width: 1281px) and (max-width: 1439px) {
  .header__in { gap: 12px; }
  .nav { gap: 0; }
  .nav a:not(.btn) { font-size: .875rem; padding: 9px 9px; }
  .nav .btn { margin-left: 6px; padding-inline: 15px; }
  .brand__logo { height: 44px; }
}

/* Hero */
.hero { padding: 6px 0 0; }
.hero__frame { --pad: clamp(20px, 5vw, 76px); position: relative; isolation: isolate; width: min(100% - 24px, var(--frame)); margin-inline: auto; border-radius: var(--r-xl); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); column-gap: clamp(28px, 4.5vw, 72px); align-items: center; padding: clamp(36px, 5.2vw, 80px) var(--pad) 0; color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; background: var(--g900); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(98deg, rgba(8, 24, 17, .9) 0%, rgba(8, 24, 17, .72) 38%, rgba(8, 24, 17, .28) 72%, rgba(8, 24, 17, .2) 100%), linear-gradient(0deg, rgba(8, 24, 17, .7) 0%, rgba(8, 24, 17, 0) 34%); }
.hero__copy { padding-bottom: clamp(32px, 4.5vw, 64px); align-self: start; padding-top: clamp(8px, 2.4vw, 40px); }
.hero--sub .hero__copy { align-self: center; padding-top: 0; }
.hero--sub .hero__media::after { background: linear-gradient(98deg, rgba(8, 24, 17, .93) 0%, rgba(8, 24, 17, .84) 45%, rgba(8, 24, 17, .5) 100%); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; font-weight: 420; color: var(--amber); }
.hero .lead { color: rgba(255, 255, 255, .88); }
/* Ansprechpartner mit Foto, direkt im ersten Bildschirm: ohne Rahmen, damit es bei jeder Breite ruhig wirkt */
.hero__contact { margin: 1.8em 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; color: rgba(255, 255, 255, .82); }
/* Der Kopfbereich baut sich beim Laden einmal auf: Überschrift zuerst, dann Text, Ansprechpartner und Karte.
   Reine CSS-Animation aus dem sichtbaren Zustand heraus: ohne JavaScript oder alte Browser steht alles sofort da.
   Sonst bewegt sich beim Scrollen nichts mehr von selbst. */
@keyframes kopf-auf { from { opacity: 0; transform: translateY(12px); } }
@keyframes kopf-ein { from { opacity: 0; } }
@keyframes bild-ruhe { from { transform: scale(1.035); } }
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > *, .hero__frame > .card { animation: kopf-auf .7s var(--ease-out) both; }
  .hero__copy > :nth-child(2) { animation-delay: 60ms; }
  .hero__copy > :nth-child(3) { animation-delay: 110ms; }
  .hero__copy > :nth-child(n+4) { animation-delay: 150ms; }
  .hero__copy > .hero__contact { animation-delay: 210ms; }
  .hero__frame > .card { animation-delay: 90ms; }
  .hero__stats { animation: kopf-ein .8s .3s ease both; }
  .hero__media img { animation: bild-ruhe 1.4s var(--ease-out) both; }
}
@media (prefers-reduced-motion: reduce) { .hero__copy, .hero__frame > .card { animation: kopf-ein .2s ease both; } }
.hero__face { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .55); }
.hero .hero__who { margin: 0 6px 0 0; display: grid; font-size: .9375rem; line-height: 1.3; color: rgba(255, 255, 255, .82); }
.hero__who strong { font-size: 1.125rem; font-weight: 650; color: #fff; }
.hero__contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; color: #fff; padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .36); transition: background-color var(--t-hover) ease, border-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
@media (max-width: 520px) {
  /* Foto und Name füllen die erste Zeile, Telefon und WhatsApp teilen sich die zweite */
  .hero__contact { gap: 12px 10px; }
  .hero .hero__who { flex: 1 1 calc(100% - 96px); min-width: 0; margin-right: 0; }
  .hero__contact a { flex: 1 1 auto; justify-content: center; padding-inline: 12px; }
}
.hero__contact a:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); color: #fff; }
.ticks { list-style: none; padding: 0; margin: 1.6em 0 0; display: grid; gap: .7em; }
.ticks li { display: flex; gap: .75em; align-items: flex-start; }
.ticks svg { color: var(--g600); margin-top: .2em; }
.hero .ticks svg { color: var(--amber); }
.ticks--sm { font-size: .9688rem; margin-top: .4em; gap: .55em; }
.hero__stats { grid-column: 1 / -1; list-style: none; margin: 0 calc(-1 * var(--pad)); padding: 0 calc(var(--pad) - 24px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: rgba(8, 24, 17, .46); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-top: 1px solid rgba(255, 255, 255, .14); border-radius: 0 0 var(--r-xl) var(--r-xl); }
.hero__stats li { padding: 22px 24px 24px; display: grid; gap: 2px; align-content: start; }
.hero__stats li + li { border-left: 1px solid rgba(255, 255, 255, .12); }
.hero__stats strong { font: 480 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--display); letter-spacing: -.02em; color: #fff; }
.hero__stats span { font-size: .9063rem; color: rgba(255, 255, 255, .76); line-height: 1.4; }
.hero--sub .hero__frame { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(28px, 4vw, 56px); }
.hero--sub h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.hero--sub .hero__copy { padding-bottom: 0; }
.crumbs { font-size: .875rem; color: rgba(255, 255, 255, .72); margin: 0 0 1.5em; }
.crumbs a { color: rgba(255, 255, 255, .86); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { margin: 0 .5em; opacity: .6; }
@media (max-width: 960px) {
  .hero__frame { grid-template-columns: 1fr; padding-top: 34px; border-radius: var(--r-lg); }
  .hero__media::after { background: linear-gradient(180deg, rgba(8, 24, 17, .86) 0%, rgba(8, 24, 17, .7) 50%, rgba(8, 24, 17, .86) 100%); }
  .hero__copy { padding-bottom: 30px; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 0 0 var(--r-lg) var(--r-lg); padding: 0; }
  .hero__stats li { padding: 16px 18px 18px; }
  .hero__stats li:nth-child(3) { border-left: 0; }
  .hero__stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .hero--sub .hero__frame { padding-bottom: 28px; }
}

/* Karte und Bewertungs-Assistent */
.card { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 2.6vw, 34px); }
.hero .card { margin-bottom: clamp(32px, 4.5vw, 64px); }
.hero--sub .card { margin-bottom: 0; }
.card__tag { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 650; color: var(--g700); background: var(--g100); padding: 6px 12px; border-radius: 999px; margin: 0 0 14px; }
.card__title { font: 520 clamp(1.45rem, 2.2vw, 1.8rem)/1.15 var(--display); letter-spacing: -.02em; margin-bottom: .8em; }
/* Mindesthöhe = Höhe des ersten Schritts je Breite, damit die Karte beim Laden nicht springt */
.wz__root { min-height: 525px; display: flex; flex-direction: column; }
@media (min-width: 961px) and (max-width: 1279px) { .wz__root { min-height: 586px; } }
@media (max-width: 960px) { .wz__root { min-height: 508px; } }
@media (max-width: 520px) { .wz__root { min-height: 466px; } }
@media (max-width: 430px) { .wz__root { min-height: 530px; } }
@media (max-width: 400px) { .wz__root { min-height: 577px; } }
@media (max-width: 340px) { .wz__root { min-height: 630px; } }
.wz__progress { display: flex; gap: 6px; }
.wz__progress span { flex: 1; height: 6px; border-radius: 99px; background: var(--line); transition: background-color .3s ease; }
.wz__progress span.is-done { background: var(--g700); }
.wz__progress span.is-current { background: var(--amber); }
.wz__count { font-size: .75rem; color: var(--ink-3); margin: .85em 0 1em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.wz__title { font: 650 1.25rem/1.3 var(--sans); letter-spacing: -.012em; margin-bottom: .9em; }
.wz__title:focus { outline: none; }
.wz__body { flex: 1; animation: wz-in .24s var(--ease-out) both; }
@keyframes wz-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .wz__body { animation: kopf-ein .2s ease both; } }
.wz__body.wz__body--still { animation: none; }
.wz__hint, .wz__foot { font-size: .875rem; color: var(--ink-3); }
.wz__foot { text-align: center; margin: 1.1em 0 0; }
.wz__lead { font-size: 1rem; color: var(--ink-2); }
.wz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 1.3em; }
.wz__nav .btn--primary { margin-left: auto; }
.wz__error { color: var(--danger); font-size: .9375rem; font-weight: 600; margin: .8em 0 0; }
.wz__error:empty { display: none; }
.wz__demo { font-size: .875rem; background: #fff3cd; border: 1px dashed var(--amber-600); border-radius: var(--r-sm); padding: 10px 12px; color: #5c4208; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { position: relative; display: grid; gap: 2px; justify-items: start; align-content: start; text-align: left; cursor: pointer; background: var(--g50); border: 1.5px solid transparent; border-radius: var(--r); padding: 14px 14px 13px; font: inherit; color: var(--ink); transition: border-color var(--t-hover) ease, box-shadow var(--t-hover) ease, background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover { border-color: var(--g600); background: #fff; box-shadow: var(--shadow-sm); }
}
.tile.is-active { border-color: var(--g800); background: var(--g100); }
.tile.is-active::after { content: ""; position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--g800) 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='m6 12.500 4 4L18 8.500'/%3E%3C/svg%3E") center / 13px no-repeat; }
.tile__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); background: #fff; color: var(--g700); margin-bottom: 8px; box-shadow: 0 1px 2px rgba(16, 32, 26, .08); }
.tile__icon svg { width: 24px; height: 24px; }
.tile__title { font-weight: 650; font-size: 1rem; line-height: 1.25; }
.tile__sub { font-size: .8125rem; color: var(--ink-3); line-height: 1.35; }
.tiles > .tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 400px) { .tiles { grid-template-columns: 1fr; } }

.field { display: grid; gap: 6px; margin-top: 14px; }
.field label, .range label { font-size: .9375rem; font-weight: 650; }
.field__opt { font-weight: 400; color: var(--ink-3); }
.field__hint { font-size: .8125rem; color: var(--ink-3); margin: 6px 0 0; }
.field--hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.input { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); padding: .85em 1em; transition: border-color var(--t-hover) ease, box-shadow var(--t-hover) ease; }
.input:hover { border-color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--g700); box-shadow: 0 0 0 4px rgba(43, 106, 76, .18); }
/* Fehler steht am Feld selbst, nicht nur als Satz darunter */
.input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(163, 52, 31, .12); }
.input[aria-invalid="true"]:focus { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(163, 52, 31, .32); }
.check input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: var(--ink-2); margin: 16px 0; line-height: 1.45; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--g800); flex: none; }
.range { margin: 6px 0 24px; }
.range__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.range__value { font: 520 1.5rem var(--display); letter-spacing: -.02em; color: var(--g800); font-variant-numeric: tabular-nums lining-nums; }
/* Regler in den Farben der Seite, mit großem Griff für den Daumen. Der gefüllte Teil kommt aus --p (setzt assets/app.js);
   fehlt der Wert, bleibt die Schiene einfarbig. Firefox füllt selbst. */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; margin: 0; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(to right, var(--g700) var(--p, 0%), var(--line) var(--p, 0%)); box-shadow: inset 0 0 0 1px var(--line-strong); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 2px solid var(--g800); box-shadow: 0 1px 2px rgba(16, 32, 26, .12), 0 4px 10px -4px rgba(16, 32, 26, .35); transition: box-shadow var(--t-hover) ease; }
input[type="range"]:active::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(43, 106, 76, .16), 0 4px 10px -4px rgba(16, 32, 26, .35); }
@media (prefers-reduced-motion: no-preference) {
  input[type="range"]::-webkit-slider-thumb { transition: transform var(--t-press) var(--ease-out), box-shadow var(--t-hover) ease; }
  input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 99px; background: var(--line); border: 1px solid var(--line-strong); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--g700); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--g800); box-shadow: 0 1px 2px rgba(16, 32, 26, .12), 0 4px 10px -4px rgba(16, 32, 26, .35); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--g800); outline-offset: 3px; }
input[type="range"]:focus-visible::-moz-range-thumb { outline: 3px solid var(--g800); outline-offset: 3px; }

.result { background: linear-gradient(150deg, var(--g800), var(--g950)); color: #fff; border-radius: var(--r); padding: 20px 22px; margin-bottom: 14px; }
.result__label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--g200); margin: 0 0 .4em; }
.result__range { font: 480 clamp(1.5rem, 2.6vw, 1.9rem)/1.15 var(--display); letter-spacing: -.02em; margin: 0 0 .55em; color: #fff; text-wrap: balance; font-variant-numeric: lining-nums; }
.result__bar { position: relative; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .16); margin: 0 8px 1em; }
.result__bar span { position: absolute; left: 22%; right: 22%; top: 0; bottom: 0; border-radius: 99px; background: var(--amber); }
.result__bar span::before, .result__bar span::after { content: ""; position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--amber); transform: translate(-50%, -50%); }
.result__bar span::before { left: 0; }
.result__bar span::after { left: 100%; }
.result__note { font-size: .8125rem; line-height: 1.5; margin: 0; color: #cfdcd3; }
.result--plain .result__note { font-size: .9688rem; color: #fff; }
.summary__wrap { margin: 0 0 14px; font-size: .9375rem; }
.summary__wrap summary { cursor: pointer; color: var(--g700); font-weight: 650; }
.summary { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 10px 0 0; }
.summary dt { color: var(--ink-3); }
.summary dd { margin: 0; font-weight: 600; }

/* Abschnitte */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tint { background: var(--tint); }
.section--dark { width: min(100% - 24px, var(--frame)); margin-inline: auto; border-radius: var(--r-xl); background: var(--g900); color: #fff; position: relative; isolation: isolate; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section__lead { color: rgba(255, 255, 255, .78); }
.note { margin: 1.8em 0 0; padding: 18px 22px; border-radius: var(--r); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); max-width: 74ch; color: rgba(255, 255, 255, .9); }
.note--light { background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.note + .note { margin-top: 12px; }
.note a { color: #fff; font-weight: 600; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; }
.note a:hover { text-decoration-color: var(--amber); }
.note--light a { color: var(--g800); text-decoration-color: currentColor; }
.fine { font-size: .875rem; color: var(--ink-3); margin-top: 1.6em; }

/* Ablauf */
.split { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 5.5vw, 88px); align-items: start; }
.split__media { position: sticky; top: 104px; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); background: var(--g100); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__badge { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 12px; align-items: center; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: var(--r); padding: 14px 16px; font-size: .9375rem; line-height: 1.35; color: var(--ink); box-shadow: var(--shadow-sm); }
.split__badge svg { color: var(--g700); background: var(--g100); border-radius: 12px; padding: 9px; width: 42px; height: 42px; }
.split__badge strong { display: block; }
.steps { list-style: none; padding: 0; margin: 0 0 2em; }
.steps li { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 20px; padding-bottom: 30px; }
.steps li::before { content: ""; position: absolute; left: 25px; top: 56px; bottom: 4px; width: 2px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::before { display: none; }
.steps__no { grid-row: 1 / span 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--g800); color: #fff; font: 520 1.375rem var(--display); }
.steps h3 { font-size: 1.3125rem; margin: 2px 0 6px; }
.steps__time { justify-self: start; font-size: .8125rem; font-weight: 650; color: var(--g700); background: var(--g100); border-radius: 99px; padding: 3px 11px; margin-bottom: 10px; }
.steps p { color: var(--ink-2); margin: 0; grid-column: 2; }
.assure { margin-top: clamp(48px, 7vw, 96px); }
.assure__title { font: 480 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--display); letter-spacing: -.02em; margin-bottom: 1.1em; }
/* Vier Zusagen ohne Kästen: eine Linie oben, feine Trenner dazwischen. Die Seite hat an anderer Stelle schon
   Kartenraster (Situationen), hier trägt der Abstand die Gliederung. */
.assure__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hair); }
.assure__grid div { padding: 26px 26px 2px; border-left: 1px solid var(--hair); }
.assure__grid div:first-child { padding-left: 0; border-left: 0; }
.assure__grid div:last-child { padding-right: 0; }
.assure__grid svg { width: 44px; height: 44px; padding: 10px; border-radius: var(--r-sm); background: var(--g100); color: var(--g700); margin-bottom: 16px; }
.assure__grid strong { display: block; font-weight: 650; font-size: 1.0625rem; line-height: 1.3; margin-bottom: .4em; }
.assure__grid p { color: var(--ink-2); font-size: .9375rem; margin: 0; }
@media (max-width: 1020px) {
  .assure__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assure__grid div { padding: 24px 24px 22px; }
  .assure__grid div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .assure__grid div:nth-child(even) { padding-right: 0; }
  .assure__grid div:nth-child(n+3) { border-top: 1px solid var(--hair); padding-bottom: 2px; }
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__media { position: relative; top: 0; aspect-ratio: 16 / 11; } }

/* Ankaufsprofil */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pcard { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform var(--t-panel) var(--ease-out), box-shadow var(--t-panel) ease; }
.pcard__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--g100); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .pcard:not(.pcard--note):hover { box-shadow: var(--shadow); }
  .situ article:has(h3 a):hover { border-color: var(--g200); box-shadow: var(--shadow-sm); }
}
/* Karten heben sich um 2 px, das Foto rückt im Rahmen leicht näher: genug, um zu antworten, ohne zu springen */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .pcard:not(.pcard--note):hover, .situ article:has(h3 a):hover, .linklist a:hover { transform: translateY(-2px); }
  .pcard:hover .pcard__img img { transform: scale(1.03); transition-duration: .6s; }
  .pcard__go:hover::after, .guide article:has(h3 a):hover::after { transform: translateX(4px); }
}
/* Eindrücken steht hinter dem Anheben, damit es auch mit der Maus gewinnt */
@media (prefers-reduced-motion: no-preference) {
  .linklist a:active, .situ article:has(h3 a):active, .guide article:has(h3 a):active { transform: scale(.985); }
}
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px; }
.pcard h3 { font-size: 1.3125rem; }
.pcard h3 a { color: inherit; text-decoration: none; }
.pcard h3 a:hover { text-decoration: underline; }
.pcard p { color: var(--ink-2); font-size: .9688rem; flex: 1; }
.pcard__go { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-weight: 650; color: var(--g800); font-size: .9688rem; text-decoration: none; padding: 4px 0; transition: transform var(--t-press) var(--ease-out), color var(--t-hover) ease; }
.pcard__go::after { content: ""; width: 30px; height: 30px; border-radius: 50%; background: var(--g100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173527' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 15px no-repeat; transition: transform var(--t-hover) var(--ease-out), background-color var(--t-hover) ease; }
.pcard__go:hover::after { background-color: var(--g200); }
.pcard--note { background: var(--g900); color: #fff; padding: 30px 28px; justify-content: center; box-shadow: none; }
.pcard--note h3 { color: #fff; font: 480 1.6rem/1.15 var(--display); letter-spacing: -.02em; margin-bottom: .7em; }
.pcard--note .ticks svg { color: var(--amber); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Situationen */
.situ { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.situ article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 22px; transition: border-color var(--t-hover) ease, box-shadow var(--t-panel) ease, transform var(--t-panel) var(--ease-out); }
.situ svg { width: 46px; height: 46px; padding: 11px; border-radius: var(--r-sm); background: var(--g100); color: var(--g700); margin-bottom: 18px; }
.situ p { color: var(--ink-2); font-size: .9688rem; margin: 0; }
.situ h3 a, .guide h3 a { color: inherit; text-decoration: none; }
.situ h3 a:hover, .guide h3 a:hover { text-decoration: underline; }
.situ article:has(h3 a), .guide article:has(h3 a) { position: relative; }
.situ h3 a::after, .guide h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@media (max-width: 960px) { .situ { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .situ { grid-template-columns: 1fr; } }

/* Vergleich */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); padding: 10px; }
.compare { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: .9688rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.compare thead th { font: 650 1rem var(--sans); color: #fff; border-bottom-color: rgba(255, 255, 255, .16); }
.compare tbody th { font-weight: 600; color: #fff; width: 23%; }
.compare td { color: rgba(255, 255, 255, .74); }
.compare .is-me { background: var(--bg); color: var(--ink); font-weight: 600; border-bottom-color: var(--line); }
.compare thead .is-me { border-radius: 18px 18px 0 0; font: 520 1.1875rem var(--display); color: var(--g800); }
.compare tbody tr:last-child .is-me { border-radius: 0 0 18px 18px; }
.compare .cell { display: flex; gap: 10px; align-items: flex-start; }
.compare .cell svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--g800); color: #fff; margin-top: 2px; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* Region */
.region { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.regions { display: grid; gap: 28px; }
.regions h3 { font-size: 1.25rem; margin-bottom: .25em; }
.regions p { color: var(--ink-2); font-size: .9688rem; margin-bottom: .8em; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.chips li { font-size: .875rem; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); padding: 6px 13px; }
.chips li:has(a) { padding: 0; border-color: var(--g200); background: var(--g100); }
.chips li a { display: block; padding: 6px 13px; border-radius: 99px; color: var(--g800); font-weight: 650; text-decoration: none; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.chips li a:hover { background: var(--g200); }
.region__photo { position: sticky; top: 104px; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); background: var(--g100); }
.region__photo img { width: 100%; height: 100%; object-fit: cover; }
.region__photo figcaption { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 9px 15px; border-radius: 99px; font-size: .875rem; font-weight: 650; color: var(--ink); }
.region__photo figcaption svg { width: 16px; height: 16px; color: var(--g700); }
@media (max-width: 860px) { .region { grid-template-columns: 1fr; } .region__photo { position: relative; top: 0; aspect-ratio: 16 / 11; order: -1; } }

/* Wer wir sind */
.about { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(28px, 5.5vw, 80px); align-items: center; }
.about__photo { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--g100); box-shadow: var(--shadow); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.about__photo figcaption { position: absolute; left: 14px; bottom: 14px; display: grid; padding: 9px 15px 10px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .94); color: var(--ink-2); font-size: .8125rem; line-height: 1.3; box-shadow: var(--shadow-sm); }
.about__photo figcaption strong { color: var(--ink); font-size: .9375rem; }
.about p { color: var(--ink-2); max-width: 62ch; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about__photo { max-width: 280px; } }

/* Ratgeber */
/* Ratgeber als Verzeichnis: zwei Spalten, Zeilen mit Linie statt Karten. Die ganze Zeile ist der Link. */
.guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); }
.guide article { padding: 22px 48px 22px 0; border-block: 1px solid #cdd2c9; margin-bottom: -1px; }
.guide h3 { font-size: 1.1875rem; margin-bottom: .35em; transition: color var(--t-hover) ease; }
.guide p { color: var(--ink-2); font-size: .9688rem; margin: 0; max-width: 52ch; }
.guide p a { position: relative; z-index: 1; }
.guide article:has(h3 a) { transition: transform var(--t-press) var(--ease-out); }
.guide article:has(h3 a)::after { content: ""; position: absolute; right: 6px; top: 25px; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b6a4c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat; transition: transform var(--t-hover) var(--ease-out); pointer-events: none; }
.guide article:has(h3 a):hover h3 { color: var(--g700); }
.guide__more { margin: 32px 0 0; }
@media (max-width: 760px) { .guide { grid-template-columns: 1fr; } }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-aside { margin-top: 0; background: var(--surface); border-radius: var(--r); padding: 22px 22px 20px; box-shadow: var(--shadow-sm); display: grid; gap: 10px; }
.faq-aside strong { font-weight: 650; }
.faq-aside p { margin: 0; color: var(--ink-2); font-size: .9688rem; }
.faq-aside a { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; text-decoration: none; font-size: 1.125rem; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: var(--r); padding: 0 22px; box-shadow: 0 1px 2px rgba(16, 32, 26, .05); transition: box-shadow var(--t-panel) ease; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 19px 0; font: 650 1.0938rem/1.35 var(--sans); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font: inherit; letter-spacing: inherit; margin: 0; text-wrap: pretty; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--g100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173527' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 15px no-repeat; transition: transform var(--t-panel) var(--ease-out), background-color var(--t-hover) ease; }
.faq summary:hover::after { background-color: var(--g200); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--g200); }
/* Antworten und Zusatzfelder klappen weich auf (Höhe und Deckkraft). Browser ohne diese Technik öffnen wie bisher sofort. */
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    :root { interpolate-size: allow-keywords; }
    details::details-content { block-size: 0; overflow: clip; overflow-clip-margin: 8px; opacity: 0; transition: block-size var(--t-panel) var(--ease-out), opacity var(--t-panel) ease, content-visibility var(--t-panel) allow-discrete; }
    details[open]::details-content { block-size: auto; opacity: 1; }
  }
}
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 66ch; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: minmax(0, 1fr); } }

/* Kontakt */
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 29, 21, .93), rgba(11, 29, 21, .6)); }
.cta__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.contact-card { font-style: normal; display: grid; gap: 12px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-lg); padding: 28px 26px; }
.contact-card__photo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin-bottom: 4px; }
.contact-card strong { font: 480 1.6rem var(--display); letter-spacing: -.02em; color: #fff; }
.contact-card span { color: rgba(255, 255, 255, .78); font-size: .9375rem; }
.contact-card a { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 650; font-size: 1.125rem; }
.contact-card a svg { color: var(--amber); }
.contact-card small { color: rgba(255, 255, 255, .66); }
@media (max-width: 860px) { .cta__in { grid-template-columns: 1fr; } }

/* Fußzeile */
.footer { color: var(--ink-2); padding: clamp(48px, 6vw, 80px) 0 28px; font-size: .9375rem; }
.footer__logo { display: block; height: 52px; width: auto; margin-bottom: 16px; }
.footer strong { color: var(--ink); font: 560 1.25rem var(--display); letter-spacing: -.01em; }
.footer p { max-width: 44ch; margin: .6em 0 0; }
.footer__in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer nav { display: grid; gap: 9px; align-content: start; }
.footer nav::before { content: attr(aria-label); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--ink-3); }
@media (max-width: 860px) { .footer__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__in > div { grid-column: 1 / -1; } }

/* Mobile CTA-Leiste */
.cta-bar { display: none; }
@media (max-width: 760px) {
  /* Die Leiste fährt wie ein Blatt von unten ein und etwas schneller wieder aus. Versteckt ist sie auch für die Tastatur weg. */
  .cta-bar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; display: flex; gap: 8px; padding: 8px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6); border: 1px solid var(--hair); border-radius: 999px; box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .7); transition: transform .32s var(--ease-drawer), opacity .2s ease, visibility 0s; }
  /* Ohne JavaScript steht die Leiste einfach da. Mit JavaScript wartet sie, bis Assistent oder Rechner aus dem Blick sind. */
  .js .cta-bar:not(.is-visible) { transform: translateY(160%); visibility: hidden; transition: transform .2s var(--ease-out), visibility 0s .2s; }
  @media (prefers-reduced-motion: reduce) {
    .js .cta-bar:not(.is-visible) { transform: none; opacity: 0; transition: opacity .2s ease, visibility 0s .2s; }
  }
  .cta-bar .btn { flex: 1 1 0; min-width: 0; padding-inline: 10px; gap: 7px; font-size: .9063rem; white-space: nowrap; }
  .cta-bar .btn--primary { flex: 1.6 1 0; }
  .footer { padding-bottom: 110px; }
}

/* Unterseiten */
.page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(28px, 5vw, 80px); align-items: start; }
/* Seitenspalte: die Inhaltsübersicht scrollt mit weg, die Karte zur Bewertung bleibt stehen */
.side { align-self: stretch; display: flex; flex-direction: column; gap: 16px; }
.side > .side-card--dark { position: sticky; top: 104px; }
.side-card { background: var(--surface); border-radius: var(--r-lg); padding: 26px 24px 24px; box-shadow: var(--shadow-sm); }
.side-card h2, .side-card__title { font: 480 1.5rem/1.15 var(--display); letter-spacing: -.02em; margin: 0 0 .5em; }
.side-card p.side-card__title { font-size: 1.5rem; color: var(--ink); }
.side-card--dark p.side-card__title { color: #fff; }
.side-card__proof { font-size: .8125rem !important; line-height: 1.5; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .16); }
.side-card p { color: var(--ink-2); font-size: .9688rem; }
.side-card .btn { margin-top: 4px; }
.side-card__tel { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 14px; font-weight: 650; text-decoration: none; }
.side-card--dark { background: var(--g900); color: #fff; box-shadow: none; }
.side-card--dark h2 { color: #fff; }
.side-card--dark p { color: rgba(255, 255, 255, .78); }
.side-card--dark .side-card__tel { color: #fff; }
.facts { margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; font-weight: 650; text-align: right; }
@media (max-width: 960px) { .page { grid-template-columns: 1fr; } .side { display: none; } }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin-top: 0; }
.prose ul { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: .65em; }
.prose ul li { position: relative; padding-left: 1.5em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 650; }
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; margin: .4em 0 1em; font-size: .9688rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ptable th, .ptable td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.ptable thead th { background: var(--g100); font-weight: 650; color: var(--g800); }
.ptable tbody th { font-weight: 650; color: var(--ink); }
.ptable td { color: var(--ink-2); }
.ptable tr:last-child td, .ptable tr:last-child th { border-bottom: 0; }
.related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.2em; }
.related a { text-decoration: none; padding: 9px 17px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-weight: 650; font-size: .9375rem; color: var(--g800); transition: border-color var(--t-hover) ease, background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.related a:hover { border-color: var(--g600); background: var(--g50); }
.prose .related { margin: 0 0 1em; }
.download { display: grid; gap: 14px; padding: 22px 24px; margin: 0 0 2.4em; border-radius: var(--r); background: var(--g50); border: 1px solid var(--g200); }
.download strong { display: block; font: 480 1.375rem/1.2 var(--display); letter-spacing: -.01em; color: var(--ink); margin-bottom: .25em; }
.download span { color: var(--ink-2); }
.download__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.byline { font-size: .875rem; color: rgba(255, 255, 255, .72); margin: 1.1em 0 0; }
.related--hero { margin: 1.4em 0 0; }
.related--hero a { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }
.related--hero a:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .5); }
.section--assure { padding-top: 0; }
.section--assure .assure { margin-top: 0; }
.prose ol { padding-left: 1.35em; margin: 0 0 1em; display: grid; gap: .65em; }
.prose ol li::marker { color: var(--g600); font-weight: 650; }
.prose .ptable th, .prose .ptable td { vertical-align: top; }
@media (min-width: 641px) { .prose .ptable thead th { white-space: nowrap; } }
@media (max-width: 640px) { .prose .ptable th, .prose .ptable td { hyphens: auto; hyphenate-limit-chars: 12 5 5; -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 5; overflow-wrap: break-word; } }
.page > * { min-width: 0; }
@media (max-width: 700px) {
  .prose .ptable { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .prose .ptable th, .prose .ptable td { padding: 11px 12px; }
}
.linklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: .6em 0 1.4em; }
.linklist a { display: grid; align-content: start; gap: 5px; padding: 17px 19px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; transition: border-color var(--t-hover) ease, box-shadow var(--t-panel) ease, transform var(--t-panel) var(--ease-out); }
.linklist a:hover { border-color: var(--g600); box-shadow: var(--shadow-sm); }
.linklist strong { color: var(--g800); font-weight: 650; line-height: 1.3; }
.linklist span { color: var(--ink-2); font-size: .9375rem; line-height: 1.45; }
@media (max-width: 600px) { .linklist { grid-template-columns: 1fr; } }
.subhead { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 2.4em 0 0; }

/* Rechtstexte */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.5rem; margin-top: 1.8em; }

/* ============ Inhaltsseiten: Kennzahlen, Abschnitte, Karten, Ablauf ============ */

/* Kennzahlen als Kacheln direkt unter dem Kopfbereich */
.kennzahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 clamp(40px, 5vw, 72px); }
.kennzahlen > div { display: flex; flex-direction: column; gap: 9px; padding: 20px 22px 22px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.kennzahlen dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); line-height: 1.35; }
.kennzahlen dd { margin: 0; font: 480 clamp(1.25rem, 1.8vw, 1.5625rem)/1.15 var(--display); letter-spacing: -.02em; color: var(--g800); text-wrap: balance; }
.kennzahlen > div:first-child { background: var(--g800); box-shadow: none; }
.kennzahlen > div:first-child dt { color: rgba(255, 255, 255, .72); }
.kennzahlen > div:first-child dd { color: #fff; }
@media (max-width: 640px) {
  .kennzahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kennzahlen > div { padding: 16px 16px 15px; }
  .kennzahlen dt { letter-spacing: .05em; hyphens: auto; hyphenate-limit-chars: 12 5 5; -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 5; overflow-wrap: anywhere; }
  .kennzahlen dd { overflow-wrap: break-word; }
  .kennzahlen > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Inhaltsübersicht in der Seitenspalte */
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { border-top: 1px solid var(--line); }
.toc li:first-child { border-top: 0; }
.toc a { display: block; padding: 10px 0; color: var(--ink); text-decoration: none; font-size: .9375rem; line-height: 1.35; text-wrap: pretty; }
.toc li:last-child a { padding-bottom: 0; }
.toc a:hover { color: var(--g700); text-decoration: underline; }

/* Abschnitte: Kernaussage zuerst, Trennlinie dazwischen */
.blk { margin-top: clamp(34px, 4vw, 52px); padding-top: clamp(34px, 4vw, 52px); border-top: 1px solid var(--hair); }
.blk:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.blk__first > p:first-child { font-size: 1.125rem; line-height: 1.6; color: var(--ink); }
.blk__first > :last-child, .blk__more > :last-child { margin-bottom: 0; }
.blk__more { margin-top: 1em; }
.blk__more:focus { outline: none; }
/* Aufgeklappter Text erscheint weich, statt hart einzuspringen */
@media (prefers-reduced-motion: no-preference) {
  .blk.is-open .blk__more { transition: opacity .28s var(--ease-out), transform .28s var(--ease-out); }
  @starting-style { .blk.is-open .blk__more { opacity: 0; transform: translateY(-6px); } }
}
.blk__toggle { display: none; }

/* Aufzählungen mit Begriff und Erklärung als Karten */
.prose .karten { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: .5em 0 1.2em; }
.prose .karten li { display: grid; gap: 5px; align-content: start; padding: 17px 18px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .9688rem; line-height: 1.5; }
.prose .karten li { position: relative; }
.prose .karten li::before { content: ""; position: static; width: 9px; height: 9px; margin-bottom: 5px; border-radius: 50%; background: var(--amber); }
.prose ol.karten--nr { counter-reset: karte; }
.prose ol.karten--nr li { counter-increment: karte; }
.prose ol.karten--nr li::before { content: counter(karte); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 6px; background: var(--g800); color: #fff; font: 600 .9375rem var(--display); }
.prose .karten li strong { font-size: 1.0313rem; line-height: 1.3; }
.prose .karten li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 620px) { .prose .karten { grid-template-columns: 1fr; } }

/* Ablauf in vier Schritten mit Knopf, am Ende jeder Inhaltsseite */
.ablauf { margin-top: clamp(36px, 4.4vw, 56px); padding: clamp(22px, 3vw, 30px); border-radius: var(--r-lg); background: var(--g900); }
.prose .ablauf__title { margin: 0 0 22px; font: 480 1.5rem/1.15 var(--display); letter-spacing: -.02em; color: #fff; }
.prose .ablauf ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.prose .ablauf li { position: relative; display: grid; gap: 5px; align-content: start; color: rgba(255, 255, 255, .74); font-size: .8438rem; line-height: 1.4; }
.prose .ablauf li::after { content: ""; position: absolute; top: 18px; left: 46px; right: -8px; height: 1px; background: rgba(255, 255, 255, .22); }
.prose .ablauf li:last-child::after { display: none; }
.ablauf__no { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 8px; border-radius: 50%; background: var(--amber); color: var(--g950); font: 600 1.0625rem var(--display); }
.prose .ablauf li strong { color: #fff; font-size: .9688rem; line-height: 1.25; }
.ablauf small { font-size: inherit; }
.prose .ablauf__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.ablauf__tel { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 650; text-decoration: none; }
.ablauf__tel:hover { color: #fff; text-decoration: underline; }
.ablauf :focus-visible { outline-color: var(--amber); }
@media (max-width: 620px) {
  .prose .ablauf ol { grid-template-columns: 1fr; gap: 0; }
  .prose .ablauf li { grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding-bottom: 18px; }
  .prose .ablauf li:last-child { padding-bottom: 0; }
  .prose .ablauf li::after { top: 40px; bottom: 4px; left: 17px; right: auto; width: 1px; height: auto; }
  .ablauf__no { grid-row: 1 / span 2; margin-bottom: 0; }
  .prose .ablauf li strong { align-self: end; }
  .prose .ablauf__cta .btn { width: 100%; justify-content: center; }
}

/* Schmale Bildschirme: jeder Abschnitt ist eine Karte, lange Abschnitte klappen auf */
@media (max-width: 960px) {
  .prose { max-width: none; }
  .blk, .blk:first-of-type { margin-top: 14px; padding: 22px 20px; border: 0; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); }
  .blk:first-of-type { margin-top: 0; }
  .blk h2 { font-size: 1.5rem; }
  .prose .karten li { background: var(--g50); border-color: var(--g100); }
  .js .blk[data-fold]:not(.is-open) .blk__more { display: none; }
  .js .blk[data-fold] .blk__toggle { display: inline-flex; }
}
/* Aufklappen: Abschnitte mit langer Fortsetzung (data-fold="immer") klappen auf jeder Breite ein, kürzere nur bis 960 px */
.blk__toggle { align-items: center; gap: 10px; min-height: 44px; margin-top: 16px; padding: 10px 18px; border: 1px solid var(--g200); border-radius: 99px; background: var(--g50); color: var(--g800); font: 650 .9375rem/1 var(--sans); cursor: pointer; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.blk__toggle:hover { background: var(--g100); }
.blk__toggle::after { content: ""; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform var(--t-panel) var(--ease-out), margin-top var(--t-panel) var(--ease-out); }
.blk.is-open .blk__toggle::after { margin-top: 4px; transform: rotate(-135deg); }
.js .blk[data-fold="immer"]:not(.is-open) .blk__more { display: none; }
.js .blk[data-fold="immer"] .blk__toggle { display: inline-flex; }
/* Druck: nur der Inhalt, schwarz auf weiß. Ratgeber und Checklisten werden gern ausgedruckt. */
@media print {
  html, body { background: #fff !important; }
  .header, .footer nav, .cta-bar, .skip, .sprite, .hero__media, .hero .card, .hero__stats, .side, .cta, .nav-toggle, .related, .blk__toggle, .ablauf__cta .btn, .guide__more { display: none !important; }
  .hero__frame { display: block; width: auto; padding: 0; border-radius: 0; background: none; }
  .hero, .hero * { color: #000 !important; }
  .hero__contact a { background: none; border: 0; padding: 0; }
  .hero h1 { font-size: 22pt; }
  .section { padding: 14pt 0; }
  .wrap { width: auto; max-width: none; }
  .page, .faq-layout, .about, .split, .region { display: block; }
  .prose { max-width: none; }
  .blk__more { display: block !important; }
  .kennzahlen > div, .ptable, .karten li, .faq details, .ablauf { break-inside: avoid; }
  .kennzahlen { margin-bottom: 14pt; }
  .blk, .blk:first-of-type { margin: 0; padding: 12pt 0 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .blk h2 { break-after: avoid; break-inside: avoid; }
  .hero__copy > *, .hero__frame > .card, .hero__stats, .hero__media img { animation: none !important; }
  .hero__contact { margin-top: 8pt; }
  details::details-content { block-size: auto !important; opacity: 1 !important; transition: none !important; }
  .hero__face { box-shadow: none; }
  .section--assure, .faq-layout__more { display: none !important; }
  .faq details { box-shadow: none; padding: 0; background: none; }
  .kennzahlen > div, .kennzahlen > div:first-child { background: none; box-shadow: none; border: 1pt solid #999; }
  .kennzahlen > div:first-child dt, .kennzahlen > div:first-child dd { color: #000; }
  .ablauf { background: none; border: 1pt solid #999; }
  .ablauf, .ablauf * { color: #000 !important; }
  .ablauf__no { border: 1pt solid #000; background: none; }
  .faq details > p { display: block; }
  a { color: #000; }
}

/* Unter 375 px passt „Immobilienbewertung“ in der Überschrift sonst nicht in eine Zeile */
@media (max-width: 400px) { .hero--sub h1 { font-size: 1.95rem; } }

/* Sehr schmale Bildschirme (unter 360 px): nur lange deutsche Wörter dürfen trennen, damit nichts über den Rand läuft */
@media (max-width: 359px) {
  h1, h2, h3, summary { hyphens: auto; hyphenate-limit-chars: 14 5 5; -webkit-hyphenate-limit-before: 6; -webkit-hyphenate-limit-after: 6; overflow-wrap: anywhere; }
  .hero--sub h1 { font-size: 1.95rem; }
  .footer a { overflow-wrap: anywhere; }
  .header__in > .btn--ghost { display: none; }  /* Impressum und Datenschutz: das Logo führt zur Startseite */
}

/* ============ Nachbesserungen aus der unabhängigen Durchsicht (13.11.2026) ============ */

/* Kopfbereich: Inhalt darf die Spalte nie aufweiten; Abstand zur Bewertungskarte auch auf Unterseiten */
.hero__frame > * { min-width: 0; }
.hero--sub .card { box-shadow: var(--shadow); }
@media (max-width: 960px) { .hero--sub .hero__copy { padding-bottom: 28px; } }
@media (max-width: 640px) { .hero--sub .ticks { display: none; } }

/* Kennzahlen: feste Spaltenzahl, keine einzelne Kachel in der letzten Zeile */
.kennzahlen--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kennzahlen--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .kennzahlen, .kennzahlen--3, .kennzahlen--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kennzahlen > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Bewertungs-Assistent auf dem Handy: Auswahl als flache Zeilen statt hoher Kacheln */
@media (max-width: 520px) {
  .tiles { grid-template-columns: 1fr; gap: 8px; }
  .tile { grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: center; gap: 0; min-height: 58px; padding: 9px 42px 9px 12px; }
  .tile__icon { grid-column: 1; grid-row: 1 / span 2; margin: 0 12px 0 0; }
  .tile__title, .tile__sub { grid-column: 2; }
  .tile.is-active::after { top: 50%; margin-top: -10px; }
}

/* Vergleichstabelle auf dem Handy: eine kompakte Karte je Kriterium statt einer abgeschnittenen Tabelle.
   Oben unsere Antwort, darunter klein die beiden anderen Wege. Auf Tablets zwei Karten nebeneinander. */
@media (max-width: 860px) {
  .table-wrap { overflow: visible; padding: 0; border: 0; background: none; }
  .compare { display: block; min-width: 0; }
  .compare thead { display: none; }
  .compare tbody { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 10px; }
  .compare tbody tr { display: block; padding-bottom: 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r); background: rgba(255, 255, 255, .05); overflow: hidden; }
  .compare tbody th { display: block; width: auto; padding: 13px 16px 11px; border: 0; font-size: 1.0313rem; }
  .compare td { display: block; padding: 0 16px; border: 0; font-size: .875rem; line-height: 1.5; }
  .compare td::before { font-weight: 650; color: rgba(255, 255, 255, .86); }
  .compare td:nth-of-type(2)::before { content: "Mit Makler: "; }
  .compare td:nth-of-type(3)::before { content: "Privat: "; }
  .compare td.is-me, .compare tbody tr:last-child .is-me { margin: 0 0 9px; padding: 9px 16px; border-radius: 0; font-size: .9688rem; }
  .compare td.is-me .cell { gap: 8px; }
  .js .compare.is-short tbody tr:nth-child(n+5) { display: none; }
  .compare__more { display: inline-flex !important; }
}
.compare__more { display: none; margin-top: 14px; color: #fff; border-color: rgba(255, 255, 255, .42); background: transparent; }
.compare__more:hover { color: #fff; background: rgba(255, 255, 255, .1); }
@media (max-width: 640px) { .section { padding: 52px 0; } .section--assure { padding-top: 0; } }

/* Karten, die Links sind, zeigen einen Pfeil */
.situ article:has(h3 a) { padding-bottom: 54px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b6a4c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 22px bottom 20px; background-size: 20px; }

/* Orte ohne eigene Seite: Text statt Kästchen */
.regions .chips__more { margin: 12px 0 0; font-size: .9063rem; line-height: 1.6; color: var(--ink-2); }

/* Fragen auf der Startseite: erst sechs, der Rest auf Knopfdruck */
.js .faq.is-short details:nth-of-type(n+7) { display: none; }
.faq__more { justify-self: start; margin-top: 8px; }

/* Verlinkte Themen: eine einzelne letzte Karte füllt die Zeile */
.linklist a:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Anrufen sichtbarer: Nummer in der Navigation (breite Bildschirme und Menü), Knopf im Ablauf-Block, Beschriftung in der Leiste */
.nav a.nav__tel { display: none; }
@media (min-width: 1560px) {
  .nav { gap: 0; }
  .nav a:not(.btn) { padding-inline: 10px; }
  .nav a.nav__tel { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; padding-inline: 10px 2px; }
  .nav .btn { margin-left: 8px; }
}
@media (max-width: 1280px) { .nav a.nav__tel { display: flex; align-items: center; gap: 10px; font-weight: 650; } }
.ablauf__tel { padding: 11px 18px; border: 1px solid rgba(255, 255, 255, .36); border-radius: 999px; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.ablauf__tel:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }
.prose .ablauf__more { margin: 16px 0 0; font-size: .875rem; }
.prose .ablauf__more a { color: rgba(255, 255, 255, .84); }
/* Leiste unten: drei Wege, Bewerten, Anrufen, WhatsApp. Auf schmalen Handys heißt der erste Knopf kurz „Bewerten“. */
.cta-bar__kurz { display: none; }
@media (max-width: 520px) {
  .cta-bar .btn--primary { flex: 1 1 0; }
  .cta-bar__lang { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .cta-bar__kurz { display: inline; }
}
@media (max-width: 359px) { .cta-bar .btn svg { display: none; } .cta-bar .btn { padding-inline: 6px; font-size: .875rem; } }
/* WhatsApp im Assistenten */
.wz__oder { margin: 18px 0 8px; font-size: .875rem; font-weight: 650; color: var(--ink-2); text-align: center; }
.wz__wa { gap: 9px; }
.wz__wa svg { width: 20px; height: 20px; }
.faq-aside a + a { margin-top: -2px; }

/* Fragenblock: im Quelltext Überschrift, Fragen, weitere Themen. Auf breiten Bildschirmen stehen Überschrift und Themen links, die Fragen rechts. */
.faq-layout { grid-template-rows: auto 1fr; }
.faq-layout__head { grid-column: 1; grid-row: 1; }
.faq-layout > .faq { grid-column: 2; grid-row: 1 / span 2; }
.faq-layout__more { grid-column: 1; grid-row: 2; align-self: start; }
@media (max-width: 860px) {
  .faq-layout { row-gap: 0; grid-template-rows: none; }
  .faq-layout__head, .faq-layout > .faq, .faq-layout__more { grid-column: 1; grid-row: auto; }
  .faq-layout > .faq { margin: 6px 0 30px; }
}
.ablauf--kurz .ablauf__cta { margin: 0; padding: 0; border: 0; }

@media (max-width: 640px) {
  /* Startseite: kompakte Zeilen statt hoher Karten, damit die Seite auf dem Handy kürzer wird */
  .cards { gap: 12px; }
  .pcard:not(.pcard--note) { flex-direction: row; border-radius: var(--r); }
  .pcard:not(.pcard--note) .pcard__img { flex: 0 0 104px; aspect-ratio: auto; }
  .pcard:not(.pcard--note) .pcard__body { padding: 14px 16px; justify-content: center; }
  .pcard:not(.pcard--note) p { display: none; }
  .pcard:not(.pcard--note) h3 { font-size: 1.125rem; margin-bottom: .25em; }
  .pcard__go { font-size: .9063rem; }
  .pcard__go::after { width: 24px; height: 24px; }
  .situ { gap: 10px; }
  .situ article { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 16px; }
  .situ article:has(h3 a) { padding: 14px 48px 14px 16px; background-position: right 16px center; }
  .situ svg { width: 40px; height: 40px; padding: 9px; margin-bottom: 0; }
  .situ h3, .guide h3 { margin: 0; font-size: 1.0625rem; }
  .situ article:has(h3 a) p, .guide article:has(h3 a) p { display: none; }
  .guide article { padding: 17px 40px 17px 0; }
  .guide article:has(h3 a)::after { top: 50%; margin-top: -10px; right: 2px; }
  .guide article:not(:has(h3 a)) p { margin-top: 8px; }
  .linklist:has(a:nth-child(7)) a { padding: 13px 16px; }
  .linklist:has(a:nth-child(7)) span { display: none; }
  .ablauf__tel { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  /* Zusagen: Symbol und Überschrift in zwei Spalten, die Erläuterung steht in den Schritten darüber und in den Fragen */
  .assure__grid { gap: 16px 14px; border-top: 0; }
  .assure__grid div, .assure__grid div:nth-child(n) { display: flex; align-items: center; gap: 10px; padding: 0; border: 0; }
  .assure__grid svg { width: 38px; height: 38px; padding: 9px; margin: 0; flex: none; }
  .assure__grid strong { margin: 0; font-size: .9375rem; line-height: 1.25; }
  .assure__grid p { display: none; }

  /* Tabellen mit drei oder mehr Spalten: Zeilen als Karten statt seitlichem Scrollen */
  .prose .ptable--stapel { display: block; overflow: visible; }
  .ptable--stapel thead { display: none; }
  .ptable--stapel tbody, .ptable--stapel tr { display: block; }
  .ptable--stapel tr { padding: 13px 14px 12px; border-bottom: 1px solid var(--line); }
  .ptable--stapel tr:last-child { border-bottom: 0; }
  .prose .ptable--stapel tbody th { display: block; padding: 0 0 6px; border: 0; font-size: 1rem; }
  .prose .ptable--stapel td { display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); gap: 10px; padding: 3px 0; border: 0; font-size: .9063rem; }
  .ptable--stapel td::before { content: attr(data-label); font-weight: 650; color: var(--ink); }
}

/* ============ Hausverkauf-Rechner: steht im Kopfbereich anstelle des Bewertungs-Assistenten ============ */
.rechner .card__title { margin-bottom: .7em; }
.rfeld { margin-top: 14px; }
.rechner__form > .rfeld:first-child { margin-top: 0; }
.rfeld__kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 176px); gap: 12px; align-items: center; }
.rfeld__kopf label { font-size: .9688rem; font-weight: 650; line-height: 1.3; }
.rfeld input[type="range"] { margin-top: 6px; }
.rfeld .field__hint { margin: 4px 0 0; }
/* Unter „Weitere Abzüge“ stehen lange Begriffe: dort Beschriftung über dem Feld */
.rechner__weitere .rfeld__kopf { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.euro { position: relative; }
.euro .input { padding: .6em 44px .6em .8em; text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; font-size: 1.0625rem; }
.euro span { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); font-weight: 650; color: var(--ink-3); pointer-events: none; }
.rechner__weg { margin: 16px 0 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rechner__weg legend { padding: 0; margin-bottom: 7px; font-size: .9688rem; font-weight: 650; }
.rechner__opt { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); transition: border-color var(--t-hover) ease, background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); background: var(--g50); font-size: .9375rem; font-weight: 600; line-height: 1.25; cursor: pointer; }
.rechner__opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--g800); flex: none; }
.rechner__opt:has(input:checked) { border-color: var(--g800); background: var(--g100); }
.rechner__opt:has(input:focus-visible) { outline: 3px solid var(--g800); outline-offset: 2px; }
.rechner__weitere { margin-top: 14px; border-top: 1px solid var(--line); }
.rechner__weitere summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 0 6px; font-size: .9375rem; font-weight: 650; color: var(--g700); cursor: pointer; list-style: none; }
.rechner__weitere summary::-webkit-details-marker { display: none; }
.rechner__weitere summary::after { content: ""; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform var(--t-panel) var(--ease-out); }
.rechner__weitere[open] summary::after { transform: rotate(-135deg); }
.rechner__out { margin-top: 16px; padding: 20px 20px 18px; border-radius: var(--r); background: linear-gradient(150deg, var(--g800), var(--g950)); color: #fff; }
.rechner__out :focus-visible { outline-color: var(--amber); }
.rechner__out .rechner__label { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--g200); }
.rechner__out .rechner__sum { margin: 4px 0 14px; font: 480 clamp(2rem, 3.4vw, 2.5rem)/1.05 var(--display); letter-spacing: -.025em; color: #fff; font-variant-numeric: tabular-nums lining-nums; transition: color var(--t-hover) ease; }
.rechner__out .rechner__sum.is-minus { color: #ffb4a4; }
.rechner__out .rechner__leer { margin: 8px 0 0; color: rgba(255, 255, 255, .84); }
.rechner__bar { display: flex; height: 12px; margin-bottom: 10px; border-radius: 99px; overflow: hidden; background: rgba(255, 255, 255, .14); }
.rechner__bar i { display: block; height: 100%; }
.rechner .is-bleibt { background: var(--amber); }
.rechner .is-abzug--0 { background: rgba(255, 255, 255, .66); }
.rechner .is-abzug--1 { background: #8fc3a5; }
.rechner .is-abzug--2 { background: rgba(255, 255, 255, .42); }
.rechner .is-abzug--3 { background: #5e9c7c; }
.rechner .is-abzug--4 { background: rgba(255, 255, 255, .26); }
.rechner__list { margin: 0; }
.rechner__list div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9375rem; }
.rechner__list div:first-child { border-top: 0; }
.rechner__list dt { display: flex; align-items: baseline; gap: 8px; min-width: 0; color: rgba(255, 255, 255, .86); hyphens: auto; overflow-wrap: anywhere; }
.rechner__list dt i { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.rechner__list dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rechner__out .rechner__tipp { margin: 12px 0 0; padding: 11px 13px; border-radius: 12px; background: rgba(243, 180, 63, .17); color: #fff; font-size: .9063rem; line-height: 1.45; }
.rechner__out .rechner__kaeufer { margin: 10px 0 0; font-size: .8125rem; line-height: 1.5; color: rgba(255, 255, 255, .74); }
.rechner__out .rechner__mehr { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9063rem; color: rgba(255, 255, 255, .86); }
.rechner__out .rechner__mehr a { color: #fff; font-weight: 650; }
/* Auf dem Handy soll der Rechner direkt unter der Überschrift stehen */
@media (max-width: 640px) {
  .hero--tool .lead, .hero--tool .byline, .hero--tool .hero__contact { display: none; }
  .hero--tool .hero__copy { padding-bottom: 14px; }
  .rfeld__kopf { grid-template-columns: minmax(0, 1fr) minmax(0, 150px); }
}
@media print { .hero--tool .card { display: block !important; } .rechner__out { background: none; border: 1pt solid #999; } .rechner__out, .rechner__out * { color: #000 !important; } }

/* ============ Feinschliff nach Apple HIG, Emil Kowalski, taste und Impeccable (19.11.2026) ============ */

/* Zahlen in Tabellen und Listen stehen untereinander */
.ptable, .compare, .facts dd, .summary dd, .kennzahlen dd, .hero__stats strong { font-variant-numeric: lining-nums; }
.ptable td, .facts dd, .summary dd { font-variant-numeric: tabular-nums lining-nums; }

/* Finger statt Maus: alles Antippbare ist mindestens 44 px hoch */
@media (pointer: coarse) {
  .chips li a, .related a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer nav { gap: 0; }
  .footer nav::before { margin-bottom: 8px; }
  .footer nav a { padding-block: 10px; }
  .pcard__go { min-height: 44px; }
  .crumbs a { padding-block: 12px; }
  .faq-aside a, .side-card__tel, .contact-card a, .brand { min-height: 44px; }
  .summary__wrap summary { padding-block: 10px; }
  .contact-card { gap: 6px; }
  .pcard h3 a { display: inline-block; padding-block: 11px; margin-block: -11px; }
  input[type="range"] { height: 44px; }
}

/* Weniger Transparenz gewünscht: Milchglas wird zu festen Flächen */
@media (prefers-reduced-transparency: reduce) {
  .header, .cta-bar, .split__badge, .region__photo figcaption, .hero__stats, .contact-card { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header { background: var(--bg); }
  .cta-bar, .split__badge, .region__photo figcaption { background: #fff; }
  .hero__stats { background: var(--g950); }
  .contact-card { background: var(--g800); }
}

/* Mehr Kontrast gewünscht: kräftigere Linien und Texte, feste Flächen */
@media (prefers-contrast: more) {
  :root { --line: #8b948a; --hair: rgba(16, 32, 26, .5); --ink-2: #2c3832; --ink-3: #36423b; }
  .header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: var(--line-strong); }
  .cta-bar { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: var(--ink); }
  .btn--ghost { border-color: var(--ink); }
  .hero .lead, .hero__stats span, .hero .hero__who, .section--dark .section__lead, .compare td { color: #fff; }
  .hero__media::after, .hero--sub .hero__media::after { background: rgba(8, 24, 17, .9); }
  input[type="range"]::-webkit-slider-runnable-track { box-shadow: inset 0 0 0 1px var(--ink); }
}

/* Lesbare Zeilenlänge: höchstens rund 75 Zeichen je Zeile. 52ch sind in Figtree etwa 74 bis 78 Zeichen, bei jeder
   Schriftgröße, weil ch mit der Schrift wächst. Tabellen, Kartenraster und Trennlinien behalten die volle Spaltenbreite. */
.lead, .section__lead, .fine, .about p, .faq details p, .faq-aside p, .regions .chips__more, .steps p, .rechner__out p { max-width: 52ch; }
.blk p:not([class^="ablauf"]), .blk ul:not(.karten) > li, .blk ol:not(.karten) > li, .prose > p { max-width: 52ch; }
.prose .karten li > * { max-width: 52ch; }
.note { max-width: calc(52ch + 46px); }
