/* Gert Knuts Interieurinrichting: donker atelier */
:root {
  --nacht: #181110;
  --donker: #211a16;
  --bruin: #2c201a;
  --bruin-warm: #38281e;
  --goud: #d6a24c;
  --goud-licht: #e6b064;
  --room: #fff6e9;
  --zand: #e0c9b0;
  --lijn: rgba(224, 201, 176, .24);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 6vw, 86px);
  --sectie: clamp(64px, 7vw, 100px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--donker); color: var(--zand); font: 400 16px/1.65 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--goud-licht); outline-offset: 3px; }

.container { width: min(1268px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--goud); color: var(--nacht); }
.skip-link:focus { top: 12px; }

/* Kop en menu */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--nacht); border-bottom: 1px solid var(--lijn); }
.header-inner { display: flex; align-items: center; min-height: 85px; gap: 42px; }
.site-logo { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; color: var(--room); }
.site-logo img { width: 42px; height: 42px; }
.merk { display: grid; line-height: 1.25; }
.merk strong { font-size: 15px; font-weight: 700; letter-spacing: .16em; }
.merk small { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.desktop-nav { display: flex; gap: 42px; }
.desktop-nav a { padding-block: 2px; font-size: 14px; color: var(--room); text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s; }
.desktop-nav a:hover { color: var(--goud-licht); }
.desktop-nav a[aria-current='page'] { color: var(--goud-licht); border-color: var(--goud-licht); }
.mobile-toggle { display: none; width: 46px; height: 46px; place-items: center; background: none; border: 1px solid var(--lijn); color: var(--room); cursor: pointer; }
.mobile-toggle .icon-close, .mobile-toggle[aria-expanded='true'] .icon-open { display: none; }
.mobile-toggle[aria-expanded='true'] .icon-close { display: block; }
.mobile-nav { display: none; }

/* Knoppen en labels */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 10px 22px; font: 600 14px/1.2 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--goud); color: var(--nacht); }
.btn-primary:hover { background: var(--goud-licht); }
.btn-outline { border-color: var(--room); color: var(--room); }
.btn-outline:hover { background: var(--room); color: var(--nacht); }
.btn-goud { border-color: var(--goud-licht); color: var(--goud-licht); }
.btn-goud:hover { background: var(--goud-licht); color: var(--nacht); }
.header-cta[aria-current='page'] span.label { text-decoration: underline; text-underline-offset: 4px; }
.eyebrow { margin-bottom: 14px; color: var(--goud-licht); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.pijl-link { padding-bottom: 6px; color: var(--room); font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--room); white-space: nowrap; transition: color .2s, border-color .2s; }
.pijl-link:hover { color: var(--goud-licht); border-color: var(--goud-licht); }

/* Typografie */
h1, h2, h3 { color: var(--room); font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(50px, 7.7vw, 111px); line-height: 1; letter-spacing: -.055em; }
h1.klein { font-size: clamp(46px, 5.85vw, 84px); line-height: 1.02; }
h2 { font-size: clamp(38px, 5.1vw, 74px); line-height: 1.04; letter-spacing: -.05em; }
h3 { font-size: clamp(26px, 2.3vw, 33px); line-height: 1.04; letter-spacing: -.035em; }
.tekst { max-width: 455px; }
.tekst + .tekst { margin-top: 22px; }
.tekst-breed { max-width: 445px; }

