/* Neue Fassung (17.08.): Hero mit Spiral-Bühne + Video-Kachel,
   danach die Weiche mit beiden Spendenzwecken.
   Gilt nur für index-neu.html — die alte Seite bleibt unberührt. */

/* ============================================================
   1 · HERO — Spirale als Bühne, Inhalt davor
   ============================================================ */
.hero2 {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--palm);          /* steht sofort, bevor die Spirale lädt */
  padding: 5.5rem 0 3rem;
}

/* Die Spiral-Bühne füllt den Hero und liegt ganz hinten */
.hero2 .sp-stage {
  position: absolute;
  inset: 0;
  height: 100%;
  z-index: 0;
}

/* Schleier: dämpft die Spirale, damit die Schrift ruhig lesbar bleibt.
   Links dichter (dort steht der Text), rechts offener (dort die Kachel). */
.hero2-schleier {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;   /* sonst käme die Maus nie bis zur Spirale */
  /* Nur so viel Schleier, wie die Schrift zum Lesen braucht: links ein
     schmaler dichter Streifen hinter dem Text, der Rest bleibt offen —
     die Spirale ist der Hauptdarsteller, nicht Tapete. */
  background:
    linear-gradient(100deg, rgba(15, 39, 33, .96) 0%, rgba(15, 39, 33, .9) 30%, rgba(15, 39, 33, .5) 44%, rgba(15, 39, 33, .08) 60%, rgba(15, 39, 33, .04) 100%),
    linear-gradient(to bottom, rgba(15, 39, 33, .45) 0%, transparent 18%, transparent 80%, rgba(15, 39, 33, .72) 100%);
}

/* Die Schrift steht vor einer bewegten Fläche — ein weicher Schatten hält
   sie auch dann ruhig lesbar, wenn eine helle Karte dahinter vorbeizieht. */
.hero2-text h1, .hero2-text .usp, .hero2-text .bism, .hero2-text .eyebrow {
  text-shadow: 0 2px 22px rgba(10, 26, 22, .75);
}

/* Der Text steht jetzt allein im Hero — das Video ist eine eigene Sektion
   darunter. Deshalb nur eine schmale Spalte links, damit die Spirale
   rechts frei atmen kann. */
/* Die ganze Inhaltsebene liegt über der Spirale und fing die Maus ab —
   dadurch reagierte links unter der Schrift keine Karte. Gemessen war der
   Übeltäter NICHT der Textblock, sondern dieser äußere Container: er ist
   volle Breite und volle Höhe. Er lässt den Zeiger jetzt durch; nur was
   angeklickt werden soll, nimmt ihn wieder an. */
.hero2-inhalt {
  position: relative;
  z-index: 2;
  width: 100%;
  pointer-events: none;
}
.hero2-text { max-width: 40rem; }
/* Am Rechner sind Kopf und Rest ein durchgehender Block — die Trennung
   dient nur der Handy-Reihenfolge. */
.hero2-kopf, .hero2-rest { max-width: 40rem; }
.hero2-wege, .hero2-weg, .hero2-text a { pointer-events: auto; }

/* Scroll-Hinweis: die Bühne pinnt, der Nutzer soll wissen, dass es weitergeht */
.hero2-weiter {
  position: absolute;
  left: 50%; bottom: 2.2rem;
  transform: translateX(-50%);
  z-index: 3;
  font: 500 .62rem var(--mono);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, .5);
  padding-bottom: 26px;
}
.hero2-weiter::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 1px; height: 18px;
  background: linear-gradient(to bottom, rgba(250, 247, 240, .5), transparent);
  animation: spWeiter 1.9s ease-in-out infinite;
}
@keyframes spWeiter {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50% { transform: translateY(7px); opacity: 1; }
}

