/* 12 · How it works (Export s11.png, 1440 × 989). Eyebrow y 98, Titel y 130, Zeitleiste 234–278 (Kreise 44 px,
   Mitten bei 142 / 603 / 1064, Linie 2 px bis 1360), Karten ab y 310: 412 · 412 · 410 breit, Abstand 23, 519 hoch,
   Radius 32, Foto 317 hoch. Overlays = dunkles Glas (glass-dark-60 + blur 16 px), Lage je Karte aus SECTION_FX[12]. */
.s12 { padding: 100px 0 100px; }
.s12__title { margin-top: 19px; color: var(--text-primary); }

/* ---------- Zeitleiste ---------- */
.s12__timeline { position: relative; height: 44px; margin-top: 31px; }
.s12__line {
  position: absolute; top: 21px; height: 2px;
  left: 4.84%; right: 0;
  background: var(--brand);
}
.s12__num {
  position: absolute; top: 0;
  width: 44px; height: 44px; margin-left: -22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand); color: var(--text-on-dark);
}
.s12__num:nth-of-type(2) { left: 4.84%; }
.s12__num:nth-of-type(3) { left: 40.86%; }
.s12__num:nth-of-type(4) { left: 76.88%; }

/* ---------- Karten ---------- */
.s12__steps {
  list-style: none; padding: 0;
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 412fr) minmax(0, 412fr) minmax(0, 410fr);
  gap: 23px;
}
.s12__card {
  display: flex; flex-direction: column;
  min-height: 519px;
  border-radius: 32px;
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
}
.s12__media { position: relative; height: 317px; flex: none; }
.s12__photo { width: 100%; height: 100%; object-fit: cover; }
.s12__ui { position: absolute; inset: 0; }

.s12__body { padding: 24px 24px 19px; }
.s12__card-title { margin-top: 21px; color: var(--text-primary); }
.s12__text { margin-top: 20px; color: var(--text-secondary); }

/* ---------- Glas-Overlays ---------- */
.s12__glass {
  position: absolute;
  background: var(--color-glass-dark-60);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--color-black) 18%, transparent);
  color: var(--text-on-dark);
}

/* Statuskarte oben (52 hoch, Radius 16) */
.s12__status {
  top: 16px; left: 16px;
  display: flex; align-items: center; gap: 16px;
  min-height: 52px; padding: 10px 10px 10px 14px;
  border-radius: 16px;
  white-space: nowrap;
}
.s12__status-text { display: flex; flex-direction: column; gap: 2px; }
.s12__status-sub { color: var(--color-white-a70); }
.s12__icon {
  position: relative; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
}
.s12__icon svg { width: 18px; height: 18px; fill: none; stroke: var(--color-white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.s12__icon--brand { background: var(--brand); }
.s12__icon--ok { background: var(--color-success-500); }
.s12__calls { display: flex; gap: 8px; }
.s12__icon--accept { background: var(--color-success-500); }
.s12__icon--decline { background: var(--color-warning-600); }
.s12__icon--accept svg, .s12__icon--decline svg { width: 16px; height: 16px; fill: var(--color-white); stroke: none; }
.s12__icon--decline svg { rotate: -135deg; }
/* Klingel-Ring um den grünen Knopf (12-how.js) */
.s12__call-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--color-success-500);
  opacity: 0; pointer-events: none;
}

/* Infokarte (115 hoch): Kopf, Trennlinie, drei Zeilen */
.s12__info {
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px 14px 11px;
  border-radius: 16px;
}
.s12__info--1 { top: 144px; right: 17px; width: max-content; min-width: 176px; }
.s12__info--2 { top: 138px; left: 16px; width: max-content; min-width: 200px; }
.s12__info--3 { top: 84px; left: 16px; width: max-content; min-width: 200px; }
.s12__info-head {
  padding-bottom: 8px; margin-bottom: 1px;
  border-bottom: 1px solid var(--color-white-a20);
  white-space: nowrap;
}
.s12__row { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.s12__row:not(.s12__row--check) { justify-content: space-between; gap: 16px; }
.s12__key { color: var(--color-white-a70); }
.s12__val { font-weight: 500; }
.s12__tick { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--color-lime-300); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Live-Pille unten */
.s12__pill {
  left: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 15px 0 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.s12__pill--3 { bottom: 18px; }
.s12__dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--color-lime-300); }
.s12__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--color-lime-300);
  opacity: 0; pointer-events: none;
}

/* ---------- Support-Zeile ---------- */
.s12__support { margin-top: 32px; text-align: center; color: var(--text-secondary); }
.s12__phone { margin-left: 14px; color: var(--brand); white-space: nowrap; }
.s12__phone:hover { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Tablet / Mobil: eine Spalte, Zeitleiste entfällt („Schritt N“ steht in jeder Karte) ---------- */
@media (max-width: 1023px) {
  .s12__timeline { display: none; }
  .s12__steps { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 40px auto 0; gap: 20px; }
  .s12__card { min-height: 0; }
}
@media (max-width: 767px) {
  .s12 { padding: 72px 0; }
  .s12__title { margin-top: 12px; }
  .s12__steps { margin-top: 32px; gap: 16px; }
  .s12__card { border-radius: var(--radius-card); }
  .s12__body { padding: 20px 20px 24px; }
  .s12__card-title { margin-top: 12px; }
  .s12__text { margin-top: 10px; }
  .s12__support { margin-top: 28px; }
  .s12__phone { display: inline-block; margin-left: 0; }
}
@media (max-width: 380px) {
  .s12__info--1 { right: auto; left: 16px; }
}
