/* Vereinsverleih Aichtal
   Farben nach aichtal.de (Wunsch des Nutzers am 12.09.2026): dunkles Weinrot
   #5C020A als einzige Akzentfarbe, dazu Weiss, Hellgrau und Anthrazit.
   Gruen bleibt nur, wo es etwas bedeutet -- "kostenlos", "frei", "zugesagt".
   Die Farbe im Katalog kommt aus den Fotos der Vereine, nicht aus der
   Oberflaeche. */

@font-face {
  font-family: "Inter";
  src: url("vendor/fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --grund: #f4f4f4;
  --flaeche: #ffffff;
  --erhoben: #eeeeee;
  --platzhalter: #eeeeee;
  --schrift: #2d2d2d;
  --leise: #5f5f5f;
  --linie: #dddddd;
  --akzent: #5c020a;
  --akzent-dunkel: #3d0107;
  --akzent-hell: #f6e9ea;
  --auf-akzent: #ffffff;
  --fuss-grund: #2d2d2d;
  --fuss-schrift: #d6d6d6;
  --gut: #2f6b3f;
  --gut-hell: #e4f0e6;
  --warn: #8d6212;
  --warn-hell: #f8ecd2;
  --schlecht: #9f3a2e;
  --schlecht-hell: #f5e1dd;
  --neutral-hell: #ececec;
  --schatten: 0 1px 2px rgba(0, 0, 0, .05), 0 6px 20px rgba(0, 0, 0, .06);
  --rund: 14px;

  --bs-body-bg: var(--grund);
  --bs-body-color: var(--schrift);
  --bs-border-color: var(--linie);
  --bs-primary: var(--akzent);
  --bs-link-color: var(--akzent);
  --bs-link-hover-color: var(--akzent-dunkel);
}

@media (prefers-color-scheme: dark) {
  :root {
    --grund: #161616;
    --flaeche: #1f1f1f;
    --erhoben: #292929;
    --platzhalter: #262626;
    --schrift: #ececec;
    --leise: #a3a3a3;
    --linie: #363636;
    --akzent: #e08a92;
    --akzent-dunkel: #eca5ab;
    --akzent-hell: #3a1c20;
    --auf-akzent: #230306;
    --fuss-grund: #0f0f0f;
    --fuss-schrift: #b5b5b5;
    --gut: #7cc08c;
    --gut-hell: #1e3323;
    --warn: #e2b55a;
    --warn-hell: #3a301b;
    --schlecht: #ec8f82;
    --schlecht-hell: #3d2420;
    --neutral-hell: #2a2a2a;
    --schatten: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
  }
}

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--grund);
  color: var(--schrift);
  font: 16px/1.55 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Helvetica, Arial, sans-serif;
  font-feature-settings: "cv11", "ss01";
  min-height: 100vh;
  display: flex; flex-direction: column;
}
body.mit-tableiste { padding-bottom: 72px; }
@media (min-width: 768px) { body.mit-tableiste { padding-bottom: 0; } }

h1, h2, h3 { font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
h1 { font-size: 28px; margin: 0 0 6px; }
h2 { font-size: 19px; margin: 28px 0 12px; }
h3 { font-size: 16px; margin: 0 0 8px; }
a { color: var(--akzent); text-underline-offset: 2px; }
a:hover { color: var(--akzent-dunkel); }

.vv-huelle { width: 100%; max-width: 1120px; margin: 0 auto; padding: 18px 16px 40px; flex: 1; }
.vv-schmal { max-width: 720px; }

/* --- Kopf ------------------------------------------------------------- */

.vv-kopf {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--grund) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--linie);
}
.vv-kopf-innen {
  max-width: 1120px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap;
}
.vv-marke {
  display: flex; align-items: center; gap: 9px;
  color: var(--schrift); text-decoration: none; font-weight: 700;
  font-size: 17px; letter-spacing: -.01em; white-space: nowrap;
}
.vv-marke:hover { color: var(--schrift); }
.vv-marke em { font-style: normal; color: var(--akzent); }
.vv-marke img { border-radius: 8px; }

