/* ==========================================================================
   EMV Elektrotechniek - stylesheet
   Eén bestand, geen build-stap. Volgorde: lettertype, variabelen, basis,
   layout, kop, hero, secties, projecten, lichtbak, formulier, voet, media.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Lettertype
   Inter wordt lokaal geserveerd vanuit /fonts/, dus geen verzoek naar Google
   en op elk toestel hetzelfde beeld.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   2. Variabelen
   -------------------------------------------------------------------------- */
:root {
  --kleur-papier: #fbfaf8;
  --kleur-wit: #ffffff;
  --kleur-vlak: #f3f0ea;
  --kleur-lijn: #e6e0d6;
  --kleur-lijn-zacht: #efeae1;

  --kleur-inkt: #16202b;
  --kleur-tekst: #3b4652;
  --kleur-tekst-zacht: #6b7684;

  --kleur-accent: #b8501b;
  --kleur-accent-tekst: #9c4415;
  --kleur-accent-donker: #8a3b12;
  --kleur-accent-zacht: #f6ece4;

  --kleur-voet: #16202b;
  --kleur-voet-tekst: #a8b3be;

  --breedte-inhoud: 1160px;
  --breedte-tekst: 680px;

  --ruimte-xs: 0.5rem;
  --ruimte-s: 1rem;
  --ruimte-m: 2rem;
  --ruimte-l: 4.5rem;
  --ruimte-xl: 7rem;

  --radius: 6px;
  --radius-groot: 12px;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* --------------------------------------------------------------------------
   3. Basis
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--kleur-tekst);
  background: var(--kleur-papier);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--kleur-accent-tekst);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--kleur-accent-donker);
}

h1,
h2,
h3 {
  color: var(--kleur-inkt);
  line-height: 1.18;
  letter-spacing: -0.021em;
  margin: 0 0 var(--ruimte-s);
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.012em;
}

p {
  margin: 0 0 var(--ruimte-s);
}

p:last-child {
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid var(--kleur-accent);
  outline-offset: 2px;
}

.overslaan {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--kleur-wit);
  color: var(--kleur-inkt);
  padding: var(--ruimte-s);
  z-index: 200;
}

.overslaan:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.inhoud {
  width: 100%;
  max-width: var(--breedte-inhoud);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sectie {
  padding: var(--ruimte-l) 0;
}

.sectie--vlak {
  background: var(--kleur-vlak);
}

.tekstkolom {
  max-width: var(--breedte-tekst);
}

.tekstkolom p {
  font-size: 1.09rem;
}

.sectiekop {
  margin-bottom: var(--ruimte-m);
  max-width: var(--breedte-tekst);
}

.sectiekop p {
  color: var(--kleur-tekst-zacht);
  margin-top: 0.4rem;
}

.bovenkop {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--kleur-accent-tekst);
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.streep {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--kleur-accent);
  margin-bottom: 1.1rem;
}

/* --------------------------------------------------------------------------
   5. Knoppen
   -------------------------------------------------------------------------- */
.knop {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--kleur-accent);
  color: var(--kleur-wit);
  border: 1px solid var(--kleur-accent);
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.knop:hover {
  background: var(--kleur-accent-donker);
  border-color: var(--kleur-accent-donker);
  color: var(--kleur-wit);
}

.knop--rand {
  background: transparent;
  color: var(--kleur-inkt);
  border-color: var(--kleur-lijn);
}

.knop--rand:hover {
  background: var(--kleur-wit);
  border-color: var(--kleur-inkt);
  color: var(--kleur-inkt);
}

.knop--licht {
  background: var(--kleur-wit);
  border-color: var(--kleur-wit);
  color: var(--kleur-inkt);
}

.knop--licht:hover {
  background: #ece7de;
  border-color: #ece7de;
  color: var(--kleur-inkt);
}

/* --------------------------------------------------------------------------
   6. Kop en navigatie
   -------------------------------------------------------------------------- */
.kop {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--kleur-wit);
  border-bottom: 1px solid var(--kleur-lijn);
}

.kop__balk {
  display: flex;
  align-items: center;
  gap: var(--ruimte-s);
  min-height: 86px;
}

.kop__logo img {
  height: 30px;
  width: auto;
}

/* Volgorde in de balk: logo, menu, telefoon. In de HTML staat het menu
   achteraan, zodat het op mobiel netjes onder de balk uitklapt. */
.kop__logo { order: 1; }
.kop__nav { order: 2; margin-left: auto; }
.kop__telefoon { order: 3; }
.kop__schakelaar { order: 4; }

.kop__nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
}

