/* Vusto & Partners — 1:1 overgezet van de Joomla/Helix-site (oktober 2026) */

@font-face{font-family:'DM Serif Display';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/dm-serif-display-normal.woff2') format('woff2')}
@font-face{font-family:'DM Serif Display';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/dm-serif-display-italic.woff2') format('woff2')}
@font-face{font-family:'Josefin Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/josefin-sans-normal.woff2') format('woff2')}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 700;font-display:swap;src:url('../fonts/open-sans-normal.woff2') format('woff2')}

:root {
  --paars: #4f225c;        /* tekst en koppen */
  --paars-knop: #773b9e;   /* knop-hover */
  --blauw: #43a1d8;        /* links in de kop */
  --verloop: linear-gradient(95deg, rgb(59, 173, 224) 0%, rgb(120, 59, 158) 60%);
  --tegel-paars: 120, 59, 160;
  --tegel-blauw: 65, 160, 216;
  --tegel-donker: 80, 34, 93;
  --kop: 'DM Serif Display', serif;
  --tekst: 'Open Sans', sans-serif;
  --knop: 'Josefin Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: #252525;
  font: 300 16px/1.5 var(--tekst);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
h1, h2 {
  font-family: var(--kop);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--paars);
  margin: 0 0 30px;
}
h1 { font-size: 40px; line-height: 1.2; }
h2 { font-size: 2.2rem; line-height: 1.2; }
p { margin: 0 0 30px; color: var(--paars); }
p:last-child { margin-bottom: 0; }
a { color: inherit; }

/* ---------- navigatie (logo midden, hamburger rechts) ---------- */
.navigatie {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 4fr 1fr;
  align-items: center;
  padding: 20px 0;
}
.navigatie-logo { grid-column: 2; justify-self: center; display: block; line-height: 0; }
.navigatie-logo img { width: 200px; height: 130px; }
.navigatie-burger {
  grid-column: 3;
  justify-self: center;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  line-height: 0;
}
.navigatie-burger img { width: 32px; height: 17px; }