/* ---- Videoblock unter dem Hero ---- */
.videoblock {
  background: var(--palm);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.videoblock-inhalt {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.videoblock-text .eyebrow { color: var(--gold); }
.videoblock-text h2 { color: var(--ivory); margin: .5rem 0 .9rem; }
.videoblock-text .lead { color: rgba(250, 247, 240, .78); margin: 0 0 1rem; max-width: 44ch; }
.videoblock-hinweis {
  font: 500 .68rem var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, .5);
  margin: 0;
}
/* Zwei Kacheln nebeneinander: links die echte Aufnahme aus dem Dorf,
   rechts das Beispielobjekt. Bewusst gleich groß — der Unterschied steht
   in der Beschriftung, nicht in der Wichtigkeit. */
.videoblock-kacheln {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.videoblock-kacheln .hero2-kachel { width: min(230px, 40vw); }
.kachel-bu {
  font: 400 .8rem/1.45 var(--sans);
  color: rgba(250, 247, 240, .7);
  margin: .7rem 0 0;
  text-align: center;
}
.kachel-marke {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 3;
  font: 600 .6rem var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #26200E;
  background: rgba(232, 200, 120, .95);
  padding: 4px 9px;
  border-radius: 999px;
}

@media (max-width: 820px) {
  .videoblock-inhalt { grid-template-columns: 1fr; }
  .videoblock-kacheln { justify-content: center; }
}
@media (max-width: 560px) {
  /* Nebeneinander wären beide zu schmal, um etwas zu erkennen */
  .videoblock-kacheln { flex-direction: column; align-items: center; gap: 1.6rem; }
  .videoblock-kacheln .hero2-kachel { width: min(280px, 74vw); }
}

.hero2-text .bism {
  display: block;
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: .9;
}
.hero2-text .eyebrow { color: var(--gold); }
.hero2-text h1 {
  color: var(--ivory);
  font: 500 clamp(2.5rem, 5.4vw, 4.3rem)/1.06 var(--serif);
  margin: .6rem 0 1.2rem;
  letter-spacing: -.01em;
}
.hero2-text h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero2-text .usp {
  font: 400 clamp(1rem, 1.45vw, 1.16rem)/1.62 var(--sans);
  color: rgba(250, 247, 240, .82);
  max-width: 46ch;
  margin: 0 0 1.8rem;
}
.hero2-text .usp strong { color: var(--ivory); font-weight: 600; }

/* Die Frage steht schon im Hero, wörtlich wie unten in der Sektion —
   der Nutzer soll nicht zweimal etwas anderes gefragt werden. */
.hero2-frage {
  font: 500 1.02rem var(--sans);
  color: var(--ivory);
  margin: 0 0 .8rem;
  opacity: .92;
}

/* Die zwei Wege stehen schon im Hero — der Nutzer sieht sofort,
   dass es zwei Dinge gibt, und muss dafür nicht scrollen. */
.hero2-wege {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.8rem;
}
.hero2-weg {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 20px 13px 15px;
  border-radius: 999px;
  border: 1px solid rgba(250, 247, 240, .26);
  background: rgba(250, 247, 240, .05);
  color: var(--ivory);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  font: 500 .95rem var(--sans);
  transition: background .25s, border-color .25s, transform .25s;
}
.hero2-weg:hover { background: rgba(250, 247, 240, .12); border-color: var(--gold); transform: translateY(-2px); }
.hero2-weg b { font-weight: 600; display: block; }
.hero2-weg span {
  display: block;
  font: 400 .74rem var(--sans);
  color: rgba(250, 247, 240, .62);
  margin-top: 1px;
}
.hero2-weg .ico {
  width: 34px; height: 34px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(192, 160, 80, .16);
  border: 1px solid rgba(192, 160, 80, .4);
}
.hero2-weg .ico svg { width: 17px; height: 17px; }
.hero2-weg.stark { background: var(--gold); border-color: var(--gold); color: #26200E; }
.hero2-weg.stark span { color: rgba(38, 32, 14, .7); }
.hero2-weg.stark .ico { background: rgba(38, 32, 14, .12); border-color: rgba(38, 32, 14, .25); }
.hero2-weg.stark:hover { background: #D4B468; }

.hero2 .proof { border-top: 1px solid rgba(250, 247, 240, .16); padding-top: 1.1rem; }
.hero2 .proof .hp { color: rgba(250, 247, 240, .72); }
.hero2 .proof .hp svg { stroke: var(--gold); }

/* ---- Video-Kachel: Hochformat, nahe der nativen Auflösung ----
   Die Quellen sind 352×640. Deshalb wird die Kachel bewusst NICHT
   formatfüllend gezeigt: bei ~330 px Breite ist das Bild scharf,
   hochgerechnet wäre es matschig. */
.hero2-kachel {
  position: relative;
  justify-self: center;
  width: min(360px, 80vw);
}
.hero2-rahmen {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 352 / 640;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 0 1px rgba(250, 247, 240, .14);
}
.hero2-rahmen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero2-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, .12));
  cursor: pointer;
  transition: opacity .3s;
}
.hero2-start[hidden] { display: none; }
.hero2-start i {
  width: 66px; height: 66px;
  border-radius: 50%;
  background: rgba(250, 247, 240, .95);
  display: grid; place-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .4);
  transition: transform .25s;
}
.hero2-start:hover i { transform: scale(1.08); }
.hero2-start svg { width: 24px; height: 24px; margin-left: 4px; fill: var(--palm); }
.hero2-start em {
  position: absolute;
  bottom: 20px; left: 0; right: 0;
  text-align: center;
  font: 500 .78rem var(--sans);
  font-style: normal;
  color: rgba(250, 247, 240, .9);
}
.hero2-bu {
  font: 400 .78rem/1.5 var(--sans);
  color: rgba(250, 247, 240, .6);
  text-align: center;
  margin: .9rem 0 0;
}

