/* =====================================================================
   SV Zwiefalten 1929 e.V. – Website-Theme · v2.8 (18.08.2026)
   Übersetzt aus dem Claude-Design-Entwurf (Stand 16.08.2026)
   Aufbau: 1. Fonts  2. Tokens  3. Basis  4. Seitengerüst  5. Navigation
           6. Komponenten  7. Inhaltselemente  8. News  9. Events
           10. Formulare  11. Footer  12. Utilities
   Gebaut gegen Contao-Standard-Markup (fe_page, mod_*, ce_*).
   ===================================================================== */

/* ---------- 1. Fonts (lokal gehostet, OFL-Lizenz, latin) ------------ */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../../files/theme/fonts/barlow-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../../files/theme/fonts/barlow-500.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../../files/theme/fonts/barlow-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../../files/theme/fonts/barlow-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../../files/theme/fonts/barlow-condensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../../files/theme/fonts/barlow-condensed-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('../../files/theme/fonts/barlow-condensed-800.woff2') format('woff2'); }

/* ---------- 2. Design-Tokens ---------------------------------------- */
:root {
  /* Farben */
  --c-green:        #1d3a26;   /* Vereinsgrün – Header, Überschriften */
  --c-green-deep:   #14281a;   /* dunkler: Footer, Text auf Gold */
  --c-overlay:      20, 38, 26;/* RGB für Hero-/Kachel-Overlays */
  --c-gold:         #c9a13e;   /* Akzent-Gold: Linien, Rahmen */
  --c-gold-bright:  #f0c34a;   /* helles Gold auf Dunkelgrün */
  --c-gold-cta:     #c9971c;   /* Buttons */
  --c-gold-text:    #8a6d1c;   /* Gold-Text auf hellem Grund (AA-sicher) */
  --c-gold-muted:   #a08a4f;   /* gedämpft, z. B. Monats-Label */
  --c-bg:           #f7f2e7;   /* Seitenhintergrund Creme */
  --c-card:         #fffdf8;   /* Kartenhintergrund */
  --c-card-border:  #e2d9c3;   /* Kartenrahmen */
  --c-panel:        #f0e9d8;   /* Hinweiskästen */
  --c-input-border: #cfc5ab;   /* Formularfelder */
  --c-text:         #2a2620;   /* Fließtext */
  --c-text-soft:    #55524a;   /* sekundärer Text */
  --c-muted:        #6f6a5c;   /* Metazeilen */
  --c-cream:        #f3ecd9;   /* Text auf Dunkelgrün */
  --c-cream-bright: #f5f0e1;   /* hellster Text auf Dunkelgrün */
  --c-error:        #b3261e;

  /* Typografie */
  --ff-base: 'Barlow', system-ui, -apple-system, sans-serif;
  --ff-cond: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
  --fs-body:  1.0625rem;  /* 17px – bewusst groß, Lesbarkeit ältere Besucher */
  --lh-body:  1.6;

  /* Raster */
  --wrap-max: 1200px;
  --pad-x: clamp(18px, 4vw, 64px);
  --gap: 24px;
  --section-y: clamp(36px, 6vw, 56px);
}

/* ---------- 3. Basis ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--ff-base);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
img { max-width: 100%; height: auto; }
a { color: var(--c-gold-text); }
a:hover, a:focus { color: var(--c-green); }
:focus-visible { outline: 3px solid var(--c-gold-cta); outline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--ff-cond);
  color: var(--c-green);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}
h1 { font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2rem); }
h3 { font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 1.5rem); }
h4 { font-weight: 600; font-size: 1.125rem; letter-spacing: 0.04em; }
p { margin: 0 0 1em; }

/* Hausstil: h2 mit Goldlinie (wie im Entwurf) */
.mod_article h2, .svz-rule {
  display: flex; align-items: center; gap: 14px;
}
.mod_article h2::after, .svz-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--c-gold);
}
/* Karten-Überschriften ohne Goldlinie */
.svz-news-card h3::after, .svz-news-card h2::after,
.svz-card h4::after, .svz-note h4::after { content: none; }

/* ---------- 4. Seitengerüst (fe_page-Struktur) ---------------------- */
#wrapper { min-height: 100vh; display: flex; flex-direction: column; }
#container { flex: 1; width: 100%; }
#main .inside,
#header .inside,
#footer .inside {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
#main .inside { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.mod_article + .mod_article { margin-top: var(--section-y); }

