/* ==========================================================================
   KOBIL — Solution OneSec4All, Sektion: Steps (Figma 16604:20805, 1360x1224)
   Weiße Karte mit gebackenem Glow-Hintergrund: H2 (2. Zeile blau) + Subline,
   STEP-01-Karte zentriert (628px) + Reihe STEP 02 (628px) / STEP 03 (616px).
   Karten: weiß #FCFEFF, Border #CAEEFF, Radius 12px, Phone-Visual rechts
   als gebackener PNG-Ausschnitt (289x328, Export 2x).
   ========================================================================== */

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

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

.sec-onesec4all-steps .os4a-steps__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

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

.sec-onesec4all-steps .os4a-steps__header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 801px;
  margin: 0 0 60px;
}

.sec-onesec4all-steps .os4a-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-onesec4all-steps .os4a-steps__accent {
  color: var(--blue);
}

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

/* ---- Karten-Raster: STEP 01 zentriert, STEP 02 + 03 nebeneinander ---- */

.sec-onesec4all-steps .os4a-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 628fr) minmax(0, 616fr);
  column-gap: 36px;
  row-gap: 24px;
}

.sec-onesec4all-steps .os4a-steps__card {
  position: relative;
  height: 330px;
  background: #fcfeff;
  border: 1px solid #caeeff;
  border-radius: 12px;
  overflow: clip;
}

.sec-onesec4all-steps .os4a-steps__card--1 {
  grid-column: 1 / -1;
  justify-self: center;
  width: 628px;
  max-width: 100%;
}

.sec-onesec4all-steps .os4a-steps__card-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 31px 0 0 31px;
  max-width: calc(100% - 300px);
}

.sec-onesec4all-steps .os4a-steps__card--1 .os4a-steps__card-copy {
  width: 250px;
}

.sec-onesec4all-steps .os4a-steps__card--2 .os4a-steps__card-copy {
  width: 297px;
}

.sec-onesec4all-steps .os4a-steps__card--3 .os4a-steps__card-copy {
  width: 285px;
}

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

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

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

.sec-onesec4all-steps .os4a-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 (289x328), oben rechts in der
   Karte — Schatten, Verläufe und UI-Details sind im Export enthalten */
.sec-onesec4all-steps .os4a-steps__card-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 289px;
  height: 328px;
  pointer-events: none;
  user-select: none;
}

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

/* Zwischenformat: einspaltig, damit Copy und Visual nie kollidieren */
@media (max-width: 1280px) {
  .sec-onesec4all-steps .os4a-steps__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .sec-onesec4all-steps .os4a-steps__card--1 {
    justify-self: stretch;
    width: auto;
  }
}

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

  .sec-onesec4all-steps .os4a-steps__header {
    margin-bottom: 48px;
  }
}

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

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

  .sec-onesec4all-steps .os4a-steps__header {
    gap: 16px;
    margin-bottom: 40px;
  }

  .sec-onesec4all-steps .os4a-steps__list {
    row-gap: 16px;
  }

  /* Karten stapeln: Text oben, Visual unten rechts (Phone bleibt angeschnitten) */
  .sec-onesec4all-steps .os4a-steps__card {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .sec-onesec4all-steps .os4a-steps__card-copy,
  .sec-onesec4all-steps .os4a-steps__card--1 .os4a-steps__card-copy,
  .sec-onesec4all-steps .os4a-steps__card--2 .os4a-steps__card-copy,
  .sec-onesec4all-steps .os4a-steps__card--3 .os4a-steps__card-copy {
    width: auto;
    max-width: none;
    margin: 32px 24px 0;
  }

  .sec-onesec4all-steps .os4a-steps__card-visual {
    position: static;
    display: block;
    margin-left: auto;
    flex-shrink: 0;
    /* gebackener Karten-Eckbogen oben rechts im Export — im gestapelten
       Layout sitzt er mitten in der Karte, daher oben wegschneiden */
    clip-path: inset(14px 0 0 0);
    margin-top: -14px;
  }
}

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

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

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

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

  .sec-onesec4all-steps .os4a-steps__card-copy,
  .sec-onesec4all-steps .os4a-steps__card--1 .os4a-steps__card-copy,
  .sec-onesec4all-steps .os4a-steps__card--2 .os4a-steps__card-copy,
  .sec-onesec4all-steps .os4a-steps__card--3 .os4a-steps__card-copy {
    margin: 24px 16px 0;
  }

  .sec-onesec4all-steps .os4a-steps__card-visual {
    width: min(289px, 100%);
    height: auto;
  }
}
