/* MERCY’S HEART – BEREINIGTE GESTALTUNG
   Gemeinsame Datei für Startseite, Arbeit, Team, Transparenz und Rechtliches.
   Alte Pfeile, Pin und doppelte Regeln sind entfernt.
   Die Reihenfolge erhält die bisherige Darstellung und Bildschirmgrößen.
   Slideshow-Zeiten werden oben in script.js eingestellt. */

/* --- Farben und zentrale Maße --- */

:root {
  --cream: #f5ead7;
  --cream-dark: #ead9bd;
  --paper: #fffaf1;
  --header-cream: #fff8df;
  --white: #ffffff;
  --ink: #13241c;
  --muted: #5d6a62;
  --green: #14382a;
  --green-light: #285b40;
  --orange: #ed6847;
  --orange-dark: #c9472b;
  --gold: #e5ad43;
  --line: rgba(19, 36, 28, 0.16);
  --line-light: rgba(255, 255, 255, 0.22);
  --radius: 1.4rem;
  --shadow-small: 0 12px 34px rgba(25, 49, 36, 0.09);
  --shadow: 0 28px 75px rgba(25, 49, 36, 0.15);
  --page-padding: max(5vw, 1.25rem);
}

/* --- Grundgestaltung und gemeinsame Elemente --- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--orange-dark);
  outline-offset: 5px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.8rem, 4.7vw, 5rem);
}

h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.7rem);
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.1rem;
}

.section {
  padding: clamp(3.5rem, 6vw, 6rem) var(--page-padding);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 2.5rem;
}

.section-heading > p:last-child {
  max-width: 65ch;
  color: var(--muted);
}

.section-heading.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 2rem;
  max-width: none;
}

.section-heading.split h2 {
  margin-bottom: 0;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--green-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #f2d49b;
}

.lead {
  max-width: 37rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.reveal {
  opacity: 1;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  border-radius: 0.5rem;
  background: var(--white);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* --- Kopfzeile und Navigation --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 8px var(--page-padding);
  background: var(--header-cream);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(20, 56, 42, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.7rem;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.brand:hover {
  transform: translateY(-2px) rotate(-1deg);
}

.site-header .logo {
  object-fit: contain;
}

#navigation {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

#navigation a {
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

#navigation a:not(.button):hover,
#navigation a[aria-current="page"] {
  color: var(--orange-dark);
}

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-lines::before {
  top: -6px;
}

.menu-lines::after {
  top: 6px;
}

.more-menu {
  position: relative;
}

.more-menu > summary {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--green);
  list-style: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.more-menu > summary::-webkit-details-marker {
  display: none;
}

.more-menu > summary::marker {
  content: "";
}

.more-menu > summary:hover,
.more-menu[open] > summary {
  background: rgba(20, 56, 42, 0.08);
  border-color: var(--line);
}

.more-links {
  position: absolute;
  top: calc(100% + 1rem);
  right: 0;
  z-index: 35;
  display: grid;
  gap: 0.8rem;
  min-width: 240px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--header-cream);
  box-shadow: var(--shadow-small);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  background: var(--orange-dark);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.button:hover {
  transform: translateY(-3px);
  background: #ab3922;
  box-shadow: 0 12px 24px rgba(169, 60, 33, 0.2);
}

.button-small {
  min-height: 46px;
  padding: 0.7rem 1.2rem;
}

.button-secondary {
  color: var(--green);
  border-color: var(--line);
  background: transparent;
}

.button-secondary:hover {
  color: var(--white);
  background: var(--green);
  box-shadow: var(--shadow-small);
}

.button-light {
  color: var(--green);
  background: var(--paper);
}

.button-light:hover {
  color: var(--green);
  background: var(--cream-dark);
}

/* --- Spenden --- */

.nav-donate {
  font-weight: 800;
}

.text-link,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0 0.2rem;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--green);
  background: transparent;
  font-weight: 750;
  text-align: left;
  text-decoration: none;
}

.text-link:hover,
.card-link:hover {
  color: var(--orange-dark);
}

/* --- Startbereich und Slideshow --- */

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.inline-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.inline-links {
  gap: 1rem 1.5rem;
}

.hero {
  display: grid;
  padding: clamp(2rem, 4vw, 4rem) var(--page-padding);
}

.hero-copy,
.hero-slider {
  min-width: 0;
}

.hero h1 span {
  color: var(--orange-dark);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 650;
}

.trust-list li::before {
  content: "✓";
  margin-right: 0.45rem;
  color: var(--orange-dark);
}

.slider-window {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hero-slide {
  margin: 0;
}

.hero-slide.active {
  animation: card-arrive 0.35s ease-out;
}

.slide-picture {
  height: clamp(400px, 40vw, 600px);
  background: var(--paper);
}

.slide-picture img,
.flyer-open img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flyer-open {
  display: block;
  width: 100%;
  height: 100%;
}

.flyer-open:focus-visible {
  outline-offset: -6px;
}

.slide-overlay {
  color: var(--paper);
  background: var(--green);
}

.slide-label {
  margin-bottom: 0.65rem;
  color: #f2d49b;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.slide-overlay .event-details {
  color: #f2d49b;
  font-weight: 650;
}

.slide-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0 0.2rem;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 750;
  text-align: left;
  text-decoration: none;
}

