/* ==========================================================================
   PP Spaanse les — stylesheet
   Alle kleuren en maten staan bovenaan in :root. Wil je iets globaal
   veranderen (bijvoorbeeld het geel of het goud), pas dan daar één regel aan.
   ========================================================================== */

:root {
  /* Kleuren */
  --goud:        #f0ad4e;  /* cursustitels en omlijnde knoppen */
  --geel:        #ffc20a;  /* achtergrond tarieven-sectie */
  --donkerrood:  #a21622;  /* kop "De passie van... Paula Pinal" */
  --donker:      #333333;  /* donkere knoppen en bodytekst */
  --grijs:       #777777;
  --grijsgroen:  #b1c9c5;  /* naam boven de prijs */
  --lichtgrijs:  #dddddd;
  --wit:         #ffffff;
  --zwart:       #000000;

  /* Typografie */
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Maten */
  --nav-hoogte: 50px;
  /* Het origineel gebruikt de volle paginabreedte; alleen wat lucht opzij. */
  --wrap-padding: 1rem;
}

/* --- basis ---------------------------------------------------------------- */

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.7;
  color: var(--donker);
  background: var(--wit);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3 { margin: 0; font-weight: 600; }

.wrap {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--wrap-padding);
}

.midden { text-align: center; }

/* Anker-secties niet onder de plakkende navigatie laten schuiven */
section[id], header[id] { scroll-margin-top: var(--nav-hoogte); }

/* Dubbele chevron (naar beneden / naar boven) */
.chevron {
  width: 40px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  background: #1a1a1a url("../img/hero-boeken.jpg") center top / cover no-repeat;
  color: var(--wit);
}

/* Donkere waas over de foto zodat de tekst leesbaar blijft */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--zwart);
  opacity: .5;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 5.25rem 7.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__logo { width: 135px; height: auto; }

.hero__intro {
  margin: auto 0 0;
  max-width: 335px;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.35;
}

