/* Homepagina: bewegende bovenkant, diensten, stappen en de contactknop. */
.home-main { max-width: 1228px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Bovenkant */
.home-hero { overflow-x: clip; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; min-height: min(640px, 78vh); }
@media (max-width: 900px) { .home-hero { grid-template-columns: 1fr; gap: 24px; min-height: 0; } }
.hero-kicker { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--coral); }
.hero-text { container-type: inline-size; }
.home-hero h1 { margin: 0 0 22px; font-size: clamp(28px, 8.8cqi, 68px); line-height: 1.08; }
.hero-word { display: block; min-height: 1.1em; color: var(--coral); white-space: nowrap; }
.hero-word::after { content: ""; display: inline-block; width: 4px; height: .82em; margin-left: 6px; vertical-align: -.06em; background: var(--coral); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero-note { margin: 12px 0 0; }
.hero-text > * { animation: home-up 800ms cubic-bezier(.2, .8, .2, 1) both; }
.hero-text > :nth-child(2) { animation-delay: 90ms; }
.hero-text > :nth-child(3) { animation-delay: 180ms; }
.hero-text > :nth-child(4) { animation-delay: 260ms; }
.hero-text > :nth-child(5) { animation-delay: 340ms; }
@keyframes home-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Het tafereel met DEX en de bots */
.hero-visual { width: 100%; min-width: 0; }
.hero-scene { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1 / 1; margin: 0 auto; }
.hero-scene::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgb(255 122 122 / .22), transparent 65%); animation: scene-glow 5s ease-in-out infinite; }
@keyframes scene-glow { 0%, 100% { opacity: .7; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
.hero-ring { position: absolute; left: 50%; top: 51%; border-radius: 50%; border: 1px dashed #2E3550; transform: translate(-50%, -50%); }
.hero-ring-1 { width: 74%; aspect-ratio: 1; animation: ring-spin 40s linear infinite; }
.hero-ring-2 { width: 98%; aspect-ratio: 1; border-color: #232A42; animation: ring-spin 70s linear infinite reverse; }
.hero-ring-1::after, .hero-ring-2::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 14px var(--coral); }
.hero-ring-2::after { background: #38BDF8; box-shadow: 0 0 14px #38BDF8; }
@keyframes ring-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero-dot { position: absolute; left: var(--x); top: var(--y); width: 5px; height: 5px; border-radius: 50%; background: var(--cream); opacity: .2; animation: twinkle 3s ease-in-out infinite; animation-delay: calc(var(--i) * -.45s); }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.8); } 50% { opacity: .8; transform: scale(1.3); } }

.hero-bot { position: absolute; left: var(--x); top: var(--y); width: var(--s); z-index: 2; transform: translate(-50%, -50%) translate(calc(var(--mx, 0) * var(--d) * 1px), calc(var(--my, 0) * var(--d) * 1px)); transition: transform 400ms cubic-bezier(.2, .8, .2, 1); border-radius: 24px; }
.hero-dex { z-index: 1; }
.hero-pop { display: block; animation: hero-pop 800ms cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(var(--i) * 130ms + 250ms); }
.hero-dex .hero-pop { animation-name: hero-land; animation-delay: 100ms; }
@keyframes hero-pop { from { opacity: 0; transform: scale(0) rotate(-25deg); } to { opacity: 1; transform: none; } }
@keyframes hero-land { 0% { opacity: 0; transform: translateY(-30%); } 60% { opacity: 1; transform: translateY(0) scale(1.06, .92); } 80% { transform: translateY(-3%); } 100% { opacity: 1; transform: none; } }
.hero-bot img { display: block; width: 100%; height: auto; transition: transform 400ms cubic-bezier(.3, 1.6, .5, 1), filter 300ms; -webkit-user-drag: none; }
.hero-bot:hover img, .hero-bot:focus-visible img { transform: scale(1.14) rotate(-6deg); filter: drop-shadow(0 12px 24px rgb(0 0 0 / .5)); }
.hero-dex:hover img, .hero-dex:focus-visible img { transform: scale(1.04); }
/* Naamkaartje: altijd zichtbaar, zodat je ziet dat elke bot iets is om op te klikken. Bij hover komt de rol erbij. */
.hero-label { position: absolute; left: 50%; bottom: -4px; z-index: 1; display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--cream); color: var(--navy); font-size: 12px; font-weight: 600; letter-spacing: .12em; white-space: nowrap; transform: translateX(-50%); box-shadow: 0 6px 16px -6px rgb(0 0 0 / .6); transition: background-color 200ms, transform 250ms cubic-bezier(.3, 1.5, .5, 1); pointer-events: none; }
.hero-label b { font-weight: 700; }
.hero-role { max-width: 0; overflow: hidden; opacity: 0; letter-spacing: .02em; font-weight: 500; transition: max-width 300ms ease, opacity 200ms, margin 300ms; }
.hero-bot:hover .hero-label, .hero-bot:focus-visible .hero-label { background: var(--coral); transform: translateX(-50%) scale(1.06); }
.hero-bot:hover .hero-role, .hero-bot:focus-visible .hero-role { max-width: 160px; opacity: 1; margin-left: 6px; }
.hero-bot:hover, .hero-bot:focus-visible { z-index: 3; }
.hero-dex .hero-label { font-size: 13px; }
/* Om de beurt roept een bot even: hij springt en er gaat een koraal ringetje om hem heen. */
.hero-bot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 92%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--coral); transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none; }
.hero-bot.is-calling::before { animation: bot-ring 1.4s ease-out; }
.hero-bot.is-calling img { animation: bot-hop 900ms cubic-bezier(.3, 1.5, .5, 1); }
.hero-bot.is-calling .hero-label { background: var(--coral); }
@keyframes bot-ring { 0% { opacity: .9; transform: translate(-50%, -50%) scale(.6); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.25); } }
@keyframes bot-hop { 0%, 100% { translate: 0 0; } 35% { translate: 0 -14%; } 60% { translate: 0 0; } 78% { translate: 0 -4%; } }
.hero-hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.hero-hint-dot { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.hero-hint-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--coral); animation: fab-ping 1.8s ease-out infinite; }
@media (max-width: 600px) { .hero-label { padding: 3px 7px; font-size: 10px; letter-spacing: .08em; } .hero-dex .hero-label { font-size: 11px; } }
.hero-bot:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }

/* Diensten */
.services { margin-top: 72px; scroll-margin-top: 24px; }
.services h2, .steps h2 { margin: 0 0 8px; font-size: 40px; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0 0; padding: 0; list-style: none; }
@media (max-width: 960px) { .service-list { grid-template-columns: 1fr; } }
.service { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 28px; border: 1px solid #252B40; background: #141A2E; overflow: hidden; transition: transform 400ms cubic-bezier(.2, .8, .2, 1), border-color 300ms, box-shadow 400ms; }
.service { --tone: var(--coral); }
.service.is-bots { --tone: #38BDF8; }
.service.is-it { --tone: #FACC15; }
.service::before { content: ""; position: absolute; inset: 0 0 auto; height: 220px; background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--tone) 26%, transparent), transparent 65%); opacity: .7; transition: opacity 400ms; pointer-events: none; }
.service:hover { transform: translateY(-8px); border-color: var(--tone); box-shadow: 0 34px 60px -36px var(--tone); }
.service:hover::before { opacity: 1; }
.service-visual { position: relative; height: 170px; margin: -8px 0 16px; }
.service-visual img { position: absolute; bottom: 0; height: 150px; width: auto; transition: transform 500ms cubic-bezier(.3, 1.5, .5, 1); }
.is-bots .sv-1 { left: 10%; height: 118px; transform: rotate(-8deg); }
.is-bots .sv-2 { left: 50%; height: 150px; transform: translateX(-50%); z-index: 1; }
.is-bots .sv-3 { right: 10%; height: 118px; transform: rotate(8deg); }
.is-it .sv-1, .is-cyber .sv-1 { left: 50%; transform: translateX(-50%); }
.is-cyber .sv-1 { height: 170px; bottom: -10px; }
.service:hover .is-bots .sv-1, .service.is-bots:hover .sv-1 { transform: translateY(-14px) rotate(-14deg); }
.service.is-bots:hover .sv-2 { transform: translateX(-50%) translateY(-18px); }
.service.is-bots:hover .sv-3 { transform: translateY(-14px) rotate(14deg); }
.service.is-it:hover .sv-1, .service.is-cyber:hover .sv-1 { transform: translateX(-50%) translateY(-12px) scale(1.06); }
.service-kicker { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--tone); }
.service h3 { margin: 8px 0 10px; font-size: 24px; }
.service > p { margin: 0; }
.service-points { display: grid; gap: 10px; margin: 18px 0 22px; padding: 0; list-style: none; flex: 1; }
.service-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--cream); }
.service-points svg { flex: none; margin-top: 4px; color: var(--tone); }
.service-links { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.service-link { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: var(--tone); color: var(--navy); font-weight: 600; font-size: 15px; text-decoration: none; }
.service-link svg { transition: transform 250ms; }
.service-link:hover svg { transform: translateX(4px); }
.service-sub { color: var(--muted); font-size: 15px; }
.service-sub:hover { color: var(--cream); }
.service-link:focus-visible, .service-sub:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

/* Stappen */
.steps { margin-top: 96px; }
.steps-list { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: none; }
.steps-list::before { content: ""; position: absolute; left: 32px; width: calc(66.667% + 16px); top: 31px; height: 2px; background: linear-gradient(90deg, var(--coral), #38BDF8, #22C55E); transform-origin: left; transform: scaleX(var(--line, 1)); transition: transform 1400ms cubic-bezier(.6, 0, .2, 1); }
.steps-list li { position: relative; padding-right: 12px; }
.step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); border: 2px solid var(--coral); font-size: 24px; font-weight: 600; color: var(--cream); }
.steps-list li:nth-child(2) .step-num { border-color: #38BDF8; }
.steps-list li:nth-child(3) .step-num { border-color: #22C55E; }
.steps-list h3 { margin: 18px 0 8px; font-size: 20px; }
.steps-list p { margin: 0; }
@media (max-width: 760px) {
  .steps-list { grid-template-columns: 1fr; gap: 28px; }
  .steps-list::before { left: 31px; top: 32px; bottom: 32px; width: 2px; height: auto; background: linear-gradient(180deg, var(--coral), #38BDF8, #22C55E); transform-origin: top; transform: scaleY(var(--line, 1)); }
  .steps-list li { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; }
  .steps-list li h3, .steps-list li p { grid-column: 2; }
  .steps-list li h3 { margin-top: 6px; }
  .step-num { grid-row: span 2; }
}

/* Afsluiting */
.home-cta { margin-top: 96px; padding: 56px 48px; border-radius: 32px; border: 1px solid #252B40; text-align: center; background: radial-gradient(circle at 50% 0%, rgb(255 122 122 / .2), transparent 70%), #141A2E; }
.home-cta h2 { margin: 0 0 14px; font-size: clamp(32px, 4vw, 44px); }
.home-cta p { max-width: 640px; margin-left: auto; margin-right: auto; }
.home-cta .buttons { justify-content: center; }
@media (max-width: 600px) { .home-cta { padding: 40px 22px; } }

/* Verschijnen bij scrollen (alleen als het script draait) */
.js-home [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 700ms ease, transform 800ms cubic-bezier(.2, .8, .2, 1); }
.js-home .service[data-reveal]:nth-child(2) { transition-delay: 120ms; }
.js-home .service[data-reveal]:nth-child(3) { transition-delay: 240ms; }
.js-home .steps-list li[data-reveal]:nth-child(2) { transition-delay: 250ms; }
.js-home .steps-list li[data-reveal]:nth-child(3) { transition-delay: 500ms; }
.js-home [data-reveal].is-in { opacity: 1; transform: none; }
.js-home .service[data-reveal].is-in:hover { transform: translateY(-8px); transition-delay: 0ms; }
.js-home .steps:not(.is-in) .steps-list { --line: 0; }

@media (prefers-reduced-motion: reduce) {
  .hero-text > *, .hero-pop, .hero-ring-1, .hero-ring-2, .hero-dot, .hero-scene::before, .fab::before, .hero-word::after, .hero-bot.is-calling::before, .hero-bot.is-calling img, .hero-hint-dot::after { animation: none; }
  .hero-bot { transform: translate(-50%, -50%); transition: none; }
  .hero-bot:hover img, .service:hover, .service:hover img, .fab:hover { transform: none; }
  .js-home [data-reveal] { opacity: 1; transform: none; transition: none; }
  .steps-list::before { transition: none; }
  .js-home .steps:not(.is-in) .steps-list { --line: 1; }
}

/* Prijzen: beginprijzen onder de diensten (zelfde kaarten als .service, zonder robots) */
.prices { margin-top: 72px; scroll-margin-top: 24px; }
.prices h2 { margin: 0 0 8px; font-size: 40px; }
.prices-intro { max-width: 680px; margin: 8px 0 0; color: var(--muted); font-size: 18px; }
.price-card { --tone: var(--coral); }
.price-card.is-bots { --tone: #38BDF8; }
.price-card.is-it { --tone: #FACC15; }
.price-card .service-kicker { margin-bottom: 4px; }
.price-amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 6px 0 0; }
.price-from, .price-unit { color: var(--muted); font-size: 15px; }
.price-num { font-size: 40px; font-weight: 600; line-height: 1.1; color: var(--cream); }
.price-sub { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.price-card .service-points { margin-top: 20px; margin-bottom: 0; }
.prices-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 28px; padding: 24px 28px; border-radius: 24px; border: 1px dashed #343B52; }
.prices-more p { margin: 0; max-width: 620px; }
@media (max-width: 600px) { .prices h2 { font-size: 30px; } .price-num { font-size: 34px; } .prices-more { padding: 20px; } }