@media (max-width: 900px) {
  /* Auf dem Handy müssen Video UND Botschaft zusammen auf den ersten
     Bildschirm passen — sonst sieht der Nutzer nur ein Video und weiß
     nicht, worum es geht. Deshalb kleinere Kachel und engere Abstände. */
  .hero2 { padding: 4.6rem 0 2rem; }
  .hero2-kachel { width: min(300px, 76vw); }
  .hero2-bu { font-size: .72rem; margin-top: .6rem; }
  .hero2-text .bism { font-size: .92rem; margin-bottom: .5rem; }
  .hero2-text h1 { font-size: clamp(1.85rem, 8.2vw, 2.5rem); margin: .4rem 0 .8rem; }
  .hero2-text .usp { font-size: .93rem; margin-bottom: 1.2rem; }
  .hero2 .proof { display: none; }        /* die Punkte stehen gleich darunter in der Vertrauensleiste */
  .hero2-schleier {
    background:
      linear-gradient(to bottom, rgba(15, 39, 33, .7) 0%, rgba(15, 39, 33, .5) 32%, rgba(15, 39, 33, .9) 78%, var(--palm) 100%);
  }
  .hero2-wege { flex-direction: column; align-items: stretch; gap: 9px; }
  .hero2-weg { padding: 11px 16px 11px 13px; }
}

/* ============================================================
   2 · DIE WEICHE — beide Spendenzwecke gleichrangig
   ============================================================ */
.weiche-kopf { text-align: center; max-width: 62ch; margin: 0 auto 2.4rem; }
.weiche-kopf .lead { margin-left: auto; margin-right: auto; }

/* Zwei Schalter statt zwei gleichzeitiger Karten — ein Ding auf einmal. */
.zweckwahl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 44rem;
  margin: 0 auto 1.6rem;
}
.zweckwahl button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  text-align: left;
  transition: border-color .25s, background .25s, transform .25s, box-shadow .25s;
}
.zweckwahl button b {
  display: block;
  font: 600 1rem var(--sans);
  color: var(--deep);
}
.zweckwahl button span {
  display: block;
  font: 400 .78rem var(--sans);
  color: var(--mut);
  margin-top: 2px;
}
.zweckwahl button:hover { border-color: var(--gold); transform: translateY(-2px); }
.zweckwahl button.on {
  background: var(--palm);
  border-color: var(--palm);
  box-shadow: var(--shadow-card);
}
.zweckwahl button.on b { color: var(--ivory); }
.zweckwahl button.on span { color: rgba(250, 247, 240, .7); }

