/* Homepage-Steuerung · Vereinsfarben, Gestaltung „Gerade“ wie die neue Homepage (31.10.2026) */
:root { --rot: #8a1812; --blau: #29235c; --gruen: #076633; --hell: #e5e5e5; --grau: #7c7c7c;
  --grund: #f3f5f8; --karte: #fff; --text: #324a6d; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--grund); color: var(--text); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
main { max-width: 980px; margin: 0 auto; padding: 16px; }
h1 { font-size: 1.35rem; margin: 0 0 8px; color: var(--blau); }
h2 { font-size: 1.05rem; margin: 0 0 12px; color: var(--blau); }
h2::before { content: ""; display: block; width: 32px; height: 3px; background: var(--gruen); margin-bottom: 8px; }
a { color: var(--blau); text-underline-offset: 3px; }
.dgb-konto-platz { margin-left: auto; }
.reiter { display: flex; gap: 4px; max-width: 980px; margin: 0 auto; padding: 12px 16px 0; overflow-x: auto; }
.reiter a, .wahl a { padding: 8px 14px; text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.reiter a[aria-current], .wahl a[aria-current] { border-color: var(--blau); font-weight: 600; }
.wahl { display: flex; gap: 4px; margin-bottom: 12px; flex-wrap: wrap; }
.karte { background: var(--karte); border: 1px solid var(--hell); padding: 18px; margin-bottom: 14px; }
.schmal { max-width: 380px; margin: 40px auto; }
.hinweis, .leise-text { color: var(--grau); font-size: .92rem; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.kachel { background: var(--karte); border: 1px solid var(--hell); padding: 14px; font-size: .9rem; color: var(--grau); }
.kachel .zahl { display: block; font-size: 1.7rem; font-weight: 700; color: var(--blau); }
.knopfzeile { display: flex; gap: 10px; flex-wrap: wrap; }
button { font: inherit; padding: 10px 16px; cursor: pointer; border: 1px solid transparent; border-radius: 2px; }
button.haupt { background: var(--blau); color: #fff; font-weight: 600; }
button.leise { background: #fff; border-color: #c9c8d0; color: var(--blau); }
button:disabled { opacity: .5; cursor: default; }
a.knopf-link { display: block; text-align: center; text-decoration: none; padding: 14px; background: var(--blau); color: #fff; font-weight: 600; }
.liste { margin: 0; padding-left: 18px; }
.liste li { margin-bottom: 6px; }
.tabelle { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tabelle th, .tabelle td { text-align: left; padding: 7px 6px; border-bottom: 1px solid var(--hell); vertical-align: top; }
.tabelle td:first-child { word-break: break-word; }
.zahl { text-align: right !important; white-space: nowrap; }
.diagramm { display: flex; align-items: flex-end; gap: 3px; height: 150px; overflow-x: auto; padding-bottom: 2px; }
.balken { flex: 1 0 14px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.balken span { display: block; width: 100%; height: var(--h); min-height: 1px; background: var(--blau); }
.balken small { font-size: .62rem; color: var(--grau); writing-mode: vertical-rl; transform: rotate(180deg); height: 48px; margin-top: 4px; overflow: hidden; }
.diagramm { height: 200px; }
.diagramm.eng .balken { flex-basis: 4px; }
.diagramm.eng .balken small { display: none; }
@media (max-width: 600px) { .tabelle { font-size: .85rem; } }
.kachel .zahl { text-align: left !important; }
label { display: block; margin: 0 0 12px; font-weight: 600; font-size: .92rem; }
label small { font-weight: 400; color: var(--grau); }
input, select, textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 11px; font: inherit; font-size: 16px;
  border: 1px solid #c9c8d0; border-radius: 2px; background: #fff; min-width: 0; }
.schalter { display: flex; align-items: center; gap: 10px; }
.schalter input { width: auto; margin: 0; }
fieldset.art { border: 1px solid var(--hell); margin: 0 0 12px; padding: 10px 14px 4px; min-width: 0; }
fieldset.art legend { font-weight: 600; padding: 0 4px; color: var(--blau); }
.zeile3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
@media (max-width: 600px) { .zeile3 { grid-template-columns: 1fr; } }
.warnung { background: #fff6e0; border: 1px solid #e8c766; padding: 10px 14px; }
.karte.gefahr { border-color: #e2b4b1; }
button.gefahr { background: var(--rot); color: #fff; font-weight: 600; }
button.klein { padding: 5px 10px; font-size: .85rem; }
.breit { overflow-x: auto; }
code { background: var(--grund); padding: 1px 4px; font-size: .88em; word-break: break-all; }
details summary { cursor: pointer; color: var(--blau); margin-top: 12px; }
body.druck { background: #fff; }
body.druck .kasten { font-size: 1.2rem; width: 32px; }
@media print { .hinweis { color: #000; } }
.vorschaubild { width: 96px; height: 60px; object-fit: cover; display: block; border: 1px solid var(--hell); }
.knopfspalte { white-space: nowrap; text-align: right; }
.knopfspalte button { margin-left: 4px; }
.textblock { border-top: 1px solid var(--hell); padding: 14px 0; }
.textblock:first-child { border-top: 0; }
.textfeld { border: 1px solid #c9c8d0; background: #fff; padding: 10px 12px; min-height: 60px; margin: 6px 0 8px; line-height: 1.6; }
.textfeld:focus, .zeilenfeld:focus { outline: 2px solid var(--blau); }
.textfeld p { margin: 0 0 .7em; }
.zeilenfeld { margin: 6px 0 8px; font-weight: 600; }
.werkzeuge { display: flex; gap: 4px; margin-top: 6px; }
.werkzeuge button { padding: 4px 10px; background: #fff; border: 1px solid #c9c8d0; }
.markiert { background: #fff3c4; color: #6b5300; padding: 0 6px; margin-left: 6px; }
.eingang { white-space: pre-wrap; font: .9rem/1.5 ui-monospace, monospace; background: var(--grund); padding: 10px; }

/* Tagesansicht der Besucher (31.10.2026) */
a.balken { text-decoration: none; }
a.balken:hover span { background: var(--gruen); }
.kurve svg { width: 100%; height: auto; display: block; }
.kurve text { font-size: 11px; fill: var(--grau); }
.kurve .gitter { stroke: var(--hell); stroke-width: 1; }
.legende::before { content: ""; display: inline-block; width: 14px; height: 3px; background: var(--f); margin: 0 6px 3px 10px; vertical-align: middle; }
.kachel small { font-size: .75rem; }