.vv-hauptmenue { display: flex; align-items: center; gap: 2px; margin-left: auto; order: 1; }

/* Abmelden steht am Schreibtisch hinter dem Menue, auf dem Handy oben rechts
   neben der Marke -- in der wischbaren Menuezeile wuerde es abgeschnitten. */
.vv-abmelden { margin: 0; order: 2; }
.vv-abmelden button {
  background: none; border: 0; color: var(--leise); font-size: 18px; line-height: 1;
  padding: 8px 10px; border-radius: 999px;
}
.vv-abmelden button:hover { background: var(--erhoben); color: var(--schrift); }
.vv-hauptmenue a, .vv-hauptmenue button {
  color: var(--leise); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 7px 12px; border-radius: 999px; white-space: nowrap;
  background: none; border: 0; line-height: 1.3;
}
.vv-hauptmenue a:hover, .vv-hauptmenue button:hover { color: var(--schrift); background: var(--erhoben); }
.vv-hauptmenue a.aktiv { color: var(--schrift); background: var(--erhoben); }
.vv-hauptmenue a.vv-knopf-klein {
  background: var(--akzent); color: #fff; margin-left: 6px;
}
@media (prefers-color-scheme: dark) {
  .vv-hauptmenue a.vv-knopf-klein { color: var(--auf-akzent); }
}
.vv-hauptmenue a.vv-knopf-klein:hover { background: var(--akzent-dunkel); }
.vv-hauptmenue form { margin: 0; }

/* Auf dem Handy steht das Menue in einer eigenen Zeile unter der Marke und
   laesst sich seitlich wischen, statt umzubrechen. */
@media (max-width: 640px) {
  .vv-kopf-innen { padding: 8px 12px 6px; gap: 4px; }
  .vv-hauptmenue {
    margin-left: -6px; width: calc(100% + 12px); overflow-x: auto;
    scrollbar-width: none; padding-bottom: 2px; order: 2;
  }
  .vv-abmelden { order: 1; margin-left: auto; }
  .vv-hauptmenue::-webkit-scrollbar { display: none; }
  .vv-hauptmenue a, .vv-hauptmenue button { font-size: 14px; padding: 6px 10px; }
  .vv-hauptmenue a.vv-knopf-klein { margin-left: auto; }
}

.vv-zaehler {
  display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px;
  border-radius: 10px; background: var(--warn); color: #fff;
  font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}

/* --- Unterkopf und Tab-Leiste (Vereinsbereich) ------------------------- */

.vv-unterkopf { display: none; border-bottom: 1px solid var(--linie); background: var(--flaeche); }
.vv-unterkopf .innen {
  max-width: 1120px; margin: 0 auto; padding: 8px 16px;
  display: flex; align-items: center; gap: 4px;
}
.vv-unterkopf .vereinsname {
  font-weight: 600; font-size: 14px; margin-right: 14px; color: var(--schrift);
  max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.vv-unterkopf a {
  color: var(--leise); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 6px 11px; border-radius: 8px;
}
.vv-unterkopf a:hover { color: var(--schrift); background: var(--erhoben); }
.vv-unterkopf a.aktiv { color: var(--akzent); background: var(--akzent-hell); }
@media (min-width: 768px) { .vv-unterkopf { display: block; } }

.vv-tableiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; background: var(--flaeche);
  border-top: 1px solid var(--linie);
  padding-bottom: env(safe-area-inset-bottom);
}
.vv-tableiste a {
  flex: 1; text-align: center; padding: 8px 2px 6px; min-height: 58px;
  color: var(--leise); text-decoration: none; font-size: 11px; font-weight: 500;
  position: relative;
}
.vv-tableiste a i { display: block; font-size: 21px; margin-bottom: 1px; }
.vv-tableiste a.aktiv { color: var(--akzent); }
.vv-tableiste .vv-zaehler {
  position: absolute; top: 4px; left: 50%; margin-left: 6px;
  min-width: 18px; line-height: 18px; font-size: 11px;
}
@media (min-width: 768px) { .vv-tableiste { display: none; } }

