/* ==========================================================================
   KOBIL — OneAPP4All: Pre-Footer CTA
   Foto-Karte (572px, Radius 12) mit Corporate-Foto (exakter Figma-Crop als
   vorgeschnittenes JPG), weißem Verlaufs-Scrim links (617px, in Figma ein um
   -90° gedrehtes Gradient-Rect: weiß 0.9 × Opacity 0.8 → transparent, kein
   Background-Blur) und linksbündiger Copy-Spalte (539px, gap 48px):
   H5-Eyebrow (24/32 Blau, 2 Zeilen), H2 (40/50 Navy) + Kerben-Button.
   ========================================================================== */

.sec-oneapp4all-cta {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: flex;
  align-items: center;
  min-height: 572px;
  padding: 48px 40px;
  border-radius: var(--radius-sm);
}

.sec-oneapp4all-cta__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

/* Weißer Scrim: links → rechts, 0.9 × 0.8 = 0.72 → 0 */
.sec-oneapp4all-cta__scrim {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 617px;
  max-width: 100%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 100%);
}

/* ---- Copy-Spalte: links, vertikal zentriert ---- */

.sec-oneapp4all-cta__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  width: 100%;
  max-width: 539px;
}

.sec-oneapp4all-cta__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sec-oneapp4all-cta__eyebrow {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--blue);
}

.sec-oneapp4all-cta__title {
  font-size: 40px;
  line-height: 50px;
  font-weight: 700;
  color: var(--navy);
}

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

.sec-oneapp4all-cta__btn {
  position: relative;
  isolation: isolate;
  height: 40px;
  padding: 4px 20px 4px 16px;
  gap: 8px;
  font-size: 14px;
  line-height: 18px;
  border-radius: 4px;
  color: var(--white);
}

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

.sec-oneapp4all-cta__btn:hover::before {
  background: #1e4fd6;
}

.sec-oneapp4all-cta__btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

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

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

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

@media (max-width: 1024px) {
  .sec-oneapp4all-cta {
    min-height: 520px;
  }

  .sec-oneapp4all-cta__title {
    font-size: 36px;
    line-height: 46px;
  }
}

@media (max-width: 768px) {
  .sec-oneapp4all-cta {
    min-height: 460px;
    padding: 48px 24px;
  }

  /* Scrim volle Breite für Lesbarkeit auf schmalen Screens */
  .sec-oneapp4all-cta__scrim {
    width: 100%;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.85) 0%,
      rgba(255, 255, 255, 0.35) 100%
    );
  }

  .sec-oneapp4all-cta__content {
    gap: 32px;
  }

  .sec-oneapp4all-cta__title {
    font-size: 32px;
    line-height: 42px;
  }
}

@media (max-width: 480px) {
  .sec-oneapp4all-cta {
    min-height: 440px;
    padding: 40px 20px;
  }

  .sec-oneapp4all-cta__eyebrow {
    font-size: 20px;
    line-height: 28px;
  }

  .sec-oneapp4all-cta__title {
    font-size: 28px;
    line-height: 36px;
  }
}
