/* Gemeinsame Grundlage Ablega/Umlega (A-SYS-050 bis 056); Farben seit 05.12.2026 nach dem Design System „Weich/Petrol“ (E-ABL-142, A-SYS-051 neu). */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("schrift/IBMPlexSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("schrift/IBMPlexSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("schrift/IBMPlexSans-SemiBold.woff2") format("woff2"); }
:root {
  color-scheme: light dark;
  --grund: #F4F5F7; --flaeche: #FFFFFF; --flaeche2: #EFF1F4; --linie: #ECEEF1; --feldrand: #7A808C;
  --text: #171A21; --leise: #5D6370; --akzent: #0B6E7F; --akzent-text: #FFFFFF;
  --gelb: #FFF1CC; --gelb-text: #6B4700; --rot: #FCE8E6; --rot-text: #8C1D18;
  --gruen: var(--flaeche2); --gruen-text: var(--akzent); --plus: #1F56C4; --minus: #B8430A;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #0E1013; --flaeche: #1A1D22; --flaeche2: #262A31; --linie: #2A2E35; --feldrand: #6E7582;
    --text: #ECEEF1; --leise: #A6ACB6; --akzent: #5FD0DE; --akzent-text: #0E1013;
    --gelb: #2C2A14; --gelb-text: #FFD166; --rot: #33191A; --rot-text: #FF8A80;
    --plus: #7FB2FF; --minus: #FFA366;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--grund); color: var(--text); font: 400 1.0625rem/1.45 "IBM Plex Sans", -apple-system, "Segoe UI", system-ui, sans-serif; }
a, .verweis { color: var(--akzent); text-decoration: none; cursor: pointer; }
a:hover, .verweis:hover { text-decoration: underline; }
.kopf { display: flex; align-items: center; gap: 1.5rem; padding: .7rem 1.5rem; background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.marke { font-weight: 700; font-size: 1.2rem; color: var(--text); letter-spacing: -.01em; }
.zahl { background: var(--gelb); color: var(--gelb-text); border-radius: 999px; padding: 0 .5rem; font-size: .8rem; }
.abmelden { display: flex; align-items: center; gap: .8rem; color: var(--leise); font-size: .9rem; margin: 0; }
main { max-width: 1400px; margin: 0 auto; padding: 1.5rem; }
h1 { font-size: 1.3rem; margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
section { margin-bottom: 1.5rem; }
.karte, .ablage, table, .felder, .original { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; }
.karte { padding: 1.5rem; }
.schmal { max-width: 28rem; margin: 3rem auto; }
.hinweis { color: var(--leise); margin: .3rem 0 1rem; }
.fehler { color: var(--rot-text); background: var(--rot); padding: .5rem .8rem; border-radius: 8px; }
.leise { color: var(--leise); }
label { display: block; font-size: .85rem; color: var(--leise); margin-bottom: .2rem; }
input[type=text], input[type=password], input[type=date] {
  width: 100%; padding: .5rem .6rem; border: 1px solid var(--linie); border-radius: 8px;
  background: var(--grund); color: var(--text); font: inherit;
}
input:focus-visible, button:focus-visible, .ablage:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }
button { font: inherit; padding: .55rem 1rem; border-radius: 8px; border: 1px solid var(--akzent); background: var(--akzent); color: var(--akzent-text); cursor: pointer; }
button.leise { background: transparent; color: var(--text); border-color: var(--linie); }
.karte form { display: grid; gap: .6rem; }
.ablage { border-style: dashed; border-width: 2px; padding: 2rem; text-align: center; transition: background .15s, border-color .15s; }
.ablage.bereit { background: var(--gruen); border-color: var(--akzent); }
.gross { font-size: 1.3rem; font-weight: 600; margin: 0; }
.fortschritt { list-style: none; padding: 0; margin: .5rem auto 0; max-width: 40rem; text-align: left; }
.fortschritt li { padding: .25rem .6rem; border-radius: 6px; margin-top: .25rem; }
table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; }
th, td { text-align: left; padding: .6rem .9rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
th { font-size: .8rem; color: var(--leise); font-weight: 600; }
tbody tr:last-child td { border-bottom: none; }
.rechts { text-align: right; white-space: nowrap; }
.einzug { color: var(--leise); }
.marke-gelb, .marke-gruen, .marke-rot { font-size: .78rem; font-weight: 600; padding: .1rem .55rem; border-radius: 999px; }
.marke-gelb { background: var(--gelb); color: var(--gelb-text); }
.marke-gruen { background: var(--gruen); color: var(--gruen-text); }
.marke-rot { background: var(--rot); color: var(--rot-text); }
.zweispaltig { display: grid; grid-template-columns: minmax(0, 3fr) minmax(22rem, 2fr); gap: 1.5rem; align-items: start; }
.original { overflow: hidden; position: sticky; top: 1rem; }
.original iframe { width: 100%; height: calc(100vh - 8rem); border: 0; display: block; background: #fff; }
.rohtext { margin: 0; padding: 1rem; white-space: pre-wrap; max-height: calc(100vh - 8rem); overflow: auto; font: .85rem/1.5 ui-monospace, Menlo, monospace; }
.felder { padding: 1.2rem; }
.feld { margin-bottom: .8rem; }
.feld.haken { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.feld.haken label { display: flex; align-items: center; gap: .4rem; color: var(--text); font-size: .95rem; }
.herkunft { font-size: .78rem; margin: .2rem 0 0; padding-left: .6rem; border-left: 3px solid var(--linie); color: var(--leise); }
.herkunft.sicher { border-left-color: var(--akzent); }
.herkunft.mittel { border-left-color: var(--gelb-text); }
.herkunft.unsicher { border-left-color: var(--rot-text); }
.herkunft.leer { font-style: italic; }
.knoepfe { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; margin-top: 1rem; }
@media (max-width: 900px) {
  .zweispaltig { grid-template-columns: 1fr; }
  .original { position: static; }
  .original iframe { height: 60vh; }
}
label.verweis { display: inline; font-size: inherit; color: var(--akzent); margin: 0; }
select, textarea { width: 100%; padding: .5rem .6rem; border: 1px solid var(--linie); border-radius: 8px; background: var(--grund); color: var(--text); font: inherit; }
.zeile { display: flex; gap: 1rem; align-items: end; flex-wrap: wrap; margin-bottom: 1rem; }
.zeile label { margin: 0; }
.zeile input[type=date] { width: auto; }
.haken-zeile { display: flex; align-items: center; gap: .4rem; color: var(--text); padding-bottom: .5rem; }
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .8rem; align-items: end; }
.raster .breit { grid-column: span 2; }
details.karte summary { cursor: pointer; font-weight: 600; }
details.karte[open] summary { margin-bottom: 1rem; }
.kennzahl { font-size: 1.6rem; font-weight: 700; }
.bald { color: var(--rot-text); font-weight: 600; }
td small { color: var(--leise); display: block; }
button.klein { padding: .2rem .6rem; font-size: .85rem; }
.schmal-wahl { width: auto; padding: .2rem .4rem; font-size: .9rem; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.kachel { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; padding: 1rem 1.2rem; }
.kachel .leise { font-size: .85rem; display: block; }
.kachel a { display: inline-block; margin-top: .3rem; font-size: .9rem; }
h2 { font-size: 1.05rem; margin: 0 0 .6rem; }
.zwei { display: grid; grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr)); gap: 1.5rem; }
.herkunft.abweichend { color: var(--text); }
button.klein { font-size: .75rem; padding: .1rem .5rem; margin-left: .4rem; background: transparent; color: var(--text); border: 1px solid var(--linie); border-radius: 6px; cursor: pointer; }
input.uebernommen { outline: 2px solid var(--gelb-text); }
.vorschlaege { margin: .4rem 0 .8rem; }
tr.bearbeiten td { border-top: 0; padding-top: 0; }
tr.bearbeiten summary { cursor: pointer; color: var(--leise); font-size: .8rem; }
tr.bearbeiten form { margin-top: .6rem; }
#vertragsname { max-width: 22rem; margin: .2rem .4rem .2rem 0; }
.vorschlag-vertrag p { margin: 0 0 .3rem; }
.vorschlag-vertrag dl { display: grid; grid-template-columns: max-content 1fr; gap: .1rem .8rem; margin: .3rem 0 .5rem; }
.vorschlag-vertrag dt { color: var(--leise); }
.vorschlag-vertrag dd { margin: 0; }
textarea { width: 100%; font: inherit; }
table.sammel { width: 100%; font-size: .85rem; margin: .3rem 0; }
table.sammel td, table.sammel th { padding: .25rem .4rem; vertical-align: top; }
button[aria-busy="true"] { opacity: .75; cursor: progress; }
button[aria-busy="true"]::before { content: ""; display: inline-block; width: .8em; height: .8em; margin-right: .45em; vertical-align: -.1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: dreht 0.8s linear infinite; }
@keyframes dreht { to { transform: rotate(360deg); } }

/* --- Umbau nach UI-Review (14.11.2026) ------------------------------------------------------ */
small { display: block; color: var(--leise); font-size: .82rem; }
.klein { font-size: .82rem; }
h2 { font-size: 1rem; margin: 1.2rem 0 .6rem; display: flex; align-items: center; gap: .5rem; }
a.knopf { display: inline-block; padding: .55rem 1rem; border-radius: 8px; background: var(--akzent); color: var(--akzent-text); font-weight: 600; }
a.knopf:hover { text-decoration: none; filter: brightness(1.05); }
.listenkopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .8rem; }
.reiter { display: flex; gap: .3rem; flex-wrap: wrap; }
.reiter a { padding: .35rem .8rem; border-radius: 999px; color: var(--leise); border: 1px solid transparent; }
.reiter a.aktiv { color: var(--text); background: var(--flaeche); border-color: var(--linie); }
.reiter a span { font-size: .8rem; margin-left: .25rem; }
table.liste td { vertical-align: middle; }
table.liste .haupt { font-weight: 600; color: var(--text); }
tr.klickbar { cursor: pointer; }
tr.klickbar:hover td { background: color-mix(in srgb, var(--akzent) 7%, transparent); }
.leerstand { padding: 2rem; text-align: center; }
details.export { margin-top: 1rem; padding: 1rem 1.5rem; }
details.export summary, details.alle-angaben > summary, details.mehr > summary { cursor: pointer; font-weight: 600; }
.zeile { display: flex; gap: 1rem; align-items: end; flex-wrap: wrap; }
.zeile label { margin: 0; }
.haken-zeile { display: flex; align-items: center; gap: .4rem; }
.schmal-wahl { font: inherit; padding: .25rem .4rem; border-radius: 6px; border: 1px solid var(--linie); background: var(--grund); color: var(--text); }
select { font: inherit; width: 100%; padding: .5rem .6rem; border: 1px solid var(--linie); border-radius: 8px; background: var(--grund); color: var(--text); }
select.schmal-wahl { width: auto; }

/* Ablegen überall */
.abwurf { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; background: color-mix(in srgb, var(--akzent) 22%, transparent); border: 4px dashed var(--akzent); pointer-events: none; }
.abwurf[hidden] { display: none; }
.abwurf p { background: var(--flaeche); padding: 1rem 1.6rem; border-radius: 12px; font-size: 1.2rem; font-weight: 600; }
.fortschritt.schwebend { position: fixed; right: 1rem; bottom: 1rem; z-index: 30; width: min(30rem, calc(100vw - 2rem)); margin: 0; }
.fortschritt.schwebend li { background: var(--flaeche); border: 1px solid var(--linie); padding: .5rem .8rem; }
.fortschritt li.laeuft::before { content: ""; display: inline-block; width: .8em; height: .8em; margin-right: .5em; vertical-align: -.1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: dreht .8s linear infinite; }
.fortschritt li.fertig { border-left: 4px solid var(--akzent); }

/* Prüfseite: erst das Ergebnis, dann nur das Nötige */
.felder { padding: 0; display: flex; flex-direction: column; }
.felder > header, .felder > form, .felder > .fehler { margin-left: 1.2rem; margin-right: 1.2rem; }
.beleg-kopf { padding-top: 1.1rem; }
.beleg-kopf h1 { font-size: 1.45rem; margin: .15rem 0 .1rem; justify-content: space-between; }
.beleg-kopf .betrag { font-variant-numeric: tabular-nums; white-space: nowrap; }
.beleg-kopf p { margin: 0; }
.zusammenfassung { color: var(--leise); }
.alles-gut { margin: 1rem 0; padding: .7rem .9rem; border-radius: 8px; background: var(--gruen); color: var(--gruen-text); }
.feld.achtung { padding: .6rem .8rem; border-radius: 10px; border: 1px solid var(--linie); border-left: 4px solid var(--gelb-text); }
.feld.achtung.fehlt { border-left-color: var(--rot-text); }
.herkunft, .herkunft.sicher, .herkunft.mittel, .herkunft.unsicher { border-left-color: var(--linie); }
details.alle-angaben { margin: 1rem 0; border-top: 1px solid var(--linie); padding-top: .8rem; }
details.alle-angaben > summary { margin-bottom: .8rem; }
details.woher > summary { cursor: pointer; font-size: .78rem; color: var(--leise); margin-top: .15rem; }
.aktionen { position: sticky; bottom: 0; margin: 0 -1.2rem; padding: .7rem 1.2rem .8rem; background: var(--flaeche); border-top: 1px solid var(--linie); border-radius: 0 0 12px 12px; z-index: 5; }
.aktionen .knoepfe { margin-top: 0; }
.aktionen p { margin: .4rem 0 0; }
.aktionen button[type=submit] { font-weight: 600; padding: .65rem 1.2rem; }
details.mehr { margin-left: auto; position: relative; }
details.mehr > summary { list-style: none; padding: .45rem .8rem; border: 1px solid var(--linie); border-radius: 8px; font-weight: 400; }
details.mehr > summary::-webkit-details-marker { display: none; }
.mehr-inhalt { position: absolute; right: 0; bottom: calc(100% + .4rem); width: 19rem; display: grid; gap: .5rem; padding: .8rem; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px; }
.mehr-inhalt span { font-size: .8rem; }
@media (max-width: 900px) { .aktionen { position: static; } }
a.sortierbar { color: inherit; }
a.sortierbar:hover { color: var(--text); text-decoration: none; }
th[aria-sort] a.sortierbar { color: var(--text); }
.suche { flex: 1; min-width: 14rem; max-width: 28rem; margin: 0; }
.suche input { width: 100%; padding: .45rem .7rem; border: 1px solid var(--linie); border-radius: 999px; background: var(--flaeche); color: var(--text); font: inherit; }
.plus { color: var(--plus); } .minus { color: var(--minus); }
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .7rem 1rem; }
.raster .breit { grid-column: 1 / -1; }
details.karte { margin-bottom: 1rem; padding: 1rem 1.5rem; }
details.karte > summary { cursor: pointer; font-weight: 600; }
details.karte[open] > summary { margin-bottom: .8rem; }
.karte + .karte { margin-top: 1rem; }
.karte h2 { margin-top: 0; }
code { font: .9em ui-monospace, Menlo, monospace; background: var(--grund); padding: .15rem .4rem; border-radius: 5px; overflow-wrap: anywhere; }
.termine { list-style: none; padding: 0; margin: 0 0 .5rem; }
.termine li { padding: .25rem 0; border-bottom: 1px solid var(--linie); }
.aufteilung > div { display: grid; gap: .35rem; margin: .5rem 0 1rem; }
.aufteilung input { width: 4.5rem; }

