/* ============================================
   3HTS · Preview Gate
   Cinematic stealth login page
   ============================================ */

:root{
  --orange:#E8641A;
  --orange-deep:#B53F00;
  --ink:#0d1117;
  --ink-2:#161b22;
  --ease-out:cubic-bezier(.23,1,.32,1);
  --f-display:'Barlow Condensed',sans-serif;
  --f-body:'Barlow',sans-serif;
  --f-italic:'Instrument Serif',serif;
  --f-mono:'JetBrains Mono',monospace;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{width:100%;height:100%;background:var(--ink);overflow:hidden}
body{font-family:var(--f-body);color:#fff;-webkit-font-smoothing:antialiased}

/* ============================================
   GATE — full viewport cinematic backdrop
   ============================================ */
.gate{
  position:relative;
  min-height:100vh;width:100%;
  background:linear-gradient(180deg,#0d1117 0%,#161b22 50%,#0d1117 100%);
  overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  padding:40px 20px;
}

/* Floating blobs — 5 stuks */
.gate-bg{position:absolute;inset:0;pointer-events:none;z-index:0}
.gate-bg span{position:absolute;border-radius:50%;filter:blur(100px);pointer-events:none}
.gate-bg span:nth-child(1){width:620px;height:620px;background:radial-gradient(circle,rgba(232,100,26,.55),transparent 70%);top:-160px;left:-160px;animation:gtFloat1 22s ease-in-out infinite;opacity:.5}
.gate-bg span:nth-child(2){width:540px;height:540px;background:radial-gradient(circle,rgba(80,140,200,.5),transparent 70%);top:30%;right:-120px;animation:gtFloat2 26s ease-in-out infinite;opacity:.5}
.gate-bg span:nth-child(3){width:480px;height:480px;background:radial-gradient(circle,rgba(180,80,200,.4),transparent 70%);bottom:-150px;left:25%;animation:gtFloat3 20s ease-in-out infinite;opacity:.45}
.gate-bg span:nth-child(4){width:420px;height:420px;background:radial-gradient(circle,rgba(80,200,160,.32),transparent 70%);top:55%;left:55%;animation:gtFloat1 24s ease-in-out infinite 3s;opacity:.4}
.gate-bg span:nth-child(5){width:380px;height:380px;background:radial-gradient(circle,rgba(232,180,26,.35),transparent 70%);top:15%;left:40%;animation:gtFloat2 18s ease-in-out infinite 1.5s;opacity:.4}
@keyframes gtFloat1{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(160px,90px) scale(1.2)}}
@keyframes gtFloat2{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-140px,-100px) scale(1.15)}}
@keyframes gtFloat3{0%,100%{transform:translate(0,0) scale(.9)}50%{transform:translate(-200px,-120px) scale(1.1)}}

/* Mesh grid drift */
.gate-mesh{
  position:absolute;inset:0;pointer-events:none;z-index:1;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px) 0 0/80px 80px,
    linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px) 0 0/80px 80px;
  mask-image:radial-gradient(ellipse 75% 65% at 50% 50%,#000 30%,transparent 90%);
  opacity:.6;
  animation:gtMeshDrift 60s linear infinite;
}
@keyframes gtMeshDrift{0%{background-position:0 0,0 0}100%{background-position:80px 80px,80px 80px}}

/* Beams */
.gate-beam{
  position:absolute;width:1px;height:160%;
  background:linear-gradient(180deg,transparent 0%,rgba(232,100,26,.65) 50%,transparent 100%);
  z-index:1;pointer-events:none;
  transform-origin:top center;
}
.gate-beam:nth-of-type(1){left:18%;top:-30%;transform:rotate(14deg);animation:gtBeam 7s ease-in-out infinite}
.gate-beam:nth-of-type(2){left:50%;top:-30%;transform:rotate(-6deg);animation:gtBeam 9s ease-in-out infinite 1.5s}
.gate-beam:nth-of-type(3){left:82%;top:-30%;transform:rotate(-14deg);animation:gtBeam 8s ease-in-out infinite 3s}
@keyframes gtBeam{0%,100%{opacity:.15}50%{opacity:.7}}