/* --- Meldungen und Hinweise ------------------------------------------- */

.alert { border-radius: 12px; border: 0; }
.alert-success { background: var(--gut-hell); color: var(--gut); }
.alert-danger { background: var(--schlecht-hell); color: var(--schlecht); }
.alert-warning { background: var(--warn-hell); color: var(--warn); }
.alert-info { background: var(--erhoben); color: var(--schrift); }

.vv-banner {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--warn-hell); color: var(--warn);
  border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: 15px;
}
.vv-banner i { font-size: 18px; line-height: 1.3; }
.vv-banner a { color: inherit; font-weight: 600; }

.vv-hinweis { color: var(--leise); font-size: 13.5px; }
.vv-leise { color: var(--leise); }

/* --- Held und Filter (Katalog) ---------------------------------------- */

.vv-held { padding: 18px 0 20px; }
.vv-held h1 { font-size: clamp(28px, 5vw, 44px); letter-spacing: -.03em; line-height: 1.08; margin-bottom: 12px; }
.vv-held h1 span { color: var(--akzent); }
.vv-held p { color: var(--leise); font-size: 17px; max-width: 62ch; margin-bottom: 8px; }
.vv-bilanz { font-size: 14px !important; }
.vv-bilanz strong { color: var(--schrift); }

/* minmax(0, 1fr) statt 1fr: Datumsfelder haben eine eingebaute Mindestbreite
   und haetten das Raster auf dem Handy sonst ueber den Rand gedrueckt. */
.vv-filter {
  display: grid; gap: 10px 12px; align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--rund); padding: 14px; box-shadow: var(--schatten);
}
.vv-filter .suche, .vv-filter .ver, .vv-filter .knopf { grid-column: 1 / -1; }
.vv-filter .kat { display: none; }
.vv-filter label { display: block; margin-bottom: 4px; }
.vv-filter .form-control, .vv-filter .form-select { min-width: 0; width: 100%; }
@media (min-width: 992px) {
  .vv-filter { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1.15fr) minmax(0, 1.15fr) auto; padding: 16px; }
  .vv-filter .suche, .vv-filter .ver, .vv-filter .knopf { grid-column: auto; }
  .vv-filter .kat { display: block; }
}
.mit-icon { position: relative; }
.mit-icon i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--leise); }
.mit-icon input { padding-left: 36px; }

.vv-chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 16px 0 6px;
  scrollbar-width: none; margin: 0 -16px; padding-left: 16px; padding-right: 16px;
}
.vv-chips::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .vv-chips { flex-wrap: wrap; overflow: visible; margin: 0; padding-left: 0; padding-right: 0; }
}
.vv-chips a {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 7px 13px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--flaeche); border: 1px solid var(--linie);
  color: var(--schrift); text-decoration: none;
}
.vv-chips a span { color: var(--leise); font-size: 12.5px; }
.vv-chips a:hover { border-color: var(--akzent); color: var(--schrift); }
.vv-chips a.aktiv { background: var(--akzent); border-color: var(--akzent); color: var(--auf-akzent); }
.vv-chips a.aktiv span { color: rgba(255, 255, 255, .8); }
@media (prefers-color-scheme: dark) {
  .vv-chips a.aktiv { color: var(--auf-akzent); }
  .vv-chips a.aktiv span { color: color-mix(in srgb, var(--auf-akzent) 70%, transparent); }
}

.vv-ergebniszeile {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  flex-wrap: wrap; margin: 14px 0 12px; font-size: 14px; color: var(--leise);
}
.vv-ergebniszeile strong { color: var(--schrift); }

/* --- Karten im Katalog ------------------------------------------------ */

.vv-raster {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
}
@media (min-width: 700px) { .vv-raster { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; } }

