/* ==========================================================================
   Aktion Lebensträume e.V. – Neubau 2026
   Editorial Warm Minimal
   Palette:   Papier #f7f2e9 · Tinte #1c1a17 · Magenta #bd3463 · Sand #f0e2c4
   Typo:      Fraunces (Display-Serif) + Public Sans (Lesetext)
   Gliederung: 1. Tokens 2. Basis 3. Typo 4. Navigation 5. Seitenkopf
               6. Inhalt 7. Rail 8. Startseite 9. Footer 10. Helfer 11. Medien
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  --paper: #f7f2e9;
  --paper-hi: #fffdf8;
  --sand: #f0e2c4;
  --ink: #1c1a17;
  --ink-soft: #4a453d;
  --muted: #6b6153;
  --line: rgba(28, 26, 23, .14);
  --line-soft: rgba(28, 26, 23, .08);
  --accent: #bd3463;
  --accent-deep: #96224c;
  --accent-soft: rgba(189, 52, 99, .09);
  --deep: #1b1a18;
  --deep-hi: #262421;
  --cream: #f4ecdd;

  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --measure: 68ch;
  --head-h: 74px;
  --gap: clamp(24px, 4vw, 56px);
  --pad: clamp(20px, 5vw, 48px);
  --radius: 3px;
  --shadow: 0 18px 44px rgba(28, 26, 23, .10);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Basis ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  font-weight: 350;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration-color: var(--line); text-underline-offset: .18em; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }

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

button { font: inherit; color: inherit; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--paper); }

/* ---------- 3. Typografie -------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "opsz" 60, "SOFT" 0, "WONK" 0;
  color: var(--ink);
  letter-spacing: -.015em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); margin: 0 0 .5em; }
h2, .section-title { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.45rem); margin: 0 0 .5em; }
h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); margin: 0 0 .45em; }
h4 { font-size: 1.0625rem; font-family: var(--body); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 620; color: var(--ink); }
em, i { font-style: italic; }

.eyebrow {
  font-family: var(--body);
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.1em;
}

.lede {
  font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 350;
  max-width: 58ch;
}

.muted { color: var(--muted); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.h-sec { scroll-margin-top: calc(var(--head-h) + 24px); }

/* ---------- 4. Navigation --------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Kein backdrop-filter: der Wert waere der enthaltende Block fuer den
     position:fixed-Drawer und wuerde dessen Hoehe auf den Kopf beschraenken. */
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-head.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(28, 26, 23, .06); }

.head-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  height: var(--head-h);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand-img { display: block; width: auto; height: 38px; }

.nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2px, .9vw, 10px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-block;
  padding: 8px 9px;
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink);
  border-radius: var(--radius);
  transition: color .2s var(--ease);
}
.nav-link:hover { color: var(--accent); }
.nav-item.is-active > .nav-link { color: var(--accent); }
.nav-item.is-active > .nav-link::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 3px;
  background: var(--accent);
}
.nav-group { cursor: default; }

.nav-expand {
  display: none;
  position: absolute;
  top: 2px; right: -6px;
  width: 42px; height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: .6;
}
.nav-expand span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.nav-expand span::before {
  content: "";
  display: block;
  width: 8px; height: 8px;
  margin-top: -3px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
.nav-expand[aria-expanded="true"] span::before { transform: rotate(-135deg); margin-top: 3px; }

.nav-sub {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 232px;
  padding: 10px 0;
  margin: 0;
  list-style: none;
  background: var(--paper-hi);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 5;
}
.nav-sub li { margin: 0; }
.nav-sublink {
  display: block;
  padding: 9px 20px;
  font-size: .9375rem;
  text-decoration: none;
  color: var(--ink);
  border-left: 2px solid transparent;
}
.nav-sublink:hover { color: var(--accent); background: var(--accent-soft); border-left-color: var(--accent); }
.nav-item:hover > .nav-sub,
.nav-item:focus-within > .nav-sub {
  opacity: 1; visibility: visible; transform: none;
}

.head-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 10px 8px 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: .875rem;
  font-weight: 600;
}
.nav-toggle-box {
  display: block;
  width: 20px; height: 14px;
  position: relative;
}
.nav-toggle-box::before,
.nav-toggle-bar,
.nav-toggle-box::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: currentColor;
  transition: transform .28s var(--ease), opacity .2s;
}
.nav-toggle-box::before { top: 0; }
.nav-toggle-bar { top: 6px; }
.nav-toggle-box::after { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-box::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-box::after { transform: translateY(-6px) rotate(-45deg); }

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(28, 26, 23, .42);
  backdrop-filter: blur(2px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.nav-scrim.is-open { opacity: 1; pointer-events: auto; }

/* ---------- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 13px 26px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-light { background: var(--cream); border-color: var(--cream); color: var(--deep); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--deep); }
.btn-sm { padding: 9px 18px; font-size: .875rem; }
.btn-block { width: 100%; }

.more {
  display: inline-block;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .3s var(--ease), color .2s;
}
.more:hover { color: var(--accent-deep); background-size: 0% 1px; background-position: 100% 100%; }

/* ---------- Brotpunkt & Bereichs-Navigation -------------------------------- */
.crumbs { margin: clamp(18px, 3vw, 30px) 0 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumbs li { font-size: .8125rem; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); }

.chips {
  margin: clamp(40px, 6vw, 72px) 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: thin;
}
.chips ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0 2px; }
.chips a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .875rem;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink-soft);
  transition: border-color .2s, color .2s, background .2s;
}
.chips a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

