/* ============================================================
   Design Brush – designbrush.eu
   Palet: zwart #000 / wit #fff / oranje #FF6A00
   Typografie: Archivo (variabel: breedte + gewicht)
   ============================================================ */

:root {
  --black: #000000;
  --white: #ffffff;
  --orange: #FF6A00;
  --orange-dark: #d95700;
  --grey-1: #f3f3f3;
  --grey-3: #d9d9d9;
  --grey-6: #6b6b6b;
  --grey-8: #2b2b2b;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --measure: 62ch;
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(72px, 10vw, 140px);

  --wa: #25D366;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--black);
  background: var(--white);
  font-variation-settings: "wdth" 100;
}

img { max-width: 100%; height: auto; display: block; }
img.is-missing { visibility: hidden; }
a { color: inherit; }
button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

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

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-variation-settings: "wdth" 88, "wght" 800;
}
h1 { font-size: clamp(2.6rem, 7.2vw, 6.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.015em; }
p  { margin: 0 0 1em; max-width: var(--measure); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.45; color: var(--grey-8); }
.muted { color: var(--grey-6); }

/* ---------- Layout helpers ---------- */
.wrap { padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--black { background: var(--black); color: var(--white); }
.section--black .lead, .section--black .muted { color: var(--grey-3); }
.section--grey { background: var(--grey-1); }

.grid { display: grid; gap: clamp(24px, 4vw, 56px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.stack > * + * { margin-top: 1.25rem; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; align-items: start; } }

/* ---------- De penseelstreek (enige decoratie op de site) ---------- */
.stroke {
  position: relative;
  display: inline-block;
  isolation: isolate;
}
.stroke svg {
  position: absolute;
  left: -0.25em;
  right: -0.25em;
  bottom: -0.12em;
  width: calc(100% + 0.5em);
  height: 0.42em;
  z-index: -1;
}
.stroke svg path { fill: var(--orange); }

.section--black .stroke svg path { fill: var(--orange); }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  background: var(--orange);
  color: var(--black);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  border: 2px solid var(--orange);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .08s ease;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn--ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.section--black .btn--ghost:hover { background: var(--white); border-color: var(--white); }
.btn--wa { background: var(--wa); border-color: var(--wa); color: var(--black); }
.btn--wa:hover { background: #1fb457; border-color: #1fb457; color: var(--black); }
.btn--xl { padding: 24px 36px; font-size: 1.25rem; width: 100%; justify-content: center; }
.btn svg { width: 22px; height: 22px; flex: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--grey-3);
}
.header__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 76px;
}
.logo {
  display: inline-flex; align-items: baseline; gap: 10px;
  text-decoration: none; font-weight: 800; font-size: 1.25rem;
  letter-spacing: -0.02em; font-variation-settings: "wdth" 88, "wght" 800;
}
.logo__mark { width: 34px; height: 12px; align-self: center; }
.logo__mark path { fill: var(--orange); }
.nav { display: flex; gap: clamp(16px, 2.5vw, 36px); align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--orange); }
.header .btn { padding: 12px 18px; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--black); margin: 5px 0; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 76px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--grey-3);
    padding: 8px var(--gutter) 20px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--grey-1); font-size: 1.1rem; }
  .header .btn--hide-mobile { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 900px);
  display: grid; align-items: end;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .78;
}
.hero__img.is-missing { visibility: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,0) 100%);
}
.hero__in {
  position: relative;
  padding-block: clamp(56px, 8vw, 96px);
  display: grid; gap: 28px;
  max-width: 1100px;
}
.hero .lead { color: var(--grey-3); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__note { font-size: .95rem; color: var(--grey-3); }

/* Kleinere hero voor subpagina's */
.hero--sub { min-height: min(56vh, 620px); }
.hero--sub h1 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); }

/* ---------- Diensten ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  border-top: 1px solid var(--grey-3);
}
.service {
  padding: clamp(28px, 3vw, 44px) clamp(20px, 2.5vw, 36px) clamp(28px, 3vw, 44px) 0;
  border-bottom: 1px solid var(--grey-3);
  text-decoration: none;
  display: grid; gap: 14px; align-content: start;
}
.service + .service { border-left: 1px solid var(--grey-3); padding-left: clamp(20px, 2.5vw, 36px); }
@media (max-width: 700px) { .service + .service { border-left: 0; padding-left: 0; } }
.service__img { aspect-ratio: 4 / 3; background: var(--grey-1); overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; }
.service p { margin: 0; color: var(--grey-6); }
.service:hover h3 { color: var(--orange); }

/* ---------- Waarom (lijst zonder kaartjes) ---------- */
.why {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
}
.why li {
  padding: 28px 24px;
  background: var(--grey-8);
  font-weight: 700; font-size: 1.15rem; line-height: 1.25;
  letter-spacing: -0.01em;
}
.why li::before {
  content: ""; display: block; width: 36px; height: 6px;
  background: var(--orange); margin-bottom: 18px;
}