.kop__nav a {
  display: block;
  padding: 0.5rem 0.7rem;
  color: var(--kleur-tekst);
  text-decoration: none;
  font-size: 0.97rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
}

.kop__nav a:hover {
  color: var(--kleur-inkt);
}

.kop__nav a[aria-current="page"] {
  color: var(--kleur-inkt);
  font-weight: 600;
  border-bottom-color: var(--kleur-accent);
}

.kop__telefoon {
  background: var(--kleur-accent);
  color: var(--kleur-wit);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.6rem 1.05rem;
  border-radius: var(--radius);
  font-size: 0.97rem;
}

.kop__telefoon:hover {
  background: var(--kleur-accent-donker);
  color: var(--kleur-wit);
}

.kop__schakelaar {
  display: none;
  background: none;
  border: 1px solid var(--kleur-lijn);
  border-radius: var(--radius);
  color: var(--kleur-inkt);
  padding: 0.5rem 0.75rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  align-items: center;
  gap: 0.5rem;
}

.kop__streepjes {
  display: block;
  width: 18px;
  height: 12px;
  position: relative;
}

.kop__streepjes span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--kleur-inkt);
}

.kop__streepjes span:nth-child(1) { top: 0; }
.kop__streepjes span:nth-child(2) { top: 5px; }
.kop__streepjes span:nth-child(3) { top: 10px; }

/* --------------------------------------------------------------------------
   7. Hero
   De foto blijft grotendeels onaangeraakt. Alleen onderin loopt een verloop,
   precies daar waar de tekst staat.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 400px;
  padding: var(--ruimte-l) 0 var(--ruimte-m);
  background-color: var(--kleur-inkt);
  background-size: cover;
  background-position: center;
}

.hero--hoog {
  min-height: 74vh;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 17, 23, 0) 38%,
    rgba(12, 17, 23, 0.2) 60%,
    rgba(12, 17, 23, 0.76) 100%
  );
}

.hero .inhoud {
  position: relative;
}

.hero h1 {
  color: var(--kleur-wit);
  max-width: 19ch;
  margin-bottom: 0;
}

.hero .streep {
  background: #e07b3e;
}

.hero__onderschrift {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: #e6eaee;
  max-width: 42ch;
  margin-top: 0.75rem;
}

.hero__acties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--ruimte-m);
}

/* --------------------------------------------------------------------------
   8. Slogan
   -------------------------------------------------------------------------- */
.slogan {
  background: var(--kleur-wit);
  border-top: 1px solid var(--kleur-lijn);
  border-bottom: 1px solid var(--kleur-lijn);
  text-align: center;
  padding: var(--ruimte-m) 0;
}

.slogan p {
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 500;
  color: var(--kleur-inkt);
  letter-spacing: -0.017em;
  max-width: 30ch;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   9. Kolommen
   -------------------------------------------------------------------------- */
.kolommen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--ruimte-l) var(--ruimte-m);
}

.kolom {
  text-align: center;
}

/* De ronde omlijsting komt uit de opmaak, de tekening zit in het svg-bestand. */
.kolom__icoon {
  width: 104px;
  height: 104px;
  margin: 0 auto 1.35rem;
  border: 1px solid #e0c6b3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kolom__icoon img {
  width: 46px;
  height: 46px;
}

.kolom h3 {
  margin-bottom: 0.5rem;
}

.kolom p {
  color: var(--kleur-tekst-zacht);
  font-size: 1rem;
  max-width: 34ch;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   10. Geschiedenis (tekst met logo ernaast)
   -------------------------------------------------------------------------- */
.geschiedenis {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ruimte-m);
  align-items: center;
}

.geschiedenis__logo {
  max-width: 360px;
  width: 100%;
}

/* --------------------------------------------------------------------------
   11. Nieuws
   -------------------------------------------------------------------------- */
.nieuws__bericht + .nieuws__bericht {
  margin-top: var(--ruimte-m);
  padding-top: var(--ruimte-m);
  border-top: 1px solid var(--kleur-lijn);
}

/* --------------------------------------------------------------------------
   12. Projecten, afwisselende rijen
   -------------------------------------------------------------------------- */
.project {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ruimte-m);
  align-items: center;
  padding: var(--ruimte-l) 0;
  border-top: 1px solid var(--kleur-lijn);
}

.project:first-of-type {
  border-top: 0;
  padding-top: var(--ruimte-m);
}

.project--zondermedia {
  grid-template-columns: 1fr;
}

.project__tekst h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  max-width: 22ch;
}

.project__tekst p {
  color: var(--kleur-tekst);
  max-width: 46ch;
}

