/* =========================================================================
   Sportfischereiverein e.V. Hadamar — Design-System
   Ein einziges Stylesheet fuer alle Seiten.
   Gliederung:
     1. Design-Tokens        10. Zeitstrahl
     2. Reset & Grundlagen   11. Personen
     3. Layout-Hilfen        12. Termine
     4. Kopfzeile/Navigation 13. Galerie & Lightbox
     5. Buttons              14. Gaestebuch
     6. Hero                 15. Formulare
     7. Karten               16. Downloads & Links
     8. Hinweise             17. Medien-Beiwerk
     9. Preistafeln          18. Fusszeile
   ========================================================================= */

/* ---------- 1. Design-Tokens --------------------------------------------- */
:root {
  /* Farben – helles Thema */
  --paper:        #fbfaf7;
  --surface:      #ffffff;
  --surface-alt:  #f2efe7;
  --sand:         #eae5d9;

  --ink:          #1c2320;
  --ink-soft:     #46534c;
  --ink-faint:    #6d7a73;

  --green-900:    #12291f;
  --green-800:    #1b4332;
  --green-700:    #2d6a4f;
  --green-600:    #40916c;
  --green-300:    #95d5b2;
  --green-100:    #d8f0e2;

  --water:        #2c7a8c;
  --water-soft:   #e0f0f3;
  --clay:         #a8562c;
  --clay-soft:    #f7ece5;

  --line:         rgba(28, 35, 32, .13);
  --line-strong:  rgba(28, 35, 32, .24);

  --shadow-sm:    0 1px 2px rgba(18, 41, 31, .06), 0 2px 8px rgba(18, 41, 31, .05);
  --shadow-md:    0 2px 4px rgba(18, 41, 31, .06), 0 12px 28px rgba(18, 41, 31, .09);
  --shadow-lg:    0 4px 8px rgba(18, 41, 31, .08), 0 24px 56px rgba(18, 41, 31, .14);

  /* Typografie */
  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Masse */
  --wrap:      1140px;
  --wrap-slim: 760px;
  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --header-h: 68px;
}

/* Farben – dunkles Thema (folgt der Systemeinstellung) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:       #111613;
    --surface:     #182019;
    --surface-alt: #1e2822;
    --sand:        #232e27;

    --ink:         #e7ece8;
    --ink-soft:    #adbcb3;
    --ink-faint:   #85968c;

    --green-900:   #d8f0e2;
    --green-800:   #95d5b2;
    --green-700:   #74c69d;
    --green-600:   #52b788;
    --green-300:   #2d6a4f;
    --green-100:   #1d3a2c;

    --water:       #7cc4d4;
    --water-soft:  #172a2f;
    --clay:        #e0a480;
    --clay-soft:   #2a1f18;

    --line:        rgba(231, 236, 232, .13);
    --line-strong: rgba(231, 236, 232, .26);

    --shadow-sm:   0 1px 2px rgba(0,0,0,.4);
    --shadow-md:   0 2px 6px rgba(0,0,0,.4), 0 12px 28px rgba(0,0,0,.35);
    --shadow-lg:   0 4px 10px rgba(0,0,0,.45), 0 24px 56px rgba(0,0,0,.5);
  }
}

/* ---------- 2. Reset & Grundlagen ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  color: var(--green-900);
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
/* Deutsche Komposita koennen laenger sein als ein schmales Display.
   Auf kleinen Schirmen wird getrennt, notfalls hart umbrochen. */
h1, h2, h3, h4 { overflow-wrap: break-word; }
@media (max-width: 560px) { h1, h2, h3 { hyphens: auto; } }

h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 1.02rem + .55vw, 1.4rem); }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 650; letter-spacing: .01em; }

p { margin: 0 0 1.1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--green-600); }

:focus-visible { outline: 3px solid var(--water); outline-offset: 3px; border-radius: 4px; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--green-300); color: var(--green-900); }

/* ---------- 3. Layout-Hilfen --------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.slim { width: min(100% - 2.5rem, var(--wrap-slim)); margin-inline: auto; }
@media (max-width: 480px) { .wrap, .slim { width: calc(100% - 1.75rem); } }

.section { padding-block: clamp(3rem, 6vw, 5.25rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3.25rem); }
.section--alt { background: var(--surface-alt); }
/* Der dunkle Abschnitt ist in beiden Themen dunkel. Seine Farben sind deshalb
   fest gesetzt und nicht an die umschaltbaren Tokens gebunden. */
