
:root {
  --bg: #050505;
  --text: #e8e5df;
  --red: #d10a0a;
  --red-bright: #f11b1b;
  --border: rgba(255, 255, 255, 0.28);
  --shadow-red: 0 0 12px rgba(209, 10, 10, 0.35), 0 0 34px rgba(209, 10, 10, 0.18);
  --font-condensed: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --font-display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.055), transparent 26%),
    radial-gradient(circle at 50% 45%, rgba(100, 0, 0, 0.08), transparent 42%),
    linear-gradient(180deg, #050505 0%, #020202 100%);
  font-family: var(--font-condensed);
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }
button, input { font: inherit; }

.noise, .scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
}

.noise {
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.08) 0 0.7px, transparent 0.8px),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,0.06) 0 0.6px, transparent 0.7px),
    radial-gradient(circle at 40% 55%, rgba(255,255,255,0.05) 0 0.5px, transparent 0.6px);
  background-size: 7px 7px, 9px 9px, 5px 5px;
  mix-blend-mode: soft-light;
}

.scanlines {
  opacity: 0.055;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(255,255,255,0.11) 4px);
}

.page-shell {
  position: relative;
  z-index: 2;
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 72px 22px 84px;
}

.hero { width: min(100%, 760px); margin: 0 auto; text-align: center; }

.eyebrow, .subtitle, .intro, .submit-note, .footer-copy, .system-panel p,
.system-panel span, .processing-kicker, .processing-status, .result-kicker, .result-copy {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow { margin: 0 0 22px; color: #c7c4bf; font-size: clamp(0.95rem, 2.1vw, 1.35rem); font-weight: 700; }
.eyebrow span, .subtitle span, .submit-note span, .system-panel p, .system-panel span { color: var(--red-bright); }

.title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 12vw, 8.7rem);
  line-height: 0.86;
  letter-spacing: 0.012em;
  color: #e7e4de;
  text-transform: uppercase;
  text-shadow: 1px 0 rgba(255,255,255,0.12), -1px 0 rgba(255,255,255,0.05);
  transform: scaleX(0.92);
}

.title span { color: var(--red); text-shadow: var(--shadow-red); }

.subtitle { margin: 24px 0 0; color: #c8c4be; font-size: clamp(0.82rem, 1.8vw, 1.05rem); font-weight: 700; line-height: 1.6; }

.divider {
  width: min(92%, 620px);
  height: 1px;
  margin: 38px auto 34px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.24), transparent);
}

