/* Bouwpassie — antraciet en messing uit het logo, steengrijs als voeg. */

@font-face { font-family: "Jost"; font-weight: 400; font-display: swap; src: url("/assets/fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-display: swap; src: url("/assets/fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 600; font-display: swap; src: url("/assets/fonts/jost-latin-600-normal.woff2") format("woff2"); }

:root {
  --antraciet: #222222;
  --antraciet-2: #2e2d2b;
  --messing: #bf9137;
  --messing-donker: #8a6721;   /* messing voor tekst op wit (AA) */
  --steen: #e6e3de;            /* voegkleur */
  --steen-licht: #f3f2ef;
  --wit: #ffffff;
  --inkt: #1f1f1e;
  --grijs: #5c5954;
  --voeg: 6px;
  --wrap: 1180px;
  --edge: clamp(16px, 5vw, 72px);   /* linkermarge van logo en hero-titel */
  --font: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--inkt);
  background: var(--wit);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--messing-donker); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--inkt); }
:focus-visible { outline: 3px solid var(--messing); outline-offset: 3px; }

h1, h2, h3 { font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--wit); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  font: 500 1rem/1 var(--font); text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-brass { background: var(--messing); color: var(--antraciet); }
.btn-brass:hover { background: #d3a54a; color: var(--antraciet); }
.btn-line { border-color: currentColor; color: inherit; }
.btn-line:hover { background: var(--wit); color: var(--antraciet); border-color: var(--wit); }

/* Header */
.site-header { background: var(--antraciet); color: var(--wit); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; width: 100%; max-width: none; padding-inline: var(--edge); padding-left: calc(max(0px, 45% - 640px) + var(--edge)); }
.logo img { width: 320px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.main-nav a:not(.btn) { color: #d9d6d0; text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 1px solid transparent; }
.main-nav a:not(.btn):hover, .main-nav a[aria-current] { color: var(--wit); border-bottom-color: var(--messing); }
.nav-toggle { display: none; }

@media (max-width: 1020px) {
  .logo img { width: 230px; }
  .header-inner { min-height: 84px; padding-left: var(--edge); }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    background: none; border: 1px solid #555; color: var(--wit);
    font: 500 1rem var(--font); padding: 10px 14px; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; position: relative;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--antraciet); flex-direction: column; align-items: stretch;
    padding: 8px 16px 24px; gap: 16px; border-top: 1px solid #3a3a3a;
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid #3a3a3a; }
  .main-nav a[aria-current] { border-bottom-color: var(--messing); }
}

/* Hero (home): tekst op antraciet, foto rechts */
.hero {
  display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  background: var(--antraciet); color: #e9e6e0;
}
.hero-text { padding: clamp(48px, 7vw, 104px) var(--edge) clamp(48px, 6vw, 88px); align-self: center; max-width: 640px; margin-left: auto; }
.hero h1 { color: var(--wit); font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); }
.hero .lead { font-size: 1.2rem; color: var(--wit); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero-actions .btn-line { color: var(--wit); }
.hero-actions .btn-line:hover { color: var(--antraciet); }
.hero-facts { color: var(--messing); font-weight: 500; margin: 0; }
.hero-media { position: relative; min-height: 420px; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 0; aspect-ratio: 3 / 2; order: -1; }
  .hero-text { margin: 0; max-width: none; }
}

/* Sectiekoppen */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--grijs); max-width: 48ch; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* De tegelwand: tegels met echte voegen */
.services { padding: clamp(56px, 8vw, 104px) 0; background: var(--steen-licht); }
.tile-wall {
  list-style: none; margin: 0; padding: var(--voeg);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--voeg);
  background: var(--steen);
}
.tile-wall > li { display: flex; }
.tile { background: var(--wit); display: flex; flex-direction: column; width: 100%; color: var(--inkt); text-decoration: none; }
.tile:hover { color: var(--inkt); }
.tile:hover .tile-title { color: var(--messing-donker); }
.tile:hover .tile-img { opacity: .92; }
.tile-img { width: 100%; aspect-ratio: 850 / 421; object-fit: cover; }
.tile-body { display: block; padding: 22px 24px 26px; border-top: 3px solid var(--messing); }
.tile-title { display: block; font-size: 1.25rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.4em; }
.tile-title::after { content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-left: 0.45em; border-top: 2px solid var(--messing); border-right: 2px solid var(--messing); transform: translateY(-0.1em) rotate(45deg); }
.tile-text { display: block; color: var(--grijs); font-size: 1rem; }

/* Werkzaamheden-pagina: tekstblokken met voegen, foto eronder */
.work-blocks { padding: clamp(48px, 7vw, 88px) 0 0; }
.block-wall {
  list-style: none; margin: 0; padding: var(--voeg);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--voeg);
  background: var(--steen);
}
.block-wall > li { display: flex; }
.block { display: block; width: 100%; background: var(--wit); padding: 28px 28px 30px; border-top: 3px solid var(--messing); color: var(--inkt); text-decoration: none; }
a.block:hover { color: var(--inkt); background: var(--steen-licht); }
.block-title { font-size: 1.35rem; margin-bottom: 0.5em; }
.block p { color: var(--grijs); margin-bottom: 0.8em; }
.block-more { color: var(--messing-donker); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.work-image { width: 100%; margin-top: var(--voeg); aspect-ratio: 1920 / 880; object-fit: cover; }
@media (max-width: 900px) { .block-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .block-wall { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .tile-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tile-wall { grid-template-columns: 1fr; } }

/* Projecten: ook als tegels */
.projects { padding: clamp(56px, 8vw, 104px) 0; }
.project-wall {
  list-style: none; margin: 0; padding: var(--voeg);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--voeg);
  background: var(--steen);
}
.project-wall img { width: 100%; aspect-ratio: 496 / 661; object-fit: cover; }
@media (max-width: 900px) { .project-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Tekstband op de home */
.prose-band { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--steen); }
.prose-band-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; }
@media (max-width: 860px) { .prose-band-inner { grid-template-columns: 1fr; } }