/* Vollbreite Artikel-Variante (Hero, Sparten) – CSS-Klasse am Artikel */
.svz-fullbleed .inside { max-width: none; padding: 0; }

/* ---------- 5. Header + Navigation ---------------------------------- */
#header {
  background: var(--c-green);
  position: relative;
  z-index: 50;
}
#header .inside {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Branding-Block (Custom-HTML-Modul, siehe SNIPPETS.md) */
.svz-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.svz-brand img { width: 46px; height: 56px; object-fit: contain; }
.svz-brand > span { display: inline-block; }
.svz-brand__name {
  display: block;
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1.05;
  text-transform: uppercase;
}
.svz-brand__sub {
  display: block;
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--c-gold);
  margin-top: 3px;
  text-transform: uppercase;
}

/* Hauptnavigation – Desktop */
#header .mod_navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
#header .mod_navigation li { margin: 0; }
#header .mod_navigation a,
#header .mod_navigation strong.active,
#header .mod_navigation strong.trail {
  display: inline-block;
  color: var(--c-cream);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
#header .mod_navigation a:hover,
#header .mod_navigation a:focus { color: var(--c-gold-bright); }
#header .mod_navigation strong.active,
#header .mod_navigation strong.trail,
#header .mod_navigation a.trail {
  color: var(--c-gold-bright);
  font-weight: 600;
  border-bottom-color: var(--c-gold);
}
/* Unterebenen im Desktop ausblenden (flache Hauptnavigation) */
#header .mod_navigation ul.level_2 { display: none; }

/* Burger-Button (wird per theme.js eingefügt) */
.svz-burger {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.svz-burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--c-cream);
  transition: transform .25s ease, opacity .2s ease, width .25s ease;
}
.svz-burger span:nth-child(3) { width: 18px; }

/* Mobile Navigation */
@media (max-width: 900px) {
  .svz-burger { display: flex; }
  #header .mod_navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-green-deep);
    display: none;
    box-shadow: 0 18px 30px rgba(0,0,0,.35);
  }
  body.svz-nav-open #header .mod_navigation { display: block; }
  #header .mod_navigation ul { flex-direction: column; gap: 0; padding: 10px 0 16px; }
  #header .mod_navigation li { border-top: 1px solid rgba(201,161,62,.18); }
  #header .mod_navigation li:first-child { border-top: 0; }
  #header .mod_navigation a,
  #header .mod_navigation strong.active,
  #header .mod_navigation strong.trail {
    display: block;
    padding: 14px var(--pad-x);
    font-size: 18px;
    border-bottom: 0;
  }
  #header .mod_navigation strong.active { color: var(--c-gold-bright); }
  body.svz-nav-open .svz-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.svz-nav-open .svz-burger span:nth-child(2) { opacity: 0; }
  body.svz-nav-open .svz-burger span:nth-child(3) { width: 26px; transform: translateY(-7px) rotate(-45deg); }
  .svz-brand__name { font-size: 19px; }
  .svz-brand img { width: 40px; height: 50px; }
}
/* Ohne JavaScript: Navigation mobil einfach unter dem Header zeigen */
html.no-js #header .mod_navigation { position: static; display: block; box-shadow: none; }

/* ---------- 6. Komponenten ------------------------------------------ */
/* --- Hero (Custom-HTML, siehe SNIPPETS.md) --- */
.svz-hero { position: relative; overflow: hidden; }
.svz-hero img.svz-hero__img {
  display: block;
  width: 100%;
  height: clamp(420px, 55vw, 520px);
  object-fit: cover;
  object-position: 50% 55%;
}
.svz-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(28deg,
    rgba(var(--c-overlay), .82) 0%,
    rgba(var(--c-overlay), .68) 32%,
    rgba(var(--c-overlay), .20) 62%,
    rgba(var(--c-overlay), 0) 82%);
}
.svz-hero::after {
  content: '';
  position: absolute; inset: 16px;
  border: 1px solid rgba(201,161,62,.55);
  pointer-events: none;
}
.svz-hero__content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 var(--pad-x) clamp(32px, 5vw, 52px);
  max-width: var(--wrap-max);
  margin: 0 auto;
}
.svz-hero__content h1 {
  color: var(--c-bg);
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  line-height: .98;
  margin: 0;
}
.svz-hero__content p {
  font-size: clamp(1rem, 2.2vw, 1.1875rem);
  color: var(--c-cream-bright);
  max-width: 560px;
  margin: 12px 0 0;
}

