* {
  box-sizing: border-box;
}

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/nunito-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/nunito-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/nunito-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/nunito-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

img {
  max-width: 100%;
  height: auto;
}

/* ── 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: clip;
  --page-gutter: clamp(1rem, 3vw, 2.5rem);
}

html {
  overflow-x: clip;
  /* Sprungziele (#anker) nicht unter der festen Menüleiste verstecken. */
  scroll-padding-top: 8rem;
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 5.5rem;
  }
}

/* ── Intro overlay ── */

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

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

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

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

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

/* Zurück auf die Startseite innerhalb eines Besuchs: keine Ladeanimation */
html.intro-skip .logo-intro {
  display: none;
}

html.intro-skip body.is-loading #pageContent {
  opacity: 1;
  transition: none;
}

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

.logo-intro__logo {
  width: clamp(170px, 34vw, 300px);
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  animation: intro-logo-reveal 700ms 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: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-sticky-nav);
  background: transparent;
  pointer-events: none;
}

.top-nav .pill-nav {
  pointer-events: auto;
}

.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: var(--z-nav-dropdown);
  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%);
}

.pill-link--contact {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gold) 48%, white) 0%,
      color-mix(in srgb, var(--gold) 26%, white) 50%,
      color-mix(in srgb, var(--gold) 38%, white) 100%
    );
  border-color: color-mix(in srgb, var(--gold) 40%, rgb(255 255 255 / 60%));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 60%),
    0 4px 12px color-mix(in srgb, var(--gold) 18%, transparent);
}

.pill-link--contact:hover {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gold) 56%, white) 0%,
      color-mix(in srgb, var(--gold) 32%, white) 50%,
      color-mix(in srgb, var(--gold) 46%, white) 100%
    );
  border-color: color-mix(in srgb, var(--gold) 50%, rgb(255 255 255 / 60%));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 62%),
    0 10px 20px color-mix(in srgb, var(--gold) 22%, transparent);
}

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

.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: var(--z-nav-pill);
}

.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:hover .submenu,
.pill-nav:focus-within .submenu {
  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%;
  max-width: 100vw;
  margin: 0 0 2rem;
  padding: 0 var(--page-gutter);
  display: grid;
  gap: 1.4rem;
  overflow-x: clip;
}

.card {
  background: transparent;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  text-align: center;
  gap: clamp(0.35rem, 2.2vw, 1.2rem);
  width: auto;
  max-width: 100vw;
  margin-inline: calc(var(--page-gutter) * -1);
  padding: calc(5.5rem + clamp(0.5rem, 2vw, 1.5rem)) var(--page-gutter) clamp(3rem, 7vw, 5rem);
  min-height: 0;
  overflow: hidden;
  background: var(--bg);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero::before {
  /* Ein durchgehender, weicher Verlauf ohne Flecken:
     Gold → Grün → Blau, unten sanft in die Seitenfarbe (alle Seiten) */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 62%, var(--bg) 100%),
    linear-gradient(
      120deg,
      color-mix(in srgb, var(--gold) 50%, white) 0%,
      color-mix(in srgb, var(--green) 50%, white) 52%,
      color-mix(in srgb, var(--blue) 50%, white) 100%
    );
  pointer-events: none;
  z-index: var(--z-base);
}

.hero::after {
  content: none;
}

/* Unterseiten ohne Logo: etwas mehr Abstand zur Navigation */
.hero:not(.hero--home) {
  padding-top: calc(6.5rem + clamp(0.5rem, 2vw, 1.5rem));
}

.hero > * {
  position: relative;
  z-index: var(--z-content);
}

.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(210px, 21vw, 290px);
}

.hero--home .hero-copy,
.hero--home .hero-logo-wrap {
  z-index: var(--z-raised);
}

/* ── Startseiten-Hero: ruhig, Farben der Palette mit 50 Prozent Stärke ── */

.hero--home {
  gap: clamp(0.5rem, 1.6vw, 1rem);
}

.hero--home .hero-logo-wrap {
  animation: none;
}

.hero--home .hero-copy {
  margin-top: 0.75rem;
  max-width: 44rem;
}

.hero .hero-kicker {
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: color-mix(in srgb, var(--green) 45%, var(--black));
}

.hero .hero-title {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: color-mix(in srgb, var(--green) 30%, var(--black));
}

.hero .hero-subtitle {
  margin-top: 0.75rem;
  max-width: 54ch;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.6;
  color: rgb(0 0 0 / 75%);
}

.hero .hero-actions {
  margin-top: 1.4rem;
}

.hero--home .hero-btn.hero-btn--home-donate {
  animation: none;
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gold) 30%, white) 0%,
      rgb(255 255 255 / 40%) 50%,
      color-mix(in srgb, var(--gold) 20%, white) 100%
    );
  border-color: color-mix(in srgb, var(--gold) 50%, white);
  color: var(--black);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 70%),
    0 6px 16px rgb(0 0 0 / 10%);
}

.hero--home .hero-btn.hero-btn--home-donate:hover {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gold) 40%, white) 0%,
      rgb(255 255 255 / 48%) 50%,
      color-mix(in srgb, var(--gold) 28%, white) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 75%),
    0 10px 22px rgb(0 0 0 / 14%);
}

.hero--home .hero-btn--home-donate .icon {
  color: var(--red);
}

.hero--home .home-hero-highlights {
  margin-top: 1.25rem;
  gap: 0.5rem 1.25rem;
}

.hero--home .home-hero-highlights__item {
  color: rgb(0 0 0 / 75%);
}

.hero--home .home-hero-highlights__item .icon,
.hero--home .home-hero-highlights__item:hover .icon {
  color: var(--red);
}

.hero--home .home-hero-highlights__item:hover span {
  color: color-mix(in srgb, var(--green) 30%, var(--black));
}

.hero-copy {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  justify-items: center;
  margin-top: 0;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.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--home-donate {
  min-width: 172px;
  padding: 0.78rem 1.45rem;
  font-size: 1.05rem;
}

.home-hero-highlights {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  max-width: 100%;
}

.home-hero-highlights__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0;
  font-weight: 700;
  color: var(--red);
  transition: transform 180ms ease;
}

.home-hero-highlights__item .icon {
  color: var(--black);
  width: 0.95rem;
  height: 0.95rem;
  margin-right: 0;
  transition: transform 180ms ease, color 180ms ease;
}

.home-hero-highlights__item span {
  display: inline-block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.86rem;
  line-height: 1.25;
  transition: transform 180ms ease, color 180ms ease;
}

.home-hero-highlights__item:hover {
  transform: translateY(-1px);
}

.home-hero-highlights__item:hover .icon {
  color: var(--black);
  transform: scale(1.06);
}

.home-hero-highlights__item:hover span {
  transform: translateY(-1px);
  color: color-mix(in srgb, var(--red) 70%, var(--gold) 30%);
}

.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="online-spenden.html"],
.hero-btn[href^="online-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="online-spenden.html"]:hover,
.hero-btn[href^="online-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: 960px) {
  .top-nav.is-collapsible {
    position: fixed;
    top: 0.7rem;
    right: 0;
    z-index: var(--z-mobile-nav);
    display: grid;
    justify-items: end;
    gap: 0.45rem;
    width: auto;
    padding: 0;
    background: transparent;
    animation: none;
    pointer-events: auto;
  }

  .top-nav.is-collapsible .nav-toggle {
    position: relative;
    z-index: var(--z-mobile-nav-toggle);
    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: var(--z-mobile-nav);
    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: var(--z-nav-backdrop);
    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 .nav-group ~ .pill-link {
    order: 1;
  }

  .top-nav.is-collapsible .pill-link--contact {
    order: 2;
  }

  .top-nav.is-collapsible .submenu {
    position: static;
    order: 0;
    width: 100%;
    justify-content: stretch;
    gap: 0.3rem;
    flex-direction: column;
    max-height: none;
    margin-top: 0.1rem;
    padding: 0.3rem 0 0.15rem;
    padding-left: 1rem;
    border-top-width: 0;
    border-left: 2px solid color-mix(in srgb, var(--gold) 40%, transparent);
    opacity: 1;
    transform: none;
    pointer-events: auto;
    overflow: visible;
  }

  .top-nav.is-collapsible .submenu-link {
    display: block;
    font-size: 0.9em;
    padding: 0.45rem 0.85rem;
    opacity: 0.85;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
  }

  .hero:not(.hero--home) {
    padding-top: calc(4.6rem + env(safe-area-inset-top, 0px));
  }

  .hero--home {
    padding-top: calc(4.8rem + env(safe-area-inset-top, 0px));
    padding-bottom: 2.75rem;
  }

  .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);
}

body[data-disable-scroll-animations] [data-animate] {
  opacity: 1;
  transform: none;
  transition: none;
}

[data-animate-delay="60"] { transition-delay: 60ms; }
[data-animate-delay="120"] { transition-delay: 120ms; }
[data-animate-delay="80"] { transition-delay: 80ms; }
[data-animate-delay="180"] { transition-delay: 180ms; }
[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-pill--home {
  border: 1px solid color-mix(in srgb, var(--blue) 32%, var(--white) 68%);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gold) 26%, var(--white) 74%) 0%,
      rgb(255 255 255 / 24%) 48%,
      color-mix(in srgb, var(--blue) 22%, var(--white) 78%) 100%
    );
  backdrop-filter: blur(12px) saturate(126%);
  -webkit-backdrop-filter: blur(12px) saturate(126%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 62%),
    0 8px 18px rgb(0 0 0 / 10%);
  color: var(--red);
}

.story-pill--home .icon {
  color: var(--green);
}

.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-richtext {
  display: grid;
  gap: 0.7rem;
}

.story-section-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.story-section-links .hero-btn {
  min-width: 0;
  padding: 0.56rem 0.9rem;
}

.story-section-head--home-about .story-richtext .story-subtext {
  text-align: justify;
  text-justify: inter-word;
}

.story-section--home-about-layout .story-section-links {
  justify-content: center;
}

.story-section--home-about-layout .story-richtext .story-subtext {
  text-align: justify;
  text-justify: inter-word;
}

.story-image-placeholder {
  margin: 0;
  min-width: 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%);
  overflow: hidden;
}

.story-image-placeholder--photo {
  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(10px) saturate(124%);
  -webkit-backdrop-filter: blur(10px) saturate(124%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 60%),
    0 10px 18px rgb(0 0 0 / 12%),
    0 0 24px color-mix(in srgb, var(--gold) 26%, transparent),
    0 0 34px color-mix(in srgb, var(--blue) 18%, transparent);
  overflow: hidden;
}

.story-image-placeholder--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

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

.story-section--home-about-layout {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.story-section--home-about-layout .story-section-head {
  justify-items: center;
  text-align: center;
  width: min(100%, 76ch);
}

.story-section--home-about-layout .story-section-head--home-about {
  justify-items: start;
  text-align: left;
}

.story-section--home-about-layout .story-title {
  width: 100%;
  text-align: left;
  font-size: clamp(1.65rem, 4.2vw, 2.6rem);
  line-height: 1.15;
}

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

.story-visual-stack--home-about {
  width: min(100%, 760px);
  justify-self: center;
}

.story-visual-stack--home-about .story-image-placeholder {
  min-height: clamp(150px, 21vw, 250px);
}

.story-visual-stack--home-about .story-image-placeholder--large {
  min-height: clamp(220px, 32vw, 360px);
}

.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));
  min-width: 0;
}

.story-visual-stack--campus-photo {
  align-self: center;
}

.story-campus-figure {
  margin: 0;
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.story-image-placeholder--campus {
  min-height: 0;
}

.story-image-placeholder--campus img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.story-image-caption {
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
  color: var(--red);
}

/* Kleine Fotos (zum Beispiel Archivbilder aus der Gründungszeit): zentriert und
   nicht weit über die Originalgröße gestreckt, damit sie scharf bleiben. */
.story-figure--compact {
  width: min(100%, 320px);
  margin: 1.25rem auto 0;
}

.story-figure--compact .story-image-placeholder {
  min-height: 0;
}

.story-figure--compact img {
  height: auto;
}

/* ── Startseite: Davids Geschichte (Wie alles begann) ── */
.kurier-figure {
  width: min(100%, 420px);
  margin: clamp(1rem, 2.6vw, 1.5rem) auto 0;
}

.kurier-media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 56%);
  border-radius: 14px;
  background: var(--white);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 14px 30px rgb(0 0 0 / 14%);
}

.kurier-media:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.kurier-media img {
  display: block;
  width: 100%;
  height: auto;
}

.kurier-figure .story-image-caption {
  margin-top: 0.6rem;
  text-align: center;
}

.media-lightbox__switch[hidden] {
  display: none;
}

.david-quote {
  max-width: 760px;
  margin: clamp(1.2rem, 3vw, 1.8rem) auto 0;
  padding: clamp(1rem, 2.6vw, 1.5rem) clamp(1.1rem, 3vw, 1.8rem);
  border: 1px solid rgb(255 255 255 / 56%);
  border-left: 4px solid var(--red);
  border-radius: 14px;
  background: rgb(255 255 255 / 55%);
  box-shadow: 0 10px 22px rgb(0 0 0 / 8%);
}

.david-quote blockquote {
  margin: 0;
}

.david-quote blockquote p {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.45;
}

.david-quote figcaption {
  margin-top: 0.6rem;
  font-weight: 700;
  color: var(--red);
}

.david-quote__promise {
  margin: 0.9rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid rgb(0 0 0 / 10%);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
}

.david-story {
  max-width: 720px;
  margin: clamp(1.4rem, 3.4vw, 2.2rem) auto 0;
}

.david-story p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.david-story .david-story__by {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--black) 62%, var(--red) 38%);
}

.david-story .david-story__turn {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  font-weight: 700;
}

.david-story .projects-story-pills,
.david-story .hero-actions {
  justify-content: center;
  margin-top: 1.2rem;
}

/* Aufklappbare Langfassung einer Geschichte („Weiterlesen“), ohne JavaScript über details/summary.
   Der Knopf behält in allen Zuständen den Glas-Look. */
.story-more {
  margin-top: 0.3rem;
}

.story-more__toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  padding: 0.55rem 1.1rem;
  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 / 60%),
    0 6px 14px rgb(0 0 0 / 8%);
  font-weight: 800;
  color: var(--black);
  cursor: pointer;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.story-more__toggle::-webkit-details-marker {
  display: none;
}

.story-more__toggle::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 200ms ease;
}

.story-more[open] .story-more__toggle::after {
  transform: translateY(2px) rotate(-135deg);
}

.story-more__toggle:hover,
.story-more__toggle:active {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 70%),
    0 10px 20px rgb(0 0 0 / 12%);
}

.story-more__toggle:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.story-more__close,
.story-more[open] .story-more__open {
  display: none;
}

.story-more[open] .story-more__close {
  display: inline;
}

