.charity-v2-page .charity-hero-media {
  background:
    radial-gradient(circle at 18% 18%, rgba(223, 211, 153, 0.24), rgba(223, 211, 153, 0) 24%),
    linear-gradient(90deg, rgba(13, 43, 34, 0.95) 0%, rgba(13, 43, 34, 0.8) 50%, rgba(13, 43, 34, 0.36) 100%),
    linear-gradient(180deg, rgba(13, 43, 34, 0.2) 0%, rgba(13, 43, 34, 0.76) 100%),
    url("../charity-golfturnier/bilder/charity-golfturnier-teilnehmer-sponsoren.webp") center / cover;
}

.charity-v2-card-grid,
.charity-v2-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.charity-v2-card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.charity-moments {
  width: 100%;
  max-width: none;
  padding: clamp(68px, 8vw, 112px) max(18px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(180deg, rgba(13, 43, 34, 0.94), rgba(35, 57, 78, 0.9)),
    var(--green-950);
  color: #fff;
}

.charity-moments-head {
  width: min(820px, 100%);
}

.charity-moments-head .eyebrow {
  color: var(--lime);
}

.charity-moments-head p:last-child {
  margin-top: 18px;
  color: rgba(255, 248, 238, 0.78);
  font-size: 1.06rem;
  line-height: 1.72;
}

.charity-moments-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(190px, 18vw, 250px);
  gap: 16px;
  margin-top: 36px;
}

.charity-moment-card {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 54px rgba(7, 18, 14, 0.26);
}

.charity-moment-card-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.charity-moment-card-tall {
  grid-row: span 2;
}

.charity-moment-card-video {
  display: flex;
  flex-direction: column;
  grid-column: auto;
  grid-row: span 2;
  align-items: center;
  justify-content: center;
  background: rgba(13, 43, 34, 0.78);
}

.charity-moment-card-wide {
  grid-column: span 2;
}

.charity-moment-card-prize {
  border-color: rgba(215, 220, 65, 0.34);
  box-shadow: 0 28px 64px rgba(7, 18, 14, 0.34);
}

.charity-moment-card-prize img {
  object-position: center 58%;
}

.charity-moment-card-video::before {
  content: "▶";
  position: absolute;
  z-index: 1;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(13, 43, 34, 0.58);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.charity-moment-card.charity-moment-card-video video {
  width: min(72%, 230px);
  height: auto;
  max-height: calc(100% - 112px);
  aspect-ratio: 9 / 16;
  object-fit: contain;
  object-position: center;
  background: #0d2b22;
}

.charity-moment-card.charity-moment-card-video figcaption {
  position: static;
  display: grid;
  align-content: end;
  min-width: 0;
  width: 100%;
  padding: 16px 18px 18px;
  background:
    linear-gradient(180deg, rgba(13, 43, 34, 0.16), rgba(13, 43, 34, 0.72)),
    rgba(13, 43, 34, 0.2);
}

.charity-moment-card-video strong {
  max-width: 260px;
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  line-height: 1.24;
}

.charity-moment-card img,
.charity-moment-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.charity-moment-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 54px 20px 20px;
  background: linear-gradient(180deg, rgba(13, 43, 34, 0), rgba(13, 43, 34, 0.84));
}

.charity-moment-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.charity-moment-card strong {
  display: block;
  max-width: 520px;
  color: #fff;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.24;
}

.charity-v2-table {
  margin-top: 34px;
}

.charity-v2-callout {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid rgba(22, 148, 138, 0.14);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 239, 227, 0.92));
  box-shadow: 0 18px 38px rgba(16, 34, 26, 0.07);
}

.charity-v2-callout h3,
.charity-v2-microcopy h3,
.charity-v2-result strong {
  color: var(--green-950);
}

.charity-v2-callout p + p {
  margin-top: 14px;
}

.charity-v2-microcopy {
  margin-top: 22px;
}

.charity-v2-calculator {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px;
}

.charity-v2-calculator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.charity-v2-calculator .calc-field {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(22, 148, 138, 0.14);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 239, 227, 0.88));
  box-shadow: 0 14px 34px rgba(16, 34, 26, 0.06);
}

.charity-v2-calculator .calc-field span {
  color: var(--green-950);
  font-weight: 800;
}

.charity-v2-calculator .calc-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(35, 57, 78, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font: inherit;
}

.charity-v2-result {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(24, 33, 29, 0.96), rgba(35, 57, 78, 0.92));
  box-shadow: 0 22px 44px rgba(10, 22, 17, 0.18);
}

.charity-v2-result div {
  display: grid;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.charity-v2-result div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.charity-v2-result span {
  color: rgba(255, 248, 238, 0.78);
}

.charity-v2-result strong {
  color: var(--lime);
  font-size: 1.8rem;
}

@media (max-width: 1180px) {
  .charity-v2-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .charity-v2-card-grid,
  .charity-v2-layout,
  .charity-v2-calculator {
    grid-template-columns: 1fr;
  }

  .charity-v2-calculator-grid {
    grid-template-columns: 1fr;
  }

  .charity-moments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(220px, 42vw);
  }

  .charity-moment-card-feature,
  .charity-moment-card-tall,
  .charity-moment-card-video,
  .charity-moment-card-wide {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .charity-moments {
    padding-right: 0;
    padding-left: 12px;
  }

  .charity-moments-head {
    padding-right: 12px;
  }

  .charity-moments-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 0 12px 2px 0;
  }

  .charity-moments-grid::-webkit-scrollbar {
    display: none;
  }

  .charity-moment-card {
    flex: 0 0 min(84vw, 330px);
    min-height: 430px;
    scroll-snap-align: start;
    border-radius: 22px;
  }

  .charity-moment-card-video {
    display: flex;
    flex-direction: column;
    flex-basis: min(84vw, 330px);
    min-height: 0;
  }

  .charity-moment-card.charity-moment-card-video video {
    width: min(78%, 250px);
    height: auto;
    max-height: 390px;
  }

  .charity-moment-card.charity-moment-card-video figcaption {
    padding: 18px;
  }

  .charity-moment-card-wide {
    flex-basis: min(88vw, 360px);
  }

  .charity-moment-card figcaption {
    padding: 60px 18px 18px;
  }

  .charity-v2-card-grid {
    display: flex;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .charity-v2-card-grid::-webkit-scrollbar {
    display: none;
  }

  .charity-v2-card-grid > * {
    flex: 0 0 min(84vw, 320px);
    scroll-snap-align: start;
  }

  .charity-v2-callout,
  .charity-v2-result {
    padding: 20px 18px;
    border-radius: 22px;
  }
}
