/* ==========================================================================
   KOBIL — Produktseite AI Trust — Sektion: Approach (Figma 16645:22167)
   "Three Questions. Answered Before Every Action"
   ========================================================================== */

.sec-ai-trust-approach {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 728px;
  padding-left: 40px;
  border-radius: 12px 12px 24px 12px;
  background: #fff;
  overflow: hidden;
}

/* ---- Dekor: riesiger Cyan-Radialkreis (Figma Ellipse 1582) ---- */

.sec-ai-trust-approach__glow-bg {
  position: absolute;
  top: -723px;
  right: -742px;
  z-index: 0;
  width: 2174px;
  height: 2174px;
  border: 0.757px solid #3ebffc;
  border-radius: 50%;
  opacity: 0.6;
  /* Figma: radial white(alpha 0) -> #3EBFFC(alpha 1) bei r=3769px, nicht-premultipliziert
     interpoliert — Zwischenstops explizit gesetzt, sonst zu satt */
  background: radial-gradient(
    3769.11px circle at center,
    rgba(255, 255, 255, 0) 0px,
    rgba(241, 250, 255, 0.072) 271.4px,
    rgba(227, 246, 255, 0.144) 542.8px,
    rgba(213, 241, 255, 0.216) 814.1px,
    rgba(199, 237, 254, 0.288) 1085.5px
  );
  pointer-events: none;
}

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

.sec-ai-trust-approach__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 1 577px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
  margin-top: 2px;
}

.sec-ai-trust-approach__eyebrow {
  gap: 10px;
  margin: 0;
  letter-spacing: 0.48px;
  color: var(--navy-70);
}

.sec-ai-trust-approach__eyebrow::before {
  width: 12px;
  height: 12px;
}

.sec-ai-trust-approach__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.sec-ai-trust-approach__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  line-height: 50px;
  color: var(--navy);
}

.sec-ai-trust-approach__title-accent {
  color: var(--blue);
}

.sec-ai-trust-approach__body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  color: var(--navy-70);
}

.sec-ai-trust-approach__body strong {
  font-weight: 600;
}

/* ---- Visual: Diagramm (Canvas 430x443, skaliert via --s) ---- */

.sec-ai-trust-approach__visual {
  --s: 1;
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: calc(430px * var(--s));
  height: calc(443px * var(--s));
  margin: 9px 132px 0 0;
}

.sec-ai-trust-approach__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 430px;
  height: 443px;
  transform: scale(var(--s));
  transform-origin: top left;
}

/* Verbindungslinien (SVG hat 2px Puffer-Rand im viewBox) */
.sec-ai-trust-approach__lines {
  position: absolute;
  top: 136px;
  left: 46.75px;
  width: 320px;
  height: 262px;
}

/* Weiche weisse Ellipsen — hellen die Linien hinter den Labels auf */
.sec-ai-trust-approach__glow {
  position: absolute;
  top: 312px;
  width: 72px;
  height: 37px;
  border-radius: 50%;
  background: #fff;
  filter: blur(7px);
  pointer-events: none;
}

.sec-ai-trust-approach__glow--1 {
  left: 12px;
}

.sec-ai-trust-approach__glow--2 {
  left: 170px;
}

.sec-ai-trust-approach__glow--3 {
  left: 328px;
}

/* Brain-Kreis oben */
.sec-ai-trust-approach__brain {
  position: absolute;
  top: 0;
  left: 137px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px 0 rgba(41, 98, 246, 0.42);
}

.sec-ai-trust-approach__brain img {
  width: 99.4px;
  height: 99.4px;
}

/* ---- Die drei Prinzipien ---- */

