/* ==========================================================================
   Industries · Financial Services — KOBIL myCity Band
   Dunkles Foto-Band (1360×744, full-bleed): "One App for All Citizens"
   ========================================================================== */

.sec-financial-services-mycity {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 744px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

/* ---- Hintergrund-Foto (full-bleed cover) ---- */

.sec-financial-services-mycity__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---- Blur/Tint-Panel links (Lesbarkeit des Textes) ---- */

.sec-financial-services-mycity__overlay {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 700px;
  height: 100%;
  pointer-events: none;
  background: rgba(17, 36, 74, 0.32);
  /* Figma "Background blur 16" = Sigma 8 → CSS blur(8px) */
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  /* Blur + Tint laufen gemeinsam weich aus (Figma: Background-Blur wird
     durch die Alpha-Rampe des Gradient-Fills moduliert — keine harte Kante) */
  -webkit-mask-image: linear-gradient(90.69deg, #000 66.9%, transparent 99.4%);
  mask-image: linear-gradient(90.69deg, #000 66.9%, transparent 99.4%);
}

/* ---- App-Screens / Store-Badges (gebackenes Composite) ---- */

.sec-financial-services-mycity__phone {
  position: absolute;
  right: 50px;
  bottom: 0;
  z-index: 2;
  width: 476px;
  height: auto;
}

/* ---- Text-Spalte ---- */

.sec-financial-services-mycity__content {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 476px;
}

/* Eyebrow: weißer 12px-Punkt, enges Tracking (aus Figma) */
.sec-financial-services-mycity__eyebrow {
  gap: 10px;
  letter-spacing: 0.48px;
  color: var(--white);
}

.sec-financial-services-mycity__eyebrow::before {
  width: 12px;
  height: 12px;
  background: var(--white);
}

.sec-financial-services-mycity__title {
  font-family: var(--font-sans);
  font-size: 40px;
  line-height: 50px;
  font-weight: 700;
  color: var(--white);
}

.sec-financial-services-mycity__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sec-financial-services-mycity__intro-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sec-financial-services-mycity__intro {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 23px;
  font-weight: 400;
  color: var(--white);
}

.sec-financial-services-mycity__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sec-financial-services-mycity__feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sec-financial-services-mycity__check {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.sec-financial-services-mycity__feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sec-financial-services-mycity__feature-title {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 23px;
  font-weight: 700;
  color: var(--white);
}

.sec-financial-services-mycity__feature-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--white);
}

/* ---- Button "Explore myCity" mit diagonaler Kerbe unten rechts ---- */

.sec-financial-services-mycity__btn {
  --btn-bg: var(--blue);
  position: relative;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 4px 20px 4px 16px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  color: var(--white);
  white-space: nowrap;
}

.sec-financial-services-mycity__btn::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 39px 0 0;
  border-radius: 4px 0 0 4px;
  background: var(--btn-bg);
  transition: background-color var(--dur) var(--ease);
}

.sec-financial-services-mycity__btn::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: var(--btn-bg);
  clip-path: path("M0 0H36Q40 0 40 4V20L20 40H0Z");
  transition: background-color var(--dur) var(--ease);
}

.sec-financial-services-mycity__btn > span,
.sec-financial-services-mycity__btn > svg {
  position: relative;
  z-index: 1;
}

.sec-financial-services-mycity__btn > svg {
  flex: 0 0 auto;
  transition: transform var(--dur) var(--ease);
}

.sec-financial-services-mycity__btn:hover {
  --btn-bg: #1e4fd6;
}

.sec-financial-services-mycity__btn:hover > svg {
  transform: translateX(3px);
}

.sec-financial-services-mycity__btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.sec-financial-services-mycity__btn:active {
  transform: translateY(1px);
}

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

/* Stack-Layout ab Tablet (verhindert Text/Phone-Überlappung) */
@media (max-width: 1024px) {
  .sec-financial-services-mycity {
    height: auto;
  }

  .sec-financial-services-mycity__overlay {
    inset: 0;
    width: 100%;
    background: linear-gradient(
      180deg,
      rgba(17, 36, 74, 0.72) 0%,
      rgba(17, 36, 74, 0.58) 55%,
      rgba(17, 36, 74, 0.72) 100%
    );
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .sec-financial-services-mycity__content {
    position: relative;
    z-index: 3;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 620px;
    padding: 56px 40px 0;
  }

  .sec-financial-services-mycity__phone {
    position: relative;
    z-index: 2;
    right: auto;
    bottom: auto;
    display: block;
    width: min(440px, 82%);
    margin: 32px auto 0;
  }
}

@media (max-width: 768px) {
  .sec-financial-services-mycity__content {
    padding: 44px 24px 0;
  }

  .sec-financial-services-mycity__title {
    font-size: 34px;
    line-height: 42px;
  }

  .sec-financial-services-mycity__phone {
    width: min(400px, 88%);
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .sec-financial-services-mycity__content {
    padding: 36px 16px 0;
    gap: 20px;
  }

  .sec-financial-services-mycity__title {
    font-size: 30px;
    line-height: 38px;
  }

  .sec-financial-services-mycity__phone {
    width: 96%;
    margin-top: 20px;
  }
}
