/* =========================================================
   Events4Good e.V. – Stylesheet
   Grundlage: Styleguide + XD-Design-Tokens vom 29.10.2026
   ========================================================= */

/* Schriften lokal eingebunden (DSGVO: keine Verbindung zu Google) */
@font-face { font-family: 'Merriweather Sans'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('../fonts/merriweathersans-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Merriweather Sans'; font-style: italic; font-weight: 300 800; font-display: swap; src: url('../fonts/merriweathersans-300-italic.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/lora-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/lora-400-italic.woff2') format('woff2'); }

:root {
  /* Markenfarben (vereinheitlicht laut Styleguide) */
  --orange: #FF5E33;
  --lila: #9382FF;
  --gelb: #D7CA09;
  --gruen: #94B650;
  --gruen-hell: #89D27A;
  --text-dunkel: #2D3035;
  --schwarz: #000000;
  --weiss: #FFFFFF;

  /* Flächenfarben */
  --flaeche-lila: #E7E5F7;
  --flaeche-lila-2: #F3F2FB;
  --flaeche-lila-3: #C6C2F8;
  --flaeche-gruen: #D4F8C5;
  --flaeche-gruen-50: #D4F8C580;
  --flaeche-rosa: #FDF2F2;
  --rosa: #FFACB1;
  --grau-linie: #D8D6D6;

  --font: 'Merriweather Sans', Arial, sans-serif;
  --font-akzent: 'Lora', Georgia, serif;

  --max: 1400px;
  --gutter: clamp(16px, 3vw, 44px);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--schwarz);
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
strong { font-weight: 400; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--lila); color: #fff; padding: 8px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Typografie (benannte Stile aus XD) ---------- */
.h1-slider { font-style: italic; font-weight: 300; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.2; color: var(--lila); margin: 0; }
.h1-slider .zeile-2 { display: block; font-weight: 300; }
.h1-slider .zeile-1 { display: block; font-weight: 400; }
.h2-sektion { font-style: italic; font-weight: 300; font-size: clamp(28px, 3vw, 36px); line-height: 1.28; color: var(--text-dunkel); margin: 0 0 .5em; }
.h2-kursiv { font-style: italic; font-weight: 300; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; color: var(--text-dunkel); margin: 0 0 .6em; }
.h3-intro { font-style: italic; font-weight: 300; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.42; color: var(--text-dunkel); margin: 0 0 1em; }
.text-hervorgehoben { font-size: 18px; line-height: 1.55; }
.fliesstext { font-size: 14px; line-height: 1.72; }
.kleintext { font-size: 12px; line-height: 1.6; }
.bildunterschrift { font-size: 11px; line-height: 1.5; color: #555; margin-top: 6px; }
.akzent { font-family: var(--font-akzent); }

.c-orange { color: var(--orange); }
.c-lila { color: var(--lila); }
.c-gruen { color: var(--gruen-hell); }

/* Textlinks: kursiv, farbig unterstrichen */
.link-u { font-style: italic; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1.5px; background-position: 0 100%; background-repeat: no-repeat; }
/* Wort und Unterstrich in derselben Farbe; bei Mouse-Over beides fett */
.link-u.u-gruen { color: var(--gruen-hell); background-image: linear-gradient(var(--gruen-hell), var(--gruen-hell)); }
.link-u.u-orange { color: var(--orange); background-image: linear-gradient(var(--orange), var(--orange)); }
.link-u.u-gelb { color: var(--gelb); background-image: linear-gradient(var(--gelb), var(--gelb)); }
.link-u:hover, .link-u:focus-visible { font-weight: 700; background-size: 100% 3px; }

.link-aktion { display: inline-block; font-size: 14px; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
.link-aktion:hover { text-decoration-thickness: 2px; }

/* Button „mehr erfahren": Pill, lila Rahmen */
.btn-pill { display: inline-block; padding: 7px 18px; border: 1.5px solid var(--lila); border-radius: 999px; color: var(--lila); font-style: italic; font-size: 14px; text-decoration: none; background: rgba(255,255,255,.35); transition: background .2s, color .2s; }
.btn-pill:hover, .btn-pill:focus-visible { background: var(--lila); color: #fff; }

/* ---------- Header / Navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.logo img { width: 150px; height: auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 3.4vw, 54px); }
.main-nav a { color: var(--orange); text-decoration: none; font-size: 15px; font-weight: 400; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: inline-block; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current="page"] { border-bottom-color: var(--orange); }
.subnav { list-style: none; margin: 0; padding: 10px 0; position: absolute; left: -16px; top: 100%; min-width: 230px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(45,48,53,.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.main-nav li:hover > .subnav, .main-nav li:focus-within > .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a { display: block; padding: 6px 16px; font-size: 14px; font-weight: 300; }
.subnav a:hover { background: var(--flaeche-rosa); }

.social { display: grid; grid-template-columns: repeat(2, 24px); gap: 5px; }
.social a { width: 24px; height: 24px; border: 1.3px solid var(--orange); border-radius: 50%; display: grid; place-items: center; color: var(--orange); transition: background .2s, color .2s; }
.social a[href]:hover { background: var(--orange); color: #fff; }
.social svg { width: 12px; height: 12px; fill: currentColor; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-dunkel); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; border-radius: var(--radius); overflow: hidden; min-height: clamp(380px, 41vw, 570px); display: flex; align-items: center; background: var(--flaeche-lila) center/cover no-repeat; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero > img.gespiegelt { transform: scaleX(-1); }
.hero-text { position: relative; z-index: 1; padding: 40px clamp(24px, 4vw, 64px); max-width: 880px; }
.hero-text .btn-pill { margin-top: 28px; }
/* Text nur in der linken Bildhälfte (Motiv rechts) */
/* Desktop/Tablet: Text auf allen Seiten nur in der linken Bildhälfte, damit Gesichter und Motiv frei bleiben */
@media (min-width: 761px) { .hero-text, .hero-text--halb { max-width: min(560px, 46%); } .hero-text--titel { max-width: min(660px, 54%); } }
.hero-zitat { font-style: italic; font-weight: 300; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.32; margin: 0; }
.hero-quelle { font-size: 12px; margin-top: 18px; }
.hero--dunkel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,0) 80%); }
.hero--dunkel .hero-text { z-index: 2; color: #fff; }
.hero--hell::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 60%); }
.hero--hell .hero-text { z-index: 2; }
/* Text oben im Bild (z. B. Skateboard-Motiv auf "Wer wir sind"), damit Gesichter frei bleiben */
@media (min-width: 761px) { .hero--oben { align-items: flex-start; } .hero--oben .hero-text { max-width: none; } }
/* Zeilenumbruch nur auf Desktop/Tablet erzwingen */
@media (max-width: 760px) { br.nur-desktop { display: none; } }