/* --- Buttons --- */
.svz-btn, .mod_article .ce_hyperlink a.svz-btn {
  display: inline-block;
  background: var(--c-gold-cta);
  color: var(--c-green-deep);
  text-decoration: none;
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 0;
  cursor: pointer;
  transition: background .15s ease;
}
.svz-btn:hover, .svz-btn:focus { background: var(--c-gold-bright); color: var(--c-green-deep); }
.svz-hero__content .svz-btn { margin-top: 22px; }
.svz-btn--ghost {
  background: transparent;
  color: var(--c-cream);
  border: 1px solid var(--c-gold);
}
.svz-btn--ghost:hover { background: rgba(201,161,62,.15); color: #fff; }

/* --- Karten-Grundform --- */
.svz-card {
  background: var(--c-card);
  border: 1px solid var(--c-card-border);
  padding: 18px 20px;
}

/* --- Sparten-Kacheln (Custom-HTML) --- */
.svz-sparten { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
@media (max-width: 760px) { .svz-sparten { grid-template-columns: 1fr; } }
.svz-tile { position: relative; overflow: hidden; min-height: 260px; display: flex; }
.svz-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.svz-tile::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(12deg,
    rgba(var(--c-overlay), .88) 0%,
    rgba(var(--c-overlay), .55) 45%,
    rgba(var(--c-overlay), .25) 100%);
}
.svz-tile__content { position: relative; z-index: 2; align-self: flex-end; padding: 26px 28px; }
.svz-tile__content h3 { color: var(--c-bg); font-size: 1.75rem; margin-bottom: 6px; }
.svz-tile__content p { color: var(--c-cream-bright); margin: 0 0 10px; max-width: 40ch; }
.svz-tile__content a {
  color: var(--c-gold-bright);
  font-weight: 700;
  font-family: var(--ff-cond);
  font-size: 1.125rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
}
.svz-tile__content a:hover { color: #fff; }

/* --- Nummerierte Ablauf-Karten („So läuft's ab") --- */
.svz-steps { display: flex; flex-direction: column; gap: 16px; padding: 0; margin: 0; list-style: none; counter-reset: svzstep; }
.svz-steps li {
  display: flex; gap: 18px;
  background: var(--c-card);
  border: 1px solid var(--c-card-border);
  padding: 20px 22px;
  counter-increment: svzstep;
}
.svz-steps li::before {
  content: counter(svzstep);
  font-family: var(--ff-cond);
  font-weight: 800;
  font-size: 1.875rem;
  color: var(--c-gold-cta);
  line-height: 1;
  min-width: 34px;
}
.svz-steps h4 { margin: 0 0 4px; text-transform: none; letter-spacing: 0; font-family: var(--ff-base); font-weight: 600; font-size: 1.125rem; }
.svz-steps p { margin: 0; color: var(--c-text-soft); font-size: 1rem; }

/* --- Highlight-Panel (z. B. „0 €"-Kasten) --- */
.svz-highlight {
  background: var(--c-green);
  border-radius: 6px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--c-cream-bright);
}
.svz-highlight strong.svz-highlight__big {
  font-family: var(--ff-cond);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--c-gold-bright);
  line-height: 1;
}
.svz-highlight p { margin: 0; font-size: 1rem; }

/* --- Hinweis-Panel (heller Kasten) --- */
.svz-note {
  background: var(--c-panel);
  border: 1px solid var(--c-card-border);
  padding: 18px 22px;
}
.svz-note h4 { margin-bottom: 4px; text-transform: none; letter-spacing: 0; font-family: var(--ff-base); font-weight: 600; font-size: 1rem; }
.svz-note p { margin: 0; font-size: .9375rem; color: var(--c-text-soft); }

/* --- Ansprechpartner-Karte --- */
.svz-contact { display: flex; gap: 20px; align-items: center; }
.svz-contact__avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--c-green);
  color: var(--c-gold-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-cond); font-weight: 700; font-size: 1.75rem;
  flex-shrink: 0;
}
.svz-contact__role { color: var(--c-gold-text); font-size: .9375rem; }
.svz-contact > div:last-child { min-width: 0; }   /* Flex-Kind darf schrumpfen */
.svz-contact a { overflow-wrap: anywhere; }        /* lange Mail-Adressen umbrechen */

