
@font-face {
  font-family: helvetica now;
  src: url('fonts/helveticanowtext-blackitalic-demo.otf');
}

@font-face {
  font-family: monoist;
  src: url('fonts/regular.ttf');
}

/* ====== Reset & basis ====== */
p, h1, h2, body {
  margin: 0;
}
html {
  scroll-behavior: smooth;
}

.mobile-menu,.hamburger, header p {
  display: none;
}

/* ====== Animatie-variabelen & keyframes ====== */
:root{
  --elev: 0 1vw 3vw rgba(0,0,0,0.08);
  --elev-strong: 0 1.2vw 3.2vw rgba(0,0,0,0.12);
  --dur-fast: .2s;
  --dur: .35s;
  --dur-slow: .6s;
  --easing: cubic-bezier(.22,.61,.36,1);
}

/* Respecteer gebruikers die animaties minimaliseren */
@media (prefers-reduced-motion: reduce){
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto;
  }
}

/* Subtiele “fade + slide up” */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Pulsje bij klik */
@keyframes tap {
  0%   { transform: scale(1); }
  50%  { transform: scale(.98); }
  100% { transform: scale(1); }
}

/* Glow/inktvlekje bij klik */
@keyframes clickGlow {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.35); }
  100% { box-shadow: 0 0 0 18px rgba(255,255,255,0); }
}

/* Algemene reveal (kan via JS class of op load) */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp var(--dur-slow) var(--easing) forwards;
}


/* ====== BANNER ====== */
.banner {
  width: 100%;
  height: auto;
  overflow: hidden;
  background-color: #393be7;
  /* Fade-in op pageload */
  animation: fadeUp .7s var(--easing) both;
}

#logo {
  width: 4vw;
  margin-top: 3%;
  margin-right: 0;
}

header{
  height: 8vh;
  width: 50vw;
  /* laat header-items zacht verschijnen */
  animation: fadeUp .8s var(--easing) .1s both;
}

/* nav items krijgen subtiele hover */
header .navitem {
  display: inline-block;
  color: white;
  opacity: .9;
  transition: color var(--dur-fast) ease, opacity var(--dur-fast) ease, transform var(--dur-fast) ease;
}
header .navitem:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.bannertitel {
  color: white;
  font-family: helvetica now;
  margin-top: 3%;
  margin-left: 5%;
  font-size: 2.5vw;
  line-height: 1;
  display: inline-block;
  letter-spacing: 5px;
  animation: fadeUp .9s var(--easing) .05s both;
}

.bannertekst {
  color: white;
  font-family: helvetica now;
  margin-left: 5%;
  margin-top: 5%;
  width: 32vw;
  font-size: 1.1vw;
  animation: fadeUp .9s var(--easing) .15s both;
}


#bannerbutton {
  height: 2.3vw;
  width: auto;
  border-radius: 999px;
  background: linear-gradient(90deg, #c5ffbc, #b2ffb0);
  color: #393be7;
  border: none;
  font-family: helvetica now;
  font-size: 1vw;
  font-weight: bold;
  letter-spacing: 0.1em;
  padding-left: 1vw;
  padding-right: 1vw;
  margin-left: 4.5%;
  margin-top: 2%;
  display: block;
  cursor: pointer;

  transition:
    transform var(--dur-fast) var(--easing),
    box-shadow var(--dur-fast) var(--easing),
    background var(--dur-fast) linear,
    filter var(--dur-fast) var(--easing);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

#bannerbutton:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
  background: linear-gradient(90deg, #b2ffb0, #9effa3);
  filter: saturate(1.05);
}

#bannerbutton:active {
  animation: tap .14s linear;
  transform: translateY(-1px) scale(0.995);
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
}


.bannerfoto {
  width: 37vw;
  float: right;
  margin-top: 2%;
  margin-bottom: 2%;
  transform-origin: 60% 50%;
  transition: transform .4s var(--easing), filter .4s var(--easing);
  animation: fadeUp .9s var(--easing) .2s both;
}
#bannerknop:hover {

}

/* ====== SECTIE 1 ====== */
.sectie1 {
  background-color: #4c72ff;
  padding-bottom: 3%;
  animation: fadeUp .7s var(--easing) both;
}

.sectie1titel {
  color: white;
  font-family: helvetica now;
  margin-top: 3%;
  margin-left: 4%;
  margin-bottom: 3%;
  font-size: 2vw;
  line-height: 1;
  display: inline-block;
  animation: fadeUp .7s var(--easing) .05s both;
}

.hoofdstukkenlijst {
  margin-right: 4%;
  margin-left: 4%;
  margin-bottom: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20vw,1fr));
  gap: 2vw;
  padding: 0;
  animation: fadeUp .7s var(--easing) .1s both;
}