.story-more__body {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.story-more__body p {
  margin: 0;
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  .story-more__toggle,
  .story-more__toggle::after {
    transition: none;
  }
}

/* Breite Fotos im Textfluss (zum Beispiel eine Gästebuch-Doppelseite): volle Textbreite,
   Seitenverhältnis des Fotos bleibt erhalten. */
.story-figure--wide {
  width: min(100%, 760px);
  margin: 1.25rem auto 0;
}

.story-figure--wide .story-image-placeholder {
  min-height: 0;
}

.story-figure--wide img {
  height: auto;
}

/* Längeres Zitat einer Familie über die ganze Breite eines Abschnitts (auch unter zwei Spalten). */
.story-quote {
  grid-column: 1 / -1;
  justify-self: center;
  position: relative;
  width: min(100%, 860px);
  margin: clamp(0.4rem, 1.5vw, 1rem) 0 0;
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.1rem, 3vw, 2.2rem) clamp(1.1rem, 2.6vw, 1.6rem);
  border: 1px solid rgb(255 255 255 / 56%);
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--gold) 20%, var(--white)) 0%,
    rgb(255 255 255 / 40%) 50%,
    color-mix(in srgb, var(--blue) 18%, var(--white)) 100%
  );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 60%),
    0 12px 26px rgb(0 0 0 / 8%);
  text-align: left;
}

.story-quote::before {
  content: "“";
  position: absolute;
  top: 0.2rem;
  left: 0.9rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  line-height: 1;
  color: color-mix(in srgb, var(--red) 55%, transparent);
  pointer-events: none;
}

.story-quote blockquote {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding-left: clamp(1.6rem, 3vw, 2.4rem);
}

.story-quote blockquote p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  font-style: italic;
  color: rgb(0 0 0 / 84%);
  text-align: left;
}

.story-quote figcaption {
  margin-top: 0.9rem;
  padding-left: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: color-mix(in srgb, var(--red) 70%, var(--black) 30%);
}

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

.story-carousel {
  width: calc(100% + var(--page-gutter) * 2);
  margin-inline: calc(var(--page-gutter) * -1);
  border-top: 1px solid rgb(0 0 0 / 8%);
  border-bottom: 1px solid rgb(0 0 0 / 8%);
  background: rgb(255 255 255 / 72%);
  padding: 1.5rem 0;
  box-shadow: 0 8px 22px rgb(0 0 0 / 7%);
  overflow: hidden;
}

.story-carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 480ms ease;
  will-change: transform;
}

.story-carousel-slide {
  margin: 0;
  flex: 0 0 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: color-mix(in srgb, var(--white) 82%, var(--bg) 18%);
  transform: scale(0.88);
  opacity: 0.5;
  filter: brightness(0.85);
  transition: transform 480ms ease, opacity 480ms ease, filter 480ms ease, box-shadow 480ms ease;
  position: relative;
  z-index: var(--z-content);
}

.story-carousel-slide {
  --slide-glow: var(--gold);
  --slide-accent: var(--blue);
}

.story-carousel-slide.is-active {
  transform: scale(1);
  opacity: 1;
  filter: brightness(1);
  border: 1px solid color-mix(in srgb, var(--slide-glow) 38%, rgb(255 255 255 / 52%));
  box-shadow:
    0 0 26px 6px color-mix(in srgb, var(--slide-glow) 35%, transparent),
    0 0 56px 14px color-mix(in srgb, var(--slide-accent) 20%, transparent);
  z-index: var(--z-raised);
}

.story-carousel-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  flex-shrink: 0;
}

.story-carousel-caption {
  padding: 0.85rem 1rem 1rem;
  text-align: left;
  border-top: 2px solid color-mix(in srgb, var(--slide-glow) 30%, rgb(255 255 255 / 40%));
}

.story-carousel-caption strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.3;
  transition: color 480ms ease;
}

.story-carousel-slide.is-active .story-carousel-caption strong {
  color: color-mix(in srgb, var(--slide-glow) 72%, var(--black) 28%);
}

.story-carousel-caption p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgb(0 0 0 / 74%);
}

.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%);
}

/* ── Impact-Counters (Wirkung) ── */

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

.impact-counters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  width: 100%;
}

.impact-counter-card {
  --card-color: var(--gold);
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 1.4rem 1rem;
  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 10px 22px rgb(0 0 0 / 10%);
  transition:
    transform 380ms cubic-bezier(0.22, 0.8, 0.26, 1),
    box-shadow 380ms cubic-bezier(0.22, 0.8, 0.26, 1),
    border-color 380ms ease,
    background 380ms ease;
}

.impact-counter-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: color-mix(in srgb, var(--card-color) 42%, rgb(255 255 255 / 60%));
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--card-color) 20%, white) 0%,
      rgb(255 255 255 / 28%) 48%,
      color-mix(in srgb, var(--card-color) 10%, white) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 72%),
    0 18px 36px rgb(0 0 0 / 14%),
    0 0 24px color-mix(in srgb, var(--card-color) 34%, transparent),
    0 0 40px color-mix(in srgb, var(--card-color) 18%, transparent);
}

.impact-counter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 58%);
  background:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--card-color) 22%, white) 0%,
      color-mix(in srgb, var(--card-color) 10%, white) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 72%),
    0 4px 10px rgb(0 0 0 / 8%);
  transition: transform 380ms cubic-bezier(0.22, 0.8, 0.26, 1), box-shadow 380ms ease;
}

.impact-counter-card:hover .impact-counter-icon {
  transform: scale(1.12) translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 80%),
    0 6px 16px rgb(0 0 0 / 12%),
    0 0 16px color-mix(in srgb, var(--card-color) 40%, transparent);
}

.impact-counter-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: color-mix(in srgb, var(--card-color) 72%, var(--black) 28%);
  transition: transform 380ms cubic-bezier(0.22, 0.8, 0.26, 1), color 380ms ease;
}

.impact-counter-card:hover .impact-counter-icon .icon {
  transform: scale(1.1);
  color: color-mix(in srgb, var(--card-color) 86%, var(--black) 14%);
}

.impact-counter-value {
  font-size: clamp(1.6rem, 3.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--black);
  transition: color 380ms ease;
}

.impact-counter-card:hover .impact-counter-value {
  color: color-mix(in srgb, var(--card-color) 68%, var(--black) 32%);
}

.impact-counter-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: rgb(0 0 0 / 72%);
  font-weight: 600;
}

.impact-note {
  max-width: 64ch;
  text-align: center;
  margin-inline: auto;
  font-style: italic;
  color: rgb(0 0 0 / 68%);
}

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

@media (max-width: 760px) {
  .impact-counters {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }
}

/* ── Spendenrechner (Rechenbeispiel, was eine Spende bewirken kann) ── */

.donation-calculator {
  display: grid;
  gap: 1.1rem;
  width: 100%;
  max-width: 1080px;
  margin: 0.4rem auto 0;
  padding: clamp(1.1rem, 3vw, 1.8rem);
  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 10px 22px rgb(0 0 0 / 10%);
  text-align: left;
  box-sizing: border-box;
}

.donation-calculator__head {
  display: grid;
  gap: 0.5rem;
  text-align: center;
}

.donation-calculator__title {
  margin: 0;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 800;
  color: var(--black);
}

.donation-calculator__note {
  margin: 0 auto;
  max-width: 62ch;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--blue) 22%, transparent);
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgb(0 0 0 / 78%);
}

.donation-calculator__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 1rem;
  margin: 0;
}

.donation-calculator__group {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.donation-calculator__legend {
  padding: 0;
  margin-bottom: 0.55rem;
  font-weight: 800;
  color: var(--red);
}

.donation-calculator__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.donation-calculator__option {
  position: relative;
  display: inline-flex;
}

.donation-calculator__option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.donation-calculator__option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.6rem;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 52%);
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 58%) 0%,
      rgb(255 255 255 / 28%) 48%,
      rgb(255 255 255 / 42%) 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 6px 14px rgb(0 0 0 / 10%);
  font-weight: 800;
  color: var(--black);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  box-sizing: border-box;
}

.donation-calculator__option:hover span {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 70%),
    0 10px 18px rgb(0 0 0 / 12%);
}

.donation-calculator__option input:checked + span {
  border-color: color-mix(in srgb, var(--gold) 55%, white);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gold) 34%, white) 0%,
      rgb(255 255 255 / 30%) 48%,
      color-mix(in srgb, var(--gold) 24%, white) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 72%),
    0 8px 18px rgb(0 0 0 / 12%),
    0 0 16px color-mix(in srgb, var(--gold) 40%, transparent);
}

.donation-calculator__option input:focus-visible + span {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.donation-calculator__custom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.donation-calculator__custom-label {
  font-weight: 700;
  font-size: 0.92rem;
}

.donation-calculator__input {
  width: 12rem;
  max-width: 100%;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgb(255 255 255 / 60%);
  border-radius: 12px;
  background: rgb(255 255 255 / 70%);
  font: inherit;
  font-weight: 700;
  color: var(--black);
  box-sizing: border-box;
}

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

.donation-calculator__hint {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
}

.donation-calculator__result {
  display: grid;
  gap: 0.9rem;
}

.donation-calculator__sum {
  margin: 0;
  text-align: center;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 800;
  color: var(--black);
}

.donation-calculator__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.donation-calculator__item {
  --card-color: var(--gold);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.95rem;
  border: 1px solid color-mix(in srgb, var(--card-color) 30%, rgb(255 255 255 / 60%));
  border-radius: 12px;
  background:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--card-color) 14%, white) 0%,
      rgb(255 255 255 / 40%) 100%
    );
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 66%);
}

.donation-calculator__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 58%);
  background: color-mix(in srgb, var(--card-color) 24%, white);
}

.donation-calculator__icon .icon {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  color: color-mix(in srgb, var(--card-color) 72%, var(--black) 28%);
}

.donation-calculator__body {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.donation-calculator__tag {
  justify-self: start;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 70%);
  font-size: 0.8rem;
  font-weight: 700;
  color: rgb(0 0 0 / 72%);
}

.donation-calculator__item-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--black);
}

.donation-calculator__item-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--black);
}

.donation-calculator__bar {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgb(255 255 255 / 70%);
  overflow: hidden;
}

.donation-calculator__bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--card-color);
  transition: width 320ms ease;
}

.donation-calculator__item-cost {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgb(0 0 0 / 70%);
}

.donation-calculator__actions {
  display: flex;
  justify-content: center;
}

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

@media (max-width: 760px) {
  .donation-calculator__controls {
    grid-template-columns: minmax(0, 1fr);
  }

  .donation-calculator__items {
    grid-template-columns: minmax(0, 1fr);
  }

  .donation-calculator__option span {
    min-width: 4rem;
    padding-inline: 0.85rem;
  }

  .donation-calculator__items {
    gap: 0.65rem;
  }

  .donation-calculator__item {
    gap: 0.6rem;
    padding: 0.8rem;
  }

  .donation-calculator__icon {
    width: 2.2rem;
    height: 2.2rem;
  }

  .donation-calculator__body {
    gap: 0.28rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .donation-calculator__bar span,
  .donation-calculator__option span {
    transition: none;
  }
}

/* ── Familienstimmen (Testimonials) ── */

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

.testimonials-slider {
  width: calc(100% + var(--page-gutter) * 2);
  margin-inline: calc(var(--page-gutter) * -1);
  padding: 1.5rem var(--page-gutter);
  overflow: hidden;
  position: relative;
}

.testimonials-track {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  transition: transform 420ms ease;
}

.testimonial-card {
  flex: 0 0 min(480px, 88vw);
  min-width: 0;
  display: grid;
  gap: 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 10px 22px rgb(0 0 0 / 10%);
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 66%),
    0 14px 28px rgb(0 0 0 / 14%);
}

.testimonial-card__top {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  padding: 1.1rem 1.1rem 0.8rem;
  align-items: start;
}

.testimonial-card__image {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  background: var(--blue);
  flex-shrink: 0;
}

.testimonial-card__image--photo {
  position: relative;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 52%);
  overflow: hidden;
  cursor: zoom-in;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.testimonial-card__image--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.testimonial-card__zoom {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--red);
  border: 1px solid rgb(255 255 255 / 60%);
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 70%) 0%,
      rgb(255 255 255 / 38%) 48%,
      rgb(255 255 255 / 54%) 100%
    );
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  box-shadow: 0 4px 10px rgb(0 0 0 / 14%);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 200ms ease, transform 200ms ease;
}

.testimonial-card__zoom .icon {
  width: 18px;
  height: 18px;
}

.testimonial-card__image--photo:hover,
.testimonial-card__image--photo:focus-visible {
  box-shadow: 0 8px 18px rgb(0 0 0 / 18%);
  outline: none;
}

.testimonial-card__image--photo:hover .testimonial-card__zoom,
.testimonial-card__image--photo:focus-visible .testimonial-card__zoom {
  opacity: 1;
  transform: scale(1);
}

.testimonial-card__image--photo:focus-visible {
  box-shadow: 0 0 0 3px rgb(166 209 218 / 70%);
}

.testimonial-card__bubble {
  position: relative;
  margin: 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgb(255 255 255 / 52%);
  border-radius: 12px;
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 72%) 0%,
      rgb(255 255 255 / 44%) 48%,
      rgb(255 255 255 / 58%) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 68%),
    0 4px 10px rgb(0 0 0 / 6%);
}

.testimonial-card__bubble::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 18px;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(
      225deg,
      rgb(255 255 255 / 72%) 0%,
      rgb(255 255 255 / 50%) 100%
    );
  border-left: 1px solid rgb(255 255 255 / 52%);
  border-bottom: 1px solid rgb(255 255 255 / 52%);
  transform: rotate(45deg);
}

.testimonial-card__bubble p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgb(0 0 0 / 82%);
  font-style: italic;
}

.testimonial-card__desc {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 1rem 0.9rem;
  border-top: 1px solid rgb(0 0 0 / 8%);
}

.testimonial-card__desc strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--black);
}

.testimonial-card__desc span {
  font-size: 0.82rem;
  color: rgb(0 0 0 / 62%);
  font-weight: 600;
}

.testimonials-controls {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

/* "Wir bauen um" notice for pages whose content is not ready yet */
.construction-notice {
  justify-items: center;
  text-align: center;
}

.construction-notice__image {
  width: min(380px, 72vw);
  height: auto;
}

/* Hidden testimonials and placeholder sections stay in the markup but are never shown */
.testimonial-card[hidden],
[data-placeholder-section][hidden] {
  display: none;
}

/* Only one visible testimonial: center it, no arrows needed */
.testimonials-slider.is-single .testimonials-track {
  justify-content: center;
}

.testimonials-slider.is-single .testimonials-controls {
  display: none;
}

/* ── Bild-Lightbox / Vollansicht ── */

body.is-lightbox-open {
  overflow: hidden;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgb(0 0 0 / 72%);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 0s linear 240ms;
}

.media-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 240ms ease;
}

.media-lightbox__dialog {
  position: relative;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  transform: scale(0.94);
  transition: transform 260ms ease;
}

.media-lightbox.is-open .media-lightbox__dialog {
  transform: scale(1);
}

.media-lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / 32%);
  box-shadow: 0 24px 60px rgb(0 0 0 / 45%);
  object-fit: contain;
}

.media-lightbox__caption {
  margin: 0;
  max-width: 60ch;
  text-align: center;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 1px 4px rgb(0 0 0 / 45%);
}

