/* ==========================================================================
   KOBIL — Industries/Financial Services — Section: Key Use Cases
   Figma: jhD6LDVa0CfkUz8tixyG7B / 16516:21433 (1280x2814)
   Liegt auf der weißen page-surface (1360px): Inhalt 1280px zentriert
   (40px Inset). Titelblock + 2er-Karten-Grid (620px, Gap 40) + breite
   Abschlusskarte "Omni-Channel Ecosystem" (1280px, spannt beide Spalten).
   Karten: weiße Fläche #FCFEFF, 1px hellblauer Verlaufs-Rahmen, Radius 12.
   ========================================================================== */

.sec-financial-services-key-use-cases {
  width: 100%;
  padding: 80px 40px;
}

.sec-financial-services-key-use-cases__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* ---- Head: Eyebrow + H2 ---- */

.sec-financial-services-key-use-cases__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* Figma-Tagline: 12px Dot, 10px Gap, System/%70, ls 0.48px, lh 18 */
.sec-financial-services-key-use-cases__eyebrow {
  gap: 10px;
  line-height: 18px;
  letter-spacing: 0.48px;
  color: var(--navy-70);
}

.sec-financial-services-key-use-cases__eyebrow::before {
  width: 12px;
  height: 12px;
}

.sec-financial-services-key-use-cases__title {
  max-width: 503px;
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  line-height: 50px;
  color: var(--navy);
}

.sec-financial-services-key-use-cases__title-accent {
  color: var(--blue);
}

/* ---- Grid: 2 Spalten à 620px, Gap 40 ---- */

.sec-financial-services-key-use-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

/* ==========================================================================
   Karte (Standard 620px)
   ========================================================================== */

.kuc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 606px;
  padding: 40px;
  border: 1px solid transparent;
  border-radius: 12px;
  background:
    linear-gradient(#fcfeff, #fcfeff) padding-box,
    linear-gradient(128deg, #caeeff 0%, #9eb7f7 53%, #caeeff 100%) border-box;
  overflow: clip;
}

.kuc-card--tall {
  min-height: 672px;
}

/* ---- Kopfbereich: Label + Titelgruppe (links), Phone (absolut rechts) ---- */
/* Höhe 248 => Bullet-Liste beginnt exakt 288px unter der Kartenkante */

/* Kein position:relative — das Phone positioniert sich relativ zur Karte */
.kuc-card__top {
  display: flex;
  flex-direction: column;
  height: 248px;
}

.kuc-card__label {
  max-width: 150px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: var(--blue);
}

/* Karte 1: Lead läuft in Figma auf 348px (Gedankenstrich bleibt in Zeile 1) */
.sec-financial-services-key-use-cases__grid > .kuc-card:nth-of-type(1) .kuc-card__lead {
  width: 348px;
  max-width: none;
}

/* Label-Umbruchbreiten exakt aus Figma (jeweils 2 Zeilen) */
.sec-financial-services-key-use-cases__grid > .kuc-card:nth-of-type(1) .kuc-card__label { max-width: 167px; }
.sec-financial-services-key-use-cases__grid > .kuc-card:nth-of-type(2) .kuc-card__label { max-width: 187px; }
.sec-financial-services-key-use-cases__grid > .kuc-card:nth-of-type(3) .kuc-card__label { max-width: 134px; }
.sec-financial-services-key-use-cases__grid > .kuc-card:nth-of-type(4) .kuc-card__label { max-width: 172px; }
.sec-financial-services-key-use-cases__grid > .kuc-card:nth-of-type(5) .kuc-card__label { max-width: 134px; }
.sec-financial-services-key-use-cases__grid > .kuc-card:nth-of-type(6) .kuc-card__label { max-width: 134px; }

.kuc-card__titles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 332px;
  margin-top: auto;
  margin-bottom: 24px;
}

.kuc-card__title {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  color: var(--navy);
}

.kuc-card__lead {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  color: var(--navy-80);
}

/* Positioniert relativ zur Karte (Figma-Box 212x224 @ left 388 / top 40).
   Die Assets exportieren mit unterschiedlichem Überhang (Schild-Glow,
   Badges links) — right-Werte richten den Phone-Body am Figma-Kasten aus. */