/* ---------- Portfolio ---------- */
.gallery {
  display: grid; gap: 6px;
  grid-template-columns: repeat(12, 1fr);
}
.gallery figure { margin: 0; background: var(--grey-1); overflow: hidden; position: relative; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 14px; font-size: .9rem; font-weight: 600;
  background: var(--white); color: var(--black);
  width: max-content; max-width: 100%;
}
.gallery .g-8 { grid-column: span 8; }
.gallery .g-4 { grid-column: span 4; }
.gallery .g-6 { grid-column: span 6; }
.gallery .g-8 img { aspect-ratio: 16/9; }
@media (max-width: 760px) { .gallery .g-8, .gallery .g-4, .gallery .g-6 { grid-column: span 12; } }

/* Voor/na - sectie staat nu NIET in portfolio.html: er is nog geen
   echt voor/na-paar van dezelfde klus. Stijl blijft staan zodat de
   sectie terug kan zodra die fotos er zijn. */
.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.beforeafter figure { margin: 0; position: relative; }
.beforeafter img { aspect-ratio: 4/3; object-fit: cover; width: 100%; background: var(--grey-1); }
.beforeafter figcaption { position: absolute; top: 12px; left: 12px; background: var(--black); color: var(--white); padding: 6px 10px; font-size: .85rem; font-weight: 700; }
.beforeafter figure:last-child figcaption { background: var(--orange); color: var(--black); }

/* ---------- Offerte formulier ---------- */
.offerte { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .offerte { grid-template-columns: 1fr; } }

.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 1rem; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
  font: inherit; padding: 16px 18px;
  border: 2px solid var(--black); background: var(--white); color: var(--black);
  width: 100%;
}
.section--black .field input[type="text"],
.section--black .field input[type="tel"] { border-color: var(--white); background: var(--black); color: var(--white); }
.field input:focus { outline: 3px solid var(--orange); outline-offset: 2px; }
.field .hint { font-size: .9rem; color: var(--grey-6); }
.section--black .field .hint { color: var(--grey-3); }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice label {
  padding: 16px; text-align: center; font-weight: 700;
  border: 2px solid currentColor; cursor: pointer;
}
.choice input:checked + label { background: var(--orange); border-color: var(--orange); color: var(--black); }
.choice input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }

.upload { border: 2px dashed currentColor; padding: 22px; text-align: center; cursor: pointer; }
.upload input { position: absolute; opacity: 0; width: 0; height: 0; }
.upload strong { display: block; }
.upload span { font-size: .9rem; color: var(--grey-3); }
.upload.has-file { border-style: solid; border-color: var(--orange); }

.form__note { font-size: .9rem; color: var(--grey-3); margin: 0; }
.form__error { display: none; color: var(--orange); font-weight: 700; margin: 0; }
.form__error.is-visible { display: block; }

/* ---------- Locatie-pagina's ---------- */
.locations { columns: 3; column-gap: 40px; list-style: none; padding: 0; margin: 0; }
.locations li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--grey-3); }
.locations a { text-decoration: none; font-weight: 600; }
.locations a:hover { color: var(--orange); }
@media (max-width: 800px) { .locations { columns: 2; } }
@media (max-width: 480px) { .locations { columns: 1; } }

.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 18px; font-size: .9rem; color: var(--grey-6); }
/* In de donkere hero moet het kruimelpad juist licht zijn. */
.hero .breadcrumb { color: var(--grey-3); }
.section--black .breadcrumb { color: var(--grey-3); }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }

.faq { border-top: 1px solid var(--grey-3); max-width: 80ch; }
.faq details { border-bottom: 1px solid var(--grey-3); }
.faq summary { padding: 18px 0; font-weight: 700; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--grey-8); }

