/* ============================================================
   DFM CONSTRUCT — bold structural renovation aesthetic
   Charcoal + amber/teal (logo gradient), Archivo grotesk
   ============================================================ */

:root {
  --ink: #15181c;
  --graphite: #1f242a;
  --graphite-2: #2a3038;
  --concrete: #f3f1ec;
  --concrete-2: #e9e6df;
  --paper: #ffffff;
  --muted: #6b7178;
  --line: #ddd9d0;

  --amber: #f3b829;
  --amber-d: #d99c10;
  --teal: #129b8e;
  --teal-d: #0d7d72;

  --maxw: 1180px;
  --r: 4px;
  --shadow: 0 18px 50px -24px rgba(20, 24, 28, .45);
  --t: .35s cubic-bezier(.2, .7, .2, 1);

  --h-font: "Archivo", system-ui, sans-serif;
  --b-font: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--b-font);
  color: var(--ink);
  background: var(--concrete);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--h-font);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal-d);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  background: var(--amber);
}
.eyebrow-light { color: var(--amber); }

.section-title {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 18px;
  color: var(--ink);
}
.section-title.light { color: var(--paper); }

.section-head { max-width: 720px; margin-bottom: 54px; }
.section-lead { font-size: 1.06rem; color: var(--muted); margin: 0; }
.approach .section-lead { color: #b9c0c8; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--h-font);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .02em;
  padding: 15px 28px;
  border-radius: var(--r);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--t);
  text-transform: uppercase;
}
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-d); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-block { width: 100%; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(21, 24, 28, 0);
  transition: background var(--t), box-shadow var(--t);
}
.site-header.scrolled {
  background: var(--ink);
  box-shadow: 0 6px 24px -14px rgba(0,0,0,.6);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand { display: inline-flex; align-items: center; color: var(--paper); }
.brand-logo { height: 40px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav > a {
  font-family: var(--h-font);
  font-weight: 600;
  font-size: .92rem;
  color: #e7e9ec;
  position: relative;
  transition: color var(--t);
}
.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--amber);
  transition: width var(--t);
}
.main-nav > a:not(.nav-cta):hover { color: #fff; }
.main-nav > a:not(.nav-cta):hover::after { width: 100%; }

.main-nav a.nav-cta {
  border: 2px solid var(--amber);
  color: var(--amber);
  padding: 9px 18px;
  border-radius: var(--r);
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .04em;
}
.main-nav a.nav-cta:hover { background: var(--amber); color: var(--ink); }

.nav-close { display: none; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; align-items: center; gap: 6px; }
.lang-switch button {
  background: none; border: none; cursor: pointer;
  font-family: var(--h-font); font-weight: 700; font-size: .82rem;
  color: #9aa1a9; padding: 2px; transition: color var(--t);
}
.lang-switch button.active, .lang-switch button:hover { color: var(--amber); }
.lang-switch span { color: #555c64; }

.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--h-font); font-weight: 700; font-size: .9rem;
  color: var(--paper);
  padding: 9px 14px;
  border-radius: var(--r);
  background: var(--teal-d);
  white-space: nowrap;
  transition: var(--t);
}
.header-phone:hover { background: var(--teal); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--paper); transition: var(--t); }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: var(--paper); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(21,24,28,.55) 0%, rgba(21,24,28,.4) 40%, rgba(21,24,28,.82) 100%),
    linear-gradient(90deg, rgba(21,24,28,.7) 0%, rgba(21,24,28,.15) 60%);
}
.hero-inner { position: relative; z-index: 1; padding: 120px 24px 140px; max-width: 880px; }
.eyebrow-light.eyebrow::before { background: var(--amber); }

.hero-title {
  font-family: var(--h-font);
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.03em;
  margin: 0 0 22px;
  text-transform: uppercase;
}
.hero-title span { display: block; }
.hero-title .accent { color: var(--amber); }

