* {
  box-sizing: border-box;
}

/* ── Icons (Favicon-Style) ── */

.icon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  vertical-align: -0.15em;
}

svg.icon {
  width: 1.1em;
  height: 1.1em;
}

.pill-link .icon,
.submenu-link .icon,
.hero-btn .icon {
  margin-right: 0.35em;
}

.story-pill .icon {
  margin-right: 0.3em;
}


body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--black);
  min-height: 100vh;
  overflow-x: hidden;
  --page-gutter: clamp(1rem, 3vw, 2.5rem);
}

html {
  overflow-x: hidden;
}

/* ── Intro overlay ── */

#pageContent {
  opacity: 1;
  transition: opacity 560ms ease;
}

body.is-loading #pageContent {
  opacity: 0;
}

.logo-intro {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: var(--bg);
  transition: opacity 820ms ease;
}

body.intro-done .logo-intro {
  opacity: 0;
  pointer-events: none;
}

body.intro-done #pageContent {
  opacity: 1;
}

.logo-intro__inner {
  display: grid;
  justify-items: center;
  gap: 0;
  text-align: center;
}

.logo-intro__logo {
  width: clamp(280px, 56vw, 560px);
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  animation: intro-logo-reveal 840ms cubic-bezier(0.22, 0.8, 0.26, 1) forwards;
}

@keyframes intro-logo-reveal {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.9);
  }
  65% {
    opacity: 1;
    transform: translateY(0) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Navigation ── */

.top-nav {
  width: 100%;
  margin: 0;
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 90;
  background:
    linear-gradient(
      125deg,
      color-mix(in srgb, var(--gold) 82%, white) 0%,
      color-mix(in srgb, var(--bg) 88%, white) 26%,
      color-mix(in srgb, var(--blue) 62%, white) 52%,
      color-mix(in srgb, var(--green) 58%, white) 76%,
      color-mix(in srgb, var(--red) 36%, var(--gold) 64%) 100%
    );
  background-size: 190% 190%;
  animation: hero-gradient-shift 16s ease-in-out infinite;
}

.top-nav--hero {
  position: static;
  top: auto;
  z-index: 2;
  padding: 0 0 clamp(2rem, 5vw, 3.4rem);
  background: transparent;
  animation: none;
}

.nav-toggle {
  display: none;
}

.pill-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: fit-content;
  margin: 0 auto;
  padding: 0.55rem 0.6rem;
  border: 1px solid rgb(255 255 255 / 48%);
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 56%) 0%,
      rgb(255 255 255 / 24%) 48%,
      rgb(255 255 255 / 38%) 100%
    );
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 62%),
    inset 0 -1px 0 rgb(255 255 255 / 20%),
    0 14px 30px rgb(0 0 0 / 14%);
  position: relative;
  z-index: 20;
  overflow: hidden;
}

.pill-link {
  display: inline-block;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 48%);
  background: rgb(255 255 255 / 10%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 56%), 0 1px 2px rgb(0 0 0 / 8%);
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

.nav-trigger {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.nav-group {
  position: relative;
}

.nav-group::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 1.1rem;
}

.pill-link:hover {
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 46%) 0%,
      rgb(255 255 255 / 22%) 50%,
      rgb(255 255 255 / 34%) 100%
    );
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 62%),
    0 10px 20px rgb(0 0 0 / 14%);
}

.pill-link:focus-visible,
.submenu-link:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.pill-link:active {
  transform: translateY(0);
}

.pill-link.is-active {
  background:
    linear-gradient(
      140deg,
      color-mix(in srgb, var(--blue) 58%, white) 0%,
      color-mix(in srgb, var(--gold) 22%, white) 100%
    );
  color: var(--black);
  border-color: rgb(255 255 255 / 58%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 60%),
    0 8px 18px rgb(0 0 0 / 12%);
}

.submenu-link.is-active {
  background: var(--blue);
  color: var(--black);
}

.submenu {
  position: static;
  order: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  flex-wrap: wrap;
  max-height: 0;
  margin-top: 0;
  padding: 0;
  border-top: 0 solid rgb(255 255 255 / 42%);
  border-radius: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    max-height 260ms ease,
    margin-top 220ms ease,
    padding 220ms ease,
    border-top-width 220ms ease,
    opacity 180ms ease,
    transform 180ms ease;
  z-index: 25;
}

.submenu-link {
  display: block;
  padding: 0.58rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 44%);
  background: rgb(255 255 255 / 8%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 52%), 0 1px 2px rgb(0 0 0 / 8%);
  text-decoration: none;
  color: var(--black);
  font-weight: 600;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.submenu-link:hover {
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 46%) 0%,
      rgb(255 255 255 / 22%) 50%,
      rgb(255 255 255 / 34%) 100%
    );
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 62%),
    0 6px 14px rgb(0 0 0 / 12%);
}

.pill-nav:has(.nav-group:hover) .submenu,
.pill-nav:has(.nav-group:focus-within) .submenu,
.pill-nav .submenu:hover,
.pill-nav .submenu:focus-within {
  max-height: 5.8rem;
  margin-top: 0.35rem;
  padding: 0.4rem 0 0.2rem;
  border-top-width: 1px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ── Page layout ── */

.container {
  width: 100%;
  margin: 0 0 2rem;
  padding: 0 var(--page-gutter);
  display: grid;
  gap: 1.4rem;
}

.card {
  background: transparent;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  text-align: center;
  gap: clamp(0.35rem, 2.2vw, 1.2rem);
  width: auto;
  margin-inline: calc(var(--page-gutter) * -1);
  padding: clamp(0.75rem, 2.2vw, 1.2rem) var(--page-gutter) clamp(1.2rem, 4vw, 2.6rem);
  min-height: clamp(320px, 44vw, 560px);
  overflow: hidden;
  background: color-mix(in srgb, var(--bg) 88%, white);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      125deg,
      color-mix(in srgb, var(--gold) 82%, white) 0%,
      color-mix(in srgb, var(--bg) 88%, white) 26%,
      color-mix(in srgb, var(--blue) 62%, white) 52%,
      color-mix(in srgb, var(--green) 58%, white) 76%,
      color-mix(in srgb, var(--red) 36%, var(--gold) 64%) 100%
    );
  background-size: 190% 190%;
  pointer-events: none;
  animation: hero-gradient-shift 16s ease-in-out infinite;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -8% -10%;
  background:
    radial-gradient(circle at 28% 22%, rgb(234 176 60 / 30%) 0%, rgb(234 176 60 / 0%) 58%),
    radial-gradient(circle at 76% 72%, rgb(166 209 218 / 26%) 0%, rgb(166 209 218 / 0%) 60%);
  filter: blur(10px);
  pointer-events: none;
  animation: hero-aurora 9s ease-in-out infinite;
  z-index: 0;
}

