:root {
  --blue: #004b91;
  --blue-dark: #003a70;
  --blue-light: #0075bf;
  --ink: #0c0a0a;
  --muted: #4a4a4a;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --line: #e6e6e6;
  --header-h: 93px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-weight: 900; line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: clamp(28px, 4vw, 40px); color: var(--blue); }
h3 { font-size: 20px; color: var(--blue); margin-top: 1.6em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; text-align: center; }
.section { padding: clamp(64px, 9vw, 120px) 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.header-inner { display: flex; align-items: center; height: 100%; gap: 32px; }
.logo img { height: 50px; width: auto; }
.header-contact {
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid var(--line); padding-left: 24px; height: 100%;
  font-size: 14px; font-weight: 700; line-height: 1.6;
}
.header-contact a { color: var(--blue); text-decoration: none; }
.header-contact a:hover { text-decoration: underline; }
.menu { margin-left: auto; display: flex; gap: 36px; }
.menu a {
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px;
  text-transform: uppercase; letter-spacing: .06em;
}
.menu a:hover { color: var(--blue); }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; min-height: min(78vh, 720px); color: #fff; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(230deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.85) 80%); }
.hero-inner { position: relative; padding-top: 120px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(30px, 5vw, 54px); margin-bottom: 28px; }
.hero-sub { display: flex; gap: 28px; align-items: flex-start; }
.hero-sub p { font-size: clamp(16px, 1.6vw, 19px); margin: 0; }
.hero-arrow { color: #fff; padding-top: 4px; }
.hero-arrow:hover { color: #cfe3f7; }
.hero-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; padding: 0; }
.hero-tags li {
  background: #fff; color: var(--blue); font-weight: 900; text-transform: uppercase;
  letter-spacing: .04em; font-size: 15px; padding: 10px 18px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: #fff; text-decoration: none;
  font-weight: 900; text-transform: uppercase; letter-spacing: .05em; font-size: 14px;
  padding: 14px 24px; border: 2px solid var(--blue); transition: background .15s, color .15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }

/* Two column */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }

/* Diensten */
.diensten { background: var(--bg-soft); }

/* Projecten */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 32px; }
.filter {
  font: inherit; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  background: transparent; color: var(--ink); border: 1px solid var(--line);
  padding: 8px 16px; cursor: pointer;
}
.filter:hover { border-color: var(--blue); color: var(--blue); }
.filter.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid li[hidden] { display: none; }
.project { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project:hover img { transform: scale(1.04); }
.cap {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0));
  color: #fff; display: flex; flex-direction: column; line-height: 1.35;
}
.cap strong { font-size: 16px; }
.cap em { font-style: normal; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }

/* Over ons */
.over-ons { background: var(--bg-soft); }

/* Contact */
.contact-lines { font-size: 18px; }
.contact-lines a { color: var(--ink); text-decoration: none; font-weight: 700; }
.contact-lines a:hover { color: var(--blue); }
.contact-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* Footer */
.site-footer { background: var(--blue); color: #fff; padding: 64px 0 24px; font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h4 { text-transform: uppercase; letter-spacing: .06em; font-size: 15px; }
.site-footer p { margin: 0 0 .4em; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.small-link { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  border-top: 1px solid rgba(255,255,255,.2); margin-top: 48px; padding-top: 20px;
  font-size: 13px; opacity: .85;
}

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: 90vw; max-height: 86vh; text-align: center; }
.lightbox img { max-width: 90vw; max-height: 80vh; margin: 0 auto; object-fit: contain; }
.lightbox figcaption { color: #fff; margin-top: 12px; font-weight: 700; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; font-size: 44px; line-height: 1;
  cursor: pointer; padding: 12px 18px; font-family: inherit;
}
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* Responsive */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .logo img { height: 40px; }
  .header-inner { gap: 16px; }
  .header-contact { font-size: 12.5px; padding-left: 16px; }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; background: var(--ink); }
  .menu {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
  }
  .menu.is-open { display: flex; }
  .menu a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .two-col { grid-template-columns: 1fr; }
  .over-img { order: 2; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .grid { grid-template-columns: 1fr; }
  .hero-sub { gap: 18px; }
  .hero-sub br { display: none; }
  .hero-tags li { font-size: 13px; padding: 8px 12px; }
}
@media (max-width: 380px) {
  .header-contact span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .project img { transition: none; }
}
