/* ==========================================================================
   Schildersbedrijf De Kwast - huisstijl
   Kleuren: donkergroen + crème + terracotta | Fonts: DM Serif Display + Nunito Sans
   ========================================================================== */

:root {
  --green: #2f4a3a;
  --green-dark: #22372b;
  --green-soft: #e3ebe4;
  --cream: #f6f1e7;
  --cream-dark: #ece4d4;
  --terra: #c2703f;
  --terra-dark: #a85c2f;
  --text: #2b2b27;
  --muted: #6b6a62;
  --border: #e2dac9;
  --radius: 14px;
  --container: 1140px;
  --font-head: "DM Serif Display", Georgia, serif;
  --font-body: "Nunito Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: var(--text); background: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.15; color: var(--green-dark); margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
em.accent { color: var(--terra); font-style: italic; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.section { padding: 96px 0; }
.bg-cream { background: var(--cream); }
.bg-green { background: var(--green); color: #e9efe9; }
.bg-green h2, .bg-green h3 { color: #fff; }
.center { text-align: center; }
.intro-text { max-width: 640px; margin: 0 auto 52px; color: var(--muted); }
.kicker { display: block; font-size: .85rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--terra); margin-bottom: 12px; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--terra); margin-bottom: 16px; }
.ornament::before, .ornament::after { content: ""; width: 40px; height: 1px; background: currentColor; }
.ornament .icon { width: 20px; height: 20px; }
.icon { width: 22px; height: 22px; flex-shrink: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 99px;
  font-family: var(--font-body); font-weight: 800; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn .icon { width: 18px; height: 18px; }
.btn-terra { background: var(--terra); color: #fff; }
.btn-terra:hover { background: var(--terra-dark); }
.btn-line { border-color: var(--green); color: var(--green); }
.btn-line:hover { background: var(--green); color: #fff; }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { background: var(--cream); }

/* Header (gecentreerd) */
.topline { background: var(--green-dark); color: #cfdacf; font-size: .88rem; }
.topline .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topline a { color: #fff; text-decoration: none; }
.topline span { display: inline-flex; align-items: center; gap: 8px; }
.topline .icon { width: 15px; height: 15px; color: var(--terra); }
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; flex-direction: column; align-items: center; padding-top: 18px; position: relative; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { width: 50px; height: 50px; }
.logo-text strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.75rem; line-height: 1; color: var(--green-dark); }
.logo-text span { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--terra); }
.site-nav ul { list-style: none; display: flex; gap: 38px; margin: 0; padding: 14px 0 16px; }
.site-nav a { text-decoration: none; font-weight: 700; color: var(--text); font-size: .98rem; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -6px; height: 2px; background: var(--terra); }
.site-nav a:hover::after, .site-nav a.active::after { left: 0; right: 0; }
.site-nav a.active { color: var(--green); }
.nav-toggle { display: none; position: absolute; right: 22px; top: 22px; background: none; border: 0; color: var(--green-dark); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }

/* Hero */
.hero { background: var(--cream); padding: 80px 0 0; text-align: center; }
.hero h1 { max-width: 860px; margin: 0 auto 20px; }
.hero .lead { font-size: 1.18rem; color: var(--muted); max-width: 620px; margin: 0 auto 32px; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-img { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.hero-img img { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }

/* Intro met handtekening */
.intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.intro blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.3; color: var(--green-dark); }
.intro p { color: var(--muted); }
.signature { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.signature img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.signature strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.3rem; color: var(--green-dark); line-height: 1.2; }
.signature span { font-size: .9rem; color: var(--muted); }

/* Diensten (home) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 36px; }
.svc { text-align: center; padding: 0 10px; }
.svc-icon { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.svc-icon .icon { width: 30px; height: 30px; }
.svc p { color: var(--muted); margin-bottom: 0; }

/* Projecten-strook (home) */
.gallery-home { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 18px; }
.gallery-home figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery-home figure:first-child { grid-row: span 2; }
.gallery-home figure:nth-child(4) { grid-column: span 2; }
.gallery-home img { width: 100%; height: 100%; object-fit: cover; }
figcaption.pill { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.94); padding: 8px 16px; border-radius: 99px; font-size: .9rem; font-weight: 700; color: var(--green-dark); }
.row-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; margin-bottom: 40px; }
.row-head h2 { margin: 0; }

/* Kleuradvies band */
.advies { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.advies img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.advies ul { list-style: none; padding: 0; margin: 20px 0 32px; display: grid; gap: 10px; }
.advies li { display: flex; gap: 12px; align-items: center; }
.advies li .icon { color: var(--terra); }

/* Reviews */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.quote { background: #fff; border-radius: var(--radius); padding: 40px; position: relative; }
.quote::before { content: "\201C"; font-family: var(--font-head); font-size: 6rem; line-height: 1; color: var(--terra); opacity: .35; position: absolute; top: 16px; right: 30px; }
.quote p { font-size: 1.08rem; }
.quote strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.2rem; color: var(--green-dark); }
.quote span { color: var(--muted); font-size: .92rem; }
.stars { display: flex; gap: 3px; color: var(--terra); margin-bottom: 14px; }
.stars .star { width: 18px; height: 18px; fill: currentColor; }

/* CTA box */
.cta-box { background: var(--green); border-radius: var(--radius); padding: 64px; text-align: center; color: #dfe8df; }
.cta-box h2 { color: #fff; }
.cta-box p { max-width: 560px; margin: 0 auto 28px; }
.cta-box .hero-buttons { margin-bottom: 0; }
.cta-box .btn-line { border-color: #fff; color: #fff; }
.cta-box .btn-line:hover { background: #fff; color: var(--green); }

/* Page header */
.page-header { background: var(--cream); padding: 72px 0 64px; text-align: center; }
.page-header p { max-width: 600px; margin: 0 auto; color: var(--muted); font-size: 1.12rem; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--terra); text-decoration: none; font-weight: 700; }

/* Diensten pagina */
.svc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.svc-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.svc-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.svc-card .body { padding: 30px 32px 34px; }
.svc-card h2 { font-size: 1.8rem; }
.svc-card p { color: var(--muted); }
.svc-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.svc-card li { display: flex; gap: 10px; align-items: center; }
.svc-card li .icon { color: var(--terra); width: 18px; height: 18px; }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; text-align: center; }
.promises .svc-icon { background: rgba(255,255,255,.1); color: #fff; }
.promises p { color: #cfdacf; }
.season { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.season-card { background: #fff; border-radius: var(--radius); padding: 34px; border-left: 5px solid var(--terra); }
.season-card h3 { display: flex; align-items: center; gap: 10px; }
.season-card h3 .icon { color: var(--terra); }
.season-card p { color: var(--muted); margin: 0; }

/* Projecten pagina: masonry */
.masonry { columns: 3; column-gap: 24px; }
.masonry figure { break-inside: avoid; margin: 0 0 24px; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.masonry figure:nth-child(3n+1) img { aspect-ratio: 3/4; }
.masonry figure:nth-child(3n+2) img { aspect-ratio: 4/3; }
.masonry figure:nth-child(3n) img { aspect-ratio: 1/1; }
.masonry img { width: 100%; object-fit: cover; }
.masonry figcaption { padding: 20px 22px 22px; }
.masonry figcaption h3 { font-size: 1.3rem; margin-bottom: 4px; }
.masonry figcaption span { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--terra); margin-bottom: 8px; }
.masonry figcaption span .icon { width: 15px; height: 15px; }
.masonry figcaption p { font-size: .95rem; color: var(--muted); margin: 0; }

/* Over ons */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.story-imgs { position: relative; padding-bottom: 60px; }
.story-imgs img:first-child { width: 82%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.story-imgs img:last-child { position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius); border: 8px solid #fff; }
.since { display: inline-block; font-family: var(--font-head); font-size: 4rem; line-height: 1; color: var(--terra); margin-bottom: 10px; }
.story p { color: var(--muted); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.team img { width: 170px; height: 170px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; border: 5px solid var(--cream); }
.team h3 { font-size: 1.35rem; margin-bottom: 2px; }
.team span { color: var(--terra); font-weight: 700; font-size: .92rem; }
.team p { color: var(--muted); font-size: .93rem; margin-top: 8px; }
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 48px; max-width: 900px; margin: 0 auto; }
.why > div { display: flex; gap: 16px; }
.why .icon { color: var(--terra); width: 26px; height: 26px; margin-top: 4px; }
.why h3 { font-size: 1.3rem; margin-bottom: 4px; }
.why p { color: var(--muted); margin: 0; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 56px; }
.badges span { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--border); border-radius: 99px; padding: 10px 20px; font-weight: 700; background: #fff; }
.badges .icon { color: var(--green); width: 18px; height: 18px; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; }
.contact-form { background: var(--cream); border-radius: var(--radius); padding: 44px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; font: inherit; font-size: .98rem; color: var(--text);
  border: 1px solid var(--border); border-radius: 10px; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--terra); border-color: transparent; }
.field textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.radio-row { display: flex; gap: 20px; flex-wrap: wrap; }
.radio-row label { font-weight: 400; display: flex; gap: 8px; align-items: center; }
.radio-row input { width: auto; }
.form-success { background: var(--green-soft); color: var(--green-dark); padding: 14px 18px; border-radius: 10px; margin: 16px 0 0; font-weight: 700; }
.contact-side h3 { margin-bottom: 18px; }
.side-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.side-item .svc-icon { width: 48px; height: 48px; margin: 0; flex-shrink: 0; }
.side-item .svc-icon .icon { width: 22px; height: 22px; }
.side-item strong { display: block; }
.side-item span, .side-item a { color: var(--muted); }
.map { width: 100%; height: 400px; border: 0; display: block; border-radius: var(--radius); margin-top: 72px; }

/* Footer */
.site-footer { background: var(--green-dark); color: #b9c7bb; padding: 72px 0 0; text-align: center; font-size: .95rem; }
.site-footer .logo { justify-content: center; margin-bottom: 18px; }
.site-footer .logo-text strong { color: #fff; }
.site-footer .logo-text { text-align: left; }
.footer-tagline { max-width: 460px; margin: 0 auto 28px; }
.footer-nav { list-style: none; padding: 0; margin: 0 0 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 32px; }
.footer-nav a, .footer-contact a { color: #fff; text-decoration: none; font-weight: 700; }
.footer-nav a:hover { color: var(--terra); }
.footer-contact { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 32px; margin-bottom: 8px; }
.footer-contact span { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact .icon { width: 17px; height: 17px; color: var(--terra); }
.footer-bottom { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; }
.footer-bottom p { margin: 0; }
.credit a { color: #fff; font-weight: 700; }

/* Responsive */
@media (max-width: 1000px) {
  .team { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 2; }
  .gallery-home { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 220px 220px; }
  .gallery-home figure:first-child { grid-row: auto; grid-column: span 2; }
  .gallery-home figure:nth-child(4) { grid-column: span 2; }
}
@media (max-width: 860px) {
  .topline .mail { display: none; }
  .site-header .container { align-items: flex-start; padding-bottom: 16px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 12px 0 0; }
  .site-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .site-nav a::after { display: none; }
  .intro, .advies, .story, .contact-wrap { grid-template-columns: 1fr; gap: 44px; }
  .svc-grid, .promises { grid-template-columns: 1fr 1fr; }
  .svc-cards, .season, .quotes { grid-template-columns: 1fr; }
  .hero-img img { aspect-ratio: 16/10; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .svc-grid, .promises, .team, .why, .form-row { grid-template-columns: 1fr; }
  .topline .container > span:first-child { display: none; }
  .topline .container { justify-content: center; }
  .masonry { columns: 1; }
  .gallery-home { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-home figure, .gallery-home figure:first-child, .gallery-home figure:nth-child(4) { grid-column: auto; height: 240px; }
  .cta-box, .contact-form { padding: 32px 22px; }
  .quote { padding: 30px 24px; }
  .logo-text strong { font-size: 1.45rem; }
  .logo svg { width: 42px; height: 42px; }
}
