/* ============================================
   Madagaskar Missionstrip – Website
   Design: Erdig & warm (Terrakotta · Gold ·
           Dschungelgrün · Sand)
   ============================================ */

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

:root {
  /* ── Farben ──────────────────────────────── */
  --clay:       #B0573C;   /* Terrakotta – Primärakzent (gedeckter) */
  --clay-dark:  #8C4329;
  --gold:       #D19E54;   /* Savannen-Gold (gedeckter) */
  --gold-soft:  #E6BE7B;
  --jungle:     #2E5E4E;   /* Dschungelgrün */
  --jungle-deep:#1C3D32;   /* Tiefe dunkle Sektionen */
  --jungle-deeper:#142B23;

  --sand:       #F6EFE2;   /* Heller Hintergrund */
  --sand-2:     #EFE5D3;   /* Karten / Felder */
  --sand-3:     #E5D7BF;   /* Hover-Felder */

  --ink:        #2A211A;   /* Dunkler Brauntext */
  --ink-mid:    #6B5d4f;   /* Mitteltext */
  --ink-dim:    #9a8b79;   /* Gedämpfter Text */

  --line:       rgba(42,33,26,0.12);

  --nav-h:      60px;
  --radius:     10px;
  --radius-sm:  8px;
  --shadow:     0 6px 26px rgba(42,33,26,0.10);
  --shadow-lg:  0 18px 56px rgba(42,33,26,0.20);

  --font-display: "Playfair Display", "Georgia", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--sand);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.55;
}

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

/* Tropenblatt-Tapete als fixer Hintergrund (alle Seiten).
   Der Sand-Schleier (erste Ebene) blendet das Foto so weit aus,
   dass Texte gut lesbar bleiben.
   • Stärker sichtbar  -> Schleier-Werte (0.45) verkleinern, z. B. 0.30
   • Dezenter          -> Werte vergrößern, z. B. 0.60
   Pfad relativ zu css/  ->  ../assets/ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(246,239,226,0.45), rgba(246,239,226,0.45)),
    url('../assets/tapete.png');
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-position: center, center;
}

/* ── NAVIGATION ─────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(246,239,226,0.82);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
}
.logo-mark svg { width: 20px; height: 20px; }
.nav-logo .logo-mark { color: var(--clay); }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.72;
  position: relative;
  padding: 4px 0;
  transition: opacity 0.35s, color 0.35s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--clay);
  border-radius: 2px;
  transition: width 0.35s ease;
}
.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--clay);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(246,239,226,0.97);
  backdrop-filter: blur(18px);
  padding: 22px 34px 30px;
  border-bottom: 1px solid var(--line);
  z-index: 9998;
  flex-direction: column;
  gap: 22px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.mobile-menu a:hover { color: var(--clay); }

/* ── BUTTONS ────────────────────────────────── */
.btn {
  padding: 15px 30px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s, background 0.25s, box-shadow 0.25s, color 0.25s;
  display: inline-block;
  white-space: nowrap;
}
.btn-primary {
  background: var(--clay);
  color: #fff;
  box-shadow: 0 6px 18px rgba(176,87,60,0.32);
}
.btn-primary:hover {
  background: var(--clay-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 26px rgba(176,87,60,0.42);
}
.btn-secondary {
  background: rgba(42,33,26,0.06);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover {
  background: rgba(42,33,26,0.10);
  transform: translateY(-2px) scale(1.02);
}
.btn-ghost-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px) scale(1.02);
}