/* Personen-Karte (Vorstandschaft): zentriert, Gold-Balken oben – wie Design */
.svz-card--person {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 14px;
  padding-top: 34px;
  border-top: 4px solid var(--c-gold);
}
.svz-card--person .svz-contact__avatar,
.svz-card--person img {
  width: 96px;
  height: 96px;
  font-size: 1.625rem;
  border-radius: 50%;
  object-fit: cover;
}
.svz-card--person .svz-contact__role {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: .8125rem;
  margin-top: 2px;
}
.svz-card--person p {
  margin: 6px 0 0;
  color: var(--c-muted);
  font-size: .9375rem;
  line-height: 1.5;
}
.svz-card--person a { font-weight: 600; }
/* Info-Zeile in horizontalen Kontakt-Karten (z. B. Trainingszeiten) */
.svz-contact__meta {
  color: var(--c-muted);
  font-size: .9375rem;
  margin: 2px 0;
}

/* Abstand vor Abschnittsüberschriften (Überschrift-Elemente in Artikeln) */
.mod_article .content-headline,
.mod_article .ce_headline { margin-top: 48px; }
.mod_article .content-headline:first-child,
.mod_article .ce_headline:first-child { margin-top: 0; }

/* ---------- 7. Inhaltselemente (ce_*) -------------------------------- */
.ce_text, .ce_table { max-width: 76ch; }
.ce_text a { text-decoration-thickness: 1px; text-underline-offset: 2px; }
.ce_table table { border-collapse: collapse; width: 100%; }
.ce_table th { background: var(--c-green); color: var(--c-cream); font-weight: 600; text-align: left; padding: 10px 14px; }
.ce_table td { border: 1px solid var(--c-card-border); background: var(--c-card); padding: 10px 14px; }
.ce_downloads a, .ce_download a { font-weight: 600; }
blockquote {
  border-left: 3px solid var(--c-gold);
  margin: 1.2em 0;
  padding: .3em 0 .3em 1em;
  color: var(--c-text-soft);
  font-style: italic;
}

/* ---------- 8. News --------------------------------------------------- */
/* Karten-Raster (Modul-CSS-Klasse svz-cards am Newsliste-Modul setzen) */
.mod_newslist.svz-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 980px) { .mod_newslist.svz-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .mod_newslist.svz-cards { grid-template-columns: 1fr; } }

.svz-news-card {
  background: var(--c-card);
  border: 1px solid var(--c-card-border);
  display: flex;
  flex-direction: column;
}
.svz-news-card figure { margin: 0; }
.svz-news-card figure img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.svz-news-card__body { padding: 18px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.svz-news-card__meta {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--c-gold-text);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.svz-news-card h3, .svz-news-card h2 {
  font-family: var(--ff-base);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1.35;
  margin: 0 0 8px;
}
.svz-news-card h3 a, .svz-news-card h2 a { color: var(--c-green); text-decoration: none; }
.svz-news-card h3 a:hover, .svz-news-card h2 a:hover { color: var(--c-gold-text); }
.svz-news-card__teaser { color: var(--c-text-soft); font-size: 1rem; margin: 0 0 12px; }
.svz-news-card__more {
  margin-top: auto;
  font-family: var(--ff-cond);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-gold-text);
}
.svz-news-card__more:hover { color: var(--c-green); }

/* News-Detailseite */
.mod_newsreader .layout_full h1 { margin-top: .2em; }
.mod_newsreader .info {
  font-size: .9375rem;
  color: var(--c-muted);
  letter-spacing: .5px;
  margin-bottom: 1em;
}
.mod_newsreader .ce_text { font-size: var(--fs-body); }
.mod_newsreader figure img { display: block; }
.mod_newsreader figcaption { font-size: .875rem; color: var(--c-muted); padding-top: 6px; }

/* Pagination (News-Archiv) */
.pagination { margin-top: var(--section-y); }
.pagination ul { list-style: none; display: flex; gap: 8px; padding: 0; flex-wrap: wrap; }
.pagination a, .pagination strong {
  display: inline-block;
  min-width: 42px;
  text-align: center;
  padding: 9px 12px;
  border: 1px solid var(--c-card-border);
  background: var(--c-card);
  text-decoration: none;
  font-weight: 600;
}
.pagination strong { background: var(--c-green); color: var(--c-cream); border-color: var(--c-green); }

/* ---------- 9. Events (Termin-Karten) -------------------------------- */
.mod_eventlist.svz-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 980px) { .mod_eventlist.svz-cards { grid-template-columns: 1fr; } }
/* Monats-/Tages-Zwischenüberschriften des Standard-Templates ausblenden –
   Abschnittsüberschrift und Karten-Badge übernehmen das */
