/* ==========================================================================
   KOBIL — Ventures — Sektion: Hero (Figma 16462:20019, Region y124–1032)
   Blau-violette Gradient-Karte mit Ventures-Logo, Eyebrow, H1 und
   endlos laufendem SuperApp-Ticker. Der Gradient laeuft unten als Fläche
   aus (#F5F7FC = Seitenhintergrund); die Folgesektion ueberlappt ihn
   per negativem Margin.
   ========================================================================== */

.sec-ventures-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  /* 80 + 54 (Logo) + 80 + 86 (Text) + 21 + 54 (Ticker) + 533 = 908px */
  padding: 80px 0 533px;
  /* Fallback, falls das Hintergrundbild nicht laedt */
  background: linear-gradient(178deg, #2a10fa 0%, #4a3cee 48%, #f5f7fc 92%);
}

/* ---- Gebackener Gradient-Hintergrund (aus Figma, faehrt unten in
       #F5F7FC = Body-Hintergrund aus) ---- */

.sec-ventures-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.sec-ventures-hero__bg picture,
.sec-ventures-hero__bg img {
  width: 100%;
  height: 100%;
}

.sec-ventures-hero__bg img {
  object-fit: fill;
}

/* ---- KOBIL-Ventures-Logo ---- */

.sec-ventures-hero__logo {
  display: block;
  width: 195px;
  height: 54px;
}

/* ---- Eyebrow + H1 ---- */

.sec-ventures-hero__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 80px;
  padding: 0 24px;
  text-align: center;
  color: var(--white);
}

.sec-ventures-hero__eyebrow {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0;
}

.sec-ventures-hero__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  line-height: 50px;
  letter-spacing: 0;
}

/* ---- SuperApp-Ticker (endlose CSS-Marquee) ---- */

.sec-ventures-hero__ticker {
  width: 100%;
  height: 54px;
  margin-top: 21px;
  overflow: hidden;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    #000 30%,
    #000 70%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 30%, #000 70%, rgba(0, 0, 0, 0) 100%);
}

.sec-ventures-hero__ticker-track {
  display: flex;
  width: max-content;
  animation: ventures-hero-marquee 38s linear infinite;
  will-change: transform;
}

.sec-ventures-hero__ticker-list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sec-ventures-hero__ticker-list li {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.8);
}

/* Punkt-Separator: 24px vor, 30px nach dem Punkt (wie Figma) */
.sec-ventures-hero__ticker-list li::after {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 4px;
  margin: 0 30px 0 24px;
  border-radius: 50%;
  background: var(--white);
}

@keyframes ventures-hero-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sec-ventures-hero__ticker-track {
    animation: none;
  }
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  .sec-ventures-hero {
    /* 48 + 42 (Logo) + 40 + Text + 40 + 54 (Ticker) + 325 (M-Ventures) */
    padding: 48px 0 325px;
  }

  .sec-ventures-hero__logo {
    width: 151px;
    height: 42px;
  }

  .sec-ventures-hero__text {
    margin-top: 40px;
    padding: 0 16px;
  }

  .sec-ventures-hero__eyebrow {
    font-size: 14px;
    line-height: 20px;
  }

  .sec-ventures-hero__title {
    font-size: 32px;
    line-height: 40px;
  }

  .sec-ventures-hero__ticker {
    margin-top: 40px;
    -webkit-mask-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0) 0%,
      #000 18%,
      #000 82%,
      rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 18%, #000 82%, rgba(0, 0, 0, 0) 100%);
  }
}