/* Anmeldung über Apple und Google */
a.knopf.leise { background: transparent; color: var(--text); border: 1px solid var(--linie); margin-right: .5rem; }
a.knopf.klein { padding: .2rem .6rem; font-size: .82rem; font-weight: 500; }

/* --- Grundlage (W1, 19.11.2026): Schriftstufen 34/24/17/14, nichts unter 13; Radien Karte 12, Knopf und Feld 10,
   Marke 6; Feldrand 1,5; keine Schatten. Überschreibt Einzelwerte weiter oben. ------------------------------- */
h1 { font-size: 2.125rem; font-weight: 600; letter-spacing: -.01em; }
.beleg-kopf h1 { font-size: 1.5rem; }
h2 { font-size: 1.0625rem; font-weight: 600; }
.gross, .abwurf p { font-size: 1.5rem; }
.kennzahl { font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; }
label, th, .abmelden { font-size: .875rem; }
small, td small, .klein, .herkunft, .mehr-inhalt span, details.woher > summary, tr.bearbeiten summary,
table.sammel, .reiter a span, .kachel .leise, .kachel a { font-size: .8125rem; }
.zahl, .marke-gelb, .marke-gruen, .marke-rot { font-size: .875rem; font-weight: 500; border-radius: 6px; }
.rechts, .betrag, td.rechts { font-variant-numeric: tabular-nums; }
input[type=text], input[type=password], input[type=date], input[type=email], input[type=search], select, textarea, .schmal-wahl {
  border: 1.5px solid var(--feldrand); border-radius: 10px; background: var(--flaeche);
}
.suche input { border: 1.5px solid var(--feldrand); border-radius: 10px; }
button, a.knopf, details.mehr > summary { border-radius: 10px; }
button[type=button], button.leise, button.klein, a.knopf.leise {
  background: transparent; color: var(--text); border: 1.5px solid var(--feldrand);
}
button.klein, a.knopf.klein { font-size: .875rem; padding: .25rem .7rem; border-radius: 10px; }
.reiter a { border-radius: 10px; }
.reiter a.aktiv { background: var(--flaeche2); border-color: transparent; }
.fehler, .alles-gut, code { border-radius: 10px; }
.marke { font-weight: 600; }
@media (pointer: coarse) {
  button, a.knopf, select, input[type=text], input[type=password], input[type=date], input[type=email], .reiter a { min-height: 44px; }
}
input, select, textarea, .suche input { font-size: 1.0625rem; }
.karte form > button, .karte form > .knoepfe, .karte .zeile > button { justify-self: start; }