.media-lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--red);
  border: 1px solid rgb(255 255 255 / 60%);
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 72%) 0%,
      rgb(255 255 255 / 40%) 48%,
      rgb(255 255 255 / 58%) 100%
    );
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  box-shadow: 0 6px 16px rgb(0 0 0 / 28%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.media-lightbox__close:hover,
.media-lightbox__close:focus-visible {
  transform: scale(1.06);
  outline: none;
  box-shadow: 0 8px 20px rgb(0 0 0 / 34%);
}

.media-lightbox__close .icon {
  width: 22px;
  height: 22px;
}

@media (max-width: 760px) {
  .testimonial-card {
    flex: 0 0 min(400px, 90vw);
  }

  .testimonial-card__top {
    grid-template-columns: 140px 1fr;
    gap: 0.75rem;
    padding: 0.85rem 0.85rem 0.65rem;
  }

  .testimonial-card__image {
    width: 140px;
    height: 140px;
  }

  .media-lightbox__close {
    top: 6px;
    right: 6px;
  }

  .testimonial-card__zoom {
    opacity: 1;
    transform: scale(1);
  }

  .testimonial-card__bubble {
    padding: 0.65rem 0.75rem;
  }

  .testimonial-card__bubble p {
    font-size: 0.86rem;
  }

  .testimonial-card__desc {
    padding: 0.6rem 0.8rem 0.75rem;
  }
}

/* Handy: Foto über dem Brief, damit der Text die volle Breite bekommt */
@media (max-width: 560px) {
  .testimonial-card__top {
    grid-template-columns: 1fr;
  }

  .testimonial-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .testimonial-card__bubble {
    padding: 0.9rem 1rem;
  }

  .testimonial-card__bubble::before {
    left: 28px;
    top: -8px;
    transform: rotate(135deg);
  }

  .testimonial-card__bubble p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* ── Home Projekte-Kacheln ── */

.story-section--projects-overview {
  justify-items: center;
}

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

.home-project-tile {
  --tile-color: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  padding: 1.5rem 1rem 1.35rem;
  min-height: 188px;
  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 10px 22px rgb(0 0 0 / 10%);
  text-decoration: none;
  color: var(--black);
  transition:
    transform 320ms cubic-bezier(0.22, 0.8, 0.26, 1),
    box-shadow 320ms cubic-bezier(0.22, 0.8, 0.26, 1),
    border-color 320ms ease,
    background 320ms ease;
}

.home-project-tile:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: color-mix(in srgb, var(--tile-color) 42%, rgb(255 255 255 / 60%));
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--tile-color) 20%, white) 0%,
      rgb(255 255 255 / 28%) 48%,
      color-mix(in srgb, var(--tile-color) 10%, white) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 72%),
    0 18px 36px rgb(0 0 0 / 14%),
    0 0 24px color-mix(in srgb, var(--tile-color) 34%, transparent),
    0 0 40px color-mix(in srgb, var(--tile-color) 18%, transparent);
}

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

.home-project-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 58%);
  background:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--tile-color) 22%, white) 0%,
      color-mix(in srgb, var(--tile-color) 10%, white) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 72%),
    0 4px 10px rgb(0 0 0 / 8%);
  transition:
    transform 320ms cubic-bezier(0.22, 0.8, 0.26, 1),
    box-shadow 320ms ease;
}

.home-project-tile:hover .home-project-tile__icon {
  transform: scale(1.12) translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 80%),
    0 6px 16px rgb(0 0 0 / 12%),
    0 0 16px color-mix(in srgb, var(--tile-color) 40%, transparent);
}

.home-project-tile__icon .icon {
  width: 1.8rem;
  height: 1.8rem;
  color: color-mix(in srgb, var(--tile-color) 72%, var(--black) 28%);
  transition: transform 320ms cubic-bezier(0.22, 0.8, 0.26, 1), color 320ms ease;
}

.home-project-tile:hover .home-project-tile__icon .icon {
  transform: scale(1.1);
  color: color-mix(in srgb, var(--tile-color) 86%, var(--black) 14%);
}

.home-project-tile__label {
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.25;
  transition: color 320ms ease;
}

.home-project-tile__text {
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
  color: color-mix(in srgb, var(--black) 78%, var(--tile-color) 22%);
  max-width: 22ch;
}

.home-project-tile:hover .home-project-tile__label {
  color: color-mix(in srgb, var(--tile-color) 58%, var(--black) 42%);
}

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

  .home-project-tile {
    padding: 1.2rem 0.8rem;
    min-height: 170px;
  }

  .home-project-tile__icon {
    width: 3rem;
    height: 3rem;
  }

  .home-project-tile__icon .icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .home-project-tile__label {
    font-size: 0.88rem;
  }

  .home-project-tile__text {
    font-size: 0.82rem;
    max-width: 24ch;
  }
}

/* ── Unterstützer Accordion ── */

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

.supporters-accordion {
  display: grid;
  gap: 0.95rem;
  width: min(100%, 980px);
}

.supporter-card {
  --supporter-color: var(--blue);
  border: 1px solid rgb(255 255 255 / 56%);
  border-radius: 22px;
  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 10px 22px rgb(0 0 0 / 10%);
  overflow: hidden;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.supporter-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--supporter-color) 42%, rgb(255 255 255 / 56%));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 66%),
    0 14px 28px rgb(0 0 0 / 12%);
}

.supporter-card[open] {
  border-color: color-mix(in srgb, var(--supporter-color) 48%, rgb(255 255 255 / 56%));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 66%),
    0 16px 34px rgb(0 0 0 / 12%),
    0 0 24px color-mix(in srgb, var(--supporter-color) 18%, transparent);
}

.supporter-card__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  cursor: pointer;
}

.supporter-card__summary::-webkit-details-marker {
  display: none;
}

.supporter-card__summary-text {
  display: grid;
  gap: 0.2rem;
}

.supporter-card__summary-text strong {
  font-size: 1.02rem;
  line-height: 1.25;
}

.supporter-card__summary-text span {
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgb(0 0 0 / 66%);
  font-weight: 600;
}

.supporter-card__toggle {
  position: relative;
  flex-shrink: 0;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 58%);
  background:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--supporter-color) 16%, white) 0%,
      rgb(255 255 255 / 34%) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 72%),
    0 4px 10px rgb(0 0 0 / 8%);
}

.supporter-card__toggle::before,
.supporter-card__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.95rem;
  height: 2px;
  border-radius: 999px;
  background: var(--black);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, opacity 180ms ease;
}

.supporter-card__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.supporter-card[open] .supporter-card__toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.2);
}

.supporter-card__content {
  display: grid;
  gap: 1rem;
  padding: 0 1.15rem 1.15rem;
}

.supporter-card__top {
  display: grid;
  grid-template-columns: 1fr minmax(160px, 240px);
  gap: 1rem;
  align-items: start;
}

.supporter-card__visual {
  min-height: 200px;
  padding: 1.2rem 1rem;
  border-radius: 16px;
  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%);
  display: grid;
  place-items: center;
  justify-items: center;
  gap: 0.7rem;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 60%),
    0 10px 22px rgb(0 0 0 / 10%);
}

.supporter-card__visual-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 58%);
  background:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--supporter-color) 22%, white) 0%,
      color-mix(in srgb, var(--supporter-color) 10%, white) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 72%),
    0 4px 10px rgb(0 0 0 / 8%);
}

.supporter-card__visual-icon .icon {
  width: 1.8rem;
  height: 1.8rem;
}

.supporter-card__visual strong {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.supporter-card__bubble {
  position: relative;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 52%);
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 72%) 0%,
      rgb(255 255 255 / 44%) 48%,
      rgb(255 255 255 / 58%) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 68%),
    0 4px 10px rgb(0 0 0 / 6%);
}

.supporter-card__bubble::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 18px;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(
      225deg,
      rgb(255 255 255 / 72%) 0%,
      rgb(255 255 255 / 50%) 100%
    );
  border-left: 1px solid rgb(255 255 255 / 52%);
  border-bottom: 1px solid rgb(255 255 255 / 52%);
  transform: rotate(45deg);
}

.supporter-card__bubble p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgb(0 0 0 / 82%);
  font-style: italic;
}

.supporter-card__body {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgb(0 0 0 / 8%);
  background: rgb(255 255 255 / 52%);
}

.supporter-card__body p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

.supporter-card:focus-within {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .supporter-card__summary {
    padding: 0.95rem 0.95rem 0.9rem;
    align-items: flex-start;
  }

  .supporter-card__summary-text strong {
    font-size: 0.96rem;
  }

  .supporter-card__summary-text span {
    font-size: 0.84rem;
  }

  .supporter-card__toggle {
    width: 2.35rem;
    height: 2.35rem;
  }

  .supporter-card__content {
    padding: 0 0.95rem 0.95rem;
  }

  .supporter-card__top {
    grid-template-columns: 1fr;
  }

  .supporter-card__visual {
    min-height: 160px;
  }

  .supporter-card__bubble {
    padding: 0.75rem 0.85rem;
  }

  .supporter-card__bubble::before {
    display: none;
  }

  .supporter-card__body {
    padding: 0.75rem 0.85rem;
  }

  .supporter-card__body p {
    font-size: 0.94rem;
  }
}

.story-section--feature {
  grid-template-columns: minmax(0, 1fr) minmax(0, 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: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-facts--single {
  grid-template-columns: 1fr;
}

.sapv-support-card {
  max-width: 880px;
  margin: clamp(1rem, 2.6vw, 1.6rem) auto 0;
}

.story-fact-card {
  --card-color: var(--blue);
  margin: 0;
  padding: 1.15rem 1rem;
  border: 1px solid rgb(255 255 255 / 56%);
  border-radius: 14px;
  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 10px 22px rgb(0 0 0 / 10%);
  transition:
    transform 380ms cubic-bezier(0.22, 0.8, 0.26, 1),
    box-shadow 380ms cubic-bezier(0.22, 0.8, 0.26, 1),
    border-color 380ms ease,
    background 380ms ease;
}

.story-fact-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: color-mix(in srgb, var(--card-color) 42%, rgb(255 255 255 / 60%));
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--card-color) 20%, white) 0%,
      rgb(255 255 255 / 28%) 48%,
      color-mix(in srgb, var(--card-color) 10%, white) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 72%),
    0 18px 36px rgb(0 0 0 / 14%),
    0 0 24px color-mix(in srgb, var(--card-color) 34%, transparent),
    0 0 40px color-mix(in srgb, var(--card-color) 18%, transparent);
}

.story-fact-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  transition: color 380ms ease;
}

.story-fact-card:hover h3 {
  color: color-mix(in srgb, var(--card-color) 58%, var(--black) 42%);
}

.story-fact-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--black) 78%, var(--card-color) 22%);
}

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

.wuensche-card {
  display: grid;
  align-content: start;
  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%);
}

/* Echtes Zitat in einer Geschichten-Karte (wörtlich übernommen, mit Quelle). */
.wuensche-quote {
  margin: 0.1rem 0 0;
  padding: 0.7rem 0.85rem;
  border-left: 3px solid var(--red);
  border-radius: 10px;
  background: rgb(255 255 255 / 55%);
}

.wuensche-quote blockquote {
  margin: 0;
}

.wuensche-card .wuensche-quote blockquote p {
  font-style: italic;
  font-weight: 700;
  color: rgb(0 0 0 / 84%);
}

.wuensche-quote figcaption {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  color: rgb(0 0 0 / 66%);
}

.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;
}

/* Echte Fotos in Wunsch- und Bereichskarten: einheitliches Querformat, damit die Karten gleich hoch beginnen. */
.wuensche-photo.story-image-placeholder--photo {
  min-height: 0;
  margin-top: 0;
}

.wuensche-photo img {
  aspect-ratio: 3 / 2;
  height: auto;
}

/* Rechenbeispiel in Geschichten-Karten (Spendenaktion): immer „zum Beispiel“, nie als Zusage. */
.wuensche-card .aktion-rechnung {
  margin: 0.1rem 0 0;
  padding: 0.7rem 0.85rem;
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  background: rgb(255 255 255 / 55%);
  font-size: 0.95rem;
  line-height: 1.45;
}

.aktion-hinweis {
  margin: clamp(1rem, 2.4vw, 1.4rem) 0 0;
}

.ablauf + .story-facts,
.wuensche-grid + .hero-actions {
  margin-top: clamp(1rem, 2.4vw, 1.4rem);
}

/* Knopf am Ende einer Karte (zum Beispiel Spendenseite: Spendenaktion, Unternehmen). */
.wuensche-card > .hero-btn {
  justify-self: start;
  margin-top: 0.2rem;
}

.wuensche-grid--two + p,
.content-block > p + .wuensche-grid {
  margin-top: 1rem;
}

/* Kurze Vertrauens- und Quittungs-Liste mit runden Punkten in Palettenfarben. */
.trust-list {
  display: grid;
  gap: 0.55rem;
  margin: 0.4rem 0 1rem;
  padding: 0;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding-left: 1.6rem;
  line-height: 1.5;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.42em;
  width: 0.75rem;
  height: 0.75rem;
  border: 1px solid rgb(255 255 255 / 60%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--green) 75%, var(--white));
}

/* Echtes Zitat im Textteil einer geteilten Geschichte (Unternehmen: Idas Familie). */
.story-section-head .wuensche-quote {
  margin: 0.4rem 0;
}

.story-section-head .wuensche-quote blockquote p {
  margin: 0;
  font-style: italic;
  font-weight: 700;
  line-height: 1.5;
}

/* Zwei gleichwertige Bereiche nebeneinander (zum Beispiel Ferienhäuser und Spielplatz). */
.wuensche-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wuensche-process {
  gap: 1rem;
}

.wuensche-steps {
  display: grid;
  grid-template-columns: repeat(4, 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%);
}

/* ── Ablauf als bewegtes Schaubild (Projekte, Herzenswünsche) ──
   script.js setzt nacheinander .is-active und .is-done auf die Schritte.
   Ohne JavaScript oder bei reduzierter Bewegung bleibt alles gut lesbar stehen. */
.ablauf {
  --ablauf-badge: 3.6rem;
  --ablauf-gap: clamp(0.8rem, 2vw, 1.3rem);
  --ablauf-line-gap: 0.45rem;
  --ablauf-arrive: 650ms;
}

.ablauf-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ablauf-gap);
  counter-reset: ablauf;
}

.ablauf-step {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  gap: 0.9rem;
  text-align: center;
  counter-increment: ablauf;
}

.ablauf-badge {
  position: relative;
  z-index: 1;
  width: var(--ablauf-badge);
  height: var(--ablauf-badge);
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 60%);
  color: rgb(0 0 0 / 62%);
  background: linear-gradient(135deg, rgb(255 255 255 / 70%) 0%, rgb(255 255 255 / 34%) 50%, rgb(255 255 255 / 52%) 100%);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 70%),
    0 8px 18px rgb(0 0 0 / 8%);
  transition:
    color 450ms ease,
    background 450ms ease,
    box-shadow 450ms ease,
    transform 520ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ablauf-badge .icon {
  width: 1.6rem;
  height: 1.6rem;
}

/* Kleine Nummer am Kreis, wird nach dem Schritt zum Haken. */
.ablauf-badge::before {
  content: counter(ablauf);
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 1.45rem;
  height: 1.45rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 70%);
  background: var(--white);
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 3px 8px rgb(0 0 0 / 12%);
  transition: background 450ms ease, color 450ms ease;
}

