/* DJK Au am Rhein 1925 e.V. – Stylesheet
   Farben aus dem Logo: Grün #00A062, Schwarz. Für Text/Buttons das dunklere
   Grün #00804F (Kontrast ≥ 4,5 : 1 auf Weiß, barrierearm). */

@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nunito-400.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/nunito-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/nunito-600.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/nunito-800.woff2") format("woff2"); }

:root {
  --gruen: #00a062;          /* Logo-Grün */
  --gruen-700: #00804f;      /* Text, Buttons */
  --gruen-800: #006b42;      /* Hover */
  --gruen-900: #0b3a27;
  --gruen-50: #e9f7f0;
  --gruen-100: #d3efe1;
  --schwarz: #141414;
  --text: #24302a;
  --text-leise: #5b6a62;
  --sand: #faf8f3;
  --linie: #e3e9e5;
  --weiss: #fff;
  --footer: #0f1f18;
  --radius: 18px;
  --radius-klein: 10px;
  --schatten: 0 1px 2px rgba(16, 40, 28, .06), 0 8px 24px rgba(16, 40, 28, .08);
  --schatten-hoch: 0 2px 4px rgba(16, 40, 28, .08), 0 18px 40px rgba(16, 40, 28, .14);
  --breite: 1200px;
  --header-h: 82px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1.0556rem; line-height: 1.7; color: var(--text); background: var(--weiss); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gruen-800); }
