@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@500;600;700&display=swap');

:root {
  --green: #668f3d;
  --green-dark: #3f6228;
  --ink: #1d211b;
  --cream: #f5f3ec;
  --white: #fff;
  --line: #d9d8ce;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: auto;
  padding: 0 32px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { display: block; width: 190px; height: auto; mix-blend-mode: multiply; }
.brand span { padding-left: 12px; border-left: 1px solid var(--line); font-weight: 600; letter-spacing: .04em; }
.header-phone { font-weight: 600; text-underline-offset: 4px; }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
}
.hero-content { padding: 110px 72px; z-index: 1; }
.eyebrow { margin: 0 0 18px; color: var(--green-dark); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
h1, h2 { font-family: Manrope, Arial, sans-serif; line-height: 1.1; letter-spacing: -.04em; margin: 0; }
h1 { font-size: clamp(3rem, 5.3vw, 5.3rem); max-width: 700px; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.intro { max-width: 570px; margin: 28px 0 0; color: #55594f; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { padding: 13px 20px; border: 1px solid var(--green-dark); text-decoration: none; font-weight: 600; transition: .2s ease; }
.button-primary { background: var(--green-dark); color: white; }
.button-primary:hover { background: var(--ink); border-color: var(--ink); }
.button-secondary:hover { background: var(--cream); }

.hero-visual { position: relative; min-height: 550px; overflow: hidden; background: var(--green) url("photos/houtbouw-frame.jpeg") center / cover no-repeat; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,28,15,.68), transparent 58%); }
.experience { position: absolute; right: 48px; bottom: 42px; z-index: 1; display: flex; align-items: end; gap: 12px; color: white; }
.experience strong { font: 700 7.5rem/.78 Manrope, sans-serif; letter-spacing: -.08em; }
.experience span { font-weight: 600; line-height: 1.15; text-transform: uppercase; letter-spacing: .08em; }

.services { max-width: 1180px; margin: 0 auto; padding: 120px 32px; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; align-items: start; margin-bottom: 58px; }
.service-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; padding: 1px; background: var(--line); }
.service-grid li { min-height: 160px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; background: var(--cream); font: 600 1.18rem Manrope, sans-serif; }
.service-grid span { color: var(--green); font: 500 .76rem "DM Sans", sans-serif; letter-spacing: .12em; }

.projects { max-width: 1180px; margin: 0 auto; padding: 0 32px 120px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; gap: 14px; }
.project-grid figure { margin: 0; overflow: hidden; background: #e3e1d8; }
.project-grid .project-wide { grid-column: span 2; }
.photo-button { width: 100%; height: 100%; display: block; padding: 0; border: 0; background: none; cursor: zoom-in; }
.photo-button:focus-visible { outline: 4px solid var(--green); outline-offset: -4px; }
.project-grid img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.project-grid figure:hover img { transform: scale(1.025); }
.project-grid figure:nth-child(3) img { object-position: center 65%; }
.project-grid figure:nth-child(4) img { object-fit: contain; background: white; }

.lightbox { width: min(94vw, 1200px); height: min(92vh, 900px); padding: 0; border: 0; overflow: visible; background: transparent; }
.lightbox::backdrop { background: rgba(12, 15, 10, .9); }
.lightbox img { width: 100%; height: 100%; display: block; object-fit: contain; }
.lightbox-close { position: absolute; top: -10px; right: -4px; z-index: 1; width: 46px; height: 46px; border: 0; border-radius: 50%; color: var(--ink); background: white; font: 400 2rem/1 Arial, sans-serif; cursor: pointer; box-shadow: 0 4px 18px rgba(0,0,0,.3); }
.lightbox-close:hover { background: var(--cream); }

.contact { max-width: 1180px; margin: 0 auto 32px; padding: 80px 72px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 70px; color: white; background: var(--ink); }
.contact p:not(.eyebrow) { max-width: 500px; color: #c7c9c2; }
.contact .eyebrow { color: #9fc674; }
.contact address { display: flex; flex-direction: column; justify-content: center; font-style: normal; font-size: 1.05rem; }
.contact address strong { margin-bottom: 8px; font-size: 1.3rem; }
.contact address a { width: max-content; margin-top: 22px; color: #b4d58f; font-weight: 700; font-size: 1.25rem; text-underline-offset: 5px; }
footer { max-width: 1180px; margin: auto; padding: 22px 32px 36px; display: flex; justify-content: space-between; color: #676a61; font-size: .85rem; }

@media (max-width: 800px) {
  .site-header { height: 74px; padding: 0 20px; }
  .brand img { width: 145px; }
  .brand span { display: none; }
  .header-phone { font-size: .9rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-content { padding: 72px 24px; }
  .hero-visual { min-height: 310px; }
  .experience { right: 24px; bottom: 28px; }
  .experience strong { font-size: 6rem; }
  .services { padding: 80px 20px; }
  .projects { padding: 0 20px 80px; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 230px; }
  .project-grid .project-wide { grid-column: span 2; }
  .contact { margin: 0; padding: 64px 24px; grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 24px 20px; flex-direction: column; gap: 2px; }
  footer p { margin: 0; }
}

@media (max-width: 480px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-grid li { min-height: 125px; }
  .project-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .project-grid .project-wide { grid-column: auto; }
  .button { width: 100%; text-align: center; }
}

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