/* Vereinsplan – Ergänzungen zu Tabler. Nur was Tabler nicht mitbringt; Farben und Abstände kommen aus Tabler selbst. */

/* Farbwelt der Marke vereinsplan.de: Navy #0B2D5B (Hauptfarbe), Orange #FF8A00 (Akzent) */
:root, [data-bs-theme="light"] {
  --vp-navy: #0b2d5b; --vp-orange: #ff8a00;
  --tblr-primary: #0b2d5b; --tblr-primary-rgb: 11, 45, 91; --tblr-primary-fg: #fff;
  --tblr-primary-darken: #082247; --tblr-primary-lt: #e7edf6; --tblr-primary-lt-rgb: 231, 237, 246;
  --tblr-primary-text-emphasis: #082247; --tblr-primary-bg-subtle: #e7edf6; --tblr-primary-border-subtle: #b9c7dc;
  --tblr-link-color: #1d4f8f; --tblr-link-color-rgb: 29, 79, 143; --tblr-link-hover-color: #0b2d5b; --tblr-link-hover-color-rgb: 11, 45, 91;
  --tblr-focus-ring-color: rgba(255, 138, 0, .35);
}
.btn-primary { --tblr-btn-bg: #0b2d5b; --tblr-btn-border-color: #0b2d5b; --tblr-btn-hover-bg: #082247; --tblr-btn-hover-border-color: #082247; --tblr-btn-active-bg: #061a37; --tblr-btn-active-border-color: #061a37; --tblr-btn-disabled-bg: #0b2d5b; --tblr-btn-disabled-border-color: #0b2d5b; }
.bg-primary { background-color: #0b2d5b !important; }
.form-check-input:checked { background-color: #0b2d5b; border-color: #0b2d5b; }
.form-control:focus, .form-select:focus { border-color: #ff8a00; box-shadow: 0 0 0 .25rem rgba(255, 138, 0, .2); }
.vp-logo { display: block; height: 1.6rem; width: auto; }
.vp-zeichen { width: 1.75rem; height: 1.75rem; border-radius: .4rem; flex: none; }
.anmeldeseite .vp-logo { height: 2.4rem; margin: 0 auto; }
.mitglieder-app .navbar[data-bs-theme="dark"] { background: #0b2d5b; }
.ausweis-kopf { border-bottom: 4px solid #ff8a00; }
.fuss-marke { display: inline-flex; align-items: center; gap: .4rem; opacity: .85; }
.fuss-marke img { height: 1rem; width: auto; }

/* Seitenwechsel ohne Aufblitzen: der Browser blendet über, die Seitenleiste bleibt stehen */
@view-transition { navigation: auto; }
.seitenleiste { view-transition-name: seitenleiste; }
::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation-duration: .12s; }
::view-transition-old(seitenleiste), ::view-transition-new(seitenleiste) { animation: none; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Marke in der Seitenleiste: Kürzel und Vereinsname */
.vereinsmarke { display: flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; }
.vereinsmarke:hover { text-decoration: none; }
.vereinsname { font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 11rem; }
.konto-menue .nav-link-title { min-width: 0; line-height: 1.25; }
.konto-menue form .nav-link { text-align: left; }
@media (min-width: 992px) {
  .navbar-vertical .navbar-collapse { display: flex !important; flex-direction: column; flex: 1 1 auto; }
  /* Konto, Verein wechseln, Abmelden immer ganz unten – Tabler lässt sonst beide Listen wachsen, dann landet der Block in der Mitte */
  .navbar-vertical.navbar-expand-lg .navbar-nav.konto-menue { flex-grow: 0; margin-top: auto; position: sticky; bottom: 0; z-index: 1; background-color: var(--tblr-navbar-bg); }
  /* ist das Menü länger als der Bildschirm, bleibt der Block sichtbar am unteren Rand; die Trennlinie zeigt, dass darüber gescrollt wird */
  .seitenleiste .navbar-collapse:has(> .konto-menue) { overflow-y: auto; }
}

/* Listen: Live-Suche, Zeilen anklickbar, Treffer markiert */
.ohneskript { display: none !important; }
.filter.zu, #mehrfilter.zu { display: none !important; }
.laedt { opacity: .6; transition: opacity .15s; }
[hidden] { display: none !important; }
tr[data-ziel] { cursor: pointer; }
.table mark { padding: 0 .1em; border-radius: 2px; background: var(--tblr-yellow-lt); color: inherit; }
.table .name-zelle a { color: inherit; text-decoration: none; font-weight: var(--tblr-font-weight-medium); }
.table tr:hover .name-zelle a { color: var(--tblr-primary); }
.table tr.inaktiv td { color: var(--tblr-secondary); }
.suchfeld { min-width: 16rem; flex: 1 1 18rem; max-width: 28rem; }
.suchfeld kbd { font-size: .7rem; }
.register { display: flex; gap: .125rem; overflow-x: auto; scrollbar-width: thin; }
.register a, .register span { flex: 1 0 1.75rem; display: inline-flex; align-items: center; justify-content: center; height: 1.75rem; padding: 0 .25rem; border-radius: var(--tblr-border-radius); font-size: .8125rem; font-weight: var(--tblr-font-weight-medium); text-decoration: none; color: var(--tblr-body-color); }
.register a:hover { background: var(--tblr-bg-surface-secondary); }
.register a.active { background: var(--tblr-primary); color: #fff; }
.register span { color: var(--tblr-disabled-color); font-weight: normal; }
.register .alle { flex: 0 0 auto; padding: 0 .6rem; }

/* Spaltenwahl als aufklappbares Menü – funktioniert auch ohne JavaScript */
details.dropdown > summary { list-style: none; }
details.dropdown > summary::-webkit-details-marker { display: none; }
details.dropdown[open] > .dropdown-menu { display: block; position: absolute; inset: auto 0 auto auto; margin-top: .25rem; min-width: 14rem; z-index: 10; }

/* Karteikarte: Reiter rollen auf schmalen Bildschirmen seitlich statt umzubrechen */
@media (max-width: 767.98px) {
  .card-header-tabs { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .card-header-tabs::-webkit-scrollbar { display: none; }
  .card-header-tabs .nav-link { white-space: nowrap; }
}
/* Karteikarte */
.datagrid-content { overflow-wrap: anywhere; }
.profil .avatar-xl { font-size: 1.5rem; }

/* Tablets und Handys: Namensspalte bleibt beim seitlichen Rollen stehen; größere Tippflächen bei Fingerbedienung */
@media (max-width: 1199.98px) {
  .table .name-zelle, .table th.sp-name { position: sticky; left: 0; z-index: 2; background: var(--tblr-bg-surface); box-shadow: 1px 0 0 var(--tblr-border-color); }
  .table th.sp-name { background: var(--tblr-bg-surface-tertiary); z-index: 3; }
}
@media (pointer: coarse) {
  .btn, .form-control, .form-select, .nav-segmented .nav-link, .page-link { min-height: 2.5rem; }
  .btn-sm { min-height: 2.25rem; }
  .register a, .register span { height: 2.375rem; flex-basis: 2.125rem; }
  .table > :not(caption) > * > * { padding-top: .75rem; padding-bottom: .75rem; }
  .tag { min-height: 2rem; } .tag .btn-close { width: 1.5rem; height: 1.5rem; }
  .form-check-input { width: 1.25rem; height: 1.25rem; }
}
/* Briefe und vorformatierte Texte */
.vorformatiert { white-space: pre-line; }
details.bestaetigung > summary, details > summary.btn { list-style: none; }
details.bestaetigung > summary::-webkit-details-marker, details > summary.btn::-webkit-details-marker { display: none; }

@media print {
  .navbar-vertical, .navbar, .seitenleiste, .page-header .btn-list, .footer, .vorschau-leiste, .nav-segmented { display: none !important; }
  .page-wrapper { margin: 0 !important; padding: 0 !important; }
  .page-body, .container-xl { margin: 0 !important; padding: 0 !important; max-width: none !important; }
  .card { box-shadow: none !important; border: 0 !important; }
  .brief { break-after: page; margin: 0 !important; }
  .brief:last-of-type { break-after: auto; }
  body { background: #fff !important; }
}

/* Hilfsklassen (Inline-Styles verbietet die CSP) */
.min-w-betrag { min-width: 7rem; }
.w-jahr { width: 7rem; }
.menue-breit { min-width: 18rem; }
.nav-segmented { max-width: 100%; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
.nav-segmented .nav-link { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 575.98px) {
  .suchfeld { flex: 1 1 100%; max-width: none; min-width: 0; }
  #listenform .d-flex > div:not(.suchfeld) { flex: 1 1 0; min-width: 8rem; }
  #listenform .d-flex > div:not(.suchfeld) .form-select { width: 100%; }
}
.table-responsive { position: relative; } /* versteckte Beschriftungen bleiben im Rollbereich */
.w-fortschritt { width: 5rem; }

/* Aufgabenbaum in Projekten */
.aufgaben-unter { margin-left: 1.25rem; border-left: 1px solid var(--tblr-border-color); }
details.aufgabe > summary { list-style: none; cursor: pointer; border-radius: var(--tblr-border-radius); }
details.aufgabe > summary::-webkit-details-marker { display: none; }
details.aufgabe > summary:hover { background: var(--tblr-bg-surface-tertiary); }
details.aufgabe .aufgabe-pfeil .icon { transition: transform .15s; }
details.aufgabe[open] > summary .aufgabe-pfeil .icon { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { details.aufgabe .aufgabe-pfeil .icon { transition: none; } }
.protokoll { max-height: 26rem; }

/* QR-Code (Konto) und Anmeldeseiten */
.qrbox { max-width: 220px; }
.qr { display: block; width: 100%; height: auto; border-radius: var(--tblr-border-radius); border: 1px solid var(--tblr-border-color); background: #fff; }
.code { letter-spacing: .2em; }

/* Ohne JavaScript: Menü auf kleinen Bildschirmen immer offen */
.betreiber .navbar-vertical .navbar-collapse.collapse { display: flex !important; flex-direction: column; }
pre.protokoll { max-height: 28rem; overflow: auto; white-space: pre-wrap; }

/* Mitglieder-App: schmale Spalte, Leiste unten wie bei einer App */
.mitglieder-app .container-xl { max-width: 760px; }
.mitglieder-app.mit-tableiste { padding-bottom: calc(4.25rem + env(safe-area-inset-bottom)); }
.tableiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; justify-content: space-around; background: var(--tblr-bg-surface); border-top: 1px solid var(--tblr-border-color); padding: .25rem .25rem calc(.25rem + env(safe-area-inset-bottom)); }
.tableiste-punkt { flex: 1 1 0; max-width: 8rem; display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .4rem .25rem; color: var(--tblr-secondary); font-size: .75rem; text-decoration: none; border-radius: var(--tblr-border-radius); min-height: 3.25rem; }
.tableiste-punkt:hover { text-decoration: none; color: var(--tblr-body-color); }
.tableiste-punkt.active { color: var(--tblr-primary); font-weight: var(--tblr-font-weight-medium); }
.kalenderblatt { flex: 0 0 auto; width: 3rem; text-align: center; border: 1px solid var(--tblr-border-color); border-radius: var(--tblr-border-radius); overflow: hidden; line-height: 1.1; }
.kalenderblatt .tag { display: block; font-size: 1.15rem; font-weight: var(--tblr-font-weight-bold); padding-top: .2rem; }
.kalenderblatt .monat { display: block; font-size: .7rem; text-transform: uppercase; color: var(--tblr-red); padding-bottom: .2rem; }
.card-header { flex-wrap: wrap; row-gap: .5rem; } /* Titel und Kennzeichen umbrechen auf schmalen Bildschirmen */
.navbar[data-bs-theme="dark"] .vereinsmarke { color: #fff; }

/* Zentrierte Seiten (Anmeldung, Antrag): lange Inhalte nicht oben abschneiden */
.page.page-center { justify-content: flex-start; }
.page.page-center > .container { margin-top: auto; margin-bottom: auto; }
.brieflogo { max-height: 64px; max-width: 200px; }
@media print { .brieffuss { position: fixed; bottom: 0; left: 0; right: 0; } }
.w-betrag { width: 8rem; }

/* Rundschreiben */
.liste-hoch { max-height: 28rem; }
.gruppenwahl { max-height: 14rem; overflow: auto; }
.mailtext { max-width: 70ch; }
.fortschritt-0 { width: 0%; }
.fortschritt-5 { width: 5%; }
.fortschritt-10 { width: 10%; }
.fortschritt-15 { width: 15%; }
.fortschritt-20 { width: 20%; }
.fortschritt-25 { width: 25%; }
.fortschritt-30 { width: 30%; }
.fortschritt-35 { width: 35%; }
.fortschritt-40 { width: 40%; }
.fortschritt-45 { width: 45%; }
.fortschritt-50 { width: 50%; }
.fortschritt-55 { width: 55%; }
.fortschritt-60 { width: 60%; }
.fortschritt-65 { width: 65%; }
.fortschritt-70 { width: 70%; }
.fortschritt-75 { width: 75%; }
.fortschritt-80 { width: 80%; }
.fortschritt-85 { width: 85%; }
.fortschritt-90 { width: 90%; }
.fortschritt-95 { width: 95%; }
.fortschritt-100 { width: 100%; }

/* Serienbriefe (DIN 5008 Form B, Fensterkuvert DIN lang) und Etikettenbögen – auf dem Bildschirm als Blatt, im Druck randlos in Originalgröße */
.druckflaeche { overflow-x: auto; }
.serienbrief { position: relative; width: 210mm; min-height: 297mm; margin: 0 auto 1.5rem; padding: 0 20mm 25mm 25mm; background: #fff; color: #000; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); font-size: 11pt; line-height: 1.45; }
.serienbrief .briefkopf-rechts { position: absolute; top: 15mm; right: 20mm; text-align: right; }
.serienbrief .anschriftfeld { position: absolute; top: 45mm; left: 25mm; width: 85mm; height: 45mm; overflow: hidden; }
.serienbrief .brieftext { padding-top: 98mm; }
.serienbrief .brieffuss { position: absolute; left: 25mm; right: 20mm; bottom: 10mm; margin: 0 !important; }
.absenderzeile { font-size: 7pt; text-decoration: underline; color: #555; margin-bottom: 2mm; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unterschrift-abstand { margin-top: 18mm; }
.etikettenbogen { display: grid; width: 210mm; height: 297mm; margin: 0 auto 1.5rem; background: #fff; color: #000; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); align-content: start; }
.bogen-3x8 { grid-template-columns: repeat(3, 70mm); grid-auto-rows: 37mm; padding-top: .5mm; }
.bogen-3x7 { grid-template-columns: repeat(3, 70mm); grid-auto-rows: 42.3mm; }
.bogen-2x8 { grid-template-columns: repeat(2, 105mm); grid-auto-rows: 37mm; padding-top: .5mm; }
.etikett { padding: 5mm 6mm; font-size: 10pt; line-height: 1.3; overflow: hidden; outline: 1px dashed #dce1e7; outline-offset: -1px; }
.w-unterschrift { width: 30%; }
.anwesenheit td { height: 2.4rem; }
@page serienbrief { size: A4; margin: 0; }
@page etiketten { size: A4; margin: 0; }
@media print {
  .druckflaeche { overflow: visible; }
  body:has(.serienbrief) { page: serienbrief; }
  body:has(.etikettenbogen) { page: etiketten; }
  .serienbrief { page: serienbrief; box-shadow: none; margin: 0; break-after: page; }
  .etikettenbogen { page: etiketten; box-shadow: none; margin: 0; break-after: page; }
  .serienbrief:last-child, .etikettenbogen:last-child { break-after: auto; }
  .etikett { outline: 0; }
  body:has(.druckflaeche) .page-header, body:has(.druckflaeche) .alert { display: none !important; }
}
.protokoll-top { break-inside: avoid; }
.aushang-frei { display: inline-block; width: 8rem; border-bottom: 1px solid #9aa0ac; margin: 0 .5rem; height: 1.1rem; vertical-align: bottom; }
/* Belegungsplan */
.belegung td, .belegung th { min-width: 9rem; height: 2.25rem; vertical-align: middle; }
.belegung th:first-child { min-width: 5rem; }
.belegung tr.wochenende > * { background: var(--tblr-bg-surface-secondary); }
.belegung tr.heute > th { color: var(--tblr-primary); font-weight: 600 !important; }
.belegung-frei { color: var(--tblr-border-color); display: inline-block; width: 100%; text-align: center; }
.belegung-frei:hover { color: var(--tblr-primary); }
.mw-100 { max-width: 100%; }
.ausfuellen { display: inline-block; min-width: 10rem; min-height: 1.5rem; }
.protokoll-tabelle th:first-child { width: 28%; }
.protokoll-tabelle td { height: 2.75rem; }
.w-titel { min-width: 10rem; }
/* Urkunden */
.urkunde .card-body { padding: 4rem 3rem; min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.urkunde-titel { font-size: 2.75rem; font-weight: 300; letter-spacing: .08em; margin-bottom: 2rem; }
.urkunde-text { font-size: 1.35rem; line-height: 1.6; }
@media print { .urkunde .card-body { min-height: 250mm; } }
.inventar-foto { max-width: 14rem; max-height: 14rem; object-fit: cover; }

/* ===== Diagramme (src/Diagramm.php) – validierte Reihenfolge: Blau, Orange, Aqua, Gelb, Magenta, Grün ===== */
.dg { --dg1: #2a78d6; --dg2: #eb6834; --dg3: #1baf7a; --dg4: #eda100; --dg5: #e87ba4; --dg6: #008300; --dg-gitter: #e6e8ec; --dg-text: var(--tblr-secondary, #667382); }
.dg-svg { display: block; width: 100%; height: auto; overflow: visible; font-family: inherit; }
.dg-schmal { height: 18px; }
.dg-f1 { fill: var(--dg1); } .dg-f2 { fill: var(--dg2); } .dg-f3 { fill: var(--dg3); } .dg-f4 { fill: var(--dg4); } .dg-f5 { fill: var(--dg5); } .dg-f6 { fill: var(--dg6); }
.dg-l1 { stroke: var(--dg1); } .dg-l2 { stroke: var(--dg2); } .dg-l3 { stroke: var(--dg3); } .dg-l4 { stroke: var(--dg4); } .dg-l5 { stroke: var(--dg5); } .dg-l6 { stroke: var(--dg6); }
.dg-b1 { background: var(--dg1); } .dg-b2 { background: var(--dg2); } .dg-b3 { background: var(--dg3); } .dg-b4 { background: var(--dg4); } .dg-b5 { background: var(--dg5); } .dg-b6 { background: var(--dg6); }
.dg-gitter line { stroke: var(--dg-gitter); stroke-width: 1; shape-rendering: crispEdges; }
.dg-gitter line.dg-null, .dg-mittel { stroke: #c9ced6; stroke-width: 1; }
.dg-achse { fill: var(--dg-text); font-size: 11px; }
.dg-kat { fill: var(--tblr-body-color, #182433); font-size: 12px; }
.dg-wert { fill: var(--tblr-body-color, #182433); font-size: 11.5px; font-weight: 600; }
.dg-linie { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.dg-leise-linie { stroke: #9aa7b8; }
.dg-flaeche { opacity: .1; }
.dg-punkt, .dg-punkte circle { stroke: var(--tblr-bg-surface, #fff); stroke-width: 2; }
.dg-spur { fill: #f1f3f6; }
.dg-treffer { fill: transparent; }
.dg-hilfslinie { stroke: #9aa7b8; stroke-width: 1; opacity: 0; }
.dg-punkte { opacity: 0; }
.dg-kreuz:hover .dg-hilfslinie, .dg-kreuz:focus .dg-hilfslinie, .dg-kreuz:hover .dg-punkte, .dg-kreuz:focus .dg-punkte { opacity: 1; }
.dg-svg:hover .dg-p:not(.dg-kreuz) path, .dg-svg:hover .dg-p:not(.dg-kreuz) > rect:not(.dg-treffer):not(.dg-spur) { opacity: .55; transition: opacity .12s; }
.dg-svg .dg-p:not(.dg-kreuz):hover path, .dg-svg .dg-p:not(.dg-kreuz):hover > rect:not(.dg-treffer), .dg-p:focus path { opacity: 1; }
.dg-p:focus { outline: none; }
.dg-p:focus-visible .dg-treffer { stroke: var(--tblr-primary); stroke-width: 1.5; }
.dg-leise { opacity: .45; }
.dg-legende { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .8125rem; color: var(--tblr-secondary); margin-bottom: .5rem; }
.dg-legende i { display: inline-block; width: .7rem; height: .7rem; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }
.dg-legende i.dg-strich { height: 3px; width: 1rem; border-radius: 2px; vertical-align: 3px; }
.dg-legende-werte { margin: .6rem 0 0; } .dg-legende-werte strong { color: var(--tblr-body-color); font-weight: 600; margin-left: .15rem; }
.dg-tabelle { margin-top: .5rem; font-size: .8125rem; } .dg-tabelle summary { color: var(--tblr-secondary); cursor: pointer; width: max-content; }
.dg-spark { width: 7.5rem; height: 2.1rem; }
.dg-tooltip { position: fixed; z-index: 1080; pointer-events: none; background: #182433; color: #fff; border-radius: 6px; padding: .4rem .6rem; font-size: .8125rem; line-height: 1.35; box-shadow: 0 4px 16px rgba(24, 36, 51, .25); max-width: 18rem; }
.dg-tooltip b { display: block; font-weight: 600; margin-bottom: .1rem; }
.dg-tooltip[hidden] { display: none; }
@media print { .dg-tabelle { display: none; } }
.stat-icon .icon { width: 1.35rem; height: 1.35rem; margin: 0; }
.stat-delta { font-weight: 600; white-space: nowrap; } .stat-delta .icon { width: 1rem; height: 1rem; margin-right: .1rem; vertical-align: -3px; }
.titel-icon { color: var(--tblr-secondary); margin-right: .45rem; display: inline-flex; } .titel-icon .icon { width: 1.15rem; height: 1.15rem; margin: 0; }
.min-w-0 { min-width: 0; }
/* Dezente Symbole: Seitentitel, leere Zustände */
.seiten-icon { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 8px; margin-right: .6rem; vertical-align: -6px;
  background: var(--tblr-primary-lt, #e9f0f9); color: var(--tblr-primary); }
.seiten-icon .icon { width: 1.15rem; height: 1.15rem; margin: 0; }
.leer-icon { display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--tblr-bg-surface-secondary, #f6f8fb); color: var(--tblr-secondary); margin-bottom: .75rem; }
.leer-icon .icon { width: 1.6rem; height: 1.6rem; margin: 0; stroke-width: 1.5; }
@media print { .seiten-icon { display: none; } }
.kennzahl-icon { float: right; color: var(--tblr-secondary); opacity: .55; } .kennzahl-icon .icon { width: 1.35rem; height: 1.35rem; margin: 0; }
@media (min-width: 768px) { .page-header .col-md { min-width: 17rem; } .page-title { white-space: nowrap; } }
/* Inhalte (Neuigkeiten, Fotos) */
.neuigkeit-mini { width: 3.5rem; height: 3.5rem; object-fit: cover; flex: none; }
.neuigkeit-vorschau { max-width: 12rem; max-height: 8rem; object-fit: cover; }
.neuigkeit-bild { width: 100%; max-height: 22rem; object-fit: cover; border-radius: var(--tblr-border-radius) var(--tblr-border-radius) 0 0; }
.neuigkeit-text p:last-child { margin-bottom: 0; }
.foto-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: .5rem; }
.foto-raster img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block; }
.foto-raster figure { margin: 0; position: relative; }
.foto-gross { max-width: 100%; max-height: 75vh; display: block; margin: 0 auto; border-radius: 6px; }
.album-titel { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--tblr-bg-surface-secondary); }
.umfrage-balken { height: .5rem; border-radius: 4px; background: #2a78d6; }
.umfrage-spur { background: #f1f3f6; border-radius: 4px; }
.album-leer { display: flex; align-items: center; justify-content: center; color: var(--tblr-secondary); } .album-leer .icon { width: 2.5rem; height: 2.5rem; opacity: .4; }
.foto-raster.foto-admin { grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: .75rem; }
.foto-karte img { border-radius: var(--tblr-border-radius) var(--tblr-border-radius) 0 0; }
.foto-karte.foto-titel { outline: 2px solid var(--tblr-primary); }
.brett-art { width: 2.25rem; height: 2.25rem; }
.ausweis { max-width: 24rem; margin: 0 auto; border-radius: 16px; overflow: hidden; background: var(--tblr-bg-surface); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.08); }
.ausweis-kopf { background: var(--tblr-primary); color: #fff; padding: 1rem 1.25rem; display: flex; align-items: center; gap: .75rem; }
.ausweis-kopf img { width: 2.5rem; height: 2.5rem; border-radius: 8px; background: #fff; object-fit: contain; padding: 2px; }
.ausweis-name { font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.ausweis-qr { background: #fff; padding: .75rem; border-radius: 12px; border: 1px solid var(--tblr-border-color); width: 13rem; margin: 0 auto; }
.ausweis-qr svg { width: 100%; height: auto; display: block; }
.ausweis-zeit { font-variant-numeric: tabular-nums; }
.oeffentlich-seite { background: transparent; }
.oeffentlich-seite .neuigkeit-karte + .neuigkeit-karte { margin-top: 1rem; }
.termin-datum { width: 3rem; flex: none; line-height: 1.1; }
.umfrage-anteil-0 { width: 0%; }
.umfrage-anteil-5 { width: 5%; }
.umfrage-anteil-10 { width: 10%; }
.umfrage-anteil-15 { width: 15%; }
.umfrage-anteil-20 { width: 20%; }
.umfrage-anteil-25 { width: 25%; }
.umfrage-anteil-30 { width: 30%; }
.umfrage-anteil-35 { width: 35%; }
.umfrage-anteil-40 { width: 40%; }
.umfrage-anteil-45 { width: 45%; }
.umfrage-anteil-50 { width: 50%; }
.umfrage-anteil-55 { width: 55%; }
.umfrage-anteil-60 { width: 60%; }
.umfrage-anteil-65 { width: 65%; }
.umfrage-anteil-70 { width: 70%; }
.umfrage-anteil-75 { width: 75%; }
.umfrage-anteil-80 { width: 80%; }
.umfrage-anteil-85 { width: 85%; }
.umfrage-anteil-90 { width: 90%; }
.umfrage-anteil-95 { width: 95%; }
.umfrage-anteil-100 { width: 100%; }
.dg-schmal { max-width: 40rem; }
.mandat-text { background: var(--tblr-bg-surface-secondary); font-size: .9rem; line-height: 1.5; }
.unterschrift-flaeche { display: block; width: 100%; height: 10rem; border: 1px dashed var(--tblr-border-color-dark, #c5ccd6); border-radius: var(--tblr-border-radius); background: #fff; touch-action: none; cursor: crosshair; }
.unterschrift-bild { display: block; max-width: 22rem; width: 100%; height: auto; }
@media print { .mandat-text { background: none; border: 0 !important; padding: 0 !important; } }
.app-symbol { border-radius: 12px; flex: none; }
details.card > summary { list-style: none; cursor: pointer; } details.card > summary::-webkit-details-marker { display: none; }
/* Gruppen-Chats */
.chat-liste { display: flex; flex-direction: column; gap: .4rem; }
.chat-zeile { display: flex; }
.chat-zeile.chat-eigen { justify-content: flex-end; }
.chat-blase { max-width: 82%; background: var(--tblr-bg-surface); border: 1px solid var(--tblr-border-color); border-radius: 14px 14px 14px 4px; padding: .45rem .7rem .3rem; }
.chat-eigen .chat-blase { background: var(--tblr-primary-lt, #e7f0fc); border-color: transparent; border-radius: 14px 14px 4px 14px; }
.chat-geloescht { color: var(--tblr-secondary); background: transparent !important; border-style: dashed !important; }
.chat-name { font-size: .75rem; font-weight: 600; color: var(--tblr-teal, #0ca678); }
.chat-text p { margin: 0 0 .3rem; overflow-wrap: anywhere; } .chat-text p:last-child { margin-bottom: 0; }
.chat-fuss { display: flex; justify-content: flex-end; align-items: center; gap: .25rem; font-size: .7rem; color: var(--tblr-secondary); }
.chat-menue > summary { list-style: none; cursor: pointer; line-height: 1; } .chat-menue > summary::-webkit-details-marker { display: none; }
.chat-menue > summary .icon { width: 1rem; height: 1rem; margin: 0; }
.chat-aktion { margin-top: .25rem; }
.chat-eingabe { position: sticky; bottom: calc(4.25rem + env(safe-area-inset-bottom)); display: flex; gap: .5rem; align-items: flex-end; margin-top: .75rem; padding: .5rem 0; background: var(--tblr-body-bg); }
.chat-eingabe textarea { resize: none; max-height: 9rem; }
.tableiste-punkt { position: relative; }
.tableiste-zahl { position: absolute; top: .2rem; left: calc(50% + .45rem); min-width: 1.1rem; height: 1.1rem; padding: 0 .3rem; border-radius: 999px; background: var(--tblr-teal, #0ca678); color: #fff; font-size: .65rem; line-height: 1.1rem; font-weight: 600; }
.chat-betreuer { display: inline-block; margin-left: .25rem; padding: 0 .3rem; border-radius: 4px; background: var(--tblr-teal-lt, #e6f7f2); color: var(--tblr-teal, #0ca678); font-size: .65rem; font-weight: 600; text-transform: none; }
.gruppe-tiefe-1 { padding-left: 1.25rem; display: inline-block; } .gruppe-tiefe-2 { padding-left: 2.5rem; display: inline-block; } .gruppe-tiefe-3 { padding-left: 3.75rem; display: inline-block; } .gruppe-tiefe-4, .gruppe-tiefe-5 { padding-left: 5rem; display: inline-block; }
.mitglied-suche { position: relative; } .mitglied-treffer { min-width: 100%; width: max-content; max-width: 26rem; max-height: 18rem; overflow-y: auto; top: 100%; left: 0; }

/* Seitenleiste im Portal: hell, nach Bereichen gruppiert, je Bereich eine Farbe für die Icon-Plättchen.
   Die Variante .betreiber behält die dunkle Leiste. */
.seitenleiste-hell {
  --vp-leiste: #f3f5f9; --vp-linie: #e2e6ee; --vp-text: #3b4352; --vp-leise: #8b93a3; --vp-hover: #e8ecf3;
  --tblr-navbar-bg: var(--vp-leiste); --tblr-navbar-color: var(--vp-text); --tblr-navbar-hover-color: #1b2230;
  --tblr-navbar-active-color: #1b2230; --tblr-navbar-border-color: var(--vp-linie);
  background: var(--vp-leiste); color: var(--vp-text); border-right: 1px solid var(--vp-linie); box-shadow: none;
}
.seitenleiste-hell .vereinsmarke { color: #1b2230; font-weight: 600; }
.seitenleiste-hell .navbar-nav { --tblr-sidebar-nav-padding-x: .625rem; }
.seitenleiste-hell .nav-item { padding: 0 .625rem; }
.navbar-vertical.seitenleiste-hell .navbar-nav .nav-link { border-radius: .5rem; padding: .25rem .5rem; min-height: 2.25rem; color: var(--vp-text); font-weight: 500; }
.navbar-vertical.seitenleiste-hell .navbar-nav .nav-link:hover { background: var(--vp-hover); color: #1b2230; }
.navbar-vertical.seitenleiste-hell .navbar-nav .nav-item.active > .nav-link { background: #fff; color: #1b2230; font-weight: 600; box-shadow: 0 1px 2px rgba(27, 34, 48, .08), 0 0 0 1px var(--vp-linie); }
.seitenleiste-hell .nav-item.active > .nav-link::after, .seitenleiste-hell .nav-link::after { display: none; }
.seitenleiste-hell .menue-gruppe { padding: 1rem 1.125rem .25rem; font-size: .75rem; font-weight: 600; color: var(--vp-leise); list-style: none; }
.menue-icon { display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; border-radius: .45rem; flex-shrink: 0; margin-right: .5rem !important; }
.menue-icon .icon { width: 1.05rem; height: 1.05rem; stroke-width: 1.75; margin: 0; }
.menue-blue   { background: #e5eeff; color: #2f66d8; }
.menue-violet { background: #efe9ff; color: #7246d1; }
.menue-teal   { background: #def4ef; color: #0f8070; }
.menue-amber  { background: #fff0d6; color: #a8650a; }
.menue-slate  { background: #e9ecf1; color: #586274; }
.nav-item.active .menue-blue   { background: #2f66d8; color: #fff; }
.nav-item.active .menue-violet { background: #7246d1; color: #fff; }
.nav-item.active .menue-teal   { background: #0f8070; color: #fff; }
.nav-item.active .menue-amber  { background: #c27712; color: #fff; }
.nav-item.active .menue-slate  { background: #586274; color: #fff; }
.seitenleiste-hell .konto-menue { border-top: 1px solid var(--vp-linie); padding-block: .5rem; }
.navbar-vertical.seitenleiste-hell .navbar-nav .konto-zeile { display: flex; flex-direction: row; align-items: center; gap: .125rem; }
.navbar-vertical.seitenleiste-hell .navbar-nav .konto-zeile > .nav-link:first-child { flex: 1 1 auto; min-width: 0; min-height: 2.75rem; }
.konto-zeile > form, .konto-zeile > .konto-knopf { flex: 0 0 auto; }
.navbar-vertical.seitenleiste-hell .navbar-nav .konto-knopf { flex: 0 0 auto; width: 2rem; padding: 0; justify-content: center; color: var(--vp-leise); background: transparent; border: 0; }
.navbar-vertical.seitenleiste-hell .navbar-nav .konto-knopf:hover { color: #1b2230; background: var(--vp-hover); }
.konto-knopf .icon { margin: 0; }
.seitenleiste-hell .konto-avatar { background: #dfe6f3; color: #2f3a4d; font-weight: 600; margin-right: .5rem; width: 1.75rem; height: 1.75rem; font-size: .7rem; }
.seitenleiste-hell .konto-menue .text-secondary { color: var(--vp-leise) !important; }
.seitenleiste-hell .navbar-toggler { color: var(--vp-text); }
@media (max-width: 991.98px) { .seitenleiste-hell { border-right: 0; border-bottom: 1px solid var(--vp-linie); } }
.adress-pruefung { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---- Heute (Startseite Portal) ----
   Ein Blickfang: Begrüßung mit Lage und das Kalenderblatt des nächsten Termins. Alles darunter ruhig, Farben wie im Menü. */
.menue-rose { background: #fde8ee; color: #b8325c; }
.heute { --h-tinte: #1b2230; --h-leise: #6b7385; --h-linie: #e2e6ee; }
.heute-kopf { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 1.25rem; align-items: stretch; margin-bottom: 1.5rem; }
.heute-kopf.ohne-termin { grid-template-columns: 1fr; }
.heute-gruss { background: #fff; border: 1px solid var(--h-linie); border-radius: 1rem; padding: 1.75rem 2rem; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.heute-gruss::after { content: ""; position: absolute; right: -4rem; top: -4rem; width: 14rem; height: 14rem; border-radius: 50%; background: #e5eeff; opacity: .55; }
.heute-gruss > * { position: relative; z-index: 1; }
.heute-datum { color: var(--h-leise); margin: 0 0 .35rem; font-size: .875rem; }
.heute-gruss h1 { font-size: 2.1rem; line-height: 1.15; font-weight: 650; letter-spacing: -.02em; color: var(--h-tinte); margin: 0 0 .75rem; }
.heute-lage { font-size: 1.075rem; line-height: 1.55; color: #3b4352; max-width: 60ch; margin: 0 0 1.25rem; }
.heute-schnell { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.heute-schnell .btn { border-radius: 2rem; background: #f3f5f9; border-color: transparent; }
.heute-schnell .btn:hover { background: #e5eeff; color: #2f66d8; }

.heute-termin { display: flex; gap: 1.1rem; background: #0b2d5b; color: #e7edf6; border-radius: 1rem; padding: 1.4rem; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.heute-termin:hover { color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11, 45, 91, .28); }
.heute-blatt { flex: 0 0 5.25rem; align-self: flex-start; background: #fff; color: var(--h-tinte); border-radius: .75rem; text-align: center; overflow: hidden; box-shadow: 0 4px 0 #061a37; }
.heute-blatt .blatt-monat { display: block; background: #ff8a00; color: #fff; font-size: .8rem; font-weight: 600; padding: .25rem 0; }
.heute-blatt .blatt-tag { display: block; font-size: 2.6rem; font-weight: 700; line-height: 1; padding: .4rem 0 .1rem; letter-spacing: -.03em; }
.heute-blatt .blatt-wt { display: block; font-size: .7rem; color: var(--h-leise); padding-bottom: .45rem; }
.heute-termin-text { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: .2rem; }
.heute-termin-vor { font-size: .8rem; color: #ffb35c; }
.heute-termin-titel { font-size: 1.3rem; font-weight: 650; line-height: 1.2; color: #fff; overflow-wrap: anywhere; }
.heute-termin-meta { font-size: .875rem; color: #c9d4e5; }
.heute-countdown { margin-top: .5rem; font-size: .95rem; color: #c9d4e5; }
.heute-countdown strong { font-size: 1.6rem; color: #fff; font-weight: 700; margin: 0 .1rem; }
.heute-zusagen { margin-top: .6rem; }
.heute-zusagen .text-secondary { color: #b9c7dc !important; }
.heute-termin .hb-grund { fill: rgba(255, 255, 255, .18); }
.heute-termin .hb-teal { fill: #6fe0c5; }
.heute-dienste { margin-top: .4rem; color: #c9d4e5; display: flex; align-items: center; gap: .35rem; }
.heute-dienste .icon { width: 1rem; height: 1rem; }

.heute-balken { display: block; width: 100%; height: .4rem; margin: .35rem 0; }
.hb-grund { fill: #edf0f5; } .hb-blue { fill: #2f66d8; } .hb-violet { fill: #7246d1; } .hb-teal { fill: #0f8070; }

.heute-abschnitt { margin-bottom: 1.5rem; }
.heute-h2 { font-size: 1rem; font-weight: 600; color: var(--h-tinte); margin: 0 0 .6rem; }
.heute-aufmerksam { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .75rem; }
.heute-hinweis { display: flex; align-items: center; gap: .75rem; background: #fff; border: 1px solid var(--h-linie); border-radius: .75rem; padding: .75rem .9rem; color: var(--h-tinte); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.heute-hinweis:hover { text-decoration: none; color: var(--h-tinte); border-color: #c9d2e3; box-shadow: 0 4px 12px rgba(27, 34, 48, .06); }
.hinweis-icon { width: 2.25rem; height: 2.25rem; border-radius: .6rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hinweis-zahl { font-size: 1.5rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.hinweis-text { font-size: .85rem; line-height: 1.25; color: #3b4352; flex: 1; min-width: 0; }
.hinweis-pfeil { color: #b4bccb; flex-shrink: 0; }
.hinweis-blue .hinweis-icon { background: #e5eeff; color: #2f66d8; }
.hinweis-violet .hinweis-icon { background: #efe9ff; color: #7246d1; }
.hinweis-teal .hinweis-icon { background: #def4ef; color: #0f8070; }
.hinweis-slate .hinweis-icon { background: #e9ecf1; color: #586274; }
.hinweis-amber .hinweis-icon, .hinweis-orange .hinweis-icon { background: #fff1db; color: #b25e09; }
.hinweis-red .hinweis-icon { background: #fde8e8; color: #c42b2b; }
.heute-ruhig { display: flex; align-items: center; gap: .5rem; color: #0f8070; background: #e9f7f3; border-radius: .75rem; padding: .75rem 1rem; margin-bottom: 1.5rem; font-weight: 500; }

.heute .card { border-radius: .9rem; }
.heute .card-title .menue-icon { width: 1.6rem; height: 1.6rem; margin-right: .6rem !important; }
.heute-news { display: flex; gap: 1rem; align-items: center; }
.heute-news-bild { width: 4.5rem; height: 3.25rem; object-fit: cover; border-radius: .5rem; flex-shrink: 0; }
.heute-news-bild.ohne { display: inline-flex; align-items: center; justify-content: center; background: #efe9ff; color: #7246d1; }
.heute-news.aufmacher { align-items: flex-start; padding-top: 1rem; padding-bottom: 1rem; }
.heute-news.aufmacher .heute-news-bild { width: 11rem; height: 7.5rem; border-radius: .65rem; }
.heute-news.aufmacher .heute-news-titel { font-size: 1.15rem; font-weight: 650; }
.heute-news-text { min-width: 0; flex: 1; }
.heute-news-titel { font-weight: 600; color: var(--h-tinte); line-height: 1.3; }
.heute-news-auszug { color: #3b4352; margin: .3rem 0 .4rem; font-size: .9rem; line-height: 1.5; }
.heute-news-meta { display: flex; flex-wrap: wrap; gap: .25rem .9rem; font-size: .8rem; color: var(--h-leise); margin-top: .15rem; }
.heute-news-meta .icon { width: .9rem; height: .9rem; margin-right: .15rem; }
.heute-umfragen { display: grid; gap: 1rem; }
.heute-umfrage { color: inherit; text-decoration: none; display: block; }
.heute-umfrage:hover { text-decoration: none; color: inherit; }
.heute-umfrage:hover .fw-medium { color: #7246d1; }
.heute-mini { width: 1.4rem !important; height: 1.4rem !important; margin-right: 0 !important; }
.heute-mini .icon { width: .85rem; height: .85rem; }

.heute-gross { font-size: 2.6rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--h-tinte); }
.heute-verlauf { display: block; width: 100%; height: auto; margin: 1rem 0 .75rem; overflow: visible; }
.hv-flaeche { fill: #e5eeff; } .hv-linie { fill: none; stroke: #2f66d8; stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hv-punkt { fill: #fff; stroke: #2f66d8; stroke-width: 2.25; }
.heute-verlauf text { font-size: 9px; fill: #8b93a3; }
.heute-app { border-top: 1px solid var(--h-linie); padding-top: .9rem; }
.heute-app .icon { width: 1.1rem; height: 1.1rem; margin-right: .35rem; color: #2f66d8; }

.heute-feier-tag { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #fdf1f4; color: #b8325c; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; flex-shrink: 0; }
.heute-feier-tag span { font-weight: 700; font-size: .95rem; } .heute-feier-tag small { font-size: .62rem; }
.heute-feier-tag.heute-ist { background: #b8325c; color: #fff; }
.heute-rund { background: #fde8ee; color: #b8325c; font-weight: 600; }
.heute-rund .icon { width: .85rem; height: .85rem; margin-right: .2rem; }
.heute .badge .icon { width: .85rem; height: .85rem; margin-right: .15rem; }


@media (max-width: 991.98px) {
  .heute-kopf { grid-template-columns: 1fr; }
  .heute-gruss { padding: 1.4rem; } .heute-gruss h1 { font-size: 1.7rem; }
  .heute-news.aufmacher .heute-news-bild { width: 7rem; height: 5rem; }
  .heute-schnell { display: grid; grid-template-columns: 1fr 1fr; } .heute-schnell .btn { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .heute-termin, .heute-hinweis { transition: none; } .heute-termin:hover { transform: none; } }
.heute-news.aufmacher.ohne-bild .heute-news-bild { width: 3rem; height: 3rem; }
.heute-countdown { margin-top: auto; padding-top: .75rem; }
.heute-termin-ziel { display: inline-flex; align-items: center; gap: .25rem; font-size: .85rem; color: #b9c7dc; margin-top: .6rem; }
.heute-termin:hover .heute-termin-ziel { color: #fff; }
.heute-termin-ziel .icon { width: 1rem; height: 1rem; }
.heute-fakten { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid var(--h-linie); margin-top: .9rem; padding-top: .9rem; }
.heute-fakten > div { display: flex; align-items: baseline; gap: .5rem; }
.heute-fakt { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; color: var(--h-tinte); }

/* Abrechnung */
.abrechnung-tabelle td.abgerechnet { font-weight: 600; }
.abrechnung-tabelle th, .abrechnung-tabelle td { white-space: nowrap; }
.abrechnung-zahl { width: 5.5rem; margin-left: auto; }
.abrechnung-menue { min-width: 17rem; }
.abrechnung-monate { max-height: 28rem; overflow-y: auto; }

/* Registrierung und Vertragstexte */
.registrieren h2 { font-weight: 600; }
.registrieren-mandattext { line-height: 1.5; }
.vertragstext h2 { font-size: 1.15rem; margin-top: 1.5rem; } .vertragstext h3 { font-size: 1rem; margin-top: 1.25rem; }
.vertragstext p, .vertragstext li { line-height: 1.6; }
.vertrag-eingabe { font-family: var(--tblr-font-monospace); font-size: .85rem; line-height: 1.5; }

/* Übersicht: Säulendiagramm (eine Farbe, laufender Monat heller und gestrichelt) */
.ue-diagramm { display: block; width: 100%; height: auto; overflow: visible; }
.ue-gitter { stroke: #e9ecf2; stroke-width: 1; }
.ue-basis { stroke: #c9d0dc; stroke-width: 1; }
.ue-achse { font-size: 11px; fill: #6b7385; }
.ue-wert { font-size: 11px; fill: #1b2230; font-weight: 600; }
.ue-saeule path { fill: #2f66d8; }
.ue-saeule.erwartet path { fill: #c7d8fb; stroke: #2f66d8; stroke-width: 1; stroke-dasharray: 3 2; }
.ue-treffer { fill: transparent; }
.ue-saeule:hover path { fill: #2556b8; } .ue-saeule.erwartet:hover path { fill: #b3cafa; }

/* Hilfe und Start-Checkliste */
.checkliste-haken .icon { width: 1.4rem; height: 1.4rem; color: #b4bccb; }
.checkliste-punkt.erledigt .checkliste-haken .icon { color: #0f8070; }
.checkliste-punkt.erledigt .fw-medium { color: #6b7385; text-decoration: line-through; text-decoration-color: #b4bccb; }
.hilfe-text { max-width: 70ch; }
.heute-start { border-left: 4px solid #0f8070; }
.heute-start-kopf { min-width: 14rem; }
.heute-start-liste { margin: 0; padding-left: 1.2rem; display: grid; gap: .25rem; }

/* Automatische Abmeldung im Portal */
.sitzung-zaehler { list-style: none; display: flex; align-items: center; gap: .35rem; padding: .1rem 1.1rem .25rem; font-size: .72rem; color: var(--vp-leise, #8b93a3); font-variant-numeric: tabular-nums; }
.sitzung-zaehler .icon { width: .85rem; height: .85rem; }
.sitzung-zaehler.bald { color: #b54708; font-weight: 600; }
.sitzung-warnung { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1080; max-width: 32rem; background: #fff; border: 1px solid #f3c78b; border-left: 4px solid #e8890c; border-radius: .75rem; padding: .9rem 1rem; box-shadow: 0 12px 28px rgba(27, 34, 48, .18); }
.sitzung-warnung[hidden] { display: none; }
.sitzung-warnung-icon .icon { width: 1.4rem; height: 1.4rem; color: #e8890c; }
.sitzung-warnung-zeit { font-variant-numeric: tabular-nums; }
.sitzung-warnung .btn { white-space: nowrap; flex-shrink: 0; }

/* 1.8.0 Support-Zugang: unübersehbares Band über dem Inhalt */
.support-band { background: #fff4e5; border-bottom: 2px solid #f59f00; color: #6b4300; font-size: .875rem; }
.support-band .icon { color: #f59f00; }
.support-band .btn { background: #fff; }
[data-bs-theme="dark"] .support-band { background: #3a2a0a; color: #ffd8a8; }

/* 1.8.0 Versammlung: Check-in-Code im Portal und Leinwand für den Beamer */
.checkin-code { font-size: 2.6rem; font-weight: 700; letter-spacing: .12em; font-variant-numeric: tabular-nums; color: var(--tblr-primary); }
body.leinwand { background: #0f1b2d; color: #f1f4f9; min-height: 100vh; }
.leinwand-seite { min-height: 100vh; display: flex; flex-direction: column; padding: 3vh 4vw; gap: 3vh; }
.leinwand-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 2vh; }
.leinwand-kopf h1 { font-size: clamp(1.6rem, 3vw, 3rem); margin: 0; color: #fff; }
.leinwand-verein { margin-bottom: .6vh; }
.leinwand-verein, .leinwand-termin { color: #9fb0c8; font-size: clamp(1rem, 1.4vw, 1.5rem); }
.leinwand-mitte { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.leinwand-marke { display: inline-block; align-self: flex-start; background: #2fb344; color: #fff; border-radius: 999px; padding: .3em 1em; font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.6rem); margin-bottom: 2vh; }
.leinwand-marke-ergebnis { background: #4299e1; }
.leinwand-frage { font-size: clamp(2rem, 4.6vw, 5rem); line-height: 1.12; font-weight: 700; color: #fff; margin: 0 0 3vh; max-width: 30ch; }
.leinwand-optionen { list-style: none; padding: 0; margin: 0 0 3vh; display: flex; flex-wrap: wrap; gap: .8rem; }
.leinwand-optionen li { border: 2px solid rgba(255,255,255,.35); border-radius: .6rem; padding: .35em .9em; font-size: clamp(1.1rem, 2vw, 2rem); }
.leinwand-zahl { font-size: clamp(4rem, 10vw, 10rem); font-weight: 800; line-height: 1; margin: 0; font-variant-numeric: tabular-nums; }
.leinwand-von { font-size: clamp(1.2rem, 2.4vw, 2.4rem); font-weight: 400; color: #9fb0c8; }
.leinwand-hinweis { color: #9fb0c8; font-size: clamp(1rem, 1.8vw, 1.8rem); margin: 2vh 0 0; }
.leinwand-ergebnis { display: flex; flex-direction: column; gap: 2vh; max-width: 70rem; }
.leinwand-zeile { display: grid; grid-template-columns: minmax(8rem, 22rem) 1fr 6rem; align-items: center; gap: 1.5rem; font-size: clamp(1.2rem, 2.4vw, 2.6rem); }
.leinwand-balken { width: 100%; height: clamp(1.4rem, 3vh, 2.6rem); }
.leinwand-balken-grund { fill: rgba(255,255,255,.1); }
.leinwand-balken-wert { fill: #4299e1; }
.leinwand-stimmen { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.leinwand-fuss { display: flex; flex-wrap: wrap; gap: 4vw; align-items: baseline; border-top: 1px solid rgba(255,255,255,.15); padding-top: 2vh; color: #9fb0c8; font-size: clamp(1rem, 1.6vw, 1.7rem); }
.leinwand-wert { color: #fff; font-weight: 700; font-size: 1.6em; font-variant-numeric: tabular-nums; margin-right: .2em; }
.leinwand-code-feld { margin-left: auto; }
.leinwand-code { color: #fff; font-weight: 800; font-size: 2.4em; letter-spacing: .1em; margin-left: .4em; font-variant-numeric: tabular-nums; }
/* App: Versammlung */
.code-eingabe { font-size: 2rem; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }

/* 1.9.0 Support-Anfragen: Gesprächsverlauf */
.ticket-verlauf { display: flex; flex-direction: column; gap: .75rem; }
.ticket-nachricht { max-width: 88%; border-radius: .75rem; padding: .75rem 1rem; background: var(--tblr-bg-surface, #fff); border: 1px solid var(--tblr-border-color, #e6e7e9); }
.ticket-wir { align-self: flex-end; background: var(--tblr-primary-lt, #e8f1fb); border-color: transparent; }
.ticket-support { align-self: flex-start; }
.ticket-intern { align-self: flex-start; background: #fff8e1; border: 1px dashed #f59f00; }
.ticket-kopf { display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; margin-bottom: .35rem; }
.ticket-text { white-space: pre-wrap; overflow-wrap: anywhere; }

/* 1.9.3 Einheitlicher Seitenkopf im Portal */
.seitenkopf { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; min-height: 2.5rem; }
.seitenkopf .page-title { flex: 1 1 16rem; margin: 0; min-width: 0; display: flex; align-items: center; }
.seitenkopf-titel { overflow: hidden; text-overflow: ellipsis; }
.seitenkopf-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-left: auto; }
.seitenkopf-aktionen .btn-list { flex-wrap: wrap; }
.seitenkopf-unter { margin-top: .25rem; }
.page-header .breadcrumb { margin-bottom: .35rem; }
.seitenkopf-reiter { margin-top: .9rem; }
.nav-segmented .nav-link .icon { width: 1.05rem; height: 1.05rem; margin-right: .4rem; }
.filter-reiter { margin: 0; }
.seiten-icon.farbe-blue   { background: #e5eeff; color: #2f66d8; }
.seiten-icon.farbe-violet { background: #efe9ff; color: #7246d1; }
.seiten-icon.farbe-teal   { background: #def4ef; color: #0f8070; }
.seiten-icon.farbe-amber  { background: #fff0d6; color: #a8650a; }
.seiten-icon.farbe-slate  { background: #e9ecf1; color: #586274; }
.seitenkopf .seiten-icon { flex-shrink: 0; vertical-align: 0; }
.karte-reiter { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding: .75rem 1rem; border-bottom: 1px solid var(--tblr-border-color, #e6e7e9); }
.karte-reiter .karte-reiter-rechts { margin-left: auto; color: var(--tblr-secondary); font-size: .875rem; }
.seitenkopf-marken { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .5rem; }
.seitenkopf .page-title { order: 1; }
.seitenkopf-aktionen { order: 2; }
.seitenkopf-unter { order: 3; flex-basis: 100%; margin-top: -.35rem; }
@media (max-width: 767.98px) {
  .seitenkopf-unter { order: 2; margin-top: -.5rem; }
  .seitenkopf-aktionen { order: 3; margin-left: 0; }
}
.seiten-icon.klein { width: 1.6rem; height: 1.6rem; border-radius: 6px; margin-right: .5rem; vertical-align: -5px; }
.seiten-icon.klein .icon { width: 1rem; height: 1rem; }
.mitglieder-app .navbar[data-bs-theme="dark"] .avatar { background: #fff !important; color: #0b2d5b !important; }
/* Sechs Kennzahl-Kacheln in einer Reihe: ohne Symbol, solange der Platz knapp ist */
@media (max-width: 1599.98px) { .kacheln-kompakt .stat-icon { display: none; } }
.kacheln-kompakt .subheader { overflow-wrap: normal; }

/* Office-Desk: Brief-Editor und Vorschau des Brieftexts (gleiche Abstände wie im PDF) */
.brief-editor { border: 1px solid var(--tblr-border-color); border-radius: var(--tblr-border-radius); background: var(--tblr-bg-forms, #fff); }
.brief-editor:focus-within { border-color: var(--vp-orange, #ff8a00); box-shadow: 0 0 0 .2rem rgba(255, 138, 0, .2); }
.brief-editor .editor-quelle { border: 0; border-radius: var(--tblr-border-radius); font-family: var(--tblr-font-monospace); font-size: .8125rem; }
.editor-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; padding: .375rem .5rem; border-bottom: 1px solid var(--tblr-border-color); background: var(--tblr-bg-surface-secondary, #f6f8fb); position: sticky; top: 0; z-index: 2; border-radius: var(--tblr-border-radius) var(--tblr-border-radius) 0 0; }
.editor-leiste .editor-gruppe { display: inline-flex; gap: .125rem; padding-left: .5rem; border-left: 1px solid var(--tblr-border-color); }
.editor-leiste .btn-icon { border-color: transparent; background: transparent; box-shadow: none; }
.editor-leiste .btn-icon:hover, .editor-leiste .btn-icon.active { background: var(--tblr-primary-lt, #e7ecf3); color: var(--tblr-primary); }
.editor-leiste .editor-block { width: auto; min-width: 9.5rem; }
.editor-leiste .editor-platzhalter { width: auto; max-width: 14rem; }
.editor-flaeche { min-height: 22rem; max-height: 70vh; overflow: auto; padding: 1.25rem 1.5rem; outline: none; }
.brief-vorschau { font-size: 11pt; line-height: 1.4; color: #1c2130; }
.brief-vorschau p { margin: 0 0 .75em; }
.brief-vorschau h2 { font-size: 14pt; margin: .5em 0 .45em; color: var(--tblr-primary); }
.brief-vorschau h3 { font-size: 12pt; margin: .5em 0 .4em; color: var(--tblr-primary); }
.brief-vorschau ul, .brief-vorschau ol { margin: 0 0 .75em; padding-left: 1.6em; }
.brief-vorschau blockquote { margin: 0 0 .75em; padding-left: 1em; border-left: 3px solid var(--tblr-primary); }
.brief-vorschau hr { margin: .5em 0 1em; }
.brief-vorschau a { color: var(--tblr-primary); text-decoration: underline; }
.brief-vorschau .a-mitte { text-align: center; } .brief-vorschau .a-rechts { text-align: right; } .brief-vorschau .a-block { text-align: justify; }
.card-body.brief-vorschau { font-size: .9rem; max-height: 32rem; overflow: auto; }
.empfaenger-zeile { min-height: 2rem; }
.office-knoepfe details.als-vorlage { position: relative; }
.office-knoepfe details.als-vorlage .card { position: absolute; right: 0; bottom: 100%; width: 18rem; z-index: 5; }
.suchfeld-klein { min-width: 14rem; }

/* Einheitliches Briefpapier in den Druckansichten (Rechnung, Mietvertrag, Bestätigungen, Berichte) – wie das PDF des Office-Desk:
   Band in den Vereinsfarben oben, ruhiger Kopf mit Zusatzzeile, Anschrift und Informationsblock, getönter Fußbereich. */
:root { --brief-akzent: #0b2d5b; --brief-zweit: #7d8da4; --brief-toenung: #f1f3f6; }
:is(.brief, .blatt) .card-body { --bleed: 1.5rem; }
@media (min-width: 768px) { :is(.brief, .blatt) .card-body.p-md-5 { --bleed: 2rem; } }
.card:has(> .card-body > .briefblatt-kopf.mit-band) { border-top: 3.5mm solid var(--brief-akzent); box-shadow: inset 0 1.1mm 0 var(--brief-zweit); overflow: hidden; }
.briefblatt-kopf { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 22mm; margin-bottom: 9mm; }
.briefblatt-kopf.mit-linie { border-bottom: .6pt solid var(--brief-akzent); padding-bottom: 4mm; }
.briefblatt-kopf.lage-links { flex-direction: row-reverse; }
.briefblatt-kopf.lage-links .briefblatt-name { text-align: right; }
.briefblatt-kopf.lage-mitte { flex-direction: column-reverse; justify-content: center; text-align: center; gap: .6rem; }
.briefblatt-kopf.ohne-logo { justify-content: flex-start; flex-direction: row; }
.briefblatt-kopf.ohne-logo .briefblatt-name { text-align: left; }
.briefblatt-name { color: var(--brief-akzent); font-weight: 700; font-size: 17pt; line-height: 1.15; }
.briefblatt-zusatz { color: #6b7380; font-weight: 400; font-size: 8.5pt; margin-top: 1.5mm; }
.briefblatt-logo img { max-height: 24mm; max-width: 60mm; display: block; }
.briefblatt-kopf.lage-mitte .briefblatt-logo { width: 100%; }
.briefblatt-kopf.lage-mitte .briefblatt-logo img { max-height: 32mm; max-width: 100%; margin: 0 auto; }
.briefblatt-kopf.ohne-logo.lage-mitte { justify-content: center; }
.briefblatt-kopf.ohne-logo.lage-mitte .briefblatt-name { text-align: center; }
.briefblatt-fenster { display: flex; justify-content: space-between; gap: 2rem; min-height: 40mm; margin-bottom: 8mm; }
.briefblatt-anschrift { width: 85mm; max-width: 100%; font-size: 10.5pt; line-height: 1.4; }
.briefblatt-anschrift .absenderzeile { font-size: 7pt; color: #6b7380; text-decoration: none; margin-bottom: 2.5mm; max-width: 80mm; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; word-spacing: .15em; }
.briefblatt-info { margin: 0 0 0 auto; font-size: 9pt; align-self: start; width: 50.5mm; max-width: 100%; padding-left: 2.5mm; border-left: 1.2pt solid var(--brief-zweit); overflow-wrap: anywhere; }
.briefblatt-info dt { font-weight: 400; color: #6b7380; font-size: 6.5pt; }
.briefblatt-info dd { margin: 0 0 1.6mm; }
.briefblatt-fuss { display: grid; gap: 0 1rem; margin-top: 12mm; padding-top: 3mm; border-top: .4pt solid #cfd4db; font-size: 7pt; line-height: 1.5; color: #454c5b; }
.briefblatt-fuss strong { display: block; color: var(--brief-akzent); font-size: 6.5pt; margin-bottom: .6mm; }
.briefblatt-fuss.mit-band { background: var(--brief-toenung); border-top: 0; border-bottom: 1.8mm solid var(--brief-akzent); margin: 12mm calc(-1 * var(--bleed)) calc(-1 * var(--bleed)); padding: 5mm var(--bleed) 5mm; }
.briefblatt-fuss.spalten-1 { grid-template-columns: 1fr; } .briefblatt-fuss.spalten-2 { grid-template-columns: repeat(2, 1fr); }
.briefblatt-fuss.spalten-3 { grid-template-columns: repeat(3, 1fr); } .briefblatt-fuss.spalten-4 { grid-template-columns: repeat(4, 1fr); }
.brief h1, .brief h2, .blatt h1, .blatt h2, .zuwendung h2, .bericht-titel { color: var(--brief-akzent); }
/* Marke am rechten Rand über dem Fußbereich: hochkant laufender Text, darunter ein kleiner QR-Code zu www.vereinsplan.de */
.briefblatt-fuss { position: relative; }
.vp-marke { position: absolute; bottom: calc(100% + 3mm); right: calc(-1 * var(--bleed, 2rem) + 1.2mm); width: min(8mm, calc(var(--bleed, 2rem) - 2mm));
  display: flex; flex-direction: column; align-items: center; gap: 2mm; color: #6b7380; font-size: 6.5pt; line-height: 1; pointer-events: none; }
.briefblatt-fuss.mit-band .vp-marke { right: 1.2mm; }
.vp-marke-text { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.vp-marke-text strong { display: inline; margin: 0; color: #4a515e; font-size: inherit; }
.vp-marke .qr { width: 50%; height: auto; display: block; }
@media (max-width: 575.98px) { .briefblatt-fenster { flex-direction: column; } .briefblatt-fuss { grid-template-columns: 1fr 1fr !important; } }
@media print {
  .card:has(> .card-body > .briefblatt-kopf.mit-band), .briefblatt-fuss.mit-band { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .card:has(> .card-body > .briefblatt-kopf.mit-band) { border-top: 3.5mm solid var(--brief-akzent) !important; }
  .briefblatt-fuss.mit-band { margin: 0; padding: 4mm 6mm; }
}

/* Mein Konto: Einstellungsseite mit Navigation links (auf dem Handy oben, waagerecht scrollbar) */
.konto { overflow: hidden; }
.konto .konto-nav { border-right: 1px solid var(--tblr-border-color); padding: .75rem; min-width: 0; }
.konto-nav-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .125rem; }
.konto-nav-link { display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem; border-radius: var(--tblr-border-radius); color: var(--tblr-body-color); text-decoration: none; }
.konto-nav-link .icon { color: var(--tblr-secondary); flex: none; }
.konto-nav-link:hover { background: var(--tblr-bg-surface-secondary, #f6f8fb); text-decoration: none; color: var(--tblr-body-color); }
.konto-nav-link.aktiv { background: var(--tblr-primary-lt, #e7ecf3); color: var(--tblr-primary); font-weight: 600; }
.konto-nav-link.aktiv .icon { color: var(--tblr-primary); }
.konto .konto-inhalt { min-width: 0; }
.konto-abschnitt-titel { font-size: 1rem; font-weight: 600; margin: 0 0 .25rem; }
.konto-abschnitt-text { margin-bottom: 1.25rem; max-width: 46rem; }
.konto-form { max-width: 26rem; }
.konto-form-breit { max-width: 44rem; }
.konto-liste .list-group-item { padding-left: 0; padding-right: 0; }
.konto-schritte { padding-left: 1.2rem; margin-bottom: 1rem; }
@media (max-width: 991.98px) {
  .konto .konto-nav { border-right: 0; border-bottom: 1px solid var(--tblr-border-color); padding: .5rem; }
  .konto-nav-liste { flex-direction: row; flex-wrap: wrap; gap: .25rem; }
  .konto-nav-link { white-space: nowrap; padding: .45rem .65rem; }
}

/* Diagramme (Finanz-Cockpit): validierte Reihenfarben (Blau/Orange), dünne Marken, zurückhaltendes Raster */
:root { --vz-1: #2a78d6; --vz-2: #eb6834; --vz-grau: #9aa1ad; --vz-gitter: #e8eaee; --vz-null: #b9bfc8; --vz-text: #6b7380; }
.vz-rahmen { overflow-x: auto; }
.vz-rahmen svg.vz { display: block; width: 100%; min-width: 560px; height: auto; }
svg.vz .vz-gitter { stroke: var(--vz-gitter); stroke-width: 1; }
svg.vz .vz-null { stroke: var(--vz-null); stroke-width: 1; }
svg.vz .vz-achse { fill: var(--vz-text); font-size: 11px; font-family: inherit; font-variant-numeric: tabular-nums; }
svg.vz path.vz-r1, svg.vz circle.vz-r1 { fill: var(--vz-1); }
svg.vz path.vz-r2, svg.vz circle.vz-r2 { fill: var(--vz-2); }
svg.vz .vz-linie { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
svg.vz .vz-linie.vz-r1 { stroke: var(--vz-1); } svg.vz .vz-linie.vz-r2 { stroke: var(--vz-2); } svg.vz .vz-linie.vz-grau { stroke: var(--vz-grau); }
svg.vz .vz-gestrichelt { stroke-dasharray: 5 4; }
svg.vz .vz-punkt { stroke: #fff; stroke-width: 2; }
svg.vz .vz-treffer { fill: transparent; outline: none; cursor: default; }
svg.vz .vz-treffer.aktiv, svg.vz .vz-treffer:focus-visible { fill: rgba(11, 45, 91, .05); }
.vz-legende { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .8125rem; color: var(--tblr-secondary); }
.vz-legende span { display: inline-flex; align-items: center; gap: .4rem; }
.vz-marke { display: inline-block; width: .7rem; height: .7rem; border-radius: 3px; }
.vz-marke.vz-r1 { background: var(--vz-1); } .vz-marke.vz-r2 { background: var(--vz-2); } .vz-marke.vz-grau { background: var(--vz-grau); }
.vz-marke-strich { height: 0; border-top: 2px dashed var(--vz-grau); background: none !important; width: 1rem; border-radius: 0; }
.vz-tabelle > summary { font-size: .8125rem; color: var(--tblr-secondary); cursor: pointer; margin-top: .5rem; }
.vz-tip { position: absolute; z-index: 1080; pointer-events: none; background: #1c2130; color: #fff; border-radius: 6px; padding: .4rem .6rem; font-size: .8125rem; line-height: 1.4; box-shadow: 0 4px 14px rgba(0,0,0,.18); max-width: 18rem; font-variant-numeric: tabular-nums; }
.vz-tip .vz-tip-kopf { font-weight: 600; margin-bottom: .1rem; }
/* Cockpit: Kennzahlen, Balken in Listen, Aufgaben */
.cockpit-kz { height: 100%; }
.cockpit-kz .kz-titel { font-size: .8125rem; color: var(--tblr-secondary); display: flex; align-items: center; gap: .4rem; }
.cockpit-kz .kz-wert { font-size: 1.6rem; font-weight: 700; line-height: 1.2; margin: .35rem 0 .2rem; font-variant-numeric: tabular-nums; color: var(--tblr-body-color); white-space: nowrap; }
.cockpit-kz .kz-unter { font-size: .8125rem; color: var(--tblr-secondary); }
.kz-delta { display: inline-flex; align-items: center; gap: .15rem; font-weight: 600; }
.kz-delta.gut { color: #2b8a3e; } .kz-delta.schlecht { color: #c92a2a; } .kz-delta.neutral { color: var(--tblr-secondary); }
.zahl { font-variant-numeric: tabular-nums; white-space: nowrap; }
.anteil { height: .45rem; border-radius: 99px; background: var(--vz-gitter); overflow: hidden; }
.anteil > span { display: block; height: 100%; border-radius: 99px; background: var(--vz-1); }
.anteil.r2 > span { background: var(--vz-2); }
.anteil.ueber > span { background: #c92a2a; }
.anteil.warn > span { background: #e8a200; }
.aufgabe { display: flex; align-items: center; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid var(--tblr-border-color-translucent, #eef0f3); color: inherit; text-decoration: none; }
.aufgabe:last-child { border-bottom: 0; }
.aufgabe:hover { text-decoration: none; color: inherit; }
.aufgabe:hover .aufgabe-text { color: var(--tblr-primary); }
.aufgabe .aufgabe-text { flex: 1; min-width: 0; }
.aufgabe .aufgabe-wert { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cockpit-leer { color: var(--tblr-secondary); display: flex; align-items: center; gap: .5rem; }

/* Buchungsliste: Text darf umbrechen, Nebenangaben (Konto, Geldkonto, Veranstaltung) unter dem Text – keine abgeschnittenen Spalten */
.buchungstabelle .buchung-zelle { min-width: 14rem; white-space: normal; overflow-wrap: anywhere; }
.buchungstabelle .buchung-neben { display: flex; flex-wrap: wrap; column-gap: .75rem; margin-top: .125rem; }
.buchungstabelle td { white-space: nowrap; }
.buchungstabelle td.buchung-zelle { white-space: normal; }
@media (max-width: 1199.98px) {
  .buchungstabelle .name-zelle, .buchungstabelle th.sp-name { position: static; box-shadow: none; }
}
@media (max-width: 575.98px) {
  .buchungstabelle .buchung-zelle { min-width: 9rem; }
  .buchungstabelle td, .buchungstabelle th { padding-left: .5rem; padding-right: .5rem; }
}

/* Datenqualität: aufklappbare Prüfungen */
.dq-pruefung > summary { cursor: pointer; list-style: none; }
.dq-pruefung > summary::-webkit-details-marker { display: none; }
.dq-pruefung:not([open]) > summary { border-bottom: 0; }
.dq-symbol .icon { width: 1.4rem; height: 1.4rem; }

/* Mitgliederfotos */
img.mitglied-foto { object-fit: cover; }
.foto-pruefen { width: 9rem; height: 9rem; object-fit: cover; border-radius: var(--tblr-border-radius-lg); box-shadow: 0 0 0 1px var(--tblr-border-color); }
.foto-aendern > summary { list-style: none; }
.foto-aendern > summary::-webkit-details-marker { display: none; }
img.app-foto { object-fit: cover; }
.ausweis-foto { display: block; width: 7.5rem; height: 7.5rem; object-fit: cover; border-radius: 50%; margin: 0 auto .75rem; box-shadow: 0 0 0 3px var(--tblr-bg-surface), 0 0 0 4px var(--tblr-border-color); }
.karteikarte-foto { float: right; width: 6rem; height: 6rem; object-fit: cover; border-radius: var(--tblr-border-radius); margin-left: 1rem; }
.dq-liste { max-height: 26rem; overflow-y: auto; }

/* Einlass: Kamerabild mit Zielrahmen, Ergebnis in Signalfarbe */
.einlass-scanner { position: relative; overflow: hidden; border-radius: var(--tblr-border-radius-lg); background: #000; aspect-ratio: 1 / 1; }
.einlass-scanner[hidden] { display: none; }
.einlass-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.einlass-rahmen { position: absolute; inset: 18%; border: 3px solid rgba(255, 255, 255, .9); border-radius: .75rem; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .35); }
.einlass-ergebnis { margin: 0 0 1.25rem; padding: 1.25rem 1rem; border-radius: var(--tblr-border-radius-lg); color: #fff; text-align: center; }
.einlass-ergebnis.ok { background: var(--tblr-success); }
.einlass-ergebnis.nein { background: var(--tblr-danger); }
.einlass-ergebnis .h1 { color: #fff; margin: .25rem 0 0; font-size: 2rem; }
.einlass-ergebnis .icon { width: 3rem; height: 3rem; stroke-width: 2; }

/* Website-Widget: kompakt, in den Vereinsfarben (Farben kommen aus oeffentlich&teil=farben) */
.widget-seite { background: transparent; }
.widget { --widget-akzent: #0b2d5b; --widget-zweit: #6d81a0; --widget-toenung: #eef1f5; --widget-auf-akzent: #fff;
  font-size: .9375rem; color: var(--tblr-body-color); background: var(--tblr-bg-surface); border: 1px solid var(--tblr-border-color); border-radius: .75rem; overflow: hidden; }
.widget-kopf { background: var(--widget-akzent); color: var(--widget-auf-akzent); font-weight: 600; padding: .7rem 1rem; border-bottom: 3px solid var(--widget-zweit); }
.widget-teil { padding: .9rem 1rem 1rem; }
.widget-teil + .widget-teil { border-top: 1px solid var(--tblr-border-color); }
.widget-titel { display: flex; align-items: center; gap: .4rem; font-size: 1rem; font-weight: 600; margin: 0 0 .6rem; color: var(--widget-akzent); }
.widget-titel .icon { width: 1.15rem; height: 1.15rem; }
.widget-liste { list-style: none; margin: 0; padding: 0; }
.widget-liste li + li { border-top: 1px solid var(--tblr-border-color-translucent); }
.widget-liste a { display: flex; gap: .75rem; align-items: center; padding: .5rem 0; color: inherit; text-decoration: none; }
.widget-neuigkeit a { flex-direction: column; align-items: stretch; gap: .1rem; }
.widget-liste a:hover .widget-name, .widget-liste a:focus-visible .widget-name { color: var(--widget-akzent); text-decoration: underline; }
.widget-liste a:focus-visible { outline: 2px solid var(--widget-akzent); outline-offset: 2px; border-radius: .25rem; }
.widget-datum { flex: 0 0 3rem; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 3rem; border-radius: .5rem; background: var(--widget-toenung); color: var(--widget-akzent); line-height: 1.05; }
.widget-tag { font-size: 1.25rem; font-weight: 700; }
.widget-monat { font-size: .75rem; }
.widget-text { min-width: 0; display: flex; flex-direction: column; }
.widget-name { font-weight: 600; overflow-wrap: anywhere; }
.widget-info { font-size: .8125rem; color: var(--tblr-secondary); }
.widget-leer { color: var(--tblr-secondary); margin: 0 0 .5rem; }
.widget-mehr { display: inline-block; margin-top: .5rem; font-size: .875rem; font-weight: 600; color: var(--widget-akzent); }

/* Mehrfachauswahl von Mitgliedern (Urkunden): gewählte als Kärtchen über dem Suchfeld */
.mitglieder-gewaehlt { display: flex; flex-wrap: wrap; gap: .375rem; }
.mitglieder-gewaehlt:not(:empty) { margin-bottom: .5rem; }
.mitglied-kaertchen { display: inline-flex; align-items: center; font-size: .8125rem; font-weight: 500; padding: .3rem .4rem .3rem .6rem; }
.mitglied-kaertchen .btn-close { width: .6rem; height: .6rem; padding: .2rem; background-size: .55rem; }

/* Bankabruf: Freigabe mit photoTAN-Grafik bzw. chipTAN-Flickercode */
.bankabruf-grafik { display: block; max-width: 16rem; width: 100%; margin-inline: auto; image-rendering: pixelated; }
.bankabruf-flicker svg { display: block; width: 100%; max-width: 22rem; height: auto; margin-inline: auto; }
.bankabruf-tan { letter-spacing: .3em; font-variant-numeric: tabular-nums; }

/* Impressum und Datenschutz unter Anmeldung, Registrierung und im Fuß des Portals */
.rechtliche-links { display: flex; gap: 1rem; justify-content: center; }
.rechtliche-links.ms-auto { justify-content: flex-end; }
.rechtliche-links a { color: var(--tblr-secondary); }