.hero--green {
  background: color-mix(in srgb, var(--bg) 88%, white);
}

.hero--green::before {
  background:
    linear-gradient(
      125deg,
      color-mix(in srgb, var(--green) 70%, white) 0%,
      color-mix(in srgb, var(--bg) 84%, white) 35%,
      color-mix(in srgb, var(--blue) 56%, white) 70%,
      color-mix(in srgb, var(--gold) 44%, white) 100%
    );
  background-size: 190% 190%;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-logo-wrap {
  margin: 0;
  justify-self: center;
  animation: hero-float 6s ease-in-out infinite;
}

.hero-logo {
  display: block;
  width: clamp(230px, 38vw, 380px);
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-logo--home {
  width: clamp(300px, 54vw, 620px);
}

.hero--home .hero-copy,
.hero--home .hero-logo-wrap,
.hero--home .top-nav--hero {
  z-index: 2;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  margin-top: -1.6rem;
}

.hero-kicker {
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
  font-size: 0.78rem;
  color: rgb(0 0 0 / 70%);
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.45rem;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--gold) 82%, var(--red) 18%);
}

.blog-back-link:hover {
  color: color-mix(in srgb, var(--gold) 64%, var(--red) 36%);
}

.hero-title {
  margin: 0;
  font-size: clamp(2.1rem, 7.4vw, 5rem);
  letter-spacing: 0.02em;
  color: var(--black);
  text-wrap: balance;
}

.hero-subtitle {
  margin: 0.8rem 0 0;
  max-width: 60ch;
  line-height: 1.55;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgb(0 0 0 / 82%);
}

.hero-actions {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 48%);
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 56%) 0%,
      rgb(255 255 255 / 24%) 48%,
      rgb(255 255 255 / 38%) 100%
    );
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 56%),
    inset 0 -1px 0 rgb(255 255 255 / 18%),
    0 10px 20px rgb(0 0 0 / 12%);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    background-color 200ms ease,
    color 200ms ease;
}

.hero-btn--primary {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--blue) 28%, white) 0%,
      rgb(255 255 255 / 22%) 52%,
      color-mix(in srgb, var(--blue) 18%, white) 100%
    );
  color: var(--black);
}

.hero-btn--secondary {
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 58%) 0%,
      rgb(255 255 255 / 28%) 48%,
      rgb(255 255 255 / 42%) 100%
    );
  color: var(--black);
  border-color: rgb(255 255 255 / 52%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 60%),
    inset 0 -1px 0 rgb(255 255 255 / 20%),
    0 10px 20px rgb(0 0 0 / 12%);
}

/* Globale Regel: Spenden-CTAs sind immer hervorgehoben. */
.hero-btn[href="spenden.html"],
.hero-btn[href^="spenden.html#"],
.hero-btn.is-donate-btn {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gold) 20%, white) 0%,
      rgb(255 255 255 / 26%) 48%,
      color-mix(in srgb, var(--gold) 14%, white) 100%
    );
  color: var(--black);
  border-color: color-mix(in srgb, var(--gold) 45%, white);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 62%),
    inset 0 -1px 0 rgb(255 255 255 / 24%),
    0 10px 20px rgb(0 0 0 / 13%),
    0 0 0 0 color-mix(in srgb, var(--gold) 48%, transparent);
  animation: donate-glow 2200ms ease-in-out infinite;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 62%),
    0 12px 22px rgb(0 0 0 / 14%);
}

.hero-btn--primary:hover {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--blue) 36%, white) 0%,
      rgb(255 255 255 / 26%) 52%,
      color-mix(in srgb, var(--blue) 24%, white) 100%
    );
}

.hero-btn--secondary:hover {
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 64%) 0%,
      rgb(255 255 255 / 30%) 48%,
      rgb(255 255 255 / 46%) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 70%),
    inset 0 -1px 0 rgb(255 255 255 / 26%),
    0 14px 26px rgb(0 0 0 / 15%);
}

.hero-btn[href="spenden.html"]:hover,
.hero-btn[href^="spenden.html#"]:hover,
.hero-btn.is-donate-btn:hover {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gold) 28%, white) 0%,
      rgb(255 255 255 / 28%) 48%,
      color-mix(in srgb, var(--gold) 18%, white) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 72%),
    inset 0 -1px 0 rgb(255 255 255 / 28%),
    0 14px 26px rgb(0 0 0 / 16%),
    0 0 26px color-mix(in srgb, var(--gold) 50%, transparent);
}

.hero-btn:active {
  transform: translateY(0);
}

.hero-btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes donate-glow {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 62%),
      inset 0 -1px 0 rgb(255 255 255 / 24%),
      0 10px 20px rgb(0 0 0 / 13%),
      0 0 0 0 color-mix(in srgb, var(--gold) 48%, transparent);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 78%),
      inset 0 -1px 0 rgb(255 255 255 / 30%),
      0 12px 24px rgb(0 0 0 / 15%),
      0 0 24px color-mix(in srgb, var(--gold) 52%, transparent);
  }
}

