/* MHR Seitenkomponenten. Baut auf tokens.css auf. Reihenfolge: Basis, Widgets, Seitentypen. */

/* ---------- Basis-Ergänzungen ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav__links a.is-active { background: var(--green-tint); color: var(--green); }
.nav__links a { padding: 9px 13px; }
a[data-planned] { cursor: help; }
.wrap { max-width: 1240px; margin: 0 auto; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13.5px; color: var(--muted); padding: 22px var(--pad) 0; }
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 500; }
.crumbs i { font-style: normal; opacity: .5; }
.src { font-size: 12.5px; color: var(--muted); }
.note { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ---------- Wertlinie (lchart) ---------- */
/* overflow: clip, weil die Screenreader-Tabelle im Diagramm die 1-px-Breite von .sr ignoriert
   und sonst die ganze Seite am Handy breiter macht. Der Tooltip bleibt per Skript im Plot. */
.chartcard { position: relative; overflow: clip; overflow-clip-margin: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-card); padding: clamp(20px, 2.6vw, 34px); }
.chartcard__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.chartcard__head h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.chartcard__head p { font-size: 14px; color: var(--muted); margin-top: 8px; max-width: 54ch; }
.lchart__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.lchart__tabs button { border: 1.5px solid var(--line-2); border-radius: var(--r-chip); padding: 8px 16px; font-size: 14px; font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
.lchart__tabs button:hover { border-color: var(--ink); }
.lchart__tabs button[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.lchart__read { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 28px; margin-bottom: 8px; }
.lchart__kv span { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.lchart__kv span i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.lchart__kv b { display: block; font-size: clamp(24px, 2.4vw, 32px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.15; margin-top: 2px; }
.lchart__kv small { display: block; font-size: 12.5px; color: var(--muted); }
.lchart__plot { position: relative; }
.lchart__plot svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.lchart__tip { position: absolute; z-index: 5; pointer-events: none; background: var(--ink); color: #fff; border-radius: var(--r-thumb); padding: 9px 13px; font-size: 13px; line-height: 1.45; box-shadow: var(--sh-bar); white-space: nowrap; }
.lchart__tip b { display: block; font-weight: 500; margin-bottom: 2px; }
.lchart__tip span { display: flex; justify-content: space-between; gap: 16px; align-items: center; color: rgba(255,255,255,.8); }
.lchart__tip span em { font-style: normal; color: #fff; font-weight: 500; }
.lchart__tip span i { width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; display: inline-block; }

/* ---------- Stadtteilkarte (kmap) ---------- */
.kmap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.kmap__stage { background: var(--green-tint); border-radius: var(--r-card); padding: clamp(14px, 2vw, 26px); }
.kmap__stage svg { width: 100%; height: auto; display: block; font-family: var(--sans); }
.kmap__cell { cursor: pointer; outline: none; }
.kmap__cell .base { transition: filter .25s, transform .25s; }
.kmap__cell:hover .base, .kmap__cell:focus-visible .base { filter: brightness(.94); }
.kmap__cell text { pointer-events: none; }
.kmap__panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-card); padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 14px; }
.kmap__panel h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.kmap__big b { display: block; font-size: clamp(40px, 4vw, 58px); font-weight: 400; letter-spacing: -0.035em; line-height: 1; color: var(--green); }
.kmap__big span { font-size: 13.5px; color: var(--muted); }
.kmap__idx { font-size: 14px; color: var(--muted); }
.kmap__txt { font-size: 15.5px; }
.kmap__more { font-size: 14.5px; font-weight: 500; color: var(--green); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.kmap__src { font-size: 12.5px; color: var(--muted); }
.kmap__rank { list-style: none; margin: 0; padding: 0; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 36px; }
.kmap__rank li { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 12px; padding: 9px 12px; border-radius: var(--r-thumb); cursor: pointer; font-size: 14.5px; transition: background .2s; }
.kmap__rank li:hover, .kmap__rank li.on { background: var(--green-tint); }
.kmap__rank li i { height: 6px; border-radius: var(--r-frame); background: linear-gradient(90deg, var(--green) var(--w), var(--line) var(--w)); }
.kmap__rank li b { font-weight: 500; font-variant-numeric: tabular-nums; }
.kmap__rank { margin-top: 6px; }

/* ---------- Rechner-Ergänzungen ---------- */
.result__stage { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--amber); }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .kmap { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .kmap__rank { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .kmap__stage { display: none; }
  .kmap__rank li { grid-template-columns: 112px 1fr auto; }
}

/* ---------- Ortsseiten (B, C) ---------- */
:root { --tint-soft: #F5F7F3; }
.sec--tint { background: var(--tint-soft); }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14.5px; font-weight: 500; color: var(--green); }
.more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.more:hover svg { transform: translateX(4px); }

/* Unterseiten-Hero */
.hero--sub { min-height: min(76svh, 740px); }
.hero--sub .hero__mid .h1 { max-width: 17ch; font-size: clamp(36px, 4.1vw, 60px); }
.hero--sub .hero__mid .sub { max-width: 46ch; }
.hero__chips { grid-area: chips; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero__chips .chip svg { width: 15px; height: 15px; color: var(--green); }

/* KPI-Kacheln */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1240px; margin: 0 auto 28px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; display: flex; flex-direction: column; gap: 8px; box-shadow: none; }
.kpi__l { font-size: 13px; color: var(--muted); font-weight: 500; }
.kpi b { font-size: clamp(30px, 2.8vw, 42px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.kpi__d { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.chartwrap { margin-bottom: 0; }

/* Einsichten unter dem Diagramm */
.insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
/* Vier Analysen in einem Dreierraster lassen die vierte allein in der zweiten Zeile
   stehen (Fund auf /immobilien/ #markt). Zwei mal zwei, Lesebreite im Absatz begrenzt. */
.insights--2 { grid-template-columns: repeat(2, 1fr); gap: 34px 56px; }
.insights--2 p { max-width: 50ch; }
.insights article { padding: 6px 4px; border-top: 2px solid var(--green); padding-top: 20px; }
.insights h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.insights p { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* Mietbox */
.rentbox { margin-top: 44px; background: var(--green-tint); border-radius: var(--r-card); padding: clamp(24px, 3vw, 44px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.rentbox h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; margin: 10px 0 12px; max-width: 22ch; }
.rentbox p { color: var(--muted); font-size: 15.5px; max-width: 54ch; }
.rentbox__bars { display: grid; gap: 22px; }
.bar { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: end; }
.bar span { font-size: 14px; color: var(--muted); }
.bar b { font-size: 24px; font-weight: 400; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bar .rng { grid-column: 1 / -1; height: 12px; background: rgba(255,255,255,.7); }

/* Stadtteil-Steckbriefe */
.sd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1240px; margin: 0 auto; }
.sd { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: none; }
.sd header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sd h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.sd p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.lvl { flex: none; font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 4px 11px; border-radius: var(--r-chip); white-space: nowrap; }
.lvl--sehr { background: var(--green); color: #fff; }
.lvl--hoch { background: #3F6A58; color: #fff; }
.lvl--geh { background: #BDD0C3; color: var(--green-deep); }
.lvl--mg { background: #D3E0D7; color: var(--green-deep); }
.lvl--mit { background: var(--green-tint); color: var(--green); }
.lvl--nied { background: #F0F1EE; color: var(--muted); }

/* Käufer */
.buyers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.buyers__col { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(24px, 3vw, 40px); box-shadow: var(--sh-card); }
/* Nicht jede Karte hat einen Weiterfuehrungslink. Die vorhandenen sollen trotzdem
   auf einer Linie am Kartenfuss sitzen. */
.buyers__col .more { margin-top: auto; padding-top: 14px; }
.buyers__col h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 8px; }
.buyers__col h3 svg { width: 22px; height: 22px; color: var(--green); }
.buyer { padding: 18px 0; border-top: 1px solid var(--line); }
.buyer:first-of-type { margin-top: 12px; }
.buyer b { font-weight: 500; font-size: 17px; }
.buyer p { margin-top: 6px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* Preisfaktoren */
.factors { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.factors li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: none; }
.factors li i { width: 34px; height: 34px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 14px; }
.factors b { display: block; font-size: 17px; font-weight: 500; }
.factors p { margin-top: 6px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

.duo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 5vw, 64px); align-items: stretch; }
.steps h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 20px; max-width: 24ch; }
.ticks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; font-size: 16px; line-height: 1.55; }
.ticks li svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--green-tint); color: var(--green); stroke-width: 2; margin-top: 1px; }
.pullq { margin: 0; background: var(--green-deep); color: #fff; border-radius: var(--r-card); padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; box-shadow: var(--sh-card); }
.pullq blockquote { margin: 0; font-size: clamp(22px, 2.1vw, 28px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.32; }
.pullq figcaption { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; }
.pullq figcaption small { display: block; font-weight: 400; color: rgba(255,255,255,.6); font-size: 13px; }
.pullq .agent__pic { background: rgba(255,255,255,.14); }
.pullq__link { display: inline-flex; align-items: center; gap: 10px; color: #E0C486; font-weight: 500; font-size: 15px; border-top: 1px solid rgba(255,255,255,.16); padding-top: 18px; }
.pullq__link svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.pullq__link:hover svg { transform: translateX(4px); }

/* Vergleich vermietet/leer */
.cmpt { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cmpt__col { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(24px, 3vw, 38px); box-shadow: none; }
.cmpt__col--b { background: var(--green); color: #fff; border-color: transparent; }
.cmpt__col h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 18px; }
.cmpt dl { margin: 0; display: grid; grid-template-columns: 110px 1fr; gap: 0; }
.cmpt dt, .cmpt dd { padding: 14px 0; border-top: 1px solid var(--line); margin: 0; }
.cmpt dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--green); padding-top: 17px; }
.cmpt dd { font-size: 16px; line-height: 1.55; }
.cmpt__col--b dt, .cmpt__col--b dd { border-color: rgba(255,255,255,.18); }
.cmpt__col--b dt { color: #E0C486; }

/* Mini-Rechner */
.calcmini { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-card); overflow: hidden; }
.calcmini__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: clamp(22px, 3vw, 38px); align-content: center; }
.field { position: relative; border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 10px 16px 11px; display: flex; flex-direction: column; gap: 2px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,74,58,.12); }
.field label { font-size: 12px; color: var(--muted); font-weight: 500; }
.field select, .field input { border: 0; background: none; font: inherit; font-weight: 500; font-size: 16px; color: var(--ink); padding: 0; outline: none; appearance: none; -webkit-appearance: none; width: 100%; cursor: pointer; }
.field input { cursor: text; }
.field--sel::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.calcmini__res { background: var(--green); color: #fff; padding: clamp(22px, 3vw, 38px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.calcmini__res .label { color: rgba(255,255,255,.65); }
.calcmini__res .result__bar { margin-top: 4px; }
.calcmini__facts { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; color: rgba(255,255,255,.7); }
.calcmini__facts b { color: #fff; font-weight: 500; margin-left: 6px; }
.calcmini__res .pill { align-self: flex-start; background: #fff; color: var(--green); }
.calcmini__res .pill .ring { background: var(--green); color: #fff; }
.calcmini__res .pill:hover { background: var(--green-tint); }

.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.method { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; box-shadow: none; }
.method i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green-tint); color: var(--green); font-style: normal; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.method h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.method p { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.6; }

/* Kostenzeilen */
.costs { display: grid; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-card); padding: 6px clamp(20px, 3vw, 40px); }
.cost { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cost:last-child { border-bottom: 0; }
.cost b { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.cost p { margin-top: 6px; font-size: 15px; color: var(--muted); max-width: 70ch; line-height: 1.6; }
.cost__v { background: var(--green-tint); color: var(--green); font-weight: 600; font-size: 13.5px; padding: 6px 14px; border-radius: var(--r-chip); white-space: nowrap; }

.refs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.refs .prop { border: 1px solid var(--line); }
.refs a.prop { cursor: pointer; }

@media (max-width: 1140px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .insights { grid-template-columns: 1fr; gap: 28px; }
  .rentbox, .duo, .calcmini, .buyers, .cmpt, .refs { grid-template-columns: 1fr; }
  .sd-grid, .methods { grid-template-columns: repeat(2, 1fr); }
  .factors { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .hero--sub { min-height: 0; }
  .hero--sub .hero__mid .h1 { max-width: none; }
}
@media (max-width: 620px) {
  .hero__chips { gap: 8px; }
}
@media (max-width: 620px) {
  .kpis, .sd-grid, .methods, .factors { grid-template-columns: 1fr; }
  .calcmini__form { grid-template-columns: 1fr; }
  .cmpt dl { grid-template-columns: 1fr; }
  .cmpt dt { padding-bottom: 0; border-top: 1px solid var(--line); }
  .cmpt dd { border-top: 0; padding-top: 4px; }
  .cmpt__col--b dt { border-top-color: rgba(255,255,255,.18); }
  .cost { grid-template-columns: 1fr; gap: 10px; }
  .cost__v { justify-self: start; order: -1; }
}

/* ---------- Datenseiten (Orte ohne amtliche Kaufpreise) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Karte statt Foto im Hero: dunkler Grund, damit Chips und Bewertung lesbar bleiben */
.hero--daten .hero__photo { background: #143528; }
.hero--daten .hero__photo img.bg { object-position: 50% 50%; }
.hero__quelle { grid-area: ende; align-self: end; justify-self: end; font-size: 11px; color: rgba(255,255,255,.62); }
.hero__quelle a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 620px) {
  .hero__quelle { grid-area: quelle; justify-self: start; margin-top: 6px; }
}

/* Vertrauensleiste direkt unter dem Hero */
.trustbar { list-style: none; margin: 18px auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.trustbar li { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 18px; font-size: 14px; color: var(--muted); line-height: 1.35; }
.trustbar li b { color: var(--ink); font-weight: 600; }
.trustbar svg { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--green-tint); color: var(--green); }

/* KPI mit Spanne */
.kpi b small { font-size: .48em; color: var(--muted); letter-spacing: 0; margin: 0 .15em; }

/* Linie der Bodenrichtwerte, statisches SVG */
.dlegende { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin: -4px 0 10px; }
.dlegende span::before { content: ""; display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 8px; }
.dlegende__w::before { background: var(--green); }
.dlegende__k::before { background: var(--amber); }
.dlinie { display: block; width: 100%; height: auto; overflow: visible; }
.dlinie .gl { stroke: rgba(26,46,38,.1); stroke-width: 1; }
.dlinie .ax { font-size: 12.5px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.dlinie .ln { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.dlinie .ln--wohnen { stroke: var(--green); }
.dlinie .ln--kern { stroke: var(--amber); }
.dlinie circle { stroke: #fff; stroke-width: 2.5; }
.dlinie circle.pt--wohnen { fill: var(--green); }
.dlinie circle.pt--kern { fill: var(--amber); }
.dlinie text.pt--wohnen, .dlinie text.pt--kern { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dlinie--schmal { display: none; }
.dlinie--schmal .ax { font-size: 14px; }
.dlinie--schmal text.pt--wohnen, .dlinie--schmal text.pt--kern { font-size: 15px; }
@media (max-width: 640px) {
  .dlinie--breit { display: none; }
  .dlinie--schmal { display: block; }
}
.dlinie text.pt--wohnen { fill: var(--green); }
.dlinie text.pt--kern { fill: #9A6A1F; }

.dschritte { list-style: none; margin: 18px 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dschritte li { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--green-tint); font-size: 13.5px; color: var(--muted); }
.dschritte b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Bodenwert nach Größe und Lage */
.dtab { margin-top: clamp(22px, 3vw, 32px); overflow-x: auto; }
.dtab table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; font-variant-numeric: tabular-nums; }
.dtab caption { text-align: left; font-size: 15px; font-weight: 500; color: var(--ink); padding: 0 18px 12px; }
.dtab th, .dtab td { padding: 14px 18px; text-align: right; border-top: 1px solid var(--line); font-size: 15.5px; }
.dtab thead th { border-top: 0; font-size: 13px; font-weight: 500; color: var(--muted); vertical-align: bottom; }
.dtab thead th small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.dtab th:first-child { text-align: left; }
.dtab tbody th { font-weight: 500; color: var(--ink); }
.dtab td:nth-child(3) { font-weight: 600; color: var(--ink); background: rgba(31,77,58,.04); }
@media (max-width: 560px) {
  .dtab th, .dtab td { padding: 11px 10px; font-size: 14px; }
  .dtab thead th { font-size: 11.5px; }
  .dtab caption { padding-inline: 10px; }
}

/* Zonenkarte mit Seitenspalte */
.dkarte { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.dkarte__map { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-card); overflow: hidden; }
.dkarte__map img { display: block; width: 100%; height: auto; }
.dkarte__map figcaption { padding: 16px 20px 18px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.dkarte__map figcaption small { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.dkarte__leg { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }
.dkarte__leg span { display: inline-flex; align-items: center; gap: 7px; }
.dkarte__leg i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.dkarte__leg i.ring { border-radius: 50%; border: 3px solid var(--amber); background: none; width: 14px; height: 14px; box-sizing: border-box; }
.dkarte__side { display: grid; gap: 18px; }
.dkarte__side h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.dkarte__side > p { font-size: 15.5px; color: var(--muted); line-height: 1.6; }

/* Balken: Name, Balken, Wert in einer Zeile. Ortsteile mit Spanne und Median-Strich,
   Preisstufen mit Anteil, Nachbarorte mit Mittelwert. */
.dbars { display: grid; gap: 16px; }
.dbar { display: grid; grid-template-columns: minmax(110px, 190px) minmax(0, 1fr) 84px; align-items: center; gap: 18px; }
.dbar__n { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--ink); line-height: 1.3; }
.dbar__n small { font-size: 12.5px; color: var(--muted); }
.dbar__f { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.dbar:has(.dbar__f) .dbar__n { flex-direction: row; align-items: center; }
.dbar__t { position: relative; height: 14px; border-radius: 999px; background: rgba(26,46,38,.07); }
.dbar__t i { position: absolute; top: 0; bottom: 0; left: var(--l, 0%); width: var(--w, 0%); border-radius: 999px; background: var(--green); transform-origin: left center; transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2,.7,.2,1) .15s; }
.dbar__t em { position: absolute; top: -4px; bottom: -4px; left: var(--m); width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); opacity: 0; transition: opacity .4s ease 1s; }
.in .dbar__t i, .dbar__t.in i { transform: scaleX(1); }
.in .dbar__t em { opacity: 1; }
.dbar b { text-align: right; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dbar--selbst .dbar__n { font-weight: 600; }
.dbar--selbst .dbar__t i { background: var(--amber); }
.dbars--vgl { max-width: 980px; gap: 20px; }
.dbars--vgl .dbar { grid-template-columns: minmax(150px, 230px) minmax(0, 1fr) 96px; }
.dbars--vgl .dbar b { font-size: 22px; }
@media (prefers-reduced-motion: reduce) {
  .dbar__t i { transform: none; transition: none; }
  .dbar__t em { opacity: 1; transition: none; }
}

/* Steckbrief neben dem Ablauf */
.steckbrief { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-soft); padding: clamp(22px, 2.6vw, 32px); align-self: start; }
.steckbrief h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 12px; }
.steckbrief dl { margin: 0 0 14px; display: grid; grid-template-columns: auto 1fr; }
.steckbrief dt, .steckbrief dd { margin: 0; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.steckbrief dt { color: var(--muted); padding-right: 18px; }
.steckbrief dd { text-align: right; font-variant-numeric: tabular-nums; }

/* Optionaler Erfahrungsabsatz aus dem Ortsprofil */
.erfahrung { margin-top: clamp(32px, 4vw, 48px); max-width: 820px; border-left: 3px solid var(--green); padding: 4px 0 4px 22px; }
.erfahrung h3 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.erfahrung p { color: var(--muted); font-size: 16px; line-height: 1.65; }

/* Bodenwert-Rechner */
.bwcalc .result__range span { font-size: clamp(34px, 3.6vw, 52px); }
.bwcalc__lagen { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; margin: 6px 0 0; font-size: 14.5px; }
.bwcalc__lagen dt, .bwcalc__lagen dd { margin: 0; padding: 9px 0; border-top: 1px solid var(--line); }
.bwcalc__lagen dt { color: var(--muted); }
.bwcalc__lagen dd { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.bwcalc__hint { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ---------- Standorte-Hub: Übersichtskarte, Suche, Ortskarten ---------- */
.rk { margin: 0 auto clamp(28px, 4vw, 44px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-card); overflow: hidden; }
.rk__svg { display: block; width: 100%; height: auto; max-height: min(82vh, 820px); background: #F4F6F2; }
.rk__flaechen path { stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; transition: opacity .2s ease, stroke .2s ease; }
.rk__ort--ohne path { opacity: .55; }
a.rk__ort:hover path, a.rk__ort:focus-visible path { stroke: var(--ink); stroke-width: 2.4; }
a.rk__ort:focus-visible { outline: none; }
.rk__namen text { font-size: 15px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: rgba(255,255,255,.92); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
/* Schriftgrößen müssen zu SCHRIFT in tools/standorte-hub.mjs passen, dort wird die Platzierung berechnet */
.rk__namen--m { display: none; }
.rk__namen--m text { font-size: 34px; stroke-width: 8px; }
.rk__buero circle { fill: none; stroke: var(--amber); stroke-width: 3; }
.rk__buero .rk__kern { fill: var(--amber); stroke: none; }
.rk__reiter { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.rk__panel[hidden] { display: none; }
.rk__unter { padding: 16px 20px 18px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.rk__unter small { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.ortsuche__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 22px; }
.ortsuche__feld { flex: 1 1 260px; max-width: 380px; display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 50px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--card); color: var(--muted); }
.ortsuche__feld:focus-within { border-color: var(--green); }
.ortsuche__feld input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); }
.ortsuche__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ortsuche__n { margin-left: auto; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ortsuche__leer { margin-top: 18px; padding: 18px 20px; border-radius: var(--r-card); background: var(--green-tint); font-size: 15.5px; color: var(--ink); }

.okarten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.okarte { display: flex; flex-direction: column; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 22px 20px; }
.okarte[hidden] { display: none; }
.okarte header { display: grid; gap: 4px; }
.okarte h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.015em; }
.okarte h3 a { color: inherit; text-decoration: none; }
.okarte h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.okarte header span { font-size: 13px; color: var(--muted); }
.okarte dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.okarte dl div { background: var(--bg, #F4F6F2); border-radius: 12px; padding: 10px 12px; }
.okarte dt { font-size: 11.5px; color: var(--muted); }
.okarte dd { margin: 2px 0 0; font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.okarte p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.okarte .more { margin-top: auto; }
.okarte--seite { border-color: rgba(31,77,58,.28); }

@media (max-width: 1080px) { .okarten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .okarten { grid-template-columns: 1fr; }
  .ortsuche__feld { max-width: none; }
  .rk__reiter { flex-wrap: nowrap; overflow-x: auto; padding: 10px 12px; scrollbar-width: none; }
  .rk__reiter .fchip { flex: none; padding: 7px 13px; font-size: 14px; }
  .ortsuche__chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .ortsuche__chips .fchip { flex: none; }
  .ortsuche__n { margin-left: 0; }
  .rk__namen--d { display: none; }
  .rk__namen--m { display: inline; }
}

@media (min-width: 1101px) {
  .factors--4 { grid-template-columns: repeat(4, 1fr); }
  .factors--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1080px) {
  .trustbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dkarte { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .kpis--kompakt { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpis--kompakt.kpis--3 .kpi:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .kpis--kompakt .kpi { padding: 16px 14px; }
  .kpis--kompakt .kpi b { font-size: 28px; }
  .kpis--kompakt .kpi__l, .kpis--kompakt .kpi__d { font-size: 12px; }
}
@media (max-width: 640px) {
  .dbar, .dbars--vgl .dbar { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; }
  .dbar__t { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 560px) {
  .hero--daten .hero__rating { display: none; }
  .trustbar { gap: 8px; }
  .trustbar li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 14px; font-size: 13px; }
  .trustbar svg { width: 26px; height: 26px; padding: 5px; }
  .steckbrief dl { grid-template-columns: 1fr auto; }
}

/* ---------- Stadtteilseite (C) ---------- */
.kpis--3 { grid-template-columns: repeat(3, 1fr); }
.terms--3 { grid-template-columns: repeat(3, 1fr); }
.h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; margin: 10px 0 14px; }
.txt { color: var(--muted); max-width: 52ch; line-height: 1.65; }
.txt + .txt { margin-top: 14px; }
.duo--cmp { margin-top: 44px; align-items: center; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.cmpcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(22px, 3vw, 38px); box-shadow: var(--sh-card); }
.cmp { display: grid; gap: 22px; }
.cmp__row { display: grid; gap: 10px; }
.cmp__l { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.cmp__l b { font-weight: 500; font-size: 17px; }
.cmp__l span { font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cmp .rng { height: 14px; background: var(--green-tint); }
.refs > .ticks { align-self: center; }
.ticks li span b { font-weight: 500; }
.docs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.doc { display: inline-flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-btn); padding: 12px 20px 12px 16px; font-weight: 500; font-size: 15.5px; box-shadow: none; }
.doc svg { color: var(--green); }
@media (max-width: 1140px) { .duo--cmp { grid-template-columns: 1fr; } .kpis--3, .terms--3 { grid-template-columns: 1fr; } }

/* ---------- Leistungsseite Hausverkauf (D) ---------- */
.flow__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.flow__line { left: 27px; right: auto; width: calc(75% + 21px); }
.flow__step { position: relative; }
.flow__dot { width: 54px; height: 54px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-weight: 500; font-size: 18px; position: relative; z-index: 1; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease); margin-bottom: 22px; }
.flow__step.is-on .flow__dot { transform: scale(1.06); box-shadow: 0 10px 24px -10px rgba(31,74,58,.55); }
.flow__step h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.flow__time { display: inline-block; margin: 10px 0 12px; font-size: 12.5px; font-weight: 600; color: var(--green); background: var(--green-tint); border-radius: var(--r-chip); padding: 4px 12px; }
.flow__step p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.flow__step h3 + p { margin-top: 10px; }

/* Leistungsgrid */
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1240px; margin: 0 auto; }
.svc__c { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: none; }
.svc__c .iconbtn { pointer-events: none; background: var(--green-tint); border: 0; color: var(--green); }
.svc__c h3 { font-size: 18.5px; font-weight: 500; letter-spacing: -0.012em; line-height: 1.25; }
.svc__c p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.svc__c ul { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 7px; font-size: 14px; }
.svc__c li { position: relative; padding-left: 20px; line-height: 1.4; }
.svc__c li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 5px; border-left: 1.6px solid var(--green); border-bottom: 1.6px solid var(--green); transform: rotate(-45deg); }

.storyline { margin-top: 40px; text-align: center; max-width: 780px; }
.storyline blockquote { margin: 0; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.5; font-weight: 400; letter-spacing: -0.01em; }
.storyline__who { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Vergleichstabelle */
.vs { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-card); overflow: hidden; }
.vs__h, .vs__r { display: grid; grid-template-columns: 170px 1fr 1fr; gap: 0; align-items: stretch; }
.vs__h b { padding: 22px 28px; font-size: 16px; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--line); }
.vs__h b.on { background: var(--green); color: #fff; }
.vs__r > span { padding: 22px 28px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--green); border-bottom: 1px solid var(--line); display: flex; align-items: center; }
.vs__r > p { padding: 22px 28px; font-size: 15.5px; line-height: 1.55; color: var(--muted); border-bottom: 1px solid var(--line); margin: 0; }
.vs__r > p.on { background: var(--green-tint); color: var(--ink); font-weight: 500; }
.vs__r:last-child > * { border-bottom: 0; }

.buyers--3 { grid-template-columns: repeat(3, 1fr); }
.buyers--3 .buyers__col h3 { font-size: 21px; margin-bottom: 6px; }
.quotes--2 { grid-template-columns: repeat(2, 1fr); max-width: 920px; }

@media (max-width: 1140px) {
  .svc { grid-template-columns: repeat(2, 1fr); }
  .flow__steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .flow__line { display: none; }
  .buyers--3 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .vs__h, .vs__r { grid-template-columns: 110px 1fr 1fr; }
  .vs__h b, .vs__r > span, .vs__r > p { padding: 16px 14px; font-size: 14px; }
  .quotes--2 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .svc, .flow__steps { grid-template-columns: 1fr; }
  .vs__h { display: none; }
  .vs__r { grid-template-columns: 1fr; border-bottom: 1px solid var(--line); }
  .vs__r > span, .vs__r > p { border-bottom: 0; padding: 10px 18px; }
  .vs__r > span { padding-top: 18px; }
  .vs__r > p:not(.on)::before { content: "Privat: "; font-weight: 600; color: var(--ink); }
  .vs__r > p.on::before { content: "Mit MHR: "; font-weight: 600; }
}
.duo--text { grid-template-columns: 1fr 1fr; align-items: start; margin-top: 0; }
.duo > div > .label { display: block; margin-bottom: 16px; }
.duo > div > .h2 + :is(p, .txt) { margin-top: 18px; }
@media (max-width: 1140px) { .duo--text { grid-template-columns: 1fr; } }

/* ---------- Bewertungs-Landingpage (E) ----------
   Meisterpass 05.10.2026: Die LP zeigt Topbar und volles Headermenü wie jede
   andere Seite (L3). Die alte .lp-Ausblendung ist abgeschafft; sichtbare
   Firma (Adresse, Navigation, Telefon) zahlt auf Vertrauen und Ads-Conversion ein. */
/* Breiten-Fix (Plan 18): Inhalt maximal 1240 px, Rahmen-Padding kommt dazu; .page selbst ist bei 1520 px gedeckelt */
.lphero { max-width: calc(1240px + 2 * var(--pad)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; padding: clamp(36px, 5vw, 72px) var(--pad) clamp(56px, 7vw, 96px); }
.lphero__copy { padding-top: clamp(0px, 3vw, 40px); }
.lphero__copy .label { display: block; margin-bottom: 20px; }
.lphero__copy .h1 { max-width: 14ch; }
.lphero__copy .sub { margin-top: 22px; max-width: 44ch; }
.ticks--lp { margin: 28px 0 30px; }
.ticks--lp li { font-size: 16px; }
.lphero__trust { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lphero__trust .chip { box-shadow: none; border: 1px solid var(--line); }

.lpcalc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-frame); box-shadow: var(--sh-card); overflow: hidden; }
.lpcalc__res { background: var(--green); color: #fff; padding: clamp(22px, 2.6vw, 34px); display: grid; gap: 14px; }
.lpcalc__top { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.lpcalc__ort { font-size: 14px; color: rgba(255,255,255,.7); }
.lpcalc .result__range { font-size: clamp(32px, 3.4vw, 50px); }
.lpcalc__meta { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 14px; color: rgba(255,255,255,.7); }
.lpcalc__meta b { color: #fff; font-weight: 500; margin-left: 6px; }
.meter { height: 3px; background: rgba(255,255,255,.14); border-radius: var(--r-frame); overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--m, 0%); background: #fff; border-radius: inherit; transition: width .8s var(--ease); }
.lpcalc__steps { display: flex; justify-content: center; gap: 10px; padding: 18px 0 0; }
.lpcalc__steps button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--muted); background: #fff; transition: all .3s var(--ease); }
.lpcalc__steps button.done { background: var(--green-tint); border-color: var(--green-tint); color: var(--green); }
.lpcalc__steps button.cur { background: var(--green); border-color: var(--green); color: #fff; transform: scale(1.08); }
.lpcalc__body { padding: clamp(20px, 2.6vw, 32px); min-height: 330px; }
.lpcalc__body [data-panel] { display: grid; gap: 16px; animation: panelIn .5s var(--ease); }
.lpcalc__body [data-panel][hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.lph { font-size: clamp(21px, 2vw, 26px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.lpcalc__nav { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 8px; }
.lpcalc__nav .pill:only-child { margin-left: auto; }
.back { flex: none; white-space: nowrap; font-size: 15px; font-weight: 500; color: var(--muted); padding: 10px 6px; transition: color .2s; }
.back:hover { color: var(--ink); }
.lpcalc__src { padding: 0 clamp(20px, 2.6vw, 32px) 22px; font-size: 12.5px; color: var(--muted); }
.fieldrow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.seg { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg legend { font-size: 12px; color: var(--muted); font-weight: 500; margin-bottom: 8px; padding: 0; }
.seg label { position: relative; }
.seg input, .opt input, .chk input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; text-align: center; border: 1.5px solid var(--line-2); border-radius: var(--r-thumb); padding: 13px 8px; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: all .25s var(--ease); min-height: 52px; }
.seg input:checked + span { background: var(--green); color: #fff; border-color: var(--green); }
.seg input:focus-visible + span, .opt input:focus-visible + span, .chk input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.seg label:hover span { border-color: var(--ink); }
.opts { display: grid; gap: 10px; }
.opt span { display: flex; flex-direction: column; gap: 2px; border: 1.5px solid var(--line-2); border-radius: var(--r-card); padding: 14px 18px; cursor: pointer; transition: all .25s var(--ease); }
.opt b { font-weight: 500; font-size: 16px; }
.opt small { font-size: 13px; color: var(--muted); }
.opt input:checked + span { border-color: var(--green); background: var(--green-tint); box-shadow: 0 0 0 1px var(--green) inset; }
.opt:hover span { border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chk span { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line-2); border-radius: var(--r-chip); padding: 11px 18px; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: all .25s var(--ease); }
.chk input:checked + span { background: var(--green); color: #fff; border-color: var(--green); }
.chk input:checked + span::before { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translateY(-1px); }
.chk:hover span { border-color: var(--ink); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.consent input { width: 18px; height: 18px; accent-color: var(--green); margin-top: 2px; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.lead { display: grid; gap: 14px; }
.lead-ok { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; background: var(--green-tint); border-radius: var(--r-card); padding: 18px 20px; }
.lead-ok[hidden] { display: none; }
.lead-ok svg { width: 40px; height: 40px; padding: 9px; background: var(--green); color: #fff; border-radius: 50%; stroke-width: 2; }
.lead-ok p { font-size: 14.5px; color: var(--muted); margin-top: 3px; }
.lead-ok a { color: var(--green); font-weight: 500; text-decoration: underline; }

/* Verfeinerungs-Balken */
.narrow { display: grid; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(22px, 3vw, 40px); box-shadow: var(--sh-card); max-width: 980px; }
/* Letzte Spalte waechst mit: auf der Wohnungsseite stehen dort Preise, nicht nur Prozentwerte */
.narrow__row { display: grid; grid-template-columns: minmax(180px, 280px) 1fr minmax(80px, max-content); gap: 24px; align-items: center; }
.narrow__row span { font-size: 14px; color: var(--muted); line-height: 1.35; }
.narrow__row span b { display: block; color: var(--ink); font-weight: 500; font-size: 16px; }
.narrow__row em { font-style: normal; font-size: 22px; font-weight: 400; letter-spacing: -0.02em; text-align: right; font-variant-numeric: tabular-nums; }
.narrow .rng { height: 14px; }
.rng--c i { transition-delay: calc(var(--n, 0) * 120ms); }
.narrow__row--end em { font-size: 15px; color: var(--amber); font-weight: 600; }

.flow--3 .flow__steps { grid-template-columns: repeat(3, 1fr); }
.flow--3 .flow__line { display: none; }
.flow--3 { margin-bottom: 0; }

@media (max-width: 1140px) {
  .lphero { grid-template-columns: 1fr; }
  .lphero__copy .h1 { max-width: none; }
  .flow--3 .flow__steps { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .narrow__row { grid-template-columns: 1fr auto; gap: 10px 14px; }
  .narrow__row .rng { grid-column: 1 / -1; order: 3; }
  .fieldrow, .seg { grid-template-columns: 1fr; }
  .lpcalc__body { min-height: 0; }
}

/* Rechner: Verkaufskosten, Spekulationssteuer, Verlust durch überhöhten Preis.
   Links die Eingaben auf Weiß, rechts das Ergebnis auf Grün mit einer Grafik,
   die den Rechenweg zeigt. Unter etwa 760 px Breite stapeln sich beide Seiten. */
.tcalc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-card); overflow: hidden; }
.tcalc__in { padding: clamp(22px, 3vw, 44px); display: grid; gap: 26px; align-content: start; }
.tcalc .note { font-size: 12.5px; color: var(--muted); line-height: 1.6; font-weight: 400; }

/* Gruppen mit Nummer */
.tgrp { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.tgrp { border-top: 1px solid var(--line); }
.tgrp legend { display: flex; align-items: center; gap: 10px; padding: 0 12px 0 0; margin-bottom: 12px; font-size: 14px; font-weight: 500; color: var(--ink); }
.tgrp legend em { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--green-tint); color: var(--green); font-style: normal; font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tgrid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; }

/* Eingabefeld: Beschriftung im Feld, große Zahl darunter */
.rf { display: grid; gap: 2px; padding: 11px 16px 10px; background: #F5F6F3; border: 1px solid transparent; border-radius: 14px; cursor: text; transition: background .2s, border-color .2s, box-shadow .2s; }
.rf:hover { border-color: var(--line-2); }
.rf:focus-within { background: #fff; border-color: var(--green); box-shadow: 0 0 0 4px rgba(31,74,58,.09); }
.rf > span:first-child { font-size: 12.5px; line-height: 1.35; color: var(--muted); font-weight: 500; }
.rf__v { display: flex; align-items: baseline; gap: 6px; }
.rf input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: none; padding: 0; font: inherit; font-size: 21px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.rf i { font-style: normal; font-size: 16px; color: var(--muted); font-weight: 500; }
.rf--xl { padding: 14px 18px 12px; }
.rf--xl input { font-size: clamp(28px, 2.6vw, 36px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.15; }
.rf--xl i { font-size: 22px; font-weight: 400; }
.tcalc .rf input:focus-visible { outline: 0; }

/* Zwei Wege zur Wahl: eine Schiene, das helle Feld gleitet zur Auswahl */
.seg2 { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: #F0F1ED; border-radius: 16px; }
.seg2::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(20,32,26,.08), 0 6px 18px -8px rgba(20,32,26,.22); transition: transform .35s var(--ease); }
.seg2:has(label:nth-child(2) input:checked)::before { transform: translateX(100%); }
.seg2 label { position: relative; z-index: 1; padding: 11px 12px; text-align: center; cursor: pointer; border-radius: 12px; }
.seg2 input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg2 span { display: block; font-size: 14.5px; font-weight: 500; color: var(--muted); line-height: 1.3; transition: color .2s; }
.seg2 small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); opacity: .85; }
.seg2 label:has(input:checked) span { color: var(--ink); }
.seg2 label:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: -2px; }

/* Schalter statt Häkchen. Das Eingabefeld selbst ist der Schalter, so bleibt es klick- und tastaturbedienbar. */
.sw { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 14px; padding: 6px 0; cursor: pointer; font-size: 14.5px; line-height: 1.45; color: var(--ink); font-weight: 400; }
.sw input { appearance: none; -webkit-appearance: none; position: relative; width: 40px; height: 24px; margin: 0; border-radius: 999px; background: #DCDFD9; cursor: pointer; transition: background .25s var(--ease); flex: none; }
.sw input::before { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(20,32,26,.25); transition: transform .3s var(--ease); }
.sw input:checked { background: var(--green); }
.sw input:checked::before { transform: translateX(16px); }
.sw b { font-weight: 500; }
.sw small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.tcalc .sw input:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* Regler mit gefüllter Schiene. JS setzt --p. */
.rs { display: grid; gap: 4px; margin-top: 6px; }
.rs label { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.rs label b { font-size: 14px; font-weight: 600; color: var(--green); background: var(--green-tint); border-radius: 999px; padding: 3px 11px; font-variant-numeric: tabular-nums; }
.rs input { appearance: none; -webkit-appearance: none; width: 100%; height: 30px; margin: 0; background: none; cursor: pointer; }
.rs input::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--green) var(--p, 50%), #DCDFD9 var(--p, 50%)); }
.rs input::-moz-range-track { height: 4px; border-radius: 999px; background: #DCDFD9; }
.rs input::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--green); }
.rs input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: radial-gradient(circle, var(--green) 0 4px, #fff 4.5px); box-shadow: 0 0 0 1px var(--line-2), 0 4px 12px -2px rgba(20,32,26,.3); transition: transform .2s var(--ease); }
.rs input::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: radial-gradient(circle, var(--green) 0 4px, #fff 4.5px); box-shadow: 0 0 0 1px var(--line-2), 0 4px 12px -2px rgba(20,32,26,.3); }
.rs input:active::-webkit-slider-thumb { transform: scale(1.12); }
.rs__ends { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); opacity: .8; }

/* ---------- Ergebnis ---------- */
.tcalc__out {
  position: relative; isolation: isolate;
  color: #fff; padding: clamp(22px, 3vw, 44px);
  display: flex; flex-direction: column; gap: 22px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255,255,255,.09), transparent 60%),
    linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
}
/* feines Millimeterpapier, nur zu ahnen */
.tcalc__out::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 24px 24px; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); }
.ro-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ro-eyebrow { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: #9DBCA8; }
.tc-status { display: inline-block; font-size: 13px; font-weight: 500; line-height: 1.3; border-radius: 999px; padding: 6px 13px 6px 11px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: #fff; }
.tc-status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; vertical-align: 1px; border-radius: 50%; background: rgba(255,255,255,.55); }
[data-spkcalc] .tc-status::before { background: var(--amber); box-shadow: 0 0 0 3px rgba(217,153,54,.22); }
[data-spkcalc][data-frei="1"] .tc-status::before { background: #6FD598; box-shadow: 0 0 0 3px rgba(111,213,152,.2); }
[data-spkcalc][data-lage="offen"] .tc-status::before { background: rgba(255,255,255,.55); box-shadow: none; }
.ro-big span { display: block; font-size: 14.5px; color: rgba(255,255,255,.72); }
.ro-big b { display: block; margin-top: 6px; font-size: clamp(42px, 4.6vw, 66px); font-weight: 400; letter-spacing: -0.035em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ro-big--amber b,
[data-spkcalc]:not([data-frei="1"]):not([data-lage="offen"]) .ro-big b { color: #E9B866; }
.ro-block { border-top: 1px solid rgba(255,255,255,.13); padding-top: 18px; display: grid; gap: 14px; }
.ro-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.ro-cap span { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.55); }
.ro-cap b { font-size: 13.5px; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }

/* Aufstellung mit Punktlinie zwischen Posten und Betrag */
.ledger { margin: 0; display: grid; gap: 7px; }
.ledger > div { display: grid; grid-template-columns: auto minmax(12px, 1fr) auto; align-items: end; transition: opacity .3s; }
.ledger > div::before { content: ""; order: 2; height: 0; margin: 0 10px 5px; border-bottom: 1px dotted rgba(255,255,255,.24); }
.ledger dt { order: 1; font-size: 14px; color: rgba(255,255,255,.74); }
.ledger dd { order: 3; margin: 0; font-size: 14.5px; font-weight: 500; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ledger > div.is-null { opacity: .42; }
.ledger .ledger__sum { margin-top: 5px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.18); }
.ledger .ledger__sum::before { border-color: transparent; }
.ledger .ledger__sum dt { color: #fff; font-weight: 500; }
.ledger .ledger__sum dd { font-size: 16px; }
.sq { display: inline-block; width: 9px; height: 9px; margin-right: 9px; border-radius: 2.5px; vertical-align: 0; }
.sq--a { background: rgba(255,255,255,.26); }
.sq--b { background: rgba(255,255,255,.5); }
.sq--c { background: #fff; }
.sq--d, .sq--prov { background: var(--amber); }
.sq--loesch { background: #E0C486; }
.sq--energie { background: #9DBCA8; }
.sq--unterlagen { background: rgba(255,255,255,.62); }
.sq--leer { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }

.tc-hint { font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.72); background: rgba(255,255,255,.07); border-radius: 14px; padding: 13px 16px; font-weight: 400; }
.tc-hint a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }
.tc-src { margin-top: auto; font-size: 12px; color: rgba(255,255,255,.48); }

/* Nächster Schritt: Lesart des Ergebnisses, Postleitzahl, Weg zur Bewertung */
.tnext { display: grid; gap: 14px; border-top: 1px solid rgba(255,255,255,.13); padding-top: 18px; }
.tnext__t { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.86); }
.tnext__t b { display: block; margin-bottom: 4px; font-weight: 500; color: #fff; }
.tnext__row { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.tnext__plz { display: grid; gap: 6px; font-size: 12.5px; color: rgba(255,255,255,.66); }
.tnext__plz input { width: 9.5em; font: inherit; font-size: 16px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 11px 14px; font-variant-numeric: tabular-nums; }
.tnext__plz input::placeholder { color: rgba(255,255,255,.4); }
.tnext__plz input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.tnext .pill { background: #fff; color: var(--green); }
.tnext .pill[hidden] { display: none; }
.tnext__aus { margin: 0; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.72); }
.tnext__aus button { font: inherit; color: #fff; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

@media print {
  body * { visibility: hidden; }
  #rechner, #rechner * { visibility: visible; }
  #rechner { position: absolute; inset: 0 0 auto 0; padding: 0 !important; }
  #rechner .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
  .tpeek, .tnext__row, .tnext__aus button, .sec__note { display: none !important; }
  .tcalc__out { color: #000; background: none; }
  .tcalc__out *, .ro-big b { color: #000 !important; }
}

/* ---------- Spekulationssteuer: Zeitleiste der Zehnjahresfrist ---------- */
.frist { display: grid; gap: 8px; padding-top: 22px; transition: opacity .3s; }
.frist.is-leer { opacity: .25; }
.frist__axis { position: relative; height: 24px; }
.frist__axis::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 9px; transform: translateY(-50%);
  background: linear-gradient(rgba(255,255,255,.2), rgba(255,255,255,.2)) 0 50% / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 1px, transparent 1px calc(100% / var(--n, 12))); }
.frist__axis::after { content: ""; position: absolute; right: 0; top: 50%; width: 1px; height: 9px; transform: translateY(-50%); background: rgba(255,255,255,.3); }
.frist__axis i { position: absolute; font-style: normal; }
.frist__zone { left: var(--zone, 83%); right: 0; top: 0; bottom: 0; border-radius: 4px; background: repeating-linear-gradient(135deg, rgba(111,213,152,.26) 0 2px, rgba(111,213,152,.08) 2px 7px); box-shadow: inset 0 0 0 1px rgba(111,213,152,.32); transition: left .55s var(--ease); }
.frist__zone em { position: absolute; z-index: 2; left: 6px; top: 50%; transform: translateY(-50%); padding: 1px 7px; border-radius: 4px; background: #1A3F31; box-shadow: inset 0 0 0 1px rgba(111,213,152,.3); font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .03em; color: #A8E6C1; white-space: nowrap; }
.frist__own { left: 0; width: var(--own, 50%); top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: #fff; transition: width .55s var(--ease); }
.frist__mark { left: var(--mark, 83%); top: -4px; bottom: -4px; width: 1.5px; margin-left: -.75px; background: rgba(255,255,255,.75); transition: left .55s var(--ease); }
.frist__mark em { position: absolute; top: calc(100% + 6px); left: 0; transform: translateX(calc(var(--mark, 83%) * -1)); font-style: normal; font-size: 11.5px; font-weight: 500; color: rgba(255,255,255,.8); white-space: nowrap; }
.frist__sale { left: var(--own, 50%); top: 50%; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(217,153,54,.25); transition: left .55s var(--ease), background .3s, box-shadow .3s; }
[data-frei="1"] .frist__sale { background: #6FD598; box-shadow: 0 0 0 4px rgba(111,213,152,.22); }
.frist__sale em { position: absolute; bottom: calc(100% + 8px); left: 6.5px; transform: translateX(calc(var(--own, 50%) * -1)); font-style: normal; font-size: 12px; font-weight: 600; color: #fff; white-space: nowrap; }
.frist__ends { display: flex; justify-content: space-between; margin-top: 18px; font-size: 11.5px; color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; }
[data-lage="eigen"] .frist__mark { opacity: .3; }
.frist { container-type: inline-size; }
@container (max-width: 440px) {
  [data-spkcalc]:not([data-lage="eigen"]) .frist__zone em { display: none; }
}

/* Rechenweg als ein Balken */
.split { display: flex; gap: 2px; height: 12px; border-radius: 4px; overflow: hidden; }
.split .sp { flex: 0 1 auto; min-width: 0; height: 100%; transition: width .55s var(--ease); }
.sp--a { background: rgba(255,255,255,.26); }
.sp--b { background: rgba(255,255,255,.5); }
.sp--c { background: #fff; }
.sp--d { background: var(--amber); }

/* ---------- Verkaufskosten: Lupe auf den Kostenanteil ---------- */
.lupe { display: grid; }
.lupe__bar, .lupe__zoom { display: flex; height: 12px; gap: 2px; border-radius: 4px; overflow: hidden; }
.lupe__bar i, .lupe__zoom i { height: 100%; flex: 0 1 auto; min-width: 0; transition: width .55s var(--ease); }
.lupe__netto { width: calc(100% - var(--k, 4%)); background: #fff; }
.lupe__kosten { width: var(--k, 4%); background: var(--amber); }
.lupe__fan { display: block; width: 100%; height: 30px; }
.lupe__fan path { fill: rgba(217,153,54,.16); stroke: none; transition: d .55s var(--ease); }
.lupe__t { width: var(--w, 0%); }
.lupe__t--prov { background: var(--amber); }
.lupe__t--loesch { background: #E0C486; }
.lupe__t--energie { background: #9DBCA8; }
.lupe__t--unterlagen { background: rgba(255,255,255,.62); }
.lupe.is-leer .lupe__fan, .lupe.is-leer .lupe__zoom { opacity: 0; }
.lupe__fan, .lupe__zoom { transition: opacity .3s; }

/* ---------- Verlustrechner: zwei Zeitspuren auf zwölf Monaten ---------- */
.lanes { display: grid; gap: 14px; }
.lane__t { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 7px; font-size: 13.5px; color: rgba(255,255,255,.74); }
.lane__t b { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lane__track { position: relative; height: 12px; border-radius: 4px; overflow: hidden;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 1px, transparent 1px calc(100% / 12)), rgba(255,255,255,.08); }
.lane__track i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0%); border-radius: 4px; background: #fff; transition: width .55s var(--ease); }
.lane--over .lane__track i { background: repeating-linear-gradient(135deg, var(--amber) 0 3px, rgba(217,153,54,.5) 3px 6px); }
.lane--over .lane__track::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(100% / 6); border-radius: 4px 0 0 4px; background: #fff; box-shadow: 2px 0 0 var(--green); }
.lo-scale { position: relative; height: 14px; margin: 2px 0 0; font-size: 11.5px; color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; }
.lo-scale span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.lo-scale span:nth-child(1) { left: 0; transform: none; }
.lo-scale span:nth-child(2) { left: 25%; }
.lo-scale span:nth-child(3) { left: 50%; }
.lo-scale span:nth-child(4) { left: 75%; }
.lo-scale span:nth-child(5) { right: 0; transform: none; }

/* ---------- Bewertungs-Rechner im selben Material ---------- */
:is(.result, .calcmini__res, .lpcalc__res) {
  background:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px) 0 0 / 24px 24px,
    radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
}
:is(.calcmini__form, .lpcalc) .field { background: #F5F6F3; border-color: transparent; border-radius: 14px; }
:is(.calcmini__form, .lpcalc) .field:hover { border-color: var(--line-2); }
:is(.calcmini__form, .lpcalc) .field:focus-within { background: #fff; border-color: var(--green); box-shadow: 0 0 0 4px rgba(31,74,58,.09); }

/* ---------- Mobil: Ergebnis mitnehmen, solange man tippt ---------- */
.tpeek { display: none; }
@media (max-width: 860px) {
  .tpeek { display: flex; position: fixed; z-index: 60; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 999px; background: var(--green-deep); color: #fff; font-size: 14px; box-shadow: 0 18px 40px -14px rgba(20,32,26,.55); transform: translateY(calc(100% + 24px)); transition: transform .4s var(--ease); }
  .tpeek.is-on { transform: none; }
  .tpeek span { color: rgba(255,255,255,.75); }
  .tpeek b { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; background: rgba(255,255,255,.1); border-radius: 999px; padding: 7px 16px; }
}
@media (max-width: 420px) {
  .tgrid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .rf { padding: 10px 13px 9px; }
  .rf input { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .seg2::before, .sw input, .sw input::before, .frist__zone, .frist__own, .frist__mark, .frist__sale, .split .sp, .lupe__bar i, .lupe__zoom i, .lane__track i, .tpeek { transition: none; }
}

/* ===== F Immobilien-Übersicht, G Objekt-Detail ===== */

/* Seitenkopf (kompakt, ohne Foto-Hero) */
.phead { padding: clamp(36px, 5vw, 72px) var(--pad) clamp(20px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 5vw, 80px); align-items: end; max-width: 1400px; margin: 0 auto; }
.phead .h1 { font-size: clamp(36px, 4.6vw, 68px); max-width: 15ch; }
.phead .sub { max-width: 44ch; }
.phead .label { margin-bottom: 18px; }

/* Filterleiste */
.fbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 0 var(--pad) 28px; max-width: 1400px; margin: 0 auto; }
.fgroup { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fgroup > span { font-size: 12px; color: var(--muted); font-weight: 500; margin-right: 4px; letter-spacing: .02em; }
.fchip { font: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink); background: transparent; border: 1.5px solid var(--line-2); border-radius: var(--r-chip); padding: 9px 16px; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.fchip:hover { border-color: var(--ink); }
.fchip[aria-pressed=true], .fchip[aria-selected=true] { background: var(--green); border-color: var(--green); color: #fff; }
.fchip:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.fbar__count { margin-left: auto; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fbar__count b { color: var(--ink); font-weight: 500; }

/* Kartenraster */
.lgrid { padding: 0 var(--pad) clamp(56px, 7vw, 96px); }
.lgrid .props { max-width: 1400px; }
.props [data-item] { transition: opacity .26s var(--ease), transform .26s var(--ease), box-shadow .25s ease; }
.props [data-item].is-off { opacity: 0; transform: scale(.96); }
.props [data-item][hidden] { display: none; }
.prop__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 26px; margin: 2px 0 2px; }
.prop__facts div { display: flex; flex-direction: column; }
.prop__facts b { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.prop__facts small { font-size: 12px; color: var(--muted); }
.prop--sold .prop__photo img { filter: saturate(.6); }
.prop__tag { position: absolute; right: 14px; bottom: 14px; background: rgba(20,32,26,.78); color: #fff; font-size: 12.5px; font-weight: 500; padding: 6px 12px; border-radius: var(--r-chip); backdrop-filter: blur(6px); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.empty[hidden] { display: none; }

/* Detail-Dialog für Objekte ohne eigene Seite */
.refdlg { width: min(980px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: var(--r-frame); background: var(--card); color: var(--ink); overflow: hidden; }
.refdlg[open] { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.refdlg::backdrop { background: rgba(18, 26, 22, .62); backdrop-filter: blur(3px); }
.refdlg form { position: absolute; top: 12px; right: 12px; z-index: 2; margin: 0; }
.refdlg__x { width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(20,32,26,.12); }
.refdlg__x:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.refdlg__ph { position: relative; min-height: 320px; background: var(--green-tint); }
.refdlg__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.refdlg .prop__status { position: absolute; left: 16px; top: 16px; }
.refdlg__b { max-height: calc(100dvh - 48px); padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) 0; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.refdlg__b h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 500; letter-spacing: -.015em; line-height: 1.2; padding-right: 40px; }
.refdlg__b > p { font-size: 15.5px; line-height: 1.6; color: #39443d; }
.refdlg .ticks { margin: 4px 0 0; gap: 9px; }
.refdlg .ticks li { font-size: 15px; grid-template-columns: 22px 1fr; gap: 11px; }
.refdlg .ticks li svg { width: 22px; height: 22px; padding: 4px; }
.refdlg__foot { position: sticky; bottom: 0; margin-top: 6px; padding: 16px 0 clamp(20px, 2.6vw, 30px); border-top: 1px solid var(--line); background: var(--card); display: grid; gap: 12px; }
.refdlg__note { font-size: 14px; color: var(--muted); line-height: 1.5; }
.refdlg__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.refdlg__foot .pill { justify-self: start; }
.refdlg__foot .prop__price { border-top: 0; padding-top: 0; }
@media (max-width: 760px) {
  .refdlg[open] { grid-template-columns: minmax(0, 1fr); overflow-y: auto; }
  .refdlg__ph { min-height: 0; aspect-ratio: 4 / 3; }
  .refdlg__b { max-height: none; overflow: visible; }
}

/* Verkauft-Band mit Statuswechsel */
.soldband { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; max-width: 1240px; margin: 0 auto; }
.soldband .sub { max-width: 46ch; margin-top: 16px; }
.soldband .label, .seotext .label { display: block; margin-bottom: 16px; }
.soldband .h2 { max-width: 14ch; }
.soldcard { display: grid; grid-template-columns: 1fr 1.1fr; background: #fff; color: var(--ink); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-card); }
.soldcard__ph { position: relative; min-height: 260px; }
.soldcard__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter 1.2s var(--ease) .6s; }
.soldband .in .soldcard__ph img, .soldcard.in .soldcard__ph img { filter: saturate(.55); }
.soldcard__b { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 14px; justify-content: space-between; }
.soldcard__b h3 { font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.soldcard__b h3 + p { margin-top: 8px; }
.soldcard__m { font-size: 13.5px; color: var(--muted); }
a.soldcard { text-decoration: none; cursor: pointer; }
a.soldcard:hover, a.soldcard:focus-visible { box-shadow: 0 28px 52px -24px rgba(0, 0, 0, .55); }
a.soldcard:hover .soldcard__ph img, a.soldcard:focus-visible .soldcard__ph img { transform: scale(1.04); }
a.soldcard .soldcard__ph img { transition: filter 1.2s var(--ease) .6s, transform .8s ease; }
a.soldcard:focus-visible, a.prop:focus-visible { border-radius: var(--r-card); outline-offset: 4px; }
.sec--dark a.soldcard:focus-visible { outline-color: #fff; }
.flip { perspective: 800px; height: 78px; }
.flip__in { position: relative; height: 100%; transform-style: preserve-3d; transition: transform 1.1s var(--ease) .7s; }
.soldcard.in .flip__in { transform: rotateX(180deg); }
.flip__f { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--r-card); padding: 12px 18px; display: flex; flex-direction: column; justify-content: center; }
.flip__f small { font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.flip__f b { font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
.flip__a { background: var(--green-tint); }
.flip__a small { color: var(--muted); }
.flip__z { background: var(--green); color: #fff; transform: rotateX(180deg); flex-direction: row; align-items: center; gap: 12px; }
.flip__z svg { width: 30px; height: 30px; padding: 7px; background: rgba(255,255,255,.18); border-radius: 50%; stroke-width: 2.2; flex: none; }
.flip__z b { font-size: 22px; }
.flip__z small { display: block; color: rgba(255,255,255,.7); font-weight: 400; }

/* Suchauftrag */
.search { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-frame); padding: clamp(26px, 4vw, 56px); box-shadow: var(--sh-card); max-width: 1240px; margin: 0 auto; }
.search h2 { font-size: clamp(28px, 3vw, 42px); }
.search .sub { margin-top: 14px; max-width: 40ch; }
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.formgrid .full { grid-column: 1 / -1; }
.formgrid .pill { justify-self: start; }
.field textarea { border: 0; background: none; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); resize: vertical; min-height: 70px; outline: none; padding: 0; width: 100%; }
.formgrid[hidden], form[hidden] { display: none; }

/* SEO-Text */
.seotext { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); }
.seotext .h2 { font-size: clamp(28px, 3vw, 42px); }
.seotext p { color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.seotext p + p { margin-top: 16px; }
.seotext p a, .proseline a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* ===== G Objekt-Detail ===== */
.obj { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(28px, 4vw, 64px); max-width: 1400px; margin: 0 auto; padding: 8px var(--pad) clamp(56px, 7vw, 96px); align-items: start; }
.obj__main { min-width: 0; }
.obj__head { padding: 18px 0 26px; }
.obj__head .label { margin-bottom: 14px; }
.obj__head .h1 { font-size: clamp(32px, 3.8vw, 54px); max-width: 20ch; }
.obj__head .sub { margin-top: 14px; max-width: 54ch; }

.gal { position: relative; }
.gal__stage { position: relative; border-radius: var(--r-photo); overflow: hidden; aspect-ratio: 3 / 2; background: var(--green-tint); box-shadow: var(--sh-card); }
.gal__stage img { width: 100%; height: 100%; object-fit: cover; transition: opacity .16s ease, transform 1.2s var(--ease); cursor: zoom-in; }
.gal__stage img.is-swap { opacity: 0; transform: scale(1.02); }
.gal__zoom { position: absolute; right: 16px; bottom: 16px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.gal__zoom:hover { background: #fff; }
.gal__zoom svg { width: 18px; height: 18px; }
html.is-gbox, html.is-gbox body { overflow: hidden; }
html.is-gbox .stickybar { visibility: hidden; }
.gbox { position: fixed; inset: 0; z-index: 100; background: #121a16; display: grid; grid-template-rows: minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); justify-items: center; align-items: center; padding: 56px 64px 14px; }
.gbox .gal__btn { top: calc(50% - 40px); }
.gbox__bar { width: min(100%, 1100px); display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 12px; }
.gbox .gal__cnt { position: static; transform: none; }
.gbox__thumbs { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: thin; }
.gbox__thumbs button { flex: none; width: 84px; aspect-ratio: 3 / 2; border: 2px solid transparent; border-radius: var(--r-thumb); overflow: hidden; padding: 0; cursor: pointer; opacity: .55; background: none; transition: opacity .2s, border-color .2s; }
.gbox__thumbs button:hover { opacity: 1; }
.gbox__thumbs button[aria-current=true] { opacity: 1; border-color: #fff; }
.gbox__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gbox__fig { margin: 0; min-width: 0; max-width: min(100%, 1280px); max-height: 100%; display: grid; justify-items: center; }
.gbox__fig img { max-width: 100%; max-height: calc(100vh - 56px - 140px); max-height: calc(100dvh - 56px - 140px); width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.gbox .gal__btn { background: rgba(255,255,255,.94); }
.gbox .gal__btn--p { left: 16px; }
.gbox .gal__btn--n { right: 16px; }
.gbox__x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.gbox__x svg { width: 18px; height: 18px; }
.gal__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: none; transition: transform .25s var(--ease), background .2s; }
.gal__btn:hover { background: #fff; transform: translateY(-50%) scale(1.07); }
.gal__btn svg { width: 18px; height: 18px; }
.gal__btn--p { left: 16px; } .gal__btn--p svg { transform: rotate(180deg); }
.gal__btn--n { right: 16px; }
.gal__cnt { position: absolute; left: 16px; bottom: 16px; background: rgba(20,32,26,.72); color: #fff; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: var(--r-chip); backdrop-filter: blur(6px); font-variant-numeric: tabular-nums; }
.gal__thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 14px 2px 6px; scrollbar-width: thin; }
.gal__thumbs button { flex: none; width: 92px; aspect-ratio: 3 / 2; border: 2px solid transparent; border-radius: var(--r-thumb); overflow: hidden; padding: 0; cursor: pointer; opacity: .62; transition: opacity .25s, border-color .25s, transform .25s var(--ease); background: none; }
.gal__thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.gal__thumbs button[aria-current=true] { opacity: 1; border-color: var(--green); }
.gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.osec { padding-top: clamp(40px, 5vw, 64px); }
.osec > h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.02em; margin-bottom: 18px; }
.osec p { color: var(--muted); font-size: 16.5px; line-height: 1.72; max-width: 68ch; }
.osec p + p { margin-top: 14px; }
.osec .ticks { margin-bottom: 0; }
.osec p + :is(ul, ol) { margin-top: 16px; }
.hl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 26px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--card); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 22px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts div:nth-last-child(-n+2) { border-bottom: 0; }
.facts span { color: var(--muted); }
.facts b { font-weight: 500; text-align: right; }
.echips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.echips span { display: inline-flex; align-items: center; gap: 8px; background: var(--green-tint); color: var(--green-deep); border-radius: var(--r-chip); padding: 9px 16px; font-size: 14.5px; font-weight: 500; }
.echips svg { width: 15px; height: 15px; }
.sanlist { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 14px; }
.sanlist span { border: 1.5px solid var(--line-2); border-radius: var(--r-chip); padding: 8px 15px; font-size: 14.5px; font-weight: 500; }
.callout { background: var(--green-tint); border-radius: var(--r-card); padding: 24px 28px; margin-top: 20px; max-width: 68ch; }
.callout b { display: block; font-weight: 500; font-size: 18px; margin-bottom: 8px; letter-spacing: -.01em; }
.callout p { color: var(--ink); font-size: 15.5px; max-width: none; }
.callout small { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }
.noteq { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; margin-top: 28px; padding: 22px 26px; border-left: 3px solid var(--amber); background: var(--card); border-radius: 0 var(--r-card) var(--r-card) 0; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: 68ch; }
.noteq img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--green-tint); }
.noteq p { color: var(--ink); font-size: 16.5px; line-height: 1.55; margin: 0; }
.noteq small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.lagegrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.lage { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 18px; }
.lage b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.lage span { font-size: 13.5px; color: var(--muted); line-height: 1.4; display: block; margin-top: 2px; }
.chartwrap--obj { margin-top: 26px; }

/* Sticky Fakten-Karte */
.fcard { position: sticky; top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-frame); box-shadow: var(--sh-card); padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.fcard__st { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--green); align-self: flex-start; background: var(--green-tint); padding: 6px 12px; border-radius: var(--r-chip); }
.fcard__st i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(217,153,54,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(217,153,54,0); } 100% { box-shadow: 0 0 0 0 rgba(217,153,54,0); } }
/* Reserviert: hohler Punkt, ruhig. Verkauft: grüner Punkt wie auf den Karten. */
.fcard__st--res i, .prop__status--res .chip i { background: transparent; box-shadow: inset 0 0 0 2px var(--amber); animation: none; }
.fcard__st--sold i { background: var(--green); animation: none; }
.fcard__price small { display: block; font-size: 13px; color: var(--muted); }
.fcard__price b { font-size: 42px; font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.fcard__price .was { text-decoration: line-through; color: var(--muted); font-size: 16px; margin-left: 10px; font-weight: 400; letter-spacing: 0; }
.fcard__chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fcard__chips div { background: var(--green-tint); border-radius: var(--r-thumb); padding: 10px 8px; text-align: center; }
.fcard__chips b { display: block; font-size: 16px; font-weight: 500; }
.fcard__chips span { font-size: 11.5px; color: var(--muted); }
.fcard__cta { display: grid; gap: 10px; }
.fcard__cta .pill { justify-content: center; }
.fcard__cta .pill--line { padding: 12px 20px; }
.gate { border: 1px dashed var(--line-2); border-radius: var(--r-card); padding: 14px; display: grid; gap: 10px; }
.gate[hidden] { display: none; }
.gate p { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.gate .pill { justify-content: center; padding: 11px 20px; }
.fcard__who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.fcard__who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--green-tint); }
.fcard__who span { display: block; color: var(--muted); font-size: 13px; }
.fcard__who a { font-weight: 500; }
.fcard__note { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* Besichtigungsformular und Verkäufer-Sektion */
.visit { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-frame); padding: clamp(26px, 4vw, 56px); box-shadow: var(--sh-card); }
.visit h2 { font-size: clamp(26px, 2.8vw, 38px); }
.visit .sub { margin-top: 14px; max-width: 38ch; }
.tosell { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: center; background: var(--green-deep); color: #fff; border-radius: var(--r-frame); padding: clamp(28px, 4.4vw, 64px); }
.tosell h2 { font-size: clamp(28px, 3.2vw, 46px); color: #fff; max-width: 17ch; }
.tosell p { color: rgba(255,255,255,.72); font-size: 16.5px; line-height: 1.65; margin-top: 16px; max-width: 46ch; }
.tosell__a { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.tosell .pill:not(.pill--line) { background: #fff; color: var(--green-deep); }
.tosell .pill:not(.pill--line):hover { background: var(--green-tint); }
.tosell .pill:not(.pill--line) .ring { background: var(--green); color: #fff; }
.tosell .pill--line { color: #fff; border-color: rgba(255,255,255,.4); }
.tosell .pill--line:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.tosell__a small { color: rgba(255,255,255,.55); font-size: 13px; }

/* Mobile Leiste */
.stickybar { display: none; }

@media (max-width: 1140px) {
  .obj { grid-template-columns: minmax(0, 1fr) 340px; }
  .lagegrid { grid-template-columns: repeat(2, 1fr); }
  .fcard__chips { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .phead, .soldband, .search, .seotext, .visit, .tosell { grid-template-columns: 1fr; }
  .obj { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .obj__main { display: contents; }
  .obj__head { order: 0; }
  .gal { order: 1; }
  .fcard { position: static; order: 2; margin-top: 22px; }
  .osec { order: 3; }
  .fbar__count { margin-left: 0; }
  .soldcard { grid-template-columns: 1fr; }
  .soldcard__ph { min-height: 200px; }
  .stickybar { display: flex; position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; align-items: center; justify-content: space-between; gap: 12px; background: var(--green-deep); color: #fff; border-radius: var(--r-btn); padding: 8px 8px 8px 22px; box-shadow: 0 20px 40px -14px rgba(20,32,26,.55); transform: translateY(140%); transition: transform .5s var(--ease); }
  .stickybar.is-on { transform: none; }
  .stickybar b { font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
  .stickybar small { display: block; font-size: 11.5px; color: rgba(255,255,255,.6); }
  .stickybar .pill { background: #fff; color: var(--green-deep); padding: 11px 18px; }
}
@media (max-width: 620px) {
  .hl, .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(odd) { border-right: 0; }
  .facts div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .formgrid { grid-template-columns: 1fr; }
  .gal__btn { width: 40px; height: 40px; }
  .gal__thumbs button { width: 76px; }
  .gbox { padding: 60px 8px 10px; }
  .gbox .gal__btn--p { left: 8px; }
  .gbox .gal__btn--n { right: 8px; }
  .gbox__fig img { max-height: calc(100vh - 60px - 120px); max-height: calc(100dvh - 60px - 120px); }
  .gbox__thumbs button { width: 64px; }
  .gal__zoom { width: 40px; height: 40px; right: 12px; bottom: 12px; }
  .lagegrid { grid-template-columns: 1fr 1fr; }
  .prop__facts { grid-template-columns: repeat(3, auto); gap: 4px 18px; }
  .fcard__price b { font-size: 36px; }
  .noteq { grid-template-columns: 44px 1fr; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .flip__in { transition: none; }
  .fcard__st i { animation: none; }
}

.props--2 { grid-template-columns: repeat(2, 1fr); max-width: 940px; }
@media (max-width: 620px) { .props--2 { grid-template-columns: 1fr; } }

/* ===== H Ratgeber-Hub, I Ratgeber-Artikel ===== */

/* Artikelkopf */
.ahead { max-width: 1240px; margin: 0 auto; padding: clamp(36px, 5vw, 72px) var(--pad) clamp(28px, 4vw, 48px); }
.ahead .label { margin-bottom: 18px; }
.ahead .h1 { font-size: clamp(36px, 4.8vw, 70px); max-width: 17ch; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--green-tint); }
/* Büro statt Person: Das MHR-Zeichen füllt den Kreis, der Schriftzug wäre darin unlesbar klein. */
.byline--buero img { object-fit: cover; object-position: center; }
.byline b { display: block; font-weight: 500; font-size: 15.5px; }
.byline span { font-size: 13.5px; color: var(--muted); }
.byline__sep { width: 1px; height: 30px; background: var(--line-2); margin: 0 6px; }

/* Leselayout */
.art { display: grid; grid-template-columns: 220px minmax(0, 68ch); justify-content: center; gap: clamp(32px, 6vw, 96px); padding: 0 var(--pad) clamp(56px, 7vw, 96px); }
.toc { position: sticky; top: 28px; align-self: start; font-size: 14px; }
.toc__l { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 1.5px solid var(--line-2); display: grid; gap: 2px; }
.toc a { position: relative; display: block; padding: 7px 0; color: var(--muted); line-height: 1.35; transition: color .25s var(--ease), transform .25s var(--ease); }
.toc a::before { content: ""; position: absolute; left: -15.5px; top: 50%; width: 1.5px; height: 0; background: var(--green); transform: translateY(-50%); transition: height .3s var(--ease); }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); font-weight: 500; transform: translateX(3px); }
.toc a.on::before { height: 100%; }

/* Kurze Rechtsueberschriften lassen in der Zweispalter-Kopfzeile eine Luecke in der
   Mitte stehen. Dann Unterzeile unter die Ueberschrift legen. */
.phead--stack { display: block; }
.phead--stack .sub { margin-top: 16px; max-width: 56ch; }

.prose { font-size: 18px; line-height: 1.75; color: #1f2b25; }
.prose p { margin: 0 0 1.15em; }
.prose h2 { font-size: clamp(26px, 2.7vw, 36px); font-weight: 500; letter-spacing: -.02em; line-height: 1.18; margin: 2.3em 0 .7em; scroll-margin-top: 28px; color: var(--ink); }
.prose h3 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; margin: 1.7em 0 .5em; color: var(--ink); }
.prose h2 + h3 { margin-top: 0; }
.prose h2:first-child { margin-top: 0; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose .lead { font-size: 20.5px; line-height: 1.6; color: var(--ink); }

/* Pull-Quote im Serif-Stil */
.pq { margin: 1.9em 0 1.9em; padding: .2em 0 .2em 1.1em; border-left: 3px solid var(--amber); font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.22; letter-spacing: -.01em; color: var(--green-deep); }
.pq p { margin: 0; }

/* Drei Preise */
.price3 { display: grid; gap: 10px; margin: 1.6em 0; }
.price3 > div { display: grid; grid-template-columns: 148px 1fr; gap: 20px; align-items: start; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); font-size: 16.5px; line-height: 1.6; }
.price3 b { font-weight: 500; font-size: 17px; letter-spacing: -.01em; }
.price3 b small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.price3 p { margin: 0; color: var(--muted); }
.price3 > div:last-child { background: var(--green); border-color: var(--green); color: #fff; }
.price3 > div:last-child b small, .price3 > div:last-child p { color: rgba(255,255,255,.82); }

/* Verlauf eines überhöhten Preises */
.tl { list-style: none; margin: 1.6em 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 22px; }
/* left = Mitte der Punkte minus halbe Linienbreite: Die Punkte sind mit dem 2px-Rand 18px breit (Mitte 9). */
.tl::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--line-2); }
.tl::after { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--amber); transform-origin: 0 0; transform: scaleY(0); transition: transform 1.6s var(--ease) .2s; }
.tl.in::after { transform: scaleY(1); }
.tl li { position: relative; font-size: 17px; line-height: 1.6; }
.tl li::before { content: ""; position: absolute; left: -28px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--amber); }
.tl b { display: block; font-weight: 500; font-size: 14px; letter-spacing: .02em; color: var(--muted); margin-bottom: 2px; }

/* Warnsignale */
.warn { list-style: none; counter-reset: w; margin: 1.6em 0; padding: 0; display: grid; gap: 14px; }
.warn li { counter-increment: w; position: relative; padding: 22px 24px 22px 76px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); }
.warn li::before { content: counter(w); position: absolute; left: 22px; top: 16px; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 46px; line-height: 1; color: var(--amber); }
.warn q { display: block; font-size: 19px; font-weight: 500; letter-spacing: -.01em; line-height: 1.35; quotes: "„" "“"; margin-bottom: 6px; color: var(--ink); }
.warn p { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--muted); }

/* Fünf Schritte */
.steps5 { list-style: none; counter-reset: s; margin: 1.6em 0; padding: 0; display: grid; gap: 26px; }
.steps5 li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.steps5 li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 500; font-size: 17px; }
.steps5 h3 { font-size: 21px; font-weight: 500; letter-spacing: -.015em; margin: 6px 0 6px; }
.steps5 p { margin: 0; font-size: 17px; line-height: 1.7; }

/* Unterlagen-Liste mit Quelle und Hinweis */
.docs { display: grid; gap: 10px; margin: 1.6em 0; }
.docs > div { display: grid; grid-template-columns: minmax(150px, 230px) 1fr; gap: 18px; align-items: start; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); font-size: 16px; line-height: 1.55; }
.docs b { font-weight: 500; font-size: 16.5px; letter-spacing: -.01em; }
.docs b small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.docs p { margin: 0; color: var(--muted); }

/* Kontextueller CTA */
.ctabox { margin: 2.2em 0; background: var(--green-tint); border-radius: var(--r-frame); padding: clamp(22px, 3vw, 34px); display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.ctabox b { display: block; font-size: 21px; font-weight: 500; letter-spacing: -.015em; line-height: 1.25; margin-bottom: 6px; }
.ctabox p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.prose .ctabox a.pill { color: #fff; text-decoration: none; }

/* Erlaubnis */
.perm { margin: 1.6em 0; display: grid; gap: 6px; }
.perm p { margin: 0; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; color: var(--green-deep); letter-spacing: -.01em; }

/* Autorenbox */
.author { display: grid; grid-template-columns: 76px 1fr; gap: 22px; align-items: center; margin-top: 3em; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-frame); background: var(--card); box-shadow: var(--sh-card); font-size: 15.5px; line-height: 1.6; }
.author img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--green-tint); }
.author b { display: block; font-weight: 500; font-size: 18px; }
.author small { display: block; color: var(--muted); font-size: 13.5px; margin-bottom: 6px; }
.author p { margin: 0; color: var(--muted); }
.author a { color: var(--green); font-weight: 500; }

/* Verwandte Artikel */
.related-sec .posts { max-width: 1240px; }

/* ===== H Hub ===== */
.lagen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1240px; margin: 0 auto; }
.lage-k { display: flex; flex-direction: column; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px 22px; box-shadow: none; transition: transform .25s var(--ease), box-shadow .25s ease; }
.lage-k:hover { transform: translateY(-4px); box-shadow: var(--sh-card); }
.lage-k h3 { font-size: 19px; font-weight: 500; letter-spacing: -.015em; }
.lage-k p { font-size: 14.5px; color: var(--muted); line-height: 1.55; flex: 1; }
.lage-k .more { margin-top: 2px; }
.feat { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); max-width: 1240px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-frame); overflow: hidden; box-shadow: var(--sh-card); }
.feat__ph { position: relative; min-height: 360px; overflow: hidden; }
.feat__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feat:hover .feat__ph img { transform: scale(1.04); }
.feat__b { padding: clamp(26px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 18px; align-items: flex-start; }
.feat__b h2 { font-size: clamp(26px, 2.8vw, 40px); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.feat__b p { color: var(--muted); font-size: 16.5px; line-height: 1.65; max-width: 46ch; }
.feat__m { font-size: 13.5px; color: var(--muted); }
.report { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: center; max-width: 1240px; margin: 0 auto; background: var(--green-deep); color: #fff; border-radius: var(--r-frame); padding: clamp(28px, 4.4vw, 64px); }
.report h2 { font-size: clamp(28px, 3.2vw, 44px); color: #fff; max-width: 15ch; }
.report p { color: rgba(255,255,255,.72); font-size: 16.5px; line-height: 1.65; margin-top: 16px; max-width: 44ch; }
.report .field { background: #fff; }
.report .consent { color: rgba(255,255,255,.7); }
.report .consent a { color: #fff; }
.report .pill { background: #fff; color: var(--green-deep); }
.report .pill .ring { background: var(--green); color: #fff; }
.report .lead-ok { background: rgba(255,255,255,.1); color: #fff; }
.report .lead-ok p { color: rgba(255,255,255,.75); margin: 3px 0 0; font-size: 14.5px; }
.report .lead-ok svg { background: #fff; color: var(--green-deep); }
.posts--hub .post__tag { background: var(--green-tint); }

/* Generierte Ratgeberartikel (tools/ratgeber-gen.mjs): Artikelbild, einfache Listen, Tabellen, Kategorien im Hub.
   Eigenschaften nur für Listen ohne Klasse, damit .tl, .warn und .steps5 unberührt bleiben. */
.prose .artbild { margin: 1.8em 0 2em; }
.prose .artbild img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-frame); background: var(--green-tint); }
.prose .artbild figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.prose ul:not([class]), .prose ol:not([class]) { margin: 0 0 1.15em; padding-left: 1.3em; }
.prose ul:not([class]) { list-style: disc; }
.prose ol:not([class]) { list-style: decimal; }
.prose li:not([class]) { margin-bottom: .4em; }
.prose .tabelle { overflow-x: auto; margin: 1.6em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 500; font-size: 13.5px; letter-spacing: .02em; color: var(--muted); }
.author--buero img { object-fit: cover; object-position: center; }
.hubcat { margin: 2.2em 0 .8em; font-size: 21px; font-weight: 500; letter-spacing: -.015em; color: var(--ink); }

@media (max-width: 1140px) {
  .lagen { grid-template-columns: repeat(3, 1fr); }
  .art { grid-template-columns: 190px minmax(0, 68ch); gap: 40px; }
}
@media (max-width: 960px) {
  .art { grid-template-columns: minmax(0, 68ch); }
  .toc { display: none; }
}
@media (max-width: 860px) {
  .feat, .report { grid-template-columns: 1fr; }
  .feat__ph { min-height: 240px; }
  .lagen { grid-template-columns: repeat(2, 1fr); }
  .ctabox { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .prose { font-size: 17.5px; }
  .price3 > div, .docs > div { grid-template-columns: 1fr; gap: 6px; }
  .warn li { padding: 66px 20px 20px; }
  .warn li::before { left: 20px; top: 14px; }
  .lagen { grid-template-columns: 1fr; }
  .author { grid-template-columns: 1fr; }
  .byline__sep { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tl::after { transform: none; transition: none; }
}

/* ===== J Über uns, K Kontakt ===== */

/* Über uns: Kopf mit Porträt */
.about { max-width: 1400px; margin: 0 auto; padding: clamp(36px, 5vw, 72px) var(--pad) clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.about .label { margin-bottom: 18px; }
.about .h1 { font-size: clamp(36px, 4.8vw, 70px); max-width: 14ch; }
.about .sub { margin-top: 22px; max-width: 50ch; }
.portrait { position: relative; background: var(--green-tint); border-radius: var(--r-photo); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--sh-card); }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.portrait__tag { position: absolute; left: 18px; bottom: 18px; right: 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: var(--r-card); padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.portrait__tag b { display: block; font-weight: 500; font-size: 16px; }
.portrait__tag span { color: var(--muted); font-size: 13px; }
.portrait__tag a { font-weight: 500; color: var(--green); white-space: nowrap; }

/* Zeitleiste */
.flow--tl .flow__dot { width: auto; min-width: 54px; padding: 0 18px; border-radius: var(--r-chip); font-size: 16px; letter-spacing: -.01em; }
.flow--tl .flow__dot svg { width: 22px; height: 22px; }
.flow--tl .flow__step.is-on .flow__dot { background: var(--green); color: #fff; border-color: var(--green); }
.flow--tl .flow__line { width: calc(75% + 30px); }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1240px; margin: 0 auto; }
.tcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; box-shadow: none; transition: transform .25s var(--ease), box-shadow .25s ease; }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--sh-card); }
.tcard__ph { aspect-ratio: 4 / 3.2; background: var(--green-tint); position: relative; overflow: hidden; display: grid; place-items: center; }
.tcard__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.tcard__ph svg { width: 54px; height: 54px; color: var(--green); stroke-width: 1.3; opacity: .7; }
.tcard__b { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tcard__b h3 { font-size: 20px; font-weight: 500; letter-spacing: -.015em; }
.tcard__r { font-size: 13px; font-weight: 500; color: var(--green); }
.tcard__b p { font-size: 14.5px; color: var(--muted); line-height: 1.55; flex: 1; }
.tcard__b a { font-size: 14.5px; font-weight: 500; }
/* Kontakt */
.status { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px 22px; box-shadow: var(--sh-card); }
.status__dot { width: 14px; height: 14px; border-radius: 50%; background: #B6BCB4; flex: none; position: relative; }
.status[data-open="true"] .status__dot { background: #2E9B63; }
.status[data-open="true"] .status__dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #2E9B63; opacity: 0; animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
.status b { display: block; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.status span { font-size: 14px; color: var(--muted); line-height: 1.45; }

.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1240px; margin: 0 auto; }
.way { display: flex; flex-direction: column; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px 24px; box-shadow: none; transition: transform .25s var(--ease), box-shadow .25s ease; }
.way:hover { transform: translateY(-4px); box-shadow: var(--sh-card); }
.way .iconbtn { pointer-events: none; background: var(--green-tint); border: 0; color: var(--green); }
.way h3 { font-size: 19px; font-weight: 500; letter-spacing: -.015em; }
.way b { font-size: 21px; font-weight: 500; letter-spacing: -.02em; }
.way p { font-size: 14.5px; color: var(--muted); line-height: 1.55; flex: 1; }
.way .more { margin-top: 2px; }
.way--main { background: var(--green-deep); color: #fff; border-color: transparent; }
.way--main .iconbtn { background: rgba(255,255,255,.14); color: #fff; }
.way--main p { color: rgba(255,255,255,.72); }
.way--main .more { color: #fff; }

.kform { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); max-width: 1240px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-frame); padding: clamp(26px, 4vw, 56px); box-shadow: var(--sh-card); }
.kform h2 { font-size: clamp(26px, 2.8vw, 38px); }
.kform .sub { margin-top: 14px; max-width: 38ch; }
.sdots { display: flex; gap: 8px; margin-bottom: 20px; }
.sdots i { height: 4px; flex: 1; border-radius: 4px; background: var(--line-2); transition: background .4s var(--ease); }
.sdots i.on { background: var(--green); }
.kform fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.kform legend { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.snav { display: flex; gap: 12px; align-items: center; margin-top: 6px; }
.snav .back { flex: none; white-space: nowrap; background: none; border: 0; font: inherit; color: var(--muted); cursor: pointer; padding: 10px 6px; font-weight: 500; }
.snav .back:hover { color: var(--ink); }
.kform [data-sp][hidden] { display: none; }

.anf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); max-width: 1240px; margin: 0 auto; align-items: stretch; }
.anf__map { position: relative; border-radius: var(--r-photo); overflow: hidden; min-height: 320px; background: var(--green-tint); }
.anf__map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.anf__pin { position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-radius: var(--r-card); padding: 12px 16px; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.anf__pin svg { width: 18px; height: 18px; color: var(--green); }

/* Meisterpass 05.10.2026: Harald-Zitat als Querband unter dem Region-Duo (statt eigener, verlassener Zitat-Sektion) */
.pullq--band { flex-direction: row; align-items: center; justify-content: space-between; max-width: 1240px; margin: clamp(20px, 2.6vw, 36px) auto 0; }
.pullq--band blockquote { max-width: 26em; }
.pullq--band figcaption { flex-shrink: 0; }
@media (max-width: 860px) { .pullq--band { flex-direction: column; align-items: flex-start; } }
.anf__t { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.anf__t h2 { font-size: clamp(26px, 2.8vw, 38px); }
.anf__t p { color: var(--muted); font-size: 16.5px; line-height: 1.65; max-width: 46ch; }
.anf__list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; font-size: 15.5px; }
.anf__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.anf__list svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green-tint); color: var(--green); stroke-width: 2; }
.promise { max-width: 980px; margin: 0 auto; text-align: center; }
.promise p { font-size: clamp(20px, 2vw, 26px); line-height: 1.45; letter-spacing: -.01em; max-width: 760px; margin-left: auto; margin-right: auto; }
.promise p b { font-weight: 500; }
.promise__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; text-align: left; }
.promise__it { background: var(--card, #fff); border: 1px solid var(--line); border-radius: var(--r-m, 14px); padding: 22px 22px 24px; display: grid; gap: 8px; justify-items: start; }
.promise__it b { font-weight: 500; font-size: 17px; letter-spacing: -.01em; }
.promise__it small { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 860px) { .promise__row { grid-template-columns: 1fr; } }

@media (max-width: 1140px) {
  .ways { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .about, .kform, .anf { grid-template-columns: 1fr; }
  .portrait { aspect-ratio: 4 / 3.6; }
  .anf__map { min-height: 240px; }
  .flow--tl .flow__line { width: 2px; }
}
@media (max-width: 620px) {
  .ways, .team { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .status[data-open="true"] .status__dot::after { animation: none; }
}

/* Rechtsseiten: sichtbare Offen-Marken */
.offen { display: inline-block; background: #fdf3d7; border: 1px solid #e8d49a; border-radius: var(--r-chip); padding: 3px 10px; font-size: 0.92em; color: #7a5d10; }

/* Danke-Seiten und 404 */
.thanks { max-width: 640px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: 22px; padding: clamp(24px, 4vw, 56px) 0; }
.thanks .iconbtn { width: 64px; height: 64px; border-radius: 50%; background: var(--green-tint); color: var(--green); }
.thanks .iconbtn .ic { width: 26px; height: 26px; }
.thanks h1 { max-width: 16ch; }
.thanks .sub { max-width: 44ch; }
.thanks__frist { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-card); padding: 18px 26px; font-size: 15.5px; line-height: 1.6; }
.thanks__frist a { font-weight: 500; color: var(--green); text-decoration: none; }
.thanks__next { display: grid; gap: 6px; justify-items: center; }
.thanks__next small { color: var(--muted); font-size: 13.5px; }
.suche__treffer { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; text-align: left; }
.suche__treffer:empty { display: none; }
.suche__treffer a { display: grid; gap: 2px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); text-decoration: none; color: var(--ink); }
.suche__treffer a:hover, .suche__treffer a:focus-visible { border-color: var(--green); }
.suche__treffer b { font-weight: 500; color: var(--green); }
.suche__treffer small { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.suche__leer { font-size: 15px; color: var(--muted); }
.suche__leer a { color: var(--green); font-weight: 500; }
.goals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(20px, 3vw, 36px); }
@media (max-width: 860px) { .goals { grid-template-columns: repeat(2, 1fr); } }

/* Partnerblock: lokale Dienstleister, aus der Partnerdatenbank je Ort gezogen */
.pnet { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.pcard { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px 24px 22px; box-shadow: var(--sh-card); }
.pcard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcard__cat { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.pcard__cat .iconbtn { width: 38px; height: 38px; }
.pcard h3 { font-size: 19px; font-weight: 500; margin: 6px 0 0; }
.pcard__d { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 13px; background: var(--green-tint); color: var(--green); border-radius: var(--r-chip); padding: 4px 12px; }
.pcard__d .ic { width: 14px; height: 14px; }
.pcard p { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.pcard--demo { border-style: dashed; box-shadow: none; }
.pcard--neutral { background: var(--tint-soft); box-shadow: none; }
.pcard__tag { font-size: 11.5px; letter-spacing: .02em; background: rgba(217, 153, 54, .16); color: #8a5c12; border-radius: var(--r-chip); padding: 3px 10px; white-space: nowrap; }
.pnet__note { margin: 22px 0 0; font-size: 14px; color: var(--muted); max-width: 720px; }

/* ---------- Cookie-Karte (Plan 43.3): unten links, hoechstens 360 px, drei gleichwertige Aktionen ---------- */
.cookie { position: fixed; z-index: 90; left: 16px; bottom: 16px; width: min(360px, calc(100vw - 32px)); background: var(--frame); color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 18px 18px 16px; box-shadow: var(--sh-bar); opacity: 0; transition: opacity .2s ease; }
.cookie[hidden] { display: none; }
.cookie.in { opacity: 1; }
.cookie__t { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.cookie__d { font-size: 14px; line-height: 1.5; color: var(--muted); font-weight: 400; }
.cookie__d a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cookie__opts { margin-top: 12px; display: grid; gap: 2px; border-top: 1px solid var(--line); }
.cookie__opts[hidden] { display: none; }
.cookie__opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.4; color: var(--muted); cursor: pointer; }
.cookie__opt input { margin-top: 3px; accent-color: var(--green); width: 16px; height: 16px; flex: none; }
.cookie__opt b { display: block; color: var(--ink); font-weight: 600; }
.cookie__btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
/* gleiche Groesse, gleiche Farbe: keine Lenkung */
.cookie__b { padding: 10px 6px; border-radius: var(--r-btn); border: 1.5px solid var(--line-2); background: var(--frame); color: var(--ink); font-size: 13.5px; font-weight: 500; line-height: 1.2; text-align: center; transition: border-color .2s, background .2s; }
.cookie__b:hover { border-color: var(--ink); background: var(--green-tint); }
.cookie__b:focus-visible, .cookie__opt input:focus-visible, .cookie__d a:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
@media (max-width: 420px) { .cookie { left: 8px; bottom: 8px; width: calc(100vw - 16px); } }
@media (prefers-reduced-motion: reduce) { .cookie { transition: none; } }

/* ============================================================
   Widget-Grafiksprache (Meisterpass, Block G)
   Eigene Zeichensprache statt Standard-Komponenten:
   - Spannen-Band als Messleiste mit Teilung und Messmarken
   - Genauigkeits-Staffel mit sichtbarer Verengung
   - Zahl-Übergänge beim Rechnen (JS setzt .tick)
   Alle Bewegungen sind unter prefers-reduced-motion abgeschaltet.
   ============================================================ */

/* --- Spannen-Band: die Preisspanne liegt auf einer Messleiste ---------- */
.result__bar {
  position: relative;
  height: 26px;
  margin-top: 26px;
  background: none;
  border-radius: 0;
  overflow: visible;
}
/* Teilung: feine Striche im Zehntel-Raster, wie auf einem Maßband */
.result__bar::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 9px;
  height: 8px;
  background:
    linear-gradient(rgba(255,255,255,.26), rgba(255,255,255,.26)) 0 50% / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, rgba(255,255,255,.26) 0 1px, transparent 1px 10%);
}
/* Die Spanne selbst: ein klares Band zwischen zwei Messmarken */
.result__bar i {
  position: absolute;
  top: 9px; bottom: 9px;
  border-radius: 1px;
  background: var(--amber);
  transition: left .55s var(--ease), width .55s var(--ease);
}
/* Messmarken an Unter- und Obergrenze */
.result__bar i::before,
.result__bar i::after {
  content: "";
  position: absolute;
  top: -5px; bottom: -5px;
  width: 2px;
  border-radius: 1px;
  background: var(--amber);
}
.result__bar i::before { left: 0; }
.result__bar i::after { right: 0; }

/* --- Zahl-Übergang: kurzer Hub, wenn der Rechner neu rechnet ---------- */
.tick {
  animation: num-tick .34s var(--ease);
}
@keyframes num-tick {
  0%   { opacity: .35; transform: translateY(-.14em); }
  60%  { opacity: 1;   transform: translateY(.02em); }
  100% { opacity: 1;   transform: translateY(0); }
}
.result__range span,
.calcmini__facts b,
.lane__t b { display: inline-block; }

/* --- Fokus-Zustände in Widgets: sichtbar, aber in der Palette --------- */
.calcmini__form .field input:focus-visible,
.calcmini__form .field select:focus-visible,
.tcalc .rs input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.lpcalc input:focus-visible,
.lpcalc select:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* --- Balken: dieselbe Messleiste, nur kleiner ------------------------- */
/* Haarlinie mit Zehntel-Teilung, darauf ein schmaler Balken mit Messmarken */
.rng { background: none; border-radius: 0; overflow: visible; }
.rng::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 7px;
  margin-top: -3.5px;
  --rl: rgba(26,46,38,.16);
  --rt: rgba(26,46,38,.14);
  background:
    linear-gradient(var(--rl), var(--rl)) 0 50% / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--rt) 0 1px, transparent 1px 10%);
}
.rng i {
  top: 50%; bottom: auto;
  height: 4px;
  margin-top: -2px;
  border-radius: 2px;
}
/* Messmarke am Wert: der Balken endet nicht, er zeigt auf eine Stelle */
.rng i::after {
  content: "";
  position: absolute;
  right: 0; top: -5px; bottom: -5px;
  width: 1.5px;
  border-radius: 1px;
  background: inherit;
}
.bar .rng::before { --rl: rgba(26,46,38,.2); --rt: rgba(26,46,38,.16); }
.rng--onDark::before { --rl: rgba(255,255,255,.24); --rt: rgba(255,255,255,.22); }

/* --- Stepper: die fünf Punkte liegen auf einem Faden, der mitwächst --- */
/* Breite auf die Punkte begrenzen, damit der Faden nicht über die Karte läuft */
.lpcalc__steps { position: relative; width: fit-content; margin-inline: auto; }
.lpcalc__steps::before,
.lpcalc__steps::after {
  content: "";
  position: absolute;
  top: 35px;
  left: 17px;
  height: 1.5px;
  border-radius: 1px;
}
.lpcalc__steps::before { right: 17px; background: var(--line-2); }
.lpcalc__steps::after {
  width: calc((100% - 34px) * var(--prog, 0));
  background: var(--green);
  transition: width .5s var(--ease);
}
.lpcalc__steps button { position: relative; z-index: 1; }

/* --- Rangliste der Stadtteile: Balken mit Bezugsachse ---------------- */
.kmap__rank li i {
  position: relative;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green) var(--w), rgba(26,46,38,.1) var(--w));
}
.kmap__rank li i::after {
  content: "";
  position: absolute;
  left: var(--avg, 50%);
  top: -5px; bottom: -5px;
  width: 1px;
  background: rgba(26,46,38,.34);
}
.kmap__rank li.over b { color: var(--green); }
.kmap__legend {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.kmap__legend b { font-weight: 500; color: var(--ink); }

/* --- Genauigkeits-Staffel: die Verengung wird gezeichnet -------------- */
.rng--c i { transition: width .5s var(--ease), transform .5s var(--ease); }
/* Wo der Balken eine Spanne ist, ist auch die Untergrenze eine Aussage */
.rng--c i::before,
.cmp .rng i::before {
  content: "";
  position: absolute;
  left: 0; top: -5px; bottom: -5px;
  width: 1.5px;
  border-radius: 1px;
  background: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .result__bar i,
  .rng--c i { transition: none; }
  .tick { animation: none; }
}