/* ── HERO (Startseite) ──────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 70px) 24px 110px;
  overflow: hidden;
  color: #fff;
  /* Durchscheinende Farbverläufe -> das eine fixe Hintergrundfoto schimmert durch */
  background:
    linear-gradient(180deg, rgba(28,61,50,0.20) 0%, rgba(20,43,35,0.44) 100%),
    linear-gradient(135deg, rgba(46,94,78,0.62) 0%, rgba(176,87,60,0.60) 60%, rgba(209,158,84,0.56) 100%);
}
/* Platz für ein echtes Hero-Foto: einfach --hero-img setzen
   (siehe index.html). Liegt als Schicht über dem Verlauf. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center;
  opacity: var(--hero-img-opacity, 0.42);
  mix-blend-mode: multiply;
}
.hero > * { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 24px;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 980px;
  backdrop-filter: blur(4px);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 116px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin-bottom: 26px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.25);
}
.hero-title em {
  font-style: italic;
  color: var(--gold-soft);
}
.hero-subtitle {
  font-size: clamp(18px, 2.4vw, 24px);
  color: rgba(255,255,255,0.92);
  max-width: 600px;
  line-height: 1.5;
  margin-bottom: 44px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  z-index: 1;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,8px)} }

/* ── ABSCHNITTS-BAUSTEINE ───────────────────── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px;
}
.section-narrow { max-width: 820px; }

.section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--clay);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 18px;
}
.section-intro {
  font-size: 18px;
  color: var(--ink-mid);
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 56px;
}
.section-head-center { text-align: center; }
.section-head-center .section-intro { margin-left: auto; margin-right: auto; }

/* ── INTRO-KACHELN (Startseite) ─────────────── */
.facts-strip {
  /* Nur durchscheinende grüne Tönung -> das EINE fixe Hintergrundfoto
     (body::before) schimmert durch, durchgängig & ausgerichtet.
     0.74 = gut erkennbar; größer = Muster schwächer / Grün satter */
  background: rgba(28,61,50,0.74);
  color: #fff;
}
.facts-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  text-align: center;
}
.fact-num {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 600;
  color: var(--gold-soft);
  line-height: 1;
  margin-bottom: 8px;
}
.fact-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}

/* ── COUNTDOWN ──────────────────────────────── */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 720px;
  margin: 8px auto 0;
}
.cd-box {
  position: relative;
  background: var(--sand-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 14px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s, background 0.35s;
}
.cd-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clay), var(--gold));
}
.cd-box:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow);
  background: #fff;
}
.cd-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 600;
  line-height: 1;
  color: var(--clay);
  font-variant-numeric: tabular-nums; /* gleichbleibende Breite -> kein Zappeln */
}
.cd-label {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.cd-done {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 600;
  color: var(--jungle);
  text-align: center;
  margin-top: 8px;
}

@media (max-width: 560px) {
  .countdown { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* ── TAGESZÄHLER VOR ORT (löst den Countdown ab) ── */
.daycount {
  position: relative;
  max-width: 520px;
  margin: 8px auto 0;
  padding: 34px 30px 30px;
  background: var(--sand-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
  transition: transform 0.35s, box-shadow 0.35s, background 0.35s;
}
.daycount::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clay), var(--gold));
}
.daycount:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.day-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 10px;
}
.day-num {
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 76px);
  font-weight: 600;
  line-height: 1;
  color: var(--clay);
  font-variant-numeric: tabular-nums;
}
.day-text {
  margin-top: 16px;
  font-size: clamp(17px, 2.4vw, 20px);
  color: var(--ink-mid);
  line-height: 1.5;
}
.day-text strong { color: var(--jungle); font-weight: 600; }
.day-sub {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-dim);
}

/* ── NAV-KARTEN (Startseite) ────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.nav-card {
  position: relative;
  background: var(--sand-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 30px;
  text-decoration: none;
  color: var(--ink);
  display: block;
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s, background 0.35s;
}
.nav-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--clay), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.nav-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.nav-card:hover::after { transform: scaleX(1); }
.nav-card-icon {
  display: inline-flex;
  color: var(--clay);
  margin-bottom: 18px;
}
.nav-card-icon svg { width: 40px; height: 40px; }
.nav-card-title {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.nav-card-desc {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.55;
}
.nav-card-arrow {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  color: var(--clay);
  font-weight: 600;
}

/* ── PAGE HERO (Unterseiten) ────────────────── */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: calc(var(--nav-h) + 90px) 24px 70px;
  color: #fff;
  overflow: hidden;
  /* Durchscheinende Farbverläufe -> das eine fixe Hintergrundfoto schimmert durch */
  background:
    linear-gradient(180deg, rgba(28,61,50,0.26), rgba(20,43,35,0.48)),
    linear-gradient(120deg, rgba(46,94,78,0.58), rgba(176,87,60,0.58));
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center;
  opacity: var(--hero-img-opacity, 0.4);
  mix-blend-mode: multiply;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-soft);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  max-width: 540px;
  line-height: 1.55;
}
/* Team-Logo im Seitenkopf (rundes Badge) */
.page-hero-logo {
  width: 230px;
  height: 230px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  margin-bottom: 24px;
  border: 3px solid rgba(246,239,226,0.85);
  box-shadow: 0 14px 34px rgba(0,0,0,0.28);
}