.hero-sub { font-size: clamp(1.02rem, 1.5vw, 1.22rem); max-width: 620px; color: #e8eaed; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-strip {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 1;
  background: var(--amber);
  border-top: 3px solid var(--ink);
}
.hero-strip-inner {
  display: flex; flex-wrap: wrap; gap: 14px 36px;
  padding: 16px 24px;
  font-family: var(--h-font); font-weight: 700; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.hero-strip-inner span { display: inline-flex; align-items: center; gap: 12px; }
.hero-strip-inner span + span::before { content: "/"; color: rgba(21,24,28,.4); margin-right: 24px; }

/* ============ USP BAR ============ */
.usp-bar { background: var(--ink); color: var(--paper); }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp { padding: 38px 28px; border-left: 1px solid rgba(255,255,255,.09); }
.usp:first-child { border-left: none; }
.usp-num {
  display: block;
  font-family: var(--h-font); font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  color: var(--amber); line-height: 1.1; margin-bottom: 6px;
}
.usp-label { font-size: .92rem; color: #b9c0c8; }

/* ============ DIENSTEN ============ */
.services { background: var(--concrete); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--paper);
  padding: 30px 26px;
  transition: var(--t);
  position: relative;
  min-width: 0;
}
.service-card::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 3px; background: var(--amber);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.service-card:hover { background: var(--graphite); color: #fff; transform: translateY(-3px); z-index: 2; box-shadow: var(--shadow); }
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover p { color: #c3cad2; }
.service-card:hover .service-ico { color: var(--amber); border-color: rgba(242,184,41,.4); }

.service-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; margin-bottom: 18px;
  border: 1.5px solid var(--line); border-radius: var(--r);
  color: var(--teal-d); transition: var(--t);
}
.service-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-family: var(--h-font); font-weight: 700; font-size: 1.05rem; margin: 0 0 8px; letter-spacing: -.01em; }
.service-card p { font-size: .9rem; color: var(--muted); margin: 0; transition: color var(--t); }

/* ============ AANPAK / WAAROM ============ */
.approach {
  background:
    linear-gradient(180deg, var(--graphite) 0%, var(--ink) 100%);
  color: var(--paper);
}
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  border-top: 3px solid var(--amber);
  padding: 28px 22px 30px;
  background: rgba(255,255,255,.03);
  transition: var(--t);
}
.why-card:hover { background: rgba(255,255,255,.06); transform: translateY(-4px); }
.why-no { font-family: var(--h-font); font-weight: 900; font-size: 2.2rem; color: rgba(255,255,255,.18); display: block; line-height: 1; margin-bottom: 14px; }
.why-card h3 { font-family: var(--h-font); font-weight: 700; font-size: 1.12rem; margin: 0 0 10px; }
.why-card p { font-size: .92rem; color: #b3bbc4; margin: 0; }

/* ============ REALISATIES ============ */
.gallery { background: var(--concrete-2); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.g-item {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--r); cursor: pointer; background: var(--ink);
}
.g-item.g-wide { grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.g-item:hover img { transform: scale(1.07); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 18px 14px;
  font-family: var(--h-font); font-weight: 700; font-size: .92rem; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(21,24,28,.85));
  transform: translateY(8px); opacity: 0; transition: var(--t);
}
.g-item:hover figcaption { transform: translateY(0); opacity: 1; }
.g-item::before {
  content: "+"; position: absolute; top: 12px; right: 14px; z-index: 2;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  background: var(--amber); color: var(--ink); font-family: var(--h-font); font-weight: 800; font-size: 1.2rem;
  border-radius: var(--r); transform: scale(0); transition: var(--t);
}
.g-item:hover::before { transform: scale(1); }

/* ============ OVER ONS ============ */
.about { background: var(--concrete); }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.about-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--amber); color: var(--ink);
  padding: 18px 22px; border-radius: var(--r);
  font-family: var(--h-font); box-shadow: var(--shadow);
}
.about-badge strong { display: block; font-weight: 900; font-size: 1.5rem; letter-spacing: .04em; }
.about-badge span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.about-text p { color: var(--muted); margin: 0 0 16px; }
.about-list { list-style: none; padding: 0; margin: 6px 0 26px; display: grid; gap: 10px; }
.about-list li {
  font-family: var(--h-font); font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 12px;
}
.about-list li::before {
  content: ""; width: 18px; height: 18px; flex: none;
  background: var(--teal-d);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l4 4 10-10' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l4 4 10-10' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ============ CONTACT ============ */
.contact { background: var(--ink); color: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-lead { color: #b3bbc4; margin: 0 0 28px; }
.contact-details { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; }
.contact-details li { display: flex; align-items: center; gap: 14px; font-size: 1rem; }
.contact-details a:hover { color: var(--amber); }
.cd-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: none;
  border: 1.5px solid rgba(255,255,255,.16); border-radius: var(--r); color: var(--amber);
}
.cd-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.contact-form { background: var(--graphite); padding: 34px; border-radius: var(--r); border: 1px solid rgba(255,255,255,.07); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block; font-family: var(--h-font); font-weight: 600; font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase; color: #aab2bb; margin-bottom: 7px;
}
.field input, .field textarea {
  width: 100%; padding: 13px 15px;
  background: var(--ink); border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--r); color: var(--paper);
  font-family: var(--b-font); font-size: .96rem; transition: var(--t);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber); }