.section--dark { background: #12291f; color: #e6efe9; }
.section--dark h2, .section--dark h3 { color: #ffffff; }
.section--dark a { color: #95d5b2; }
.section--dark a:hover { color: #d8f0e2; }
.section--dark .eyebrow { color: #95d5b2; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .section--dark { background: #0b100d; }
}

.stack > * + * { margin-top: 1.1rem; }

.lede {
  font-size: clamp(1.1rem, 1.02rem + .4vw, 1.28rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: .6rem;
}

.section-head { max-width: 62ch; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.section-head p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }

/* ---------- 4. Kopfzeile / Navigation ------------------------------------ */
.skip-link {
  position: absolute; left: .75rem; top: -4rem; z-index: 200;
  background: var(--green-800); color: #fff;
  padding: .7rem 1.1rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600; text-decoration: none; transition: top .18s ease;
}
.skip-link:focus { top: 0; color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
@supports not (backdrop-filter: blur(1px)) { .site-header { background: var(--paper); } }

.site-header__inner {
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 1rem;
  width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto;
}
@media (max-width: 480px) { .site-header__inner { width: calc(100% - 1.75rem); } }

.brand {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--green-900);
  margin-right: auto; padding-block: .55rem;
}
.brand:hover { color: var(--green-700); }
.brand__mark { flex: none; width: 34px; height: 34px; color: var(--green-700); }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name { font-family: var(--font-head); font-size: 1.06rem; font-weight: 650; letter-spacing: -.01em; }
.brand__sub {
  font-size: .655rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600;
}

.nav-toggle {
  display: none; align-items: center; gap: .5rem;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: .5rem .8rem; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 17px; height: 12px; flex: none; }
.nav-toggle__bars span {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav ul { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: .5rem .68rem; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink-soft);
  font-size: .935rem; font-weight: 550; white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav a:hover { background: var(--surface-alt); color: var(--green-800); }
.nav a[aria-current="page"] { color: var(--green-800); background: var(--green-100); font-weight: 650; }
.nav .nav__cta { margin-left: .4rem; background: var(--green-700); color: #fff; padding-inline: .95rem; }
.nav .nav__cta:hover { background: var(--green-800); color: #fff; }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; inset: var(--header-h) 0 auto;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); display: none;
  }
  .nav.is-open { display: block; }
  .nav ul {
    flex-direction: column; align-items: stretch; gap: 0;
    width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto;
    padding-block: .6rem 1.1rem;
  }
  .nav li + li { border-top: 1px solid var(--line); }
  .nav a { padding: .85rem .3rem; font-size: 1rem; border-radius: 0; }
  .nav a[aria-current="page"] { background: transparent; }
  .nav .nav__cta { margin: .9rem 0 0; text-align: center; border-radius: var(--radius-sm); padding: .8rem 1rem; }
  .nav li.nav__cta-item { border-top: 0; }
}

/* Auf sehr schmalen Geraeten weicht die Unterzeile der Wortmarke,
   damit Logo und Menuetaste nebeneinander passen. */
@media (max-width: 420px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 1.02rem; }
}

/* ---------- 5. Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.4rem; border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-size: .97rem; font-weight: 620; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green-700); color: #fff; }
.btn--primary:hover { background: var(--green-800); color: #fff; }
.btn--ghost { background: transparent; color: var(--green-800); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface-alt); color: var(--green-800); border-color: var(--green-600); }
.btn--light { background: rgba(255,255,255,.94); color: #12291f; }
.btn--light:hover { background: #fff; color: #12291f; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }
.btn--sm { padding: .55rem 1rem; font-size: .89rem; }

/* Im dunklen Thema sind die Gruentoene hell – dort braucht die gefuellte
   Schaltflaeche dunkle Schrift, sonst reicht der Kontrast nicht. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn--primary,
  :root:not([data-theme="light"]) .btn--primary:hover,
  :root:not([data-theme="light"]) .nav .nav__cta,
  :root:not([data-theme="light"]) .nav .nav__cta:hover { color: #0f1d16; }
}

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- 6. Hero ------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,26,19,.62) 0%, rgba(10,26,19,.42) 42%, rgba(10,26,19,.80) 100%);
}
.hero__inner {
  width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto;
  padding-block: clamp(4rem, 12vw, 8.5rem); color: #fff;
}
@media (max-width: 480px) { .hero__inner, .stats__inner { width: calc(100% - 1.75rem); } }
.hero__inner h1 { color: #fff; max-width: 16ch; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero__kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase;
  color: #d8f0e2; margin-bottom: 1rem;
}
.hero__kicker::before { content: ""; width: 28px; height: 2px; background: #95d5b2; border-radius: 2px; }
.hero__text {
  max-width: 48ch; font-size: clamp(1.05rem, 1rem + .4vw, 1.24rem);
  color: rgba(255,255,255,.92); margin-bottom: 1.9rem; text-shadow: 0 1px 12px rgba(0,0,0,.3);
}
.hero--page .hero__inner { padding-block: clamp(3rem, 8vw, 5.5rem); }
.hero--page h1 { max-width: 22ch; }

/* Kennzahlen-Leiste */
.stats {
  border-top: 1px solid rgba(255,255,255,.18);
  background: rgba(9,24,17,.42);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.stats__inner {
  width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: .25rem 1.5rem; padding-block: 1.4rem;
}
.stat { color: #fff; }
.stat__num {
  display: block; font-family: var(--font-head);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.1; font-weight: 600;
}
.stat__label {
  display: block; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.72); font-weight: 600; margin-top: .2rem;
}

/* ---------- 7. Karten ----------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.75rem); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--ink-soft); }
.card__foot { margin-top: auto; padding-top: 1.1rem; }

a.card {
  text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green-300); }
a.card h3 { color: var(--green-800); }

.card__icon { width: 42px; height: 42px; margin-bottom: 1rem; color: var(--green-600); flex: none; }
.card__more {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 650; font-size: .93rem; color: var(--green-700);
}
.card__more::after { content: "\2192"; transition: transform .18s ease; }
a.card:hover .card__more::after { transform: translateX(3px); }

/* ---------- 8. Hinweise --------------------------------------------------- */
.note {
  border-left: 4px solid var(--green-600); background: var(--green-100); color: var(--green-900);
  padding: 1.05rem 1.25rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.note--water { border-left-color: var(--water); background: var(--water-soft); color: var(--ink); }
.note--clay { border-left-color: var(--clay); background: var(--clay-soft); color: var(--ink); }
.note__title { font-weight: 700; display: block; margin-bottom: .25rem; }
.note p:last-child { margin-bottom: 0; }
.note a { color: inherit; }

/* ---------- 9. Preistafeln ------------------------------------------------ */
.price {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; overflow: hidden;
}
.price--feature { border-color: var(--green-600); box-shadow: var(--shadow-md); }
.price__head { padding: 1.35rem 1.5rem 1.15rem; border-bottom: 1px solid var(--line); background: var(--surface-alt); }
.price--feature .price__head { background: var(--green-100); }
.price__head h3 { margin-bottom: .2rem; }
.price__note { font-size: .87rem; color: var(--ink-faint); margin: 0; }
.price__list { list-style: none; margin: 0; padding: .5rem 1.5rem 1.35rem; flex: 1; }
.price__list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .72rem 0; border-bottom: 1px dashed var(--line);
}
.price__list li:last-child { border-bottom: 0; }
.price__label { color: var(--ink-soft); }
.price__value {
  font-family: var(--font-head); font-size: 1.22rem; font-weight: 650;
  color: var(--green-800); white-space: nowrap; text-align: right;
}
.price__value small {
  font-size: .72rem; font-family: var(--font-body); font-weight: 600;
  color: var(--ink-faint); display: block;
}

/* ---------- 10. Zeitstrahl ------------------------------------------------ */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: .6rem; bottom: .6rem;
  width: 2px; background: linear-gradient(var(--green-300), var(--line)); border-radius: 2px;
}
.timeline li { position: relative; padding: 0 0 1.9rem 2.4rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: .42rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--green-600);
}
.timeline__year {
  display: block; font-family: var(--font-head); font-size: 1.22rem;
  font-weight: 650; color: var(--green-800); line-height: 1.2; margin-bottom: .2rem;
}
.timeline p { margin: 0; color: var(--ink-soft); }

/* ---------- 11. Personen -------------------------------------------------- */
.person {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm);
}
.person__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: .85rem;
  background: var(--green-100); color: var(--green-800);
  font-family: var(--font-head); font-weight: 650; font-size: 1.02rem; letter-spacing: .02em;
}
.person__name { font-family: var(--font-head); font-size: 1.12rem; font-weight: 650; color: var(--green-900); }
.person__role { font-size: .89rem; color: var(--ink-faint); margin: .1rem 0 .7rem; font-weight: 600; }
.person__mail { font-size: .89rem; word-break: break-word; }
.person__mail a { text-decoration: none; }
.person__mail a:hover { text-decoration: underline; }

/* ---------- 12. Termine --------------------------------------------------- */
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.event {
  display: grid; grid-template-columns: 5.1rem 1fr; align-items: center; gap: 1.25rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.35rem; box-shadow: var(--shadow-sm);
}
.event[hidden] { display: none !important; }
.event__date { text-align: center; border-right: 1px solid var(--line); padding-right: 1.1rem; }
.event__day {
  display: block; font-family: var(--font-head); font-size: 1.72rem;
  line-height: 1; font-weight: 650; color: var(--green-800);
}
.event__mon {
  display: block; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 700; margin-top: .22rem;
}
.event__title { font-weight: 650; font-size: 1.06rem; color: var(--ink); }
.event__meta {
  font-size: .9rem; color: var(--ink-faint);
  display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .18rem;
}
.event.is-past { opacity: .55; }
.event.is-past .event__day { color: var(--ink-faint); }
.event__flag {
  display: none; font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green-700);
  background: var(--green-100); padding: .16rem .5rem; border-radius: 999px;
}
.event.is-next .event__flag { display: inline-block; }
@media (max-width: 420px) {
  .event { grid-template-columns: 1fr; gap: .5rem; }
  .event__date {
    display: flex; align-items: baseline; gap: .5rem; text-align: left;
    border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 .5rem;
  }
  .event__day { font-size: 1.3rem; }
  .event__mon { margin-top: 0; }
}

/* ---------- 13. Galerie & Lightbox ---------------------------------------- */
.album-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-soft);
  border-radius: 999px; padding: .45rem 1rem; font: inherit; font-size: .89rem; font-weight: 600;
  cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover { border-color: var(--green-600); color: var(--green-800); }
