@font-face { font-family: 'Andika'; src: url(andika-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Andika'; src: url(andika-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root { --navy: #1f3557; --navy-d: #13223a; --mosterd: #e8b730; --mosterd-d: #a97c0c; --kurk: #c08a50; --papier: #fffaf0; --groen: #2fb35f; --rood: #d8433a; --geel: #ffe066; --draad: #d62828; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #0e1726; overflow: hidden; }
body { font-family: 'Andika', 'Trebuchet MS', Arial, sans-serif; color: #2a2118; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
#buiten { position: fixed; inset: 0; }
#stage { position: absolute; left: 0; top: 0; width: 1600px; height: 900px; transform-origin: 0 0; overflow: hidden; background: #3a2a1c; }
#draai { display: none; }
@media (orientation: portrait) and (max-width: 700px) {
  #draai { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; padding: 10px 14px; border-radius: 12px; background: #fff; color: #222; font-size: 15px; text-align: center; z-index: 99; }
}
button { font-family: inherit; cursor: pointer; color: inherit; border: 0; }
.verborgen { display: none !important; }

.decor { position: absolute; inset: 0; background: linear-gradient(#5a4330, #2a1d12); background-size: cover; background-position: center; }
.decor.wazig { filter: blur(6px) brightness(.6); transform: scale(1.05); }
.scherm { position: absolute; inset: 0; }

.balk { position: absolute; left: 0; right: 0; top: 0; height: 84px; display: flex; align-items: center; gap: 16px; padding: 0 26px; z-index: 30; }
.balk .titel { font-size: 30px; font-weight: 700; color: #fff; text-shadow: 0 2px 0 var(--navy-d), 0 0 10px rgba(0,0,0,.8); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.knopje { height: 56px; min-width: 56px; padding: 0 18px; border-radius: 16px; background: linear-gradient(#fff, #fff1c4); border: 3px solid var(--navy); box-shadow: 0 4px 0 var(--navy); font-size: 22px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--navy); }
.knopje:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--navy); }
.muntteller { height: 56px; padding: 0 20px 0 10px; border-radius: 30px; background: rgba(19,34,58,.8); border: 3px solid var(--mosterd-d); display: flex; align-items: center; gap: 10px; font-size: 28px; font-weight: 700; color: var(--mosterd); }
.muntteller.pop { animation: pop .3s; }
@keyframes pop { 50% { transform: scale(1.18); } }
.munticoon { display: inline-block; vertical-align: middle; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6c0, #f6c234 35%, #b8860b 75%); box-shadow: inset 0 0 0 3px #9a6f05, inset 0 0 0 6px #f7d65a; position: relative; }
.munticoon::after { content: '€'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #9a6f05; font-size: 20px; font-weight: 700; }
.klok { height: 56px; padding: 0 18px; border-radius: 16px; background: rgba(19,34,58,.85); border: 3px solid #fff; color: #fff; font-size: 30px; font-weight: 700; display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.klok.krap { background: var(--rood); animation: pop .5s infinite; }
.klok .min { color: #ffb3a8; font-size: 22px; animation: zak 1s forwards; }
@keyframes zak { to { transform: translateY(26px); opacity: 0; } }

.paneel { position: absolute; background: var(--papier); border: 5px solid var(--navy); border-radius: 26px; box-shadow: 0 0 0 4px #fff inset, 0 18px 40px rgba(0,0,0,.5); }
.grote-knop { height: 88px; padding: 0 40px; border-radius: 24px; font-size: 36px; font-weight: 700; background: linear-gradient(#ffe48a, var(--mosterd) 55%, #d39d16); color: var(--navy-d); box-shadow: 0 7px 0 var(--mosterd-d), 0 0 24px rgba(232,183,48,.4); }
.grote-knop:active { transform: translateY(4px); box-shadow: 0 3px 0 var(--mosterd-d); }
.kleine-knoppen { display: flex; gap: 12px; margin-top: 16px; }
.klein { font-size: 20px; color: #6a5a4a; }

/* start */
.logo { position: absolute; left: 740px; top: 70px; width: 820px; text-align: center; z-index: 5; }
.logo h1 { margin: 0; font-size: 120px; line-height: .95; font-weight: 700; color: var(--mosterd); -webkit-text-stroke: 4px var(--navy-d); text-shadow: 0 8px 0 var(--navy-d), 0 14px 24px rgba(0,0,0,.45); transform: rotate(-2deg); }
.logo h1 span { display: inline-block; font-size: 110px; transform: rotate(14deg) translateY(-6px); }
.logo p { margin: 12px 0 0; font-size: 31px; font-weight: 700; color: #fff; text-shadow: 0 2px 0 var(--navy-d), 0 0 12px rgba(0,0,0,.9); }
.startpaneel { left: 760px; top: 380px; width: 740px; padding: 26px 34px; }
.schakel { display: flex; align-items: center; gap: 16px; padding: 12px 18px 12px 12px; border-radius: 18px; background: #f3ecd9; font-size: 22px; text-align: left; width: 100%; color: #2a2118; }
.schakel .bol { width: 86px; height: 46px; border-radius: 30px; background: #cfc3ae; position: relative; flex: none; transition: background .2s; }
.schakel .bol::after { content: ''; position: absolute; left: 5px; top: 5px; width: 36px; height: 36px; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 2px 4px rgba(0,0,0,.3); }
.schakel.aan .bol { background: var(--rood); }
.schakel.aan.groen .bol { background: var(--groen); }
.schakel.aan .bol::after { left: 45px; }
.schakel b { font-size: 24px; }
.schakel small { display: block; color: #6a5a4a; font-size: 18px; }

.figuur { position: absolute; background-size: contain; background-repeat: no-repeat; background-position: bottom center; pointer-events: none; }
.figuur svg { width: 100%; height: 100%; }
.mila { z-index: 5; filter: drop-shadow(0 10px 10px rgba(0,0,0,.4)); }
.mila.nieuw { animation: in .35s ease-out; }
@keyframes in { from { transform: translateY(14px) scale(.97); opacity: .5; } }
.ballon { position: absolute; z-index: 25; max-width: 470px; padding: 16px 22px; border-radius: 22px; background: #fff; color: #2a2118; font-size: 25px; line-height: 1.28; font-weight: 700; box-shadow: 0 8px 20px rgba(0,0,0,.4); border: 3px solid var(--navy); }
.ballon::after { content: ''; position: absolute; left: 34px; bottom: -20px; border: 12px solid transparent; border-top: 16px solid var(--navy); }
.ballon.onder::after { display: none; }
.ballon.leeg { display: none; }

/* zaken */
.zaken { position: absolute; left: 60px; top: 110px; width: 1480px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; z-index: 5; }
.dossier-kaart { height: 340px; border-radius: 8px 22px 16px 16px; background: linear-gradient(#f4d58d, #e5bd62); border: 4px solid #a8802c; box-shadow: 0 8px 0 #7d5d1c, 0 14px 30px rgba(0,0,0,.45); padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; color: #2a2118; }
.dossier-kaart::before { content: ''; position: absolute; left: 14px; top: -22px; width: 130px; height: 26px; border-radius: 10px 10px 0 0; background: #f4d58d; border: 4px solid #a8802c; border-bottom: 0; }
.dossier-kaart:active { transform: translateY(4px); }
.dossier-kaart .nr { position: absolute; left: 22px; top: -20px; font-size: 18px; font-weight: 700; color: #7d5d1c; z-index: 2; }
.dossier-kaart .foto { width: 100%; height: 150px; border-radius: 6px; background-size: cover; background-position: center; border: 6px solid #fff; box-shadow: 0 4px 8px rgba(0,0,0,.3); transform: rotate(-1.5deg); background-color: #6a5a4a; }
.dossier-kaart h3 { margin: 6px 0 0; font-size: 27px; text-align: center; line-height: 1.1; }
.dossier-kaart .gr { font-size: 18px; color: #6a4a10; }
.dossier-kaart .sterren { font-size: 34px; color: rgba(255,255,255,.6); letter-spacing: 3px; line-height: 1; margin-top: auto; }
.dossier-kaart .sterren .s { color: #fff3a8; text-shadow: 0 2px 0 #9a6f05, 0 0 8px rgba(255,220,80,.8); }
.dossier-kaart.dicht { filter: grayscale(.8) brightness(.8); }
.dossier-kaart.dicht::after { content: '🔒'; position: absolute; right: 14px; top: 8px; font-size: 32px; }
.dossier-kaart.klaar .stempel { display: block; }
.stempel { display: none; position: absolute; right: 8px; top: 120px; padding: 4px 12px; border: 4px solid var(--rood); color: var(--rood); font-size: 26px; font-weight: 700; border-radius: 8px; transform: rotate(-12deg); background: rgba(255,255,255,.7); letter-spacing: 2px; }

/* zaak: dossier */
.dossier { position: absolute; left: 30px; top: 96px; width: 800px; height: 784px; z-index: 10; background: var(--papier); border-radius: 6px; box-shadow: 0 16px 36px rgba(0,0,0,.55), 0 0 0 1px #d9cdb5; padding: 22px 34px 20px 44px; overflow: hidden; background-image: linear-gradient(90deg, transparent 26px, #f0b4b4 26px, #f0b4b4 28px, transparent 28px); }
.dossier .kop { display: flex; align-items: center; gap: 12px; border-bottom: 3px solid var(--navy); padding-bottom: 8px; margin-bottom: 12px; }
.dossier .kop h2 { margin: 0; font-size: 28px; color: var(--navy); flex: 1; }
.dossier .kop .geheim { padding: 2px 10px; border: 3px solid var(--rood); color: var(--rood); font-weight: 700; font-size: 18px; border-radius: 6px; transform: rotate(-6deg); letter-spacing: 2px; }
.dossier .tekst { position: relative; }
.dossier p { margin: 0 0 16px; line-height: 1.55; position: relative; padding-right: 8px; border-radius: 8px; transition: background .3s; }
.dossier p .lees { position: absolute; left: -46px; top: 2px; width: 34px; height: 34px; border-radius: 50%; background: #eef2fa; border: 2px solid var(--navy); font-size: 16px; display: flex; align-items: center; justify-content: center; padding: 0; }
.dossier p.licht { background: rgba(255,224,102,.45); box-shadow: 0 0 0 6px rgba(255,224,102,.45); }
.dossier.alles .tekst { background: rgba(255,224,102,.25); border-radius: 8px; }
.w { border-radius: 5px; transition: background .15s; }
.z.licht .w { background: rgba(255,224,102,.55); }
.dossier.woord .w { cursor: pointer; }
.dossier.woord .w:hover { background: #cfe3ff; box-shadow: 0 0 0 2px #cfe3ff; }
.dossier.zin .z { cursor: pointer; }
.dossier.zin .z:hover .w { background: #cfe3ff; }
.w.verwijs { background: var(--geel); box-shadow: 0 0 0 3px var(--geel), 0 0 12px 3px rgba(255,200,0,.8); font-weight: 700; animation: gloei 1.2s infinite; }
@keyframes gloei { 50% { box-shadow: 0 0 0 3px var(--geel), 0 0 18px 6px rgba(255,200,0,.5); } }
.w.doel { background: #ffd2cf; box-shadow: 0 0 0 2px var(--draad); font-weight: 700; }
.w.fout { background: #ffd2cf; animation: schud .4s; }
.z.bewijs .w { background: #c9f2d5; box-shadow: 0 0 0 2px #c9f2d5; }
.z.fout .w { background: #ffd2cf; }
.draden { position: absolute; left: 0; top: 0; width: 1600px; height: 900px; pointer-events: none; z-index: 40; overflow: visible; }
.draden path { fill: none; stroke: var(--draad); stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: trek .8s forwards; }
.draden circle { fill: var(--draad); stroke: #fff; stroke-width: 2; }
@keyframes trek { to { stroke-dashoffset: 0; } }

/* zaak: bewijsbord */
.bewijsbord { position: absolute; left: 856px; top: 96px; width: 716px; height: 306px; z-index: 10; border-radius: 12px; border: 10px solid #7a5230; box-shadow: 0 14px 30px rgba(0,0,0,.5), inset 0 0 30px rgba(0,0,0,.35); background: var(--kurk); background-size: cover; background-position: center; }
.verdachten { position: absolute; left: 14px; right: 14px; top: 12px; display: flex; justify-content: space-around; }
.vkaart { width: 196px; padding: 8px 8px 6px; background: #fff; box-shadow: 0 6px 12px rgba(0,0,0,.35); text-align: center; position: relative; transform: rotate(-2deg); transition: transform .2s; }
.vkaart:nth-child(2) { transform: rotate(1.5deg); } .vkaart:nth-child(3) { transform: rotate(-1deg); }
.vkaart::before { content: ''; position: absolute; left: 50%; top: -8px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8a80, #c62828); box-shadow: 0 2px 3px rgba(0,0,0,.5); z-index: 2; }
.vkaart .por { height: 146px; background: #e9e1d2 center bottom / contain no-repeat; }
.vkaart .naam { font-size: 19px; font-weight: 700; line-height: 1.1; margin-top: 4px; min-height: 42px; display: flex; align-items: center; justify-content: center; }
.vkaart.kies { cursor: pointer; animation: wiebel 1.4s infinite; box-shadow: 0 0 0 5px var(--mosterd), 0 8px 16px rgba(0,0,0,.4); }
@keyframes wiebel { 50% { transform: rotate(1deg) scale(1.04); } }
.vkaart.af { filter: grayscale(1) brightness(.85); }
.vkaart.af::after { content: '✗'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 140px; color: var(--rood); font-weight: 700; }
.vkaart.dader::after { content: 'DADER'; position: absolute; left: 10px; right: 10px; top: 60px; padding: 4px; border: 4px solid var(--rood); color: var(--rood); font-size: 32px; font-weight: 700; transform: rotate(-14deg); background: rgba(255,255,255,.85); letter-spacing: 3px; animation: stempel .4s cubic-bezier(.3,1.8,.5,1); }
@keyframes stempel { from { transform: rotate(-14deg) scale(3); opacity: 0; } }
.sporen { position: absolute; left: 14px; right: 14px; bottom: 8px; display: flex; gap: 8px; justify-content: center; }
.spoor { width: 78px; height: 50px; border-radius: 4px; background: rgba(255,255,255,.25); border: 2px dashed rgba(255,255,255,.55); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; line-height: 1.05; text-align: center; color: #2a2118; padding: 2px; overflow: hidden; hyphens: manual; overflow-wrap: anywhere; }
.spoor.vol { background: #fff7b0; border: 0; box-shadow: 0 3px 6px rgba(0,0,0,.35); transform: rotate(-3deg); animation: plak .4s cubic-bezier(.3,1.8,.5,1); }
.spoor.vol:nth-child(even) { transform: rotate(2deg); background: #c8f0ff; }
.spoor.half { background: #e9e1d2; border: 0; color: #8a7a6a; }
@keyframes plak { from { transform: scale(2.4) rotate(20deg); opacity: 0; } }

/* zaak: vraagpaneel */
.vraag { left: 856px; top: 418px; width: 716px; height: 462px; z-index: 11; padding: 18px 22px 18px 22px; display: flex; flex-direction: column; }
.vraag .soortlabel { align-self: flex-start; padding: 3px 14px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 18px; font-weight: 700; }
.vraag .tel { position: absolute; right: 20px; top: 16px; font-size: 18px; color: #6a5a4a; font-weight: 700; }
.vraag .wat { margin-top: 10px; font-size: 27px; font-weight: 700; line-height: 1.25; color: var(--navy-d); padding-right: 150px; min-height: 68px; }
.vraag .wat .hoor { width: 40px; height: 40px; border-radius: 50%; background: #eef2fa; border: 2px solid var(--navy); font-size: 18px; vertical-align: middle; margin-left: 6px; }
.vraag .doe { margin-top: 12px; flex: 1; display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 2; }
.vraag .tip { margin-top: auto; font-size: 21px; line-height: 1.3; padding: 10px 14px; border-radius: 14px; background: #fff1c4; border: 2px solid var(--mosterd-d); position: relative; z-index: 2; margin-right: 140px; }
.vraag .tip:empty { display: none; }
.mila-mini { position: absolute; right: -10px; bottom: -6px; width: 170px; height: 270px; z-index: 1; filter: drop-shadow(0 6px 8px rgba(0,0,0,.35)); }
.grotezin { font-size: 32px; line-height: 1.5; padding: 14px 18px; border-radius: 16px; background: #fff; border: 3px dashed #b8a98a; margin-right: 140px; }
.grotezin .w { cursor: pointer; padding: 0 3px; }
.grotezin .w:hover { background: #cfe3ff; }
.grotezin .w.goed { background: #9be7b0; box-shadow: 0 0 0 3px #2fb35f; }
.opties { display: grid; gap: 10px; margin-right: 140px; }
.opties.twee { grid-template-columns: 1fr 1fr; }
.opties.vier { grid-template-columns: 1fr 1fr; }
.optie { min-height: 62px; padding: 8px 16px; border-radius: 16px; background: linear-gradient(#fff, #eef2fa); border: 3px solid var(--navy); box-shadow: 0 4px 0 var(--navy); font-size: 23px; font-weight: 700; text-align: left; line-height: 1.2; display: flex; align-items: center; gap: 10px; color: var(--navy-d); }
.optie small { display: block; font-size: 16px; font-weight: 400; color: #6a5a4a; }
.optie:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--navy); }
.optie.goed { background: #9be7b0; border-color: #1d7a3e; box-shadow: 0 4px 0 #1d7a3e; }
.optie.fout { background: #ffd2cf; border-color: var(--rood); box-shadow: 0 4px 0 #8a2a1a; animation: schud .4s; opacity: .7; }
.optie .hoor { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #eef2fa; border: 2px solid var(--navy); font-size: 15px; padding: 0; }
.stelling { font-size: 28px; font-weight: 700; padding: 14px 18px; border-radius: 16px; background: #fff; border: 3px solid var(--navy); margin-right: 140px; line-height: 1.3; }
.wijzer { font-size: 23px; font-weight: 700; color: #6a5a4a; display: flex; align-items: center; gap: 10px; margin-right: 140px; }
.wijzer::before { content: '👈'; font-size: 34px; animation: wijs 1s infinite; }
@keyframes wijs { 50% { transform: translateX(-12px); } }
.mila-zegt { font-size: 23px; line-height: 1.3; color: #2a2118; margin-right: 140px; padding: 12px 16px; border-radius: 16px; background: #eef2fa; border: 2px solid var(--navy); }
.vraag.schud, .schud { animation: schud .45s; }
@keyframes schud { 20% { transform: translateX(-10px); } 40% { transform: translateX(10px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }

/* speurboekje */
.boekje { width: 1100px; padding: 26px 34px; animation: popin .3s; }
.boekje h2 { margin: 0 0 10px; font-size: 40px; color: var(--navy); }
.boekje table { width: 100%; border-collapse: collapse; font-size: 22px; }
.boekje td { padding: 6px 10px; border-bottom: 2px solid #eadfc8; }
.boekje td:first-child { font-weight: 700; color: var(--navy); width: 180px; }
.boekje td:nth-child(2) { color: #8a3a0a; font-weight: 700; width: 360px; }
.boekje p { font-size: 22px; margin: 10px 0; }
@keyframes popin { from { transform: scale(.3); opacity: 0; } }

.laag { position: absolute; inset: 0; z-index: 50; background: rgba(10,16,30,.55); display: flex; align-items: center; justify-content: center; }
.uitslag { position: relative; width: 860px; padding: 34px 40px; text-align: center; animation: popin .4s; }
.uitslag h2 { margin: 0; font-size: 56px; color: var(--navy); }
.uitslag p { font-size: 26px; margin: 12px 0; }
.uitslag .sterren { font-size: 96px; color: #e5dccc; letter-spacing: 10px; line-height: 1.1; }
.uitslag .sterren .s { color: var(--mosterd); display: inline-block; animation: ster .6s backwards cubic-bezier(.3,1.8,.5,1); text-shadow: 0 4px 0 #9a6f05; }
@keyframes ster { from { transform: scale(0) rotate(-180deg); } }
.uitslag .knoppen { display: flex; gap: 14px; justify-content: center; align-items: center; margin-top: 18px; flex-wrap: wrap; }

.muntlaag { position: absolute; inset: 0; z-index: 60; pointer-events: none; perspective: 900px; transform-style: preserve-3d; }
.vliegmunt { position: absolute; left: 0; top: 0; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6c0, #f6c234 35%, #b8860b 75%); box-shadow: inset 0 0 0 4px #9a6f05, inset 0 0 0 8px #f7d65a, 0 0 14px rgba(246,194,52,.6); }

.intro-plek { position: absolute; inset: 0; }
.intro-kaart { left: 640px; top: 150px; width: 900px; padding: 28px 34px; animation: popin .4s; }
.intro-kaart h2 { margin: 0 0 6px; font-size: 46px; color: var(--navy); }
.intro-kaart .gr { font-size: 20px; color: #6a5a4a; }
.intro-kaart .rij { display: flex; gap: 18px; margin: 16px 0; }
.intro-kaart .rij .vkaart { transform: none; width: 220px; }
.intro-kaart .rij .vkaart .por { height: 170px; }

.film { position: absolute; inset: 0; z-index: 80; background: #000; }
.film video { width: 100%; height: 100%; object-fit: cover; }
.film .ondertitel { position: absolute; left: 160px; right: 160px; bottom: 50px; text-align: center; font-size: 34px; font-weight: 700; color: #fff; text-shadow: 0 2px 0 #000, 0 0 12px #000, 0 0 4px #000; }
.film .sla { position: absolute; right: 30px; top: 26px; }
/* signaalwoord stap 2: zin kleiner zodat de vier soorten en de uitleg passen (03-10-2026) */
.vraag.stap2 .wat { min-height: 0; }
.vraag.stap2 .doe { margin-top: 8px; gap: 8px; }
.vraag.stap2 .grotezin { font-size: 21px; line-height: 1.35; padding: 6px 12px; }
.vraag.stap2 .opties.vier { gap: 8px; }
.vraag.stap2 .optie { min-height: 50px; padding: 4px 12px; font-size: 21px; }
.vraag.stap2 .optie small { font-size: 14px; }
.vraag.stap2 .tip { font-size: 19px; padding: 8px 12px; }