/* Scan-line */
.gate-scan{
  position:absolute;left:0;right:0;height:2px;top:0;
  background:linear-gradient(90deg,transparent 0%,rgba(232,100,26,.5) 30%,rgba(232,100,26,.85) 50%,rgba(232,100,26,.5) 70%,transparent 100%);
  box-shadow:0 0 24px rgba(232,100,26,.6);
  pointer-events:none;z-index:2;
  animation:gtScan 8s linear infinite;
}
@keyframes gtScan{
  0%{top:0;opacity:0}
  8%{opacity:.9}
  92%{opacity:.9}
  100%{top:100%;opacity:0}
}

/* Wireframe shapes — 4 corners */
.gate-shapes{position:absolute;inset:0;pointer-events:none;z-index:1}
.gate-shapes svg{position:absolute;fill:none;stroke-width:1.2}
.gate-shapes svg:nth-child(1){top:6%;left:4%;width:180px;height:180px;stroke:rgba(232,100,26,.22);animation:gtRotate 36s linear infinite}
.gate-shapes svg:nth-child(2){top:8%;right:4%;width:160px;height:160px;stroke:rgba(80,160,255,.22);animation:gtRotate 28s linear infinite reverse}
.gate-shapes svg:nth-child(3){bottom:6%;left:4%;width:140px;height:140px;stroke:rgba(180,80,200,.22);animation:gtRotate 32s linear infinite}
.gate-shapes svg:nth-child(4){bottom:6%;right:4%;width:160px;height:160px;stroke:rgba(232,180,26,.22);animation:gtRotate 26s linear infinite reverse}
@keyframes gtRotate{to{transform:rotate(360deg)}}
@media(max-width:640px){
  .gate-shapes svg{width:90px !important;height:90px !important}
}

/* Sparkles — 12 stuks voor max twinkel */
.gate-sparkles{position:absolute;inset:0;pointer-events:none;z-index:1}
.gate-sparkles i{
  position:absolute;width:3px;height:3px;border-radius:50%;
  background:#fff;
  box-shadow:0 0 8px rgba(255,255,255,.95),0 0 16px rgba(232,100,26,.7);
  opacity:0;
}
.gate-sparkles i:nth-child(1){top:12%;left:14%;animation:gtTwinkle 3s ease-in-out infinite}
.gate-sparkles i:nth-child(2){top:18%;left:78%;animation:gtTwinkle 4s ease-in-out infinite .8s}
.gate-sparkles i:nth-child(3){top:32%;left:8%;animation:gtTwinkle 3.5s ease-in-out infinite 1.6s}
.gate-sparkles i:nth-child(4){top:28%;left:92%;animation:gtTwinkle 4.5s ease-in-out infinite 2.4s}
.gate-sparkles i:nth-child(5){top:48%;left:30%;animation:gtTwinkle 3.2s ease-in-out infinite 3.2s}
.gate-sparkles i:nth-child(6){top:52%;left:72%;animation:gtTwinkle 4s ease-in-out infinite .4s}
.gate-sparkles i:nth-child(7){bottom:32%;left:20%;animation:gtTwinkle 3.8s ease-in-out infinite 1.2s}
.gate-sparkles i:nth-child(8){bottom:24%;left:80%;animation:gtTwinkle 3.6s ease-in-out infinite 2.8s}
.gate-sparkles i:nth-child(9){bottom:14%;left:48%;animation:gtTwinkle 4.2s ease-in-out infinite 1.8s}
.gate-sparkles i:nth-child(10){top:8%;left:50%;animation:gtTwinkle 3.4s ease-in-out infinite .2s}
.gate-sparkles i:nth-child(11){bottom:8%;left:30%;animation:gtTwinkle 4s ease-in-out infinite 2.2s}
.gate-sparkles i:nth-child(12){top:65%;left:90%;animation:gtTwinkle 3.6s ease-in-out infinite 3.6s}
@keyframes gtTwinkle{
  0%,100%{opacity:0;transform:scale(.5)}
  50%{opacity:1;transform:scale(1.6)}
}