/* Nur eine Karte ist sichtbar; die Umschaltung blendet weich. */
.weiche { display: block; }
.weiche .zweck[hidden] { display: none; }
.weiche .zweck {
  max-width: 44rem;
  margin: 0 auto;
  animation: zweckAuf .45s ease both;
}
@keyframes zweckAuf {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.zweck {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
}
.zweck:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

/* Der Bau steht auf dunklem Grund, die Pakete auf hellem — die beiden
   Zwecke sollen auf einen Blick unterscheidbar sein, nicht als Zwillinge
   nebeneinander stehen. */
.zweck.bau { background: var(--palm); border-color: var(--palm-deep); color: var(--ivory); }

/* Die Beispielfotos der Moschee sind 1200×560, also flacher als 16:9. Bei
   einem 16:9-Rahmen schnitt `object-fit: cover` seitlich ab — und beim
   zweiten Bild fiel genau dadurch DER LADEN heraus, also das Motiv, um das
   es geht. Der Rahmen hat jetzt dasselbe Verhältnis wie die Bilder. */
.zweck-bild { position: relative; aspect-ratio: 1200 / 560; overflow: hidden; }
/* Die Paket-Karte behält 16:9 — ihr Bild ist 4:3 und wird dort bewusst
   beschnitten, dabei geht nichts Wesentliches verloren. */
.zweck.paket .zweck-bild { aspect-ratio: 16 / 9; }
.zweck-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zweck-bild::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 39, 33, .78), transparent 62%);
}
.zweck-marke {
  position: absolute;
  left: 1.3rem; bottom: 1rem;
  z-index: 2;
  font: 600 .64rem var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Beispielfoto-Merkzeichen. Muss auffallen: ohne den Hinweis hält jeder
   Betrachter das Bild für unseren eigenen Baufortschritt. */
.zweck-beispiel, .ka-beispiel {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 3;
  font: 600 .66rem var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #26200E;
  background: rgba(232, 200, 120, .95);
  padding: 5px 11px;
  border-radius: 999px;
  pointer-events: none;
}

/* Weiterblättern zwischen den Beispielfotos */
.zweck-blaettern {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(250, 247, 240, .92);
  color: var(--deep);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
  transition: background .25s, transform .2s;
}
.zweck-blaettern:hover { background: #fff; }
.zweck-blaettern:active { transform: translateY(-50%) scale(.93); }
.zweck-blaettern svg { width: 20px; height: 20px; }

.zweck-bu {
  position: absolute;
  right: 1.2rem; bottom: 1rem;
  z-index: 2;
  font: 400 .78rem var(--sans);
  color: rgba(250, 247, 240, .82);
  text-align: right;
  max-width: 55%;
}

.zweck-text { padding: 1.5rem 1.5rem 0; flex: 1; }
.zweck h3 {
  font: 500 clamp(1.5rem, 2.4vw, 1.95rem)/1.15 var(--serif);
  margin: 0 0 .5rem;
}
.zweck.bau h3 { color: var(--ivory); }
.zweck-satz {
  font: 400 .95rem/1.6 var(--sans);
  color: var(--body);
  margin: 0 0 1.1rem;
}
.zweck.bau .zweck-satz { color: rgba(250, 247, 240, .78); }

/* Der eine Satz, der die beiden Zwecke unterscheidet */
.zweck-natur {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 .72rem var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.zweck.bau .zweck-natur { background: rgba(192, 160, 80, .18); color: var(--gold); }
.zweck.paket .zweck-natur { background: var(--palm-tint); color: var(--palm-deep); }

.zweck-fakten { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.zweck-fakten li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font: 400 .88rem var(--sans);
  padding: .55rem 0;
  border-top: 1px solid var(--line);
  color: var(--body);
}
.zweck.bau .zweck-fakten li { border-top-color: rgba(250, 247, 240, .16); color: rgba(250, 247, 240, .74); }
.zweck-fakten b { font-weight: 600; color: var(--deep); font-variant-numeric: tabular-nums; }
.zweck.bau .zweck-fakten b { color: var(--ivory); }

/* Fortschritt nur beim Bau — die Pakete haben kein Ende */
.zweck-balken {
  height: 5px;
  border-radius: 3px;
  background: rgba(250, 247, 240, .16);
  overflow: hidden;
  margin-bottom: .5rem;
}
.zweck-balken i { display: block; height: 100%; background: var(--gold); border-radius: 3px; }
.zweck-stand {
  font: 400 .78rem var(--sans);
  color: rgba(250, 247, 240, .62);
  margin: 0 0 1.2rem;
}

/* Soforteinstieg: drei Beträge + Weiterknopf */
.zweck-fuss { padding: 0 1.5rem 1.5rem; }
.zweck-schnell {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.zweck-schnell button {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 11px 4px;
  cursor: pointer;
  font: 600 .95rem var(--serif);
  color: var(--deep);
  transition: border-color .2s, background .2s, color .2s;
}
.zweck.bau .zweck-schnell button { border-color: rgba(250, 247, 240, .24); color: var(--ivory); }
.zweck-schnell button:hover { border-color: var(--gold); }
.zweck-schnell button.on { background: var(--gold); border-color: var(--gold); color: #26200E; }
.zweck-schnell small {
  display: block;
  font: 400 .66rem var(--sans);
  opacity: .68;
  margin-top: 2px;
}
.zweck-los {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font: 600 .95rem var(--sans);
  text-decoration: none;
  transition: filter .2s;
}
.zweck.bau .zweck-los { background: var(--gold); color: #26200E; }
.zweck.paket .zweck-los { background: var(--palm); color: var(--ivory); }
.zweck-los:hover { filter: brightness(1.08); }
.zweck-mehr {
  display: block;
  text-align: center;
  margin-top: 10px;
  font: 400 .82rem var(--sans);
  color: var(--mut);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.zweck.bau .zweck-mehr { color: rgba(250, 247, 240, .6); }
.zweck-mehr:hover { color: var(--gold); }

@media (max-width: 820px) {
  .weiche { grid-template-columns: 1fr; }
}

/* ============================================================
   3 · VOR ORT — Videos in voller Länge, volles Bild
   ============================================================ */
.vorort {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}
.vo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  /* Volles Hochformat der Quelle — kein 3:4-Beschnitt mehr */
  aspect-ratio: 352 / 640;
}
.vo video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.vo-start {
  position: absolute; inset: 0;
  border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1));
}
.vo-start[hidden] { display: none; }
.vo-start i {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(250, 247, 240, .94);
  display: grid; place-items: center;
}
.vo-start svg { width: 20px; height: 20px; margin-left: 3px; fill: var(--palm); }
.vo-titel {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 2;
  pointer-events: none;
  font: 500 .82rem/1.4 var(--sans);
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
}
.vo-dauer {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  font: 500 .68rem var(--mono);
  color: #fff;
  background: rgba(0, 0, 0, .55);
  padding: 3px 8px;
  border-radius: 999px;
}
.vo-ton {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 3;
  border: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  cursor: pointer;
  display: none;
  place-items: center;
  font: 500 .8rem var(--sans);
}
.vo.laeuft .vo-ton { display: grid; }

/* ============================================================
   4 · BISHERIGE PROJEKTE — ruhiges Raster
   (die bewegte Spirale läuft jetzt im Hero, zweimal WebGL wäre
    auf dem Handy zu teuer)
   ============================================================ */
.archiv {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.archiv figure { margin: 0; position: relative; border-radius: 10px; overflow: hidden; }
.archiv img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.archiv figure:hover img { transform: scale(1.05); }
.archiv figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 10px 8px;
  font: 400 .72rem/1.35 var(--sans);
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.archiv figure:hover figcaption { opacity: 1; }

/* ============================================================
   4b · TRANSPARENZ-RECHNER — Regler statt fester Animation
   ============================================================ */
.rechner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.rechner-bild svg { width: 100%; height: auto; display: block; }
.rechner-anteil {
  text-align: center;
  font: 400 .84rem var(--sans);
  color: var(--mut);
  margin: .6rem 0 0;
}
.rechner-anteil b {
  display: block;
  font: 600 1.9rem var(--serif);
  color: var(--deep);
  font-variant-numeric: tabular-nums;
}

.rechner-label {
  display: block;
  font: 500 .68rem var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .3rem;
}
.rechner-zahl {
  display: block;
  font: 600 clamp(2.6rem, 6vw, 3.8rem)/1 var(--serif);
  color: var(--deep);
  font-variant-numeric: tabular-nums;
  margin-bottom: 1rem;
}

/* Regler: in beiden Engines gleich aussehend, deshalb beide Schreibweisen */
.rechner-regler {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--gold) 0%, var(--gold) var(--fuell, 2%), var(--line) var(--fuell, 2%), var(--line) 100%);
  outline: none;
  cursor: pointer;
}
.rechner-regler::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--palm);
  border: 3px solid #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .28);
  cursor: grab;
}
.rechner-regler::-webkit-slider-thumb:active { cursor: grabbing; }
.rechner-regler::-moz-range-thumb {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--palm);
  border: 3px solid #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .28);
  cursor: grab;
}
.rechner-marken {
  display: flex;
  justify-content: space-between;
  font: 400 .68rem var(--mono);
  color: var(--mut);
  margin: .5rem 0 1.2rem;
}