.hoofdstuknummer {
  font-family: monospace;
  text-decoration: underline;
  color: white;
  font-size: 1.3vw;
}

.hoofdstuktitel {
  font-family: helvetica now;
  color: white;
  font-size: 1.3vw;
}

.hoofdstukfoto {
  width: 18vw;
  cursor: pointer;
  border-radius: 1.2vw;
  transition: transform .28s var(--easing), box-shadow .28s ease, filter .28s ease;
  box-shadow: var(--elev);
}
.hoofdstukfoto:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--elev-strong);
  filter: saturate(1.05);
}

/* (fix) Verwijderde foutieve komma achter li */
li {
  width: min-content;
  justify-content: center;
}

a {
  text-decoration: none;
}

/* ====== AANMELDEN knop rechtsboven ====== */
.aanmelden-knop {
  position: fixed;
  top: 1.2vw;
  right: 0.8vw;

  padding: 1.1vw 2vw;
  background: rgba(189, 216, 255, 0.9);
  color: black;
  font-weight: 700;
  font-family: sans-serif;
  font-size: 1vw;

  border-radius: 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  text-decoration: none;

  transition: background var(--dur-fast) ease, transform .13s ease, box-shadow var(--dur-fast) ease;
  z-index: 9999;

  /* Zachte binnenkomst */
  transform: translateY(-6px);
  animation: fadeUp .5s var(--easing) .25s both;
}
.aanmelden-knop:hover {
  background: rgba(170, 205, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.20);
}
.aanmelden-knop:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0,0,0,0.18);
  animation: clickGlow .6s ease;
}

/* ====== SECTIE 2 (Over ons) ====== */
.sectie2 {
  background-color: #e5fbff;
  padding-bottom: 3%;
  animation: fadeUp .7s var(--easing) both;
}

.sectie2titel {
  color: #280f91;
  font-family: helvetica now;
  margin-top: 3%;
  margin-left: 4%;
  margin-bottom: 5%;
  font-size: 2vw;
  line-height: 1;
  display: inline-block;
}

.sectie2tekstdiv{
  width: 90%;
  background-color: #c8edf4;
  margin-left: 3%;
  border-radius: 30px;
  padding: 3%;
  box-shadow: 0 1.1vw 3vw rgba(0,0,0,.08);
  transition: transform .28s var(--easing), box-shadow .28s ease;
}
.sectie2tekstdiv:hover{
  transform: translateY(-4px);
  box-shadow: 0 1.3vw 3.2vw rgba(0,0,0,.1);
}

.sectie2tekst {
  font-family: sans-serif;
  font-size: 1.6vw;
}

.sectie2button {
  background-color: #e5fbff;
  border-radius: 20px;
  border: none;
  font-size: 1.6vw;
  font-weight: bold;
  height: 2.8vw;
  margin-top: 5%;
  padding: 0 2vw;
  cursor: pointer;
  transition: transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease, background var(--dur-fast) ease, color var(--dur-fast) ease;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}
.sectie2button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
  background:#fff;
  color:#0f3a7a;
}
.sectie2button:active{
  animation: tap .15s linear;
}

/* ====== HOE WERKT HET ====== */
.how-section {
  width: 98%;
  margin: 0;
  padding-left: 2vw;
  background-color:#4c72ff;
  animation: fadeUp .7s var(--easing) both;
}

.how-section h2 {
  color: white;
  font-family: helvetica now;
  padding-top: 2%;
  margin-left: 2%;
  margin-bottom: 3%;
  font-size: 3vw;
  animation: fadeUp .6s var(--easing) .05s both;
}

/* Container */
.how-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6vw;
  width: 90%;
  padding-bottom: 3%;
}

/* Stap blokjes */

/* Basis (je bestaande stijl kan blijven) */
.how-step {
  width: 30%;
  min-width: 260px;
  background: #ffffff;
  padding: 2vw 2vw;
  border-radius: 1.5vw;
  box-shadow: 0 1vw 3vw rgba(0,0,0,0.08);
  text-align: center;

  /* Animatie-eigenschappen voor hover */
  transition:
    transform .28s cubic-bezier(.22,.61,.36,1),
    box-shadow .28s ease,
    filter .28s ease;
  transform-style: preserve-3d;
  will-change: transform, box-shadow, filter;
}

.how-step:hover {
  /* lichte lift + schaal + subtiele tilt */
  transform: translateY(-1vh) scale(1.02) rotateX(0.6deg) rotateY(-0.6deg);
  box-shadow: 0 1.2vw 3.2vw rgba(0,0,0,0.10);
  filter: saturate(1.03);
}