/* Corner brackets — pulserend */
.gate-corner{
  position:absolute;width:48px;height:48px;
  border:2px solid var(--orange);
  z-index:3;pointer-events:none;
  opacity:.7;
  animation:gtCornerPulse 2.8s ease-in-out infinite;
}
.gate-corner.tl{top:20px;left:20px;border-right:0;border-bottom:0}
.gate-corner.tr{top:20px;right:20px;border-left:0;border-bottom:0;animation-delay:.7s}
.gate-corner.bl{bottom:20px;left:20px;border-right:0;border-top:0;animation-delay:1.4s}
.gate-corner.br{bottom:20px;right:20px;border-left:0;border-top:0;animation-delay:2.1s}
@keyframes gtCornerPulse{
  0%,100%{opacity:.4;box-shadow:0 0 0 rgba(232,100,26,0)}
  50%{opacity:1;box-shadow:0 0 20px rgba(232,100,26,.4)}
}

/* ============================================
   INNER CONTENT
   ============================================ */
.gate-inner{
  position:relative;z-index:10;
  display:flex;flex-direction:column;align-items:center;gap:20px;
  text-align:center;
  width:100%;max-width:540px;
}

/* Status badge */
.gate-status{
  display:inline-flex;align-items:center;gap:10px;
  padding:7px 16px;
  background:rgba(232,100,26,.1);
  border:1px solid rgba(232,100,26,.3);
  border-radius:99px;
  font-family:var(--f-mono);font-size:10px;letter-spacing:.22em;
  color:#ffb07a;text-transform:uppercase;font-weight:700;
  opacity:0;transform:translateY(20px);
  animation:gtFadeUp .9s var(--ease-out) .1s both;
}
.gate-status-dot{
  width:8px;height:8px;border-radius:50%;
  background:var(--orange);
  box-shadow:0 0 0 0 rgba(232,100,26,.7);
  animation:gtStatusPulse 1.6s ease-in-out infinite;
}
@keyframes gtStatusPulse{
  0%{box-shadow:0 0 0 0 rgba(232,100,26,.6)}
  70%{box-shadow:0 0 0 10px rgba(232,100,26,0)}
  100%{box-shadow:0 0 0 0 rgba(232,100,26,0)}
}

/* Logo block — origineel 3HTS logo */
.gate-logo{
  display:flex;align-items:center;justify-content:center;
  opacity:0;transform:translateY(20px) scale(.9);
  animation:gtLogoIn 1s var(--ease-out) .25s both;
  filter:drop-shadow(0 8px 24px rgba(232,100,26,.25));
}
@keyframes gtLogoIn{to{opacity:1;transform:translateY(0) scale(1)}}
.gate-logo-img{
  height:84px;width:auto;
  display:block;
  user-select:none;-webkit-user-drag:none;
}
@media(max-width:560px){
  .gate-logo-img{height:64px}
}

/* Title */
.gate-title{
  font-family:var(--f-display);font-weight:700;
  font-size:clamp(36px,5.5vw,68px);line-height:.96;
  letter-spacing:-.02em;color:#fff;
  text-transform:uppercase;margin:8px 0 0;
  opacity:0;transform:translateY(20px);
  animation:gtFadeUp .9s var(--ease-out) .4s both;
}
.gate-title em{
  font-family:var(--f-italic);font-style:italic;font-weight:400;
  color:var(--orange);text-transform:none;letter-spacing:.005em;
}
@keyframes gtFadeUp{to{opacity:1;transform:none}}

.gate-lead{
  font-size:15px;line-height:1.55;
  color:rgba(255,255,255,.7);
  max-width:48ch;margin:0;
  opacity:0;transform:translateY(20px);
  animation:gtFadeUp .9s var(--ease-out) .55s both;
}

/* ============================================
   LOGIN CARD
   ============================================ */
