/* =====================================================================
   HAAS Bildungsstiftung – Stylesheet
   Grafische Grundlage: Webflow-Template „Cause" (cause-128.webflow.io)
   Farben aus dem Logo: Blau #5A9FCD, Schrift schwarz, Grau-Blau für Details
   ===================================================================== */

:root {
  --blue: #5a9fcd;            /* Logo-Blau */
  --blue-deep: #2f6f99;       /* Blau für Text/Links auf Weiß (Kontrast) */
  --blue-tint: #eef5fa;       /* ersetzt das Pfirsich #fdf2e9 des Templates */
  --blue-tint-2: #e3eef6;
  --blue-soft: rgba(90, 159, 205, .18);
  --ink: #101418;             /* Überschriften, Buttons */
  --text: #1c232b;
  --slate: #5b6b7b;           /* Grau-Blau für Nebentexte */
  --line: #d6dfe7;
  --white: #fff;
  --dark: #0f151b;            /* Footer */

  --font: "Questrial", "Helvetica Neue", Arial, sans-serif;
  --serif: "Petrona", Georgia, serif;

  --radius: 30px;
  --radius-sm: 20px;
  --container: 1345px;
  --gutter: clamp(16px, 3vw, 40px);
  --nav-h: 86px;
  --gap: clamp(72px, 9vw, 130px);   /* einheitlicher Abstand zwischen allen Abschnitten */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 10px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; color: var(--ink); margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: 1.04; }
h2 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.08; }
h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }
::selection { background: var(--blue-soft); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 1080px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 2000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 100px; text-decoration: none; }
.skip-link:focus { top: 16px; }

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

/* Kicker – Petrona kursiv wie im Template */
.kicker {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(19px, 1.55vw, 22px);
  letter-spacing: 1.6px;
  color: var(--ink);
  margin: 0 0 20px;
}
.kicker--light { color: rgba(255, 255, 255, .85); }
.kicker--claim.kicker--light { color: #8fc3e6; }

/* ---------------------------------------------------------------------
   Buttons – Pille mit Punkt, Text rollt beim Hover nach oben
   --------------------------------------------------------------------- */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: var(--ink);
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 26px;
  border: 1px solid var(--bd);
  border-radius: 100px;
  background: var(--bg);
  color: var(--fg);
  font: inherit; font-size: 16px; line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn::before {             /* Füllung, die beim Hover von unten hochfährt */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hover-bg, var(--blue));
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; transition: transform .35s var(--ease); }
.btn:hover .btn__dot { transform: scale(1.4); }
.btn__clip { display: block; overflow: hidden; height: 1.2em; }
.btn__text { display: block; position: relative; transition: transform .45s var(--ease); }
.btn__text::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.btn:hover .btn__text, .btn:focus-visible .btn__text { transform: translateY(-100%); }