/* Pulsierender Ring um den aktiven Schritt. */
.ablauf-badge::after {
  content: "";
  position: absolute;
  inset: -0.4rem;
  border-radius: 999px;
  border: 2px solid color-mix(in srgb, var(--red) 55%, transparent);
  opacity: 0;
  pointer-events: none;
}

.ablauf-step.is-done .ablauf-badge {
  color: var(--red);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--gold) 38%, var(--white)) 0%,
    rgb(255 255 255 / 62%) 100%
  );
}

.ablauf-step.is-done .ablauf-badge::before {
  content: "✓";
  background: var(--green);
  color: var(--white);
}

.ablauf-step.is-active .ablauf-badge {
  color: var(--white);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--red) 88%, var(--white)) 0%,
    color-mix(in srgb, var(--red) 45%, var(--gold) 55%) 100%
  );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 45%),
    0 12px 26px color-mix(in srgb, var(--red) 30%, transparent);
  transform: scale(1.12);
  transition-delay: var(--ablauf-arrive);
}

.ablauf-step.is-active .ablauf-badge::before {
  transition-delay: var(--ablauf-arrive);
}

.ablauf-step.is-active .ablauf-badge::after {
  animation: ablauf-pulse 1.9s ease-out var(--ablauf-arrive) infinite;
}

.ablauf-step.is-active .ablauf-badge .icon {
  animation: ablauf-pop 620ms cubic-bezier(0.34, 1.56, 0.64, 1) var(--ablauf-arrive) both;
}

/* Gestrichelter Weg zum nächsten Schritt mit Füllung und wanderndem Licht. */
.ablauf-line {
  position: absolute;
  z-index: 0;
  top: calc(var(--ablauf-badge) / 2 - 2px);
  left: calc(50% + var(--ablauf-badge) / 2 + var(--ablauf-line-gap));
  width: calc(100% + var(--ablauf-gap) - var(--ablauf-badge) - 2 * var(--ablauf-line-gap));
  height: 4px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgb(0 0 0 / 16%) 0 8px, transparent 8px 14px);
  pointer-events: none;
}

.ablauf-line::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold) 0%, var(--red) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 380ms ease;
}

.ablauf-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.8rem;
  height: 0.8rem;
  margin: -0.4rem 0 0 -0.4rem;
  border-radius: 999px;
  background: var(--white);
  box-shadow:
    0 0 0 3px var(--red),
    0 0 14px 5px color-mix(in srgb, var(--gold) 75%, transparent);
  opacity: 0;
}

.ablauf-step.is-done .ablauf-line::before {
  transform: scaleX(1);
  transition: transform 900ms cubic-bezier(0.65, 0, 0.35, 1);
}

.ablauf-step.is-done .ablauf-line::after {
  animation: ablauf-travel-x 900ms cubic-bezier(0.65, 0, 0.35, 1) both;
}

.ablauf-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.4rem;
  width: 100%;
  padding: 1rem 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 55%);
  background: rgb(255 255 255 / 52%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 70%),
    0 8px 20px rgb(0 0 0 / 6%);
  overflow: hidden;
  transition:
    transform 450ms cubic-bezier(0.22, 0.8, 0.26, 1),
    box-shadow 450ms ease,
    border-color 450ms ease,
    background 450ms ease;
}

.ablauf-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--red) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 450ms ease;
}

.ablauf-card h3 {
  margin: 0;
}

.ablauf-card p {
  margin: 0;
  color: rgb(0 0 0 / 80%);
  text-align: inherit;
}

.ablauf-step.is-active .ablauf-card {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--red) 30%, var(--white));
  background: rgb(255 255 255 / 76%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 80%),
    0 16px 30px rgb(0 0 0 / 10%);
  transition-delay: var(--ablauf-arrive);
}

.ablauf-step.is-active .ablauf-card::before {
  transform: scaleX(1);
  transition: transform 700ms ease var(--ablauf-arrive);
}

/* Fährt jemand selbst mit der Maus über einen Schritt, reagiert das Schaubild sofort. */
.ablauf.is-user {
  --ablauf-arrive: 0ms;
}

.ablauf-actions {
  justify-content: center;
  margin-top: 0.4rem;
}

@keyframes ablauf-pulse {
  0% { opacity: 0.75; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.45); }
}

@keyframes ablauf-pop {
  0% { transform: scale(0.6) rotate(-12deg); }
  100% { transform: scale(1) rotate(0); }
}

@keyframes ablauf-travel-x {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes ablauf-travel-y {
  0% { top: 0; opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Mittlere und kleine Bildschirme: der Weg läuft senkrecht, die Texte stehen rechts daneben. */
@media (max-width: 1024px) {
  .ablauf-steps {
    grid-template-columns: 1fr;
    padding-inline-start: 0.5rem;
  }

  .ablauf-step {
    grid-template-columns: var(--ablauf-badge) minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: start;
    justify-items: stretch;
    column-gap: 1rem;
    text-align: left;
  }

  .ablauf-line {
    top: calc(var(--ablauf-badge) + var(--ablauf-line-gap));
    left: calc(var(--ablauf-badge) / 2 - 2px);
    width: 4px;
    height: calc(100% + var(--ablauf-gap) - var(--ablauf-badge) - 2 * var(--ablauf-line-gap));
    background: repeating-linear-gradient(180deg, rgb(0 0 0 / 16%) 0 8px, transparent 8px 14px);
  }

  .ablauf-line::before {
    background: linear-gradient(180deg, var(--gold) 0%, var(--red) 100%);
    transform: scaleY(0);
    transform-origin: center top;
  }

  .ablauf-step.is-done .ablauf-line::before {
    transform: scaleY(1);
  }

  .ablauf-line::after {
    top: 0;
    left: 50%;
  }

  .ablauf-step.is-done .ablauf-line::after {
    animation-name: ablauf-travel-y;
  }

  .ablauf-step.is-active .ablauf-card {
    transform: translateX(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ablauf *,
  .ablauf *::before,
  .ablauf *::after {
    animation: none !important;
    transition: none !important;
  }
}

.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: clamp(1rem, 2.4vw, 1.5rem);
}

.traummobil-switch {
  display: grid;
  justify-items: center;
  gap: clamp(0.9rem, 2vw, 1.3rem);
  width: min(100%, 1020px);
  margin: 0 auto;
}

.traummobil-switch-head {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 0.3rem;
  max-width: 100%;
  padding: 0.35rem;
  border: 1px solid rgb(255 255 255 / 52%);
  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%),
    0 12px 26px rgb(0 0 0 / 12%);
}

.traummobil-switch-btn {
  --tab-color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.62rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: rgb(0 0 0 / 60%);
  cursor: pointer;
  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.traummobil-switch-btn[data-equip-tab="experience"] {
  --tab-color: var(--gold);
}

.traummobil-switch-btn .icon {
  width: 1.15rem;
  height: 1.15rem;
  opacity: 0.7;
  transition: opacity 220ms ease, color 220ms ease;
}

.traummobil-switch-btn__label {
  min-width: 0;
}

.traummobil-switch-btn__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 8%);
  font-size: 0.76rem;
  font-weight: 800;
  transition: background 220ms ease;
}

.traummobil-switch-btn:hover {
  color: var(--black);
  background: rgb(255 255 255 / 42%);
}

.traummobil-switch-btn.is-active {
  color: var(--black);
  border-color: rgb(255 255 255 / 62%);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--tab-color) 34%, white) 0%,
      rgb(255 255 255 / 42%) 52%,
      color-mix(in srgb, var(--tab-color) 20%, white) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 70%),
    0 8px 18px rgb(0 0 0 / 12%);
}

.traummobil-switch-btn.is-active .icon {
  opacity: 1;
  color: color-mix(in srgb, var(--tab-color) 62%, var(--black) 38%);
}

.traummobil-switch-btn.is-active .traummobil-switch-btn__count {
  background: rgb(255 255 255 / 62%);
}

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

.traummobil-switch-panel {
  --panel-color: var(--blue);
  display: grid;
  gap: clamp(0.75rem, 1.8vw, 1.05rem);
  width: 100%;
  padding: clamp(1.05rem, 2.6vw, 1.6rem);
  border: 1px solid rgb(255 255 255 / 56%);
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--panel-color) 14%, white) 0%,
      rgb(255 255 255 / 30%) 50%,
      color-mix(in srgb, var(--panel-color) 8%, white) 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%),
    0 14px 30px rgb(0 0 0 / 10%);
}

.traummobil-switch-panel[hidden] {
  display: none;
}

.traummobil-switch-panel[data-equip-panel="experience"] {
  --panel-color: var(--gold);
}

.traummobil-panel-intro {
  margin: 0;
  text-align: center;
  font-weight: 700;
  line-height: 1.5;
  color: color-mix(in srgb, var(--black) 74%, var(--panel-color) 26%);
}

.traummobil-equip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.traummobil-equip-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgb(255 255 255 / 60%);
  border-radius: 14px;
  background: rgb(255 255 255 / 62%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 70%),
    0 6px 14px rgb(0 0 0 / 7%);
  transition:
    transform 320ms cubic-bezier(0.22, 0.8, 0.26, 1),
    box-shadow 320ms cubic-bezier(0.22, 0.8, 0.26, 1),
    border-color 320ms ease,
    background 320ms ease;
}

.traummobil-equip-item:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--panel-color) 46%, rgb(255 255 255 / 60%));
  background: rgb(255 255 255 / 80%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 78%),
    0 14px 26px rgb(0 0 0 / 12%),
    0 0 22px color-mix(in srgb, var(--panel-color) 26%, transparent);
}

.traummobil-equip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid rgb(255 255 255 / 62%);
  border-radius: 12px;
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--panel-color) 32%, white) 0%,
      color-mix(in srgb, var(--panel-color) 12%, white) 100%
    );
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 72%);
}

.traummobil-equip-icon .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: color-mix(in srgb, var(--panel-color) 62%, var(--black) 38%);
  transition: transform 320ms cubic-bezier(0.22, 0.8, 0.26, 1);
}

.traummobil-equip-item:hover .traummobil-equip-icon .icon {
  transform: scale(1.1);
}

.traummobil-equip-label {
  min-width: 0;
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.35;
}

.traummobil-equip-note {
  flex-shrink: 0;
  margin-left: auto;
  padding: 0.15rem 0.5rem;
  border: 1px solid color-mix(in srgb, var(--panel-color) 34%, rgb(255 255 255 / 60%));
  border-radius: 999px;
  background: rgb(255 255 255 / 62%);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--panel-color) 52%, var(--black) 48%);
}

.traummobil-switch-panel.is-active .traummobil-equip-item {
  animation: traummobil-equip-in 420ms cubic-bezier(0.22, 0.8, 0.26, 1) backwards;
}

.traummobil-switch-panel.is-active .traummobil-equip-item:nth-child(1) { animation-delay: 20ms; }
.traummobil-switch-panel.is-active .traummobil-equip-item:nth-child(2) { animation-delay: 60ms; }
.traummobil-switch-panel.is-active .traummobil-equip-item:nth-child(3) { animation-delay: 100ms; }
.traummobil-switch-panel.is-active .traummobil-equip-item:nth-child(4) { animation-delay: 140ms; }
.traummobil-switch-panel.is-active .traummobil-equip-item:nth-child(5) { animation-delay: 180ms; }
.traummobil-switch-panel.is-active .traummobil-equip-item:nth-child(6) { animation-delay: 220ms; }
.traummobil-switch-panel.is-active .traummobil-equip-item:nth-child(n + 7) { animation-delay: 260ms; }

@keyframes traummobil-equip-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .traummobil-switch-panel.is-active .traummobil-equip-item {
    animation: none;
  }
}

@media (max-width: 860px) {
  .traummobil-switch-head {
    grid-auto-flow: row;
    width: min(100%, 420px);
    border-radius: 18px;
  }

  .traummobil-switch-btn {
    justify-content: flex-start;
    text-align: left;
  }

  .traummobil-switch-btn__count {
    margin-left: auto;
  }
}

@media (max-width: 520px) {
  .traummobil-equip-grid {
    grid-template-columns: 1fr;
  }

  .traummobil-equip-item {
    padding: 0.7rem 0.75rem;
  }

  .traummobil-equip-icon {
    width: 2.1rem;
    height: 2.1rem;
  }

  .traummobil-equip-label {
    font-size: 0.93rem;
  }
}

.traummobil-destinations {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  max-width: 880px;
  margin-inline: auto;
}

.traummobil-destination-card {
  --tile-color: var(--blue);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  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 10px 22px rgb(0 0 0 / 10%);
  transition:
    transform 320ms cubic-bezier(0.22, 0.8, 0.26, 1),
    box-shadow 320ms cubic-bezier(0.22, 0.8, 0.26, 1),
    border-color 320ms ease,
    background 320ms ease;
}

.traummobil-destination-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: color-mix(in srgb, var(--tile-color) 42%, rgb(255 255 255 / 60%));
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--tile-color) 20%, white) 0%,
      rgb(255 255 255 / 28%) 48%,
      color-mix(in srgb, var(--tile-color) 10%, white) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 72%),
    0 18px 36px rgb(0 0 0 / 14%),
    0 0 24px color-mix(in srgb, var(--tile-color) 34%, transparent),
    0 0 40px color-mix(in srgb, var(--tile-color) 18%, transparent);
}

.traummobil-destination-img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 60%;
  border-radius: 15px 15px 0 0;
  transition: transform 420ms cubic-bezier(0.22, 0.8, 0.26, 1);
}

.traummobil-destination-card:hover .traummobil-destination-img {
  transform: scale(1.04);
}

.traummobil-destination-body {
  padding: 1.4rem 1.6rem 1.6rem;
}

.traummobil-destination-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.3rem;
  transition: color 320ms ease;
}

.traummobil-destination-card:hover h3 {
  color: color-mix(in srgb, var(--tile-color) 58%, var(--black) 42%);
}

.traummobil-destination-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--black) 82%, var(--tile-color) 18%);
}

.ida-design-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  max-width: 980px;
  margin-inline: auto;
}

.ida-design-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  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(12px) saturate(126%);
  -webkit-backdrop-filter: blur(12px) saturate(126%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 62%),
    0 12px 24px rgb(0 0 0 / 12%);
  transition:
    transform 420ms cubic-bezier(0.22, 0.8, 0.26, 1),
    box-shadow 420ms ease,
    border-color 420ms ease;
}

.ida-design-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: color-mix(in srgb, var(--gold) 42%, rgb(255 255 255 / 60%));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 72%),
    0 18px 36px rgb(0 0 0 / 14%),
    0 0 26px color-mix(in srgb, var(--gold) 28%, transparent);
}

.ida-design-media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  cursor: zoom-in;
}

.ida-design-media:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -3px;
}

.ida-design-media:hover .campus-stage-zoom-hint,
.ida-design-media:focus-visible .campus-stage-zoom-hint {
  opacity: 1;
  transform: scale(1.08);
}

.ida-design-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.22, 0.8, 0.26, 1);
}

.ida-design-card:hover .ida-design-media img {
  transform: scale(1.04);
}

.ida-design-card figcaption {
  padding: 1rem 1.3rem 1.2rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--black) 84%, var(--gold) 16%);
}

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