.vv-karte-g {
  display: flex; flex-direction: column;
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--rund); overflow: hidden;
  color: var(--schrift); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.vv-karte-g:hover {
  color: var(--schrift); transform: translateY(-2px);
  box-shadow: var(--schatten); border-color: color-mix(in srgb, var(--akzent) 35%, var(--linie));
}
.vv-karte-g .bildflaeche {
  position: relative; aspect-ratio: 4 / 3; background: var(--platzhalter);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.vv-karte-g .bildflaeche img { width: 100%; height: 100%; object-fit: cover; }
.vv-karte-g .bildflaeche > i { font-size: 44px; color: var(--akzent); opacity: .55; }
.vv-karte-g .koerper { padding: 10px 12px 13px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.vv-karte-g .titel {
  font-weight: 600; font-size: 15px; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vv-karte-g .stueck { color: var(--leise); font-weight: 500; }
.vv-karte-g .verein { font-size: 13px; color: var(--leise); margin-bottom: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Auf schmalen Karten bricht "1,50 € pro Stück und Tag" um -- eine Pille mit
   zwei Zeilen sieht aus wie ein Fehler, ein abgerundetes Schild nicht. */
.vv-karte-g .vv-preis { margin-top: auto; align-self: flex-start; border-radius: 8px; }

.vv-preis {
  display: inline-block; font-size: 12.5px; font-weight: 600; line-height: 1.2;
  padding: 4px 9px; border-radius: 999px;
  background: var(--erhoben); color: var(--schrift);
}
.vv-preis.kostenlos { background: var(--gut-hell); color: var(--gut); }

.vv-frei-marke {
  position: absolute; left: 8px; top: 8px;
  background: var(--flaeche); color: var(--gut);
  font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}

.vv-leer {
  text-align: center; padding: 48px 16px; color: var(--leise);
  background: var(--flaeche); border: 1px dashed var(--linie); border-radius: var(--rund);
}
.vv-leer > i { font-size: 38px; display: block; margin-bottom: 8px; color: var(--akzent); opacity: .6; }
.vv-leer strong { display: block; color: var(--schrift); font-size: 17px; margin-bottom: 4px; }

.vv-aufruf {
  margin-top: 40px; padding: 26px 24px; border-radius: 18px;
  background: var(--akzent); color: #fff;
  display: flex; gap: 18px 28px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.vv-aufruf h2 { margin: 0 0 4px; color: #fff; font-size: 21px; }
.vv-aufruf p { margin: 0; opacity: .88; max-width: 56ch; }
.vv-aufruf .btn { background: #fff; color: var(--akzent); font-weight: 600; border: 0; padding: 10px 18px; }
@media (prefers-color-scheme: dark) {
  .vv-aufruf { background: var(--akzent-hell); color: var(--schrift); }
  .vv-aufruf h2 { color: var(--schrift); }
  .vv-aufruf .btn { background: var(--akzent); color: var(--auf-akzent); }
}

/* --- Detailseite ------------------------------------------------------ */

.vv-zurueck {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px;
  color: var(--leise); text-decoration: none; font-size: 14px; font-weight: 500;
}
.vv-zurueck:hover { color: var(--schrift); }

/* Auf dem Handy steht das Anfrageformular direkt unter der Beschreibung und
   der Kalender danach -- sonst muesste man an drei Monatsblaettern vorbei,
   bevor man anfragen kann. Am Schreibtisch steht das Formular daneben. */
.vv-detail {
  display: grid; gap: 24px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "haupt" "seite" "kalender";
}
.vv-detail > .haupt { grid-area: haupt; min-width: 0; }
.vv-detail > .seite { grid-area: seite; min-width: 0; }
.vv-detail > .kalender { grid-area: kalender; min-width: 0; }
.vv-detail > .kalender h2 { margin-top: 4px; }
@media (min-width: 920px) {
  .vv-detail {
    grid-template-columns: minmax(0, 1.4fr) minmax(330px, 1fr);
    grid-template-areas: "haupt seite" "kalender seite";
    gap: 28px 34px; align-items: start;
  }
  /* Die Spalte muss ueber beide Zeilen reichen, damit die Karte darin
     beim Scrollen mitlaufen kann. */
  .vv-detail > .seite { align-self: stretch; }
  .vv-seitenkarte { position: sticky; top: 76px; }
}
.vv-bild-gross {
  aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden;
  background: var(--platzhalter); display: flex; align-items: center; justify-content: center;
}
.vv-bild-gross img { width: 100%; height: 100%; object-fit: cover; }
.vv-bild-gross > i { font-size: 80px; color: var(--akzent); opacity: .45; }

.vv-kategorie {
  display: inline-flex; gap: 6px; align-items: center; margin: 18px 0 6px;
  font-size: 13px; font-weight: 600; color: var(--akzent);
  text-transform: uppercase; letter-spacing: .05em;
}
.vv-detail h1 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -.025em; }
.vv-vom { color: var(--leise); margin-bottom: 18px; }
.vv-vom a { font-weight: 600; text-decoration: none; }
.vv-text { white-space: pre-line; overflow-wrap: anywhere; }
.vv-bedingungen {
  margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--erhoben);
}
.vv-bedingungen h2 { margin: 0 0 6px; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--leise); }

.vv-seitenkarte, .vv-karte {
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--rund); padding: 18px;
}
.vv-seitenkarte { box-shadow: var(--schatten); }
.vv-karte { margin-bottom: 16px; }
.vv-karte > h2:first-child, .vv-karte > h3:first-child,
.vv-karte > input[type=hidden] + h2,
.vv-karte > input[type=hidden] + input[type=hidden] + h2 { margin-top: 0; }
.vv-karte-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.vv-karte-kopf h2 { margin: 0; }
.vv-karte-kopf a { font-size: 14px; }

.vv-preis-gross { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.vv-preis-gross span { font-size: 15px; font-weight: 500; color: var(--leise); letter-spacing: 0; }
.vv-preis-gross.kostenlos { color: var(--gut); }

.vv-fakten { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 14px 0 4px; font-size: 14.5px; }
.vv-fakten dt { color: var(--leise); font-weight: 500; }
.vv-fakten dd { margin: 0; overflow-wrap: anywhere; }

.vv-trenner { border: 0; border-top: 1px solid var(--linie); margin: 16px 0; opacity: 1; }

.vv-richtpreis {
  font-size: 14px; color: var(--leise); background: var(--erhoben);
  border-radius: 10px; padding: 8px 12px; margin: 10px 0 0;
}
.vv-richtpreis:empty { display: none; }
.vv-richtpreis strong { color: var(--schrift); }

/* Honigtopf: fuer Menschen unsichtbar, fuer Formular-Roboter ein Feld wie jedes
   andere. Bewusst nicht display:none -- das erkennen manche Roboter. */
.vv-honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* --- Belegungskalender ------------------------------------------------ */

.vv-kalender { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.vv-kalender .monatsname { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.vv-kalender table { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; }
.vv-kalender th { font-size: 11px; font-weight: 500; color: var(--leise); text-align: center; }
.vv-kalender td {
  text-align: center; font-size: 13px; line-height: 30px; border-radius: 7px;
  font-variant-numeric: tabular-nums;
}
.vv-kalender td.frei { background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--linie); }
.vv-kalender td.teilweise { background: var(--warn-hell); color: var(--warn); font-weight: 600; }
.vv-kalender td.belegt {
  background: var(--schlecht-hell); color: var(--schlecht); font-weight: 600;
  text-decoration: line-through; text-decoration-thickness: 1px;
}
.vv-kalender td.vergangen { color: var(--linie); }
.vv-kalender-nav { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 10px; }
.vv-kalender-nav a { font-size: 14px; text-decoration: none; font-weight: 500; }
.vv-legende { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--leise); margin-top: 10px; }
.vv-legende i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.vv-legende i.frei { box-shadow: inset 0 0 0 1px var(--linie); background: var(--flaeche); }
.vv-legende i.teilweise { background: var(--warn-hell); box-shadow: inset 0 0 0 1px var(--warn); }
.vv-legende i.belegt { background: var(--schlecht-hell); box-shadow: inset 0 0 0 1px var(--schlecht); }

/* --- Formulare -------------------------------------------------------- */

label, .form-label { font-size: 13.5px; font-weight: 500; color: var(--leise); margin-bottom: 4px; }
.form-control, .form-select {
  background-color: var(--flaeche); color: var(--schrift);
  border-color: var(--linie); border-radius: 10px; min-height: 42px;
}
.form-control::placeholder { color: color-mix(in srgb, var(--leise) 70%, transparent); }
.form-control:focus, .form-select:focus {
  background-color: var(--flaeche); color: var(--schrift);
  border-color: var(--akzent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--akzent) 20%, transparent);
}
.form-check-input:checked { background-color: var(--akzent); border-color: var(--akzent); }
.form-check-input:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--akzent) 20%, transparent); border-color: var(--akzent); }
.form-check-label { color: var(--schrift); font-size: 14.5px; font-weight: 400; }
.form-check-label.vv-hinweis { color: var(--leise); font-size: 13.5px; }