.gate-card{
  position:relative;
  width:100%;
  background:linear-gradient(160deg,rgba(22,27,34,.92) 0%,rgba(13,17,23,.96) 100%);
  border:1px solid rgba(232,100,26,.18);
  padding:32px 32px 26px;
  margin-top:20px;
  display:flex;flex-direction:column;gap:20px;
  clip-path:polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,22px 100%,0 calc(100% - 22px));
  box-shadow:0 30px 80px rgba(0,0,0,.55),0 0 60px rgba(232,100,26,.08);
  opacity:0;transform:translateY(30px);
  animation:gtCardIn 1s var(--ease-out) .7s both;
  overflow:hidden;
}
@keyframes gtCardIn{to{opacity:1;transform:none}}
.gate-card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:2px;
  background:linear-gradient(90deg,transparent 0%,rgba(232,100,26,.8) 50%,transparent 100%);
  box-shadow:0 0 16px rgba(232,100,26,.6);
  animation:gtCardLinePulse 2.4s ease-in-out infinite 1.5s;
}
@keyframes gtCardLinePulse{0%,100%{opacity:.6}50%{opacity:1}}

/* Card background decoratie */
.gate-card-bg{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden}
.gate-card-bg span{position:absolute;border-radius:50%;filter:blur(40px);opacity:.35}
.gate-card-bg span:nth-child(1){width:200px;height:200px;background:radial-gradient(circle,rgba(232,100,26,.5),transparent 70%);top:-60px;left:-60px;animation:gtCardBg 14s ease-in-out infinite}
.gate-card-bg span:nth-child(2){width:180px;height:180px;background:radial-gradient(circle,rgba(80,140,200,.35),transparent 70%);bottom:-60px;right:-60px;animation:gtCardBg 18s ease-in-out infinite 2s}
@keyframes gtCardBg{0%,100%{transform:translate(0,0)}50%{transform:translate(40px,30px)}}

/* Shake animation on error */
.gate-card.is-error{
  animation:gtCardIn 1s var(--ease-out) .7s both,gtShake .55s var(--ease-out) 1.1s;
  border-color:rgba(255,80,80,.4);
}
@keyframes gtShake{
  0%,100%{transform:translateX(0)}
  20%,60%{transform:translateX(-10px)}
  40%,80%{transform:translateX(10px)}
}

/* Card head */
.gate-card-head{
  position:relative;z-index:1;
  display:flex;flex-direction:column;gap:8px;
  text-align:left;
}
.gate-card-kicker{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--f-mono);font-size:10px;letter-spacing:.22em;
  color:#ffb07a;text-transform:uppercase;font-weight:700;
}
.gate-card-kicker-dot{
  width:6px;height:6px;border-radius:50%;
  background:var(--orange);
  box-shadow:0 0 12px rgba(232,100,26,.8);
  animation:gtStatusPulse 1.6s ease-in-out infinite;
}
.gate-card-title{
  font-family:var(--f-display);font-weight:700;
  font-size:clamp(22px,2.4vw,30px);line-height:1.05;
  letter-spacing:-.015em;color:#fff;
  text-transform:uppercase;margin:0;
}
.gate-card-title em{
  font-family:var(--f-italic);font-style:italic;font-weight:400;
  color:var(--orange);text-transform:none;
}

/* Error message */
.gate-card-error{
  position:relative;z-index:1;
  display:flex;align-items:center;gap:10px;
  padding:12px 14px;
  background:rgba(255,80,80,.08);
  border:1px solid rgba(255,80,80,.3);
  border-left:3px solid #ff5050;
  font-size:13.5px;color:#ff9999;
  font-family:var(--f-body);
  clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));
  opacity:0;
  animation:gtFadeIn .35s var(--ease-out) 1.4s both;
}
.gate-card-error::before{
  content:"!";flex-shrink:0;
  width:20px;height:20px;border-radius:50%;
  background:#ff5050;color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-weight:700;font-size:13px;font-family:var(--f-display);
}
@keyframes gtFadeIn{to{opacity:1}}

