@font-face { font-family: Poppins; font-weight: 300; font-display: swap; src: url(/fonts/poppins-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(/fonts/poppins-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(/fonts/poppins-latin-600-normal.woff2) format("woff2"); }
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body {
  font-family: Poppins, "Segoe UI", system-ui, sans-serif;
  color: #fff;
  /* Wowiyo-portaalverloop (stijlgids: --wy-gradient-portal), oranje -> roze -> paars -> blauw */
  background: linear-gradient(160deg, #f9a63f 0%, #ef5fa2 38%, #b4479b 55%, #86489c 72%, #2e3092 100%) fixed, #773594;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100vh; padding: 40px 24px; text-align: center;
}
main { width: 100%; max-width: 720px; display: flex; flex-direction: column; align-items: center; }
.logo { width: min(80vw, 620px); height: auto; filter: drop-shadow(0 4px 24px rgba(46, 48, 146, .25)); }
h1 { margin-top: 28px; font-weight: 600; font-size: clamp(1.6rem, 4.5vw, 2.6rem); letter-spacing: .02em;
     text-shadow: 0 2px 12px rgba(46, 48, 146, .35); }
.tag { margin-top: 36px; font-weight: 500; font-size: clamp(1.05rem, 2.8vw, 1.45rem); text-shadow: 0 2px 10px rgba(46, 48, 146, .35); }
.sub { margin-top: 14px; font-weight: 300; font-size: clamp(1rem, 2.4vw, 1.25rem); text-shadow: 0 2px 10px rgba(46, 48, 146, .3); }
footer { margin-top: 64px; font-weight: 300; font-size: .85rem; opacity: .9; }

.pil, .pil-vol, .pil-lijn {
  display: inline-block; padding: 12px 28px; border-radius: 999px; font: 600 1.05rem Poppins, sans-serif;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
}
.pil { margin-top: 36px; background: #fff; color: #773594; box-shadow: 0 6px 24px rgba(46, 48, 146, .3); }
.pil:hover { background: #f3ecf7; }
.pil:focus-visible, .pil-vol:focus-visible, .pil-lijn:focus-visible, .dag:focus-visible, .tijd:focus-visible, .sluit:focus-visible {
  outline: 3px solid #ee3c96; outline-offset: 3px;
}

/* ── popup ── */
dialog {
  margin: auto; /* de reset '* { margin: 0 }' haalt anders de centrering van <dialog> weg */
  border: none; padding: 0; border-radius: 22px; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px);
  background: #fff; color: #58595b; box-shadow: 0 24px 64px rgba(46, 48, 146, .45); text-align: left;
}
dialog::backdrop { background: rgba(46, 48, 146, .45); backdrop-filter: blur(3px); }
.venster { position: relative; padding: 28px 28px 24px; overflow-y: auto; max-height: calc(100vh - 24px); }
.venster::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, #f9a63f, #ef5fa2, #86489c, #2e3092);
}
h2 { color: #773594; font-weight: 600; font-size: 1.5rem; margin: 4px 40px 6px 0; }
.uitleg { font-weight: 300; font-size: .95rem; margin-bottom: 18px; }
.sluit {
  position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; border: none;
  background: #f3ecf7; color: #773594; font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.sluit:hover { background: #e0d6ea; }
.dagen { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.dag {
  flex: 0 0 auto; min-width: 74px; padding: 10px 12px; border-radius: 16px; border: 2px solid #e0d6ea; background: #fff;
  color: #773594; font: 500 .85rem Poppins, sans-serif; text-align: center; cursor: pointer; line-height: 1.3;
}
.dag b { display: block; font-size: 1.15rem; font-weight: 600; }
.dag[aria-selected="true"] { background: #773594; border-color: #773594; color: #fff; }
.dag:hover:not([aria-selected="true"]) { border-color: #773594; }
.tijden { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 16px; }
.tijd {
  padding: 10px 0; border-radius: 999px; border: 2px solid #e0d6ea; background: #fff; color: #773594;
  font: 500 .95rem Poppins, sans-serif; cursor: pointer;
}
.tijd:hover { border-color: #ee3c96; color: #ee3c96; }
.melding { margin-top: 14px; font-size: .9rem; min-height: 1.2em; }
.melding.fout { color: #c0245f; }
.gekozen { background: #f3ecf7; color: #773594; border-radius: 14px; padding: 10px 14px; font-weight: 500; margin-bottom: 16px; }
form label { display: block; color: #773594; font-weight: 500; font-size: .9rem; margin-bottom: 12px; }
.optie { color: #6d6e71; font-weight: 300; }
form input, form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 16px; border: 1px solid #8a8c8e; border-radius: 20px;
  font: 400 1rem Poppins, sans-serif; color: #333;
}
form textarea { border-radius: 16px; resize: vertical; }
form input:focus, form textarea:focus { outline: none; border-color: #773594; box-shadow: 0 0 0 3px #e0d6ea; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.knoppen { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 6px; }
.pil-vol { background: #773594; color: #fff; }
.pil-vol:hover { background: #662d80; }
.pil-vol:disabled { background: #bcbec0; cursor: wait; }
.pil-lijn { background: #fff; color: #773594; border-color: #e0d6ea; }
.pil-lijn:hover { border-color: #773594; }
#stap-klaar { text-align: center; padding: 8px 0 4px; }
.vink { width: 64px; height: 64px; margin: 4px auto 12px; border-radius: 50%; background: #9bc23c; color: #fff;
        font-size: 2rem; line-height: 64px; }
.klaar-titel { color: #773594; font-weight: 600; font-size: 1.2rem; margin-bottom: 6px; }
@media (max-width: 480px) { .venster { padding: 24px 18px 20px; } .knoppen > * { flex: 1 1 100%; } }
