/* Vefur: extra beweging (zie js/fx.js) */

/* ---------- Laptop die openklapt ---------- */
.laptop { display: none; position: relative; perspective: 2400px; perspective-origin: 50% -60%; }
@media (min-width: 960px) { .laptop { display: block; } }
.lt-lid {
  position: relative; transform-origin: 50% 100%; transform-style: preserve-3d;
  transform: rotateX(var(--lid, 0deg));
  padding: 14px 14px 18px; border-radius: 20px 20px 4px 4px;
  background: linear-gradient(180deg, #0b0f1d, #05070f);
  border: 1px solid rgba(160, 180, 230, .16);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .06);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  will-change: transform;
}
/* Achterkant van het scherm, zichtbaar zolang de laptop dicht is */
.lt-lid::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(61, 245, 224, .5) 0 9px, rgba(61, 245, 224, .12) 10px 26px, transparent 60px),
    linear-gradient(165deg, #2c3557, #141a31 55%, #0c1022);
  transform: translateZ(-1px) rotateX(180deg);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.lt-cam {
  position: absolute; top: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
  background: #1c2440; box-shadow: 0 0 0 1px rgba(160, 180, 230, .12);
}
.laptop .browser {
  border-radius: 6px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 0 0 1px rgba(61, 245, 224, .05);
}
.laptop .browser-screen { filter: brightness(var(--screen, 1)); }
.lt-base {
  position: relative; z-index: 1; height: 16px; margin: 0 -5%;
  border-radius: 2px 2px 16px 16px / 2px 2px 12px 12px;
  background: linear-gradient(180deg, #3a4468 0, #1c2340 30%, #0d1124 100%);
  box-shadow: 0 24px 40px -14px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.lt-notch {
  position: absolute; top: 0; left: 50%; width: 15%; height: 6px; transform: translateX(-50%);
  border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #0b0f1d, #1a2140);
}
.laptop.is-open .lt-lid { box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .85), 0 0 80px -30px rgba(61, 245, 224, .35), inset 0 1px 0 rgba(255, 255, 255, .06); transition: box-shadow 1s ease; }

/* Voorbeeldsite in de laptop is langer en scrolt vanzelf */
.laptop .m-site { bottom: auto; min-height: 100%; }
.laptop .m-site > .m-hero { flex: none; min-height: 40cqi; }
.lt-more { display: grid; gap: 4cqi; margin-top: 1cqi; }
.lt-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqi; }
.lt-shot { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--m-img-radius, 1.6cqi); background: var(--m-soft); }
.lt-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.5); }
.lt-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 4cqi; align-items: start; }
.lt-col { display: grid; gap: 1.4cqi; }
.lt-k { margin: 0; font-size: 1.1cqi; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.lt-h { margin: 0; font-family: var(--m-display); font-weight: 700; font-size: 3cqi; line-height: 1.1; letter-spacing: -.02em; }
.lt-info { display: grid; gap: 1cqi; padding: 2.4cqi; border-radius: 1.2cqi; background: var(--m-soft); }
.lt-line { display: flex; justify-content: space-between; gap: 2cqi; margin: 0; font-size: 1.3cqi; padding: .6cqi 0; border-bottom: 1px solid color-mix(in srgb, var(--m-ink) 12%, transparent); }
.lt-info .m-btn { justify-self: start; margin-top: 1cqi; }
.lt-foot {
  display: flex; justify-content: space-between; margin: 1cqi -4cqi -2.6cqi; padding: 2.4cqi 4cqi;
  font-size: 1.2cqi; background: var(--m-ink); color: var(--m-bg);
}
.m-site.lt-run { animation: lt-scroll 12s cubic-bezier(.6, 0, .3, 1) infinite; will-change: transform; }
@keyframes lt-scroll {
  0%, 12% { transform: translateY(0); }
  48%, 62% { transform: translateY(calc(-1 * var(--lt-dist, 0px))); }
  92%, 100% { transform: translateY(0); }
}
.stage .browser:hover .m-site.lt-run { animation-play-state: paused; }

/* ---------- Gloeiende cursor ---------- */
.fx-dot, .fx-halo {
  position: fixed; top: 0; left: 0; z-index: 2147483000; pointer-events: none; border-radius: 50%;
  opacity: 0; transition: opacity .3s ease, scale .35s cubic-bezier(.2, .8, .2, 1), background-color .3s ease, border-color .3s ease;
  will-change: transform;
}
.fx-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #3DF5E0; box-shadow: 0 0 10px 2px rgba(61, 245, 224, .7); }
.fx-halo {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(61, 245, 224, .45); background: rgba(61, 245, 224, .03);
  box-shadow: 0 0 24px -6px rgba(61, 245, 224, .45);
}
html.fx-on .fx-dot { opacity: 1; }
html.fx-on .fx-halo { opacity: .9; }
html.fx-hover .fx-halo { scale: 1.75; background: rgba(61, 245, 224, .08); border-color: rgba(61, 245, 224, .7); }
html.fx-hover .fx-dot { scale: .6; }
html.fx-press .fx-halo { scale: 1.2; }
html.fx-text .fx-halo, html.fx-text .fx-dot { opacity: 0; }
html.ev-lock .fx-halo { opacity: .5; }

/* ---------- Glazen panelen die licht vangen ---------- */
.fx-rel { position: relative; }
.fx-glare {
  position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .45s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(150, 215, 255, .13), rgba(61, 245, 224, .04) 30%, transparent 55%);
  mix-blend-mode: screen;
}
.fx-glare::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(61, 245, 224, .75), rgba(150, 196, 244, .25) 40%, transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.fx-lit > .fx-glare { opacity: 1; }
.fx-big > .fx-glare { background: radial-gradient(760px circle at var(--mx, 50%) var(--my, 50%), rgba(150, 215, 255, .07), transparent 55%); }
.fx-big > .fx-glare::after { background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(61, 245, 224, .5), transparent 60%); }
.own-card, .person, .slot, .wc-card, .mini-card { will-change: rotate; }

