/* IT Lynx - stijl naar het voorbeeld van de vorige site (Elementor op Twenty Seventeen) */

@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/libre-franklin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Franklin";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/libre-franklin-var-italic.woff2") format("woff2");
}

:root {
  --teal: #308FAA;          /* iconen, accenten */
  --teal-donker: #2A7F98;   /* knoppen (genoeg contrast met witte tekst) */
  --teal-tekst: #23708A;    /* links in lopende tekst */
  --kop: #4C4C4C;           /* grote titels */
  --tekst: #666666;         /* lopende tekst */
  --menu: #54595F;
  --grijs: #EEEEEE;         /* grijze secties */
  --voet: #ABABAB;
  --lijn: #B5B5B5;
  --fout: #B3261E;
  --wit: #FFFFFF;
  --kophoogte: 92px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kophoogte) + 10px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--wit);
  color: var(--tekst);
  font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}
button, input, textarea { font: inherit; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; }
a { color: var(--teal-tekst); }
a:hover { color: var(--teal); }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.icoon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.wrap--smal { max-width: 960px; }
.wrap--tekst { max-width: 780px; }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.skiplink {
  position: absolute;
  left: 1em;
  top: -10em;
  z-index: 100;
  padding: 0.8em 1.2em;
  background: var(--wit);
  color: var(--kop);
  font-weight: 700;
  box-shadow: 0 0 0 2px var(--teal);
}
.skiplink:focus { top: 1em; }

/* ---------- Kop (vast bovenaan) ---------- */

.kop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--kophoogte);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.kop__binnen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.kop__logo img { width: 160px; height: auto; }

.menuknop {
  display: none;
  padding: 10px;
  margin-right: -10px;
  border: 0;
  background: none;
  color: var(--menu);
  font-size: 24px;
  line-height: 0;
  cursor: pointer;
}
.menuknop__dicht { display: none; }
.menuknop[aria-expanded="true"] .menuknop__open { display: none; }
.menuknop[aria-expanded="true"] .menuknop__dicht { display: inline-block; }

.hoofdmenu {
  display: flex;
  align-items: center;
  gap: 40px;
}
.menu {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu > li { position: relative; }
.menu a {
  display: block;
  padding: 0 22px;
  line-height: var(--kophoogte);
  color: var(--menu);
  text-decoration: none;
  text-transform: uppercase;
}
.menu a:hover,
.menu a[aria-current="page"] { color: var(--teal); }
.menu__subknop { display: none; }
.menu__sub {
  position: absolute;
  top: calc(var(--kophoogte) - 12px);
  left: 10px;
  min-width: 220px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--wit);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms;
}
.menu__met-sub:hover .menu__sub,
.menu__met-sub:focus-within .menu__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.menu__sub a {
  padding: 10px 20px;
  line-height: 1.4;
  color: var(--kop);
  font-size: 15px;
  text-transform: none;
}

.sociaal {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sociaal a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--menu);
  font-size: 18px;
}
.sociaal a:hover { color: var(--teal); }

/* ---------- Gemeenschappelijk ---------- */

main { flex: 1 0 auto; padding-top: var(--kophoogte); }