@keyframes hero-aurora {
  0%,
  100% {
    transform: translateX(0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translateX(4%) scale(1.08);
    opacity: 1;
  }
}

@keyframes hero-gradient-shift {
  0%,
  100% {
    background-position: 0% 45%;
  }
  50% {
    background-position: 100% 55%;
  }
}

@media (max-width: 760px) {
  .top-nav.is-collapsible {
    position: fixed;
    top: 0.7rem;
    right: 0;
    z-index: 9999;
    display: grid;
    justify-items: end;
    gap: 0.45rem;
    width: auto;
    padding: 0;
    background: transparent;
    animation: none;
  }

  .top-nav.is-collapsible .nav-toggle {
    position: relative;
    z-index: 10001;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.58rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgb(255 255 255 / 52%);
    background:
      linear-gradient(
        135deg,
        rgb(255 255 255 / 56%) 0%,
        rgb(255 255 255 / 24%) 48%,
        rgb(255 255 255 / 38%) 100%
      );
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 58%),
      0 8px 16px rgb(0 0 0 / 12%);
    color: var(--black);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    margin-right: 0.85rem;
  }

  .nav-toggle__icon {
    width: 1.05rem;
    height: 0.78rem;
    display: grid;
    align-content: space-between;
  }

  .nav-toggle__icon span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .top-nav.is-collapsible .pill-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    width: min(86vw, 320px);
    max-height: 100dvh;
    display: grid;
    justify-items: stretch;
    align-content: start;
    gap: 0.35rem;
    margin-top: 0;
    padding: 3.8rem 0.7rem 1.2rem;
    opacity: 0;
    overflow-y: auto;
    overflow-x: hidden;
    pointer-events: none;
    transform: translateX(110%);
    border-width: 0 0 0 1px;
    border-style: solid;
    border-color: rgb(255 255 255 / 52%);
    border-radius: 18px 0 0 18px;
    background:
      linear-gradient(
        135deg,
        rgb(255 255 255 / 78%) 0%,
        rgb(255 255 255 / 56%) 52%,
        rgb(255 255 255 / 68%) 100%
      );
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 58%),
      -10px 0 28px rgb(0 0 0 / 18%);
    transition:
      opacity 180ms ease,
      transform 220ms ease;
  }

  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgb(0 0 0 / 32%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .top-nav.is-collapsible.is-mobile-open .nav-backdrop {
    display: block;
  }

  .top-nav.is-collapsible.is-mobile-open .pill-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .top-nav.is-collapsible .pill-link,
  .top-nav.is-collapsible .submenu-link {
    width: 100%;
    text-align: left;
    border-radius: 14px;
  }

  .top-nav.is-collapsible .nav-group::after {
    display: none;
  }

  .top-nav.is-collapsible .submenu {
    position: static;
    order: initial;
    width: 100%;
    justify-content: stretch;
    gap: 0.35rem;
    flex-direction: column;
    max-height: none;
    margin-top: 0.1rem;
    padding: 0.35rem 0 0;
    border-top-width: 1px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    overflow: visible;
  }

  .top-nav.is-collapsible .submenu-link {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 1.2rem;
  }

  .hero::before {
    inset: 0;
  }

  .hero-subtitle {
    margin-inline: auto;
    max-width: 32ch;
    font-size: 1rem;
    text-align: center;
  }

  .hero-copy {
    width: 100%;
    margin-inline: auto;
    justify-items: center;
    text-align: center;
  }

  .hero-kicker {
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
    text-align: center;
  }

  .hero-actions {
    width: 100%;
    justify-content: center;
  }

  .story-section {
    text-align: center;
  }

  .story-section-head {
    text-align: center;
    justify-items: center;
    width: 100%;
  }

  .story-pill {
    margin-inline: auto;
    justify-self: center;
  }

  .story-title {
    text-align: center;
    width: 100%;
  }

  .story-subtext {
    text-align: center;
    width: 100%;
  }

  .story-fact-card {
    text-align: center;
  }

  .content-block {
    text-align: center;
  }

  .content-block h2,
  .content-block p {
    text-align: center;
  }
}

/* ── Content sections ── */

.content-block {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.story-section {
  display: grid;
  gap: 0.9rem;
  padding: clamp(0.6rem, 1.8vw, 1rem) 0;
}

.story-section + .story-section {
  position: relative;
  margin-top: clamp(0.6rem, 1.6vw, 1.1rem);
  padding-top: clamp(1.2rem, 2.6vw, 1.8rem);
}

.story-section + .story-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgb(0 0 0 / 4%) 15%,
    rgb(0 0 0 / 10%) 50%,
    rgb(0 0 0 / 4%) 85%,
    transparent 100%
  );
  box-shadow: 0 1px 8px rgb(0 0 0 / 5%);
}

/* ── Scroll-Animationen ── */

[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 580ms cubic-bezier(0.22, 0.8, 0.26, 1),
    transform 580ms cubic-bezier(0.22, 0.8, 0.26, 1);
}

[data-animate="fade-left"] {
  transform: translateX(-36px);
}

[data-animate="fade-right"] {
  transform: translateX(36px);
}

[data-animate="fade-up"] {
  transform: translateY(28px);
}

.is-in-view[data-animate] {
  opacity: 1;
  transform: translate(0, 0);
}

.story-section.is-in-view [data-animate] {
  opacity: 1;
  transform: translate(0, 0);
}

[data-animate-delay="120"] { transition-delay: 120ms; }
[data-animate-delay="80"] { transition-delay: 80ms; }
[data-animate-delay="150"] { transition-delay: 150ms; }
[data-animate-delay="160"] { transition-delay: 160ms; }
[data-animate-delay="200"] { transition-delay: 200ms; }
[data-animate-delay="220"] { transition-delay: 220ms; }
[data-animate-delay="260"] { transition-delay: 260ms; }
[data-animate-delay="300"] { transition-delay: 300ms; }
[data-animate-delay="340"] { transition-delay: 340ms; }
[data-animate-delay="400"] { transition-delay: 400ms; }

.story-pill {
  width: fit-content;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.story-title {
  margin: 0;
  font-size: clamp(1.7rem, 5.2vw, 3rem);
  line-height: 1.1;
  text-wrap: balance;
}

.story-subtext {
  margin: 0;
  max-width: 72ch;
  line-height: 1.6;
  font-size: clamp(1rem, 2.1vw, 1.15rem);
  color: rgb(0 0 0 / 82%);
}

.story-image-placeholder {
  margin: 0;
  min-height: clamp(150px, 20vw, 240px);
  border: 2px dashed var(--black);
  border-radius: 12px;
  background: color-mix(in srgb, var(--white) 72%, var(--bg) 28%);
  display: grid;
  place-items: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgb(0 0 0 / 66%);
}

.story-section-head {
  display: grid;
  gap: 0.9rem;
}

.story-section-head--center {
  justify-items: center;
  text-align: center;
}

.story-section--split {
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.story-visual-stack {
  display: grid;
  gap: 0.8rem;
}

.story-image-placeholder--large {
  min-height: clamp(190px, 28vw, 310px);
}

.story-visual-row {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-section--carousel {
  justify-items: center;
}

.story-carousel {
  width: min(100%, 880px);
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 16px;
  background: rgb(255 255 255 / 72%);
  padding: 0.7rem;
  box-shadow: 0 8px 22px rgb(0 0 0 / 7%);
}

.story-carousel-track {
  display: flex;
  transition: transform 480ms ease;
}

.story-carousel-slide {
  margin: 0;
  flex: 0 0 100%;
  min-height: clamp(210px, 36vw, 340px);
  border-radius: 12px;
  border: 2px dashed var(--black);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--blue) 24%, white) 0%,
    color-mix(in srgb, var(--gold) 22%, white) 50%,
    color-mix(in srgb, var(--green) 24%, white) 100%
  );
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 800;
  color: rgb(0 0 0 / 62%);
}

.story-carousel-controls {
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.story-carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 48%);
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 56%) 0%,
      rgb(255 255 255 / 24%) 48%,
      rgb(255 255 255 / 38%) 100%
    );
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 58%),
    0 8px 14px rgb(0 0 0 / 12%);
  color: var(--black);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.story-carousel-btn .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.story-carousel-btn:hover {
  transform: translateY(-1px);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gold) 24%, white) 0%,
      rgb(255 255 255 / 24%) 55%,
      color-mix(in srgb, var(--blue) 14%, white) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 62%),
    0 8px 14px rgb(0 0 0 / 14%);
}