.chip[aria-pressed="true"] { background: var(--green-800); border-color: var(--green-800); color: #fff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .chip[aria-pressed="true"] { color: #10201a; }
}

.album { margin-bottom: clamp(2.25rem, 4vw, 3.25rem); scroll-margin-top: calc(var(--header-h) + 1rem); }
.album__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem;
  padding-bottom: .6rem; border-bottom: 1px solid var(--line);
}
.album__head h2 { margin: 0; font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); }
.album__count { font-size: .87rem; color: var(--ink-faint); font-weight: 600; }

.photo-grid {
  display: grid; gap: .6rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 11.5rem), 1fr));
}
/* Startseiten-Vorschau: feste Spaltenzahl, damit die Reihe aufgeht */
.photo-grid--teaser { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 900px) { .photo-grid--teaser { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .photo-grid--teaser { grid-template-columns: repeat(2, 1fr); } }

.photo {
  position: relative; display: block; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-alt);
  aspect-ratio: 4 / 3; transition: box-shadow .2s ease;
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.photo:hover { box-shadow: var(--shadow-md); }
.photo:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 14, 10, .95);
  display: grid; grid-template-rows: auto 1fr auto; padding: .75rem;
}
.lightbox[hidden] { display: none !important; }
.lightbox__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  color: rgba(255,255,255,.82); font-size: .9rem; padding: .25rem .35rem;
}
.lightbox__stage { display: grid; place-items: center; position: relative; min-height: 0; }
.lightbox__stage img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.lightbox__caption { color: rgba(255,255,255,.72); font-size: .88rem; text-align: center; padding: .6rem .5rem .2rem; }
.lb-btn {
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.22);
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 1.3rem; line-height: 1;
  transition: background .15s ease;
}
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: .25rem; }
.lightbox__nav--next { right: .25rem; }