.field textarea { resize: vertical; }
.form-status { margin: 14px 0 0; font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: #57d3a0; }
.form-status.err { color: #ff8a73; }

/* ============ FOOTER ============ */
.site-footer { background: #0f1215; color: #c3cad2; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding: 56px 24px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-logo { height: 46px; width: auto; display: block; }
.footer-brand p { margin: 0; font-size: .9rem; color: #8e96a0; }
.footer-contact { display: grid; gap: 8px; font-size: .94rem; }
.footer-contact a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; padding-bottom: 20px; font-size: .84rem; color: #7a828c; }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15,18,21,.94);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lb-img { max-width: 90vw; max-height: 86vh; object-fit: contain; border-radius: var(--r); box-shadow: 0 30px 80px -20px #000; }
.lb-close, .lb-nav {
  position: absolute; background: rgba(255,255,255,.1); color: #fff; border: none; cursor: pointer;
  font-size: 2rem; line-height: 1; width: 52px; height: 52px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; transition: var(--t);
}
.lb-close:hover, .lb-nav:hover { background: var(--amber); color: var(--ink); }
.lb-close { top: 24px; right: 24px; font-size: 2.4rem; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .usp:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.09); }
  .usp:nth-child(3) { border-left: none; }

  /* solid header bar on mobile: logo & nav get their own zone,
     so they never visually merge with the hero texts */
  .site-header { background: var(--ink); box-shadow: 0 4px 20px -14px rgba(0,0,0,.7); }

  .header-phone span { display: none; }
  .header-phone { padding: 9px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 26px;
    background: var(--ink);
    transform: translateX(100%); transition: transform var(--t);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > a { font-size: 1.4rem; }
  .main-nav a.nav-cta { font-size: 1rem; padding: 12px 26px; }
  .nav-close { display: block; position: absolute; top: 22px; right: 24px; background: none; border: none; color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1; }

  /* hero stacks from the top, well clear of the fixed header.
     NOTE: .hero-inner also carries the .container class whose mobile
     padding rule appears later in the source; use a more specific
     selector here so it can never override the hero spacing. */
  .hero { min-height: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; }
  .hero .hero-inner { padding: 144px 24px 80px; }
  .hero-inner .eyebrow { margin-bottom: 20px; }
  .hero-title { margin-bottom: 24px; }
  .hero-strip { position: static; }
}

@media (max-width: 860px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { max-width: 520px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .g-item.g-wide { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 560px) {
  .section { padding: 70px 0; }
  .header-inner { height: 64px; }
  .brand-logo { height: 32px; }
  .header-actions { gap: 10px; }
  .lang-switch { gap: 4px; }
  .lang-switch button { font-size: .78rem; }
  .header-phone { padding: 8px; }
  .nav-toggle { padding: 4px; }

  .hero .hero-inner { padding: 136px 20px 72px; }
  .hero-inner .eyebrow { font-size: .66rem; letter-spacing: .08em; flex-wrap: wrap; margin-bottom: 20px; }
  .hero-title { font-size: clamp(1.55rem, 7.4vw, 2.1rem); letter-spacing: -.02em; margin-bottom: 22px; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .container { padding: 0 20px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { padding: 24px 18px; }
  .service-card h3 { font-size: .98rem; }
  .why-grid, .usp-grid { grid-template-columns: 1fr; }
  .usp { border-left: none; border-top: 1px solid rgba(255,255,255,.09); }
  .usp:first-child { border-top: none; }
  .field-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .g-item.g-wide { grid-column: span 1; }
  .hero-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 20px;
  }
  .hero-strip-inner span + span::before { display: none; }
  .about-badge { left: 0; }
}

@media (max-width: 380px) {
  .service-grid { grid-template-columns: 1fr; }
  .hero .hero-inner { padding: 128px 16px 64px; }
  .container { padding: 0 16px; }
  .brand-logo { height: 30px; }
  .header-actions { gap: 8px; }
  .lang-switch button { font-size: .74rem; }
  .lang-switch span { margin: 0 -1px; }
  .contact-form { padding: 24px 18px; }
  .why-card, .service-card { padding: 22px 16px; }
  .footer-contact a, .footer-contact span { font-size: .86rem; word-break: break-word; }
}