h1, h2, h3, h4 { color: var(--schwarz); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
:focus-visible { outline: 3px solid var(--gruen); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--gruen-700); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-klein); }
.skip:focus { top: 1rem; color: #fff; }

.wrap { width: min(100% - 2.5rem, var(--breite)); margin-inline: auto; }
.wrap-schmal { width: min(100% - 2.5rem, 820px); margin-inline: auto; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-sand { background: var(--sand); }
.section-gruen { background: var(--gruen-50); }
.section-kopf { max-width: 720px; margin-bottom: 2.5rem; }
.section-kopf.mitte { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gruen-700); margin-bottom: .6rem; }
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gruen); }
.lead { font-size: 1.2rem; color: var(--text-leise); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 800; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-gruen { background: var(--gruen-700); color: #fff; }
.btn-gruen:hover { background: var(--gruen-800); color: #fff; }
.btn-weiss { background: #fff; color: var(--gruen-800); }
.btn-weiss:hover { background: var(--gruen-50); color: var(--gruen-900); }
.btn-rand { border-color: currentColor; color: var(--gruen-700); background: transparent; }
.btn-rand:hover { background: var(--gruen-50); }
.btn-rand-hell { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-rand-hell:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-reihe { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--linie); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--schwarz); flex: none; }
.logo img { height: 52px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; }
.logo-text small { font-weight: 600; font-size: .72rem; color: var(--text-leise); letter-spacing: 0; margin-top: .15rem; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav a, .nav button.nav-top { display: flex; align-items: center; gap: .3rem; padding: .55rem .8rem; border-radius: 999px; color: var(--schwarz); font-weight: 700; font-size: .98rem; text-decoration: none; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav a:hover, .nav button.nav-top:hover, .nav .aktiv > a, .nav .aktiv > button { background: var(--gruen-50); color: var(--gruen-800); }
.nav .chev { width: 14px; height: 14px; transition: transform .2s; }
.nav .hat-sub { position: relative; }
.nav .sub { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px); min-width: 260px; background: #fff; border-radius: 14px; box-shadow: var(--schatten-hoch); padding: .5rem; list-style: none; margin: 0; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
.nav .sub.breit { min-width: 480px; display: grid; grid-template-columns: 1fr 1fr; }
.nav .sub a { padding: .55rem .8rem; border-radius: 10px; font-weight: 600; font-size: .95rem; }
.nav .sub a.einzug { padding-left: 1.6rem; font-size: .9rem; color: var(--text-leise); }
.nav .hat-sub:hover .sub, .nav .hat-sub:focus-within .sub, .nav .hat-sub.offen .sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav .hat-sub:hover .chev, .nav .hat-sub.offen .chev { transform: rotate(180deg); }
.nav .nav-cta { margin-left: .5rem; }
.nav .nav-cta a { background: var(--gruen-700); color: #fff; padding: .6rem 1.1rem; }
.nav .nav-cta a:hover { background: var(--gruen-800); color: #fff; }
.menue-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--linie); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menue-btn .burger, .menue-btn .burger::before, .menue-btn .burger::after { display: block; width: 22px; height: 2.5px; background: var(--schwarz); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.menue-btn .burger::before, .menue-btn .burger::after { content: ""; position: absolute; left: 0; }
.menue-btn .burger::before { top: -7px; } .menue-btn .burger::after { top: 7px; }
.menue-offen .menue-btn .burger { background: transparent; }
.menue-offen .menue-btn .burger::before { transform: translateY(7px) rotate(45deg); }
.menue-offen .menue-btn .burger::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--gruen-900); }
.hero-bild { position: absolute; inset: 0; }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
@media (min-width: 821px) { .hero { min-height: min(calc(100vh - var(--header-h) - 40px), 55vw, 800px); display: flex; align-items: center; } .hero > .wrap { width: min(100% - 2.5rem, var(--breite)); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6,40,26,.9) 0%, rgba(6,40,26,.68) 42%, rgba(6,40,26,.08) 100%); }
.hero-inhalt { position: relative; z-index: 1; padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.8rem, 6vw, 4.5rem); }
.hero-inhalt > * { max-width: 680px; }
.hero h1 { color: #fff; margin-bottom: .3em; font-size: clamp(2.3rem, 8.4vw, 5.4rem); white-space: nowrap; line-height: 1.05; }
.hero h1 span { display: block; font-size: .55em; font-weight: 800; letter-spacing: .02em; color: #bdf0d6; margin-top: .35rem; }
.hero .lead { color: #fff; font-size: clamp(1.25rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.3; margin: 0 0 2rem; }
.hero-punkt { display: inline-block; width: .32em; height: .32em; border-radius: 50%; background: var(--gruen); margin-left: .08em; }

.kennzahlen { position: relative; z-index: 2; margin-top: -3.2rem; }
.kennzahlen ul { list-style: none; margin: 0; padding: 1.4rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; background: #fff; border-radius: var(--radius); box-shadow: var(--schatten-hoch); }
.kennzahlen li { text-align: center; padding: .4rem; }
.kennzahlen strong { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--gruen-700); line-height: 1.1; }
.kennzahlen span { color: var(--text-leise); font-weight: 600; font-size: .95rem; }

/* Seitenkopf Unterseiten */
.seitenkopf { background: linear-gradient(135deg, var(--gruen-50), #fff 70%); border-bottom: 1px solid var(--linie); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.seitenkopf::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: var(--gruen); opacity: .08; }
.seitenkopf h1 { margin-bottom: .25em; }
.seitenkopf .lead { margin: 0; max-width: 720px; }
.seitenkopf-flex { display: flex; align-items: center; gap: 2rem; justify-content: space-between; }
.seitenkopf-icon { width: 150px; flex: none; background: #fff; border-radius: 50%; padding: 1rem; box-shadow: var(--schatten); }
.brotkrumen { font-size: .9rem; margin-bottom: 1rem; color: var(--text-leise); }
.brotkrumen ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.brotkrumen li + li::before { content: "›"; margin-right: .3rem; color: var(--gruen); }
.brotkrumen a { color: var(--text-leise); text-decoration: none; }
.brotkrumen a:hover { color: var(--gruen-700); text-decoration: underline; }

/* Karten */
.karten { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.karte { background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; position: relative; }
.karte:hover { transform: translateY(-3px); box-shadow: var(--schatten-hoch); }
.karte-bild { aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.karte-bild img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.karte-text { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.karte-text h3 { font-size: 1.2rem; margin: 0; }
.karte-text h3 a { color: inherit; text-decoration: none; }
.karte-text h3 a::after { content: ""; position: absolute; inset: 0; }
.karte-text p { margin: 0; color: var(--text-leise); font-size: .98rem; }
.karte-meta { font-size: .85rem; font-weight: 700; color: var(--gruen-700); display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; }
.tag { display: inline-block; background: var(--gruen-50); color: var(--gruen-800); border-radius: 999px; padding: .15rem .65rem; font-size: .8rem; font-weight: 700; }
.weiter { margin-top: auto; padding-top: .6rem; font-weight: 800; color: var(--gruen-700); font-size: .95rem; }

.abt-karten { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); }
.karten.drei { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.abt-karte { background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); padding: 1.4rem 1.3rem 1.5rem; text-align: center; position: relative; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; align-items: center; }
.abt-karte:hover { transform: translateY(-3px); box-shadow: var(--schatten-hoch); }
.abt-karte img { width: 120px; height: 120px; object-fit: contain; margin-bottom: .8rem; background: var(--gruen-50); border-radius: 50%; padding: .6rem; }
.abt-karte h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.abt-karte h3 a { color: inherit; text-decoration: none; }
.abt-karte h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.abt-karte p { margin: 0; font-size: .93rem; color: var(--text-leise); }

/* Veranstaltung Highlight */
.highlight { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #fff; border-radius: calc(var(--radius) + 4px); box-shadow: var(--schatten-hoch); overflow: hidden; }
.highlight-bild { background: var(--gruen-900); }
.highlight-bild img { width: 100%; height: 100%; object-fit: cover; }
.highlight-text { padding: clamp(1.6rem, 4vw, 3rem); display: flex; flex-direction: column; gap: .8rem; justify-content: center; }
.datum-zeile { display: flex; align-items: center; gap: 1rem; }
.datum-box { flex: none; width: 74px; text-align: center; border-radius: 14px; background: var(--gruen-700); color: #fff; padding: .45rem 0 .5rem; line-height: 1.05; }
.datum-box strong { display: block; font-size: 1.9rem; font-weight: 800; }
.datum-box span { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.info-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.info-liste li { display: flex; gap: .6rem; align-items: flex-start; }
.info-liste svg { width: 20px; height: 20px; color: var(--gruen-700); flex: none; margin-top: .2rem; }

/* Termine */
.termine { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.termin { display: grid; grid-template-columns: 74px 1fr auto; gap: 1.1rem; align-items: center; background: #fff; border-radius: 14px; padding: .9rem 1.1rem; box-shadow: var(--schatten); }
.termin h3 { font-size: 1.1rem; margin: 0; }
.termin p { margin: 0; color: var(--text-leise); font-size: .95rem; }
.termin.vorbei { opacity: .55; box-shadow: none; background: transparent; border: 1px dashed var(--linie); }
.termin.vorbei .datum-box { background: #9aa8a0; }
.termin .tag-vorbei { display: none; }
.termin.vorbei .tag-vorbei { display: inline-block; background: #eef1ef; color: var(--text-leise); }

/* News-Liste kompakt */
.news-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.news-liste li a { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem .2rem; border-bottom: 1px solid var(--linie); text-decoration: none; color: var(--text); font-weight: 700; }
.news-liste li a:hover { color: var(--gruen-700); }
.news-liste time { color: var(--text-leise); font-weight: 600; font-size: .9rem; white-space: nowrap; }

/* Zwei-Spalter */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-bild { border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--schatten-hoch); position: relative; }
.split-bild img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.badge-100 { position: absolute; right: 1rem; bottom: 1rem; width: 120px; background: #fff; border-radius: 50%; padding: .9rem; box-shadow: var(--schatten-hoch); }
.haken { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .5rem; }
.haken li { position: relative; padding-left: 1.9rem; }
.haken li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--gruen-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23006b42'%3E%3Cpath d='M8.2 13.6 4.8 10.2l1.4-1.4 2 2 5.6-5.6 1.4 1.4z'/%3E%3C/svg%3E") center / 80% no-repeat; }

/* CTA-Band */
/* Schutzschild-Bündnis auf der Startseite */
.schutzschild-section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.schutzschild-band { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.schutzschild-band h2 { margin-top: 0; }
.schutzschild-logo { display: block; border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--schatten-hoch); }
.schutzschild-logo img { display: block; width: 100%; height: auto; }
@media (max-width: 820px) {
  .schutzschild-band { grid-template-columns: 1fr; }
  .schutzschild-logo { width: 220px; max-width: 100%; }
}
.cta-band { background: var(--gruen-700); color: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: rgba(255,255,255,.07); right: -90px; top: -120px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); }
.cta-band .dok-liste a { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
.cta-band .dok-liste a:hover { background: rgba(255,255,255,.18); }
.cta-band .dok-liste small { color: rgba(255,255,255,.75); }

/* Dokumente */
.dok-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.dok-liste a { display: flex; gap: .9rem; align-items: center; padding: .85rem 1rem; border-radius: 12px; background: #fff; border: 1px solid var(--linie); text-decoration: none; color: var(--text); font-weight: 700; transition: border-color .2s, background .2s; }
.dok-liste a:hover { border-color: var(--gruen); background: var(--gruen-50); }
.dok-liste svg { width: 28px; height: 28px; flex: none; color: var(--gruen-700); }
.dok-liste small { display: block; font-weight: 600; color: var(--text-leise); font-size: .85rem; }

/* Abteilungsseite */
.abt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.seitenleiste { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1.2rem; }
.box { background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); padding: 1.4rem 1.5rem; }
.box h2 { font-size: 1.15rem; display: flex; align-items: center; gap: .55rem; margin-bottom: .9rem; }
.box h2 svg { width: 22px; height: 22px; color: var(--gruen-700); }
.box-gruen { background: var(--gruen-50); box-shadow: none; }
.box-hinweis { background: #fff7e6; box-shadow: none; border-left: 5px solid #f0a500; }
.box-hinweis h2 svg { color: #b37400; }
.zeiten { list-style: none; padding: 0; margin: 0 0 .8rem; display: grid; gap: .55rem; }
.zeiten li { display: grid; grid-template-columns: 96px 1fr; gap: .6rem; padding-bottom: .55rem; border-bottom: 1px solid var(--linie); }
.zeiten li:last-child { border-bottom: 0; padding-bottom: 0; }
.zeiten strong { color: var(--schwarz); }
.zeiten small { display: block; color: var(--text-leise); font-size: .88rem; }
.box-ort { display: flex; gap: .5rem; align-items: flex-start; color: var(--text-leise); font-size: .95rem; margin: 0; }
.box-ort svg { width: 18px; height: 18px; flex: none; margin-top: .25rem; color: var(--gruen-700); }
.personen { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.personen li { display: flex; gap: .8rem; align-items: center; }
.personen .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--gruen-100); color: var(--gruen-800); display: grid; place-items: center; font-weight: 800; flex: none; overflow: hidden; }
.personen .avatar img { width: 100%; height: 100%; object-fit: cover; }
.personen strong { display: block; color: var(--schwarz); line-height: 1.25; }
.personen span { display: block; font-size: .9rem; color: var(--text-leise); line-height: 1.35; }
.personen a { font-size: .92rem; font-weight: 700; display: block; }
.stopp { display: inline-flex; gap: .4rem; align-items: center; background: #fdecec; color: #a3201f; font-weight: 800; border-radius: 999px; padding: .3rem .8rem; font-size: .9rem; }

.inhalt > * + h2 { margin-top: 2.2rem; }
.inhalt h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.inhalt h3 { margin-top: 1.6rem; }
.inhalt img { border-radius: var(--radius); }
.inhalt figure { margin: 1.8rem 0; }
.inhalt figcaption { font-size: .9rem; color: var(--text-leise); margin-top: .5rem; }
.inhalt blockquote { margin: 1.5rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--gruen); background: var(--gruen-50); border-radius: 0 12px 12px 0; font-style: italic; }
.faq { display: grid; gap: .8rem; margin: 1.5rem 0; }
.faq details { background: var(--sand); border-radius: 14px; padding: 1rem 1.2rem; }
.faq summary { font-weight: 800; cursor: pointer; color: var(--schwarz); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gruen-700); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .8rem 0 0; }

.galerie { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); margin: 1.5rem 0; }
.galerie a { display: flex; align-items: center; justify-content: center; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.galerie img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform .3s; border-radius: 0; }
.galerie a:hover img { transform: scale(1.04); }
.gruppen-karten { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); margin: 1.5rem 0; }
.gruppe { background: #fff; border-radius: 14px; box-shadow: var(--schatten); padding: 1.1rem 1.2rem; text-decoration: none; color: var(--text); position: relative; transition: transform .2s, box-shadow .2s; }
.gruppe:hover { transform: translateY(-2px); box-shadow: var(--schatten-hoch); color: var(--text); }
.gruppe strong { display: block; font-size: 1.1rem; color: var(--schwarz); }
.gruppe span { font-size: .9rem; color: var(--text-leise); }
.gruppe strong svg { width: .9em; height: .9em; margin-left: .35rem; vertical-align: -.05em; color: var(--gruen-700); }
.verband-karten { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }

/* Personen-Raster (Verwaltung) */
.team { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); }
.team-karte { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); text-align: center; }
.team-karte img { aspect-ratio: 1; object-fit: cover; width: 100%; object-position: center 25%; }
.team-karte div { padding: .9rem 1rem 1.1rem; }
.team-karte strong { display: block; font-size: 1.05rem; color: var(--schwarz); }
.team-karte span { display: block; color: var(--gruen-700); font-weight: 700; font-size: .92rem; }
.team-karte small { display: block; color: var(--text-leise); font-size: .86rem; margin-top: .3rem; }
.team-karte a { font-size: .88rem; font-weight: 700; display: block; }

/* Chronik */
.zeitleiste { position: relative; list-style: none; padding: 0; margin: 2rem 0 0; }
.zeitleiste::before { content: ""; position: absolute; left: 92px; top: 0; bottom: 0; width: 3px; background: var(--gruen-100); border-radius: 3px; }
.zeitleiste > li { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 0 2.2rem; padding-bottom: 2.2rem; }
.zeitleiste > li::before { content: ""; position: absolute; left: 85px; top: .45rem; width: 17px; height: 17px; border-radius: 50%; background: var(--gruen); box-shadow: 0 0 0 5px #fff; }
.zeitleiste .jahr { font-weight: 800; color: var(--gruen-700); font-size: 1.15rem; line-height: 1.3; padding-right: 1.1rem; text-align: right; }
.zeitleiste h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.zeitleiste p { margin: 0 0 .6rem; }
.zeitleiste figure { margin: .8rem 0 0; max-width: 520px; }
.zeitleiste figure img { border-radius: 14px; }
.zeitleiste figcaption { font-size: .88rem; color: var(--text-leise); margin-top: .35rem; }
.epoche { grid-column: 2; font-size: .85rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-leise); padding-bottom: .4rem; }
.zeitleiste > li.epoche-zeile { padding-bottom: .8rem; }
.zeitleiste > li.epoche-zeile::before { display: none; }

/* Tabellen */
.tabelle-wrap { overflow-x: auto; border-radius: 14px; box-shadow: var(--schatten); background: #fff; margin: 1.5rem 0; }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--linie); vertical-align: top; }
th { background: var(--gruen-50); color: var(--gruen-900); font-weight: 800; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
td a { font-weight: 700; }
.tag-gruppe { margin-top: 2.2rem; }
.tag-gruppe h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.4rem; }
.tag-gruppe h2::before { content: ""; width: 12px; height: 12px; background: var(--gruen); border-radius: 50%; }
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; }
.filter button { font: inherit; font-weight: 700; font-size: .92rem; border: 1px solid var(--linie); background: #fff; border-radius: 999px; padding: .45rem 1rem; cursor: pointer; color: var(--text); }
.filter button[aria-pressed="true"] { background: var(--gruen-700); color: #fff; border-color: var(--gruen-700); }

/* Artikel */
.artikel-kopf .karte-meta { margin-bottom: .8rem; }
.artikel-bild { margin: 0 0 2rem; text-align: center; }
.artikel-bild a { display: inline-block; max-width: 100%; }
.artikel-bild img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(75vh, 640px); margin: 0 auto; border-radius: calc(var(--radius) + 4px); box-shadow: var(--schatten); }
.teilen-zurueck { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--linie); }

/* Rechtstexte */
.recht h2 { font-size: 1.3rem; margin-top: 2rem; }
.recht h3 { font-size: 1.1rem; margin-top: 1.4rem; }
.recht p, .recht li { font-size: 1rem; }
.paragraf { font-weight: 800; color: var(--schwarz); margin-top: 1.6rem; font-size: 1.12rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 18, 12, .92); display: none; align-items: center; justify-content: center; padding: 3.5rem 1rem; }
.lightbox.offen { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-zu { top: 1rem; right: 1rem; }
.lb-zurueck { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-vor { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Footer */
.footer { background: var(--footer); color: rgba(255,255,255,.78); padding: 4rem 0 0; margin-top: 0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer h2 { color: #fff; font-size: 1.02rem; margin-bottom: 1rem; letter-spacing: .02em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo { background: #fff; display: inline-flex; flex-direction: column; align-items: center; padding: .8rem 1.2rem .7rem; border-radius: 14px; margin-bottom: 1rem; text-decoration: none; }
.footer-logo:hover { text-decoration: none; }
.footer-logo img { height: 52px; width: auto; }
.footer-logo-text { color: var(--schwarz); font-weight: 800; font-size: 1.05rem; line-height: 1.15; text-align: center; margin-top: .35rem; }
.footer-logo-text small { display: block; font-size: .8rem; font-weight: 700; color: var(--gruen-700); }
.footer-motto { font-weight: 800; color: #fff; font-size: 1.1rem; margin-bottom: .5rem; }
.footer-unten { margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.12); padding: 1.3rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9rem; color: rgba(255,255,255,.6); }
.footer-unten ul { display: flex; gap: 1.2rem; flex-wrap: wrap; }

.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; }
.text-mitte { text-align: center; }
.zentriert { display: flex; justify-content: center; margin-top: 2.2rem; }
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

/* Responsive */
@media (max-width: 1240px) {
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; padding: 1rem 1.25rem 3rem; transform: translateX(100%); transition: transform .25s; margin: 0; }
  .menue-offen .nav { transform: none; }
  .menue-offen { overflow: hidden; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: .1rem; }
  .nav a, .nav button.nav-top { padding: .85rem 1rem; font-size: 1.08rem; width: 100%; justify-content: space-between; border-radius: 12px; }
  .nav .sub, .nav .sub.breit { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; display: none; min-width: 0; padding: 0 0 .5rem .6rem; grid-template-columns: 1fr; }
  .nav .hat-sub.offen .sub { display: block; transform: none; }
  .nav .hat-sub:hover .sub { transform: none; }
  .nav .nav-cta { margin: 1rem 0 0; }
  .nav .nav-cta a { justify-content: center; }
  .menue-btn { display: inline-flex; }
  .abt-layout { grid-template-columns: 1fr; }
  .seitenleiste { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  :root { --header-h: 66px; }
  .logo img { height: 44px; }
  .logo-text { font-size: 1.15rem; }
  .kennzahlen ul { grid-template-columns: repeat(2, 1fr); }
  .highlight, .split, .cta-band, .zweispaltig { grid-template-columns: 1fr; }
  .highlight-bild img { max-height: 420px; object-position: top; }
  .split-bild { order: -1; }
  .termin { grid-template-columns: 64px 1fr; }
  .termin .termin-aktion { grid-column: 2; }
  .datum-box { width: 64px; }
  .seitenkopf-icon { width: 96px; }
  .zeitleiste::before { left: 12px; }
  .zeitleiste > li { grid-template-columns: 1fr; padding-left: 2.4rem; }
  .zeitleiste > li::before { left: 5px; }
  .zeitleiste .jahr { text-align: left; padding: 0; }
  .epoche { grid-column: 1; }
}
@media (max-width: 560px) {
  body { font-size: 1.0556rem; }
  .abt-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .abt-karte { padding: 1rem .7rem 1.1rem; }
  .abt-karte img { width: 84px; height: 84px; }
  .abt-karte h3 { font-size: 1rem; }
  .abt-karte p { font-size: .82rem; }
  .logo-text small { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .seitenkopf-flex { flex-direction: column-reverse; align-items: flex-start; gap: 1rem; }
  .zeiten li { grid-template-columns: 84px 1fr; }
  .btn { width: 100%; }
  .btn-reihe .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .header, .footer, .menue-btn, .lightbox { display: none !important; }
  body { font-size: 11pt; }
}
.tag-gruppe table { table-layout: fixed; min-width: 640px; }
.tag-gruppe th:nth-child(1) { width: 190px; }
.tag-gruppe th:nth-child(2) { width: 27%; }
.tag-gruppe th:nth-child(3) { width: 30%; }
.nav a, .nav button.nav-top { white-space: nowrap; }
@media (max-width: 1440px) and (min-width: 1241px) {
  .logo-text small { display: none; }
  .nav a, .nav button.nav-top { padding: .55rem .65rem; }
  .header-inner { gap: 1rem; }
}

/* Abteilungsseiten: alles untereinander */
.abt-stapel { max-width: 1000px; display: grid; gap: 2.2rem; }
.abt-stapel > .inhalt > :last-child { margin-bottom: 0; }
.abt-bild { margin: 0; text-align: center; }
.abt-bild a { display: inline-block; max-width: 100%; }
.abt-bild img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(75vh, 640px); margin: 0 auto; border-radius: var(--radius); box-shadow: var(--schatten); }
.info-boxen { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); align-items: start; }

/* Mobil */
@media (max-width: 1240px) {
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav { z-index: 60; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
}
@media (max-width: 640px) {
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .team-karte div { padding: .7rem .6rem .9rem; }
  .team-karte strong { font-size: .95rem; }
  .team-karte span, .team-karte small, .team-karte a { font-size: .82rem; }
  /* Trainingszeiten als Karten */
  .tag-gruppe .tabelle-wrap { box-shadow: none; background: transparent; overflow: visible; }
  .tag-gruppe table { min-width: 0; table-layout: auto; }
  .tag-gruppe thead { display: none; }
  .tag-gruppe table, .tag-gruppe tbody, .tag-gruppe tr, .tag-gruppe td { display: block; width: auto; }
  .tag-gruppe tr { background: #fff; border-radius: 14px; box-shadow: var(--schatten); padding: .8rem 1rem; margin-bottom: .7rem; }
  .tag-gruppe td { border: 0; padding: .1rem 0; }
  .tag-gruppe td:nth-child(1) { font-size: 1.05rem; }
  .tag-gruppe td:nth-child(2) a { font-size: 1.05rem; }
  .tag-gruppe td:nth-child(3), .tag-gruppe td:nth-child(4) { color: var(--text-leise); font-size: .92rem; }
  .tag-gruppe td:empty { display: none; }
  .brotkrumen { font-size: .82rem; }
  .seitenkopf h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .zeltlager-chronik td, .zeltlager-chronik th { padding: .55rem .6rem; }
}

/* Smartphone: nichts darf rechts herausragen, Schrift etwas kleiner */
body { overflow-x: clip; }
h1, h2, h3, h4, p, li, td, th, a, strong, span, figcaption { overflow-wrap: break-word; }
h1, h2, h3, .abt-karte p, .abt-karte h3, .karte-text h3 { hyphens: auto; -webkit-hyphens: auto; }
img, table { max-width: 100%; }
.header-inner > *, .split > *, .highlight > *, .cta-band > *, .zweispaltig > * { min-width: 0; }
@media (max-width: 640px) {
  html { font-size: 100%; }
  body { font-size: 1rem; line-height: 1.65; }
  .lead { font-size: 1.08rem; }
  .wrap, .wrap-schmal { width: min(100% - 2rem, var(--breite)); }
  .section { padding: 2.8rem 0; }
  .hero h1 { font-size: clamp(1.9rem, 9.6vw, 2.6rem); }
  .hero .lead { font-size: 1.15rem; }
  .abt-karte { padding: .9rem .55rem 1rem; }
  .abt-karte img { width: 74px; height: 74px; }
  .abt-karte h3 { font-size: .95rem; }
  .abt-karte p { font-size: .8rem; }
  .highlight-text h3 { font-size: 1.3rem !important; }
  .box { padding: 1.1rem 1.1rem; }
  .zeiten li { grid-template-columns: 82px minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .header-inner { gap: .6rem; }
  .logo { gap: .5rem; }
  .logo img { height: 36px; }
  .logo-text { font-size: 1rem; }
  .menue-btn { width: 42px; height: 42px; }
}