/* Nummer-cirkel met ring-glow op hover */
.how-number {
  width: 4vw;
  height: 4vw;
  font-family: sans-serif;
  background: #1a73e8;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5vw;
  margin: 0 auto 0% auto;

  box-shadow: inset 0 0 0 0 rgba(255,255,255,.25);
  transition: box-shadow .35s cubic-bezier(.22,.61,.36,1), transform .35s cubic-bezier(.22,.61,.36,1);
}

.how-step:hover .how-number {
  box-shadow: inset 0 0 0 .35vw rgba(255,255,255,.3), 0 0 0 .2vw rgba(26,115,232,.18);
  transform: translateZ(10px) translateY(-2px);
}

/* Titels en tekst */
.how-step h3 {
  font-size: 2.1vw;
  margin-bottom: 2%;
  color: #333;
  font-family: helvetica now;
}

.how-step p {
  font-size: 1.6vw;
  color: #555;
  font-family: sans-serif;
}

/* ====== FAQ ====== */
.faq-section {
  text-align: center;
  width: 90%;
  max-width: 80vw;
  margin: 8vh auto;
  margin-top: 1vw;
  padding: 0;
  animation: fadeUp .7s var(--easing) both;
}

.faq-section h2 {
  font-family: helvetica now;
  font-size: 3vw;
  margin-bottom: 2%;
  color: #000; /* (fix) #black → #000 */
  font-weight: bold;
}

/* FAQ item */
.faq-item {
  background: #ffffff;
  border-radius: 1vw;
  margin-bottom: 1vw;
  box-shadow: 0 0.8vw 2vw rgba(0,0,0,0.08);
  overflow: hidden;
  width: 80%;
  margin-left: 10%;
  transition: transform .28s var(--easing), box-shadow .28s ease, background .28s ease, border-color .2s ease;
  border: 1px solid rgba(0,0,0,.04);
}
.faq-item:hover{
  transform: translateY(-3px);
  box-shadow: 0 1vw 2.3vw rgba(0,0,0,0.10);
}

.faq-item.open {
  background: #f7fbff;
  border-color: rgba(26,115,232,.15);
}

/* Vraag */
.faq-question {
  width: 100%;
  padding: 1vw;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.8vw;
  font-family: sans-serif;
  cursor: pointer;
  color: #333;
  position: relative;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease, padding var(--dur-fast) ease;
}
.faq-question:hover {
  background: #f6f9ff;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 3vw;
  font-size: 3vw;
  transition: transform 0.3s ease;
  top: 12%;
}
.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

/* Antwoord */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 3vw;
  transition: max-height var(--dur) ease, padding var(--dur) ease, opacity var(--dur) ease;
  opacity: .6;
}
.faq-item.open .faq-answer {
  max-height: 40vh;
  padding-bottom: 2vh;
  opacity: 1;
  animation: fadeUp .35s var(--easing);
}
.faq-answer p {
  margin: 2vh 0 0;
  color: #555;
  line-height: 1.6;
  font-size: 1.6vw;
  font-family: helvetica now;
}

/* ====== CONTACT ====== */
.contact-section {
  background: #4c72ff;
  padding: 2vw 4vw;
  color: white;
  animation: fadeUp .7s var(--easing) both;
}

.contact-container {
  display: flex;
  gap: 4vw;
  max-width: 90%;
  margin: auto;
}

.contact-form, .contact-info {
  flex: 1;
}

/* TITELS */
.contact-form h2,
.contact-info h2 {
  font-size: 2vw;
  font-weight: lighter;
  margin-bottom: 1.5vw;
  font-family: sans-serif;
}

/* FORM */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5vw;
}

.contact-form input,
.contact-form textarea {
  padding: 1.2vw;
  border-radius: 0.8vw;
  border: none;
  background: #f4f8ff;
  font-size: 1.3vw;
  color: #0f234f;
  font-family: sans-serif;
  transition: box-shadow .2s ease, transform .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #bcd6ff;
  box-shadow: 0 0 0 .4vw rgba(26,115,232,.15);
}

.contact-form textarea {
  height: 12vw;
}

.contact-form button {
  background: #393be7;
  color: white;
  padding: 1.2vw;
  border-radius: 0.8vw;
  border: none;
  cursor: pointer;
  width: 40%;
  font-size: 1.4vw;
  font-family: sans-serif;
  transition: transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease, background var(--dur-fast) ease;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
  background: #2b2dcc;
}
.contact-form button:active{
  animation: tap .15s linear;
}

