/* Buyck schilder- & decoratiewerken — huisstijl */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --navy: #001430;
  --navy-2: #0b2245;
  --ink: #1d232c;
  --muted: #5d6470;
  --paper: #f7f4ef;
  --stone: #e9e3da;
  --white: #fff;
  --accent: #b5452f;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 18px/1.7 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; color: var(--navy); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font: 500 13px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); }
.site-header .wrap { display: flex; align-items: center; height: var(--header-h); }
.logo { margin-right: auto; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav a { font: 400 14px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav a:hover, .nav a[aria-current="page"] { border-color: currentColor; }
.menu-btn { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 24px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s, background .25s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .logo img { height: 24px; }
  .menu-btn { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy); flex-direction: column; gap: 0; padding: 24px var(--gutter); transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
  .menu-open .nav { transform: none; visibility: visible; }
  .nav a { display: block; font: 400 30px/1.2 var(--serif); letter-spacing: 0; text-transform: none; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav a[aria-current="page"] { color: #e8b9ae; }
  .menu-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: grid; align-items: end; color: var(--white); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(0,20,48,.72) 0%, rgba(0,20,48,.35) 45%, rgba(0,20,48,0) 75%),
  linear-gradient(180deg, rgba(0,20,48,0) 40%, rgba(0,20,48,.7) 100%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(48px, 9vh, 96px); }
.hero h1 { color: var(--white); font-size: clamp(42px, 6vw, 84px); max-width: 16ch; text-shadow: 0 2px 24px rgba(0,10,30,.35); }
@media (max-width: 700px) { .hero::after { background: linear-gradient(180deg, rgba(0,20,48,.1) 20%, rgba(0,20,48,.85) 100%); } }
.hero h1 em { font-style: italic; color: #f0d2c9; }
.hero .eyebrow { color: #f0d2c9; }
.hero--page { min-height: min(62vh, 560px); }
.hero--page h1 { font-size: clamp(36px, 4.6vw, 64px); max-width: 20ch; }

/* ---------- secties ---------- */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }
.section--stone { background: var(--stone); }
.section--navy { background: var(--navy); color: #d9dee6; }
.section--navy h2 { color: var(--white); }

.intro { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 7vw, 110px); align-items: start; }
.intro h2 { font-size: clamp(34px, 4.2vw, 56px); }
.intro p { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); }
.intro .lead { color: var(--ink); }
@media (max-width: 800px) { .intro { grid-template-columns: 1fr; } }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(34px, 4.2vw, 56px); }

/* ---------- diensten ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { position: relative; display: block; text-decoration: none; color: var(--white); overflow: hidden; aspect-ratio: 3 / 4.2; background: var(--navy); }
.service img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, opacity .4s; opacity: .92; }
.service::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,20,48,0) 45%, rgba(0,20,48,.85)); }
.service span { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; font: 400 30px/1.1 var(--serif); }
.service small { display: block; font: 400 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; margin-top: 12px; opacity: .8; }
a.service:hover img { transform: scale(1.05); opacity: 1; }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; gap: 14px; } .service { aspect-ratio: 4 / 3.4; } }

/* ---------- galerij ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery button { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; background: var(--stone); cursor: zoom-in; overflow: hidden; }
.gallery--feature button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery--2 { grid-template-columns: 1fr 1fr; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery--feature button:first-child { grid-row: auto; aspect-ratio: 16 / 10; }}
.gallery button:hover img { transform: scale(1.03); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,10,25,.94); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); font: 300 40px/1 var(--sans); width: 56px; height: 56px; cursor: pointer; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* ---------- knoppen ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; background: var(--accent); color: var(--white); border: 0; font: 500 14px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s; }
.btn:hover { background: #9a3826; }
.btn--ghost { background: transparent; border: 1px solid currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.link-arrow { font: 500 14px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 6px; white-space: nowrap; }

/* ---------- call to action ---------- */
.cta { display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
.cta h2 { font-size: clamp(32px, 4vw, 52px); }
.cta p { margin: 14px 0 0; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--stone); border: 1px solid var(--stone); }
.member { background: var(--paper); padding: 36px 32px; }
.member h3 { font-size: 30px; }
.member .role { font: 400 13px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 10px 0 22px; }
.member a { display: block; text-decoration: none; color: var(--muted); font-size: 16px; padding: 3px 0; word-break: break-word; }
.member a:hover { color: var(--navy); text-decoration: underline; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } .member { padding: 28px 22px; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); }
.contact h2 { font-size: clamp(34px, 4.2vw, 56px); margin-bottom: 24px; }
.contact address { font-style: normal; font-size: 19px; line-height: 1.8; }
.contact address a { text-decoration: none; border-bottom: 1px solid rgba(0,20,48,.25); }
.contact address a:hover { border-color: currentColor; }
.map { margin-top: 32px; aspect-ratio: 4 / 3; background: var(--stone); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.form { display: grid; gap: 18px; }
.form label { display: block; font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form input, .form textarea { width: 100%; padding: 14px 16px; border: 1px solid #cfc7bb; background: var(--white); font: 300 17px/1.5 var(--sans); color: var(--ink); border-radius: 0; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,20,48,.12); }
.form textarea { min-height: 160px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .hp { position: absolute; left: -9999px; }
.form-melding { margin: 4px 0 0; font-size: 16px; color: #2e6b3a; }
.form-melding.fout { color: var(--accent); }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #c3cad6; font-size: 16px; }
.site-footer .wrap { padding-top: 72px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.site-footer h4 { font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--white); margin: 0 0 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.9; }
.footer-logo img { height: 66px; width: auto; margin-bottom: 18px; }
.footer-nav { list-style: none; padding: 0; margin: 0; line-height: 2; }
.partners { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.partners img { height: auto; opacity: .85; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: #8b95a6; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

.partners a { display: inline-block; transition: opacity .2s; }
.partners a:hover img, .partners a:focus-visible img { opacity: 1; }

/* menu met 7 items: Home zit enkel in het gsm-menu (logo linkt al naar home) */
@media (min-width: 901px) {
  .nav-home { display: none; }
  .nav { gap: clamp(18px, 2vw, 30px); }
  .nav a { letter-spacing: .12em; font-size: 13px; }
}