.mod_eventlist.svz-cards .header,
.mod_eventlist.svz-cards > h2 { display: none; }
.mod_eventlist.svz-cards .empty,
.mod_newslist.svz-cards .empty { grid-column: 1 / -1; color: var(--c-muted); }

.svz-event-card {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--c-card);
  border: 1px solid var(--c-card-border);
  padding: 18px 20px;
}
.svz-event-card__date {
  text-align: center;
  min-width: 58px;
  max-width: 84px;
  flex-shrink: 0;
  border-right: 2px solid var(--c-gold);
  padding-right: 16px;
}
.svz-event-card__day {
  display: block;
  font-family: var(--ff-cond);
  font-weight: 800;
  font-size: 2rem;
  color: var(--c-green);
  line-height: 1;
}
.svz-event-card__month {
  display: block;
  font-size: .6875rem;
  letter-spacing: 1px;
  line-height: 1.3;
  color: var(--c-gold-muted);
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.svz-event-card__title { font-weight: 600; font-size: 1.0625rem; }
.svz-event-card__title a { color: var(--c-text); text-decoration: none; }
.svz-event-card__title a:hover { color: var(--c-gold-text); }
.svz-event-card__meta { font-size: .9375rem; color: var(--c-muted); margin-top: 2px; }

/* ---------- 10. Formulare -------------------------------------------- */
.ce_form { max-width: 560px; }
.ce_form .widget { margin-bottom: 16px; }
.ce_form label {
  display: block;
  font-weight: 600;
  font-size: .9375rem;
  margin-bottom: 6px;
}
.ce_form label .mandatory, .svz-mandatory { color: var(--c-error); }
.ce_form input[type="text"],
.ce_form input[type="email"],
.ce_form input[type="tel"],
.ce_form input[type="number"],
.ce_form select,
.ce_form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--c-input-border);
  border-radius: 3px;
  padding: 12px 14px;
  font: inherit;
  color: var(--c-text);
}
.ce_form input:focus, .ce_form select:focus, .ce_form textarea:focus {
  border-color: var(--c-gold-cta);
  outline: 2px solid rgba(201,151,28,.35);
  outline-offset: 0;
}
.ce_form .widget-checkbox label { display: flex; gap: 10px; font-weight: 400; font-size: .875rem; color: var(--c-text-soft); }
.ce_form .widget-checkbox input { margin-top: 3px; }
.ce_form .widget-submit button {
  width: 100%;
  background: var(--c-gold-cta);
  color: var(--c-green-deep);
  border: 0;
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 15px 24px;
  cursor: pointer;
}
.ce_form .widget-submit button:hover { background: var(--c-gold-bright); }
.ce_form p.error { color: var(--c-error); font-size: .875rem; margin: 6px 0 0; }
/* Formular-Karte mit Gold-Kante (CSS-Klasse svz-form-card am Formular/Artikel) */
.svz-form-card {
  background: var(--c-card);
  border: 1px solid var(--c-card-border);
  border-top: 4px solid var(--c-gold-cta);
  padding: 26px 28px 28px;
}

/* ---------- 11. Footer ------------------------------------------------ */
#footer { background: var(--c-green-deep); color: var(--c-cream); margin-top: var(--section-y); }
#footer .inside { padding-top: 40px; padding-bottom: 28px; }
#footer a { color: var(--c-gold); text-decoration: none; }
#footer a:hover { color: var(--c-gold-bright); }
.svz-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(201,161,62,.25);
}
@media (max-width: 820px) { .svz-footer-grid { grid-template-columns: 1fr; text-align: center; } 
  .svz-footer-grid .svz-brand { justify-content: center; } }
.svz-footer-grid h4 {
  color: var(--c-gold);
  font-family: var(--ff-base);
  font-weight: 600;
  letter-spacing: 2px;
  font-size: .875rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.svz-footer-grid ul { list-style: none; margin: 0; padding: 0; }
.svz-footer-grid li { margin-bottom: 8px; color: var(--c-cream); }
.svz-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  font-size: .875rem;
  color: #7d8a7e;
}
.svz-footer-bottom nav { display: flex; gap: 22px; }

