/* KidsOnly-aanmeldformulier. Huisstijl Novae Popschool (BES-14 palet, BES-50/58 randen,
   BES-27: geen schaduw behalve 4px op de amber hoofdknop). Fonts zelf gehost, zoals de site. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --papier: #f3f0ea;
  --inkt: #1c1c1b;
  --wit: #ffffff;
  --rood: #e52527;
  --amber: #fdb244;
  --lijn: #cfc8bc;
  --veld-rand: #b3ab9e;
  --rand: 2px;
  --marge: clamp(20px, 5vw, 80px);
  --display: "Archivo", "Arial Narrow", sans-serif;
  --tekst: "Montserrat", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--inkt);
  font-family: var(--tekst);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--inkt);
  text-decoration-color: var(--rood);
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--inkt);
  outline-offset: 2px;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.kop {
  padding: 18px var(--marge);
  border-bottom: var(--rand) solid var(--lijn);
  background: var(--papier);
}
.kop__logo img {
  display: block;
  height: 56px;
  width: auto;
}

main {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 90px) var(--marge) clamp(56px, 8vw, 110px);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.92;
  overflow-wrap: normal;
  hyphens: none;
}
h1 {
  font-size: clamp(36px, 7.5vw, 72px);
}
h2 {
  font-size: clamp(28px, 5vw, 44px);
}
.nadruk {
  color: var(--rood);
}

.intro__tekst {
  max-width: 60ch;
  margin: 0 0 28px;
}
.intro__locatie {
  margin: 14px 0 0;
  font-size: 15px;
}

.groepen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.groep {
  background: var(--wit);
  border: var(--rand) solid var(--lijn);
  padding: 18px 20px;
}
.groep p {
  margin: 0;
}
.groep__naam {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.groep__tijd {
  margin-top: 4px !important;
}
.groep__prijs {
  margin-top: 10px !important;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 110%;
  font-size: 28px;
  line-height: 1;
}
.groep__prijs span {
  font-family: var(--tekst);
  font-weight: 500;
  font-stretch: normal;
  font-size: 15px;
}

.formulier {
  margin-top: clamp(40px, 6vw, 64px);
}
fieldset {
  margin: 0 0 22px;
  padding: 22px clamp(18px, 3vw, 28px) 8px;
  border: var(--rand) solid var(--lijn);
  background: var(--wit);
  min-width: 0;
}
legend {
  padding: 0 8px;
  margin-left: -8px;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 110%;
  font-size: 19px;
  text-transform: uppercase;
}

.rij2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.veld {
  margin-bottom: 18px;
}
label,
.label {
  display: block;
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 15px;
}
.ster {
  color: var(--rood);
}
input:not([type="radio"]):not([type="checkbox"]),
textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: var(--rand) solid var(--veld-rand);
  border-radius: 0;
  background: var(--wit);
  color: var(--inkt);
  font: inherit;
  font-size: 17px;
}
select {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: var(--rand) solid var(--veld-rand);
  border-radius: 0;
  background: var(--wit);
  color: var(--inkt);
  font: inherit;
  font-size: 16px;
}
select:disabled {
  color: #6b675f;
  background: var(--papier);
}
.hint--boven {
  margin: 0 0 14px;
}
input[type="file"] {
  padding: 10px;
  font-size: 15px;
}
textarea {
  resize: vertical;
}
input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--rood);
}
.hint {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
}
.hint--fout {
  color: var(--inkt);
  font-weight: 600;
  border-left: 4px solid var(--rood);
  padding-left: 10px;
}
.hint--ok {
  font-weight: 600;
}

.keuzes {
  display: flex;
  gap: 12px;
}
.keuze {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border: var(--rand) solid var(--veld-rand);
  font-weight: 500;
  cursor: pointer;
}
.vink {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
}
input[type="radio"],
input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 0;
  flex: none;
  accent-color: var(--inkt);
}
.vink input {
  margin-top: 1px;
}

.pot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fout {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: var(--wit);
  border: var(--rand) solid var(--rood);
  font-weight: 600;
}

.voortgang {
  margin: 0 0 18px;
}
.voortgang p {
  margin: 0 0 8px;
  font-weight: 600;
}
.balk {
  height: 12px;
  background: var(--wit);
  border: var(--rand) solid var(--lijn);
}
.balk__vulling {
  height: 100%;
  width: 0;
  background: var(--inkt);
  transition: width 0.2s linear;
}

.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border: var(--rand) solid var(--inkt);
  border-radius: 0;
  background: var(--amber);
  color: var(--inkt);
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: 17px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 4px 4px 0 var(--inkt);
  cursor: pointer;
}
.knop:hover {
  transform: translate(1px, 1px);
  box-shadow: 3px 3px 0 var(--inkt);
}
.knop:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}
.knop--omlijnd {
  background: transparent;
  box-shadow: none;
}
.knop--omlijnd:hover {
  transform: none;
  box-shadow: none;
  background: var(--wit);
}
#opnieuw {
  margin-left: 12px;
}

.klaar {
  margin-top: 40px;
  padding: 28px clamp(18px, 3vw, 28px);
  background: var(--wit);
  border: var(--rand) solid var(--lijn);
}
.klaar:focus {
  outline: none;
}

.voet {
  padding: 24px var(--marge);
  background: var(--inkt);
  color: var(--papier);
  font-size: 14px;
}
.voet p {
  margin: 0;
}
.voet a {
  color: var(--papier);
}

@media (max-width: 640px) {
  .groepen,
  .rij2 {
    grid-template-columns: 1fr;
  }
  .knop {
    width: 100%;
  }
  #opnieuw {
    margin: 12px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