/* ---------- Realistischere 3D-apparaten ---------- */
/* Laptop: aluminium rand, zwart glazen scherm, scharnier en een toetsenbord in perspectief */
.lt-lid {
  padding: 12px 12px 16px; border-radius: 18px 18px 6px 6px;
  border: 2px solid transparent;
  background:
    linear-gradient(#04060c, #04060c) padding-box,
    linear-gradient(160deg, #8a94b8 0%, #3a4366 22%, #1a2038 60%, #0d1122 100%) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 50px 80px -50px rgba(0, 0, 0, .9);
}
.laptop.is-open .lt-lid { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 50px 80px -50px rgba(0, 0, 0, .9), 0 0 90px -30px rgba(61, 245, 224, .3); }
.lt-lid::after { inset: -2px; }
.lt-cam { top: 4px; background: #111628; box-shadow: 0 0 0 1px rgba(160, 180, 230, .14), inset 1px 1px 1px rgba(120, 160, 255, .35); }
.lt-glass {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .11) 0%, rgba(255, 255, 255, .035) 26%, transparent 42%, transparent 72%, rgba(255, 255, 255, .04) 100%);
  background-size: 170% 100%; background-position: calc(40% + var(--px, 0) * 22%) 0;
  mix-blend-mode: screen;
}
.lt-base {
  height: 0; padding-bottom: 7%; margin: 0; border-radius: 0;
  background: none; box-shadow: none; transform-style: preserve-3d;
}
.lt-hinge {
  position: absolute; top: -5px; left: 7%; right: 7%; height: 9px; border-radius: 0 0 6px 6px;
  background: linear-gradient(180deg, #070a14, #2a3150 60%, #141a30);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .6);
}
.lt-deck {
  position: absolute; top: 0; left: 1.5%; width: 97%; aspect-ratio: 1.75;
  transform-origin: 50% 0; transform: rotateX(84deg); transform-style: preserve-3d;
  border-radius: 6px 6px 18px 18px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .10), transparent 60%),
    linear-gradient(180deg, #3b4568, #262d4a 45%, #1b2139);
  box-shadow: inset 0 0 0 1px rgba(160, 180, 230, .2), 0 30px 70px 14px rgba(0, 0, 0, .75);
}
.lt-keys {
  position: absolute; left: 10%; right: 10%; top: 8%; height: 48%; border-radius: 4px;
  background:
    repeating-linear-gradient(90deg, #39436a 0 3px, transparent 3px calc(100% / 15)),
    repeating-linear-gradient(0deg, #39436a 0 3px, transparent 3px calc(100% / 6)),
    #080b17;
  box-shadow: inset 0 0 0 3px #39436a;
}
.lt-pad {
  position: absolute; left: 33%; width: 34%; top: 60%; height: 32%; border-radius: 10px;
  background: linear-gradient(180deg, #2e3759, #222a47);
  box-shadow: inset 0 0 0 1px rgba(160, 180, 230, .22);
}
.lt-lip {
  position: absolute; left: 1%; right: 1%; top: 100%; height: 10px;
  transform-origin: 50% 0; transform: rotateX(-90deg);
  border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #232a48, #0a0d1b);
}
.lt-lip .lt-notch { height: 4px; background: #0a0d1b; }

/* Telefoon: titanium rand, dynamic island, knoppen, glas en een zichtbare dikte */
.phone.ph3d {
  border: 2px solid transparent; border-radius: 34px; padding: 7px;
  background:
    linear-gradient(#020306, #020306) padding-box,
    linear-gradient(145deg, #a3acc8 0%, #4a5272 18%, #252b45 50%, #59617f 82%, #c3cadf 100%) border-box;
  box-shadow:
    1px 1px 0 #3a4262, 2px 2px 0 #2f3654, 3px 3px 0 #252b46, 4px 4px 0 #1c2139, 5px 5px 0 #161a2e,
    30px 40px 60px -10px rgba(0, 0, 0, .75), 0 0 60px -14px rgba(61, 245, 224, .18);
}
.phone.ph3d .phone-screen { border-radius: 26px; }
.stage .phone.ph3d:hover, .stage .phone.ph3d:focus-visible {
  border-color: transparent;
  box-shadow:
    1px 1px 0 #3a4262, 2px 2px 0 #2f3654, 3px 3px 0 #252b46, 4px 4px 0 #1c2139, 5px 5px 0 #161a2e,
    30px 40px 60px -10px rgba(0, 0, 0, .75), 0 0 0 1px rgba(61, 245, 224, .45), 0 0 60px -8px rgba(61, 245, 224, .5);
}
.ph-island {
  position: absolute; z-index: 5; top: 13px; left: 50%; width: 30%; height: 3.6%; min-height: 9px; max-height: 22px;
  transform: translateX(-50%); border-radius: 999px; background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.ph-btn { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #6b7394, #2a3050); }
.ph-power { right: -5px; top: 27%; height: 12%; border-radius: 0 2px 2px 0; }
.ph-action { left: -5px; top: 17%; height: 4%; border-radius: 2px 0 0 2px; }
.ph-vol1 { left: -5px; top: 24%; height: 7.5%; border-radius: 2px 0 0 2px; }
.ph-vol2 { left: -5px; top: 33%; height: 7.5%; border-radius: 2px 0 0 2px; }
.ph-glass {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, .04) 30%, transparent 46%);
  background-size: 170% 100%; background-position: calc(30% + var(--px, 0) * 25%) 0;
  mix-blend-mode: screen;
}
@media (max-width: 959px) {
  .phone.ph3d { position: relative; }
}
@media (min-width: 960px) {
  .stage.dev3d { padding-bottom: 4%; }
  .laptop {
    perspective: none; transform-style: preserve-3d; transform-origin: 50% -30%;
    transform: perspective(3400px) rotateX(calc(2deg - var(--py, 0) * 3deg)) rotateY(calc(9deg + var(--px, 0) * 5deg));
  }
  .stage .phone.ph3d {
    border-radius: 30px; padding: 6px;
    transform-origin: 50% 70%;
    transform: perspective(1400px) rotateX(calc(4deg - var(--py, 0) * 4deg)) rotateY(calc(-18deg + var(--px, 0) * 7deg)) rotateZ(1.5deg);
  }
  .stage .phone.ph3d .phone-screen { border-radius: 23px; }
  .stage .phone.ph3d .ph-island { top: 11px; }
}
/* ---------- Inzoomen op laptop of telefoon ---------- */
html.dz-on body { pointer-events: none; }
html.dz-on .examples { position: relative; z-index: 60; overflow: visible !important; }
html.dz-on .stage { opacity: 1 !important; will-change: transform; }
html.dz-on .laptop, html.dz-on .stage .phone { transition: transform 1s cubic-bezier(.65, 0, .2, 1), opacity .45s ease; }
html.dz-laptop .laptop { transform: perspective(3400px) rotateX(0deg) rotateY(0deg); }
html.dz-phone .stage .phone.ph3d { transform: perspective(1400px) rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
html.dz-laptop .stage .phone, html.dz-phone .laptop { opacity: 0; }
html.dz-on .examples .section-head, html.dz-on .ex-hint, html.dz-on .site-header, html.dz-on .ev-pill { opacity: 0 !important; transition: opacity .45s ease; }
@media (prefers-reduced-motion: reduce) {
  .m-site.lt-run { animation: none; }
  .fx-dot, .fx-halo, .fx-glare { display: none; }
}
@media print {
  .fx-dot, .fx-halo, .fx-glare { display: none !important; }
}
/* ---------- Prestaties: geen live onscherpte over de bewegende ruimte ---------- */
.site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(6, 10, 18, .93); }
.has-space .marquee { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(8, 12, 24, .85); }
.vfeats li { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(4, 8, 18, .8); }
.vcta { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgba(10, 16, 30, .55); }
.menu-toggle { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(10, 14, 26, .65); }
@media (min-width: 760px) {
  .has-space .section:not(.audience):not(.first-clients) {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: linear-gradient(160deg, rgba(14, 19, 38, .9), rgba(6, 9, 20, .93));
  }
  .has-space .site-footer { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(4, 7, 16, .94); }
}
.fx-glare { mix-blend-mode: normal; }
.own-card, .person, .slot, .wc-card, .mini-card { will-change: auto; }

/* Soepel scrollen: blokken komen in beeld zonder vervaging (blur is per beeld zwaar om te berekenen) */
html.motion [data-fade], html.motion [data-stagger] > *, html.motion .services:not(.is-pinned) .svc { filter: none; }
