/* Hausverwaltung – Gestaltung nach Mockup Variante A
   Große Schrift, große Knöpfe, Status immer mit Farbe + Symbol + Wort. */

:root {
  --grund: #EEF1F4;
  --karte: #FFFFFF;
  --tinte: #1B2430;
  --grau: #556070;
  --linie: #DDE3EA;
  --feld: #F2F5F8;
  --blau: #1D4F91;
  --blau-hell: #DDE6F2;
  --gruen: #1E6B3A;
  --gruen-hell: #E3F2E8;
  --gruen-rand: #8CC5A0;
  --orange: #A8430B;
  --orange-hell: #FDEBDD;
  --orange-rand: #E9A36F;
  --lila: #5E3A82;
  --lila-hell: #F1EBF7;
  --lila-rand: #C3AEDA;
  --frei: #4F5967;
  --frei-hell: #ECEEF1;
  --frei-rand: #B8C0CA;
  --wand: #3A4A5C;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.4;
}

a { color: var(--blau); }
h1 { margin: 0; font-size: 34px; line-height: 1.15; }
h2 { margin: 0; font-size: 24px; }
button, input, select, textarea { font: inherit; }

.seite { max-width: 1360px; margin: 0 auto; padding: 24px 24px 64px; display: flex; flex-direction: column; gap: 26px; }