/* ---------- 14. Gaestebuch ------------------------------------------------ */
.entry {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem 1.45rem; box-shadow: var(--shadow-sm);
}
.entry + .entry { margin-top: .9rem; }
.entry__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .85rem; margin-bottom: .6rem; }
.entry__name { font-weight: 700; color: var(--green-800); }
.entry__date { font-size: .85rem; color: var(--ink-faint); }
.entry__body { color: var(--ink-soft); }
.entry__body p { margin-bottom: .6rem; }
.entry--reply {
  border-left: 3px solid var(--green-600); background: var(--surface-alt);
  margin-left: clamp(0rem, 4vw, 2.5rem);
}
.entry__tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--green-100); color: var(--green-800);
  padding: .14rem .5rem; border-radius: 999px;
}

/* ---------- 15. Formulare ------------------------------------------------- */
.form { display: grid; gap: 1.05rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 620; font-size: .93rem; }
.field .hint { font-size: .84rem; color: var(--ink-faint); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: .68rem .85rem; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green-600); }
.field textarea { min-height: 8rem; resize: vertical; }
.field-row { display: grid; gap: 1.05rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.req { color: var(--clay); }

/* ---------- 16. Downloads & Links ----------------------------------------- */
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.dl {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .95rem 1.2rem;
  text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
  transition: border-color .16s ease, transform .16s ease;
}
.dl:hover { border-color: var(--green-600); transform: translateX(2px); color: inherit; }
.dl__icon { flex: none; width: 30px; height: 34px; color: var(--clay); }
.dl__text { flex: 1; min-width: 0; }
.dl__name { display: block; font-weight: 650; color: var(--green-800); }
.dl__meta { display: block; font-size: .84rem; color: var(--ink-faint); }
.dl__arrow { flex: none; color: var(--ink-faint); font-size: 1.1rem; }

.partner-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }
.partner {
  display: flex; flex-direction: column; gap: .8rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.partner:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green-300); color: inherit; }