.btn--dark { --bg: var(--ink); --fg: #fff; --bd: var(--ink); --hover-bg: var(--blue-deep); }
.btn--dark:hover { --bd: var(--blue-deep); }
.btn--outline { --hover-bg: var(--ink); }
.btn--outline:hover { color: #fff; }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; --hover-bg: var(--blue); }
.btn--light:hover { color: #fff; --bd: var(--blue); }
.btn--block { width: 100%; justify-content: center; }

/* ---------------------------------------------------------------------
   Navigation
   --------------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .45s var(--ease);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: var(--nav-h); }
.nav__brand img { width: 150px; height: auto; }
.nav__menu { display: flex; align-items: center; gap: 34px; margin-right: auto; margin-left: 48px; }
.nav__link { position: relative; text-decoration: none; font-size: 16px; color: var(--ink); padding: 6px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__menu-cta { display: none; }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__line {
  position: absolute; left: 1.5%; right: 1.5%; bottom: 0; height: 1px; background: #c9d3dc;
  transition: opacity .4s var(--ease);
}
.nav.is-scrolled { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(16, 20, 24, .06); }
.nav.is-scrolled .nav__line { opacity: 0; }
.nav.is-hidden { transform: translateY(-100%); }

.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { top: 26px; }
.nav-open .nav__burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav__burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .nav__menu { gap: 24px; margin-left: 28px; }
}
@media (max-width: 991px) {
  :root { --nav-h: 74px; }
  .nav__brand img { width: 128px; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__menu {
    position: fixed; inset: 0; z-index: -1; margin: 0;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    padding: calc(var(--nav-h) + 20px) var(--gutter) 40px;
    background: var(--blue-tint);
    opacity: 0; visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s;
  }
  .nav__menu .nav__link { font-size: clamp(30px, 8vw, 44px); line-height: 1.25; transform: translateY(16px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
  .nav__menu-cta { display: inline-flex; margin-top: 28px; }
  .nav-open .nav__menu { opacity: 1; visibility: visible; }
  .nav-open .nav__menu .nav__link { transform: none; opacity: 1; }
  .nav-open .nav__menu .nav__link:nth-child(2) { transition-delay: .05s; }
  .nav-open .nav__menu .nav__link:nth-child(3) { transition-delay: .1s; }
  .nav-open .nav__menu .nav__link:nth-child(4) { transition-delay: .15s; }
  .nav-open .nav__menu .nav__link:nth-child(5) { transition-delay: .2s; }
  .nav-open .nav__menu .nav__link:nth-child(6) { transition-delay: .25s; }
  .nav-open .nav { background: transparent; backdrop-filter: none; box-shadow: none; }
  .nav-open { overflow: hidden; }
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + clamp(90px, 14vw, 200px)) 0 clamp(80px, 10vw, 150px); }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--blue-tint); }
.hero .container { position: relative; z-index: 1; }
.hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 36px; }
.hero__title-wrap { max-width: 1000px; }
.hero__title { margin-top: 4px; font-size: clamp(48px, 7.6vw, 108px); }
/* Claim „Bildung, die weiterwirkt." – Teil der Corporate Identity, daher größer und in Blau */
.kicker--claim { font-size: clamp(22px, 2.1vw, 32px); letter-spacing: .02em; color: var(--blue-deep); margin-bottom: 22px; }
.hero__line {
  height: 3px; background: var(--blue); margin-top: clamp(56px, 7vw, 96px);
  transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease) .35s;
}
.is-loaded .hero__line { transform: scaleX(1); }

/* Netzwerk-Grafik: zentraler Knoten mit Speichen (Stil des Icons „Ein Netzwerk, das gemeinsam wächst") */
.hero__network {
  position: absolute; right: max(2%, calc((100vw - var(--container)) / 2)); top: calc(var(--nav-h) + clamp(40px, 6vw, 90px));
  width: min(34vw, 470px); height: auto; z-index: 0; pointer-events: none; overflow: visible;
}
.hero__network .net-lines path { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s var(--ease); }
.hero__network .net-lines path:nth-child(n+6) { transition-delay: .7s; }
.hero__network .net-nodes circle { fill: var(--blue-tint); stroke: var(--ink); stroke-width: 3.2; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .9s var(--ease); }
.hero__network .net-nodes circle:first-child { transition-delay: .1s; }
.hero__network .net-nodes circle:nth-child(n+2) { transition-delay: .55s; }
.is-loaded .hero__network .net-lines path { stroke-dashoffset: 0; }
.is-loaded .hero__network .net-nodes circle { transform: scale(1); }

/* Tablet + Handy: Grafik oben rechts über dem Claim, damit sie nichts überdeckt */
@media (max-width: 991px) {
  .hero { padding-top: calc(var(--nav-h) + clamp(200px, 30vw, 270px)); }
  .hero__network { width: clamp(168px, 25vw, 230px); right: var(--gutter); top: calc(var(--nav-h) + 22px); }
}

/* ---------------------------------------------------------------------
   Leitsatz – Wort für Wort beim Scrollen
   --------------------------------------------------------------------- */
.statement { margin-top: var(--gap); text-align: center; }
.statement__text { font-size: clamp(28px, 3.3vw, 46px); line-height: 1.24; color: var(--ink); margin: 0 auto; max-width: 1000px; }
.statement__text .w { opacity: .16; transition: opacity .35s linear; }
.statement__text .w.is-on { opacity: 1; }

/* ---------------------------------------------------------------------
   Sektionen allgemein
   --------------------------------------------------------------------- */
.section { margin-top: var(--gap); position: relative; }
main > .section:last-child { margin-bottom: var(--gap); }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head__lead { font-size: clamp(18px, 1.35vw, 20px); line-height: 1.6; color: var(--text); max-width: 560px; }
@media (max-width: 991px) { .section-head { grid-template-columns: 1fr; align-items: start; gap: 24px; } }

/* Reveal-Animation (nur mit JS) */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   Über uns
   --------------------------------------------------------------------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 110px); align-items: center; }