.traummobil-video-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.55rem;
  border: 1px solid rgb(255 255 255 / 56%);
  border-radius: 14px;
  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(10px) saturate(124%);
  -webkit-backdrop-filter: blur(10px) saturate(124%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 60%),
    0 10px 18px rgb(0 0 0 / 12%),
    0 0 24px color-mix(in srgb, var(--gold) 26%, transparent),
    0 0 34px color-mix(in srgb, var(--blue) 18%, transparent);
}

.traummobil-video-card video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 10px;
  background: var(--black);
}

.traummobil-video-shell {
  position: relative;
  display: block;
}

.traummobil-video-toggle-layer {
  position: absolute;
  inset: 0 0 48px 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}

.traummobil-video-toggle-layer:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -4px;
  border-radius: 10px;
}

.traummobil-video-card figcaption {
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--black) 78%, var(--blue) 22%);
}

.traummobil-video-grid--single {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
}

.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: 1024px) {
  .wuensche-grid,
  .wuensche-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@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-section-links {
    justify-content: center;
  }

  .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-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .ida-design-gallery {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .ida-design-card figcaption {
    padding: 0.9rem 1.1rem 1.1rem;
    font-size: 0.94rem;
  }

  .traummobil-destination-img {
    aspect-ratio: 16 / 10;
  }

  .traummobil-destination-body {
    padding: 1.1rem 1.2rem 1.3rem;
  }

  .traummobil-destination-card h3 {
    font-size: 1.15rem;
  }

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

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

  .story-carousel {
    padding: 1rem 0;
  }

  .story-carousel-slide {
    flex: 0 0 75%;
  }

  .story-carousel-caption {
    padding: 0.65rem 0.75rem 0.8rem;
  }

  .story-carousel-caption strong {
    font-size: 0.88rem;
  }

  .story-carousel-caption p {
    font-size: 0.82rem;
  }

  .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;
}

.ansprechpartner-heading {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--red);
}

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

.ansprechpartner-card {
  margin: 0;
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  text-align: center;
}

.ansprechpartner-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 200px;
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px dashed color-mix(in srgb, var(--red) 45%, rgb(0 0 0 / 25%));
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--blue) 22%, white) 0%,
      rgb(255 255 255 / 42%) 48%,
      color-mix(in srgb, var(--gold) 14%, white) 100%
    );
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 55%),
    0 6px 14px rgb(0 0 0 / 8%);
}

/* Echte Fotos statt Platzhalter: Bild füllt die Kachel, Ecken bleiben rund. */
.ansprechpartner-photo--image {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 48%);
}

.ansprechpartner-photo--image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  /* Zoom auf das Gesicht: --photo-zoom = Vergrößerung, --photo-focus = Zoom-Mittelpunkt. */
  transform: scale(var(--photo-zoom, 1));
  transform-origin: var(--photo-focus, 50% 40%);
}

/* Ganzkörperfoto von Joanna Junge: Gesicht mittig und auf ähnlicher Höhe wie beim Porträt von Eric. */
.ansprechpartner-photo--joanna {
  --photo-zoom: 2.2;
  --photo-focus: 73% 20%;
}

.ansprechpartner-photo__icon {
  width: 2.25rem;
  height: 2.25rem;
  color: color-mix(in srgb, var(--red) 55%, var(--black) 45%);
  opacity: 0.85;
}

.ansprechpartner-name {
  margin: 0;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--black);
}

.ansprechpartner-role {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: rgb(0 0 0 / 65%);
}

.mini-card .ansprechpartner-grid {
  margin-top: 0.35rem;
}

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

  .ansprechpartner-photo {
    max-width: 220px;
  }
}

/* ── Kontakt-Seite ── */

.kontakt-page .content-block {
  max-width: min(1040px, 100%);
  width: 100%;
}

/* Höhe wie Standard-.hero (kein reduziertes min-height) */
.kontakt-hero__copy {
  max-width: min(52rem, 100%);
}

.kontakt-section > h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 1.35rem;
}

.kontakt-section + .kontakt-section {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  padding-top: clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid rgb(0 0 0 / 8%);
}

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

@media (min-width: 720px) {
  .kontakt-channel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

.kontakt-card,
.kontakt-topic-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
  margin: 0;
  padding: 1.1rem 1.15rem 1.15rem;
  border: 1px solid rgb(255 255 255 / 48%);
  border-radius: 14px;
  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 10px 22px rgb(0 0 0 / 8%);
  text-align: left;
}

.kontakt-card__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1.3;
}

.kontakt-card__title .icon {
  flex-shrink: 0;
}

.kontakt-card__text {
  margin: 0;
  line-height: 1.55;
  color: rgb(0 0 0 / 82%);
  font-size: 0.98rem;
}

.kontakt-card__text-intro {
  margin: 0 0 0.45rem;
  line-height: 1.55;
  color: rgb(0 0 0 / 82%);
  font-size: 0.98rem;
}

.kontakt-card__topic-list {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.55;
  color: rgb(0 0 0 / 82%);
  font-size: 0.98rem;
}

.kontakt-card__topic-list li {
  margin: 0.2rem 0 0;
}

.kontakt-card__topic-list li:first-child {
  margin-top: 0;
}

.kontakt-card__text-follow {
  margin: 0.55rem 0 0;
  line-height: 1.55;
  color: rgb(0 0 0 / 82%);
  font-size: 0.98rem;
}

.kontakt-card__link-row {
  margin-top: auto;
}

.kontakt-card__text a:not(.hero-btn),
.kontakt-card__link-row a,
.content-block p a:not(.hero-btn),
.content-block li a:not(.hero-btn),
.mini-card p a:not(.hero-btn),
.story-section .story-subtext a:not(.hero-btn) {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.kontakt-card__text a:not(.hero-btn):hover,
.kontakt-card__link-row a:hover,
.content-block p a:not(.hero-btn):hover,
.content-block li a:not(.hero-btn):hover,
.mini-card p a:not(.hero-btn),
.story-section .story-subtext a:not(.hero-btn):hover {
  color: color-mix(in srgb, var(--red) 85%, var(--black) 15%);
}

.kontakt-card__text a:not(.hero-btn):focus-visible,
.kontakt-card__link-row a:focus-visible,
.content-block p a:not(.hero-btn):focus-visible,
.content-block li a:not(.hero-btn):focus-visible,
.mini-card p a:not(.hero-btn),
.story-section .story-subtext a:not(.hero-btn):focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Keep phone numbers on one line */
a[href^="tel:"] {
  white-space: nowrap;
}

.kontakt-card__text--links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}

.kontakt-card__text--links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.kontakt-people-panel {
  margin-top: 1.25rem;
  padding: 1.2rem 1.15rem 1.25rem;
  border: 1px solid rgb(255 255 255 / 48%);
  border-radius: 16px;
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--blue) 18%, white) 0%,
      rgb(255 255 255 / 44%) 42%,
      color-mix(in srgb, var(--gold) 12%, white) 100%
    );
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 55%),
    0 12px 28px rgb(0 0 0 / 9%);
}

.kontakt-people-panel__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--red);
  text-align: center;
}

.kontakt-people-panel__body {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 768px) {
  .kontakt-people-panel__body {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
  }

  .kontakt-people-panel__heading {
    justify-content: flex-start;
    text-align: left;
  }

  .kontakt-people-panel__address {
    padding-left: 1.35rem;
    border-left: 1px solid rgb(0 0 0 / 12%);
  }
}

.kontakt-people-panel__photos {
  min-width: 0;
}

.ansprechpartner-grid--kontakt {
  margin: 0;
}

.kontakt-people-panel__address {
  text-align: center;
}

@media (min-width: 768px) {
  .kontakt-people-panel__address {
    text-align: left;
  }
}

.kontakt-people-panel__address-label {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--black) 55%, var(--red) 45%);
}

.kontakt-people-panel__address-lines {
  margin: 0 0 0.65rem;
  line-height: 1.55;
  color: rgb(0 0 0 / 82%);
}

.kontakt-people-panel__address-lines:last-child {
  margin-bottom: 0;
}

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

@media (min-width: 640px) {
  .kontakt-topics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .kontakt-topics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
  }
}

/* Kontakt: Themenkarten — zentrierte Inhalte + Hover */
.kontakt-section--topics .kontakt-topic-card {
  text-align: center;
  align-items: center;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

/* Themenkarten: Akzente (Palette --red / --blue / --gold / --green) */
.kontakt-section--topics .kontakt-topic-card--accent-red {
  border-top: 3px solid var(--red);
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 58%) 0%,
      color-mix(in srgb, var(--red) 14%, white) 48%,
      rgb(255 255 255 / 36%) 100%
    );
}

.kontakt-section--topics .kontakt-topic-card--accent-blue {
  border-top: 3px solid var(--blue);
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 58%) 0%,
      color-mix(in srgb, var(--blue) 18%, white) 48%,
      rgb(255 255 255 / 36%) 100%
    );
}

.kontakt-section--topics .kontakt-topic-card--accent-gold {
  border-top: 3px solid var(--gold);
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 58%) 0%,
      color-mix(in srgb, var(--gold) 20%, white) 48%,
      rgb(255 255 255 / 36%) 100%
    );
}

.kontakt-section--topics .kontakt-topic-card--accent-green {
  border-top: 3px solid var(--green);
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 58%) 0%,
      color-mix(in srgb, var(--green) 16%, white) 48%,
      rgb(255 255 255 / 36%) 100%
    );
}

.kontakt-section--topics .kontakt-topic-card--accent-red .kontakt-card__title,
.kontakt-section--topics .kontakt-topic-card--accent-red .kontakt-card__title .icon {
  color: var(--red);
}

.kontakt-section--topics .kontakt-topic-card--accent-blue .kontakt-card__title,
.kontakt-section--topics .kontakt-topic-card--accent-blue .kontakt-card__title .icon {
  color: color-mix(in srgb, var(--blue) 42%, var(--black) 58%);
}

.kontakt-section--topics .kontakt-topic-card--accent-gold .kontakt-card__title,
.kontakt-section--topics .kontakt-topic-card--accent-gold .kontakt-card__title .icon {
  color: color-mix(in srgb, var(--gold) 40%, var(--black) 60%);
}

.kontakt-section--topics .kontakt-topic-card--accent-green .kontakt-card__title,
.kontakt-section--topics .kontakt-topic-card--accent-green .kontakt-card__title .icon {
  color: color-mix(in srgb, var(--green) 38%, var(--black) 62%);
}

.kontakt-section--topics .kontakt-card__title {
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.kontakt-section--topics .kontakt-card__title .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.kontakt-section--topics .kontakt-card__text,
.kontakt-section--topics .kontakt-card__text-intro,
.kontakt-section--topics .kontakt-card__text-follow {
  text-align: center;
}

.kontakt-section--topics .kontakt-card__text--faq {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
}

.kontakt-section--topics .kontakt-card__topic-list {
  margin: 0.35rem 0 0;
  padding-left: 0;
  list-style-position: inside;
  text-align: center;
  max-width: 100%;
}

.kontakt-section--topics .kontakt-topic-card__faq-btn {
  margin-top: 0.85rem;
  gap: 0.45rem;
  min-width: 0;
  width: 100%;
  max-width: 16rem;
  border-radius: 12px;
}

.kontakt-section--topics .kontakt-topic-card__faq-btn .icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.kontakt-section--topics .kontakt-topic-card--faq .kontakt-card__text-follow {
  margin-top: 0.75rem;
}

.kontakt-section--topics .kontakt-topic-card--accent-green .kontakt-topic-card__faq-btn {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--green) 28%, white) 0%,
      rgb(255 255 255 / 22%) 52%,
      color-mix(in srgb, var(--green) 16%, white) 100%
    );
  border-color: color-mix(in srgb, var(--green) 42%, rgb(255 255 255 / 52%));
  color: var(--black);
}

@media (hover: hover) and (pointer: fine) {
  .kontakt-section--topics .kontakt-topic-card:hover {
    transform: translateY(-5px);
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 62%),
      0 18px 38px rgb(0 0 0 / 12%);
    border-color: color-mix(in srgb, var(--blue) 32%, rgb(255 255 255 / 52%));
  }

  .kontakt-section--topics .kontakt-topic-card--accent-red:hover {
    border-color: color-mix(in srgb, var(--red) 38%, rgb(255 255 255 / 52%));
    border-top-color: var(--red);
  }

  .kontakt-section--topics .kontakt-topic-card--accent-blue:hover {
    border-color: color-mix(in srgb, var(--blue) 36%, rgb(255 255 255 / 52%));
    border-top-color: var(--blue);
  }

  .kontakt-section--topics .kontakt-topic-card--accent-gold:hover {
    border-color: color-mix(in srgb, var(--gold) 40%, rgb(255 255 255 / 52%));
    border-top-color: var(--gold);
  }

  .kontakt-section--topics .kontakt-topic-card--accent-green:hover {
    border-color: color-mix(in srgb, var(--green) 34%, rgb(255 255 255 / 52%));
    border-top-color: var(--green);
  }

  .kontakt-section--topics .kontakt-topic-card--accent-green .kontakt-topic-card__faq-btn:hover {
    background:
      linear-gradient(
        135deg,
        color-mix(in srgb, var(--green) 36%, white) 0%,
        rgb(255 255 255 / 26%) 52%,
        color-mix(in srgb, var(--green) 22%, white) 100%
      );
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 64%),
      inset 0 -1px 0 rgb(255 255 255 / 22%),
      0 14px 26px rgb(0 0 0 / 14%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kontakt-section--topics .kontakt-topic-card {
    transition: none;
  }

  @media (hover: hover) and (pointer: fine) {
    .kontakt-section--topics .kontakt-topic-card:hover {
      transform: none;
      box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 58%),
        0 10px 22px rgb(0 0 0 / 8%);
      border-color: rgb(255 255 255 / 48%);
    }
  }
}

@media (max-width: 760px) {
  .kontakt-page .content-block p,
  .kontakt-page .content-block h3 {
    text-align: left;
  }

  .kontakt-page .content-block > h2 {
    text-align: center;
  }

  .kontakt-section--topics .kontakt-topic-card .kontakt-card__title,
  .kontakt-section--topics .kontakt-topic-card p,
  .kontakt-section--topics .kontakt-topic-card .kontakt-card__text {
    text-align: center;
  }
}

.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 {
  position: relative;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin-top: clamp(1rem, 2.8vw, 1.8rem);
  padding-top: clamp(1.35rem, 3vw, 2rem);
}

.projects-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgb(0 0 0 / 6%) 16%,
    rgb(0 0 0 / 14%) 50%,
    rgb(0 0 0 / 6%) 84%,
    transparent 100%
  );
  box-shadow: 0 1px 8px rgb(0 0 0 / 5%);
}

.projects-grid-title {
  grid-column: 1 / -1;
  margin: 0 0 0.2rem;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  text-align: center;
  justify-self: center;
  width: 100%;
}

.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;
}

/* Linksbündig, wenn die Pillen in einem linksbündigen Textblock stehen. */
.projects-story-pills--start {
  justify-content: flex-start;
}

