/* ==========================================================================
   KOBIL — Products/IDentity — Section: Showcase
   ("From First Login to Final Signature" — Scenarios)
   Weiße Sektionskarte mit 3 Szenario-Karten (416x460, Gradient-Stroke-BG mit
   Eselsohr unten rechts, Visual unten). Figma: 1360x810, Content 1280px.
   ========================================================================== */

.sec-identity-showcase {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 80px 40px;
}

/* ---- Header ---- */

.sec-identity-showcase__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 848px;
  margin-bottom: 48px;
}

.sec-identity-showcase__eyebrow {
  gap: 10px;
  color: var(--navy-70);
  letter-spacing: 0.48px;
}

.sec-identity-showcase__eyebrow::before {
  width: 12px;
  height: 12px;
}

.sec-identity-showcase__title {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  line-height: 50px;
  color: var(--navy);
}

.sec-identity-showcase__accent {
  color: var(--blue);
}

/* ---- Karten-Raster (3 x 416px, Gap 16px) ---- */

.sec-identity-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sec-identity-showcase__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  /* Karten-Hintergrund aus Figma: weiße Karte + blauer Verlauf (25%),
     Gradient-Stroke und gefaltete Ecke unten rechts */
  background: url("/assets/products/identity/showcase/card-bg.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transition: transform var(--dur) var(--ease);
}

.sec-identity-showcase__card:hover {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  .sec-identity-showcase__card:hover {
    transform: none;
  }
}

.sec-identity-showcase__card-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 32px 0;
}

.sec-identity-showcase__card-title {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 700;
  line-height: 42px;
  color: var(--navy);
}

.sec-identity-showcase__card-copy {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  color: var(--navy-70);
}

.sec-identity-showcase__card-visual {
  margin-top: auto;
  padding-top: 4px;
}

.sec-identity-showcase__card-visual img {
  display: block;
  width: 100%;
  height: auto;
}

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

@media (max-width: 1024px) {
  .sec-identity-showcase {
    padding: 64px 32px;
  }

  .sec-identity-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sec-identity-showcase__card {
    min-height: 420px;
  }

  .sec-identity-showcase__card-title {
    font-size: 28px;
    line-height: 36px;
  }

  .sec-identity-showcase__card-visual {
    padding-top: 20px;
  }
}

@media (max-width: 768px) {
  .sec-identity-showcase {
    padding: 56px 24px;
  }

  .sec-identity-showcase__header {
    gap: 20px;
    margin-bottom: 32px;
  }

  .sec-identity-showcase__title {
    font-size: 28px;
    line-height: 36px;
  }

  .sec-identity-showcase__grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .sec-identity-showcase__card {
    width: 100%;
    max-width: 480px;
    min-height: 0;
  }
}

@media (max-width: 480px) {
  .sec-identity-showcase {
    padding: 48px 16px;
  }

  .sec-identity-showcase__card-text {
    padding: 24px 24px 0;
  }

  .sec-identity-showcase__card-title {
    font-size: 24px;
    line-height: 32px;
  }

  .sec-identity-showcase__card-copy {
    font-size: 16px;
    line-height: 23px;
  }
}