.img-frame { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 4.4; background: var(--blue-tint); }
.img-frame img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.about__text { max-width: 600px; }
.about .img-frame { aspect-ratio: 4 / 3.4; }
.about .img-frame img { object-position: 38% 50%; }
.about__lead { font-size: clamp(21px, 1.75vw, 26px); line-height: 1.45; color: var(--ink); margin-bottom: 1.1em; }
.about__p { font-size: clamp(18px, 1.35vw, 20px); line-height: 1.6; }
.about__quote {
  position: relative; margin: clamp(32px, 4vw, 48px) 0; padding: 6px 0 6px clamp(24px, 2.5vw, 36px);
}
.about__quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--blue); border-radius: 3px; }
.about__quote p { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.3; color: var(--ink); }
@media (max-width: 991px) {
  .about__grid { grid-template-columns: 1fr; }
  .img-frame { aspect-ratio: 16 / 11; }
}

/* ---------------------------------------------------------------------
   Unser Ansatz – drei gestapelte Karten, chronologisch beim Scrollen
   --------------------------------------------------------------------- */
.approach__head { text-align: center; max-width: 860px; margin: 0 auto clamp(56px, 7vw, 100px); }
.approach__head h2 { margin-bottom: 26px; }
.approach__intro { font-size: clamp(18px, 1.35vw, 20px); line-height: 1.6; color: var(--text); max-width: 720px; margin: 0 auto; }

.steps { position: relative; max-width: 1080px; margin: 0 auto; }
.steps__rail { position: absolute; left: -54px; top: 0; bottom: 0; width: 2px; background: var(--line); border-radius: 2px; }
.steps__progress { position: absolute; inset: 0 0 auto; height: 0; background: var(--blue); border-radius: 2px; }
@media (max-width: 1260px) { .steps__rail { display: none; } }