.story-carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.story-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 50%);
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 52%) 0%,
      rgb(255 255 255 / 22%) 100%
    );
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 56%);
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.story-carousel-dot.is-active {
  transform: scale(1.18);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--blue) 36%, white) 0%,
      color-mix(in srgb, var(--gold) 24%, white) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 62%),
    0 3px 8px rgb(0 0 0 / 18%);
}

.story-section--feature {
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 2.2rem);
  align-items: center;
}

.story-image-placeholder--feature {
  min-height: clamp(260px, 34vw, 420px);
}

.story-facts {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-fact-card {
  margin: 0;
  padding: 0.85rem;
  border: 1px solid rgb(0 0 0 / 18%);
  border-radius: 12px;
  background: rgb(255 255 255 / 55%);
}

.story-fact-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.story-fact-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgb(0 0 0 / 78%);
}

.wuensche-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.wuensche-card {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid rgb(255 255 255 / 56%);
  border-radius: 14px;
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 60%),
    0 10px 22px rgb(0 0 0 / 10%);
}

.wuensche-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.wuensche-card p {
  margin: 0;
  line-height: 1.5;
  color: rgb(0 0 0 / 82%);
}

.wuensche-card--gold {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gold) 24%, white) 0%,
      rgb(255 255 255 / 24%) 48%,
      color-mix(in srgb, var(--gold) 14%, white) 100%
    );
}

.wuensche-card--blue {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--blue) 24%, white) 0%,
      rgb(255 255 255 / 24%) 48%,
      color-mix(in srgb, var(--blue) 14%, white) 100%
    );
}

.wuensche-card--green {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--green) 28%, white) 0%,
      rgb(255 255 255 / 24%) 48%,
      color-mix(in srgb, var(--green) 16%, white) 100%
    );
}

.wuensche-photo {
  min-height: clamp(130px, 18vw, 180px);
  margin-top: 0.2rem;
}

.wuensche-process {
  gap: 1rem;
}

.wuensche-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.wuensche-step {
  padding: 0.9rem;
  border: 1px solid rgb(0 0 0 / 16%);
  border-radius: 12px;
  background: rgb(255 255 255 / 58%);
}

.wuensche-step-number {
  margin: 0 0 0.45rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 58%);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--blue) 30%, white) 0%,
      color-mix(in srgb, var(--gold) 16%, white) 100%
    );
  display: grid;
  place-items: center;
  font-size: 0.92rem;
  font-weight: 800;
}

.wuensche-step h3 {
  margin: 0 0 0.35rem;
}

.wuensche-step p {
  margin: 0;
  color: rgb(0 0 0 / 80%);
}

.wuensche-family-cta {
  justify-items: center;
  text-align: center;
  gap: 0.95rem;
  padding: clamp(1rem, 2.8vw, 1.6rem);
  border: 1px solid rgb(255 255 255 / 52%);
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 56%) 0%,
      rgb(255 255 255 / 24%) 48%,
      rgb(255 255 255 / 38%) 100%
    );
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 60%),
    0 12px 26px rgb(0 0 0 / 10%);
}

.traummobil-equipment {
  gap: 1rem;
}

.traummobil-switch {
  width: min(100%, 860px);
  margin: 0 auto;
  border: 1px solid rgb(255 255 255 / 56%);
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 56%) 0%,
      rgb(255 255 255 / 24%) 48%,
      rgb(255 255 255 / 38%) 100%
    );
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 60%),
    0 12px 26px rgb(0 0 0 / 10%);
  overflow: hidden;
}

.traummobil-switch-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  padding: 0.8rem;
  border-bottom: 1px solid rgb(0 0 0 / 10%);
  background: rgb(255 255 255 / 35%);
}

.traummobil-switch-btn {
  border: 1px solid rgb(255 255 255 / 52%);
  border-radius: 999px;
  padding: 0.58rem 0.9rem;
  font: inherit;
  font-weight: 800;
  color: var(--black);
  cursor: pointer;
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 52%) 0%,
      rgb(255 255 255 / 22%) 52%,
      rgb(255 255 255 / 36%) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 58%),
    0 6px 12px rgb(0 0 0 / 10%);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.traummobil-switch-btn:hover {
  transform: translateY(-1px);
}

.traummobil-switch-btn.is-active {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--blue) 34%, white) 0%,
      color-mix(in srgb, var(--gold) 18%, white) 100%
    );
}

.traummobil-switch-btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.traummobil-switch-panel {
  padding: 1rem 1.05rem 1.1rem;
}

.traummobil-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.traummobil-list li {
  position: relative;
  padding: 0.62rem 0.75rem 0.62rem 2.1rem;
  border: 1px solid rgb(0 0 0 / 14%);
  border-radius: 10px;
  background: rgb(255 255 255 / 62%);
  line-height: 1.45;
}

.traummobil-list li::before {
  content: "";
  position: absolute;
  left: 0.78rem;
  top: 50%;
  width: 0.74rem;
  height: 0.74rem;
  border-radius: 999px;
  transform: translateY(-50%);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gold) 54%, white) 0%,
      color-mix(in srgb, var(--blue) 34%, white) 100%
    );
}

.traummobil-destinations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.traummobil-destination-card {
  padding: 0.95rem;
  border: 1px solid rgb(255 255 255 / 56%);
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gold) 16%, white) 0%,
      rgb(255 255 255 / 24%) 48%,
      color-mix(in srgb, var(--blue) 10%, white) 100%
    );
  backdrop-filter: blur(12px) saturate(125%);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 60%),
    0 8px 20px rgb(0 0 0 / 10%);
}

.traummobil-destination-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.06rem;
}

.traummobil-destination-card p {
  margin: 0;
  color: rgb(0 0 0 / 82%);
}

.inline-link {
  color: var(--black);
  font-weight: 800;
  text-underline-offset: 0.16em;
}

.inline-link:hover {
  color: color-mix(in srgb, var(--red) 70%, var(--black) 30%);
}

.traummobil-cta {
  justify-items: center;
  text-align: center;
  gap: 0.95rem;
  padding: clamp(1rem, 2.8vw, 1.6rem);
  border: 1px solid rgb(255 255 255 / 52%);
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 56%) 0%,
      rgb(255 255 255 / 24%) 48%,
      rgb(255 255 255 / 38%) 100%
    );
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 60%),
    0 12px 26px rgb(0 0 0 / 10%);
}

