/* Motion-visuals die maar op een paar pagina's staan (flow-lijn, wa-hero). Los van site.css zodat die klein blijft;
   de partials laden dit bestand zelf (@once). Keyframes flow-s1..s5 staan in site.css. */
/* ---------- Flow-lijn (partials/marketing/flow-lijn) ----------
   Vier stations aan een lijn. Een lichtpunt loopt erlangs (transform op een strook ter breedte van de lijn) en elk
   station gloeit even op als het punt langskomt (opacity van een gloedlaag). Tekst staat er altijd. */
.lijn { --ld: 9s; position: relative; max-width: 1080px; margin: 0 auto; padding: 28px clamp(14px, 3vw, 34px) 30px; border-radius: 28px; background: linear-gradient(160deg, #0b1410, #0f2a1c 70%, #123823); color: #e8f2ec; box-shadow: var(--shadow-xl); overflow: hidden; }
.lijn::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(74, 222, 128, .16), transparent 62%); pointer-events: none; }
.lijn-track { position: absolute; left: calc(12.5% + 8px); right: calc(12.5% + 8px); top: 52px; height: 2px; background: rgba(255, 255, 255, .14); border-radius: 2px; overflow: hidden; }
.lijn-run { position: absolute; inset: 0; transform: translateX(-100%); animation: lijn-run var(--ld) cubic-bezier(.55, .05, .35, 1) infinite; }
.lijn-run b { position: absolute; right: 0; top: -3px; width: 90px; height: 8px; border-radius: 8px; background: linear-gradient(90deg, transparent, #4ade80); box-shadow: 0 0 18px #4ade80; }
@keyframes lijn-run { 0% { transform: translateX(-100%); } 80%, 100% { transform: translateX(0); } }
.lijn-st { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.6vw, 18px); }
.lijn-st li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lijn-node { position: relative; width: 16px; height: 16px; margin-top: 16px; border-radius: 50%; background: #0f2a1c; border: 2px solid #4ade80; }
.lijn-node::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; background: radial-gradient(circle, rgba(74, 222, 128, .75), transparent 70%); opacity: 0; animation: lijn-glow var(--ld) ease-out infinite; animation-delay: calc(var(--i) * var(--ld) * .26); }
.lijn-label { margin: 12px 0 10px; font: 800 12px/1 "Inter", system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #4ade80; }
.lijn-card { position: relative; width: 100%; display: grid; gap: 4px; padding: 14px 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); text-align: left; font-size: 13.5px; line-height: 1.35; }
.lijn-card::after { content: ""; position: absolute; inset: -1px; border-radius: 16px; border: 1px solid #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .12), 0 18px 40px -18px rgba(74, 222, 128, .6); opacity: 0; animation: lijn-glow var(--ld) ease-out infinite; animation-delay: calc(var(--i) * var(--ld) * .26); pointer-events: none; }
.lijn-card strong { font-size: 16px; color: #fff; font-variant-numeric: tabular-nums; }
.lijn-card span { color: #c6d8cd; }
.lijn-card small { color: #9fb7a8; font-variant-numeric: tabular-nums; }
.lijn-card em { justify-self: start; margin-top: 6px; padding: 4px 10px; border-radius: 999px; font: 700 11.5px/1.2 "Inter", system-ui, sans-serif; font-style: normal; background: rgba(255, 255, 255, .1); color: #e8f2ec; }
.lijn-card em.ok { background: #4ade80; color: #052e16; }
@keyframes lijn-glow { 0% { opacity: 0; } 4% { opacity: 1; } 22% { opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 760px) {
    .lijn-track { left: 31px; right: auto; top: 40px; bottom: 40px; width: 2px; height: auto; }
    .lijn-run { transform: translateY(-100%); animation-name: lijn-run-v; }
    .lijn-run b { right: auto; left: -3px; top: auto; bottom: 0; width: 8px; height: 70px; background: linear-gradient(180deg, transparent, #4ade80); }
    @keyframes lijn-run-v { 0% { transform: translateY(-100%); } 80%, 100% { transform: translateY(0); } }
    .lijn-st { grid-template-columns: 1fr; gap: 14px; }
    .lijn-st li { display: grid; grid-template-columns: 34px 1fr; align-items: start; text-align: left; column-gap: 12px; }
    .lijn-node { grid-row: 1 / 3; margin: 14px 0 0 9px; }
    .lijn-label { margin: 2px 0 6px; }
}
@media (prefers-reduced-motion: reduce) { .lijn-run, .lijn-node::after, .lijn-card::after { animation: none; } .lijn-run { transform: none; } }

/* ---------- WA-hero (partials/marketing/wa-hero) ----------
   Een chat: bericht, antwoord, document met status. Eerste beeld = alles zichtbaar; daarna kort weg en stap voor
   stap terug, net als de hero-flow. */
.wah { --wd: 10s; position: relative; z-index: 1; width: min(400px, 100%); text-align: left; }
.wah-phone { border-radius: 30px; padding: 10px; background: #0b1410; box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, .06) inset; }
.wah-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px; color: #e8f2ec; }
.wah-top b { display: block; font-size: 15px; }
.wah-top small { color: #8fb39d; font-size: 12px; }
.wah-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #15803d; color: #fff; font-weight: 800; }
.wah-chat { display: grid; gap: 8px; padding: 14px 12px 16px; border-radius: 22px; background: #e9efe9; min-height: 340px; align-content: start; }
html.dark .wah-chat { background: #111b14; }
.wah-b { position: relative; margin: 0; max-width: 86%; padding: 9px 12px 18px; border-radius: 14px 14px 14px 4px; background: #fff; color: #0b1f12; font-size: 13.5px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.wah-b.me { justify-self: end; border-radius: 14px 14px 4px 14px; background: #d9fdd3; }
html.dark .wah-b { background: #1f2c24; color: #e8f2ec; }
html.dark .wah-b.me { background: #14532d; }
.wah-b time { position: absolute; right: 9px; bottom: 4px; font-size: 10.5px; color: #6b7f72; }
.wah-doc { position: relative; display: grid; gap: 3px; width: 86%; padding: 13px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); color: var(--text); font-size: 13.5px; box-shadow: var(--shadow-xl); }
.wah-doc-head { display: flex; justify-content: space-between; font: 700 10.5px/1 "Inter", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 6px; }
html.dark .wah-doc-head { color: #4ade80; }
.wah-doc-head small { letter-spacing: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.wah-doc strong { font-size: 15px; }
.wah-doc-line { color: var(--muted); }
.wah-doc-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border); }
.wah-doc-total b { font-size: 18px; font-variant-numeric: tabular-nums; }
.wah-pill { position: absolute; right: 12px; top: 30px; padding: 5px 10px; border-radius: 999px; background: #15803d; color: #fff; font: 700 11.5px/1 "Inter", system-ui, sans-serif; font-style: normal; }
.wah-toast { position: absolute; left: -10%; bottom: 8%; z-index: 2; padding: 10px 14px; border-radius: 12px; background: #0f172a; color: #fff; font-size: 12.5px; box-shadow: var(--shadow-xl); max-width: 70%; }
.wah-toast b { color: #4ade80; margin-right: 6px; }
.wah .wa1 { animation: flow-s1 var(--wd) var(--ease) infinite both; }
.wah .wa2 { animation: flow-s2 var(--wd) var(--ease) infinite both; }
.wah .wa3 { animation: flow-s4 var(--wd) var(--ease) infinite both; }
.wah .wa4 { animation: flow-s5 var(--wd) var(--ease) infinite both; }
@media (max-width: 900px) { .wah { margin-inline: auto; } .wah-toast { left: 0; } }
@media (prefers-reduced-motion: reduce) { .wah [class*="wa"] { animation: none; } }