/* Lopende tekst */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.lead { font-size: 1.2rem; line-height: 1.55; }

.checks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 0.55em; }
.checks li::before {
  content: ""; position: absolute; left: 3px; top: 0.42em;
  width: 7px; height: 13px; border: solid var(--messing); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.checks-inline { display: flex; flex-wrap: wrap; gap: 4px 28px; }

.steps { list-style: none; counter-reset: stap; padding: 0; margin: 0 0 1.4em; }
.steps li { counter-increment: stap; position: relative; padding: 0 0 0.4em 64px; }
.steps li::before {
  content: counter(stap); position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--antraciet); color: var(--messing); font-weight: 600;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px; background: var(--steen); }
.steps h3 { margin: 0.35em 0 0.3em; font-size: 1.15rem; }
.steps h3 a { color: var(--inkt); }

.faq dt { font-weight: 600; margin-top: 1em; }
.faq dd { margin: 0.2em 0 0; }

/* Subpagina: fotoband met titel */
.page-hero { position: relative; background: var(--antraciet); color: var(--wit); overflow: hidden; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.page-hero-text { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); }
.page-hero h1 { max-width: 22ch; margin: 0; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.3rem); }
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.95rem; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--messing); }
.crumbs a { color: #e3dfd8; }
.crumbs [aria-current] { color: #bdb8af; }

.content-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px 72px;
  padding: clamp(48px, 7vw, 88px) 0;
}
.content-narrow { padding: clamp(48px, 7vw, 88px) 0; }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; } }

.side-card { align-self: start; position: sticky; top: 112px; background: var(--antraciet); color: #e2dfd9; padding: 28px; border-top: 4px solid var(--messing); }
.side-card h2 { color: var(--wit); font-size: 1.4rem; }
.side-card .btn { width: 100%; margin: 6px 0 0; }
@media (max-width: 960px) { .side-card { position: static; } }

/* Reviews */
.reviews { padding: clamp(56px, 8vw, 104px) 0; background: var(--steen-licht); }
.reviews h2 { margin-bottom: 0.2em; }
.reviews-sub { color: var(--grijs); margin-bottom: 36px; }
.review-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.review { margin: 0; padding-left: 24px; border-left: 2px solid var(--messing); }
.review blockquote { margin: 10px 0 12px; }
.review blockquote p { margin: 0; font-size: 1.08rem; }
.review figcaption { font-weight: 600; }
.review figcaption span { display: block; font-weight: 400; color: var(--grijs); font-size: 0.95rem; }
.stars { display: flex; gap: 2px; color: var(--messing); }
@media (max-width: 760px) { .review-list { grid-template-columns: 1fr; } }

/* Contact */
.contact-block, .contact-page { background: var(--antraciet); color: #e2dfd9; padding: clamp(56px, 8vw, 104px) 0; }
.contact-block h2, .contact-page h1 { color: var(--wit); }
.contact-page .lead { color: var(--wit); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-lines { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 28px 0 0; }
.contact-lines dt { color: #a9a49b; }
.contact-lines dd { margin: 0; }
.contact-lines a { color: var(--messing); }
.contact-lines a:hover { color: var(--wit); }

.contact-form-wrap { background: var(--wit); color: var(--inkt); padding: clamp(24px, 4vw, 40px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--grijs); }
.field input, .field textarea {
  width: 100%; font: inherit; color: inherit;
  padding: 12px 14px; border: 1px solid #bdb8b0; background: var(--wit); border-radius: 0;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--messing); outline-offset: 0; border-color: var(--messing); }
.has-error input, .has-error textarea { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: 0.95rem; margin: 6px 0 0; }
.form-alert { background: #fbeceb; color: #8c1d18; padding: 12px 16px; }
.form-note { font-size: 0.92rem; color: var(--grijs); margin: 16px 0 0; }
.form-sent h3 { font-size: 1.5rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: #1a1a1a; color: #b9b5ad; padding: 64px 0 28px; font-size: 0.98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-logo { width: 190px; margin-bottom: 16px; }
.footer-head { font-size: 1rem; font-weight: 600; color: var(--wit); margin-bottom: 12px; }
.site-footer address { font-style: normal; }
.site-footer a { color: #e2ded6; }
.site-footer a:hover { color: var(--messing); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #333; font-size: 0.9rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }


.notfound { min-height: 50vh; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media (max-width: 400px) { .logo img { width: 190px; } .nav-toggle-label { display: none; } }

/* Desktop: menu begint op de lijn waar de hero-foto begint (linkerkolom = 45%). */
@media (min-width: 1021px) {
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .main-nav { position: absolute; left: 45%; top: 0; bottom: 0; }
}