@media (max-width: 900px) {
  .story-section--split,
  .story-section--feature {
    grid-template-columns: 1fr;
  }

  .story-section-head {
    text-align: center;
    justify-items: center;
    width: 100%;
  }

  .story-pill {
    margin-inline: auto;
    justify-self: center;
  }

  .story-title {
    text-align: center;
    width: 100%;
  }

  .story-subtext {
    text-align: center;
    max-width: 52ch;
    margin-inline: auto;
    width: 100%;
  }

  .story-facts {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .story-fact-card {
    text-align: center;
  }

  .story-visual-stack {
    width: 100%;
  }

  .story-feature-media {
    width: 100%;
  }

  .wuensche-grid,
  .wuensche-steps {
    grid-template-columns: 1fr;
  }

  .traummobil-destinations {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .faq-switch-head {
    grid-template-columns: 1fr;
  }

  .traummobil-switch-head {
    grid-template-columns: 1fr;
  }

  .story-visual-row {
    grid-template-columns: 1fr;
  }

  .story-carousel {
    padding: 0.45rem;
  }

  .story-carousel-controls {
    gap: 0.5rem;
  }
}

.content-block h2 {
  margin: 0 0 0.5rem;
  color: var(--black);
}

.content-block p {
  margin: 0 0 0.8rem;
  line-height: 1.6;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.split-block {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.quote-block {
  border: 0;
  border-left: 4px solid var(--red);
  border-radius: 0;
  background: transparent;
  padding: 0 0 0 1rem;
}

.quote-block p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.cards-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.mini-card {
  border: 0;
  border-bottom: 1px solid var(--black);
  border-radius: 0;
  padding: 0 0 1rem;
  background: transparent;
}

.mini-card h3 {
  margin: 0 0 0.5rem;
}

.mini-card p {
  margin: 0;
  line-height: 1.55;
}

.faq-switch {
  width: 100%;
  margin: 0.8rem auto 0;
  border: 1px solid rgb(255 255 255 / 56%);
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 56%) 0%,
      rgb(255 255 255 / 24%) 48%,
      rgb(255 255 255 / 38%) 100%
    );
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 60%),
    0 12px 26px rgb(0 0 0 / 10%);
  overflow: hidden;
}

.faq-switch-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  padding: 0.8rem;
  border-bottom: 1px solid rgb(0 0 0 / 10%);
  background: rgb(255 255 255 / 35%);
}

.faq-switch-btn {
  border: 1px solid rgb(255 255 255 / 52%);
  border-radius: 999px;
  padding: 0.58rem 0.9rem;
  font: inherit;
  font-weight: 800;
  color: var(--black);
  cursor: pointer;
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 56%) 0%,
      rgb(255 255 255 / 24%) 48%,
      rgb(255 255 255 / 38%) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 58%),
    0 8px 16px rgb(0 0 0 / 10%);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.faq-switch-btn:hover {
  transform: translateY(-1px);
}

.faq-switch-btn.is-active {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--blue) 34%, white) 0%,
      color-mix(in srgb, var(--gold) 18%, white) 100%
    );
}

.faq-switch-btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.blog-filter {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: fit-content;
  margin: 0 auto;
  padding: 0.55rem 0.6rem;
  border: 1px solid rgb(255 255 255 / 48%);
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 56%) 0%,
      rgb(255 255 255 / 24%) 48%,
      rgb(255 255 255 / 38%) 100%
    );
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 62%),
    inset 0 -1px 0 rgb(255 255 255 / 20%),
    0 14px 30px rgb(0 0 0 / 14%);
}

.blog-filter-label {
  padding: 0.5rem 0.6rem 0.5rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: rgb(0 0 0 / 62%);
  white-space: nowrap;
}

.blog-filter-btn {
  display: inline-block;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 48%);
  background: rgb(255 255 255 / 10%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 56%), 0 1px 2px rgb(0 0 0 / 8%);
  color: var(--black);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

.blog-filter-btn:hover {
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 46%) 0%,
      rgb(255 255 255 / 22%) 50%,
      rgb(255 255 255 / 34%) 100%
    );
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 62%),
    0 10px 20px rgb(0 0 0 / 14%);
}

.blog-filter-btn.is-active {
  background:
    linear-gradient(
      140deg,
      color-mix(in srgb, var(--blue) 58%, white) 0%,
      color-mix(in srgb, var(--gold) 22%, white) 100%
    );
  color: var(--black);
  border-color: rgb(255 255 255 / 58%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 60%),
    0 8px 18px rgb(0 0 0 / 12%);
}

.blog-filter-btn:active {
  transform: translateY(0);
}

.blog-filter-btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.blog-card[hidden] {
  display: none;
}

.blog-filter-empty {
  grid-column: 1 / -1;
  margin: 0.8rem 0 0;
  text-align: center;
  font-weight: 700;
  color: rgb(0 0 0 / 68%);
}

.faq-switch-panel {
  padding: 1rem 1.05rem 1.1rem;
}

/* ── Projekte-Raster ── */

.projects-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

.projects-grid-title {
  grid-column: 1 / -1;
  margin: 0 0 0.2rem;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
}

.projects-story {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.9rem;
  width: min(100%, 980px);
  margin: 0.4rem auto 0.9rem;
  padding: clamp(1rem, 2.8vw, 1.7rem);
  border-radius: 24px;
  border: 1px solid rgb(255 255 255 / 56%);
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 56%) 0%,
      rgb(255 255 255 / 24%) 48%,
      rgb(255 255 255 / 38%) 100%
    );
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 60%),
    0 12px 26px rgb(0 0 0 / 10%);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.projects-story::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background:
    linear-gradient(
      125deg,
      color-mix(in srgb, var(--gold) 82%, white) 0%,
      color-mix(in srgb, var(--bg) 88%, white) 26%,
      color-mix(in srgb, var(--blue) 62%, white) 52%,
      color-mix(in srgb, var(--green) 58%, white) 76%,
      color-mix(in srgb, var(--red) 36%, var(--gold) 64%) 100%
    );
  background-size: 190% 190%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.42;
  pointer-events: none;
  transition: opacity 260ms ease, filter 260ms ease;
}

.projects-story:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 64%),
    0 16px 32px rgb(0 0 0 / 14%),
    0 0 20px rgb(234 176 60 / 22%),
    0 0 26px rgb(166 209 218 / 20%),
    0 0 30px rgb(182 55 38 / 14%);
}

.projects-story:hover::before {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgb(234 176 60 / 35%)) drop-shadow(0 0 8px rgb(166 209 218 / 28%));
  animation: hero-gradient-shift 5.5s ease-in-out infinite;
}

.projects-story h2 {
  margin: 0 0 0.25rem;
}

.projects-story p {
  margin: 0;
  max-width: 92ch;
}

.projects-story-pills {
  margin-top: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.projects-story-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 60%);
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 56%) 0%,
      rgb(255 255 255 / 24%) 48%,
      rgb(255 255 255 / 38%) 100%
    );
  backdrop-filter: blur(12px) saturate(125%);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 62%),
    0 8px 16px rgb(0 0 0 / 10%);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.8rem;
  min-height: 280px;
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 56%) 0%,
      rgb(255 255 255 / 24%) 48%,
      rgb(255 255 255 / 38%) 100%
    );
  border: 1px solid rgb(255 255 255 / 52%);
  border-radius: 12px;
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 60%),
    0 10px 24px rgb(0 0 0 / 10%);
  text-decoration: none;
  color: var(--black);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
  position: relative;
  overflow: hidden;
  --arrow-travel: calc(100% - 2.4rem);
}

