/* ============================================================
   Kusaidia Afrika – Helfen in Afrika e.V.
   Design tokens & global styles
   ============================================================ */

/* ---- Self-hosted fonts (no external dependency, DSGVO-safe) ---- */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-v21-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-v21-latin-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-v21-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-v21-latin-500italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-v21-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/inter-v20-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/inter-v20-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/inter-v20-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/inter-v20-latin-700.woff2") format("woff2");
}

:root {
  /* Brand palette — preserved from the original site, warmed up */
  --terracotta:    #b53c2a;
  --terracotta-dk: #8a2a1b;
  --saffron:       #f8af52;
  --saffron-dk:    #d98e2c;
  --vanilla:       #fae3a6;
  --cream:         #fbf7f1;
  --cream-warm:    #f4eadc;
  --paper:         #ffffff;
  --ink:           #1f1a16;
  --ink-soft:      #4a3e34;
  --ink-mute:      #7a6d62;
  --line:          #e6dfd4;

  /* Type */
  --font-serif: "Cormorant Garamond", "Source Serif Pro", Cambria, Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Scale (modular, 1.25 ratio for headings) */
  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md:   1.1875rem;
  --fs-lg:   1.5rem;
  --fs-xl:   2rem;
  --fs-2xl:  2.75rem;
  --fs-3xl:  3.75rem;
  --fs-4xl:  5rem;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  --container: 1180px;
  --container-narrow: 760px;
  --radius: 2px;
  --shadow-soft: 0 1px 2px rgba(31, 26, 22, 0.05), 0 8px 24px -8px rgba(31, 26, 22, 0.08);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   Reset & base
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: var(--terracotta);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 180ms var(--ease), text-decoration-color 180ms var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--terracotta-dk);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

/* ============================================================
   Typography
   ============================================================ */

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 var(--sp-4);
}

h1 {
  font-size: clamp(2.25rem, 5vw, var(--fs-3xl));
  font-weight: 500;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, var(--fs-2xl));
  font-weight: 500;
}

h3 {
  font-size: clamp(1.375rem, 2.4vw, var(--fs-xl));
  font-weight: 500;
}

h4 {
  font-size: var(--fs-lg);
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 var(--sp-4);
  max-width: 68ch;
}

ul, ol {
  margin: 0 0 var(--sp-5);
  padding-left: var(--sp-5);
  max-width: 68ch;
}

li {
  margin-bottom: var(--sp-2);
}

li::marker {
  color: var(--terracotta);
}

strong {
  font-weight: 600;
  color: var(--ink);
}

em {
  font-style: italic;
  color: var(--ink-soft);
}

blockquote {
  margin: var(--sp-6) 0;
  padding: var(--sp-2) 0 var(--sp-2) var(--sp-5);
  border-left: 3px solid var(--terracotta);
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.45;
}

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

/* Editorial helpers */
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--terracotta);
  margin: 0 0 var(--sp-4);
  display: inline-block;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  background: var(--terracotta);
  vertical-align: middle;
  margin-right: var(--sp-3);
  margin-bottom: 2px;
}

.lead {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 400;
}

.dropcap::first-letter {
  font-family: var(--font-serif);
  float: left;
  font-size: 4.5rem;
  line-height: 0.9;
  padding: 0.4rem var(--sp-3) 0 0;
  font-weight: 500;
  color: var(--terracotta);
}