/* Kopf: Zeile 1 Marke · Beleg · Person, Zeile 2 alle Bereiche */
.kopf { display: flex; flex-direction: column; gap: 10px; }
.kopf-zeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.kopf-aktionen { display: flex; align-items: center; gap: 10px; }
.marke { display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; }
.marke-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--blau); color: #fff; display: flex; align-items: center; justify-content: center; }
.marke-titel { font-size: 26px; font-weight: 700; display: block; }
.marke-sub { font-size: 16px; color: var(--grau); display: block; }
.nav { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; padding: 6px; border-radius: 16px; background: var(--karte); }
.nav a { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 10px; border-radius: 12px; font-size: 17px; color: var(--tinte); text-decoration: none; font-weight: 700; }
.nav a:hover { background: var(--grund); }
.nav a.aktiv { background: var(--blau-hell); color: var(--blau); }
.nav-trenner { align-self: stretch; width: 2px; margin: 8px 4px; background: var(--linie); }
@media (max-width: 1400px) { .nav a { font-size: 16px; padding: 0 7px; gap: 5px; } .nav a svg { width: 20px; height: 20px; } }
.nav .nur-mobil { display: none; }
.menue { position: relative; }
.menue summary { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border-radius: 12px; font-weight: 700; cursor: pointer; list-style: none; }
.menue summary::-webkit-details-marker { display: none; }
.menue summary::after { content: "▾"; }
.menue summary:hover, .menue[open] summary { background: var(--grund); }
.person-menue summary { padding: 0 14px 0 5px; border: 2px solid var(--linie); border-radius: 28px; background: var(--karte); }
.person-menue summary:hover, .person-menue[open] summary { background: var(--karte); border-color: var(--blau); }
.avatar-klein { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--blau-hell); color: var(--blau); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.menue-liste { position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; min-width: 260px; padding: 8px; border-radius: 16px; background: var(--karte); border: 2px solid var(--linie); display: flex; flex-direction: column; gap: 2px; }
.menue-liste a, .menue-liste button.link { display: flex; flex: none; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; min-height: 48px; padding: 0 12px; border-radius: 10px; border: 0; background: transparent; color: var(--tinte); text-decoration: none; font-weight: 700; cursor: pointer; }
.menue-liste a:hover, .menue-liste button.link:hover { background: var(--feld); }
.menue-kopf { display: flex; flex-direction: column; padding: 6px 12px 10px; margin-bottom: 4px; border-bottom: 2px solid var(--feld); }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 14px; border: 2px solid transparent; font-size: 18px; font-weight: 700; text-decoration: none; cursor: pointer; }
.knopf:hover { filter: brightness(1.08); }
.knopf:focus-visible, .etage:focus-visible, .kachel:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; }
.knopf-primaer { background: var(--blau); color: #fff; }
.knopf-sekundaer { background: var(--karte); color: var(--tinte); border-color: #C9D1DA; }
.knopf-warn { background: var(--orange); color: #fff; }
.knopf-klein { min-height: 44px; padding: 0 14px; font-size: 16px; border-radius: 12px; }
.zurueck { align-self: flex-start; }

/* Karten */
.karte { background: var(--karte); border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 18px; }
.karte-titel { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--grau); text-transform: uppercase; letter-spacing: .06em; }
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.raster-klein { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.leise { color: var(--grau); }
.klein { font-size: 16px; }

/* Status-Farben */
.st-bezahlt  { --bg: var(--gruen-hell);  --rand: var(--gruen-rand);  --chip: var(--gruen); }
.st-offen, .st-teilweise { --bg: var(--orange-hell); --rand: var(--orange-rand); --chip: var(--orange); }
.st-zukunft  { --bg: #FFFFFF; --rand: var(--frei-rand); --chip: var(--blau); }
.st-frei, .st-kein { --bg: var(--frei-hell); --rand: var(--frei-rand); --chip: var(--frei); }
.familie.st-bezahlt, .familie.st-zukunft { --bg: var(--lila-hell); --rand: var(--lila-rand); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 8px; border-radius: 999px; background: var(--chip); color: #fff; font-weight: 700; font-size: 16px; white-space: nowrap; }

/* Übersicht oben */
.ring-karte { flex-direction: row; align-items: center; gap: 20px; }
.hinweis { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 20px; background: var(--orange-hell); border: 2px solid var(--orange-rand); color: var(--tinte); text-decoration: none; }
.hinweis-blau { background: var(--blau-hell); border-color: #A9BEDC; }
.hinweis-icon { width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; }
.hinweis-blau .hinweis-icon { background: var(--blau); }
.hinweis-titel { font-size: 21px; font-weight: 700; display: block; }
.legende { justify-content: center; gap: 10px; }
.legende span { display: flex; align-items: center; gap: 10px; }
.punkt { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--chip); color: #fff; display: inline-flex; align-items: center; justify-content: center; }

/* Hauszeichnung */
.haus { display: flex; flex-direction: column; }
.haus-dach { display: block; width: 100%; height: auto; }
.haus-koerper { background: #fff; border: 3px solid var(--wand); border-top: 0; margin: 0 14px; padding: 18px 18px 0; display: flex; flex-direction: column; gap: 12px; }
.haus-schild { align-self: center; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 6px 14px 6px 20px; border-radius: 10px; background: var(--wand); color: #fff; font-weight: 700; font-size: 21px; text-decoration: none; }
.etage { min-height: 92px; padding: 12px 16px; border-radius: 14px; background: var(--bg); border: 2px solid var(--rand); display: flex; align-items: center; gap: 14px; color: var(--tinte); text-decoration: none; transition: transform .15s ease; }
.etage:hover { transform: translateY(-3px); }
.etage-nr { width: 50px; height: 50px; flex-shrink: 0; border-radius: 50%; background: #fff; border: 2px solid var(--rand); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; }
.etage-text { display: flex; flex-direction: column; flex-grow: 1; min-width: 0; }
.etage-lage { font-size: 15px; color: var(--grau); font-weight: 700; }
.etage-name { font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.tuer { align-self: center; width: 72px; height: 88px; background: var(--wand); border-radius: 36px 36px 0 0; }
.boden { height: 12px; background: #9AA7B4; border-radius: 6px; }
.herz { color: var(--lila); }

/* Startseite: ein Haus groß, Auswahl als Reiter, Hinweise als Spalte daneben */
.haus-reiter { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.reiter { display: flex; align-items: center; gap: 14px; padding: 8px 16px; border-radius: 18px; border: 3px solid transparent; background: #E3E7EC; color: var(--tinte); text-decoration: none; }
.reiter:hover { border-color: #A9BEDC; }
.reiter.aktiv { background: var(--karte); border-color: var(--blau); }
.reiter svg { flex-shrink: 0; }
.reiter-text { display: flex; flex-direction: column; flex-grow: 1; min-width: 0; }
.reiter-name { font-size: 21px; font-weight: 700; }
.start { display: grid; gap: 24px; align-items: start; }
.start-haus, .start-seite { display: flex; flex-direction: column; gap: 12px; }
.start .haus { width: 100%; max-width: 640px; align-self: center; }
.start .dach { position: relative; }
.start .haus-dach { height: clamp(56px, 11vh, 110px); }
.dach-fenster { position: absolute; left: 50%; top: 67%; height: 28%; transform: translate(-50%, -50%); }
.start .haus-koerper { margin: 0 10px; padding: 10px 12px 0; gap: 8px; }
.start .haus-schild { min-height: 40px; }
.start .etage { min-height: clamp(58px, 8vh, 80px); padding: 6px 12px; gap: 6px 12px; flex-wrap: wrap; line-height: 1.25; }
.start .etage-nr { width: 42px; height: 42px; font-size: 21px; }
.start .etage-text { flex-basis: 130px; }
.start .etage .chip { margin-left: auto; font-size: 15px; }
.start .tuer { width: 52px; height: clamp(36px, 5vh, 60px); border-radius: 26px 26px 0 0; }
.start-seite .karte { padding: 16px 18px; }
.start-seite .ring-karte svg { width: 72px; height: 72px; }
.start-seite .hinweis { gap: 10px; padding: 10px 12px; border-radius: 16px; }
.start-seite .hinweis-icon { width: 40px; height: 40px; }
.start-seite .hinweis-icon svg { width: 22px; height: 22px; }
.start-seite .hinweis > svg { width: 20px; height: 20px; flex-shrink: 0; }
.start-seite .hinweis-titel { font-size: 18px; }
.start-seite .hinweis > span:nth-child(2) { font-size: 15px; }
.start-seite .legende { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; padding: 12px 16px; font-size: 16px; }
.start-seite .legende .punkt { width: 26px; height: 26px; }
.seite:has(.start) { padding-top: 16px; padding-bottom: 16px; gap: 16px; }
@media (min-width: 1100px) {
  .start { grid-template-columns: minmax(0, 1fr) 320px; }
  .start-seite { max-height: calc(100vh - 175px); overflow-y: auto; }
}
/* Niedrige Bildschirme (Laptop): Kopf und Haus etwas flacher */
@media (min-width: 701px) and (max-height: 760px) {
  .marke-icon { width: 46px; height: 46px; }
  .marke-titel { font-size: 23px; }
  .marke-sub { font-size: 14px; }
  .nav a { min-height: 40px; }
  .reiter { padding: 4px 14px; }
  .reiter svg { width: 44px; height: 36px; }
  .reiter-text .klein { display: none; }
  .start .haus-dach { height: 9vh; }
  .start .haus-schild { min-height: 36px; }
  .start-seite { max-height: calc(100vh - 162px); }
}

/* Detailseiten */
.titelzeile { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nummer-gross { width: 76px; height: 76px; border-radius: 50%; background: var(--chip); color: #fff; font-size: 38px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.haus-icon-gross { width: 76px; height: 76px; border-radius: 20px; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.person { display: flex; align-items: center; gap: 16px; }
.avatar { width: 72px; height: 72px; flex-shrink: 0; border-radius: 50%; background: var(--blau-hell); color: var(--blau); font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.avatar.familie { background: #ECE4F3; color: var(--lila); }
.avatar.frei { background: var(--frei-hell); color: var(--frei); }
.gross { font-size: 23px; font-weight: 700; display: block; }
.betrag { font-size: 34px; font-weight: 700; line-height: 1.1; display: block; }
.status-kreis { width: 72px; height: 72px; flex-shrink: 0; border-radius: 50%; background: var(--chip); color: #fff; display: flex; align-items: center; justify-content: center; }
.knopfreihe { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { background: var(--feld); border-radius: 14px; padding: 14px 8px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat b { font-size: 30px; }
.stat span { font-size: 15px; color: var(--grau); }
.merkmale { display: flex; flex-wrap: wrap; gap: 8px; }
.merkmal { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--blau-hell); color: var(--blau); font-size: 16px; font-weight: 700; }

.monate { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
.monat { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 15px; color: var(--grau); }
.kreis { width: 100%; max-width: 58px; aspect-ratio: 1 / 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; border: 2px solid var(--rand); background: var(--chip); }
.kreis.st-zukunft { background: #fff; border-style: dashed; }
.kreis.st-frei, .kreis.st-kein { background: var(--frei-hell); }
.kreis svg { width: 60%; height: 60%; }
.jahrwahl { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.kachel { background: var(--karte); border: 2px solid var(--linie); border-radius: 20px; padding: 18px 20px; display: flex; align-items: center; gap: 16px; color: var(--tinte); text-decoration: none; transition: transform .15s ease; }
.kachel:hover { transform: translateY(-3px); }
.aktionen { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.aktionen .kachel { padding: 14px 16px; }
.aktionen .kachel-icon { width: 48px; height: 48px; border-radius: 14px; }
.kachel-primaer { background: var(--blau); border-color: var(--blau); color: #fff; }
.kachel-primaer .kachel-icon { background: rgba(255,255,255,.18); color: #fff; }
.kachel-icon { width: 58px; height: 58px; flex-shrink: 0; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--blau-hell); color: var(--blau); }
.k-beleg .kachel-icon { background: #FBE7D3; color: #9A4A12; }
.k-anschreiben .kachel-icon { background: #E0EFE6; color: var(--gruen); }
.k-nk .kachel-icon { background: #FFF4C2; color: #7A5B00; }
.k-foto .kachel-icon { background: #ECE4F3; color: var(--lila); }
.kachel-text { display: flex; flex-direction: column; flex-grow: 1; }
.kachel-text b { font-size: 20px; }

/* Energieausweis */
.skala { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; align-items: end; }
.skala-stufe { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.skala-balken { width: 100%; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; }
.skala-balken.hell { color: var(--tinte); }
.skala-stufe.aktiv .skala-balken { height: 68px; font-size: 28px; border: 3px solid var(--tinte); }
.skala-pfeil { height: 14px; }

/* Listen */
.liste { display: flex; flex-direction: column; gap: 10px; }
.zeile { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--feld); color: var(--tinte); text-decoration: none; flex-wrap: wrap; }
.zeile-text { display: flex; flex-direction: column; flex-grow: 1; min-width: 180px; }
.zeile-text b { font-size: 18px; }

/* Ampel Datenerfassung */
.ampel-punkt { display: inline-block; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; border: 2px solid rgba(0,0,0,.15); }
.ampel-punkt.ampel-rot { background: #C8232C; }
.ampel-punkt.ampel-gelb { background: #F2C230; }
.ampel-punkt.ampel-gruen { background: #2E8B3A; }
.ampel-karte.ampel-rot { border: 3px solid #E9A3A6; }
.ampel-karte.ampel-gelb { border: 3px solid #F2DC8A; }
.schritt { display: flex; gap: 16px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--feld); }
.schritt-nr { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; color: #fff; background: var(--frei); }
.schritt-erledigt .schritt-nr { background: var(--gruen); }
.schritt-teilweise .schritt-nr { background: #C89B00; }
.fortschritt { height: 16px; border-radius: 8px; background: var(--feld); overflow: hidden; }
.fortschritt span { display: block; height: 100%; background: var(--gruen); }

/* Konto */
.konto-zeile { align-items: center; }
.konto-auswahl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.konto-auswahl select { min-height: 44px; padding: 0 10px; border: 2px solid #C9D1DA; border-radius: 12px; background: #fff; font-size: 16px; max-width: 100%; }
.konto-auswahl label { display: inline-flex; align-items: center; gap: 6px; }
.konto-auswahl input[type=checkbox] { width: 20px; height: 20px; }

/* Dokumente */
.filter { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; align-items: end; }
.filter label { display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 700; color: var(--grau); }
.filter select, .filter input { min-height: 48px; padding: 0 12px; border: 2px solid #C9D1DA; border-radius: 12px; background: #fff; font-size: 17px; }
.doku-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.doku { background: var(--karte); border: 2px solid var(--linie); border-radius: 18px; overflow: hidden; color: var(--tinte); text-decoration: none; display: flex; flex-direction: column; }
.doku-vorschau { height: 140px; background: var(--feld); display: flex; align-items: center; justify-content: center; color: var(--grau); }
.doku-vorschau img { width: 100%; height: 100%; object-fit: cover; }
.doku-text { padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.doku-text b { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vorschau-gross { width: 100%; min-height: 70vh; border: 0; border-radius: 14px; background: var(--feld); }
.vorschau-bild { max-width: 100%; border-radius: 14px; }

/* Formulare */
.formular { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px 22px; }
.formular .feld { display: flex; flex-direction: column; gap: 6px; }
.formular .breit { grid-column: 1 / -1; }
.formular label { font-weight: 700; }
.abschnitt-titel { grid-column: 1 / -1; font-size: 20px; padding-top: 14px; border-top: 2px solid var(--linie); }
.abschnitt-titel:first-child { padding-top: 0; border-top: 0; }
.formular .auswahl div[id] { display: flex; flex-wrap: wrap; gap: 10px; }
.formular .auswahl div[id] label { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 16px; border: 2px solid #C9D1DA; border-radius: 12px; background: #fff; cursor: pointer; }
.formular .auswahl div[id] label:has(input:checked) { border-color: var(--blau); background: var(--blau-hell); }
.formular .auswahl input, .formular .haken input { width: 24px; height: 24px; margin: 0; }
.formular .haken { flex-direction: row; align-items: center; gap: 12px; }
.formular input:not([type=checkbox]):not([type=radio]), .formular select, .formular textarea { min-height: 52px; padding: 10px 14px; border: 2px solid #C9D1DA; border-radius: 12px; background: #fff; font-size: 18px; width: 100%; }
.formular input[type=file] { padding: 12px; background: var(--feld); border-style: dashed; }
.formular .hilfe { font-size: 15px; color: var(--grau); }
.formular .fehler, .fehlerliste { color: var(--orange); font-weight: 700; }
.fehlerliste { margin: 0; padding-left: 20px; }

/* Meldungen */
.meldungen { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.meldungen li { padding: 14px 18px; border-radius: 14px; font-weight: 700; background: var(--gruen-hell); color: var(--gruen); }
.meldungen li.error, .meldungen li.warning { background: var(--orange-hell); color: var(--orange); }

/* Tabelle Nebenkosten */
.tabelle-box { overflow-x: auto; }
table.tabelle { width: 100%; border-collapse: collapse; min-width: 720px; }
.tabelle th, .tabelle td { text-align: left; padding: 12px 10px; border-bottom: 2px solid var(--linie); vertical-align: middle; }
.tabelle th { font-size: 15px; color: var(--grau); text-transform: uppercase; letter-spacing: .05em; }
.tabelle form { display: inline; }

/* Anmeldung */
.anmeldung { max-width: 460px; margin: 10vh auto; }

@media (max-width: 600px) {
  .seite { padding: 16px 16px 48px; }
  h1 { font-size: 28px; }
  .monate { gap: 4px; }
  .monat { font-size: 12px; }
  .skala { gap: 3px; }
  .skala-balken { font-size: 14px; }
  .schritt { flex-wrap: wrap; }
  .konto-auswahl, .konto-auswahl select { max-width: 100%; min-width: 0; }
}

/* Handy: Hauptmenü als feste Leiste unten, wie bei einer App; „Beleg“ sitzt rechts in der Leiste */
@media (max-width: 700px) {
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; flex-wrap: nowrap; justify-content: space-around; align-items: stretch; gap: 2px; padding: 6px calc(20% + 4px) calc(6px + env(safe-area-inset-bottom)) 6px; border-radius: 0; border-top: 2px solid var(--linie); }
  .nav > a, .nav > .menue > summary { flex: 1 1 0; flex-direction: column; justify-content: center; gap: 2px; min-height: 60px; padding: 4px 2px; font-size: 13px; border-radius: 12px; }
  .nav > .menue.nur-mobil { display: flex; flex: 1 1 0; }
  .nav > .menue > summary { width: 100%; }
  .nav .menue summary::after { content: none; }
  .nav .menue-liste { top: auto; bottom: calc(100% + 10px); }
  .kopf .nicht-mobil { display: none; }
  .kopf-beleg { position: fixed; z-index: 21; right: 6px; bottom: calc(6px + env(safe-area-inset-bottom)); width: calc(20% - 4px); min-height: 60px; flex-direction: column; gap: 2px; padding: 4px 2px; font-size: 13px; border-radius: 12px; }
  .haus-reiter { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .reiter { flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 10px; }
  .reiter svg, .reiter-text .klein { display: none; }
  .reiter-name { font-size: 18px; }
  .reiter .chip { font-size: 14px; }
  .person-menue summary { padding: 0 4px; }
  .person-menue summary::after { content: none; }
}

/* Zugänge: Rolle je Person umstellen */
.rolle-wahl { display: flex; gap: 6px; align-items: center; margin: 0; }
.rolle-wahl select { min-height: 42px; padding: 0 10px; border: 2px solid #C9D1DA; border-radius: 10px; background: var(--karte); }
