/* Finanz.at Immo-Software – ein Stylesheet für Startseite, Landingpages und Anwendung.
   Angelehnt an das Design der Buchhaltungsseite (Farben, Schriften, Punktraster), mit eigenem hellen
   Einstieg: Himmel, Häuserzeile und der Schnellrechner in einem Haus. Farben nur über die Variablen unten
   (Ausnahme: die Häuserzeile --kulisse, ein Bild mit festen Farben aus derselben Palette). */
:root{
	--bg:#FBFAF7; --bg-2:#F4F2EC; --ink:#182420; --muted:#5C6B63; --line:#E7E3D9; --card:#FFFFFF;
	--green:#1BAA29; --green-strong:#158020; --green-tint:#EAF7EC; --yellow:#FFE24D;
	--red:#C8372D; --red-tint:#FCEDEB; --amber:#B8791A; --amber-tint:#FBF0DC;
	--himmel:#EAF6EB; --wand:#DDF1DF; --wand-rand:#C5E4C9;
	--kulisse:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='150' viewBox='0 0 1200 150'%3E%3Cg fill='%23E3F2E4'%3E%3Cpath d='M20 62h100v88H20zM134 150V58l48-28 48 28v92zM250 76l13-22h114l13 22v74H250zM410 40h72v110h-72zM500 150V84l45-28 45 28v66zM610 62h82V48h12v14h18v88H610zM742 150V52l44-26 44 26v98zM850 70l14-20h102l14 20v80H850zM1000 46h72v104h-72zM1090 150V80l45-26 45 26v70z'/%3E%3C/g%3E%3Cg fill='%23CDE9D1'%3E%3Cpath d='M56 150v-42l42-28 42 28v42zM212 150v-36l20-18h94l20 18v36zM420 150v-48l40-28 18 12.6V76h10v17.6l12 8.4v48zM540 150v-38l27-20 27 20 27-20 27 20 27-20 27 20v38zM792 150v-44l44-30 44 30v44zM910 150v-30l18-16h64l18 16v30zM1086 150v-42l37-26 37 26v42z'/%3E%3Ccircle cx='176' cy='112' r='20'/%3E%3Cpath d='M173 128h6v22h-6z'/%3E%3Ccircle cx='382' cy='120' r='16'/%3E%3Cpath d='M379.5 132h5v18h-5z'/%3E%3Ccircle cx='742' cy='110' r='22'/%3E%3Cpath d='M739 128h6v22h-6z'/%3E%3Ccircle cx='1046' cy='118' r='18'/%3E%3Cpath d='M1043.5 132h5v18h-5z'/%3E%3C/g%3E%3Cpath fill='%23F6FBF4' d='M106 116h14v14h-14zM232 120h14v14h-14zM258 120h14v14h-14zM310 120h14v14h-14zM438 112h14v14h-14zM559 120h16v14h-16zM667 120h16v14h-16zM846 114h14v14h-14zM930 124h14v12h-14zM976 124h14v12h-14zM1104 116h14v14h-14z'/%3E%3Cpath fill='%23FFE24D' d='M76 116h14v14h-14zM284 120h14v14h-14zM468 112h14v14h-14zM613 120h16v14h-16zM812 114h14v14h-14zM1130 116h14v14h-14z'/%3E%3C/svg%3E");
	--shadow:24px 40px 80px -40px rgba(24,36,32,.35); --radius:18px;
	--sans:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
	--display:"Bricolage Grotesque",Georgia,serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth}
body{margin:0; background:var(--bg); color:var(--ink); font-family:var(--sans); font-size:16px; line-height:1.55;
	background-image:radial-gradient(var(--line) 1px, transparent 1px); background-size:26px 26px; background-position:-13px -13px}
img,svg{max-width:100%}
a{color:inherit}
h1,h2,h3,h4{font-family:var(--display); letter-spacing:-.01em; margin:0; text-wrap:balance; color:var(--ink)}
p{margin:0 0 12px}
.wrap{max-width:1140px; margin:0 auto; padding:0 24px}
.num{font-variant-numeric:tabular-nums}
:focus-visible{outline:3px solid rgba(27,170,41,.45); outline-offset:2px; border-radius:6px}

/* ---------- Kopfzeile ---------- */
.kopf{position:sticky; top:0; z-index:50; background:rgba(251,250,247,.92); backdrop-filter:saturate(1.4) blur(10px); border-bottom:1px solid var(--line)}
.kopf .wrap{display:flex; align-items:center; gap:22px; height:68px}
.marke{display:inline-flex; align-items:center; gap:9px; text-decoration:none; flex:none}
.marke img{height:26px; width:auto; display:block}
.marke b{font-family:var(--display); font-weight:800; font-size:21px; letter-spacing:-.02em; color:var(--ink); line-height:1}
/* Wortmarke: grünes Dach über dem „mm“, „bilien“ in derselben Farbe */
.marke .wortmarke .mm{position:relative; display:inline-block}
.marke .wortmarke .dach{position:absolute; left:1%; width:104%; height:auto; bottom:.75em; color:var(--green); pointer-events:none; max-width:none}
.marke .wortmarke .gruen{color:var(--green)}
.kopf nav{display:flex; align-items:center; gap:2px; margin-left:auto; flex-wrap:wrap}
.kopf nav a{display:inline-flex; align-items:center; gap:5px; text-decoration:none; font-weight:500; font-size:14.5px; color:var(--muted); padding:8px 7px; border-radius:10px; white-space:nowrap}
.kopf nav a:hover,.kopf nav a.an{color:var(--ink); background:var(--bg-2)}
.kopf nav a.knopf{margin-left:8px}
/* Symbol vor jedem Menüpunkt der Anwendung; „Abmelden“ ist auf breiten Schirmen nur das rote Symbol */
.kopf nav a .sym{flex:none; color:var(--green)}
.kopf nav a.abmelden .sym{color:var(--red); width:18px; height:18px}
.kopf nav a.abmelden .nurmenue{display:none}
.kopf nav a.abmelden:hover{background:var(--red-tint)}
.kopf .burger{display:none; margin-left:auto; border:1px solid var(--line); background:var(--card); border-radius:10px; width:42px; height:42px; cursor:pointer; align-items:center; justify-content:center}
@media (min-width:1081px) and (max-width:1160px){ /* Wortmarke „Immo-Software“ seit 19.10.2026 rund 35 px breiter */
	.kopf .wrap{gap:12px}
	.kopf nav{gap:0}
}
@media (max-width:1080px){
	.kopf .burger{display:inline-flex}
	.kopf nav{display:none; position:absolute; left:0; right:0; top:68px; background:var(--bg); border-bottom:1px solid var(--line); padding:10px 16px 16px; flex-direction:column; align-items:stretch; margin:0}
	.kopf nav.offen{display:flex}
	.kopf nav a{padding:12px 10px; font-size:16px; gap:10px}
	.kopf nav a .sym{width:18px; height:18px}
	.kopf nav a.abmelden .nurmenue{display:inline; color:var(--red)}
	.kopf nav a.knopf{margin:8px 0 0; justify-content:center}
}