.projects-story-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--blue) 32%, var(--white) 68%);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gold) 26%, var(--white) 74%) 0%,
      rgb(255 255 255 / 24%) 48%,
      color-mix(in srgb, var(--blue) 22%, var(--white) 78%) 100%
    );
  backdrop-filter: blur(12px) saturate(126%);
  -webkit-backdrop-filter: blur(12px) saturate(126%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 62%),
    0 8px 18px rgb(0 0 0 / 10%);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--red);
}

.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%);
}

/* Foto oben in der Projektkarte: randlos bis an die Kartenkante (gleicht das Padding von
   1.8rem aus), Ecken oben rund. Das Symbol liegt als Glas-Plakette unten links im Foto. */
.project-card-media {
  position: relative;
  display: block;
  margin: -1.8rem -1.8rem 0.35rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: color-mix(in srgb, var(--blue) 40%, var(--white));
}

.project-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.project-card:hover .project-card-media img,
.project-card:focus-visible .project-card-media img {
  transform: scale(1.04);
}

.project-card-media .project-card-icon {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgb(255 255 255 / 72%);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 65%),
    0 4px 12px rgb(0 0 0 / 14%);
}

@media (prefers-reduced-motion: reduce) {
  .project-card-media img {
    transition: none;
  }

  .project-card:hover .project-card-media img,
  .project-card:focus-visible .project-card-media img {
    transform: none;
  }
}

.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%);
}

/* ── Team-Raster ── */

.team-members {
  display: grid;
  gap: clamp(0.9rem, 2.4vw, 1.5rem);
  width: min(100%, 1100px);
  margin-inline: auto;
  padding-top: clamp(0.6rem, 2vw, 1.2rem);
}

.team-members-title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  color: var(--black);
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.9rem, 2.2vw, 1.5rem);
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1 1 280px;
  min-width: 0;
  max-width: 330px;
  padding: clamp(0.85rem, 2vw, 1.15rem);
  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 10px 24px rgb(0 0 0 / 10%);
  text-align: center;
}

.team-card-photo {
  position: relative;
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  padding: 0.5rem;
  font-size: 0.85rem;
  text-align: center;
}

.team-card-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

/* Ganzkoerperaufnahmen brauchen einen hoeheren Ausschnitt, damit der Kopf im Bild bleibt. */
.team-card-photo--focus-upper img {
  object-position: center 25%;
}

.team-card-name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--black);
}

.team-card-role {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgb(0 0 0 / 80%);
}

@media (max-width: 560px) {
  .team-card {
    flex-basis: 100%;
    max-width: 360px;
  }
}

/* ── 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: var(--z-modal-backdrop);
  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: 1024px) {
  .projects-grid {
    gap: 1.2rem;
  }
}

@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;
  margin-inline: calc(var(--page-gutter) * -1);
  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: var(--z-content);
}

.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: var(--z-raised);
  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: var(--z-top);
  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: var(--z-raised);
  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;
  }
}

/* ── Home CTA Box ── */

.home-cta-box {
  display: grid;
  justify-items: center;
  padding: clamp(0.6rem, 1.8vw, 1rem) 0;
}

.home-cta-box__inner {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.2rem;
  width: min(100%, 820px);
  margin-inline: auto;
  padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.2rem, 3vw, 2.2rem);
  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 14px 30px rgb(0 0 0 / 12%),
    0 0 26px rgb(234 176 60 / 22%),
    0 0 36px rgb(166 209 218 / 18%),
    0 0 44px rgb(182 55 38 / 12%);
  overflow: hidden;
}

.home-cta-box__inner::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.7;
  pointer-events: none;
  animation: hero-gradient-shift 12s ease-in-out infinite;
}

.home-cta-box__title {
  margin: 0;
  font-size: clamp(1.4rem, 3.8vw, 2.1rem);
  line-height: 1.2;
  color: var(--black);
  max-width: 28ch;
  text-wrap: balance;
}

.home-cta-box__body {
  display: grid;
  gap: 0.6rem;
  max-width: 62ch;
}

.home-cta-box__body p {
  margin: 0;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  line-height: 1.65;
  color: rgb(0 0 0 / 78%);
}

.home-cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.2rem;
}

.home-cta-box__divider {
  width: 80px;
  height: 1px;
  border: 0;
  margin: 0.4rem 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgb(0 0 0 / 14%) 30%,
    rgb(0 0 0 / 14%) 70%,
    transparent 100%
  );
}

.home-cta-box__connect-text {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(0.95rem, 1.9vw, 1.05rem);
  line-height: 1.55;
  color: rgb(0 0 0 / 74%);
  font-weight: 600;
}

.home-cta-box__note {
  margin: 0.2rem 0 0;
  font-size: 0.92rem;
  font-weight: 800;
  font-style: italic;
  color: color-mix(in srgb, var(--gold) 68%, var(--black) 32%);
  letter-spacing: 0.01em;
}

@media (max-width: 760px) {
  .home-cta-box__inner {
    padding: clamp(1.4rem, 4vw, 2rem) clamp(1rem, 3vw, 1.4rem);
    gap: 1rem;
  }

  .home-cta-box__title {
    font-size: clamp(1.2rem, 5.5vw, 1.6rem);
  }

  .home-cta-box__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-cta-box__actions .hero-btn {
    width: 100%;
    justify-content: center;
  }

  .footer-nav {
    gap: 0.4rem 0.9rem;
  }

  .footer-links {
    gap: 0.3rem 0.9rem;
  }

  .footer-contact {
    gap: 0.4rem 1rem;
  }
}

/* ── Spender-Zitate Rotation ── */

.donor-quotes-section {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.6rem;
  max-width: 640px;
  margin-inline: auto;
  padding: clamp(0.6rem, 1.6vw, 1rem) 0;
}

.donor-quotes-heading {
  margin: 0;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 800;
  color: rgb(0 0 0 / 62%);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.donor-quotes-viewport {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.donor-quote-item {
  position: absolute;
  inset: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.8rem;
  padding: 1.5rem 1.2rem;
  opacity: 0;
  transform: translateY(24px);
  animation: donor-quote-cycle 50s infinite;
}

.donor-quote-item:nth-child(1)  { animation-delay: 0s; }
.donor-quote-item:nth-child(2)  { animation-delay: 5s; }
.donor-quote-item:nth-child(3)  { animation-delay: 10s; }
.donor-quote-item:nth-child(4)  { animation-delay: 15s; }
.donor-quote-item:nth-child(5)  { animation-delay: 20s; }
.donor-quote-item:nth-child(6)  { animation-delay: 25s; }
.donor-quote-item:nth-child(7)  { animation-delay: 30s; }
.donor-quote-item:nth-child(8)  { animation-delay: 35s; }
.donor-quote-item:nth-child(9)  { animation-delay: 40s; }
.donor-quote-item:nth-child(10) { animation-delay: 45s; }

@keyframes donor-quote-cycle {
  0%   { opacity: 0; transform: translateY(24px); }
  2%   { opacity: 1; transform: translateY(0); }
  8%   { opacity: 1; transform: translateY(0); }
  10%  { opacity: 0; transform: translateY(-24px); }
  100% { opacity: 0; transform: translateY(-24px); }
}

.donor-quote-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 58%);
  background:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--blue) 22%, white) 0%,
      color-mix(in srgb, var(--gold) 14%, white) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 72%),
    0 4px 10px rgb(0 0 0 / 8%);
}

.donor-quote-icon svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
  stroke: var(--black);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.donor-quote-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: 0.01em;
}

.donor-quote-text {
  margin: 0;
  max-width: 48ch;
  font-size: 1.05rem;
  line-height: 1.6;
  font-style: italic;
  color: rgb(0 0 0 / 78%);
}

@media (max-width: 760px) {
  .donor-quotes-viewport {
    height: 240px;
  }

  .donor-quote-item {
    padding: 1rem 0.6rem;
  }

  .donor-quote-text {
    font-size: 0.95rem;
    max-width: 36ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .donor-quote-item {
    animation: none;
    opacity: 0;
    position: static;
    transform: none;
  }

  .donor-quote-item:first-child {
    opacity: 1;
  }

  .donor-quotes-viewport {
    height: auto;
  }
}

@keyframes donation-glow {
  0% {
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 62%),
      inset 0 -0.5px 0 rgb(0 0 0 / 4%),
      0 8px 28px rgb(182 55 38 / 12%),
      0 0 0 0 rgb(234 176 60 / 0%),
      0 0 0 0 rgb(166 209 218 / 0%);
  }
  33% {
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 72%),
      inset 0 -0.5px 0 rgb(0 0 0 / 4%),
      0 12px 48px rgb(182 55 38 / 22%),
      0 0 36px 8px rgb(234 176 60 / 18%),
      0 0 0 0 rgb(166 209 218 / 0%);
  }
  66% {
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 68%),
      inset 0 -0.5px 0 rgb(0 0 0 / 4%),
      0 14px 52px rgb(182 55 38 / 18%),
      0 0 20px 4px rgb(234 176 60 / 10%),
      0 0 44px 10px rgb(166 209 218 / 16%);
  }
  100% {
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 62%),
      inset 0 -0.5px 0 rgb(0 0 0 / 4%),
      0 8px 28px rgb(182 55 38 / 12%),
      0 0 0 0 rgb(234 176 60 / 0%),
      0 0 0 0 rgb(166 209 218 / 0%);
  }
}

/* ── Donation page (online-spenden.html): story carousel, form and trust card ── */

/* Phone: stories first (the "why"), then the form, then the trust card.
   The aside wrapper is transparent here, so its children order like grid items. */
.donate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 1.75rem);
  width: min(1120px, 100%);
  margin: 0 auto;
}

.donate-aside {
  display: contents;
}

.donate-stories {
  order: 1;
}

.donate-layout .donation-box {
  order: 2;
}

.donate-aside__card {
  order: 3;
}

/* Medium: stories and trust card side by side above the form */
@media (min-width: 600px) and (max-width: 959px) {
  .donate-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "stories card"
      "form form";
    align-items: start;
  }

  .donate-stories { grid-area: stories; }
  .donate-layout .donation-box { grid-area: form; }
  .donate-aside__card { grid-area: card; }
}

/* Large: form on the left, stories and trust card as one column on the right */
@media (min-width: 960px) {
  .donate-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    grid-template-areas: "form aside";
    align-items: start;
  }

  .donate-layout .donation-box {
    grid-area: form;
    order: 0;
  }

  .donate-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    grid-area: aside;
    min-width: 0;
  }

  .donate-stories,
  .donate-aside__card {
    order: 0;
  }
}

.donate-layout .donation-box.content-block {
  max-width: none;
  margin: 0;
}

/* Story carousel: native scroll snapping, so swiping works without extra code */
.donate-stories {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
  text-align: left;
}

.donate-stories__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgb(0 0 0 / 12%);
}

.donate-stories__track::-webkit-scrollbar {
  display: none;
}

.donate-stories__track:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.donate-stories__slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
}

.donate-stories__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Each photo keeps its faces in view when the frame is wider than the 4:5 original */
.donate-stories__slide--luisa img {
  object-position: center 60%;
}

.donate-stories__slide--lucy img {
  object-position: center 12%;
}

.donate-stories__slide--ida img {
  object-position: center 0%;
}

.donate-stories__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 5.5rem clamp(1rem, 3vw, 1.35rem) clamp(1rem, 3vw, 1.25rem);
  background: linear-gradient(to top, rgb(0 0 0 / 82%) 0%, rgb(0 0 0 / 55%) 55%, rgb(0 0 0 / 0%) 100%);
  color: var(--white);
}

.donate-stories__text {
  margin: 0 0 0.45rem;
  font-size: clamp(0.98rem, 2.1vw, 1.06rem);
  font-weight: 600;
  line-height: 1.45;
}

.donate-stories__caption cite {
  display: block;
  font-style: normal;
  font-weight: 800;
  font-size: 0.9rem;
}

.donate-stories__fact {
  margin: 0.55rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid rgb(255 255 255 / 28%);
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgb(255 255 255 / 86%);
}

/* Phone: a shorter, more compact caption so faces and details stay visible */
@media (max-width: 599px) {
  .donate-stories__caption {
    padding: 3.25rem 0.9rem 0.85rem;
  }

  .donate-stories__text {
    margin-bottom: 0.3rem;
    font-size: 0.92rem;
    line-height: 1.38;
  }

  .donate-stories__caption cite {
    font-size: 0.82rem;
  }

  .donate-stories__fact {
    margin-top: 0.4rem;
    padding-top: 0.4rem;
    font-size: 0.75rem;
    line-height: 1.4;
  }
}

/* Controls: round glass buttons and dots below the image */
.donate-stories__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.donate-stories__btn {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  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 / 58%),
    0 6px 14px rgb(0 0 0 / 8%);
  color: var(--black);
  cursor: pointer;
  transition:
    transform 200ms ease,
    border-color 200ms ease;
}

.donate-stories__btn:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--red) 35%, var(--white));
}

.donate-stories__btn:active {
  transform: translateY(0);
}

.donate-stories__dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.donate-stories__dot {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(0 0 0 / 22%);
  cursor: pointer;
  transition:
    width 250ms ease,
    background-color 250ms ease;
}

.donate-stories__dot[aria-current="true"] {
  width: 1.6rem;
  background: var(--red);
}

.donate-stories__btn:focus-visible,
.donate-stories__dot:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.donate-stories__stats {
  margin: 0;
  font-size: 0.82rem;
  text-align: center;
  color: rgb(0 0 0 / 60%);
}

/* Trust card */
.donate-aside__card {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.1rem, 3vw, 1.4rem);
  border: 1px solid rgb(255 255 255 / 48%);
  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 / 58%),
    0 12px 28px rgb(0 0 0 / 7%);
  text-align: left;
}

.donate-aside__facts {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.93rem;
  line-height: 1.45;
  color: rgb(0 0 0 / 78%);
}

.donate-aside__facts li {
  position: relative;
  padding-left: 1.6rem;
}

.donate-aside__facts li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.08em;
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--green) 26%, var(--white));
  font-size: 0.72rem;
  font-weight: 900;
  color: color-mix(in srgb, var(--green) 45%, var(--black));
}

.donate-aside__trust {
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgb(0 0 0 / 8%);
  font-size: 0.85rem;
  color: rgb(0 0 0 / 60%);
}

.donate-aside__trust span,
.donate-stories__stats span {
  white-space: nowrap;
}

.donate-aside__seal {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.donate-aside__seal img {
  flex-shrink: 0;
  width: 92px;
  height: auto;
}

.donate-aside__seal p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgb(0 0 0 / 62%);
}

/* Large windows: the whole right column (photos and trust card) stays in view while the visitor
   scrolls through the form, and leaves together with the end of the form.
   The photo takes the height that the card leaves over, so it never gets cut off.
   Starts at 700px window height, so it also works on laptops and zoomed browsers. */
