/* Rijschool Bartelds */
:root {
  --blauw: #0f6eb4;
  --blauw-link: #1f74c4;
  --donker: #252525;
  --zwart: #0b0b0b;
  --tekst: #262626;
  --wit: #fff;
  --kop: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Figtree", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--tekst); background: var(--wit); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 .2em; }

.wrap { width: min(1040px, 88%); margin: 0 auto; }
.midden { text-align: center; }

/* ---------- Hero ---------- */
.hero { position: relative; height: max(260px, 28vw); overflow: hidden; background: #6b5a4c; }
.hero__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

.nav { position: absolute; top: 0; right: 14%; z-index: 3; background: rgba(26, 116, 196, .62); padding: 0 32px 0 18px; }
.nav__lijst { list-style: none; margin: 0; padding: 0; display: flex; gap: 29px; }
.nav__lijst a { display: block; padding: 14px 0 15px; color: var(--wit); font-size: 18px; text-decoration: underline; text-underline-offset: 3px; }
.nav__lijst li:last-child { margin-left: 16px; }
.nav__lijst a:hover, .nav__lijst a[aria-current="page"] { text-decoration-thickness: 2px; }
.nav__toggle { display: none; }

.hero__logo { position: absolute; z-index: 2; top: max(50px, 3.4vw); right: 17%; width: max(120px, 11.2vw); aspect-ratio: 1; border-radius: 50%; border: max(4px, .35vw) solid var(--wit); overflow: hidden; background: #000; }
.hero__logo img { width: 100%; height: 100%; object-fit: cover; }

.hero__inschrijven { position: absolute; z-index: 2; left: 15%; bottom: 7%; background: var(--blauw); color: var(--wit); font: 700 clamp(18px, 1.75vw, 28px)/1.4 Arial, Helvetica, sans-serif; text-align: center; text-decoration: none; padding: .45em .9em; border-radius: 6px; }
.hero__inschrijven:hover { background: #0c5c97; }

/* ---------- Blokken ---------- */
.blok { padding: 82px 0 60px; }
.blok--wit { background: var(--wit); }
.blok--donker { background: var(--donker); color: var(--wit); }

.kop { font-family: var(--kop); font-weight: 700; text-transform: uppercase; font-size: clamp(44px, 4.2vw, 66px); line-height: 1; letter-spacing: .005em; color: var(--tekst); margin: 0 0 22px; }
.kop--wit { color: var(--wit); }

.tekst--groot { font-size: clamp(20px, 1.72vw, 27px); font-weight: 650; line-height: 1.32; }
.tekst--wit { color: var(--wit); }
.smal { max-width: 540px; }
.breed { max-width: 820px; }

.knop { display: inline-flex; align-items: center; justify-content: center; min-width: 268px; min-height: 74px; padding: 0 28px; margin-top: 10px; background: var(--blauw); color: var(--wit); border-radius: 22px; font-size: 25px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.knop:hover { background: #0c5c97; }
.knop--dun { min-width: 236px; min-height: 73px; font-weight: 400; font-size: 24px; }

/* Home: twee kaarten */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 112px; margin-top: 36px; max-width: 800px; }
.kaart p { font-size: 17px; line-height: 1.42; margin: 6px 0 0; }

.swoosh { position: relative; width: 190px; height: 70px; margin: 0; }
.swoosh img { position: absolute; left: 10px; top: -4px; width: 175px; }
.swoosh span { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font: 700 21px/1 var(--body); color: var(--wit); }
.swoosh--groot { width: 240px; height: 86px; margin: 0 auto 20px; }
.swoosh--groot img { left: 0; top: -14px; width: 240px; }
.swoosh--groot span { bottom: 6px; font-size: 20px; }

/* Over mij */
.split { display: grid; grid-template-columns: 1fr 322px; gap: 54px; align-items: start; margin-top: 30px; }
.split__foto { width: 322px; aspect-ratio: 322 / 365; object-fit: cover; }
.split--midden { grid-template-columns: 1fr 1fr; align-items: center; margin-top: 0; gap: 60px; }
.split--midden .tekst { max-width: 470px; margin-top: 70px; }
.logo-groot { width: 380px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 1px solid #c9bdf3; padding: 10px; background: var(--wit); justify-self: center; clip-path: circle(50%); }
.pagina-proefles .blok { padding: 100px 0 40px; }

/* Pakketten */
.blok--pakketten { padding: 70px 0 90px; }
.pakketten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 70px 40px; margin: 80px 0 90px; }
.pakket { display: flex; align-items: flex-end; }
.pakket p { font-size: 19px; font-weight: 600; line-height: 1.38; margin: 6px 0 0 6px; }
.pakket .pakket__prijs { margin-top: 24px; }
.pakket .swoosh { height: 52px; }
.pakket .swoosh img { top: -24px; left: -4px; }
.pakket--be { margin-left: -120px; }
.pakket__aanhanger { width: 124px; align-self: flex-start; margin: -30px 22px 0 0; }

.extra { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; margin-top: 30px; }
.extra__kol { font-size: 17.5px; font-weight: 600; line-height: 1.48; }
.extra__kol a { color: var(--wit); }
.prijzen { border-collapse: collapse; margin: 0 0 10px 34px; }
.prijzen th { text-align: left; font-weight: 600; padding: 0 12px 0 0; }
.prijzen td { white-space: nowrap; }
.opmerking { font-size: 16px; font-weight: 600; line-height: 1.5; max-width: 860px; margin: 50px auto 0; }

.voordelen { list-style: none; margin: 270px 0 0; padding: 0; display: grid; gap: 26px; }
.voordelen li { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 600; }
.voordelen img { width: 40px; height: 44px; }

/* ---------- Contact ---------- */
.contact { position: relative; background: var(--zwart) url("../img/contactbg.png") center 34% / cover no-repeat; color: var(--wit); padding: 50px 0 40px; overflow: hidden; }
.contact__in { position: relative; display: grid; grid-template-columns: 1fr auto; min-height: 420px; }
.contact .kop { margin: 22px 0 0 40px; }
.contact__logo { grid-column: 2; grid-row: 1; width: 132px; aspect-ratio: 1; border-radius: 50%; border: 4px solid var(--wit); object-fit: cover; margin-top: 0; }
.contact__aanmelden { grid-column: 1 / -1; margin: 60px 0 0 136px; font-size: 17px; }
.contact__aanmelden strong { font-weight: 600; margin-right: 12px; }
.contact__aanmelden a { color: var(--wit); font-weight: 600; text-underline-offset: 3px; }
.contact__lijst { grid-column: 1; list-style: none; margin: 22px 0 0 136px; padding: 0; display: grid; gap: 20px; }
.contact__lijst li { display: flex; align-items: center; gap: 32px; }
.contact__lijst a { color: var(--blauw-link); font-weight: 700; font-size: 17.5px; text-underline-offset: 3px; }
.icoon { width: 37px; height: 37px; flex: none; }
.icoon svg { width: 100%; height: 100%; }
.contact__kvk { grid-column: 2; align-self: end; font-size: 17px; margin: 0 0 4px; }

/* ---------- Mobiel ---------- */
@media (max-width: 900px) {
  .nav { right: 0; left: 0; padding: 0; background: rgba(26, 116, 196, .78); }
  .nav__toggle { display: block; margin-left: auto; background: none; border: 0; color: var(--wit); font: 600 17px var(--body); padding: 14px 18px; cursor: pointer; }
  .nav__lijst { display: none; flex-direction: column; gap: 0; padding: 0 18px 10px; }
  .nav.is-open .nav__lijst { display: flex; }
  .nav__lijst li:last-child { margin-left: 0; }
  .hero { height: 62vw; min-height: 300px; }
  .hero__logo { top: auto; bottom: 16px; right: 16px; width: 110px; }
  .hero__inschrijven { left: 16px; bottom: 16px; }
  .duo, .split, .split--midden, .extra { grid-template-columns: 1fr; gap: 40px; }
  .split__foto { width: 100%; max-width: 322px; }
  .split--midden .tekst { margin-top: 0; }
  .logo-groot { width: min(320px, 80%); }
  .pakketten { grid-template-columns: 1fr 1fr; gap: 50px 24px; }
  .pakket--be { margin-left: 0; flex-direction: column; align-items: flex-start; }
  .pakket__aanhanger { margin: 0 0 30px; }
  .voordelen { margin-top: 70px; }
  .contact .kop { margin-left: 0; }
  .contact__aanmelden, .contact__lijst { margin-left: 0; }
  .contact__aanmelden a { word-break: break-all; }
  .contact__kvk { grid-column: 1 / -1; margin-top: 30px; }
}
@media (max-width: 560px) {
  .pakketten { grid-template-columns: 1fr; }
  .knop { min-width: 0; width: 100%; max-width: 300px; }
  .contact__logo { width: 96px; }
}
