/* ==========================================================================
   NARUD e.V. – Redesign-Prototyp
   Design-System / gemeinsames Stylesheet
   --------------------------------------------------------------------------
   Schriften & Farben sind an die bestehende narud.org uebernommen:
   – Fonts:  Montserrat (Headings) + Open Sans (Body)
   – Farben: Gruen #579F72 · Limette #B2D129 · Blau #1873BA
   Aufbau ist bewusst sektionsweise gehalten, damit sich jede Section 1:1
   als Elementor-Section / Gutenberg-Block nachbauen laesst.
   ========================================================================== */

/* --- Design-Tokens -------------------------------------------------------- */
:root {
  /* Farben – uebernommen von narud.org */
  --bg:            #F4F7F4;   /* leicht gruenstichiges Off-White            */
  --surface:       #FFFFFF;   /* Karten / Header                            */
  --ink:           #1F2A25;   /* Haupttext                                  */
  --ink-soft:      #5C6862;   /* Sekundaertext                              */

  --primary:       #579F72;   /* NARUD-Markengruen                          */
  --primary-dark:  #3D7355;   /* dunkleres Gruen fuer Verlaeufe / Hover     */
  --primary-soft:  #E7F1EA;   /* heller Gruenschleier fuer Flaechen         */

  --accent:        #B2D129;   /* NARUD-Limette = Energie / Call-to-Action   */
  --accent-soft:   #EEF5D2;   /* helle Limette                              */
  --accent-ink:    #2A3A12;   /* dunkler Text auf Limetten-Flaechen         */

  --terra:         #1873BA;   /* NARUD-Blau, sparsamer Drittton             */
  --terra-soft:    #DEEDF8;   /* helles Blau                                */

  --line:          #E3E8E3;   /* Rahmen / Trennlinien                       */

  /* Typografie – uebernommen von narud.org */
  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, sans-serif;

  /* Radius & Schatten */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(31, 42, 37, .06);
  --shadow-md: 0 14px 36px rgba(31, 42, 37, .10);
  --shadow-lg: 0 28px 60px rgba(31, 42, 37, .16);

  /* Layout */
  --container: 1180px;
  --gutter: 2.5rem;
}

/* --- Reset / Basis -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
}

ul { list-style: none; padding: 0; }

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

::selection { background: var(--accent); color: var(--accent-ink); }

/* --- Layout-Helfer -------------------------------------------------------- */
.container {
  width: min(var(--container), 100% - var(--gutter));
  margin-inline: auto;
}

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: var(--r-sm);
  z-index: 200;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

/* --- Typo-Bausteine ------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}
.eyebrow--light { color: #DCEAD2; }

.section-head { max-width: 640px; margin-bottom: 2.8rem; }
.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  margin: .8rem 0 .7rem;
}
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px rgba(178,209,41,.42); }
.btn--accent:hover { background: #bedb33; }

.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { background: var(--primary-soft); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--primary);
  font-size: .92rem;
}
.textlink svg { transition: transform .18s ease; }
.textlink:hover svg { transform: translateX(4px); }

/* --- Topbar --------------------------------------------------------------- */
.topbar {
  background: var(--primary-dark);
  color: #DCEFE3;
  font-size: .85rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .4rem 1.5rem;
  padding-block: .5rem;
}
.topbar a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.topbar svg { width: 15px; height: 15px; opacity: .85; }