/* Liste offener Punkte (W4) */
.punkte { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.punkt { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; padding: 16px; }
.punkt-text p { margin: 0; }
.punkt-titel { font-weight: 600; }
.punkt-stand { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.punkt-handlung { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.punkt .betrag { font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 40rem) { .punkt { grid-template-columns: 1fr; } .punkt-stand { align-items: flex-start; text-align: left; } }

/* Zeilen eines Belegs (W2a) */
.zeilen { margin: 16px 0; }
.zeilen-tabelle { width: 100%; }
.zeilen-tabelle input { width: 100%; }
.zeilen-tabelle td.rechts input { text-align: right; font-variant-numeric: tabular-nums; min-width: 5rem; max-width: 6.5rem; }
.zeilen-tabelle select { width: 100%; min-width: 8.5rem; }
.zeilen-tabelle td:last-child { width: 1%; }
.zeilen-tabelle tr.unsicher td { background: var(--gelb, transparent); }
.zeile-neu { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.zeile-neu input { flex: 1 1 10rem; }

/* Wechsel zwischen Gewerbe und Verein (W2b) */
.kopf .wechsel { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.kopf .wechsel select { min-height: 36px; }
.mandanten { list-style: none; padding: 0; margin: 0 0 8px; }

/* Verträge als Karten (W3a, A-ABL-037) */
.vertraege { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.vertraege .karte + .karte { margin-top: 0; }
.vertrag-kopf { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.vertrag-kopf small { display: block; }
.vertrag-kopf .rechts { text-align: right; }
.vertrag-name { font-weight: 600; margin: 0; }
.vertrag .betrag { font-weight: 500; font-variant-numeric: tabular-nums; }
.vertrag-aussage { margin: 12px 0; }
.vertrag-belege { list-style: none; padding: 0; margin: 8px 0; border-top: 1px solid var(--linie); }
.vertrag-belege li { display: flex; gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--linie); }
.vertrag-belege .betrag { margin-left: auto; }
.vertrag details.bearbeiten { margin-top: 8px; }
.vorschlag-felder { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 8px 0; }
.vorschlag-felder label { flex: 1 1 9rem; margin: 0; }

/* Vertrag aus dem Dokument, Verteilung auf Verträge (W3b) */
.verteilung-tabelle { width: 100%; margin: 8px 0; }
.verteilung-tabelle select { width: 100%; }
.verteilung-tabelle td.rechts input { text-align: right; font-variant-numeric: tabular-nums; max-width: 7rem; }
.verteilung-tabelle td:last-child { width: 1%; }
.felder .feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .felder .feld-paar { grid-template-columns: 1fr; } }
.felder h2 { margin-top: 1.5rem; }
.aktionen button.haupt-knopf { background: var(--akzent); color: var(--akzent-text); border-color: var(--akzent); font-weight: 600; padding: .65rem 1.2rem; }

/* Vertragsart und Eckdaten (W3c) */
.kosten-je-bereich { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--leise); }
.kosten-je-bereich .betrag { color: var(--text); font-variant-numeric: tabular-nums; }
.art-marke { font-weight: 500; font-size: .8rem; padding: .1rem .5rem; border-radius: 999px; background: var(--flaeche2); color: var(--leise); vertical-align: middle; white-space: nowrap; }
.vertrag-name .art-marke, .vz-name .art-marke { margin-left: .4rem; }
.eckdaten { display: grid; grid-template-columns: max-content 1fr; gap: 2px 12px; margin: 8px 0; font-size: .9rem; }
.eckdaten dt { color: var(--leise); }
.eckdaten dd { margin: 0; }
.vorschlag-felder select { width: 100%; }
.felder > .pruef-inhalt { margin: 0 1.2rem; }

/* Verträge als kompakte Zeilen (E-ABL-084) */
.vertraege.kompakt { list-style: none; padding: 0; margin: 0; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; overflow: hidden; }
.vertrag-zeile + .vertrag-zeile { border-top: 1px solid var(--linie); }
.vertrag-zeile > details > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto 7.5rem; gap: 4px 16px; align-items: center; padding: .65rem 1rem; }
.vertrag-zeile > details > summary::-webkit-details-marker { display: none; }
.vertrag-zeile > details[open] > summary { background-color: var(--flaeche2); }
.vertrag-zeile > details > summary:hover { background-color: var(--flaeche2); }
.vz-name { font-weight: 600; min-width: 0; }
.vz-name small { display: block; font-weight: 400; font-size: .8rem; }
.vz-frist { font-size: .9rem; color: var(--leise); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.vz-frist .bald { color: var(--rot-text); font-weight: 600; }
.vz-kosten { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vz-kosten small { font-size: .75rem; }
.vz-inhalt { padding: .3rem 1rem 1rem; }
.vz-inhalt .vertrag-aussage { margin: .5rem 0; }
@media (max-width: 640px) {
  .vertrag-zeile > details > summary { grid-template-columns: minmax(0, 1fr) auto; }
  .vz-frist { grid-column: 1 / -1; justify-content: flex-start; order: 3; }
}

/* Sternenstaub, solange die KI arbeitet (E-ABL-084): Punkte in fünf Lagen mit ungeraden Maßen, damit kein Raster
   sichtbar wird; in Tabellenzeilen am Fenster ausgerichtet, damit die Zellen nahtlos ineinander übergehen. */
@keyframes sternenstaub-zieht {
  from { background-position: 0 0, 17px 31px, 43px 7px, 61px 53px, 29px 71px, 0 0; }
  to { background-position: 61px -97px, 123px -149px, 201px -173px, 89px -211px, 151px -131px, 0 0; }
}
@keyframes sternenstaub-glimmt {
  from { box-shadow: 0 0 0 1px rgba(94, 224, 168, .35), 0 0 10px rgba(94, 224, 168, .15); }
  to { box-shadow: 0 0 0 1px rgba(255, 209, 102, .55), 0 0 22px rgba(255, 209, 102, .30); }
}
.sternenstaub, tr.sternenstaub > td {
  background-image:
    radial-gradient(circle, rgba(255, 209, 102, .95) 0 1.4px, transparent 2px),
    radial-gradient(circle, rgba(94, 224, 168, .8) 0 .9px, transparent 1.5px),
    radial-gradient(circle, rgba(127, 178, 255, .8) 0 1.1px, transparent 1.7px),
    radial-gradient(circle, rgba(255, 255, 255, .7) 0 .7px, transparent 1.2px),
    radial-gradient(circle, rgba(255, 209, 102, .6) 0 .8px, transparent 1.4px),
    linear-gradient(120deg, rgba(255, 209, 102, .06), rgba(94, 224, 168, .08), rgba(127, 178, 255, .06)) !important;
  background-size: 113px 97px, 59px 83px, 89px 53px, 37px 61px, 151px 131px, 100% 100% !important;
  animation: sternenstaub-zieht 4.5s linear infinite;
}
tr.sternenstaub > td { background-attachment: fixed; }
.sternenstaub:not(tr) { animation: sternenstaub-zieht 4.5s linear infinite, sternenstaub-glimmt 1.4s ease-in-out infinite alternate; border-radius: 10px; }
@media (prefers-reduced-motion: reduce) {
  .sternenstaub, tr.sternenstaub > td { animation: none; }
  .sternenstaub:not(tr) { animation: sternenstaub-glimmt 2.4s ease-in-out infinite alternate; }
}
.marke-gelb, .marke-gruen, .marke-rot { white-space: nowrap; }
button.ki[aria-busy="true"]::before { display: none; }

/* E-Rechnung als lesbares Rechnungsbild (W5a) */
.rechnungsbild { padding: 1.2rem 1.4rem; background: var(--flaeche); max-height: calc(100vh - 8rem); overflow: auto; }
.rb-kopf { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: .6rem 0 1rem; }
.rb-kopf strong, .rb-kopf small { display: block; }
.rb-angaben, .rb-summen { display: grid; grid-template-columns: max-content 1fr; gap: 3px 16px; margin: 0 0 1rem; }
.rb-angaben dt, .rb-summen dt { color: var(--leise); }
.rb-angaben dd, .rb-summen dd { margin: 0; }
.rb-summen { justify-content: end; text-align: right; border-top: 1px solid var(--linie); padding-top: .6rem; }
.rb-summen dd { font-variant-numeric: tabular-nums; }
.rb-positionen { width: 100%; margin-bottom: 1rem; }
.rb-positionen td.rechts, .rb-positionen th.rechts { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fehlertext { color: var(--rot-text); display: block; }

/* Fotos und Scans: auf Spaltenbreite eingepasst, Klick öffnet die volle Größe (W5a) */
.original-bildrahmen { display: block; height: calc(100vh - 8rem); overflow: auto; background: #fff; cursor: zoom-in; }
.original-bildrahmen img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .original-bildrahmen { height: auto; max-height: 70vh; } }

/* Rechnung: Positionen (W6a) */
.positionen { width: 100%; }
.positionen td { padding: .3rem .4rem; vertical-align: middle; }
.positionen td:first-child { width: 44%; }
.positionen input, .positionen select { width: 100%; margin: 0; }
.rechnungsformular .karte { margin-bottom: 1rem; }


/* Durchsicht W6–W8 (23.11.2026) */
/* „hidden“ gilt auch für Elemente mit eigener display-Regel (label ist block) */
[hidden] { display: none !important; }
/* Kopfzeile aus Überschrift und Knöpfen: auf einer Linie */
.zeile > h1 { margin-bottom: 0; align-self: center; }
/* Positionen der Rechnung im schmalen Fenster: je Position ein Block statt Tabellenzeile */
@media (max-width: 640px) {
  .positionen thead { display: none; }
  .positionen, .positionen tbody { display: block; }
  .positionen tr { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; padding: .5rem 0;
                   border-bottom: 1px solid var(--linie); }
  .positionen td { display: block; padding: 0; width: auto !important; }
  .positionen td:first-child { grid-column: 1 / -1; }
  .positionen td[data-p-betrag], .positionen td:last-child { align-self: center; text-align: right; }
}

/* --- UX1 (E-ABL-098, Review 23.11.2026): Grundlage glattziehen ---------------------------------------------
   Felder 17 px auch in Beschriftungen (vorher erbten sie dort 14 px; unter 16 px zoomt Safari beim Antippen),
   Marken nicht unter 14, Zusätze nicht unter 13 (A-SYS-053); Fokus für alles Bedienbare; Lesebreite. */
input[type=text], input[type=password], input[type=date], input[type=email], input[type=search], input[type=number],
input:not([type]), select, textarea, .schmal-wahl, .suche input { font-size: 1.0625rem; }
.art-marke { font-size: .875rem; }
.vz-name small, .vz-kosten small, table.sammel { font-size: .8125rem; }
select:focus-visible, textarea:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--akzent); outline-offset: 2px; border-radius: 6px;
}
main { max-width: 1100px; }
main:has(> .zweispaltig) { max-width: 1400px; }

/* --- UX4 (E-ABL-098): Prüfen – Zeilen lesbar, „Gehört zu“ als Chips, Rückmeldung nach dem Bestätigen ------------ */
.zeilen-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.zeile-karte { border: 1px solid var(--linie); border-radius: 12px; padding: 12px; display: grid; gap: 6px 8px; background: var(--flaeche);
  grid-template-columns: 1fr 5rem 2.5rem; grid-template-areas: "bez bez weg" "info betrag betrag" "chips chips chips"; align-items: start; }
.zeile-karte .zeile-oben { display: contents; }
.zeile-oben > input { grid-area: bez; }
.zeile-karte .zeile-betrag { grid-area: betrag; }
.zeile-karte .zeile-weg { grid-area: weg; margin: 4px 0 0; padding: .25rem 0; width: 100%; }
.zeile-karte .zeile-unten { grid-area: info; padding-top: 6px; }
.zeile-karte fieldset.chips { grid-area: chips; }
.zeile-karte.unsicher { border-color: var(--gelb-text); }
.zeile-oben > input { width: 100%; }
.zeile-betrag { display: grid; gap: 2px; text-align: right; }
.zeile-betrag input { width: 100%; text-align: right; font-variant-numeric: tabular-nums; }
.zeile-unten { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.zeile-unten:empty { visibility: hidden; }
.zeilen-rest { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.zeilen-rest p { margin: 0; }
fieldset.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 0; }
fieldset.chips legend { float: left; margin-right: 4px; padding: 0; }
.chip { display: inline-flex; margin: 0; font-size: .875rem; color: var(--text); cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 4px 12px; min-height: 32px; line-height: 22px; border: 1.5px solid var(--feldrand); border-radius: 999px; }
.chip input:checked + span { background: var(--akzent); border-color: var(--akzent); color: var(--akzent-text); font-weight: 500; }
.chip input:focus-visible + span { outline: 2px solid var(--akzent); outline-offset: 2px; }
fieldset.chips:disabled .chip { cursor: default; opacity: .7; }
@media (pointer: coarse) { .chip span { min-height: 44px; line-height: 34px; } }
.bezahlt-von { margin: .2rem 0 0; }

/* Rückmeldung „abgelegt“ (unten mittig, verschwindet nach 7 s) */
.abgelegt { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; display: flex; gap: 16px; align-items: center;
  background: var(--text); color: var(--grund); padding: 12px 16px; border-radius: 12px; max-width: calc(100vw - 32px);
  animation: abgelegt-rein .25s ease-out; transition: opacity .5s, transform .5s; font-weight: 500; }
.abgelegt small { color: inherit; opacity: .8; font-weight: 400; }
.abgelegt button.klein { color: var(--grund); border-color: currentColor; margin: 0; }
.abgelegt.weg { opacity: 0; transform: translate(-50%, 12px); }
@keyframes abgelegt-rein { from { opacity: 0; transform: translate(-50%, 12px); } }
.haken { display: inline-block; width: 1.1em; height: 1.1em; margin-right: .45em; vertical-align: -.2em; border-radius: 50%; background: var(--akzent); position: relative; }
.haken::after { content: ""; position: absolute; left: 34%; top: 18%; width: 26%; height: 48%; border: solid var(--akzent-text); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.haken.gross { width: 56px; height: 56px; margin: 0 0 12px; display: block; }
.haken.gross::after { border-width: 0 5px 5px 0; }
.fertig { text-align: center; }
.fertig .haken.gross { margin: 0 auto 12px; }
.fertig .knoepfe { justify-content: center; }
.fertig:not(.geschafft) .haken.gross { background: var(--flaeche2); }
.fertig:not(.geschafft) .haken.gross::after { border-color: var(--leise); }
.fertig.geschafft .haken.gross { animation: haken-ploppt .45s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes haken-ploppt { from { transform: scale(.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .abgelegt, .fertig.geschafft .haken.gross { animation: none; } .abgelegt { transition: none; } }
.fertig h1 { justify-content: center; }

/* --- UX3 (E-ABL-098): „Offen“ mit Lage, Gruppen nach Dringlichkeit, Einrichtungsliste ------------------------ */
.lage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 24px; }
.lage-zahl { display: grid; gap: 2px; padding: 16px; border: 1px solid var(--linie); border-radius: 12px; background: var(--flaeche);
  color: var(--leise); text-decoration: none; transition: border-color .15s; }
.lage-zahl:hover { border-color: var(--feldrand); }
.lage-zahl .kennzahl { color: var(--text); font-size: 1.5rem; line-height: 1.2; }
.lage-zahl.wichtig { border-color: var(--akzent); }
.lage-zahl.wichtig .kennzahl { color: var(--akzent); }
@media (max-width: 640px) { .lage { grid-template-columns: 1fr 1fr; } .lage-zahl:last-child { grid-column: 1 / -1; } .lage-zahl .kennzahl { font-size: 1.25rem; } }
.punkt-gruppe { margin: 0 0 24px; scroll-margin-top: 16px; }
.punkt-gruppe > h2 { margin: 0 0 8px; }
.einrichtung { margin: 0 0 24px; }
.schritte { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.schritte li { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; align-items: baseline; }
.schritte li small { grid-column: 2; }
.schritte li.erledigt a { color: var(--leise); text-decoration: line-through; }
.schritte .haken { margin: 0; align-self: center; }
.haken.leer { background: transparent; border: 1.5px solid var(--feldrand); }
.haken.leer::after { display: none; }
.alles-erledigt { text-align: center; }
.alles-erledigt .haken.gross { margin: 0 auto 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vz-frist .naeher { color: var(--gelb-text); font-weight: 500; }

/* --- UX2 (E-ABL-098): Kopf mit fünf Reitern und Kontomenü; schmal: Reiterleiste unten wie in iOS ---------------- */
.kopf { gap: 24px; padding: 0 24px; min-height: 60px; flex-wrap: nowrap; }
.kopf .marke { flex: none; }
.hauptreiter { display: flex; gap: 4px; flex: 1; align-self: stretch; flex-wrap: nowrap; }
.hauptreiter a { display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--leise); border-bottom: 2px solid transparent;
  text-decoration: none; white-space: nowrap; }
.hauptreiter a:hover { color: var(--text); text-decoration: none; }
.hauptreiter a.aktiv { color: var(--text); border-bottom-color: var(--akzent); font-weight: 500; }
.hauptreiter svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hauptreiter a.aktiv svg { stroke: var(--akzent); }
.hauptreiter .zahl { margin-left: -2px; }
.konto-menue { position: relative; flex: none; }
.konto-menue > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 6px 12px; min-height: 40px;
  border: 1.5px solid var(--feldrand); border-radius: 10px; max-width: 16rem; }
.konto-menue > summary::-webkit-details-marker { display: none; }
.konto-menue > summary::after { content: ""; width: 7px; height: 7px; border: solid var(--leise); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); flex: none; }
.konto-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.konto-liste { position: absolute; right: 0; top: calc(100% + 8px); min-width: 16rem; max-width: 90vw; display: grid; gap: 4px; padding: 12px;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; z-index: 40; }
.konto-liste p { margin: 0 4px 4px; }
.konto-liste > a, .konto-liste form > button, .wechsel-liste button { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%;
  padding: 8px 10px; border-radius: 8px; border: 0; background: transparent; color: var(--text); text-align: left; font: inherit; margin: 0; }
.konto-liste > a:hover, .konto-liste form > button:hover, .wechsel-liste button:hover { background: var(--flaeche2); text-decoration: none; }
.wechsel-liste { display: grid; gap: 2px; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--linie); }
.wechsel-liste button.gewaehlt { background: var(--flaeche2); font-weight: 500; }
.wechsel-liste button.gewaehlt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--akzent); order: 2; }
.wechsel-liste small { margin-left: auto; }
.unterreiter { display: flex; gap: 6px; flex-wrap: wrap; margin: -8px 0 20px; }
.unterreiter a { padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--linie); color: var(--leise); text-decoration: none; }
.unterreiter a:hover { color: var(--text); border-color: var(--feldrand); text-decoration: none; }
.unterreiter a.aktiv { background: var(--flaeche2); border-color: transparent; color: var(--text); font-weight: 500; }
/* mittlere Breite: nur Zeichen und kurze Namen */
@media (max-width: 1100px) { .hauptreiter a { padding: 0 8px; } .kopf { gap: 12px; } }
@media (max-width: 960px) and (min-width: 701px) { .hauptreiter svg { display: none; } }
/* schmal: Reiterleiste unten, Kopf eine Zeile */
@media (max-width: 700px) {
  .kopf { padding: 0 16px; min-height: 52px; }
  .kopf nav.hauptreiter { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; order: 0; flex-basis: auto; flex-wrap: nowrap;
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; background: var(--flaeche); border-top: 1px solid var(--linie);
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); }
  .hauptreiter a { flex-direction: column; gap: 2px; padding: 6px 0; font-size: .75rem; border-bottom: 0; position: relative; min-height: 48px; justify-content: center; }
  .hauptreiter a.aktiv { color: var(--akzent); }
  .hauptreiter svg { width: 24px; height: 24px; }
  .hauptreiter .zahl { position: absolute; top: 2px; left: 55%; font-size: .75rem; padding: 0 .35rem; line-height: 1.3; }
  .konto-menue { margin-left: auto; }
  .konto-menue > summary { max-width: 60vw; }
  main { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .abgelegt { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .aktionen { bottom: calc(57px + env(safe-area-inset-bottom)); }
}

/* --- UX5 (E-ABL-098): Rechnungen – Lage, Filter, Kundenkarte, große Summe, feste Leiste ------------------------- */
button.haupt, button[type=button].haupt { background: var(--akzent); color: var(--akzent-text); border-color: var(--akzent); font-weight: 600; }
.lage-zahl .kennzahl.rot { color: var(--rot-text); }
div.lage-zahl { cursor: default; }
.chips.filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.chip-knopf { background: transparent; color: var(--leise); border: 1.5px solid var(--linie); border-radius: 999px; padding: 4px 14px; font-size: .9375rem; }
button[type=button].chip-knopf { border-color: var(--linie); color: var(--leise); }
button[type=button].chip-knopf.gewaehlt { background: var(--flaeche2); border-color: transparent; color: var(--text); font-weight: 500; }
.rechnungsliste tbody tr { cursor: pointer; }
.rechnungsliste tbody tr:hover td { background: var(--flaeche2); }
.summenblock { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin: 12px 0; text-align: right; }
.summenblock .gesamt { font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.summenblock .leise { font-variant-numeric: tabular-nums; }
.kunde-karte { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 12px 16px; margin: 4px 0 8px;
  border: 1px solid var(--linie); border-radius: 12px; background: var(--grund); }
.kunde-karte address { font-style: normal; line-height: 1.5; }
.rechnung-leiste { position: sticky; bottom: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 16px -4px 0; padding: 12px 16px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; }
.leiste-knoepfe { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mehr-menue { position: relative; }
.mehr-menue > summary { list-style: none; cursor: pointer; padding: .4rem .8rem; border: 1.5px solid var(--feldrand); border-radius: 10px; line-height: 1.2; }
.mehr-menue > summary::-webkit-details-marker { display: none; }
.mehr-menue > div { position: absolute; right: 0; bottom: calc(100% + 6px); background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; padding: 8px; z-index: 20; white-space: nowrap; }
.mehr-menue > div button { color: var(--rot-text); }
@media (max-width: 700px) {
  .rechnung-leiste { bottom: calc(57px + env(safe-area-inset-bottom)); }
  .rechnungsliste thead { display: none; }
  .rechnungsliste, .rechnungsliste tbody { display: block; }
  .rechnungsliste tr { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "kunde betrag" "num stand" "dat stand";
    gap: 2px 12px; padding: 12px 16px; border-bottom: 1px solid var(--linie); }
  .rechnungsliste tr[hidden] { display: none; }
  .rechnungsliste td { padding: 0; border: 0; }
  .rechnungsliste td:nth-child(1) { grid-area: num; font-size: .875rem; }
  .rechnungsliste td:nth-child(2) { grid-area: dat; font-size: .875rem; color: var(--leise); }
  .rechnungsliste td:nth-child(3) { grid-area: kunde; font-weight: 500; }
  .rechnungsliste td:nth-child(4) { grid-area: betrag; }
  .rechnungsliste td:nth-child(5) { grid-area: stand; text-align: right; align-self: center; }
}
.kunde-karte:not([hidden]) ~ p.hinweis { display: none; }

/* --- UX6 (E-ABL-098): Einstellungen mit Sprungleiste; Leerzustände ------------------------------------------- */
.einstellungen { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 32px; align-items: start; }
.einstellungen-nav { position: sticky; top: 16px; display: grid; gap: 2px; }
.einstellungen-nav p { margin: 12px 8px 4px; }
.einstellungen-nav p:first-child { margin-top: 0; }
.einstellungen-nav a { padding: 6px 8px; border-radius: 8px; color: var(--leise); text-decoration: none; }
.einstellungen-nav a:hover { background: var(--flaeche2); color: var(--text); text-decoration: none; }
.einstellungen-inhalt { display: grid; gap: 16px; }
.einstellungen-inhalt > .karte { scroll-margin-top: 16px; margin: 0; }
.einstellungen-inhalt > h2.gruppe { margin: 16px 0 -4px; font-size: 1.0625rem; color: var(--leise); }
.einstellungen-inhalt > h2.gruppe:first-child { margin-top: 0; }
@media (max-width: 900px) {
  .einstellungen { grid-template-columns: 1fr; gap: 16px; }
  .einstellungen-nav { position: static; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
  .einstellungen-nav p { display: none; }
  .einstellungen-nav a { flex: none; border: 1.5px solid var(--linie); border-radius: 999px; padding: 4px 12px; }
}
.leer-bild { display: block; width: 88px; height: 88px; margin: 0 auto 8px; fill: none; stroke: var(--akzent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.leer-bild .fuell { fill: var(--flaeche2); stroke: none; }
.leerzustand { text-align: center; padding: 32px 16px; }
.leerzustand .knoepfe { justify-content: center; }