/* Field */
.gate-field{
  position:relative;z-index:1;
  display:flex;flex-direction:column;gap:8px;
  text-align:left;
}
.gate-field label{
  font-family:var(--f-mono);font-size:10px;letter-spacing:.18em;
  color:rgba(255,255,255,.55);text-transform:uppercase;font-weight:600;
}
.gate-field-wrap{position:relative}
.gate-field input{
  width:100%;padding:16px 50px 16px 18px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;font-family:var(--f-body);font-size:17px;
  letter-spacing:.04em;outline:none;
  border-radius:0;
  transition:border-color .25s var(--ease-out),background .25s var(--ease-out),box-shadow .25s var(--ease-out);
  box-sizing:border-box;
}
.gate-field input::placeholder{color:rgba(255,255,255,.25);letter-spacing:.1em}
.gate-field input:focus{
  border-color:rgba(232,100,26,.7);
  background:rgba(255,255,255,.07);
  box-shadow:0 0 0 3px rgba(232,100,26,.15),0 0 30px rgba(232,100,26,.18);
}
.gate-field-toggle{
  position:absolute;right:10px;top:50%;transform:translateY(-50%);
  width:36px;height:36px;
  background:transparent;border:0;cursor:pointer;color:rgba(255,255,255,.4);
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
  transition:color .2s,background .2s;
}
.gate-field-toggle:hover{color:var(--orange);background:rgba(232,100,26,.1)}
.gate-field-toggle.is-visible{color:var(--orange)}
.gate-field-toggle svg{width:20px;height:20px}

/* Submit button */
.gate-submit{
  position:relative;z-index:1;
  display:flex;align-items:center;justify-content:center;gap:12px;
  padding:18px 32px;
  background:linear-gradient(135deg,#E8641A 0%,#B53F00 100%);
  color:#fff;
  font-family:var(--f-mono);font-size:13px;letter-spacing:.18em;
  text-transform:uppercase;font-weight:700;cursor:pointer;
  border:0;outline:none;
  clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px));
  transition:transform .3s var(--ease-out),box-shadow .3s var(--ease-out),filter .25s var(--ease-out);
  box-shadow:0 16px 40px rgba(232,100,26,.4),0 0 0 0 rgba(232,100,26,.6);
  overflow:hidden;
}
.gate-submit::before{
  content:"";position:absolute;top:0;left:-100%;
  width:100%;height:100%;
  background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.2) 50%,transparent 100%);
  transition:left .8s var(--ease-out);
}
.gate-submit:hover{transform:translateY(-3px);box-shadow:0 22px 50px rgba(232,100,26,.55);filter:brightness(1.1)}
.gate-submit:hover::before{left:100%}
.gate-submit:active{transform:translateY(0)}
.gate-submit-arrow{transition:transform .3s var(--ease-out);font-size:18px;line-height:1}
.gate-submit:hover .gate-submit-arrow{transform:translateX(6px)}

.gate-submit.is-loading{
  pointer-events:none;
  background:linear-gradient(135deg,rgba(232,100,26,.7) 0%,rgba(181,63,0,.7) 100%);
}
.gate-submit.is-loading .gate-submit-txt::after{
  content:"";
  display:inline-block;width:14px;height:14px;
  border:2px solid rgba(255,255,255,.4);
  border-top-color:#fff;border-radius:50%;
  margin-left:10px;vertical-align:-2px;
  animation:gtSpin .8s linear infinite;
}
@keyframes gtSpin{to{transform:rotate(360deg)}}

/* Card note */
.gate-card-note{
  position:relative;z-index:1;
  font-size:12px;line-height:1.5;
  color:rgba(255,255,255,.5);text-align:center;
  margin:0;
}
.gate-card-note a{
  color:#ffb07a;text-decoration:none;
  border-bottom:1px solid rgba(255,176,122,.3);
  transition:color .2s,border-color .2s;
}
.gate-card-note a:hover{color:var(--orange);border-color:var(--orange)}

/* Info text (subtitle binnen card) */
.gate-card-info{
  position:relative;z-index:1;
  margin:-4px 0 0;
  font-size:14px;line-height:1.55;
  color:rgba(255,255,255,.6);
  text-align:left;
}

