:root {
  --green: #4ba52f;
  --green-dark: #30751d;
  --blue: #168fc7;
  --ink: #263238;
  --muted: #5c6b73;
  --bg: #f4f8f3;
  --surface: #ffffff;
  --border: rgba(38, 50, 56, 0.12);
  --shadow: 0 14px 40px rgba(31, 55, 42, 0.10);
  --radius: 14px;
  --maxw: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--green-dark); }
h1, h2, h3 { line-height: 1.2; color: var(--ink); }
.container { width: min(100%, var(--maxw)); margin-inline: auto; padding-inline: 1.1rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand img { height: 52px; width: auto; }
.brand b { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.01em; }
.brand span { display: block; font-size: 0.78rem; color: var(--muted); font-weight: 600; }

.nav-toggle {
  display: none; border: 0; background: none; cursor: pointer;
  font-size: 1.6rem; color: var(--green-dark); padding: 0.3rem 0.5rem;
}
.menu { display: flex; align-items: center; gap: 0.3rem; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a {
  display: block; padding: 0.6rem 0.9rem; text-decoration: none; color: var(--ink);
  font-weight: 700; border-radius: 8px; font-size: 0.95rem;
}
.menu > li > a:hover, .menu > li.active > a { background: rgba(75,165,47,0.12); color: var(--green-dark); }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--shadow); list-style: none; margin: 0; padding: 0.4rem;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: 0.15s;
}
.menu > li:hover .submenu, .menu > li:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 0.5rem 0.8rem; text-decoration: none; color: var(--ink); border-radius: 6px; font-size: 0.92rem; }
.submenu a:hover { background: rgba(22,143,199,0.1); color: var(--blue); }
.has-caret > a::after { content: " ▾"; color: var(--muted); font-size: 0.8em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  display: grid; place-items: center; min-height: 62vh;
  padding: 4rem 1rem;
  background: linear-gradient(rgba(20,45,15,0.55), rgba(20,45,15,0.55)) center/cover no-repeat;
}
.hero .container { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { color: #fff; font-size: clamp(1.8rem, 4.5vw, 3rem); margin: 0 0 0.6rem; max-width: 20ch; text-shadow: 0 2px 18px rgba(0,0,0,0.55); }
.hero p { color: #fff; font-size: clamp(1.05rem, 2.2vw, 1.4rem); margin: 0 auto; max-width: 40ch; text-shadow: 0 1px 10px rgba(0,0,0,0.55); }
.hero .eyebrow { display:inline-block; background: var(--green); color:#fff; padding:0.3rem 0.9rem; border-radius: 999px; font-weight:700; font-size:0.8rem; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:1rem; }

/* ---------- Sections ---------- */
section { padding: 3rem 0; }
.section-title { text-align: center; margin: 0 0 0.5rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.section-title + .lead { text-align: center; color: var(--muted); max-width: 60ch; margin: 0 auto 2rem; }
.prose { max-width: 68ch; margin-inline: auto; }
.prose h2 { margin-top: 2rem; color: var(--green-dark); }
.prose p { margin: 0 0 1.1rem; }

.notice {
  background: linear-gradient(135deg, rgba(75,165,47,0.12), rgba(22,143,199,0.10));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem 1.6rem; margin: 0 auto 1rem; max-width: var(--maxw);
}
.notice h3 { margin: 0 0 0.5rem; color: var(--green-dark); }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 1.3rem; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
/* Personen (Vorstand, Mitglieder): hochformatiger Ausschnitt, oben verankert */
.grid.people .card img { aspect-ratio: 3/4; object-position: top center; }
/* Fotos vollständig zeigen (kein Beschnitt), einheitliche Höhe mit ruhigem Hintergrund */
.grid.photo .card img { aspect-ratio: auto; height: 360px; object-fit: contain; background: #eef3ea; }
@media (max-width: 540px) { .grid.photo .card img { height: 300px; } }
.card .card-body { padding: 1.1rem 1.2rem; }
.card h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.card p { margin: 0 0 0.8rem; color: var(--muted); font-size: 0.95rem; }
.card .role { color: var(--blue); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }

.btn {
  display: inline-block; background: var(--green); color: #fff; text-decoration: none;
  padding: 0.6rem 1.2rem; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  transition: 0.15s;
}
.btn:hover { background: var(--green-dark); }
.btn.outline { background: transparent; color: var(--green-dark); border: 2px solid var(--green); padding: 0.5rem 1.1rem; }
.center { text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: #22301f; color: #d7e3d2; padding: 2.6rem 0 1.4rem; margin-top: 2rem; }
.site-footer a { color: #cfe6c4; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.site-footer h4 { color: #fff; margin: 0 0 0.7rem; font-size: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.35rem; font-size: 0.92rem; }
.footer-bottom { margin-top: 1.4rem; padding-top: 1rem; text-align: center; font-size: 0.82rem; color: #9db095; }
.funding { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 1.8rem; padding-top: 1.4rem; text-align: center; }
.funding-text { margin: 0 0 1rem; color: #cfe6c4; font-size: 0.92rem; }
.sponsors { display: flex; gap: 1.1rem; flex-wrap: wrap; align-items: center; justify-content: center; }
.sponsors img { height: 60px; width: auto; background:#fff; border-radius:8px; padding:8px; box-shadow: 0 4px 14px rgba(0,0,0,0.2); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .menu {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: 0.6rem;
    display: none;
  }
  .menu.open { display: flex; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 1rem; }
  .grid.cols-3, .grid.cols-4, .grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .grid.cols-3, .grid.cols-4, .grid.cols-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Lightbox ---------- */
img.zoom { cursor: zoom-in; transition: transform 0.15s, filter 0.15s; }
.card img.zoom:hover { filter: brightness(1.04); }
.gallery-item { margin: 0; }
.gallery-item figcaption { padding: 0.6rem 0.8rem; font-size: 0.9rem; color: var(--muted); }
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10, 18, 8, 0.92);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.lb-img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lb-cap { color: #e8f2e2; margin-top: 0.8rem; font-size: 1rem; }
.lb-close, .lb-prev, .lb-next {
  position: fixed; background: rgba(255,255,255,0.12); color: #fff; border: 0;
  cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1;
  display: grid; place-items: center; transition: background 0.15s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.28); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 540px) {
  .lb-prev { left: 0.4rem; } .lb-next { right: 0.4rem; }
  .lb-close { top: 0.6rem; right: 0.6rem; }
}
