/* ============================================================================
   AI / Copilot: "Vom Lizenz-Kauf zur gemessenen Wirkung"
   Depends on core.css (tokens, primitives, compare, marker, brackets) and
   index.css (grid-3/4, sec-head, ms-card, ms-baseline, faq, tag, hero base).
   This file only adds what is unique to this page: hero CTA row + bridge
   visual, quote cards, lever cards on the blue band, the four programme
   phases, illustrative value cases, the text trust strip and the close CTA.
   No em-dashes or en-dashes anywhere (brand rule), comments included.
   ========================================================================== */

/* ---- 1. HERO: value bridge ----------------------------------------------- */
/* Two-CTA row: shared .hero__cta (index.css). */
/* The bridge replaces the photo: no square crop, no surface backdrop. */
.ai-hero .hero__media { aspect-ratio: auto; background: transparent; }

/* Signature visual: license cost -> programme -> proven impact. */
.bridge {
  position: relative;
  display: flex; flex-direction: column; gap: var(--space-4);
  padding: var(--space-6);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.bridge__node, .bridge__span {
  display: flex; flex-direction: column; gap: 4px;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
}
.bridge__node { border: 1px solid var(--c-border); }
.bridge__node--cost { opacity: 0.78; }
.bridge__node--value { background: var(--c-accent); color: var(--c-accent-ink); border-color: var(--c-accent-ink); }
.bridge__span { background: var(--c-brand); color: var(--c-brand-ink); }
.bridge__k {
  font-family: var(--font-mono); font-size: var(--fs-label);
  letter-spacing: 3px; text-transform: uppercase; color: var(--c-text-muted);
}
.bridge__node--value .bridge__k { color: var(--c-accent-ink); opacity: 0.75; }
.bridge__v { font-size: var(--fs-h3); font-weight: 700; line-height: var(--lh-head); }
.bridge__label { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 3px; text-transform: uppercase; opacity: 0.9; }
.bridge__steps { font-size: var(--fs-body); font-weight: 600; }
.bridge__caption { margin-top: var(--space-4); font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 3px; color: var(--c-text-muted); text-align: center; }

/* Load choreography: the three stations appear in reading order, then the
   lime result node settles with a single soft pulse. Off for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .bridge__node, .bridge__span { animation: bridge-in 0.55s ease-out backwards; }
  .bridge__span { animation-delay: 0.25s; }
  .bridge__node--value { animation: bridge-in 0.55s ease-out 0.5s backwards, bridge-pulse 0.9s ease-out 1.1s; }
}
@keyframes bridge-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes bridge-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(217, 245, 92, 0.9); }
  100% { box-shadow: 0 0 0 14px rgba(217, 245, 92, 0); }
}


/* ---- 2. QUOTE CARDS: sentences from first calls -------------------------- */
/* The quote itself carries the core .marker highlight; the card answers it. */
.qcard {
  display: flex; flex-direction: column; gap: var(--space-4);
  padding: var(--space-6);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}
.qcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.qcard__quote { font-size: var(--fs-h2); font-weight: 700; line-height: var(--lh-head); }
.qcard__reply { font-size: var(--fs-body); color: var(--c-text); }

/* ---- 3. LEVER CARDS: moved to core.css (shared blue-band card, also used by
   power-platform Fundament). The Wert-Programm timeline now reuses the shared
   .handover component (index.css), so its bespoke .pphase styles are gone too. */

/* ---- 5. SECONDARY AZURE: quieter panel ----------------------------------- */
.section--azure { background: var(--c-surface-2); }
.taglist { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-4); margin-top: var(--space-5); }

/* ---- 6. VALUE CASES (illustrative) --------------------------------------- */
.vcase {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-6);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.vcase:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.vcase__metric { font-size: clamp(2.5rem, 1.8rem + 2.6vw, 3.5rem); font-weight: 700; line-height: 1; color: var(--c-brand); }
.vcase__metric-label { font-size: var(--fs-body); color: var(--c-text-muted); margin-bottom: var(--space-3); }
.vcase__title { font-size: var(--fs-h3); font-weight: 700; line-height: var(--lh-head); margin-top: var(--space-2); }
.vcase__body { font-size: var(--fs-body); color: var(--c-text); flex: 1; }
.vcase__tags { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin-top: var(--space-4); }

/* ---- 7. TEXT TRUST STRIP after the comparison ----------------------------- */
.proof-foot__caption { display: block; margin: var(--space-8) 0 var(--space-4); color: var(--c-text-muted); }
.proof-foot { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); }
.proof-foot li { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.01em; color: var(--c-text); opacity: 0.6; }

/* ---- 8. CLOSE CTA ---------------------------------------------------------- */
.close-cta { max-width: 62ch; }
.close-cta .sec-head__title { margin-bottom: var(--space-4); }
.close-cta__text { font-size: var(--fs-lead); margin-bottom: var(--space-6); opacity: 0.92; }
.close-cta__row { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* ---- 9. RESPONSIVE --------------------------------------------------------- */
@media (max-width: 1024px) {
  .ai-hero .hero__media { max-width: 480px; }
}
@media (max-width: 640px) {
  /* index.css reorders the Home hero (kicker, media, title, lead, btn) via
     .hero__copy{display:contents} + per-element order, assuming ONE inline
     .btn. This hero wraps its CTAs in .hero__cta and shows the bridge, so
     restore natural reading order: kicker, title, lead, CTAs, bridge. */
  .ai-hero .hero__title  { order: 2; }
  .ai-hero .hero__lead   { order: 3; }
  .ai-hero .hero__cta    { order: 4; margin-bottom: 0; }
  .ai-hero .hero__media  { order: 6; }
  .hero__cta .btn { width: auto; }
}

/* ---- 10. WERT-PROGRAMM: gepinnte 4-Stationen-Timeline --------------------- */
/* Shared handover (index.css + home.js) wie modern-workplace "Vorgehen".
   Seitenspezifisch bleiben der Status-Ring der letzten Station bei Aktivierung
   und der laengere Pin-Weg fuer vier Stationen (Pendant: modern-workplace.css). */
:root { --c-status-ok: #1A7F46; }                    /* AA on white/off */
[data-theme="dark"] { --c-status-ok: #34D17E; }      /* heller fuer Dark-Kontrast */
.handover__station--final.is-active .handover__marker {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--c-status-ok) 35%, transparent);
}
.handover__station--final .handover__marker { transition: width var(--transition), height var(--transition), font-size var(--transition), box-shadow var(--transition); }
@media (min-width: 1025px) {
  /* 4 Stationen brauchen etwas mehr Pin-Weg als die 3-Stationen-Home-Timeline.
     Nicht an .is-pinned haengen, sonst springt der Block beim Setzen der
     Klasse: siehe die Begruendung an der Pin-Hoehe in index.css. */
  .handover { height: 185vh; }
}
@media (min-width: 1025px) and (prefers-reduced-motion: reduce) {
  .handover { height: auto; }
}