.project-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background:
    linear-gradient(
      90deg,
      var(--red) 0%,
      color-mix(in srgb, var(--gold) 70%, var(--red)) 50%,
      var(--red) 100%
    );
  transform: scaleX(0);
  transform-origin: left center;
  border-radius: 0 0 12px 12px;
  pointer-events: none;
  transition: transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover::after,
.project-card:focus-visible::after {
  transform: scaleX(1);
}

.project-card:hover {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gold) 24%, white) 0%,
      rgb(255 255 255 / 24%) 50%,
      color-mix(in srgb, var(--blue) 12%, white) 100%
    );
  transform: translateY(-6px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 64%),
    0 14px 28px rgb(0 0 0 / 14%);
  border-color: rgb(255 255 255 / 60%);
}

.project-card:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.project-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 58%);
  background: rgb(255 255 255 / 42%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 65%);
}

.project-card-icon .icon {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--red);
}

.project-card h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.project-card p {
  margin: 0;
  flex-grow: 1;
  line-height: 1.5;
  font-size: 1rem;
  color: rgb(0 0 0 / 82%);
}

.blog-card {
  padding-bottom: 1.8rem;
}

.blog-card::after {
  display: none;
}

.blog-card-meta {
  margin: 0;
  flex-grow: 0;
  font-size: 0.86rem;
  line-height: 1.35;
  color: rgb(0 0 0 / 62%);
}

/* ── Blog-Artikel Meta (Autor, Datum, Teilen) ── */

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.2rem;
  margin: 0;
  font-size: 0.9rem;
  color: rgb(0 0 0 / 72%);
}

.blog-article-end {
  margin-top: 0.25rem;
  padding-top: 0.35rem;
}

.blog-article-separator {
  width: 100%;
  margin: 0 0 0.95rem;
  border: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgb(0 0 0 / 10%) 18%,
    rgb(0 0 0 / 22%) 50%,
    rgb(0 0 0 / 10%) 82%,
    transparent 100%
  );
}

.blog-article-end .blog-article-meta {
  justify-content: flex-start;
}

.blog-article-meta__author,
.blog-article-meta__date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-article-meta__author::before {
  content: "";
  width: 1em;
  height: 1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  opacity: 0.6;
}

.blog-article-meta__date::before {
  content: "";
  width: 1em;
  height: 1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  opacity: 0.6;
}

.blog-article-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgb(255 255 255 / 52%);
  border-radius: 999px;
  background: rgb(255 255 255 / 24%);
  backdrop-filter: blur(10px);
  font: inherit;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.blog-article-share-btn:hover {
  background: rgb(255 255 255 / 42%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgb(0 0 0 / 10%);
}

.blog-article-share-btn .icon {
  width: 1.1rem;
  height: 1.1rem;
}

/* ── Share-Wizard Modal ── */

.share-wizard-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgb(0 0 0 / 40%);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.share-wizard-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.share-wizard {
  width: min(100%, 420px);
  padding: 1.5rem;
  border: 1px solid rgb(255 255 255 / 56%);
  border-radius: 16px;
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgb(0 0 0 / 20%);
  transform: scale(0.95);
  transition: transform 220ms ease;
}

.share-wizard-backdrop.is-open .share-wizard {
  transform: scale(1);
}

.share-wizard h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.share-wizard-url-wrap {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.share-wizard-url {
  flex: 1;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgb(0 0 0 / 18%);
  border-radius: 10px;
  font-size: 0.9rem;
  background: rgb(255 255 255 / 80%);
}

.share-wizard-copy-btn {
  padding: 0.6rem 1rem;
  border: 1px solid rgb(255 255 255 / 52%);
  border-radius: 10px;
  background: linear-gradient(135deg, rgb(255 255 255 / 56%) 0%, rgb(255 255 255 / 24%) 100%);
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.share-wizard-copy-btn:hover {
  background: linear-gradient(135deg, color-mix(in srgb, var(--blue) 24%, white) 0%, rgb(255 255 255 / 32%) 100%);
  transform: translateY(-1px);
}

.share-wizard-copy-btn.copied {
  background: color-mix(in srgb, var(--green) 30%, white);
}

.share-wizard-close {
  display: block;
  width: 100%;
  padding: 0.5rem;
  border: 0;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgb(0 0 0 / 62%);
  cursor: pointer;
  transition: color 160ms ease;
}

.share-wizard-close:hover {
  color: var(--black);
}

.project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: 0.1rem;
}

.project-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border-radius: 0;
  border: none;
  background: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}

.project-card-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.project-card-tag--palliativ {
  color: #4a7fb5;
}

.project-card-tag--hospiz {
  color: #b5566a;
}

.project-card-tag--auszeit {
  color: #5a8a42;
}

.project-card-tag--familien {
  color: #b8913a;
}

.project-card-tag--herzenswunsch {
  color: #c4a020;
}

.project-card-tag--familie {
  color: #a87d52;
}

.project-card-tag--lichtblick {
  color: #b89e30;
}

.project-card-tag--mobilitaet {
  color: #3a8fa0;
}

.project-card-tag--medizin {
  color: #b0605a;
}

.project-card-tag--kooperation {
  color: #4a8a72;
}

.project-card-tag--oeffentlich {
  color: #6668a0;
}

.project-card-tag--spielplatz {
  color: #a0568a;
}

.project-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.7rem;
  width: fit-content;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 60%);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--blue) 26%, white) 0%,
      color-mix(in srgb, var(--gold) 12%, white) 100%
    );
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--black);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 65%);
}

.project-card-arrow {
  align-self: flex-end;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--red);
}

@media (max-width: 1320px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .project-card {
    min-height: 0;
  }
}

.projects-trust.content-block {
  max-width: 100%;
  margin-top: clamp(1rem, 3vw, 1.8rem);
  padding-top: clamp(1.2rem, 3vw, 2rem);
  border-top: 1px solid rgb(0 0 0 / 14%);
}

.projects-trust-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1rem;
  width: min(100%, 900px);
  margin-inline: auto;
  padding: clamp(1rem, 2.6vw, 1.6rem);
  border: 1px solid rgb(255 255 255 / 56%);
  border-radius: 22px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 58%),
    0 10px 24px rgb(0 0 0 / 14%),
    0 0 26px rgb(234 176 60 / 28%),
    0 0 36px rgb(166 209 218 / 24%),
    0 0 46px rgb(182 55 38 / 16%);
}

.projects-trust-card h2 {
  margin: 0;
}

.projects-trust-card p {
  margin: 0;
  max-width: 74ch;
}

