/* ==========================================================================
   KOBIL — Solution OneAPP4All — Sektion: Hero (Figma 16597:19481)
   Blauer Verlaufs-Hero (1360x1110) mit Kicker, H1, Kerben-CTA,
   Phone-Cluster-Visual (gebakener Figma-Export mit Alpha) und
   zweispaltigem Abschlusstext (H2 + Copy).
   Hintergrund: Figma-Blur stdDeviation 222 → als WebP gebacken.
   ========================================================================== */

.sec-oneapp4all-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  border-radius: var(--radius-sm);
  padding: 120px 0 138px;
}

/* ---- Hintergrund: gebackener Verlauf + Wellen-Overlay ---- */

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

.sec-oneapp4all-hero .oa4a-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sec-oneapp4all-hero .oa4a-hero__wave {
  position: absolute;
  top: -252px;
  left: -286px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2089.7px;
  height: 1292.3px;
}

.sec-oneapp4all-hero .oa4a-hero__wave img {
  flex: none;
  width: 2019.1px;
  height: 1165px;
  max-width: none;
  transform: rotate(176.32deg);
}

/* ---- Intro: Kicker + H1 + Kerben-CTA, zentriert ---- */

.sec-oneapp4all-hero .oa4a-hero__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 813px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.sec-oneapp4all-hero .oa4a-hero__heading {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  color: var(--white);
}

.sec-oneapp4all-hero .oa4a-hero__kicker {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
}

.sec-oneapp4all-hero .oa4a-hero__title {
  font-family: var(--font-sans);
  font-size: 50px;
  font-weight: 700;
  line-height: 62px;
  letter-spacing: 0;
}

/* CTA: weisser Button mit diagonaler Kerbe unten rechts (Figma-Shapes als Maske) */

.sec-oneapp4all-hero .oa4a-hero__cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 4px 20px 4px 16px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  color: var(--navy);
  white-space: nowrap;
}

.sec-oneapp4all-hero .oa4a-hero__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--white);
  -webkit-mask-image: url("../../../assets/solutions/oneapp4all/hero/btn-body.svg"),
    url("../../../assets/solutions/oneapp4all/hero/btn-end.svg");
  -webkit-mask-position: left center, right center;
  -webkit-mask-size: calc(100% - 40px) 100%, 67px 100%;
  -webkit-mask-repeat: no-repeat, no-repeat;
  mask-image: url("../../../assets/solutions/oneapp4all/hero/btn-body.svg"),
    url("../../../assets/solutions/oneapp4all/hero/btn-end.svg");
  mask-position: left center, right center;
  mask-size: calc(100% - 40px) 100%, 67px 100%;
  mask-repeat: no-repeat, no-repeat;
  transition: background-color var(--dur) var(--ease);
}

.sec-oneapp4all-hero .oa4a-hero__cta:hover::before {
  background: var(--navy-30);
}

.sec-oneapp4all-hero .oa4a-hero__cta:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
  border-radius: 4px;
}

.sec-oneapp4all-hero .oa4a-hero__cta:active {
  transform: translateY(1px);
}

.sec-oneapp4all-hero .oa4a-hero__cta-icon {
  transition: transform var(--dur) var(--ease);
}

.sec-oneapp4all-hero .oa4a-hero__cta:hover .oa4a-hero__cta-icon {
  transform: translateX(3px);
}

/* ---- Phone-Cluster-Visual (931x465, 2x-Export mit Alpha) ---- */

.sec-oneapp4all-hero .oa4a-hero__stage {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.sec-oneapp4all-hero .oa4a-hero__visual {
  width: 931px;
  max-width: 100%;
  height: auto;
}

/* ---- Abschlusstext: H2 links, Copy rechts, unten buendig ---- */

.sec-oneapp4all-hero .oa4a-hero__foot {
  display: flex;
  align-items: flex-end;
  gap: 60px;
  margin: 13px 80px 0;
}

.sec-oneapp4all-hero .oa4a-hero__headline {
  flex: none;
  width: 572px;
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  line-height: 50px;
  color: var(--navy);
}

.sec-oneapp4all-hero .oa4a-hero__headline-accent {
  display: block;
  color: var(--blue);
}

.sec-oneapp4all-hero .oa4a-hero__copy {
  flex: none;
  width: 568px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  color: var(--navy-80);
}

.sec-oneapp4all-hero .oa4a-hero__copy strong {
  font-weight: 600;
}

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

@media (max-width: 1024px) {
  .sec-oneapp4all-hero {
    padding: 96px 0 80px;
  }

  .sec-oneapp4all-hero .oa4a-hero__title {
    font-size: 44px;
    line-height: 54px;
  }

  .sec-oneapp4all-hero .oa4a-hero__stage {
    padding: 0 24px;
  }

  .sec-oneapp4all-hero .oa4a-hero__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin: 48px 40px 0;
  }

  .sec-oneapp4all-hero .oa4a-hero__headline,
  .sec-oneapp4all-hero .oa4a-hero__copy {
    width: auto;
    max-width: 640px;
  }
}

@media (max-width: 768px) {
  .sec-oneapp4all-hero {
    padding: 80px 0 64px;
  }

  .sec-oneapp4all-hero .oa4a-hero__intro {
    gap: 36px;
  }

  .sec-oneapp4all-hero .oa4a-hero__heading {
    gap: 16px;
  }

  .sec-oneapp4all-hero .oa4a-hero__kicker {
    font-size: 16px;
    line-height: 22px;
  }

  .sec-oneapp4all-hero .oa4a-hero__title {
    font-size: 36px;
    line-height: 46px;
  }

  .sec-oneapp4all-hero .oa4a-hero__stage {
    padding: 0 16px;
  }

  .sec-oneapp4all-hero .oa4a-hero__foot {
    gap: 20px;
    margin: 40px 24px 0;
  }

  .sec-oneapp4all-hero .oa4a-hero__headline {
    font-size: 32px;
    line-height: 42px;
  }
}

@media (max-width: 480px) {
  .sec-oneapp4all-hero {
    padding: 64px 0 56px;
  }

  .sec-oneapp4all-hero .oa4a-hero__title {
    font-size: 32px;
    line-height: 40px;
  }

  .sec-oneapp4all-hero .oa4a-hero__title-break {
    display: none;
  }

  .sec-oneapp4all-hero .oa4a-hero__foot {
    margin: 32px 20px 0;
  }

  .sec-oneapp4all-hero .oa4a-hero__headline {
    font-size: 28px;
    line-height: 36px;
  }
}