.pager { margin-top: 20px; }
.pager ul {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pager a {
  display: block;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  background: var(--paper-hi);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.pager a:hover { border-color: var(--accent); transform: translateY(-2px); }
.pager span { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.pager strong { font-family: var(--display); font-size: 1.15rem; font-weight: 400; }
.pager-prev { text-align: left; }
.pager-next { text-align: right; }
.pager-mid a, .pager-spacer { visibility: hidden; }
.pager-mid a { visibility: visible; text-align: center; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 0; background: none; }

/* ---------- 5. Seitenkopf --------------------------------------------------- */
.page-head { padding: clamp(28px, 5vw, 64px) 0 clamp(26px, 4vw, 44px); }
.page-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
}
.page-head:not(.has-hero) .page-head-grid { grid-template-columns: minmax(0, 1fr); }
.page-head h1 { margin-bottom: .35em; max-width: 22ch; }
.page-hero { margin: 0; }
.page-hero .zoom { width: 100%; }
.page-hero img {
  display: block;
  width: 100%;
  height: clamp(220px, 30vw, 360px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- 6. Inhalt ------------------------------------------------------- */
.page-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
  padding-bottom: clamp(56px, 9vw, 120px);
}
.page-body.no-rail { grid-template-columns: minmax(0, 1fr); }

.article { max-width: 74ch; }
.article > .section + .section { margin-top: clamp(38px, 5vw, 62px); }
.section-body > * + * { margin-top: 0; }
.section-body p, .section-body ul, .section-body ol { max-width: var(--measure); }
.article a:not(.btn):not(.more):not(.file):not(.card-title a) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.prose-list { padding-left: 1.15em; margin: 0 0 1.15em; }
.prose-list li { margin-bottom: .5em; }
.prose-list li::marker { color: var(--accent); }

.rule {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: clamp(36px, 6vw, 64px) 0;
}

/* Bilder */
.shot { margin: clamp(22px, 4vw, 36px) 0; }
.shot img {
  display: block;
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(28, 26, 23, .09);
}
.shot.fill img, .shot.fill .zoom { width: 100%; max-width: none; }
.shot figcaption {
  margin-top: 12px;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 52ch;
}
.fig-size { color: var(--line); margin-left: .4em; }
.zoom {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  max-width: 100%;
  border-radius: var(--radius);
}
.zoom img { transition: transform .5s var(--ease), filter .5s var(--ease); }
.zoom:hover img { transform: scale(1.012); filter: saturate(1.06); }

/* Karten-Raster (Projekt-Teaser) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr));
  gap: clamp(20px, 3vw, 34px);
  margin-top: clamp(20px, 3vw, 30px);
}
.card {
  display: flex;
  flex-direction: column;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
  background: none;
}
.card-media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--sand);
}
.card-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  transition: transform .6s var(--ease);
}
.card:hover .card-media img { transform: scale(1.045); }
.card-title { margin: 20px 0 8px; font-size: 1.35rem; }
.card-title a { text-decoration: none; color: inherit; }
.card-title a::after { content: ""; display: block; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card:hover .card-title a::after { transform: scaleX(1); }
.card p { font-size: .9375rem; line-height: 1.65; color: var(--ink-soft); }
.card .more { margin-top: auto; padding-top: 10px; }

/* Text- und Logobausteine (Partnerseite) */
.cards-notes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.card-note { padding-bottom: 18px; }
.card-note p { font-size: .9375rem; line-height: 1.6; }
.shot-logo { margin: 0 0 14px; }
.shot-logo img {
  width: auto;
  max-width: 210px;
  max-height: 120px;
  box-shadow: none;
  background: var(--paper-hi);
}
.shot-logo + .shot-logo { margin-top: -6px; }

/* ---------- 7. Rail --------------------------------------------------------- */
.rail {
  position: sticky;
  top: calc(var(--head-h) + 22px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 4px;
}
.rail-panel {
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-hi);
}
.rail-panel p { font-size: .875rem; line-height: 1.6; color: var(--ink-soft); margin-bottom: .8em; }
.rail-panel p:last-child { margin-bottom: 0; }
.rail-title {
  font-family: var(--body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.rail-donate { background: var(--sand); border-color: rgba(28, 26, 23, .1); }
.rail-donate .rail-title { color: var(--accent-deep); }
.rail-donate .btn { margin-top: 14px; }

/* Spendenkonto als Definitionsraster */
.bank-payee { font-weight: 620; color: var(--ink); margin-bottom: 2px; }
.bank-bank { font-size: .8125rem; color: var(--muted); margin-bottom: 16px; }
.bank-dl { margin: 0; display: grid; gap: 11px; }
.bank-dl > div { border-top: 1px solid var(--line-soft); padding-top: 9px; }
.bank-dl > div:first-child { border-top: 0; padding-top: 0; }
.bank-dl dt { font-size: .6875rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bank-dl dd { margin: 3px 0 0; font-size: .9375rem; color: var(--ink); }
.bank-dl code { font-family: var(--body); letter-spacing: .03em; }
.bank-note { font-size: .8125rem; color: var(--muted); margin: 14px 0 0; }
.rail-bank .file { margin-top: 4px; }

.file {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "badge label" "badge meta";
  gap: 2px 12px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
  text-decoration: none;
  color: inherit;
}
.file:first-of-type { border-top: 0; }
.file-badge {
  grid-area: badge;
  align-self: start;
  margin-top: 2px;
  padding: 3px 7px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent);
}
.file-label { grid-area: label; font-size: .875rem; font-weight: 550; line-height: 1.35; }
.file-meta { grid-area: meta; font-size: .75rem; color: var(--muted); }
.file:hover .file-label { color: var(--accent); }
.file:hover .file-badge { background: var(--accent); color: #fff; }

/* ---------- 8. Startseite --------------------------------------------------- */
.hero {
  padding: clamp(30px, 6vw, 84px) 0 clamp(46px, 7vw, 96px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.7rem, 1.2rem + 6.4vw, 5.8rem);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 20;
  line-height: .94;
  letter-spacing: -.035em;
  margin: 0 0 .5em;
}
.hero-copy h1 .line { display: block; }
.hero-copy h1 .dash {
  display: inline-block;
  font-style: normal;
  color: var(--accent);
  margin-right: .22em;
}
.hero-quote {
  margin: 0 0 2em;
  padding-left: 22px;
  border-left: 2px solid var(--accent);
  font-family: var(--display);
  font-size: clamp(1.15rem, 1rem + .8vw, 1.55rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 34ch;
}
.hero-quote cite {
  display: block;
  margin-top: .6em;
  font: 600 .75rem/1 var(--body);
  font-style: normal;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stack {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  background: var(--sand);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s var(--ease), transform 6s linear;
}
.hero-img.is-active { opacity: 1; transform: scale(1); }
.hero-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  margin: 0;
  padding: 42px 20px 14px;
  font-size: .75rem;
  letter-spacing: .04em;
  color: #f6efe2;
  background: linear-gradient(transparent, rgba(20, 18, 15, .72));
}
.hero-dots {
  position: absolute;
  right: 12px; bottom: 10px;
  display: flex;
  gap: 2px;
}
.hero-dots button {
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.hero-dots button::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  transition: background .25s, transform .25s;
}
.hero-dots button[aria-selected="true"]::before { background: #fff; transform: scale(1.4); }

.creed { background: var(--paper-hi); border-block: 1px solid var(--line-soft); }
.creed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(52px, 8vw, 104px);
}
.creed-list { display: grid; gap: 0; }
.creed-item { padding: 22px 0; border-top: 1px solid var(--line); }
.creed-item:last-child { border-bottom: 1px solid var(--line); }
.creed-item h3 { font-size: 1.15rem; margin-bottom: 4px; }
.creed-item p { margin: 0; font-size: .9375rem; color: var(--ink-soft); }

.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 40px;
  margin-bottom: clamp(26px, 4vw, 44px);
}
.sec-note { max-width: 34ch; font-size: .9375rem; color: var(--muted); margin: 0; }

.countries { padding-block: clamp(52px, 8vw, 104px); }
.country-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 38px);
}
.country { display: flex; flex-direction: column; grid-column: span var(--span, 4); }
.country-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: var(--ar, 4 / 3);
  background: var(--sand);
  text-decoration: none;
}
.country-link img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .7s var(--ease);
}
.country-link:hover img { transform: scale(1.05); filter: saturate(1.08); }
.country-index {
  position: absolute;
  top: 12px; left: 14px;
  font: 600 .6875rem/1 var(--body);
  letter-spacing: .1em;
  color: #fff;
  mix-blend-mode: difference;
}
.country-name {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 16px 14px;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.1;
  color: #fff;
  background: linear-gradient(transparent, rgba(20, 18, 15, .78));
}
.country-name small {
  display: block;
  margin-top: 3px;
  font: 500 .6875rem/1.4 var(--body);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}
.country-teaser { font-size: .9375rem; color: var(--ink-soft); margin: 16px 0 8px; }
.country:first-child .country-name { font-size: 1.9rem; }
.country:first-child .country-teaser { font-size: 1.0625rem; max-width: 46ch; }

.map-strip {
  margin: clamp(34px, 5vw, 60px) auto 0;
  max-width: 720px;
  text-align: center;
  opacity: .92;
}
.map-strip img { filter: saturate(.85); }

.split { background: var(--paper-hi); border-block: 1px solid var(--line-soft); }
.split-grid { display: grid; gap: clamp(34px, 5vw, 64px); padding-block: clamp(52px, 8vw, 104px); }
.split-item {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
}
.split-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-reverse img { order: 2; }
.split-item p { color: var(--ink-soft); }

.donate { background: var(--deep); color: var(--cream); }
.donate .section-title, .donate h2, .donate h3 { color: #fff; }
.donate .eyebrow { color: var(--sand); }
.donate .lede { color: rgba(244, 236, 221, .78); }
.donate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding-block: clamp(52px, 8vw, 100px);
}
.bankcard {
  padding: clamp(24px, 3vw, 34px);
  background: var(--deep-hi);
  border: 1px solid rgba(244, 236, 221, .14);
  border-radius: var(--radius);
}
.bankcard h3 { font-size: 1.3rem; margin-bottom: 18px; }
.bankcard dl { margin: 0; display: grid; gap: 14px; }
.bankcard dt { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 236, 221, .55); margin-bottom: 3px; }
.bankcard dd { margin: 0; font-size: .9375rem; color: var(--cream); }
.bankcard code { font-family: var(--body); font-size: 1.0625rem; letter-spacing: .04em; }
.bankcard em { color: var(--sand); font-style: normal; }
.bankcard .btn { margin-top: 24px; }
.copy {
  margin-left: 10px;
  min-height: 30px;
  padding: 4px 12px;
  font-size: .625rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(189, 52, 99, .35);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.copy:hover, .copy.is-done { background: var(--accent); color: #fff; }
.bankcard .copy { color: var(--sand); border-color: rgba(240, 226, 196, .4); }
.bankcard .copy:hover, .bankcard .copy.is-done { background: var(--sand); color: var(--deep); }

.teaser-foot { background: var(--sand); text-align: center; padding-block: clamp(46px, 7vw, 86px); }
.teaser-foot .lede { margin-inline: auto; }
.teaser-foot .btn { margin-top: 22px; }

/* ---------- 9. Footer ------------------------------------------------------- */
.site-foot { background: var(--deep); color: rgba(244, 236, 221, .82); }
.foot-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(46px, 6vw, 76px) var(--pad) clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
  gap: clamp(30px, 5vw, 64px);
}
.foot-logo { height: 44px; width: auto; margin-bottom: 22px; }
.foot-brand address { font-style: normal; font-size: .9375rem; line-height: 1.7; }
.foot-brand a { color: var(--cream); }
.foot-note { margin-top: 18px; font-size: .8125rem; color: rgba(244, 236, 221, .5); max-width: 34ch; }
.foot-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 26px 30px; }
.foot-col h2 {
  font: 700 .75rem/1 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0 0 14px;
}
.foot-col h2 a { color: inherit; text-decoration: none; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a { color: rgba(244, 236, 221, .78); font-size: .875rem; text-decoration: none; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-bar {
  border-top: 1px solid rgba(244, 236, 221, .12);
  padding: 20px var(--pad);
}
.foot-bar > * {
  max-width: var(--wrap);
  margin-inline: auto;
}
.foot-bar { display: block; }
.foot-bar p { margin: 0 auto; }
.foot-bar ul { display: flex; gap: 22px; list-style: none; margin: 8px auto 0; padding: 0; }
.foot-bar li, .foot-bar p { font-size: .8125rem; color: rgba(244, 236, 221, .55); }
.foot-bar a { color: inherit; text-decoration: none; }
.foot-bar a:hover { color: #fff; }
@media (min-width: 720px) {
  .foot-bar { display: grid; }
  .foot-bar > * { grid-column: 1; }
  .foot-bar ul { justify-self: end; margin-top: 0; }
}

/* ---------- 10. Helfer: Lightbox, Reveal, Top-Button ------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(16, 15, 13, .94);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(94vw, 1400px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
}
.lightbox-cap {
  margin: 14px auto 0;
  max-width: 70ch;
  text-align: center;
  font-size: .8125rem;
  color: rgba(244, 236, 221, .72);
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 20px;
  width: 46px; height: 46px;
  border: 1px solid rgba(244, 236, 221, .3);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
body.is-locked { overflow: hidden; }

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .hero-img { transition: opacity .01s; transform: none; }
}

.to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 80;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-hi);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.to-top.is-on { opacity: 1; pointer-events: auto; transform: none; }
.to-top::before {
  content: "";
  width: 9px; height: 9px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(-45deg) translate(1px, 1px);
}

/* ---------- 11. Medien ------------------------------------------------------ */
@media (max-width: 1080px) {
  .page-body { grid-template-columns: minmax(0, 1fr) 268px; }
  .country { grid-column: span 6; }
  .country:first-child { grid-column: span 12; }
  .country:first-child .country-link { aspect-ratio: 16 / 9; }
}

@media (max-width: 900px) {
  :root { --head-h: 66px; }

  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(420px, 88vw);
    margin: 0;
    padding: calc(var(--head-h) + 22px) 26px 40px;
    background: var(--paper);
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 60px rgba(28, 26, 23, .18);
    overflow-y: auto;
    transform: translateX(102%);
    transition: transform .4s var(--ease);
    z-index: 95;
  }
  body.nav-open .nav { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line-soft); }
  .nav-item > .nav-link {
    display: block;
    padding: 15px 0;
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 400;
  }
  .nav-item.is-active > .nav-link::after { display: none; }
  .nav-expand { display: block; }
  .nav-group { cursor: pointer; }
  .nav-sub {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 12px;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-item.is-open > .nav-sub { display: block; }
  .nav-item:hover > .nav-sub { display: none; }
  .nav-item.is-open:hover > .nav-sub { display: block; }
  .nav-sublink { padding: 9px 0 9px 16px; border-left: 2px solid var(--line); font-size: 1rem; }
  .nav-item.is-open > .nav-sub .nav-sublink { border-left-color: var(--accent-soft); }
  .nav-item.is-open > .nav-sub .nav-sublink:hover { border-left-color: var(--accent); }
  .head-actions { margin-left: auto; }

  .page-head-grid, .hero-grid, .creed-grid, .donate-grid, .split-item { grid-template-columns: minmax(0, 1fr); }
  .page-hero { order: -1; }
  .page-hero img { height: clamp(200px, 46vw, 300px); }
  .split-reverse img { order: 0; }
  .hero-stack { margin-top: 8px; }
  .rail { position: static; }
  .page-body { grid-template-columns: minmax(0, 1fr); }
  .foot-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .country, .country:first-child { grid-column: span 12; }
  .country-link { aspect-ratio: 3 / 2; }
  .pager ul { grid-template-columns: 1fr; }
  .pager-mid { display: none; }
  .pager-next { text-align: left; }
  .head-actions .btn { display: none; }
  .brand-img { height: 32px; }
  .hero-copy h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .shot img { max-width: 100%; }
}

@media print {
  .site-head, .site-foot, .rail, .chips, .pager, .to-top, .hero-dots { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .page-body { grid-template-columns: 1fr; }
  a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