.sectiekop {
  margin: 0 0 40px;
  color: var(--kop);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.knop {
  display: inline-block;
  padding: 15px 45px;
  border: 0;
  border-radius: 0;
  background: var(--teal-donker);
  color: var(--wit);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}
.knop:hover { background: var(--kop); color: var(--wit); }
.knop--wit { background: var(--wit); color: var(--teal-tekst); }
.knop--wit:hover { background: var(--teal-donker); color: var(--wit); }
.knop:disabled { opacity: 0.7; cursor: progress; }

/* ---------- Ons aanbod ---------- */

.aanbod { padding: 70px 0 40px; }
.diensten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dienst__link {
  display: block;
  height: 100%;
  padding: 30px 20px 26px;
  color: var(--tekst);
  text-align: center;
  text-decoration: none;
  transition: background 200ms ease;
}
.dienst__link:hover { background: #F6F6F6; color: var(--tekst); }
.dienst__icoon { width: 50px; height: 50px; color: var(--teal); }
.dienst__titel {
  margin: 18px 0 12px;
  color: var(--kop);
  font-size: 25px;
  font-weight: 400;
}
.dienst__link p { margin-bottom: 14px; font-size: 15px; }
.dienst__meer {
  color: var(--teal-tekst);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}
.dienst__link:hover .dienst__titel { color: var(--teal); }

/* ---------- Filosofie ---------- */

.filosofie { padding: 60px 0 80px; text-align: center; }
.filosofie p { line-height: 2; }
.filosofie .knop { margin-top: 20px; }

/* ---------- Contact ---------- */

.contact { padding: 70px 0 80px; }
.contact--grijs { background: var(--grijs); }
.contact__raster {
  display: grid;
  grid-template-columns: 62fr 38fr;
  gap: 40px;
  align-items: start;
}
.formulier__raster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.veld { margin: 0 0 20px; }
.veld--breed { grid-column: 1 / -1; }
.veld input,
.veld textarea {
  display: block;
  width: 100%;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid var(--lijn);
  border-radius: 0;
  background: transparent;
  color: var(--kop);
  font-size: 15px;
}
.veld textarea { resize: vertical; min-height: 7em; }
.veld ::placeholder { color: #777; opacity: 1; }
.veld input:focus,
.veld textarea:focus {
  outline: none;
  border-bottom-color: var(--teal);
  box-shadow: 0 1px 0 var(--teal);
}
.veld [aria-invalid="true"] { border-bottom-color: var(--fout); }
.veld__fout {
  display: block;
  margin-top: 6px;
  color: var(--fout);
  font-size: 14px;
  font-weight: 600;
}
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.spamcontrole { margin: 0 0 16px; }
.spamcontrole altcha-widget {
  --altcha-border-width: 1px;
  --altcha-border-radius: 0;
  --altcha-color-border: var(--lijn);
  --altcha-color-text: var(--kop);
  --altcha-color-base: var(--wit);
  --altcha-color-border-focus: var(--teal);
  --altcha-color-error-text: var(--fout);
  --altcha-max-width: 100%;
  display: block;
}
#altcha-plek:empty { min-height: 58px; }
.privacynoot { font-size: 14px; }
.melding {
  margin: 0 0 16px;
  padding: 0.8em 1em;
  border-left: 3px solid var(--fout);
  background: #FBEEEC;
  color: #5C130F;
}
.melding a { color: inherit; }
.bedankt {
  padding: 1.2em 1.4em;
  border-left: 3px solid var(--teal);
  background: var(--wit);
  color: var(--kop);
}
.bedankt p:last-child { margin-bottom: 0; }
.bedankt:focus { outline: none; }
.contact--grijs .knop--wit { box-shadow: none; }
.contact:not(.contact--grijs) .knop--wit { box-shadow: inset 0 0 0 1px var(--teal-donker); }

.contactinfo { text-align: center; }
.contactinfo__icoon { width: 50px; height: 50px; color: var(--teal); }
.contactinfo p { margin: 0 0 8px; }
.contactinfo__nummer {
  margin: 14px 0 12px !important;
  font-size: 30px;
}
.contactinfo__nummer a { color: var(--kop); text-decoration: none; }
.contactinfo a { color: var(--kop); }

/* ---------- Dienstpagina's ---------- */

.paginakop { padding: 60px 0 20px; }
.paginakop .sectiekop { margin-bottom: 0; }

.zigzag { padding: 20px 0 60px; }
.zigzag__raster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
  align-items: center;
}
.zigzag__beeld { margin: 0; }
.zigzag__beeld img { margin: 0 auto; }
.zigzag__tekst { text-align: center; }
.zigzag__tekst h2 {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.3;
}
.zigzag__tekst p { font-size: 15px; }

.waarom { padding: 60px 0 50px; background: var(--grijs); }
.waarom .sectiekop { text-transform: uppercase; }
.redenen {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.reden__iconen {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--teal);
}
.reden__icoon { width: 50px; height: 50px; }
.reden h3 {
  margin: 0 0 8px;
  color: var(--kop);
  font-size: 16px;
  font-weight: 700;
}
.reden p { font-size: 15px; }

/* ---------- Blog en tekstpagina's ---------- */

.artikel { padding-top: 60px; padding-bottom: 70px; }
.artikel h1 {
  margin: 0 0 10px;
  color: var(--kop);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.25;
}
.artikel h2 {
  margin: 1.8em 0 0.5em;
  color: var(--kop);
  font-size: 22px;
  font-weight: 600;
}
.artikel p,
.artikel li { line-height: 1.75; }
.artikel ul,
.artikel ol { margin: 0 0 1em; padding-left: 1.3em; }
.artikel__datum { color: #777; font-size: 14px; }
.artikel__terug { font-size: 14px; }
.artikel h1 + .artikel__datum { margin-bottom: 2em; }
.bijgewerkt { margin-top: 2em; font-size: 14px; font-style: italic; }

.bloglijst { margin: 30px 0 0; padding: 0 !important; list-style: none; }
.bloglijst__item { padding: 24px 0; border-top: 1px solid #E2E2E2; }
.bloglijst__item h2 { margin: 0 0 8px; font-size: 24px; font-weight: 400; }
.bloglijst__item h2 a { color: var(--kop); text-decoration: none; }
.bloglijst__item h2 a:hover { color: var(--teal); }
.bloglijst__item .artikel__datum { margin: 0 0 4px; }

/* ---------- Voettekst ---------- */

.voet { background: var(--voet); color: #222; }
.voet__binnen { padding-top: 30px; padding-bottom: 26px; }
.voet__volg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.voet__volg p { margin: 0; font-weight: 500; }
.voet .sociaal a { color: #222; font-size: 24px; }
.voet .sociaal a:hover { color: var(--wit); }
.voet__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 18px 0 8px;
  padding: 0;
  list-style: none;
}
.voet__links a { color: #222; }
.voet__links a:hover { color: var(--wit); }
.voet__bedrijf { margin: 0; font-size: 14px; }

/* ---------- Kleinere schermen ---------- */

@media (max-width: 1024px) {
  :root { --kophoogte: 72px; }
  .kop__logo img { width: 140px; }
  .menuknop { display: block; }
  .hoofdmenu {
    position: fixed;
    top: var(--kophoogte);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--kophoogte));
    overflow-y: auto;
    padding: 6px 20px 16px;
    background: var(--wit);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  }
  .hoofdmenu.is-open { display: flex; }
  .menu { flex-direction: column; }
  .menu > li { border-bottom: 1px solid #E8E8E8; }
  .menu a { padding: 14px 0; line-height: 1.4; }
  .menu__met-sub { display: grid; grid-template-columns: 1fr auto; }
  .menu__subknop {
    display: block;
    width: 48px;
    border: 0;
    background: none;
    color: var(--menu);
    cursor: pointer;
  }
  .menu__subknop[aria-expanded="true"] .icoon { transform: rotate(180deg); }
  .menu__sub {
    position: static;
    grid-column: 1 / -1;
    display: none;
    min-width: 0;
    padding: 0 0 8px 16px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .menu__met-sub.is-open .menu__sub { display: block; }
  .menu__sub a { padding: 8px 0; }
  .sociaal--kop { justify-content: center; padding-top: 10px; }

  .redenen { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .sectiekop { font-size: 30px; margin-bottom: 28px; }
  .diensten { grid-template-columns: repeat(2, 1fr); }
  .contact__raster { grid-template-columns: 1fr; }
  .zigzag__raster { grid-template-columns: 1fr; gap: 16px; }
  .zigzag__beeld img { max-height: 320px; width: auto; }
  .zigzag__tekst { margin-bottom: 30px; }
}

@media (max-width: 560px) {
  .aanbod { padding-top: 50px; }
  .diensten { grid-template-columns: 1fr; gap: 0; }
  .formulier__raster { grid-template-columns: 1fr; }
  .redenen { grid-template-columns: 1fr; }
  .artikel h1 { font-size: 30px; }
  .voet__volg { flex-direction: column; align-items: flex-start; gap: 8px; }
  .voet .sociaal { margin-left: -10px; }
}

@media print {
  .kop, .formulier, .sociaal, .menuknop { display: none; }
  main { padding-top: 0; }
}
