/* Global overflow fixes applied on html/body later */
/* Expand Hero Section */
.expand-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: white; /* creates the surrounding dark frame initially */
}

.expand-hero__frame {
  position: relative;
  /* initial: smaller inset rounded container like screenshot */
  width: calc(100vw - 24vw);
  height: calc(100vh - 24vh);
  margin: 6vh 6vw; /* stronger inset around the frame */
  overflow: hidden;
  background: white; /* fallback in case image not loaded */
}

.expand-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform-origin: center;
  /* start with no zoom; we animate only the frame on scroll */
  transform: none;
}

.expand-hero__title {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "HDI W05 Bold", system-ui, -apple-system, sans-serif;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  font-size: clamp(3rem, 12vw, 9rem);
  mix-blend-mode: normal;
  padding: 0 4vw;
  text-align: center;
}

@media (max-width: 512px) {
  .expand-hero__title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .expand-hero__frame {
    width: calc(100vw - 28vw);
    height: calc(100vh - 32vh);
    margin: 16vh 14vw;
  }
}
/* HDIpro font family setup: normal + italic across weights */
@font-face {
  font-family: "HDIpro";
  src: url("../fonts/HDIW05-Book.woff2") format("woff2"),
    url("../fonts/HDIW05-Book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HDIpro";
  src: url("../fonts/HDIW05-BookItalic.woff2") format("woff2"),
    url("../fonts/HDIW05-BookItalic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "HDIpro";
  src: url("../fonts/HDIW05-Medium.woff2") format("woff2"),
    url("../fonts/HDIW05-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HDIpro";
  src: url("../fonts/HDIW05-MediumItalic.woff2") format("woff2"),
    url("../fonts/HDIW05-MediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "HDIpro";
  src: url("../fonts/HDIW05-Bold.woff2") format("woff2"),
    url("../fonts/HDIW05-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HDIpro";
  src: url("../fonts/HDIW05-CndMedium.woff2") format("woff2"),
    url("../fonts/HDIW05-CndMedium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-stretch: condensed;
  font-display: swap;
}
@font-face {
  font-family: "HDIpro";
  src: url("../fonts/HDIW05-CndBold.woff2") format("woff2"),
    url("../fonts/HDIW05-CndBold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-stretch: condensed;
  font-display: swap;
}
@font-face {
  font-family: "HDIpro";
  src: url("../fonts/HDIW05-CndBlack.woff2") format("woff2"),
    url("../fonts/HDIW05-CndBlack.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-stretch: condensed;
  font-display: swap;
}
*,
*::after,
*::before {
  box-sizing: border-box;
}

html,
body {
  /* HDIpro font family setup: normal + italic across weights */
  /* Book (400) */
  @font-face {
    font-family: "HDIpro";
    src: url("../fonts/HDIW05-Book.woff2") format("woff2"),
      url("../fonts/HDIW05-Book.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  /* Book Italic (400 italic) */
  @font-face {
    font-family: "HDIpro";
    src: url("../fonts/HDIW05-BookItalic.woff2") format("woff2"),
      url("../fonts/HDIW05-BookItalic.woff") format("woff");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
  }
  /* Medium (500) */
  @font-face {
    font-family: "HDIpro";
    src: url("../fonts/HDIW05-Medium.woff2") format("woff2"),
      url("../fonts/HDIW05-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }
  /* Medium Italic (500 italic) */
  @font-face {
    font-family: "HDIpro";
    src: url("../fonts/HDIW05-MediumItalic.woff2") format("woff2"),
      url("../fonts/HDIW05-MediumItalic.woff") format("woff");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
  }
  /* Bold (700) */
  @font-face {
    font-family: "HDIpro";
    src: url("../fonts/HDIW05-Bold.woff2") format("woff2"),
      url("../fonts/HDIW05-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
  /* Condensed Medium (500 condensed) */
  @font-face {
    font-family: "HDIpro";
    src: url("../fonts/HDIW05-CndMedium.woff2") format("woff2"),
      url("../fonts/HDIW05-CndMedium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-stretch: condensed;
    font-display: swap;
  }
  /* Condensed Bold (700 condensed) */
  @font-face {
    font-family: "HDIpro";
    src: url("../fonts/HDIW05-CndBold.woff2") format("woff2"),
      url("../fonts/HDIW05-CndBold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-stretch: condensed;
    font-display: swap;
  }
  /* Condensed Black (900 condensed) */
  @font-face {
    font-family: "HDIpro";
    src: url("../fonts/HDIW05-CndBlack.woff2") format("woff2"),
      url("../fonts/HDIW05-CndBlack.woff") format("woff");
    font-weight: 900;
    font-style: normal;
    font-stretch: condensed;
    font-display: swap;
  }
  .expand-links {
    display: grid;
    grid-template-rows: 100vh 100vh 100vh;
  }

  .expand-link {
    position: relative;
    display: grid;
    place-items: center;
    height: 100vh;
    text-decoration: none;
    color: black; /* inverted scheme: light text on dark or vice versa */
    background: white; /* base white background */
    overflow: hidden;
  }

  .expand-link__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform-origin: center;
    margin: 3vh 3vw; /* create black frame around */
    width: calc(100% - 6vw);
    height: calc(100% - 6vh);
    transform: scale(0.85);
  }

  .expand-link__title {
    position: relative;
    z-index: 2;
    font-family: AlphaLyrae, system-ui, -apple-system, sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 12vw, 14rem);
    letter-spacing: 0.02em;
    color: black; /* inverted: black text over white container */
    top: var(--inset-v);
    bottom: var(--inset-v);
    left: var(--inset-h);
    right: var(--inset-h);
  }

  @media (max-width: 900px) {
    .expand-link__bg {
      margin: 2vh 4vw;
      width: calc(100% - 8vw);
      height: calc(100% - 4vh);
      transform: scale(0.9);
    }
    .expand-link__title {
      font-size: clamp(2.4rem, 14vw, 8rem);
    }
  }
  overflow-x: hidden;
  width: 100vw;
}

:root {
  font-size: 14px;
  --color-text: #111;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f6f6;
  --color-link: #0b0b0b;
  --color-link-hover: #65a518;
  --color-title: #111;
}

body {
  margin: 0;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-family: "HDIpro", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: var(--color-link);
  outline: none;
  cursor: pointer;
}

a:hover {
  color: var(--color-link-hover);
  outline: none;
}

/* Better focus styles from https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible */
a:focus {
  /* Provide a fallback style for browsers
	 that don't support :focus-visible */
  outline: none;
  background: lightgrey;
}

a:focus:not(:focus-visible) {
  /* Remove the focus indicator on mouse-focus for browsers
	 that do support :focus-visible */
  background: transparent;
}

a:focus-visible {
  /* Draw a very noticeable focus style for
	 keyboard-focus on browsers that do support
	 :focus-visible */
  outline: 2px solid red;
  background: transparent;
}

.unbutton {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
}

.unbutton:focus {
  outline: none;
}

.content__title {
  font-size: 2rem;
  font-weight: normal;
}

.content-wrap {
  display: grid;
  gap: 40vh;
}

.content {
  flex: none;
  display: grid;
  place-items: center;
  line-height: 1.2;
  grid-template-areas: "title" "layout" "...";
  grid-template-rows: 3.5vw auto 3.5vw;
  gap: 1rem;
}

.content--intro {
  grid-area: intro;
}

.content__img-wrap {
  grid-area: layout;
}

.content__img {
  --img-width: 80vw;
  --img-height: 40vh;
  --img-ar: auto;
  --img-inner-margin-x: 0px;
  --img-inner-margin-y: 0px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  width: var(--img-width);
  height: var(--img-height);
  aspect-ratio: var(--img-ar);
}

.content__img--2 {
  --img-width: 100vw;
  --img-height: 100vh;
}

.content__img-inner {
  grid-area: 1 / -1;
  width: calc(100% + var(--img-inner-margin-x) * 2);
  height: calc(100% + var(--img-inner-margin-y) * 2);
  background-size: cover;
  background-position: 50% 50%;
}
.content__img-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content__img-inner {
  position: relative;
}
.video-mobile {
  display: none;
}
@media (max-width: 900px) {
  .video-desktop {
    display: none;
  }
  .video-mobile {
    display: block;
  }
}

.content__img-inner--hidden {
  opacity: 0;
}

.content__text {
  font-family: "HDIpro", Arial, sans-serif;
  position: relative;
  z-index: 100;
  grid-area: title;
  font-size: 52px;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-weight: bold;
  font-family: "HDIpro", Arial, sans-serif;
	pointer-events: none;
}

@media screen and (max-width: 768px) {
  .content__text {
    font-size: 30px;
  }
}

.content__text span span {
  display: inline-block;
}

.content__text span span.whitespace {
  white-space: pre;
}

.content__text span:nth-child(3n) {
  font-feature-settings: "ss01" 1;
}

.content__text--large {
  font-size: clamp(2rem, 7vw, 6rem);
}

.content__text--center {
  text-align: center;
  align-self: stretch;
  justify-content: space-between;
  grid-row: 1 / span 3;
}

.content__text--left {
  justify-self: start;
  padding: 3rem;
  grid-area: layout;
  align-self: center;
}

.content__text-tiny {
  text-transform: none;
  font-family: "Tenon", sans-serif;
  font-size: 1.3rem;
  font-weight: 300;
  max-width: min(500px, 90%);
  line-height: 1.2;
  margin-top: 0px;
  color: #65a518;
  background-color: white;
  padding: 2rem;
  font-weight: bold;
  margin-top: -1rem;
}

@media screen and (min-width: 53em) {
  .frame {
    grid-template-columns: 1fr auto auto auto;
    grid-template-areas: "title back prev sponsor";
    justify-items: start;
    grid-gap: 2rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }

  .frame__prev {
    justify-self: end;
  }

  .title {
    font-size: clamp(2rem, 15vw, 9rem);
  }

  .content__img--4 {
    --img-width: 30vw;
  }

  .content__img--5 {
    --img-width: 40vw;
  }

  .card-wrap {
    grid-template-columns: repeat(3, 250px);
  }

  body #cdawrap {
    justify-self: end;
  }
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
}

.mobile-nav__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.mobile-nav__logo-link {
  font-weight: bold;
  font-size: 1.25rem;
  color: #333;
  text-decoration: none;
}
.mobile-nav__logo-stack {
  position: relative;
  display: inline-block;
  height: 32px; /* header logo height */
  width: auto;
}
.mobile-nav__logo-stack img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto; /* maintain aspect ratio */
  display: block;
}
#logo-neg {
  opacity: 1;
  filter: brightness(0);
}
#logo-pos {
  opacity: 0;
}

.mobile-nav__toggle {
  display: flex;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0rem;
}

.mobile-nav__toggle-line {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 2px 0;
  transition: 0.3s;
}

.mobile-nav__menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav__menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav__list {
  list-style: none;
  padding: 1rem 0;
  margin: 0;
}

.mobile-nav__item {
  text-align: center;
  padding: 0.5rem 0;
}

.mobile-nav__link {
	color: #558817;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 1rem;
  display: block;
  transition: background 0.3s;
}

.mobile-nav__link:hover {
  background: rgba(0, 0, 0, 0.1);
}

.mobile-nav__toggle.active .mobile-nav__toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-nav__toggle.active .mobile-nav__toggle-line:nth-child(2) {
  opacity: 0;
}

.mobile-nav__toggle.active .mobile-nav__toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Horizontal Scroll Cards */
.skewed-slider-wrap {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 8vh 0 14vh;
  overflow: hidden; /* hide horizontal overflow while pinned */
  perspective: 900px;
  perspective-origin: 50% 50%;
  background: radial-gradient(#c1dba3, transparent);
}

.skewed-slider {
  display: flex;
  gap: 4vw;
  padding: 0 8vw;
  align-items: stretch;
  transform-style: preserve-3d;
  will-change: transform;
}

.skewed-card {
  position: relative;
  flex: 0 0 25vw; /* card width */
  height: 60vh;
  overflow: hidden;
  background: #111;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
}

.skewed-card__link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: left;
  padding: 2rem;
}

.skewed-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.85) contrast(1.1);
  transition: filter 0.5s ease;
  transform: translateZ(-20px) scale(1.08); /* give depth */
}

.skewed-card:hover .skewed-card__bg {
  filter: brightness(1) contrast(1.2);
}

.skewed-card:hover .skewed-card__title {
  color: white;
}

.skewed-card__title {
  position: relative;
  z-index: 2;
  margin: 0;
  line-height: 1;
  pointer-events: none;
  transform: translateZ(30px);
  background-color: #65a518;
  color: white;
  padding: 1rem;
  margin-bottom: -0.5rem;
  margin-left: 1rem;
}

.skewed-card__text {
  text-transform: none;
  font-family: "Tenon", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  max-width: min(500px, 90%);
  line-height: 1.2;
  margin-top: 0px;
  color: #65a518;
  background-color: white;
  padding: 1rem;
  font-weight: bold;
  margin-bottom: 0px;
  z-index: 1;
}

@media (max-width: 900px) {
  .skewed-slider {
    gap: 6vw;
    padding: 0 6vw;
  }
  .skewed-card {
    flex: 0 0 70vw;
    height: 50vh;
  }
}

.headline {
  color: white;
  position: absolute;
  display: block;
  left: calc(50% - 40vw);
  font-size: 52px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .headline {
    font-size: 30px;
  }
}

/* =============================
   Simple Three-Step Progress
   ============================= */
.progress3 {
  color: var(--color-text);
  padding: 10vh 1rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.progress3__grid {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 48px 1fr;
  gap: 4vw;
  align-items: start;
}

/* Left: Intro (sticky on desktop) */
.progress3__intro {
  /* ScrollTrigger will pin this; remove native sticky */
  align-self: start;
}

.progress3__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  color: var(--color-title);
}

.progress3__desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
}

/* Middle: Progress bar with dots (sticky on desktop) */
.progress3__barcol {
  /* ScrollTrigger will pin this */
  position: relative;
}

.progress3__bar {
  position: relative;
  width: 3px;
  height: 60vh;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

.progress3__fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: #65a518;
  border-radius: 2px;
}

.progress3__dots {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
}

.progress3__dots li {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid #65a518;
  transition: background 0.2s ease, transform 0.2s ease;
}

.progress3__dots li:nth-child(1) {
  top: 0%;
}
.progress3__dots li:nth-child(2) {
  top: 50%;
}
.progress3__dots li:nth-child(3) {
  top: 100%;
}

.progress3__dots li.is-active {
  background: #65a518;
  transform: translate(-50%, -50%) scale(1.05);
}

/* Right: Steps */
.progress3__steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.progress3__card {
  position: relative;
  min-height: 52vh;
  overflow: hidden;
  background-size: cover;
  background-position: right bottom;
}

@media (min-width: 768px) and (max-width:1024px) {
  .progress3__card {
    min-height: 33vh;
  }
}

.progress3__icon {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: auto;
  z-index: 2;
  filter: brightness(0) invert(1);
}

.progress3__content {
  position: absolute;
  left: 2rem;
  right: 2rem;
  top: 2rem;
  z-index: 2;
  color: black;
}

.progress3__stitle {
  margin: 0 0 0.35rem;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.1;
  color: #65a518;
}

.progress3__stext {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  max-width: 50%;
}

@media screen and (min-width: 768px) {
  .progress3__stext {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 425px) {
  .progress3__stext {
    max-width: calc(100% - 32px);
  }
}

/* Mobile layout */
@media (max-width: 900px) {
  .progress3__grid {
    grid-template-columns: 24px 1fr;
    gap: 2rem;
  }
  .progress3__intro {
    grid-column: 1 / -1;
  }
  .progress3__barcol {
    grid-column: 1 / 2;
  }
  .progress3__steps {
    grid-column: 2 / -1;
    gap: 3rem;
  }
  .progress3__bar {
    height: 50vh;
  }
}

.hero__content {
  padding: 1rem;
  margin: auto auto 30px auto;
  width: 100%;
  max-width: 1200px;
}

/* =============================
   Success Stories Grid
   ============================= */
.stories {
  padding: 8vh 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 1rem;
}
/* Explicit positional classes mapping to 3 columns x 10 rows layout */
.story--stat {
  grid-column: 1;
  grid-row: 1 / 3;
}
.story--image1 {
  grid-column: 1;
  grid-row: 3;
}
.story--image2 {
  grid-column: 2;
  grid-row: 1;
}
.story--image3 {
  grid-column: 3;
  grid-row: 2;
}
.story--progress {
  grid-column: 2;
  grid-row: 2 / 4;
}
.story--team {
  grid-column: 3;
  grid-row: 3 / 4;
}
.story--quote {
  grid-column: 3;
  grid-row: 1 / 2;
}

.story {
  background: #eaf8f0;
  padding: 1.6rem;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.story--media {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.story__media {
  overflow: hidden;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  display: flex;
}

.story__tease {
  margin: auto;
  display: block;
  max-width: fit-content;
  /* margin-top: auto; */
  margin-bottom: 2rem;
  padding: 1rem;
  background: #65a519;
  color: white;
  font-weight: bold;
}

.story--accent {
  background: #c1dba3;
}
.story--accent.dark {
  background: #558817;
  color: #fff;
}

.story--accent.mid {
  background: #65a518;
  color: #fff;
}

.story__badge {
  align-self: start;
  font-weight: 700;
  background: radial-gradient(closest-side, #0f7a52 65%, transparent 66%) 50%
    50%/48px 48px no-repeat;
  color: #fff;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}

.story__chip {
  display: inline-block;
  padding: 6px 10px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.8);
  color: #0f7a52;
}

.story__title {
  margin: 0.2rem 0 0.4rem;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}
.story__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}
.story__quote {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.6;
}

.story__link {
  margin-top: auto;
  font-weight: 600;
  color: currentColor;
  text-decoration: underline;
}

.story__bars {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  display: grid;
  gap: 0.8rem;
}
.story__bars li span {
  display: block;
  margin-bottom: 0.35rem;
}
.bar {
  position: relative;
  height: 10px;
  background: rgba(0, 0, 0, 0.12);
  overflow: hidden;
}
.fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%; /* animated via JS */
  background: #558817;
}

.story__avatars {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem 0;
}
.story__avatars li {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.35);
}

/* Radial progress (SVG) */
.story__radial {
  position: relative;
  width: 64px;
  height: 64px;
}
.story__radial-svg {
  width: 64px;
  height: 64px;
  transform: rotate(-90deg);
}
.story__radial-svg .track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 8;
}
.story__radial-svg .meter {
  fill: none;
  stroke: white;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 163.3628;
  stroke-dashoffset: 163.3628;
}
.story__radial-text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Marquee container to clip overflow */
.story__marquee {
  position: relative;
  overflow: hidden;
  margin-bottom: 0.8rem;
  height: 64px; /* lock to avatar size so internal clones don't change grid height */
  display: block; /* prevent flex from stretching children vertically */
}
.story--team .story__avatars {
  position: absolute; /* take out of normal flow so clones don't affect layout */
  top: 0;
  left: 0;
  width: max-content;
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  white-space: nowrap;
}
/* clone is positioned by JS; no extra styles needed */

@media (max-width: 1000px) {
  /* Collapse to natural flow; allow big media to span both */
  .stories__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .stories__grid > .story {
    grid-column: auto;
    grid-row: auto;
  }
  .story--c2r5-10 {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .stories__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .stories__grid > .story {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

@media (max-width: 1000px) {
  .stories__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  /* Collapse fixed layout to flow; allow wide second column card to span both */
  .stories__grid > .story {
    grid-column: auto;
    grid-row: auto;
  }
  .story--c2r5-10 {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .stories__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  /* All revert to normal single flow */
  .stories__grid > .story {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

.hls {
  padding: 1rem;
  padding-top: 5rem;
}

.hls-headline {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  font-weight: bold;
  text-align: center;
}

.hls-subhead {
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
  text-align: center;
  max-width: 600px;
  margin: 0.5rem auto 2rem auto;
}

/* =============================
   Video Gallery
   ============================= */
.video-gallery {
  padding: 1rem 1rem 8vh 1rem;
  max-width: 1200px;
  margin: auto;
}
.video-gallery__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.video-card {
  position: relative;
  overflow: hidden;
  background: #f6f6f6;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.2);
}
.video-card__thumb {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease, filter 0.3s ease;
}
.video-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(
    closest-side,
    rgba(0, 0, 0, 0.35),
    transparent 70%
  );
  border: 0;
  cursor: pointer;
}
.video-card__icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #65a518; /* grayscale: white circle */
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}
.video-card__icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: url("/img/HDI-Play-Button-Arrow.png") no-repeat center;
}
.video-card:hover .video-card__thumb {
  transform: scale(1.03);
  filter: brightness(1.05) contrast(1.05);
}

.video-card:hover .video-card__icon {
  background: #558817;
}
/* titles removed per request */

/* Lightbox modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.lightbox.is-open {
  display: flex;
}
.lightbox__inner {
  position: relative;
  width: min(92vw, 1080px);
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 48px -12px rgba(0, 0, 0, 0.6);
}
.lightbox__video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 82vh;
}
.lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff; /* grayscale */
  color: #111;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-weight: 700;
  z-index: 100;
  pointer-events: all;
}
.lightbox__close:hover {
  filter: brightness(1.1);
}

@media (max-width: 800px) {
  .video-gallery__grid {
    grid-template-columns: 1fr;
  }
}

.faq {
  padding: 8vh 1rem;
  margin: 0 auto;
  max-width: 1200px;
}
.faq__grid {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 4vw;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.faq__intro {
  align-self: start;
}
.faq__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  color: var(--color-title);
}
.faq__desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 900px) {
  .faq__list {
    grid-column: 1 / -1;
  }
}

/* =============================
   Footer
   ============================= */
.site-footer {
  padding: 2rem 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--color-text);
}
.site-footer__inner {
  display: flex;
  align-items: center; /* left aligned */
  gap: 2rem;
}
.site-footer__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.site-footer__icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  color: #111;
  opacity: 0.9;
}
.site-footer__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.site-footer__icon:hover {
  opacity: 1;
}
.site-footer__link {
  color: var(--color-link);
  text-decoration: none;
  font-size: 0.95rem;
}
.site-footer__link:hover {
  color: var(--color-link-hover);
}
.site-footer__sep {
  opacity: 0.4;
  padding: 0 0.25rem;
}

.faq__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.6rem 0;
}
.faq__q {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 1rem 0;
  text-align: left;
}
.faq__q:hover .faq__qtext {
  color: #111;
}
.faq__qtext {
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  color: black;
}
.faq__plus {
  width: 32px;
  height: 32px;
  border: 2px solid #111;
  position: relative;
  display: inline-block;
  transition: transform 0.3s ease;
}
.faq__plus::before,
.faq__plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: #111;
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq__plus::before {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq__plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq__q[aria-expanded="true"] .faq__plus {
  transform: rotate(180deg);
}
.faq__q[aria-expanded="true"] .faq__plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq__a {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  padding: 0 0 1rem 0;
}

@media (max-width: 900px) {
  .faq__grid {
    grid-template-columns: 24px 1fr;
    gap: 2rem;
  }
  .faq__intro {
    grid-column: 1 / -1;
  }
}

.content__img--2 {
  position: relative;
  cursor: pointer;
}

.img__tease {
  content: "Jetzt ganzen Spot ansehen";
  position: absolute;
  background: white;
  color: black;
  bottom: 0px;
  right: 0px;
  font-size: 32px;
  font-weight: bold;
  padding: 1rem 2rem;
}

.hero__title {
  color: white;
  background-color: #65a518;
  padding: 2rem;
  margin-left: 2rem;
  margin-bottom: 0px;
  width: fit-content;
  z-index: 10;
}

.slider__title {
  margin-bottom: 4rem;
}

.bg-gray {
  background-color: #f9f9fa;
}

.story__link {
  text-decoration: none;
}

.story__link:hover {
  text-decoration: underline;
  color: white;
}