.step { position: sticky; top: calc(var(--nav-h) + 24px + var(--i) * 22px); padding-bottom: clamp(24px, 3vw, 40px); }
.step:last-child { padding-bottom: 0; }
.step__card {
  display: grid; grid-template-columns: 120px 1fr; gap: clamp(28px, 4vw, 64px);
  padding: clamp(32px, 4.5vw, 64px);
  background: var(--blue-tint);
  border-radius: var(--radius);
  border: 1px solid rgba(90, 159, 205, .14);
  transform-origin: center top;
  transform: scale(var(--s, 1));
  filter: brightness(var(--b, 1));
  transition: transform .1s linear;
  box-shadow: 0 -12px 40px -24px rgba(16, 20, 24, .18);
}
.step:nth-child(3) .step__card { background: #e8f1f8; }
.step:nth-child(4) .step__card { background: #e2edf6; }
.step__aside { display: flex; align-items: flex-start; }
.step__icon { width: 104px; height: 104px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step__icon .thin { stroke: var(--blue); stroke-width: 1.4; }
.step__aside, .step__body { opacity: var(--o, 1); }
.step__body h3 { margin-bottom: 20px; }
.step__body p { font-size: 18px; line-height: 1.62; color: var(--text); }
@media (max-width: 767px) {
  .step { position: relative; top: auto; }
  .step__card { grid-template-columns: 1fr; gap: 20px; transform: none; filter: none; }
  .step__aside { flex-direction: row; align-items: center; }
  .step__icon { width: 64px; height: 64px; }
}

/* ---------------------------------------------------------------------
   WIENER LERNTAFEL – Bild öffnet sich beim Scrollen (wie Video im Template)
   --------------------------------------------------------------------- */
.expand { position: relative; padding: 0 10px; }
.expand__frame {
  position: relative; margin: 0 auto; overflow: hidden;
  width: var(--w, 88%); border-radius: var(--r, 30px);
  height: clamp(360px, 62vw, 820px);
  background: var(--blue-tint);
}
.expand__media { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; transform: translateY(var(--py, 0)); will-change: transform; }
.expand__badge {
  position: absolute; left: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px; border-radius: 100px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 15px; color: var(--ink);
}
.expand__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(90, 159, 205, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(90, 159, 205, .55); } 70% { box-shadow: 0 0 0 12px rgba(90, 159, 205, 0); } 100% { box-shadow: 0 0 0 0 rgba(90, 159, 205, 0); } }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: clamp(56px, 7vw, 100px) 0 clamp(56px, 7vw, 100px); border-top: 1px solid var(--line); }
.fact { padding: 32px 28px 0 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact dt { font-size: clamp(30px, 3vw, 44px); line-height: 1.1; color: var(--ink); margin-bottom: 10px; }
.fact dd { margin: 0; color: var(--slate); font-size: 16px; line-height: 1.45; }
@media (max-width: 991px) {
  .facts { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; row-gap: 0; }
  .fact, .fact + .fact { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

.project__head { max-width: 1080px; margin-bottom: clamp(48px, 6vw, 88px); }
.project__lead { margin-top: clamp(24px, 3vw, 40px); font-size: clamp(24px, 2.5vw, 36px); line-height: 1.32; color: var(--ink); }
.project__split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 110px); align-items: center; }
.project__split-text { max-width: 600px; }
.project__split-text p { font-size: clamp(18px, 1.35vw, 20px); line-height: 1.6; }
.project__split-lead { position: relative; padding-left: clamp(22px, 2.4vw, 32px); margin-bottom: 1.3em !important; font-size: clamp(22px, 2vw, 28px) !important; line-height: 1.4 !important; color: var(--ink); }
.project__split-lead::before { content: ""; position: absolute; left: 0; top: .25em; bottom: .25em; width: 3px; border-radius: 3px; background: var(--blue); }
.project__split .img-frame { aspect-ratio: 4 / 3.4; }
.project__split .img-frame img { object-position: 72% 30%; }
.project__convinced { margin: clamp(70px, 9vw, 130px) auto; max-width: 980px; text-align: center; }
.project__big { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.08; color: var(--ink); margin-bottom: 28px; }
.project__big::after { content: ""; display: block; width: 72px; height: 3px; background: var(--blue); margin: 30px auto 0; border-radius: 3px; }
.project__after { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.5; color: var(--text); max-width: 820px; margin: 0 auto; }

.project__next {
  display: grid; grid-template-columns: minmax(240px, .8fr) 1.4fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--radius); background: var(--blue-tint);
}
.project__next-label { display: block; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--slate); }
.project__next-big { display: block; font-size: clamp(42px, 5vw, 72px); line-height: 1; color: var(--blue-deep); letter-spacing: -.02em; }
.project__next-body p { font-size: clamp(18px, 1.35vw, 20px); line-height: 1.6; margin-bottom: 28px; }
@media (max-width: 767px) {
  .project__next { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   Spenden
   --------------------------------------------------------------------- */
.donate__panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px);
  padding: clamp(28px, 5vw, 72px);
  border-radius: calc(var(--radius) + 10px);
  background: linear-gradient(160deg, var(--blue-tint) 0%, #f6fafd 100%);
  border: 1px solid rgba(90, 159, 205, .16);
}
.donate__lead { font-size: clamp(18px, 1.35vw, 20px); line-height: 1.6; margin-top: 24px; max-width: 520px; }
.donate__image { margin-top: clamp(32px, 4vw, 48px); border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 10; }
.donate__image img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 18%; }
@media (max-width: 991px) { .donate__panel { grid-template-columns: 1fr; } }

