/* =========================================================
   J-Paints — huisstijl
   Titels: GFS Didot · Accent: Young Serif · Tekst: Lato
   ========================================================= */

/* ---------- Fonts (zelf gehost, geen Google-tracking) ---------- */
@font-face { font-family: "GFS Didot"; src: url("../fonts/gfs-didot-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Young Serif"; src: url("../fonts/young-serif-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* ---------- Variabelen ---------- */
:root {
  --beige: #f5e6d7;
  --beige-licht: #faf3ec;
  --oranje: #c2592b;
  --oranje-donker: #a6481f;
  --zwart: #000000;
  --tekst: #1a1a1a;
  --groen: #335242;
  --groen-donker: #263e32;

  --font-titel: "GFS Didot", Didot, "Bodoni MT", Georgia, serif;
  --font-sub: "Young Serif", Georgia, serif;
  --font-tekst: "Lato", "Helvetica Neue", Arial, sans-serif;

  --max: 1200px;
  --radius: 4px;
  --schaduw: 0 10px 30px rgba(51, 82, 66, .12);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-tekst);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--tekst);
  background: var(--beige-licht);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--oranje); }
a:hover { color: var(--oranje-donker); }

h1, h2, h3 { font-family: var(--font-titel); font-weight: 400; line-height: 1.1; color: var(--groen); margin: 0 0 .5em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }   /* titels mogen GROOT */
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
.sub {
  font-family: var(--font-sub);
  color: var(--oranje);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  letter-spacing: .02em;
  display: block;
  margin-bottom: .4rem;
}
p { margin: 0 0 1.1em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--beige { background: var(--beige); }
.section--groen { background: var(--groen); color: var(--beige); }
.section--groen h2, .section--groen h3 { color: var(--beige); }
.center { text-align: center; }
.intro { max-width: 680px; margin-inline: auto; }
.lijn { width: 90px; height: 3px; background: var(--groen); border: 0; margin: 1.2rem 0 1.8rem; }
.center .lijn { margin-inline: auto; }
.section--groen .lijn { background: var(--oranje); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 999; background: var(--groen); color: #fff; padding: .6rem 1rem; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-tekst);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .95rem 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--oranje);
  background: var(--oranje);
  color: #fff;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--oranje-donker); border-color: var(--oranje-donker); color: #fff; transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--groen); border-color: var(--groen); }
.btn--outline:hover { background: var(--groen); border-color: var(--groen); color: var(--beige); }
.btn--licht { background: transparent; color: var(--beige); border-color: var(--beige); }
.btn--licht:hover { background: var(--beige); color: var(--groen); border-color: var(--beige); }
.knoppen { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.center .knoppen { justify-content: center; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 243, 236, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(51, 82, 66, .12);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; }
.logo img { height: 46px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; align-items: center; }
.nav a {
  text-decoration: none; color: var(--groen);
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .9rem;
  padding: .3rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--oranje); color: var(--groen); }
.nav .btn { padding: .65rem 1.3rem; color: #fff; border-bottom: 2px solid var(--oranje); }
.nav .btn:hover { color: #fff; }
.menu-knop { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.menu-knop span { display: block; width: 26px; height: 2px; background: var(--groen); margin: 6px 0; transition: .3s; }

@media (max-width: 880px) {
  .menu-knop { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    background: var(--beige-licht);
    border-bottom: 1px solid rgba(51,82,66,.15);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav.open { max-height: 460px; }
  .nav ul { flex-direction: column; gap: 1.2rem; padding: 1.8rem 0 2.2rem; }
  .menu-knop[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-knop[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-knop[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex; align-items: center;
  background:
    linear-gradient(100deg, rgba(38,62,50,.92) 0%, rgba(51,82,66,.78) 45%, rgba(51,82,66,.25) 100%),
    url("../img/hero.jpg") center / cover no-repeat,
    var(--groen);
  color: var(--beige);
}
.hero h1 { color: var(--beige); max-width: 12ch; }
.hero .sub { color: var(--beige); opacity: .95; }
.hero p { font-size: 1.2rem; max-width: 520px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem;
  border: 1px solid rgba(245,230,215,.5); border-radius: 50px;
  padding: .4rem 1.1rem; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero__badge strong { color: var(--oranje); font-weight: 700; filter: brightness(1.25); }

.page-hero { background: var(--groen); color: var(--beige); padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.page-hero h1 { color: var(--beige); }
.page-hero .sub { color: var(--beige); opacity: .9; }
.page-hero p { max-width: 620px; font-size: 1.15rem; }

/* ---------- USP-balk ---------- */
.usps { background: var(--beige); border-bottom: 1px solid rgba(51,82,66,.12); }
.usps ul { list-style: none; margin-block: 0; padding: 1.4rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.usps li { display: flex; align-items: center; gap: .7rem; font-weight: 700; color: var(--groen); font-size: .98rem; }
.usps li::before { content: ""; flex: 0 0 10px; height: 10px; background: var(--oranje); border-radius: 50%; }
@media (max-width: 880px) { .usps ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .usps ul { grid-template-columns: 1fr; } }

/* ---------- Twee kolommen ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split__beeld { position: relative; }
.split__beeld img { border-radius: var(--radius); box-shadow: var(--schaduw); aspect-ratio: 4/5; object-fit: cover; width: 100%; background: var(--beige); }
.split__beeld::after {
  content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 3px solid var(--groen); border-radius: var(--radius); z-index: -1;
}
.ervaring {
  position: absolute; left: -1.2rem; bottom: 2rem;
  background: var(--oranje); color: #fff; padding: 1.2rem 1.5rem; border-radius: var(--radius);
  box-shadow: var(--schaduw); text-align: center; line-height: 1.15;
}
.ervaring b { display: block; font-family: var(--font-titel); font-weight: 400; font-size: 2.8rem; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split__beeld { max-width: 460px; } }

/* ---------- Diensten ---------- */
.diensten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.dienst {
  background: #fff; padding: 2.2rem 1.8rem; border-radius: var(--radius);
  border-top: 4px solid var(--groen); box-shadow: var(--schaduw);
  transition: transform .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.dienst:hover { transform: translateY(-6px); border-top-color: var(--oranje); }
.dienst__icoon { width: 52px; height: 52px; color: var(--oranje); margin-bottom: 1.2rem; }
.dienst h3 { font-size: 1.55rem; }
.dienst p { font-size: .98rem; margin-bottom: 0; }
@media (max-width: 1024px) { .diensten { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .diensten { grid-template-columns: 1fr; } }

/* Diensten detailpagina */
.dienst-blok { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding: clamp(3rem, 6vw, 5rem) 0; border-bottom: 1px solid rgba(51,82,66,.12); }
.dienst-blok:last-child { border-bottom: 0; }
.dienst-blok:nth-child(even) .dienst-blok__beeld { order: 2; }
.dienst-blok__beeld img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; background: var(--beige); box-shadow: var(--schaduw); }
.vinkjes { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.vinkjes li { padding-left: 1.8rem; position: relative; margin-bottom: .5rem; }
.vinkjes li::before { content: "✓"; position: absolute; left: 0; color: var(--oranje); font-weight: 700; }
@media (max-width: 880px) { .dienst-blok { grid-template-columns: 1fr; } .dienst-blok:nth-child(even) .dienst-blok__beeld { order: 0; } }

/* ---------- Werkwijze ---------- */
.stappen { list-style: none; padding: 0; margin: 3.5rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: stap; }
.stap { position: relative; counter-increment: stap; }
.stap::before {
  content: counter(stap);
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid var(--oranje);
  font-family: var(--font-titel); font-size: 2rem; color: var(--beige);
  margin-bottom: 1.3rem;
  background: var(--groen);
  position: relative; z-index: 1;
}
.stap:not(:last-child)::after {
  content: ""; position: absolute; top: 32px; left: 64px; right: -2rem;
  height: 2px; background: rgba(245,230,215,.3);
}
.stap h3 { font-family: var(--font-tekst); font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; }
.stap p { opacity: .9; font-size: .98rem; }
.stap--highlight::before { background: var(--oranje); }
@media (max-width: 880px) {
  .stappen { grid-template-columns: 1fr 1fr; }
  .stap::after { display: none; }
}
@media (max-width: 520px) { .stappen { grid-template-columns: 1fr; } }

/* ---------- Realisaties ---------- */
.galerij { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.galerij figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--beige); aspect-ratio: 1; }
.galerij img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.galerij figure:hover img { transform: scale(1.05); }
.galerij figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1rem 1rem; color: var(--beige);
  background: linear-gradient(transparent, rgba(38,62,50,.9));
  font-weight: 700; font-size: .95rem;
}
@media (max-width: 880px) { .galerij { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .galerij { grid-template-columns: 1fr; } }

.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 2rem; }
.filter button {
  font-family: var(--font-tekst); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  background: transparent; border: 1.5px solid var(--groen); color: var(--groen);
  padding: .5rem 1.1rem; border-radius: 50px; cursor: pointer;
}
.filter button.actief, .filter button:hover { background: var(--groen); color: var(--beige); }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.review { background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--schaduw); }
.sterren { color: var(--oranje); letter-spacing: .15em; font-size: 1.15rem; margin-bottom: .8rem; }
.review blockquote { margin: 0 0 1rem; font-style: italic; }
.review cite { font-style: normal; font-weight: 700; color: var(--groen); }
@media (max-width: 880px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { background: var(--oranje); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta .sub { color: var(--beige); }
.cta .btn { background: var(--groen); border-color: var(--groen); }
.cta .btn:hover { background: var(--groen-donker); border-color: var(--groen-donker); }
.cta .btn--licht { background: transparent; border-color: #fff; color: #fff; }
.cta .btn--licht:hover { background: #fff; color: var(--oranje); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.contact-info { background: var(--groen); color: var(--beige); padding: 2.5rem; border-radius: var(--radius); }
.contact-info h2 { color: var(--beige); font-size: 2.4rem; }
.contact-info a { color: var(--beige); text-decoration: none; border-bottom: 1px solid rgba(245,230,215,.4); }
.contact-info a:hover { border-bottom-color: var(--oranje); }
.contact-info dl { margin: 1.5rem 0 0; }
.contact-info dt { font-family: var(--font-sub); color: var(--oranje); filter: brightness(1.3); font-size: 1.2rem; margin-top: 1.2rem; }
.contact-info dd { margin: 0; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.formulier { background: #fff; padding: clamp(1.8rem, 4vw, 2.8rem); border-radius: var(--radius); box-shadow: var(--schaduw); }
.rij { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px) { .rij { grid-template-columns: 1fr; } }
.veld { margin-bottom: 1.2rem; }
.veld label { display: block; font-weight: 700; color: var(--groen); margin-bottom: .35rem; font-size: .95rem; }
.veld label .verplicht { color: var(--oranje); }
.veld input, .veld select, .veld textarea {
  width: 100%; font: inherit; font-size: 1rem;
  padding: .8rem 1rem; border: 1.5px solid #d9cbbd; border-radius: var(--radius);
  background: var(--beige-licht); color: var(--tekst);
  transition: border-color .2s, box-shadow .2s;
}
.veld input:focus, .veld select:focus, .veld textarea:focus {
  outline: none; border-color: var(--groen); box-shadow: 0 0 0 3px rgba(51,82,66,.15); background: #fff;
}
.veld textarea { min-height: 150px; resize: vertical; }
.keuzes { display: flex; flex-wrap: wrap; gap: .6rem; }
.keuzes label {
  display: inline-flex; align-items: center; gap: .45rem; margin: 0;
  border: 1.5px solid #d9cbbd; border-radius: 50px; padding: .45rem 1rem;
  cursor: pointer; font-weight: 400; color: var(--tekst); background: var(--beige-licht);
}
.keuzes input { width: auto; accent-color: var(--oranje); }
.keuzes label:has(input:checked) { border-color: var(--groen); background: var(--groen); color: var(--beige); }
.akkoord { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; margin: .5rem 0 1.5rem; }
.akkoord input { margin-top: .35rem; accent-color: var(--oranje); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.melding { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.5rem; display: none; }
.melding.ok { display: block; background: #e3efe8; color: var(--groen); border-left: 4px solid var(--groen); }
.melding.fout { display: block; background: #f8e3da; color: var(--oranje-donker); border-left: 4px solid var(--oranje); }

/* ---------- Tekstpagina's (voorwaarden / privacy) ---------- */
.tekstpagina { max-width: 780px; }
.tekstpagina h2 { font-size: 2rem; margin-top: 2.5rem; }
.tekstpagina h3 { font-family: var(--font-tekst); font-weight: 700; font-size: 1.15rem; color: var(--groen); margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.footer { background: var(--groen-donker); color: var(--beige); padding: 4.5rem 0 1.5rem; font-size: .97rem; }
.footer a { color: var(--beige); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer__logo { width: 210px; margin-bottom: 1.2rem; }
.footer h4 { font-family: var(--font-sub); font-weight: 400; color: var(--oranje); filter: brightness(1.3); font-size: 1.35rem; margin: 0 0 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .5rem; }
.socials { display: flex; gap: .8rem; margin-top: 1.2rem; }
.socials a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid rgba(245,230,215,.35); border-radius: 50%; transition: .2s;
}
.socials a:hover { background: var(--oranje); border-color: var(--oranje); text-decoration: none; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer__onder {
  margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(245,230,215,.15);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; opacity: .8;
}
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Animatie bij scrollen ---------- */
.fade { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.fade.zichtbaar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
