/* ==========================================================================
   KOBIL — Solution OneSec4All, Sektion: Protection (Figma 16604:21247)
   Weiße Karte (1360x772): zentrierte zweizeilige H2 (Akzente blau) über
   fünf 248x392-Feature-Karten (Gap 10). Jede Karte: Kerbe unten rechts
   (SVG-Hintergrund mit Verlaufs-Stroke), Titel 24/32, Body 14/20 und
   gebackenes 248x222-Visual (Keyboard/Phone + Schild) am Kartenfuß.
   Hinter allem ein gebackener Glow (glow.png, exakter Figma-Ausschnitt).
   ========================================================================== */

.sec-onesec4all-protection {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 100px 40px;
  overflow: clip;
}

.sec-onesec4all-protection .o4s-protection__glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.sec-onesec4all-protection .o4s-protection__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

/* ---- Headline ---- */

.sec-onesec4all-protection .o4s-protection__heading {
  margin: 0 0 80px;
  font-family: var(--font-sans);
  font-size: 40px;
  line-height: 50px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--navy);
  text-align: center;
}

.sec-onesec4all-protection .o4s-protection__accent {
  color: var(--blue);
}

/* ---- Karten-Reihe (5 x 248px, Gap 10) ---- */

.sec-onesec4all-protection .o4s-protection__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sec-onesec4all-protection .o4s-protection__card {
  position: relative;
  aspect-ratio: 248 / 392;
  background: url("/assets/solutions/onesec4all/protection/card-bg.svg") 0 0 / 100% 100% no-repeat;
}

.sec-onesec4all-protection .o4s-protection__card:nth-child(4) {
  background-image: url("/assets/solutions/onesec4all/protection/card-bg-encryption.svg");
}

.sec-onesec4all-protection .o4s-protection__card:nth-child(5) {
  background-image: url("/assets/solutions/onesec4all/protection/card-bg-lockdown.svg");
}

.sec-onesec4all-protection .o4s-protection__card-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 16px 0;
}

.sec-onesec4all-protection .o4s-protection__card-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--navy);
}

.sec-onesec4all-protection .o4s-protection__card-body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--navy-70);
}

.sec-onesec4all-protection .o4s-protection__card-visual {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  display: block;
}

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

@media (max-width: 1024px) {
  .sec-onesec4all-protection {
    padding: 80px 32px;
  }

  .sec-onesec4all-protection .o4s-protection__heading {
    margin-bottom: 56px;
  }

  .sec-onesec4all-protection .o4s-protection__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .sec-onesec4all-protection .o4s-protection__card {
    flex: 0 0 248px;
    width: 248px;
  }
}

@media (max-width: 768px) {
  .sec-onesec4all-protection {
    padding: 64px 24px;
  }

  .sec-onesec4all-protection .o4s-protection__heading {
    font-size: 32px;
    line-height: 42px;
    margin-bottom: 48px;
  }
}

@media (max-width: 480px) {
  .sec-onesec4all-protection {
    padding: 56px 16px;
  }

  .sec-onesec4all-protection .o4s-protection__heading {
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 40px;
  }

  .sec-onesec4all-protection .o4s-protection__card {
    flex: 0 1 280px;
  }
}