/* Spendenkonto */
.bank { background: #fff; border-radius: var(--radius-sm); padding: clamp(24px, 3.4vw, 44px); border: 1px solid var(--line); align-self: start; }
.bank__title { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 1px; font-size: 17px; margin-bottom: 8px; }
.bank__list { margin: 0; }
.bank__row { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bank__row dt { font-size: 14px; color: var(--slate); }
.bank__row dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bank__value { font-size: clamp(18px, 1.4vw, 21px); color: var(--ink); overflow-wrap: anywhere; }
.bank__value--mono { letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.bank__copy {
  flex: none; font: inherit; font-size: 13px; color: var(--blue-deep); background: var(--blue-tint);
  border: 1px solid transparent; border-radius: 100px; padding: 7px 14px; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.bank__copy:hover { border-color: var(--blue); }
.bank__copy.is-done { background: var(--ink); color: #fff; }
.bank__qr { display: flex; align-items: center; gap: 24px; margin-top: 28px; padding: 20px; border-radius: 16px; background: var(--blue-tint); }
.bank__qr img { flex: none; width: 148px; height: 148px; background: #fff; border-radius: 10px; padding: 8px; }
.bank__qr p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--slate); }
.bank__qr strong { display: block; font-weight: 400; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.bank__note { margin: 22px 0 0; font-size: 15px; line-height: 1.5; color: var(--slate); }
@media (max-width: 480px) {
  .donate__panel { padding: 24px 14px; }
  .bank { padding: 22px 18px; }
  .bank__qr { flex-direction: column; align-items: flex-start; }
}

/* Formulare */
.form { background: #fff; border-radius: var(--radius-sm); padding: clamp(24px, 3.4vw, 44px); border: 1px solid var(--line); display: grid; gap: 20px; align-content: start; }
.form__group { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.form__legend { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 1px; font-size: 16px; margin-bottom: 12px; padding: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field__label { font-size: 14px; color: var(--slate); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.form__note { font-size: 14px; color: var(--slate); text-align: center; margin: 0; }
.hp { position: absolute !important; left: -9999px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--slate); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid #aebbc7; border-radius: 6px; background: #fff; cursor: pointer; display: grid; place-content: center; transition: background .2s, border-color .2s; }
.check input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease); }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check a { color: var(--blue-deep); }

/* ---------------------------------------------------------------------
   Aktuelles (Platzhalter)
   --------------------------------------------------------------------- */
.news__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: clamp(32px, 4vw, 56px); }
.news__empty {
  display: flex; align-items: center; gap: 18px;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius);
  border: 1px dashed #bcd3e4; color: var(--slate); font-size: clamp(18px, 1.35vw, 20px);
}
.news__dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); animation: pulse 2.4s infinite; }

/* Beitragskarten – wie „Our Blog and Events" im Template: Bild links, Text rechts */
.news__head .btn { flex: none; }
.posts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 3.4vw, 48px) clamp(24px, 3vw, 44px); }
.post { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2vw, 28px); align-items: center; }
.post__media { display: block; aspect-ratio: 1 / .8; border-radius: var(--radius-sm); overflow: hidden; background: var(--blue-tint); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .post__media img { transform: scale(1.05); }
.post__placeholder { display: block; width: 100%; height: 100%; background:
  linear-gradient(var(--blue), var(--blue)) left 22% top 58% / 56% 3px no-repeat, var(--blue-tint); }
.post__date { font-size: 14px; color: var(--slate); margin-bottom: 10px; }
.post__title { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.22; margin-bottom: 22px; }
.post__title a { text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.post:hover .post__title a, .post__title a:focus-visible { background-size: 100% 1px; }
.btn--small { padding: 10px 20px; font-size: 15px; }
.post:hover .btn--outline { color: #fff; }
.post:hover .btn--outline::before { transform: translateY(0); }
.post:hover .btn--outline .btn__text { transform: translateY(-100%); }
@media (max-width: 991px) { .posts { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .post { grid-template-columns: 1fr; } .post__media { aspect-ratio: 16 / 10; } }

/* Beitrags-Detailseite */
.article__top { background: var(--blue-tint); padding: calc(var(--nav-h) + clamp(50px, 7vw, 100px)) 0 clamp(40px, 5vw, 64px); }
.article__top .article__head { margin-bottom: 0; }
.article__band { background: linear-gradient(to bottom, var(--blue-tint) 50%, var(--white) 50%); }
.article__list { padding: clamp(40px, 5vw, 64px) 0 clamp(80px, 9vw, 130px); }
.article__head { max-width: 900px; margin-bottom: clamp(40px, 5vw, 64px); }
.article__head h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.06; }
.article__lead { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.5; color: var(--text); margin-top: 28px; max-width: 760px; }
.article__back { display: flex; width: max-content; align-items: center; gap: 10px; margin-bottom: 36px; font-size: 15px; color: var(--slate); text-decoration: none; transition: color .25s; }
.article__back::before { content: "←"; transition: transform .35s var(--ease); }
.article__back:hover { color: var(--ink); }
.article__back:hover::before { transform: translateX(-4px); }
.article__hero { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--blue-tint-2); }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
.article__body { max-width: 760px; margin: clamp(48px, 6vw, 88px) auto 0; padding-bottom: clamp(80px, 9vw, 130px); font-size: clamp(18px, 1.3vw, 20px); line-height: 1.7; }
.article__body > :first-child { margin-top: 0; }
.article__body p { margin: 0 0 1.2em; }
.article__body h2 { font-size: clamp(28px, 2.6vw, 38px); margin: 1.8em 0 .6em; }
.article__body h3 { font-size: clamp(22px, 1.8vw, 26px); margin: 1.6em 0 .5em; }
.article__body a { color: var(--blue-deep); text-underline-offset: 3px; }
.article__body ul, .article__body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article__body li { margin-bottom: .4em; }
.article__body li::marker { color: var(--blue); }
.article__body blockquote { position: relative; margin: 1.6em 0; padding: 4px 0 4px clamp(22px, 2.4vw, 32px); font-size: clamp(22px, 2vw, 28px); line-height: 1.35; color: var(--ink); }
.article__body blockquote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--blue); border-radius: 3px; }
.article__figure { margin: 2em 0; }
.article__figure img { border-radius: var(--radius-sm); width: 100%; }
.article__figure figcaption { margin-top: 10px; font-size: 14px; color: var(--slate); }
.news--more { background: var(--blue-tint); margin-top: 0; padding: var(--gap) 0; }
.news--more .post__media { background: #fff; }

/* ---------------------------------------------------------------------
   Kontakt
   --------------------------------------------------------------------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 110px); }
.contact__lead { font-size: clamp(18px, 1.35vw, 20px); line-height: 1.6; margin-top: 24px; max-width: 460px; }
.contact__form { border: 0; padding: 0; background: transparent; }
.contact__form .btn { justify-self: start; }
@media (max-width: 991px) { .contact__grid { grid-template-columns: 1fr; } .project__split { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   Footer – dunkel wie im Template
   --------------------------------------------------------------------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, .72); padding: clamp(80px, 9vw, 120px) 0 32px; }
.footer__cta { text-align: center; padding-bottom: clamp(60px, 7vw, 90px); }
.footer__title { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.08; color: #fff; margin: 0 0 36px; }
.footer__main { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 40px 0; border-top: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer__logo img { width: 150px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer__nav a { text-decoration: none; color: #fff; transition: color .25s; }
.footer__nav a:hover { color: #9fcdec; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 28px; font-size: 14px; }
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .25s; }
.footer__legal a:hover { color: #fff; }
.footer__legal span a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .footer__main { flex-direction: column; align-items: flex-start; } }

/* ---------------------------------------------------------------------
   Rechtsseiten
   --------------------------------------------------------------------- */
.legal { padding-bottom: clamp(80px, 9vw, 120px); }
.legal__top { background: var(--blue-tint); padding: calc(var(--nav-h) + clamp(60px, 8vw, 110px)) 0 clamp(48px, 6vw, 80px); margin-bottom: clamp(40px, 5vw, 64px); }
.legal__inner { max-width: 820px; }
.legal h1 { font-size: clamp(42px, 5vw, 68px); margin: 0; }
.legal h2 { font-size: clamp(24px, 2.2vw, 30px); margin: 48px 0 16px; }
.legal__body > h2:first-child { margin-top: 0; }
.legal h3 { font-size: 20px; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--text); }
.legal a:not(.btn) { color: var(--blue-deep); }
/* Kurze Seiten (404, Danke): alles liegt in der hellblauen Fläche */
.legal--short { padding-bottom: 0; }
.legal--short .legal__top { margin-bottom: 0; min-height: 78vh; display: flex; align-items: center; }
.legal--short .legal__top .container { width: 100%; }
.legal--short h1 { margin-bottom: 32px; }
.legal ul { padding-left: 1.2em; }
.todo { background: #fff4c7; padding: 0 .25em; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .statement__text .w { opacity: 1; }
  .step__card { transform: none !important; filter: none !important; }
}