.projects-trust-card .hero-actions {
  margin-top: 0.5rem;
}

/* ── Spenden Impact Netzwerk ── */

.impact-section {
  display: grid;
  gap: 1.5rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: clamp(1rem, 4vw, 3rem);
}

.impact-head {
  text-align: center;
}

.impact-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 800;
  color: rgb(0 0 0 / 70%);
}

.impact-head h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.2rem, 3.4vw, 1.9rem);
}

.impact-network {
  position: relative;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 1.5rem 0;
  min-height: 400px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
  overflow: hidden;
}

.impact-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.impact-path {
  fill: none;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.impact-path-in {
  stroke: rgb(0 0 0 / 12%);
}

.impact-path-out {
  stroke: rgb(0 0 0 / 12%);
}

.impact-flow-dot {
  opacity: 0;
  filter: drop-shadow(0 0 3px rgb(0 0 0 / 14%));
}

.impact-flow-dot-in {
  fill: var(--green);
}

.impact-flow-dot-blue {
  fill: var(--blue);
}

.impact-flow-dot-out {
  fill: var(--gold);
}

.impact-sources {
  display: grid;
  gap: 0.7rem;
  z-index: 2;
  justify-items: end;
}

.impact-source-card {
  border: 1px solid rgb(255 255 255 / 52%);
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 58%) 0%,
      rgb(255 255 255 / 22%) 50%,
      rgb(255 255 255 / 40%) 100%
    );
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 62%),
    inset 0 -0.5px 0 rgb(0 0 0 / 4%),
    0 8px 20px rgb(0 0 0 / 8%);
  padding: 0.55rem 0.6rem;
  display: grid;
  justify-items: center;
  text-align: center;
  width: min(100%, 480px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.impact-source-card:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 68%),
    inset 0 -0.5px 0 rgb(0 0 0 / 4%),
    0 12px 24px rgb(0 0 0 / 12%);
}

.impact-source-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgb(255 255 255 / 60%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 0.25rem;
  background:
    linear-gradient(
      160deg,
      rgb(255 255 255 / 72%) 0%,
      rgb(255 255 255 / 34%) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 80%),
    0 2px 6px rgb(0 0 0 / 6%);
}

.impact-source-icon svg,
.impact-project-card svg,
.impact-project-card .icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--black);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.impact-source-card p {
  margin: 0;
  font-weight: 700;
  font-size: 0.8rem;
}

.impact-hub {
  z-index: 3;
  text-align: center;
}

.impact-hub-logo {
  margin: 0 auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.impact-hub-logo img {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
}

.impact-network.is-hub-pulse .impact-hub-logo {
  box-shadow: 0 0 0 6px rgb(166 209 218 / 45%);
}

.impact-hub p {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  font-weight: 800;
}

.impact-projects {
  display: grid;
  gap: 0.55rem;
  z-index: 2;
  justify-items: start;
}

.impact-project-card {
  --impact-glow-color: var(--gold);
  border: 1px solid rgb(255 255 255 / 52%);
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 58%) 0%,
      rgb(255 255 255 / 22%) 50%,
      rgb(255 255 255 / 40%) 100%
    );
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 62%),
    inset 0 -0.5px 0 rgb(0 0 0 / 4%),
    0 8px 20px rgb(0 0 0 / 8%);
  text-decoration: none;
  color: var(--black);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.65rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  width: min(100%, 480px);
}

.impact-project-card--palliativcampus {
  --impact-glow-color: var(--blue);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--blue) 16%, rgb(255 255 255 / 58%)) 0%,
      rgb(255 255 255 / 20%) 50%,
      color-mix(in srgb, var(--blue) 10%, rgb(255 255 255 / 40%)) 100%
    );
}

.impact-project-card--wuensche {
  --impact-glow-color: var(--gold);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gold) 18%, rgb(255 255 255 / 58%)) 0%,
      rgb(255 255 255 / 20%) 50%,
      color-mix(in srgb, var(--gold) 10%, rgb(255 255 255 / 40%)) 100%
    );
}

.impact-project-card--traummobil {
  --impact-glow-color: var(--blue);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--blue) 18%, rgb(255 255 255 / 58%)) 0%,
      rgb(255 255 255 / 20%) 50%,
      color-mix(in srgb, var(--blue) 10%, rgb(255 255 255 / 40%)) 100%
    );
}

.impact-project-card--sapv {
  --impact-glow-color: var(--red);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--red) 16%, rgb(255 255 255 / 58%)) 0%,
      rgb(255 255 255 / 20%) 50%,
      color-mix(in srgb, var(--red) 10%, rgb(255 255 255 / 40%)) 100%
    );
}

.impact-project-card--rabaukenland {
  --impact-glow-color: var(--green);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--green) 18%, rgb(255 255 255 / 58%)) 0%,
      rgb(255 255 255 / 20%) 50%,
      color-mix(in srgb, var(--green) 10%, rgb(255 255 255 / 40%)) 100%
    );
}

.impact-project-card--mobilitaetshilfen {
  --impact-glow-color: var(--gold);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gold) 14%, rgb(255 255 255 / 58%)) 0%,
      rgb(255 255 255 / 20%) 50%,
      color-mix(in srgb, var(--gold) 8%, rgb(255 255 255 / 40%)) 100%
    );
}

.impact-project-card:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 68%),
    inset 0 -0.5px 0 rgb(0 0 0 / 4%),
    0 12px 24px rgb(0 0 0 / 12%);
}

.impact-project-card--palliativcampus:hover {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--blue) 24%, rgb(255 255 255 / 64%)) 0%,
      rgb(255 255 255 / 26%) 50%,
      color-mix(in srgb, var(--blue) 16%, rgb(255 255 255 / 46%)) 100%
    );
}

.impact-project-card--wuensche:hover {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gold) 26%, rgb(255 255 255 / 64%)) 0%,
      rgb(255 255 255 / 26%) 50%,
      color-mix(in srgb, var(--gold) 16%, rgb(255 255 255 / 46%)) 100%
    );
}

.impact-project-card--traummobil:hover {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--blue) 26%, rgb(255 255 255 / 64%)) 0%,
      rgb(255 255 255 / 26%) 50%,
      color-mix(in srgb, var(--blue) 16%, rgb(255 255 255 / 46%)) 100%
    );
}

.impact-project-card--sapv:hover {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--red) 24%, rgb(255 255 255 / 64%)) 0%,
      rgb(255 255 255 / 26%) 50%,
      color-mix(in srgb, var(--red) 14%, rgb(255 255 255 / 46%)) 100%
    );
}

.impact-project-card--rabaukenland:hover {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--green) 28%, rgb(255 255 255 / 64%)) 0%,
      rgb(255 255 255 / 26%) 50%,
      color-mix(in srgb, var(--green) 16%, rgb(255 255 255 / 46%)) 100%
    );
}

