/* PIM Bouw en Vastgoed – huisstijl: petrol #0A6778, zandgoud #DCC37D, wit */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/poppins-300.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600.woff2') format('woff2'); }
:root {
  --petrol: #0A6778;
  --petrol-donker: #074D5A;
  --goud: #DCC37D;
  --tekst: #14323A;
  --tekst-zacht: #4A5F65;
  --licht: #F3F6F6;
  --lijn: #DDE5E6;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--tekst);
  background: #FFFFFF;
}
img { max-width: 100%; display: block; }
a { color: var(--petrol); }
a:hover { color: var(--petrol-donker); }
h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.sectie { padding: 104px 0; }
.sectie--licht { background: var(--licht); }
.sectie--petrol { background: var(--petrol); color: #FFFFFF; }

.label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--petrol); margin-bottom: 14px;
}
.sectie--petrol .label, .hero .label { color: var(--goud); }
.titel { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 20px; }
.intro { max-width: 680px; margin-bottom: 56px; }
.intro p { color: var(--tekst-zacht); font-size: 18px; }
.sectie--petrol .intro p { color: #DCEBEE; }

/* Knoppen */
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 13px 26px; border-radius: 999px;
  font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; border: 0;
}
.knop--goud { background: var(--goud); color: var(--tekst); }
.knop--goud:hover { background: #E7D49C; color: var(--tekst); }
.knop--petrol { background: var(--petrol); color: #FFFFFF; }
.knop--petrol:hover { background: var(--petrol-donker); color: #FFFFFF; }
.knop--rand { border: 1px solid currentColor; color: inherit; background: transparent; }
.knop--rand:hover { color: inherit; background: rgba(255,255,255,0.08); }

/* Kop */
.kop { background: var(--petrol); color: #FFFFFF; position: sticky; top: 0; z-index: 50; }
.kop__binnen { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.kop__logo img { height: 46px; width: auto; }
.menu { display: flex; align-items: center; gap: 6px 26px; flex-wrap: wrap; }
.menu a { color: #FFFFFF; text-decoration: none; font-size: 15.5px; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--goud); }
.menu .knop { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.menu .knop:hover { color: var(--tekst); }
.menuknop {
  display: none; align-items: center; gap: 8px; min-height: 48px; padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.6); border-radius: 999px; background: transparent;
  color: #FFFFFF; font: inherit; font-size: 15px; cursor: pointer;
}
.menuknop svg { width: 22px; height: 22px; }
.menuknop .icoon-sluit { display: none; }
.menuknop[aria-expanded="true"] .icoon-open { display: none; }
.menuknop[aria-expanded="true"] .icoon-sluit { display: block; }

@media (max-width: 900px) {
  .menuknop { display: inline-flex; margin-left: auto; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--petrol); flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 32px 28px; border-top: 1px solid rgba(255,255,255,0.15);
  }
  .menu.open { display: flex; }
  .menu a { font-size: 19px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .menu .knop { margin-top: 20px; border-bottom: 0; }
  .kop__logo img { height: 38px; }
}

/* Hero */
.hero { background: var(--petrol); color: #FFFFFF; padding: 72px 0 104px; }
.hero__binnen { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero__tekst { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.hero p { font-size: 19px; color: #DCEBEE; max-width: 560px; }
.hero__knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__beeld { flex: 1 1 420px; min-width: 0; }
.hero__beeld img { width: 100%; height: 460px; object-fit: cover; border-radius: 20px; }
.hero--klein { padding: 64px 0 72px; }
.hero--klein h1 { font-size: clamp(2.1rem, 4vw, 3rem); }

/* Kernwaarde */
.citaat { max-width: 860px; margin: 0 auto; text-align: center; }
.citaat blockquote {
  margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.5; font-weight: 400;
}
.citaat blockquote::before {
  content: ""; display: block; width: 56px; height: 3px; background: var(--goud); margin: 0 auto 32px;
}
.citaat figcaption { margin-top: 20px; color: var(--tekst-zacht); font-size: 15px; }

/* Rasters en kaarten */
.raster { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.raster--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.raster--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); list-style: none; margin: 0; padding: 0; }
.projecten--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.kaart {
  background: #FFFFFF; border: 1px solid var(--lijn); border-radius: 20px; padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.sectie--licht .kaart { border-color: transparent; }
.kaart h3 { font-size: 21px; }
.kaart p { color: var(--tekst-zacht); font-size: 16.5px; }
.kaart__link { margin-top: auto; padding-top: 8px; font-weight: 500; text-decoration: none; }
.kaart__link::after { content: " →"; }
.kaart__icoon { width: 44px; height: 44px; color: var(--petrol); }

.nummer { font-size: 44px; font-weight: 300; line-height: 1; color: var(--goud); }
.sectie--licht .nummer, .kaart .nummer { color: var(--petrol); }

/* Twee kolommen */
.duo { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.duo > * { flex: 1 1 420px; min-width: 0; }
.duo img { width: 100%; height: 460px; object-fit: cover; border-radius: 20px; }
.tekst p + p { margin-top: 16px; }
.tekst p { color: var(--tekst-zacht); }
.feiten { display: flex; flex-wrap: wrap; gap: 24px 48px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--lijn); }
.feit strong { display: block; font-size: 34px; font-weight: 600; color: var(--petrol); line-height: 1.1; }
.feit span { font-size: 15px; color: var(--tekst-zacht); }

/* Projecten */
.projecten { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.project { margin: 0; border-radius: 16px; overflow: hidden; background: var(--licht); }
.project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project figcaption { padding: 14px 18px; font-size: 15px; font-weight: 500; }

/* Labels (vakgebieden) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { background: #FFFFFF; border: 1px solid var(--lijn); border-radius: 999px; padding: 7px 16px; font-size: 15px; }
.sectie--licht .chips li { border-color: transparent; }
.chipgroep + .chipgroep { margin-top: 36px; }
.chipgroep h3 { font-size: 18px; margin-bottom: 14px; }

/* Opdrachtgevers */
.logos { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); align-items: center; }
.logos div { background: #FFFFFF; border-radius: 14px; height: 110px; display: flex; align-items: center; justify-content: center; padding: 20px; }
.logos img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.8; }
.logos img:hover { filter: none; opacity: 1; }
.logos .logo-tekst { font-weight: 600; font-size: 15px; line-height: 1.3; text-align: center; color: var(--tekst-zacht); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 64px; }
.contact__info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact__info p { color: #DCEBEE; font-size: 18px; }
.contact__gegevens { display: flex; flex-direction: column; gap: 8px; font-size: 17px; }
.contact__gegevens a { color: #FFFFFF; }
.formulier {
  flex: 1 1 460px; min-width: 0; background: #FFFFFF; color: var(--tekst); border-radius: 24px; padding: 36px;
  display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.formulier label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 500; }
.formulier input, .formulier textarea, .formulier select {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #C5D2D4; border-radius: 12px; min-height: 48px; width: 100%;
  background: #FFFFFF; color: var(--tekst);
}
.formulier textarea { resize: vertical; }
.formulier .breed { grid-column: 1 / -1; }
.formulier .knop { grid-column: 1 / -1; }
.formulier .verborgen { position: absolute; left: -9999px; }

/* Voet */
.voet { background: var(--petrol-donker); color: #CFE2E5; font-size: 15px; }
.voet__binnen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 48px; padding: 56px 0; }
.voet img { height: 40px; width: auto; margin-bottom: 16px; }
.voet h2 { font-size: 15px; color: #FFFFFF; margin-bottom: 10px; font-weight: 600; }
.voet ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.voet a { color: #CFE2E5; text-decoration: none; }
.voet a:hover { color: var(--goud); }
.voet__onder { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; font-size: 14px; }

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

/* Privacyverklaring en andere juridische tekst */
.juridisch { max-width: 760px; }
.juridisch h2 { font-size: 22px; font-weight: 600; margin: 44px 0 10px; }
.juridisch h2:first-child { margin-top: 0; }
.juridisch ul { margin: 0 0 16px; padding-left: 20px; }