/* ---------- achtergrondvideo ---------- */
.video { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.video video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- homepage: tegels ---------- */
.tegels { position: relative; background: rgb(var(--tegel-paars)); }
.tegels-raster {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tegel {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2.62 / 1;
  padding: 0 10px;
  text-align: center;
  text-decoration: none;
  font: 400 24px/1 var(--kop);
  text-transform: uppercase;
  color: #fff;
  transition: background-color .15s linear, font-size .2s linear;
}
.tegel span { display: block; }
.tegel:nth-child(1), .tegel:nth-child(5), .tegel:nth-child(9) { background-color: rgba(var(--tegel-paars), .6); }
.tegel:nth-child(2), .tegel:nth-child(6), .tegel:nth-child(7) { background-color: rgba(var(--tegel-blauw), .6); }
.tegel:nth-child(3), .tegel:nth-child(4), .tegel:nth-child(8) { background-color: rgba(var(--tegel-donker), .6); }
@media (hover: hover) {
  .tegel:hover { font-size: 30px; }
  .tegel:nth-child(1):hover, .tegel:nth-child(5):hover, .tegel:nth-child(9):hover { background-color: rgb(var(--tegel-paars)); }
  .tegel:nth-child(2):hover, .tegel:nth-child(6):hover, .tegel:nth-child(7):hover { background-color: rgb(var(--tegel-blauw)); }
  .tegel:nth-child(3):hover, .tegel:nth-child(4):hover, .tegel:nth-child(8):hover { background-color: rgb(var(--tegel-donker)); }
}

/* ---------- knoppen ---------- */
.knop {
  display: inline-block;
  height: 35px;
  padding: 10px 20px;
  border: 1px solid var(--paars);
  background: transparent;
  color: var(--paars);
  font: 400 14px/16px var(--knop);
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: .3s;
}
.knop:hover, .knop:focus-visible { background: var(--paars-knop); color: #fff; }
.knop--breed { width: 350px; max-width: 100%; }
.knoppen { text-align: center; }
.knoppen--twee { display: grid; grid-template-columns: 1fr 1fr; }
.knoppen--twee > .knop { margin: 0 15px; }
.knoppen--twee > .knop:first-child { justify-self: end; }
.knoppen--twee > .knop:last-child { justify-self: start; }

.home-knoppen { padding-top: 50px; }

/* ---------- homepage: tekstblok ---------- */
.info { padding: 100px 15px; text-align: center; }
.info-binnen { max-width: 540px; margin: 0 auto; }
.info-tekst, .info-tekst p { color: var(--paars); }
.info-tekst { margin-bottom: 30px; }

/* ---------- paarse videokop van subpagina's ---------- */
.hero { position: relative; min-height: 600px; background: rgb(var(--tegel-paars)); color: #fff; }
.hero-binnen {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
  padding: 50px 40px;
}
.hero-tekst { width: 58.3333%; padding: 50px 0; }
.hero-tekst--breed { width: 75%; }
.hero h1 { font-size: 64px; color: #fff; }
.hero-intro p { color: #fff; font-size: 24px; line-height: 40px; }
.hero-intro a {
  color: #fff;
  background-color: var(--blauw);
  border-radius: 35px;
  padding: 0 10px;
  text-decoration: none;
  display: inline-block;
}
.terug {
  display: inline-block;
  padding: 8px 12px;
  color: #fff;
  font: 400 14px/17.5px var(--knop);
  text-transform: uppercase;
  text-decoration: none;
}
.terug img { width: 10px; height: 11px; vertical-align: 0; }
.hero-omlaag { display: block; width: 34px; margin: 0 auto; padding: 8px 12px; line-height: 20px; }
.hero-omlaag img { width: 10px; height: 11px; transform: rotate(-90deg); vertical-align: middle; }

/* ---------- onder de kop ---------- */
.cta { padding: 50px 15px; text-align: center; max-width: 1140px; margin: 0 auto; }
.cta--formulier { padding: 100px 15px; max-width: 900px; }

/* ---------- formulieren (wj-formulieren, opmaak van de oude RSForm) ---------- */
.wj-formulier { max-width: none; text-align: left; font-family: var(--tekst); color: var(--paars); }
.wj-formulier .wj-formulier-velden { gap: 0 24px; }
.wj-formulier .wj-veld { margin-bottom: 16px; }
.wj-formulier .wj-veld-label, .wj-formulier .wj-veld-kop {
  display: block;
  margin: 0 0 8px;
  padding-left: 13px;
  font: 300 15px/1.5 var(--tekst);
  text-transform: uppercase;
  color: grey;
}
.wj-formulier .wj-veld--plaatshouder > .wj-veld-label {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.wj-formulier .wj-veld-optioneel { display: none; }
.wj-formulier input[type=text], .wj-formulier input[type=email], .wj-formulier textarea, .wj-formulier select {
  display: block;
  width: 100%;
  min-height: 38px;
  padding: 6px 12px;
  border: 1px solid rgba(79, 34, 92, .145);
  border-radius: 0;
  background-color: #fff;
  color: #212529;
  font: 300 16px/24px var(--tekst);
  box-shadow: none;
  outline: 0;
}
.wj-formulier textarea { height: 134px; resize: vertical; }
.wj-formulier select {
  appearance: none;
  padding-right: 36px;
  text-transform: uppercase;
  color: grey;
  background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") no-repeat right 12px center / 16px 12px;
}
.wj-formulier input:focus, .wj-formulier textarea:focus, .wj-formulier select:focus { border: 2px solid var(--paars); padding: 5px 11px; }
.wj-formulier ::placeholder { color: grey; text-transform: uppercase; opacity: 1; }
.wj-formulier :focus::placeholder { color: var(--paars); }
.wj-formulier .wj-veld-foutmelding, .wj-formulier .wj-formulier-fout { color: #c00; font-size: 14px; margin: 4px 0 0; }
.wj-formulier .wj-veld--fout input, .wj-formulier .wj-veld--fout textarea, .wj-formulier .wj-veld--fout select { border-color: #c00; }
.wj-formulier .wj-formulier-knop {
  display: block;
  margin: 50px auto 0;
  height: 35px;
  padding: 10px 20px;
  border: 1px solid var(--paars);
  border-radius: 0;
  background: transparent;
  color: var(--paars);
  font: 400 14px/16px var(--knop);
  text-transform: uppercase;
  cursor: pointer;
  transition: .3s;
}
.wj-formulier .wj-formulier-knop:hover, .wj-formulier .wj-formulier-knop:focus-visible { background: var(--paars-knop); color: #fff; }
.wj-formulier-bedankt { text-align: center; }
.wj-formulier-bedankt p { color: var(--paars); font-size: 18px; }

/* ---------- contactblok (Contact / Over) ---------- */
.contact { padding: 50px 15px 100px; }
.contact-rij {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 30px;
  align-items: end;
  max-width: 1110px;
  margin: 0 auto;
  text-align: center;
}
.contact .portret { width: 193px; height: 193px; display: block; margin: 0 auto 40px; }
.contact p { color: #000; }
.contact p a { display: block; color: #000; text-decoration: underline; }
.contact p a:hover { font-weight: 700; }

/* ---------- footer ---------- */
.footer {
  padding: 100px 15px;
  background: var(--verloop);
  color: #fff;
  text-align: center;
}
.footer img { width: 155px; height: auto; display: block; margin: 0 auto; }
.footer p { color: #fff; margin: 0 0 30px; }
.footer-linkedin { display: inline-block; width: 20px; height: 20px; margin: 5px; color: #fff; line-height: 0; }
.footer-linkedin svg { width: 18px; height: 20px; }
.footer-credit { font-size: 14px; line-height: 21px; margin-top: 3px; }
.footer-credit p { margin: 0; color: #fff; }
.footer-credit a { color: #fff; text-decoration: underline; }

/* ---------- menu (volledig scherm) ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 50px 50px;
  background: var(--verloop);
  overflow-y: auto;
  opacity: 0;
  transition: opacity .3s;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu-sluit {
  position: absolute;
  top: 75px;
  right: 6.5%;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  line-height: 0;
}
.menu-sluit img { width: 25px; height: 25px; }
.menu-inhoud { text-align: center; max-width: 1500px; }
.menu-logo { display: block; margin: 0 auto 100px; line-height: 0; }
.menu-logo img { width: 200px; height: 130px; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li { margin-bottom: 30px; }
.menu li a {
  font: 300 24px/1.5 var(--tekst);
  color: #fff;
  text-decoration: none;
}
.menu li a:hover, .menu li a:focus-visible { font-weight: 700; }
html.menu-open { overflow: hidden; }

/* ---------- tablet ---------- */
@media (max-width: 1199px) {
  .hero h1 { font-size: 45px; }
  .hero-intro p { font-size: 20px; line-height: 30px; }
  .hero-binnen { padding-left: 10px; padding-right: 10px; }
  .footer { padding: 40px 20px; }
  .cta--formulier { padding: 50px 15px; }
}
@media (max-width: 959px) {
  .tegel { font-size: 16px; }
  @media (hover: hover) { .tegel:hover { font-size: 20px; } }
  .hero-tekst, .hero-tekst--breed { width: 100%; }
  .menu-logo { margin-bottom: 50px; }
  .menu-sluit { right: 35px; }
}

/* ---------- mobiel ---------- */
@media (max-width: 767px) {
  .tegels-raster { grid-template-columns: minmax(0, 1fr); }
  .tegel, .tegel:hover { font-size: 20px; transition: none; }
  .tegel:nth-child(n) { background-color: rgba(var(--tegel-paars), .75); }
  .tegel:nth-child(3n+2) { background-color: rgba(var(--tegel-blauw), .75); }
  .tegel:nth-child(3n) { background-color: rgba(var(--tegel-donker), .75); }

  .knoppen--twee { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .knoppen--twee > .knop, .knoppen--twee > .knop:first-child, .knoppen--twee > .knop:last-child { justify-self: center; margin: 0; }
  .knop { white-space: normal; height: auto; min-height: 35px; }
  .home-knoppen { padding: 50px 20px 0; }

  .info { padding: 30px 20px; }
  .hero-binnen { padding: 30px 30px 50px; }
  .hero-tekst { padding: 20px 0; }
  .hero h1 { font-size: 40px; }
  .cta { padding: 50px 20px; }
  .contact-rij { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .contact-kantoor { order: -1; }
  .menu { padding: 20px; }
  .menu-sluit { right: 15px; }
  .menu li a { font-size: 20px; }
  .wj-formulier .wj-veld { grid-column: 1 / -1 !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .menu, .tegel, .knop { transition: none; }
}