.project__link {
  display: inline-block;
  margin-top: 0.4rem;
  font-weight: 500;
  word-break: break-word;
}

.project__aantal {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: var(--kleur-tekst-zacht);
}

/* Galerij: eerste foto groot, de rest als strip eronder. */
.galerij {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.galerij__lead {
  grid-column: 1 / -1;
}

.galerij button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--kleur-vlak);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  line-height: 0;
}

.galerij img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.galerij__lead img {
  aspect-ratio: var(--verhouding, 16 / 10);
  border-radius: var(--radius);
}

/* Losse fotorij, bijvoorbeeld bij een nieuwsbericht. */
.galerij--rij {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

.galerij--rij img {
  aspect-ratio: 3 / 2;
}

.galerij button:hover img {
  transform: scale(1.025);
  opacity: 0.94;
}

/* Filter per vakgebied */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: var(--ruimte-s);
}

.filter__knop {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: var(--kleur-wit);
  border: 1px solid var(--kleur-lijn);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--kleur-tekst);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.filter__knop:hover {
  border-color: var(--kleur-accent);
  color: var(--kleur-accent-tekst);
}

.filter__knop.is-actief {
  background: var(--kleur-accent);
  border-color: var(--kleur-accent);
  color: var(--kleur-wit);
}

.filter__aantal {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--kleur-tekst-zacht);
}

.filter__knop.is-actief .filter__aantal {
  color: rgba(255, 255, 255, 0.75);
}

.filter__melding {
  font-size: 0.92rem;
  color: var(--kleur-tekst-zacht);
  min-height: 1.4em;
  margin: 0;
}

.filter__leeg {
  color: var(--kleur-tekst-zacht);
  padding: var(--ruimte-m) 0;
}

.project[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   13. Lichtbak
   -------------------------------------------------------------------------- */
.lichtbak {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 13, 18, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--ruimte-s);
}

.lichtbak.is-open {
  display: flex;
}

.lichtbak img {
  max-width: 100%;
  max-height: 82vh;
  margin: 0 auto;
  border-radius: var(--radius);
}

.lichtbak__teller {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  text-align: center;
  color: #9aa5b1;
  font-size: 0.9rem;
}

.lichtbak button {
  position: absolute;
  background: rgba(255, 255, 255, 0.13);
  border: 0;
  color: var(--kleur-wit);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.lichtbak button:hover {
  background: rgba(255, 255, 255, 0.26);
}

.lichtbak__sluiten { top: 1rem; right: 1rem; }
.lichtbak__vorige { left: 1rem; }
.lichtbak__volgende { right: 1rem; }

/* --------------------------------------------------------------------------
   14. Contact
   -------------------------------------------------------------------------- */
.contactraster {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ruimte-l);
}

.gegevens {
  list-style: none;
  margin: 0 0 var(--ruimte-m);
  padding: 0;
}

.gegevens li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 0 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--kleur-lijn);
}

.gegevens li:first-child {
  border-top: 1px solid var(--kleur-lijn);
}

.gegevens__icoon {
  grid-row: span 2;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.gegevens .label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--kleur-tekst-zacht);
  margin-bottom: 0.15rem;
}

.gegevens .waarde {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--kleur-inkt);
  text-decoration: none;
}

.gegevens a.waarde:hover {
  color: var(--kleur-accent-tekst);
}

.kaart {
  border: 1px solid var(--kleur-lijn);
  border-radius: var(--radius-groot);
  overflow: hidden;
  line-height: 0;
}

.kaart iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

/* Formulier */
.formulier {
  background: var(--kleur-wit);
  border: 1px solid var(--kleur-lijn);
  border-radius: var(--radius-groot);
  padding: var(--ruimte-m);
}

.veld {
  margin-bottom: var(--ruimte-s);
}

.veld label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--kleur-inkt);
  margin-bottom: 0.35rem;
}

.veld input,
.veld textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  color: var(--kleur-tekst);
  background: var(--kleur-papier);
  border: 1px solid var(--kleur-lijn);
  border-radius: var(--radius);
}

.veld input:focus,
.veld textarea:focus {
  background: var(--kleur-wit);
  border-color: var(--kleur-accent);
  outline: 2px solid rgba(184, 80, 27, 0.22);
}

.veld textarea {
  min-height: 150px;
  resize: vertical;
}

