:root {
  --linen: #eef2f1;
  --veil: #9fb3b8;
  --coal: #0e1a22;
  --plate: #16242e;
  --plate-2: #1e313d;
  --seam: #35505e;
  --copper: #c87a45;
  --indigo: #3f5fa8;
  --indigo-2: #6b8ad6;
  --arc: 8px;
  --span: 1072px;
  --pad: 44px;
  --glyph: "Palatino Linotype", "Book Antiqua", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 16px/1.65 var(--glyph); color: var(--linen); background: var(--coal); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 14px; line-height: 1.22; font-weight: 700; overflow-wrap: break-word; }
h1 { font-size: 42px; letter-spacing: -0.01em; }
h2 { font-size: 27px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; margin-top: 18px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }
small { color: var(--veil); }
a { color: inherit; }
a:focus-visible, .klik:focus-visible, label:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.klik { cursor: pointer; }
.kader { display: flex; flex-direction: column; min-height: 100vh; max-width: 100%; }
main { flex: 1 1 auto; min-width: 0; width: 100%; }
.binnenblad { width: 100%; max-width: calc(var(--span) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad) 36px; min-width: 0; }

@keyframes tint {
  0%, 100% { box-shadow: 0 0 0 rgba(107, 138, 214, 0); }
  50% { box-shadow: 0 0 20px rgba(107, 138, 214, .45); }
}
.hoofdknop, .aanmeld { animation: tint 3.2s ease-in-out infinite; will-change: box-shadow; }
.hoofdknop:hover, .aanmeld:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .hoofdknop, .aanmeld { animation: none; } }

