/* Planexio 2 — Design-System
   Quelle: docs/UI_UX_KUNDENFRONTEND.md §0 (Tokens), §2 (Bausteine), §6 (Zugänglichkeit), §7 (Dunkelmodus)
   Alle Farben sind Tokens; Anwendungen verwenden nur diese Klassen und Variablen. */

/* ── Schrift Figtree (SIL OFL 1.1, schriften/figtree/OFL.txt) — selbst gehostet, kein Abruf bei Google.
   Der Browser lädt sie erst, wenn eine Seite sie verwendet (Anmeldung der Instanz, Branding „Figtree“). */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("schriften/figtree/figtree-latin.202cfb54d4e6.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("schriften/figtree/figtree-latin-ext.eca8d8b337ff.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ── Weitere Schriften der Branding-Auswahl — alle selbst gehostet (Lizenzen je Ordner unter schriften/).
   Geladen wird eine Schrift erst, wenn eine Seite sie verwendet. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("schriften/inter/inter-latin-ext.1ad231aac0a8.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("schriften/inter/inter-latin.260c81a4759b.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("schriften/roboto/roboto-latin-ext.a6323dda0842.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("schriften/roboto/roboto-latin.665db5e157d2.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("schriften/opensans/opensans-latin-ext.062c1f2aaf2d.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("schriften/opensans/opensans-latin.dcf31ebe1074.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("schriften/lato/lato-latin-ext-300.577577e7ad64.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("schriften/lato/lato-latin-300.716309aab2bc.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("schriften/lato/lato-latin-ext-400.633f8feda218.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("schriften/lato/lato-latin-400.e1b3b5908c9c.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("schriften/lato/lato-latin-ext-700.33c906549bd6.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("schriften/lato/lato-latin-700.de69cf9e514d.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 900; font-display: swap;
  src: url("schriften/lato/lato-latin-ext-900.3d62dac47ae3.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 900; font-display: swap;
  src: url("schriften/lato/lato-latin-900.1c6c65523675.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("schriften/montserrat/montserrat-latin-ext.d16dfe26bcd7.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("schriften/montserrat/montserrat-latin.311d352d9323.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("schriften/nunito/nunito-latin-ext.ffdc8b0c86fb.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("schriften/nunito/nunito-latin.166202cc391c.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Arimo"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("schriften/arimo/arimo-latin-ext.88a46cd08345.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Arimo"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("schriften/arimo/arimo-latin.462df98ac3c1.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Gelasio"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("schriften/gelasio/gelasio-latin-ext.9ed737a6cb19.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Gelasio"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("schriften/gelasio/gelasio-latin.18bd9939c27a.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Code Pro"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("schriften/sourcecodepro/sourcecodepro-latin-ext.c3311a305219.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Code Pro"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("schriften/sourcecodepro/sourcecodepro-latin.a15f5de6f0da.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ── 0.1 Farben ─────────────────────────────────────────────────────── */
:root {
  --px-blue: #0A4A97;
  --px-cyan: #43BFE8;
  --px-mid: #1c79c2;
  --px-navy: #0E2A52;
  --px-ink: #16233B;
  --px-muted: #5A6B85;
  --px-line: #E6EDF6;
  --px-line-strong: #C9D8EA;
  --px-bg: #F5F8FC;
  --px-card: #FFFFFF;
  --px-mint: #10B981;

  --px-success: #0E9F6E; --px-success-bg: rgba(16,185,129,.12);
  --px-info: #0A4A97;    --px-info-bg: #EAF4FB;
  --px-warning: #B45309; --px-warning-bg: rgba(245,158,11,.14);
  --px-danger: #C0392B;  --px-danger-fill: #E5484D; --px-danger-bg: rgba(229,72,77,.12);

  --px-grad: linear-gradient(135deg, #43BFE8, #0A4A97);
  --px-grad-action: linear-gradient(135deg, #1c79c2, #0A4A97);

  /* Branding je Betrieb überschreibt nur diese beiden (kontrastgeprüft) */
  --px-primary: var(--px-blue);
  --px-primary-text: #FFFFFF;

  --px-r: 18px; --px-r-sm: 12px; --px-pill: 999px;
  --px-shadow-rest: 0 6px 20px rgba(16,44,90,.08);
  --px-shadow-raised: 0 18px 50px rgba(16,44,90,.10);
  --px-focus: 0 0 0 3px rgba(67,191,232,.55);

  --px-font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --px-mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --px-sidebar: 256px;
  --px-kopf: 72px;               /* Höhe der Kopfleiste = Logobereich der Seitenleiste */
  color-scheme: light;
}

/* ── 7 Dunkelmodus ──────────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --px-bg: #0B1F3E; --px-card: #12294a; --px-ink: #EAF2FB; --px-muted: #9DB6D6;
    --px-line: rgba(255,255,255,.10); --px-line-strong: rgba(255,255,255,.18);
    --px-info-bg: rgba(67,191,232,.12); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --px-bg: #0B1F3E; --px-card: #12294a; --px-ink: #EAF2FB; --px-muted: #9DB6D6;
  --px-line: rgba(255,255,255,.10); --px-line-strong: rgba(255,255,255,.18);
  --px-info-bg: rgba(67,191,232,.12); color-scheme: dark;
}

/* ── Grundlagen ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }   /* hidden gilt auch für Bausteine mit eigenem display */
body { margin: 0; font-family: var(--px-font); font-size: 16px; line-height: 1.5; color: var(--px-ink); background: var(--px-bg); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 12px; font-weight: 700; }
h1 { font-size: 22px; } h2 { font-size: 18px; } h3 { font-size: 16px; }
a { color: var(--px-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: none; box-shadow: var(--px-focus); border-radius: 6px; }
.gedaempft { color: var(--px-muted); }
.klein { font-size: 13px; }
.mono { font-family: var(--px-mono); font-size: 13px; }
.zahl { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ── App-Shell ──────────────────────────────────────────────────────── */
.shell { display: flex; min-height: 100vh; }
.seitenleiste {
  position: fixed; inset: 0 auto 0 0; width: var(--px-sidebar); background: var(--px-navy); color: #C9D8EA;
  display: flex; flex-direction: column; z-index: 40; transition: transform .22s ease;
}
.seitenleiste .marke { display: flex; align-items: center; gap: 10px; height: var(--px-kopf); flex-shrink: 0; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.seitenleiste .marke img { width: 34px; height: 34px; border-radius: 10px; }
.seitenleiste .marke-logo { justify-content: center; text-decoration: none; }
.seitenleiste .marke-logo img { width: auto; height: auto; max-height: 38px; max-width: 190px; border-radius: 0; object-fit: contain; }
.seitenleiste .marke b { color: #fff; font-size: 16px; display: block; }
.seitenleiste .marke small { color: #9DB6D6; font-size: 12px; }
.seitenleiste nav { flex: 1; overflow-y: auto; padding: 10px 12px 20px; }
.seitenleiste .gruppe { margin-top: 14px; }
/* Unten angepinnt: Menüs öffnen sich neben der Leiste */
.seitenleiste .dock { flex-shrink: 0; padding: 8px 12px; border-top: 1px solid rgba(255,255,255,.08); }
.seitenleiste .dock-eintrag { position: relative; }
.seitenleiste .dock-knopf {
  display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 12px; border: 0; border-radius: var(--px-r-sm); background: none;
  color: #C9D8EA; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-align: left;
}
.seitenleiste .dock-knopf > i:first-child { font-size: 16px; width: 20px; text-align: center; }
.seitenleiste .dock-knopf .pfeil { margin-left: auto; font-size: 12px; opacity: .6; }
.seitenleiste .dock-knopf:hover, .seitenleiste .dock-eintrag.offen .dock-knopf { background: rgba(255,255,255,.07); color: #fff; }
.seitenleiste .dock-knopf.aktiv { color: #fff; box-shadow: inset 3px 0 0 var(--px-primary); background: rgba(255,255,255,.05); }
.seitenleiste .dock-menue {
  position: absolute; left: calc(100% + 14px); bottom: -6px; min-width: 250px; padding: 8px; border-radius: 12px; z-index: 60;
  background: var(--px-navy); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 40px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateX(-6px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.seitenleiste .dock-menue::before { content: ""; position: absolute; left: -16px; top: 0; bottom: 0; width: 16px; }  /* Brücke für die Maus */
.seitenleiste .dock-eintrag.offen .dock-menue { opacity: 1; visibility: visible; transform: none; }
.seitenleiste .dock-kopf { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7F97B8; padding: 6px 10px 8px; }
@media (hover: hover) and (min-width: 901px) { .seitenleiste .dock-eintrag:hover .dock-menue { opacity: 1; visibility: visible; transform: none; } }
@media (max-width: 900px) {
  .seitenleiste .dock-menue { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 4px 12px; display: none; opacity: 1; visibility: visible; transform: none; background: none; }
  .seitenleiste .dock-eintrag.offen .dock-menue { display: block; }
  .seitenleiste .dock-kopf { display: none; }
  .seitenleiste .dock-knopf .pfeil { transform: rotate(90deg); }
}
.seitenleiste .gruppe-titel { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7F97B8; padding: 0 10px 6px; }
.seitenleiste a {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: var(--px-r-sm);
  color: #C9D8EA; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .15s ease, color .15s ease;
}
.seitenleiste a i { font-size: 16px; width: 20px; text-align: center; opacity: .9; }
.seitenleiste a:hover { background: rgba(255,255,255,.07); color: #fff; }
.seitenleiste a.aktiv { background: var(--px-primary); color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.seitenleiste .fuss { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.22); }
.seitenleiste .fuss a { padding: 0; }
.seitenleiste .fuss-avatar { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(67,191,232,.16); border: 1px solid rgba(67,191,232,.38); color: #43BFE8; font-size: 19px; text-decoration: none; }
.seitenleiste .fuss-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.seitenleiste .fuss-name { color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.25; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seitenleiste a.fuss-name:hover { color: #43BFE8; }
.seitenleiste .fuss-rolle { display: flex; align-items: center; gap: 6px; color: #7F95B5; font-size: 10.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seitenleiste .fuss-rolle .umgebung-marke { font-size: 9px; padding: 1px 6px; }
.seitenleiste .fuss-abmelden { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 6px;
  color: #9DB6D6; font-size: 17px; text-decoration: none; transition: color .15s, background .15s; }
.seitenleiste .fuss-abmelden:hover { color: #EF4444; background: rgba(239,68,68,.14); }
.umgebung-marke { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; padding: 2px 8px; border-radius: var(--px-pill); background: #F59E0B; color: #16233B; }

.hauptbereich { flex: 1; margin-left: var(--px-sidebar); min-width: 0; display: flex; flex-direction: column; }
.kopfleiste {
  position: sticky; top: 0; z-index: 30; background: #fff; color: #0F172A; color-scheme: light; border-bottom: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 1px 2px rgba(15,23,42,.03);
  --px-card: #fff; --px-ink: #16233B; --px-muted: #5A6B85; --px-line: #E6EDF6; --px-line-strong: #C9D8EA; --px-bg: #F5F8FC; --px-info-bg: #E7F1FB;
  min-height: var(--px-kopf); display: flex; align-items: center; gap: 16px; padding: 10px 28px; flex-wrap: wrap;
}
.kopfleiste h1 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: #0F172A; flex: 1; min-width: 180px; }
.kopfleiste .aktionen { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.menue-knopf { display: none; background: none; border: 0; font-size: 22px; color: var(--px-ink); cursor: pointer; }
.inhalt { padding: 24px 28px 48px; width: 100%; }
.inhalt.schmal { max-width: 1100px; }
/* SaaS-Verwaltung: alle Ansichten auf Weiß, Farben hell — auch im Dunkelmodus */
.shell.verwaltung .hauptbereich { background: #fff; }
.shell.verwaltung .inhalt {
  background: #fff; color: #16233B; color-scheme: light;
  --px-bg: #F5F8FC; --px-card: #fff; --px-ink: #16233B; --px-muted: #5A6B85;
  --px-line: #E6EDF6; --px-line-strong: #C9D8EA; --px-info-bg: #E7F1FB;
}
/* Weiße Ansicht (Verwaltung): Inhaltsbereich auf Weiß, volle Breite — Farben bleiben hell, auch im Dunkelmodus */
.hauptbereich:has(.inhalt.weiss) { background: #fff; }
.inhalt.weiss {
  flex: 1; background: #fff; color: #16233B; color-scheme: light;
  --px-bg: #F5F8FC; --px-card: #fff; --px-ink: #16233B; --px-muted: #5A6B85;
  --px-line: #E6EDF6; --px-line-strong: #C9D8EA; --px-info-bg: #E7F1FB;
}

/* Hinweis „aus der Verwaltung in dieser Instanz“: schmale Leiste über der ganzen Anwendung */
:root { --px-leiste: 32px; }
.hinweisleiste {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--px-leiste);
  background: var(--px-grad-action); color: #fff; padding: 0 12px 0 16px; display: flex; gap: 10px; align-items: center;
  font-size: 12.5px; white-space: nowrap; overflow: hidden;
}
.hinweisleiste > span { overflow: hidden; text-overflow: ellipsis; }
.hinweisleiste b { font-weight: 700; }
.hinweisleiste .knopf { margin-left: auto; min-height: 0; height: 24px; padding: 0 10px; font-size: 12px; gap: 5px; }
.shell.mit-leiste { padding-top: var(--px-leiste); }
.shell.mit-leiste .seitenleiste { top: var(--px-leiste); }
.shell.mit-leiste .kopfleiste { top: var(--px-leiste); }
.shell.mit-leiste .hauptbereich:has(.inhalt.dl-voll) { height: calc(100vh - var(--px-leiste)); height: calc(100dvh - var(--px-leiste)); }

/* SaaS-Verwaltung: kompakte Kopfzeile und Logo */
.shell.verwaltung { --px-kopf: 56px; }
.shell.verwaltung .kopfleiste { padding-top: 6px; padding-bottom: 6px; }
.shell.verwaltung .kopfleiste h1 { font-size: 19px; }
.shell.verwaltung .seitenleiste .marke-logo img { max-height: 28px; max-width: 150px; }

@media (max-width: 900px) {
  .seitenleiste { transform: translateX(-100%); }
  .shell.menue-offen .seitenleiste { transform: none; box-shadow: var(--px-shadow-raised); }
  .hauptbereich { margin-left: 0; }
  .menue-knopf { display: inline-flex; }
  .kopfleiste, .inhalt, .hinweisleiste { padding-left: 16px; padding-right: 16px; }
}

/* ── Karten & Raster ────────────────────────────────────────────────── */
.karte { background: var(--px-card); border: 1px solid var(--px-line); border-radius: var(--px-r); box-shadow: var(--px-shadow-rest); margin-bottom: 20px; }
.karte > .kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--px-line); flex-wrap: wrap; }
.karte > .kopf h2 { margin: 0; font-size: 17px; }
.karte > .koerper { padding: 20px; }
.raster { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.raster-2 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.kennzahl { background: var(--px-card); border: 1px solid var(--px-line); border-radius: var(--px-r); padding: 18px 20px; box-shadow: var(--px-shadow-rest); }
.kennzahl .wert { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.kennzahl .name { font-size: 13px; color: var(--px-muted); font-weight: 600; }
.leer { text-align: center; padding: 40px 20px; color: var(--px-muted); }
.leer i { font-size: 34px; display: block; margin-bottom: 8px; color: var(--px-line-strong); }

/* ── Knöpfe (§2.2) ──────────────────────────────────────────────────── */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 22px;
  border-radius: var(--px-pill); font: 600 15px var(--px-font); cursor: pointer; text-decoration: none !important;
  border: 1px solid transparent; transition: filter .15s ease, border-color .15s ease, transform .12s ease; white-space: nowrap;
}
.knopf:active { transform: translateY(1px); }
.knopf[disabled], .knopf.aus { opacity: .5; pointer-events: none; }
.knopf-primaer { background: var(--px-primary); color: var(--px-primary-text); box-shadow: 0 10px 24px rgba(10,74,151,.28); }
.knopf-primaer:hover { filter: brightness(1.05); }
.knopf-zweit { background: var(--px-card); color: var(--px-ink); border-color: var(--px-line); }
.knopf-zweit:hover { border-color: var(--px-line-strong); }
.knopf-text { background: none; color: var(--px-blue); padding-left: 8px; padding-right: 8px; }
.knopf-gefahr { background: var(--px-danger-fill); color: #fff; }
.knopf-klein { min-height: 34px; padding: 6px 14px; font-size: 13.5px; }
.knopf-hell { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.35); }

/* ── Formulare (§2.4) ───────────────────────────────────────────────── */
.feld { margin-bottom: 16px; }
.feld label, .feldname { display: block; font-size: 13px; font-weight: 600; color: var(--px-muted); margin-bottom: 6px; }
.eingabe, .feld input:not([type=checkbox]):not([type=radio]), .feld select, .feld textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--px-line); border-radius: var(--px-r-sm);
  font: 16px var(--px-font); color: var(--px-ink); background: var(--px-card);
}
.feld textarea { min-height: 96px; }
.eingabe:focus, .feld input:focus, .feld select:focus, .feld textarea:focus {
  outline: none; border-color: var(--px-blue); box-shadow: 0 0 0 3px rgba(67,191,232,.35);
}
.feld .hilfe { font-size: 12.5px; color: var(--px-muted); margin-top: 5px; }
.feld .fehler, .fehlertext { font-size: 13px; color: var(--px-danger); margin-top: 5px; }
.formular-raster { display: grid; gap: 0 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.auswahl { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; cursor: pointer; }
.auswahl input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--px-blue); }
.formular-fuss { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* ── Chips (§2.3) & Badges ──────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border-radius: var(--px-pill);
  background: var(--px-card); border: 1px solid var(--px-line); color: var(--px-ink); font: 600 14px var(--px-font); cursor: pointer;
}
.chip:hover { border-color: var(--px-cyan); }
.chip.gewaehlt { background: var(--px-blue); color: #fff; border-color: var(--px-blue); }
.chip[aria-disabled="true"] { background: #F1F5FA; color: #A9B6C8; cursor: not-allowed; }
.marke-klein { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: var(--px-pill); font-size: 12px; font-weight: 600; white-space: nowrap; }
.marke-erfolg { background: var(--px-success-bg); color: var(--px-success); }
.marke-info { background: var(--px-info-bg); color: var(--px-info); }
.marke-warnung { background: var(--px-warning-bg); color: var(--px-warning); }
.marke-gefahr { background: var(--px-danger-bg); color: var(--px-danger); }
.marke-neutral { background: var(--px-bg); color: var(--px-muted); border: 1px solid var(--px-line); }

/* ── Hinweise (§11) ─────────────────────────────────────────────────── */
.meldung { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--px-r-sm); margin-bottom: 16px; font-size: 14.5px; }
.meldung i { font-size: 18px; line-height: 1.2; }
.meldung-info { background: var(--px-info-bg); color: var(--px-info); }
.meldung-erfolg { background: var(--px-success-bg); color: var(--px-success); }
.meldung-warnung { background: var(--px-warning-bg); color: var(--px-warning); }
.meldung-gefahr { background: var(--px-danger-bg); color: var(--px-danger); }

/* ── Tabellen ───────────────────────────────────────────────────────── */
.tabelle-rahmen { width: 100%; overflow-x: auto; }
table.tabelle { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tabelle th { text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--px-muted); padding: 12px 16px; border-bottom: 1px solid var(--px-line); background: var(--px-bg); white-space: nowrap; }
.tabelle td { padding: 12px 16px; border-bottom: 1px solid var(--px-line); vertical-align: middle; }
.tabelle tr:last-child td { border-bottom: 0; }
.tabelle tbody tr:hover { background: rgba(67,191,232,.05); }
.tabelle .rechts { text-align: right; }
@media (max-width: 700px) {
  table.tabelle.kartig thead { display: none; }
  table.tabelle.kartig tr { display: block; border-bottom: 1px solid var(--px-line); padding: 8px 0; }
  table.tabelle.kartig td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 16px; }
  table.tabelle.kartig td::before { content: attr(data-label); font-size: 12px; color: var(--px-muted); font-weight: 600; }
}

/* ── Reiter ─────────────────────────────────────────────────────────── */
.reiter { display: flex; gap: 4px; border-bottom: 1px solid var(--px-line); margin-bottom: 20px; overflow-x: auto; }
.reiter a { padding: 10px 16px; font-weight: 600; font-size: 14.5px; color: var(--px-muted); border-bottom: 3px solid transparent; white-space: nowrap; text-decoration: none; }
.reiter a.aktiv { color: var(--px-blue); border-bottom-color: var(--px-blue); }

/* ── Dialog (Blatt) ─────────────────────────────────────────────────── */
dialog.blatt { border: 0; border-radius: var(--px-r); padding: 0; width: min(560px, calc(100vw - 32px)); box-shadow: var(--px-shadow-raised); color: var(--px-ink); background: var(--px-card); }
dialog.blatt::backdrop { background: rgba(14,42,82,.45); }
dialog.blatt .kopf { padding: 18px 22px; border-bottom: 1px solid var(--px-line); display: flex; justify-content: space-between; align-items: center; }
dialog.blatt .koerper { padding: 20px 22px; }
@media (max-width: 600px) { dialog.blatt { margin: auto 0 0; width: 100vw; max-width: 100vw; border-radius: var(--px-r) var(--px-r) 0 0; } }

/* ── Skelett (§5.2) ─────────────────────────────────────────────────── */
.skelett { background: linear-gradient(90deg, var(--px-line) 25%, #F1F5FA 50%, var(--px-line) 75%); background-size: 200% 100%; animation: schimmer 1.2s infinite; border-radius: var(--px-r-sm); min-height: 16px; }
@keyframes schimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ── Anmeldeseite ───────────────────────────────────────────────────── */
.anmeldung-seite { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: var(--px-bg); }
.anmeldung-karte { width: min(420px, 100%); background: var(--px-card); border: 1px solid var(--px-line); border-radius: var(--px-r); box-shadow: var(--px-shadow-raised); padding: 32px 28px; }
.anmeldung-karte .logo { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.anmeldung-karte .logo img { width: 44px; height: 44px; border-radius: 12px; }
.anmeldung-karte .knopf { width: 100%; }
/* Anmeldung der SaaS-Verwaltung: Hintergrundbild (productlogo/planexio-login-bg-*), Karte hell */
.anmeldung-seite.anmeldung-verwaltung {
  background: #0B2A5B url("marke/login-hintergrund-4k.4c784ae56884.webp") left center / cover no-repeat;
}
/* Glaskarte (nur SaaS-Verwaltung): durchscheinend, Hintergrund weichgezeichnet */
.glas-karte {
  position: relative; width: min(400px, 100%); padding: 40px 36px 28px; border-radius: 32px; color: #fff;
  background: linear-gradient(160deg, rgba(255,255,255,.20) 0%, rgba(255,255,255,.07) 55%, rgba(67,191,232,.16) 100%);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 30px 80px rgba(3,12,32,.45), inset 0 1px 0 rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
}
.glas-kopf { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 30px; }
.glas-kopf img { width: 220px; max-width: 80%; height: auto; }
.glas-bereich { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.glas-feld { display: flex; align-items: center; gap: 12px; margin: 0 4px 22px; padding: 6px 0 8px; border-bottom: 1.5px solid rgba(255,255,255,.55); transition: border-color .15s; }
.glas-feld:focus-within { border-color: #43BFE8; }
.glas-feld > i { font-size: 17px; color: rgba(255,255,255,.85); }
.glas-feld input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: #fff; font: 15.5px var(--px-font); padding: 4px 0; }
.glas-feld input:focus, .glas-feld input:focus-visible { outline: none; box-shadow: none; border: 0; }
.glas-feld input::placeholder { color: rgba(255,255,255,.72); }
.glas-feld input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 40px rgba(11,42,91,.01) inset; transition: background-color 9999s; caret-color: #fff; }
.glas-auge { border: 0; background: none; color: rgba(255,255,255,.75); cursor: pointer; font-size: 16px; padding: 2px; }
.glas-auge:hover { color: #fff; }
.glas-knopf { width: 100%; margin-top: 12px; padding: 15px 20px; border: 0; border-radius: 16px; cursor: pointer; color: #fff;
  font: 700 14px var(--px-font); letter-spacing: .14em; text-transform: uppercase;
  background: linear-gradient(90deg, #1c79c2 0%, #2a8fd6 50%, #43BFE8 100%);
  box-shadow: 0 10px 26px rgba(10,74,151,.45); transition: transform .12s, box-shadow .12s, filter .12s; }
.glas-knopf:hover { filter: brightness(1.08); box-shadow: 0 14px 30px rgba(10,74,151,.55); }
.glas-knopf:active { transform: translateY(1px); }
.glas-knopf:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(67,191,232,.6), 0 10px 26px rgba(10,74,151,.45); }
.glas-fehler { display: flex; gap: 10px; align-items: flex-start; margin: -10px 0 20px; padding: 10px 14px; border-radius: 14px;
  background: rgba(220,38,38,.28); border: 1px solid rgba(254,202,202,.45); font-size: 14px; }
.glas-merken { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; margin: -6px 4px 8px; color: rgba(255,255,255,.88); font-size: 14px; cursor: pointer; }
.glas-merken input { width: 18px; height: 18px; accent-color: #43BFE8; margin: 0; cursor: pointer; }
.glas-merken small { grid-column: 2; font-size: 12px; color: rgba(255,255,255,.6); }
.glas-ok { background: rgba(22,163,74,.26); border-color: rgba(187,247,208,.45); }
.glas-text { margin: -8px 4px 22px; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.82); }
.glas-link { display: block; margin-top: 16px; text-align: center; font-size: 13.5px; color: rgba(255,255,255,.8); text-decoration: none; }
.glas-link:hover { color: #fff; text-decoration: underline; }
a.glas-knopf { display: block; box-sizing: border-box; text-align: center; text-decoration: none; }
.glas-fuss { margin: 22px 0 0; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.62); }
.glas-fuss .umgebung-marke { margin-right: 6px; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glas-karte { background: rgba(11,42,91,.82); }
}
/* Schmal: Schriftzug im Bild läge unter der Karte — schlichte Fassung */
@media (max-width: 900px) {
  .anmeldung-seite.anmeldung-verwaltung { background-image: url("marke/login-hintergrund-schlicht-4k.63b2450bcd25.webp"); }
}
.fusszeile-marke { text-align: center; margin-top: 18px; font-size: 12.5px; color: var(--px-muted); }

/* ── Rückfrage-Lightbox und Toasts (rueckfrage.js, frontend-design-system §7.3/§7.7) ── */
dialog.px-rueckfrage {
  width: min(500px, calc(100vw - 32px)); max-height: 90vh; padding: 0; border: 0; border-top: 4px solid #0A4A97; border-radius: 4px;
  background: #fff; color: #16233B; color-scheme: light; font-family: var(--px-font);
  box-shadow: 0 11px 15px -7px rgba(0,0,0,.2), 0 24px 38px 3px rgba(0,0,0,.14), 0 9px 46px 8px rgba(0,0,0,.12);
}
dialog.px-rueckfrage::backdrop { background: rgba(14,42,82,.45); }
.px-rf-zu { position: absolute; top: 4px; right: 4px; width: 34px; height: 34px; border: 0; border-radius: 6px; background: none; color: #52627A; cursor: pointer; font-size: 16px; }
.px-rf-zu:hover { background: #E6EDF6; }
.px-rf-koerper { display: flex; gap: 14px; padding: 24px 44px 8px 24px; }
.px-rf-symbol { font-size: 26px; line-height: 1; color: #F59E0B; }
.px-rueckfrage h2 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.px-rueckfrage p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #52627A; white-space: pre-line; }
.px-rf-fuss { display: flex; justify-content: flex-end; gap: 8px; padding: 18px 16px 14px; }
.px-rf-knopf { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 0; border-radius: 6px; cursor: pointer; font: 600 14px var(--px-font); letter-spacing: .02em; text-transform: uppercase; }
.px-rf-knopf:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(67,191,232,.55); }
.px-rf-text { background: none; color: #52627A; }
.px-rf-text:hover { background: #E6EDF6; color: #16233B; }
.px-rf-primaer { background: #0A4A97; color: #fff; }
.px-rf-primaer:hover { background: #083B7A; }
.px-rf-gefahr { background: #DC2626; color: #fff; }
.px-rf-gefahr:hover { background: #B91C1C; }

.px-toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1400; display: flex; flex-direction: column-reverse; gap: 8px; align-items: center; width: min(560px, calc(100vw - 32px)); pointer-events: none; }
.px-toast {
  pointer-events: auto; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 10px 10px 10px 14px;
  border-radius: 4px; color: #fff; font: 500 14.5px/1.4 var(--px-font); box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px 0 rgba(0,0,0,.14), 0 1px 18px 0 rgba(0,0,0,.12);
  animation: px-toast-rein .18s ease-out;
}
.px-toast-erfolg { background: #0E9F6E; }
.px-toast-fehler { background: #B91C1C; }
.px-toast-info { background: #0A4A97; }
.px-toast-warnung { background: #D97706; }
.px-toast-symbol { flex-shrink: 0; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; font-size: 12px; font-weight: 700; }
.px-toast-erfolg .px-toast-symbol { color: #0E9F6E; }
.px-toast-fehler .px-toast-symbol { color: #B91C1C; }
.px-toast-info .px-toast-symbol { color: #0A4A97; }
.px-toast-warnung .px-toast-symbol { color: #D97706; }
.px-toast-text { flex: 1; }
.px-toast-zu { flex-shrink: 0; width: 28px; height: 28px; border: 0; border-radius: 4px; background: none; color: #fff; cursor: pointer; font-size: 14px; opacity: .85; }
.px-toast-zu:hover { opacity: 1; background: rgba(255,255,255,.15); }
.px-toast-weg { opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
@keyframes px-toast-rein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .px-toast { animation: none; } .px-toast-weg { transition: none; } }

/* Formular-Lightbox (rueckfrage.js: data-lightbox) — Felder aus maske.css (design/mfeld.html) */
dialog.px-lightbox {
  width: min(680px, calc(100vw - 32px)); max-height: 90vh; padding: 0; border: 0; border-top: 4px solid #0A4A97; border-radius: 4px;
  background: #fff; color: #16233B; color-scheme: light; font-family: var(--px-font); overflow: hidden;
  box-shadow: 0 11px 15px -7px rgba(0,0,0,.2), 0 24px 38px 3px rgba(0,0,0,.14), 0 9px 46px 8px rgba(0,0,0,.12);
}
dialog.px-lightbox[open] { display: flex; flex-direction: column; }
dialog.px-lightbox::backdrop { background: rgba(14,42,82,.45); }
dialog.px-lightbox > form { display: flex; flex-direction: column; min-height: 0; margin: 0; }
.px-lb-kopf { display: flex; align-items: center; gap: 10px; padding: 18px 12px 6px 24px; }
.px-lb-kopf h2 { flex: 1; margin: 0; font-size: 18px; font-weight: 600; }
.px-lb-koerper { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 24px 4px; }
.px-lb-fuss { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 16px; border-top: 1px solid #E9EFF6; }

/* Niedrige Fenster: Seitenleiste kompakter, damit alle Bereiche ohne Scrollen passen */
@media (max-height: 900px) {
  .seitenleiste nav { padding-top: 6px; padding-bottom: 8px; }
  .seitenleiste .gruppe { margin-top: 8px; }
  .seitenleiste nav a { padding-top: 6px; padding-bottom: 6px; }
  .seitenleiste .dock { padding-top: 4px; padding-bottom: 4px; }
  .seitenleiste .dock-knopf { padding-top: 7px; padding-bottom: 7px; }
}