.hero__cta {
  margin-top: 9rem;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero__cta .chevron { animation: wip 2.5s ease-in-out infinite; }

@keyframes wip {
  0%, 60%, 100% { transform: translateY(0); }
  30%           { transform: translateY(6px); }
}


/* ==========================================================================
   NAVIGATIE
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--wit);
  border-bottom: 1px dotted var(--lichtgrijs);
}

.nav__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .25rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: var(--nav-hoogte);
  align-items: center;
}

.nav__list a {
  display: block;
  padding: .5rem .25rem;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: var(--donker);
  transition: color .2s;
}

.nav__list a:hover,
.nav__list a.is-actief { color: var(--grijs); }


/* ==========================================================================
   LES OP MAAT — cursussen
   ========================================================================== */

.cursussen { padding: 4rem 0 1rem; }

.cursussen__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.cursus {
  text-align: center;
  /* Kolom met groeiende tekst, zodat de knoppen binnen een rij
     op dezelfde hoogte eindigen ook als de teksten verschillen. */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cursus__tekst { flex: 1 0 auto; }

/* Tweede rij: twee cursussen, precies zo breed als twee van de drie erboven */
.cursussen__grid--twee {
  grid-template-columns: repeat(2, 1fr);
  width: calc((200% - 2rem) / 3);
  margin: 3rem auto 0;
}

.cursus__foto {
  width: 245px;
  height: 245px;
  margin: 0 auto 1.75rem;
  border-radius: 50%;
  object-fit: cover;
}

.cursus__titel {
  color: var(--goud);
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.cursus__tekst {
  max-width: 400px;
  margin: 0 auto 2.5rem;
  font-weight: bold;
  line-height: 1.7;
}



/* ==========================================================================
   KNOPPEN
   ========================================================================== */

/* Omlijnde gouden knop */
.knop-lijn {
  display: inline-block;
  padding: .85rem 1.9rem;
  border: 2px solid var(--goud);
  border-radius: 4px;
  color: var(--goud);
  background: transparent;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: background-color .3s, color .3s;
}

.knop-lijn:hover,
.knop-lijn:focus-visible {
  background: var(--goud);
  color: var(--wit);
}

.knop-lijn .pijl { margin-left: .5rem; }

/* Donkere knop */
.knop-donker,
.knop-licht {
  display: inline-block;
  padding: .8rem 1.5rem;
  border: 0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s;
}

.knop-donker { background: var(--donker); color: var(--wit); }
.knop-donker:hover, .knop-donker:focus-visible { background: #1f1f1f; }

.knop-licht { background: #e6e6e6; color: var(--donker); }
.knop-licht:hover, .knop-licht:focus-visible { background: #d6d6d6; }


/* ==========================================================================
   DE DOCENT
   ========================================================================== */

.docent {
  background: #ded9d2 url("../img/paula.jpg") center center / cover no-repeat;
}

.docent__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 1047px;
  align-items: center;
}

.docent__tekst {
  grid-column: 2;
  padding: 3rem 5rem 3rem 4.5rem;
  color: var(--wit);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}

.docent__titel {
  color: var(--donkerrood);
  font-size: 48px;
  font-weight: 300;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-shadow: none;
}


/* ==========================================================================
   TARIEVEN
   ========================================================================== */

.tarieven {
  background: var(--geel);
  padding: 42px 0;
  text-align: center;
  color: var(--wit);
}

.sectie-titel {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--wit);
}

.sectie-titel--tweede { margin-top: 3rem; }

.sectie-sub {
  margin: .5rem 0 0;
  font-size: 14px;
}

/* Kort wit streepje als scheiding */
.streep {
  display: block;
  width: 40px;
  height: 3px;
  margin: 1.75rem auto;
  background: var(--wit);
}

.prijzen {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 1.5rem 0 0;
}

.prijs {
  background: var(--wit);
  padding: 0 0 42px;
  color: var(--donker);
  /* Kolom, zodat de scheidingslijn en de knop op alle kaarten
     op dezelfde hoogte uitkomen, ook als de ene kaart meer tekst heeft. */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Prijsblok en knop worden gescheiden door een dun lijntje */
.prijs__info {
  flex: 1 0 auto;
  align-self: stretch;
  padding: 1rem 1.5rem .75rem;
  border-bottom: 1px solid var(--lichtgrijs);
  margin-bottom: 1.5rem;
}

.prijs__naam {
  font-size: 24px;
  font-weight: 600;
  color: var(--grijsgroen);
  margin-bottom: .5rem;
}

.prijs__bedrag {
  margin: 0;
  font-size: 60px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--donker);
}

.prijs__bedrag .euro {
  font-size: 36px;
  vertical-align: top;
  line-height: 1.5;
}

.prijs__eenheid {
  margin: 0;
  font-size: 20px;
  font-style: italic;
  color: var(--grijs);
  line-height: 1.4;
}

/* Tweede regel onder de prijs: groepsgrootte of een afwijkende lesduur */
.prijs__extra {
  margin: .5rem 0 0;
  font-size: 14px;
  color: var(--grijs);
}

.prijs__extra b { color: var(--donker); }

.eerste-keer {
  max-width: 1400px;
  margin: 1rem auto 0;
  font-size: 14px;
}


/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--zwart);
  color: var(--lichtgrijs);
  min-height: 720px;
}

.contact__kaart { background: #111; }

.contact__kaart iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  display: block;
}

.contact__gegevens {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.contact__titel {
  font-size: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--wit);
  margin-bottom: 1rem;
}

.contact__adres {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.contact__adres a { text-decoration: none; }
.contact__adres a:hover { text-decoration: underline; }

.contact__social {
  margin: 2rem 0 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.contact__social svg {
  width: 20px;
  height: 20px;
  fill: var(--wit);
  transition: opacity .2s;
}

.contact__social a:hover svg { opacity: .7; }

.contact__cta {
  color: var(--wit);
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact__cta .chevron { animation: wip 2.5s ease-in-out infinite; }


/* ==========================================================================
   FORMULIEREN
   ========================================================================== */

.formulieren { padding: 3rem 0 2rem; background: var(--wit); }

.formulieren__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem 5rem;
  align-items: start;
}

.formulier__titel {
  font-size: 30px;
  font-weight: 400;
  color: var(--donker);
  margin-bottom: 1.25rem;
}

.formulier__uitleg { margin: 0 0 1.5rem; }

.formulier form p { margin: 0 0 .9rem; }

.formulier label {
  display: block;
  margin-bottom: .3rem;
  font-size: 13px;
  color: #555;
}

.formulier input[type="text"],
.formulier input[type="email"],
.formulier input[type="tel"],
.formulier select,
.formulier textarea {
  width: 100%;
  padding: .55rem .7rem;
  border: 1px solid #b4b4b4;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  color: var(--donker);
  background: var(--wit);
}

.formulier textarea { resize: vertical; }

.formulier input:focus,
.formulier select:focus,
.formulier textarea:focus {
  outline: 0;
  border-color: var(--goud);
  box-shadow: 0 0 0 2px rgba(240, 173, 78, .25);
}

.formulier .rij {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.formulier .rij p { margin-bottom: 0; }

.akkoord {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.akkoord label { margin: 0; }

.ster { color: #c0392b; }

.klein { font-size: 13px; color: var(--grijs); }

/* Honeypot — voor bezoekers onzichtbaar, spambots vullen dit veld wel in */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Melding na verzenden */
.melding {
  padding: .75rem 1rem;
  border-radius: 4px;
  font-size: 14px;
}

.melding--goed { background: #e7f4e9; border: 1px solid #b6dfc0; color: #1e6b31; }
.melding--fout { background: #fdecea; border: 1px solid #f5c2bd; color: #8b2018; }

/* Veld dat niet correct is ingevuld */
.formulier .is-fout input,
.formulier .is-fout select,
.formulier .is-fout textarea { border-color: #c0392b; }


/* ==========================================================================
   FOOTER + TERUG NAAR BOVEN
   ========================================================================== */

.footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
}

.footer p { margin: 0; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* Zwevende WhatsApp-knop rechtsonder */
.whatsapp-knop {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: .6rem;
  height: 56px;
  padding: 0 1.15rem;
  border-radius: 28px;
  background: #25d366;
  color: var(--wit);
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .28);
  transition: background-color .2s, transform .2s;
}

.whatsapp-knop svg {
  width: 28px;
  height: 28px;
  flex: none;
  fill: currentColor;
}

.whatsapp-knop:hover,
.whatsapp-knop:focus-visible {
  background: #1eb855;
  transform: translateY(-2px);
}

.naar-boven {
  position: fixed;
  right: 1.5rem;
  bottom: 6.25rem;
  z-index: 90;
  color: rgba(120, 120, 120, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s, color .3s;
}

.naar-boven.is-zichtbaar { opacity: 1; visibility: visible; }
.naar-boven:hover { color: rgba(120, 120, 120, .9); }


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1100px) {
  .hero__inner { padding: 3.5rem 2rem; }
  .docent__tekst { padding: 3rem 2rem; font-size: 16px; }
  .docent__titel { font-size: 38px; }
  /* Vier prijskaarten naast elkaar wordt te krap: twee bij twee */
  .prijzen { grid-template-columns: repeat(2, 1fr); }
  .prijs__bedrag { font-size: 48px; }
  .prijs__eenheid { font-size: 17px; }
}

@media (max-width: 900px) {
  .cursussen__grid { grid-template-columns: 1fr; gap: 3rem; }
  .cursussen__grid--twee { width: 100%; margin-top: 3rem; }

  /* Foto van Paula boven de tekst in plaats van als achtergrond */
  .docent {
    background-image: none;
    background-color: #6f6459;
  }
  .docent__wrap {
    display: block;
    min-height: 0;
    padding: 0;
    max-width: none;
  }
  .docent__wrap::before {
    content: "";
    display: block;
    height: 55vw;
    max-height: 420px;
    background: url("../img/paula.jpg") center 20% / cover no-repeat;
  }
  .docent__tekst { padding: 2.5rem 1.5rem 3rem; }

  .prijzen { grid-template-columns: 1fr; gap: 1rem; }
  .contact { grid-template-columns: 1fr; }
  .contact__kaart { min-height: 320px; }
  .contact__titel { font-size: 38px; }
  .formulieren__grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 600px) {
  .nav__list { gap: 0 1rem; padding: .35rem 0; }
  .nav__list a { font-size: 12px; padding: .35rem .15rem; }
  .hero__inner { padding: 2.5rem 1.5rem; }
  .hero__logo { width: 105px; }
  .hero__intro { max-width: none; }
  .hero__cta { margin-top: 3.5rem; align-self: center; }
  .sectie-titel { font-size: 28px; }
  .docent__titel { font-size: 30px; }
  .formulier .rij { grid-template-columns: 1fr; gap: 0; }
  .formulier .rij p { margin-bottom: .9rem; }
  .whatsapp-knop {
    right: 1rem;
    bottom: 1rem;
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
  }
  .whatsapp-knop__tekst { display: none; }
  .naar-boven { right: 1.35rem; bottom: 5rem; }
}

/* Respecteer de systeeminstelling "verminder beweging" */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__cta .chevron,
  .contact__cta .chevron { animation: none; }
}