.slide-link:hover {
  color: #f2d49b;
}

/* --- Geschichte und Projektübersicht --- */

.story {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.compact-story {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 6vw, 6rem);
}

.story-copy {
  max-width: 70ch;
}

.story-copy p {
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 1.5rem;
}

.project-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition:
    opacity 0.35s ease,
    filter 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.project-media {
  height: clamp(300px, 30vw, 440px);
  background: var(--paper);
}

.project-media > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-copy {
  padding: 1.6rem;
}

.project-copy h3 {
  margin-bottom: 1rem;
}

.project-copy > p:not(.tag) {
  color: var(--muted);
  font-size: 0.94rem;
}

.project-copy .project-date {
  font-weight: 650;
}

.tag {
  color: var(--green-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  color: var(--green);
  background: #e8dfcb;
  text-align: center;
}

.photo-placeholder small {
  max-width: 25ch;
  color: var(--muted);
}

.placeholder-icon {
  font-size: 3.5rem;
  line-height: 1;
}

@media (hover: hover) and (pointer: fine) {
  .slider-window:hover {
    transform: translateY(-4px) scale(1.015);
    box-shadow: 0 32px 80px rgba(20, 56, 42, 0.2);
  }
}

@media (hover: hover) and (pointer: fine) {
  .project-grid:has(.project-card:hover)
    .project-card:not(:hover) {
    opacity: 0.48;
    filter: saturate(0.7) brightness(0.88);
    transform: scale(0.975);
  }

  .project-card:hover {
    z-index: 2;
    transform: translateY(-12px) scale(1.035);
    box-shadow:
      0 35px 80px rgba(20, 56, 42, 0.25),
      0 8px 24px rgba(20, 56, 42, 0.12);
  }
}

.donate {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  color: var(--paper);
  background: var(--green);
}

.donate-intro > p:not(.eyebrow) {
  color: #dae2d8;
}

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

.amounts button {
  display: grid;
  gap: 0.4rem;
  padding: 1.2rem;
  border: 1px solid var(--line-light);
  border-radius: 1rem;
  color: var(--paper);
  background: transparent;
  text-align: left;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.amounts button:hover,
.amounts button.active {
  border-color: #f2d49b;
  background: rgba(255, 255, 255, 0.1);
}

.amounts strong {
  font-size: 1.35rem;
}

.amounts span {
  font-size: 0.78rem;
}

.amount-disclaimer {
  margin-top: 1rem;
  font-size: 0.75rem;
}

.donate-box {
  min-width: 0;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
}

.donate-box-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.donate-box-heading h3 {
  margin: 0.3rem 0 0;
  font-size: 1.7rem;
}

/* SEPA-GiroCode: wird durch die Betragsauswahl ausgetauscht. */
.girocode-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--cream);
}

.girocode-copy {
  min-width: 0;
}

.girocode-copy > span {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--orange-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.girocode-copy > strong {
  display: block;
  color: var(--green);
  font-size: 1rem;
}

.girocode-copy p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.45;
}

#girocode-image {
  width: 128px;
  height: 128px;
  padding: 0.35rem;
  border-radius: 0.7rem;
  background: var(--paper);
}

#girocode-image.is-updating {
  animation: girocode-change 0.35s ease;
}

@keyframes girocode-change {
  50% {
    opacity: 0.4;
    transform: scale(0.96);
  }
}

@media (max-width: 430px) {
  .girocode-panel {
    grid-template-columns: 1fr;
  }

  #girocode-image {
    width: 150px;
    height: 150px;
    margin-inline: auto;
  }
}

.heart-pulse {
  color: var(--orange-dark);
  font-size: 2.5rem;
}

.donate-method {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.donate-method > span {
  display: block;
  margin-bottom: 0.7rem;
  font-weight: 800;
}

.copy-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.copy-row code {
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.copy-button {
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--green);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 750;
}

.copy-button:hover {
  background: var(--cream);
}

.donate-method p,
.donate-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.donate-note {
  margin-top: 1.5rem;
}

/* --- Mitmachen --- */

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

.join-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  min-height: 180px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  text-align: left;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.join-option:hover {
  transform: translateY(-4px);
  border-color: var(--orange-dark);
}

.join-option > span {
  color: var(--orange-dark);
  font-size: 1.8rem;
  line-height: 1;
}

.join-option small {
  color: var(--muted);
  font-size: 0.8rem;
}

/* --- Teamseite --- */

.membership-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 2rem;
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--green);
}

.membership-cta h3,
.membership-cta .eyebrow {
  margin-bottom: 0.5rem;
}

/* --- Partner und Bibelverse --- */

.verse-band {
  border-block: 1px solid var(--line);
  text-align: center;
}

.verse-band p {
  max-width: 850px;
  margin: 0 auto 0.6rem;
  font:
    italic 1.5rem/1.5 Georgia,
    serif;
}