@media (min-width: 1240px) and (min-height: 700px) {
  /* Leave room on the right for the floating donation heart, so it never covers the card */
  .donate-layout {
    width: min(1120px, calc(100vw - 21rem));
  }

  .donate-aside {
    position: sticky;
    top: 6.5rem;
    height: calc(100vh - 7.5rem);
    max-height: 58rem;
  }

  .donate-stories {
    flex: 1 1 0;
    min-height: 15rem;
    grid-template-rows: minmax(0, 1fr) auto auto;
  }

  .donate-stories__track {
    min-height: 0;
  }

  .donate-stories__slide {
    aspect-ratio: auto;
  }

  /* Shorter caption fade, so it covers less of the faces on low photos */
  .donate-stories__caption {
    padding-top: 3rem;
  }

  .donate-aside__card {
    flex: none;
    gap: 0.7rem;
    padding: 1rem 1.1rem;
  }

  .donate-aside__facts {
    gap: 0.35rem;
    font-size: 0.88rem;
  }

  .donate-aside__trust {
    padding-top: 0.65rem;
  }

  .donate-aside__seal img {
    width: 72px;
  }
}

/* Lower large windows: a more compact caption and seal, so the photo keeps enough room */
@media (min-width: 1240px) and (min-height: 700px) and (max-height: 859.98px) {
  .donate-stories__caption {
    padding: 2.25rem 1rem 0.9rem;
  }

  .donate-stories__text {
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    line-height: 1.38;
  }

  .donate-stories__caption cite {
    font-size: 0.82rem;
  }

  .donate-stories__fact {
    margin-top: 0.4rem;
    padding-top: 0.4rem;
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .donate-aside__seal img {
    width: 60px;
  }

  .donate-aside__seal p {
    font-size: 0.78rem;
    line-height: 1.4;
  }
}

/* Large windows that are too narrow or too low for the whole column: the photos scroll away,
   and the trust card stays in view until the end of the form */
@media (min-width: 960px) and (max-width: 1239.98px), (min-width: 960px) and (max-height: 699.98px) {
  .donate-aside {
    align-self: stretch;
  }

  .donate-aside__card {
    position: sticky;
    top: 6.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .donate-stories__track {
    scroll-behavior: auto;
  }

  .donate-stories__btn,
  .donate-stories__dot {
    transition: none;
  }
}

/* Bank transfer: address hint stands out from the running text */
.donate-bank-note {
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  background: color-mix(in srgb, var(--gold) 16%, var(--white));
}

.donation-box {
  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%);
  padding: clamp(1.5rem, 5vw, 3rem);
  animation: donation-glow 5s ease-in-out infinite;
  transition:
    transform 360ms cubic-bezier(0.22, 0.8, 0.26, 1),
    border-color 360ms ease,
    backdrop-filter 360ms ease;
}

.donation-box:hover {
  transform: translateY(-4px) scale(1.012);
  border-color: color-mix(in srgb, var(--gold) 48%, rgb(255 255 255 / 60%));
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  animation-play-state: paused;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 78%),
    inset 0 -0.5px 0 rgb(0 0 0 / 4%),
    0 18px 56px rgb(182 55 38 / 22%),
    0 0 48px 12px rgb(234 176 60 / 20%),
    0 0 32px 6px rgb(166 209 218 / 14%);
}

.donation-box:active {
  transform: translateY(-1px) scale(1.004);
  transition-duration: 120ms;
}

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

.donation-box.content-block {
  max-width: 880px;
  width: 100%;
}

.donation-box iframe,
.donation-box form,
.donation-box > div,
.donation-box > div > div,
.donation-box [id*="fundraisingBox"],
.donation-box [class*="fundraisingBox"] {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 760px) {
  .donation-box.content-block {
    max-width: 92vw;
  }
}

@media (max-width: 480px) {
  .donation-box.content-block {
    max-width: 100%;
    padding: clamp(1rem, 4vw, 1.5rem) clamp(0.75rem, 3vw, 1.25rem);
  }

  .hero-logo--home {
    width: clamp(180px, 50vw, 230px);
  }

  .hero-title {
    font-size: clamp(1.5rem, 8vw, 1.9rem);
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .home-hero-highlights {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }

  .home-hero-highlights__item {
    justify-content: center;
    text-align: center;
  }

  .home-hero-highlights__item span {
    font-size: 0.8rem;
  }

  .story-section--home-about-layout .story-title {
    text-align: center;
    font-size: clamp(1.35rem, 5.5vw, 1.65rem);
  }

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

  .story-section--home-about-layout .story-richtext .story-subtext {
    text-align: center;
  }

  .home-projects-grid {
    grid-template-columns: 1fr;
  }

  .home-project-tile {
    min-height: 0;
  }

  .impact-counter-card {
    padding: 0.8rem;
  }

  .impact-counter-card h3 {
    font-size: 1.6rem;
  }

  .impact-counter-card p {
    font-size: 0.82rem;
  }

  .testimonial-card {
    flex-basis: 100%;
  }

  .footer-inner {
    gap: 1.2rem;
  }

  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }

  .footer-contact {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }

  .footer-nav a {
    font-size: 0.9rem;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .footer-contact a {
    font-size: 0.85rem;
  }
}

@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="online-spenden.html"],
  .hero-btn[href^="online-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 {
  content: 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: var(--bg);
  border-top: 0;
  text-align: center;
}

.site-footer::before {
  /* Spiegelbild des Startseiten-Heros: oben nahtlos aus der Seitenfarbe,
     nach unten ein weicher Verlauf Blau → Grün → Gold, ohne Kante und ohne Flecken */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, transparent 38%, transparent 100%),
    linear-gradient(
      300deg,
      color-mix(in srgb, var(--gold) 50%, white) 0%,
      color-mix(in srgb, var(--green) 50%, white) 52%,
      color-mix(in srgb, var(--blue) 50%, white) 100%
    );
  pointer-events: none;
  z-index: var(--z-base);
}

.site-footer::after {
  content: none;
}

.site-footer > *,
.footer-inner > * {
  position: relative;
  z-index: var(--z-content);
}

.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: 84px;
  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: color-mix(in srgb, var(--green) 30%, var(--black));
}

.footer-tagline::after {
  content: "";
  display: block;
  width: 78px;
  height: 1px;
  margin: 0.55rem auto 0;
  background: color-mix(in srgb, var(--gold) 60%, white);
}

.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: rgb(0 0 0 / 75%);
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: color-mix(in srgb, var(--green) 30%, var(--black));
}

.site-footer .hero-btn {
  animation: none;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 70%),
    0 6px 16px rgb(0 0 0 / 10%);
}

.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: rgb(0 0 0 / 75%);
  transition: color 180ms ease;
}

.footer-nav a:hover {
  color: color-mix(in srgb, var(--green) 30%, var(--black));
}

.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: calc(var(--page-gutter) * -1);
}

/* ── Fixes Spenden-Herz ── */

.floating-donation-heart {
  position: fixed;
  right: clamp(1rem, 2.6vw, 1.8rem);
  bottom: clamp(3.5rem, 12vh, 7rem);
  z-index: var(--z-floating);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 4.2rem;
  min-height: 4.2rem;
  padding: 0.95rem 1.1rem;
  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%) 46%,
      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 / 18%),
    0 16px 30px rgb(0 0 0 / 16%);
  color: var(--red);
  text-decoration: none;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease,
    background 220ms ease;
}

.floating-donation-heart::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 28% 28%, rgb(255 255 255 / 58%), transparent 48%),
    linear-gradient(135deg, rgb(182 55 38 / 14%), rgb(234 176 60 / 16%));
  opacity: 0.95;
  pointer-events: none;
}

.floating-donation-heart:hover {
  transform: translateY(-3px) scale(1.02);
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 62%) 0%,
      rgb(255 255 255 / 28%) 48%,
      rgb(255 255 255 / 42%) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 68%),
    inset 0 -1px 0 rgb(255 255 255 / 22%),
    0 18px 34px rgb(0 0 0 / 18%);
  color: var(--gold);
}

.floating-donation-heart:active {
  transform: translateY(-1px) scale(0.99);
}

.floating-donation-heart:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.floating-donation-heart .icon,
.floating-donation-heart__label {
  position: relative;
  z-index: var(--z-content);
}

.floating-donation-heart .icon {
  width: 1.35rem;
  height: 1.35rem;
  margin-right: 0;
}

.floating-donation-heart__label {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

@media (max-width: 760px) {
  .floating-donation-heart {
    right: 0.85rem;
    bottom: 1rem;
    min-width: 3.7rem;
    min-height: 3.7rem;
    padding: 0.85rem 0.95rem;
  }

  .floating-donation-heart__label {
    display: none;
  }
}

/* ── Cookie-Hinweis (Ebene 1) und Cookie-Einstellungen (Ebene 2) ── */

.cb-banner,
.cb-dialog__card {
  border: 1px solid rgb(255 255 255 / 50%);
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 90%) 0%,
      rgb(255 255 255 / 78%) 48%,
      rgb(255 255 255 / 86%) 100%
    );
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 64%),
    inset 0 -1px 0 rgb(255 255 255 / 20%),
    0 24px 48px rgb(0 0 0 / 14%),
    0 8px 16px rgb(0 0 0 / 8%);
  color: var(--black);
  text-align: left;
}

/* Ebene 1: Hinweis-Karte unten, ohne Abdunkeln, die Seite bleibt sichtbar */

.cb-banner {
  position: fixed;
  left: 50%;
  bottom: clamp(0.75rem, 2.5vh, 1.5rem);
  z-index: var(--z-cookie-overlay);
  width: min(720px, calc(100% - 2rem));
  max-height: 60vh;
  max-height: 60dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.3rem 1.5rem 1.2rem;
  border-radius: 16px;
  opacity: 0;
  transform: translate(-50%, 16px);
  transition:
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 320ms ease;
}

.cb-banner--visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cb-banner__title {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
}

.cb-banner__text {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgb(0 0 0 / 72%);
}

.cb-banner__actions {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.6rem;
}

.cb-link {
  font-weight: 700;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color 200ms ease;
}

.cb-link:hover {
  color: color-mix(in srgb, var(--blue) 60%, var(--black));
}

.cb-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Ebene 2: Fenster „Cookie-Einstellungen“ in der Mitte */

.cb-dialog {
  position: fixed;
  inset: 0;
  z-index: var(--z-cookie-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 300ms ease;
}

.cb-dialog[hidden] {
  display: none;
}

.cb-dialog--visible {
  opacity: 1;
}

.cb-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 32%);
}

.cb-dialog__card {
  position: relative;
  z-index: var(--z-content);
  width: min(600px, 100%);
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.6rem 1.75rem 1.4rem;
  border-radius: 16px;
  transform: translateY(12px) scale(0.98);
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cb-dialog--visible .cb-dialog__card {
  transform: none;
}

.cb-dialog__card:focus {
  outline: none;
}

.cb-dialog__title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.2rem, 2.4vw, 1.4rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
}

.cb-dialog__intro {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgb(0 0 0 / 70%);
}

.cb-rows {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px dashed rgb(0 0 0 / 16%);
}

.cb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0.95rem 0;
  border-bottom: 1px dashed rgb(0 0 0 / 16%);
}

.cb-row__name {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 1rem;
  font-weight: 800;
}

.cb-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.cb-dialog__actions .cb-btn {
  min-width: 9rem;
}

/* Meldung nach dem Ausschalten */

.cb-status {
  margin: 0 0 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 60%);
  background: color-mix(in srgb, var(--green) 22%, white);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
}

.cb-dialog .cb-status {
  margin: 1rem 0 0;
}

/* Knöpfe im Glas-Stil */

.cb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1.15rem;
  border: 1px solid rgb(255 255 255 / 48%);
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--black);
  text-align: center;
  cursor: pointer;
  transition:
    transform 200ms ease,
    box-shadow 250ms ease,
    background 200ms ease,
    border-color 200ms ease;
}

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

.cb-btn:active {
  transform: translateY(0) scale(0.98);
}

/* Hervorgehoben: kräftiges Blau im Glas-Look. „Nur notwendige“ bleibt gleich groß und gut lesbar. */
.cb-btn--accept {
  border-color: color-mix(in srgb, var(--blue) 70%, white);
  background:
    linear-gradient(
      135deg,
      rgb(166 209 218 / 92%) 0%,
      rgb(166 209 218 / 66%) 48%,
      rgb(166 209 218 / 84%) 100%
    );
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 72%),
    inset 0 -1px 0 rgb(255 255 255 / 22%),
    0 6px 16px rgb(166 209 218 / 50%),
    0 3px 8px rgb(0 0 0 / 8%);
  font-weight: 800;
}

.cb-btn--accept:hover {
  transform: translateY(-1px);
  background:
    linear-gradient(
      135deg,
      rgb(166 209 218 / 100%) 0%,
      rgb(166 209 218 / 76%) 48%,
      rgb(166 209 218 / 92%) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 72%),
    inset 0 -1px 0 rgb(255 255 255 / 22%),
    0 8px 20px rgb(166 209 218 / 60%),
    0 0 24px rgb(166 209 218 / 48%);
}

.cb-btn--decline {
  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 6px 14px rgb(0 0 0 / 8%);
}

.cb-btn--decline:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 56%),
    inset 0 -1px 0 rgb(255 255 255 / 18%),
    0 8px 18px rgb(0 0 0 / 10%),
    0 0 14px rgb(166 209 218 / 28%);
}

/* „Einstellungen“: ruhiger Textknopf, beim Zeigen und Fokus im Glas-Look */

.cb-btn--text {
  border-color: transparent;
  background: transparent;
  color: rgb(0 0 0 / 64%);
}

.cb-btn--text:hover,
.cb-btn--text:focus-visible {
  color: var(--black);
  border-color: 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%);
}

/* Schalter */

.cb-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  min-width: 4.2rem;
  cursor: pointer;
}

.cb-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.cb-toggle__track {
  position: relative;
  display: block;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgb(0 0 0 / 14%);
  transition: background 260ms ease, box-shadow 260ms ease;
}

.cb-toggle__knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgb(0 0 0 / 20%);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cb-toggle input:checked + .cb-toggle__track {
  background: var(--blue);
  box-shadow: 0 0 14px rgb(166 209 218 / 48%);
}

.cb-toggle input:checked + .cb-toggle__track .cb-toggle__knob {
  transform: translateX(20px);
}

.cb-toggle input:focus-visible + .cb-toggle__track {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.cb-toggle--locked {
  cursor: default;
}

.cb-toggle--locked .cb-toggle__track {
  background: var(--blue);
  opacity: 0.55;
}

.cb-toggle--locked .cb-toggle__knob {
  transform: translateX(20px);
}

.cb-toggle__state {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgb(0 0 0 / 50%);
  white-space: nowrap;
}

/* Schild-Knopf zum Wieder-Öffnen */

.cb-reopen {
  position: fixed;
  left: clamp(1rem, 2.6vw, 1.8rem);
  bottom: clamp(1rem, 3vh, 1.5rem);
  z-index: var(--z-cookie-reopen);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 48%);
  border-radius: 50%;
  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%);
  color: var(--blue);
  font: inherit;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition:
    opacity 280ms ease,
    visibility 280ms,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 200ms ease;
}

.cb-reopen--visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.cb-reopen:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 56%),
    inset 0 -1px 0 rgb(255 255 255 / 18%),
    0 10px 22px rgb(0 0 0 / 12%),
    0 0 18px rgb(166 209 218 / 42%);
}

.cb-reopen:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.cb-reopen:active {
  transform: scale(0.96);
}

.cb-reopen .icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Responsive */

