/* Camping-Freunde Filder e.V. – ein Stylesheet, keine externen Schriften */
:root {
  --gruen: #70be3e;          /* Logo-Grün */
  --gruen-knopf: #3f8423;    /* Knöpfe, ausreichend Kontrast zu Weiß */
  --gruen-dunkel: #2c6516;   /* Links */
  --wald: #1c3317;           /* Fußzeile */
  --sand: #f5f2e9;
  --linie: #e2ddcf;
  --text: #1f2a1c;
  --grau: #5b6656;
  --extern: #3d63b8;
  --radius: 18px;
  --schatten: 0 1px 2px rgb(16 40 12 / .05), 0 8px 28px rgb(16 40 12 / .08);
  --schatten-hoch: 0 2px 4px rgb(16 40 12 / .06), 0 18px 40px rgb(16 40 12 / .14);
  --breite: clamp(1160px, 82vw, 1600px);  /* Inhaltsbreite wächst mit der Auflösung */
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
/* Schrift: skaliert mit der Bildschirmbreite – ca. 18 px am Handy, 19 px am Desktop */
html { font-size: clamp(106.25%, .2vw + 100%, 125%); }  /* stufenlos: ~18 px Handy … ~21 px großer Monitor */
body { margin: 0; background: #fff; font-size: 1.0625rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen-dunkel); text-underline-offset: .18em; }
a:hover { color: var(--gruen-knopf); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.2rem); margin: 0 0 .3em; }
h2 { font-size: clamp(1.4rem, 1.2vw + 1rem, 1.9rem); margin: 1.6em 0 .5em; }
h3 { font-size: 1.15rem; margin: 0 0 .25em; }
:focus-visible { outline: 3px solid var(--gruen); outline-offset: 3px; border-radius: 4px; }

.breit { max-width: var(--breite); margin-inline: auto; padding-inline: 16px; }
.text { max-width: 44em; margin-inline: auto; padding: 8px 16px 32px; }
.text > :first-child { margin-top: 0; }
.text img { border-radius: var(--radius); margin: 1.5em 0; }
.text ul { padding-left: 1.2em; }
.text li { margin: .4em 0; }
.mitte { text-align: center; }
.schlicht { list-style: none; margin: 0; padding: 0; }
.schlicht li { margin: .35em 0; }
.marke { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--grau); text-transform: uppercase; letter-spacing: .05em; margin: .2em 0 0; }