.verse-band span {
  color: var(--muted);
  font-size: 0.75rem;
}

.partners {
  padding-block: 2.5rem;
}

.partners-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0 var(--page-padding) 1.5rem;
}

.partners-heading p {
  margin-bottom: 0.4rem;
}

.partners-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.9rem;
}

.partner-marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
}

.partner-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding-block: 1rem;
  animation: marquee 32s linear infinite;
}

.partner-chip {
  display: grid;
  place-items: center;
  flex: 0 0 310px;
  width: 310px;
  min-height: 100px;
  padding: 1rem 1.4rem;
  border-radius: 1rem;
  background: var(--paper);
  font-size: 0.8rem;
  text-align: center;
}

.known-partner {
  background: var(--white);
}

.partner-chip img {
  width: 260px;
  height: 65px;
  object-fit: contain;
}

.placeholder-partner {
  border-style: dashed;
  color: var(--muted);
}

.partner-marquee:focus .partner-track,
.partner-marquee.paused .partner-track {
  animation-play-state: paused;
}

/* --- Animationen --- */

@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

/* --- Kontakt und Formulare --- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 55ch;
  color: var(--muted);
}

address {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.7rem;
  font-style: normal;
  overflow-wrap: anywhere;
}

address a {
  text-decoration: none;
}

address a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.7rem;
}

.social-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  background: var(--cream);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link .fill-icon {
  fill: currentColor;
  stroke: none;
}

.contact-form {
  padding: clamp(1.3rem, 3vw, 2.3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.form-heading h3 {
  margin-bottom: 1.5rem;
}

label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  color: var(--ink);
  background: var(--paper);
}

textarea {
  resize: vertical;
}

input[readonly] {
  color: var(--muted);
  background: #eee6d6;
}

.form-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

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

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 400;
}

.checkbox-label input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--green);
}

/* --- Fußzeile --- */

footer {
  display: grid;
  align-items: center;
  padding: 2rem var(--page-padding);
  border-top: 1px solid var(--line);
  background: var(--header-cream);
}

.footer-logo {
  grid-row: 1 / 3;
}

.footer-logo img {
  object-fit: contain;
}

.footer-message {
  display: grid;
}

.footer-message span,
footer > p {
  color: var(--muted);
  font-size: 0.8rem;
}

footer > p {
  grid-column: 2;
  margin: 0;
}