/* ============================================================
   Layout primitives
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--sp-9) 0;
}

.section--tight {
  padding: var(--sp-7) 0;
}

.section--cream {
  background: var(--cream-warm);
}

.section--terracotta {
  background: var(--terracotta);
  color: var(--cream);
}

.section--terracotta h1,
.section--terracotta h2,
.section--terracotta h3 {
  color: var(--cream);
}

.section--terracotta a {
  color: var(--vanilla);
}

.grid {
  display: grid;
  gap: var(--sp-6);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
}

.stack > * + * {
  margin-top: var(--sp-4);
}

.stack-lg > * + * {
  margin-top: var(--sp-6);
}

/* ============================================================
   Header / Navigation
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 241, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  max-width: var(--container);
  margin: 0 auto;
  gap: var(--sp-5);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-serif);
  flex-shrink: 0;
}

.brand:hover { color: var(--terracotta); text-decoration: none; }

.brand__mark {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--terracotta);
}

.brand__tag {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.nav__list {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  display: inline-block;
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.005em;
  position: relative;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--terracotta);
  text-decoration: none;
}

.nav__link[aria-current="page"] {
  color: var(--terracotta);
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: var(--sp-4);
  right: var(--sp-4);
  bottom: 2px;
  height: 2px;
  background: var(--terracotta);
}

.nav__cta {
  margin-left: var(--sp-3);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: var(--sp-2);
  color: var(--ink);
}

.nav-toggle__bars {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background 200ms var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 200ms var(--ease);
}

.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after  { top:  7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: var(--sp-6) var(--sp-5);
    border-top: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 280ms var(--ease);
    overflow-y: auto;
  }

  .nav.is-open { transform: translateX(0); }

  .nav__list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: var(--sp-4) 0;
    font-size: var(--fs-md);
    border-bottom: 1px solid var(--line);
  }

  .nav__link[aria-current="page"]::after {
    left: 0; right: auto; bottom: auto; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 60%;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: var(--sp-5);
    text-align: center;
  }
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.85rem var(--sp-6);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: all 200ms var(--ease);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}

.btn--primary {
  background: var(--terracotta);
  color: var(--paper);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--terracotta-dk);
  color: var(--paper);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: var(--terracotta);
  color: var(--paper);
  text-decoration: none;
}

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

.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  text-decoration: none;
}

.btn--saffron {
  background: var(--saffron);
  color: var(--ink);
}

.btn--saffron:hover {
  background: var(--saffron-dk);
  color: var(--paper);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn__arrow {
  width: 14px;
  height: 10px;
  transition: transform 220ms var(--ease);
}

.btn:hover .btn__arrow { transform: translateX(4px); }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
}

.link-arrow:hover {
  color: var(--terracotta-dk);
  text-decoration: none;
  border-bottom-color: var(--terracotta-dk);
}

.link-arrow svg {
  transition: transform 220ms var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ============================================================
   Hero (Home)
   ============================================================ */

.hero {
  position: relative;
  min-height: clamp(540px, 78vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1400ms ease-in-out;
}

.hero__slide.is-active { opacity: 1; }

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* In der Mitte steht der Text – dort war der Schleier bisher zu licht,
     helle Farben gingen im Bild unter. */
  background:
    linear-gradient(180deg, rgba(31, 26, 22, 0.62) 0%, rgba(31, 26, 22, 0.58) 50%, rgba(31, 26, 22, 0.78) 100%);
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-9) var(--sp-5);
  color: var(--cream);
}

.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--vanilla);
  margin: 0 0 var(--sp-5);
  display: inline-block;
}

.hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--vanilla);
  vertical-align: middle;
  margin-right: var(--sp-3);
  margin-bottom: 3px;
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.5rem, 6.5vw, var(--fs-4xl));
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin-bottom: var(--sp-5);
}

.hero h1 em {
  font-style: italic;
  color: var(--saffron);
  font-weight: 400;
}

/* Vereinsname als Hauptüberschrift: länger als eine Schlagzeile,
   daher etwas kleiner gesetzt und mit mehr Zeichen je Zeile. */
.hero h1.hero__title {
  /* Der Name soll immer in einer Zeile stehen. Dafür hängt die Schriftgröße
     an der Fensterbreite (3,1vw) und ist nach oben gedeckelt – so wächst der
     Text nie über die Zeilenbreite hinaus. */
  font-size: min(3.1vw, 2.5rem);
  white-space: nowrap;
  max-width: none;
  margin-bottom: var(--sp-3);
}