.sprung { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.sprung:focus { left: 8px; }

/* ---------- Knöpfe ---------- */
.knopf { display: inline-block; background: var(--gruen-knopf); color: #fff; text-decoration: none; font-weight: 600;
  padding: .6em 1.15em; border-radius: 999px; border: 2px solid var(--gruen-knopf); transition: background .15s; }
.knopf:hover { background: var(--gruen-dunkel); border-color: var(--gruen-dunkel); color: #fff; }
.knopf.hell { background: #fff; color: var(--gruen-dunkel); border-color: #fff; }
.knopf.hell:hover { background: var(--sand); color: var(--gruen-dunkel); }
.knopf.gross { font-size: 1.05rem; padding: .75em 1.4em; }
.knopf.klein { font-size: .9rem; padding: .35em .9em; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Kopf & Navigation ---------- */
.kopf { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--linie); }
.kopf-innen { max-width: var(--breite); margin: auto; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo img { width: 128px; height: auto; }
.navi ul { list-style: none; margin: 0; padding: 0; }
.navi > ul { display: flex; align-items: center; gap: 4px; }
.navi a, .navi summary { display: block; padding: .5em .8em; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 500; cursor: pointer; }
.navi a:hover, .navi summary:hover { background: var(--sand); color: var(--text); }
.navi a[aria-current="page"], .navi summary.aktiv { color: var(--gruen-dunkel); font-weight: 700; }
.navi a.knopf { color: #fff; margin-left: 8px; padding: .5em 1.1em; }
.navi a.knopf:hover { background: var(--gruen-dunkel); color: #fff; }
.navi summary { list-style: none; }
.navi summary::-webkit-details-marker { display: none; }
.navi summary::after { content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .45em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.2em) rotate(45deg); }
.hat-unter { position: relative; }
.hat-unter ul { position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); padding: 6px; }
.menue-schalter, .menue-knopf { display: none; }

@media (max-width: 900px) {
  .menue-knopf { display: flex; flex-direction: column; gap: 5px; padding: 10px; cursor: pointer; }
  .menue-knopf span { width: 26px; height: 3px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menue-schalter:checked ~ .menue-knopf span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menue-schalter:checked ~ .menue-knopf span:nth-child(2) { opacity: 0; }
  .menue-schalter:checked ~ .menue-knopf span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .menue-schalter:focus-visible ~ .menue-knopf { outline: 3px solid var(--gruen); border-radius: 6px; }
  .navi { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--linie); box-shadow: var(--schatten); padding: 8px 16px 16px; max-height: calc(100vh - 80px); overflow-y: auto; }
  .menue-schalter:checked ~ .navi { display: block; }
  .navi > ul { flex-direction: column; align-items: stretch; }
  .navi a, .navi summary { padding: .75em .6em; }
  .hat-unter ul { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .navi a.knopf { margin: 8px 0 0; text-align: center; }
  .logo img { width: 104px; }
}

/* ---------- Startseite: Kopfbild ---------- */
.held { position: relative; min-height: min(88vh, 760px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--wald); }
.held-bild, .held-bild picture { position: absolute; inset: 0; }
.held-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.held-bild img.platzhalter { opacity: .25; }
.held::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(12 28 9 / .78) 0%, rgb(12 28 9 / .45) 45%, rgb(12 28 9 / .05) 75%),
              linear-gradient(0deg, rgb(12 28 9 / .55) 0%, transparent 45%); }
.held-innen { position: relative; z-index: 1; width: 100%; padding-block: 64px 48px; display: grid; gap: 28px; align-items: end; }
.held-text { max-width: 38em; }
.held h1 { font-size: clamp(2.5rem, 5.5vw + 1rem, 4.6rem); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 .35em; text-shadow: 0 2px 24px rgb(0 0 0 / .3); }
.held-unter { font-size: clamp(1.05rem, .6vw + .95rem, 1.3rem); max-width: 32em; margin: 0 0 1.6em; opacity: .95; }
@media (min-width: 900px) { .held-innen { grid-template-columns: 1fr auto; padding-block: 96px 64px; } }
.wechsel { display: inline-grid; color: var(--gruen); }
.wechsel > span { grid-area: 1 / 1; opacity: 0; animation: wechsel 24s infinite; }
.wechsel > span:nth-child(2) { animation-delay: 6s; }
.wechsel > span:nth-child(3) { animation-delay: 12s; }
.wechsel > span:nth-child(4) { animation-delay: 18s; }
@keyframes wechsel { 0%, 22% { opacity: 1; } 25%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .wechsel > span { animation: none; }
  .wechsel > span:first-child { opacity: 1; }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 56px 0; }
.abschnitt.sand { background: var(--sand); }
.abschnitt-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.abschnitt-kopf h2 { margin: 0; }
.seitenkopf { background: var(--sand); padding: 48px 0 36px; margin-bottom: 32px; border-bottom: 1px solid var(--linie); }
.seitenkopf p { color: var(--grau); margin: 0; font-size: 1.1rem; }
.seitenkopf + .abschnitt { padding-top: 8px; }
.zurueck { margin: 0 0 .5em !important; font-size: .95rem !important; }

/* ---------- Termine ---------- */
.kalenderblatt { flex: none; width: 64px; text-align: center; background: #fff; border: 1px solid var(--linie); border-top: 6px solid var(--gruen-knopf);
  border-radius: 10px; padding: 4px 0 6px; font-size: .8rem; font-weight: 600; text-transform: uppercase; color: var(--grau); line-height: 1.1; }
.kalenderblatt span { display: block; font-size: 1.6rem; color: var(--text); }
.extern .kalenderblatt { border-top-color: var(--extern); }
.termin-karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.termin-karten li { display: flex; gap: 14px; background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--schatten); }
.termin-karten p { margin: 0; color: var(--grau); font-size: .95rem; }
.termin-liste { list-style: none; margin: 0 0 8px; padding: 0; }
.termin-liste li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.termin-liste p { margin: 0; color: var(--grau); }
.termin-liste.klein li { padding: 10px 0 10px 14px; border-left: 4px solid var(--gruen-knopf); margin: 6px 0; border-bottom: 0; }
.termin-liste.klein li.extern { border-left-color: var(--extern); }
.termin-liste.klein h3 { font-size: 1rem; }
.termine h2 { font-size: 1.3rem; margin: 1.6em 0 .2em; color: var(--gruen-dunkel); }
.legende { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; color: var(--grau); margin: 0 0 8px; }
.legende .knopf { margin-left: auto; }
.punkt { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--gruen-knopf); vertical-align: -1px; }
.punkt.extern { background: var(--extern); }
.archiv { margin-top: 40px; background: var(--sand); border-radius: var(--radius); padding: 12px 20px; }
.archiv summary { cursor: pointer; font-weight: 600; padding: 6px 0; }

/* ---------- Galerie ---------- */
.alben { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.alben a { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); text-decoration: none; color: var(--text); transition: transform .15s; }
.alben a:hover { transform: translateY(-3px); }
.alben img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.alben span { display: block; font-weight: 700; padding: 12px 16px 2px; }
.alben small { display: block; color: var(--grau); padding: 0 16px 14px; }
.alben span:last-child { padding-bottom: 14px; }
/* Kachelbreite wächst mit dem Bildschirm: 2 Spalten am Handy, 5–7 am PC */
.bilderwand { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(130px, 21vw, 220px), 1fr)); gap: 8px; }
.bilderwand img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.alben.breit, .bilderwand.breit { padding-inline: 16px; }

/* ---------- Team ---------- */
.team { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 28px 20px; }
.team li { text-align: center; }
.team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: var(--radius); margin-bottom: 12px; background: var(--sand); }
.team h2 { font-size: 1.15rem; margin: 0; }
.team p { margin: .15em 0 .3em; color: var(--grau); }