.veld--verborgen {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.formulier__melding {
  margin-top: var(--ruimte-s);
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  display: none;
}

.formulier__melding.is-zichtbaar {
  display: block;
}

.formulier__melding.is-gelukt {
  background: #e9f2ec;
  border: 1px solid #bad6c5;
  color: #1d5836;
}

.formulier__melding.is-mislukt {
  background: #fbece9;
  border: 1px solid #eec5bd;
  color: #8a2e1c;
}

.formulier__voetnoot {
  margin-top: var(--ruimte-s);
  font-size: 0.92rem;
  color: var(--kleur-tekst-zacht);
}

/* --------------------------------------------------------------------------
   15. Voorwaarden
   -------------------------------------------------------------------------- */
.documenten {
  list-style: none;
  margin: 0;
  padding: 0;
}

.documenten li {
  background: var(--kleur-wit);
  border: 1px solid var(--kleur-lijn);
  border-radius: var(--radius-groot);
  padding: 1.4rem 1.5rem;
  margin-bottom: 0.9rem;
}

.documenten h3 {
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.documenten p {
  color: var(--kleur-tekst-zacht);
  font-size: 0.97rem;
  margin-bottom: 0.9rem;
}

.documenten a.knop {
  font-size: 0.95rem;
  padding: 0.6rem 1.15rem;
}

/* --------------------------------------------------------------------------
   16. Oproepbalk
   -------------------------------------------------------------------------- */
.oproep {
  background: var(--kleur-accent-zacht);
  border-top: 1px solid #ecd9cb;
  text-align: center;
  padding: var(--ruimte-l) 0;
}

.oproep h2 {
  margin-bottom: var(--ruimte-s);
}

.oproep p {
  max-width: 44ch;
  margin: 0 auto var(--ruimte-m);
  color: var(--kleur-tekst);
}

.oproep__acties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   17. Voettekst
   -------------------------------------------------------------------------- */
.voet {
  background: var(--kleur-voet);
  color: var(--kleur-voet-tekst);
  padding: var(--ruimte-m) 0 var(--ruimte-s);
  font-size: 0.97rem;
}

.voet a {
  color: #d3dae1;
  text-decoration: none;
}

.voet a:hover {
  color: var(--kleur-wit);
  text-decoration: underline;
}

.voet__raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--ruimte-m);
  padding-bottom: var(--ruimte-m);
}

.voet h2 {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #78848f;
  margin-bottom: 0.7rem;
  font-weight: 600;
}

.voet ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.voet li {
  margin-bottom: 0.4rem;
}

.voet__logo img {
  height: 28px;
  width: auto;
  margin-bottom: 0.85rem;
}

.voet__slot {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--ruimte-s);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #78848f;
}

/* --------------------------------------------------------------------------
   18. Media queries
   -------------------------------------------------------------------------- */
@media (min-width: 720px) {
  .inhoud {
    padding: 0 var(--ruimte-m);
  }

  .sectie {
    padding: var(--ruimte-xl) 0;
  }

  .geschiedenis {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
}

@media (min-width: 860px) {
  .project {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: var(--ruimte-l);
  }

  /* Om en om spiegelen, zodat de pagina ritme krijgt. De klasse staat al in
     de HTML en wordt door het filterscript opnieuw verdeeld zodra er
     projecten verborgen worden. */
  .project--gespiegeld .project__media {
    order: 2;
  }

  .project--zondermedia {
    grid-template-columns: minmax(0, 1fr);
  }

  .project--zondermedia .project__tekst {
    max-width: var(--breedte-tekst);
  }
}

@media (min-width: 900px) {
  .contactraster {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .kaart iframe {
    height: 380px;
  }
}

@media (max-width: 899px) {
  .kop__schakelaar {
    display: inline-flex;
  }

  .kop__nav {
    display: none;
    width: 100%;
    order: 9;
    margin-left: 0;
    padding-bottom: var(--ruimte-s);
  }

  .kop__nav.is-open {
    display: block;
  }

  .kop__balk {
    flex-wrap: wrap;
  }

  .kop__telefoon { order: 2; margin-left: auto; }
  .kop__schakelaar { order: 3; }

  .kop__nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .kop__nav a {
    padding: 0.8rem 0.25rem;
    border-bottom: 1px solid var(--kleur-lijn-zacht);
  }

  .kop__nav a[aria-current="page"] {
    border-bottom-color: var(--kleur-lijn-zacht);
    box-shadow: inset 3px 0 0 var(--kleur-accent);
    padding-left: 0.85rem;
  }
}

@media (max-width: 560px) {
  .kop__telefoon span {
    display: none;
  }

  .hero {
    min-height: 320px;
  }

  .hero--hoog {
    min-height: 62vh;
  }

  .galerij {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .lichtbak button {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

@media print {
  .kop,
  .voet,
  .oproep,
  .hero {
    background: none !important;
    color: #000 !important;
  }
}