/* ── TEAM-GRID ──────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.team-card {
  position: relative;
  border-radius: var(--radius);
  background: var(--sand-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 0.45s ease, transform 0.45s ease;
}
.team-card.reveal:hover,
.team-card.tapped {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px) scale(1.02);
  z-index: 5;
  transition-delay: 0s;
}
.team-visual {
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
/* Foto-Platzhalter: warmer Verlauf + Initiale.
   Echtes Foto: <img class="team-photo" ...> einsetzen. */
.team-visual {
  background: linear-gradient(150deg, var(--jungle) 0%, var(--clay) 100%);
}
.team-card:nth-child(3n+2) .team-visual {
  background: linear-gradient(150deg, var(--clay) 0%, var(--gold) 100%);
}
.team-card:nth-child(3n) .team-visual {
  background: linear-gradient(150deg, var(--jungle-deep) 0%, var(--jungle) 100%);
}
.team-initial {
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  user-select: none;
}
.team-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.team-info {
  padding: 24px 26px 28px;
}
.team-role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 7px;
}
.team-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.team-tag {
  font-size: 15px;
  color: var(--ink-mid);
}
/* Detail-Overlay (Hover / Tap) */
.team-detail {
  position: absolute;
  inset: 0;
  background: var(--jungle-deep);
  color: #fff;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.team-detail h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 6px;
}
.team-detail .team-detail-role {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 16px;
}
.team-detail p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
}
.team-card:hover .team-detail,
.team-card.tapped .team-detail {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ── BLOG ───────────────────────────────────── */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.blog-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: var(--sand-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.4s, transform 0.4s;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px) scale(1.02);
}
.blog-visual {
  position: relative;
  min-height: 220px;
  background: linear-gradient(150deg, var(--jungle), var(--clay));
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card:nth-child(even) .blog-visual {
  background: linear-gradient(150deg, var(--clay), var(--gold));
}
.blog-visual .blog-icon { color: rgba(255,255,255,0.9); }
.blog-visual .blog-icon svg { width: 54px; height: 54px; }
.blog-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* "Bald geht's los" – Platzhalter, solange die Reise noch nicht begonnen hat */
.blog-soon {
  text-align: center;
  background: var(--sand-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 54px 40px 58px;
  box-shadow: var(--shadow);
}
.blog-soon-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(150deg, var(--jungle), var(--clay));
  box-shadow: 0 8px 22px rgba(176,87,60,0.28);
}
.blog-soon-icon svg { width: 34px; height: 34px; }
.blog-soon-lead {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 18px;
}
.blog-soon-lead strong { color: var(--clay); font-weight: 600; }
.blog-soon-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-mid);
  max-width: 620px;
  margin: 0 auto;
}
.blog-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-dim);
  margin-bottom: 12px;
}
.blog-date {
  font-weight: 700;
  color: var(--clay);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.blog-chip {
  padding: 3px 12px;
  background: rgba(46,94,78,0.1);
  color: var(--jungle);
  border-radius: 980px;
  font-weight: 600;
}
.blog-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.blog-excerpt {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}
.blog-readmore {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--clay);
  align-self: flex-start;
}

/* ── BLOG-BEITRÄGE (Artikel) ────────────────── */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.post {
  position: relative;
  background: var(--sand-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 44px 46px 40px;
}
.post::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clay), var(--gold));
}
.post-head { margin-bottom: 26px; }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-dim);
  margin-bottom: 14px;
}
.post-badge {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay);
}
.post-when { letter-spacing: 0.02em; }
.post-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 16px;
}
.post-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}
.post-body p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-mid);
}
.post-body p + p { margin-top: 16px; }
.post-sub {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--jungle);
  margin: 28px 0 10px;
}
.post-sub:first-child { margin-top: 0; }