/* Foot links (terug naar inloggen, etc.) */
.gate-card-foot{
  position:relative;z-index:1;
  margin-top:4px;
  display:flex;flex-direction:column;gap:8px;
  align-items:center;text-align:center;
  font-size:13px;
}
.gate-card-foot a{
  color:rgba(255,255,255,.55);text-decoration:none;
  padding:6px 12px;border-radius:99px;
  transition:color .2s,background .2s;
  letter-spacing:.02em;
}
.gate-card-foot a:hover{
  color:#fff;background:rgba(232,100,26,.1);
}
.gate-card-foot a.gate-card-foot-cta{
  color:var(--orange);font-weight:600;
  border:1px solid rgba(232,100,26,.3);
  padding:10px 20px;
}
.gate-card-foot a.gate-card-foot-cta:hover{
  background:rgba(232,100,26,.12);
  color:#ffb07a;border-color:var(--orange);
}

/* Success state (mail verstuurd / wachtwoord aangepast) */
.gate-card-success{
  position:relative;z-index:1;
  display:flex;flex-direction:column;align-items:center;
  gap:14px;text-align:center;
}
.gate-success-icon{
  width:64px;height:64px;border-radius:50%;
  background:linear-gradient(135deg,rgba(47,182,115,.25) 0%,rgba(31,122,50,.25) 100%);
  border:1.5px solid rgba(47,182,115,.6);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 0 32px rgba(47,182,115,.3);
  animation:gtSuccessPop .55s var(--ease-out) both;
}
.gate-success-icon svg{
  width:30px;height:30px;
  stroke:#5cd591;fill:none;stroke-width:3;
  animation:gtCheckDraw .5s ease-out .25s both;
  stroke-dasharray:30;stroke-dashoffset:30;
}
@keyframes gtSuccessPop{
  0%{transform:scale(.3);opacity:0}
  60%{transform:scale(1.1);opacity:1}
  100%{transform:scale(1);opacity:1}
}
@keyframes gtCheckDraw{
  to{stroke-dashoffset:0}
}
.gate-card-success .gate-card-title{text-align:center}

/* Big error block (reset-link invalid) */
.gate-card-error-big{
  font-size:15px;line-height:1.5;
  padding:16px 18px;
  font-weight:500;
}

/* ============================================
   FOOTER MICRO
   ============================================ */
.gate-footer{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center;
  margin-top:24px;
  font-family:var(--f-mono);font-size:10px;letter-spacing:.18em;
  color:rgba(255,255,255,.35);text-transform:uppercase;font-weight:600;
  opacity:0;
  animation:gtFadeIn 1s var(--ease-out) 1.2s both;
}
.gate-footer-sep{opacity:.4}

/* ============================================
   MOBILE
   ============================================ */
@media(max-width:560px){
  .gate{padding:30px 16px}
  .gate-card{padding:26px 22px 22px}
  .gate-corner{width:32px;height:32px}
  .gate-corner.tl,.gate-corner.tr{top:14px}
  .gate-corner.bl,.gate-corner.br{bottom:14px}
  .gate-corner.tl,.gate-corner.bl{left:14px}
  .gate-corner.tr,.gate-corner.br{right:14px}
  .gate-footer{font-size:9px}
}

/* ============================================
   HOLDING · binnenkort online
   Video vult het scherm, tekst staat gecentreerd,
   taalknop rechtsboven, inlogknop rechtsonder.
   ============================================ */

.gate.is-hold{
  display:grid;place-items:center;
  padding:clamp(60px,8vw,90px) clamp(22px,5vw,60px);
}
.gate.is-hold .gate-beam,
.gate.is-hold .gate-scan,
.gate.is-hold .gate-mesh,
.gate.is-hold .gate-shapes{display:none}
.gate.is-hold .gate-corner.tr{display:none}   /* maakt plaats voor de taalknop */
.gate.is-hold .gate-bg{opacity:.45}

