/* LiFeMv – zentrales Stylesheet (Konzept 0.8, AP-05; Regelwerk R-2, R-15.2).
   Keine <style>-Blöcke in Templates: neue Regeln gehören hierher. */

/* ── Tokens (Regelwerk R-2) ── */
:root {
  /* Flächen & Text */
  --c-bg:#F5F5F7; --c-surface:#FFFFFF; --c-text:#1D1D1F; --c-muted:#636368;
  --c-border:#D2D2D7; --c-border-soft:#F0F0F2;
  /* Marke / Primär */
  --c-brand:#CC0000; --c-primary:#1D1D1F;
  /* Semantik: je Ton ein Vorder- und ein Hintergrundwert */
  /* AP-15: Textfarben erfüllen 4,5:1 auf Weiß, Seitengrau und dem eigenen getönten Hintergrund (WCAG 1.4.3) */
  --c-success:#137030; --c-success-bg:rgba(19,112,48,.10);
  --c-warning:#A04800; --c-warning-bg:rgba(255,159,10,.12);
  --c-danger:#CC0000;  --c-danger-bg:rgba(204,0,0,.08);
  --c-info:#005FBF;    --c-info-bg:rgba(0,95,191,.10);
  --c-neutral:#636368; --c-neutral-bg:rgba(99,99,104,.12);
  /* Typografie */
  --fs-xs:.75rem; --fs-sm:.8125rem; --fs-md:.9375rem; --fs-base:1rem;
  --fs-lg:1.125rem; --fs-xl:1.5rem; --fs-2xl:2rem;
  --fw-regular:400; --fw-medium:500; --fw-semibold:600; --fw-bold:700;
  /* Abstände (4er-Raster) */
  --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px; --sp-5:20px; --sp-6:24px; --sp-8:32px; --sp-10:40px;
  /* Radien, Schatten */
  --r-sm:8px; --r-md:12px; --r-lg:18px; --r-pill:980px;
  --shadow-card:0 2px 12px rgba(0,0,0,.08); --shadow-pop:0 8px 32px rgba(0,0,0,.12);
  /* Bedienung, Layout */
  --touch-min:44px; --nav-h:52px; --content-max:1200px; --content-narrow:820px;

  /* Aliase für Bestandscode (bis AP-06/AP-07 abgelöst) */
  --bg:var(--c-bg); --white:var(--c-surface); --text:var(--c-text); --muted:var(--c-muted);
  --border:var(--c-border); --red:var(--c-brand); --blue:var(--c-info);
  --green:var(--c-success); --orange:var(--c-warning);
  --shadow:rgba(0,0,0,0.08); --radius:var(--r-lg);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo {
  height: 24px;
  width: auto;
  display: block;
}
.nav-appname {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.version-badge {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  background: #F5F5F7;
  padding: 2px 6px;
  border-radius: 20px;
  font-weight: 400;
  vertical-align: middle;
  margin-left: 4px;
}

/* Vereinsname */
/* Vereinsname: bis zu zwei Zeilen statt „…“; erst danach gekürzt, voller Name im Tooltip */
.nav-vereinsname {
  font-size: var(--fs-xs);
  line-height: 1.25;
  color: var(--muted);
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow-wrap: break-word;
  max-width: 190px;
  min-width: 110px;
  flex: 0 1 190px;
}
.nav-sep {
  width: 1px;
  height: 18px;
  background: var(--border);
  flex-shrink: 0;
}

/* Center items */
.nav-items {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}
.nav-bereich { position: relative; display: flex; align-items: center; height: 100%; }
/* Aktiver Bereich (R-13.2, UX-15): fett, 2 px Unterstrich in Markenrot */
.nav-bereich.aktiv > .nav-link,
.nav-bereich.aktiv > .nav-dropdown > .nav-dropdown-btn,
.nav-right .nav-bereich.aktiv > .nav-dropdown-btn { opacity: 1; font-weight: 600; }
.nav-bereich.aktiv::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px;
  background: var(--c-brand); border-radius: 2px;
}
.nav-right { align-self: stretch; }
.nav-right .nav-bereich { height: 100%; display: flex; align-items: center; }

/* Right section */
.nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Nav links */
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  color: var(--text);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.15s, background 0.12s;
  white-space: nowrap;
}
.nav-link:hover { opacity: 1; background: rgba(0,0,0,0.04); }

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.86rem;
  color: var(--text);
  opacity: 0.75;
  cursor: pointer;
  transition: opacity 0.15s, background 0.12s;
  white-space: nowrap;
}
.nav-dropdown-btn:hover { opacity: 1; background: rgba(0,0,0,0.04); }
.nav-dropdown-btn .caret {
  font-size: var(--fs-xs);
  opacity: 0.6;
  margin-top: 1px;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  min-width: 190px;
  padding: 6px;
  z-index: 200;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.nav-dropdown-menu.align-right { left: auto; right: 0; }
.nav-dropdown.offen .nav-dropdown-menu { display: block; }
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .nav-dropdown-menu { display: block; }
}
.nav-dropdown.offen > .nav-dropdown-btn { opacity: 1; background: rgba(0,0,0,0.04); }
.nav-dropdown-menu a[aria-current="page"] { color: var(--text); font-weight: 600; background: var(--bg); }
.nav-dropdown-menu form { margin: 0; }
.nav-abmelden {
  display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 8px; width: 100%;
  padding: 7px 10px; border: none; border-radius: 8px; background: none; cursor: pointer;
  font: inherit; font-size: 13px; color: var(--c-danger); text-align: left;
}
.nav-abmelden:hover { background: var(--c-danger-bg); }
.nav-abmelden i { font-size: 16px; justify-self: center; }
.nav-dropdown-menu a {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  color: var(--c-muted);
  transition: background 0.12s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--bg); color: var(--text); }
.nav-dropdown-menu a i { font-size: 16px; justify-self: center; }
.nav-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 5px 8px;
}