/* ---------- Sektionen ---------- */
.section { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); }
.section--eng { padding-top: 20px; padding-bottom: 20px; }
.section--gruen { background: var(--flaeche-gruen-50); }
.section--lila { background: var(--flaeche-lila-2); }
.section--rosa { background: var(--flaeche-rosa); }
.lead { max-width: 1200px; }

.intro-text { font-style: italic; font-size: clamp(16px, 1.45vw, 18px); line-height: 1.75; color: var(--text-dunkel); margin: 28px 0 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 44px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.spalten-2 { columns: 2; column-gap: clamp(24px, 3vw, 48px); }
.spalten-2 p { break-inside: avoid; }

/* Karten mit farbigem Rahmen */
.karte { border: 1.5px solid var(--lila); border-radius: var(--radius); padding: 22px 26px; background: #fff; }
.karte--orange { border-color: var(--orange); }
.karte--lila-flaeche { background: var(--flaeche-lila); border-color: var(--flaeche-lila); }
.karte--weiss { background: #fff; border-color: #fff; }
.karte--rosa { background: var(--flaeche-rosa); border-color: var(--flaeche-rosa); }
.karte h3 { font-style: italic; font-weight: 400; font-size: 19px; margin: 0 0 8px; }
.karte-mit-bild { display: flex; align-items: center; gap: 22px; justify-content: space-between; }
.karte-mit-bild .rund { flex: 0 0 auto; width: 104px; height: 104px; border-radius: 50%; overflow: hidden; border: 4px solid var(--rosa); }
.karte-mit-bild .rund img { width: 100%; height: 100%; object-fit: cover; }
.karte-mit-bild .ph--rund { flex: 0 0 auto; width: 104px; height: 104px; }
/* Runde Grafiken bringen ihren farbigen Ring selbst mit */
.karte-mit-bild .rund-bild { flex: 0 0 auto; width: 118px; height: 118px; }
.karte-mit-bild .rund-bild-link { flex: 0 0 auto; display: block; border-radius: 50%; transition: transform .2s; }
.karte-mit-bild .rund-bild-link:hover, .karte-mit-bild .rund-bild-link:focus-visible { transform: rotate(-6deg) scale(1.04); }

/* Werte-Kacheln (Hover zeigt Text) */
.kachel { position: relative; min-height: 180px; border-radius: var(--radius); background: var(--flaeche-gruen); overflow: hidden; cursor: pointer; border: 0; padding: 0; font: inherit; text-align: left; }
.kachel-front, .kachel-back { position: absolute; inset: 0; padding: 24px; transition: opacity .3s, transform .3s; }
.kachel-front { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.kachel-front img { width: 42px; }
.kachel-front span { font-style: italic; font-size: clamp(22px, 2vw, 26px); color: var(--orange); }
.kachel-back { opacity: 0; transform: translateY(10px); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 14.5px; line-height: 1.65; color: var(--schwarz); }
.kachel:hover .kachel-front, .kachel:focus-visible .kachel-front, .kachel.offen .kachel-front { opacity: 0; transform: translateY(-10px); }
.kachel:hover .kachel-back, .kachel:focus-visible .kachel-back, .kachel.offen .kachel-back { opacity: 1; transform: none; }

/* Aktuelles-Galerie */
.galerie { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-radius: 4px; overflow: hidden; }
.galerie a { aspect-ratio: 3 / 4; overflow: hidden; display: block; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.galerie a:hover img { transform: scale(1.05); }

/* Bild-Slider: Querformat 3:2 pro Slide, Hochkant-Bilder paarweise (2 × 3:4 ≈ 3:2) */
.slider { position: relative; }
.slider-spur { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; touch-action: pan-x; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.slider-spur::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.slide-bilder { margin: 0; }
/* Höhe = Hero-Bild oben (gleiche clamp-Formel), damit der Slider nicht größer ist */
.slide img { width: 100%; height: clamp(380px, 41vw, 570px); object-fit: cover; border-radius: var(--radius); display: block; }
.slide .bildunterschrift { text-align: right; min-height: 1.5em; }
.slide--paar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.slide--paar img { height: clamp(380px, 41vw, 570px); }
.slide--paar .slide-bilder:first-child .bildunterschrift { text-align: left; }
.slider-pfeil { position: absolute; z-index: 2; top: calc(50% - 34px); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--orange); font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 4px; box-shadow: 0 2px 10px rgba(0,0,0,.15); transition: background .2s, color .2s; }
.slider-pfeil:hover, .slider-pfeil:focus-visible { background: var(--orange); color: #fff; }
.slider-pfeil--zurueck { left: 14px; }
.slider-pfeil--weiter { right: 14px; }
.slider-pfeil[disabled] { opacity: 0; pointer-events: none; }
.slider [hidden] { display: none; }
.slider-punkte { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.slider-punkte button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: var(--grau-linie); cursor: pointer; }
.slider-punkte button[aria-selected="true"] { background: var(--orange); }

/* Sponsoren-Logos */
/* Logo-Slider ohne Automatik: bewegt sich nur per Pfeil-Klick oder Wischen.
   Breite je Logo (--w) nach Seitenverhältnis, damit alle gleich groß wirken. */
.logo-klick { position: relative; padding: 0 56px; }
.logo-klick-spur { display: flex; align-items: center; gap: 72px; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; touch-action: pan-x; scroll-behavior: smooth; scroll-snap-type: x proximity; scrollbar-width: none; padding: 10px 0; }
.logo-klick-spur::-webkit-scrollbar { display: none; }
.logo-klick-spur a { flex: 0 0 auto; display: block; scroll-snap-align: start; }
.logo-klick-spur img { width: var(--w); height: auto; display: block; transition: opacity .2s; }
.logo-klick-spur a:hover img, .logo-klick-spur a:focus-visible img { opacity: .7; }
.logo-klick .slider-pfeil { top: calc(50% - 21px); }
.logo-klick .slider-pfeil--zurueck { left: 0; }
.logo-klick .slider-pfeil--weiter { right: 0; }
.logo-klick .slider-pfeil[disabled] { opacity: .25; pointer-events: none; }
/* Alles passt nebeneinander: Pfeile ausblenden, Logos mittig */
.logo-klick.passt .slider-pfeil { display: none; }
.logo-klick.passt .logo-klick-spur { justify-content: center; }
.logo-klick-punkte { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.logo-klick-punkte button { width: 9px; height: 9px; flex: 0 0 9px; border: 0; border-radius: 50%; padding: 0; background: var(--grau-linie); cursor: pointer; }
.logo-klick-punkte button[aria-selected="true"] { background: var(--orange); }

/* Instagram: 6 ausgewählte Beiträge (lokale Vorschaubilder, Klick öffnet Instagram) */
.insta-raster { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.insta-raster a { display: block; border-radius: 12px; overflow: hidden; }
.insta-raster img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform .3s, opacity .2s; }
.insta-raster a:hover img, .insta-raster a:focus-visible img { transform: scale(1.04); opacity: .9; }
.insta-mehr { text-align: right; margin: 16px 0 0; }
@media (max-width: 1080px) { .insta-raster { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .insta-raster { grid-template-columns: repeat(2, 1fr); } }

.logo-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; align-items: center; justify-items: center; margin-top: 28px; }
.logo-raster > * { display: block; position: relative; }
.logo-raster img { width: var(--w); max-width: 100%; height: auto; transition: opacity .2s; }
.logo-raster a:hover img, .logo-raster a:focus-visible img { opacity: .7; }
.logo-raster .ph { width: 120px; height: 64px; }
/* Partner-Logos über die volle Seitenbreite */
.logo-raster--breit { grid-template-columns: repeat(5, 1fr); gap: 44px 28px; }
@media (max-width: 1080px) { .logo-raster--breit { grid-template-columns: repeat(3, 1fr); } }
.bildunterschrift a { text-decoration: underline; text-underline-offset: 2px; }
/* Partner ohne Logo: Name als Textlink */
.logo-raster .partner-text { font-style: italic; font-size: 17px; line-height: 1.35; color: var(--text-dunkel); text-align: center; text-decoration: none; transition: color .2s; }
.logo-raster .partner-text:hover, .logo-raster .partner-text:focus-visible { color: var(--orange); }
/* Logo vorhanden, aber Link fehlt */
.ph-link { outline: 1px dashed var(--gelb); outline-offset: 6px; }
.ph-link::after { content: "Link fehlt"; position: absolute; left: 50%; top: 100%; transform: translate(-50%, 9px); background: #FFF6D6; color: #6b5d00; font-size: 10px; padding: 1px 6px; border-radius: 3px; white-space: nowrap; }

/* Bild + Text Blöcke */
.bild-text { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; margin-bottom: clamp(28px, 3.5vw, 48px); }
.bild-text:last-child { margin-bottom: 0; }
.bild-text--umgekehrt .bild { order: 2; }
.bild-text .bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.bild-text .text { font-size: 14.5px; line-height: 1.75; }

/* Team */
.team-foto { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.person-name { font-style: italic; font-weight: 300; font-size: 26px; margin: 22px 0 0; color: var(--text-dunkel); }
.person-rolle { font-size: 12px; margin: 0 0 16px; }

.hinweis-box { display: flex; align-items: center; gap: 28px; border: 1.5px solid var(--lila); border-radius: var(--radius); padding: 26px 34px; }
.hinweis-box img { width: 54px; flex: 0 0 auto; }
.hinweis-box p { flex: 1; margin: 0; text-align: center; font-style: italic; color: var(--lila); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.5; }

.partner-liste { list-style: none; padding: 0; margin: 0; }
.partner-liste li { margin: 4px 0; }
.partner-liste a { text-decoration: underline; text-underline-offset: 3px; font-size: 14.5px; }

/* Listen */
.liste-nummer { padding-left: 1.3em; margin: 0; }
.liste-nummer li { margin-bottom: .55em; padding-left: .2em; }
.liste-punkt { padding-left: 1.1em; margin: 0 0 1em; }
.liste-punkt li { margin-bottom: .35em; }
.liste-punkt li::marker { color: var(--orange); }

/* Projekte */
.projekt { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 60px); row-gap: 28px; align-items: center; margin-bottom: clamp(32px, 4vw, 56px); }
.projekt:last-child { margin-bottom: 0; }
.projekt--umgekehrt { grid-template-columns: 7fr 5fr; }
.projekt--umgekehrt .bild { order: 2; }
.projekt .bild img { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 4 / 3; }
.projekt .projekt-kopf { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: -8px; }
.projekt .jahr { font-style: italic; font-weight: 300; font-size: clamp(28px, 3vw, 36px); color: var(--orange); margin: 0; }
.projekt .titel { font-style: italic; font-weight: 300; font-size: clamp(18px, 1.9vw, 22px); line-height: 1.4; color: var(--lila); margin: 4px 0 0; }
.projekt .text { font-size: 14.5px; line-height: 1.75; }
.projekt .logo-partner { margin-top: 22px; max-width: 260px; }
.projekt .spenden-stempel { flex: 0 0 auto; display: block; width: 150px; height: 150px; margin: 0; border-radius: 50%; transition: transform .2s; }
.projekt .spenden-stempel img { width: 100%; height: 100%; display: block; }
.projekt .spenden-stempel:hover, .projekt .spenden-stempel:focus-visible { transform: rotate(-6deg) scale(1.04); }
@media (max-width: 760px) { .projekt .spenden-stempel { width: 110px; height: 110px; } }
/* Spenden-Stempel als „Aufkleber“ auf der Bildecke + Flyer-Links unter dem Bild */
.projekt .bild--mit-stempel { position: relative; }
.projekt .bild--mit-stempel .spenden-stempel { position: absolute; top: -28px; right: -28px; width: 130px; height: 130px; z-index: 2; transform: rotate(8deg); }
.projekt .bild--mit-stempel .spenden-stempel:hover, .projekt .bild--mit-stempel .spenden-stempel:focus-visible { transform: rotate(0deg) scale(1.04); }
@media (max-width: 760px) { .projekt .bild--mit-stempel .spenden-stempel { width: 96px; height: 96px; top: -18px; right: -8px; } }
.projekt .flyer-link { margin: 14px 0 0; }

.zitat-akzent { font-family: var(--font-akzent); font-style: italic; }

/* Transparenz-Tabelle */
.transparenz-liste { list-style: none; counter-reset: t; margin: 0; padding: 0; }
.transparenz-liste li { counter-increment: t; padding: 12px 0 12px 38px; border-bottom: 1px solid var(--grau-linie); position: relative; font-size: 14.5px; }
.transparenz-liste li::before { content: counter(t) "."; position: absolute; left: 0; top: 12px; color: var(--orange); font-weight: 400; }
.transparenz-liste strong { display: block; font-weight: 400; }

/* Kontakt */
.kontakt-kachel { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 22px; background: #fff; border: 1.5px solid #fff; border-radius: var(--radius); color: var(--text-dunkel); text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.kontakt-kachel:hover, .kontakt-kachel:focus-visible { transform: translateY(-3px); border-color: var(--lila); box-shadow: 0 10px 30px rgba(45,48,53,.08); }
.kontakt-kachel img { width: 40px; height: 40px; }
.kontakt-kachel h3 { font-style: italic; font-weight: 400; font-size: 19px; margin: 4px 0 0; color: var(--lila); }
.kontakt-kachel p { margin: 0; font-size: 14.5px; line-height: 1.6; flex: 1; }
.kontakt-kachel .link-aktion { color: var(--orange); margin-top: 6px; }
.kontakt-direkt { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.kontakt-direkt h3 { margin-bottom: 4px; }
.kontakt-direkt .kleintext { margin: 0; }
.kontakt-mail { margin: 0; }
.kontakt-mail a { font-size: 20px; font-style: italic; color: var(--lila); text-decoration: none; }
.kontakt-mail a:hover { text-decoration: underline; }
.kontakt-adresse { font-style: normal; line-height: 1.6; margin: 0; }
@media (max-width: 760px) { .kontakt-direkt { grid-template-columns: 1fr; gap: 14px; } }

/* Hilf mit */
.hilfe-karte { display: flex; flex-direction: column; }
/* Farben wie „Wer wir sind“: dunkelgraue Zwischenüberschriften, dunkle Links, orange Aufzählungspunkte */
.hilfe-karte h3 { color: var(--text-dunkel); font-weight: 300; font-size: clamp(20px, 2vw, 24px); }
.hilfe-karte .text { flex: 1; font-size: 14.5px; }
.hilfe-karte .link-aktion { color: var(--text-dunkel); }
.karte-zwischentitel { font-style: italic; font-weight: 400; font-size: 16px; color: var(--text-dunkel); margin: 18px 0 6px; }
.bankdaten { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 18px 0 22px; font-size: 12.5px; line-height: 1.65; }
.bankdaten div { background: var(--flaeche-gruen-50); border-radius: 12px; padding: 12px 14px; }
/* Text senkrecht mittig neben dem QR-Code, linksbündig */
.zahlweg { display: flex; gap: 16px; align-items: center; text-align: left; }
.zahlweg p { margin: 0; font-size: 15px; line-height: 1.6; }
.zahlweg .qr { flex: 0 0 88px; width: 88px; height: 88px; background: #fff; padding: 4px; border-radius: 6px; image-rendering: pixelated; }
/* PayPal-Code hat runde Punkte und Logo: weich skalieren statt pixelig */
.zahlweg .qr--paypal { image-rendering: auto; }
.iban { white-space: nowrap; user-select: all; }
.steuerhinweis { font-size: 12px; line-height: 1.6; color: #555; border-top: 1px solid var(--grau-linie); padding-top: 14px; margin: 4px 0 0; }
.idee-box { border: 1.5px solid var(--lila); border-radius: var(--radius); padding: 32px clamp(24px, 4vw, 60px); display: grid; grid-template-columns: 120px 1fr 120px; gap: 24px; align-items: center; text-align: center; }
.idee-box img { width: 110px; justify-self: center; }
.idee-box h2 { font-style: italic; font-weight: 400; color: var(--lila); font-size: clamp(20px, 2vw, 24px); margin: 0 0 6px; }
.idee-text { max-width: 660px; margin: 0 auto; font-size: 16px; line-height: 1.65; color: var(--text-dunkel); }
.idee-text p { margin: 0 0 1.4em; }
.idee-text p:last-child { margin-bottom: 0; }
.idee-text .link-aktion { font-size: 16px; }

/* Rechtstexte */
.rechtstext { max-width: 900px; font-size: 14.5px; }
.rechtstext h1 { font-style: italic; font-weight: 300; font-size: clamp(28px, 3vw, 36px); color: var(--orange); margin: 0 0 24px; }
.rechtstext h2 { font-weight: 400; font-size: 17px; margin: 32px 0 8px; }
.platzhalter { background: #FFF6D6; border-left: 4px solid var(--gelb); padding: 14px 18px; border-radius: 6px; font-size: 14px; }

/* ---------- Platzhalter für fehlende Bilder, Icons und Texte ---------- */
.ph { position: relative; display: grid; place-items: center; width: 100%; border: 2px dashed #B7B2B2; border-radius: var(--radius); color: #6b6b6b;
  background: repeating-linear-gradient(45deg, #F4F4F4 0 12px, #EAEAEA 12px 24px); text-align: center; overflow: hidden; }
.ph span { max-width: 90%; padding: 8px 12px; background: rgba(255,255,255,.88); border-radius: 6px; font-size: 13px; line-height: 1.45; }
.ph span b { display: block; font-weight: 400; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; font-size: 11px; margin-bottom: 2px; }
.ph--rund { border-radius: 50%; }
.ph--rund span { font-size: 10px; padding: 4px 6px; max-width: 86%; }
.ph--rund span b { font-size: 9px; }
.ph-block { display: block; background: #FFF6D6; border: 1px dashed var(--gelb); border-radius: 6px; padding: 10px 14px; font-style: normal; font-size: 13px; line-height: 1.5; color: #6b5d00; }
.ph-block b, .ph-text b { font-weight: 400; text-transform: uppercase; letter-spacing: .05em; font-size: .85em; }
.ph-text { background: #FFF6D6; border: 1px dashed var(--gelb); border-radius: 4px; padding: 0 6px; font-style: normal; font-size: .85em; color: #6b5d00; }
.partner-liste span { text-decoration: underline; text-underline-offset: 3px; font-size: 14.5px; }

/* ---------- Footer ---------- */
.site-footer { padding: 28px 0 28px; }
/* Drei Spalten: Kontakt links, Logo + Text mittig, Social Media rechts */
.footer-box { background: var(--flaeche-lila); border-radius: var(--radius); padding: 22px 30px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-kontakt { font-style: normal; font-size: 13px; line-height: 1.6; }
.footer-kontakt a { text-decoration: underline; text-underline-offset: 2px; }
.footer-mitte { display: flex; align-items: center; gap: 16px; }
.footer-box img { width: 44px; }
.footer-box p { margin: 0; font-size: 13px; line-height: 1.6; }
.footer-box .social { justify-self: end; }
.footer-box a.link-aktion { color: var(--lila); font-size: 13px; font-weight: 300; }
.footer-links { text-align: center; font-size: 12px; margin-top: 14px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  /* Keep the complete header stacking context above the hero on iOS Safari too. */
  .site-header { z-index: 1000; isolation: isolate; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-toggle { display: block; order: 3; }
  .main-nav { position: fixed; z-index: 1001; top: 90px; right: 0; bottom: 0; left: 0; background: #fff; padding: 24px var(--gutter) max(24px, env(safe-area-inset-bottom)); overflow-y: auto; -webkit-overflow-scrolling: touch; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .main-nav.offen { opacity: 1; visibility: visible; transform: none; }
  .main-nav > ul { flex-direction: column; gap: 6px; }
  .main-nav > ul > li > a { font-size: 19px; }
  .subnav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 8px 8px; min-width: 0; }
  .subnav a { padding: 4px 8px; }
  .header-inner .social { margin-left: auto; }
  body.nav-offen .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-offen .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-offen .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .galerie { grid-template-columns: repeat(3, 1fr); }
  .slider > .slider-pfeil, .logo-klick > .slider-pfeil { display: none; }
}

@media (max-width: 760px) {
  .logo img { width: 120px; }
  .header-inner .social { display: none; }
  .grid-2, .grid-3, .bild-text, .projekt, .projekt--umgekehrt { grid-template-columns: 1fr; }
  .bild-text--umgekehrt .bild, .projekt--umgekehrt .bild { order: 0; }
  .spalten-2 { columns: 1; }
  .hero { min-height: 460px; align-items: flex-end; }
  .hero > img { object-position: 70% center; }
  /* gespiegelt: Bildausschnitt ebenfalls spiegeln, damit das Motiv im Bild bleibt */
  .hero > img.gespiegelt { object-position: 30% center; }
  .hero--dunkel::before { background: linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.1) 70%); }
  .hero--hell::before { background: linear-gradient(0deg, rgba(255,255,255,.8) 0%, rgba(255,255,255,0) 70%); }
  .karte-mit-bild { flex-direction: column-reverse; align-items: flex-start; }
  .kachel { min-height: 150px; }
  .galerie { grid-template-columns: repeat(2, 1fr); }
  .logo-klick { padding: 0; }
  .logo-klick-spur { gap: 32px; }
  /* Mobil: Slider-Bilder flacher als das Hero (460 px), damit Querformate nicht stark beschnitten werden */
  .slide img, .slide--paar img { height: auto; aspect-ratio: 3 / 2; }
  .slide--paar img { aspect-ratio: 3 / 4; }
  .logo-raster { grid-template-columns: repeat(2, 1fr); }
  .hinweis-box { flex-direction: column; text-align: center; padding: 22px; }
  .hinweis-box img:last-child { display: none; }
  .bankdaten { grid-template-columns: 1fr; }
  .bankdaten > div, .zahlweg, .zahlweg p { min-width: 0; }
  .zahlweg p { overflow-wrap: anywhere; }
  .iban { white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
  .idee-box { grid-template-columns: 1fr; padding: 24px; }
  .idee-box img { display: none; }
  .footer-box { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 22px 20px; gap: 18px; }
  .footer-mitte { flex-direction: column; gap: 10px; }
  .footer-box .social { justify-self: center; grid-template-columns: repeat(4, 24px); }
}

/* Handy: Text auf allen Seiten UNTER dem Bild statt darüber, damit nichts verdeckt wird */
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; overflow: visible; border-radius: 0; background: none; }
  .hero::before, .hero--dunkel::before, .hero--hell::before { display: none; }
  .hero > img { position: static; inset: auto; height: auto; aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .hero-text { padding: 22px 0 0; max-width: none; }
  .hero--dunkel .hero-text { color: var(--text-dunkel); }
}

/* ---------- NEU: Wirkungsband unter dem Hero ---------- */
.wirkung { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: clamp(20px, 3vw, 48px);
  margin-top: 18px; padding: 22px clamp(22px, 3vw, 40px); border: 1.5px solid var(--lila); border-radius: var(--radius); background: #fff; }
.wirkung p { margin: 0; }
.wirkung-label { font-style: italic; font-weight: 400; font-size: 17px; line-height: 1.35; color: var(--text-dunkel);
  padding-right: clamp(20px, 3vw, 48px); border-right: 1.5px solid var(--flaeche-lila); }
.wirkung-zahl { font-style: italic; font-weight: 300; font-size: clamp(40px, 4.6vw, 60px); line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.wirkung-unterzeile { font-size: 14px; margin-top: 8px !important; color: var(--text-dunkel); }
.wirkung-fakten { list-style: none; margin: 0; padding: 0 0 0 clamp(20px, 3vw, 48px); border-left: 1.5px solid var(--flaeche-lila); font-size: 14px; line-height: 1.9; color: var(--text-dunkel); }
.wirkung-fakten b { font-style: italic; font-weight: 400; font-size: 19px; color: var(--lila); display: inline-block; min-width: 1.1em; }
.wirkung-cta { display: inline-block; padding: 14px 34px; border-radius: 999px; background: var(--lila); color: #fff; font-style: italic; font-size: 17px; text-decoration: none; white-space: nowrap; border: 1.5px solid var(--lila); transition: background .2s, color .2s; }
.wirkung-cta:hover, .wirkung-cta:focus-visible { background: #fff; color: var(--lila); }
.wirkung-link { margin-top: 10px !important; }
.wirkung-link .link-aktion { font-size: 13px; }
@media (max-width: 1080px) {
  .wirkung { grid-template-columns: 1fr auto; }
  .wirkung-label { grid-column: 1 / -1; border-right: 0; padding-right: 0; }
  .wirkung-fakten { padding-left: 24px; }
  .wirkung-cta { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 760px) {
  .wirkung { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .wirkung-fakten { border-left: 0; padding-left: 0; border-top: 1.5px solid var(--flaeche-lila); padding-top: 12px; }
  .wirkung-cta { justify-self: stretch; text-align: center; }
}