.partner__logo { height: 62px; display: grid; place-items: center; background: #fff; border-radius: var(--radius-sm); padding: .5rem; }
.partner__logo img { max-height: 100%; width: auto; object-fit: contain; }
.partner__name { font-weight: 650; font-size: .97rem; color: var(--green-800); line-height: 1.3; }
.partner__url { font-size: .82rem; color: var(--ink-faint); word-break: break-all; }

/* ---------- 17. Medien-Beiwerk -------------------------------------------- */
.figure {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm);
}
.figure img { width: 100%; }
.figure figcaption { font-size: .87rem; color: var(--ink-faint); padding: .75rem 1rem; background: var(--surface-alt); }

.split {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  align-items: center;
}
.split--top { align-items: start; }

.tick { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.tick li { position: relative; padding-left: 1.85rem; color: var(--ink-soft); }
.tick li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green-600); box-shadow: 0 0 0 4px var(--green-100);
}

.facts { margin: 0; padding: 0; }
.facts div {
  display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; gap: .35rem 1.25rem;
  padding: .8rem 0; border-bottom: 1px solid var(--line);
}
.facts div:first-child { border-top: 1px solid var(--line); }
.facts dt { font-weight: 650; color: var(--green-800); }
.facts dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 520px) { .facts div { grid-template-columns: 1fr; } }

.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.9rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.35rem; color: var(--ink-soft); }
.prose li { margin-bottom: .45rem; }
.prose--legal { font-size: 1rem; }
.prose--legal p, .prose--legal li { color: var(--ink-soft); }
.prose--legal h2 { font-size: 1.4rem; }
.prose--legal h3 { font-size: 1.12rem; }

.badge-archive {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--sand); color: var(--ink-soft);
  padding: .3rem .7rem; border-radius: 999px; margin-bottom: .9rem;
}

.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.toc a { font-weight: 600; }

/* ---------- 18. Fusszeile ------------------------------------------------- */
.site-footer {
  background: var(--green-900); color: rgba(255,255,255,.78);
  padding-block: clamp(2.75rem, 5vw, 4rem) 1.75rem; margin-top: auto;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-footer { background: #0b100d; border-top: 1px solid var(--line); }
}
.site-footer h2 {
  color: #fff; font-size: 1.02rem; font-family: var(--font-body);
  font-weight: 650; letter-spacing: .04em; margin-bottom: .9rem;
}
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid; gap: 2rem clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .95rem; }
.footer-brand { max-width: 32ch; }
.footer-brand .brand { color: #fff; margin: 0 0 .9rem; }
.footer-brand .brand:hover { color: var(--green-300); }
.footer-brand .brand__mark { color: var(--green-300); }
.footer-brand .brand__sub { color: rgba(255,255,255,.55); }
.footer-brand p { font-size: .93rem; color: rgba(255,255,255,.68); }
.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .875rem; color: rgba(255,255,255,.6);
}
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }

/* ---------- 19. Sonstiges ------------------------------------------------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.25rem; }

.ext::after { content: "\2197"; font-size: .78em; margin-left: .22em; vertical-align: .12em; opacity: .65; }

@media print {
  .site-header, .site-footer, .nav-toggle, .lightbox, .btn-row, .album-filter { display: none !important; }
  body { background: #fff; color: #000; }
  .hero::after { display: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; word-break: break-all; }
}