/* INFO */
.contact-info {
  background: #0f3a7a;
  padding: 2.5vw;
  border-radius: 1vw;
  font-size: 1.5vw;
  font-family: sans-serif;
  box-shadow: 0 1vw 2.8vw rgba(0,0,0,.14);
  transition: transform .28s var(--easing), box-shadow .28s ease;
}
.contact-info:hover{
  transform: translateY(-4px);
  box-shadow: 0 1.2vw 3vw rgba(0,0,0,.16);
}

.contact-info p {
  margin-top: 3%;
}

/* SOCIAL ICONS */
.socials a {
  margin-right: 1vw;
  font-size: 2.2vw;
  color: white;
  font-family: sans-serif;
  display: inline-flex;
  align-items: center;
  transition: transform .2s ease, opacity .2s ease, filter .2s ease;
}
.socials a:hover {
  opacity: 0.85;
  transform: translateY(-1px);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.18));
}

.socialbutton {
  width: 2.2vw;
  margin-top: 5%;
}

/* COPYRIGHT */
.copyright {
  text-align: center;
  margin-top: 4vw;
  opacity: 0.7;
  font-size: 1.4vw;
  font-family: sans-serif;
}

.sectie3titel {
  color: white;
  font-family: helvetica now;
  margin-bottom: 3%;
  font-size: 2vw;
  line-height: 1;
  display: inline-block;
}

/* ====== Klik → fade-in via :target (nav anchors) ======
   Wanneer je bijvoorbeeld op #hoofdstukken klikt in de header,
   krijgt de getargete sectie een zachte fade-in. */
section:target,
.div:target,
#hoofdstukken:target,
#overons:target,
#werking:target,
#faq:target,
#contact:target {
  animation: fadeUp .6s var(--easing) both;
}

/* Extra klikfeedback voor alle klikbare elementen */
a, button, .faq-question, .hoofdstukfoto {
  -webkit-tap-highlight-color: transparent;
}
a:active, button:active, .faq-question:active, .hoofdstukfoto:active {
  animation: tap .15s linear;
}

@media screen and (max-width:768px) {
  .banner {
    display: flex;
    flex-direction: column;
    gap: 6vw;
  }


  .bannerfoto {
    order: -5;
    width: 80%;
    margin-left: 10%;
    display: none;
  }
  .bannertitel {
    font-size: 6vw;
  }

  .bannertekst {
    font-size: 3vw;
    width: 80%;
  }

  #bannerbutton {
    font-size: 4vw;
    margin-bottom: 10%;
    height: 7vw;
    padding-left: 5%;
    padding-right: 5%;
  }

  .hoofdstukkenlijst {
    display: flex;
    flex-direction: column;
    gap: 4vw;
    margin-left: 20vw;
  }

  .sectie1titel, .sectie2titel, .sectie3titel{
    font-size: 5vw;
  }

  .hoofdstukfoto {
    width: 60vw;
  }

  .hoofdstuktitel {
    font-size: 5vw;
  }

  .hoofdstuknummer {
    font-size: 5vw;
  }

  .sectie2tekst {
    font-size: 4vw;
  }

  .sectie2tekstdiv {
    padding: 4vw;
    width: 80vw;
    margin-left: 6vw;
  }

  .sectie2button {
    font-size: 4vw;
    height: auto;
    padding: 2vw;
  }

  .how-section h2 {
    font-size: 7.5vw;
  }

  .how-step {
    width: 90%;
    margin-left: 10%;
  }

  .how-number {
    font-size: 7vw;
    width: 12vw;
    height: 12vw;
  }

  .how-step h3 {
    font-size: 6vw;
  }

  .how-step p {
    font-size: 4vw;
  }
  .faq-section h2 {
    font-size: 7.5vw;
    margin-top: 2%;
  }
  .faq-question {
    font-size: 5vw;
  }

  .faq-question::after {
    font-size: 5vw;
  }

  .faq-item {
    width: 90vw;
    margin-left: 5vw;
    margin-top: 5%;
    margin-bottom: 5%;
  }

  .faq-section {
    margin: 0;
  }

  .faq-answer p {
    font-size: 4vw;
  }

 .contact-container {
   flex-direction: column;
   grid-gap: 4vw;
   margin-top: 5%;
 }

 .contact-form h2 {
   font-size: 5vw;
 }

 .contact-form input,
 .contact-form textarea {
   font-size: 4vw;
 }

 .contact-form button {
   font-size:4vw;
 }

 .contact-info h2  {
   font-size: 6vw;
   margin-bottom: 5%;
 }

 .contact-info p  {
   font-size: 4vw;
 }

 .socialbutton {
   width: 7vw;
 }

 .socials {
   margin-top: 5%;
 }

 .copyright {
   font-size: 4vw;
 }

 .aanmelden-knop {
   position: none;
   wi
 }