.rechner-satz {
  font: 400 1rem/1.55 var(--sans);
  color: var(--body);
  margin: 0 0 1.1rem;
  min-height: 3.1em;
}
.rechner-satz b { color: var(--deep); font-weight: 600; }

.rechner-teile { list-style: none; margin: 0 0 1.1rem; padding: 0; }
.rechner-teile li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .6rem 1rem;
  align-items: center;
  padding: .5rem 0;
  border-top: 1px solid var(--line);
  font: 400 .88rem var(--sans);
  color: var(--body);
}
.rechner-teile b { font-weight: 600; color: var(--deep); font-variant-numeric: tabular-nums; }
.rechner-teile i {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 2px;
  background: var(--palm-tint);
  overflow: hidden;
  display: block;
}
.rechner-teile i > span {
  display: block;
  height: 100%;
  background: var(--palm);
  border-radius: 2px;
  transition: width .35s ease;
}

.rechner-fuss {
  font: 400 .76rem/1.5 var(--sans);
  color: var(--mut);
  margin: 0 0 1.2rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}
.rechner-los { display: inline-block; }

@media (max-width: 860px) {
  .rechner { grid-template-columns: 1fr; }
  .rechner-bild { max-width: 320px; margin: 0 auto; }
}

/* ============================================================
   4c · DIE GESCHICHTE — als gescrollter Weg mit Fortschrittslinie
   ============================================================ */
