/* ============================================================
   Wir Sind Da – Verein für gegenseitige Hilfe und Integration
   Farbwelt: viel Weiß + natürliche Outdoor-Farben (Grün, Gelb)
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f3f7f1;          /* hauchzartes Grünweiß */
  --ink: #26332b;             /* dunkles Blaugrün statt Braun */
  --ink-soft: #5c6f63;
  --green: #3a7d44;           /* Primär: natürliches Grün */
  --green-dark: #2c6134;
  --green-soft: #e4f0e2;
  --yellow: #e9a13b;          /* Akzent: warmes Sonnen-Gelb */
  --yellow-soft: #fdf3e0;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(38, 51, 43, 0.07);
  --shadow-hover: 0 16px 40px rgba(38, 51, 43, 0.12);
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}

.container {
  width: min(100% - 3rem, var(--max-width));
  margin-inline: auto;
}
.container.narrow { max-width: 760px; }

h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  margin-bottom: 0.8em;
}
h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  margin-top: 0.45em;
}

p { margin: 0 0 1em; }

a { color: var(--green); }
a:hover { color: var(--green-dark); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(38, 51, 43, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark { width: 2.2rem; height: 2.2rem; }

.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong { font-family: "Source Serif 4", serif; font-size: 1.1rem; }
.brand-text small { font-size: 0.7rem; color: var(--ink-soft); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.site-nav a:not(.button) {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.site-nav a:not(.button):hover { color: var(--green); }

/* ---------- Buttons ---------- */
.button {
  display: inline-block;
  background: var(--green);
  color: #fff !important;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.button:hover { background: var(--green-dark); transform: translateY(-1px); }
.button-small { padding: 0.45rem 1.1rem; font-size: 0.85rem; }
.button-outline {
  background: transparent;
  color: var(--green) !important;
  border: 2px solid var(--green);
}
.button-outline:hover { background: var(--green-soft); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, var(--yellow-soft), transparent),
    radial-gradient(ellipse 60% 70% at 5% 90%, var(--green-soft), transparent);
  padding: 4rem 0 4.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 0.6em;
}
.hero h1 em { color: var(--green); font-style: normal; }

.hero-lead {
  max-width: 48ch;
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero-art img,
.split-art img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Sektionen: Zweispalter (Text + Illustration) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.split.reverse .split-art { order: -1; }

.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }

.section-intro { color: var(--ink-soft); font-size: 1.08rem; }

.split-art img { max-width: 440px; margin-inline: auto; }

.note {
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--yellow);
  padding-left: 0.9rem;
}

/* ---------- Fakt-Liste (Über uns) ---------- */
.fact-list {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.fact-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.fact-list svg { width: 1.6rem; height: 1.6rem; flex-shrink: 0; margin-top: 0.15rem; }
.fact-list span { color: var(--ink-soft); }
.fact-list strong { color: var(--ink); }

/* ---------- Ziele: nummerierte Liste mit Icons ---------- */
.goal-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  counter-reset: goal;
  display: grid;
  gap: 1.1rem;
}
.goal-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow);
  position: relative;
}
.goal-list li::before {
  counter-increment: goal;
  content: counter(goal);
  position: absolute;
  right: 1.1rem;
  top: 1rem;
  font-family: "Source Serif 4", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--yellow);
}
.goal-list svg { width: 1.8rem; height: 1.8rem; flex-shrink: 0; margin-top: 0.15rem; }
.goal-list strong { display: block; color: var(--ink); font-size: 1.02rem; }
.goal-list span { color: var(--ink-soft); font-size: 0.93rem; }

/* ---------- Aktivitäten / Mitmachen: Icon-Listen statt Karten ---------- */
.activity-list {
  list-style: none;
  margin: 1.6rem 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 1.2rem;
}
.activity-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.activity-list svg { width: 1.7rem; height: 1.7rem; flex-shrink: 0; margin-top: 0.2rem; }
.activity-list strong { display: block; color: var(--ink); }
.activity-list span { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Kontakt ---------- */
.contact {
  background:
    radial-gradient(ellipse 60% 60% at 90% 30%, var(--green-soft), transparent);
}
.mail-line {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--green);
  background: var(--bg);
  padding: 0.8rem 1.4rem;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.15s;
}
.mail-line:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.mail-line svg { width: 1.5rem; height: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.2rem 0;
  font-size: 0.92rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer strong { color: #fff; }
.footer-nav { display: flex; gap: 1.4rem; }
.footer-nav a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.legal-page {
  max-width: 760px;
  margin-inline: auto;
  padding: 3rem 0 4rem;
}
.legal-page h2 { margin-top: 2.2em; }
.legal-page h2:first-of-type { margin-top: 1.6em; }
.legal-page h2::after { display: none; }
.legal-page .back-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 1rem;
}
.legal-page address { font-style: normal; margin-bottom: 1em; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero-inner,
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split-art img { max-width: 360px; }
  .split-art { order: -1; }  /* Illustration auf Mobil zuerst, wie Text-Bilder */
  .section { padding: 3.2rem 0; }
}

@media (max-width: 640px) {
  .header-inner { justify-content: center; }
  .site-nav { justify-content: center; }
  .hero { padding: 2.8rem 0 3.2rem; }
  .footer-inner { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