/* --- Header / Navigation -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: .8rem;
}

.brand { display: flex; align-items: center; gap: .7rem; }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--primary), var(--primary-dark));
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.brand-text strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
  display: block;
  line-height: 1.1;
}
.brand-text span {
  font-size: .72rem;
  color: var(--ink-soft);
  letter-spacing: .02em;
}

.nav-menu { display: flex; align-items: center; gap: .25rem; }
.nav-menu a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  padding: .55rem .8rem;
  border-radius: 999px;
  color: var(--ink);
  transition: background .18s ease, color .18s ease;
}
.nav-menu a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.nav-menu a[aria-current="page"] { color: var(--primary-dark); background: var(--primary-soft); }

.nav-actions { display: flex; align-items: center; gap: .7rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  margin-inline: auto;
  border-radius: 2px;
  transition: transform .22s ease, opacity .2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { content: ""; position: absolute; top: -6px; }
.nav-toggle span::after  { content: ""; position: absolute; top:  6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(155deg, #4C8B66 0%, #2F5F45 58%, #224635 100%);
  color: #fff;
  overflow: hidden;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .55;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 540px; height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(178,209,41,.34), transparent 66%);
  top: -190px; right: -120px;
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin: 1.1rem 0 1.1rem;
}
.hero-copy h1 mark {
  background: none;
  color: var(--accent);
}
.hero-lead {
  font-size: 1.12rem;
  color: #DCEAE2;
  max-width: 36ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.8rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-trust div strong {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 800;
  display: block;
  color: var(--accent);
}
.hero-trust div span { font-size: .85rem; color: #C3D8CD; }

/* Hero-Visual (Bildplatzhalter + schwebende Karte) */
.hero-visual { position: relative; }
.hero-photo {
  border-radius: var(--r-xl);
  aspect-ratio: 4 / 4.4;
  background:
    linear-gradient(150deg, rgba(255,255,255,.16), rgba(255,255,255,0)),
    linear-gradient(150deg, #6BAE84, #3A6E51);
  border: 1px solid rgba(255,255,255,.18);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
}
.hero-photo .ph-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  align-self: flex-start;
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: .78rem;
  padding: .35rem .7rem;
  border-radius: 999px;
}
.hero-photo .ph-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 96px; height: 96px;
  opacity: .4;
}
.hero-card {
  position: absolute;
  left: -28px;
  bottom: 36px;
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .8rem;
  max-width: 250px;
}
.hero-card .hc-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hero-card strong { font-family: var(--font-head); font-size: .92rem; display: block; }
.hero-card span { font-size: .82rem; color: var(--ink-soft); }

/* Wellen-Abschluss des Hero */
.hero-wave { display: block; width: 100%; height: auto; position: relative; }

