/* Quellhaus Immobilien (Kreativ) · Konzeptseite von ramoxmedia
   Maßsystem: Der Desktop-Entwurf ist 2512 px breit. --u ist ein Entwurfspixel, skaliert mit der Seitenbreite
   und endet bei 2512 px. Auf breiten, niedrigen Fenstern richtet es sich nach der Höhe: Konzeptleiste,
   Kopfzeile und erster Bildschirm (1112 Entwurfspixel) passen dann ins Fenster, höchstens bis auf halbe Größe.
   Positionen stammen aus der Vermessung des freigegebenen Entwurfs (.impeccable/build/spec.json),
   Textoberkanten sind Versal-Oberkanten (text-box-trim). */

@font-face { font-family: "Carlito"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/carlito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Carlito"; font-style: italic; font-weight: 400; font-display: swap; src: url("../assets/fonts/carlito-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Carlito"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/carlito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Carlito"; font-style: italic; font-weight: 700; font-display: swap; src: url("../assets/fonts/carlito-latin-700-italic.woff2") format("woff2"); }

:root {
  --papier: #f3f3f1;        /* Kartenweiß, gleich dem Papier der Plates */
  --kopf-grund: #f6f6f2;
  --tusche: #28353a;
  --tusche-tief: #263538;   /* Konzeptleiste, dunkler Knopf */
  --rot: #b83928;           /* Grenzpunkt-Rot: Hauptknopf, Aktives, Wert. Weiß darauf 5,4:1, als Schrift auf Papier 5,2:1 */
  --rot-tief: #9e2f20;
  --strich: #8a9094;        /* senkrechte Trennstriche im Kopf */
  --feldrand: #878d91;      /* Ränder der Eingabefelder: 3:1 auf der Karte */
  --kartenrand: #c9cac6;
  --karte-grund: #f7f7f4;
  --leise: #4d5a5f;
  --schrift: "Carlito", Calibri, "Segoe UI", system-ui, sans-serif;
  --u: calc(min(100cqw, 2512px, max(100vh * 2512 / 1112, 1256px)) / 2512);
  --rand: max(calc(115 * var(--u)), calc((100% - 2512 * var(--u)) / 2 + 115 * var(--u)));
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; color: var(--tusche); font-family: var(--schrift); background: var(--papier); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--tusche); color: var(--papier); }
:focus-visible { outline: 2px solid var(--rot); outline-offset: 3px; }
[hidden] { display: none !important; }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.seite { container-type: inline-size; overflow-x: clip; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Bilder in Effekten sind keine Ziele: langes Drücken am Handy öffnet sonst die Bildvorschau */
.haus, .flurkarte, .stadtplan, .karte { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.haus img, .flurkarte img, .stadtplan img { pointer-events: none; -webkit-user-drag: none; }

/* Text bündig an Versalhöhe und Grundlinie, damit die Abstände aus dem Entwurf stimmen */
h1, h2, .claim, .einleitung, .fakten li, .konzept-text, .nav a, .knopf, .wert-karte .feld > label, .wert-label, .wert-ergebnis, .massstab span, .nordpfeil span { text-box: trim-both cap alphabetic; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--tusche-tief); color: #fff; text-decoration: none;
  font-family: var(--schrift); font-weight: 700; border: 0; border-radius: 0;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.knopf:hover { background: #1b2629; }
.knopf--rot { background: var(--rot); }
.knopf--rot:hover { background: var(--rot-tief); }
.knopf--rahmen { background: transparent; color: var(--tusche); box-shadow: inset 0 0 0 calc(2.5 * var(--u)) var(--tusche); }
.knopf--rahmen:hover { background: rgb(40 53 58 / .07); }

/* ---------- Konzeptleiste ---------- */
.konzept { background: var(--tusche-tief); color: #d9dedd; height: calc(57 * var(--u)); display: flex; align-items: center; padding-left: calc(var(--rand) - 43 * var(--u)); }
.konzept-text { font-size: calc(24.5 * var(--u)); font-weight: 400; letter-spacing: -.01em; }
.konzept-link { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; margin-left: .8em; }
.konzept-link:hover { color: #fff; text-decoration-thickness: 2px; }

/* ---------- Kopfzeile: gebaut wie der Kopf eines Kartenauszugs ---------- */
.kopf { --kopf-rand: max(0px, (100% - 2512 * var(--u)) / 2); position: relative; height: calc(178 * var(--u)); background: var(--kopf-grund); border-bottom: calc(2 * var(--u)) solid var(--tusche); }
.kopf > * { position: absolute; }
.logo { left: calc(var(--kopf-rand) + 88 * var(--u)); top: calc(23 * var(--u)); }
.logo img { width: calc(264 * var(--u)); }
.kopf::before, .kopf::after { content: ""; position: absolute; top: calc(43 * var(--u)); width: calc(2 * var(--u)); height: calc(76 * var(--u)); background: var(--strich); }
.kopf::before { left: calc(var(--kopf-rand) + 415 * var(--u)); }
.kopf::after { left: calc(var(--kopf-rand) + 2103 * var(--u)); }
.nav { left: calc(var(--kopf-rand) + 493 * var(--u)); top: calc(73 * var(--u)); }
.nav ul { display: flex; }
/* Wortanfänge wie im Entwurf: 495, 685, 871, 1058, 1204 */
.nav li:nth-child(1) { width: calc(190 * var(--u)); }
.nav li:nth-child(2) { width: calc(186 * var(--u)); }
.nav li:nth-child(3) { width: calc(187 * var(--u)); }
.nav li:nth-child(4) { width: calc(146 * var(--u)); }
.nav a { display: inline-block; font-size: calc(31 * var(--u)); text-decoration: none; color: var(--tusche); }
.nav a:hover { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.menue-knopf { display: none; }

.massstab { left: calc(var(--kopf-rand) + 1630 * var(--u)); top: calc(64 * var(--u)); width: calc(330 * var(--u)); height: calc(37 * var(--u)); color: var(--tusche); }
.massstab span { position: absolute; top: 0; font-size: calc(24 * var(--u)); line-height: 1; }
.massstab-null { left: 0; }
.massstab-ende { right: 0; }
.massstab-leiste {
  left: calc(5 * var(--u)); top: calc(29 * var(--u)) !important; width: calc(284 * var(--u)); height: calc(8 * var(--u));
  /* sieben Abschnitte wie auf dem Kartenkopf, schwarz beginnend */
  background: linear-gradient(90deg, var(--tusche) 0 14.3%, #fbfbf8 14.3% 28.6%, var(--tusche) 28.6% 42.9%, #fbfbf8 42.9% 57.1%, var(--tusche) 57.1% 71.4%, #fbfbf8 71.4% 85.7%, var(--tusche) 85.7%);
  box-shadow: inset 0 0 0 calc(1.5 * var(--u)) var(--tusche);
}
.nordpfeil { left: calc(var(--kopf-rand) + 2035 * var(--u)); top: calc(30 * var(--u)); width: calc(22 * var(--u)); }
.nordpfeil svg { display: block; width: calc(22 * var(--u)); height: calc(80 * var(--u)); }
.nordpfeil-voll { fill: var(--tusche); }
.nordpfeil-hohl { fill: var(--kopf-grund); stroke: var(--tusche); stroke-width: 1.2; stroke-linejoin: round; }
.nordpfeil span { display: block; margin-top: calc(14 * var(--u)); text-align: center; font-size: calc(31 * var(--u)); line-height: 1; }
.kopf-knopf { left: calc(var(--kopf-rand) + 2155 * var(--u)); top: calc(44 * var(--u)); width: calc(298 * var(--u)); height: calc(75 * var(--u)); font-size: max(17px, calc(28.5 * var(--u))); }

/* ---------- Erster Bildschirm: Auszug aus der Flurkarte ---------- */
.hero { position: relative; height: calc(877 * var(--u)); border-bottom: calc(2 * var(--u)) solid #7c8285; }
.hero-buehne { position: relative; width: calc(2512 * var(--u)); height: 100%; margin: 0 auto; }
/* Flurstücks-Skizzen leicht durchsichtig (Ramos einzige Änderung am Entwurf) */
.flurkarte img { position: absolute; left: 0; top: calc(-1 * var(--u)); width: 100%; height: calc(878 * var(--u)); object-fit: cover; opacity: .78; }
.hero-text { position: absolute; left: calc(326 * var(--u)); top: calc(113 * var(--u)); width: calc(780 * var(--u)); }
.hero h1 { font-weight: 700; font-size: calc(85 * var(--u)); line-height: calc(85 * var(--u)); letter-spacing: .006em; }
.claim { margin-top: calc(33 * var(--u)); font-style: italic; font-weight: 700; font-size: calc(56 * var(--u)); line-height: 1; letter-spacing: .004em; }
.einleitung { margin-top: calc(67.5 * var(--u)); font-size: calc(33.5 * var(--u)); line-height: calc(38 * var(--u)); }
.hero-knoepfe { display: flex; gap: calc(39 * var(--u)); margin-top: calc(48 * var(--u)); margin-left: calc(3 * var(--u)); }
.hero-knoepfe .knopf { height: calc(81 * var(--u)); font-size: max(17px, calc(30.5 * var(--u))); }
.knopf--rot { width: calc(351 * var(--u)); }
.hero-knoepfe .knopf--rahmen { width: calc(349 * var(--u)); }

/* Fakten wie Anmerkungen auf der Karte: rote Stecknadel, erste Zeile neben der Spitze */
.fakten { display: grid; grid-template-columns: calc(299 * var(--u)) calc(275 * var(--u)) auto; margin-top: calc(99 * var(--u)); margin-left: calc(3 * var(--u)); }
.fakten li { position: relative; text-indent: calc(19 * var(--u)); font-size: calc(28.5 * var(--u)); line-height: calc(34 * var(--u)); }
.fakten li::before, .fakten li::after { content: ""; position: absolute; }
.fakten li::before { left: calc(5 * var(--u)); top: calc(-49 * var(--u)); width: calc(13 * var(--u)); height: calc(13 * var(--u)); border-radius: 50%; background: var(--rot); }
.fakten li::after { left: calc(10 * var(--u)); top: calc(-42 * var(--u)); width: calc(3 * var(--u)); height: calc(52 * var(--u)); background: linear-gradient(var(--rot) 88%, var(--tusche) 88%); }

.haus { position: absolute; left: calc(1205 * var(--u)); top: calc(-1 * var(--u)); width: calc(1120 * var(--u)); height: calc(860 * var(--u)); }
.haus img { width: 100%; height: 100%; object-fit: cover; }
/* Effekt A, aus der Zeichnung wird das Haus: unten die Zeichnung, darüber der Ruhezustand (links Zeichnung, rechts Foto).
   Beim ersten Besuch wischt das Foto von rechts herein, nur mit transform: der Rahmen fährt nach links, das Bild darin gleich weit zurück. */
.haus-zeichnung, .haus-wisch { position: absolute; inset: 0; }
.haus-wisch { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, rgb(0 0 0 / 0), #000 9%); mask-image: linear-gradient(90deg, rgb(0 0 0 / 0), #000 9%); }
.haus-wisch img { display: block; }
.flurkarte, .stadtplan, .haus picture { display: block; }
.haus picture { width: 100%; height: 100%; }
.entwickeln .haus-wisch { transform: translateX(100%); }
.entwickeln .haus-wisch img { transform: translateX(-100%); }
.entwickeln.haus-bereit .haus-wisch { animation: wisch-rahmen 1.35s cubic-bezier(.25, .7, .2, 1) .1s both; }
.entwickeln.haus-bereit .haus-wisch img { animation: wisch-bild 1.35s cubic-bezier(.25, .7, .2, 1) .1s both; }
@keyframes wisch-rahmen { from { transform: translateX(100%); } to { transform: none; } }
@keyframes wisch-bild { from { transform: translateX(-100%); } to { transform: none; } }
/* Logo zeichnet sich gleichzeitig von links ein */
.logo { overflow: hidden; }
.entwickeln .logo { animation: wisch-bild 1.1s cubic-bezier(.4, .1, .2, 1) .15s both; }
.entwickeln .logo-bild { animation: wisch-rahmen 1.1s cubic-bezier(.4, .1, .2, 1) .15s both; }

/* ---------- Wertspanne mit Stadtteil-Karte ---------- */
.wert { position: relative; height: calc(720 * var(--u)); overflow: clip; }
.wert-buehne { position: relative; width: calc(2512 * var(--u)); height: 100%; margin: 0 auto; }
.stadtplan img { position: absolute; left: calc(992 * var(--u)); top: 0; width: calc(1520 * var(--u)); height: auto; }
.stadtplan::after { content: ""; position: absolute; left: calc(992 * var(--u)); top: calc(548 * var(--u)); width: calc(1520 * var(--u)); height: calc(172 * var(--u)); background: linear-gradient(rgb(243 243 241 / 0), var(--papier)); }
.wert h2 { position: absolute; left: calc(117 * var(--u)); top: calc(75 * var(--u)); font-size: calc(74 * var(--u)); font-weight: 700; line-height: 1; letter-spacing: -.004em; z-index: 1; }
.wert-karte { position: absolute; left: calc(126 * var(--u)); top: calc(164 * var(--u)); width: calc(872 * var(--u)); height: calc(330 * var(--u)); background: var(--karte-grund); box-shadow: inset 0 0 0 calc(2 * var(--u)) var(--kartenrand); z-index: 1; }
.wert-karte .feld { position: absolute; top: calc(32 * var(--u)); }
.feld-stadtteil { left: calc(44 * var(--u)); width: calc(390 * var(--u)); }
.feld-flaeche { left: calc(474 * var(--u)); width: calc(352 * var(--u)); }
.wert-karte .feld > label, .wert-label { display: block; font-size: calc(21 * var(--u)); font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: .18em; }
.auswahl, .eingabe { position: relative; margin-top: calc(13 * var(--u)); height: calc(73 * var(--u)); }
.auswahl select, .eingabe input {
  width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; background: #f8f8f5; color: var(--tusche);
  box-shadow: inset 0 0 0 calc(2 * var(--u)) var(--feldrand); font-family: var(--schrift); font-size: calc(29 * var(--u)); font-weight: 400;
  -webkit-appearance: none; appearance: none; transition: box-shadow .15s ease;
}
.auswahl select { padding: 0 calc(70 * var(--u)) 0 calc(28 * var(--u)); cursor: pointer; }
.eingabe input { padding: 0 calc(90 * var(--u)) 0 calc(30 * var(--u)); -moz-appearance: textfield; }
.eingabe input::-webkit-outer-spin-button, .eingabe input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.auswahl select:hover, .eingabe input:hover { box-shadow: inset 0 0 0 calc(2 * var(--u)) var(--tusche); }
.auswahl select:focus-visible, .eingabe input:focus-visible { outline: 3px solid var(--rot); outline-offset: -3px; }
.auswahl-pfeil { position: absolute; right: calc(26 * var(--u)); top: 50%; translate: 0 -50%; width: calc(30 * var(--u)); height: calc(30 * var(--u)); color: var(--rot); pointer-events: none; }
.einheit { position: absolute; right: calc(33 * var(--u)); top: 50%; translate: 0 -50%; font-size: calc(29 * var(--u)); line-height: 1; cursor: text; }
.wert-karte::after { content: ""; position: absolute; left: calc(46 * var(--u)); top: calc(179 * var(--u)); width: calc(776 * var(--u)); height: calc(2 * var(--u)); background: var(--kartenrand); }
.wert-label { position: absolute; left: calc(47 * var(--u)); top: calc(196 * var(--u)); letter-spacing: .27em; color: #5d676b; }
.wert-ergebnis { position: absolute; left: calc(47 * var(--u)); top: calc(237 * var(--u)); display: block; font-size: calc(63.5 * var(--u)); font-weight: 700; line-height: 1; color: var(--rot); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wert-hinweis { position: absolute; left: calc(128 * var(--u)); top: calc(560 * var(--u)); width: calc(870 * var(--u)); font-size: calc(24 * var(--u)); line-height: calc(34 * var(--u)); color: var(--leise); z-index: 1; }
.wert-hinweis a { color: var(--tusche); text-underline-offset: .2em; }

/* Karte: zur Laufzeit aus den Ortsbezirken gezeichnet (js/wertkarte.js), Maßstab 1,1 Entwurfspixel je Karteneinheit */
.karte { position: absolute; left: calc(1232 * var(--u)); top: calc(-171 * var(--u)); width: calc(1100 * var(--u)); height: calc(989 * var(--u)); }
.karte svg { display: block; width: 100%; height: 100%; overflow: visible; }
.bezirk { stroke: var(--tusche); stroke-width: 1.4; stroke-opacity: .85; cursor: pointer; transition: stroke-opacity .15s ease; }
.bezirk:hover { stroke-width: 2.4; stroke-opacity: 1; }
.bezirk.aktiv { stroke: var(--rot); stroke-width: 2.6; stroke-opacity: 1; }
.beschriftung-grund { fill: var(--papier); fill-opacity: .92; }
.beschriftung { font-family: var(--schrift); font-size: 21px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; fill: var(--tusche); text-anchor: middle; paint-order: stroke; stroke: var(--papier); stroke-width: 5px; stroke-linejoin: round; pointer-events: none; }
.karte { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.wert-ergebnis.wert-fehler { font-size: calc(36 * var(--u)); color: var(--tusche); top: calc(250 * var(--u)); }

/* ---------- Abschnitte nach dem ersten Bildschirm: gleiche Tusche, gleiche Maßlinien ---------- */
.abschnitt { position: relative; padding: calc(210 * var(--u)) var(--rand) 0; }
/* Maßlinie über jedem Abschnitt: Linie mit Endstrichen wie eine Bemaßung */
.abschnitt::before { content: ""; position: absolute; left: var(--rand); right: var(--rand); top: calc(96 * var(--u)); height: calc(22 * var(--u)); border-inline: calc(2 * var(--u)) solid #9aa0a3; background: linear-gradient(#9aa0a3, #9aa0a3) center / 100% calc(2 * var(--u)) no-repeat; }
.abschnitt h2 { font-size: calc(74 * var(--u)); font-weight: 700; line-height: calc(80 * var(--u)); letter-spacing: -.004em; max-width: calc(1500 * var(--u)); text-wrap: balance; }
.abschnitt h3 { margin: 0; font-weight: 700; }
.abschnitt-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: calc(80 * var(--u)); }
.abschnitt-text { margin-top: calc(44 * var(--u)); max-width: calc(1180 * var(--u)); font-size: calc(33.5 * var(--u)); line-height: calc(47 * var(--u)); }
.abschnitt-kopf .abschnitt-text { margin-top: 0; max-width: calc(980 * var(--u)); }
.abschnitt-text a, .datenstand a, .kosten-recht a { color: var(--tusche); text-underline-offset: .2em; }
a[href^="tel:"] { white-space: nowrap; }
.abschnitt-weiter { margin-top: calc(64 * var(--u)); font-size: max(17px, calc(30 * var(--u))); }
.abschnitt-weiter a { font-weight: 700; color: var(--tusche); text-decoration: underline; text-decoration-thickness: calc(2 * var(--u)); text-underline-offset: .28em; transition: text-decoration-color .2s ease; }
.abschnitt-weiter a:hover { text-decoration-color: var(--rot); }
.leise { color: var(--leise); }
.abschnitt-weiter .leise { margin-left: calc(28 * var(--u)); font-size: calc(24 * var(--u)); }

/* Verkaufen in fünf Schritten: eine Maßkette, die Grenzpunkte tragen die Nummer */
.schritte { counter-reset: schritt; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: calc(64 * var(--u)); margin-top: calc(120 * var(--u)); }
.schritte::before { content: ""; position: absolute; left: calc(20 * var(--u)); right: 0; top: 0; height: calc(2.5 * var(--u)); background: var(--tusche); }
.schritte::after { content: ""; position: absolute; right: 0; top: calc(-14 * var(--u)); width: calc(2.5 * var(--u)); height: calc(30 * var(--u)); background: var(--tusche); }
.schritte li { counter-increment: schritt; position: relative; padding-top: calc(78 * var(--u)); }
.schritte li::before {
  content: counter(schritt); position: absolute; left: 0; top: calc(-21 * var(--u)); width: calc(42 * var(--u)); height: calc(42 * var(--u));
  display: grid; place-items: center; border-radius: 50%; background: var(--papier); border: calc(3 * var(--u)) solid var(--rot);
  color: var(--rot); font-size: calc(22 * var(--u)); font-weight: 700; line-height: 1;
}
.schritte h3 { font-size: max(17px, calc(36 * var(--u))); line-height: calc(42 * var(--u)); }
.schritte p { margin-top: calc(22 * var(--u)); font-size: calc(28.5 * var(--u)); line-height: calc(41 * var(--u)); color: #3b484d; }

/* Preise je Stadtteil: jede Zeile eine Bemaßung, ihre Länge ist der Preis */
.preis-wahl { display: inline-flex; margin-top: calc(76 * var(--u)); box-shadow: inset 0 0 0 calc(2.5 * var(--u)) var(--tusche); }
.preis-wahl button { height: calc(68 * var(--u)); padding: 0 calc(34 * var(--u)); border: 0; background: transparent; color: var(--tusche); font: 700 max(17px, calc(28 * var(--u))) var(--schrift); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.preis-wahl button + button { box-shadow: inset calc(2.5 * var(--u)) 0 0 var(--tusche); }
.preis-wahl button:hover { background: rgb(40 53 58 / .07); }
.preis-wahl button[aria-pressed="true"] { background: var(--tusche); color: #fff; }
.preisliste { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(13, auto); grid-auto-flow: column; column-gap: calc(150 * var(--u)); margin-top: calc(54 * var(--u)); }
.preisliste li { display: grid; grid-template-columns: calc(290 * var(--u)) 1fr calc(200 * var(--u)); align-items: center; gap: calc(24 * var(--u)); min-height: calc(62 * var(--u)); padding-block: calc(22 * var(--u)); border-bottom: calc(1.5 * var(--u)) solid #d3d5d1; font-size: max(17px, calc(30 * var(--u))); }
.pl-mass { height: calc(16 * var(--u)); width: calc(var(--anteil) * 100%); border-inline: calc(2 * var(--u)) solid var(--tusche); background: linear-gradient(var(--tusche), var(--tusche)) center / 100% calc(2 * var(--u)) no-repeat; transform-origin: left center; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.preisliste.neu .pl-mass { transform: scaleX(0); transition: none; }
@media (prefers-reduced-motion: reduce) { .pl-mass { transition: none; } .preisliste.neu .pl-mass { transform: none; } }
.preisliste li:first-child .pl-mass { border-color: var(--rot); background-image: linear-gradient(var(--rot), var(--rot)); }
.pl-wert { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.geschaetzt .pl-name { font-style: italic; }
.geschaetzt .pl-wert { color: var(--leise); }
.datenstand { margin-top: calc(48 * var(--u)); max-width: calc(1000 * var(--u)); font-size: calc(26 * var(--u)); line-height: calc(38 * var(--u)); color: var(--leise); }

/* Angebote wie im Exposé: Foto, darüber der Grundriss auf einem Blatt Papier */
.angebote { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(72 * var(--u)); margin-top: calc(96 * var(--u)); }
.objekt-bild { position: relative; margin-bottom: calc(76 * var(--u)); }
.objekt-bild picture img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.objekt-grundriss { position: absolute; right: calc(28 * var(--u)); bottom: calc(-64 * var(--u)); width: calc(220 * var(--u)); height: calc(220 * var(--u)); padding: calc(12 * var(--u)); background: var(--papier); box-shadow: 0 calc(6 * var(--u)) calc(18 * var(--u)) rgb(40 53 58 / .18), inset 0 0 0 calc(1.5 * var(--u)) #b9bdbe; }
.objekt h3 { margin-top: 0; max-width: calc(470 * var(--u)); font-size: max(17px, calc(36 * var(--u))); line-height: calc(42 * var(--u)); }
.objekt-daten { margin-top: calc(14 * var(--u)); font-size: calc(29 * var(--u)); }
.objekt-preis { margin-top: calc(18 * var(--u)); font-size: calc(46 * var(--u)); font-weight: 700; font-variant-numeric: tabular-nums; }
.objekt-klein { margin-top: calc(12 * var(--u)); font-size: calc(22 * var(--u)); line-height: calc(31 * var(--u)); color: var(--leise); }
.objekt-preis + .objekt-klein { margin-top: calc(20 * var(--u)); padding-top: calc(18 * var(--u)); border-top: calc(1.5 * var(--u)) solid #d3d5d1; }

.verkauft-titel { margin-top: calc(150 * var(--u)) !important; font-size: calc(44 * var(--u)); }
.verkauft-titel span { font-weight: 400; font-size: calc(30 * var(--u)); color: var(--leise); }
.verkauft { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(72 * var(--u)); margin-top: calc(48 * var(--u)); }
.verkauft li { position: relative; }
.verkauft img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: saturate(.55) contrast(.95); }
.verkauft-text { margin-top: calc(22 * var(--u)); font-size: calc(27 * var(--u)); line-height: calc(38 * var(--u)); }
.verkauft-text strong { display: block; font-size: max(17px, calc(30 * var(--u))); }
.stempel {
  position: absolute; right: calc(26 * var(--u)); top: calc(26 * var(--u)); padding: calc(12 * var(--u)) calc(22 * var(--u)) calc(10 * var(--u));
  border: calc(4 * var(--u)) solid var(--rot); border-radius: calc(6 * var(--u)); background: rgb(247 247 244 / .9); color: var(--rot);
  font-size: calc(27 * var(--u)); font-weight: 700; line-height: 1.1; letter-spacing: .16em; text-transform: uppercase; text-align: center; transform: rotate(-9deg);
}
.stempel small { display: block; margin-top: calc(4 * var(--u)); font-size: calc(19 * var(--u)); font-weight: 400; letter-spacing: .05em; text-transform: none; }

/* Jedes Objektfoto steht in seinem Flurstück: Rahmen mit roten Grenzpunkten an den Ecken, Flurstücksnummer darüber */
.flurstueck { --abstand: calc(14 * var(--u)); --punkt: 14px; position: relative; }
.flurstueck::before, .flurstueck::after { content: ""; position: absolute; pointer-events: none; }
.flurstueck::before { inset: calc(-1 * var(--abstand)); border: calc(1.5 * var(--u)) solid #9aa0a3; }
.flurstueck::after {
  inset: calc(-1 * var(--abstand) - var(--punkt) / 2);
  --ring: radial-gradient(circle, var(--papier) 0 3.5px, var(--rot) 3.6px 5.4px, rgb(243 243 241 / 0) 5.8px);
  background: var(--ring) 0 0, var(--ring) 100% 0, var(--ring) 0 100%, var(--ring) 100% 100%;
  background-size: var(--punkt) var(--punkt); background-repeat: no-repeat;
}
.flurnummer { position: absolute; left: calc(-1 * var(--abstand) + var(--punkt)); bottom: calc(100% + var(--abstand) + 10 * var(--u)); font-size: max(13px, calc(23 * var(--u))); font-style: italic; color: #5d676b; line-height: 1; }
.objekt-bild { margin-top: calc(50 * var(--u)); }
.objekt-grundriss { z-index: 2; }
.verkauft-bild { margin-top: calc(50 * var(--u)); }
.verkauft .stempel { top: calc(76 * var(--u)); z-index: 2; }

/* Kosten: Tabelle wie ein Flurstücksverzeichnis, daneben die Beispielrechnung */
.kosten-raster { display: grid; grid-template-columns: 1.55fr 1fr; gap: calc(110 * var(--u)); align-items: start; margin-top: calc(90 * var(--u)); }
.kosten-tabelle table { width: 100%; border-collapse: collapse; }
.kosten-tabelle th, .kosten-tabelle td { padding: calc(26 * var(--u)) calc(28 * var(--u)) calc(26 * var(--u)) 0; text-align: left; vertical-align: top; border-bottom: calc(1.5 * var(--u)) solid #c9cac6; }
.kosten-tabelle thead th { padding-top: 0; font-size: calc(21 * var(--u)); letter-spacing: .16em; text-transform: uppercase; color: var(--leise); border-bottom: calc(2.5 * var(--u)) solid var(--tusche); }
.kosten-tabelle tbody th { width: 30%; font-size: max(17px, calc(30 * var(--u))); line-height: calc(40 * var(--u)); }
.kosten-tabelle td { font-size: max(17px, calc(28.5 * var(--u))); line-height: calc(40 * var(--u)); }
.kosten-tabelle td:last-child { width: 26%; font-weight: 700; padding-right: 0; }
.kosten-recht { margin-top: calc(32 * var(--u)); font-size: calc(24 * var(--u)); color: var(--leise); }
.rechnung { padding: calc(56 * var(--u)) calc(56 * var(--u)) calc(50 * var(--u)); background: var(--karte-grund); box-shadow: inset 0 0 0 calc(2 * var(--u)) var(--kartenrand); }
.rechnung h3 { font-size: max(17px, calc(34 * var(--u))); line-height: calc(42 * var(--u)); }
.rechnung dl { margin: calc(34 * var(--u)) 0 0; }
.rechnung dl div { display: flex; justify-content: space-between; gap: calc(24 * var(--u)); padding: calc(18 * var(--u)) 0; border-bottom: calc(1.5 * var(--u)) solid #d3d5d1; font-size: max(17px, calc(28 * var(--u))); }
.rechnung dt { margin: 0; }
.rechnung dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rechnung .summe { border-bottom: 0; border-top: calc(2.5 * var(--u)) solid var(--tusche); margin-top: calc(-1.5 * var(--u)); font-size: max(17px, calc(32 * var(--u))); font-weight: 700; }
.rechnung > p { margin-top: calc(26 * var(--u)); font-size: calc(24 * var(--u)); line-height: calc(34 * var(--u)); color: var(--leise); }
.rechnung .abschnitt-weiter { margin-top: calc(34 * var(--u)); font-size: max(17px, calc(28 * var(--u))); color: inherit; }

/* Team: Grundriss des Büros, die Plätze tragen dieselbe Nummer wie die Liste */
.team-raster { display: grid; grid-template-columns: 1.45fr 1fr; gap: calc(110 * var(--u)); align-items: center; margin-top: calc(80 * var(--u)); }
.buero-plan { position: relative; }
.buero-plan img { width: 100%; }
.platz {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; display: grid; place-items: center;
  width: calc(54 * var(--u)); height: calc(54 * var(--u)); border-radius: 50%; background: var(--rot); color: #fff;
  font-size: calc(26 * var(--u)); font-weight: 700; line-height: 1; box-shadow: 0 0 0 calc(5 * var(--u)) var(--papier);
}
.platz-tisch { width: auto; height: auto; padding: calc(8 * var(--u)) calc(14 * var(--u)); border-radius: 0; background: rgb(243 243 241 / .88); color: var(--tusche); box-shadow: none; font-size: calc(20 * var(--u)); letter-spacing: .14em; text-transform: uppercase; }
.buero figcaption { margin-top: calc(22 * var(--u)); font-size: calc(24 * var(--u)); color: var(--leise); }
.team { counter-reset: platz; }
.team li { counter-increment: platz; position: relative; padding: calc(36 * var(--u)) 0 calc(36 * var(--u)) calc(92 * var(--u)); border-top: calc(1.5 * var(--u)) solid #c9cac6; }
.team li:last-child { border-bottom: calc(1.5 * var(--u)) solid #c9cac6; }
.team li::before {
  content: counter(platz); position: absolute; left: 0; top: calc(36 * var(--u)); display: grid; place-items: center;
  width: calc(54 * var(--u)); height: calc(54 * var(--u)); border-radius: 50%; background: var(--rot); color: #fff; font-size: calc(26 * var(--u)); font-weight: 700;
}
.team h3 { font-size: max(17px, calc(40 * var(--u))); line-height: 1; }
.rolle { margin-top: calc(10 * var(--u)); font-size: calc(21 * var(--u)); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--leise); }
.team p:last-child { margin-top: calc(14 * var(--u)); font-size: calc(29 * var(--u)); line-height: calc(41 * var(--u)); }

/* Stimmen */
.bewertung-schnitt { font-size: calc(30 * var(--u)); white-space: nowrap; }
.bewertung-schnitt strong { font-size: calc(74 * var(--u)); line-height: 1; margin-right: calc(10 * var(--u)); }
.bewertung-schnitt span { color: var(--leise); }
.stimmen { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(90 * var(--u)); margin-top: calc(90 * var(--u)); }
.stimmen figure { padding-top: calc(42 * var(--u)); border-top: calc(2.5 * var(--u)) solid var(--tusche); }
.stimmen blockquote { margin: 0; quotes: "\201E" "\201C"; }
.stimmen blockquote p { font-size: calc(34 * var(--u)); line-height: calc(49 * var(--u)); font-style: italic; }
.stimmen blockquote p::before { content: open-quote; }
.stimmen blockquote p::after { content: close-quote; }
.stimmen figcaption { margin-top: calc(28 * var(--u)); font-size: calc(23 * var(--u)); color: var(--leise); }
.pruefhinweis { margin-top: calc(60 * var(--u)); font-size: calc(23 * var(--u)); color: var(--leise); }

/* Lebenslagen */
.lagen { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(90 * var(--u)); margin-top: calc(80 * var(--u)); }
.lagen > div { padding-top: calc(40 * var(--u)); border-top: calc(1.5 * var(--u)) solid #9aa0a3; }
.lagen h3 { font-size: max(17px, calc(40 * var(--u))); line-height: 1; }
.lagen p { margin-top: calc(22 * var(--u)); font-size: calc(29 * var(--u)); line-height: calc(42 * var(--u)); }

/* Erstgespräch buchen in drei Schritten */
.termin-form { max-width: calc(1560 * var(--u)); margin-top: calc(80 * var(--u)); }
.formular-fortschritt { display: flex; gap: calc(14 * var(--u)); }
.formular-fortschritt li { flex: 1; padding-top: calc(20 * var(--u)); border-top: calc(4 * var(--u)) solid #c9cac6; font-size: calc(21 * var(--u)); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--leise); }
.formular-fortschritt .ist-aktiv { border-color: var(--rot); color: var(--tusche); }
.formular-fortschritt .ist-fertig { border-color: var(--tusche); }
.schritt { margin: calc(56 * var(--u)) 0 0; padding: 0; border: 0; min-width: 0; }
.schritt legend { padding: 0; font-size: max(17px, calc(40 * var(--u))); font-weight: 700; }
.schritt:focus { outline: none; }
.js [data-schritte] .schritt:not(.ist-aktiv) { display: none; }
.schritt-hinweis { margin-top: calc(18 * var(--u)); font-size: calc(24 * var(--u)); color: var(--leise); }
.wahl { display: flex; flex-wrap: wrap; gap: calc(20 * var(--u)); margin-top: calc(30 * var(--u)); }
.wahl:empty { display: none; }
.wahl-kachel { position: relative; cursor: pointer; }
.wahl-kachel input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.wahl-kachel span { display: inline-flex; align-items: center; height: calc(76 * var(--u)); padding: 0 calc(34 * var(--u)); box-shadow: inset 0 0 0 calc(2 * var(--u)) var(--feldrand); font-size: calc(29 * var(--u)); background: #f8f8f5; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.wahl-kachel:hover span { box-shadow: inset 0 0 0 calc(2 * var(--u)) var(--tusche); }
.wahl-kachel input:checked + span { background: var(--tusche); color: #fff; box-shadow: none; }
.wahl-kachel input:focus-visible + span { outline: 2px solid var(--rot); outline-offset: 3px; }
.termin-form .feld { margin-top: calc(30 * var(--u)); }
.termin-form .feld label { display: block; font-size: calc(21 * var(--u)); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.termin-form .feld input, .termin-form .feld select { display: block; width: calc(640 * var(--u)); max-width: 100%; height: calc(76 * var(--u)); margin-top: calc(12 * var(--u)); padding: 0 calc(24 * var(--u)); border: 0; border-radius: 0; background: #f8f8f5; box-shadow: inset 0 0 0 calc(2 * var(--u)) var(--feldrand); color: var(--tusche); font: calc(29 * var(--u)) var(--schrift); }
.termin-form .feld input:focus-visible, .termin-form .feld select:focus-visible { outline: 3px solid var(--rot); outline-offset: -3px; }
.ohne-skript { display: flex; gap: calc(30 * var(--u)); }
.mit-zeiten .ohne-skript { display: none; }
.feld-fehler { display: block; margin-top: calc(10 * var(--u)); font-size: max(17px, calc(23 * var(--u))); font-weight: 700; color: var(--rot); }
.formular-knoepfe { display: flex; gap: calc(24 * var(--u)); margin-top: calc(60 * var(--u)); }
.formular-knoepfe .knopf { height: calc(80 * var(--u)); padding: 0 calc(48 * var(--u)); font-size: max(17px, calc(30 * var(--u))); cursor: pointer; }

/* So finden Sie uns */
.anfahrt-raster { display: grid; grid-template-columns: 1.6fr 1fr; gap: calc(100 * var(--u)); align-items: start; margin-top: calc(80 * var(--u)); }
.lageplan img { width: 100%; box-shadow: 0 0 0 calc(2 * var(--u)) #7c8285; }
.adresse p { font-size: max(17px, calc(30 * var(--u))); line-height: calc(43 * var(--u)); }
.adresse p + p { margin-top: calc(18 * var(--u)); }
.adresse .adresse-name { font-size: max(17px, calc(40 * var(--u))); font-weight: 700; }
.adresse h3 { margin-top: calc(48 * var(--u)); font-size: calc(21 * var(--u)); letter-spacing: .16em; text-transform: uppercase; color: var(--leise); }
.adresse h3 + p { margin-top: calc(12 * var(--u)); }
.adresse .adresse-kontakt { display: flex; gap: calc(20 * var(--u)); margin-top: calc(48 * var(--u)); }
.adresse-kontakt a { display: inline-flex; align-items: center; height: calc(72 * var(--u)); padding: 0 calc(32 * var(--u)); box-shadow: inset 0 0 0 calc(2.5 * var(--u)) var(--tusche); color: var(--tusche); font-weight: 700; text-decoration: none; transition: background-color .2s ease; }
.adresse-kontakt a:hover { background: rgb(40 53 58 / .07); }

/* Fußzeile als Schriftfeld eines Plans */
.fuss { margin-top: calc(220 * var(--u)); padding: 0 var(--rand) calc(110 * var(--u)); }
.schriftfeld { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; box-shadow: inset 0 0 0 calc(2.5 * var(--u)) var(--tusche); }
.schriftfeld > * { padding: calc(44 * var(--u)) calc(44 * var(--u)) calc(40 * var(--u)); }
.schriftfeld > * + * { border-left: calc(1.5 * var(--u)) solid var(--tusche); }
.sf-logo img { width: calc(264 * var(--u)); }
.sf-logo p { margin-top: calc(26 * var(--u)); font-size: calc(24 * var(--u)); line-height: calc(35 * var(--u)); color: var(--leise); }
.sf-kopf { font-size: calc(21 * var(--u)); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--leise); }
.sf-zelle ul { margin-top: calc(20 * var(--u)); }
.sf-zelle li + li { margin-top: calc(10 * var(--u)); }
.sf-zelle a { font-size: calc(28 * var(--u)); color: var(--tusche); text-decoration: none; }
.sf-zelle a:hover { text-decoration: underline; text-underline-offset: .25em; }
.schriftfeld > .sf-fuss { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: calc(60 * var(--u)); padding-block: calc(26 * var(--u)); border-left: 0; border-top: calc(1.5 * var(--u)) solid var(--tusche); font-size: calc(22 * var(--u)); color: var(--leise); }
.sf-fuss a { color: var(--tusche); white-space: nowrap; }

/* Stempel landet, sobald die Reihe ins Bild kommt (js/seite.js), ohne Skript oder bei reduzierter Bewegung steht er */
.verkauft.wartet .stempel { opacity: 0; transform: rotate(-4deg) scale(2.4); }
.verkauft.da .stempel { animation: stempeln .42s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(var(--i) * .45s + .15s); }
@keyframes stempeln { 0% { opacity: 0; transform: rotate(-4deg) scale(2.4); } 70% { opacity: 1; transform: rotate(-10deg) scale(.94); } 100% { opacity: 1; transform: rotate(-9deg) scale(1); } }

.preis-mehr, .handy-leiste { display: none; }

/* ---------- Handy und Tablet (unter 1024 px): feste Maße statt Entwurfspixel ---------- */
@media (max-width: 63.99em) {
  body { padding-bottom: 76px; }
  /* Maximalbreiten in Entwurfspixeln würden am Handy auf ein Sechstel schrumpfen */
  .abschnitt h2, .abschnitt-text, .abschnitt-kopf .abschnitt-text, .datenstand, .objekt h3, .termin-form { max-width: none; }
  .konzept { height: auto; padding: 10px 16px; justify-content: center; }
  .konzept-text { font-size: 13px; line-height: 1.45; text-align: center; text-box: none; letter-spacing: 0; }

  /* Kopf: Logo links, Menü rechts, Maßstab und Nordpfeil entfallen */
  .kopf { height: auto; display: flex; align-items: center; padding: 12px 16px; border-bottom-width: 1.5px; }
  .kopf > * { position: static; }
  .kopf::before, .kopf::after, .massstab, .nordpfeil, .kopf-knopf { display: none; }
  .logo img { width: 132px; }
  .menue-knopf { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; min-height: 44px; padding: 0 4px; font: inherit; font-size: 16px; font-weight: 700; color: var(--tusche); background: none; border: 0; cursor: pointer; }
  .menue-strich, .menue-strich::before, .menue-strich::after { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .2s ease, background-color .2s ease; }
  .menue-strich { position: relative; }
  .menue-strich::before, .menue-strich::after { content: ""; position: absolute; left: 0; }
  .menue-strich::before { top: -6px; } .menue-strich::after { top: 6px; }
  .menue-offen .menue-strich { background: transparent; }
  .menue-offen .menue-strich::before { transform: translateY(6px) rotate(45deg); }
  .menue-offen .menue-strich::after { transform: translateY(-6px) rotate(-45deg); }
  .kopf .nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; padding: 6px 16px 18px; background: var(--kopf-grund); box-shadow: 0 12px 24px -12px rgb(40 53 58 / .35); }
  .js .kopf .nav { display: none; }
  .js.menue-offen .kopf .nav { display: block; }
  html:not(.js) .kopf { flex-wrap: wrap; }
  html:not(.js) .kopf .nav { position: static; box-shadow: none; padding: 6px 0 0; width: 100%; }
  html:not(.js) .menue-knopf { display: none; }
  .nav ul { flex-direction: column; }
  .nav li:nth-child(n) { width: auto; }
  .nav a { display: block; padding: 13px 0; font-size: 19px; text-box: none; border-bottom: 1px solid rgb(40 53 58 / .12); }

  /* Erster Bildschirm: oben ein Band aus der Flurkarte mit dem Haus, darunter der Text */
  .hero { height: auto; border-bottom-width: 1.5px; }
  .hero-buehne { width: 100%; height: auto; display: grid; }
  .flurkarte { grid-area: 1 / 1; position: relative; height: calc(100cqw * 878 / 1340); overflow: hidden; }
  .flurkarte img { left: calc(100cqw * -1100 / 1340); top: 0; width: calc(100cqw * 2512 / 1340); height: 100%; }
  .haus { grid-area: 1 / 1; position: relative; left: calc(100cqw * 105 / 1340); top: 0; width: calc(100cqw * 1120 / 1340); height: calc(100cqw * 860 / 1340); }
  .hero-text { grid-area: 2 / 1; position: static; width: auto; padding: 26px 16px 34px; }
  .hero h1 { font-size: 40px; line-height: 41px; letter-spacing: 0; }
  .claim { margin-top: 14px; font-size: 27px; }
  .einleitung { margin-top: 22px; font-size: 17px; line-height: 1.5; }
  .einleitung br { display: none; }
  .hero-knoepfe { flex-direction: column; gap: 12px; margin: 26px 0 0; }
  .hero-knoepfe .knopf, .knopf--rot, .hero-knoepfe .knopf--rahmen { width: 100%; height: 52px; font-size: 17px; }
  .knopf--rahmen { box-shadow: inset 0 0 0 2px var(--tusche); }
  .fakten { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 58px 0 0; }
  .fakten li { text-indent: 13px; font-size: 14.5px; line-height: 1.35; }
  .fakten li::before { left: 3px; top: -30px; width: 9px; height: 9px; }
  .fakten li::after { left: 6.5px; top: -25px; width: 2px; height: 32px; }

  /* Wertspanne: Karte unter dem Formular, ganz Wiesbaden im Bild */
  .wert { height: auto; overflow: visible; padding: 56px 16px 0; }
  .wert-buehne { width: auto; height: auto; display: flex; flex-direction: column; }
  .wert h2 { position: static; order: 1; font-size: 32px; line-height: 1.12; }
  .wert-karte { position: relative; left: auto; top: auto; order: 2; width: auto; height: auto; margin-top: 22px; padding: 20px 18px 22px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 12px; box-shadow: inset 0 0 0 1.5px var(--kartenrand); }
  .wert-karte .feld { position: static; width: auto; }
  .wert-karte .feld > label, .wert-label { font-size: 12px; letter-spacing: .14em; }
  .auswahl, .eingabe { margin-top: 9px; height: 50px; }
  .auswahl select, .eingabe input { font-size: 17px; box-shadow: inset 0 0 0 1.5px var(--feldrand); }
  .auswahl select { padding: 0 36px 0 12px; }
  .eingabe input { padding: 0 44px 0 12px; }
  .auswahl-pfeil { right: 10px; width: 20px; height: 20px; }
  .einheit { right: 14px; font-size: 17px; }
  .wert-karte::after { position: static; grid-column: 1 / -1; width: auto; height: 1.5px; margin-top: 20px; }
  .wert-label { position: static; grid-column: 1 / -1; margin-top: 18px; letter-spacing: .2em; }
  .wert-ergebnis { position: static; grid-column: 1 / -1; margin-top: 10px; font-size: 30px; white-space: normal; }
  .wert-ergebnis.wert-fehler { font-size: 18px; }
  .wert-hinweis { position: static; order: 3; width: auto; margin-top: 14px; font-size: 14px; line-height: 1.5; }
  .stadtplan { order: 4; position: relative; margin: 26px -16px 0; height: calc(100cqw * 899 / 1000); overflow: hidden; }
  .stadtplan img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
  .stadtplan::after { display: none; }
  .karte { order: 4; left: 0; top: auto; bottom: 0; width: 100%; height: calc(100cqw * 899 / 1000); margin-top: calc(100cqw * -899 / 1000); position: relative; transform: none !important; }
  .beschriftung { font-size: 40px; stroke-width: 9px; }
  .bezirk { stroke-width: 2.2; }
  .bezirk.aktiv { stroke-width: 4.5; }

  /* Abschnitte */
  .abschnitt { padding: 74px 16px 0; }
  .abschnitt::before { left: 16px; right: 16px; top: 28px; height: 14px; border-inline-width: 1.5px; background-size: 100% 1.5px; }
  .abschnitt h2 { font-size: 32px; line-height: 1.12; }
  .abschnitt-kopf { flex-direction: column; align-items: flex-start; gap: 16px; }
  .abschnitt-text, .abschnitt-kopf .abschnitt-text { margin-top: 16px; font-size: 17px; line-height: 1.5; }
  .abschnitt-kopf .abschnitt-text { margin-top: 0; }
  .abschnitt-weiter { margin-top: 30px; font-size: 17px; }
  .abschnitt-weiter a { text-decoration-thickness: 1.5px; }
  .abschnitt-weiter .leise { display: block; margin: 10px 0 0; font-size: 13px; }

  /* Verkaufsweg: die Maßkette läuft senkrecht */
  .schritte { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 34px; padding-left: 46px; }
  .schritte::before { left: 13px; right: auto; top: 14px; bottom: 6px; width: 2px; height: auto; }
  .schritte::after { left: 4px; right: auto; top: auto; bottom: 5px; width: 20px; height: 2px; }
  .schritte li { padding-top: 0; }
  .schritte li::before { left: -46px; top: -2px; width: 28px; height: 28px; font-size: 14px; border-width: 2px; }
  .schritte h3 { font-size: 20px; line-height: 1.2; }
  .schritte p { margin-top: 8px; font-size: 16px; line-height: 1.5; }

  /* Preise */
  .preis-wahl { display: flex; margin-top: 26px; box-shadow: inset 0 0 0 2px var(--tusche); }
  .preis-wahl button { flex: 1; height: 46px; padding: 0 6px; font-size: 14px; }
  .preis-wahl button + button { box-shadow: inset 2px 0 0 var(--tusche); }
  .preisliste { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; margin-top: 18px; }
  .preisliste li { grid-template-columns: 116px minmax(0, 1fr) 104px; gap: 10px; min-height: 44px; padding-block: 11px; font-size: 15px; border-bottom-width: 1px; }
  .pl-mass { height: 10px; border-inline-width: 1.5px; background-size: 100% 1.5px; }
  .preisliste.gekuerzt li:nth-child(n + 11) { display: none; }
  .preis-mehr { display: block; margin-top: 14px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--tusche); font: 700 17px var(--schrift); text-decoration: underline; text-underline-offset: .28em; cursor: pointer; }
  .datenstand { margin-top: 18px; font-size: 13px; line-height: 1.5; }

  /* Angebote */
  .angebote { grid-template-columns: minmax(0, 1fr); gap: 46px; margin-top: 30px; }
  .objekt-bild { margin-bottom: 52px; }
  .objekt-grundriss { right: 12px; bottom: -44px; width: 118px; height: 118px; padding: 6px; }
  .objekt h3 { margin-top: 8px; font-size: 22px; line-height: 1.2; }
  .objekt-daten { margin-top: 8px; font-size: 16px; }
  .objekt-preis { margin-top: 10px; font-size: 26px; }
  .objekt-klein { margin-top: 8px; font-size: 13px; line-height: 1.45; }
  .objekt-preis + .objekt-klein { margin-top: 12px; padding-top: 10px; border-top-width: 1px; }
  .verkauft-titel { margin-top: 56px !important; font-size: 22px; }
  .verkauft-titel span { font-size: 16px; }
  /* Handy: Rahmen auf der Fotokante, so bleiben die Grenzpunkte im Seitenrand und berühren sich in der Verkauft-Reihe nicht */
  .flurstueck { --abstand: 0px; --punkt: 12px; }
  .flurstueck::before { border-width: 1px; }
  .flurnummer { bottom: calc(100% + 7px); }
  .objekt-bild, .verkauft-bild { margin-top: 30px; }
  .verkauft .stempel { top: 42px; }
  .verkauft { display: flex; gap: 22px; margin: 4px -16px 0; padding: 0 16px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
  .verkauft::-webkit-scrollbar { display: none; }
  .verkauft li { flex: 0 0 76%; scroll-snap-align: start; }
  .verkauft-text { margin-top: 10px; font-size: 14px; line-height: 1.45; }
  .verkauft-text strong { font-size: 17px; }
  .stempel { right: 12px; top: 12px; padding: 6px 11px 5px; border-width: 2.5px; border-radius: 4px; font-size: 15px; }
  .stempel small { margin-top: 2px; font-size: 11px; }

  /* Kosten: jede Zeile ein Block */
  .kosten-raster { grid-template-columns: minmax(0, 1fr); gap: 34px; margin-top: 28px; }
  .kosten-tabelle thead { display: none; }
  .kosten-tabelle thead th { font-size: 12px; }
  .kosten-tabelle table, .kosten-tabelle tbody, .kosten-tabelle tr, .kosten-tabelle th, .kosten-tabelle td { display: block; width: auto !important; }
  .kosten-tabelle tr { padding: 16px 0; border-bottom: 1px solid #c9cac6; }
  .kosten-tabelle tr:first-child { border-top: 2px solid var(--tusche); }
  .kosten-tabelle th, .kosten-tabelle td { padding: 0; border: 0; }
  .kosten-tabelle tbody th { font-size: 18px; line-height: 1.3; }
  .kosten-tabelle td { margin-top: 6px; font-size: 15px; line-height: 1.45; }
  .kosten-tabelle td:last-child { font-size: 17px; }
  .kosten-tabelle td::before { content: attr(data-label) ": "; color: var(--leise); font-weight: 400; }
  .kosten-recht { margin-top: 16px; font-size: 13px; }
  .rechnung { padding: 22px 18px; box-shadow: inset 0 0 0 1.5px var(--kartenrand); }
  .rechnung h3 { font-size: 19px; line-height: 1.3; }
  .rechnung dl { margin-top: 14px; }
  .rechnung dl div { padding: 10px 0; font-size: 15px; border-bottom-width: 1px; }
  .rechnung dd { font-weight: 400; }
  .rechnung .summe dd { font-weight: 700; }
  .rechnung .summe { font-size: 17px; border-top-width: 2px; }
  .rechnung > p { margin-top: 14px; font-size: 13px; line-height: 1.5; }
  .rechnung .abschnitt-weiter { margin-top: 16px; font-size: 17px; }

  /* Team */
  .team-raster { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 26px; }
  .platz { width: 26px; height: 26px; font-size: 14px; box-shadow: 0 0 0 3px var(--papier); }
  .platz-tisch { width: auto; height: auto; padding: 3px 6px; font-size: 11px; letter-spacing: .08em; }
  .buero figcaption { margin-top: 10px; font-size: 13px; }
  .team li { padding: 18px 0 18px 48px; border-top-width: 1px; }
  .team li:last-child { border-bottom-width: 1px; }
  .team li::before { top: 18px; width: 30px; height: 30px; font-size: 15px; }
  .team h3 { font-size: 22px; }
  .rolle { margin-top: 6px; font-size: 12px; }
  .team p:last-child { margin-top: 8px; font-size: 16px; line-height: 1.5; }

  /* Stimmen und Lebenslagen */
  .bewertung-schnitt { font-size: 16px; }
  .bewertung-schnitt strong { font-size: 36px; }
  .stimmen, .lagen { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 28px; }
  .stimmen figure { padding-top: 20px; border-top-width: 2px; }
  .stimmen blockquote p { font-size: 19px; line-height: 1.45; }
  .stimmen figcaption { margin-top: 12px; font-size: 13px; }
  .pruefhinweis { margin-top: 26px; font-size: 13px; }
  .lagen > div { padding-top: 18px; border-top-width: 1px; }
  .lagen h3 { font-size: 22px; }
  .lagen p { margin-top: 10px; font-size: 16px; line-height: 1.5; }

  /* Termin */
  .termin-form { margin-top: 28px; }
  .formular-fortschritt { gap: 6px; }
  .formular-fortschritt li { padding-top: 8px; border-top-width: 3px; font-size: 11px; letter-spacing: .08em; }
  .schritt { margin-top: 26px; }
  .schritt legend { font-size: 22px; }
  .schritt-hinweis { margin-top: 8px; font-size: 14px; }
  .wahl { gap: 8px; margin-top: 14px; }
  .wahl-kachel span { height: 48px; padding: 0 16px; font-size: 16px; box-shadow: inset 0 0 0 1.5px var(--feldrand); }
  .tage .wahl-kachel, .zeiten .wahl-kachel { flex: 1 1 calc(50% - 4px); }
  .tage .wahl-kachel span, .zeiten .wahl-kachel span { width: 100%; justify-content: center; }
  .termin-form .feld { margin-top: 16px; }
  .termin-form .feld label { font-size: 12px; letter-spacing: .14em; }
  .termin-form .feld input, .termin-form .feld select { width: 100%; height: 50px; margin-top: 8px; padding: 0 12px; font-size: 17px; box-shadow: inset 0 0 0 1.5px var(--feldrand); }
  .ohne-skript { flex-direction: column; gap: 0; }
  .feld-fehler { margin-top: 6px; font-size: 14px; }
  .formular-knoepfe { gap: 10px; margin-top: 28px; }
  .formular-knoepfe .knopf { flex: 1; height: 52px; padding: 0 16px; font-size: 17px; }

  /* Anfahrt */
  .anfahrt-raster { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 26px; }
  .lageplan { margin: 0 -16px; }
  .lageplan img { height: 420px; object-fit: cover; object-position: 38% 55%; box-shadow: none; border-block: 1.5px solid #7c8285; }   /* Ausschnitt um das Büro, sonst wären die Straßennamen 7 px klein */
  .adresse p { font-size: 17px; line-height: 1.5; }
  .adresse p + p { margin-top: 10px; }
  .adresse .adresse-name { font-size: 22px; }
  .adresse h3 { margin-top: 24px; font-size: 12px; }
  .adresse h3 + p { margin-top: 6px; }
  .adresse .adresse-kontakt { flex-wrap: wrap; gap: 10px; margin-top: 24px; }
  .adresse-kontakt a { height: 50px; padding: 0 20px; font-size: 17px; box-shadow: inset 0 0 0 2px var(--tusche); }

  /* Fußzeile */
  .fuss { margin-top: 80px; padding: 0 16px 28px; }
  .schriftfeld { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); box-shadow: inset 0 0 0 2px var(--tusche); }
  .schriftfeld > * { padding: 20px 16px; }
  .schriftfeld > * + * { border-left: 0; }
  .sf-logo { grid-column: 1 / -1; border-bottom: 1px solid var(--tusche); }
  .sf-logo img { width: 150px; }
  .sf-logo p { margin-top: 12px; font-size: 14px; line-height: 1.5; }
  .sf-zelle:nth-child(3) { border-left: 1px solid var(--tusche); }
  .sf-zelle:nth-child(4) { grid-column: 1 / -1; border-top: 1px solid var(--tusche); }
  .sf-zelle:nth-child(4) ul { display: flex; flex-wrap: wrap; column-gap: 20px; }
  .sf-zelle:nth-child(4) li + li { margin-top: 0; }
  .sf-kopf { font-size: 11px; }
  .sf-zelle ul { margin-top: 8px; }
  .sf-zelle li + li { margin-top: 0; }
  .sf-zelle a { display: inline-block; padding: 7px 0; font-size: 15px; }
  .schriftfeld > .sf-fuss { flex-direction: column; gap: 10px; padding-block: 16px; border-top-width: 1px; font-size: 12px; line-height: 1.5; }

  .handy-leiste { position: fixed; inset: auto 0 0; z-index: 20; display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgb(246 246 242 / .95); box-shadow: 0 -1px 0 rgb(40 53 58 / .18); }
  .handy-leiste .knopf { height: 50px; font-size: 17px; }
}

/* Tablet: zwei Spalten, wo es Platz gibt */
@media (min-width: 40em) and (max-width: 63.99em) {
  .angebote, .stimmen, .lagen { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .team-raster, .anfahrt-raster { grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
  .lageplan { margin: 0; }
  .verkauft li { flex-basis: 44%; }
  .hero-text { max-width: 640px; }
}

/* ================= Unterseiten ================= */

/* Seitenkopf: Titel auf Kartenweiß, rechts ein blasser Ausschnitt des Stadtplans */
.seitenkopf { position: relative; padding: calc(120 * var(--u)) var(--rand) calc(110 * var(--u)); border-bottom: calc(2 * var(--u)) solid #7c8285; overflow: clip; }
.sk-grund { position: absolute; inset: 0 0 0 38%; background: url("../assets/bilder/stadtplan-grund-2000.webp") center / cover no-repeat; background-image: image-set(url("../assets/bilder/stadtplan-grund-2000.avif") type("image/avif"), url("../assets/bilder/stadtplan-grund-2000.webp") type("image/webp")); opacity: .5; -webkit-mask-image: linear-gradient(90deg, rgb(0 0 0 / 0), #000 45%); mask-image: linear-gradient(90deg, rgb(0 0 0 / 0), #000 45%); pointer-events: none; }
.seitenkopf > :not(.sk-grund) { position: relative; }
.pfad { display: flex; gap: calc(16 * var(--u)); font-size: max(13px, calc(23 * var(--u))); font-style: italic; color: #5d676b; }
.pfad a { color: inherit; }
.seitenkopf h1 { margin-top: calc(40 * var(--u)); font-size: calc(85 * var(--u)); font-weight: 700; line-height: calc(88 * var(--u)); letter-spacing: .006em; max-width: calc(1300 * var(--u)); text-box: trim-both cap alphabetic; }
.sk-lead { margin-top: calc(44 * var(--u)); max-width: calc(1100 * var(--u)); font-size: calc(33.5 * var(--u)); line-height: calc(47 * var(--u)); }
.sk-knoepfe { display: flex; flex-wrap: wrap; gap: calc(30 * var(--u)); margin-top: calc(56 * var(--u)); }
.sk-knoepfe:empty { display: none; }
.sk-knoepfe .knopf { width: auto; height: calc(81 * var(--u)); padding: 0 calc(46 * var(--u)); font-size: max(17px, calc(30.5 * var(--u))); }
.abschnitt > .kosten-tabelle { margin-top: calc(80 * var(--u)); }
.h2-zusatz { font-weight: 400; font-size: .5em; color: var(--leise); }

/* Verkaufsweg: senkrechte Maßlinie, wächst beim Lesen, erreichte Grenzpunkte färben sich ein */
.weg-rahmen { position: relative; margin-top: calc(100 * var(--u)); padding-left: calc(150 * var(--u)); max-width: calc(1500 * var(--u)); }
.weg-spur { position: absolute; left: calc(46 * var(--u)); top: calc(20 * var(--u)); bottom: calc(20 * var(--u)); width: calc(3 * var(--u)); background: #c9cac6; }
.weg-fortschritt { position: absolute; inset: 0; background: var(--rot); transform-origin: top; transform: scaleY(0); }
.weg-schritt { position: relative; padding-bottom: calc(90 * var(--u)); }
.weg-schritt:last-child { padding-bottom: 0; }
.weg-zeichen { position: absolute; left: calc(-150 * var(--u)); top: calc(-8 * var(--u)); display: grid; place-items: center; width: calc(96 * var(--u)); height: calc(96 * var(--u)); border-radius: 50%; background: var(--papier); border: calc(3 * var(--u)) solid #9aa0a3; color: var(--leise); transition: background-color .4s ease, border-color .4s ease, color .4s ease; }
.weg-zeichen .icon { width: calc(42 * var(--u)); height: calc(42 * var(--u)); stroke-width: 1.6; }
.erreicht .weg-zeichen { background: var(--rot); border-color: var(--rot); color: #fff; }
.weg-text h3 { font-size: max(17px, calc(44 * var(--u))); line-height: 1.1; }
.weg-dauer { margin-top: calc(14 * var(--u)); font-size: calc(23 * var(--u)); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rot); }
.weg-text p:last-child { margin-top: calc(18 * var(--u)); font-size: calc(31 * var(--u)); line-height: calc(45 * var(--u)); max-width: calc(1100 * var(--u)); }

/* Verzeichnis: Tabellen im Stil eines Flurstücksverzeichnisses */
.verzeichnis { margin-top: calc(80 * var(--u)); }
.verzeichnis table { width: 100%; border-collapse: collapse; }
.verzeichnis th, .verzeichnis td { padding: calc(26 * var(--u)) calc(28 * var(--u)) calc(26 * var(--u)) 0; text-align: left; vertical-align: top; border-bottom: calc(1.5 * var(--u)) solid #c9cac6; font-size: max(17px, calc(28.5 * var(--u))); line-height: 1.4; }
.verzeichnis thead th { padding-top: 0; font-size: max(12px, calc(21 * var(--u))); letter-spacing: .16em; text-transform: uppercase; color: var(--leise); border-bottom: calc(2.5 * var(--u)) solid var(--tusche); }
.verzeichnis tbody th { width: 24%; font-weight: 700; }
.verzeichnis--breit th, .verzeichnis--breit td { padding-right: calc(20 * var(--u)); font-size: max(15px, calc(26 * var(--u))); font-variant-numeric: tabular-nums; }
.verzeichnis--breit tbody th { width: auto; }
.preistabelle small { font-size: .8em; color: var(--leise); }
.preistabelle .auf { color: #2f6b45; }
.preistabelle .ab { color: var(--rot); }

/* Häufige Fragen */
.fragen { margin-top: calc(70 * var(--u)); max-width: calc(1600 * var(--u)); border-top: calc(2.5 * var(--u)) solid var(--tusche); }
.fragen details { border-bottom: calc(1.5 * var(--u)) solid #c9cac6; }
.fragen summary { position: relative; display: block; padding: calc(32 * var(--u)) calc(80 * var(--u)) calc(32 * var(--u)) 0; font-size: max(17px, calc(34 * var(--u))); font-weight: 700; line-height: 1.3; cursor: pointer; list-style: none; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ""; position: absolute; right: calc(10 * var(--u)); top: 50%; width: calc(22 * var(--u)); height: calc(22 * var(--u)); border-right: calc(3 * var(--u)) solid var(--rot); border-bottom: calc(3 * var(--u)) solid var(--rot); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.fragen details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.fragen summary:focus-visible { outline-offset: -2px; }
.antwort { padding: 0 0 calc(36 * var(--u)); max-width: calc(1200 * var(--u)); }
.antwort p { font-size: calc(30 * var(--u)); line-height: calc(44 * var(--u)); }
.antwort a { color: var(--tusche); text-underline-offset: .2em; }
.antwort .quelle { margin-top: calc(14 * var(--u)); font-size: max(13px, calc(23 * var(--u))); font-style: italic; color: #5d676b; }

/* Abschluss-Band mit Termin */
.termin-band { margin: calc(210 * var(--u)) var(--rand) 0; padding: calc(80 * var(--u)) calc(90 * var(--u)); background: var(--karte-grund); box-shadow: inset 0 0 0 calc(2 * var(--u)) var(--kartenrand); }
.termin-band h2 { font-size: calc(64 * var(--u)); font-weight: 700; line-height: 1.05; }
.termin-band p { margin-top: calc(24 * var(--u)); max-width: calc(1200 * var(--u)); font-size: calc(31 * var(--u)); line-height: calc(45 * var(--u)); }
.termin-band .sk-knoepfe { margin-top: calc(40 * var(--u)); }

/* Kennzahlen */
.kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(calc(440 * var(--u)), 1fr)); gap: calc(60 * var(--u)); margin-top: calc(70 * var(--u)); }
.kennzahlen li { padding-top: calc(30 * var(--u)); border-top: calc(2.5 * var(--u)) solid var(--tusche); }
.kennzahlen strong { display: block; font-size: calc(74 * var(--u)); line-height: 1; font-variant-numeric: tabular-nums; }
.kennzahlen span { display: block; margin-top: calc(16 * var(--u)); font-size: calc(28 * var(--u)); line-height: calc(40 * var(--u)); color: var(--leise); }

/* Drei und vier Schritte (Bewertung, Vermietung) */
.schritte--drei { grid-template-columns: repeat(3, 1fr); }
.schritte--vier { grid-template-columns: repeat(4, 1fr); }

/* Rechner mit Hausschnitt */
.rechner { display: grid; grid-template-columns: calc(620 * var(--u)) 1fr calc(560 * var(--u)); gap: calc(80 * var(--u)); align-items: start; margin-top: calc(80 * var(--u)); }
.rechner .feld, .termin-band .feld { margin-top: calc(34 * var(--u)); }
.rechner .feld:first-child { margin-top: 0; }
.rechner .feld > label, .rechner legend { display: block; padding: 0; font-size: max(12px, calc(21 * var(--u))); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.rechner fieldset { margin-inline: 0; padding: 0; border: 0; min-width: 0; }
.rechner .auswahl, .rechner .eingabe { margin-top: calc(14 * var(--u)); }
.rechner .wahl { margin-top: calc(14 * var(--u)); gap: calc(14 * var(--u)); }
.rechner .wahl-kachel span { height: calc(70 * var(--u)); padding: 0 calc(26 * var(--u)); font-size: max(15px, calc(27 * var(--u))); }
.rechner-frage { font-size: calc(28 * var(--u)); line-height: calc(40 * var(--u)); color: var(--leise); }
.haus-schnitt { display: block; width: 100%; margin-top: calc(24 * var(--u)); }
.haus-schnitt path, .haus-schnitt rect, .haus-schnitt circle { fill: none; stroke: var(--tusche); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.haus-schnitt .schnitt-boden { stroke: #9aa0a3; }
.bauteil { cursor: pointer; transition: opacity .2s ease; }
.bauteil path, .bauteil rect, .bauteil circle { transition: stroke .25s ease, fill .25s ease; }
.bauteil:hover path, .bauteil:hover rect { stroke-width: 3; }
.bauteil.an path, .bauteil.an rect, .bauteil.an circle { stroke: var(--rot); stroke-width: 3; }
.bauteil.an rect { fill: rgb(184 57 40 / .12); }
.haus-schnitt .bauteil .treffer path, .haus-schnitt .bauteil .treffer rect, .haus-schnitt .bauteil .treffer circle { fill: rgb(255 255 255 / 0); stroke: rgb(255 255 255 / 0); stroke-width: 18px; }
.mod-liste { display: grid; grid-template-columns: 1fr 1fr; gap: calc(12 * var(--u)); margin-top: calc(28 * var(--u)); }
.mod-knopf { display: flex; justify-content: space-between; align-items: center; gap: calc(14 * var(--u)); min-height: calc(66 * var(--u)); padding: calc(10 * var(--u)) calc(20 * var(--u)); border: 0; background: #f8f8f5; box-shadow: inset 0 0 0 calc(2 * var(--u)) var(--feldrand); color: var(--tusche); font: max(14px, calc(25 * var(--u))) var(--schrift); text-align: left; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.mod-knopf small { flex: none; font-size: .82em; color: var(--leise); }
.mod-knopf:hover { box-shadow: inset 0 0 0 calc(2 * var(--u)) var(--tusche); }
.mod-knopf[aria-pressed="true"] { background: var(--tusche); color: #fff; box-shadow: none; }
.mod-knopf[aria-pressed="true"] small { color: #d9dedd; }
.rechner-ergebnis { position: sticky; top: calc(40 * var(--u)); padding: calc(44 * var(--u)); background: var(--karte-grund); box-shadow: inset 0 0 0 calc(2 * var(--u)) var(--kartenrand); }
.rechner-ergebnis .wert-label { position: static; }
.rechner-wert { display: block; margin-top: calc(18 * var(--u)); font-size: calc(60 * var(--u)); font-weight: 700; line-height: 1.05; color: var(--rot); font-variant-numeric: tabular-nums; }
.rechner-wert.wert-fehler { font-size: max(17px, calc(32 * var(--u))); color: var(--tusche); }
.rechner-grad { margin-top: calc(24 * var(--u)); padding-top: calc(20 * var(--u)); border-top: calc(1.5 * var(--u)) solid #d3d5d1; font-size: calc(26 * var(--u)); line-height: calc(38 * var(--u)); }

/* Karte über die ganze Breite ihres Kastens (Preise, Vermietung) */
.jahr-raster, .miet-raster { display: grid; grid-template-columns: calc(700 * var(--u)) 1fr; gap: calc(90 * var(--u)); align-items: start; margin-top: calc(80 * var(--u)); }
.jahr-karte { position: relative; }
.stadtplan--ganz { position: absolute; inset: 0; overflow: hidden; }
.stadtplan.stadtplan--ganz img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.stadtplan--ganz::after { display: none; }
.karte.karte--ganz { position: relative; left: auto; top: auto; width: 100%; height: auto; aspect-ratio: 1000 / 899; transform: none; transition: none; }
.bezirk.ohne-wert { stroke-dasharray: 6 5; }
.jahr-wahl { margin-top: 0; }
.jahr-info { margin-top: calc(40 * var(--u)); padding: calc(36 * var(--u)) calc(40 * var(--u)); background: var(--karte-grund); box-shadow: inset 0 0 0 calc(2 * var(--u)) var(--kartenrand); font-size: calc(26 * var(--u)); line-height: calc(38 * var(--u)); }
.jahr-info h3 { margin: 0; font-size: max(17px, calc(40 * var(--u))); }
.jahr-info dl { margin: calc(20 * var(--u)) 0 0; }
.jahr-info dl div { display: flex; justify-content: space-between; gap: calc(20 * var(--u)); padding: calc(10 * var(--u)) 0; border-bottom: calc(1.5 * var(--u)) solid #d3d5d1; }
.jahr-info dt { margin: 0; color: var(--leise); }
.jahr-info dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.jahr-info > p:last-child { margin-top: calc(20 * var(--u)); color: var(--leise); }
.legende { display: grid; grid-template-columns: 1fr 1fr; gap: calc(14 * var(--u)) calc(30 * var(--u)); margin-top: calc(36 * var(--u)); font-size: max(13px, calc(23 * var(--u))); color: var(--leise); }
.legende li { display: flex; align-items: center; gap: calc(14 * var(--u)); }
.leg { flex: none; width: calc(48 * var(--u)); height: calc(30 * var(--u)); box-shadow: inset 0 0 0 1px var(--tusche); background-color: #f5f5f2; }
.leg-1 { background-image: linear-gradient(-45deg, rgb(245 245 242 / 0) 44%, rgb(40 53 58 / .7) 44% 56%, rgb(245 245 242 / 0) 56%); background-size: 11px 11px; }
.leg-3 { background-image: linear-gradient(-45deg, rgb(245 245 242 / 0) 40%, rgb(40 53 58 / .7) 40% 60%, rgb(245 245 242 / 0) 60%); background-size: 6px 6px; }
.leg-5 { background-image: linear-gradient(-45deg, rgb(245 245 242 / 0) 40%, rgb(40 53 58 / .75) 40% 60%, rgb(245 245 242 / 0) 60%), linear-gradient(45deg, rgb(245 245 242 / 0) 40%, rgb(40 53 58 / .75) 40% 60%, rgb(245 245 242 / 0) 60%); background-size: 4px 4px; }
.leg-0 { box-shadow: none; outline: 1px dashed var(--tusche); outline-offset: -1px; }

/* Mietspanne: dieselbe Karte wie auf der Startseite, im Kasten statt im ersten Bildschirm */
.miet-raster { grid-template-columns: calc(872 * var(--u)) 1fr; }
.wert-karte.miet-karte { position: relative; left: auto; top: auto; width: 100%; height: calc(330 * var(--u)); }
.abschnitt .wert-hinweis { position: static; width: auto; max-width: calc(1000 * var(--u)); margin-top: calc(40 * var(--u)); }

/* Angebote: Drehkarten, Foto vorne, Grundriss hinten. perspective im eigenen transform (Safari) */
.angebote-raster, .angebotsliste { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(110 * var(--u)) calc(72 * var(--u)); margin-top: calc(70 * var(--u)); }
.angebot-filter { margin-top: calc(70 * var(--u)); }
.filter-status { margin-top: calc(14 * var(--u)); font-size: max(13px, calc(23 * var(--u))); color: var(--leise); min-height: 1.4em; }
.drehkarte { position: relative; }
.drehkarte .objekt-bild { margin-bottom: calc(40 * var(--u)); }
.drehkarte-innen { position: relative; transform: perspective(2400px) rotateY(0deg); transform-style: preserve-3d; transition: transform .75s cubic-bezier(.3, .7, .2, 1); }
.gedreht .drehkarte-innen { transform: perspective(2400px) rotateY(180deg); }
.drehkarte-vorne, .drehkarte-hinten { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.drehkarte-hinten { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(24 * var(--u)); padding: calc(40 * var(--u)); background: var(--karte-grund); box-shadow: inset 0 0 0 calc(2 * var(--u)) var(--kartenrand); transform: rotateY(180deg); }
.drehkarte-plan { width: 80%; max-height: 72%; object-fit: contain; }
.drehkarte-hinten .objekt-klein { text-align: center; }
.drehen-knopf { display: inline-flex; align-items: center; gap: calc(12 * var(--u)); margin-top: calc(26 * var(--u)); min-height: 44px; padding: 0; border: 0; background: none; color: var(--tusche); font: 700 max(17px, calc(28 * var(--u))) var(--schrift); text-decoration: underline; text-underline-offset: .28em; cursor: pointer; }
.drehen-knopf .icon { width: 1.1em; height: 1.1em; color: var(--rot); }
/* WebKit beachtet backface-visibility hier nicht: die abgewandte Seite wird in der Mitte der Drehung unsichtbar (Karte steht dann hochkant) */
.drehkarte-vorne, .drehkarte-hinten { transition: visibility 0s linear .37s; }
.drehkarte-hinten, .gedreht .drehkarte-vorne { visibility: hidden; }
.gedreht .drehkarte-hinten { visibility: visible; }
@media (prefers-reduced-motion: reduce) { .drehkarte-innen, .drehkarte-vorne, .drehkarte-hinten { transition: none; } }

/* Nebenkosten-Quittung: ein Zettel auf dem Papier, druckt Zeile für Zeile */
.quittung-raster { display: grid; grid-template-columns: calc(640 * var(--u)) minmax(0, calc(1000 * var(--u))); gap: calc(110 * var(--u)); align-items: start; margin-top: calc(80 * var(--u)); }
.quittung-form .feld { margin-top: calc(34 * var(--u)); }
.quittung-form .feld:first-child { margin-top: 0; }
.quittung-form .feld > label { display: block; font-size: max(12px, calc(21 * var(--u))); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.quittung-form .eingabe { margin-top: calc(14 * var(--u)); }
.haken { display: flex; align-items: center; gap: calc(16 * var(--u)); margin-top: calc(34 * var(--u)); font-size: max(17px, calc(28 * var(--u))); cursor: pointer; }
.haken input { width: calc(34 * var(--u)); height: calc(34 * var(--u)); min-width: 20px; min-height: 20px; accent-color: var(--tusche); margin: 0; }
.quittung-form .knopf { margin-top: calc(44 * var(--u)); height: calc(80 * var(--u)); padding: 0 calc(46 * var(--u)); font-size: max(17px, calc(30 * var(--u))); cursor: pointer; }
.quittung { padding: calc(56 * var(--u)) calc(60 * var(--u)) calc(50 * var(--u)); background: #fbfbf9; box-shadow: 0 calc(8 * var(--u)) calc(30 * var(--u)) rgb(40 53 58 / .14), inset 0 0 0 calc(1.5 * var(--u)) #d3d5d1; font-variant-numeric: tabular-nums; }
.quittung-kopf { padding-bottom: calc(26 * var(--u)); border-bottom: calc(2 * var(--u)) dashed #9aa0a3; font-size: max(12px, calc(21 * var(--u))); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--leise); }
.quittung-kopf span { display: block; margin-top: calc(10 * var(--u)); font-size: max(17px, calc(36 * var(--u))); letter-spacing: 0; text-transform: none; color: var(--tusche); }
.quittung-zeilen li { display: flex; justify-content: space-between; align-items: baseline; gap: calc(30 * var(--u)); padding: calc(20 * var(--u)) 0; border-bottom: calc(1.5 * var(--u)) dotted #b9bdbe; font-size: max(17px, calc(28 * var(--u))); }
.quittung-zeilen b { white-space: nowrap; }
.quittung-summe { display: flex; justify-content: space-between; gap: calc(30 * var(--u)); padding-top: calc(24 * var(--u)); margin-top: calc(8 * var(--u)); border-top: calc(3 * var(--u)) double var(--tusche); font-size: max(17px, calc(34 * var(--u))); font-weight: 700; }
.quittung-summe b { color: var(--rot); white-space: nowrap; }
.quittung-fuss { margin-top: calc(28 * var(--u)); font-size: max(13px, calc(22 * var(--u))); line-height: 1.5; color: var(--leise); }
.druckt .quittung-zeilen li { animation: drucken .35s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * .12s); }
.druckt .quittung-summe { animation: drucken .35s cubic-bezier(.2, .7, .2, 1) .75s both; }
@keyframes drucken { from { opacity: 0; transform: translateY(calc(-14 * var(--u))); } to { opacity: 1; transform: none; } }

/* Büro als Grundriss: Plätze zum Antippen */
.platz-knopf { border: 0; padding: 0; font-family: var(--schrift); cursor: pointer; transition: transform .2s ease; }
.platz-knopf:hover, .platz-knopf[aria-expanded="true"] { transform: scale(1.15); }
.buero-blase { position: absolute; left: var(--x); top: var(--y); z-index: 3; width: calc(460 * var(--u)); padding: calc(22 * var(--u)) calc(26 * var(--u)); background: #fbfbf9; box-shadow: 0 calc(8 * var(--u)) calc(26 * var(--u)) rgb(40 53 58 / .2), inset 0 0 0 calc(1.5 * var(--u)) #b9bdbe; font-size: max(14px, calc(25 * var(--u))); line-height: 1.45; transform: translate(-50%, calc(-100% - 44 * var(--u))); }
.buero-blase.links { transform: translate(-88%, calc(-100% - 44 * var(--u))); }
.buero-blase strong { display: block; font-size: max(17px, calc(32 * var(--u))); }
.buero-blase span { display: block; margin: calc(4 * var(--u)) 0 calc(10 * var(--u)); font-size: max(12px, calc(20 * var(--u))); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--leise); }
.team li.aktiv { background: rgb(184 57 40 / .06); }

/* ---------- Unterseiten am Handy ---------- */
@media (max-width: 63.99em) {
  /* Maximalbreiten in Entwurfspixeln würden auch hier auf ein Sechstel schrumpfen */
  .fragen, .antwort, .termin-band p, .weg-text p:last-child, .abschnitt .wert-hinweis, .kennzahlen, .verzeichnis { max-width: none; }
  .abschnitt > .kosten-tabelle { margin-top: 24px; }
  .drehkarte .objekt-bild { margin-bottom: 18px; }
  .seitenkopf { padding: 34px 16px 40px; border-bottom-width: 1.5px; }
  .sk-grund { inset: 0; opacity: .3; background-image: image-set(url("../assets/bilder/stadtplan-grund-1100.avif") type("image/avif"), url("../assets/bilder/stadtplan-grund-1100.webp") type("image/webp")); -webkit-mask-image: linear-gradient(180deg, #000, rgb(0 0 0 / 0) 70%); mask-image: linear-gradient(180deg, #000, rgb(0 0 0 / 0) 70%); }
  .pfad { gap: 8px; font-size: 13px; }
  .seitenkopf h1 { margin-top: 18px; font-size: 38px; line-height: 40px; max-width: none; }
  .sk-lead { margin-top: 16px; font-size: 17px; line-height: 1.5; max-width: none; }
  .sk-knoepfe { flex-direction: column; gap: 12px; margin-top: 24px; }
  .sk-knoepfe .knopf { width: 100%; height: 52px; font-size: 17px; }

  .weg-rahmen { margin-top: 30px; padding-left: 62px; max-width: none; }
  .weg-spur { left: 21px; top: 10px; bottom: 10px; width: 2px; }
  .weg-schritt { padding-bottom: 34px; }
  .weg-zeichen { left: -62px; top: -4px; width: 44px; height: 44px; border-width: 2px; }
  .weg-zeichen .icon { width: 20px; height: 20px; }
  .weg-text h3 { font-size: 20px; }
  .weg-dauer { margin-top: 6px; font-size: 12px; }
  .weg-text p:last-child { margin-top: 8px; font-size: 16px; line-height: 1.5; max-width: none; }

  .verzeichnis { margin-top: 26px; }
  .verzeichnis thead { display: none; }
  .verzeichnis table, .verzeichnis tbody, .verzeichnis tr, .verzeichnis th, .verzeichnis td { display: block; width: auto !important; }
  .verzeichnis tr { padding: 14px 0; border-bottom: 1px solid #c9cac6; }
  .verzeichnis tr:first-child { border-top: 2px solid var(--tusche); }
  .verzeichnis th, .verzeichnis td { padding: 0; border: 0; font-size: 15px; }
  .verzeichnis thead th { font-size: 12px; }
  .verzeichnis tbody th { font-size: 18px; }
  .verzeichnis td { margin-top: 5px; }
  .verzeichnis td::before { content: attr(data-label) ": "; color: var(--leise); }
  .verzeichnis--breit td { display: inline-block; width: 50% !important; margin-top: 6px; }

  .fragen { margin-top: 24px; border-top-width: 2px; }
  .fragen summary { padding: 16px 40px 16px 0; font-size: 17px; }
  .fragen summary::after { right: 6px; width: 10px; height: 10px; border-width: 2px; }
  .antwort { padding-bottom: 18px; }
  .antwort p { font-size: 16px; line-height: 1.55; }
  .antwort .quelle { margin-top: 8px; font-size: 13px; }

  .termin-band { margin: 74px 16px 0; padding: 26px 20px; box-shadow: inset 0 0 0 1.5px var(--kartenrand); }
  .termin-band h2 { font-size: 28px; }
  .termin-band p { margin-top: 10px; font-size: 16px; line-height: 1.5; }

  .kennzahlen { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 26px; }
  .kennzahlen li { padding-top: 14px; border-top-width: 2px; }
  .kennzahlen strong { font-size: 34px; }
  .kennzahlen span { margin-top: 6px; font-size: 15px; line-height: 1.45; }

  .schritte--drei, .schritte--vier { grid-template-columns: minmax(0, 1fr); }

  .rechner { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 26px; }
  .rechner .feld, .termin-band .feld { margin-top: 18px; }
  .rechner .feld > label, .rechner legend { font-size: 12px; letter-spacing: .14em; }
  .rechner .auswahl, .rechner .eingabe { margin-top: 8px; height: 50px; }
  .rechner .wahl { margin-top: 8px; gap: 8px; }
  .rechner .wahl-kachel span { height: 46px; padding: 0 14px; font-size: 16px; box-shadow: inset 0 0 0 1.5px var(--feldrand); }
  .rechner-frage { font-size: 15px; line-height: 1.5; }
  .mod-liste { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 14px; }
  .mod-knopf { min-height: 46px; padding: 8px 14px; font-size: 15px; box-shadow: inset 0 0 0 1.5px var(--feldrand); }
  .rechner-ergebnis { position: sticky; bottom: 70px; top: auto; z-index: 5; padding: 14px 16px; box-shadow: 0 -6px 16px rgb(40 53 58 / .12), inset 0 0 0 1.5px var(--kartenrand); }
  .rechner-ergebnis .wert-label { font-size: 12px; }
  .rechner-wert { margin-top: 4px; font-size: 26px; }
  .rechner-wert.wert-fehler { font-size: 17px; }
  .rechner-grad { margin-top: 8px; padding-top: 8px; font-size: 13px; line-height: 1.4; }

  .jahr-raster, .miet-raster { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 24px; }
  .jahr-karte { order: 2; margin: 0 -16px; }
  .stadtplan.stadtplan--ganz { position: absolute; inset: 0; margin: 0; height: auto; }
  .karte.karte--ganz { margin-top: 0; height: auto; }
  .jahr-info { margin-top: 18px; padding: 16px 18px; font-size: 15px; line-height: 1.45; box-shadow: inset 0 0 0 1.5px var(--kartenrand); }
  .jahr-info h3 { font-size: 20px; }
  .jahr-info dl { margin-top: 10px; }
  .jahr-info dl div { padding: 7px 0; border-bottom-width: 1px; }
  .legende { margin-top: 16px; gap: 10px 16px; font-size: 13px; }
  .leg { width: 34px; height: 22px; }
  .wert-karte.miet-karte { height: auto; margin-top: 0; }

  .angebotsliste { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; margin: 22px 0 0; padding: 0; overflow: visible; }
  .angebotsliste li { flex: none; }
  .angebot-filter { display: flex; margin-top: 22px; }
  .drehkarte-hinten { padding: 18px; gap: 12px; box-shadow: inset 0 0 0 1.5px var(--kartenrand); }
  .drehen-knopf { margin-top: 12px; font-size: 17px; }

  .quittung-raster { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 24px; }
  .quittung-form .feld { margin-top: 18px; }
  .quittung-form .feld > label { font-size: 12px; }
  .quittung-form .eingabe { margin-top: 8px; height: 50px; }
  .haken { margin-top: 18px; font-size: 17px; }
  .quittung-form .knopf { width: 100%; margin-top: 22px; height: 52px; font-size: 17px; }
  .quittung { padding: 22px 18px; }
  .quittung-kopf { padding-bottom: 14px; font-size: 12px; }
  .quittung-kopf span { margin-top: 6px; font-size: 20px; }
  .quittung-zeilen li { gap: 14px; padding: 11px 0; font-size: 14px; }
  .quittung-zeilen b { font-size: 15px; font-weight: 400; }
  .quittung-summe { padding-top: 14px; font-size: 17px; }
  .quittung-fuss { margin-top: 14px; font-size: 13px; }

  .buero-blase { width: 230px; padding: 12px 14px; font-size: 14px; transform: translate(-50%, calc(-100% - 22px)); }
  .buero-blase.links { transform: translate(-86%, calc(-100% - 22px)); }
  .buero-blase strong { font-size: 18px; }
  .buero-blase span { font-size: 12px; }
}
@media (min-width: 40em) and (max-width: 63.99em) {
  .angebotsliste { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .kennzahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