.impact-project-card--mobilitaetshilfen:hover {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gold) 22%, rgb(255 255 255 / 64%)) 0%,
      rgb(255 255 255 / 26%) 50%,
      color-mix(in srgb, var(--gold) 14%, rgb(255 255 255 / 46%)) 100%
    );
}

.impact-project-card p {
  margin: 0;
  font-weight: 800;
  font-size: 0.93rem;
}

.impact-project-card.is-flow-glow {
  border-color: color-mix(in srgb, var(--impact-glow-color) 60%, rgb(255 255 255 / 50%));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 72%),
    0 0 0 3px color-mix(in srgb, var(--impact-glow-color) 32%, white),
    0 0 20px color-mix(in srgb, var(--impact-glow-color) 40%, transparent),
    0 8px 20px rgb(0 0 0 / 8%);
}

@media (max-width: 980px) {
  .impact-network {
    min-height: 360px;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(1rem, 3vw, 2rem);
    padding: 0.7rem 0;
  }

  .impact-source-card,
  .impact-project-card {
    width: 100%;
    max-width: 280px;
  }

  .impact-source-icon {
    width: 40px;
    height: 40px;
  }

  .impact-source-icon svg,
  .impact-project-card svg {
    width: 22px;
    height: 22px;
  }

  .impact-source-card p,
  .impact-project-card p {
    font-size: 0.78rem;
  }

  .impact-hub-logo {
    width: 240px;
    height: 240px;
  }

  .impact-hub-logo img {
    width: 240px;
    height: 240px;
  }

  .impact-hub p {
    font-size: 0.88rem;
  }
}

@media (max-width: 760px) {
  .impact-network {
    min-height: 300px;
    gap: 0.45rem;
    padding: 0.45rem 0.35rem;
  }

  .impact-source-card,
  .impact-project-card {
    max-width: 152px;
    border-radius: 12px;
    padding: 0.32rem 0.42rem;
  }

  .impact-source-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.15rem;
  }

  .impact-source-icon svg,
  .impact-project-card svg {
    width: 17px;
    height: 17px;
  }

  .impact-source-card p,
  .impact-project-card p {
    font-size: 0.67rem;
  }

  .impact-hub-logo {
    width: 160px;
    height: 160px;
  }

  .impact-hub-logo img {
    width: 160px;
    height: 160px;
  }

  .impact-hub p {
    margin-top: 0.35rem;
    font-size: 0.73rem;
  }
}

.donation-box {
  border: 2px solid var(--black);
  border-radius: 14px;
  background: var(--white);
  padding: clamp(1rem, 3vw, 1.5rem);
}

.donation-box h2 {
  margin: 0 0 0.6rem;
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  #pageContent,
  .logo-intro,
  .logo-intro__logo {
    transition: none;
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .top-nav,
  .hero,
  .hero::before,
  .hero::after,
  .hero-logo-wrap,
  .hero-btn[href="spenden.html"],
  .hero-btn[href^="spenden.html#"],
  .hero-btn.is-donate-btn,
  .projects-story:hover::before {
    animation: none;
  }

  .projects-story:hover {
    transform: none;
  }

  .project-card:hover {
    transform: none;
  }

  .impact-overlay {
    display: none;
  }

  .impact-project-card:hover {
    transform: none;
  }

  .site-footer::before,
  .site-footer::after {
    animation: none;
  }
}

/* ── Global Footer ───────────────────────────────── */

.site-footer {
  position: relative;
  isolation: isolate;
  margin-top: clamp(2rem, 5vw, 4rem);
  margin-inline: calc(var(--page-gutter) * -1);
  padding: clamp(2.4rem, 6vw, 4rem) var(--page-gutter) clamp(0.8rem, 2vw, 1.2rem);
  overflow: hidden;
  background: color-mix(in srgb, var(--bg) 88%, white);
  text-align: center;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      125deg,
      color-mix(in srgb, var(--gold) 82%, white) 0%,
      color-mix(in srgb, var(--bg) 88%, white) 26%,
      color-mix(in srgb, var(--blue) 62%, white) 52%,
      color-mix(in srgb, var(--green) 58%, white) 76%,
      color-mix(in srgb, var(--red) 36%, var(--gold) 64%) 100%
    );
  background-size: 190% 190%;
  pointer-events: none;
  animation: hero-gradient-shift 16s ease-in-out infinite;
  z-index: 0;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: -8% -10%;
  background:
    radial-gradient(circle at 28% 22%, rgb(234 176 60 / 30%) 0%, rgb(234 176 60 / 0%) 58%),
    radial-gradient(circle at 76% 72%, rgb(166 209 218 / 26%) 0%, rgb(166 209 218 / 0%) 60%);
  filter: blur(10px);
  pointer-events: none;
  animation: hero-aurora 9s ease-in-out infinite;
  z-index: 0;
}

.site-footer > *,
.footer-inner > * {
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 1.6rem;
  max-width: 740px;
  margin-inline: auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.footer-logo {
  width: 110px;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-tagline {
  margin: 0;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--black);
}

.footer-tagline::after {
  content: "";
  display: block;
  width: 78px;
  height: 1px;
  margin: 0.55rem auto 0;
  background: rgb(0 0 0 / 14%);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.2rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--black);
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--red);
}

.footer-social {
  display: flex;
  gap: 0.7rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgb(255 255 255 / 42%);
  border: 1px solid rgb(255 255 255 / 48%);
  backdrop-filter: blur(10px);
  color: var(--black);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  background: rgb(255 255 255 / 64%);
  color: var(--red);
}

.footer-social .icon {
  width: 22px;
  height: 22px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.2rem;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--black);
  transition: color 180ms ease;
}

.footer-nav a:hover {
  color: var(--red);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.4rem;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgb(0 0 0 / 72%);
  transition: color 180ms ease;
}

.footer-contact a:hover {
  color: var(--red);
}

.footer-divider {
  width: 60px;
  height: 1px;
  border: 0;
  background: rgb(0 0 0 / 12%);
  margin: 0;
}

.footer-cta {
  margin-top: 0.2rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: rgb(0 0 0 / 55%);
}

.content-section {
  padding: clamp(1.5rem, 4vw, 3rem) 0;
}

.content-block {
  max-width: 68ch;
  margin-inline: auto;
}

.content-block h2 {
  margin: 1.8rem 0 0.6rem;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: var(--black);
}

.content-block h3 {
  margin: 1.2rem 0 0.4rem;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  color: var(--black);
}

.content-block p {
  margin: 0 0 0.8rem;
  line-height: 1.65;
  color: rgb(0 0 0 / 78%);
}

.projects-story.content-block,
.story-section.content-block {
  max-width: 980px;
}

.impact-section.content-block {
  max-width: none;
  margin-inline: 0;
  margin-left: calc(50% - 50vw);
}