.intro { max-width: 620px; margin: 0 auto 34px; color: #aaa6a1; font-size: clamp(0.83rem, 1.8vw, 1.05rem); line-height: 1.65; }
.intro strong { color: var(--red-bright); }

.mol-form { width: min(100%, 620px); margin: 0 auto; text-align: left; }
.field-group { margin-bottom: 23px; }

.field-group label {
  display: block;
  margin: 0 0 9px;
  color: var(--red-bright);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.field-group input {
  width: 100%;
  height: 62px;
  border: 1px solid var(--border);
  border-radius: 2px;
  outline: none;
  padding: 0 18px;
  color: var(--text);
  background: rgba(8, 8, 8, 0.72);
  font-size: 1rem;
  letter-spacing: 0.025em;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field-group input::placeholder { color: rgba(232,229,223,0.42); }

.field-group input:focus {
  border-color: rgba(241,27,27,0.92);
  background: rgba(15,4,4,0.88);
  box-shadow: 0 0 0 2px rgba(241,27,27,0.1), var(--shadow-red);
}

.field-group input.is-invalid { border-color: var(--red-bright); }

.field-error {
  min-height: 17px;
  margin: 6px 0 0;
  color: #ff5858;
  font-size: 0.74rem;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.website-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.submit-button, .retry-button {
  position: relative;
  overflow: hidden;
  border: 1px solid #ff3d3d;
  border-radius: 2px;
  color: #070707;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 26%),
    linear-gradient(135deg, #c90c0c, #f01818 46%, #b60606);
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-red);
  transition: transform 140ms ease, filter 140ms ease, box-shadow 140ms ease;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(100%, 500px);
  min-height: 74px;
  margin: 13px auto 0;
  font-size: 1.18rem;
}

.submit-button::before, .retry-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: translateX(-120%);
  transition: transform 500ms ease;
}

.submit-button:hover::before, .retry-button:hover::before { transform: translateX(120%); }
.submit-button:hover, .retry-button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.submit-button:active, .retry-button:active { transform: translateY(1px); }
.submit-button:disabled { cursor: wait; opacity: 0.85; }
.bracket { font-size: 1.5em; line-height: 1; }

.submit-note {
  margin: 17px 0 0;
  text-align: center;
  color: #918e89;
  font-size: 0.78rem;
  line-height: 1.5;
}

.privacy-note {
  max-width: 540px;
  margin: 12px auto 0;
  color: #77736f;
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: center;
}

.system-panel {
  width: min(100%, 690px);
  margin: 46px auto 0;
  padding: 26px 20px 28px;
  border: 1px solid rgba(220,12,12,0.42);
  background:
    repeating-linear-gradient(to bottom, rgba(255,0,0,0.018) 0, rgba(255,0,0,0.018) 2px, transparent 2px, transparent 6px),
    rgba(15,0,0,0.25);
}

.system-panel p { margin: 0 0 14px; font-size: 0.92rem; font-weight: 800; }

.system-panel strong {
  display: block;
  color: var(--red-bright);
  font-family: var(--font-display);
  font-size: clamp(3.3rem, 9vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-shadow: var(--shadow-red);
}

.system-panel span { display: block; margin-top: 14px; font-size: 1rem; font-weight: 800; }
.footer-copy { margin: 34px 0 0; color: #8d8984; font-size: 0.78rem; line-height: 1.6; }

.overlay-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.overlay-screen.is-visible { visibility: visible; opacity: 1; pointer-events: auto; }

.processing-screen {
  background: radial-gradient(circle at center, rgba(90,0,0,0.18), transparent 45%), #030303;
}

.processing-content { width: min(100%, 700px); text-align: center; }
.processing-kicker { color: var(--red-bright); font-size: 0.85rem; font-weight: 800; }

.processing-content h2 {
  margin: 16px 0 30px;
  font-size: clamp(2rem, 6vw, 4.1rem);
  letter-spacing: 0.045em;
  line-height: 1.05;
  text-transform: uppercase;
}

.loader { display: flex; justify-content: center; gap: 10px; margin: 0 auto 26px; }

.loader span {
  width: 12px;
  height: 34px;
  background: var(--red-bright);
  box-shadow: var(--shadow-red);
  animation: pulse-bars 900ms infinite ease-in-out;
}
.loader span:nth-child(2) { animation-delay: 100ms; }
.loader span:nth-child(3) { animation-delay: 200ms; }
.loader span:nth-child(4) { animation-delay: 300ms; }
.loader span:nth-child(5) { animation-delay: 400ms; }
.processing-status { color: #a9a5a0; font-size: 0.9rem; }

.result-screen {
  background:
    radial-gradient(circle at 50% 40%, rgba(255,80,80,0.08), transparent 30%),
    linear-gradient(135deg, #7e0000 0%, #c20a0a 50%, #780000 100%);
  overflow: hidden;
}

.result-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.035) 0, rgba(255,255,255,0.035) 2px, transparent 2px, transparent 7px);
  opacity: 0.65;
}

.result-content { position: relative; z-index: 1; width: min(100%, 760px); text-align: center; }
.result-kicker { margin: 0 0 18px; color: #ffd2d2; font-size: 0.88rem; font-weight: 800; }

.result-content h2 {
  margin: 0;
  color: #080808;
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 11rem);
  line-height: 0.85;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.result-copy { margin: 28px 0 34px; color: #180000; font-size: clamp(0.95rem, 2.3vw, 1.25rem); font-weight: 900; }

.retry-button {
  min-height: 58px;
  padding: 0 24px;
  background: #090909;
  border-color: rgba(255,255,255,0.55);
  color: #f1ece7;
  font-size: 0.88rem;
}

@keyframes pulse-bars {
  0%,100% { transform: scaleY(0.35); opacity: 0.35; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 640px) {
  .page-shell { padding: 52px 16px 64px; }
  .hero { width: 100%; }
  .title { font-size: clamp(4.4rem, 23vw, 6.6rem); }
  .subtitle, .intro { font-size: 0.78rem; }
  .field-group input { height: 58px; font-size: 16px; }
  .submit-button { min-height: 68px; }
  .system-panel { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


.success-screen {
  background:
    radial-gradient(circle at 50% 40%, rgba(120,255,160,0.10), transparent 30%),
    linear-gradient(135deg, #0d541d 0%, #15922f 50%, #0a4a18 100%);
  overflow: hidden;
}

.success-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.035) 0,
    rgba(255,255,255,0.035) 2px,
    transparent 2px,
    transparent 7px
  );
  opacity: 0.65;
}

.success-screen .result-content {
  position: relative;
  z-index: 1;
}

.success-screen .result-kicker {
  color: #d7ffe0;
}

.success-screen .result-content h2 {
  color: #071009;
  text-shadow: 0 0 24px rgba(255,255,255,0.12);
}

.success-screen .result-copy {
  color: #071009;
}


/* Beeldmerk / logo */
.brand-logo-wrap {
  width: min(100%, 260px);
  margin: 0 auto 24px;
  display: flex;
  justify-content: center;
}

.brand-logo {
  display: block;
  width: min(100%, 220px);
  height: auto;
  object-fit: contain;
  border: 0;
  user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 640px) {
  .brand-logo-wrap {
    margin-bottom: 20px;
  }

  .brand-logo {
    width: min(100%, 170px);
  }
}

/* QUIZ — vraag 01: voortbouwend op de bestaande Wie zijn de Hoogheden-huisstijl */
.quiz-shell {padding-top:42px; padding-bottom:56px;}
.quiz-hero {max-width:710px;}
.quiz-hero .brand-logo-wrap {margin-bottom:28px;}
.quiz-hero .eyebrow {font-size:.84rem;letter-spacing:.22em;margin-bottom:30px;}
.quiz-index {display:flex;align-items:center;gap:16px;margin:0 auto 30px;color:#bdb6af;text-align:left;font-size:.76rem;font-weight:800;letter-spacing:.16em;}
.quiz-index-label {white-space:nowrap;color:#e5dfd8;}
.quiz-index-line {height:1px;background:linear-gradient(90deg,#9d1010,rgba(255,255,255,.12));flex:1;}
.quiz-index-count {white-space:nowrap;}
.quiz-index-count strong {color:#f11b1b;}
.quiz-kicker {color:#d61919;font-size:.84rem;font-weight:800;letter-spacing:.21em;margin:0 0 18px;}
.quiz-question {font-family:var(--font-display);font-size:clamp(2.6rem,7.2vw,5.3rem);font-weight:900;line-height:1.03;letter-spacing:.012em;margin:0 auto;max-width:700px;color:#e7e4de;text-shadow:1px 0 rgba(255,255,255,.12);}
.quiz-question span {color:var(--red);text-shadow:var(--shadow-red);}
.quiz-hero .divider {margin:31px auto 22px;}
.quiz-instruction {color:#a8a29c;font-size:.8rem;font-weight:700;letter-spacing:.18em;margin:0 0 20px;}
.quiz-options {border:0;padding:0;margin:0;display:grid;gap:12px;text-align:left;}
.quiz-option {position:relative;display:flex;align-items:center;gap:20px;min-height:77px;padding:12px 21px;border:1px solid rgba(255,255,255,.22);background:linear-gradient(90deg,rgba(255,255,255,.045),rgba(255,255,255,.012));cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s;}
.quiz-option:hover {border-color:rgba(239,34,34,.7);background:rgba(125,10,10,.12);}
.quiz-option:has(input:checked) {border-color:#e01212;background:linear-gradient(90deg,rgba(165,0,0,.23),rgba(100,0,0,.06));box-shadow:inset 3px 0 0 #e01212,0 0 22px rgba(150,0,0,.12);}
.quiz-option:has(input:focus-visible) {outline:2px solid #fff;outline-offset:3px;}
.quiz-option input {position:absolute;opacity:0;width:1px;height:1px;}
.option-letter {display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border:1px solid #831818;color:#ed3333;font-family:var(--font-display);font-size:1.5rem;}
.option-name {font-family:var(--font-display);font-size:clamp(1.5rem,4vw,2.15rem);letter-spacing:.04em;color:#e9e4dc;}
.option-indicator {margin-left:auto;width:15px;height:15px;border:1px solid #766d68;border-radius:50%;flex-shrink:0;}
.quiz-option:has(input:checked) .option-indicator {border:4px solid #e01212;background:#fff;}
.quiz-error {min-height:1.5em;color:#ff6969;text-align:center;font-size:.84rem;font-weight:700;letter-spacing:.08em;margin:14px 0 4px;}
.quiz-submit {width:min(100%,390px);margin:4px auto 0;display:flex;justify-content:center;align-items:center;gap:13px;}
.quiz-footer {margin:31px 0 0;color:#817c76;font-size:.7rem;font-weight:800;letter-spacing:.15em;}
.quiz-footer span {color:#a62b2b;}
.sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.processing-screen,.result-screen {display:none;position:fixed;inset:0;z-index:80;align-items:center;justify-content:center;padding:22px;text-align:center;}
.processing-screen.is-visible,.result-screen.is-visible {display:flex;}
.processing-screen {background:radial-gradient(circle at 50% 45%,#220404 0%,#060404 55%,#020202 100%);}
.processing-content {width:min(100%,650px);}
.processing-kicker {color:#cfc4be;font-size:.86rem;letter-spacing:.18em;font-weight:800;}
.processing-bars {height:70px;display:flex;align-items:center;justify-content:center;gap:9px;margin:22px 0;}
.processing-bars i {width:7px;height:46px;background:#e11b1b;animation:pulse-bars 850ms ease-in-out infinite;}
.processing-bars i:nth-child(2){animation-delay:100ms}.processing-bars i:nth-child(3){animation-delay:200ms}.processing-bars i:nth-child(4){animation-delay:300ms}.processing-bars i:nth-child(5){animation-delay:400ms}
.processing-status {color:#f1e7df;font-weight:800;font-size:.88rem;letter-spacing:.16em;}
.result-screen {background:radial-gradient(circle at 50% 38%,rgba(255,90,90,.2),transparent 34%),linear-gradient(135deg,#770505,#cf0b0b 55%,#7d0505);}
.result-content {position:relative;z-index:1;}
.result-content h2 {font-size:clamp(4.3rem,17vw,10rem);overflow-wrap:anywhere;}
.retry-button {cursor:pointer;border:1px solid rgba(255,255,255,.55);font-weight:800;letter-spacing:.08em;}
@media(max-width:640px){.quiz-shell{padding:32px 16px 55px}.quiz-hero .brand-logo-wrap{margin-bottom:21px}.quiz-hero .eyebrow{font-size:.69rem;margin-bottom:25px}.quiz-index{margin-bottom:27px;gap:10px;font-size:.68rem}.quiz-question{font-size:clamp(2.7rem,11vw,4.2rem)}.quiz-option{min-height:70px;padding:11px 14px;gap:14px}.option-letter{width:39px;height:39px;flex-basis:39px}.quiz-submit{min-height:64px}.quiz-footer{line-height:1.8}}

/* Vijf-vragen-flow: bedankmoment vóór eindanalyse */
.thanks-screen {display:none;position:fixed;inset:0;z-index:85;align-items:center;justify-content:center;text-align:center;padding:24px;background:radial-gradient(circle at 50% 45%,#250606,#050505 62%);}
.thanks-screen.is-visible {display:flex;}
.thanks-content {width:min(100%,760px);}
.thanks-kicker {font-size:.85rem;letter-spacing:.2em;color:#e12a2a;font-weight:800;}
.thanks-content h2 {font-family:var(--font-display);font-size:clamp(2.8rem,9vw,6.5rem);line-height:1.04;color:#f1e9e3;margin:24px 0;}
.thanks-content > p:last-child {font-size:.85rem;letter-spacing:.15em;font-weight:800;color:#a6a09a;}

/* Kleinere titels, alle vragen in hoofdletters */
.quiz-question { font-size: clamp(1.85rem, 4.8vw, 3.35rem); text-transform: uppercase; line-height: 1.09; }
@media (max-width: 640px) { .quiz-question { font-size: clamp(1.75rem, 7.5vw, 2.65rem); } }

/* Naam-invulpagina, in dezelfde huisstijl als de quiz */
#name-form { width: 100%; max-width: 540px; margin: 0 auto; text-align: left; }
.name-label { display:block; margin: 0 0 12px; color:#e7e4de; font-size:.8rem; font-weight:800; letter-spacing:.17em; }
.name-input { display:block; box-sizing:border-box; width:100%; height:76px; padding:0 21px; border:1px solid rgba(255,255,255,.29); border-radius:0; outline:0; background:rgba(255,255,255,.045); color:#fff; font-family:var(--font-display); font-size:clamp(1.25rem,3vw,1.75rem); letter-spacing:.045em; text-transform:uppercase; }
.name-input::placeholder { color:rgba(232,229,223,.38); }
.name-input:focus { border-color:#e01212; box-shadow:inset 3px 0 0 #e01212,0 0 22px rgba(150,0,0,.13); }
#name-form .quiz-error { min-height:28px; }
#name-form .quiz-submit { width:min(100%,390px); }
@media(max-width:640px) { .name-input { height:66px; font-size:1.25rem; } }
/* Aftelpagina in de bestaande mysterieuze huisstijl */
.countdown-shell {min-height:100svh;display:flex;align-items:center;justify-content:center}
.countdown-hero {width:100%;max-width:980px}
.countdown-heading {font-size:clamp(2.4rem,7vw,5.2rem);white-space:normal}
.countdown-hero .divider {margin:38px auto 35px}
.timer {display:flex;align-items:flex-start;justify-content:center;gap:clamp(5px,1.7vw,22px);margin:20px auto 26px;font-variant-numeric:tabular-nums}
.timer-part {display:flex;flex-direction:column;align-items:center;min-width:0}
.timer-number {font-family:var(--font-display),Impact,sans-serif;font-weight:900;font-size:clamp(3.7rem,13vw,10rem);line-height:1;letter-spacing:-.025em;color:#ece9e3;text-shadow:0 2px 0 #222,0 0 32px rgba(190,0,0,.22)}
.timer-colon {font-family:var(--font-display),Impact,sans-serif;color:#bc161d;font-size:clamp(3rem,9vw,7rem);line-height:1.06;animation:blinkColon 1s steps(1) infinite}
.timer-label {font-family:var(--font-display),Impact,sans-serif;color:#b5afa8;font-size:clamp(.7rem,1.5vw,1rem);letter-spacing:.25em;margin-top:14px}
.timer-message {font-family:var(--font-display),Impact,sans-serif;font-size:clamp(1.15rem,2.4vw,1.7rem);letter-spacing:.14em;color:#c8c4bd;margin:32px 0 52px}
.timer-message strong {color:#d5262e}
.countdown-finished .timer-number {color:#c71921;text-shadow:0 0 35px rgba(200,0,0,.35)}
.countdown-finished .timer-message {color:#e5e0d9}
@keyframes blinkColon {50%{opacity:.2}}
@media(max-width:640px){.countdown-shell{padding:28px 12px 36px}.countdown-heading{font-size:clamp(2.25rem,10vw,3.8rem)}.timer{gap:4px}.timer-number{font-size:clamp(3.1rem,13.3vw,5.8rem)}.timer-colon{font-size:clamp(2.8rem,10vw,4.7rem)}.timer-label{letter-spacing:.12em;font-size:.62rem;margin-top:10px}.timer-message{margin:30px 0 36px}}
@media(prefers-reduced-motion:reduce){.timer-colon{animation:none}}