.footer-links {
  grid-column: 3;
  grid-row: 1 / 3;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.subpage main {
  min-height: 65vh;
}

/* --- Unsere Arbeit --- */

.work-intro {
  background: var(--paper);
}

.work-intro h1 {
  max-width: 950px;
}

.work-intro .lead {
  max-width: 760px;
}

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

.work-card {
  padding: clamp(1.5rem, 3vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.work-card-top {
  color: var(--green-light);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.work-card h3 {
  margin-top: 1.5rem;
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.work-card ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.work-card li {
  margin-bottom: 0.5rem;
}

.cameroon {
  color: var(--paper);
  background: var(--green);
}

.cameroon .work-card-top,
.cameroon .card-link {
  color: #f2d49b;
}

.germany {
  background: #eee0c1;
}

.motivation {
  background: var(--paper);
}

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

.value-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.value-card h3 {
  color: var(--green);
}

.value-card p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.member-card {
  min-width: 0;
}

.member-photo {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 1.2rem;
  border: 1px dashed #b2b5a4;
  border-radius: 1rem;
  color: var(--muted);
  background: #e7ddc9;
  font-size: 0.85rem;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-role {
  margin-bottom: 0.4rem;
  color: var(--green-light);
  font-size: 0.75rem;
  font-weight: 750;
}

.member-card h2 {
  margin-bottom: 0.7rem;
  font-size: 1.65rem;
}

.member-card > p:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

/* --- Transparenz --- */

.transparency {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.transparency-copy p:not(.eyebrow) {
  color: var(--muted);
}

.document-list {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.document-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  text-decoration: none;
}

a.document-card:hover {
  border-color: var(--orange-dark);
}

.document-card strong,
.document-card small {
  display: block;
}

.document-card small {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.document-icon {
  color: var(--orange-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.document-placeholder {
  border-style: dashed;
}

/* --- Dialog und Rückmeldungen --- */

.registration-dialog {
  width: min(650px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: clamp(1.4rem, 4vw, 2.5rem);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.registration-dialog::backdrop {
  background: rgba(10, 27, 20, 0.65);
  backdrop-filter: blur(4px);
}

.registration-dialog h2 {
  padding-right: 1rem;
  font-size: 2.3rem;
}

.registration-dialog form {
  position: relative;
}

.dialog-close {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  font-size: 1.5rem;
}

.dialog-intro {
  color: var(--muted);
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  max-width: min(420px, calc(100vw - 2rem));
  padding: 1rem 1.3rem;
  border-radius: 1rem;
  color: var(--white);
  background: var(--green);
  box-shadow: var(--shadow-small);
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Besondere Bestätigung nach dem Kopieren von IBAN oder PayPal. */
.toast[data-variant="support"] {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid rgba(201, 71, 43, 0.22);
  color: var(--green);
  background: linear-gradient(135deg, var(--paper), var(--cream));
  box-shadow:
    0 20px 50px rgba(20, 56, 42, 0.2),
    0 4px 14px rgba(20, 56, 42, 0.08);
  font-weight: 700;
}

.toast[data-variant="support"]::before {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: var(--white);
  background: var(--orange-dark);
  content: "♥";
  font-size: 1rem;
}

.toast.show[data-variant="support"]::before {
  animation: toast-heart-beat 0.55s ease;
}

@keyframes toast-heart-beat {
  50% {
    transform: scale(1.12);
  }
}

/* --- Impressum und Datenschutz --- */

.legal-main {
  max-width: 960px;
  margin-inline: auto;
  padding: 4rem var(--page-padding);
  overflow-wrap: anywhere;
}

.legal-main h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.legal-main h2 {
  margin-top: 2.5rem;
  font-size: 1.6rem;
}

.legal-main h3 {
  margin-top: 2rem;
  font-size: 1.3rem;
}

.legal-main .notice {
  margin-top: 2rem;
  padding: 1.2rem;
  border-left: 4px solid var(--orange-dark);
  background: var(--paper);
}

.brand-mark {
  color: var(--orange-dark);
  font-size: 2.4rem;
}

.legal-page .brand strong,
.legal-page .brand em {
  display: block;
  font-style: normal;
  line-height: 1.15;
}

@media (max-width: 1080px) {
  .menu-button {
    display: inline-flex;
  }
}

@media (max-width: 1080px) {
  #navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.5rem var(--page-padding);
    border-bottom: 1px solid var(--line);
    background: var(--header-cream);
    box-shadow: var(--shadow-small);
  }
}

@media (max-width: 1080px) {
  #navigation.open {
    display: flex;
  }
}

@media (max-width: 1080px) {
  #navigation > a:not(.button) {
    padding-block: 0.35rem;
  }
}

@media (max-width: 1080px) {
  .more-links {
    position: static;
    min-width: 0;
    margin-top: 0.7rem;
    box-shadow: none;
  }
}

@media (max-width: 1080px) {
  .slide-picture {
    height: clamp(400px, 65vw, 620px);
  }
}

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

@media (max-width: 1080px) {
  .join-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .donate,
  .transparency {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .donate-box {
    max-width: 720px;
    width: 100%;
  }
}

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

@media (max-width: 720px) {
  .hero-actions {
    gap: 0.8rem;
  }
}

@media (max-width: 720px) {
  .hero-actions .button {
    padding-inline: 1.15rem;
  }
}

@media (max-width: 720px) {
  .slide-picture {
    height: auto;
    aspect-ratio: 2 / 3;
  }
}

@media (max-width: 720px) {
  .compact-story,
  .section-heading.split,
  .project-grid,
  .work-grid,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .project-media {
    height: auto;
    aspect-ratio: 2 / 3;
  }
}

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

@media (max-width: 720px) {
  .membership-cta {
    padding: 1.5rem;
  }
}

@media (max-width: 720px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 720px) {
  .verse-band p {
    font-size: 1.25rem;
  }
}

@media (max-width: 720px) {
  .footer-logo {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .document-card {
    gap: 0.7rem;
    padding: 1rem;
  }
}

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

@media (max-width: 430px) {
  .join-option,
  .amounts button {
    padding: 1rem;
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  .slider-window:hover,
  .project-card:hover,
  .brand:hover,
  .button:hover,
  .join-option:hover,
  .social-link:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-marquee {
    overflow-x: auto;
  }
}

.site-header {
  min-height: 80px;
  padding-block: 4px;
}

.site-header .logo {
  width: 72px;
  height: 72px;
  max-width: 72px;
}

#navigation > a {
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

#navigation .nav-donate {
  min-height: 42px;
  padding: 0.65rem 1.1rem;
}

html {
  scroll-padding-top: 100px;
}

footer {
  grid-template-columns: 72px 1fr auto;
  gap: 0.3rem 1.5rem;
  padding-block: 1rem;
}

.footer-logo img {
  width: 72px;
  height: 72px;
}

.footer-message {
  gap: 0;
}

.hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.hero-copy {
  max-width: none;
}

.hero .lead {
  max-width: 40rem;
}

.hero-slider .slide-picture > img,
.hero-slider .slide-picture .flyer-open img {
  max-width: 100%;
}

.slider-window {
  border: 0;
  background: var(--green);
}

.slide-overlay {
  padding: 1rem 1.2rem;
}

.slide-overlay .slide-label {
  margin-bottom: 0.4rem;
  font-size: 0.65rem;
}

.slide-overlay h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.3rem, 1.7vw, 1.6rem);
  line-height: 1.15;
}

.slide-overlay p:not(.slide-label) {
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
  line-height: 1.5;
}

.slide-overlay .event-details {
  margin-block: 0.6rem;
  font-size: 0.78rem;
}

.slide-overlay .slide-link {
  font-size: 0.8rem;
}

.contact .eyebrow {
  color: var(--ink);
}

.contact .contact-form input,
.contact .contact-form select,
.contact .contact-form textarea {
  background: #fff;
}

.projects .eyebrow,
.story .eyebrow,
.join .eyebrow:not(.light) {
  color: var(--orange-dark);
}

.team.section {
  color: var(--paper);
  background: var(--green);
}

.team .eyebrow,
.team .member-role {
  color: #f2d49b;
}

.team .section-heading > p:last-child,
.team .member-card > p:last-child {
  color: #dce5dc;
}

.team .member-card h2 {
  color: var(--paper);
}

.team .member-photo {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--green);
  background: #e7ddc9;
}

body.legal-page {
  min-height: 100vh;
}

.legal-page .legal-main {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.legal-page .legal-main .eyebrow {
  color: var(--ink);
}

.legal-page .legal-main .notice {
  border-left-color: var(--green);
  background: var(--paper);
}

.legal-page .legal-main a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

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

@media (max-width: 1080px) {
  .hero-copy {
    max-width: 800px;
  }
}

@media (max-width: 1080px) {
  footer {
    grid-template-columns: 72px 1fr;
  }
}

@media (max-width: 1080px) {
  .footer-links {
    grid-column: 2;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 72px;
  }
}

@media (max-width: 720px) {
  .site-header .logo {
    width: 64px;
    height: 64px;
    max-width: 64px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 90px;
  }
}

@media (max-width: 720px) {
  .slide-overlay h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 720px) {
  footer {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.6rem 1rem;
  }
}

@media (max-width: 720px) {
  .footer-logo img {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 720px) {
  footer > p,
  .footer-links {
    grid-column: 1 / -1;
  }
}

.hero {
  padding-block: 1.25rem;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.hero-copy {
  padding-block: 0;
}

.hero-copy > .eyebrow {
  margin-bottom: 0.8rem;
}

.hero h1 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.6rem, 4.2vw, 4.6rem);
  line-height: 1.04;
}

.hero .lead {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.65;
}

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

.trust-list {
  margin-top: 1.3rem;
  gap: 0.4rem 1.2rem;
}

.hero-slider {
  width: 100%;
  max-width: 350px;
  justify-self: end;
}

.hero-slider .slider-window {
  height: clamp(340px, calc(100svh - 180px), 520px);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hero-slider .slide-picture {
  width: 100%;
  aspect-ratio: auto;
}

.hero-slider .slide-picture .flyer-open {
  display: block;
  width: 100%;
}

.hero-slider .slide-picture > img,
.hero-slider .slide-picture .flyer-open img {
  display: block;
}

.hero-slider .slide-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  color: var(--paper);
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.hero-slider .slide-overlay h2 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  line-height: 1.15;
}

.hero-slider .slide-overlay .slide-label {
  margin-bottom: 0.4rem;
  font-size: 0.62rem;
}

.hero-slider .slide-overlay p:not(.slide-label) {
  margin-bottom: 0.6rem;
  font-size: 0.78rem;
  line-height: 1.45;
}

.hero-slider .slide-overlay .event-details {
  margin-block: 0.5rem;
  font-size: 0.75rem;
}

.hero-slider .slide-overlay .slide-link {
  font-size: 0.78rem;
}

@media (hover: hover) and (pointer: fine) {
  .hero-slider .slider-window:hover .slide-overlay:hover,
  .hero-slider .slider-window:focus-within .slide-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (max-width: 899px) {
  .hero {
    grid-template-columns: 1fr;
    padding-block: 1.75rem;
    gap: 1.75rem;
  }
}

@media (max-width: 899px) {
  .hero-slider {
    max-width: 350px;
    justify-self: center;
  }
}

@media (max-width: 899px) {
  .hero-slider .slider-window {
    height: auto;
    aspect-ratio: 2 / 3;
  }
}

@media (max-width: 899px) {
  .hero h1 {
    font-size: clamp(2.4rem, 7vw, 3.8rem);
  }
}

@media (min-width: 900px) {
  .hero {
    min-height: calc(100svh - 80px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 350px);
    column-gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    align-content: center;
    padding-block: 2rem;
    padding-inline: max(var(--page-padding), calc((100% - 1200px) / 2));
  }
}

@media (min-width: 900px) {
  .hero-slider {
    width: 100%;
    max-width: 350px;
    justify-self: start;
  }
}

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

:root {
  --peach: #f8dfc7;
}

body.legal-page,
.legal-page .legal-main,
.transparency.section {
  color: var(--ink);
  background: var(--header-cream);
}

.contact {
  color: var(--ink);
  background: var(--peach);
}

@media (min-width: 1100px) {
  .hero {
    column-gap: clamp(2rem, 3.5vw, 4rem);
    padding-inline: max(var(--page-padding), calc((100% - 1440px) / 2));
  }
}

.verse-band {
  position: relative;
  z-index: 3;
  display: block;
  height: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
  pointer-events: none;
}

.verse-note {
  position: absolute;
  top: 0;
  left: 50%;
  width: max-content;
  max-width: min(620px, calc(100vw - 2.5rem));
  padding: 0.8rem 1.5rem;
  border: 1px solid rgba(19, 36, 28, 0.12);
  border-radius: 1rem;
  color: var(--green);
  background: var(--peach);
  box-shadow: 0 8px 22px rgba(25, 49, 36, 0.08);
  text-align: center;
  translate: -50% -50%;
  animation: verse-float 7s ease-in-out infinite;
}

.verse-note p {
  max-width: none;
  margin: 0;
  color: var(--green);
  font:
    italic 1rem/1.4 Georgia,
    serif;
}

.verse-note span {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.3;
}

.verse-band + .section,
.verse-band + .partners {
  padding-top: max(4rem, 5vw);
}

@keyframes verse-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 720px) {
  .verse-note {
    max-width: calc(100vw - 2rem);
    padding: 0.65rem 1rem;
    animation: none;
  }
}

@media (max-width: 720px) {
  .verse-note p {
    font-size: 0.85rem;
  }
}

@media (max-width: 720px) {
  .verse-note span {
    font-size: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .verse-note {
    animation: none;
    transform: none;
  }
}

@media (min-width: 1100px) {
  .hero {
    --flyer-height: clamp(380px, calc(100svh - 130px), 860px);
    padding-block: 1.25rem;
  }
}

.contact.section {
  padding-block: clamp(2.5rem, 4vw, 4rem);
  align-items: start;
  gap: clamp(2rem, 4vw, 4rem);
}

.contact-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.contact-copy > p:not(.eyebrow) {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact address {
  gap: 0.55rem;
  margin-top: 1rem;
}

.contact .contact-form {
  padding: clamp(1.2rem, 2vw, 1.7rem);
}

.contact .form-heading .eyebrow {
  margin-bottom: 0.4rem;
}

.contact .form-heading h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.contact .contact-form label {
  gap: 0.3rem;
  margin-bottom: 0.7rem;
}

.contact .contact-form input,
.contact .contact-form select,
.contact .contact-form textarea {
  padding: 0.6rem 0.8rem;
}

.contact .contact-form textarea {
  height: 95px;
  min-height: 95px;
  resize: vertical;
}

.contact .contact-form .button {
  min-height: 44px;
  padding-block: 0.7rem;
}

.contact .form-note {
  margin-top: 0.7rem;
  font-size: 0.72rem;
  line-height: 1.45;
}

.contact .social-links {
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.contact .social-link {
  width: 54px;
  height: 54px;
  padding: 12px;
}

.contact .social-link svg {
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
  stroke-width: 1.7;
}

@media (max-width: 720px) {
  .contact.section {
    gap: 1.75rem;
  }
}

.contact.section {
  color: #fffaf1;
  background: #99573f;
}

.contact .contact-copy h2,
.contact .contact-copy .eyebrow,
.contact .contact-copy > p:not(.eyebrow),
.contact .contact-copy address {
  color: #fffaf1;
}

.contact .social-link {
  color: #fffaf1;
  border-color: rgba(255, 250, 241, 0.5);
  background: transparent;
}

.contact .social-link:hover {
  color: #99573f;
  background: #fffaf1;
}

.contact .contact-form {
  color: var(--ink);
  background: var(--paper);
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(45, 24, 16, 0.12);
}

.contact .contact-form .eyebrow {
  color: var(--green);
}

.contact .contact-form .button {
  background: var(--green);
}

.contact .contact-form .button:hover {
  background: var(--green-light);
}

.contact :focus-visible {
  outline-color: var(--paper);
}

.contact .contact-form :focus-visible {
  outline-color: var(--green);
}

.hero-slider .slider-window {
  isolation: isolate;
  border: 0;
  background: var(--green);
}

.hero-slider .hero-slide {
  position: relative;
  isolation: isolate;
  height: 100%;
  overflow: hidden;
  background: var(--green);
}

.hero-slider .hero-slide::before {
  content: "";
  position: absolute;
  z-index: -2;
  background-image: var(--project-image, none);
  background-position: center;
  background-size: cover;
}

.hero-slider .hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-slider .slide-picture {
  height: 100%;
  background: transparent;
}

.hero-slider .slide-picture .flyer-open {
  height: 100%;
}

.hero-slider .slide-picture > img,
.hero-slider .slide-picture .flyer-open img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2));
  transition: transform 0.45s ease;
}

.hero-slider .slide-overlay {
  padding: 3rem 1.75rem 1.5rem;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(15, 39, 29, 0.94) 35%,
    #0f271d
  );
}

.hero-slider .slider-window:hover .slide-overlay {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  .hero-slider
    .slider-window:has(.slide-picture:hover):not(:focus-within)
    .slide-overlay {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .hero-slider .slide-picture:hover img {
    transform: scale(1.025);
  }
}

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

@media (max-width: 1099px) {
  .hero-slider .slider-window {
    height: clamp(480px, 130vw, 720px);
    aspect-ratio: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider .slide-picture:hover img,
  .hero-slider .slide-overlay {
    transform: none;
  }
}

.partner-marquee,
.partner-chip,
.partner-chip.placeholder-partner {
  border: 0;
}

.hero-slider .hero-slide::before {
  inset: -12px;
  filter: blur(9px) saturate(0.9);
  opacity: 0.85;
}

.hero-slider .hero-slide::after {
  background: linear-gradient(
    135deg,
    rgba(20, 56, 42, 0.08),
    rgba(12, 29, 22, 0.3)
  );
}

.hero-slider .slider-window:hover {
  transform: none;
}

.hero-slider .slide-picture {
  padding: 1.1rem;
}

@media (min-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: clamp(1.75rem, 3vw, 3.5rem);
    min-height: calc(100svh - 80px);
    padding: 1.5rem var(--page-padding);
    align-items: center;
  }
}

@media (min-width: 1100px) {
  .hero-copy {
    padding: 0;
    align-self: center;
  }
}

@media (min-width: 1100px) {
  .hero-slider {
    width: 100%;
    max-width: none;
    min-height: 0;
    height: auto;
    align-self: center;
    justify-self: stretch;
  }
}

@media (min-width: 1100px) {
  .hero-slider .slider-window {
    inset: auto;
    width: 100%;
    height: clamp(460px, calc(100svh - 135px), 820px);
  }
}

@media (max-width: 1099px) {
  .hero {
    padding: 1.5rem var(--page-padding) 2rem;
    gap: 1.5rem;
  }
}

@media (max-width: 1099px) {
  .hero-copy {
    padding: 0;
  }
}

@media (max-width: 1099px) {
  .hero-slider {
    width: 100%;
    max-width: 620px;
    min-height: 0;
    justify-self: center;
  }
}

#mitmachen {
  padding-top: clamp(1.75rem, 3vw, 2.75rem);
}

#mitmachen .section-heading {
  margin-bottom: 1.5rem;
}

main > .partners,
main > .verse-band + .partners {
  padding-bottom: 1.5rem;
}

.partners .partners-heading {
  margin: 0;
}

.partners .partners-heading .eyebrow {
  margin-bottom: 0.25rem;
}

.partners .partners-heading p:last-child {
  margin-bottom: 0;
}

.partners .partner-track {
  padding-block: 0.6rem;
}

.partner-marquee:hover .partner-track,
.partner-marquee:focus-within .partner-track {
  animation-play-state: paused;
}

.hero-slider {
  position: relative;
  overflow: visible;
}

.hero-slider .slider-window,
.hero-slider .slider-window:hover {
  border-radius: 0.8rem;
  box-shadow:
    0 18px 35px rgba(36, 43, 29, 0.15),
    0 3px 7px rgba(36, 43, 29, 0.08);
}

#mitmachen {
  padding-bottom: 0.75rem;
}

#mitmachen .membership-cta {
  margin-bottom: 0;
}

main > .partners,
main > .verse-band + .partners {
  margin-top: 0;
  padding-top: 1rem;
}

.partners .partners-heading {
  padding-bottom: 0.5rem;
}

#mitmachen + .verse-band {
  height: auto;
  padding: 0.5rem var(--page-padding);
}

#mitmachen + .verse-band .verse-note {
  position: static;
  width: fit-content;
  margin-inline: auto;
  translate: none;
  transform: none;
  animation: none;
}

.hero-slider .slider-window {
  position: relative;
  overflow: hidden;
}

.hero-slider .hero-slide,
.hero-slider .hero-slide.active {
  animation: none;
}

.hero-slider .slider-window.is-sliding .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  transition: none;
  will-change: transform;
}

/* ================================================================
   SCROLL-ERLEBNIS AUF DER STARTSEITE
   ================================================================
   Der Spendenbereich bleibt auf großen Bildschirmen kurz stehen.
   script.js aktualisiert dabei nur die vier Variablen unten.
   Ohne JavaScript und auf Mobilgeräten bleibt alles normal lesbar. */

.donate-experience {
  --donate-inset: 0px;
  --donate-radius: 0px;
  --donate-message-opacity: 0;
  --donate-message-shift: 0px;
  --donate-content-opacity: 1;
  --donate-content-shift: 0px;
  position: relative;
  background: var(--green);
}

.donate-scene {
  position: relative;
  overflow: hidden;
  background: var(--green);
}

.donate-message {
  display: none;
}

.donate-experience .donate {
  position: relative;
  z-index: 2;
  background: transparent;
}

/* Dezente Einblendungen verbinden die Abschnitte miteinander. */
.scroll-ready .scroll-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-ready .scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1100px) and (min-height: 700px) {
  .donate-experience {
    min-height: 185vh;
    background: var(--cream);
  }

  .donate-scene {
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    min-height: 620px;
    display: grid;
    place-items: center;
    isolation: isolate;
    background: transparent;
  }

  /* Diese grüne Fläche wächst beim Scrollen bis an den Seitenrand. */
  .donate-scene::before {
    position: absolute;
    z-index: -1;
    inset: var(--donate-inset);
    border-radius: var(--donate-radius);
    background:
      radial-gradient(
        circle at 82% 18%,
        rgba(229, 173, 67, 0.16),
        transparent 30%
      ),
      var(--green);
    box-shadow: 0 26px 80px rgba(20, 56, 42, 0.18);
    content: "";
    transition:
      inset 0.08s linear,
      border-radius 0.08s linear;
  }

  .donate-message {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    padding: var(--page-padding);
    color: var(--paper);
    text-align: center;
    opacity: var(--donate-message-opacity);
    transform: translateY(var(--donate-message-shift));
    pointer-events: none;
  }

  .donate-message-heart {
    margin-bottom: 0.8rem;
    color: #ef8569;
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1;
  }

  .donate-message p {
    max-width: 13ch;
    margin-bottom: 0.8rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 5vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .donate-message small {
    color: #dae2d8;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
  }

  .donate-experience .donate {
    width: 100%;
    max-width: 1500px;
    padding-block: clamp(2.5rem, 5vh, 4.5rem);
    opacity: var(--donate-content-opacity);
    transform: translateY(var(--donate-content-shift));
    pointer-events: none;
  }

  .donate-experience.is-content-active .donate {
    pointer-events: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .donate-experience {
    min-height: auto;
    background: var(--green);
  }

  .donate-scene {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    background: var(--green);
  }

  .donate-message {
    display: none;
  }

  .donate-experience .donate {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .scroll-ready .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ================================================================
   KOMPAKTER SPENDENBEREICH
   ================================================================
   Die gesamte Spendenansicht bleibt auch auf flacheren Laptops sichtbar.
   Banküberweisung und PayPal stehen auf breiten Bildschirmen nebeneinander. */

.donate {
  gap: clamp(1.5rem, 3vw, 3rem);
}

.donate-intro h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 3.1vw, 3.35rem);
}

.donate-intro > p:not(.eyebrow) {
  margin-bottom: 0.7rem;
  line-height: 1.55;
}

.amounts {
  gap: 0.6rem;
  margin-top: 1rem;
}

.amounts button {
  gap: 0.2rem;
  padding: 0.8rem 0.95rem;
}

.amounts strong {
  font-size: 1.15rem;
}

.amounts span {
  font-size: 0.7rem;
}

.amount-disclaimer {
  margin-top: 0.65rem;
  margin-bottom: 0;
  line-height: 1.4;
}

.donate-box {
  display: block;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.donate-box-heading {
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.donate-box-heading h3 {
  margin-top: 0.1rem;
  font-size: 1.4rem;
}

.heart-pulse {
  font-size: 2rem;
}

.girocode-panel {
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 0.75rem;
  margin: 0;
  padding: 0.7rem;
}

#girocode-image {
  width: 104px;
  height: 104px;
}

.donate-method {
  min-width: 0;
  margin-top: 0;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
}

.donate-method > span {
  margin-bottom: 0.45rem;
}

.copy-row {
  gap: 0.45rem;
}

.copy-row code {
  font-size: 0.78rem;
}

.copy-button {
  padding: 0.4rem 0.65rem;
}

.donate-method p,
.donate-note {
  margin-top: 0.55rem;
  font-size: 0.72rem;
  line-height: 1.4;
}

.donate-note {
  margin-bottom: 0;
}

@media (min-width: 1100px) and (min-height: 700px) {
  .donate-experience .donate {
    padding-block: clamp(1rem, 2.5vh, 1.8rem);
  }
}

@media (max-width: 430px) {
  #girocode-image {
    width: 140px;
    height: 140px;
    margin-inline: auto;
  }
}

/* ================================================================
   ZAHLUNGSMÖGLICHKEITEN: LINKE UND RECHTE SPALTE
   ================================================================
   Links stehen GiroCode und Bankdaten untereinander. Rechts bekommt
   das offizielle PayPal-Feld eine eigene, gleich breite Spalte. */

.donate-payment-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.8rem;
}

.bank-column {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.8rem;
  min-width: 0;
}

.donate-payment-layout .donate-method {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.42);
}

.donate-method-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 800;
}

.donate-payment-layout .donate-method p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.payment-details {
  margin-top: 0.65rem !important;
}

/* --- Offizieller PayPal-Bereich ---
   Das Betragsfeld und der PayPal-Button bleiben sichtbar.
   Die doppelte Überschrift des PayPal-Widgets wird ausgeblendet. */

.paypal-hosted-wrapper {
  width: 100%;
  max-width: none;
  margin-top: 0.65rem;
}

#paypal-form-fields-container-VNXSLQ69HPUEE {
  margin: 0 !important;
  padding: 0 !important;
}

#paypal-form-fields-container-VNXSLQ69HPUEE .item-header {
  display: none !important;
}

@media (max-width: 800px) {
  .donate-payment-layout {
    grid-template-columns: 1fr;
  }

  .bank-column {
    grid-template-rows: auto;
  }

  .paypal-hosted-wrapper {
    max-width: 100%;
  }
}