/* Hero */
.hero { position: relative; display: flex; align-items: center; min-height: min(650px, calc(100svh - 85px)); padding-block: 72px; overflow: hidden; background: var(--nacht); }
.hero-beeld { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 13, 10, .9) 0%, rgba(20, 13, 10, .74) 34%, rgba(20, 13, 10, .28) 62%, rgba(20, 13, 10, .04) 82%); }
.hero-inhoud { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .tekst { max-width: 330px; margin-block: 24px 34px; color: #fff; }

/* Secties */
.sectie { padding-block: var(--sectie); }
.sectie-bruin { background: var(--bruin); }
.sectie-kop { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.pagina-kop { padding-top: clamp(56px, 7vw, 100px); }
.pagina-kop h1 { max-width: 800px; }
.pagina-kop .tekst { max-width: 470px; margin-top: 22px; }

/* Interieurkaarten */
.raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px 24px; }
.kaart { text-decoration: none; }
.kaart-beeld { aspect-ratio: 407 / 286; overflow: hidden; background: var(--bruin); }
.kaart-beeld img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.kaart:hover img { transform: scale(1.04); }
.kaart h2, .kaart h3 { margin-top: 16px; font-size: clamp(26px, 2.3vw, 33px); line-height: 1.04; letter-spacing: -.035em; }
.kaart p { margin-top: 8px; font-size: 14px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 34px 32px; }
.filters button { min-height: 47px; padding: 8px 15px; background: transparent; border: 1px solid var(--lijn); color: var(--room); font: 400 15px/1.2 var(--sans); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: var(--goud-licht); }
.filters button[aria-pressed='true'] { background: var(--goud); border-color: var(--goud); color: var(--nacht); }

/* Twee kolommen */
.twee { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.twee-beeld { aspect-ratio: 584 / 511; width: 100%; object-fit: cover; }
.twee .btn { margin-top: 26px; }
.twee h2 { margin-bottom: 22px; }
.twee h1 { margin-bottom: 26px; }

/* Stappen */
.stappen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.stap { padding-top: 18px; border-top: 1px solid var(--lijn); }
.stap .eyebrow { margin-bottom: 12px; }
.stap p:last-child { margin-top: 10px; }

/* Kennismaken */
.kennismaken { padding-block: var(--sectie); background: var(--bruin-warm); }
.kennismaken .container { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }

/* Contact */
.contact-sectie { padding-top: 0; }
.knop-rij { margin-top: 28px; }
.contact-twee { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; padding-top: clamp(56px, 7vw, 100px); }
.contact-twee .tekst { margin-top: 22px; max-width: 445px; }
.veld { margin-bottom: 20px; }
.veld label { display: block; margin-bottom: 6px; color: var(--room); font-size: 14px; }
.veld input, .veld textarea { display: block; width: 100%; padding: 12px 14px; background: var(--bruin); border: 1px solid var(--lijn); border-radius: 0; color: var(--room); font: 400 16px/1.5 var(--sans); }
.veld input { height: 49px; }
.veld textarea { min-height: 140px; resize: vertical; }
.veld input:focus, .veld textarea:focus { border-color: var(--goud-licht); outline: 1px solid var(--goud-licht); }
.form-noot { margin-bottom: 16px; font-size: 13px; }
.form-melding { margin-top: 16px; color: var(--goud-licht); font-size: 14px; }
.form-melding:empty { display: none; }
.contact-beeld { width: 100%; height: clamp(220px, 26vw, 373px); margin-top: 64px; object-fit: cover; object-position: 50% 68%; }

/* Voet */
.site-footer { padding-block: 36px; background: var(--nacht); border-top: 1px solid var(--lijn); }
.footer-rij { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-merk strong { display: block; color: var(--room); font-size: 15px; letter-spacing: .16em; }
.footer-merk span, .footer-noot { font-size: 13px; }
.footer-contact { justify-self: end; color: var(--room); font-size: 15px; text-decoration: none; }
.footer-contact:hover { color: var(--goud-licht); }

/* Tablet: mobiel menu (breekpunt gelijk aan script.js) */
@media (max-width: 1020px) {
  .header-inner { min-height: 72px; gap: 16px; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-toggle { display: grid; }
  .mobile-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: 12px var(--gutter) 24px; background: var(--nacht); border-bottom: 1px solid var(--lijn); }
  .mobile-nav.open { display: grid; }
  .mobile-nav a:not(.btn) { padding-block: 13px; color: var(--room); text-decoration: none; border-bottom: 1px solid var(--lijn); }
  .mobile-nav a[aria-current='page']:not(.btn) { color: var(--goud-licht); }
  .mobile-nav .btn { margin-top: 18px; }
  .hero { min-height: min(600px, calc(100svh - 72px)); }
  .hero-beeld { object-position: 72% 40%; }
  .hero::after { background: linear-gradient(90deg, rgba(20, 13, 10, .88) 0%, rgba(20, 13, 10, .62) 60%, rgba(20, 13, 10, .3) 100%); }
  .raster { grid-template-columns: repeat(2, 1fr); }
}

/* Telefoon */
@media (max-width: 720px) {
  .raster, .twee, .stappen, .contact-twee { grid-template-columns: 1fr; }
  .raster { gap: 34px; }
  .sectie-kop, .kennismaken .container { flex-direction: column; align-items: flex-start; }
  .twee-beeld.eerst-tekst { order: 2; }
  .footer-rij { grid-template-columns: 1fr; gap: 14px; }
  .footer-contact { justify-self: start; }
  .contact-beeld { margin-top: 48px; }
}

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