@media (max-width: 760px) {
  .cb-banner {
    width: calc(100% - 2rem);
    padding: 1.1rem 1.15rem 1rem;
  }

  .cb-banner__title {
    font-size: 1.05rem;
  }

  .cb-banner__text {
    margin-bottom: 0.85rem;
    font-size: 0.86rem;
    line-height: 1.55;
  }

  /* Handy: „Nur notwendige“ und „Alle akzeptieren“ gleich groß nebeneinander, „Einstellungen“ darunter */
  .cb-banner__actions {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "decline accept"
      "settings settings";
    gap: 0.45rem 0.5rem;
  }

  .cb-banner__actions .cb-btn--decline {
    grid-area: decline;
  }

  .cb-banner__actions .cb-btn--accept {
    grid-area: accept;
  }

  .cb-banner__actions .cb-btn--text {
    grid-area: settings;
    justify-self: center;
    padding-block: 0.5rem;
  }

  .cb-banner__actions .cb-btn--decline,
  .cb-banner__actions .cb-btn--accept {
    padding-inline: 0.6rem;
    font-size: 0.86rem;
  }

  .cb-dialog {
    padding: 0.75rem;
  }

  .cb-dialog__card {
    padding: 1.25rem 1.15rem 1.1rem;
    max-height: calc(100vh - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
  }

  .cb-row {
    gap: 0.75rem;
  }

  .cb-toggle {
    min-width: 3.6rem;
  }

  .cb-dialog__actions .cb-btn {
    flex: 1 1 0;
    min-width: 0;
  }

  .cb-reopen {
    left: 0.85rem;
    bottom: 1rem;
    width: 2.6rem;
    height: 2.6rem;
  }

  .cb-reopen .icon {
    width: 1.15rem;
    height: 1.15rem;
  }
}

@media (max-width: 340px) {
  .cb-banner__actions {
    grid-template-columns: 1fr;
    grid-template-areas:
      "decline"
      "accept"
      "settings";
  }
}

@media (prefers-reduced-motion: reduce) {
  .cb-banner,
  .cb-dialog,
  .cb-dialog__card,
  .cb-toggle__track,
  .cb-toggle__knob,
  .cb-reopen,
  .cb-btn {
    transition-duration: 0.01ms !important;
  }
}

/* Inhaltsverzeichnis der Datenschutzerklärung */

.legal-toc {
  margin: 1.2rem 0 2rem;
  padding: 1.1rem 1.4rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / 60%);
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 56%) 0%,
      rgb(255 255 255 / 30%) 48%,
      rgb(255 255 255 / 44%) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 56%),
    0 6px 16px rgb(0 0 0 / 6%);
  text-align: left;
}

.content-block .legal-toc__title {
  margin: 0 0 0.6rem;
  font-weight: 800;
  font-size: 1.05rem;
  text-align: left;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.5rem;
  columns: 2;
  column-gap: 2.2rem;
}

.legal-toc li {
  margin: 0 0 0.3rem;
  break-inside: avoid;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .legal-toc {
    padding: 1rem 1.1rem 1.05rem;
  }

  .legal-toc ol {
    columns: 1;
  }
}

/* ── Donation-Embed ── */

.donation-consent-card,
.donation-embed__status {
  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 / 62%),
    inset 0 -1px 0 rgb(255 255 255 / 18%),
    0 16px 34px rgb(0 0 0 / 16%);
}

.donation-consent-card__kicker {
  margin: 0 0 0.35rem;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.donation-consent-card__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.donation-consent-card__text {
  margin: 0 0 0.8rem;
  color: rgb(0 0 0 / 78%);
}

.donation-consent-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.donation-embed {
  margin-top: 1rem;
}

.donation-consent-card {
  padding: 1.25rem;
  border-radius: 16px;
}

.donation-embed.is-loading .donation-consent-card {
  opacity: 0.6;
}

.donation-embed__status {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  color: var(--black);
  font-weight: 700;
}

.donation-embed.has-error .donation-embed__status {
  color: var(--red);
}

/* ── Campus Wachstums-Leiste ── */

.campus-timeline {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  width: 100%;
  margin-top: clamp(1rem, 2.4vw, 1.8rem);
}

.campus-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.campus-stage-media {
  display: grid;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  /* 3:2 statt 16:9: Das Foto von Haus Konrad (4:3) passt so mit Dach und Traummobil in den Rahmen. */
  aspect-ratio: 3 / 2;
  border: 1px solid rgb(255 255 255 / 56%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 60%),
    0 12px 26px rgb(0 0 0 / 14%);
}

.campus-stage-figure {
  grid-area: 1 / 1;
  margin: 0;
  position: relative;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 520ms cubic-bezier(0.22, 0.8, 0.26, 1),
    transform 520ms cubic-bezier(0.22, 0.8, 0.26, 1);
  pointer-events: none;
}

.campus-stage-figure.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.campus-stage-zoom {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: zoom-in;
}

.campus-stage-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campus-stage-figure img.campus-stage-image--haus-konrad {
  object-position: center 70%;
}

.campus-stage-zoom-hint {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  color: var(--red);
  border: 1px solid rgb(255 255 255 / 52%);
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 60%) 0%,
      rgb(255 255 255 / 26%) 48%,
      rgb(255 255 255 / 42%) 100%
    );
  backdrop-filter: blur(12px) saturate(128%);
  -webkit-backdrop-filter: blur(12px) saturate(128%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 64%),
    0 6px 14px rgb(0 0 0 / 16%);
  opacity: 0.85;
  transform: scale(1);
  transition: opacity 200ms ease, transform 200ms ease;
}

.campus-stage-zoom-hint .icon {
  width: 1.05rem;
  height: 1.05rem;
}

.campus-stage-zoom:hover .campus-stage-zoom-hint,
.campus-stage-zoom:focus-visible .campus-stage-zoom-hint {
  opacity: 1;
  transform: scale(1.08);
}

.campus-stage-zoom:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -3px;
  border-radius: 16px;
}

.campus-stage-figure--future img {
  filter: grayscale(0.55) brightness(0.92) saturate(0.7);
}

.campus-stage-future-tag {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--blue) 30%, var(--white) 70%) 0%,
      rgb(255 255 255 / 30%) 100%
    );
  border: 1px solid rgb(255 255 255 / 56%);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
}

.campus-stage-copy {
  display: grid;
  position: relative;
}

.campus-stage-text {
  grid-area: 1 / 1;
  display: grid;
  gap: 0.7rem;
  align-content: start;
  justify-items: start;
  text-align: left;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 420ms cubic-bezier(0.22, 0.8, 0.26, 1),
    transform 420ms cubic-bezier(0.22, 0.8, 0.26, 1);
  pointer-events: none;
}

.campus-stage-text.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.campus-state-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.34rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgb(255 255 255 / 52%);
  backdrop-filter: blur(10px) saturate(124%);
  -webkit-backdrop-filter: blur(10px) saturate(124%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 56%);
}

.campus-state-pill--green {
  background: linear-gradient(135deg, color-mix(in srgb, var(--green) 42%, var(--white) 58%) 0%, rgb(255 255 255 / 30%) 100%);
  color: color-mix(in srgb, var(--green) 60%, var(--black) 40%);
}

.campus-state-pill--gold {
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 46%, var(--white) 54%) 0%, rgb(255 255 255 / 30%) 100%);
  color: color-mix(in srgb, var(--gold) 52%, var(--red) 48%);
}

.campus-state-pill--muted {
  background: linear-gradient(135deg, color-mix(in srgb, var(--blue) 30%, var(--white) 70%) 0%, rgb(255 255 255 / 30%) 100%);
  color: rgb(0 0 0 / 60%);
}

.campus-stage-title {
  margin: 0;
  font-size: clamp(1.3rem, 3.2vw, 1.9rem);
  line-height: 1.15;
}

.campus-stage-desc {
  margin: 0;
  max-width: 56ch;
  line-height: 1.6;
  font-size: clamp(0.98rem, 2vw, 1.1rem);
  color: rgb(0 0 0 / 82%);
}

/* Wechselnder CTA-Link im Animations-Panel */

.campus-stage-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--red);
  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 / 64%),
    0 8px 18px rgb(0 0 0 / 12%);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.campus-stage-link .icon {
  width: 1.05rem;
  height: 1.05rem;
}

.campus-stage-link-arrow {
  transition: transform 220ms ease;
}

.campus-stage-link:hover,
.campus-stage-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgb(255 255 255 / 64%);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gold) 22%, white) 0%,
      rgb(255 255 255 / 28%) 50%,
      color-mix(in srgb, var(--blue) 14%, white) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 68%),
    0 12px 24px rgb(0 0 0 / 16%);
}

.campus-stage-link:hover .campus-stage-link-arrow,
.campus-stage-link:focus-visible .campus-stage-link-arrow {
  transform: translateX(4px);
}

.campus-stage-link:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* Häuser-Übersicht: Karten-Grid unter der Animation */

.campus-house-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  margin-top: clamp(1.2rem, 3vw, 2rem);
}

.campus-house-card {
  min-height: 0;
}

.campus-house-card .campus-state-pill {
  width: fit-content;
}

.campus-house-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--red);
}

.campus-house-cta .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 220ms ease;
}

.campus-house-card:hover .campus-house-cta .icon,
.campus-house-card:focus-visible .campus-house-cta .icon {
  transform: translateX(4px);
}

.campus-house-grid--features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(1rem, 2.6vw, 1.6rem);
}

.campus-house-grid--quad {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
  margin-inline: auto;
}

/* Haus-Unterseiten: Hero-Zusatzelemente */

.hero-backlink {
  color: var(--red);
  text-decoration: none;
  font-weight: 800;
}

.hero-backlink:hover,
.hero-backlink:focus-visible {
  text-decoration: underline;
}

.hero-state-pill {
  margin-bottom: 0.4rem;
}

@media (max-width: 1024px) {
  .campus-house-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

@media (max-width: 760px) {
  .campus-house-grid--features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .campus-house-grid {
    grid-template-columns: 1fr;
  }
}

/* Steuerung: Buttons + Leiste */

.campus-controls {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.1rem);
}

.campus-nav-btn {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--red);
  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 / 62%),
    0 8px 16px rgb(0 0 0 / 12%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.campus-nav-btn .icon {
  width: 1.3rem;
  height: 1.3rem;
}

.campus-nav-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 68%),
    0 12px 22px rgb(0 0 0 / 16%);
}

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

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

.campus-rail {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  padding: 2.6rem 1.7rem 0;
}

.campus-rail-track {
  position: absolute;
  top: calc(2.6rem + 0.575rem - 3px);
  left: 0;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--blue) 30%, var(--white) 70%);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 12%);
  z-index: 1;
}

.campus-rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) 0%, var(--gold) 100%);
  transition: width 420ms cubic-bezier(0.22, 0.8, 0.26, 1);
}

.campus-rail-nodes {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
}

.campus-node {
  display: grid;
  justify-items: center;
  gap: 1.15rem;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  text-align: center;
}

.campus-node-dot {
  position: relative;
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: var(--white);
  border: 2px solid color-mix(in srgb, var(--blue) 40%, var(--white) 60%);
  box-shadow: 0 2px 6px rgb(0 0 0 / 14%);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.campus-node-label {
  display: grid;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  color: rgb(0 0 0 / 72%);
  transition: color 200ms ease;
}

.campus-node-label small {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgb(0 0 0 / 48%);
}

.campus-node--green.is-active .campus-node-dot {
  background: var(--green);
  border-color: color-mix(in srgb, var(--green) 60%, var(--white) 40%);
  transform: scale(1.15);
}

.campus-node--gold.is-active .campus-node-dot {
  background: var(--gold);
  border-color: color-mix(in srgb, var(--gold) 60%, var(--white) 40%);
  transform: scale(1.15);
}

.campus-node--muted.is-active .campus-node-dot {
  background: color-mix(in srgb, var(--blue) 60%, var(--white) 40%);
  border-color: color-mix(in srgb, var(--blue) 70%, var(--white) 30%);
  transform: scale(1.15);
}

.campus-node.is-active .campus-node-label {
  color: var(--black);
}

.campus-node:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
  border-radius: 10px;
}

.campus-knob {
  position: absolute;
  top: calc(2.6rem + 0.575rem);
  left: 0;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  cursor: grab;
  color: var(--red);
  z-index: 3;
  border: 1px solid rgb(255 255 255 / 52%);
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 62%) 0%,
      rgb(255 255 255 / 28%) 48%,
      rgb(255 255 255 / 44%) 100%
    );
  backdrop-filter: blur(14px) saturate(132%);
  -webkit-backdrop-filter: blur(14px) saturate(132%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 70%),
    0 8px 18px rgb(0 0 0 / 18%),
    0 0 18px color-mix(in srgb, var(--gold) 26%, transparent);
  transition: left 420ms cubic-bezier(0.22, 0.8, 0.26, 1), box-shadow 200ms ease;
}

.campus-knob .icon {
  width: 1.2rem;
  height: 1.2rem;
}

.campus-knob:hover {
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 74%),
    0 10px 22px rgb(0 0 0 / 22%),
    0 0 22px color-mix(in srgb, var(--gold) 34%, transparent);
}

.campus-knob:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.campus-knob.is-dragging {
  cursor: grabbing;
  transition: box-shadow 200ms ease;
}

.campus-timeline.is-dragging .campus-rail-fill {
  transition: none;
}

/* Tablet */
@media (max-width: 860px) {
  .campus-stage {
    grid-template-columns: 1fr;
    gap: clamp(1rem, 4vw, 1.6rem);
  }

  .campus-stage-text {
    justify-items: center;
    text-align: center;
  }

  .campus-stage-desc {
    margin-inline: auto;
  }
}

/* Mobil */
@media (max-width: 540px) {
  .campus-rail {
    padding: 2.3rem 1.2rem 0;
  }

  .campus-rail-track {
    top: calc(2.3rem + 0.5rem - 3px);
  }

  .campus-knob {
    top: calc(2.3rem + 0.5rem);
  }

  .campus-node-dot {
    width: 1rem;
    height: 1rem;
  }

  .campus-node-label {
    font-size: 0.72rem;
  }

  .campus-node-label small {
    display: none;
  }

  .campus-nav-btn {
    width: 2.5rem;
    height: 2.5rem;
  }

  .campus-knob {
    width: 2.2rem;
    height: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .campus-stage-figure,
  .campus-stage-text,
  .campus-rail-fill,
  .campus-knob,
  .campus-node-dot {
    transition-duration: 0.01ms !important;
  }
}

/* ── Personalisierte Spendendankseite ── */

.donation-thank-you-body .content-block {
  max-width: 68ch;
}

.donation-thank-you-body .content-block > h2 {
  margin-top: 0;
}

.donation-transaction {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid color-mix(in srgb, var(--red) 30%, var(--white));
}

.donation-transaction h3 {
  margin-top: 0;
  color: var(--red);
}

.donation-transaction__number {
  display: grid;
  gap: 0.2rem;
  margin: 1.25rem 0 0 !important;
  padding: 0.9rem 1rem;
  border: 1px solid color-mix(in srgb, var(--gold) 52%, var(--white));
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 72%, var(--white));
}

.donation-transaction__number span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(0 0 0 / 62%);
}

.donation-transaction__number strong {
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: var(--black);
}