/* Kernname farbig abgesetzt, damit der Kopfbereich nicht rein weiß wirkt.
   Der Schatten hält den Text auch über hellen Bildstellen lesbar – der
   Schleier über dem Foto ist in der Mitte nur zu 40 % abgedunkelt. */
.hero__title-name {
  color: var(--saffron);
}

.hero h1.hero__title,
.hero__tagline {
  text-shadow: 0 2px 14px rgba(31, 26, 22, 0.65);
}

/* Übersetzung des Namens – eine Zeile, etwas kleiner als der Titel. */
.hero__tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--cream);
  margin: 0 0 var(--sp-5);
}

.hero__tagline em {
  font-style: italic;
  font-weight: 600;
  color: var(--vanilla);   /* heller als Safran, damit das Wort klar hervortritt */
}

.hero__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.45;
  max-width: 38ch;
  color: rgba(251, 247, 241, 0.92);
  margin-bottom: var(--sp-7);
  font-style: italic;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.hero__scroll {
  position: absolute;
  z-index: 3;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  opacity: 0.7;
  text-decoration: none;
}

.hero__scroll:hover { opacity: 1; color: var(--cream); text-decoration: none; }

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 28px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: -100% 0 0 0;
  background: var(--saffron);
  animation: scroll-line 2.4s var(--ease) infinite;
}

@keyframes scroll-line {
  0%   { transform: translateY(0%); }
  100% { transform: translateY(200%); }
}

/* ============================================================
   Page heads (inner pages)
   ============================================================ */

.page-head {
  background: var(--cream-warm);
  padding: var(--sp-9) 0 var(--sp-7);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-head__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
  position: relative;
}

.page-head h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 400;
  margin-bottom: var(--sp-4);
  max-width: 22ch;
}

.page-head__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  color: var(--ink);
  max-width: 56ch;
  font-weight: 500;
  line-height: 1.55;
}

.breadcrumb {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 500;
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--terracotta);
  text-decoration: none;
}

.breadcrumb__sep {
  opacity: 0.5;
}

/* ============================================================
   Three-pillar mission row
   ============================================================ */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pillar {
  padding: var(--sp-7) var(--sp-5);
  text-align: center;
  border-right: 1px solid var(--line);
  position: relative;
}

.pillar:last-child { border-right: 0; }

.pillar__num {
  font-family: var(--font-serif);
  font-size: var(--fs-sm);
  color: var(--terracotta);
  letter-spacing: 0.15em;
  margin-bottom: var(--sp-3);
  display: block;
}

.pillar h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
}

.pillar p {
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 32ch;
}

@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar  { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
}

/* ============================================================
   Story block (image + text, asymmetric)
   ============================================================ */

.story {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(var(--sp-5), 5vw, var(--sp-9));
  align-items: center;
}

.story--reverse {
  grid-template-columns: 6fr 5fr;
}

.story--reverse .story__media { order: 2; }

.story__media {
  position: relative;
}

.story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
}

.story__media--landscape img { aspect-ratio: 4 / 3; }

.story__media::before {
  content: "";
  position: absolute;
  inset: var(--sp-5) 0 0 var(--sp-5);
  border: 1px solid var(--saffron);
  z-index: 0;
  border-radius: var(--radius);
}

.story--reverse .story__media::before {
  inset: var(--sp-5) var(--sp-5) 0 0;
}

.story__media img {
  position: relative;
  z-index: 1;
}

.story__copy {
  max-width: 56ch;
}

.story__copy h2 {
  margin-bottom: var(--sp-5);
}

@media (max-width: 820px) {
  .story, .story--reverse {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .story--reverse .story__media { order: 0; }
  .story__media::before { display: none; }
  .story__media img { aspect-ratio: 16 / 11; }
}

/* ============================================================
   Project / topic cards
   ============================================================ */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms var(--ease);
}