.kuc-card__phone {
  position: absolute;
  top: 40px;
  right: 14px;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.sec-financial-services-key-use-cases__grid > .kuc-card:nth-of-type(1) .kuc-card__phone { right: 0; }
.sec-financial-services-key-use-cases__grid > .kuc-card:nth-of-type(2) .kuc-card__phone { right: 20px; }
.sec-financial-services-key-use-cases__grid > .kuc-card:nth-of-type(4) .kuc-card__phone { right: 20px; }
.sec-financial-services-key-use-cases__grid > .kuc-card:nth-of-type(5) .kuc-card__phone { right: 20px; }
.sec-financial-services-key-use-cases__grid > .kuc-card:nth-of-type(6) .kuc-card__phone { right: 13px; }

/* ---- Bullet-Liste ---- */

.kuc-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
}

.kuc-card__list--rich {
  max-width: 540px;
}

/* Figma: Icon-Spalte 26px hoch => einzeilige Punkte haben Pitch 42 (26+16) */
.kuc-card__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 26px;
}

.kuc-card__check {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.kuc-card__item-text {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  color: var(--navy-80);
}

/* Karte 1: zweizeilige Punkte (fetter Titel + Beschreibung) */
.kuc-card__list--rich .kuc-card__item-text {
  display: flex;
  flex-direction: column;
}

.kuc-card__item-title {
  font-weight: 600;
  color: var(--navy-80);
}

/* ---- Result-Fußzeile (an Kartenunterkante) ---- */

.kuc-card__result {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 520px;
}

.kuc-card__divider {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--navy-40);
}

.kuc-card__result-text {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  color: var(--navy-80);
}

.kuc-card__result-text strong {
  font-weight: 600;
  color: var(--blue);
}

/* ==========================================================================
   Karte 7 — Omni-Channel Ecosystem (breit, spannt beide Spalten)
   ========================================================================== */

.kuc-card--wide {
  grid-column: 1 / -1;
  display: block;
  min-height: 588px;
}

.kuc-omni__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 635px;
}

.kuc-omni__intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kuc-omni__intro .kuc-card__label {
  max-width: none;
  white-space: nowrap;
}

.kuc-omni__subhead {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 23px;
  color: var(--navy);
}

.kuc-omni__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.kuc-omni__block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.kuc-omni__para {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  color: var(--navy);
}

.kuc-omni__list {
  gap: 12px;
  max-width: 100%;
}

.kuc-omni__list .kuc-card__item {
  gap: 12px;
}

.kuc-omni__list .kuc-card__check {
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.kuc-omni__list .kuc-card__item-text {
  color: var(--navy-70);
}

.kuc-omni__divider {
  max-width: 635px;
}

.kuc-omni__result {
  max-width: 635px;
  color: var(--navy);
}

.kuc-omni__visual {
  position: absolute;
  top: 40px;
  right: 26px;
  height: auto;
  pointer-events: none;
  user-select: none;
}

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

@media (max-width: 1024px) {
  .sec-financial-services-key-use-cases {
    padding: 64px 32px;
  }

  .sec-financial-services-key-use-cases__inner {
    gap: 56px;
  }

  .sec-financial-services-key-use-cases__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  /* Breite Karte stapeln: Text oben, Visual darunter */
  .kuc-card--wide {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .kuc-omni__text {
    max-width: 100%;
  }

  .kuc-omni__visual {
    position: static;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .sec-financial-services-key-use-cases {
    padding: 56px 24px;
  }

  .sec-financial-services-key-use-cases__inner {
    gap: 40px;
  }

  .sec-financial-services-key-use-cases__title {
    font-size: 32px;
    line-height: 40px;
  }

  /* Karten: feste Höhen lösen, Phone in den Fluss holen */
  .kuc-card,
  .kuc-card--tall {
    min-height: 0;
  }

  .kuc-card__top {
    height: auto;
  }

  .kuc-card__titles {
    margin-top: 0;
    margin-bottom: 0;
  }

  .kuc-card__phone {
    position: static;
    order: 3;
    width: 100%;
    max-width: 240px;
    margin-top: 24px;
  }

  .kuc-card__list {
    margin-top: 32px;
  }

  .kuc-card__result {
    margin-top: 32px;
  }
}

@media (max-width: 480px) {
  .sec-financial-services-key-use-cases {
    padding: 48px 16px;
  }

  .sec-financial-services-key-use-cases__head {
    gap: 16px;
  }

  .sec-financial-services-key-use-cases__title {
    font-size: 28px;
    line-height: 36px;
  }

  .kuc-card {
    padding: 28px 24px;
  }

  .kuc-card__title {
    font-size: 24px;
    line-height: 32px;
  }

  .kuc-card__label {
    font-size: 16px;
    line-height: 22px;
  }
}
