/* Bauträger-Cockpit – Grundgestaltung */
:root {
  --bg: #f3f1ec;
  --flaeche: #ffffff;
  --flaeche-2: #f8f7f4;
  --linie: #e2ded5;
  --linie-stark: #cfc9bd;
  --text: #1f2a30;
  --text-2: #5b666c;
  --text-3: #8a9398;
  --nav: #1d2f3a;
  --nav-text: #c9d3d8;
  --akzent: #c2662d;          /* Ziegel */
  --akzent-hell: #f6e7dc;
  --blau: #2d6a8f;
  --gruen: #2f7d4f;
  --rot: #b4332b;
  --gelb: #b7861a;
  --radius: 10px;
  --schatten: 0 1px 2px rgba(31, 42, 48, .06), 0 2px 8px rgba(31, 42, 48, .04);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); font-size: 14px; line-height: 1.45; color: var(--text); background: var(--bg);
       -webkit-font-smoothing: antialiased; }
a { color: var(--blau); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 22px; margin: 0; font-weight: 650; letter-spacing: -.01em; }
h2 { font-size: 16px; margin: 0 0 10px; font-weight: 620; }
h3 { font-size: 14px; margin: 0 0 8px; font-weight: 620; }
small, .klein { font-size: 12px; color: var(--text-2); }
.gedaempft { color: var(--text-2); }
.nowrap { white-space: nowrap; }
.rechts { text-align: right; }
.zahl { font-variant-numeric: tabular-nums; }

/* ---------- Layout */
.app { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh;
       background: linear-gradient(to right, var(--nav) 220px, transparent 220px); }
.seitenleiste { background: var(--nav); color: var(--nav-text); padding: 18px 12px; position: sticky; top: 0;
                height: 100vh; display: flex; flex-direction: column; gap: 4px; }
.marke { color: #fff; font-weight: 700; font-size: 15px; padding: 2px 10px 16px; letter-spacing: .01em;
         display: flex; align-items: center; gap: 9px; }
.marke .logo { width: 26px; height: 26px; border-radius: 7px; background: var(--akzent); display: grid;
               place-items: center; font-size: 13px; }
.marke small { display: block; color: var(--nav-text); font-weight: 400; font-size: 11px; }
.seitenleiste a.nav { color: var(--nav-text); display: flex; align-items: center; gap: 10px; padding: 8px 10px;
                      border-radius: 7px; font-size: 13.5px; }
.seitenleiste a.nav:hover { background: rgba(255,255,255,.07); text-decoration: none; color: #fff; }
.seitenleiste a.nav.aktiv { background: rgba(255,255,255,.12); color: #fff; }
.seitenleiste a.nav svg { width: 17px; height: 17px; flex: none; opacity: .85; }
.seitenleiste .abstand { flex: 1; }
.seitenleiste .benutzer { border-top: 1px solid rgba(255,255,255,.1); padding: 12px 10px 0; font-size: 12.5px; }
.seitenleiste .benutzer a { color: var(--nav-text); }
.haupt { min-width: 0; }
.kopfleiste { display: flex; align-items: center; gap: 12px; padding: 14px 28px; background: var(--bg);
              position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--linie); }
.kopfleiste form.suche { flex: 1; max-width: 420px; min-width: 0; margin-right: auto; }
.kopfleiste input[type=search] { width: 100%; }
.knopf.menue-knopf { display: none; }
.inhalt { padding: 24px 28px 60px; max-width: 1500px; }
.seitenkopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px;
              flex-wrap: wrap; }
.seitenkopf .pfad { font-size: 12.5px; color: var(--text-2); margin-bottom: 4px; }
.aktionen { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---------- Karten & Raster */
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius);
         box-shadow: var(--schatten); padding: 16px 18px; }
.karte + .karte { margin-top: 16px; }
.karte-kopf { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; }
.karte-kopf h2 { margin: 0; }
.raster { display: grid; gap: 16px; }
.raster-2 { grid-template-columns: 2fr 1fr; }
.raster-2g { grid-template-columns: 1fr 1fr; }
.raster-3 { grid-template-columns: repeat(3, 1fr); }
.raster > .karte + .karte { margin-top: 0; }
.spalte > .karte + .karte { margin-top: 16px; }