.card:hover,
.card:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--saffron);
  text-decoration: none;
  color: var(--ink);
}

.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-warm);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.card:hover .card__media img,
.card:focus-within .card__media img {
  transform: scale(1.04);
}

.card__body {
  padding: var(--sp-5) var(--sp-5) var(--sp-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__kicker {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--sp-2);
}

.card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
  font-weight: 500;
}

.card p {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-4);
  flex: 1;
}

.card__more {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.card:hover .card__more {
  color: var(--terracotta-dk);
}

/* ============================================================
   Stats / numbers
   ============================================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-5);
  padding: var(--sp-7) 0;
  text-align: center;
}

.stat {
  border-left: 1px solid rgba(251, 247, 241, 0.25);
  padding: var(--sp-3) var(--sp-4);
}

.stat:first-child { border-left: 0; }

.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  color: var(--saffron);
  margin-bottom: var(--sp-2);
  letter-spacing: -0.02em;
}

.stat__label {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
}

@media (max-width: 640px) {
  .stat { border-left: 0; border-top: 1px solid rgba(251, 247, 241, 0.18); padding-top: var(--sp-5); }
  .stat:first-child { border-top: 0; padding-top: 0; }
}

/* ============================================================
   Article / text-heavy pages
   ============================================================ */

.prose {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.prose > * + * {
  margin-top: var(--sp-5);
}

.prose h2 {
  margin-top: var(--sp-8);
  padding-top: var(--sp-4);
  position: relative;
}

.prose h2::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--terracotta);
  margin-bottom: var(--sp-5);
}

.prose h3 {
  margin-top: var(--sp-6);
  font-weight: 600;
}

.prose figure {
  margin: var(--sp-7) 0;
}

.prose figure img {
  width: 100%;
  border-radius: var(--radius);
}

.prose figcaption {
  margin-top: var(--sp-3);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  font-style: italic;
}

.prose ul li::marker { color: var(--saffron-dk); }

/* Pull-out callout */
.callout {
  background: var(--cream-warm);
  border-left: 4px solid var(--saffron);
  padding: var(--sp-6) var(--sp-7);
  margin: var(--sp-6) 0;
  font-family: var(--font-serif);
  font-size: 1.3125rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.003em;
}

/* Image gallery (project pages) */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-3);
  margin: var(--sp-7) 0;
}

.gallery__item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-warm);
  border-radius: var(--radius);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery--feature .gallery__item:first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

@media (max-width: 720px) {
  .gallery--feature .gallery__item:first-child {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }
}

/* ============================================================
   Quote / portrait callout (partner pages)
   ============================================================ */

.person {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-6);
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--line);
}

.person:first-of-type { border-top: 0; padding-top: 0; }

.person__portrait {
  position: relative;
}

.person__portrait img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  width: 100%;
}

.person__role {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--sp-2);
}

.person h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-3);
}

@media (max-width: 760px) {
  .person { grid-template-columns: 1fr; }
  .person__portrait img { aspect-ratio: 4 / 3; }
}

/* ============================================================
   CTA strip (donation)
   ============================================================ */

.cta-strip {
  background: var(--saffron);
  color: var(--ink);
  padding: var(--sp-8) 0;
  position: relative;
  overflow: hidden;
}

.cta-strip__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-6);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.cta-strip h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  max-width: 24ch;
}

.cta-strip p {
  margin: var(--sp-3) 0 0;
  font-family: var(--font-serif);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}

.cta-strip__action {
  display: flex;
  justify-content: flex-end;
}

.cta-strip .btn--primary {
  background: var(--terracotta);
  color: var(--cream);
}

.cta-strip .btn--primary:hover {
  background: var(--terracotta-dk);
}

@media (max-width: 760px) {
  .cta-strip__inner { grid-template-columns: 1fr; }
  .cta-strip__action { justify-content: flex-start; }
}

