/* WohnSignal-App – gleicher Look wie die Landingpage (Palette Y: neutrales Grau, Salbei, Mokka; Schrift Geist). */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #e6e5e1;
  --surface: #f4f3ef; --surface-2: #e4e3dd; --line: #d2d0c8; --ink: #20211d; --text: #33342f; --muted: #626359;
  --sage: #8e9e8b; --sage-ink: #1f2a1d; --sage-soft: #dfe5dc; --sage-dark: #4f5d4c; --mocha: #a88f79; --mocha-dark: #5a4a3d;
  --warn: #9a5b13; --err: #b42318; --r: 18px;
  --shadow: 0 1px 2px rgba(25, 22, 18, .05), 0 12px 30px -18px rgba(25, 22, 18, .25);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; background: var(--bg); color: var(--text);
  font: 16.5px/1.5 "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: -.005em; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -.03em; line-height: 1.1; font-weight: 600; }
h1 { font-size: 34px; letter-spacing: -.045em; }
h2 { font-size: 24px; }
h3 { font-size: 17px; letter-spacing: -.015em; }
a { color: var(--sage-dark); }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 20px; height: 20px; flex: none; }

/* Grundgerüst */
.app { max-width: 640px; margin: 0 auto; padding: calc(env(safe-area-inset-top) + 8px) 16px calc(env(safe-area-inset-bottom) + 96px); }
.boot { min-height: 80dvh; display: grid; place-items: center; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--sage-dark); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0 18px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 18px; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.plan { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.plan.plus { background: var(--sage); border-color: transparent; color: var(--sage-ink); }
.page-head { margin: 6px 0 18px; }
.page-head p { margin: 6px 0 0; color: var(--muted); }

/* Karten, Buttons, Formular */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.card + .card { margin-top: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; border-radius: 12px; padding: 13px 18px;
  font-weight: 600; background: var(--sage); color: var(--sage-ink); cursor: pointer; text-decoration: none; transition: filter .15s, transform .1s; }
.btn:hover { filter: brightness(.96); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.danger { background: transparent; border-color: #e3c2bd; color: var(--err); }
.btn.block { width: 100%; }
.btn.sm { padding: 9px 12px; font-size: 14px; border-radius: 10px; }
label.f { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin: 14px 0 6px; }
input[type=email], input[type=text], input[type=number], select, textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: #fbfaf8; color: var(--ink); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--sage-dark); box-shadow: 0 0 0 3px rgba(142, 158, 139, .35); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hint { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; }
.msg { margin: 12px 0 0; font-size: 14.5px; }
.msg.err { color: var(--err); }
.msg.ok { color: var(--sage-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { border: 1px solid var(--line); background: #fbfaf8; border-radius: 999px; padding: 7px 12px; font-size: 14px; cursor: pointer; color: var(--text); }
.chip[aria-pressed="true"] { background: var(--sage); border-color: transparent; color: var(--sage-ink); font-weight: 600; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); cursor: pointer; }
.toggle:first-of-type { border-top: 0; }
.toggle span b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.toggle span small { color: var(--muted); font-size: 13.5px; }
.toggle input { appearance: none; flex: none; width: 46px; height: 28px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .15s; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .15s; }
.toggle input:checked { background: var(--sage-dark); }
.toggle input:checked::after { transform: translateX(18px); }
.sticky-save { position: sticky; bottom: calc(env(safe-area-inset-bottom) + 84px); margin-top: 16px; }

/* Login */
.login { min-height: 82dvh; display: flex; flex-direction: column; justify-content: center; }
.login h1 { font-size: 40px; margin: 22px 0 10px; }
.login .lead { color: var(--muted); font-size: 17.5px; margin: 0 0 22px; }
.sent-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage-dark); }
.sent-ico .i { width: 26px; height: 26px; }

/* Treffer */
.summary { display: flex; gap: 10px; margin: 0 0 16px; }
.summary div { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.summary b { display: block; font-size: 26px; font-weight: 650; letter-spacing: -.04em; color: var(--ink); line-height: 1.1; }
.summary span { font-size: 13px; color: var(--muted); }
.sec-t { display: flex; align-items: center; justify-content: space-between; margin: 26px 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-dark); }
.hit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); }
.hit + .hit { margin-top: 12px; }
.hit-top { display: flex; gap: 11px; align-items: flex-start; }
.hit-ico { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage-dark); }
.hit-ico .i { width: 19px; height: 19px; }
.hit-top h3 { font-size: 16px; }
.hit-top .src { font-size: 13px; color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.badge { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 9px; background: var(--surface-2); color: var(--text); }
.badge.new { background: var(--sage); color: var(--sage-ink); }
.badge.bau { background: #efe6dc; color: var(--mocha-dark); }
.badge.vorm { background: var(--sage-soft); color: var(--sage-dark); }
.badge.warn { background: #f6e7d3; color: var(--warn); }
.rows { margin: 12px 0 0; }
.rows div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; }
.rows dt { color: var(--muted); }
.rows dd { margin: 0; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; text-align: end; }
.rows .sum dt { color: var(--ink); font-weight: 600; }
.rows .sum dd { font-weight: 700; }
.rows .unk dd { color: var(--muted); font-weight: 400; }
.hit .btn { margin-top: 12px; }
.proj { display: flex; align-items: center; gap: 12px; padding: 13px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: inherit; }
.proj + .proj { margin-top: 8px; }
.proj b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.proj small { color: var(--muted); font-size: 13px; }
.proj > .i { margin-inline-start: auto; color: var(--muted); width: 18px; height: 18px; flex: none; }   /* nur der Pfeil rechts – nicht das Symbol im Kästchen */
.empty { text-align: center; padding: 34px 18px; }
.empty .sent-ico { margin: 0 auto 12px; }
.empty p { color: var(--muted); margin: 8px 0 16px; }

/* Konto */
.acc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.acc-row:first-child { border-top: 0; padding-top: 0; }
.acc-row span { color: var(--muted); font-size: 14.5px; flex: none; white-space: nowrap; }
.acc-row b { color: var(--ink); font-weight: 600; text-align: end; min-width: 0; overflow-wrap: anywhere; }
.stack-btns { display: grid; gap: 10px; margin-top: 14px; }
.ok-dot { display: inline-flex; align-items: center; gap: 6px; color: var(--sage-dark); font-weight: 600; }
.ok-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3f9a5a; }

/* Tab-Leiste unten (wie eine native App) */
.tabs { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; padding: 8px 12px calc(env(safe-area-inset-bottom) + 8px);
  background: rgba(244, 243, 239, .86); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border-top: 1px solid var(--line); }
.tabs nav { max-width: 640px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.tabs a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: 12px; font-weight: 600; color: var(--muted); text-decoration: none; border-radius: 12px; }
.tabs a .i { width: 22px; height: 22px; }
.tabs a[aria-current="page"] { color: var(--ink); }
.tabs a[aria-current="page"] .i { color: var(--sage-dark); }
.toast { position: fixed; z-index: 30; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 92px); transform: translateX(-50%); background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 12px; font-size: 14.5px; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.mt { margin-top: 14px; }

/* ============================================================ Mehr Mokka-Braun + kompakte Liste (Anregung: übersichtliche Inserate-Listen) */
:root { --mocha-ink: #3f3329; --mocha-soft: #efe7de; }
/* braune Kopfleiste über die ganze Breite */
.top.bar { position: sticky; top: 0; z-index: 15; margin: calc(-8px - env(safe-area-inset-top)) -16px 18px; padding: calc(env(safe-area-inset-top) + 12px) 16px 12px;
  background: var(--mocha-dark); color: #fff; box-shadow: 0 6px 18px -12px rgba(40, 30, 22, .6); }
.top.bar .logo { color: #fff; }
.top.bar .logo img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.top.bar .plan { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .22); color: #fff; }
.top.bar .plan.plus { background: var(--mocha); color: #fff; border-color: transparent; }
@media (min-width: 672px) { .top.bar { margin-left: calc((640px - 100vw) / 2); margin-right: calc((640px - 100vw) / 2); padding-left: calc((100vw - 640px) / 2 + 16px); padding-right: calc((100vw - 640px) / 2 + 16px); } }

/* Zusammenfassung: erste Kachel braun */
.summary div:first-child { background: var(--mocha-dark); border-color: transparent; }
.summary div:first-child b, .summary div:first-child span { color: #fff; }
.summary div:first-child span { opacity: .8; }
.sec-t { color: var(--mocha-dark); }
.page-head h1 { color: var(--mocha-ink); }

/* kompakte Treffer-Karte */
a.hit { display: block; text-decoration: none; color: inherit; padding: 14px 16px; border-inline-start: 4px solid var(--mocha); box-shadow: 0 1px 2px rgba(25, 22, 18, .05); transition: transform .12s, box-shadow .12s; }
a.hit:hover { box-shadow: var(--shadow); }
a.hit:active { transform: scale(.995); }
a.hit + a.hit { margin-top: 10px; }
.hit-src { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.hit-src b { color: var(--mocha-dark); font-weight: 600; }
.hit-src .i { width: 16px; height: 16px; color: var(--mocha); }
.facts { margin-top: 6px; font-size: 16.5px; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.35; }
.facts b { font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.facts .dot { color: var(--mocha); margin: 0 7px; }
.addr { margin-top: 4px; font-size: 14.5px; color: var(--text); }
.frei { margin-top: 2px; font-size: 13.5px; color: var(--muted); }
a.hit .badges { margin-top: 8px; }
.badge.new { background: var(--mocha-dark); color: #fff; }
.badge.bau { background: var(--mocha-soft); color: var(--mocha-ink); }
.proj .hit-ico { background: var(--mocha-soft); color: var(--mocha-dark); }

/* Tab-Leiste & Kleinkram in Braun */
.tabs a[aria-current="page"] { color: var(--mocha-ink); }
.tabs a[aria-current="page"] .i { color: var(--mocha-dark); }
.card h3 { color: var(--mocha-ink); }
.chip[aria-pressed="true"] { background: var(--mocha-dark); color: #fff; }
.toggle input:checked { background: var(--mocha-dark); }
a { color: var(--mocha-dark); }
.login h1 { color: var(--mocha-ink); }
.sent-ico { background: var(--mocha-soft); color: var(--mocha-dark); }

/* ============================================================ Ausgewogen: Mokka + Salbei gemischt (User 09.11.: „Mischung aus beiden Farben“) */
.top.bar .plan.plus { background: var(--sage); color: var(--sage-ink); }
.summary div:first-child { background: var(--mocha-dark); }
.summary div:nth-child(2) { background: var(--sage); border-color: transparent; }
.summary div:nth-child(2) b, .summary div:nth-child(2) span { color: var(--sage-ink); }
a.hit { border-inline-start: 0; position: relative; overflow: hidden; padding-inline-start: 20px; }
a.hit::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: var(--mocha); }
.facts .dot { color: var(--sage); }
.hit-src .i { color: var(--sage-dark); }
.badge.new { background: var(--sage); color: var(--sage-ink); }
.badge.bau { background: var(--mocha-soft); color: var(--mocha-ink); }
.chip[aria-pressed="true"] { background: var(--sage-dark); color: #fff; }
.toggle input:checked { background: var(--sage-dark); }
.card h3, .page-head h1, .login h1 { color: var(--mocha-ink); }
.sec-t { color: var(--sage-dark); }
.tabs a[aria-current="page"] .i { color: var(--sage-dark); }
.btn { background: var(--sage); }
.btn.ghost { color: var(--mocha-ink); border-color: #d6c9bb; }

/* ============================================================ Dezent (User 09.11.: Verlauf oben „geht gar nicht“ → beide Farben nur als ruhige Akzente) */
.top.bar { background: rgba(244, 243, 239, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ink);
  box-shadow: none; border-bottom: 1px solid var(--line); }
.top.bar .logo { color: var(--ink); }
.top.bar .logo img { box-shadow: none; }
.top.bar .plan, .top.bar .plan.plus { background: var(--sage-soft); color: var(--sage-dark); border: 0; }
.summary div:first-child { background: var(--mocha-soft); border-color: #e2d6c9; }
.summary div:first-child b { color: var(--mocha-dark); }
.summary div:first-child span { color: var(--mocha-ink); opacity: .75; }
.summary div:nth-child(2) { background: var(--sage-soft); border-color: #cfd8cc; }
.summary div:nth-child(2) b { color: var(--sage-dark); }
.summary div:nth-child(2) span { color: var(--sage-dark); opacity: .8; }
a.hit::before { width: 3px; background: var(--mocha); opacity: .7; }
.badge.new { background: var(--sage-soft); color: var(--sage-dark); }
.chip[aria-pressed="true"] { background: var(--sage-soft); border-color: var(--sage); color: var(--sage-dark); }
.toggle input:checked { background: var(--sage); }

/* ============================================================ Ausführliche Wohnungskarte (alle Fakten) + Finder */
.hit2 { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: 0 1px 2px rgba(25, 22, 18, .05); }
.hit2 + .hit2 { margin-top: 12px; }
.h2-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.h2-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
.h2-price b { font-size: 26px; font-weight: 650; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.h2-price span { color: var(--muted); font-size: 14px; }
.h2-price small { flex-basis: 100%; color: var(--mocha-dark); font-size: 13px; font-weight: 500; margin-top: 2px; }
.h2-time { flex: none; font-size: 12.5px; color: var(--muted); padding-top: 4px; }
.h2-addr { display: flex; gap: 6px; align-items: flex-start; margin-top: 8px; font-size: 15px; color: var(--ink); font-weight: 500; }
.h2-addr .i { width: 17px; height: 17px; color: var(--mocha); margin-top: 2px; }
.hit2 .badges { margin-top: 10px; }
.h2-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 8px; margin-top: 14px; }
.h2-tiles div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; }
.h2-tiles b { display: block; font-size: 16px; font-weight: 650; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.h2-tiles span { font-size: 12px; color: var(--muted); }
.h2-rows { margin: 12px 0 0; }
.h2-rows div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.h2-rows dt { color: var(--muted); }
.h2-rows dd { margin: 0; color: var(--ink); font-weight: 500; text-align: end; font-variant-numeric: tabular-nums; }
.h2-rows .unk { color: var(--muted); font-weight: 400; }
.h2-foot { margin-top: 12px; }
.h2-src { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.h2-src .i { width: 16px; height: 16px; color: var(--sage-dark); }
.h2-src b { color: var(--mocha-dark); font-weight: 600; }
.filters { padding: 14px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fl { display: block; }
.fl span { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 0 0 4px 2px; }
.fl select { padding: 11px 12px; font-size: 15px; }
.f-count { margin: 16px 2px 10px; color: var(--muted); font-size: 14.5px; }
.f-count b { color: var(--ink); font-size: 17px; }

/* ============================================================ Einheitliche Listenkarte + Detailseite (09.11.) */
.na { color: #9a978e; font-weight: 400; }
/* Listenkarte */
.lc { display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; gap: 8px 14px; min-height: 152px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px 12px; text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px rgba(25, 22, 18, .05); transition: box-shadow .15s, transform .1s; }
.lc:hover { box-shadow: var(--shadow); }
.lc:active { transform: scale(.995); }
.lc + .lc { margin-top: 10px; }
.lc-addr b { display: block; color: var(--ink); font-weight: 600; font-size: 16px; letter-spacing: -.015em; line-height: 1.3; }
.lc-addr span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 1px; }
.lc-core { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; }
.kd { display: inline-flex; align-items: center; gap: 5px; font-size: 14.5px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.kd .i { width: 16px; height: 16px; color: var(--mocha); }
.kd-na { color: #a9a69d; font-weight: 400; }
.kd-na .i { color: #c3bfb5; }
.lc-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; min-height: 22px; }
.bd { font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: 3px 9px; line-height: 1.3; }
.bd-new { background: var(--sage-soft); color: var(--sage-dark); }
.bd-mk { background: var(--mocha-soft); color: var(--mocha-ink); }
.bd-warn { background: #f6e7d3; color: var(--warn); }
.bd-wt { background: #e4e7f0; color: #34405e; }
.bd-bau { background: var(--mocha-soft); color: var(--mocha-ink); }
.lc-price { text-align: end; display: flex; flex-direction: column; gap: 2px; min-width: 96px; }
.lc-price b { font-size: 21px; font-weight: 650; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.15; }
.lc-price span { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lc-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 10px; padding-top: 9px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.lc-foot span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.lc-foot .i { width: 14px; height: 14px; color: var(--sage-dark); flex: none; }

/* Detailseite */
.dp { padding-bottom: 20px; }
.dp-back { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; margin: 2px 0 10px; }
.dp-back .i { width: 18px; height: 18px; }
.gone { background: #f6e7d3; color: var(--warn); border-radius: 12px; padding: 10px 14px; font-weight: 500; }
.dp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.dp-head h1 { font-size: 28px; line-height: 1.12; color: var(--mocha-ink); }
.dp-head p { margin: 4px 0 0; color: var(--muted); }
.dp-price { text-align: end; }
.dp-price b { display: block; font-size: 30px; font-weight: 650; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.dp-price span { font-size: 13px; color: var(--muted); }
.dp-meta { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }
.dp-meta .i { width: 16px; height: 16px; color: var(--sage-dark); flex: none; }
.dp-meta b { color: var(--mocha-dark); font-weight: 600; }
.blocks { display: grid; gap: 14px; margin-top: 18px; }
.blk { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; min-width: 0; }
.blk h2 { display: flex; align-items: center; gap: 8px; font-size: 17px; color: var(--mocha-ink); margin-bottom: 14px; }
.blk h2 .i { width: 20px; height: 20px; color: var(--sage-dark); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tl { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.tl-i { grid-row: 1 / 3; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--mocha-soft); color: var(--mocha-dark); }
.tl-i .i { width: 17px; height: 17px; }
.tl-l { font-size: 12px; color: var(--muted); line-height: 1.3; }
.tl-v { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tl-v .na { font-size: 13.5px; font-weight: 400; }
.kt { width: 100%; border-collapse: collapse; font-size: 15px; }
.kt th, .kt td { padding: 8px 0; border-top: 1px solid var(--line); text-align: start; font-weight: 400; }
.kt th { color: var(--muted); }
.kt td { text-align: end; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.kt tr:first-child th, .kt tr:first-child td { border-top: 0; }
.kt .sum th, .kt .sum td { color: var(--ink); font-weight: 700; }
.calc { margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--sage-soft); }
.calc h3 { font-size: 15.5px; color: var(--sage-dark); }
.calc-l { display: block; font-size: 14px; margin: 10px 0 4px; color: var(--text); }
.calc input[type=range] { width: 100%; accent-color: var(--sage-dark); }
.calc-r { margin: 10px 0 0; }
.calc-r div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid #cdd6ca; font-size: 14.5px; }
.calc-r dt { color: var(--sage-dark); }
.calc-r dd { margin: 0; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc .hint { color: #586754; font-size: 12.5px; }
.lage .map { height: 220px; border-radius: 14px; overflow: hidden; background: var(--surface-2); margin-bottom: 10px; display: grid; place-items: center; text-align: center; padding: 0; }
.lage .map.leaflet-container { display: block; }
.lage .map p { padding: 0 16px; }
.steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.steps li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.steps li .i { color: var(--sage-dark); margin-top: 1px; }
.steps b { display: block; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.steps span { font-size: 13.5px; color: var(--muted); }
.src-note { font-size: 12.5px; color: var(--muted); margin: 16px 2px 0; }
.dp-bar { position: sticky; bottom: calc(env(safe-area-inset-bottom) + 76px); z-index: 10; display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; margin-top: 14px;
  padding: 10px; border-radius: 16px; background: rgba(244, 243, 239, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dp-bar .btn { padding: 12px 10px; }
.leaflet-container { font: inherit; }

/* Desktop: breite Ansicht, Listen zweispaltig, Detailblöcke im Raster */
@media (min-width: 1024px) {
  .app { max-width: 1160px; padding-left: 32px; padding-right: 32px; }
  .top.bar { margin-left: -32px; margin-right: -32px; padding-left: 32px; padding-right: 32px; }
  #f-list, #hit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
  #f-list .lc + .lc, #hit-list .lc + .lc { margin-top: 0; }
  .filters .fgrid { grid-template-columns: repeat(4, 1fr); }
  #sf, .login { max-width: 720px; }
  .blocks { grid-template-columns: repeat(2, 1fr); }
  .blk .grid { grid-template-columns: repeat(3, 1fr); }
  .blk .grid.g2 { grid-template-columns: repeat(2, 1fr); }
  .dp-head h1 { font-size: 36px; }
  .dp-price b { font-size: 38px; }
  .lage .map { height: 300px; }
  .dp-bar { max-width: 520px; margin-inline-start: auto; bottom: 24px; }
  .tabs nav { max-width: 520px; }
}
.blocks { align-items: start; }
@media (min-width: 1024px) { .dp-bar { bottom: 92px; } }

/* ============================================================ Abo-Fenster (Plus) */
.pw { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.pw-scrim { position: absolute; inset: 0; background: rgba(28, 24, 20, .42); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.pw-sheet { position: relative; width: 100%; max-width: 520px; max-height: 92dvh; overflow-y: auto; background: var(--surface);
  border-radius: 24px 24px 0 0; padding: 10px 18px calc(env(safe-area-inset-bottom) + 18px); box-shadow: 0 -20px 60px -20px rgba(28, 24, 20, .45); }
.pw-grip { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 10px; }
.pw-x { position: absolute; top: 12px; inset-inline-end: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--surface-2);
  color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.pw-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mocha-dark);
  background: var(--mocha-soft); border-radius: 999px; padding: 4px 10px; }
.pw-sheet h2 { font-size: 28px; margin: 10px 0 4px; color: var(--mocha-ink); letter-spacing: -.04em; }
.pw-sub { margin: 0 0 14px; color: var(--muted); }
.pw-ben { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.pw-ben li { display: flex; gap: 10px; align-items: flex-start; }
.pw-ben .i { color: var(--sage-dark); flex: none; margin-top: 1px; }
.pw-ben b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.pw-ben span { font-size: 13.5px; color: var(--muted); }
.pw-plans { border: 0; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.pw-plan { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 16px;
  background: #fbfaf8; cursor: pointer; transition: border-color .15s, background .15s; }
.pw-plan input { position: absolute; opacity: 0; pointer-events: none; }
.pw-plan::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.pw-plan.on { border-color: var(--mocha-dark); background: var(--mocha-soft); }
.pw-plan.on::before { border-color: var(--mocha-dark); background: radial-gradient(circle, var(--mocha-dark) 0 5px, #fff 6px); }
.pw-plan:has(input:focus-visible) { outline: 3px solid var(--sage); outline-offset: 2px; }
.pw-plan-main { flex: 1; min-width: 0; }
.pw-plan-main b { display: block; color: var(--ink); font-weight: 600; }
.pw-plan-main small, .pw-plan-price small { font-size: 12.5px; color: var(--muted); }
.pw-plan-price { text-align: end; }
.pw-plan-price b { display: block; font-size: 18px; font-weight: 650; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pw-badge { position: absolute; top: -10px; inset-inline-end: 14px; font-size: 11.5px; font-weight: 700; color: #fff; background: var(--mocha-dark);
  border-radius: 999px; padding: 3px 9px; }
.pw-cta { font-size: 16px; padding: 15px 18px; }
.pw-fine { font-size: 12.5px; color: var(--muted); text-align: center; margin: 10px 4px 12px; }
.pw .btn.ghost { border-color: transparent; color: var(--muted); }
body.pw-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .pw-sheet { animation: pw-up .26s cubic-bezier(.2, .8, .2, 1); }
  .pw-scrim { animation: pw-fade .2s ease; }
  .pw.out .pw-sheet { animation: pw-down .2s ease forwards; }
  .pw.out .pw-scrim { animation: pw-fade .2s ease reverse forwards; }
}
@keyframes pw-up { from { transform: translateY(100%); } }
@keyframes pw-down { to { transform: translateY(100%); } }
@keyframes pw-fade { from { opacity: 0; } }
@media (min-width: 1024px) { .pw { align-items: center; } .pw-sheet { border-radius: 24px; } .pw-grip { display: none; } }

/* ============================================================ Plus-Preisseite (Tab „Suche“ für Gratis-Nutzer) */
.pp { max-width: 560px; padding-bottom: 12px; }
.pp h1 { font-size: 34px; margin: 10px 0 6px; color: var(--mocha-ink); letter-spacing: -.045em; }
.pp-sub { margin: 0 0 18px; color: var(--muted); }
.pp-done { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: var(--sage-soft); color: var(--sage-dark); font-size: 14.5px; }
.pp-done .i { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.pp-h { font-size: 19px; color: var(--mocha-ink); margin: 26px 0 12px; }
.pp-cmp { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.pp-row { display: grid; grid-template-columns: 1fr 64px 64px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 14.5px; }
.pp-row:first-child { border-top: 0; }
.pp-head { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.pp-head span:last-child { color: var(--mocha-dark); }
.pp-row span:nth-child(2), .pp-row span:nth-child(3) { text-align: center; }
.pp-row .y .i { width: 18px; height: 18px; color: var(--sage-dark); }
.pp-row .n { color: #a9a69d; }

/* ============================================================ Tab-Leiste nur mit Icons */
.tabs { padding-top: 6px; padding-bottom: calc(env(safe-area-inset-bottom) + 6px); }
.tabs a { padding: 4px 0; gap: 0; }
.tabs .tp { display: grid; place-items: center; width: 56px; height: 40px; border-radius: 14px; color: var(--muted); transition: background .18s, color .18s; }
.tabs .ti { width: 25px; height: 25px; }
.tabs a:hover .tp { color: var(--ink); }
.tabs a[aria-current="page"] .tp { background: var(--mocha-soft); color: var(--mocha-dark); }
.tabs a:focus-visible { outline: none; }
.tabs a:focus-visible .tp { box-shadow: 0 0 0 3px var(--sage); }
.sticky-save { bottom: calc(env(safe-area-inset-bottom) + 70px); }
.dp-bar { bottom: calc(env(safe-area-inset-bottom) + 68px); }
@media (min-width: 1024px) { .dp-bar { bottom: 84px; } }

/* ============================================================ Harmonie Mokka + Salbei (User 09.11.: „mehr Braun, beide Farben harmonisch“)
   Regel: Mokka = Handlungen, Preise, Überschriften, Akzentlinien · Salbei = Auswahl, Bestätigung, „passt“ · keine Verläufe, keine vollflächige Leiste */
:root { --mocha-line: #c9b6a3; }

/* Kopfzeile: hell, aber mit feiner Mokka-Linie und Mokka-Logoschrift */
.top.bar { border-bottom: 2px solid var(--mocha-line); }
.top.bar .logo { color: var(--mocha-ink); }
.top.bar .plan { background: var(--sage); color: var(--sage-ink); }   /* Gratis wie Plus in Salbei (User 10.11.) */
.top.bar .plan.plus { background: var(--sage); color: var(--sage-ink); }

/* Haupt-Buttons in Mokka, zweite Aktion in Salbei */
.btn { background: var(--mocha-dark); color: #fbf7f2; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--mocha-ink); border-color: var(--mocha-line); }
.btn.danger { background: transparent; }
.dp-bar .btn:not(.ghost) { background: var(--sage); color: var(--sage-ink); }
.pw-cta { background: var(--mocha-dark); color: #fbf7f2; }

/* Seitenüberschriften + Abschnittstitel */
.page-head h1, .pp h1, .dp-head h1 { color: var(--mocha-ink); }
.sec-t { color: var(--mocha-dark); }
.f-count b { color: var(--mocha-dark); }

/* Wohnungskarte: Preis in Mokka, feine Mokka-Kante oben, Kerndaten-Icons Mokka, Fuß in Salbei */
.lc { border-top: 3px solid var(--mocha-line); }
.lc-price b { color: var(--mocha-dark); }
.lc-foot span:first-child { color: var(--mocha-dark); font-weight: 500; }
.bd-new { background: var(--mocha-soft); color: var(--mocha-dark); }

/* Zusammenfassung oben: Mokka + Salbei + neutral */
.summary div:first-child { background: var(--mocha-dark); border-color: transparent; }
.summary div:first-child b, .summary div:first-child span { color: #fbf7f2; }
.summary div:first-child span { opacity: .8; }

/* Filter + Formular: Fokus in Mokka */
input:focus, select:focus, textarea:focus { border-color: var(--mocha-dark); box-shadow: 0 0 0 3px rgba(168, 143, 121, .3); }
.fl span, label.f { color: var(--mocha-dark); }

/* Detailseite: Preis Mokka, Block-Titel mit Mokka-Linie, Kacheln mit Mokka-Icons, Rechner in Salbei */
.dp-price b { color: var(--mocha-dark); }
.blk { border-top: 3px solid var(--mocha-line); }
.blk h2 .i { color: var(--mocha-dark); }
.kt .sum th, .kt .sum td { color: var(--mocha-dark); }
.tl-i { background: var(--mocha-soft); color: var(--mocha-dark); }

/* Tab-Leiste: aktiver Tab Mokka-Pille mit Mokka-Icon */
.tabs { border-top: 1px solid var(--mocha-line); }
.tabs a[aria-current="page"] .tp { background: var(--mocha-dark); color: #fbf7f2; }

/* Preisseite: gewählte Laufzeit Mokka, Häkchen Salbei */
.pw-plan.on { border-color: var(--mocha-dark); background: var(--mocha-soft); }
.pw-ben .i, .pp-row .y .i { color: var(--sage-dark); }

/* Ohne Verläufe (User 09.11.): flache Flächen; statt Kartenkante oben ein kleiner Mokka-Strich am Preis */
body { background: var(--bg); }
.lc, .blk { border-top: 1px solid var(--line); }
a.hit::before { background: var(--mocha); }
.lc-price b::after { content: ""; display: block; width: 22px; height: 3px; border-radius: 2px; background: var(--mocha-line); margin: 5px 0 1px auto; }
.blk h2 { padding-bottom: 10px; border-bottom: 1px solid var(--mocha-line); }

/* ============================================================ Größer & luftiger (User 09.11.: „schöner, größer geschrieben“) – mobile first */
body { font-size: 17.5px; line-height: 1.55; }
.app { padding-left: 18px; padding-right: 18px; }
.top.bar { margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; padding-top: calc(env(safe-area-inset-top) + 14px); padding-bottom: 14px; }
.logo { font-size: 20px; gap: 10px; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.plan { font-size: 13.5px; padding: 5px 12px; }

/* Seitenkopf */
.page-head { margin: 10px 0 22px; }
.page-head h1, .pp h1 { font-size: 38px; line-height: 1.05; letter-spacing: -.045em; }
.page-head p, .pp-sub { font-size: 17.5px; margin-top: 8px; }

/* Zusammenfassung */
.summary { gap: 10px; margin-bottom: 20px; }
.summary div { padding: 14px 14px 12px; border-radius: 18px; }
.summary b { font-size: 34px; }
.summary span { font-size: 14px; }

/* Filter */
.filters { padding: 16px; border-radius: 20px; }
.fgrid { gap: 12px; }
.fl span { font-size: 14px; margin-bottom: 6px; }
.fl select { font-size: 16.5px; padding: 13px 14px; border-radius: 14px; }
.f-count { font-size: 16px; margin: 22px 2px 12px; }
.f-count b { font-size: 20px; }

/* Wohnungskarte */
.lc { padding: 18px 18px 14px; border-radius: 22px; min-height: 176px; gap: 10px 16px; }
.lc + .lc { margin-top: 14px; }
.lc-addr b { font-size: 18.5px; line-height: 1.25; }
.lc-addr span { font-size: 15px; margin-top: 3px; }
.lc-core { gap: 6px 18px; margin-top: 12px; }
.kd { font-size: 16.5px; gap: 6px; }
.kd .i { width: 19px; height: 19px; }
.lc-badges { margin-top: 12px; gap: 6px; }
.bd { font-size: 13px; padding: 4px 11px; }
.lc-price { min-width: 104px; gap: 3px; }
.lc-price b { font-size: 26px; }
.lc-price span { font-size: 14px; }
.lc-foot { font-size: 14px; padding-top: 12px; }
.lc-foot .i { width: 16px; height: 16px; }

/* Detailseite */
.dp-back { font-size: 16px; margin-bottom: 14px; }
.dp-head h1 { font-size: 32px; line-height: 1.1; }
.dp-head p { font-size: 17px; }
.dp-price b { font-size: 38px; }
.dp-price span { font-size: 14.5px; }
.dp-meta { font-size: 15px; margin-top: 14px; }
.blocks { gap: 16px; margin-top: 22px; }
.blk { padding: 18px; border-radius: 22px; }
.blk h2 { font-size: 20px; margin-bottom: 16px; }
.blk h2 .i { width: 22px; height: 22px; }
.grid { gap: 10px; }
.tl { padding: 12px 14px; border-radius: 14px; column-gap: 12px; }
.tl-i { width: 36px; height: 36px; border-radius: 10px; }
.tl-i .i { width: 19px; height: 19px; }
.tl-l { font-size: 13.5px; }
.tl-v { font-size: 17px; }
.tl-v .na { font-size: 15px; }
.kt { font-size: 16.5px; }
.kt th, .kt td { padding: 11px 0; }
.calc { padding: 16px; border-radius: 16px; }
.calc h3 { font-size: 17px; }
.calc-l, .calc-r div { font-size: 16px; }
.calc .hint { font-size: 13.5px; }
.steps b { font-size: 16px; }
.steps span { font-size: 15px; }
.steps li { padding: 12px 14px; border-radius: 14px; }
.lage .map { height: 240px; border-radius: 16px; }
.src-note { font-size: 13.5px; }
.dp-bar { padding: 12px; border-radius: 20px; gap: 10px; }
.dp-bar .btn { font-size: 16.5px; padding: 14px 12px; border-radius: 14px; }

/* Buttons allgemein */
.btn { font-size: 16.5px; padding: 15px 20px; border-radius: 14px; }
.btn.sm { font-size: 15px; padding: 11px 14px; }

/* Preisseite */
.pp h1 { margin-top: 12px; }
.pw-tag { font-size: 13px; padding: 5px 12px; }
.pw-plans { gap: 12px; margin-bottom: 18px; }
.pw-plan { padding: 18px; border-radius: 20px; gap: 14px; }
.pw-plan::before { width: 24px; height: 24px; }
.pw-plan.on::before { background: radial-gradient(circle, var(--mocha-dark) 0 6px, #fff 7px); }
.pw-plan-main b { font-size: 19px; }
.pw-plan-main small, .pw-plan-price small { font-size: 14px; }
.pw-plan-price b { font-size: 24px; }
.pw-badge { font-size: 13px; padding: 4px 10px; top: -12px; }
.pw-cta { font-size: 18px; padding: 18px 20px; border-radius: 16px; }
.pw-fine { font-size: 14px; line-height: 1.5; }
.pp-h { font-size: 23px; margin-top: 32px; }
.pw-ben { gap: 14px; }
.pw-ben b { font-size: 17px; }
.pw-ben span { font-size: 15.5px; }
.pw-ben .i { width: 22px; height: 22px; }
.pp-row { font-size: 16px; padding: 13px 16px; grid-template-columns: 1fr 70px 70px; }
.pp-head { font-size: 13px; }

/* Suche + Konto */
.card { padding: 20px; border-radius: 22px; }
.card h3 { font-size: 19px; }
.chip { font-size: 15.5px; padding: 9px 14px; }
label.f { font-size: 15px; }
input[type=email], input[type=text], input[type=number], select { font-size: 16.5px; padding: 14px 15px; border-radius: 14px; }
.toggle span b { font-size: 16.5px; }
.toggle span small { font-size: 14.5px; }
.acc-row span { font-size: 16px; }
.hint { font-size: 14.5px; }

/* Tab-Leiste */
.tabs .tp { width: 62px; height: 46px; border-radius: 16px; }
.tabs .ti { width: 27px; height: 27px; }
.sticky-save { bottom: calc(env(safe-area-inset-bottom) + 76px); }
.dp-bar { bottom: calc(env(safe-area-inset-bottom) + 74px); }
.app { padding-bottom: calc(env(safe-area-inset-bottom) + 104px); }

@media (min-width: 1024px) {
  .app { padding-left: 32px; padding-right: 32px; }
  .top.bar { margin-left: -32px; margin-right: -32px; padding-left: 32px; padding-right: 32px; }
  .page-head h1, .pp h1 { font-size: 46px; }
  .dp-head h1 { font-size: 40px; }
  .dp-price b { font-size: 44px; }
  #f-list .lc + .lc, #hit-list .lc + .lc { margin-top: 0; }
  #f-list, #hit-list { gap: 16px; }
  .dp-bar { bottom: 90px; }
}

/* Kacheln: Icon + Beschriftung in einer Zeile, Wert darunter über die ganze Breite (kein Umbruch bei Beträgen) */
.tl { grid-template-columns: auto 1fr; grid-template-rows: auto auto; row-gap: 6px; align-items: center; }
.tl-i { grid-row: 1; width: 28px; height: 28px; border-radius: 8px; }
.tl-i .i { width: 16px; height: 16px; }
.tl-l { grid-row: 1; grid-column: 2; }
.tl-v { grid-row: 2; grid-column: 1 / -1; white-space: normal; overflow-wrap: break-word; line-height: 1.3; }   /* nie abschneiden (User 11.11.) – Beträge bleiben durch geschützte Leerzeichen ganz */
.tl-v .na { white-space: normal; }
.code-in { text-align: center; font-size: 30px !important; letter-spacing: .5em; font-variant-numeric: tabular-nums; padding: 16px !important; margin-top: 16px; }

/* ============================================================ 5 Tabs + Vormerk-Manager */
.tabs nav { grid-template-columns: repeat(5, 1fr); }
.tabs .tp { width: 54px; }
.vm { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 16px 18px; }
.vm + .vm { margin-top: 12px; }
.vm-top { display: flex; align-items: center; gap: 12px; }
.vm-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--mocha-soft); color: var(--mocha-dark); }
.vm-ico .i { width: 21px; height: 21px; }
.vm-main { flex: 1; min-width: 0; }
.vm-main b { display: block; color: var(--ink); font-weight: 600; font-size: 18px; letter-spacing: -.015em; }
.vm-main span { font-size: 14.5px; color: var(--muted); }
.vm-edit { flex: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--mocha-dark); cursor: pointer; display: grid; place-items: center; }
.vm-edit .i { width: 18px; height: 18px; }
.vm-note { margin: 10px 0 0; font-size: 15px; color: var(--text); }
.vm-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; font-weight: 600; font-size: 15px; color: var(--mocha-dark); text-decoration: none; }
.vm-link .i { width: 15px; height: 15px; }
.vm-bad { background: #f3dcd7; color: var(--err); }
.vm-form { margin-top: 14px; }
.vm-form input[type=date] { width: 100%; padding: 14px 15px; border: 1px solid var(--line); border-radius: 14px; background: #fbfaf8; color: var(--ink); font: inherit; font-size: 16.5px; }
#vm-name { margin-top: 10px; }
.row2 > div { min-width: 0; }
.vm-form input[type=date] { min-width: 0; max-width: 100%; -webkit-appearance: none; appearance: none; min-height: 52px; }
.pw-legal a, .legal-links a { color: var(--mocha-dark); }
.legal-links { text-align: center; font-size: 14px; color: var(--muted); margin: 22px 0 0; }

/* „App installieren“-Karte */
.inst { position: relative; margin-bottom: 12px; }
.inst h2 { font-size: 1.15rem; margin: 0 32px 6px 0; text-wrap: balance; }
.inst p { margin: 0 0 14px; color: var(--muted); }
.inst-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.inst-steps li { display: flex; align-items: center; gap: 12px; }
.inst-ico { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage-dark); }
.inst-ico .i { width: 22px; height: 22px; }
.inst-ico img { width: 28px; height: 28px; border-radius: 7px; }
.inst-x { position: absolute; inset-block-start: 10px; inset-inline-end: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.inst-x:hover { background: var(--surface-2); }
textarea { font: inherit; font-size: 16px; line-height: 1.45; resize: vertical; min-height: 96px; }
.beta-note { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0 0 18px; font-size: 15px; }
#fb .hint { margin-bottom: 12px; }

/* Finder: Filter als aufklappbare Leiste – am Handy sind die Wohnungen sofort sichtbar */
details.filters { padding: 0; }
.f-sum { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; }
.f-sum::-webkit-details-marker { display: none; }
.f-sum-ico, .f-sum-chev { flex: none; display: grid; place-items: center; color: var(--mocha-dark); }
.f-sum-ico .i { width: 20px; height: 20px; }
.f-sum-chev .i { width: 20px; height: 20px; transition: transform .15s; }
details[open] .f-sum-chev .i { transform: rotate(180deg); }
.f-sum-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.f-sum-t b { font-size: 16px; color: var(--ink); }
.f-sum-t small { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
details.filters #ff { padding: 0 16px 16px; }

/* ============================================================ 70 % Mokka / 30 % Salbei (User 10.11.: „Salbei mehr einarbeiten, 70/30“)
   Mokka bleibt: Haupt-Buttons, Überschriften, Preise, aktiver Tab, erste Kachel. Salbei: Linien, Icons, Beschriftungen, zweite Aktion, Kacheln, Fokus. */
:root { --sage-line: #b7c4b3; --sage-mid: #536650; }   /* sage-dark wirkt klein fast schwarz -> Icons/Beschriftungen in sage-mid */
.top.bar { border-bottom-color: var(--sage-line); }
.tabs { border-top-color: var(--sage-line); background: var(--surface); }
.tabs .tp { color: var(--sage-mid); }
.summary div:nth-child(2) { background: var(--sage); border-color: transparent; }
.summary div:nth-child(2) b, .summary div:nth-child(2) span { color: var(--sage-ink); opacity: 1; }   /* Kontrast ≥ 4,5:1 auf Salbei */
.summary div:nth-child(3) { background: var(--sage-soft); border-color: transparent; }
.summary div:nth-child(3) b, .summary div:nth-child(3) span { color: var(--sage-dark); }
.lc-core .i, .lc-foot .i { color: var(--sage-mid); }
.lc-foot { border-top-color: var(--sage-line); }
.lc-foot span:first-child { color: var(--sage-dark); }
.lc-price b::after { background: var(--sage); }
.btn.ghost { background: var(--sage-soft); color: var(--sage-dark); border-color: transparent; }
.fl span, label.f { color: var(--sage-mid); }
input:focus, select:focus, textarea:focus { border-color: var(--sage-dark); box-shadow: 0 0 0 3px rgba(142, 158, 139, .35); }
.f-sum-ico, .f-sum-chev { color: var(--sage-mid); }
details.filters { border-left: 4px solid var(--sage); }
.blk h2 { border-bottom-color: var(--sage-line); }
.blk h2 .i, .tl-i { color: var(--sage-dark); }
.tl-i { background: var(--sage-soft); }
.acc-row span { color: var(--sage-mid); }
.acc-row { border-top-color: var(--sage-line); }
.sec-t { color: var(--sage-dark); }
.beta-note { background: var(--sage-soft); border-color: transparent; color: var(--sage-ink); }
.login .muted, .login .hint, .page-head p { color: var(--sage-mid); }
/* Salbei als Flächen, damit es sichtbar ~30 % trägt */
.tabs { background: #e9ede7; }
.lc { border-inline-start: 4px solid var(--sage); }
.card { border-inline-start: 4px solid var(--sage); }
.bd-new { background: var(--sage-soft); color: var(--sage-dark); }
.login .hint { background: var(--sage-soft); color: var(--sage-dark); border-radius: 12px; padding: 10px 14px; }
.lc-core .i { width: 18px; height: 18px; }

/* ============================================================ Anfragen-Merker: Abfrage nach dem Klick zum Bauträger + „Meine Anfragen“ */
.bd-anf { background: var(--sage-dark); color: #f4f3ef; }
.sheet-bg { position: fixed; inset: 0; z-index: 60; background: rgba(32, 33, 29, .38); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 520px; background: var(--surface); border-radius: 22px 22px 0 0; border-top: 4px solid var(--sage);
  padding: 22px 20px calc(env(safe-area-inset-bottom) + 20px); box-shadow: 0 -12px 40px -16px rgba(25, 22, 18, .4); }
.sheet h2 { font-size: 22px; color: var(--mocha-ink); text-wrap: balance; }
.sheet .sheet-sub { margin: 6px 0 16px; color: var(--sage-mid); }
.sheet .stack-btns { display: grid; gap: 10px; }
.sheet .btn.sheet-sage { background: var(--sage); color: var(--sage-ink); }
.sheet .hint { margin-top: 12px; }
@media (min-width: 700px) { .sheet-bg { align-items: center; } .sheet { border-radius: 22px; } }
.anf { background: var(--surface); border: 1px solid var(--line); border-inline-start: 4px solid var(--sage); border-radius: 14px; padding: 14px 16px; margin-top: 10px; }
.anf-main { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); min-width: 0; }
.anf-main b { font-size: 16.5px; overflow-wrap: anywhere; }
.anf-main span { font-size: 14px; color: var(--sage-mid); }
.anf-row { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.anf-row select { flex: 1; min-width: 0; padding: 9px 12px; }
.anf-x { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--sage-soft); color: var(--sage-dark); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.anf-nach { margin: 10px 0 0; font-size: 14px; color: var(--warn); }
#anf-list { margin-bottom: 8px; }

/* ============================================================ Detailseite 11.11.: Grundriss (Original-URL), Quelle, Kostenrechner als eigene Ansicht, Anfrage-Dialog */
.fp { margin: 14px 0 0; }
.fp-btn img { display: block; width: 100%; max-height: 520px; object-fit: contain; background: #fff; }
.fp img { display: block; width: 100%; max-height: 520px; object-fit: contain; background: #fff; }
.fp-c { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.fp-tile { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: 14px; text-decoration: none;
  background: var(--sage-soft); color: var(--sage-dark); border-inline-start: 4px solid var(--sage); }
.fp-tile > .i:first-child { width: 26px; height: 26px; flex: none; }
.fp-tile span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fp-tile b { color: var(--ink); font-size: 16px; }
.fp-tile small { font-size: 13.5px; color: var(--sage-mid); }
.fp-tile > .i:last-child { width: 18px; height: 18px; flex: none; }
.src-line { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.src-line a { color: var(--sage-dark); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 3px; }
.src-line a .i { width: 14px; height: 14px; }
.calc-open { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 14px; padding: 14px 16px; border: 0; border-radius: 14px;
  background: var(--sage-soft); color: var(--sage-dark); font: inherit; font-weight: 600; cursor: pointer; text-align: start; }
.calc-open span { flex: 1; color: var(--ink); }
.calc-open .i { width: 20px; height: 20px; flex: none; }
.calc-bg { position: fixed; inset: 0; z-index: 60; background: rgba(32, 33, 29, .38); display: flex; align-items: flex-end; justify-content: center; }
.calc-panel { width: 100%; max-height: 92dvh; overflow-y: auto; background: var(--surface); border-radius: 22px 22px 0 0; border-top: 4px solid var(--sage);
  padding: 16px 20px calc(env(safe-area-inset-bottom) + 22px); box-shadow: 0 -12px 40px -16px rgba(25, 22, 18, .4); }
.calc-panel h2 { font-size: 24px; color: var(--mocha-ink); margin-top: 6px; }
.calc-sub { margin: 4px 0 14px; color: var(--sage-mid); font-size: 14.5px; }
.calc-back { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 6px 0; font: inherit; font-weight: 600; color: var(--sage-dark); cursor: pointer; }
.calc-back .i { width: 18px; height: 18px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.calc-f { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--sage-mid); min-width: 0; }
.calc-in { position: relative; }
.calc-in input { padding-inline-end: 30px; font-variant-numeric: tabular-nums; }
.calc-in i { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); }
.calc-panel input[type=range] { width: 100%; accent-color: var(--sage-dark); }
.calc-panel .calc-r div { border-top-color: var(--sage-line); }
.calc-panel .hint { font-size: 13px; }
@media (min-width: 900px) {
  .calc-bg { justify-content: flex-end; align-items: stretch; }
  .calc-panel { width: 440px; max-height: none; height: 100%; border-radius: 0; border-top: 0; border-inline-start: 4px solid var(--sage); padding: 24px 28px; }
}
body.no-scroll { overflow: hidden; }
.sheet.inq { position: relative; max-height: 92dvh; overflow-y: auto; }
.sheet.inq textarea { width: 100%; margin: 4px 0 12px; font-size: 15px; }
.inq-orig { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 8px 0; color: var(--sage-dark); font-weight: 600; text-decoration: none; }
.inq-orig .i { width: 16px; height: 16px; }
.sheet-x { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: var(--sage-soft); color: var(--sage-dark); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.dp-bar { display: flex; }
.dp-bar .btn { flex: 1; }
.sheet.inq h2 { padding-inline-end: 44px; }
.dp-bar .btn, .dp-bar .btn:not(.ghost) { background: var(--mocha-dark); color: #fbf7f2; }   /* ein Haupt-Knopf = Mokka */
.lage .g2 .tl:nth-child(-n+2) { grid-column: 1 / -1; }   /* Adresse + Ort über die ganze Breite statt mehrfach umgebrochen */
/* Overlays (Rechner, Anfrage, Frage): Karte bleibt darunter (Leaflet-Ebenen haben z-index 400–1000), Seite dahinter scrollt nicht mit */
.lage .map { position: relative; z-index: 0; isolation: isolate; }
.calc-bg, .sheet-bg { z-index: 2000; overscroll-behavior: contain; touch-action: none; }
.calc-panel, .sheet { overscroll-behavior: contain; touch-action: pan-y; }
body.no-scroll { position: fixed; inset-inline: 0; width: 100%; overflow: hidden; }

/* Grundriss: Vorschau antippbar + Vollbild-Ansicht (Bild direkt vom Bauträger) */
.fp-btn { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; cursor: zoom-in; }
.fp-zoom { position: absolute; inset-inline-end: 10px; inset-block-end: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px;
  border-radius: 999px; background: var(--mocha-dark); color: #fbf7f2; font: inherit; font-size: 14px; font-weight: 600; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .4); }
.fp-zoom .i { width: 16px; height: 16px; }
.plan-bg { position: fixed; inset: 0; z-index: 2100; background: #f4f3ef; display: flex; flex-direction: column;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); overscroll-behavior: contain; }
.plan-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--sage-line); }
.plan-b { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 12px; background: none;
  font: inherit; font-weight: 600; color: var(--sage-dark); cursor: pointer; }
.plan-b .i { width: 22px; height: 22px; }
.plan-z { background: var(--sage-soft); min-width: 44px; justify-content: center; }
.plan-t { flex: 1; min-width: 0; text-align: center; font-size: 13.5px; color: var(--muted); }
.plan-view { flex: 1; min-height: 0; overflow: auto; display: grid; place-items: center; background: #fff; touch-action: pan-x pan-y pinch-zoom; }
.plan-view img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; }
.plan-bg.gross .plan-view { display: block; }
.plan-bg.gross .plan-view img { max-width: none; max-height: none; width: 260%; cursor: zoom-out; }
@media (min-width: 900px) { .plan-bg.gross .plan-view img { width: 180%; } }
.plan-orig { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 48px; color: var(--sage-dark); font-weight: 600; text-decoration: none; border-top: 1px solid var(--sage-line); }
.plan-orig .i { width: 16px; height: 16px; }

/* Tab-Leiste + Haupt-Knopf (User 11.11.): Symbole Mokka, gewählt/angetippt Salbei */
.tabs .tp { color: var(--mocha-dark); }
.tabs a:hover .tp { color: var(--mocha-ink); }
.tabs a[aria-current="page"] .tp { background: var(--sage); color: var(--sage-ink); }
.tabs a:active .tp { background: var(--sage-soft); color: var(--sage-dark); }
.dp-bar .btn, .dp-bar .btn:not(.ghost) { transition: background .15s, color .15s; }
.dp-bar .btn:active, .dp-bar .btn:not(.ghost):active { background: var(--sage); color: var(--sage-ink); }
@media (hover: hover) { .dp-bar .btn:hover { filter: none; background: var(--sage); color: var(--sage-ink); } }
/* „Anfrage schreiben“ dauerhaft Salbei (User 11.11.: „anfragen in salbei“), beim Antippen dunkler */
.dp-bar .btn, .dp-bar .btn:not(.ghost) { background: var(--sage); color: var(--sage-ink); }
.dp-bar .btn:active, .dp-bar .btn:not(.ghost):active { background: var(--sage-dark); color: #f4f3ef; }
@media (hover: hover) { .dp-bar .btn:hover { background: var(--sage-dark); color: #f4f3ef; } }

/* Ladebildschirm beim Öffnen (gleicher Aufbau wie die iPhone-Startbilder /splash/*.png aus brand/render.py) */
.splash { position: fixed; inset: 0; z-index: 3000; background: #e6e5e1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 18px; transition: opacity .35s ease, visibility .35s; }
.splash img { width: 96px; height: 96px; border-radius: 21px; filter: drop-shadow(0 10px 24px rgba(58, 46, 37, .22)); }
.splash b { font-size: 28px; font-weight: 650; letter-spacing: -.03em; color: #3a2e25; }
.splash i { position: relative; display: block; width: 56px; height: 4px; margin-top: 4px; border-radius: 2px; background: rgba(142, 158, 139, .35); overflow: hidden; }
.splash i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; border-radius: 2px; background: var(--sage); animation: splash-lauf 1.1s ease-in-out infinite; }
@keyframes splash-lauf { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
.splash.weg { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .splash i::after { animation: none; width: 100%; } .splash { transition: none; } }

/* Grundriss: Zeile „herunterladen · © Bauträger“ */
.fp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.fp-row .fp-c { margin: 0; }
.fp-dl { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--sage-soft);
  color: var(--sage-dark); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.fp-dl .i, .plan-orig .i { width: 17px; height: 17px; }

/* Meine Anfragen: Streifen links nach Stand (User 11.11.) – wartet gelb, Rückmeldung Salbei, Zusage grün, Absage rot */
.anf.anf-offen { border-inline-start-color: #d9a520; }
.anf.anf-rueckmeldung { border-inline-start-color: var(--sage); }
.anf.anf-zusage { border-inline-start-color: #3f8a52; }
.anf.anf-absage { border-inline-start-color: var(--err); }
.anf { border-inline-start-width: 6px; }
/* „Auf einen Blick“ hat 7 Kacheln – die letzte (Bezug ab) über die volle Breite statt einer Lücke */
.blk:first-child .grid > .tl:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* Neubau-Projekte: Symbol mittig im Kästchen, Salbei wie die übrigen Symbol-Kästchen */
.proj .hit-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage-dark); }
.proj .hit-ico .i { width: 21px; height: 21px; margin: 0; display: block; }
.proj > span:not(.hit-ico) { flex: 1; min-width: 0; }

/* Lesbarkeit (WCAG AA, 4,5 : 1 – tools/pruef_kontrast.py): Text-Salbei dunkler (--sage-mid), fehlende Werte + Warnschild kräftiger */
.na, .kd-na, .tl-v .na { color: var(--muted); }
.bd-warn, .bd.bd-warn { color: #874a0d; }

/* ============================================================ KI-Assistent (11.11.) – ki.js; RTL über dir-Attribut + logische Eigenschaften */
.ki-erkl { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 14px 16px; border: 0; border-radius: 16px;
  background: var(--mocha-dark); color: #fbf7f2; font: inherit; text-align: start; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 24px -14px rgba(58, 46, 37, .6); }
.ki-erkl > .i:first-child { flex: none; width: 26px; height: 26px; color: #c8d4c5; }
.ki-erkl span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ki-erkl b { font-size: 16.5px; }
.ki-erkl small { font-size: 13.5px; color: #ddd0c2; }
.ki-erkl > .i:last-child { flex: none; width: 20px; height: 20px; opacity: .8; }
.ki-post { margin: 16px 0 6px; }
.sheet.ki-sheet { position: relative; max-height: 92dvh; overflow-y: auto; padding-top: 18px; }
.ki-kopf { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-inline-end: 44px; }
.ki-kopf h2, .ki-head h1 { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.ki-kopf h2 .i, .ki-head h1 .i { width: 22px; height: 22px; color: var(--sage-dark); flex: none; }
.ki-sprache { display: inline-flex; align-items: center; gap: 6px; padding: 4px 4px 4px 10px; border-radius: 999px; background: var(--sage-soft); color: var(--sage-dark); }
.ki-sprache .i { width: 17px; height: 17px; }
.ki-sprache select { width: auto; padding: 6px 28px 6px 6px; border: 0; background-color: transparent; font-size: 14.5px; color: var(--sage-dark); }
.ki-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ki-head p { flex-basis: 100%; }
.ki-laedt { display: flex; align-items: center; gap: 8px; padding: 26px 4px; color: var(--sage-mid); font-weight: 600; }
.ki-laedt .ki-funken .i { width: 22px; height: 22px; animation: ki-puls 1.2s ease-in-out infinite; }
.ki-laedt i { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); animation: ki-punkt 1.2s ease-in-out infinite; }
.ki-laedt i:nth-of-type(2) { animation-delay: .2s; } .ki-laedt i:nth-of-type(3) { animation-delay: .4s; }
@keyframes ki-punkt { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes ki-puls { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.ki-erg section { margin-top: 16px; }
.ki-erg h3 { font-size: 15px; color: var(--sage-dark); text-transform: none; margin-bottom: 6px; }
.ki-kurz { font-size: 16.5px; line-height: 1.55; color: var(--ink); margin: 0; }
.ki-kosten { display: grid; gap: 8px; }
.ki-k { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border-inline-start: 4px solid var(--mocha-line); }
.ki-k-kopf { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.ki-k-kopf span { font-weight: 650; color: var(--mocha-dark); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ki-k p { margin: 4px 0 0; font-size: 14.5px; color: var(--text); }
.ki-begriff { border-bottom: 1px solid var(--line); padding: 8px 0; }
.ki-begriff summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.ki-begriff p { margin: 6px 0; font-size: 14.5px; }
.ki-begriff a { font-size: 13px; color: var(--sage-dark); display: inline-flex; gap: 4px; align-items: center; }
.ki-begriff a .i { width: 13px; height: 13px; }
.ki-liste { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; }
.ki-hinweis { margin: 18px 0 0; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.ki-warn { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #f6e7d3; color: #874a0d; font-size: 14.5px; }
.ki-warn .i { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.ki-fehler { padding: 18px 4px; display: grid; gap: 12px; color: var(--text); }
.ki-form textarea, .ki-erg textarea, .ki-brief textarea { width: 100%; }
.ki-eingabe { position: relative; }
.ki-eingabe textarea { padding-inline-end: 56px; }
.ki-mic { position: absolute; inset-inline-end: 8px; inset-block-end: 10px; width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: var(--sage-soft); color: var(--sage-dark); cursor: pointer; display: grid; place-items: center; }
.ki-mic .i { width: 20px; height: 20px; }
.ki-mic.an { background: var(--sage); color: var(--sage-ink); animation: ki-puls 1s ease-in-out infinite; }
.ki-ue { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--sage-soft); }
.ki-ue summary { cursor: pointer; font-weight: 600; color: var(--sage-dark); }
.ki-ue p { margin: 8px 0 0; font-size: 14.5px; }
.ki-hinw { margin-top: 10px; font-size: 14px; color: var(--sage-dark); }
.ki-brief h2 { font-size: 19px; color: var(--mocha-ink); }
.ki-foto { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 0; padding: 13px; border: 2px dashed var(--sage-line);
  border-radius: 14px; color: var(--sage-dark); font-weight: 600; cursor: pointer; }
.ki-foto .i { width: 22px; height: 22px; }
.ki-foto input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ki-ds { display: flex; gap: 6px; align-items: flex-start; }
.ki-ds .i { width: 15px; height: 15px; flex: none; margin-top: 3px; }
.ki-org { margin: 0; color: var(--sage-dark); }
.ki-aufgabe { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ki-aufgabe .btn { flex: none; display: inline-flex; gap: 4px; align-items: center; }
.ki-aufgabe .btn .i { width: 15px; height: 15px; }
.ki-frist, .ki-v { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--line); border-inline-start: 5px solid #d9a520; border-radius: 14px; }
.ki-frist span { display: flex; gap: 6px; align-items: center; min-width: 0; }
.ki-frist .i { width: 17px; height: 17px; color: var(--sage-dark); flex: none; }
.ki-v { border-inline-start-color: var(--sage); }
.ki-v-main { flex: 1; min-width: 0; text-align: start; border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; display: grid; gap: 2px; }
.ki-v-main b { color: var(--ink); } .ki-v-main span { font-size: 14px; color: var(--text); } .ki-v-main small { font-size: 12.5px; color: var(--sage-mid); }
#ki-konto h3 { display: flex; gap: 8px; align-items: center; } #ki-konto h3 .i { width: 20px; height: 20px; color: var(--sage-dark); }
#ki-konto .btn { margin-top: 10px; }
.btn.sm { padding: 7px 12px; font-size: 14px; }

/* Merkliste (Stern, Tab „Gemerkt“) + Chat + Vergleich (Nacht 11.11.) */
.stern { flex: none; width: 36px; height: 36px; display: inline-grid; place-items: center; border: 0; border-radius: 50%; background: transparent;
  color: var(--mocha-dark); cursor: pointer; vertical-align: middle; }
.stern .i { width: 21px; height: 21px; }
.stern.an { color: #b8860b; } .stern.an .i path { fill: currentColor; }
.stern:active { background: var(--sage-soft); }
.lc-foot-r { display: inline-flex; align-items: center; gap: 2px; margin-inline-end: -8px; }
.dp-head h1 .stern { width: 40px; height: 40px; }
.gm { background: var(--surface); border: 1px solid var(--line); border-inline-start: 5px solid var(--sage); border-radius: 16px; padding: 12px 14px; margin-top: 10px; }
.gm.weg { opacity: .55; border-inline-start-color: var(--line); }
.gm-kopf { display: flex; align-items: flex-start; gap: 10px; }
.gm-wahl input { width: 22px; height: 22px; margin-top: 4px; accent-color: var(--sage-dark); }
.gm-main { flex: 1; min-width: 0; display: grid; gap: 2px; text-decoration: none; color: var(--ink); }
.gm-main span { font-size: 14px; color: var(--sage-mid); } .gm-main .gm-fakten { color: var(--text); font-weight: 600; }
.gm-row { display: grid; grid-template-columns: minmax(150px, 44%) 1fr; gap: 8px; margin-top: 10px; }
.gm-row select, .gm-row input { padding: 9px 10px; font-size: 15px; }
.bd-weg { background: var(--surface-2); color: var(--muted); }
.gm-vgl .ki-erkl:disabled { opacity: .55; cursor: default; }
.ki-chat h2, .ki-vgl h2 { display: flex; gap: 8px; align-items: center; font-size: 19px; color: var(--mocha-ink); }
.ki-chat h2 .i, .ki-vgl h2 .i { width: 20px; height: 20px; color: var(--sage-dark); }
.ki-chat-liste { display: grid; gap: 8px; margin: 10px 0; }
.ki-msg { margin: 0; padding: 10px 12px; border-radius: 14px; max-width: 92%; font-size: 15px; }
.ki-msg.du { justify-self: end; background: var(--mocha-dark); color: #fbf7f2; }
.ki-msg.ki { justify-self: start; background: var(--sage-soft); color: var(--ink); }
.ki-msg.ki p { margin: 0 0 6px; } .ki-msg small { color: var(--sage-mid); font-size: 12.5px; }
.ki-msg .ki-laedt { padding: 4px; }
.ki-quellen { display: flex; flex-wrap: wrap; gap: 6px 12px; } .ki-quellen a { font-size: 13px; color: var(--sage-dark); display: inline-flex; gap: 3px; align-items: center; }
.ki-quellen .i { width: 12px; height: 12px; }
.ki-chat-f { display: flex; gap: 8px; } .ki-chat-f input { flex: 1; min-width: 0; }
.vgl-namen { margin: 6px 0 10px; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 14.5px; }
.vgl-namen b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--mocha-dark); color: #fbf7f2; font-size: 12px; margin-inline-end: 6px; }
.vgl-tab { display: grid; gap: 8px; margin-top: 10px; }
.vgl-z { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.vgl-z > b { color: var(--sage-dark); font-size: 14.5px; }
.vgl-z span { display: flex; gap: 8px; font-size: 14.5px; }
.vgl-z span i { font-style: normal; font-weight: 700; color: var(--mocha-dark); flex: none; }
.vgl-z small { color: var(--muted); }
.tabs nav { grid-template-columns: repeat(6, 1fr); }
.tabs .tp { width: 50px; }

/* Finden: Liste/Karte + Marktcheck (Nacht 11.11.) */
.f-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.f-ansicht { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--sage-soft); }
.f-ansicht button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--sage-dark); cursor: pointer; }
.f-ansicht button[aria-pressed="true"] { background: var(--mocha-dark); color: #fbf7f2; }
.f-karte { height: 62dvh; min-height: 340px; border-radius: 16px; overflow: hidden; margin-top: 10px; position: relative; z-index: 0; isolation: isolate; }
.f-karte-n { color: var(--sage-mid); font-weight: 400; }
.markt { margin: 4px 0 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); border-inline-start: 5px solid var(--sage); }
.markt h2 { display: flex; align-items: center; gap: 8px; font-size: 16.5px; color: var(--mocha-ink); margin-bottom: 8px; }
.markt h2 .i { width: 19px; height: 19px; color: var(--sage-dark); }
.markt-g { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.markt-g b { display: block; font-size: 20px; color: var(--mocha-dark); font-variant-numeric: tabular-nums; }
.markt-g span { font-size: 13.5px; color: var(--sage-mid); }
@media (min-width: 900px) { .markt-g { grid-template-columns: repeat(4, 1fr); } }

/* Tarife: Plus / KI-Assistent, Testzeit, gesperrte neue Wohnungen (Nacht 11.11.) */
.pw-tarif { display: flex; padding: 4px; border-radius: 999px; background: var(--sage-soft); margin: 10px 0 12px; }
.pw-tarif button { flex: 1; border: 0; background: none; padding: 10px; border-radius: 999px; font: inherit; font-weight: 650; color: var(--sage-dark); cursor: pointer; }
.pw-tarif button[aria-pressed="true"] { background: var(--mocha-dark); color: #fbf7f2; }
.pp-cmp3 .pp-row { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); font-size: 13.5px; align-items: center; }
.pp-cmp3 .pp-row span { overflow-wrap: anywhere; }
.trial-hinweis { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: var(--sage-soft); color: var(--sage-dark); font-size: 14.5px; }
.trial-hinweis .i { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.gesperrt { display: flex; align-items: center; gap: 8px; margin: 8px 0; padding: 10px 12px; border-radius: 12px; background: var(--mocha-soft);
  color: var(--mocha-dark); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.gesperrt .i { width: 17px; height: 17px; flex: none; }
.f-count .gesperrt { font-weight: 600; }
.pp-cmp3 .pp-head span { font-size: 11.5px; hyphens: manual; }
.vgl-fakten { margin-top: 12px; }
.vgl-z span.best { color: var(--sage-dark); font-weight: 650; }
.vgl-z span.best::after { content: "✓"; margin-inline-start: 4px; }
.vgl-z em.leer { font-style: normal; color: var(--muted); }

/* ---------- Block 7: Neubau-Projekte, Unterlagen-Mappe, Wohn-Ticket-Guide, Vormerk-Werkzeuge */
.back-l { display: inline-flex; align-items: center; gap: 4px; font-size: 14.5px; color: var(--sage-dark); text-decoration: none; margin-bottom: 6px; }
.back-l .i { width: 16px; height: 16px; }
.vm-tools { display: grid; gap: 8px; margin: 0 0 14px; }
@media (min-width: 720px) { .vm-tools { grid-template-columns: repeat(3, 1fr); } }
.vm-tools a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.vm-tools a > .i { flex: none; width: 22px; height: 22px; color: var(--mocha-dark); }
.vm-tools b { display: block; font-weight: 600; font-size: 15.5px; } .vm-tools small { color: var(--muted); font-size: 13.5px; }
.vm-fehlt { display: flex; flex-wrap: wrap; gap: 7px; }
.sec-t a { font-size: 12.5px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--sage-dark); }
.nb { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 16px 18px; }
.nb + .nb { margin-top: 12px; }
.nb-kopf { display: flex; gap: 12px; align-items: flex-start; }
.nb-kopf .vm-main span { display: block; }
.nb-check { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.nb-check summary { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14.5px; color: var(--text); list-style: none; min-height: 32px; }
.nb-check summary::-webkit-details-marker { display: none; }
.nb-bar { flex: 1; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; position: relative; }
.nb-bar::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--p, 0%); background: var(--sage); border-radius: 99px; }
.nb-s { display: flex; align-items: center; gap: 10px; padding: 8px 2px; font-size: 15px; color: var(--text); min-height: 40px; }
.nb-s input { width: 20px; height: 20px; accent-color: var(--sage-dark); flex: none; }
.nb-s span { flex: 1; } .nb-s a { font-size: 13.5px; color: var(--sage-dark); }
.nb-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; }
.mp { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; }
.mp + .mp { margin-top: 8px; }
.mp .vm-main b { font-size: 15.5px; } .mp .vm-main span { display: block; overflow-wrap: anywhere; font-size: 13.5px; }
.mp .btn.sm { padding: 8px 10px; flex: none; }
.mp-check { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.mp-check li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.mp-check li .i { width: 20px; height: 20px; color: var(--sage-dark); flex: none; }
.mp-check li i.leer { width: 18px; height: 18px; border: 2px solid var(--line); border-radius: 50%; flex: none; margin: 1px; }
.mp-check li.da span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--sage); }
.wt-lang { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 16px; }
.wt h1 { font-size: 26px; letter-spacing: -.02em; margin: 0 0 8px; color: var(--ink); }
.wt[dir="rtl"] h1 { letter-spacing: 0; }
.wt .lead { color: var(--text); font-size: 16px; line-height: 1.5; }
.wt-steps { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.wt-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.wt-steps i { font-style: normal; width: 34px; height: 34px; border-radius: 10px; background: var(--mocha-dark); color: #fff; display: grid; place-items: center; font-weight: 650; }
.wt-steps b { display: block; font-size: 16px; color: var(--ink); } .wt-steps p { margin: 4px 0 0; font-size: 15px; color: var(--text); line-height: 1.5; }

/* ---------- Block 8: Profil, Bereit-Ring, Abzeichen, Einladen */
.pf h2 { font-size: 19px; margin: 0; color: var(--ink); letter-spacing: -.015em; } .pf h3 { font-size: 15px; margin: 18px 0 8px; }
.pf-kopf { display: grid; grid-template-columns: 64px 1fr 72px; gap: 14px; align-items: center; }
.pf-kopf p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.pf-av { position: relative; width: 64px; height: 64px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 18px; }
.pf-av .av, .pf-av img { width: 64px; height: 64px; border-radius: 18px; display: block; object-fit: cover; }
.pf-av span { position: absolute; inset-inline-end: -4px; bottom: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; }
.pf-av span .i { width: 14px; height: 14px; }
.ring { width: 72px; height: 72px; }
.pf-avs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 10px; }
.pf-avs button { padding: 0; border: 2px solid transparent; border-radius: 20px; background: none; cursor: pointer; }
.pf-avs button[aria-pressed="true"] { border-color: var(--sage-dark); }
.pf-avs .av { width: 100%; height: auto; display: block; border-radius: 18px; }
.pf-steps { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 4px; }
.pf-steps li { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 15px; }
.pf-steps li .i { width: 20px; height: 20px; color: var(--sage-dark); flex: none; }
.pf-steps li i.leer { width: 18px; height: 18px; border: 2px solid var(--line); border-radius: 50%; flex: none; margin: 1px; }
.pf-steps a { color: var(--ink); text-decoration-color: var(--line); }
.pf-steps li.ok a { color: var(--muted); }
.pf-steps select { font: inherit; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--line); background: #fbfaf8; }
.pf-abz { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.pf-abz li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); color: var(--muted); }
.pf-abz li .i { width: 20px; height: 20px; }
.pf-abz li b { font-size: 14px; font-weight: 600; } .pf-abz li small { font-size: 12.5px; line-height: 1.3; }
.pf-abz li.hat { background: var(--sage-soft); color: var(--sage-dark); } .pf-abz li.hat b { color: var(--ink); }
.pf-link { display: flex; gap: 8px; margin-top: 8px; }
.pf-link input { flex: 1; min-width: 0; font-size: 13.5px; }
.pf-steps li > span { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tg-code { margin-top: 10px; display: grid; gap: 8px; } .tg-code p { font-size: 14px; color: var(--text); margin: 0; } .tg-code .code { font-size: 20px; letter-spacing: .12em; color: var(--ink); }
.mp-h { font-size: 16.5px; margin: 0 0 6px; color: var(--ink); letter-spacing: -.01em; }
.login-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .login-lang select { font: inherit; font-size: 14px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fbfaf8; }

/* ---------- Rechts-nach-links (Arabisch, Persisch): Richtungs-Pfeile spiegeln, Zahlen/Adressen bleiben LTR */
html[dir="rtl"] .dp-back .i, html[dir="rtl"] .back-l .i, html[dir="rtl"] .calc-back .i, html[dir="rtl"] .plan-b[data-zu] .i,
html[dir="rtl"] .ki-erkl > .i:last-child, html[dir="rtl"] .calc-open > .i:last-child, html[dir="rtl"] .f-sum-chev .i { transform: scaleX(-1); }
html[dir="rtl"] .lc-price b, html[dir="rtl"] .dp-price b, html[dir="rtl"] .tl-v, html[dir="rtl"] .summary b { unicode-bidi: plaintext; }
html[dir="rtl"] body { letter-spacing: 0; }
html[dir="rtl"] h1, html[dir="rtl"] h2 { letter-spacing: 0; }
.login-vorschlag { justify-self: start; margin-top: 10px; }

/* ---------- Design-Durchgang 11.11. (User): Eckdaten-Zeile, keine leeren Werte, keine Karten in Karten auf der Detailseite */
.lc-eck { margin: 8px 0 0; font-size: 14.5px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.dp-eck { margin: 8px 0 0; font-size: 16px; font-weight: 550; color: var(--ink); font-variant-numeric: tabular-nums; }
.dp .blocks { display: grid; gap: 0; }
.dp .blk { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; margin-top: 30px; }
.dp .blk h2 { padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.dp .blk .tl { border: 0; background: var(--surface); }
.dp .blk .steps li { background: none; border: 0; padding-inline: 0; }
.lage-adr { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 15px; color: var(--text); }
.lage-adr .i { width: 18px; height: 18px; color: var(--sage-dark); flex: none; }

/* Tab-Leiste mit kurzer Beschriftung (User 11.11.): Icon-Pille kleiner, Text darunter – Mokka, gewählt Salbei */
.tabs a { gap: 2px; padding: 2px 0; min-width: 0; }
.tabs .tp { width: 48px; height: 32px; border-radius: 12px; }
.tabs .ti { width: 23px; height: 23px; }
.tb-l { display: block; max-width: 100%; padding: 0 2px; font-size: 10.5px; line-height: 1.2; font-weight: 600; color: var(--mocha-dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0; }
.tabs a[aria-current="page"] .tb-l { color: var(--sage-dark); }
.pw-store { display: grid; gap: 8px; margin-top: 12px; }
.pw-kauf { width: 100%; text-align: start; cursor: pointer; font: inherit; }
.pw-web { margin-top: 12px; }
.pp-head span { text-transform: none; letter-spacing: 0; font-size: 12.5px; hyphens: auto; overflow-wrap: normal; word-break: normal; }

/* Wohnungsseite (User 12.11.): keine Tab-Leiste, nur die Anfrage-Leiste fest unten (Safe-Area); Abstand unten = Leistenhöhe */
body.ohne-tabs .app { padding-bottom: calc(env(safe-area-inset-bottom) + 92px); }
body.ohne-tabs .dp-bar { position: fixed; z-index: 20; inset-inline: 0; bottom: 0; margin: 0 auto; max-width: 640px; display: block;
  border-radius: 20px 20px 0 0; padding: 10px 16px calc(env(safe-area-inset-bottom) + 10px); }
body.ohne-tabs .dp-bar .btn { width: 100%; }
@media (min-width: 1024px) { body.ohne-tabs .dp-bar { bottom: 16px; border-radius: 20px; max-width: 560px; } }
.anf-weg { margin: 12px 0 0; font-size: 15.5px; font-weight: 600; } .anf-weg a { color: var(--sage-dark); display: inline-flex; align-items: center; gap: 6px; }
.pp-nein .i { width: 18px; height: 18px; color: var(--muted); }

/* Wohnungskarte (User 12.11.): Eckdaten max. 2 Zeilen mit Ellipse, kein Strich unter dem Preis, gleich hohe Fußzeile */
.lc-eck { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; line-height: 1.4; }
.lc-price b::after { content: none !important; display: none !important; }
.lc-foot { min-height: 34px; align-items: center; }

/* ---------------------------------------------------------------- Punkt 8: Konto – ein Feld-Stil, aufklappbare Abschnitte */
.feld, input.feld, select.feld, textarea.feld { display: block; width: 100%; box-sizing: border-box; font: inherit; font-size: 16px;
  min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); }
textarea.feld { min-height: 96px; line-height: 1.45; resize: vertical; }
.pf-steps .feld { display: inline-block; width: auto; margin-inline-start: 4px; }
.pf-link .feld { flex: 1; min-width: 0; }
.konto { display: flex; flex-direction: column; gap: 12px; }
.konto > .card, .konto > div > .card { margin: 0; }
.acc-sek { padding: 0; }
.acc-sek > summary, .pf-sek > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 48px; }
.acc-sek > summary { padding: 4px 18px; }
.acc-sek > summary::-webkit-details-marker, .pf-sek > summary::-webkit-details-marker { display: none; }
.acc-sek > summary h3, .pf-sek > summary h3 { margin: 0; display: flex; align-items: center; gap: 8px; }
.acc-sek > summary::after, .pf-sek > summary::after { content: ""; flex: none; inline-size: 9px; block-size: 9px; margin-inline-end: 4px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }  /* physisch: Pfeil nach unten auch in RTL */
.acc-sek[open] > summary::after, .pf-sek[open] > summary::after { transform: rotate(-135deg); }
.acc-sek[open] { padding-bottom: 18px; }
.acc-sek > :not(summary) { margin-inline: 18px; }
.acc-sek .card { border: 0; padding: 0; background: none; }
.acc-sek .acc-row:first-of-type { border-top: 0; }
.pf-sek { border-top: 1px solid var(--line); margin-top: 12px; }
.acc-unter { font-size: 14px; color: var(--muted); font-weight: 600; margin: 18px 18px 4px; }
.push-hilfe { background: var(--mocha-soft, #f3ece5); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; margin-block: 8px; }
.push-hilfe ul { margin: 6px 0 0; padding-inline-start: 18px; }
.push-hilfe li { margin-block: 4px; }
input.feld, select.feld { height: 48px; line-height: 1.3; padding-block: 0; }
/* spät gemeldetes Install-Banner: schwebt über der Tab-Leiste statt die Seite zu verschieben (CLS) */
.inst.inst-schwebend { position: fixed; z-index: 21; inset-inline: 12px; bottom: calc(env(safe-area-inset-bottom) + 84px); margin: 0 auto;
  max-width: 560px; box-shadow: 0 12px 32px rgba(40, 32, 26, .22); }