/* ---------- 12. Utilities --------------------------------------------- */
/* Responsives Karten-Raster für beliebige Karten (Trainingszeiten etc.) */
.svz-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.svz-section-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.svz-section-head .svz-more { margin-left: auto; font-weight: 600; white-space: nowrap; text-decoration: none; }
.invisible {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  #header .mod_navigation, .svz-burger, #footer nav { display: none; }
  body { background: #fff; }
}


/* ---------- Zeitleiste (Vereinschronik) ------------------------------- */
.svz-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.svz-timeline::before {
  content: '';
  position: absolute;
  left: 76px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--c-gold-muted);
}
.svz-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 40px;
  padding-bottom: 30px;
}
.svz-timeline li:last-child { padding-bottom: 0; }
.svz-timeline li::before {
  content: '';
  position: absolute;
  left: 76px;
  top: 8px;
  width: 12px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--c-gold);
  border: 2px solid var(--c-cream);
}
.svz-timeline .svz-timeline__year {
  font-family: var(--ff-cond);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--c-green);
  text-align: right;
  line-height: 1.2;
}
.svz-timeline p { margin: 0 0 6px; }
.svz-timeline p:last-child { margin-bottom: 0; }
@media (max-width: 560px) {
  .svz-timeline::before { left: 52px; }
  .svz-timeline li { grid-template-columns: 36px 1fr; gap: 32px; }
  .svz-timeline li::before { left: 52px; }
  .svz-timeline .svz-timeline__year { font-size: 1.0625rem; }
}


/* König-Karte: invertierte Personen-Karte für den amtierenden König */
.svz-card--koenig {
  background: var(--c-green);
  border-top-color: var(--c-gold);
}
.svz-card--koenig strong { color: var(--c-cream); }
.svz-card--koenig .svz-contact__role { color: var(--c-gold-soft, #f0c34a); }
.svz-card--koenig .svz-contact__avatar {
  background: var(--c-cream);
  color: var(--c-green);
}
.svz-card--koenig p { color: rgba(247, 242, 231, .85); }

/* ---------- Tabellen (Schützenkönige, Ergebnislisten etc.) ------------ */
.svz-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.svz-table th {
  font-family: var(--ff-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .875rem;
  color: var(--c-green);
  text-align: left;
  padding: 10px 14px;
  border-bottom: 2px solid var(--c-gold);
}
.svz-table td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--c-gold-muted);
  vertical-align: top;
}
.svz-table tbody tr:nth-child(even) { background: rgba(29, 58, 38, .04); }
.svz-table .svz-table__note { color: var(--c-muted); font-style: italic; }


/* ---------- Event-Landingpages (Nachtschießen, Ghost 'n Guns …) ------- */
.svz-hero__label {
  display: block;
  font-family: var(--ff-cond);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: .875rem;
  color: var(--c-gold-soft, #f0c34a);
  margin-bottom: 10px;
}
.svz-eventmeta {
  background: var(--c-green);
  color: var(--c-cream);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  padding: 22px 0;
}
.svz-eventmeta > div {
  padding: 4px 28px;
  border-left: 3px solid var(--c-gold);
}
.svz-eventmeta__label {
  display: block;
  font-family: var(--ff-cond);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: .75rem;
  color: var(--c-gold-soft, #f0c34a);
  margin-bottom: 2px;
}
.svz-eventmeta strong {
  font-family: var(--ff-cond);
  font-size: 1.25rem;
  font-weight: 700;
}
/* Bildergalerie (Eindrücke) – Format-Mix wie im Design:
   Standard-Bild groß (2 Rasterzeilen ≈ 430 px), .svz-gallery__sm
   halb so hoch; dense-Flow füllt Lücken automatisch */
.svz-gallery {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: 205px;
  grid-auto-flow: dense;
}
.svz-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  grid-row: span 2;
}
.svz-gallery img.svz-gallery__sm { grid-row: span 1; }


/* Event-Layout: Inhalt links, Flyer-Spalte rechts (wie Design-Vorlage) */
.svz-eventlayout {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 400px);
  gap: 44px;
  align-items: stretch;
}
.svz-eventlayout > div:first-child {
  display: flex;
  flex-direction: column;
}
.svz-eventlayout > div:first-child .svz-highlight {
  margin-top: auto;      /* grüne Leiste ankert an der Unterkante */
}
.svz-flyercard {
  display: flex;
  flex-direction: column;
}
.svz-flyercard img {
  display: block;
  width: 100%;
  box-shadow: 0 14px 36px rgba(20, 30, 20, .2);
  margin-bottom: 12px;
}
.svz-flyercard .svz-btn--block {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: auto;
  box-sizing: border-box;
}
@media (max-width: 820px) {
  .svz-eventlayout { grid-template-columns: 1fr; }
  .svz-flyercard { max-width: 400px; }
}