/* ---------- Knöpfe & Formulare */
.knopf, button.knopf { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--linie-stark);
  background: var(--flaeche); color: var(--text); padding: 7px 13px; border-radius: 8px; font: inherit;
  font-weight: 550; font-size: 13px; cursor: pointer; text-decoration: none; white-space: nowrap; line-height: 1.3; }
.knopf:hover { background: var(--flaeche-2); text-decoration: none; }
.knopf.primaer { background: var(--akzent); border-color: var(--akzent); color: #fff; }
.knopf.primaer:hover { background: #ad5824; }
.knopf.dunkel { background: var(--nav); border-color: var(--nav); color: #fff; }
.knopf.gefahr { color: var(--rot); }
.knopf.klein { padding: 4px 9px; font-size: 12px; }
.knopf.nur-icon { padding: 6px 8px; }
.knopf svg { width: 15px; height: 15px; }
input[type=text], input[type=search], input[type=email], input[type=url], input[type=number], input[type=date],
input[type=datetime-local], input[type=password], input[type=file], select, textarea {
  font: inherit; border: 1px solid var(--linie-stark); border-radius: 8px; padding: 7px 10px; background: #fff;
  color: var(--text); max-width: 100%; }
textarea { width: 100%; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(194, 102, 45, .35); outline-offset: 0;
  border-color: var(--akzent); }
.formular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.formular .feld { display: flex; flex-direction: column; gap: 5px; }
.formular .feld.breit { grid-column: 1 / -1; }
.formular .feld input:not([type=checkbox]), .formular .feld select, .formular .feld textarea { width: 100%; }
.formular label { font-weight: 560; font-size: 13px; }
.formular .hilfe { font-size: 12px; color: var(--text-3); }
.formular .fehler { color: var(--rot); font-size: 12.5px; }
.feld-check { flex-direction: row !important; align-items: center; gap: 8px !important; }
.filterleiste { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.filterleiste select, .filterleiste input { padding: 6px 9px; }

/* ---------- Tabellen */
.tabelle-wrap { overflow-x: auto; }
table.tabelle { width: 100%; border-collapse: collapse; }
.tabelle th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em;
              color: var(--text-2); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--linie-stark);
              white-space: nowrap; }
.tabelle td { padding: 9px 10px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle tr:hover td { background: var(--flaeche-2); }
.tabelle tr.klickbar { cursor: pointer; }
.leer { color: var(--text-3); padding: 18px 4px; text-align: center; }

/* ---------- Status */
.status { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 99px;
          font-size: 12px; font-weight: 580; white-space: nowrap; border: 1px solid transparent; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-anfrage { background: #eef1f4; color: #4a5a66; }
.st-pruefung { background: #fbf1da; color: #8a6210; }
.st-angebot { background: #e5eef6; color: #245b80; }
.st-freigabe { background: #e4f1ea; color: #23683f; }
.st-beauftragt { background: #e9e6f5; color: #4d3f8f; }
.st-ausfuehrung { background: #f6e7dc; color: #9a4c1b; }
.st-erledigt { background: #dcefe3; color: #1d5e37; }
.st-abgelehnt, .st-zurueckgezogen { background: #f3e3e1; color: #8f2f28; }
.balken-st-anfrage { background: #8797a3; } .balken-st-pruefung { background: #d4a332; }
.balken-st-angebot { background: #3f7fab; } .balken-st-freigabe { background: #3b8a5a; }
.balken-st-beauftragt { background: #6d5db8; } .balken-st-ausfuehrung { background: #c2662d; }
.balken-st-erledigt { background: #2f7d4f; }
.marke-rot { color: var(--rot); font-weight: 600; }
.pille { display: inline-block; background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: 99px;
         padding: 1px 8px; font-size: 12px; color: var(--text-2); }

/* Ablauf-Schritte */
.ablauf { display: flex; gap: 0; margin: 4px 0 2px; overflow-x: auto; }
.ablauf .schritt { flex: 1; min-width: 92px; text-align: center; font-size: 11.5px; color: var(--text-3);
                   position: relative; padding-top: 22px; }
.ablauf .schritt::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 3px; background: var(--linie); }
.ablauf .schritt::after { content: ""; position: absolute; top: 2px; left: calc(50% - 7px); width: 14px; height: 14px;
                          border-radius: 50%; background: #fff; border: 3px solid var(--linie-stark); }
.ablauf .schritt.fertig { color: var(--text-2); }
.ablauf .schritt.fertig::before { background: var(--gruen); }
.ablauf .schritt.fertig::after { background: var(--gruen); border-color: var(--gruen); }
.ablauf .schritt.aktuell { color: var(--text); font-weight: 650; }
.ablauf .schritt.aktuell::before { background: linear-gradient(90deg, var(--gruen) 50%, var(--linie) 50%); }
.ablauf .schritt.aktuell::after { border-color: var(--akzent); background: var(--akzent-hell); }

/* ---------- Listen in Karten */
.liste { list-style: none; margin: 0; padding: 0; }
.liste li { padding: 8px 0; border-bottom: 1px solid var(--linie); display: flex; gap: 10px; align-items: flex-start; }
.liste li:last-child { border-bottom: 0; }
.liste .grow { flex: 1; min-width: 0; }
.liste .titel { font-weight: 560; }
.notiz { padding: 10px 0; border-bottom: 1px solid var(--linie); }
.notiz:last-child { border-bottom: 0; }
.notiz .meta { font-size: 12px; color: var(--text-2); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 3px; }
.notiz .text { white-space: pre-wrap; }
.def { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; margin: 0; }
.def dt { color: var(--text-2); font-size: 13px; }
.def dd { margin: 0; }
.kpi { display: flex; gap: 22px; flex-wrap: wrap; }
.kpi div b { display: block; font-size: 22px; font-weight: 650; }
.kpi div span { font-size: 12px; color: var(--text-2); }
details.ausklapp > summary { cursor: pointer; font-weight: 560; color: var(--blau); list-style: none; }
details.ausklapp > summary::-webkit-details-marker { display: none; }
details.ausklapp[open] > summary { margin-bottom: 12px; }

/* ---------- Meldungen */
.meldungen { margin-bottom: 16px; display: grid; gap: 8px; }
.meldung { padding: 10px 14px; border-radius: 8px; background: #e7f0ea; color: #1d5e37; border: 1px solid #c9e0d0; }
.meldung.error { background: #f6e4e2; color: #8f2f28; border-color: #e8c7c3; }
.meldung.warning { background: #fbf1da; color: #7a560e; border-color: #f0dfb1; }

/* ---------- Dashboard */
.grid-stack { margin: 0 -6px; }
.grid-stack-item-content.widget { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius);
  box-shadow: var(--schatten); display: flex; flex-direction: column; overflow: hidden !important; inset: 6px !important; }
.widget-kopf { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px 8px;
               border-bottom: 1px solid var(--linie); gap: 8px; }
.widget-kopf h3 { margin: 0; font-size: 13.5px; }
.widget-inhalt { padding: 6px 14px 12px; overflow: auto; flex: 1; }
.widget-entfernen { display: none; border: 0; background: none; color: var(--rot); cursor: pointer; font-size: 18px;
                    line-height: 1; padding: 0 2px; }
.bearbeiten-modus .widget-entfernen { display: block; }
.bearbeiten-modus .grid-stack-item-content.widget { outline: 2px dashed var(--linie-stark); cursor: move; }
.widget-katalog { display: none; }
.bearbeiten-modus .widget-katalog { display: block; margin-bottom: 14px; }
.katalog-liste { display: flex; flex-wrap: wrap; gap: 8px; }
.statusbalken { display: grid; gap: 7px; }
.statusbalken .zeile { display: grid; grid-template-columns: 150px 1fr 34px; gap: 10px; align-items: center; font-size: 12.5px; }
.statusbalken .spur { background: var(--flaeche-2); border-radius: 4px; height: 10px; overflow: hidden; }
.statusbalken .spur span { display: block; height: 100%; border-radius: 4px; }
.schnell { display: grid; grid-template-columns: 1fr; gap: 7px; padding-top: 6px; }

/* ---------- Kalender */
.fc { --fc-border-color: var(--linie); --fc-today-bg-color: #fbf3ea; --fc-event-bg-color: var(--blau);
      --fc-event-border-color: var(--blau); font-size: 13px; }
.fc .fc-toolbar-title { font-size: 18px; font-weight: 620; }
.fc .fc-button-primary { background: var(--flaeche); color: var(--text); border-color: var(--linie-stark); font-weight: 550; }
.fc .fc-button-primary:not(:disabled).fc-button-active, .fc .fc-button-primary:not(:disabled):active
  { background: var(--nav); border-color: var(--nav); color: #fff; }
.fc .fc-button-primary:hover { background: var(--flaeche-2); color: var(--text); }
.legende { display: flex; gap: 14px; font-size: 12px; color: var(--text-2); flex-wrap: wrap; }
.legende i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

/* ---------- Gesamtübersicht */
.uebersicht-tabelle .sw-spalte { min-width: 260px; }
.uebersicht-tabelle td.wohnung { font-weight: 650; white-space: nowrap; }
.uebersicht-tabelle tbody.gruppe:nth-of-type(even) td { background: var(--flaeche-2); }
.uebersicht-tabelle tbody.gruppe td { border-bottom-color: var(--linie); }
.uebersicht-tabelle tbody.gruppe tr:last-child td { border-bottom: 1px solid var(--linie-stark); }
.druckkopf { display: none; }

/* ---------- Login */
.login-seite { min-height: 100vh; display: grid; place-items: center; background: var(--nav); }
.login-karte { width: 360px; background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.login-karte h1 { margin-bottom: 4px; }
.login-karte .feld { display: flex; flex-direction: column; gap: 5px; margin-top: 14px; }
.login-karte input { width: 100%; }

/* ---------- Grundriss */
.plan-werkzeuge { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; background: var(--flaeche);
  border: 1px solid var(--linie); border-radius: var(--radius); padding: 8px; position: sticky; top: 62px; z-index: 10;
  box-shadow: var(--schatten); }
.plan-werkzeuge .trenner { width: 1px; align-self: stretch; background: var(--linie); margin: 0 4px; }
.werkzeug.aktiv { background: var(--nav); color: #fff; border-color: var(--nav); }
.farbe { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--linie-stark);
         cursor: pointer; padding: 0; }
.farbe.aktiv { box-shadow: 0 0 0 2px var(--text); }
.plan-buehne { margin-top: 12px; overflow: auto; background: #d9d5cc; border-radius: var(--radius); padding: 18px;
               max-height: calc(100vh - 210px); }
.plan-seite { position: relative; margin: 0 auto 18px; box-shadow: 0 2px 12px rgba(0,0,0,.18); background: #fff;
              width: max-content; }
.plan-seite canvas { display: block; }
.plan-seite canvas.zeichnung { position: absolute; inset: 0; touch-action: none; cursor: crosshair; }

/* ---------- Grundriss: Symbole, Vergleich */
.fuellung-wahl { display: inline-flex; align-items: center; gap: 4px; margin-left: -2px; }
.symbol-leiste { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: 8px;
                 border-top: 1px solid var(--linie); margin-top: 4px; }
.symbol-leiste[hidden] { display: none; }
.symbol-knopf { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--linie-stark); background: #fff;
                border-radius: 99px; padding: 3px 10px 3px 3px; font: inherit; font-size: 12px; cursor: pointer; }
.symbol-knopf span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid currentColor; display: grid;
                     place-items: center; font-weight: 700; font-size: 10.5px; }
.symbol-knopf.aktiv { border-color: var(--nav); background: var(--nav); color: #fff; }
.vergleich { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.vergleich-kopf { padding: 0 4px 6px; display: flex; gap: 10px; align-items: baseline; }
.vergleich-buehne { margin-top: 0; max-height: calc(100vh - 230px); }
@media (max-width: 900px) { .vergleich { grid-template-columns: 1fr; } }

/* ---------- Suchbare Auswahl, Gewerke, Dokumente, Notizen-Fenster */
.such-filter { width: 100%; margin-bottom: 4px; }
.auswahl-info { font-size: 12px; color: var(--text-2); margin-top: 3px; }
.ankreuzliste > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 6px 14px;
  padding: 10px 12px; border: 1px solid var(--linie); border-radius: 8px; background: var(--flaeche-2); }
.ankreuzliste label { font-weight: 400 !important; display: flex; gap: 7px; align-items: center; cursor: pointer; }
.ankreuzliste input { width: auto !important; margin: 0; }
.dok-zeile { display: flex; gap: 10px; align-items: flex-start; }
.dok-symbol { width: 34px; height: 40px; border-radius: 5px; background: var(--flaeche-2); border: 1px solid var(--linie);
              display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--text-2); flex: none; }
.notizfenster .notiz { padding: 8px 0; }
.notizfenster textarea { min-height: 70px; }
.warnliste { margin: 0; padding-left: 18px; }

.datei-widget { display: flex; flex-direction: column; gap: 5px; }
.datei-vorhanden { display: flex; gap: 12px; align-items: center; color: var(--gruen); font-weight: 560; }
.datei-vorhanden .entfernen { color: var(--rot); font-weight: 400; display: inline-flex; gap: 4px; align-items: center; }
.datei-vorhanden .entfernen input { width: auto !important; }

/* ---------- Pläne */
.plaene-raster { display: grid; grid-template-columns: 250px 1fr; gap: 16px; align-items: start; }
.plaene-raster > div > .karte + .karte { margin-top: 16px; }
.plan-baum { padding: 12px; position: sticky; top: 76px; }
.baum-eintrag { display: flex; justify-content: space-between; padding: 6px 9px; border-radius: 6px; color: var(--text);
                font-size: 13.5px; }
.baum-eintrag:hover { background: var(--flaeche-2); text-decoration: none; }
.baum-eintrag.aktiv { background: var(--nav); color: #fff; }
.baum-eintrag.unter { padding-left: 24px; font-size: 13px; }
.baum-eintrag span { color: var(--text-3); font-size: 12px; }
.baum-eintrag.aktiv span { color: #c9d3d8; }
@media (max-width: 900px) { .plaene-raster { grid-template-columns: 1fr; } .plan-baum { position: static; } }

/* ---------- Beteiligte */
.beteiligte-gruppe { margin-bottom: 10px; }
.beteiligte-titel { font-weight: 650; text-transform: uppercase; letter-spacing: .04em; font-size: 11px; margin-bottom: 3px; }
.beteiligte-zeile { display: flex; gap: 6px; align-items: center; padding: 5px 0; border-bottom: 1px solid var(--linie); }
.beteiligte-zeile:last-child { border-bottom: 0; }
.anhang-bereich { margin-top: 14px; padding: 10px 12px; background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: 8px; }
:target { scroll-margin-top: 80px; }

/* ---------- Reiter, E-Mails, Nachrichten */
.reiter { display: flex; gap: 4px; border-bottom: 1px solid var(--linie); margin: -4px 0 12px; flex-wrap: wrap; }
.reiter a { padding: 8px 12px; color: var(--text-2); font-weight: 560; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.reiter a:hover { text-decoration: none; color: var(--text); }
.reiter a.aktiv { color: var(--text); border-bottom-color: var(--akzent); }
.mail-liste li.klickbar { cursor: pointer; padding: 10px 6px; border-radius: 6px; }
.mail-liste li.klickbar:hover { background: var(--flaeche-2); }
.mail-kopf { display: flex; justify-content: space-between; gap: 10px; }
.vorschau { color: var(--text-3); margin-top: 2px; }
.richtung { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 13px; font-weight: 700; }
.richtung.ein { background: #e5eef6; color: #245b80; }
.richtung.aus { background: #e4f1ea; color: #23683f; }
.rolle { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; padding: 0 6px; border-radius: 4px;
         background: #eef1f4; color: #4a5a66; margin-right: 3px; }
.rolle-cc { background: #fbf1da; color: #8a6210; }
.rolle-bcc { background: #f3e3e1; color: #8f2f28; }
.rolle-von { background: #e5eef6; color: #245b80; }
.mail-rahmen { width: 100%; height: 65vh; border: 1px solid var(--linie); border-radius: 8px; background: #fff; }
.anhaenge { display: grid; gap: 6px; margin: 14px 0 4px; padding: 10px 12px; background: var(--flaeche-2); border-radius: 8px; }
.mail-def { grid-template-columns: 80px 1fr; }
.kanal-wahl { display: flex; gap: 10px; flex-wrap: wrap; }
.kanal { border: 1px solid var(--linie-stark); border-radius: 8px; padding: 9px 14px; cursor: pointer; font-weight: 560; }
.kanal input { margin-right: 6px; }
.kanal.aktiv { border-color: var(--akzent); background: var(--akzent-hell); }
code { font-family: ui-monospace, Menlo, monospace; font-size: 12px; background: var(--flaeche-2); padding: 1px 5px; border-radius: 4px; }

/* ---------- Responsive */
@media (max-width: 1100px) {
  .raster-2, .raster-3 { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .app { grid-template-columns: 1fr; }
  .seitenleiste { position: fixed; left: -240px; width: 230px; z-index: 50; transition: left .2s; }
  .app.nav-offen .seitenleiste { left: 0; }
  .knopf.menue-knopf { display: inline-flex; }
  .app { background: none; }
  .inhalt { padding: 16px 14px 50px; }
  .kopfleiste { padding: 10px 14px; }
  .kopf-knopf { display: none !important; }
  .formular, .raster-2g { grid-template-columns: 1fr; }
  .def { grid-template-columns: 1fr; }
}

/* ---------- Druck */
@media print {
  @page { size: A4 landscape; margin: 10mm; }
  body { background: #fff; font-size: 10.5px; }
  .seitenleiste, .kopfleiste, .nicht-drucken, .filterleiste, .meldungen { display: none !important; }
  .app { display: block; }
  .inhalt { padding: 0; max-width: none; }
  .karte { box-shadow: none; border: 0; padding: 0; }
  .druckkopf { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 8px; }
  .tabelle th { color: #000; border-bottom: 1.5px solid #000; padding: 4px 5px; font-size: 9px; }
  .tabelle td { padding: 4px 5px; border-bottom: .5px solid #999; }
  .uebersicht-tabelle tbody.gruppe { break-inside: avoid; }
  .status { padding: 0; background: none !important; border: 0; color: #000 !important; }
  .status::before { display: none; }
  a { color: #000; }
}

/* Knopfgruppe (z. B. Kurzübersicht | mit Preis) */
.knopf-gruppe { display: inline-flex; }
.knopf-gruppe .knopf:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.knopf-gruppe .knopf + .knopf { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -1px; }

/* Druckauswahl (Kurzübersicht mit Grundrissen) */
.druck-wahl { position: relative; display: inline-block; }
.druck-wahl > summary { list-style: none; cursor: pointer; }
.druck-wahl > summary::-webkit-details-marker { display: none; }
.druck-panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; width: 360px; max-width: 86vw;
  background: var(--flaeche, #fff); border: 1px solid var(--linie, #d5dde3); border-radius: 10px; padding: 14px;
  box-shadow: 0 10px 30px rgba(15, 30, 45, .18); text-align: left; }
.druck-plan { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0; font-size: 14px; cursor: pointer; }
.druck-plan input { margin-top: 3px; }

/* Anmeldung mit Microsoft */
.ms-login { width: 100%; justify-content: center; gap: 10px; padding: 11px; margin-top: 14px; }
.login-trenner { display: flex; align-items: center; gap: 10px; margin: 18px 0 4px; color: var(--text-2); font-size: 12px; text-align: center; }
.login-trenner::before, .login-trenner::after { content: ""; flex: 1; border-top: 1px solid var(--linie); }