/* ---------- Geschichte ---------- */
.zeitleiste { list-style: none; margin: 0 auto; padding-inline: 16px; max-width: 900px; position: relative; }
.zeitleiste::before { content: ""; position: absolute; left: 50px; top: 0; bottom: 0; width: 3px; background: var(--linie); }
.zeitleiste li { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 24px; margin-bottom: 40px; }
.zeit-jahr { position: relative; z-index: 1; background: var(--gruen-knopf); color: #fff; font-weight: 800; border-radius: 999px; text-align: center; padding: 6px 0; height: fit-content; }
.zeit-inhalt { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: start; }
.zeit-inhalt img { border-radius: var(--radius); }
.zeit-inhalt h2 { margin: 0; font-size: 1.35rem; }
@media (max-width: 640px) {
  .zeit-inhalt { grid-template-columns: 1fr; }
  .zeitleiste li { grid-template-columns: 1fr; gap: 10px; }
  .zeitleiste::before { display: none; }
  .zeit-jahr { width: 90px; }
}

/* ---------- Stimmen, Aufruf, Kontakt ---------- */
.spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.karte { background: var(--sand); border-radius: var(--radius); padding: 24px; }
.karte h2 { margin-top: 0; font-size: 1.3rem; }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--wald); color: #d9e4d2; margin-top: 0; }
.fuss a { color: #fff; }
.fuss-innen { max-width: var(--breite); margin: auto; padding: 48px 16px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.fuss h2 { color: #fff; font-size: 1rem; margin: 0 0 .6em; text-transform: uppercase; letter-spacing: .06em; }
.fuss p { margin: 0 0 .8em; }
.fuss-logo { width: 140px; margin-bottom: 12px; }
.fuss-unten { max-width: var(--breite); margin: auto; padding: 16px; border-top: 1px solid rgb(255 255 255 / .15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: .9rem; }

/* ---------- Entwurfs-Hinweis & Foto-Hinweis ---------- */
.entwurf { background: #fff6d6; border: 2px solid #e8c547; border-radius: var(--radius); padding: 16px 20px !important; margin-bottom: 24px; color: #4d3f00; }
.entwurf ul { margin: .5em 0; }
.entwurf p { margin: .5em 0 0; font-size: .95rem; }
.foto-hinweis { max-width: var(--breite); margin: 24px auto 0; padding: 0 16px; color: var(--grau); font-size: .95rem; }
.text table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.text td, .text th { padding: .55em .75em; border-bottom: 1px solid var(--linie); text-align: left; }
.text thead:has(th:empty) { display: none; }

/* ==========================================================================
   Startseite (modern) – Bausteine
   ========================================================================== */
.symbol { width: 1.5em; height: 1.5em; flex: none; }
.symbol.klein { width: 1.1em; height: 1.1em; vertical-align: -.18em; }
.vorzeile { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gruen-knopf); margin: 0 0 .6em; }
.vorzeile.hell { color: #c9eeb0; }
.textlink { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.textlink .symbol, .knopf .symbol { transition: transform .15s; }
.textlink:hover .symbol, .knopf:hover .symbol { transform: translateX(3px); }
.knopf { display: inline-flex; align-items: center; gap: .5em; }
.knopf.glas { background: rgb(255 255 255 / .14); border-color: rgb(255 255 255 / .55); color: #fff; backdrop-filter: blur(8px); }
.knopf.glas:hover { background: rgb(255 255 255 / .26); color: #fff; }

/* Nächster Termin im Kopfbild */
.naechster { display: block; max-width: 380px; padding: 18px 20px; border-radius: var(--radius); color: #fff; text-decoration: none;
  background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .28); backdrop-filter: blur(14px); box-shadow: 0 12px 40px rgb(0 0 0 / .25); transition: background .15s; }
.naechster:hover { background: rgb(255 255 255 / .2); color: #fff; }
.naechster-label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #c9eeb0; margin-bottom: 10px; }
.naechster-zeile { display: flex; gap: 14px; align-items: center; }
.naechster strong { display: block; line-height: 1.3; }
.naechster small { display: block; opacity: .85; margin-top: 4px; font-size: .88rem; }
.naechster .kalenderblatt { border-color: transparent; }

/* Zahlenleiste */
.zahlen { background: var(--wald); color: #fff; }
.zahlen ul { list-style: none; margin: 0 auto; padding-block: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
.zahlen li { text-align: center; }
.zahlen strong { display: block; font-size: clamp(1.9rem, 3vw + 1rem, 2.8rem); line-height: 1; color: var(--gruen); letter-spacing: -.02em; }
.zahlen span { display: block; margin-top: 6px; font-size: .9rem; color: #cfdcc8; }
@media (min-width: 700px) { .zahlen ul { grid-template-columns: repeat(4, 1fr); } }

/* Einleitung + Merkmale */
.einleitung { max-width: 42em; margin-bottom: 40px; }
.einleitung h2 { margin-top: 0; font-size: clamp(1.8rem, 2vw + 1.1rem, 2.6rem); letter-spacing: -.02em; }
.einleitung-text { font-size: 1.15rem; color: #3a4636; }
.einleitung-text p { margin: 0 0 .8em; }
.merkmale { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.merkmale li { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s; }
.merkmale li:hover { transform: translateY(-4px); box-shadow: var(--schatten-hoch); }
.merkmal-symbol { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 14px;
  background: linear-gradient(135deg, #eaf6df, #d4edc1); color: var(--gruen-dunkel); }
.merkmal-symbol .symbol { width: 28px; height: 28px; }
.merkmale h3 { font-size: 1.12rem; margin-bottom: .35em; }
.merkmale p { margin: 0; color: var(--grau); }

/* Termin-Karten (modern) */
.termin-karten { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.termin-karten li { padding: 20px; align-items: flex-start; transition: transform .2s, box-shadow .2s; }
.termin-karten li:hover { transform: translateY(-3px); box-shadow: var(--schatten-hoch); }
.termin-karten h3 { margin: .15em 0 .4em; font-size: 1.05rem; line-height: 1.35; }
.termin-karten p { display: flex; gap: .4em; align-items: flex-start; }
.marke.gruen { color: var(--gruen-knopf); }
.extern .marke { color: var(--extern); }
.abo-hinweis { margin: 22px 0 0; color: var(--grau); font-size: .95rem; }

/* Foto-Mosaik */
.mosaik { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
.mosaik li:first-child { grid-column: span 2; grid-row: span 2; }
.mosaik a { position: relative; display: block; height: 100%; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; }
.mosaik picture, .mosaik img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaik a:hover img { transform: scale(1.05); }
.mosaik span { position: absolute; inset: auto 0 0 0; padding: 28px 14px 12px; font-weight: 700; font-size: .95rem; background: linear-gradient(0deg, rgb(0 0 0 / .65), transparent); }
@media (min-width: 900px) {
  .mosaik { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; }
  .mosaik li:first-child span { font-size: 1.2rem; padding: 40px 20px 18px; }
}

/* Stimmen – am Handy zum Wischen */
.stimmen { display: grid; grid-auto-flow: column; grid-auto-columns: min(85%, 340px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 28px -16px 0; padding: 4px 16px 16px; scrollbar-width: thin; }
.stimmen figure { scroll-snap-align: start; margin: 0; background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--schatten); display: flex; flex-direction: column; }
.zitat-symbol { color: var(--gruen); }
.zitat-symbol .symbol { width: 34px; height: 34px; }
.stimmen blockquote { margin: 10px 0 16px; font-size: 1.02rem; color: #3a4636; flex: 1; }
.stimmen figcaption { font-weight: 700; color: var(--gruen-dunkel); }
@media (min-width: 900px) { .stimmen { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; } }

/* Abschluss-Band mit Foto */
.aufruf { position: relative; color: #fff; text-align: center; overflow: hidden; background: var(--wald); }
.aufruf-bild, .aufruf-bild picture { position: absolute; inset: 0; }
.aufruf-bild img { width: 100%; height: 100%; object-fit: cover; }
.aufruf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgb(28 51 23 / .92), rgb(63 132 35 / .78)); }
.aufruf-innen { position: relative; z-index: 1; padding-block: 80px; max-width: 760px; }
.aufruf h2 { margin-top: 0; font-size: clamp(1.9rem, 2.5vw + 1.1rem, 2.8rem); letter-spacing: -.02em; }
.aufruf p { font-size: 1.1rem; }
.knopfreihe.mitte { justify-content: center; }
.aufruf .knopf:not(.glas) { background: #fff; color: var(--gruen-dunkel); border-color: #fff; }
.aufruf .knopf:not(.glas):hover { background: var(--sand); }

@media (prefers-reduced-motion: reduce) {
  .merkmale li, .termin-karten li, .mosaik img, .knopf .symbol, .textlink .symbol { transition: none; }
}

/* ==========================================================================
   Termine: Detailseite, Anmeldung, Dokumente
   ========================================================================== */
.termin-liste h3 a, .termin-karten h3 a { color: inherit; text-decoration: none; }
.termin-liste h3 a:hover { color: var(--gruen-dunkel); text-decoration: underline; }
/* ganze Karte klickbar */
.termin-karten li { position: relative; }
.karten-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.karten-link:focus-visible::after { outline: 3px solid var(--gruen); }

.pille { display: inline-flex; align-items: center; gap: .3em; font-size: .82rem; font-weight: 700; padding: .25em .7em; border-radius: 999px; margin: 6px 6px 0 0; text-decoration: none; line-height: 1.4; }
.pille.offen { background: #e3f4d6; color: #2c6516; }
.pille.vorbei { background: #eee9dc; color: var(--grau); }
.pille.dok { background: #fff; border: 1px solid var(--linie); color: var(--gruen-dunkel); position: relative; z-index: 1; }
.pille.dok:hover { border-color: var(--gruen-knopf); }
.termin-zusatz { margin-top: 4px !important; }
p.pille { display: inline-block; }

.termin-kopf { padding-bottom: 28px; }
.termin-titel { display: flex; gap: 20px; align-items: center; }
.termin-titel h1 { margin: .1em 0 0; font-size: clamp(1.6rem, 2.5vw + 1rem, 2.6rem); }
.kalenderblatt.gross { width: 84px; font-size: .95rem; padding: 6px 0 10px; }
.kalenderblatt.gross span { font-size: 2.2rem; }
.termin-seite { padding-top: 0; }
.termin-raster { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .termin-raster { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; } }
.termin-fakten { list-style: none; margin: 0 0 24px; padding: 0; }
.termin-fakten li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.termin-fakten .symbol { color: var(--gruen-knopf); margin-top: 1px; }
.termin-bild img { border-radius: var(--radius); margin-bottom: 20px; }
.termin-beschreibung { font-size: 1.05rem; }
.album-hinweis { display: flex; gap: 14px; align-items: center; margin-top: 20px; padding: 16px 18px; border-radius: var(--radius); background: var(--sand); text-decoration: none; color: var(--text); }
.album-hinweis .symbol { width: 32px; height: 32px; color: var(--gruen-knopf); }
.album-hinweis small { display: block; color: var(--grau); }

.anmeldung-box { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 24px; box-shadow: var(--schatten); }
@media (min-width: 900px) { .anmeldung-box { position: sticky; top: 110px; } }
.anmeldung-box h2 { margin: 0 0 12px; font-size: 1.3rem; }
.anmeldung-status { margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; font-size: .95rem; }
.anmeldung-status.offen { background: #e3f4d6; color: #2c6516; }
.anmeldung-status.vorbei { background: #eee9dc; color: var(--grau); }
.dokumente { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.dokumente a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--linie); border-radius: 12px; text-decoration: none; color: var(--text); transition: border-color .15s, background .15s; }
.dokumente a:hover { border-color: var(--gruen-knopf); background: #f6fbf2; }
.dokumente a > .symbol:first-child { color: #c0392b; width: 28px; height: 28px; }
.dokumente span { flex: 1; min-width: 0; }
.dokumente strong { display: block; }
.dokumente small { color: var(--grau); }
.anmeldung-schritte { margin: 0 0 16px; padding-left: 1.3em; color: var(--grau); }
.anmeldung-schritte li { margin: .3em 0; }
.breit-knopf { width: 100%; justify-content: center; }

/* ==========================================================================
   Galerie nach Jahren
   ========================================================================== */
.jahr-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; position: sticky; top: 74px; z-index: 5; padding-block: 10px; background: rgb(255 255 255 / .94); backdrop-filter: blur(6px); }
.jahr-nav a { padding: .4em 1em; border-radius: 999px; border: 1px solid var(--linie); text-decoration: none; font-weight: 700; color: var(--gruen-dunkel); background: #fff; }
.jahr-nav a:hover { border-color: var(--gruen-knopf); background: #f3faee; }
.jahr-block { padding: 28px 0 48px; scroll-margin-top: 140px; }
.jahr-block + .jahr-block { border-top: 1px solid var(--linie); }
.jahr-kopf { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.jahr-kopf h2 { margin: 0; font-size: clamp(2rem, 3vw + 1rem, 3rem); letter-spacing: -.03em; color: var(--gruen-dunkel); }
.jahr-kopf span { color: var(--grau); }
.jahr-alben { margin-top: 20px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.jahr-alben span { font-size: .95rem; }
@media (max-width: 600px) { .jahr-nav { top: 62px; } }

/* Statement einreichen */
.statement-aufruf { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between;
  background: #fff; border: 1px dashed var(--gruen-knopf); border-radius: var(--radius); padding: 18px 22px; }
.statement-aufruf p { margin: 0; flex: 1 1 320px; }

/* ==========================================================================
   Unterseiten (modern) – gemeinsamer Seitenkopf und Bausteine
   ========================================================================== */
.seitenkopf { position: relative; overflow: hidden; background: var(--sand); padding: 56px 0 44px; margin-bottom: 0; border-bottom: 1px solid var(--linie); }
.seitenkopf h1 { font-size: clamp(2.1rem, 4vw + 1rem, 3.6rem); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .25em; }
.seitenkopf-unter { font-size: clamp(1.05rem, .5vw + .95rem, 1.25rem); color: var(--grau); margin: 0; max-width: 40em; }
.seitenkopf-innen { position: relative; z-index: 1; }
.seitenkopf.mit-bild { color: #fff; background: var(--wald); border-bottom: 0; padding: 120px 0 52px; min-height: 340px; display: flex; align-items: flex-end; }
.seitenkopf.mit-bild > .seitenkopf-innen { width: 100%; }
.seitenkopf-bild, .seitenkopf-bild picture { position: absolute; inset: 0; }
.seitenkopf-bild img { width: 100%; height: 100%; object-fit: cover; }
.seitenkopf.mit-bild::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(12 28 9 / .82) 0%, rgb(12 28 9 / .5) 50%, rgb(12 28 9 / .15) 100%), linear-gradient(0deg, rgb(12 28 9 / .6), transparent 60%); }
.seitenkopf.mit-bild h1 { text-shadow: 0 2px 20px rgb(0 0 0 / .3); }
.seitenkopf.mit-bild .seitenkopf-unter { color: rgb(255 255 255 / .9); }
.seitenkopf.mit-bild .zurueck a { color: #fff; }
.seitenkopf + .abschnitt { padding-top: 56px; }
@media (min-width: 900px) { .seitenkopf.mit-bild { min-height: 420px; padding-bottom: 64px; } }

.gross-h2 { margin-top: 0; font-size: clamp(1.8rem, 2vw + 1.1rem, 2.6rem); letter-spacing: -.02em; }
.zwei-spalten { display: grid; gap: 32px; align-items: center; }
.zwei-spalten.oben { align-items: start; }
@media (min-width: 900px) { .zwei-spalten { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.bild-rahmen img { border-radius: var(--radius); box-shadow: var(--schatten-hoch); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Lesetext (Impressum, Datenschutz, einfache Seiten) */
.inhalt-abschnitt { padding-top: 48px; }
.lesetext { font-size: 1.05rem; padding-bottom: 24px; }
.lesetext h2 { font-size: 1.35rem; margin: 2em 0 .5em; padding-top: 1.2em; border-top: 1px solid var(--linie); }
.lesetext h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.lesetext a { word-break: break-word; }

/* Über uns: Mission & Vision */
.leitbild { display: grid; gap: 20px; }
@media (min-width: 900px) { .leitbild { grid-template-columns: 1fr 1fr; gap: 24px; } }
.leitbild article { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--schatten); }
.leitbild h2 { margin: 0 0 .5em; font-size: 1.5rem; }
.leitbild p { margin: 0; color: #3a4636; }
.werte { margin-top: 8px; }
.schlicht-aufruf { background: linear-gradient(135deg, var(--wald), var(--gruen-knopf)); }
.schlicht-aufruf::after { display: none; }

/* Mitglied werden: Beiträge, Schritte, Download */
.preise { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.preise li { background: #fff; border-radius: var(--radius); padding: 26px 22px; text-align: center; box-shadow: var(--schatten); }
.preis { display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; color: var(--gruen-knopf); line-height: 1; margin-bottom: 10px; }
.preise h3 { margin: 0 0 .3em; }
.preise p { margin: 0; color: var(--grau); font-size: .95rem; }
.schritte { list-style: none; counter-reset: schritt; margin: 8px 0 0; padding: 0; }
.schritte li { counter-increment: schritt; position: relative; padding: 0 0 26px 64px; }
.schritte li::before { content: counter(schritt); position: absolute; left: 0; top: -2px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gruen-knopf); color: #fff; font-weight: 800; font-size: 1.15rem; }
.schritte li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: var(--linie); }
.schritte h3 { margin: 6px 0 .2em; }
.schritte p { margin: 0; color: var(--grau); }
.download-karte { background: var(--sand); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; }
.download-karte h3 { margin: 0; font-size: 1.3rem; }
.download-karte p { margin: 0; color: var(--grau); }
.knopf.hell-rand { background: #fff; color: var(--gruen-dunkel); border-color: var(--linie); }
.knopf.hell-rand:hover { border-color: var(--gruen-knopf); background: #fff; color: var(--gruen-dunkel); }
.klein-text { font-size: .92rem; }

/* Partner */
.partner-karten { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .partner-karten { grid-template-columns: 1fr 1fr; } }
.partner-karten li { display: grid; grid-template-columns: 110px 1fr; gap: 22px; align-items: start; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 26px; }
.partner-logo img { width: 110px; height: 110px; object-fit: contain; }
.partner-karten h2 { margin: 0 0 .4em; font-size: 1.3rem; }
.partner-karten p { margin: 0 0 12px; color: var(--grau); }
.club-liste { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.club-liste li { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--schatten); }
.club-liste small { display: block; color: var(--grau); }
.merkmal-symbol.klein-symbol { width: 42px; height: 42px; margin: 0; flex: none; border-radius: 12px; }
.merkmal-symbol.klein-symbol .symbol { width: 22px; height: 22px; }

/* Team */
.team { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.team li { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); text-align: left; transition: transform .2s, box-shadow .2s; }
.team li:hover { transform: translateY(-4px); box-shadow: var(--schatten-hoch); }
.team-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; margin: 0; border-radius: 0; background: var(--sand); }
.team-text { padding: 14px 16px 18px; }
.team-text h3 { margin: 0; font-size: 1.08rem; }
.team-text p { margin: .2em 0 .5em; color: var(--grau); font-size: .95rem; }
.team-mail { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; font-size: .92rem; text-decoration: none; }
.team-vorstand { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* Geschichte: Zeitleiste */
.zeitleiste { list-style: none; margin: 16px auto 0; max-width: 960px; position: relative; padding-left: 16px; }
.zeitleiste::before { content: ""; position: absolute; left: 51px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: linear-gradient(var(--gruen), var(--linie)); }
.zeitleiste li { display: grid; grid-template-columns: 72px 1fr; gap: 22px; margin-bottom: 34px; position: relative; }
.zeit-marke span { position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--gruen-knopf); color: #fff; font-weight: 800; font-size: 1.15rem; box-shadow: 0 0 0 6px #fff; }
.zeit-karte { background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); overflow: hidden; display: grid; }
@media (min-width: 760px) { .zeit-karte { grid-template-columns: 240px 1fr; } }
.zeit-bild img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; }
.zeit-text { padding: 22px 24px; }
.zeit-text h3 { margin: .1em 0 .4em; font-size: 1.3rem; }
.zeit-text p { margin: 0 0 .7em; color: #3a4636; }
@media (max-width: 600px) {
  .zeitleiste { padding-left: 0; }
  .zeitleiste::before { left: 27px; }
  .zeitleiste li { grid-template-columns: 56px 1fr; gap: 14px; }
  .zeit-marke span { width: 56px; height: 56px; font-size: .95rem; }
}

/* Kontakt */
.kontakt-karten { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.kontakt-karten li { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 26px; text-align: center; }
.kontakt-karten .merkmal-symbol { margin-inline: auto; }
.kontakt-karten h2 { margin: 0 0 .3em; font-size: 1.2rem; }
.kontakt-karten p { margin: 0; font-size: 1.05rem; }
.ansprech { list-style: none; margin: 8px 0 20px; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.ansprech li { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: var(--schatten); }
.ansprech-foto img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.ansprech strong, .ansprech small, .ansprech a { display: block; }
.ansprech small { color: var(--grau); }
.ansprech a { font-size: .92rem; font-weight: 700; text-decoration: none; margin-top: 4px; }
.hinweis-karte { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; background: var(--sand); border-radius: var(--radius); padding: 22px 24px; }
.hinweis-karte > div { flex: 1 1 280px; }
.hinweis-karte h2 { margin: 0 0 .2em; font-size: 1.2rem; }
.hinweis-karte p { margin: 0; color: var(--grau); }
.hinweis-karte .merkmal-symbol { margin: 0; }
.abo-karte { margin-bottom: 24px; }

/* Album */
.album-termin { margin-top: 20px; margin-bottom: 0; }
.zeit-bild { background: var(--sand); display: grid; place-items: center; padding: 14px; }
.zeit-bild img { object-fit: contain; min-height: 0; max-height: 240px; width: auto; max-width: 100%; height: auto; }

/* Bildausschnitt im Seitenkopf wählbar (kopfausschnitt: oben | unten) */
.ausschnitt-oben img { object-position: 50% 12%; }
.ausschnitt-unten img { object-position: 50% 85%; }

/* ==========================================================================
   Bewegung – reines CSS, kein JavaScript.
   Ohne Unterstützung oder bei "Bewegung reduzieren" ist alles sofort sichtbar.
   ========================================================================== */

/* Diashow im Kopfbild: 4 Fotos, je 6 Sekunden, synchron zu den Slogans */
.diashow .dia, .diashow .dia picture { position: absolute; inset: 0; }
.diashow .dia img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.diashow .dia + .dia { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .diashow .dia { opacity: 0; animation: dia 24s linear infinite; }
  .diashow .dia:nth-child(1) { animation-delay: -1s; }
  .diashow .dia:nth-child(2) { animation-delay: 5s; }
  .diashow .dia:nth-child(3) { animation-delay: 11s; }
  .diashow .dia:nth-child(4) { animation-delay: 17s; }
  .diashow .dia:only-child { opacity: 1; animation: none; }
  @keyframes dia {
    0% { opacity: 0; }
    5%, 25% { opacity: 1; }
    30%, 100% { opacity: 0; }
  }
  /* langsamer Zoom auf jedem Foto */
  .diashow .dia img { animation: zoom 24s ease-out infinite; }
  .diashow .dia:nth-child(1) img { animation-delay: -1s; }
  .diashow .dia:nth-child(2) img { animation-delay: 5s; }
  .diashow .dia:nth-child(3) img { animation-delay: 11s; }
  .diashow .dia:nth-child(4) img { animation-delay: 17s; }
  @keyframes zoom { 0% { scale: 1.12; } 30% { scale: 1.02; } 100% { scale: 1.02; } }

  /* Kopfbild der Unterseiten: sanfter Zoom beim Laden */
  .seitenkopf-bild img { animation: kopfzoom 12s ease-out both; }
  @keyframes kopfzoom { from { scale: 1.1; } to { scale: 1; } }

  /* Texte im Kopfbereich gleiten nacheinander herein */
  .held-text > *, .seitenkopf-innen > *, .naechster { animation: herein .9s cubic-bezier(.2, .7, .2, 1) both; }
  .held-text > :nth-child(2), .seitenkopf-innen > :nth-child(2) { animation-delay: .12s; }
  .held-text > :nth-child(3), .seitenkopf-innen > :nth-child(3) { animation-delay: .24s; }
  .held-text > :nth-child(4), .seitenkopf-innen > :nth-child(4) { animation-delay: .36s; }
  .naechster { animation-delay: .6s; }
  @keyframes herein { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }

  /* Beim Scrollen: Inhalte tauchen auf (nur Browser mit Scroll-Animationen) */
  @supports (animation-timeline: view()) {
    .merkmale li, .termin-karten li, .termin-liste li, .mosaik li, .stimmen figure, .alben li, .team li,
    .preise li, .schritte li, .zeit-karte, .partner-karten li, .club-liste li, .kontakt-karten li,
    .ansprech li, .leitbild article, .bilderwand li, .hinweis-karte, .statement-aufruf, .download-karte,
    .einleitung, .gross-h2, .abschnitt-kopf, .jahr-kopf, .bild-rahmen, .zahlen li {
      animation: auftauchen linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
    }
    @keyframes auftauchen { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }

    /* Zahlenleiste: Zahlen wachsen beim Hineinscrollen */
    .zahlen strong { animation: wachsen linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
    @keyframes wachsen { from { scale: .6; opacity: 0; } to { scale: 1; opacity: 1; } }

    /* Menüleiste bekommt beim Scrollen einen Schatten */
    .kopf { animation: kopfschatten linear both; animation-timeline: scroll(root); animation-range: 0 140px; }
    @keyframes kopfschatten { from { box-shadow: none; } to { box-shadow: 0 6px 24px rgb(16 40 12 / .1); } }
  }
}

/* Bei reduzierter Bewegung: nur das erste Foto und der erste Slogan */
@media (prefers-reduced-motion: reduce) {
  .diashow .dia:first-child { opacity: 1; }
}

/* Partnerkarten: auf schmalen Handys Logo über dem Text */
.partner-karten li > div { min-width: 0; }
.partner-karten h2 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 520px) {
  .partner-karten li { grid-template-columns: 1fr; gap: 14px; }
  .partner-logo img { width: 84px; height: 84px; }
}

/* Lange deutsche Wörter (z. B. "Jahreshauptversammlung") auf schmalen Bildschirmen trennen */
h1, h2, h3, .naechster strong { overflow-wrap: break-word; hyphens: auto; }
.termin-liste li > div, .termin-karten li > div, .naechster-zeile > span:last-child { min-width: 0; }

/* ==========================================================================
   Bildbetrachter (Album) – nur CSS: öffnet sich, sobald ein #bild-n angesteuert wird
   ========================================================================== */
.lightbox { display: none; position: fixed; inset: 0; z-index: 200; background: rgb(8 14 6 / .96); }
.lightbox:has(:target) { display: block; }
body:has(.lightbox :target) { overflow: hidden; }   /* Seite dahinter nicht mitscrollen */
.lb-streifen { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior: contain; scrollbar-width: none; outline: none; }
.lb-streifen::-webkit-scrollbar { display: none; }
.lb-bild { flex: 0 0 100%; height: 100%; margin: 0; position: relative; display: grid; place-items: center; scroll-snap-align: center; scroll-snap-stop: always; }
.lb-bild picture, .lb-bild img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px rgb(0 0 0 / .5); }
.lb-bild figcaption { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; color: rgb(255 255 255 / .85); font-size: .95rem; letter-spacing: .05em; }
.lb-pfeil, .lb-schliessen { position: absolute; display: grid; place-items: center; color: #fff; text-decoration: none; border-radius: 50%;
  background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .25); backdrop-filter: blur(6px); transition: background .15s; }
.lb-pfeil:hover, .lb-schliessen:hover, .lb-pfeil:focus-visible, .lb-schliessen:focus-visible { background: rgb(255 255 255 / .28); color: #fff; }
.lb-pfeil { top: 50%; translate: 0 -50%; width: 56px; height: 56px; font-size: 2.4rem; line-height: 1; padding-bottom: 6px; }
.lb-zurueck { left: 16px; }
.lb-weiter { right: 16px; }
.lb-schliessen { top: 16px; right: 16px; width: 48px; height: 48px; font-size: 1.4rem; }
@media (max-width: 600px) {
  .lb-pfeil { width: 44px; height: 44px; font-size: 1.9rem; }
  .lb-zurueck { left: 8px; } .lb-weiter { right: 8px; }
  .lb-bild picture, .lb-bild img { max-width: 100vw; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { .lb-streifen { scroll-behavior: auto; } }
/* Kacheln: beim Schließen zur angeklickten Kachel zurück, nicht unter der Kopfleiste */
.bilderwand li { scroll-margin-top: 120px; }
/* Bildbetrachter: immer genau das angesteuerte Foto zeigen (zuverlässiger als ein Wischband) */
.lb-streifen { display: block; position: relative; overflow: hidden; scroll-snap-type: none; }
.lb-bild { display: none; position: absolute; inset: 0; }
.lb-bild:target { display: grid; animation: lb-einblenden .25s ease-out; }
@keyframes lb-einblenden { from { opacity: .3; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lb-bild:target { animation: none; } }
/* Bildbetrachter: feste Breite schon vor dem Laden – sonst ist das Bild 0×0 groß und das verzögerte Laden startet nie */
.lb-bild img { width: min(92vw, 1600px); height: auto; max-height: 82vh; object-fit: contain; background: rgb(255 255 255 / .04); }
@media (max-width: 600px) { .lb-bild img { width: 100vw; max-height: 78vh; } }