/* ---------- filmlaag ---------- */
.hold-film{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.hold-film-vid{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  filter:saturate(.94) contrast(1.06) brightness(.98);
  opacity:0;animation:hFade 2.2s var(--ease-out) .1s forwards;
}
.hold-film-scrim{
  position:absolute;inset:0;
  background:
    radial-gradient(78% 62% at 50% 50%,rgba(13,17,23,.86) 0%,rgba(13,17,23,.60) 46%,rgba(13,17,23,.24) 78%,rgba(13,17,23,.34) 100%),
    linear-gradient(180deg,rgba(13,17,23,.72) 0%,rgba(13,17,23,.28) 26%,rgba(13,17,23,.30) 70%,rgba(13,17,23,.80) 100%);
}

@keyframes hFade{to{opacity:1}}
@keyframes hOp{to{opacity:1;transform:none}}

/* ---------- middenkolom ---------- */
.hold-mid{
  position:relative;z-index:10;
  display:flex;flex-direction:column;align-items:center;text-align:center;
  gap:20px;width:100%;max-width:660px;
}
.hold-mid .gate-status{opacity:0;transform:translateY(14px);animation:hOp .8s var(--ease-out) .5s both}
.hold-mid .gate-logo{opacity:0;transform:translateY(16px);animation:hOp .9s var(--ease-out) .68s both}
.hold-mid .gate-logo img{filter:drop-shadow(0 3px 16px rgba(6,9,13,.6))}
.hold-mid .gate-title{
  margin:2px 0 0;opacity:0;transform:translateY(20px);
  animation:hOp .9s var(--ease-out) .9s both;
  text-shadow:0 2px 22px rgba(6,9,13,.7);
}
.hold-mid .gate-lead{
  max-width:52ch;color:rgba(255,255,255,.82);
  opacity:0;transform:translateY(18px);animation:hOp .9s var(--ease-out) 1.1s both;
  text-shadow:0 1px 14px rgba(6,9,13,.75);
}
.hold-mid .gate-footer{margin-top:8px;opacity:0;animation:hFade 1s var(--ease-out) 1.6s forwards}

.hold-contact{
  display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:4px;
  opacity:0;transform:translateY(16px);animation:hOp .9s var(--ease-out) 1.3s both;
}
.hold-contact a{
  display:inline-flex;align-items:center;gap:9px;
  font-size:14.5px;color:rgba(255,255,255,.9);text-decoration:none;
  padding:10px 17px;
  border:1px solid rgba(232,100,26,.3);background:rgba(13,17,23,.5);
  backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
  clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px));
  transition:color .25s var(--ease-out),border-color .25s var(--ease-out),background .25s var(--ease-out),transform .25s var(--ease-out);
}
.hold-contact a svg{width:15px;height:15px;flex:none;color:var(--orange)}
.hold-contact a:hover,.hold-contact a:focus-visible{
  color:#fff;border-color:rgba(232,100,26,.7);background:rgba(232,100,26,.16);transform:translateY(-2px);
}

