/* ==========================================================================
   KOBIL — Solution OneAPP4All, Sektion: Steps (Figma 16597:19607)
   Weiße Karte (1360x1226) mit gebackenem Glow-Hintergrund: H2-Titel + Sub,
   2x2-Grid aus STEP-01–04-Karten (weiß, Border #CAEEFF, Radius 12px,
   Phone-Visual rechts als gebackenes PNG 312x329) + zentrierte Tagline.
   ========================================================================== */

.sec-oneapp4all-steps {
  position: relative;
  background: var(--white);
  border-radius: 12px;
  padding: 120px 40px 140px;
  overflow: clip;
}

/* Gebackener Glow (Figma-Vector mit Riesen-Blur, Render-Bounds 1360x1732,
   Frame beginnt bei y=406 innerhalb des Exports — per Pixel-Probe verifiziert) */
.sec-oneapp4all-steps .oa4a-steps__glow {
  position: absolute;
  top: -406px;
  left: 50%;
  transform: translateX(-50%);
  width: 1360px;
  height: 1732px;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.sec-oneapp4all-steps .oa4a-steps__inner {
  position: relative;
  z-index: 1;
}

/* ---- Kopf: H2 + Subline ---- */

.sec-oneapp4all-steps .oa4a-steps__header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 801px;
  margin: 0 0 64px;
}

.sec-oneapp4all-steps .oa4a-steps__heading {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 40px;
  line-height: 50px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--navy);
}

.sec-oneapp4all-steps .oa4a-steps__accent {
  color: var(--blue);
}

.sec-oneapp4all-steps .oa4a-steps__sub {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  color: var(--navy-70);
}

/* ---- 2x2-Karten-Grid ---- */

.sec-oneapp4all-steps .oa4a-steps__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 330px;
  gap: 24px;
}

.sec-oneapp4all-steps .oa4a-steps__card {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid #caeeff;
  border-radius: 12px;
  overflow: clip;
}

.sec-oneapp4all-steps .oa4a-steps__card-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 31px;
  width: 274px;
  max-width: calc(100% - 342px);
}

/* Figma-Boxen: 274/279/284/272px — Card 2 im Browser minimal schmaler
   gesetzt, damit die Zeilenumbrueche exakt dem Figma-Satz folgen.
   max-width laesst 31px links + 284px Copy + 311px Visual zu (Karte 626px). */
.sec-oneapp4all-steps .oa4a-steps__card--2 .oa4a-steps__card-copy {
  width: 271px;
}

.sec-oneapp4all-steps .oa4a-steps__card--3 .oa4a-steps__card-copy {
  width: 284px;
}

.sec-oneapp4all-steps .oa4a-steps__card--4 .oa4a-steps__card-copy {
  width: 272px;
}

.sec-oneapp4all-steps .oa4a-steps__card-step {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 23px;
  font-weight: 700;
  color: var(--blue);
}

.sec-oneapp4all-steps .oa4a-steps__card-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sec-oneapp4all-steps .oa4a-steps__card-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  color: var(--navy);
}

.sec-oneapp4all-steps .oa4a-steps__card-desc {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  color: var(--navy-70);
}

/* Phone-Visual: gebackener PNG-Ausschnitt (312x329), unten rechts in der
   Karte — Schatten und Details sind im Export enthalten */
.sec-oneapp4all-steps .oa4a-steps__card-visual {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 312px;
  height: 329px;
  pointer-events: none;
  user-select: none;
}

/* ---- Tagline ---- */

.sec-oneapp4all-steps .oa4a-steps__tagline {
  margin: 54px 0 0;
  font-family: var(--font-sans);
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  text-align: center;
  color: var(--navy);
}

.sec-oneapp4all-steps .oa4a-steps__tagline span {
  display: block;
}

.sec-oneapp4all-steps .oa4a-steps__tagline-accent {
  color: var(--blue);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .sec-oneapp4all-steps {
    padding: 100px 32px 110px;
  }

  .sec-oneapp4all-steps .oa4a-steps__header {
    margin-bottom: 48px;
  }

  .sec-oneapp4all-steps .oa4a-steps__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .sec-oneapp4all-steps {
    padding: 80px 24px 90px;
  }

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

  .sec-oneapp4all-steps .oa4a-steps__header {
    gap: 16px;
    margin-bottom: 40px;
  }

  .sec-oneapp4all-steps .oa4a-steps__grid {
    grid-auto-rows: auto;
    gap: 16px;
  }

  /* Karten stapeln: Text oben, Visual unten rechts (Phone bleibt angeschnitten) */
  .sec-oneapp4all-steps .oa4a-steps__card {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .sec-oneapp4all-steps .oa4a-steps__card-copy,
  .sec-oneapp4all-steps .oa4a-steps__card--2 .oa4a-steps__card-copy,
  .sec-oneapp4all-steps .oa4a-steps__card--3 .oa4a-steps__card-copy,
  .sec-oneapp4all-steps .oa4a-steps__card--4 .oa4a-steps__card-copy {
    width: auto;
    max-width: none;
    margin: 32px 24px 0;
  }

  .sec-oneapp4all-steps .oa4a-steps__card-visual {
    position: static;
    display: block;
    margin-left: auto;
    flex-shrink: 0;
  }

  .sec-oneapp4all-steps .oa4a-steps__tagline {
    margin-top: 40px;
    font-size: 20px;
    line-height: 28px;
  }
}

@media (max-width: 480px) {
  .sec-oneapp4all-steps {
    padding: 64px 16px 72px;
  }

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

  .sec-oneapp4all-steps .oa4a-steps__card-title {
    font-size: 24px;
    line-height: 31px;
  }

  .sec-oneapp4all-steps .oa4a-steps__card-desc,
  .sec-oneapp4all-steps .oa4a-steps__sub {
    font-size: 16px;
    line-height: 23px;
  }

  .sec-oneapp4all-steps .oa4a-steps__card-copy,
  .sec-oneapp4all-steps .oa4a-steps__card--2 .oa4a-steps__card-copy,
  .sec-oneapp4all-steps .oa4a-steps__card--3 .oa4a-steps__card-copy,
  .sec-oneapp4all-steps .oa4a-steps__card--4 .oa4a-steps__card-copy {
    margin: 24px 16px 0;
  }

  .sec-oneapp4all-steps .oa4a-steps__card-visual {
    width: min(312px, 100%);
    height: auto;
  }
}