/* ---------- Over mij ---------- */
.portrait { aspect-ratio: 4/5; background: var(--grey-1); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--grey-3); }
.facts li { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--grey-3); }
.facts li span:first-child { color: var(--grey-6); }
.facts li span:last-child { font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--orange); color: var(--black); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(36px, 5vw, 64px); }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
.cta-band .btn { background: var(--black); border-color: var(--black); color: var(--white); }
.cta-band .btn:hover { background: var(--white); border-color: var(--white); color: var(--black); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--white); padding-block: 56px 32px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h2 { font-size: 1rem; margin-bottom: 12px; font-variation-settings: "wdth" 100, "wght" 700; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: var(--grey-3); }
.footer a:hover { color: var(--orange); }
.footer__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--grey-8); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--grey-6); font-size: .85rem; }
.footer .slogan { color: var(--grey-3); max-width: 34ch; }

/* ---------- Zwevende WhatsApp knop (mobiel) ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.wa-float svg { width: 32px; height: 32px; }
@media (min-width: 901px) { .wa-float { display: none; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Blog / artikelen ---------- */
.article-head { max-width: 78ch; }
.article-head h1 { font-size: clamp(2.1rem, 4.8vw, 4rem); }
.article-meta { margin-top: 18px; font-size: .92rem; color: var(--grey-6); }

.article-body { max-width: 72ch; }
.article-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 2.2em; margin-bottom: .5em; }
.article-body h3 { margin-bottom: .3em; }
.article-body p { max-width: none; }
.article-body > *:first-child { margin-top: 0; }

/* Het korte antwoord bovenaan: wat AI-zoekmachines als snippet oppakken. */
.answer {
  border-left: 6px solid var(--orange);
  background: var(--grey-1);
  padding: 24px 26px;
  margin-bottom: 8px;
}
.answer p { margin: 0; }
.answer__label {
  font-size: .78rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--grey-6); margin-bottom: 8px !important;
}
.answer p:last-child { font-size: 1.15rem; line-height: 1.5; font-weight: 600; }

.artikel-lijst { padding-left: 1.2em; margin: 0 0 1em; }
.artikel-lijst li { margin-bottom: .5em; }
.artikel-lijst a, .article-body p a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.artikel-lijst a:hover, .article-body p a:hover { color: var(--orange); }

/* Tabellen mogen breder zijn dan de tekst, maar scrollen dan zelf. */
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 34ch; font-size: .97rem; }
.table-wrap caption { text-align: left; font-size: .85rem; color: var(--grey-6); padding-bottom: 10px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--grey-3); }
.table-wrap thead th { border-bottom: 2px solid var(--black); font-weight: 800; white-space: nowrap; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }

.stappen { list-style: none; counter-reset: stap; padding: 0; margin: 0 0 1.5em; }
.stappen li { counter-increment: stap; position: relative; padding-left: 56px; padding-bottom: 24px; }
.stappen li::before {
  content: counter(stap); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--orange); color: var(--black); font-weight: 800; font-size: 1.05rem;
}
.stappen li p { margin: 0; }

.verder { margin-top: 3.5em; padding-top: 2em; border-top: 2px solid var(--black); }
.verder h2 { margin-top: 0; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.verder__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 20px; }
@media (max-width: 560px) { .verder__grid { grid-template-columns: 1fr; } }

.article-cta { max-width: 72ch; }
.article-cta .lead { margin-bottom: 28px; }

/* Blog-overzicht */
.post-list { display: grid; gap: 0; border-top: 1px solid var(--grey-3); max-width: 82ch; }
.post { padding-block: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--grey-3); }
.post__meta { font-size: .85rem; color: var(--grey-6); margin-bottom: 10px; letter-spacing: .03em; }
.post h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .4em; }
.post h2 a { text-decoration: none; }
.post h2 a:hover { color: var(--orange); }
.post__antwoord { border-left: 4px solid var(--orange); padding-left: 16px; color: var(--grey-8); margin-bottom: 0; }

/* Tweede, stadseigen alinea - bewust anders vormgegeven dan de intro,
   zodat het als aparte observatie leest en niet als vervolg. */
.stadsnotitie {
  max-width: 74ch;
  border-top: 3px solid var(--black);
  border-bottom: 1px solid var(--grey-3);
  padding-block: 28px;
}
.stadsnotitie__label {
  font-size: .78rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 12px;
}
.stadsnotitie p:last-child { font-size: 1.12rem; line-height: 1.55; margin: 0; }
