/* Homepage: AI-agents & automatisering (indigo). Stroomschema = zelfde gedrag als voorbeeld, indigo kleuren. */
.ai-home { padding-top: 1.25rem; scroll-margin-top: 5rem; }
.ai-home-top { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 1024px) { .ai-home-top { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem; } }
.ai-home-copy p { margin-top: 1rem; line-height: 1.65; max-width: 38rem; }
.ai-home-fig { margin: 0; border-radius: var(--radius-panel, 1.25rem); overflow: hidden; max-width: 34rem; justify-self: center; width: 100%;
  box-shadow: 0 0 0 1px rgb(91 108 255 / .28), 0 0 70px -22px rgb(91 108 255 / .45), 0 30px 60px -30px rgb(0 0 0 / .8); }
.ai-home-fig img { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 687; object-fit: cover; }
@media (max-width: 719px) { .ai-home-fig img { aspect-ratio: 16 / 10; object-position: 50% 40%; } }
.ai-trio { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 900px) { .ai-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ai-trio-item { padding: 1.25rem 1.35rem; border: 1px solid var(--border); border-radius: var(--radius-panel, 1.25rem); background: var(--glass); }
.ai-trio-item h3 { margin: 0; font-size: 1.0625rem; font-weight: 500; }
.ai-trio-item p { margin-top: .5rem; font-size: .9rem; line-height: 1.6; }
body:not(.scope-groen) main .ai-home-niet, body:not(.scope-groen) main .ai-home-niet strong { color: #BFC5CD; }
.ai-home-niet { margin-top: 1.5rem; font-size: .875rem; line-height: 1.6; }
.ai-home-niet strong { font-weight: 500; }
.ai-home-more { margin-top: 1.25rem; }
/* Stroomschema */
.ai-flow{position:relative;margin:2rem 0 0;padding:1.5rem 1rem 1rem;border:1px solid var(--accent-25);border-radius:var(--radius-panel,1.25rem);background:radial-gradient(90% 60% at 40% 45%,rgb(91 108 255 / .06),rgb(0 0 0 / 0) 70%),#070B18;box-shadow:0 0 70px -30px var(--accent-40)}
.fl-svg{display:block;width:100%;height:auto;overflow:visible}
.fl-m{display:none;max-width:26rem;margin:0 auto}
@media (max-width:719px){.fl-d{display:none}.fl-m{display:block}.ai-flow{padding:1rem .5rem .75rem}}
.fl-head{fill:#BFC5CD;font:500 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.14em;text-transform:uppercase;text-anchor:middle}
.fl-box{fill:#0D1328;stroke:rgb(91 108 255 / .35);stroke-width:1.2;transition:stroke .25s,filter .25s}
.fl-core>.fl-box{fill:#0A0F22;stroke:rgb(91 108 255 / .6);stroke-width:1.5}
.fl-sub .fl-box{fill:#10172E;stroke:rgb(91 108 255 / .3);stroke-dasharray:5 4}
.fl-human>.fl-box,.fl-out>.fl-box{stroke:rgb(91 108 255 / .6)}
.fl-out>.fl-box{fill:#141C3C}
.fl-name{fill:#EDEDED;font:600 16px "Space Grotesk",var(--font);text-anchor:middle}
.fl-core>.fl-name{font-size:20px}
.fl-name-s{font-size:15px}
.fl-tag{fill:#A9B4FF;font:500 12.5px ui-monospace,SFMono-Regular,Menlo,monospace;text-anchor:middle}
.fl-cap{fill:#BFC5CD;font:400 12.5px var(--font);text-anchor:middle}
.fl-icon{fill:none;stroke:var(--accent);stroke-width:1.5;opacity:.8}
.fl-line{fill:none;stroke:rgb(91 108 255 / .22);stroke-width:1.5;transition:stroke .25s}
.fl-pulse{fill:none;stroke:var(--accent);stroke-width:2.6;stroke-linecap:round;stroke-dasharray:5 95;stroke-dashoffset:100;filter:drop-shadow(0 0 3px rgb(91 108 255 / .9));animation:fl-flow 2.8s linear infinite;animation-delay:var(--d,0s);transition:opacity .25s}
@keyframes fl-flow{to{stroke-dashoffset:0}}
.fl-node{cursor:pointer;outline:none;transition:opacity .3s}
.fl-node:focus-visible>.fl-box{stroke:var(--accent);stroke-width:2.2}
/* inschuiven bij scrollen (alleen als JS actief is) */
.ai-flow.is-armed .fl-node{opacity:0;transform:translateY(10px);transform-box:fill-box}
.ai-flow.is-armed .fl-line{stroke-dasharray:100;stroke-dashoffset:100}
.ai-flow.is-armed .fl-pulse{opacity:0;animation-play-state:paused}
.ai-flow.is-live .fl-node{opacity:1;transform:none;transition:opacity .6s ease var(--n,0s),transform .6s ease var(--n,0s)}
.ai-flow.is-live .fl-line{stroke-dashoffset:0;transition:stroke-dashoffset 1.4s ease .2s,stroke .25s}
.ai-flow.is-live .fl-pulse{opacity:1;animation-play-state:running}
/* pad oplichten */
.ai-flow.focus .fl-node:not(.hl){opacity:.32;transition:opacity .25s}
.ai-flow.focus .fl-edge:not(.hl) .fl-line{stroke:rgb(91 108 255 / .07)}
.ai-flow.focus .fl-edge:not(.hl) .fl-pulse{opacity:.08}
.fl-edge.hl .fl-line{stroke:rgb(91 108 255 / .8);stroke-width:2}
.fl-node.hl>.fl-box{stroke:var(--accent);filter:drop-shadow(0 0 7px rgb(91 108 255 / .55))}
.fl-note{margin-top:.75rem;font-size:.8125rem;color:#BFC5CD;text-align:center}
@media (prefers-reduced-motion:reduce){.fl-pulse{animation:none;opacity:0!important}.ai-flow .fl-node,.ai-flow .fl-line{transition:none!important}}
.fl-svg .fl-l{text-anchor:start}

/* Administratie-agent: schema volledig open in de hero (geen hover/tik), op mobiel onder de tekst */
.agent-hero{display:grid;gap:2rem;align-items:center}
@media (min-width:1024px){.agent-hero{grid-template-columns:minmax(0,1fr) minmax(0,26rem);gap:3rem}}
.agent-hero-flow{margin:0;width:100%;max-width:26rem;justify-self:center}
.agent-hero-flow .fl-h{display:block;max-width:none}
.agent-hero-flow .fl-node{cursor:default}

/* agent-hero2: tekst gecentreerd bovenaan, breed schema eronder over de volle breedte */
.agent-hero{grid-template-columns:1fr!important;gap:2.5rem}
.agent-hero-copy{text-align:center;display:flex;flex-direction:column;align-items:center}
.agent-hero-copy .crumbs,.agent-hero-copy .actions{justify-content:center}
.agent-hero-copy .title,.agent-hero-copy .lead{margin-left:auto;margin-right:auto}
.agent-hero-flow{max-width:none}
.agent-hero-flow .fl-h{display:none;max-width:26rem;margin:0 auto}
.agent-hero-flow .fl-d{display:block}
@media (max-width:719px){.agent-hero-flow .fl-d{display:none}.agent-hero-flow .fl-h{display:block}}