/* --- Tätigkeitsbereiche (Karten) ----------------------------------------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.area-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.6rem;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.area-icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.area-icon svg { width: 27px; height: 27px; }
.area-icon.i-1 { background: var(--primary-soft); color: var(--primary-dark); }
.area-icon.i-2 { background: var(--accent-soft);  color: var(--accent-ink); }
.area-icon.i-3 { background: var(--terra-soft);   color: var(--terra); }
.area-icon.i-4 { background: var(--primary-soft); color: var(--primary-dark); }
.area-card h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.area-card p { font-size: .96rem; color: var(--ink-soft); }

/* --- Featured / Schwerpunkte --------------------------------------------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .2s ease;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feat-media {
  aspect-ratio: 16 / 10;
  position: relative;
  display: grid;
  place-items: center;
}
.feat-media.m-a { background: linear-gradient(150deg, #5FA67C, #357052); }
.feat-media.m-b { background: linear-gradient(150deg, #2E97D4, #1769AC); }
.feat-media.m-c { background: linear-gradient(150deg, #3F7C58, #244635); }
.feat-media svg { width: 60px; height: 60px; color: rgba(255,255,255,.9); }
.feat-tag {
  position: absolute;
  top: .9rem; left: .9rem;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .74rem;
  padding: .3rem .7rem;
  border-radius: 999px;
}
.feat-ph {
  position: absolute;
  bottom: .7rem; right: .8rem;
  font-size: .72rem;
  color: rgba(255,255,255,.72);
}
.feat-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.feat-body h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.feat-body p { font-size: .96rem; color: var(--ink-soft); flex: 1; }
.feat-body .textlink { margin-top: 1rem; }

/* --- Stats / Wirkung ------------------------------------------------------ */
.stats {
  background: linear-gradient(150deg, #4C8A66, #2C5C44);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats-pattern { position: absolute; inset: 0; opacity: .45; }
.stats .container { position: relative; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat {
  text-align: center;
  padding: 1.4rem 1rem;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.stat strong {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.stat span { font-size: .94rem; color: #D2E4DA; display: block; margin-top: .5rem; }

/* --- Register-CTA (heller Block) ----------------------------------------- */
.register {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.8rem, 4vw, 3rem);
}
.register h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: .7rem 0 .8rem; }
.register p { color: var(--ink-soft); }
.register-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.register-side {
  background: linear-gradient(155deg, #1873BA, #115A93);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 1.8rem;
}
.register-side h3 { color: #fff; font-size: 1.1rem; }
.register-phone {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  margin: .5rem 0 .2rem;
  display: block;
}
.register-side ul { margin-top: 1.1rem; display: grid; gap: .55rem; }
.register-side li {
  display: flex; gap: .55rem;
  font-size: .92rem; color: #D7E8F4;
}
.register-side li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* --- Events / Aktuell ----------------------------------------------------- */
.events-list { display: grid; gap: 1rem; }
.event {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.4rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.2rem 1.5rem;
  transition: border-color .2s ease, transform .15s ease;
}
.event:hover { border-color: var(--primary); transform: translateX(4px); }
.event-date {
  text-align: center;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: var(--r-sm);
  padding: .6rem .5rem;
  width: 6.5rem;
  flex-shrink: 0;
}
.event-date strong { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; display: block; line-height: 1; }
.event-date span { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.event-info h3 { font-size: 1.06rem; }
.event-info p { font-size: .9rem; color: var(--ink-soft); }
.event-cat {
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 700;
  color: var(--terra);
  background: var(--terra-soft);
  padding: .3rem .7rem;
  border-radius: 999px;
}

/* --- Spenden-CTA ---------------------------------------------------------- */
.donate {
  position: relative;
  background-image:
    linear-gradient(150deg, rgba(20,60,46,.80), rgba(10,40,31,.90)),
    url("img/spende-zukunft.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(2.6rem, 6vw, 4.2rem);
  overflow: hidden;
  text-align: center;
}
.donate-pattern { position: absolute; inset: 0; opacity: .4; }
.donate > * { position: relative; }
.donate h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 22ch; margin-inline: auto; }
.donate p { max-width: 52ch; margin: .9rem auto 1.6rem; color: #E9F2EA; }
.donate-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  background: #20402F;
  color: #BACBC0;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: .94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: #94AC9F; }
.footer-brand p { margin-top: 1rem; max-width: 30ch; }
.footer h4 {
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer ul { display: grid; gap: .55rem; }
.footer a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: .6rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
}
.footer-social a:hover { background: var(--accent); color: var(--accent-ink); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  font-size: .86rem;
}
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* --- Seiten-Header (Unterseiten) ----------------------------------------- */
.page-hero {
  background: linear-gradient(155deg, #4C8B66, #2A5640);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero-pattern { position: absolute; inset: 0; opacity: .5; }
.page-hero .container {
  position: relative;
  padding-block: clamp(2.8rem, 6vw, 4.6rem);
}
.breadcrumb {
  display: flex;
  gap: .5rem;
  font-size: .85rem;
  color: #B6CDC1;
  margin-bottom: 1rem;
}
.breadcrumb a:hover { color: #fff; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 800;
  max-width: 18ch;
}
.page-hero p { color: #DCEAE2; max-width: 56ch; margin-top: .9rem; }

/* --- Inhalts-Bausteine Unterseiten --------------------------------------- */
.prose { max-width: 70ch; }
.prose p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 2.2rem 0 1rem; }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.prose strong { color: var(--ink); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.media-block {
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, #5FA67C, #357052);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,.85);
}
.media-block.alt { background: linear-gradient(150deg, #2E97D4, #1769AC); }
.media-block svg { width: 64px; height: 64px; }
.media-block .ph-tag {
  position: absolute;
  bottom: .8rem; left: .8rem;
  font-size: .74rem;
  background: rgba(0,0,0,.32);
  padding: .3rem .65rem;
  border-radius: 999px;
}

/* Fotos in den Bildflaechen (Hero, Schwerpunkt-Karten, Medienbloecke) */
.hero-photo img,
.feat-media img,
.media-block img,
.project-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Wert-/Info-Liste mit Haken */
.checklist { display: grid; gap: .8rem; margin-top: 1.2rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist li svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--primary);
}

/* Projekt-Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .2s ease;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.project-media {
  aspect-ratio: 3 / 2;
  display: grid; place-items: center;
  position: relative;
}
.project-media svg { width: 48px; height: 48px; color: rgba(255,255,255,.9); }
.pm-1 { background: linear-gradient(150deg, #5FA67C, #357052); }
.pm-2 { background: linear-gradient(150deg, #2E97D4, #1769AC); }
.pm-3 { background: linear-gradient(150deg, #3F7C58, #244635); }
.pm-4 { background: linear-gradient(150deg, #6BAE84, #3D7355); }
.pm-5 { background: linear-gradient(150deg, #1873BA, #114F82); }
.pm-6 { background: linear-gradient(150deg, #4C8A66, #2C5C44); }
.project-status {
  position: absolute;
  top: .8rem; left: .8rem;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  padding: .3rem .65rem;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
}
.project-status.laufend { color: var(--primary-dark); }
.project-status.abgeschlossen { color: var(--terra); }
.project-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.project-body .place {
  font-size: .82rem;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: .35rem;
  margin-bottom: .4rem;
}
.project-body h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.project-body p { font-size: .93rem; color: var(--ink-soft); flex: 1; }
.project-body .textlink { margin-top: .9rem; }

/* Kontakt-Karten */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  text-align: center;
}
.contact-card .ci {
  width: 54px; height: 54px;
  margin: 0 auto 1rem;
  border-radius: 15px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: grid; place-items: center;
}
.contact-card .ci svg { width: 26px; height: 26px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.contact-card p, .contact-card a { font-size: .96rem; color: var(--ink-soft); }
.contact-card a:hover { color: var(--primary); }

/* Kontakt-Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: .4rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink);
  transition: border-color .18s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; border-color: var(--primary); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: .3rem; }

.map-block {
  border-radius: var(--r-lg);
  aspect-ratio: 16 / 11;
  background:
    repeating-linear-gradient(45deg, rgba(87,159,114,.08) 0 18px, transparent 18px 36px),
    var(--primary-soft);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--primary-dark);
  text-align: center;
  margin-top: 1.4rem;
}
.map-block svg { width: 46px; height: 46px; margin-bottom: .4rem; }

.hours-card {
  background: linear-gradient(155deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--r-lg);
  padding: 1.8rem;
  margin-top: 1.4rem;
}
.hours-card h3 { color: #fff; }
.hours-card .row {
  display: flex;
  justify-content: space-between;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  font-size: .94rem;
}
.hours-card .row:last-child { border-bottom: 0; }
.hours-card .row span:last-child { font-weight: 700; }

/* --- Animationen ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .feat-card:hover, .area-card:hover,
  .project-card:hover, .event:hover { transform: none; }
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  :root { --gutter: 2rem; }

  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(330px, 84vw);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 6rem 1.5rem 2rem;
    gap: .3rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow-y: auto;
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-menu a { font-size: 1.05rem; padding: .8rem 1rem; }
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(31,42,37,.5);
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease;
    z-index: 90;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  .hero .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { max-width: 420px; }
  .hero-card { left: 0; }

  .featured-grid,
  .project-grid,
  .contact-grid { grid-template-columns: repeat(2, 1fr); }

  .register,
  .split,
  .contact-layout { grid-template-columns: 1fr; gap: 1.8rem; }

  .split .media-block { order: -1; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .topbar-info { gap: .3rem .9rem; }

  .areas-grid,
  .stats-grid,
  .featured-grid,
  .project-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .hero-actions .btn,
  .donate-actions .btn { width: 100%; justify-content: center; }

  .event { grid-template-columns: auto 1fr; }
  .event-cat { grid-column: 2; justify-self: start; }

  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-card { position: static; margin-top: 1rem; max-width: none; }
}