.kaplijst { position: sticky; top: 0; z-index: 40; background: var(--plate); border-bottom: 1px solid var(--seam); }
.kaplijst__strook { max-width: calc(var(--span) + var(--pad) * 2); margin: 0 auto; height: 70px; display: flex; align-items: center; gap: 18px; padding: 0 var(--pad); }
.beeldmerk img { height: 46px; width: auto; }
.luik-check { position: absolute; opacity: 0; pointer-events: none; }
.luik-knop { display: none; width: 44px; height: 40px; border: 0; border-radius: var(--arc); background: var(--plate-2); flex-direction: column; justify-content: center; gap: 5px; padding: 0 11px; cursor: pointer; }
.luik-knop span { display: block; height: 2px; background: var(--linen); }
.route__reeks { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.route__reeks li { margin: 0; }
.route__stap { display: block; padding: 8px 12px; border: 0; border-radius: var(--arc); background: var(--plate-2); font-size: 14px; font-weight: 700; }
.route__stap:hover { background: var(--seam); color: var(--copper); }
.route__paar { display: none; }
.top-paar { margin-left: auto; display: flex; gap: 10px; }
.inlog, .aanmeld, .hoofdknop, .randknop, .toestel-knop { display: inline-flex; align-items: center; justify-content: center; border-radius: var(--arc); font-weight: 700; font-family: inherit; }
.inlog, .aanmeld { height: 42px; padding: 0 18px; font-size: 14px; }
.inlog { background: transparent; color: var(--linen); border: 1px solid var(--seam); }
.inlog:hover { border-color: var(--copper); color: var(--copper); }
.aanmeld, .hoofdknop { background: linear-gradient(180deg, var(--indigo-2), var(--indigo)); color: #fff; border: 0; }
.hoofdknop { min-height: 54px; margin: 10px auto 0; padding: 10px 24px; max-width: 330px; width: 100%; font-size: 17px; }
.randknop { min-height: 50px; margin: 10px auto 0; padding: 10px 24px; max-width: 330px; width: 100%; background: transparent; color: var(--copper); border: 1px solid var(--copper); }

.opmaat { text-align: center; padding: 26px 0 10px; }
.opmaat__beeld { display: block; margin: 0 auto 18px; border-radius: var(--arc); overflow: hidden; }
.opmaat__beeld img, .tussenbeeld img { width: 100%; }
.opmaat__woord { text-align: left; }
.tussenbeeld { margin: 10px 0 30px; }
.tussenbeeld img { border-radius: var(--arc); }

.kaartje, .verhaal, .stemmen, .vraagblok { margin: 0 0 30px; padding: 22px 22px 10px; background: var(--plate); border: 1px solid var(--seam); border-radius: var(--arc); min-width: 0; max-width: 100%; }
.kaartje__kop, .midden { text-align: center; }

.schuifvak { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.schuifvak table { width: 100%; min-width: 0; margin-bottom: 18px; }
table { width: 100%; border-collapse: collapse; margin: 0 0 18px; }
th, td { border: 1px solid var(--seam); padding: 10px 12px; text-align: left; font-size: 14px; }
th { background: var(--plate-2); font-weight: 700; }
td { background: #111f28; }
.smalkop { table-layout: fixed; width: 100%; min-width: 0; }
.smalkop th:first-child, .smalkop td:first-child { width: 22%; white-space: normal; }

.keuzelijst { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; list-style: none; margin: 0 0 16px; padding: 0; }
.keuzelijst__knop { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: var(--arc); border: 0; background: var(--plate-2); color: var(--linen); font-weight: 700; text-decoration: none; }
.keuzelijst__knop.aan { background: var(--copper); color: #16242e; }
.keuzelijst__knop:hover { color: var(--copper); }
.keuzelijst__knop.aan:hover { color: #16242e; }
.vak { display: none; }
.vak.aan { display: block; }

.raster { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ruit { display: block; color: inherit; }
.ruit__beeld { display: block; border-radius: var(--arc); overflow: hidden; aspect-ratio: 360 / 472; background: #111f28; }
.ruit__beeld img { width: 100%; height: 100%; object-fit: cover; }
.ruit__naam { display: block; margin-top: 8px; font-size: 14px; font-weight: 700; }
.ruit--plat .ruit__beeld { aspect-ratio: 2 / 1; background: var(--plate-2); }
.ruit--plat .ruit__beeld img { object-fit: contain; padding: 9px; }
.ruit--plat .ruit__naam { text-align: center; }

.weegschaal { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.weegschaal__vak { padding: 18px; border-radius: var(--arc); background: var(--plate-2); border: 1px solid var(--seam); }
.weegschaal__vak ul { list-style: none; padding: 0; margin: 0; }
.weegschaal__vak li { padding-left: 20px; position: relative; }
.weegschaal__voor li::before, .weegschaal__tegen li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 2px; }
.weegschaal__voor li::before { background: #58c79a; box-shadow: 0 -4px 0 #58c79a, 0 4px 0 #58c79a; }
.weegschaal__tegen li::before { background: #d4766d; }

.stemmen__balk { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; padding: 14px; border-radius: var(--arc); background: var(--plate-2); }
.stemmen__cijfer { font-size: 30px; font-weight: 700; color: var(--copper); }
.stemmen__raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bericht { padding: 16px; border-radius: var(--arc); background: var(--plate-2); border: 1px solid var(--seam); }
.bericht strong { display: block; }

.vraagblok__regel { padding: 15px 0; border-bottom: 1px solid var(--seam); }
.vraagblok__regel:last-child { border-bottom: 0; }
.vraagblok__regel h3 { font-size: 18px; }
.peildatum { margin: 0 0 22px; padding: 15px 18px; border-radius: var(--arc); border: 1px solid var(--seam); background: var(--plate); color: var(--veil); }

.voetstuk { background: var(--plate); border-top: 1px solid var(--seam); }
.voetstuk__boven { display: flex; justify-content: space-between; gap: 30px; padding: 30px 0; }
.voetstuk__boven, .voetstuk__klein { max-width: calc(var(--span) + var(--pad) * 2); margin-left: auto; margin-right: auto; padding-left: var(--pad); padding-right: var(--pad); }
.kringen, .toestellen, .zegels, .muntrij { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.kringen { margin: 14px 0; }
.kringen .klik { width: 38px; height: 38px; border-radius: var(--arc); border: 0; background: var(--plate-2); display: inline-flex; align-items: center; justify-content: center; }
.kringen .klik:hover { background: var(--seam); }
.kringen svg { width: 17px; height: 17px; fill: var(--copper); }
.toestel-knop { height: 36px; padding: 0 14px; border: 0; background: var(--plate-2); color: var(--linen); font-size: 13px; }
.toestel-knop:hover { color: var(--copper); }
.zegels { margin-top: 28px; }
.zegels img { height: 40px; width: auto; }
.leeftijd { width: 40px; height: 40px; border-radius: var(--arc); border: 2px solid #d4766d; color: #d4766d; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.muntrij { justify-content: center; padding: 18px var(--pad); border-top: 1px solid var(--seam); }
.muntrij img { height: 26px; width: auto; }
.kolommenpaar { display: flex; gap: 44px; }
.kolommenpaar ul { list-style: none; margin: 0; padding: 0; }
.voetstuk__klein { border-top: 1px solid var(--seam); text-align: center; color: var(--veil); font-size: 12px; padding-top: 16px; padding-bottom: 20px; }

@media (max-width: 1100px) { .raster { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) {
  .luik-knop { display: flex; }
  .top-paar { order: 2; }
  .route { display: none; position: absolute; left: 0; right: 0; top: 70px; background: var(--plate); border-bottom: 1px solid var(--seam); padding: 14px var(--pad) 18px; }
  .luik-check:checked ~ .route { display: block; }
  .route__reeks { flex-direction: column; }
  .route__paar { display: flex; gap: 10px; margin-top: 14px; }
  .route__paar .inlog, .route__paar .aanmeld { flex: 1; }
  .weegschaal, .stemmen__raster { grid-template-columns: 1fr; }
  .voetstuk__boven { flex-direction: column; }
}
@media (max-width: 720px) {
  h1 { font-size: 30px; }
  h2 { font-size: 22px; }
  .raster { grid-template-columns: repeat(3, 1fr); }
  .stemmen__balk { flex-direction: column; align-items: flex-start; }
  .schuifvak table { min-width: 640px; }
  .schuifvak th, .schuifvak td { white-space: nowrap; }
  .smalkop th:first-child, .smalkop td:first-child { white-space: normal; }
  th, td { font-size: 13px; padding: 8px; }
}
@media (max-width: 480px) {
  .raster { grid-template-columns: repeat(2, 1fr); }
  .beeldmerk img { height: 36px; }
  .inlog, .aanmeld { padding: 0 11px; font-size: 13px; }
}
