/* ==========================================================================
   vorwaermer-eds.css — ausgelagerte Styles des EDS-Vorwärmers
   ==========================================================================
   Gemeinsam genutzt von der eigenständigen Testseite (vorwaermer-eds.html)
   und der echten Einbindung auf startseite.html. Enthält NUR die Styles des
   Vorwärmers selbst (Backdrop/Modal/Karte/Screens) — keine Seiten-Chrome.
   ========================================================================== */
  /* ============================================================
     OVERLAY — Backdrop + Modal
     ------------------------------------------------------------
     Alle Farb-/Design-Tokens werden bewusst NICHT auf :root gesetzt,
     sondern direkt auf .vw-backdrop — dadurch bleiben sie strikt auf den
     Vorwärmer und seine Kindelemente beschränkt und können niemals
     Tokens der Host-Seite (z. B. startseite.html) überschreiben, selbst
     wenn dort leicht abweichende Werte für --glass o. Ä. stehen.
     Ebenso bewusst KEINE globalen Selektoren wie body/html/h1,h2/a/img/
     header/.wrap/* hier — die gehören ausschließlich zur Host-Seite.
     ============================================================ */
  .vw-backdrop {
    --paper: #FBF6EF; --deep: #1B2A45; --deep-soft: #2A3D5C; --teal: #1FA8A0; --gold: #D9B25C; --gold-soft: #F0D89B; --gold-deep: #B8843F;
    --ink: #1B2A45; --ink-soft: #5C6B7A; --glass: rgba(255,255,255,0.72); --glass-strong: rgba(255,255,255,0.9);
    --gold-line: rgba(184,132,63,0.35);
    font-family: 'Work Sans', sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased;
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(27,42,69,.20); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    display: flex; align-items: center; justify-content: center; padding: 24px;
    opacity: 0; pointer-events: none; transition: opacity .25s ease;
    box-sizing: border-box;
  }
  .vw-backdrop *, .vw-backdrop *::before, .vw-backdrop *::after { box-sizing: border-box; }
  .vw-backdrop h2 { font-family: 'Cormorant Garamond', serif; color: var(--ink); font-weight: 600; margin: 0; }
  .vw-backdrop img { max-width: 100%; display: block; }
  .vw-backdrop.is-open { opacity: 1; pointer-events: auto; }

  .vw-modal {
    position: relative; width: 100%; max-width: 600px; max-height: 85vh;
    transform: scale(.96); opacity: 0; transition: transform .25s ease, opacity .25s ease;
    outline: none;
  }
  .vw-backdrop.is-open .vw-modal { transform: scale(1); opacity: 1; }

  .vw-modal .vw-card {
    max-height: 85vh; overflow-y: auto; -webkit-overflow-scrolling: touch; margin: 0;
    background:
      linear-gradient(180deg, rgba(255,252,246,.88), rgba(255,252,246,.93)),
      url('bgmarmorhell.png') center 30%/cover no-repeat;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }

  .vw-modal-close {
    position: absolute; top: 14px; right: 14px; z-index: 5; width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,.8); border: 1px solid var(--gold-line); color: var(--ink-soft);
    display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, color .15s;
  }
  .vw-modal-close:hover { background: #fff; color: var(--ink); }

  @media (max-width: 640px) {
    .vw-backdrop { padding: 12px; align-items: flex-end; }
    .vw-modal { max-width: 100%; max-height: 92vh; }
    .vw-modal .vw-card { max-height: 92vh; }
  }

  @media (prefers-reduced-motion: reduce) {
    .vw-backdrop, .vw-modal { transition: none; }
  }

  .glass { background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--gold-line); border-radius: 24px; box-shadow: 0 12px 36px rgba(120,90,50,.10); }
  .vw-card { padding: 50px 40px 36px; }
  @media (max-width: 600px) { .vw-card { padding: 44px 22px 28px; } }

  .vw-stage { animation: vwFade .4s ease; }
  @keyframes vwFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
  @media (prefers-reduced-motion: reduce) { .vw-stage { animation: none; } }

  .vw-headline { font-size: clamp(23px, 3.4vw, 29px); line-height: 1.3; margin-bottom: 18px; max-width: 22ch; }
  .vw-text { font-size: 15px; color: var(--ink); margin-bottom: 12px; }
  .vw-text:last-of-type { margin-bottom: 24px; }
  .vw-text-soft { color: var(--ink-soft); }

  .vw-question { font-family: 'Cormorant Garamond', serif; font-size: clamp(20px, 2.6vw, 24px); font-weight: 600; margin: 4px 0 22px; line-height: 1.35; }

  .vw-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
  .vw-option { text-align: left; width: 100%; padding: 16px 20px; border: 1.5px solid var(--gold-line); background: var(--glass-strong); cursor: pointer; font-size: 14.5px; color: var(--ink); font-family: inherit; line-height: 1.4; transition: all .15s ease; border-radius: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .vw-option:hover { border-color: var(--gold); background: #FFFDF8; transform: translateX(2px); }
  .vw-option:hover .vw-arrow { opacity: 1; transform: translateX(0); }
  .vw-arrow { opacity: 0; transform: translateX(-4px); transition: all .15s ease; color: var(--gold-deep); font-size: 15px; flex-shrink: 0; }

  .vw-btn-primary { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #0B2A45; padding: 18px 34px; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: .01em; display: inline-block; border-radius: 50px; box-shadow: 0 10px 28px rgba(217,178,92,.35); transition: transform .15s, box-shadow .15s; border: none; cursor: pointer; font-family: inherit; }
  .vw-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(217,178,92,.5); }

  .vw-back { margin-top: 22px; background: none; border: none; color: var(--ink-soft); font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0; font-family: inherit; }
  .vw-back:hover { color: var(--ink); }

  /* ---------- Reaktive Optionen (nur Pfad 1c): Auswahl bleibt sichtbar,
     Reaktion klappt direkt darunter auf ---------- */
  .vw-opt-block {}
  .vw-option-selected { border-color: var(--gold); background: linear-gradient(135deg, rgba(240,216,155,.4), rgba(217,178,92,.2)); cursor: default; }
  .vw-multi .vw-option-selected { cursor: pointer; }
  .vw-multi .vw-option-selected::after { content: "✓"; margin-left: 8px; color: var(--gold-deep); font-weight: 700; }
  .vw-next-wrap { min-height: 1px; }
  .vw-next-btn { display: none; margin-top: 18px; }
  .vw-next-btn.show { display: inline-block; }
  .vw-option-inactive { opacity: .55; }
  .vw-reaction-inline-text { margin-top: 10px; padding: 12px 16px; background: rgba(31,168,160,.08); border-left: 3px solid var(--teal); border-radius: 0 10px 10px 0; font-size: 13.5px; color: var(--ink); line-height: 1.55; }
  .vw-inline-continue { margin-top: 12px; padding: 12px 26px; font-size: 13.5px; }

  /* ---------- Screen 8: persönliche Empfehlung ---------- */
  .vw-reco { margin-top: 6px; }
  .vw-reco-block { padding: 22px 0; border-bottom: 1px solid var(--gold-line); }
  .vw-reco-block:last-child { border-bottom: none; }
  .vw-reco-label { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
  .vw-reco-title { font-family: 'Cormorant Garamond', serif; font-size: 23px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
  .vw-reco-text { font-size: 14.5px; color: var(--ink); line-height: 1.65; max-width: 52ch; }
  .vw-reco-modules { margin: 0; padding: 0; list-style: none; }
  .vw-reco-modules li { font-size: 14.5px; color: var(--ink); line-height: 1.6; padding-left: 20px; position: relative; margin-bottom: 6px; }
  .vw-reco-modules li::before { content: "+"; position: absolute; left: 0; color: var(--gold-deep); font-weight: 700; }
  .vw-reco-closing { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--gold-line); }
  .vw-reco-closing p { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--ink); line-height: 1.5; margin-bottom: 6px; }
  .vw-reco-handoff { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--gold-line); text-align: center; }
  .vw-reco-handoff .vw-btn-primary { margin-top: 6px; }