/* ---------- taalknop rechtsboven ---------- */
.hold-taal{
  position:fixed;top:24px;right:24px;z-index:60;
  display:inline-flex;align-items:center;gap:2px;padding:4px;
  background:rgba(13,17,23,.78);border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px));
  opacity:0;animation:hFade .9s var(--ease-out) 1.75s forwards;
}
.hold-taal button{
  display:inline-flex;align-items:center;gap:7px;
  padding:7px 12px;border:0;background:transparent;cursor:pointer;
  font-family:var(--f-mono);font-size:11px;font-weight:500;letter-spacing:.14em;
  color:rgba(255,255,255,.6);text-transform:uppercase;
  transition:color .2s var(--ease-out),background .2s var(--ease-out);
}
.hold-taal button:hover{color:#fff;background:rgba(255,255,255,.07)}
.hold-taal button:focus-visible{outline:2px solid var(--orange);outline-offset:-2px}
.hold-taal button[aria-pressed="true"]{color:#fff;background:rgba(232,100,26,.22)}
.hold-taal svg{width:19px;height:13px;flex:none;display:block;border:1px solid rgba(255,255,255,.22)}
.hold-taal button[aria-pressed="true"] svg{border-color:rgba(255,255,255,.5)}

/* tekst wisselen zonder de pagina te herladen */
.t-en{display:none}
html[data-taal="en"] .t-nl{display:none}
html[data-taal="en"] .t-en{display:inline}

/* ---------- knop rechtsonder ---------- */
.hold-knop{
  position:fixed;right:24px;bottom:24px;z-index:60;
  display:inline-flex;align-items:center;gap:9px;
  padding:11px 17px 11px 14px;
  font-family:var(--f-mono);font-size:11px;font-weight:500;
  letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.75);
  background:rgba(13,17,23,.82);border:1px solid rgba(232,100,26,.3);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));
  cursor:pointer;opacity:0;animation:hFade 1s var(--ease-out) 1.9s forwards;
  transition:color .25s var(--ease-out),border-color .25s var(--ease-out),background .25s var(--ease-out);
}
.hold-knop:hover,.hold-knop:focus-visible{color:#fff;border-color:rgba(232,100,26,.7);background:rgba(22,27,34,.94)}
.hold-knop:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.hold-knop svg{width:16px;height:16px;flex:none;color:var(--orange)}
.hold-knop-kruis{display:none}
.hold-knop.is-open .hold-knop-slot{display:none}
.hold-knop.is-open .hold-knop-kruis{display:block}
.hold-knop-txt{line-height:1}

.hold-paneel{
  position:fixed;right:24px;bottom:80px;z-index:59;
  width:min(370px,calc(100vw - 48px));
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(14px) scale(.98);
  transition:opacity .3s var(--ease-out),transform .3s var(--ease-out),visibility .3s;
}
.hold-paneel.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.hold-paneel .gate-card{margin-top:0;padding:26px 26px 22px;opacity:1;transform:none;animation:none}

/* ---------- smal scherm ---------- */
@media(max-width:640px){
  .gate.is-hold{padding:76px 18px 92px}
  .hold-taal{top:16px;right:16px}
  .hold-taal button{padding:6px 10px;font-size:10px;gap:6px}
  .hold-knop{right:16px;bottom:16px}
  .hold-paneel{right:16px;left:16px;bottom:70px;width:auto}
  .hold-mid{gap:16px}
  .hold-mid .gate-lead{max-width:38ch;font-size:14.5px}
  .hold-contact{gap:9px;width:100%}
  .hold-contact a{flex:1 1 auto;justify-content:center}
}

@media(prefers-reduced-motion:reduce){
  .hold-film-vid,.hold-taal,.hold-knop,.hold-contact,
  .hold-mid .gate-status,.hold-mid .gate-logo,
  .hold-mid .gate-title,.hold-mid .gate-lead,.hold-mid .gate-footer{
    animation:none;opacity:1;transform:none;
  }
}

/* ---------- locatieknop + kaartpaneel linksonder ---------- */
.hold-kaart-knop{left:24px;right:auto;animation-delay:2.05s}
.hold-kaart-paneel{left:24px;right:auto;bottom:80px;width:min(400px,calc(100vw - 48px))}
.hold-kaart-paneel .gate-card{gap:14px}

.kaart-embed{
  position:relative;z-index:1;width:100%;aspect-ratio:4/3;overflow:hidden;
  border:1px solid rgba(232,100,26,.25);
  clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px));
  background:#0d1117;
}
.kaart-embed::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  box-shadow:inset 0 0 40px rgba(6,9,13,.55);
}
.kaart-embed iframe{
  position:absolute;inset:0;width:100%;height:100%;border:0;display:block;
  filter:grayscale(1) invert(.92) hue-rotate(180deg) contrast(.88) opacity(.94);
}

.kaart-meta{position:relative;z-index:1;display:flex;flex-direction:column;gap:7px;text-align:left}
.kaart-meta-rij{display:flex;align-items:center;gap:9px;font-size:13px;color:rgba(255,255,255,.72)}
.kaart-meta-rij svg{width:14px;height:14px;flex:none;color:var(--orange)}

a.kaart-route{text-decoration:none;padding:15px 26px}

@media(max-width:640px){
  .hold-kaart-knop{left:16px;bottom:16px}
  .hold-kaart-paneel{left:16px;right:16px;bottom:70px;width:auto}
}