.btn { border-radius: 10px; font-weight: 600; padding: 9px 16px; }
.btn-akzent { background: var(--akzent); border-color: var(--akzent); color: var(--auf-akzent); }
.btn-akzent:hover, .btn-akzent:focus { background: var(--akzent-dunkel); border-color: var(--akzent-dunkel); color: var(--auf-akzent); }
@media (prefers-color-scheme: dark) {
  .btn-akzent, .btn-akzent:hover, .btn-akzent:focus { color: var(--auf-akzent); }
}
.btn-rand { background: var(--flaeche); border: 1px solid var(--linie); color: var(--schrift); }
.btn-rand:hover { border-color: var(--leise); color: var(--schrift); background: var(--flaeche); }
.btn-gefahr { background: transparent; border: 1px solid var(--linie); color: var(--schlecht); }
.btn-gefahr:hover { background: var(--schlecht); border-color: var(--schlecht); color: #fff; }
.btn-klein { padding: 5px 11px; font-size: 13.5px; }

.vv-abschnitt { margin-bottom: 22px; }
.vv-abschnitt > h2 { margin-top: 0; }
.vv-knopfzeile { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.vv-gedimmt { opacity: .45; }

.vv-wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vv-wahl label {
  display: flex; align-items: center; gap: 9px; margin: 0; cursor: pointer;
  border: 1px solid var(--linie); border-radius: 10px; padding: 10px 12px;
  color: var(--schrift); font-size: 15px; background: var(--flaeche);
}
.vv-wahl label:has(input:checked) { border-color: var(--akzent); background: var(--akzent-hell); }
.vv-wahl input { accent-color: var(--akzent); }

.vv-bild-vorschau { width: 150px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }

/* --- Listen im Vereinsbereich ----------------------------------------- */

.vv-zeile {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--linie);
  color: var(--schrift); text-decoration: none;
}
a.vv-zeile:hover { color: var(--schrift); background: color-mix(in srgb, var(--erhoben) 60%, transparent); }
.vv-zeile:last-child { border-bottom: 0; }
.vv-zeile .wachsen { flex: 1; min-width: 0; }
.vv-zeile .titel { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.vv-zeile .leise { display: block; color: var(--leise); font-size: 13.5px; }
.vv-zeile .daumen {
  width: 56px; height: 42px; border-radius: 8px; flex: none; object-fit: cover;
  background: var(--platzhalter); display: flex; align-items: center; justify-content: center;
  color: var(--akzent); font-size: 20px;
}
.vv-zeile .datum-block {
  flex: none; width: 50px; text-align: center; border-radius: 10px;
  background: var(--erhoben); padding: 4px 0; line-height: 1.15;
}
.vv-zeile .datum-block b { display: block; font-size: 18px; }
.vv-zeile .datum-block small { font-size: 11px; color: var(--leise); text-transform: uppercase; }

.vv-status {
  display: inline-block; font-size: 12px; font-weight: 600; white-space: nowrap;
  padding: 3px 9px; border-radius: 999px;
}
.vv-status.offen { background: var(--warn-hell); color: var(--warn); }
.vv-status.zugesagt { background: var(--gut-hell); color: var(--gut); }
.vv-status.abgelehnt { background: var(--schlecht-hell); color: var(--schlecht); }
.vv-status.storniert, .vv-status.intern, .vv-status.aus { background: var(--neutral-hell); color: var(--leise); }
.vv-status.wartet { background: var(--warn-hell); color: var(--warn); }
.vv-status.aktiv { background: var(--gut-hell); color: var(--gut); }
.vv-status.gesperrt { background: var(--schlecht-hell); color: var(--schlecht); }

.vv-kennzahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 20px; }
.vv-kennzahl {
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund);
  padding: 14px 16px; color: var(--schrift); text-decoration: none;
}
a.vv-kennzahl:hover { border-color: var(--akzent); color: var(--schrift); }
.vv-kennzahl b { display: block; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.vv-kennzahl span { font-size: 13px; color: var(--leise); }
.vv-kennzahl.dringend b { color: var(--warn); }
@media (max-width: 480px) {
  .vv-kennzahlen { gap: 8px; }
  .vv-kennzahl { padding: 10px 12px; }
  .vv-kennzahl b { font-size: 24px; }
}

.vv-reiter {
  display: inline-flex; gap: 3px; padding: 3px; margin-bottom: 16px;
  background: var(--erhoben); border-radius: 11px; max-width: 100%; overflow-x: auto;
}
.vv-reiter a {
  padding: 6px 14px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--leise); text-decoration: none; white-space: nowrap;
}
.vv-reiter a.aktiv { background: var(--flaeche); color: var(--schrift); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.vv-reiter a span { color: var(--leise); font-weight: 400; margin-left: 3px; }

.vv-seitenkopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.vv-seitenkopf h1 { margin: 0; }
.vv-seitenkopf p { margin: 2px 0 0; color: var(--leise); }

.vv-zwei { display: grid; gap: 16px; }
@media (min-width: 900px) { .vv-zwei { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }

.vv-gefahr { border-color: color-mix(in srgb, var(--schlecht) 35%, var(--linie)); }
.vv-gefahr h2 { color: var(--schlecht); }

.vv-nachricht {
  white-space: pre-line; background: var(--erhoben); border-radius: 12px;
  padding: 12px 14px; margin: 6px 0 0; overflow-wrap: anywhere;
}

.vv-anmeldekarte { max-width: 440px; margin: 5vh auto 0; }
.vv-anmeldekarte.breit { max-width: 560px; }

.vv-schritte { counter-reset: schritt; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.vv-schritte li { counter-increment: schritt; position: relative; padding-left: 44px; }
.vv-schritte li::before {
  content: counter(schritt); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--akzent-hell); color: var(--akzent);
  font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center;
}
.vv-schritte strong { display: block; }

/* --- Fuss ------------------------------------------------------------- */

.vv-fuss { background: var(--fuss-grund); color: var(--fuss-schrift); margin-top: 28px; }
.vv-fuss .innen {
  max-width: 1120px; margin: 0 auto; padding: 18px 16px 22px;
  display: flex; gap: 8px 20px; flex-wrap: wrap; align-items: center;
  font-size: 13.5px; color: var(--fuss-schrift);
}
.vv-fuss a { color: var(--fuss-schrift); text-decoration: none; }
.vv-fuss a:hover { color: #ffffff; text-decoration: underline; }
.vv-fuss .rechts { margin-left: auto; display: flex; gap: 18px; }
@media (max-width: 640px) { .vv-fuss .rechts { margin-left: 0; } }