/* ============================================================
   Donation / IBAN box
   ============================================================ */

.bank-box {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: var(--sp-6);
  border-radius: var(--radius);
  font-family: var(--font-sans);
}

.bank-box h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--sp-5);
  font-weight: 600;
}

.bank-box dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--sp-3) var(--sp-5);
  margin: 0;
}

.bank-box dt {
  color: var(--ink-mute);
  font-size: var(--fs-sm);
}

.bank-box dd {
  margin: 0;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.bank-box dd.is-iban {
  font-family: "JetBrains Mono", "Consolas", "Menlo", monospace;
  font-size: var(--fs-sm);
}

.amount-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-4);
  margin: var(--sp-6) 0;
}

.amount {
  padding: var(--sp-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.amount__sum {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.01em;
}

.amount__sum::after {
  content: " €";
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink-mute);
}

.amount__label {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.45;
}

/* ============================================================
   Contact box
   ============================================================ */

.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
}

.contact-block h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--sp-4);
  font-weight: 600;
}

.contact-line {
  font-family: var(--font-serif);
  font-size: var(--fs-md);
  line-height: 1.5;
  margin-bottom: var(--sp-3);
}

.contact-line a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--saffron);
  padding-bottom: 1px;
}

.contact-line a:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
  text-decoration: none;
}

@media (max-width: 720px) {
  .contact-block { grid-template-columns: 1fr; }
}

/* ============================================================
   Form
   ============================================================ */

.form {
  display: grid;
  gap: var(--sp-5);
  max-width: 560px;
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--sp-2);
  font-weight: 600;
}

.field input,
.field textarea {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  padding: var(--sp-3) var(--sp-4);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 180ms var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(181, 60, 42, 0.15);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
  font-family: var(--font-sans);
}

.field__hint {
  font-size: var(--fs-xs);
  color: var(--ink-mute);
  margin-top: var(--sp-2);
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: var(--sp-9) 0 var(--sp-6);
  font-size: var(--fs-sm);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.site-footer h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: var(--sp-4);
  font-weight: 600;
}

.site-footer__brand .brand__mark {
  color: var(--saffron);
}

.site-footer__brand p {
  color: rgba(251, 247, 241, 0.92);
  max-width: 32ch;
  margin-top: var(--sp-4);
  font-family: var(--font-serif);
  font-size: var(--fs-md);
  font-weight: 500;
  line-height: 1.5;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: var(--sp-2);
}

.site-footer a {
  color: rgba(251, 247, 241, 0.75);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--saffron);
  text-decoration: none;
}