.weg { position: relative; padding-left: 2.6rem; }
.weg::before {
  content: "";
  position: absolute;
  left: 9px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--line);
}
/* Der gefüllte Teil wächst beim Scrollen mit — gesetzt von neu.js */
.weg-fuellung {
  position: absolute;
  left: 9px; top: 8px;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--gold), var(--palm));
  border-radius: 1px;
}
.weg .chapter { position: relative; }
.weg .chapter::before {
  content: "";
  position: absolute;
  left: -2.6rem; top: .55rem;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  transition: border-color .4s ease, background .4s ease, transform .4s ease;
}
.weg .chapter.erreicht::before {
  border-color: var(--gold);
  background: var(--gold);
  transform: scale(1.15);
}
@media (max-width: 700px) {
  .weg { padding-left: 1.9rem; }
  .weg::before, .weg-fuellung { left: 6px; }
  .weg .chapter::before { left: -1.9rem; width: 15px; height: 15px; }
}

/* ============================================================
   5 · DIE AUSWAHL — beide Spendenkästchen nebeneinander
   Steht seit 17.08. OBEN im dritten Abschnitt, nicht mehr am Seitenende.
   ============================================================ */
.entscheidung {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: start;
}
@media (max-width: 980px) {
  .entscheidung { grid-template-columns: 1fr; }
}

/* Wer oben oder unten auf einen der zwei Wege tippt, landet hier — dieses
   kurze Aufleuchten sagt, welches der beiden Kästchen gemeint war. */
.donate.hebt {
  animation: dnHebt 1.8s ease;
}
@keyframes dnHebt {
  0%, 100% { box-shadow: var(--shadow-card); }
  18%, 62% { box-shadow: 0 0 0 3px var(--gold), 0 12px 40px rgba(192, 160, 80, .3); }
}

/* Abschluss am Seitenende: verweist auf die eine Auswahl weiter oben */
.abschluss-wege {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 1.6rem;
}
.abschluss-wege .hero2-weg {
  border-color: var(--line);
  background: #fff;
  color: var(--deep);
}
.abschluss-wege .hero2-weg span span { color: var(--mut); }
.abschluss-wege .hero2-weg .ico {
  background: var(--palm-tint);
  border-color: rgba(30, 91, 69, .2);
  color: var(--palm);
}
.abschluss-wege .hero2-weg:hover { border-color: var(--gold); }
.abschluss-wege .hero2-weg.stark {
  background: var(--palm);
  border-color: var(--palm);
  color: var(--ivory);
}
.abschluss-wege .hero2-weg.stark span span { color: rgba(250, 247, 240, .72); }
.abschluss-wege .hero2-weg.stark .ico {
  background: rgba(250, 247, 240, .14);
  border-color: rgba(250, 247, 240, .3);
  color: var(--gold);
}
@media (max-width: 620px) {
  .abschluss-wege { flex-direction: column; }
}

/* Mobile Leiste: beide Zwecke erreichbar, nicht nur einer */
.leiste2 {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: none;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 247, 240, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .35s ease;
}
.leiste2.show { transform: translateY(0); }
.leiste2 a {
  flex: 1;
  text-align: center;
  padding: 12px 6px;
  border-radius: 10px;
  text-decoration: none;
  font: 600 .85rem var(--sans);
}
.leiste2 .bau { background: var(--palm); color: var(--ivory); }
.leiste2 .paket { background: var(--gold); color: #26200E; }
@media (max-width: 820px) {
  .leiste2 { display: flex; }
  body { padding-bottom: 4.5rem; }
}
