/*
 * Wiedererkennung und Programm direkt nach dem Hero.
 * Verwendet ausschließlich die vorhandene UNBOND-Bildwelt und -Typografie.
 */
.hero-program-section {
  position: relative;
  overflow: clip;
  padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 104px);
  border-block: 1px solid rgba(226, 232, 228, .1);
  background: rgba(8, 13, 19, .82);
}

.hero-program-section .container {
  width: min(calc(100% - 40px), 1000px);
}

.hero-program-intro {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.hero-program-intro h2 {
  margin: 0;
  color: #f1f3f0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.55rem, 3.3vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.hero-program-intro .hero-program-accent {
  color: var(--unbond-teal, #159a82);
}

.hero-program-lead {
  margin: 12px auto 0;
  color: rgba(241, 243, 240, .82);
  font-size: clamp(.92rem, 1.5vw, 1.04rem);
  line-height: 1.55;
}

.hero-program-prompt {
  margin: 18px 0 0;
  color: rgba(241, 243, 240, .68);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.45;
}

.hero-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px auto 0;
  padding: 0;
  list-style: none;
}

.hero-quote-card {
  position: relative;
  min-height: 184px;
  padding: 17px 18px 16px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 228, .2);
  border-radius: 7px;
  background-color: #101821;
  background-image: linear-gradient(135deg, rgba(8, 14, 21, .9), rgba(8, 14, 21, .62)), var(--quote-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: none;
  color: #f2f3ef;
  cursor: pointer;
  text-align: left;
  transition: border-color .18s ease, background-color .18s ease;
}

.hero-quote-card::before {
  position: absolute;
  inset: 0;
  border-left: 2px solid rgba(21, 154, 130, .72);
  content: "";
  pointer-events: none;
}

.hero-quote-card:hover {
  border-color: rgba(21, 154, 130, .68);
  background-color: #121d26;
}

.hero-quote-card:focus-visible {
  outline: 3px solid var(--unbond-teal, #159a82);
  outline-offset: 3px;
}

.hero-quote-card-tag,
.hero-quote-card-step {
  position: relative;
  display: block;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-quote-card-tag {
  color: var(--unbond-teal, #159a82);
}

.hero-quote-card-quote {
  display: block;
  position: relative;
  margin: 28px 0 17px;
  color: #f1f3f0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(.94rem, 1.3vw, 1.04rem);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.38;
}

.hero-quote-card-step {
  color: rgba(241, 243, 240, .78);
}

.hero-quote-card-step strong {
  color: var(--unbond-number-gold, #d2a63b);
  font-weight: 700;
}

.hero-program-modules {
  max-width: 940px;
  margin: clamp(52px, 7vw, 84px) auto 0;
  padding-top: clamp(34px, 5vw, 56px);
  border-top: 1px solid rgba(226, 232, 228, .14);
}

.hero-program-modules .program-heading {
  margin: 0 auto;
  text-align: center;
}

.hero-program-modules .program-heading h3 {
  margin: 0;
  color: #f1f3f0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.12;
}

.hero-program-modules .steps-title {
  margin: 24px 0 0;
  color: #f1f3f0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -.02em;
  text-align: center;
}

.hero-program-modules .steps-hint {
  margin: 8px 0 22px;
  color: rgba(241, 243, 240, .68);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.45;
  text-align: center;
}

.hero-program-modules .phase-list {
  margin: 0;
}

.hero-program-modules .phase {
  border-color: rgba(226, 232, 228, .18) !important;
  background: rgba(17, 26, 35, .66) !important;
}

.hero-program-modules .phase-toggle:focus-visible {
  outline: 3px solid var(--unbond-teal, #159a82);
  outline-offset: -3px;
}

.hero-program-modules .phase.is-open {
  border-color: rgba(21, 154, 130, .72) !important;
}

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

@media (max-width: 640px) {
  .hero-program-section {
    padding-block: 52px 64px;
  }

  .hero-program-section .container {
    width: min(calc(100% - 32px), 1000px);
  }

  .hero-program-intro h2 {
    font-size: clamp(1.45rem, 7.1vw, 2rem);
  }

  .hero-quote-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-quote-card {
    min-height: 158px;
  }

  .hero-quote-card-quote {
    margin: 20px 0 14px;
  }

  .hero-program-modules {
    margin-top: 50px;
    padding-top: 34px;
  }
}

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


/* v3: Gelieferte Linienporträts als lesbare Kartenhintergründe, zwei ruhige Gegenläufe. */
.hero-program-intro h2 {
  font-size: clamp(1.72rem, 3.65vw, 3rem);
}

.hero-quote-marquee {
  display: grid;
  gap: 12px;
  margin: 30px auto 0;
  overflow: hidden;
}

.hero-quote-row {
  overflow: hidden;
  width: 100%;
}

.hero-quote-lane {
  display: flex;
  width: max-content;
  animation: hero-quote-travel-left 48s linear infinite;
}

.hero-quote-row--right .hero-quote-lane {
  animation-name: hero-quote-travel-right;
  animation-duration: 54s;
}

.hero-quote-row:hover .hero-quote-lane,
.hero-quote-row:focus-within .hero-quote-lane,
.hero-quote-marquee.is-paused .hero-quote-lane {
  animation-play-state: paused;
}

.hero-quote-set {
  display: grid;
  grid-template-columns: repeat(3, minmax(268px, 312px));
  gap: 12px;
  flex: none;
  margin: 0;
  padding: 0 12px 0 0;
  list-style: none;
}

@keyframes hero-quote-travel-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes hero-quote-travel-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.hero-quote-card {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  background: #0d151e;
}

.hero-quote-card::before {
  z-index: 0;
  border: 0;
  background: var(--quote-image) right 12px center / auto 92% no-repeat;
  opacity: .32;
}

.hero-quote-card::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-left: 2px solid rgba(21, 154, 130, .72);
  background: rgba(7, 12, 18, .62);
  content: "";
  pointer-events: none;
}

.hero-quote-card > * {
  z-index: 1;
}

.hero-quote-card-step {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.hero-quote-card-arrow {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(21, 154, 130, .74);
  border-radius: 4px;
  color: var(--unbond-teal, #159a82);
  font-size: .92rem;
  line-height: 1;
  transition: background-color .18s ease, color .18s ease;
}

.hero-quote-card:hover .hero-quote-card-arrow,
.hero-quote-card:focus-visible .hero-quote-card-arrow {
  background: var(--unbond-teal, #159a82);
  color: #071019;
}

.hero-quote-motion-control,
.hero-program-collapse {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(21, 154, 130, .68);
  border-radius: 4px;
  background: transparent;
  color: rgba(241, 243, 240, .9);
  cursor: pointer;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-quote-motion-control {
  margin: 16px auto 0;
}

.hero-quote-motion-control:hover,
.hero-program-collapse:hover {
  border-color: var(--unbond-teal, #159a82);
  background: rgba(21, 154, 130, .12);
}

.hero-quote-motion-control:focus-visible,
.hero-program-collapse:focus-visible {
  outline: 3px solid var(--unbond-teal, #159a82);
  outline-offset: 3px;
}

.hero-program-modules[hidden] {
  display: none;
}

.hero-program-modules {
  scroll-margin-top: 88px;
}

.hero-program-modules-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.hero-program-modules-header .program-heading {
  margin: 0;
  text-align: left;
}

.hero-program-collapse {
  flex: 0 0 auto;
  padding: 10px 12px;
}

@media (max-width: 760px) {
  .hero-program-intro h2 {
    font-size: clamp(1.58rem, 7.45vw, 2.18rem);
  }

  .hero-quote-marquee {
    gap: 10px;
    overflow: visible;
  }

  .hero-quote-row {
    overflow: visible;
  }

  .hero-quote-lane {
    display: block;
    width: auto;
    animation: none !important;
  }

  .hero-quote-set {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
  }

  .hero-quote-set[aria-hidden="true"] {
    display: none;
  }

  .hero-quote-card {
    min-height: 164px;
  }

  .hero-quote-motion-control {
    display: none;
  }

  .hero-program-modules-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .hero-program-collapse {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-quote-lane {
    animation: none !important;
  }
}