.site-footer__bottom {
  max-width: var(--container);
  margin: var(--sp-8) auto 0;
  padding: var(--sp-5) var(--sp-5) 0;
  border-top: 1px solid rgba(251, 247, 241, 0.12);
  font-size: var(--fs-xs);
  color: rgba(251, 247, 241, 0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

@media (max-width: 820px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Aspect helpers & utility
   ============================================================ */

.text-center { text-align: center; }
.text-balance { text-wrap: balance; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Decorative section heading */
.section-head {
  text-align: center;
  margin-bottom: var(--sp-8);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.section-head .eyebrow::before { margin-right: var(--sp-3); }

.section-head p {
  color: var(--ink-soft);
  margin: var(--sp-3) auto 0;
  font-family: var(--font-serif);
  font-size: var(--fs-md);
  font-style: italic;
  line-height: 1.5;
}

/* Anchor offset for sticky header */
section[id], h2[id] { scroll-margin-top: 80px; }

/* Reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__slide { transition: none; }
  .hero__scroll-line::after { animation: none; }
}

[data-copy] {
  cursor: pointer;
  transition: color 180ms var(--ease);
}

[data-copy]:hover {
  color: var(--terracotta);
}

/* ============================================================
   Gallery (Bildergalerie page)
   ============================================================ */

.gallery-section + .gallery-section {
  margin-top: var(--sp-9);
}

.gallery-section__head {
  margin-bottom: var(--sp-6);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--sp-4);
}

.gallery-section__head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
}

.gallery-section__count {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-3);
}

.gallery-tile {
  position: relative;
  background: var(--cream-warm);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  aspect-ratio: 4 / 3;
  display: block;
  font-family: inherit;
  color: inherit;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

.gallery-tile:hover img,
.gallery-tile:focus-visible img {
  transform: scale(1.04);
}

.gallery-tile__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--sp-3) var(--sp-4);
  background: linear-gradient(180deg, transparent 0%, rgba(31, 26, 22, 0.78) 80%);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.gallery-tile:hover .gallery-tile__caption,
.gallery-tile:focus-visible .gallery-tile__caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-tile--tall { aspect-ratio: 3 / 4; }
.gallery-tile--wide { grid-column: span 2; aspect-ratio: 16 / 9; }

@media (max-width: 640px) {
  .gallery-tile--wide { grid-column: span 1; aspect-ratio: 4 / 3; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(31, 26, 22, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
  opacity: 0;
  transition: opacity 220ms var(--ease);
}

.lightbox.is-open {
  display: flex;
  opacity: 1;
}

.lightbox__stage {
  position: relative;
  max-width: min(100%, 1280px);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--ink);
}

.lightbox__caption {
  color: var(--cream);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-md);
  text-align: center;
  max-width: 60ch;
  margin: 0;
  opacity: 0.85;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(251, 247, 241, 0.08);
  color: var(--cream);
  border: 1px solid rgba(251, 247, 241, 0.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms var(--ease), border-color 180ms var(--ease);
  font-size: 0;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(251, 247, 241, 0.18);
  border-color: var(--saffron);
}

.lightbox__close { top: var(--sp-5); right: var(--sp-5); }
.lightbox__nav--prev { left: var(--sp-5); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: var(--sp-5); top: 50%; transform: translateY(-50%); }

.lightbox__icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.lightbox__counter {
  position: absolute;
  top: var(--sp-5);
  left: var(--sp-5);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 247, 241, 0.6);
}

@media (max-width: 640px) {
  .lightbox__close { top: var(--sp-3); right: var(--sp-3); }
  .lightbox__nav--prev { left: var(--sp-2); }
  .lightbox__nav--next { right: var(--sp-2); }
  .lightbox__counter { top: var(--sp-3); left: var(--sp-3); }
}

body.is-lightbox-open { overflow: hidden; }

/* ============================================================
   Language switcher
   ============================================================ */

.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-decoration: none;
  padding: var(--sp-2) var(--sp-3);
  border-left: 1px solid var(--line);
  margin-left: var(--sp-2);
  margin-right: var(--sp-2);
}

.nav__lang:hover,
.nav__lang:focus-visible {
  color: var(--terracotta);
  text-decoration: none;
}

@media (max-width: 920px) {
  .nav__lang {
    border-left: 0;
    border-top: 1px solid var(--line);
    margin: var(--sp-5) 0 0;
    padding: var(--sp-4) 0;
    display: block;
    text-align: center;
  }
}

/* Print */
/* Spamfalle im Kontaktformular – für Menschen unsichtbar, für Bots sichtbar.
   Bewusst nicht display:none, das erkennen manche Bots. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Vorstandsliste – schlicht, ohne Kärtchen */
.roster {
  margin-top: var(--sp-6);
  border-top: 1px solid var(--line);
}

.roster__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  align-items: baseline;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--line);
}

.roster__name {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  color: var(--ink);
}

.roster__role {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
}

@media (max-width: 600px) {
  .roster__row {
    grid-template-columns: 1fr;
    gap: var(--sp-1);
  }
}

@media print {
  .site-header, .site-footer, .cta-strip, .nav-toggle { display: none; }
  body { background: white; color: black; font-size: 11pt; }
  a { color: black; text-decoration: underline; }
}