/* User info in nav */
.nav-user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 10px;
}
.nav-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--text);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0;
}
.nav-username {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text);
}
.nav-role-badge {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 980px;
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.6;
  vertical-align: middle;
}
.nav-role-badge.administrator { background: rgba(204,0,0,0.1);    color: #CC0000; }
.nav-role-badge.verwalter { background: rgba(0,95,191,0.1); color: var(--c-info); }
.nav-role-badge.vorstand  { background: rgba(99,99,104,0.12); color: var(--c-muted); }

/* Logout */
.nav-logout {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  color: var(--red);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.15s, background 0.12s;
}
.nav-logout:hover { opacity: 1; background: rgba(204,0,0,0.06); }

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.page-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
}
.page-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary { background: var(--text); color: var(--white); }
.btn-primary:hover { background: #3a3a3f; }
/* Sekundär: weiß mit Kontur (R-4.1, keine grau gefüllten Buttons) */
.btn-secondary { background: var(--white); color: var(--text); border: 1px solid var(--c-border); }
.btn-secondary:hover { background: var(--bg); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: #005bbf; }
.btn-ghost {
  background: transparent;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 10px;
}
.btn-ghost:hover { background: var(--border); color: var(--text); }
.btn-danger {
  background: transparent;
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
}
.btn-danger:hover { color: var(--red); background: rgba(204,0,0,0.06); }
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 0.5px solid #D2D2D7;
  background: white;
  color: var(--c-muted);
  cursor: pointer;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.1s;
}
.btn-icon:hover { background: #F5F5F7; color: #1D1D1F; }
.btn-icon-danger { color: #CC0000; border-color: #FFCDD2; }
.btn-icon-danger:hover { background: #FFEBEE; }
.btn-icon-success { color: #2E7D32; border-color: #C8E6C9; }
.btn-icon-success:hover { background: #E8F5E9; }
.btn-text {
  background: transparent;
  color: var(--muted);
  padding: 0;
  border-radius: 0;
  font-size: 0.88rem;
}
.btn-text:hover { color: var(--text); }
.btn-sm { padding: 6px 14px; font-size: 0.82rem; }

.btn-gefahr { background: var(--red); color: var(--white); }
.btn-gefahr:hover { background: #A30000; }
.btn:disabled, .btn[disabled] { opacity: 0.4; cursor: not-allowed; }

/* ── Bestätigungsdialog (R-10; Grundform AP-01, Umzug nach app.css in AP-05) ── */
.dlg {
  margin: auto;          /* hebt das globale * { margin:0 } auf – Dialog zentriert */
  border: none;
  border-radius: var(--radius);
  padding: 24px;
  width: min(520px, calc(100vw - 32px));
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  color: var(--text);
  background: var(--white);
}
.dlg::backdrop { background: rgba(0,0,0,0.4); }
.dlg-titel { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
.dlg-inhalt { font-size: 0.92rem; }
.dlg-inhalt p + p { margin-top: 8px; }
.dlg-freigabe { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; font-size: 0.92rem; color: var(--text); cursor: pointer; }
.dlg-freigabe input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; accent-color: var(--text); }
.dlg-aktionen { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.dlg-aktionen .btn { min-height: 44px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 14px 0 0; }
.kv dt { color: var(--muted); }
.kv dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.hinweis-warnung { background: rgba(255,159,10,0.10); border: 1px solid rgba(255,159,10,0.3); color: var(--orange); border-radius: 10px; padding: 10px 14px; font-size: 0.88rem; margin-top: 12px; }
@media (max-width: 767px) {
  .dlg { margin: auto 0 0; width: 100vw; max-width: 100vw; border-radius: 18px 18px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
  .dlg-aktionen .btn { flex: 1 1 auto; justify-content: center; }
}

/* ── Meldungen / Toasts (R-10; AP-02) ── */
.meldungen {
  position: fixed; top: calc(var(--nav-h) + 12px); right: 16px; z-index: 1100;
  display: flex; flex-direction: column; gap: 8px; width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}
.test-banner ~ .meldungen { top: calc(var(--nav-h) + 50px); } /* Testbanner schiebt die Navigation nach unten */
.meldung {
  pointer-events: auto; display: flex; align-items: flex-start; gap: 10px;
  background: var(--white); border-radius: 14px; padding: 12px 12px 12px 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.16); border-left: 4px solid var(--muted);
  font-size: 0.9rem; line-height: 1.45;
}
.meldung > i { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.meldung-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.meldung-aktion { margin-top: 6px; }
.meldung-aktion form { display: inline; }
.meldung-aktion a, .meldung-aktion button {
  background: none; border: none; padding: 0; font: inherit; font-weight: 600;
  color: var(--text); text-decoration: underline; cursor: pointer;
}
.meldung-schliessen {
  background: none; border: none; cursor: pointer; color: var(--muted);
  width: 32px; height: 32px; margin: -6px -6px 0 0; border-radius: 8px; flex-shrink: 0;
}
.meldung-schliessen:hover { background: var(--bg); color: var(--text); }
.meldung-erfolg { border-left-color: var(--c-success); } .meldung-erfolg > i { color: var(--c-success); }
.meldung-info { border-left-color: var(--blue); } .meldung-info > i { color: var(--blue); }
.meldung-warnung { border-left-color: var(--orange); } .meldung-warnung > i { color: var(--orange); }
.meldung-fehler { border-left-color: var(--red); } .meldung-fehler > i { color: var(--red); }
.meldung.ausblenden { opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .25s; }
@media (max-width: 767px) {
  .meldungen { top: auto; bottom: calc(16px + env(safe-area-inset-bottom)); right: 16px; left: 16px; width: auto; }
}

/* ── Fehlerseite (R-14.3; AP-02) ── */
.fehlerseite { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 55vh; text-align: center; max-width: 560px; margin: 0 auto; }
.fehlerseite-code { font-size: 5rem; font-weight: 800; letter-spacing: -0.04em; color: #86868B; line-height: 1; }
.fehlerseite-titel { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; margin: 16px 0 10px; }
.fehlerseite-text { margin-bottom: 24px; }
.fehlerseite-aktionen { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.fehlerseite-hinweis { margin-top: 18px; font-size: 0.8rem; }

/* ── Ladezustand (R-8.7, R-14.1; AP-02) ── */
.laedt { position: relative; pointer-events: none; opacity: 0.75; }
.laedt::after {
  content: ""; width: 14px; height: 14px; margin-left: 8px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  display: inline-block; vertical-align: -2px; animation: lifemv-dreh .7s linear infinite;
}
@keyframes lifemv-dreh { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .laedt::after { animation: none; } }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px var(--shadow);
  padding: 24px;
}
.card-sm { padding: 16px 20px; }

/* ── Stat Cards ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px var(--shadow);
  padding: 20px 22px;
}
.stat-value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.stat-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ── Table ── */
table { width: 100%; border-collapse: collapse; }
th {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 14px 16px;
  border-bottom: 1px solid #F0F0F2;
  font-size: 0.92rem;
  vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--bg); }
.actions { display: flex; align-items: center; gap: 2px; }
/* Rücksprung in eine Liste: Zeile kurz hervorheben (AP-03) */
tr.ist-zurueck td { background: rgba(255,214,10,0.22) !important; transition: background 1.2s; }
tr[id^="m-"] { scroll-margin-top: calc(var(--nav-h) + 96px); scroll-margin-bottom: 96px; }
/* Name/Titel einer Tabellenzeile als echter Link (R-5.3; ersetzt tr onclick) */
.cell-link { color: inherit; text-decoration: none; font-weight: 500; }
.cell-link:hover, .cell-link:focus-visible { text-decoration: underline; }

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 980px;
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
}
/* v0.8.2: Merkmal mit langem Text darf in schmalen Spalten umbrechen (sonst sprengt es die Tabelle) */
.badge-umbruch { white-space: normal; border-radius: 12px; text-align: left; }
.badge-aktiv       { background: rgba(27,138,62,0.12);  color: var(--green); }
.badge-gekuendigt  { background: var(--c-warning-bg); color: var(--c-warning); }
.badge-ausgeschieden { background: rgba(99,99,104,0.12); color: var(--muted); }
.badge-bezahlt     { background: rgba(27,138,62,0.12);  color: var(--green); }
.badge-fehlgeschlagen { background: rgba(180,90,0,0.1); color: #B45A00; }
.badge-neutral     { background: rgba(99,99,104,0.1); color: var(--muted); }
.badge-blue        { background: rgba(0,95,191,0.1);   color: var(--blue); }

/* ── Forms ── */
.section-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  margin-top: 28px;
}
.form-group { margin-bottom: 16px; }
/* Einheitlicher Label-Stil (R-8, AP-09): sichtbar, normal geschrieben, keine Überzeile */
label, .feldgruppe > legend {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 500;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
.form-control,
textarea,
select {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem; /* R-8.6: 16 px, kein Zoomen auf iOS */
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--text); }
/* Einheitliche Akzentfarbe für alle Häkchen und Optionsfelder (AP-12) */
input[type="checkbox"], input[type="radio"] { accent-color: var(--text); }
/* Auswahlfelder mit Pfeil (appearance: none entfernt den Systempfeil) */
select:not([multiple]) {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236E6E73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
input[readonly] { background: var(--bg); color: var(--muted); }
.grid   { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ── Alerts ── */
.alert {
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  margin-bottom: 18px;
}
.alert-error  { background: rgba(204,0,0,0.07); border: 1px solid rgba(204,0,0,0.18); color: var(--red); }
.alert-success { background: rgba(27,138,62,0.07); border: 1px solid rgba(27,138,62,0.2); color: var(--green); }
.alert-info   { background: rgba(0,95,191,0.07); border: 1px solid rgba(0,95,191,0.18); color: var(--blue); }

/* ── Misc ── */
.muted { color: var(--muted); font-size: 0.88rem; }
small.muted { display: block; margin-top: 6px; font-size: 0.8rem; }
a { color: inherit; }

/* ── Pagination ── */
.pagination-wrap { display:flex; flex-direction:column; gap:10px; margin-top:20px; }
.pagination-info { display:flex; justify-content:space-between; align-items:center; font-size:13px; color: var(--c-muted); flex-wrap:wrap; gap:8px; }
.pagination-summary { display:block; }
.pagination-per-page { display:flex; align-items:center; gap:8px; min-width:0; }
.pagination-per-page-label { font-size:13px; color: var(--c-muted); white-space:nowrap; }
.pagination-per-page-links { display:flex; align-items:center; gap:4px; }
.pagination-nav { display:flex; align-items:center; justify-content:center; gap:6px; flex-wrap:wrap; }
.pagination-nav-group { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.pagination-nav-group-end { justify-content:flex-end; }
.btn-page { padding:6px 12px; border-radius:980px; border:0.5px solid #D2D2D7; background:var(--white); color:var(--text); font-size:13px; cursor:pointer; text-decoration:none; font-family:inherit; display:inline-block; }
.btn-page:hover { background:#F5F5F7; }
.btn-page.disabled { color:#8E8E93; border-color:#E8E8ED; cursor:default; pointer-events:none; }
.pagination-current { font-size:13px; color: var(--c-muted); padding:0 8px; }
.per-page-link { padding:4px 8px; border-radius:6px; font-size:13px; color: var(--c-muted); text-decoration:none; border:0.5px solid transparent; display:inline-block; }
.per-page-link:hover { background:#F5F5F7; color:#1D1D1F; }
.per-page-link.active { background:#1D1D1F; color:white; border-color:#1D1D1F; }
.filter-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 980px;
  font-size: 0.78rem;
  background: rgba(204,0,0,0.08);
  color: var(--red);
  text-decoration: none;
  border: 1px solid rgba(204,0,0,0.2);
  white-space: nowrap;
}
.filter-chip-remove {
  font-weight: 700;
  line-height: 1;
}
.filter-chip-neutral {
  background: rgba(99,99,104,0.1);
  color: var(--text);
  border-color: rgba(99,99,104,0.2);
}
.mobile-actions-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mobile-filter-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mobile-tab-strip {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.mobile-tab-strip .tab-link {
  white-space: nowrap;
}
.range-inline {
  display: flex;
  gap: 6px;
  align-items: center;
}
.sort-inline {
  display: flex;
  gap: 6px;
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}
.table-scroll > table {
  margin: 0;
}

/* ── Raster (AP-05) ── */
.raster-2 { display: grid; grid-template-columns: 1fr 1fr; }
.raster-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.raster-4 { display: grid; grid-template-columns: repeat(4, 1fr); }

/* ── Mobile ── */
@media (max-width: 820px) {
  .main-nav { padding: 0 12px; gap: 10px; }
  .container { padding: 18px 12px; }
  .page-title { font-size: 1.55rem; }
  .topbar { flex-direction: column; align-items: flex-start; }
  .topbar > div { width: 100%; flex-wrap: wrap; }

  .version-badge { display: none; }
  .mobile-actions-row { width: 100%; }
  .mobile-actions-row .btn,
  .mobile-actions-row .btn-ghost,
  .mobile-actions-row .btn-secondary { flex: 1 1 auto; justify-content: center; }
  .mobile-filter-controls { width: 100%; }
  .mobile-filter-controls > input[type="text"], .mobile-filter-controls > input[type="search"] { max-width: none !important; min-width: 0; }
  .mobile-filter-controls > .btn,
  .mobile-filter-controls > .btn-ghost,
  .mobile-filter-controls > button { flex: 1 1 auto; justify-content: center; }
  .pagination-info { align-items: flex-start; }
  .pagination-summary { width: 100%; }
  .pagination-per-page {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .pagination-per-page-links { min-width: max-content; }
  .per-page-link { padding: 5px 10px; }
  .pagination-nav {
    width: 100%;
    justify-content: space-between;
    row-gap: 8px;
  }
  .pagination-nav-group { flex: 1 1 0; min-width: 0; }
  .pagination-nav-group-end { justify-content: flex-end; }
  .pagination-current { order: 3; width: 100%; text-align: center; padding: 2px 0 0; }
  .btn-page { white-space: nowrap; }
  .filter-chip-wrap { gap: 8px; }
  .filter-chip {
    padding: 5px 11px;
    font-size: 0.8rem;
    white-space: normal;
  }
  .range-inline,
  .sort-inline { width: 100%; }
  .range-inline > input,
  .sort-inline > select { flex: 1 1 0; min-width: 0; width: auto !important; }
  .mobile-tab-strip { width: 100%; padding-bottom: 2px; }
  .actions .btn-icon { width: 36px !important; height: 36px !important; font-size: 18px !important; }

  /* Raster (statt Attribut-Selektoren auf Inline-Styles, R-12.5) */
  .raster-2, .raster-3 { grid-template-columns: 1fr; }
  .raster-4 { grid-template-columns: 1fr 1fr; }

  /* Tables: allow horizontal scroll inside cards */
  .card { overflow-x: auto; }
  .table-scroll > table { min-width: 680px; }
  th, td { white-space: nowrap; }
}

/* ── Mobile Menu (Drawer) ── */
.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-burger i { font-size: 20px; }

.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.32);
  z-index: 1000;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(88vw, 340px);
  background: var(--white);
  border-left: 1px solid var(--border);
  z-index: 1001;
  padding: 14px 14px 18px;
  box-shadow: -12px 0 32px rgba(0,0,0,0.14);
  overflow-y: auto;
}
.mobile-menu.open,
.mobile-menu-overlay.open { display: block; }
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 6px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}
.mobile-menu-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mobile-menu-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
}
.mobile-menu-close i { font-size: 18px; color: var(--muted); }
.mobile-section { margin: 12px 0; }
.mobile-section-title {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 6px 6px;
}
.mobile-link {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
}
.mobile-link:hover { background: var(--bg); }
.mobile-link i { font-size: 18px; color: var(--muted); justify-self: center; }
.mobile-link.danger { color: var(--red); }
.mobile-link.danger i { color: var(--red); }
button.mobile-link { width: 100%; border: none; background: none; font: inherit; text-align: left; cursor: pointer; }
.mobile-link[aria-current="page"] { font-weight: 600; background: var(--bg); box-shadow: inset 3px 0 0 var(--c-brand); }
.mobile-link[aria-current="page"] i { color: var(--text); }
.mobile-menu-user { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mobile-menu-user .nav-username { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-menu form { margin: 0; }

/* ── Navigation: Breakpoints (AP-08, UX-11) ── */
@media (max-width: 1279px) {
  .nav-vereinsname, .nav-sep { display: none; }
}
@media (max-width: 1099px) {
  .nav-items, .nav-right { display: none; }
  .nav-burger { display: inline-flex; }
}
@media (min-width: 1100px) and (max-width: 1439px) {
  .nav-link, .nav-dropdown-btn { padding: 6px 9px; }
  .nav-right .nav-username { display: none; }
}

/* ── Testbanner und Seitenfuß (vorher Inline-Styles) ── */
.test-banner {
  background: repeating-linear-gradient(45deg, #FFD400, #FFD400 12px, #FFC300 12px, #FFC300 24px);
  color: #7a4f00; text-align: center; font-weight: 800; font-size: 0.92rem;
  letter-spacing: 0.08em; padding: 7px 10px; box-shadow: 0 2px 6px rgba(0,0,0,0.15); z-index: 999;
}
.seitenfuss { text-align: center; padding: 20px 0 28px; font-size: var(--fs-xs); color: var(--muted); border-top: 1px solid var(--border); margin-top: 32px; }
.seitenfuss a { color: var(--muted); text-decoration: none; margin: 0 10px; }
.seitenfuss a:hover { color: var(--text); }
.seitenfuss-trenner { color: var(--border); }
.impressum-logo { margin-top: 8px; }
.impressum-logo img { height: 36px; width: auto; }


/* ── Rechtstexte (Impressum, Datenschutz) ── */
.legal-page { max-width: 720px; margin: 0 auto; }
.legal-page h1 { font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; }
.legal-page h2 { font-size: 1.05rem; font-weight: 600; margin: 24px 0 6px; }
.legal-page h3 { font-size: 0.95rem; font-weight: 600; margin: 16px 0 4px; }
.legal-page p, .legal-page address { font-size: 0.93rem; line-height: 1.7; color: var(--text); font-style: normal; }
.legal-page p { margin-bottom: 6px; }
.legal-page ul { font-size: 0.93rem; line-height: 1.7; padding-left: 20px; margin-bottom: 8px; }
.legal-page a { color: var(--blue); }
.legal-page .meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 20px; }


/* ── Vorschau-Kacheln (Spendenquittungen, Quittungsbericht) ── */
.preview-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-bottom:24px; }
.preview-card { background:var(--white); border-radius:var(--radius); box-shadow:0 1px 8px var(--shadow); padding:20px 24px; text-align:center; }
.preview-value { font-size:2rem; font-weight:700; letter-spacing:-0.03em; }
.preview-label { font-size:0.78rem; color:var(--muted); text-transform:uppercase; letter-spacing:0.04em; margin-top:4px; }
@media(max-width:600px){ .preview-grid{ grid-template-columns:1fr; } }

.info-box { background:rgba(0,95,191,0.06); border:1px solid rgba(0,95,191,0.18); border-radius:12px; padding:14px 18px; font-size:0.88rem; color:var(--text); margin-bottom:20px; }


/* ── Geburtstagsübersicht ── */
.geburtstags-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
@media (max-width: 768px) {
.geburtstags-grid { grid-template-columns: 1fr; }
}


/* ── Mitgliedsformular: Abschnitte ── */
.form-section { background:var(--white);border-radius:var(--radius);box-shadow:0 2px 12px var(--shadow);margin-bottom:12px;overflow:hidden }
.form-section-header {
display:flex;align-items:center;justify-content:space-between;gap:10px;
padding:16px 24px;cursor:pointer;user-select:none;
border-bottom:1px solid transparent;transition:border-color 0.15s;
width:100%;background:none;border-top:0;border-left:0;border-right:0;font:inherit;color:inherit;text-align:left
}
.form-section-header:focus-visible { outline: 2px solid var(--c-info); outline-offset: -2px; }
.form-section-header:hover { background:var(--bg) }
.form-section-header.open { border-bottom-color:var(--border) }
.form-section-title { font-size:0.9rem;font-weight:600;letter-spacing:-0.01em }
.form-section-arrow { font-size:0.75rem;color:var(--muted);transition:transform 0.2s }
.form-section-arrow.open { transform:rotate(180deg) }
.form-section-body { padding:20px 24px 24px }
.form-section-body.collapsed { display:none }


/* ── Laufergebnis ── */
.status-card {
border-radius: var(--radius);
padding: 20px 24px;
display: flex;
align-items: center;
gap: 16px;
}
.status-card .sc-icon {
font-size: 1.6rem;
line-height: 1;
flex-shrink: 0;
}
.status-card .sc-num {
font-size: 1.8rem;
font-weight: 700;
letter-spacing: -0.03em;
line-height: 1;
}
.status-card .sc-label {
font-size: 0.8rem;
margin-top: 3px;
opacity: 0.75;
}
.collapsible-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px;
cursor: pointer;
border-radius: var(--radius);
border: 1px solid transparent;
user-select: none;
font-weight: 600;
font-size: 0.95rem;
gap: 12px;
}
.collapsible-header:hover { filter: brightness(0.97); }
.collapsible-header .ch-arrow {
font-size: 0.75rem;
transition: transform 0.2s;
flex-shrink: 0;
}
.collapsible-header.open .ch-arrow { transform: rotate(180deg); }
.collapsible-body { display: none; }
.collapsible-body.open { display: block; }
.tbl-page-row { display: none; }
.tbl-page-row.visible { display: table-row; }
.tbl-pagination {
display: flex; align-items: center; justify-content: center;
gap: 10px; padding: 14px 16px;
border-top: 1px solid var(--border);
font-size: 0.85rem;
}
.tbl-pagination button {
padding: 5px 14px; border-radius: 980px; border: 1px solid var(--border);
background: var(--white); cursor: pointer; font-family: inherit;
font-size: 0.82rem; font-weight: 500;
}
.tbl-pagination button:hover:not(:disabled) { background: var(--bg); }
.tbl-pagination button:disabled { opacity: 0.35; cursor: default; }
.tbl-pagination .pg-info { color: var(--muted); min-width: 90px; text-align: center; }


/* ── Jahresabrechnung ── */
.lauf-card { background:var(--white); border-radius:var(--radius); box-shadow:0 1px 8px var(--shadow); margin-bottom:24px; overflow:hidden; }
.lauf-header { padding:20px 24px 0; }
.lauf-title { font-size:1.05rem; font-weight:700; margin-bottom:4px; }
.lauf-meta { font-size:0.82rem; color:var(--muted); margin-bottom:12px; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.lauf-stats { display:flex; gap:24px; padding:12px 24px; background:#FAFAFA; border-top:1px solid var(--border); border-bottom:1px solid var(--border); flex-wrap:wrap; }
.lauf-stat { text-align:center; }
.lauf-stat-v { font-size:1.3rem; font-weight:700; }
.lauf-stat-l { font-size:var(--fs-xs); color:var(--muted); }
.badge-jb { background:rgba(0,95,191,0.1); color: var(--c-info); }
.badge-nz { background:rgba(255,159,10,0.12); color: var(--c-warning); }
.badge-ok { background:rgba(19,112,48,0.1); color:var(--c-success); }
.badge-err { background:rgba(204,0,0,0.1); color:var(--red); }
.summary-card { background:var(--white); border-radius:var(--radius); box-shadow:0 1px 8px var(--shadow); padding:24px; }
.summary-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.summary-item .label { font-size:0.78rem; color:var(--muted); text-transform:uppercase; letter-spacing:0.04em; }
.summary-item .value { font-size:1.5rem; font-weight:700; }
details.lauf-details > summary { list-style:none; cursor:pointer; padding:14px 24px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-top:1px solid var(--border); color:var(--muted); font-size:0.88rem; }
details.lauf-details > summary::-webkit-details-marker { display:none; }
details.lauf-details[open] > summary { background:#FAFAFA; color:var(--text); }
.details-arrow { font-size:0.8rem; opacity:0.7; }


/* ── Offene Posten ── */
.summary-row { display:flex; gap:16px; margin-bottom:20px; flex-wrap:wrap; }
.summary-pill { padding:12px 20px; border-radius:14px; font-size:0.88rem; }
.pill-red { background:rgba(204,0,0,0.07); border:1px solid rgba(204,0,0,0.18); }
.pill-value { font-size:1.4rem; font-weight:700; }
.pill-label { font-size:0.75rem; color:var(--muted); }


/* ── Bestand (auf die Seite beschränkt: eigene .stat-*-Varianten) ── */
.seite-bestand .stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.seite-bestand .stat-card { background: var(--white); border-radius: var(--radius); box-shadow: 0 1px 8px var(--shadow); padding: 20px 24px; }
.seite-bestand .stat-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.seite-bestand .stat-value { font-size: 2rem; font-weight: 700; color: var(--text); letter-spacing: -0.03em; }
.seite-bestand .stat-sub { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }
.seite-bestand .bar-wrap { display: flex; align-items: center; gap: 10px; }
.seite-bestand .bar-track { flex: 1; background: #F0F0F0; border-radius: 4px; height: 20px; }
.seite-bestand .bar-fill { height: 20px; border-radius: 4px; background: var(--red); transition: width 0.3s; }
.seite-bestand .bar-label { font-size: 0.82rem; color: var(--muted); min-width: 32px; text-align: right; }
.seite-bestand .summe-row td { font-weight: 700; border-top: 2px solid var(--border) !important; }
@media(max-width:700px){ .seite-bestand .stat-grid{ grid-template-columns:1fr 1fr; } }


/* ── Anmeldung (eigenständige Seite, auf .seite-login beschränkt) ── */
.seite-login .test-banner { position: fixed; top: 0; left: 0; right: 0; }
body.seite-login {
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
background: var(--bg);
color: var(--text);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
-webkit-font-smoothing: antialiased;
}
.seite-login .login-wrap {
width: 100%;
max-width: 400px;
padding: 20px;
}
.seite-login .brand {
text-align: center;
margin-bottom: 32px;
}
.seite-login .brand-name {
font-size: 1.5rem;
font-weight: 700;
letter-spacing: -0.02em;
color: var(--text);
}
.seite-login .brand-logo {
height: 40px;
width: auto;
vertical-align: middle;
}
.seite-login .brand-sub {
font-size: 0.85rem;
color: var(--muted);
margin-top: 4px;
}
.seite-login .login-vereinsname {
font-size: 0.875rem;
color: var(--c-muted);
margin-top: 4px;
text-align: center;
}
.seite-login .card {
background: var(--white);
border-radius: 18px;
box-shadow: 0 2px 20px var(--shadow);
padding: 36px 32px;
}
.seite-login .card h2 {
font-size: 1.3rem;
font-weight: 600;
letter-spacing: -0.01em;
margin-bottom: 24px;
}
.seite-login .form-group {
margin-bottom: 16px;
}
.seite-login label {
display: block;
font-size: 0.82rem;
color: var(--muted);
margin-bottom: 6px;
}
.seite-login input[type="text"],
.seite-login input[type="password"] {
width: 100%;
padding: 12px 16px;
border: 1.5px solid var(--border);
border-radius: 12px;
font-family: inherit;
font-size: 0.95rem;
color: var(--text);
background: var(--white);
outline: none;
transition: border-color 0.15s;
-webkit-appearance: none;
}
.seite-login input:focus { border-color: var(--text); }
.seite-login .btn-submit {
width: 100%;
padding: 13px;
background: var(--text);
color: var(--white);
border: none;
border-radius: 980px;
font-family: inherit;
font-size: 0.95rem;
font-weight: 500;
cursor: pointer;
margin-top: 8px;
transition: background 0.15s;
}
.seite-login .btn-submit:hover { background: #3a3a3f; }
.seite-login .error {
background: rgba(204,0,0,0.07);
border: 1px solid rgba(204,0,0,0.2);
color: var(--red);
border-radius: 10px;
padding: 10px 14px;
font-size: 0.85rem;
margin-bottom: 18px;
}
.seite-login .login-version {
font-size: var(--fs-xs);
color: var(--c-muted);
text-align: center;
margin-top: 24px;
}
.seite-login .dev-credit {
display: flex;
align-items: center;
justify-content: center;
margin-top: 28px;
}
.seite-login .dev-credit img {
height: 36px;
width: auto;
opacity: 0.55;
}

/* ══════════════════════════════════════════════════════════════════════════
   Komponenten (AP-06, Regelwerk R-15) – Makros in templates/components/
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Status-Badges nach Ton (status_badge, R-11.2) ── */
.badge-success { background: var(--c-success-bg); color: var(--c-success); }
.badge-warning { background: var(--c-warning-bg); color: var(--c-warning); }
.badge-danger  { background: var(--c-danger-bg);  color: var(--c-danger); }
.badge-info    { background: var(--c-info-bg);    color: var(--c-info); }
.badge-neutral { background: var(--c-neutral-bg); color: var(--c-neutral); }
.badge-brand   { background: rgba(204,0,0,0.08);  color: #A30000; }
.badge-gross   { font-size: var(--fs-sm); padding: 4px 12px; }
.badge-punkt::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.badge i { font-size: 0.85em; vertical-align: -1px; }

/* ── Seitenkopf (page_header, R-3) ── */
.seitenkopf { margin-bottom: var(--sp-6); }
.seitenkopf-zurueck { display: inline-flex; align-items: center; gap: 6px; margin-bottom: var(--sp-3); color: var(--muted); text-decoration: none; font-size: var(--fs-md); }
.seitenkopf-zurueck:hover { color: var(--text); }
.seitenkopf-zeile { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.seitenkopf h1, .page-title { font-size: var(--fs-2xl); font-weight: var(--fw-bold); letter-spacing: -0.03em; line-height: 1.15; color: var(--text); }
.seitenkopf-unter { font-size: var(--fs-md); color: var(--muted); margin-top: var(--sp-1); max-width: 70ch; }
.seitenkopf-meta { display: flex; gap: var(--sp-2); flex-wrap: wrap; align-items: center; margin-top: var(--sp-2); }
.seitenkopf-aktionen { display: flex; gap: var(--sp-2); flex-wrap: wrap; align-items: center; }
/* Kennzahlen im Kopf von Detailseiten (R-9.2, AP-10) */
.kopf-kennzahlen { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6); margin: var(--sp-4) 0 0; }
.kopf-kennzahlen > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kopf-kennzahlen dt { font-size: var(--fs-xs); color: var(--muted); }
.kopf-kennzahlen dd { margin: 0; font-size: var(--fs-md); font-weight: var(--fw-semibold, 600); color: var(--text); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.kopf-kennzahlen dd a { color: inherit; }

/* Verlauf im Klartext (R-9.4, AP-10) */
.verlauf { list-style: none; margin: 0; padding: 0; }
.verlauf-eintrag { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-4) var(--sp-5); border-top: 1px solid var(--c-border-soft); }
.verlauf-eintrag:first-child { border-top: 0; }
.verlauf-inhalt { flex: 1; min-width: 0; }
.verlauf-kopf { font-size: var(--fs-md); color: var(--text); }
.verlauf-kopf .verlauf-zeit { color: var(--muted); }
.verlauf-aenderungen { list-style: none; margin: 6px 0 0; padding: 0; font-size: var(--fs-md); }
.verlauf-aenderungen li { padding: 2px 0; overflow-wrap: anywhere; }
.verlauf-feld { color: var(--muted); }
.verlauf-alt { color: var(--muted); }
.verlauf-pfeil { color: var(--muted); margin: 0 4px; }
.verlauf-kommentar { font-size: var(--fs-sm); color: var(--muted); margin-top: 4px; }

/* ── Karten mit Titel, Schlüssel-Wert-Listen (card, kv_list) ── */
.card-abstand { margin-top: var(--sp-4); }
.card-titel { font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--sp-4); }
.kv-liste { display: grid; gap: 14px; }
.kv-label { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 2px; }
.kv-wert.mono, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 0.92rem; }
.wert-gross { font-size: 2.2rem; font-weight: var(--fw-bold); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: var(--sp-1); }

/* ── Kennzahl-Karten (stat_card) ── */
.kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--sp-4); margin-bottom: var(--sp-6); }
.kennzahl { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: var(--sp-5) var(--sp-6); }
.kennzahl-label { font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: var(--fw-medium); }
.kennzahl-wert { font-size: 2rem; font-weight: var(--fw-bold); letter-spacing: -0.03em; line-height: 1.15; margin-top: var(--sp-1); }
.kennzahl-unter { font-size: var(--fs-sm); color: var(--muted); margin-top: 2px; }
.kennzahl-success .kennzahl-wert { color: var(--c-success); }
.kennzahl-danger .kennzahl-wert { color: var(--c-danger); }
.kennzahl-warning .kennzahl-wert { color: var(--c-warning); }
.kennzahl-info .kennzahl-wert { color: var(--c-info); }

/* ── Leerzustand (empty_state, R-14.4) ── */
.leerzustand { text-align: center; padding: var(--sp-10) var(--sp-6); color: var(--muted); }
.leerzustand > i { font-size: 2rem; color: var(--border); display: block; margin-bottom: var(--sp-2); }
/* AP-19: kompakte Aufzählung (z. B. Ergebnis der Sammelanonymisierung) */
.liste-kompakt { margin: 0; padding-left: 1.25em; }
.liste-kompakt li + li { margin-top: 2px; }
.leerzustand-titel { font-weight: var(--fw-semibold); color: var(--text); margin-bottom: var(--sp-1); }
.leerzustand-text { font-size: var(--fs-md); }
.leerzustand .btn { margin-top: var(--sp-4); }
td.leerzustand { padding: var(--sp-10) var(--sp-4); }

/* ── Meldungsboxen in der Seite (alert, R-10.5) ── */
.alert { display: flex; gap: 10px; align-items: flex-start; }
.alert > i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.alert-warning { background: var(--c-warning-bg); border: 1px solid rgba(255,159,10,0.3); color: var(--c-warning); }
.alert-neutral { background: var(--c-neutral-bg); border: 1px solid rgba(99,99,104,0.22); color: var(--muted); }
.alert-inhalt { flex: 1; min-width: 0; }
.alert-titel { font-weight: var(--fw-semibold); }

/* ── Tabs (tabs) ── */
.tabs { display: flex; gap: 2px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.tabs a { white-space: nowrap; text-decoration: none; color: var(--muted); font-size: var(--fs-md); font-weight: var(--fw-medium); }
.tabs-reiter { border-bottom: 1px solid var(--border); margin-bottom: var(--sp-6); }
.tabs-reiter a { padding: 10px 18px; border-radius: 10px 10px 0 0; border: 1px solid transparent; position: relative; top: 1px; }
.tabs-reiter a[aria-current="page"] { background: var(--white); color: var(--text); border-color: var(--border); border-bottom-color: var(--white); }
.tabs-segment { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 3px; width: fit-content; max-width: 100%; margin-bottom: var(--sp-4); }
.tabs-segment a { padding: 5px 15px; border-radius: var(--r-pill); font-size: var(--fs-sm); }
.tabs-segment a[aria-current="page"] { background: var(--white); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.tabs a:hover { color: var(--text); }
.tab-zaehler { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 6px; border-radius: var(--r-pill); background: var(--c-neutral-bg); color: var(--muted); font-size: var(--fs-xs); text-align: center; }

/* ── Aktionsmenü „⋯“ (action_menu, R-4; Verhalten in app.js) ── */
.aktionsmenue { position: relative; display: inline-block; }
.aktionsmenue > summary { list-style: none; cursor: pointer; }
.aktionsmenue > summary::-webkit-details-marker { display: none; }
.aktionsmenue-liste { position: absolute; right: 0; top: calc(100% + 4px); z-index: 300; min-width: 220px; background: var(--white); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-pop); padding: 6px; }
.aktionsmenue-liste a, .aktionsmenue-liste button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; min-height: 40px; border: none; background: none; border-radius: 8px; font: inherit; font-size: var(--fs-md); color: var(--text); text-decoration: none; text-align: left; cursor: pointer; }
.aktionsmenue-liste a:hover, .aktionsmenue-liste button:hover { background: var(--bg); }
.aktionsmenue-liste .gefahr { color: var(--c-danger); }
.aktionsmenue-liste hr { border: none; border-top: 1px solid var(--border); margin: 5px 4px; }
.aktionsmenue-liste form { display: block; }
.aktionsmenue-liste i { font-size: 18px; color: var(--muted); flex: 0 0 auto; }
.aktionsmenue-liste .gefahr i { color: inherit; }
.aktionsmenue-liste button[disabled] { color: var(--muted); cursor: default; background: none; font-size: var(--fs-sm); }
.aktionsmenue-liste a:focus-visible, .aktionsmenue-liste button:focus-visible { outline: 2px solid var(--c-info); outline-offset: -2px; background: var(--bg); }
.aktionsmenue > summary[aria-expanded="true"] { background: var(--bg); color: var(--text); }
.aktionsmenue > summary.btn { gap: 6px; }

/* Pfeil-Icons (AP-07, statt ▼/▸): drehbar */
.form-section-arrow, .ch-arrow, .details-arrow, .caret { display: inline-block; }

/* ── Aktionsspalte in Listen (R-4.3): rechts, höchstens 2 Icons + „⋯“ ── */
th.zeile-aktionen, td.zeile-aktionen { width: 1%; white-space: nowrap; text-align: right; }
td.zeile-aktionen .actions { justify-content: flex-end; gap: 6px; }
.btn-icon i { pointer-events: none; }

/* ── Datentabelle (.dt) ── */
.dt { width: 100%; }
.dt th.zahl, .dt td.zahl { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dt td.aktionen { width: 1%; white-space: nowrap; text-align: right; }
.card-tabelle { padding: 0; overflow: hidden; }

/* ── Formularfelder (field, form_actions; Einsatz in AP-09) ── */
.feld { margin-bottom: var(--sp-4); }
.feld-pflicht { color: var(--c-brand); margin-left: 2px; }
.feld-hinweis { display: block; margin-top: 6px; font-size: var(--fs-sm); color: var(--muted); }
.feld-fehler { display: flex; gap: 6px; align-items: center; margin-top: 6px; font-size: var(--fs-sm); color: var(--c-danger); }
.feld-ungueltig input, .feld-ungueltig select, .feld-ungueltig textarea { border-color: var(--c-danger); }
.formular-aktionen { display: flex; justify-content: flex-end; gap: var(--sp-2); margin-top: var(--sp-5); flex-wrap: wrap; }
@media (max-width: 767px) {
  /* R-4.3: Abbrechen | Speichern mobil am unteren Rand */
  .formular-aktionen {
    position: sticky; bottom: 0; z-index: 50; margin: var(--sp-5) -12px 0; padding: 12px;
    background: rgba(255,255,255,0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
  }
  .formular-aktionen .btn { flex: 1 1 0; justify-content: center; }
}
.pflicht-hinweis { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 var(--sp-4); }
.fehler-zusammenfassung { margin-bottom: var(--sp-5); }
.fehler-zusammenfassung:focus { outline: 2px solid var(--c-danger); outline-offset: 2px; }
.fehler-zusammenfassung a { color: inherit; text-decoration: underline; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--c-danger); }
fieldset.feldgruppe { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
fieldset.feldgruppe > legend { padding: 0; }
label.auswahl { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 400; font-size: var(--fs-md); cursor: pointer; }
.form-section-zusammenfassung { font-size: var(--fs-sm); color: var(--muted); font-weight: 400; margin-left: auto; margin-right: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.form-section-header.open .form-section-zusammenfassung { display: none; }
.feld-label-klein { display: block; font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--sp-1); }
.feld-gruppe-titel { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: var(--sp-2); }

/* ── Platzhalter in Brieftexten ── */
code.platzhalter { background: var(--bg); padding: 1px 6px; border-radius: 4px; font-size: max(12px, 0.92em); }

/* ── Hilfsklassen (4er-Raster, R-2.3) ── */
.m-0 { margin: 0 !important; } .mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: var(--sp-1); } .mt-2 { margin-top: var(--sp-2); } .mt-3 { margin-top: var(--sp-3); } .mt-4 { margin-top: var(--sp-4); } .mt-5 { margin-top: var(--sp-5); } .mt-6 { margin-top: var(--sp-6); }
.mb-1 { margin-bottom: var(--sp-1); } .mb-2 { margin-bottom: var(--sp-2); } .mb-3 { margin-bottom: var(--sp-3); } .mb-4 { margin-bottom: var(--sp-4); } .mb-5 { margin-bottom: var(--sp-5); } .mb-6 { margin-bottom: var(--sp-6); } .mb-8 { margin-bottom: var(--sp-8); }
.ml-1 { margin-left: var(--sp-1); } .ml-2 { margin-left: var(--sp-2); } .ml-auto { margin-left: auto; }
.p-0 { padding: 0 !important; } .p-4 { padding: var(--sp-4); } .p-5 { padding: var(--sp-5); }
.text-xs { font-size: var(--fs-xs); } .text-sm { font-size: var(--fs-sm); } .text-md { font-size: var(--fs-md); } .text-base { font-size: var(--fs-base); }
.text-muted { color: var(--muted); } .text-default { color: var(--text); } .text-danger { color: var(--c-danger); } .text-success { color: var(--c-success); } .text-warning { color: var(--c-warning); } .text-info { color: var(--c-info); }
.text-right { text-align: right; } .text-center { text-align: center; } .nowrap { white-space: nowrap; } .pre-wrap { white-space: pre-wrap; }
.fw-400 { font-weight: 400; } .fw-500 { font-weight: 500; } .fw-600 { font-weight: 600; } .fw-700 { font-weight: 700; }
.d-inline { display: inline; } .d-block { display: block; } .d-grid { display: grid; }
.flex { display: flex; } .inline-flex { display: inline-flex; } .flex-col { flex-direction: column; } .wrap { flex-wrap: wrap; } .flex-1 { flex: 1; min-width: 0; }
.items-center { align-items: center; } .items-start { align-items: flex-start; } .items-end { align-items: flex-end; } .items-baseline { align-items: baseline; }
.justify-between { justify-content: space-between; } .justify-end { justify-content: flex-end; } .justify-center { justify-content: center; }
.gap-1 { gap: var(--sp-1); } .gap-2 { gap: var(--sp-2); } .gap-3 { gap: var(--sp-3); } .gap-4 { gap: var(--sp-4); } .gap-5 { gap: var(--sp-5); } .gap-6 { gap: var(--sp-6); }
.w-full { width: 100%; } .scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; } .overflow-hidden { overflow: hidden; }
.align-top { vertical-align: top; } .cursor-pointer { cursor: pointer; } .uppercase { text-transform: uppercase; }
.breite-schmal { max-width: var(--content-narrow); margin-left: auto; margin-right: auto; }
.breite-mittel { max-width: 900px; margin-left: auto; margin-right: auto; }

/* ── Vorschau der Schreiben (V084-05) ── */
.vorschau-blaettern { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-4); }
.vorschau-empfaenger { flex: 1 1 12rem; min-width: 0; text-align: center; font-size: var(--fs-md, 1rem); font-weight: var(--fw-semibold); overflow-wrap: anywhere; margin: 0; }
.vorschau-pdf { display: block; width: 100%; height: 75vh; min-height: 26rem; border: 1px solid var(--c-border); border-radius: var(--radius, 8px); background: var(--white); }
@media (max-width: 600px) {
  .vorschau-blaettern .btn { flex: 1 1 0; justify-content: center; }
  .vorschau-empfaenger { order: -1; flex-basis: 100%; }
}

/* ── Weitere Bausteine (AP-06, aus wiederkehrenden Inline-Styles) ── */
.pt-2 { padding-top: var(--sp-2); }
.pt-4 { padding-top: var(--sp-4); }
.min-w-0 { min-width: 0; }
.visuell-versteckt { position: absolute !important; left: -9999px; opacity: 0; pointer-events: none; }
.sortlink { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.sortpfeil { font-size: var(--fs-xs); opacity: 0.3; }
.sortpfeil-aktiv { font-size: var(--fs-xs); }
.balken { background: var(--bg); border-radius: 6px; height: 10px; overflow: hidden; }
.checkbox { width: auto; margin: 0; accent-color: var(--text); }
.feld-kurz { width: 96px; }
/* Jahreszahl: Breite nach Inhalt (UX-29) */
.feld-jahr { width: 8.5ch; min-width: 96px; }
.btn-gross { font-size: var(--fs-base); padding: 10px 24px; }
.wert-mittel { font-size: 1.4rem; font-weight: var(--fw-bold); letter-spacing: -0.03em; }
.feld-mehrzeilig { line-height: 1.5; resize: vertical; }
.feld-brieftext { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: var(--fs-md); line-height: 1.6; }
.vorschau-kachel { background: var(--bg); border-radius: var(--r-md); padding: 14px 16px; }
.vorschau-kachel-danger { background: var(--c-danger-bg); }
.vorschau-kachel-success { background: var(--c-success-bg); }
.vorschau-kachel-warning { background: var(--c-warning-bg); }
.status-kreis { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px; font-weight: 900; }
.status-kreis-success { background: var(--c-success-bg); color: var(--c-success); }
.hilfetext { font-size: var(--fs-sm); color: var(--muted); margin-top: 6px; line-height: 1.7; }

/* ── Detailseite Mitglied (AP-06) ── */
.btn-gefahr-kontur { background: var(--c-danger-bg); color: var(--c-danger); border: 1px solid rgba(204,0,0,0.25); }
.btn-gefahr-kontur:hover { background: rgba(204,0,0,0.14); }
.btn-mini { background: none; border: none; cursor: pointer; font-size: var(--fs-sm); padding: 1px 3px; line-height: 1; vertical-align: middle; }
.btn-kachel { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; background: var(--c-info-bg); color: var(--c-info); border: none; cursor: pointer; text-decoration: none; font-size: var(--fs-sm); vertical-align: middle; }
.btn-kachel-aus { background: none; color: var(--border); cursor: default; }
.tabelle-historie { font-size: var(--fs-sm); }
details.aenderungen > summary { font-size: var(--fs-sm); color: var(--muted); list-style: none; cursor: pointer; padding: 0; min-height: 44px; display: flex; align-items: center; gap: var(--sp-1); }
details.aenderungen > summary::-webkit-details-marker { display: none; }
.aenderungen-pfeil { display: inline-block; transition: transform 0.15s; }
details.aenderungen[open] .aenderungen-pfeil { transform: rotate(90deg); }
.aenderungen-tabelle { width: 100%; margin-bottom: var(--sp-3); }
.aenderungen-tabelle th { font-size: var(--fs-xs); padding: 6px 10px; }
.aenderungen-tabelle td { font-size: var(--fs-sm); padding: 4px 10px; overflow-wrap: anywhere; }
.dlg .form-group { margin-bottom: 14px; }
.dlg .dlg-titel { margin-bottom: var(--sp-5); }
.dlg-freigabe .feld-hinweis { margin-top: 2px; }

/* ── Statistik: Säulen und Statuskacheln (AP-06) ── */
.saeulen { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.saeule { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.saeule-balken { width: 100%; border-radius: 4px 4px 0 0; background: var(--border); }
.saeule-aktuell { background: var(--c-info); }
.balken-fuellung { height: 100%; border-radius: 6px; background: var(--c-info); transition: width 0.3s; }
/* Farben der Verteilungsbalken (AP-16: vorher Inline-Styles; Werte unverändert) */
.balken-maennlich { background: var(--c-info); }
.balken-weiblich { background: #E3007E; }
.balken-divers { background: #8850C8; }
.balken-ohne { background: #B0B0B8; }
.balken-marke { background: var(--c-brand); }
.status-kachel { border-radius: var(--r-md); padding: 14px; text-align: center; }
.status-kachel-zahl { font-size: 1.6rem; font-weight: var(--fw-bold); letter-spacing: -0.02em; }
.status-kachel-label { font-size: var(--fs-xs); font-weight: var(--fw-semibold); margin: 2px 0; }
.status-kachel-unter { font-size: var(--fs-sm); }
.status-kachel-success { background: var(--c-success-bg); color: var(--c-success); }
.status-kachel-danger { background: var(--c-danger-bg); color: var(--c-danger); }
.status-kachel-neutral { background: var(--bg); color: var(--muted); }
.collapsible-fehler { background: var(--c-danger-bg); border-color: rgba(204,0,0,0.2) !important; color: var(--c-danger); }
.collapsible-karte { border-radius: 0 0 var(--radius) var(--radius); margin-top: -1px; }
.dt-breit { min-width: 900px; }

/* ── Auswahlkarten (Beitragseinzug: Lauftyp/Modus; JS setzt die Rahmenfarbe) ── */
.wahlkarte { display: block; padding: 18px 20px; border-radius: var(--r-md); cursor: pointer; border: 2px solid var(--border); transition: border-color 0.15s; }
.wahlkarte-zeile { display: flex; align-items: flex-start; gap: var(--sp-3); padding: 16px 18px; }
.wahlkarte-titel { font-size: var(--fs-lg); font-weight: var(--fw-bold); margin-bottom: 6px; }
.wahlkarte-text { font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); }
.wahlkarte-text.text-info { color: var(--c-info); }
.raster-1-2 { display: grid; grid-template-columns: 1fr 2fr; }
@media (max-width: 820px) { .raster-1-2 { grid-template-columns: 1fr; } }
.kommentar-schmal { overflow-wrap: anywhere; }
.suchfeld { flex: 1; max-width: 420px; }
.text-schmal { max-width: 400px; margin-left: auto; margin-right: auto; }

/* ── Mitgliederliste: Filter (AP-06; Umbau zum filter_bar-Sheet in AP-11) ── */
.filter-knopf { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; border: 1.5px solid var(--border); background: var(--white); font: inherit; font-size: var(--fs-md); cursor: pointer; color: var(--text); }
.filter-knopf i { font-size: 16px; }
.filter-knopf-aktiv { border-color: var(--red); color: var(--red); }
.filter-zaehler { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: var(--fs-xs); font-weight: var(--fw-bold); }
.filter-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--sp-4); }
.volle-zeile { grid-column: 1 / -1; }
.raster-zwei-eng { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 6px; }
.feld-sortierrichtung { width: 96px; }
.filter-aktionen { margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--border); }
/* ── Formular ── */
.fehlerliste { margin: 6px 0 0 18px; }
/* hidden-Attribut schlägt Klassen mit display (JS-Schalter ohne Inline-Styles, AP-09) */
[hidden] { display: none !important; }
.feld-label { display: block; font-size: var(--fs-sm); color: var(--text); margin-bottom: 6px; font-weight: 500; }
.checkbox-zeile { display: flex; align-items: center; gap: 10px; }
.radio-gruppe { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.feld-anzeige { display: flex; align-items: center; gap: 10px; min-height: 44px; background: var(--bg); color: var(--muted); }
/* ── Abrechnungsläufe: Spaltenbreiten, Kürzen ── */
/* Abrechnungsläufe (v0.8.1): Breiten aus dem Inhalt; kein festes Raster (passte nicht zu ausgeblendeten Spalten) */
.dt-laeufe th, .dt-laeufe td.nowrap { white-space: nowrap; }
/* Bezeichnung und Typ dürfen umbrechen (Badges „Jahresbeitrag“ + „Simulation“ untereinander), auch wo th/td sonst nowrap sind */
.dt-laeufe td.umbruch { white-space: normal; }
@media (max-width: 1099px) { .dt-laeufe th, .dt-laeufe td { padding-left: 8px; padding-right: 8px; } }
.zelle-kuerzen { max-width: 0; }
.kuerzen { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-klein { font-size: var(--fs-xs); padding: 1px 6px; }

/* ── Konto, Einstellungen, Import, Berichte (AP-06) ── */
.konto-raster { display: grid; grid-template-columns: 190px 1fr; gap: var(--sp-6); align-items: start; }
@media (max-width: 767px) { .konto-raster { grid-template-columns: 1fr; } .seitennav { display: flex; gap: 4px; overflow-x: auto; } }
.seitennav { padding: 8px; }
.seitennav a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-size: var(--fs-md); font-weight: var(--fw-medium); color: var(--muted); white-space: nowrap; }
.seitennav a[aria-current="page"] { color: var(--text); background: var(--bg); }
.info-kasten { background: var(--bg); border-radius: var(--r-md); padding: 16px 20px; }
.formular-fuss { display: flex; align-items: center; gap: var(--sp-4); margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--border); flex-wrap: wrap; }
.feld-auto { width: auto; }
.pb-2 { padding-bottom: var(--sp-2); }
.logo-vorschau { margin-bottom: var(--sp-4); padding: var(--sp-4); background: var(--bg); border-radius: var(--r-md); display: inline-block; }
.logo-vorschau img { max-height: 80px; max-width: 300px; display: block; }
.tabelle-rahmen { border-radius: var(--r-md); border: 1px solid var(--border); }
.dt-mittel { min-width: 700px; }
tr.zeile-ok td { background: #f0fdf4; } tr.zeile-warnung td { background: #fffbeb; } tr.zeile-fehler td { background: #fff1f1; }
tr.zeile-inaktiv td { opacity: 0.5; } tr.zeile-inaktiv td:first-child { text-decoration: line-through; }
.datei-feld { padding: 10px 14px; cursor: pointer; border-style: dashed; }
.nicht-aenderbar { background: var(--bg); color: var(--muted); cursor: not-allowed; }
.feld-datum { min-width: 160px; }
.stat-value-klein { font-size: 1.2rem; line-height: 1.8; }
.spalte-balken { width: 200px; }
.link { color: var(--blue); text-decoration: none; } .link:hover { text-decoration: underline; }
.trenner-oben { margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--border); }
.zelle-agent { overflow-wrap: anywhere; }
.card-text { padding: 28px 32px; }
.altbestand-auswahl { width: 100%; min-width: min(240px, 100%); }
.card-tabelle > .card-titel { padding: var(--sp-5) var(--sp-6) 0; }
/* Kennzahl nie mitten im Betrag umbrechen; Schrift passt sich der Kachelbreite an (Container-Einheit) */
.kennzahl { container-type: inline-size; min-width: 0; }
.kennzahl-wert { white-space: nowrap; overflow-wrap: normal; }
.kennzahl-wert-lang { font-size: clamp(1.1rem, 15cqi, 2rem); }

/* ── Geburtstagsübersicht: Monatsgruppen (AP-06) ── */
.gb-gruppe { --gb-farbe: var(--muted); --gb-grund: var(--c-neutral-bg); --gb-rand: var(--border); }
.gb-aktuell { --gb-farbe: var(--c-success); --gb-grund: var(--c-success-bg); --gb-rand: var(--c-success); }
.gb-naechster { --gb-farbe: var(--c-info); --gb-grund: var(--c-info-bg); --gb-rand: var(--c-info); }
.gb-spaeter { --gb-farbe: var(--c-info); --gb-grund: rgba(0,95,191,0.05); --gb-rand: #60a5fa; }
.gb-titel { font-size: var(--fs-base); font-weight: var(--fw-semibold); color: var(--gb-farbe); }
.gb-monat { font-size: var(--fs-md); color: var(--gb-farbe); }
.gb-anzahl { padding: 2px 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: var(--fw-semibold); background: var(--gb-grund); color: var(--gb-farbe); border: 1px solid var(--gb-rand); }
.gb-karte { border-left: 3px solid var(--gb-rand); }
.gb-aktuell .gb-karte { outline: 2px solid var(--c-success); outline-offset: -1px; }
.gb-aktuell tbody td { background: rgba(19,112,48,0.04); }
.gb-name, .gb-alter { color: var(--gb-farbe); font-weight: var(--fw-semibold); }
.gb-leer { padding: 16px 20px; font-size: var(--fs-md); color: var(--gb-farbe); opacity: 0.6; }

/* ══ AP-11: Responsive Listen, Touch, Bottom-Sheets ═══════════════════════════ */

/* Lange Wörter ohne Leerzeichen (z. B. „Einsatzabteilung/Jugendfeuerwehr/…“) nur bei Bedarf umbrechen */
main { overflow-wrap: break-word; }

/* Spaltenprioritäten: Prio 3 entfällt unter 1100 px (Kopf und Zellen, data-prio aus app.js) */
@media (max-width: 1099px) {
  table.dt-karten > thead > tr > [data-prio="3"], table.dt-karten > :is(tbody, tfoot) > tr > [data-prio="3"] { display: none; }
}
/* Auch in schmalen Rahmen (z. B. Detailseiten) Prio 3 ausblenden – kein Querscroll am Desktop (UX-33) */
.table-scroll { container-type: inline-size; }
@container (max-width: 880px) {
  table.dt-karten > thead > tr > [data-prio="3"], table.dt-karten > :is(tbody, tfoot) > tr > [data-prio="3"] { display: none; }
  table.dt-karten { min-width: 0; }
}

/* Gekürzte IBAN in engen Tabellen, volle IBAN im Tooltip */
.iban-kurz { white-space: nowrap; cursor: help; }

/* Seitengröße: Chips am Desktop, Auswahl mobil */
.pagination-per-page-select { display: none; width: auto; min-width: 120px; }
.nur-mobil { display: none !important; }

/* Suchzeile (UX-14): Suchfeld mit Lupe, daneben Suchen und Filter */
.suchzeile { display: flex; gap: var(--sp-2); align-items: center; flex-wrap: wrap; }
.suche-feld { position: relative; flex: 1 1 320px; min-width: 0; max-width: 520px; }
.suche-feld > .ti { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 18px; pointer-events: none; }
.suche-feld > input.suchfeld { width: 100%; max-width: none; padding-left: 42px; }
.filter-sheet-kopf { display: none; }

/* Kurzbeschriftung neben Icon-Buttons (nur im Kartenmodus sichtbar) */
.btn-icon-text { display: none; }

@media (max-width: 767px) {
  .nur-mobil { display: revert !important; }
  .aktionsmenue-liste button.nur-mobil, .aktionsmenue-liste a.nur-mobil { display: flex !important; }
  .nur-desktop { display: none !important; }

  /* ── Kartenmodus (UX-12) ── */
  .table-scroll > table.dt-karten, table.dt-karten { min-width: 0 !important; width: 100%; table-layout: auto; }
  table.dt-karten, table.dt-karten > tbody, table.dt-karten > tfoot { display: block; }
  table.dt-karten > colgroup { display: none; }
  table.dt-karten > thead { display: none; } /* Beschriftung steht in jeder Zeile (data-label); sortiert wird über den Filter */
  table.dt-karten > :is(tbody, tfoot) > tr { display: flex; flex-direction: column; position: relative; padding: 14px 16px; border-bottom: 1px solid var(--border); }
  table.dt-karten > :is(tbody, tfoot) > tr:last-child { border-bottom: 0; }
  table.dt-karten > :is(tbody, tfoot) > tr > td.karten-titel a.cell-link { display: flex; align-items: center; min-height: 44px; }
  table.dt-karten > tfoot > tr { background: var(--bg); }
  table.dt-karten > :is(tbody, tfoot) > tr > td a[href^="tel:"], table.dt-karten > :is(tbody, tfoot) > tr > td a[href^="mailto:"] { display: inline-flex; align-items: center; min-height: 44px; }
  table.dt-karten > :is(tbody, tfoot) > tr > td {
    display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
    padding: 3px 0; border: 0; white-space: normal; text-align: right; min-height: 0; font-size: var(--fs-md);
  }
  table.dt-karten > :is(tbody, tfoot) > tr > td::before { content: attr(data-label); color: var(--muted); font-size: var(--fs-sm); text-align: left; flex: 0 0 auto; white-space: nowrap; }
  table.dt-karten > :is(tbody, tfoot) > tr > td[data-label=""]::before { content: none; }
  table.dt-karten > :is(tbody, tfoot) > tr > td[data-label=""] { justify-content: flex-start; }
  /* Erste Zelle = Titel der Karte */
  table.dt-karten > :is(tbody, tfoot) > tr > td.karten-titel { order: -1; display: block; text-align: left; font-size: var(--fs-base); font-weight: 600; padding: 0 56px 6px 0; }
  table.dt-karten > :is(tbody, tfoot) > tr > td.karten-titel::before { content: none; }
  table.dt-karten > :is(tbody, tfoot) > tr > td.zelle-voll { display: block; text-align: left; }
  table.dt-karten > :is(tbody, tfoot) > tr > td.zelle-voll::before { content: none; }
  /* Ganze Karte = Link zum Detail; Aktionen liegen darüber */
  table.dt-karten > :is(tbody, tfoot) > tr > td.karten-titel a.cell-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
  table.dt-karten > :is(tbody, tfoot) > tr > td a:not(.cell-link), table.dt-karten > :is(tbody, tfoot) > tr > td form, table.dt-karten > :is(tbody, tfoot) > tr > td button, table.dt-karten > :is(tbody, tfoot) > tr > td details { position: relative; z-index: 2; }
  /* Aktionen oben rechts in der Karte */
  table.dt-karten > :is(tbody, tfoot) > tr > td.zeile-aktionen { position: absolute; top: 10px; right: 10px; padding: 0; width: auto; z-index: 2; }
  table.dt-karten > :is(tbody, tfoot) > tr > td.zeile-aktionen::before { content: none; }
  /* Variante: beschriftete Aktionen unter der Karte (Zahlungsübersicht, Laufergebnis) */
  table.dt-karten > :is(tbody, tfoot) > tr > td.zeile-aktionen.aktionen-unten { position: static; display: block; padding-top: 10px; }
  table.dt-karten > :is(tbody, tfoot) > tr > td.aktionen-unten .actions { justify-content: flex-start; gap: 8px; flex-wrap: wrap; }
  table.dt-karten > :is(tbody, tfoot) > tr > td.aktionen-unten .btn-icon { width: auto !important; padding: 0 14px; gap: 6px; }
  table.dt-karten > :is(tbody, tfoot) > tr > td.aktionen-unten .btn-icon-text { display: inline; font-size: var(--fs-md); color: var(--text); }
  table.dt-karten > :is(tbody, tfoot) > tr > [data-prio="3"] { display: none !important; }
  .card-tabelle:has(table.dt-karten), .card:has(> .table-scroll > table.dt-karten) { overflow: visible; }

  /* ── Aktionsmenü als Bottom-Sheet (48 px hohe Einträge) ── */
  .aktionsmenue[open] > summary::before { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,0.32); z-index: 1200; cursor: default; }
  .aktionsmenue[open] .aktionsmenue-liste {
    position: fixed !important; left: 0 !important; right: 0 !important; top: auto !important; bottom: 0 !important;
    width: 100%; min-width: 0; z-index: 1201; border-radius: 18px 18px 0 0; padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 32px rgba(0,0,0,0.18);
  }
  .aktionsmenue-liste a, .aktionsmenue-liste button { min-height: 48px; font-size: var(--fs-base); }

  /* ── Dialoge als Bottom-Sheet ── */
  .dlg { margin: auto auto 0; width: 100%; max-width: 100%; border-radius: 18px 18px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .dlg-aktionen { flex-direction: column-reverse; align-items: stretch; }
  .dlg-aktionen .btn { justify-content: center; }

  /* ── Touch-Ziele ≥ 44 px (Q3) ── */
  .btn, .btn-sm, .btn-klein, .btn-page, .per-page-link, .filter-knopf, .filter-chip, .mobile-link,
  .tabs a, .seitennav a, select, input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="url"],
  input[type="password"], input[type="date"], input[type="number"] { min-height: 44px; }
  .btn, .btn-sm, .btn-klein, .btn-page { display: inline-flex; align-items: center; justify-content: center; }
  .btn-icon, .aktionsmenue > summary.btn-icon, .nav-burger, .mobile-menu-close, .meldung-schliessen { min-width: 44px; min-height: 44px; width: 44px; height: 44px; }
  .tabs a { display: inline-flex; align-items: center; }
  .seitenkopf-zurueck { min-height: 44px; }
  input[type="checkbox"]:not(.visuell-versteckt), input[type="radio"]:not(.visuell-versteckt) { width: 22px; height: 22px; }
  label.auswahl, .checkbox-zeile { min-height: 44px; }

  .seitenfuss a, .nav-brand { display: inline-flex; align-items: center; min-height: 44px; }
  .seitenkopf-meta a, .kopf-kennzahlen a { display: inline-flex; align-items: center; min-height: 44px; }
  .link-touch { display: inline-flex; align-items: center; min-height: 44px; } /* Link in Hinweisen: Trefferfläche ≥ 44 px (v0.8.3) */
  .seite-bestand .stat-grid { grid-template-columns: 1fr; }
  .seite-bestand .stat-card, .stat-value { min-width: 0; overflow-wrap: anywhere; }
  .saeulen { overflow-x: auto; }
  .saeule { min-width: 34px; }

  /* ── Seitenkopf mobil: Aktionen unter dem Titel, lange Titel umbrechen ── */
  .seitenkopf-zeile { flex-direction: column; align-items: stretch; gap: var(--sp-3); }
  .seitenkopf h1 { overflow-wrap: anywhere; hyphens: auto; }
  .seitenkopf-aktionen { flex-wrap: wrap; }
  /* Karten-Tabellen ohne doppelten Innenabstand */
  .card:has(> .table-scroll > table.dt-karten), .card:has(> table.dt-karten), .card:has(> .scroll-x > .table-scroll > table.dt-karten) { padding: 0; }
  .card:has(table.dt-karten) > .card-titel, .card:has(table.dt-karten) > .section-label { padding: 20px 16px 0; margin-bottom: 4px; }
  /* Kartentitel mindestens so hoch wie die Aktionsknöpfe – Datenzeilen beginnen darunter */
  table.dt-karten > :is(tbody, tfoot) > tr > td.karten-titel { min-height: 44px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

  /* ── Formulare einspaltig ── */
  .grid, .grid-3 { grid-template-columns: 1fr; }

  /* ── Suche und Filter (UX-14) ── */
  .suche-feld { flex: 1 1 100%; max-width: none; }
  .suchzeile > .btn, .suchzeile > .filter-knopf, .suchzeile > a.btn { flex: 1 1 0; justify-content: center; }
  .filter-knopf-text { display: none; }
  .filter-sheet:not([hidden]) {
    position: fixed; inset: 0; z-index: 1150; margin: 0; background: var(--bg); overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .filter-sheet .card { border-radius: 0; box-shadow: none; min-height: 100%; padding-bottom: 96px; }
  .filter-sheet-kopf { display: flex !important; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2;
    background: var(--white); border-bottom: 1px solid var(--border); padding: 8px 8px 8px 16px; }
  .filter-sheet-titel { font-size: var(--fs-lg, 1.1rem); font-weight: 700; margin: 0; }
  .filter-sheet .filter-aktionen { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; margin: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--border); display: flex; gap: 8px; }
  .filter-sheet .filter-aktionen .btn { flex: 1 1 0; }
  body.sheet-offen { overflow: hidden; }

  /* ── Seitengröße als Auswahl ── */
  .pagination-per-page-links { display: none; }
  .pagination-per-page-select { display: block; }

  /* ── Detail-Tabs: scrollbar mit Verlauf am Rand ── */
  .tabs-reiter { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); padding-right: 24px; }

  /* ── Testbanner einzeilig ── */
  .test-banner { font-size: var(--fs-xs); letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 5px 10px; }
}

/* ── AP-15: sichtbarer Tastaturfokus (2 px Kontur, WCAG 2.4.7) ── */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible, .btn:focus-visible, .btn-icon:focus-visible {
  outline: 2px solid var(--c-info);
  outline-offset: 2px;
}
.wahlkarte-fokus { outline: 2px solid var(--c-info); outline-offset: 2px; }

/* AP-17: Jubiläen – im laufenden Jahr bereits erreichte Jahrestage gedämpft (Kontrast bleibt ≥ 4,5:1) */
.zeile-erreicht td { color: var(--c-muted); }
.kennzahl-link { display: block; color: inherit; text-decoration: none; }
/* WCAG 1.4.1: Links im Fließtext nicht nur über die Farbe erkennbar */
p a.link, p a:not([class]) { text-decoration: underline; text-underline-offset: 2px; }
.kennzahl-link:hover .kennzahl-label { text-decoration: underline; }

/* Balkenbreiten und Säulenhöhen (V085-F4-03): ersetzen style-Attribute */
.breite-0 { width: 0%; }
.breite-1 { width: 1%; }
.breite-2 { width: 2%; }
.breite-3 { width: 3%; }
.breite-4 { width: 4%; }
.breite-5 { width: 5%; }
.breite-6 { width: 6%; }
.breite-7 { width: 7%; }
.breite-8 { width: 8%; }
.breite-9 { width: 9%; }
.breite-10 { width: 10%; }
.breite-11 { width: 11%; }
.breite-12 { width: 12%; }
.breite-13 { width: 13%; }
.breite-14 { width: 14%; }
.breite-15 { width: 15%; }
.breite-16 { width: 16%; }
.breite-17 { width: 17%; }
.breite-18 { width: 18%; }
.breite-19 { width: 19%; }
.breite-20 { width: 20%; }
.breite-21 { width: 21%; }
.breite-22 { width: 22%; }
.breite-23 { width: 23%; }
.breite-24 { width: 24%; }
.breite-25 { width: 25%; }
.breite-26 { width: 26%; }
.breite-27 { width: 27%; }
.breite-28 { width: 28%; }
.breite-29 { width: 29%; }
.breite-30 { width: 30%; }
.breite-31 { width: 31%; }
.breite-32 { width: 32%; }
.breite-33 { width: 33%; }
.breite-34 { width: 34%; }
.breite-35 { width: 35%; }
.breite-36 { width: 36%; }
.breite-37 { width: 37%; }
.breite-38 { width: 38%; }
.breite-39 { width: 39%; }
.breite-40 { width: 40%; }
.breite-41 { width: 41%; }
.breite-42 { width: 42%; }
.breite-43 { width: 43%; }
.breite-44 { width: 44%; }
.breite-45 { width: 45%; }
.breite-46 { width: 46%; }
.breite-47 { width: 47%; }
.breite-48 { width: 48%; }
.breite-49 { width: 49%; }
.breite-50 { width: 50%; }
.breite-51 { width: 51%; }
.breite-52 { width: 52%; }
.breite-53 { width: 53%; }
.breite-54 { width: 54%; }
.breite-55 { width: 55%; }
.breite-56 { width: 56%; }
.breite-57 { width: 57%; }
.breite-58 { width: 58%; }
.breite-59 { width: 59%; }
.breite-60 { width: 60%; }
.breite-61 { width: 61%; }
.breite-62 { width: 62%; }
.breite-63 { width: 63%; }
.breite-64 { width: 64%; }
.breite-65 { width: 65%; }
.breite-66 { width: 66%; }
.breite-67 { width: 67%; }
.breite-68 { width: 68%; }
.breite-69 { width: 69%; }
.breite-70 { width: 70%; }
.breite-71 { width: 71%; }
.breite-72 { width: 72%; }
.breite-73 { width: 73%; }
.breite-74 { width: 74%; }
.breite-75 { width: 75%; }
.breite-76 { width: 76%; }
.breite-77 { width: 77%; }
.breite-78 { width: 78%; }
.breite-79 { width: 79%; }
.breite-80 { width: 80%; }
.breite-81 { width: 81%; }
.breite-82 { width: 82%; }
.breite-83 { width: 83%; }
.breite-84 { width: 84%; }
.breite-85 { width: 85%; }
.breite-86 { width: 86%; }
.breite-87 { width: 87%; }
.breite-88 { width: 88%; }
.breite-89 { width: 89%; }
.breite-90 { width: 90%; }
.breite-91 { width: 91%; }
.breite-92 { width: 92%; }
.breite-93 { width: 93%; }
.breite-94 { width: 94%; }
.breite-95 { width: 95%; }
.breite-96 { width: 96%; }
.breite-97 { width: 97%; }
.breite-98 { width: 98%; }
.breite-99 { width: 99%; }
.breite-100 { width: 100%; }
.hoehe-0 { height: 0%; }
.hoehe-1 { height: 1%; }
.hoehe-2 { height: 2%; }
.hoehe-3 { height: 3%; }
.hoehe-4 { height: 4%; }
.hoehe-5 { height: 5%; }
.hoehe-6 { height: 6%; }
.hoehe-7 { height: 7%; }
.hoehe-8 { height: 8%; }
.hoehe-9 { height: 9%; }
.hoehe-10 { height: 10%; }
.hoehe-11 { height: 11%; }
.hoehe-12 { height: 12%; }
.hoehe-13 { height: 13%; }
.hoehe-14 { height: 14%; }
.hoehe-15 { height: 15%; }
.hoehe-16 { height: 16%; }
.hoehe-17 { height: 17%; }
.hoehe-18 { height: 18%; }
.hoehe-19 { height: 19%; }
.hoehe-20 { height: 20%; }
.hoehe-21 { height: 21%; }
.hoehe-22 { height: 22%; }
.hoehe-23 { height: 23%; }
.hoehe-24 { height: 24%; }
.hoehe-25 { height: 25%; }
.hoehe-26 { height: 26%; }
.hoehe-27 { height: 27%; }
.hoehe-28 { height: 28%; }
.hoehe-29 { height: 29%; }
.hoehe-30 { height: 30%; }
.hoehe-31 { height: 31%; }
.hoehe-32 { height: 32%; }
.hoehe-33 { height: 33%; }
.hoehe-34 { height: 34%; }
.hoehe-35 { height: 35%; }
.hoehe-36 { height: 36%; }
.hoehe-37 { height: 37%; }
.hoehe-38 { height: 38%; }
.hoehe-39 { height: 39%; }
.hoehe-40 { height: 40%; }
.hoehe-41 { height: 41%; }
.hoehe-42 { height: 42%; }
.hoehe-43 { height: 43%; }
.hoehe-44 { height: 44%; }
.hoehe-45 { height: 45%; }
.hoehe-46 { height: 46%; }
.hoehe-47 { height: 47%; }
.hoehe-48 { height: 48%; }
.hoehe-49 { height: 49%; }
.hoehe-50 { height: 50%; }
.hoehe-51 { height: 51%; }
.hoehe-52 { height: 52%; }
.hoehe-53 { height: 53%; }
.hoehe-54 { height: 54%; }
.hoehe-55 { height: 55%; }
.hoehe-56 { height: 56%; }
.hoehe-57 { height: 57%; }
.hoehe-58 { height: 58%; }
.hoehe-59 { height: 59%; }
.hoehe-60 { height: 60%; }
.hoehe-61 { height: 61%; }
.hoehe-62 { height: 62%; }
.hoehe-63 { height: 63%; }
.hoehe-64 { height: 64%; }
.hoehe-65 { height: 65%; }
.hoehe-66 { height: 66%; }
.hoehe-67 { height: 67%; }
.hoehe-68 { height: 68%; }
.hoehe-69 { height: 69%; }
.hoehe-70 { height: 70%; }
.hoehe-71 { height: 71%; }
.hoehe-72 { height: 72%; }
.hoehe-73 { height: 73%; }
.hoehe-74 { height: 74%; }
.hoehe-75 { height: 75%; }
.hoehe-76 { height: 76%; }
.hoehe-77 { height: 77%; }
.hoehe-78 { height: 78%; }
.hoehe-79 { height: 79%; }
.hoehe-80 { height: 80%; }
.hoehe-81 { height: 81%; }
.hoehe-82 { height: 82%; }
.hoehe-83 { height: 83%; }
.hoehe-84 { height: 84%; }
.hoehe-85 { height: 85%; }
.hoehe-86 { height: 86%; }
.hoehe-87 { height: 87%; }
.hoehe-88 { height: 88%; }
.hoehe-89 { height: 89%; }
.hoehe-90 { height: 90%; }
.hoehe-91 { height: 91%; }
.hoehe-92 { height: 92%; }
.hoehe-93 { height: 93%; }
.hoehe-94 { height: 94%; }
.hoehe-95 { height: 95%; }
.hoehe-96 { height: 96%; }
.hoehe-97 { height: 97%; }
.hoehe-98 { height: 98%; }
.hoehe-99 { height: 99%; }
.hoehe-100 { height: 100%; }