.sec-ai-trust-approach__principles {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sec-ai-trust-approach__principle {
  position: absolute;
  top: 222px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sec-ai-trust-approach__principle--identity {
  left: 0;
  width: 96px;
}

.sec-ai-trust-approach__principle--authorization {
  left: 140px;
  width: 132px;
}

.sec-ai-trust-approach__principle--accountability {
  left: 298px;
  width: 132px;
}

/* Glas-Badge mit Verlaufskreis */
.sec-ai-trust-approach__badge {
  position: relative;
  flex: 0 0 auto;
  width: 90px;
  height: 90px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(237.567deg, rgba(184, 232, 255, 0.7) 8.0906%, rgba(41, 98, 246, 0.7) 131.13%);
  box-shadow:
    inset 0 0 0 1.688px #fff,
    5.597px 9.794px 17.975px 0 rgba(1, 42, 112, 0.13);
  -webkit-backdrop-filter: blur(13.5px);
  backdrop-filter: blur(13.5px);
}

.sec-ai-trust-approach__badge img {
  position: absolute;
}

.sec-ai-trust-approach__badge-fingerprint {
  top: 18.2px;
  left: 19.2px;
  width: 50.516px;
  height: 50.516px;
}

.sec-ai-trust-approach__badge-shield {
  top: 45.984px;
  left: 52.535px;
  width: 23.417px;
  height: 27.014px;
}

.sec-ai-trust-approach__badge-auth {
  top: 19px;
  left: 16.31px;
  width: 55.466px;
  height: 55.466px;
}

.sec-ai-trust-approach__badge-checklist {
  top: 22px;
  left: 22px;
  width: 45.2px;
  height: 45.2px;
}

.sec-ai-trust-approach__label {
  margin: 4px 0 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  color: var(--navy);
  white-space: nowrap;
}

/* Tooltip-Karte */
.sec-ai-trust-approach__tip {
  align-self: stretch;
  margin: 47px 0 0;
  padding: 7.5px 11.5px;
  border: 0.5px solid #d0ddff;
  border-radius: 10px;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
  box-shadow: 0 1.523px 8.377px 0 rgba(17, 36, 74, 0.08);
  -webkit-backdrop-filter: blur(2.856px);
  backdrop-filter: blur(2.856px);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--navy-80);
  text-align: center;
  white-space: nowrap;
}

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

@media (max-width: 1280px) {
  .sec-ai-trust-approach__visual {
    margin-right: 48px;
  }
}

@media (max-width: 1200px) {
  .sec-ai-trust-approach__visual {
    --s: 0.85;
    margin-right: 40px;
  }

  .sec-ai-trust-approach__title {
    font-size: 36px;
    line-height: 46px;
  }
}

@media (max-width: 1024px) {
  .sec-ai-trust-approach {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 64px 40px;
    gap: 48px;
  }

  .sec-ai-trust-approach__copy {
    flex: 0 0 auto;
    max-width: 640px;
    margin-top: 0;
  }

  .sec-ai-trust-approach__visual {
    --s: 1;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .sec-ai-trust-approach {
    padding: 56px 24px;
    gap: 40px;
  }

  .sec-ai-trust-approach__copy {
    gap: 24px;
  }

  .sec-ai-trust-approach__title {
    font-size: 28px;
    line-height: 36px;
  }
}

/* Unter ~560px passt das 430px-Diagramm nicht mehr — auf gestapeltes
   Flow-Layout umschalten statt unleserlich klein zu skalieren */
@media (max-width: 560px) {
  .sec-ai-trust-approach__visual {
    width: auto;
    height: auto;
    margin: 0;
  }

  .sec-ai-trust-approach__canvas {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    width: auto;
    height: auto;
    transform: none;
  }

  .sec-ai-trust-approach__lines,
  .sec-ai-trust-approach__glow {
    display: none;
  }

  .sec-ai-trust-approach__brain {
    position: static;
  }

  .sec-ai-trust-approach__principles {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .sec-ai-trust-approach__principle {
    position: static;
    width: auto;
    min-width: 132px;
  }

  .sec-ai-trust-approach__tip {
    align-self: center;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .sec-ai-trust-approach {
    padding: 48px 20px;
    gap: 32px;
  }

  /* Fester Umbruch aus dem Desktop-Design — auf Mobile natuerlich umbrechen */
  .sec-ai-trust-approach__title br {
    display: none;
  }

  .sec-ai-trust-approach__body {
    font-size: 15px;
    line-height: 22px;
  }
}