/* Bildergalerie im Beitrag */
/* Standard: Bilder untereinander, mittig und angenehm groß.
   Für nebeneinander stehende Fotos: <div class="post-gallery two-col"> */
.post-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: start;
  gap: 22px;
  max-width: 600px;
  margin: 32px auto 0;
}
.post-gallery.two-col {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: none;
}
.post-photo {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--sand-3);
  box-shadow: 0 4px 16px rgba(42,33,26,0.10);
}
/* Bilder behalten ihr Seitenverhältnis – nichts wird abgeschnitten.
   Bewusst ohne Hover-Effekt: die Fotos bleiben beim Überfahren unverändert. */
.post-photo img {
  width: 100%;
  height: auto;
}
.post-photo figcaption {
  padding: 10px 14px 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-dim);
  background: var(--sand-2);
}
.post-photo { width: 100%; }

.post-note {
  margin-top: 30px;
  padding: 18px 22px;
  background: rgba(46,94,78,0.08);
  border-radius: var(--radius-sm);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--jungle);
}

@media (max-width: 700px) {
  .post { padding: 34px 24px 30px; }
  .post-lead { font-size: 17px; }
  .post-gallery { grid-template-columns: 1fr; }
}

/* ── QR-CODES & DOCS ────────────────────────── */
.qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.qr-card {
  background: var(--sand-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.4s, transform 0.4s, background 0.4s;
}
.qr-card.reveal:hover,
.qr-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px) scale(1.02);
  background: #FAF4EA; /* Ton zwischen Sand und Weiß – nicht zu hell */
  transition-delay: 0s;
}
.qr-frame {
  width: 190px;
  height: 190px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-frame img { width: 100%; height: 100%; object-fit: contain; }
.qr-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 6px;
}
.qr-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 8px;
}
.qr-desc {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.5;
  margin-bottom: 18px;
}
.qr-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--clay);
}
.qr-note {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-mid);
  line-height: 1.5;
  margin-bottom: 18px;
}

/* ── KARTE (Madagaskar-Silhouette) ──────────── */
.map-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.map-intro .section-intro { margin-bottom: 0; }
.map-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
.map-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 32px rgba(28,61,50,0.22));
}
/* Standort-Pin – Position bei Bedarf über left/top anpassen */
.map-pin {
  position: absolute;
  left: 51%;
  top: 42%;
}
.map-pin-dot {
  position: absolute;
  left: -7px; top: -7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--clay);
  border: 3px solid var(--sand);
  box-shadow: 0 0 0 2px var(--clay);
}
.map-pin-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--clay);
  animation: mapPulse 2.4s ease-out infinite;
}
@keyframes mapPulse {
  0%   { transform: scale(0.7); opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}
.map-pin-label {
  position: absolute;
  left: 16px; top: -11px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(246,239,226,0.85);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 6px;
}
@media (max-width: 760px) {
  .map-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* ── FOOTER ─────────────────────────────────── */
footer {
  /* Nur durchscheinende Tönung -> das eine fixe Hintergrundfoto schimmert durch */
  background: rgba(20,43,35,0.74);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 56px 24px;
  font-size: 14px;
}
footer a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.35s;
}
footer a:hover { color: var(--gold-soft); }
.footer-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.footer-name .logo-mark { color: var(--gold-soft); }
.footer-links {
  display: flex;
  gap: 26px;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
}

/* ── SCROLL-ANIMATIONEN ─────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll { animation: none; }
  .map-pin-dot::after { animation: none; }
}

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .facts-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .blog-card { grid-template-columns: 1fr; }
  .blog-visual { min-height: 200px; }
}

@media (max-width: 480px) {
  nav { padding: 0 18px; }
  .section { padding: 70px 20px; }
  .nav-logo { font-size: 18px; }
}
