/* Bedrijfskleding Westland, gedeelde stijl voor alle pagina's */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bree Serif";
  src: url("../fonts/bree-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --zwart: #0E0E0E;
  --wit: #FFFFFF;
  --tekst-grijs: #555555;
  --donkergrijs: #6B6D70;
  --middengrijs: #A7A9AB;
  --lichtgrijs: #D9DADB;
  --lijn: #EBEBEB;
  --font-tekst: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-kop: "Bree Serif", Georgia, serif;
  --breed: 1280px;
  --smal: 1180px;
  --gutter: 32px;
  --header-h: 102px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wit);
  color: var(--zwart);
  font-family: var(--font-tekst);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
picture { display: contents; }
a { color: var(--zwart); }
a:hover { color: #4A4A4A; }
ul { list-style: none; margin: 0; padding: 0; }
figure, address { margin: 0; font-style: normal; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

.skiplink {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--wit); color: var(--zwart); padding: 12px 18px; font-weight: 700;
}
.skiplink:focus { top: 16px; }

/* Indeling */
.wrap { width: 100%; max-width: var(--breed); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--smal { max-width: var(--smal); }
.sectie { padding-top: 112px; padding-bottom: 112px; }
.lijn-boven { border-top: 1px solid var(--lijn); }
.midden { text-align: center; }

/* Typografie */
.h1, .h2 { font-family: var(--font-kop); font-weight: 400; text-transform: uppercase; }
.h1 { font-size: 78px; line-height: 1.02; color: var(--wit); }
.h2 { font-size: 52px; line-height: 1.08; }
.h2--m { font-size: 44px; line-height: 1.1; }
.h2--s { font-size: 40px; line-height: 1.1; }
.tekst-grijs { font-size: 15px; color: var(--tekst-grijs); }
.tekst-grijs strong { color: var(--zwart); font-weight: 700; }

.label {
  display: flex; align-items: center; gap: 18px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.label::before { content: ""; width: 56px; height: 1px; background: currentColor; flex: none; }
.label--licht { color: var(--lichtgrijs); }
.label--grijs { color: var(--middengrijs); }
.label--donkergrijs { color: var(--donkergrijs); }
.label--klein { font-size: 11px; color: var(--middengrijs); }
.label--klein::before { display: none; }

/* Knoppen */
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.knop {
  display: inline-flex; align-items: center; min-height: 48px; padding: 15px 26px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent;
  transition: background-color .5s ease-in-out, color .5s ease-in-out, border-color .5s ease-in-out;
}
.knop--wit { background: var(--wit); color: var(--zwart); border-color: var(--wit); }
.knop--wit:hover { background: transparent; color: var(--wit); }
.knop--lijn-wit { color: var(--wit); border-color: var(--wit); }
.knop--lijn-wit:hover { background: var(--wit); color: var(--zwart); }
.knop--zwart { background: var(--zwart); color: var(--wit); border-color: var(--zwart); }
.knop--zwart:hover { background: transparent; color: var(--zwart); }

/* Melding bovenaan */
.melding {
  background: var(--zwart); color: var(--wit); border-bottom: 1px solid #2A2A2A;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.melding__binnen {
  display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; justify-content: center;
  padding-top: 10px; padding-bottom: 10px; text-align: center;
}
.melding__bel { color: var(--middengrijs); }
.melding a { color: var(--wit); text-decoration: none; }
.melding a:hover { text-decoration: underline; }

/* Header, ligt over de hero */
.site-header { position: absolute; left: 0; right: 0; z-index: 10; }
.site-header__binnen {
  display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between;
  padding-top: 32px;
}
.logo { display: block; line-height: 0; }
.logo img { height: 38px; width: auto; max-width: 70vw; }
.snelmenu {
  display: flex; flex-wrap: wrap; gap: 4px 28px; align-items: center;
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.snelmenu a { color: var(--wit); text-decoration: none; padding: 12px 0; }
.snelmenu a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* Hero */
.hero {
  position: relative; min-height: 820px; display: flex; flex-direction: column;
  background: var(--zwart); color: var(--wit); overflow: hidden;
  padding-top: var(--header-h);
}
.hero__media, .hero__zoom { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.hero__waas {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.5) 42%, rgba(10,10,10,0) 72%),
    rgba(10,10,10,.35);
}
.hero__binnen { position: relative; flex: 1; display: flex; align-items: center; padding-top: 72px; padding-bottom: 190px; }
.hero__content { max-width: 620px; display: flex; flex-direction: column; gap: 26px; }
.hero__tekst { font-size: 18px; line-height: 1.65; color: #E6E6E6; max-width: 520px; }

/* USP's, half over de hero */
.usp-wrap { position: relative; z-index: 2; }
.usps {
  margin-top: -96px; background: var(--wit); box-shadow: 0 24px 60px rgba(0,0,0,.16);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.usp {
  padding: 40px 28px; display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center; border-right: 1px solid var(--lijn);
}
.usp:last-child { border-right: 0; }
.usp__titel { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.5; }
.usp__tekst { font-size: 14.5px; color: var(--tekst-grijs); line-height: 1.55; }

/* Tekst met foto */
.intro { padding-top: 128px; padding-bottom: 120px; }
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.split__tekst { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.split__beeld { flex: 0 1 420px; min-width: 0; height: 540px; }
.split__beeld img { width: 100%; height: 100%; object-fit: cover; }
#contact .split__tekst { gap: 24px; }

.foto-parallax { overflow: hidden; position: relative; }

/* Specialismen */
.spec-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px 32px; }
.spec {
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
  font-size: 14px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.5;
}

/* Donkere band */
.band { background: var(--zwart); color: var(--wit); display: flex; flex-wrap: wrap; }
.band__beeld { flex: 1.4 1 520px; min-width: 0; min-height: 520px; }
.band__beeld img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band__tekst {
  flex: 1 1 420px; min-width: 0; padding: 80px 72px;
  display: flex; flex-direction: column; gap: 24px; justify-content: center;
}
.band__alinea { font-size: 15px; color: #C9C9C9; max-width: 440px; }

/* In de praktijk */
.praktijk { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kaart { background: var(--zwart); color: var(--wit); }
.kaart__beeld { height: 420px; overflow: hidden; }
.kaart__beeld img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease-in-out; }
.kaart__img--boven { object-position: center 30%; }
.kaart:hover .kaart__beeld img { transform: scale(1.04); }
.kaart figcaption { padding: 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.kaart__titel { font-family: var(--font-kop); font-size: 26px; line-height: 1.15; }

/* Contact */
.contactgegevens {
  display: flex; flex-direction: column; gap: 4px; font-size: 15px;
  border-top: 1px solid var(--lijn); padding-top: 24px;
}
.contactgegevens strong { font-weight: 800; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.contactgegevens a { text-decoration: none; padding: 6px 0; overflow-wrap: anywhere; }
.contactgegevens a:hover { text-decoration: underline; }
.contactgegevens span { padding: 6px 0; color: var(--tekst-grijs); }

/* Footer */
.site-footer { position: relative; background: var(--zwart); color: var(--wit); overflow: hidden; }
.site-footer__achtergrond { position: absolute; inset: 0; }
.site-footer__achtergrond img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.site-footer__achtergrond::after { content: ""; position: absolute; inset: 0; background: rgba(10,10,10,.78); }
.site-footer__binnen {
  position: relative; padding-bottom: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center;
}
.site-footer__logo { background: var(--zwart); padding: 40px 36px; display: flex; justify-content: center; width: 100%; max-width: 420px; }
.site-footer__logo img { height: 34px; width: auto; }
.site-footer__adres { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: #E6E6E6; }
.site-footer__adres a { color: var(--wit); text-decoration: none; }
.site-footer__adres a:hover { text-decoration: underline; }
.site-footer__iconen { display: flex; gap: 12px; }
.site-footer__iconen a {
  width: 44px; height: 44px; border-radius: 50%; background: var(--wit); color: var(--zwart);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .5s ease-in-out, color .5s ease-in-out;
}
.site-footer__iconen a:hover { background: var(--zwart); color: var(--wit); }
.site-footer__onder {
  width: 100%; border-top: 1px solid #333; padding-top: 20px; margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 12px; letter-spacing: 0.06em; color: var(--middengrijs);
}

/* Paginakop (subpagina's) */
.hero--pagina { min-height: 600px; }
.hero--pagina .hero__binnen { padding-top: 56px; padding-bottom: 170px; }
.kruimelpad ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.kruimelpad li {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lichtgrijs);
}
.kruimelpad li + li::before { content: "/"; margin: 0 12px; color: var(--middengrijs); }
.kruimelpad a { color: var(--wit); text-decoration: none; }
.kruimelpad a:hover { text-decoration: underline; text-underline-offset: 4px; }
.snelmenu a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

.usps--3 { grid-template-columns: repeat(3, 1fr); }
.usp__link { font-size: 15px; color: var(--zwart); text-decoration: none; overflow-wrap: anywhere; padding: 4px 0; }
.usp__link:hover { text-decoration: underline; }

.knop--lijn-zwart { color: var(--zwart); border-color: var(--zwart); }
.knop--lijn-zwart:hover { background: var(--zwart); color: var(--wit); }

.site-footer__menu { display: flex; gap: 20px; }
.site-footer__menu a { color: var(--middengrijs); text-decoration: none; }
.site-footer__menu a:hover, .site-footer__menu a[aria-current="page"] { color: var(--wit); }

/* Tijdelijke pagina "we werken aan de website" (binnenkort.html, 404-binnenkort.html) */
body.tijdelijk { background: var(--zwart); color: var(--wit); }
.tijdelijk__binnen {
  min-height: 100vh; min-height: 100dvh; width: 100%; max-width: 860px; margin: 0 auto;
  padding: 64px var(--gutter);
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
}
.tijdelijk__titel { font-size: clamp(36px, 7vw, 72px); }
.tijdelijk__tekst { font-size: 18px; line-height: 1.65; color: #E6E6E6; max-width: 560px; }
.tijdelijk .knop { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: no-preference) {
  .tijdelijk__binnen > * { animation: tijdelijk-in 1s cubic-bezier(.215,.61,.355,1) both; }
  .tijdelijk__binnen > :nth-child(2) { animation-delay: .12s; }
  .tijdelijk__binnen > :nth-child(3) { animation-delay: .24s; }
  .tijdelijk__binnen > :nth-child(4) { animation-delay: .36s; }
}
@keyframes tijdelijk-in { from { opacity: 0; transform: translateY(24px); } }

/* Foutpagina */
.fout { min-height: 70vh; }
.fout .hero__binnen { padding-bottom: 120px; }

/* Responsief */
@media (max-width: 1024px) {
  .usps { grid-template-columns: repeat(2, 1fr); }
  .usp:nth-child(2) { border-right: 0; }
  .usp:nth-child(-n+2) { border-bottom: 1px solid var(--lijn); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .praktijk { grid-template-columns: 1fr 1fr; }
  .usps--3 { grid-template-columns: 1fr; }
  .usps--3 .usp { border-right: 0; border-bottom: 1px solid var(--lijn); }
  .usps--3 .usp:last-child { border-bottom: 0; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; --header-h: 88px; }
  .verberg-sm { display: none; }
  .h1 { font-size: min(46px, 9.6vw); }
  .logo img { height: 30px; }
  .site-header__binnen { flex-wrap: nowrap; padding-top: 24px; }
  .h2, .h2--m, .h2--s { font-size: 34px; }
  .sectie, .intro { padding-top: 72px; padding-bottom: 72px; }
  .hero { min-height: 680px; }
  .hero--pagina { min-height: 480px; }
  .hero--pagina .hero__binnen { padding-bottom: 130px; }
  .hero__binnen { padding-top: 40px; padding-bottom: 150px; }
  .hero__media img { object-position: 70% center; }
  .usps { grid-template-columns: 1fr; }
  .usp { border-right: 0; border-bottom: 1px solid var(--lijn); padding: 32px 24px; }
  .usp:last-child { border-bottom: 0; }
  .split { gap: 40px; }
  .split__beeld { flex-basis: 100%; height: 440px; }
  .spec-grid { gap: 40px 16px; margin-top: 48px; }
  .spec { font-size: 12.5px; }
  .band__beeld { min-height: 300px; }
  .band__tekst { padding: 48px 24px; }
  .praktijk { grid-template-columns: 1fr; }
  .kaart__beeld { height: 380px; }
}