/* ---------- Knöpfe ---------- */
.knopf{display:inline-flex; align-items:center; gap:9px; font-family:var(--sans); font-weight:600; font-size:15px; padding:12px 22px; border-radius:12px; text-decoration:none; border:1px solid transparent; cursor:pointer; line-height:1.2}
.knopf.gruen{background:var(--green); color:#fff; box-shadow:0 10px 24px -12px var(--green)}
.knopf.gruen:hover{background:var(--green-strong)}
.knopf.hell{border-color:var(--line); background:var(--card); color:var(--ink)}
.knopf.hell:hover{border-color:#cfc9bb}
.knopf.klein{padding:8px 14px; font-size:14px; border-radius:10px}
.kopf nav a.knopf.gruen,.kopf nav a.knopf.gruen:hover{color:#fff; background:var(--green)}

/* ---------- Bausteine ---------- */
.eyebrow{display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--green-strong); background:var(--green-tint); border:1px solid rgba(27,170,41,.3); padding:6px 12px; border-radius:999px}
.eyebrow i{width:8px; height:8px; border-radius:50%; background:var(--green)}
.mark{background:linear-gradient(to top, var(--yellow) 0 42%, transparent 42%); padding:0 .06em; border-radius:2px}
.kick{color:var(--green-strong); font-weight:600; font-size:14px; letter-spacing:.03em; text-transform:uppercase}
.h2{font-size:clamp(26px,3vw,38px); font-weight:800; margin:10px 0 8px}
.sub{color:var(--muted); max-width:60ch; margin-bottom:34px; font-size:17px}
section.block{padding:76px 0 8px}
.karte{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:26px}
.chip{display:inline-flex; align-items:center; gap:7px; font-size:12.5px; font-weight:600; border-radius:999px; padding:4px 10px; background:var(--bg-2); border:1px solid var(--line); color:var(--muted); white-space:nowrap}
.chip.gruen{color:var(--green-strong); background:var(--green-tint); border-color:rgba(27,170,41,.25)}
.chip.gelb{color:#7a5b00; background:#FFF4C2; border-color:#F2DE8A}
.chip.rot{color:var(--red); background:var(--red-tint); border-color:rgba(200,55,45,.25)}
.chip.amber{color:var(--amber); background:var(--amber-tint); border-color:rgba(184,121,26,.25)}
.ck{flex:none; margin-top:4px}
.ck path{stroke:var(--green); stroke-width:2.4; fill:none; stroke-linecap:round; stroke-linejoin:round}

/* ---------- Einstieg (hell): Himmel, Häuserzeile am unteren Rand, der Schnellrechner steht in einem Haus ---------- */
.einstieg{position:relative; overflow:hidden; border-bottom:1px solid var(--wand-rand);
	background:var(--kulisse) repeat-x center bottom / 1200px 150px, linear-gradient(180deg, var(--himmel) 0%, var(--bg) 82%)}
.einstieg .wrap{display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:end; padding-top:30px; padding-bottom:0}
.einstieg .wrap > div:first-child{align-self:center; padding:20px 0 128px}
.einstieg h1{font-size:clamp(36px,4.8vw,60px); font-weight:800; line-height:1.02; margin:22px 0 18px}
.einstieg .lead{font-size:19px; color:var(--muted); max-width:38ch; margin:0}
.cta-row{display:flex; gap:12px; margin:28px 0 18px; flex-wrap:wrap}
.reassure{font-size:14px; color:var(--muted); display:flex; align-items:flex-start; gap:8px; flex-wrap:wrap}
.reassure span{display:inline-flex; align-items:center; gap:7px; margin-right:10px}
.reassure .ck{margin-top:0}

/* Das Haus: Dach als Zeichnung (Sonne dahinter), die Wand trägt den Schnellrechner und steht am unteren Rand auf */
.rechnerhaus{min-width:0}
.rechnerhaus .dach{display:block; width:calc(100% + 44px); max-width:none; height:auto; margin:0 -22px -1px}
.rechnerhaus .dach .schein{fill:var(--yellow); opacity:.32}
.rechnerhaus .dach .sonne{fill:var(--yellow)}
.rechnerhaus .dach .kamin{fill:var(--green-strong)}
.rechnerhaus .dach .flaeche{fill:var(--green); stroke:var(--green); stroke-width:14; stroke-linejoin:round}
.rechnerhaus .dach .luke{fill:#fff}
.rechnerhaus .dach .sprosse{fill:none; stroke:var(--green); stroke-width:3}
.rechnerhaus .wand{background:var(--wand); border:1px solid var(--wand-rand); border-top:0; padding:16px 18px 30px; box-shadow:inset 0 16px 14px -14px rgba(21,128,32,.4)}

/* Schnellrechner im Einstieg */
.rechner{background:var(--card); color:var(--ink); border-radius:22px; padding:26px; box-shadow:0 26px 50px -30px rgba(24,36,32,.45); border:1px solid var(--line)}
.rechner h2{font-size:20px; font-weight:700; margin-bottom:4px}
.rechner .hinweis{color:var(--muted); font-size:14px; margin:0 0 18px}
.felder{display:grid; grid-template-columns:1fr 1fr; gap:12px 14px}
.feld label{display:block; font-size:13px; font-weight:600; margin:0 0 6px}
.eingabe{display:flex; align-items:center; border:1px solid var(--line); border-radius:12px; background:var(--bg); overflow:hidden}
.eingabe:focus-within{border-color:var(--green); box-shadow:0 0 0 3px rgba(27,170,41,.15)}
.eingabe input{border:0; outline:0; background:transparent; font:inherit; font-size:16px; color:var(--ink); padding:11px 12px; width:100%; min-width:0; font-variant-numeric:tabular-nums}
.eingabe span{padding:0 12px 0 0; color:var(--muted); font-size:14px; flex:none}
.ergebnis{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:18px 0 0}
.ergebnis .wert{background:var(--bg-2); border:1px solid var(--line); border-radius:14px; padding:14px 16px}
.ergebnis .wert.haupt{background:var(--green-tint); border-color:rgba(27,170,41,.3)}
.ergebnis small{display:block; color:var(--muted); font-size:13px; margin-bottom:2px}
.ergebnis b{font-family:var(--display); font-weight:800; font-size:28px; letter-spacing:-.02em; font-variant-numeric:tabular-nums}
.ergebnis .wert.haupt b{color:var(--green-strong)}
.rechner .zeile{display:flex; justify-content:space-between; gap:12px; font-size:14px; color:var(--muted); padding:12px 2px 0}
.rechner .zeile b{color:var(--ink); font-variant-numeric:tabular-nums; white-space:nowrap}
.rechner .knopf{width:100%; justify-content:center; margin-top:16px}
.rechner .fein{font-size:12.5px; color:var(--muted); margin:12px 0 0}

/* ---------- Faktenleiste ---------- */
.fakten{border-bottom:1px solid var(--line); background:var(--bg-2)}
.fakten .wrap{display:grid; grid-template-columns:repeat(4,1fr); gap:24px; padding-top:26px; padding-bottom:26px}
.fakten b{font-family:var(--display); font-weight:700; font-size:19px; display:block}
.fakten span{color:var(--muted); font-size:14px}

/* ---------- Modul-Karten ---------- */
.module{display:grid; grid-template-columns:repeat(3,1fr); gap:20px}
a.modul{text-decoration:none; color:var(--ink); display:flex; flex-direction:column; transition:border-color .15s, transform .15s}
a.modul:hover{border-color:var(--green); transform:translateY(-2px)}
.modul .ic{width:46px; height:46px; border-radius:13px; background:var(--green-tint); display:grid; place-items:center; margin-bottom:16px; flex:none}
.modul h3{font-size:19px; font-weight:700; margin-bottom:8px}
.modul p{color:var(--muted); font-size:15px; margin:0 0 16px; flex:1}
.modul .mehr{font-weight:600; font-size:14px; color:var(--green-strong); display:inline-flex; align-items:center; gap:7px}

/* ---------- Zweispalter mit Vorschau ---------- */
.zeige{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; padding:56px 0}
.zeige.um .text{order:2}
.zeige h3{font-size:clamp(24px,2.7vw,32px); font-weight:800; margin:12px 0 12px; line-height:1.08}
.zeige p{color:var(--muted); font-size:16.5px}
.zeige ul{list-style:none; margin:14px 0 0; padding:0}
.zeige li{display:flex; gap:10px; padding:5px 0; font-size:15.5px}
.fenster{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden}
.fenster .leiste{display:flex; gap:7px; align-items:center; padding:12px 14px; border-bottom:1px solid var(--line); background:var(--bg-2)}
.fenster .leiste i{width:11px; height:11px; border-radius:50%; background:var(--line)}
.fenster .leiste span{margin-left:10px; font-size:12px; color:var(--muted)}
.fenster .inhalt{padding:20px}

/* Vorschau-Bausteine (auch in der Anwendung) */
.kacheln{display:grid; grid-template-columns:repeat(3,1fr); gap:12px}
.kachel{border:1px solid var(--line); border-radius:14px; padding:14px 16px; background:var(--card); min-width:0}
.kachel small{display:block; color:var(--muted); font-size:12.5px; margin-bottom:2px}
.kachel b{font-family:var(--display); font-weight:800; font-size:22px; letter-spacing:-.02em; font-variant-numeric:tabular-nums}
.kachel em{display:block; font-style:normal; font-size:12.5px; color:var(--muted); margin-top:2px}
.kachel.gruen{background:var(--green-tint); border-color:rgba(27,170,41,.3)}
.kachel.gruen b{color:var(--green-strong)}
.liste{margin-top:14px; border:1px solid var(--line); border-radius:14px; overflow:hidden}
.liste .z{display:grid; grid-template-columns:1.6fr 1fr 1fr auto; gap:12px; align-items:center; padding:12px 16px; border-bottom:1px solid var(--line); font-size:14.5px}
.liste .z:last-child{border-bottom:0}
.liste .z b{font-weight:600}
.liste .z small{display:block; color:var(--muted); font-size:12.5px}
.liste .r{text-align:right; font-variant-numeric:tabular-nums}
.fristen{list-style:none; margin:0; padding:0}
.fristen li{display:grid; grid-template-columns:auto 1fr auto; gap:14px; align-items:center; padding:13px 2px; border-bottom:1px solid var(--line)}
.fristen li:last-child{border-bottom:0}
.fristen .tag{width:54px; text-align:center; border:1px solid var(--line); border-radius:12px; padding:6px 0; background:var(--bg); line-height:1.1}
.fristen .tag b{display:block; font-family:var(--display); font-size:20px; font-weight:800}
.fristen .tag small{font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.05em}
.fristen strong{display:block; font-weight:600; font-size:15px}
.fristen span.d{color:var(--muted); font-size:13.5px}
.fristen span.d a{color:inherit; text-decoration:none}
.fristen span.d a:hover{text-decoration:underline}
table.zahlen{width:100%; border-collapse:collapse; font-size:14.5px}
table.zahlen th,table.zahlen td{padding:10px 6px; border-bottom:1px solid var(--line); text-align:left}
table.zahlen th{font-weight:600; color:var(--muted); font-size:12.5px; text-transform:uppercase; letter-spacing:.04em}
table.zahlen td.r,table.zahlen th.r{text-align:right; font-variant-numeric:tabular-nums}
table.zahlen tr:last-child td{border-bottom:0}
table.zahlen tr.summe td{font-weight:700; border-top:2px solid var(--ink)}
.balken{height:10px; border-radius:999px; background:var(--bg-2); overflow:hidden; display:flex}
.balken i{display:block; height:100%}

/* ---------- Schritte, Zielgruppen, FAQ, Schluss ---------- */
.schritte{display:grid; grid-template-columns:repeat(3,1fr); gap:20px}
.schritt .nr{width:36px; height:36px; border-radius:11px; background:var(--green-tint); color:var(--green-strong); font-family:var(--display); font-weight:800; display:grid; place-items:center; margin-bottom:14px}
.schritt h3{font-size:18px; font-weight:700; margin-bottom:8px}
.schritt p{color:var(--muted); font-size:15px; margin:0}
.gruppen{display:grid; grid-template-columns:repeat(3,1fr); gap:20px}
.gruppe h3{font-size:18px; font-weight:700; margin:0 0 8px}
.gruppe p{color:var(--muted); font-size:15px; margin:0}
.faq{max-width:820px}
details{border-bottom:1px solid var(--line); padding:6px 0}
details summary{cursor:pointer; list-style:none; padding:14px 4px; font-weight:600; font-size:17px; display:flex; justify-content:space-between; align-items:center; gap:16px}
details summary::-webkit-details-marker{display:none}
details summary::after{content:"+"; color:var(--green); font-size:22px; font-weight:400; line-height:1}
details[open] summary::after{content:"\2013"}
details p{margin:0 4px 16px; color:var(--muted); font-size:15.5px; max-width:70ch}
.schluss{border:1px solid var(--wand-rand); border-radius:24px; padding:52px 44px 138px; text-align:center; margin:70px 0 30px; overflow:hidden;
	background:var(--kulisse) repeat-x center bottom / 960px 120px, linear-gradient(180deg, var(--himmel), #F5FAF3)}
.schluss h2{font-size:clamp(26px,3.2vw,38px); font-weight:800; margin-bottom:10px}
.schluss p{color:var(--muted); margin:0 auto 24px; max-width:52ch}
.schluss .cta-row{justify-content:center; margin:0}
.vorbereitung{display:flex; gap:16px; align-items:flex-start; background:var(--bg-2); border:1px dashed #cfc9bb; border-radius:var(--radius); padding:22px 24px; margin-top:22px}
.vorbereitung h3{font-size:17px; font-weight:700; margin:0 0 4px}
.vorbereitung p{color:var(--muted); font-size:15px; margin:0}

/* ---------- Landingpage-Kopf (hell) ---------- */
.lpkopf{padding:54px 0 26px}
.lpkopf .wrap{display:grid; grid-template-columns:1.05fr .95fr; gap:52px; align-items:center}
.lpkopf h1{font-size:clamp(32px,4.2vw,50px); font-weight:800; line-height:1.05; margin:18px 0 16px}
.lpkopf .lead{font-size:18.5px; color:var(--muted); max-width:44ch; margin:0}
.brot{font-size:13.5px; color:var(--muted); margin-bottom:6px}
.brot a{text-decoration:none}
.brot a:hover{text-decoration:underline}
.vorteile{display:grid; grid-template-columns:repeat(3,1fr); gap:20px}
.vorteil h3{font-size:18px; font-weight:700; margin:0 0 8px}
.vorteil p{color:var(--muted); font-size:15px; margin:0}
.prosa{max-width:760px; color:var(--muted); font-size:16.5px; line-height:1.7}
.prosa h3{font-size:21px; font-weight:700; color:var(--ink); margin:26px 0 8px}
.prosa strong{color:var(--ink)}
.merk{background:var(--green-tint); border:1px solid rgba(27,170,41,.3); border-radius:14px; padding:14px 18px; color:var(--ink); font-size:15px; margin:18px 0}
.fussnote{font-size:13px; color:var(--muted); max-width:760px; margin:26px 0 0}

/* ---------- Fuß ---------- */
.fuss{border-top:1px solid var(--line); background:var(--bg-2); margin-top:60px}
.fuss .wrap{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:30px; padding-top:40px; padding-bottom:30px}
.fuss h4{font-family:var(--sans); font-size:13px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); margin:0 0 12px; font-weight:600}
.fuss a{display:block; text-decoration:none; color:var(--ink); font-size:15px; padding:4px 0}
.fuss a:hover{color:var(--green-strong)}
.fuss a.marke{display:inline-flex; padding:0}
.fuss p{color:var(--muted); font-size:14.5px; max-width:34ch; margin:12px 0 0}
.fuss .unten{border-top:1px solid var(--line); padding:16px 24px; text-align:center; color:var(--muted); font-size:13.5px}
.fuss .unten a{display:inline; padding:0; font-size:inherit; color:var(--green-strong); font-weight:600}

/* ---------- Anwendung ---------- */
.app{padding-top:34px; padding-bottom:20px}
.app h1{font-size:clamp(26px,3vw,34px); font-weight:800}
.app .kopfzeile{display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap; margin-bottom:22px}
.app .kopfzeile p{color:var(--muted); margin:6px 0 0}
.app .kacheln{grid-template-columns:repeat(4,1fr); margin-bottom:22px}
.app .spalten{display:grid; grid-template-columns:1.55fr 1fr; gap:22px; align-items:start}
.app h2{font-size:19px; font-weight:700; margin-bottom:14px}
.objektkarte{display:grid; grid-template-columns:1fr auto; gap:6px 18px; text-decoration:none; color:var(--ink); padding:18px 20px; border:1px solid var(--line); border-radius:16px; background:var(--card); margin-bottom:12px; transition:border-color .15s}
a.objektkarte:hover{border-color:var(--green)}
.objektkarte h3{font-size:17px; font-weight:700}
.objektkarte .adr{color:var(--muted); font-size:14px}
.objektkarte .werte{grid-column:1 / -1; display:flex; flex-wrap:wrap; gap:8px 22px; margin-top:8px; font-size:14px; color:var(--muted)}
.objektkarte .werte b{color:var(--ink); font-variant-numeric:tabular-nums}
.leer{border:1px dashed #cfc9bb; border-radius:16px; padding:28px; text-align:center; color:var(--muted); background:var(--bg-2)}
.dl{display:grid; grid-template-columns:minmax(150px,auto) 1fr; gap:8px 18px; font-size:15px; margin:0}
.dl dt{color:var(--muted)}
.dl dd{margin:0; font-variant-numeric:tabular-nums}
.hinweisbox{background:var(--amber-tint); border:1px solid rgba(184,121,26,.3); border-radius:14px; padding:12px 16px; font-size:14.5px; margin-bottom:16px}
.klein{font-size:13.5px; color:var(--muted)}

/* Karten, Tabellen und Rückmeldungen der Anwendung */
.app .spalten > div{min-width:0}
.app .spalten .karte{margin-bottom:20px}
.app .aktionen{display:flex; align-items:center; align-content:center; gap:8px; flex-wrap:wrap}
.kk{display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin-bottom:14px}
.kk h2{margin:0}
.link{font-size:14px; font-weight:600; color:var(--green-strong); text-decoration:none; white-space:nowrap}
.link:hover{text-decoration:underline}
.tabwrap{overflow-x:auto; margin:0 -6px}
.tabwrap table{min-width:520px}
table.zahlen td{vertical-align:top}
table.zahlen td.r{white-space:nowrap}
table.zahlen td:first-child{min-width:130px}
table.zahlen td > a:not(.link){text-decoration:none}
table.zahlen td > a:not(.link):hover strong{text-decoration:underline}
table.zahlen small.d,.schlicht span.d{display:block; color:var(--muted); font-size:13px; font-weight:400}
.tabfuss{margin:14px 0 0}
.tabfuss b{color:var(--ink); font-variant-numeric:tabular-nums}
.leerzeile{margin:0}
.app h3.unter{font-family:var(--sans); font-size:13px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); font-weight:600; margin:20px 0 4px; padding-top:14px; border-top:1px solid var(--line)}
.schlicht{list-style:none; margin:0; padding:0}
.schlicht li{display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid var(--line); font-size:14.5px}
.schlicht li:last-child{border-bottom:0}
.schlicht a{text-decoration:none; min-width:0}
.schlicht a:hover strong{text-decoration:underline}
.meldung{background:var(--green-tint); border:1px solid rgba(27,170,41,.3); border-radius:14px; padding:12px 16px; font-size:15px; margin-bottom:16px}
.meldung.fehler{background:var(--red-tint); border-color:rgba(200,55,45,.3); color:#8c241d}
.hinweisbox.mitknopf{display:flex; justify-content:space-between; align-items:center; gap:10px 16px; flex-wrap:wrap}
form.inline{display:inline; margin:0}
.knopf.rot{border-color:rgba(200,55,45,.35); background:var(--card); color:var(--red)}
.knopf.rot:hover{background:var(--red-tint)}
.objektkarte h3 a{text-decoration:none}
.objektkarte h3 a:hover{text-decoration:underline}

/* Mietanpassung: Stand, Rechenweg, Hinweise */
.app .spalten.breitlinks{grid-template-columns:1.7fr 1fr}
.app .kacheln.zwei{grid-template-columns:1fr 1fr; margin:0 0 14px}
.standtext{font-size:16px; font-weight:500; margin:0 0 10px}
.hinweise{margin:0 0 14px; padding:0 0 0 18px; color:var(--muted); font-size:14px}
.hinweise li{margin:0 0 6px}
details.rechenweg{border:1px solid var(--line); border-radius:14px; padding:4px 16px; margin:0 0 14px}
details.rechenweg summary{font-size:15px; padding:12px 0}
details.rechenweg .klein{margin:10px 0 12px}
details.rechenweg .tabwrap{margin:0}
details.rechenweg .tabwrap table{min-width:440px}
.inlinewahl{display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:0 0 12px; font-size:14px}
.inlinewahl select{font:inherit; font-size:15px; padding:7px 10px; border:1px solid var(--line); border-radius:10px; background:var(--bg); color:var(--ink)}
.schlicht li > div{min-width:0}
.schlicht li form.inline{flex:none}
.app .spalten .formular{margin-bottom:20px}

/* Buchungen, Auswertung, Prognose */
.jahre{display:flex; flex-wrap:wrap; gap:6px; margin:-8px 0 20px}
.jahre a{text-decoration:none; font-weight:600; font-size:14px; color:var(--muted); padding:6px 13px; border-radius:999px; border:1px solid var(--line); background:var(--card); font-variant-numeric:tabular-nums}
.jahre a:hover{border-color:#cfc9bb; color:var(--ink)}
.jahre a.an{background:var(--ink); border-color:var(--ink); color:#fff}
table.zahlen td.plus{color:var(--green-strong)}
table.zahlen td.minus,table.zahlen td .minus{color:var(--red)}
table.zahlen small.d.guthaben,small.d.guthaben{color:var(--green-strong); font-weight:600}
table.zahlen td .plus{color:var(--green-strong)}
table.zahlen tr.monat td{font-size:12.5px; font-weight:600; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); background:var(--bg-2); padding:6px 8px; border-bottom:0}
table.zahlen tr.ist td{background:var(--green-tint)}
table.zahlen tr.ziel td{background:var(--green-tint)} /* Zielpreis: das Jahr, ab dem der Wert reicht */
table.zahlen a.chip{text-decoration:none}
table.buchungen td:nth-child(3){white-space:nowrap}
table.zahlen.buchungen td:first-child,table.zahlen.prognose td:first-child{min-width:0; white-space:nowrap}
.nurklein,table.zahlen small.d.nurklein{display:none}
table.prognose{font-size:13.5px}
table.prognose td,table.prognose th{padding:8px 6px}
.tabwrap table.prognose{min-width:680px}
.app > .karte,.app > form.karte{margin-bottom:20px}
.karte.annahmen .fraster{grid-template-columns:repeat(4,1fr) auto; align-items:start}
.karte.annahmen .fraster .feld,.karte.annahmen .fraster .feld.b4{grid-column:auto}
.karte.annahmen .kk{flex-wrap:wrap}
.karte.lesetext{max-width:880px}
.karte.lesetext .hinweise{margin-top:10px}
@media (max-width:900px){ .karte.annahmen .fraster{grid-template-columns:1fr 1fr} .karte.annahmen .fraster .feld.b4,.karte.annahmen .fraster .knopffeld{grid-column:1 / -1} }
.vorschlagliste{list-style:none; margin:0; padding:0; border-top:1px solid var(--line)}
.vorschlagliste li{display:flex; justify-content:space-between; align-items:center; gap:14px; padding:10px 0; border-bottom:1px solid var(--line); font-size:14.5px}
.vorschlagliste label.haken{display:flex; align-items:center; gap:12px; cursor:pointer; min-width:0; font-weight:400}
.vorschlagliste strong{display:block; font-weight:600}
.vorschlagliste span.d{display:block; color:var(--muted); font-size:13px}
.vorschlagliste b{white-space:nowrap; font-weight:600}
.vorschlagliste b.plus{color:var(--green-strong)}
.vorschlagliste b.minus{color:var(--red)}
form.karte{display:block}
.app .spalten form.karte{margin-bottom:20px}
.karte.auswertung{margin-bottom:22px}
.karte.auswertung h2 .chip{vertical-align:middle; margin-left:6px; font-family:var(--sans)}
.karte.auswertung details.rechenweg{margin:14px 0 0}
.tabfuss.aktionen{display:flex; gap:8px; flex-wrap:wrap}
.belegzeile{display:flex; align-items:center; gap:10px 16px; flex-wrap:wrap; margin:0}
.eingabe input[type=file]{font-size:14.5px; padding:9px 12px}
.eingabe input[type=file]::file-selector-button{font:inherit; font-weight:600; font-size:14px; border:1px solid var(--line); border-radius:9px; background:var(--card); color:var(--ink); padding:6px 12px; margin-right:12px; cursor:pointer}
.hinweisbox .link{white-space:normal}

/* Hinweis zum Grundanteil in der Steuer-Vorschau */
.grundanteil .d{display:block; margin-top:6px; color:var(--muted); font-size:13px}
.grundanteil .link{display:inline-block; margin-top:6px; white-space:normal}
.hinweisbox.grundanteil{margin-bottom:0}

/* Konto, Zugang für die Steuerberatung, Lesezugriff */
.ansichtleiste{background:#FFF4C2; border-bottom:1px solid #F2DE8A; color:#5c4500; font-size:14.5px}
.ansichtleiste .wrap{display:flex; align-items:center; justify-content:space-between; gap:10px 16px; flex-wrap:wrap; padding-top:9px; padding-bottom:9px}
.ansichtleiste form{margin:0}
body.nur-lesen main form[method="post"] button:not(.bleibt){display:none}
body.nur-lesen main a[href$="/neu/"],body.nur-lesen main a[href*="/neu/?"],body.nur-lesen main a[href$="/bearbeiten/"],body.nur-lesen main a[href*="/bearbeiten/#"]{display:none}
.kopierzeile{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.kopierzeile input{flex:1 1 320px; min-width:0; font:inherit; font-size:14px; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:var(--bg-2); color:var(--ink)}
.karte.linkkarte{border-color:rgba(27,170,41,.35); background:var(--green-tint); margin-bottom:20px}
table.zugaenge td.aktionen{white-space:nowrap}
table.zugaenge td.aktionen form.inline + form.inline{margin-left:6px}

/* Entscheidungshilfe „Soll ich diese Immobilie kaufen?“ */
.karte.entscheidung{margin-bottom:20px}
.gesamtbild{font-size:17px; margin:2px 0 16px; padding:12px 16px; border-radius:12px; background:var(--bg-2); border:1px solid var(--line)}
.gesamtbild.gruen{background:var(--green-tint); border-color:rgba(27,170,41,.25)}
.gesamtbild.amber{background:var(--amber-tint); border-color:rgba(184,121,26,.25)}
.gesamtbild.rot{background:var(--red-tint); border-color:rgba(200,55,45,.25)}
.kriterien{display:grid; grid-template-columns:1fr 1fr; gap:14px; align-items:start}
.kriterium{border:1px solid var(--line); border-radius:14px; padding:16px 18px 6px; background:var(--card); min-width:0}
.kriterium h3{margin:0; font-size:17px}
.kriterium .kern{font-weight:600; margin:10px 0 8px}
.kriterium .hinweise{font-size:14.5px; color:var(--ink)}
.kriterium table.wertin{margin:6px 0 4px}
.kriterium table.wertin td:first-child{min-width:0}
@media (max-width:820px){ .kriterien{grid-template-columns:1fr} }

/* Ausblick: Wertentwicklung in Szenarien, Ziel-Miete, Tragfähigkeit */
.jahre.sprung{margin-bottom:18px}
svg.verlauf .sz{stroke-width:2.2; stroke-linejoin:round; stroke-linecap:round}
svg.verlauf .sz-mittel{stroke:var(--green); stroke-width:3}
svg.verlauf .sz-vorsichtig{stroke:#8C9A93; stroke-dasharray:7 5}
svg.verlauf .sz-lang{stroke:var(--green-strong); stroke-dasharray:2 5}
svg.verlauf .sz-eigen{stroke:var(--ink)}
.legende.ausblick{flex-wrap:wrap; gap:6px 18px}
.legende .l-vorsichtig::before{border-top:2.2px dashed #8C9A93}
.legende .l-mittel::before{border-top:3px solid var(--green)}
.legende .l-lang::before{border-top:2.2px dotted var(--green-strong)}
.legende .l-eigen::before{border-top:2.2px solid var(--ink)}
table.zahlen.ausblick td:first-child,table.zahlen.tragfaehig td:first-child{min-width:0; white-space:nowrap}
table.zahlen.ausblick th small.d{text-transform:none; letter-spacing:0; font-weight:400}
table.tragfaehig td.minus b{color:var(--red)}
@media (max-width:520px){
	svg.verlauf.ausblick{overflow:visible}
	svg.verlauf.ausblick .achse{font-size:16px}
	.tabwrap table.ausblick,.tabwrap table.tragfaehig{min-width:0}
	table.zahlen.ausblick,table.zahlen.tragfaehig{font-size:13px}
	table.zahlen.ausblick th,table.zahlen.tragfaehig th{font-size:10.5px; letter-spacing:.02em}
	table.ausblick .neben{display:none}
	table.ausblick td,table.ausblick th,table.tragfaehig td,table.tragfaehig th{padding-left:4px; padding-right:4px}
}

/* Betrieb: Mieteingang, Mieten, Betriebskosten, Dokumente */
.kachel.rot{background:var(--red-tint); border-color:rgba(200,55,45,.3)}
.kachel.rot b{color:var(--red)}
table.zahlen tr.verzug td:first-child{box-shadow:inset 3px 0 0 var(--red)}
table.zahlen tr.verzug td:first-child{padding-left:12px}
table.konto td:nth-child(2),table.mieten td:nth-child(5),table.konto td:last-child{white-space:nowrap}
table.zahlen.konto td:first-child,table.zahlen.mieten td:first-child,table.zahlen.dokumente td:first-child{min-width:0}
table.mieten td:last-child,table.dokumente td:last-child{white-space:nowrap}
table.mieten td:last-child .link,table.dokumente td:last-child .link{margin-left:8px}
table.dokumente td:nth-child(2){overflow-wrap:anywhere}
details.klappe{padding:6px 22px}
details.klappe summary{font-family:var(--display); font-size:17px; font-weight:700; padding:12px 0}
details.klappe[open]{padding-bottom:20px}
details.klappe .fraster{margin-top:6px}
.app .spalten details.klappe{margin-bottom:20px}
.app .spalten > div > form.karte{display:block; margin-bottom:20px}
.app .spalten > div > .hinweisbox{margin-bottom:20px}
.karte .fraster{gap:14px}
.karte .fleiste{margin-top:14px}
.schlicht li form.inline + form.inline{margin-left:6px}
@media (max-width:520px){
	.tabwrap table.konto{min-width:0}
	table.konto th:nth-child(2),table.konto td:nth-child(2),table.konto th:nth-child(3),table.konto td:nth-child(3),table.konto th:nth-child(4),table.konto td:nth-child(4){display:none}
	table.konto td,table.konto th{padding-left:4px; padding-right:4px}
	table.zahlen.konto tr.verzug td:first-child{padding-left:10px}
	/* Mieten und Dokumente: am Handy je Zeile ein Block statt einer Tabelle zum Schieben */
	.tabwrap table.stapel{min-width:0; display:block}
	table.stapel tbody{display:block}
	table.stapel tr{display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; padding:12px 0; border-bottom:1px solid var(--line)}
	table.stapel tr:first-child{display:none}
	table.stapel tr:last-child{border-bottom:0}
	table.zahlen.stapel td{display:block; border:0; padding:0; min-width:0; white-space:normal}
	table.zahlen.stapel td:first-child,table.zahlen.stapel td:last-child{flex:1 1 100%; text-align:left}
	table.zahlen.stapel tr.verzug td:first-child{padding-left:12px}
	table.stapel td .link{white-space:normal; overflow-wrap:anywhere}
	table.stapel td small.d{display:inline; margin-left:6px}
	table.stapel td:first-child small.d{display:block; margin-left:0}
	table.mieten td:nth-child(2),table.mieten td:nth-child(3){display:none}
	table.mieten td:last-child .link,table.dokumente td:last-child .link{margin-left:0; margin-right:12px}
	details.klappe{padding:4px 16px}
}

/* Bewertung und Kaufprüfung */
/* Zeile unter den Kacheln: oben Wert, Restschuld, Eigenkapital – darunter Netto-Miete und Tilgung pro Monat */
.vermoegen{margin:-6px 0 22px; padding:12px 18px; border:1px solid var(--line); border-radius:14px; background:var(--card); font-size:14.5px; color:var(--muted)}
.vermoegen .zeile{display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 26px; margin:0}
.vermoegen .zeile + .zeile{margin-top:10px; padding-top:10px; border-top:1px solid var(--line)}
.vermoegen b{color:var(--ink); font-weight:600; margin-left:4px}
.vermoegen .zuwachs{font-style:normal; font-weight:600; margin-left:7px; white-space:nowrap; font-variant-numeric:tabular-nums}
.vermoegen .zuwachs.gruen{color:var(--green-strong)}
.vermoegen .zuwachs.rot{color:var(--red)}
.rechenform{margin:16px 0 0; padding-top:16px; border-top:1px solid var(--line)}
.rechenform .fraster{grid-template-columns:repeat(3,1fr); gap:14px}
.rechenform .fraster .feld{grid-column:auto}
.rechenform details.rechenweg{margin:14px 0 0}
.rechenform details.rechenweg .fraster{grid-template-columns:repeat(2,1fr); margin-bottom:14px}
.knopffeld .knopf{min-height:46px}
svg.verlauf{display:block; width:100%; height:auto; margin:4px 0 6px}
svg.verlauf .raster{stroke:var(--line); stroke-width:1}
svg.verlauf .achse{fill:var(--muted); font-size:11px; font-family:var(--sans)}
svg.verlauf .wert{stroke:var(--green); stroke-width:2.5; stroke-linejoin:round; stroke-linecap:round}
svg.verlauf .schuld{stroke:var(--amber); stroke-width:2; stroke-dasharray:5 4}
svg.verlauf .punkt{fill:var(--card); stroke:var(--green); stroke-width:2.5}
svg.verlauf .punkt.kauf{stroke:var(--ink)}
.legende{display:flex; gap:18px; font-size:12.5px; color:var(--muted); margin:0 0 10px}
.legende span::before{content:""; display:inline-block; width:18px; height:0; border-top:2.5px solid var(--green); vertical-align:middle; margin-right:7px}
.legende .l-schuld::before{border-top:2px dashed var(--amber)}
.karte.auffaellig{margin-bottom:20px}
.karte.auffaellig .hinweise{margin:0; font-size:15px; color:var(--ink)}
.hinweise li.warn::marker{color:var(--red)}
.hinweise li.warn{color:#8c241d}
@media (max-width:900px){ .rechenform .fraster{grid-template-columns:1fr 1fr} .rechenform .fraster .knopffeld{grid-column:1 / -1} }
@media (max-width:520px){ .rechenform .fraster,.rechenform details.rechenweg .fraster{grid-template-columns:1fr} .rechenform .fraster .feld .etikett{display:none} }

/* ---------- Eingabemasken ---------- */
.formular{max-width:880px}
.fgruppe,details.fgruppe{display:block; border:1px solid var(--line); border-radius:var(--radius); background:var(--card); padding:22px 24px 24px; margin:0 0 16px; scroll-margin-top:84px}
.fgruppe h2{margin:0 0 4px}
.fgruppe .unterkopf{align-items:center; margin:16px 0 8px; padding-top:14px; border-top:1px solid var(--line)}
.fgruppe .unterkopf h3.unter{margin:0; padding:0; border:0}
form.formular[id]{scroll-margin-top:84px}
.fgruppe .gtext{color:var(--muted); font-size:14.5px; margin:0 0 4px; max-width:64ch}
.fgruppe .fraster{margin-top:14px}
details.fgruppe summary{padding:0; font-family:var(--display); font-size:19px; font-weight:700}
details.fgruppe:not([open]){padding-bottom:22px}
.fraster{display:grid; grid-template-columns:repeat(6,1fr); gap:16px}
.fraster .feld{grid-column:span 2; min-width:0}
.fraster .feld.b3{grid-column:span 3}
.fraster .feld.b4{grid-column:span 4}
.fraster .feld.b6{grid-column:1 / -1}
.feld .pflicht{color:var(--green-strong)}
.feld .etikett{display:block; font-size:13px; margin:0 0 6px}
.eingabe select,.eingabe textarea{border:0; outline:0; background:transparent; font:inherit; font-size:16px; color:var(--ink); padding:11px 12px; width:100%; min-width:0}
.eingabe select{appearance:none; -webkit-appearance:none; cursor:pointer; padding-right:34px;
	background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235C6B63' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 13px center}
.eingabe textarea{resize:vertical; min-height:84px; line-height:1.5}
.eingabe input[type=date]{min-height:46px}
.eingabe span{white-space:nowrap}
.feld .hilfe,.feld .fehlertext,.feld .vorschlag{display:block; font-size:13px; line-height:1.45; margin-top:6px}
.feld .hilfe{color:var(--muted)}
.feld .fehlertext{color:var(--red); font-weight:600}
.feld.fehler .eingabe{border-color:var(--red); background:var(--red-tint)}
.feld .vorschlag button{border:0; background:none; padding:0; font:inherit; font-weight:600; color:var(--green-strong); cursor:pointer; text-align:left}
.feld .vorschlag button:hover{text-decoration:underline}
.feld label.haken{display:flex; align-items:center; gap:10px; min-height:46px; font-size:15px; font-weight:500; cursor:pointer; margin:0}
.haken input{width:20px; height:20px; accent-color:var(--green); flex:none; margin:0}
/* Feld „posten“: Akonto aufgeteilt wie auf der Vorschreibung */
fieldset.posten{border:0; padding:0; margin:0; min-width:0}
fieldset.posten legend{font-size:13px; font-weight:600; padding:0; margin:0 0 6px}
table.postentab{width:100%; border-collapse:separate; border-spacing:0 8px; margin:-8px 0}
table.postentab th{font-size:12.5px; font-weight:600; color:var(--muted); text-align:left; padding:0 8px 0 0}
table.postentab td{padding:0 8px 0 0; vertical-align:top}
table.postentab td:last-child,table.postentab th:last-child{padding-right:0}
table.postentab td:nth-child(2){width:30%}
table.postentab td:nth-child(3){width:26%}
.eingabe input[readonly]{color:var(--muted)}
.dl dd small.d{display:block; color:var(--muted); font-size:13px}
@media (max-width:520px){ table.postentab td:nth-child(2){width:34%} table.postentab td:nth-child(3){width:30%} table.postentab th{font-size:11.5px} }
.fleiste{display:flex; align-items:center; gap:10px 12px; flex-wrap:wrap; margin:20px 0 0}
.fleiste .klein{margin-left:6px}
[hidden]{display:none !important}
.randzone{display:flex; justify-content:space-between; align-items:center; gap:12px 18px; flex-wrap:wrap; border:1px dashed #cfc9bb; border-radius:var(--radius); padding:16px 20px; margin-top:34px; background:var(--bg-2)}
.randzone > div{flex:1 1 300px; min-width:0}
.randzone strong{display:block; font-size:15px}
.frage{max-width:640px}
.frage p{color:var(--muted)}

@media (max-width:900px){
	.lpkopf .wrap{grid-template-columns:1fr; gap:34px}
	.lpkopf{padding:34px 0 10px}
	.einstieg .wrap{grid-template-columns:1fr; gap:26px; padding-top:38px}
	.einstieg .wrap > div:first-child{padding:0}
	.rechnerhaus{width:100%; max-width:540px; margin:0 auto}
	.rechnerhaus .dach{width:calc(100% + 28px); margin:0 -14px -1px}
	.rechnerhaus .wand{padding:12px 12px 26px}
	.fakten .wrap{grid-template-columns:repeat(2,1fr)}
	.module,.schritte,.gruppen,.vorteile{grid-template-columns:1fr}
	.zeige{grid-template-columns:1fr; gap:26px; padding:36px 0} .zeige.um .text{order:0}
	.fuss .wrap{grid-template-columns:1fr 1fr}
	.app .kacheln{grid-template-columns:repeat(2,1fr)} .app .spalten,.app .spalten.breitlinks{grid-template-columns:1fr}
	.fraster{grid-template-columns:1fr 1fr} .fraster .feld,.fraster .feld.b3{grid-column:span 1} .fraster .feld.b4,.fraster .feld.b6{grid-column:1 / -1}
	.fgruppe,details.fgruppe{padding:18px 16px 20px}
	.schluss{padding:38px 22px 122px}
	section.block{padding:54px 0 4px}
}
@media (max-width:520px){
	.felder,.ergebnis{grid-template-columns:1fr}
	.kacheln{grid-template-columns:1fr 1fr}
	.liste .z{grid-template-columns:1fr auto} .liste .z .aus{display:none}
	.fuss .wrap{grid-template-columns:1fr}
	.dl{grid-template-columns:1fr} .dl dt{margin-top:6px}
	.fraster{grid-template-columns:1fr} .fraster .feld,.fraster .feld.b3,.fraster .feld.b4{grid-column:1 / -1}
	.feld .etikett{display:none}
	.objektkarte{grid-template-columns:1fr}
	/* Buchungen und Prognose: am Handy nur die wichtigsten Spalten, dafür ohne Schieben */
	.tabwrap table.buchungen,.tabwrap table.prognose{min-width:0}
	table.buchungen th:nth-child(3),table.buchungen tr:not(.monat) td:nth-child(3){display:none}
	table.prognose th:nth-child(n+3):nth-child(-n+6),table.prognose td:nth-child(n+3):nth-child(-n+6){display:none}
	.nurklein{display:inline} table.zahlen small.d.nurklein{display:block; color:#7a5b00}
	.app .karte{padding:20px 18px}
	.app .kacheln.zwei{grid-template-columns:1fr}
	table.buchungen td,table.buchungen th,table.prognose td,table.prognose th{padding-left:4px; padding-right:4px}
	table.buchungen td:nth-child(2){overflow-wrap:anywhere}
	.jahre{margin-top:0}
}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} a.modul,.objektkarte{transition:none} }

/* ---------- Karte (Übersicht und Lage einer Immobilie); gezeichnet von assets/js/karte.js ---------- */
.landkarte{position:relative; height:340px; border:1px solid var(--line); border-radius:14px; overflow:hidden; background:#EDEFE9; touch-action:none; user-select:none; -webkit-user-select:none; cursor:grab}
.landkarte.zieht{cursor:grabbing}
.landkarte.setzen{height:460px; cursor:crosshair}
.landkarte .ebene,.landkarte .kacheln,.landkarte .marken{position:absolute; left:0; top:0; right:0; bottom:0}
.landkarte .kacheln img{position:absolute; left:0; top:0; width:256px; height:256px; max-width:none; pointer-events:none}
.landkarte .pin{position:absolute; left:0; top:0; width:26px; height:34px; margin:-33px 0 0 -13px; color:var(--green-strong); text-decoration:none; filter:drop-shadow(0 3px 3px rgba(24,36,32,.35)); z-index:1}
.landkarte .pin.amber{color:var(--amber)}
.landkarte .pin.neu{color:var(--red)}
.landkarte .pin svg{display:block; max-width:none}
.landkarte .pin b{position:absolute; left:0; right:0; top:5px; text-align:center; font-size:12px; line-height:15px; font-weight:700; color:#fff; font-variant-numeric:tabular-nums}
.landkarte .pin.ohne-nr b{left:9px; right:9px; top:8.5px; height:8px; border-radius:50%; background:#fff}
.landkarte .pin .schild{position:absolute; left:50%; bottom:38px; transform:translateX(-50%); display:none; background:var(--ink); color:#fff; border-radius:10px; padding:6px 10px; font-size:12.5px; line-height:1.3; white-space:nowrap; pointer-events:none}
.landkarte .pin .schild strong{display:block; font-weight:600}
.landkarte .pin .schild small{display:block; opacity:.78; font-size:11.5px}
.landkarte a.pin:hover,.landkarte a.pin:focus-visible{z-index:3; outline:none}
.landkarte a.pin:hover .schild,.landkarte a.pin:focus-visible .schild{display:block}
.landkarte .zoom{position:absolute; right:12px; top:12px; z-index:4; display:flex; flex-direction:column; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--card); box-shadow:0 6px 16px -8px rgba(24,36,32,.45)}
.landkarte .zoom button{width:36px; height:36px; border:0; background:var(--card); color:var(--ink); font-family:var(--sans); font-size:20px; line-height:1; cursor:pointer}
.landkarte .zoom button + button{border-top:1px solid var(--line)}
.landkarte .zoom button:hover{background:var(--bg-2)}
.landkarte .zoom button:disabled{color:#b9b6ab; cursor:default; background:var(--card)}
.landkarte .quelle{position:absolute; right:0; bottom:0; z-index:4; font-size:11px; line-height:1.4; color:var(--muted); background:rgba(255,255,255,.88); padding:2px 8px; border-top-left-radius:8px; text-decoration:none; cursor:pointer}
.landkarte .quelle:hover{text-decoration:underline}
.landkarte noscript p{position:absolute; left:16px; top:14px; right:60px; margin:0}
.app .karte.kartenkarte{margin-bottom:22px; padding:20px}
.app .spalten .kartenkarte .landkarte{height:300px}
.kartenkarte .kk{margin-bottom:12px}
.kartenfuss{display:flex; justify-content:space-between; align-items:center; gap:10px 18px; flex-wrap:wrap; margin:12px 0 0}
.kartenfuss p{margin:0; flex:1 1 320px; min-width:0}
/* Symbol der Immobilienart vor dem Namen; die Zahl des Pins auf der Karte sitzt als Marke an der Ecke */
.objektkarte .titel{display:flex; align-items:center; gap:13px; min-width:0}
/* die Marken rechts brechen untereinander um, bevor sie den Namen zusammendrücken */
a.objektkarte{grid-template-columns:minmax(0,1fr) fit-content(190px)}
a.objektkarte > div:nth-child(2){display:flex; flex-wrap:wrap; justify-content:flex-end; align-content:flex-start; gap:6px}
.objektkarte .titel > div{min-width:0}
.objsym{position:relative; display:inline-flex; flex:none; align-items:center; justify-content:center; width:42px; height:42px; border-radius:12px; background:var(--green-tint); color:var(--green-strong)}
.objsym svg{display:block; max-width:none}
.objsym .nr{position:absolute; top:-7px; right:-7px; display:inline-flex; align-items:center; justify-content:center; min-width:20px; height:20px; padding:0 5px; border-radius:999px; border:2px solid var(--card); background:var(--green-strong); color:#fff; font-family:var(--sans); font-size:11.5px; font-weight:700; line-height:1; font-variant-numeric:tabular-nums}
.objsym .nr.amber{background:var(--amber)}
.app .karte.lagekarte{padding:20px}
.knopf:disabled{opacity:.45; cursor:default; box-shadow:none}
/* Laufende Kosten, die nicht mehr gelten, und Rechnungen */
table.zahlen tr.vorbei td,table.zahlen tr.kuenftig td{color:var(--muted)}
/* Laufende Kosten: künftige und frühere Zeilen bleiben ausgeblendet, bis der Filter der Karte sie zeigt */
.kostenliste tr.vorbei,.kostenliste tr.kuenftig{display:none}
.kostenliste.zeige-frueher tr.vorbei,.kostenliste.zeige-kuenftig tr.kuenftig{display:table-row}
.kostenfilter{display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 12px}
a.chip.wahl{text-decoration:none; cursor:pointer}
a.chip.wahl:hover{border-color:#cfc9bb; color:var(--ink)}
a.chip.wahl.an,a.chip.wahl.an:hover{background:var(--ink); border-color:var(--ink); color:#fff}
table.zahlen tr.vorbei td strong{font-weight:500}
table.zahlen.rechnungen td:first-child{min-width:0; white-space:nowrap}
table.zahlen.rechnungen td:nth-child(3){white-space:nowrap}
.rechnungssumme{display:flex; flex-wrap:wrap; gap:4px 18px; margin:14px 0 0; font-size:13.5px; color:var(--muted)}
.rechnungssumme b{color:var(--ink); font-weight:600; font-variant-numeric:tabular-nums}
@media (max-width:720px){
	.landkarte{height:260px} .landkarte.setzen{height:380px}
}
@media (max-width:520px){
	table.zahlen.rechnungen th:nth-child(3),table.zahlen.rechnungen td:nth-child(3){display:none}
	table.zahlen.rechnungen td:nth-child(2){overflow-wrap:anywhere}
}

/* ---------- Buchungen: Symbol je Art, Suche und Filter ---------- */
.artsym{display:inline-flex; flex:none; align-items:center; justify-content:center; width:30px; height:30px; border-radius:9px; background:var(--bg-2); color:var(--muted)}
.artsym.ein{background:var(--green-tint); color:var(--green-strong)}
.artsym.aus{background:var(--red-tint); color:var(--red)}
.artsym svg{display:block; max-width:none}
.bz{display:flex; align-items:flex-start; gap:11px}
.bz > div{min-width:0}
table.zahlen td .bz a:not(.link){text-decoration:none}
table.zahlen td .bz a:not(.link):hover strong{text-decoration:underline}
form.filter{display:flex; flex-wrap:wrap; align-items:center; gap:8px 10px; margin:0 0 14px}
form.filter .eingabe{flex:0 1 auto; min-width:0}
form.filter .eingabe.such{flex:1 1 220px}
form.filter input[type=search],form.filter select{font-size:14.5px; padding-top:8px; padding-bottom:8px}
form.filter select{max-width:200px}
form.filter .link{font-size:13.5px}
@media (max-width:520px){
	form.filter .eingabe{flex:1 1 45%} form.filter .eingabe.such{flex:1 1 100%}
	.artsym{width:26px; height:26px; border-radius:8px} .bz{gap:8px}
}

/* ---------- Hilfe ---------- */
.hilfe .pfad{font-size:14px; color:var(--muted); margin:-6px 0 12px}
.hilfe .pfad a{color:var(--green-strong); font-weight:600; text-decoration:none}
.hilfe .pfad a:hover{text-decoration:underline}
form.filter.hilfe-suche{max-width:620px; margin-bottom:28px}
.hilfe-zwischen{font-size:18px; margin:0 0 12px}
.hilfe-treffer{list-style:none; margin:0 0 34px; padding:0; max-width:820px}
.hilfe-treffer li{border-bottom:1px solid var(--line)}
.hilfe-treffer a{display:block; padding:12px 2px; text-decoration:none; color:var(--ink)}
.hilfe-treffer a:hover strong{text-decoration:underline}
.hilfe-treffer .wo{color:var(--muted); font-size:13.5px}
.hilfe-treffer .auszug{display:block; color:var(--muted); font-size:14px; line-height:1.5; margin-top:3px}
.hilfe-gruppe{margin:0 0 30px}
.hilfe-gruppe h2{font-size:18px; margin:0 0 12px}
.hilfe-themen{display:grid; grid-template-columns:repeat(3,1fr); gap:12px}
.hilfe-thema{display:block; text-decoration:none; color:var(--ink); border:1px solid var(--line); border-radius:14px; background:var(--card); padding:16px 18px; transition:border-color .15s; min-width:0}
.hilfe-thema:hover,.hilfe-thema:focus-visible{border-color:var(--green)}
.hilfe-thema strong{display:block; font-size:16px; line-height:1.3; margin-bottom:5px}
.hilfe-thema span{display:block; color:var(--muted); font-size:14px; line-height:1.5}
.hilfe-seite{display:grid; grid-template-columns:240px minmax(0,1fr); gap:30px; align-items:start}
.hilfe-nav{position:sticky; top:88px; font-size:14.5px; max-height:calc(100vh - 108px); overflow-y:auto; padding-right:4px}
.hilfe-nav h3{font-family:var(--sans); font-size:12.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); font-weight:600; margin:0 0 8px}
.hilfe-nav .aufseite + .gruppe{margin-top:22px; padding-top:16px; border-top:1px solid var(--line)}
.hilfe-nav a{display:block; padding:5px 0; color:var(--muted); text-decoration:none; line-height:1.35}
.hilfe-nav a:hover{color:var(--ink)}
.hilfe-nav a.an{color:var(--ink); font-weight:600}
.hilfe-nav a.alle{margin-top:10px; color:var(--green-strong); font-weight:600}
.karte.hilfetext{max-width:860px; font-size:16px; line-height:1.65; padding:30px 34px}
.hilfetext h2{font-size:22px; line-height:1.25; margin:38px 0 10px; scroll-margin-top:88px}
.hilfetext > h2:first-child{margin-top:0}
.hilfetext h3{font-size:17px; margin:24px 0 6px}
.hilfetext p{margin:0 0 12px}
.hilfetext ul,.hilfetext ol{margin:0 0 14px; padding-left:22px}
.hilfetext li{margin-bottom:5px}
.hilfetext a{color:var(--green-strong); font-weight:600; text-decoration:none}
.hilfetext a:hover{text-decoration:underline}
.hilfetext .formel{background:var(--bg-2); border:1px solid var(--line); border-radius:12px; padding:12px 16px; margin:0 0 14px; font-weight:600; font-variant-numeric:tabular-nums}
.hilfetext .formel small{display:block; font-weight:400; color:var(--muted); font-size:14px; margin-top:4px}
.hilfetext .beispiel{border-left:3px solid var(--green); background:var(--green-tint); border-radius:0 12px 12px 0; padding:12px 16px; margin:0 0 16px; font-size:15px; font-variant-numeric:tabular-nums}
.hilfetext .beispiel > b:first-child{display:block; font-size:12.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--green-strong); margin-bottom:3px}
.hilfetext .achtung{background:var(--amber-tint); border:1px solid rgba(184,121,26,.3); border-radius:12px; padding:12px 16px; margin:0 0 16px; font-size:15px}
.hilfetext .weg{display:inline-block; font-size:13.5px; font-weight:600; color:var(--muted); background:var(--bg-2); border:1px solid var(--line); border-radius:8px; padding:1px 8px; white-space:nowrap}
.hilfetext .tabwrap{margin:0 0 16px}
.hilfetext table.zahlen{font-size:15px}
.hilfetext table.zahlen td{vertical-align:top}
.hilfe-fuss{display:flex; justify-content:space-between; gap:12px 20px; flex-wrap:wrap; margin-top:34px; padding-top:18px; border-top:1px solid var(--line)}
.hilfe-fuss .link{white-space:normal}
/* ohne Anmeldung: Weg zum Tool unter dem Hilfetext bzw. unter den Themen */
.hilfe-haupt{display:grid; gap:18px; min-width:0; max-width:860px}
.hilfe-start{display:flex; align-items:center; justify-content:space-between; gap:14px 24px; flex-wrap:wrap; background:var(--green-tint); border:1px solid rgba(27,170,41,.25); border-radius:14px; padding:18px 22px; margin:0 0 22px; max-width:860px}
.hilfe-haupt .hilfe-start{margin:0}
.hilfe-start > div:first-child{flex:1 1 320px; min-width:0}
.hilfe-start strong{display:block; font-family:var(--display); font-size:18px; margin-bottom:4px}
.hilfe-start p{margin:0; color:var(--ink); font-size:15px; line-height:1.5}
.hilfe-start .knoepfe{display:flex; align-items:center; gap:10px 16px; flex-wrap:wrap}
/* Makler für den Verkauf (lib/makler.php): Frage mit Knopf; in schmalen Spalten bricht der Knopf unter den Text */
.maklerbox{display:flex; align-items:center; justify-content:space-between; gap:12px 18px; flex-wrap:wrap; background:var(--green-tint); border:1px solid rgba(27,170,41,.25); border-radius:14px; padding:16px 18px; margin:0 0 18px}
.maklerbox > div{flex:1 1 260px; min-width:0}
.maklerbox strong{display:block; font-family:var(--display); font-size:16.5px; line-height:1.3; text-wrap:balance}
.maklerbox p{margin:4px 0 0; font-size:14px; color:var(--muted)}
.maklerbox .knopf{flex:none}
.maklerbox.gesendet{background:var(--bg-2); border-color:var(--line)}
.karte .maklerbox{margin:16px 0 0}
/* Support: eigene Tickets */
ul.tickets{list-style:none; margin:0; padding:0}
ul.tickets li{border-top:1px solid var(--line)}
ul.tickets li:first-child{border-top:0}
ul.tickets summary{cursor:pointer; padding:10px 0; display:flex; align-items:center; gap:6px 10px; flex-wrap:wrap; list-style:none}
ul.tickets summary::-webkit-details-marker{display:none}
ul.tickets summary .d{color:var(--muted); font-size:13.5px; margin-left:auto}
ul.tickets .tickettext{font-size:14.5px; line-height:1.55; padding:0 0 12px; overflow-wrap:anywhere}
ul.tickets .tickettext.antwort{background:var(--green-tint); border-radius:10px; padding:10px 12px; margin:0 0 12px}
.support .karte ul.klein{padding-left:18px; margin:0 0 10px}
.support .karte ul.klein li{margin-bottom:6px}
@media (max-width:900px){
	.hilfe-seite{grid-template-columns:minmax(0,1fr); gap:18px}
	.hilfe-nav{position:static; max-height:none; border:1px solid var(--line); border-radius:14px; background:var(--card); padding:14px 16px}
	.hilfe-nav .gruppe{display:none}
	.hilfe-themen{grid-template-columns:1fr 1fr}
}
@media (max-width:520px){
	.hilfe-themen{grid-template-columns:1fr}
	.karte.hilfetext{padding:20px 18px}
}

/* Termine und Hinweise: Karte der Liste (Übersicht: die nächsten fünf mit Verweis auf alle), Seite mit allen Terminen */
.app .karte.terminkarte{padding:8px 20px}
.terminkarte .mehr{display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin:0; padding:13px 2px 11px; border-top:1px solid var(--line); font-size:14.5px}
.terminkarte .mehr .link{font-weight:600}
.terminteil{margin-bottom:22px}
.termine .treffer{margin:-4px 0 16px}
.termine form.filter{margin-bottom:18px}
.termine form.filter select{max-width:210px}
.termine form.filter .eingabe.such{flex:1 1 260px}
@media (max-width:520px){
	.objsym{width:36px; height:36px; border-radius:10px} .objektkarte .titel{gap:11px}
	a.objektkarte{grid-template-columns:1fr} a.objektkarte > div:nth-child(2){justify-content:flex-start}
	.terminkarte .fristen li{grid-template-columns:auto 1fr; gap:8px 12px} .terminkarte .fristen li .chip{grid-column:2; justify-self:start}
}

/* Diagramme in der rechten Spalte (Wert und Miete über 25 Jahre): schmal gezeichnet; senkrechte Marke, z. B. Ende der Befristung */
svg.verlauf.schmal{margin:10px 0 8px}
svg.verlauf .marke{stroke:var(--muted); stroke-width:1; stroke-dasharray:3 4}
/* Listenzeile mit eigener Zeile für die Wege (weitere Verträge): nichts schiebt sich übereinander */
.schlicht li.mehrzeilig{flex-wrap:wrap; row-gap:4px}
.schlicht li.mehrzeilig > a:first-child{flex:1 1 0}
.schlicht li.mehrzeilig .wege{flex:0 0 100%; display:flex; flex-wrap:wrap; gap:4px 18px}
.schlicht a.link{min-width:auto; flex:none}

/* Maske in Schritten (Kaufprüfung): Leiste der Schritte, je Schritt ein Abschnitt. Ohne Skript gibt es die Leiste nicht und alle Schritte stehen untereinander. */
.formtitel{font-size:19px; font-weight:700; margin:26px 0 14px}
.schritttext{color:var(--muted); font-size:14.5px; margin:0 0 14px; max-width:64ch}
.formular:not(.mehrschritt) .schritttext{display:none}
.schrittleiste{display:flex; gap:8px; list-style:none; margin:0 0 16px; padding:0}
.schrittleiste li{flex:1 1 0; min-width:0}
.schrittleiste button{width:100%; display:flex; align-items:center; gap:10px; padding:9px 12px; border:1px solid var(--line); border-radius:12px; background:var(--card); font:inherit; font-size:14.5px; font-weight:600; color:var(--muted); cursor:pointer; text-align:left; line-height:1.2}
.schrittleiste button:hover{border-color:#cfc9bb; color:var(--ink)}
.schrittleiste .nr{flex:none; width:26px; height:26px; border-radius:50%; display:grid; place-items:center; background:var(--bg-2); color:var(--muted); font-size:13px; font-weight:700; font-variant-numeric:tabular-nums}
.schrittleiste .name{min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.schrittleiste small{display:block; font-size:11.5px; font-weight:400; color:var(--muted)}
.schrittleiste button.fertig .nr{background:var(--green-tint); color:var(--green-strong)}
.schrittleiste button[aria-current="step"]{border-color:rgba(27,170,41,.45); background:var(--green-tint); color:var(--ink)}
.schrittleiste button[aria-current="step"] .nr{background:var(--green); color:#fff}
.schrittleiste button.fehler{border-color:rgba(200,55,45,.45)}
.schrittleiste button.fehler .nr{background:var(--red-tint); color:var(--red)}
.formular.mehrschritt .fschritt .fgruppe:last-child{margin-bottom:0}
.formular.mehrschritt .fleiste{margin-top:16px}
.fleiste .schrittstand{margin-left:auto}
.formular:not(.mehrschritt) .schrittstand{display:none}
@media (max-width:640px){
	.schrittleiste{gap:6px}
	.schrittleiste li{flex:0 0 auto}
	.schrittleiste li:has(button[aria-current="step"]){flex:1 1 0}
	.schrittleiste button{padding:8px 9px}
	.schrittleiste button:not([aria-current="step"]) .name{display:none}
}

/* Bilder einer Immobilie: Vorschaubild in der Liste der Übersicht, Karte auf der Seite der Immobilie, Raster der Bilder-Seite */
.objektkarte .unten{grid-column:1 / -1; display:flex; align-items:center; gap:14px; margin-top:8px; min-width:0}
.objektkarte .unten .werte{margin-top:0; min-width:0}
.objektkarte .daumen{flex:none; width:72px; height:54px; object-fit:cover; border-radius:10px; border:1px solid var(--line); background:var(--bg-2)}
.bildkarte .hauptbild{display:block; border-radius:12px; overflow:hidden; border:1px solid var(--line); background:var(--bg-2)}
.bildkarte .hauptbild img{display:block; width:100%; height:auto; max-height:300px; object-fit:cover}
.bildleiste{display:grid; grid-template-columns:repeat(5,1fr); gap:8px; margin-top:8px}
.bildleiste a{display:block; aspect-ratio:4 / 3; border-radius:9px; overflow:hidden; border:1px solid var(--line); background:var(--bg-2); text-decoration:none}
.bildleiste img{display:block; width:100%; height:100%; object-fit:cover}
.bildleiste a.mehr{display:grid; place-items:center; font-weight:600; font-size:14px; color:var(--muted)}
.bildupload .eingabe{flex:1 1 280px; min-width:0}
.bildupload input[type=file]{width:100%; font:inherit; font-size:14.5px; padding:9px 12px}
.bildraster{display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:14px; margin-top:6px}
.bildkachel{margin:0; border:1px solid var(--line); border-radius:14px; background:var(--card); overflow:hidden}
.bildkachel.haupt{border-color:rgba(27,170,41,.45)}
.bildkachel > a{display:block; aspect-ratio:4 / 3; background:var(--bg-2)}
.bildkachel img{display:block; width:100%; height:100%; object-fit:cover}
.bildkachel figcaption{display:flex; justify-content:space-between; align-items:center; gap:8px; padding:10px 12px; min-height:52px}
/* Kontakt des Mieters: Telefon und E-Mail zum Antippen */
a.kontakt{color:var(--green-strong); font-weight:600; text-decoration:none; white-space:nowrap}
a.kontakt:hover{text-decoration:underline}
.app .kopfzeile p.kontaktzeile{font-size:14.5px; margin-top:4px}
@media (max-width:520px){
	.objektkarte .daumen{width:60px; height:45px}
	.bildraster{grid-template-columns:1fr 1fr; gap:10px}
	.bildkachel figcaption{flex-direction:column; align-items:stretch}
}

/* Schnellerfassung: eine Zeile je Immobilie (am Handy als Karten) */
.wrap.breit{max-width:1520px}
.formular[data-schnell]{max-width:none} .formular[data-schnell] > .karte{padding:18px}
table.schnell{border-collapse:separate; border-spacing:4px; margin:-4px; font-size:14px}
table.schnell thead th{font-size:12px; font-weight:600; color:var(--muted); text-align:left; padding:0 2px; vertical-align:bottom; line-height:1.3}
table.schnell tbody th{color:var(--muted); font-weight:600; font-variant-numeric:tabular-nums; padding:0 2px 0 0}
table.schnell td{padding:0; vertical-align:top}
table.schnell .eingabe input,table.schnell .eingabe select{font-size:14px; padding:8px 8px}
table.schnell .eingabe select{padding-right:26px; background-position:right 8px center}
table.schnell td.fehler .eingabe{border-color:var(--red); background:var(--red-tint)}
table.schnell .s-art{min-width:106px} table.schnell .s-eigentuemer_id{min-width:140px} table.schnell .s-strasse{min-width:150px} table.schnell .s-top{min-width:54px}
table.schnell .s-plz{min-width:62px} table.schnell .s-ort{min-width:104px} table.schnell .s-wohnflaeche{min-width:62px} table.schnell .s-kaufdatum,table.schnell .s-beginn{min-width:124px}
table.schnell .s-kaufpreis{min-width:96px} table.schnell .s-miete,table.schnell .s-bk,table.schnell .s-hk{min-width:82px} table.schnell .s-mieter{min-width:116px}
.meldung ul{margin:8px 0 0; padding-left:20px; font-weight:400}
/* Neue Immobilie: Auswahl der Art, Frage „ganzes Haus oder einzelne Wohnungen?“ */
.neuwahl{display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:14px; margin:0 0 18px}
a.wahlkarte{display:flex; flex-direction:column; gap:6px; padding:18px 18px 20px; color:var(--ink); text-decoration:none; transition:border-color .15s, box-shadow .15s}
a.wahlkarte:hover,a.wahlkarte:focus-visible{border-color:var(--green-strong); box-shadow:0 0 0 3px var(--green-tint)}
a.wahlkarte .objsym{margin-bottom:6px}
a.wahlkarte strong{font-size:16.5px}
a.wahlkarte .d{color:var(--muted); font-size:14px; line-height:1.45}
.hausfrage{margin:0 0 14px; max-width:880px}
.hausfrage h2{margin:0 0 6px}
.hausfrage p{margin:0 0 6px}
.hausfrage ul{margin:0; padding-left:20px; display:grid; gap:8px; font-size:15px}
@media (prefers-reduced-motion:reduce){a.wahlkarte{transition:none}}
/* Einheiten: mehrere auf einmal, Weg in der Karte */
.kkwege{display:inline-flex; gap:14px; flex-wrap:wrap}
.zeilenwahl{display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin:0 0 14px; font-size:14.5px}
.zeilenwahl label{font-weight:600}
.zeilenwahl input{width:84px; font:inherit; padding:7px 10px; border:1px solid var(--line); border-radius:10px; background:var(--card); color:var(--ink)}
table.schnell .s-bezeichnung{min-width:120px} table.schnell .s-lage{min-width:120px} table.schnell .s-flaeche{min-width:70px} table.schnell .s-zimmer{min-width:62px}
@media (max-width:760px){ table.schnell.einheitentab tbody th::before{content:"Einheit "} }
/* Belege: Eingang (hochladen, je Beleg Immobilie wählen und erfassen oder zuordnen) */
.kopf nav a .navzahl{display:inline-flex; align-items:center; justify-content:center; min-width:19px; height:19px; padding:0 5px; margin-left:2px; border-radius:999px; background:var(--amber); color:#fff; font-size:11.5px; font-weight:700; font-variant-numeric:tabular-nums; line-height:1}
.belegupload{margin-bottom:22px}
.eingangliste{display:grid; grid-template-columns:1fr; gap:12px}
form.karte.eingangkarte{display:grid; grid-template-columns:72px minmax(0,1fr); gap:16px; padding:14px 16px; align-items:center}
.belegvorschau{display:flex; align-items:center; justify-content:center; width:72px; height:92px; border:1px solid var(--line); border-radius:10px; background:var(--bg-2); color:var(--muted); font-weight:700; font-size:13px; letter-spacing:.06em; text-decoration:none; overflow:hidden}
.belegvorschau img{width:100%; height:100%; object-fit:cover; display:block}
.belegvorschau:focus-visible{outline:2px solid var(--green-strong); outline-offset:2px}
.eingangtext{display:flex; flex-direction:column; gap:6px; min-width:0}
.eingangtext > a{white-space:normal; overflow-wrap:anywhere}
.eingangtext .d{color:var(--muted); font-size:13px}
.eingangzeile{display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin-top:4px}
.eingangzeile .eingabe{flex:0 1 320px; min-width:200px}
.eingangwege{display:flex; flex-wrap:wrap; gap:6px}
.eingangwege .loeschen{color:var(--red)}
.wahlliste li label{display:flex; align-items:flex-start; gap:10px; cursor:pointer; min-width:0}
.wahlliste li label input{margin-top:4px}
.wahlliste li label .d{display:block; color:var(--muted); font-size:13px}
@media (max-width:560px){ form.karte.eingangkarte{grid-template-columns:56px minmax(0,1fr); align-items:start} .belegvorschau{width:56px; height:72px} .eingangzeile .eingabe{flex-basis:100%} }
/* Vorlagen und Schreiben: Übersicht, Auswahl, Checkliste mit Vorschau */
.vgruppe{font-size:17px; margin:22px 0 10px}
.vorlagenliste{display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:14px}
.vorlagekarte{display:flex; flex-direction:column; gap:8px; padding:18px 18px 16px}
.vorlagekarte h3{font-size:16.5px; margin:0}
.vorlagekarte .d{color:var(--muted); font-size:14px; margin:0}
.vorlagekarte ul{margin:0; padding-left:18px; font-size:13.5px; color:var(--muted)}
.vorlagefuss{display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin-top:auto; padding-top:6px}
.karte.vorlagekonto{margin:22px 0 14px; padding:20px 22px}
.karte.vorlagekonto h2{font-size:19px; margin:0 0 8px}
.karte.vorlagekonto ul{margin:8px 0 14px; padding-left:18px; font-size:14px; color:var(--muted)}
.kontowahl{display:flex; align-items:center; flex-wrap:wrap; gap:12px 22px; margin:16px 0 0}
.karte.vorlagekonto li{margin:3px 0}
.karte.vorlagekonto li strong{color:var(--ink); font-weight:600}
.vorlagekonto.klein{margin-top:14px; padding:12px 14px; border:1px dashed var(--line); border-radius:12px; background:var(--bg-2)}
a.wahlzeile{display:flex; align-items:center; gap:12px; padding:10px 4px; border-bottom:1px solid var(--line); color:var(--ink); text-decoration:none}
a.wahlzeile:last-child{border-bottom:0}
a.wahlzeile:hover strong{text-decoration:underline}
.wahltrenner{margin:14px 4px 2px; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; font-size:.75rem}
a.wahlzeile .d{display:block; color:var(--muted); font-size:13px}
.vorlagearbeit{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:22px; align-items:start}
.vorschaurahmen{position:sticky; top:84px}
.papier{background:#fff; color:#111; border:1px solid var(--line); border-radius:6px; box-shadow:0 1px 3px rgba(0,0,0,.06); padding:32px 34px; font:13.5px/1.5 Arial,Helvetica,sans-serif; max-height:78vh; overflow:auto}
.papier h1{font-family:Arial,Helvetica,sans-serif; font-size:19px; margin:0 0 4px}
.papier p{margin:0 0 9px}
.papier table{border-collapse:collapse; margin:0 0 10px}
.papier td{vertical-align:top}
@media (max-width:980px){ .vorlagearbeit{grid-template-columns:1fr} .vorschaurahmen{position:static} .papier{max-height:none; padding:20px} }
/* Import aus einer Datei: Vorschau mit Status je Zeile */
.vh{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
.importstand{display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 10px}
.importeig{max-width:420px; margin:0 0 14px}
.formular[data-import]{max-width:none}
.tabwrap table.importliste{min-width:880px}
table.importliste th:nth-child(-n+2),table.importliste td:nth-child(-n+2){width:1%; white-space:nowrap}
table.importliste td{vertical-align:top}
table.importliste td:first-child{min-width:0; padding-top:13px}
table.importliste label{display:block; cursor:pointer; font-weight:400}
table.importliste tr.st-fehler td{background:var(--red-tint)}
.importfehler{margin:6px 0 0; padding-left:16px; font-size:13px; color:#8c241d; max-width:40ch}
.vorlagen{display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 0}
.importhilfe table.zahlen td{padding:8px 0}
@media (max-width:760px){
	.tabwrap table.schnell{min-width:0}
	table.schnell,table.schnell tbody,table.schnell tr,table.schnell td{display:block; width:auto; min-width:0 !important}
	table.schnell{margin:0; border-spacing:0}
	table.schnell thead{display:none}
	.formular[data-schnell] > .karte{padding:0; border:0; background:none}
	.formular[data-schnell] .tabwrap{margin:0}
	table.schnell tr{background:var(--card); border:1px solid var(--line); border-radius:12px; padding:10px 12px; margin:0 0 12px}
	table.schnell tbody th{display:block; color:var(--ink); text-align:left; padding:0 0 4px}
	table.schnell tbody th::before{content:"Immobilie "}
	table.schnell td{display:grid; grid-template-columns:38% 1fr; align-items:center; gap:8px; margin:6px 0}
	table.schnell td::before{content:attr(data-label); font-size:13px; color:var(--muted)}
}
/* Tarif (lib/abo.php): Hinweisseite, Tarifseite, Karte statt Steuer-Vorschau */
.karte.abohinweis{max-width:720px; margin:24px auto; padding:26px 28px}
.karte.abohinweis h1{font-size:26px; margin:10px 0 10px}
.karte.abohinweis p{max-width:62ch}
.abotarife .tarif{border-top:1px solid var(--line); padding:14px 0 12px}
.abotarife .tarif:first-of-type{border-top:0; padding-top:4px}
.abotarife .tarif h3{font-size:16.5px; margin:0 0 4px}
.abotarife .preis{margin:0 0 4px}
.abotarife .tarif.hervor{background:var(--green-tint); border:2px solid var(--green); border-radius:14px; padding:14px 16px 12px; margin:6px 0 4px; box-shadow:0 12px 26px -18px var(--green)}
.abotarife .tarif.hervor + .tarif{border-top:0}
.abotarife .tarif.hervor .chip{margin-bottom:8px}
.chip.gruenvoll{background:var(--green); border-color:var(--green); color:#fff}
.abotarife .aboangebot{background:#FFF8E1; border:1px solid #F0D58A; border-radius:14px; padding:14px 16px 12px; margin:4px 0 10px}
.abotarife .aboangebot h3{font-size:16.5px; margin:8px 0 4px}
.abotarife .aboangebot p{margin:0 0 4px; font-size:14.5px}
.abotarife .aboangebot + .tarif{border-top:0}
table.abowahl td:first-child{width:48px}
.karte.abokarte .fleiste{margin-top:10px}
.abotarife .aboaenderung{border-top:1px solid var(--line); padding:14px 0 6px}
.abotarife .aboaenderung h3{font-size:16.5px; margin:0 0 4px}
/* Freie Rechner (lib/rechner.php, seit 16.10.2026): Hinweis „unverbindlich“, Weg zum Konto, Übersicht, große Zahlen */
.rechnerhinweis{background:var(--amber-tint); border:1px solid rgba(184,121,26,.3); border-radius:14px; padding:12px 16px; font-size:14.5px; margin:0 0 18px; max-width:880px}
.rechnerhinweis b{color:var(--amber)}
.karte .rechnerhinweis{margin:18px 0 0}
.randzone.rechnerkonto{margin:22px 0 26px}
.randzone.rechnerkonto .klein{display:block; margin-top:4px}
.randzone.rechnerkonto .kontowahl{margin:0}
.rechnerzahlen{display:flex; flex-wrap:wrap; gap:12px 34px; margin:6px 0 14px}
.rechnerzahlen > div{display:flex; flex-direction:column; gap:2px}
.rechnerzahlen strong{font-size:28px; line-height:1.15; font-variant-numeric:tabular-nums; color:var(--ink)}
.rechnerliste{display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:18px}
a.karte.rechnerkarte{display:flex; flex-direction:column; gap:8px; text-decoration:none; color:inherit; padding:22px}
a.karte.rechnerkarte h2{font-size:18px; margin:0}
a.karte.rechnerkarte p{margin:0; color:var(--muted); font-size:14.5px; flex:1}
a.karte.rechnerkarte:hover, a.karte.rechnerkarte:focus-visible{border-color:var(--green)}
.karte.rechnerweitere h2{font-size:17px}
#ergebnis .spalten{margin-top:6px}
@media (max-width: 760px){ .rechnerzahlen strong{font-size:23px} }
.vorbereitung.lprechner h3 + p{margin-bottom:12px}
.vorbereitung.lprechner p:last-child{margin-bottom:0}
.spiegelweitere{margin-top:26px; max-width:880px}
.rechnerabschnitt{font-size:20px; margin:30px 0 14px}
/* Finanzierungspartner (lib/rechner.php, seit 17.10.2026) */
.randzone.finanzierungskasten{margin:22px 0 26px; background:var(--green-tint); border:1px solid rgba(27,170,41,.3)}
.randzone.finanzierungskasten .chip{margin-bottom:6px}
.randzone.finanzierungskasten .klein{display:block; margin-top:4px}
.optifin{margin-top:18px; padding:clamp(12px,3vw,26px); background:#fff}
.optifin-rahmen{display:block; width:100%; height:1400px; border:0; background:#fff}
.optifin-laden{color:var(--muted)}
.optifin-laden[hidden]{display:none}
/* Mieteingang: Einträge ändern (seit 17.10.2026) */
ul.schlicht li .eintragknoepfe{display:flex; gap:6px; align-items:center; flex-wrap:wrap}
ul.schlicht li form.eintragaendern{flex:1 1 100%; margin:10px 0 4px; padding:12px 14px; border:1px solid var(--line); border-radius:12px; background:var(--bg-2)}
#bewegungen ul.schlicht li{flex-wrap:wrap}
/* ---------- Geführter Einstieg in der Übersicht (lib/einstieg.php, 22.10.2026) ---------- */
.einstieg{border:1px solid var(--line); border-radius:var(--radius); background:var(--card); padding:26px; margin:0 0 18px}
.einstieg h2{margin:0 0 6px}
.einstieg > p{margin:0 0 18px; max-width:62ch; color:var(--muted)}
.einstieg-arten{display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:10px}
.einstieg-art{display:flex; align-items:center; gap:10px; padding:12px 14px; border:1px solid var(--line); border-radius:12px; background:var(--bg); color:var(--ink); text-decoration:none; font-weight:600; font-size:14.5px}
.einstieg-art:hover,.einstieg-art:focus-visible{border-color:var(--green); background:var(--green-tint)}
.einstieg-art span{min-width:0}
.einstieg-vorschlag{display:flex; justify-content:space-between; align-items:center; gap:14px 20px; flex-wrap:wrap; margin:18px 0 0; padding:16px 18px; border:1px solid rgba(27,170,41,.3); border-radius:14px; background:var(--green-tint)}
.einstieg-vorschlag > div{flex:1 1 320px; min-width:0}
.einstieg-vorschlag ul{margin:6px 0 8px; padding-left:18px; font-size:14.5px}
.einstieg-vorschlag .klein{display:block}
.einstieg-mehr{margin:16px 0 0}
.einstieg-schritte{border:1px solid var(--line); border-radius:var(--radius); background:var(--card); padding:20px 24px; margin:0 0 22px}
.einstieg-schritte ol{list-style:none; margin:0; padding:0; display:grid; gap:10px}
.einstieg-schritte li{display:flex; align-items:center; gap:12px; flex-wrap:wrap}
.einstieg-schritte li > div{flex:1 1 260px; min-width:0}
.einstieg-schritte li .klein{display:block}
.einstieg-schritte li.fertig strong{color:var(--muted); text-decoration:line-through; text-decoration-color:var(--line)}
.einstieg-schritte li.fertig .klein{display:inline; color:var(--green-strong)}
.einstieg-schritte .haken{flex:0 0 24px; height:24px; border-radius:50%; border:2px solid var(--line); display:inline-flex; align-items:center; justify-content:center; color:#fff; background:var(--card)}
.einstieg-schritte li.fertig .haken{background:var(--green); border-color:var(--green)}
.einstieg-schritte li.jetzt .haken{border-color:var(--green)}
.einstieg-aus{margin:12px 0 0}
.einstieg-aus button{background:none; border:0; padding:0; font:inherit; font-size:13.5px; color:var(--muted); cursor:pointer; text-decoration:underline}
/* Vorlagen ohne Anmeldung: Weg zum PDF und mitlaufende Knopfleiste (22.10.2026) */
.gastweg{border:1px solid rgba(27,170,41,.3); background:var(--green-tint); border-radius:14px; padding:14px 18px; margin:0 0 18px}
.gastweg ol{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:10px 18px; counter-reset:gw}
.gastweg li{counter-increment:gw; display:grid; grid-template-columns:26px 1fr; column-gap:10px; font-size:14.5px; line-height:1.4}
.gastweg li::before{content:counter(gw); grid-row:span 2; width:26px; height:26px; border-radius:50%; background:var(--green); color:#fff; font-weight:700; font-size:13.5px; display:flex; align-items:center; justify-content:center}
.gastweg li span{color:var(--muted); font-size:13.5px}
.gastweg .klein{margin:10px 0 0}
.fleiste.klebt{position:sticky; bottom:0; z-index:5; background:var(--bg); border-top:1px solid var(--line); padding:10px 0 12px; margin-bottom:-12px}
.zeileweg{border:0; background:none; color:var(--muted); cursor:pointer; font-size:17px; line-height:1; padding:0 2px; vertical-align:baseline}
.zeileweg:hover,.zeileweg:focus-visible{color:var(--red)}
