/* ═══════════════════════════════════════════════════════════
   MKS Schilderwerken — stylesheet
   Palette: teal #4ABFB0, charcoal #2D2D2D, white #FFFFFF
   ═══════════════════════════════════════════════════════════ */

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:      #4ABFB0;
  --teal-dark: #3A7D74;
  --charcoal:  #2D2D2D;
  --dark:      #1a1a1a;
  --muted-bg:  #F4F7F6;
  --muted2:    #e8efed;
  --white:     #FFFFFF;
  --text:      #2D2D2D;
  --text-soft: #5a6570;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow:    0 4px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.14);
  --transition: 220ms ease;
  --header-h:  72px;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

/* ── Image fill (anti-letterbox) ─────────────────────────── */
.media, .img-fill, figure.photo { position: relative; overflow: hidden; }
.media > img, .img-fill > img, figure.photo > img,
.gallery-item img, .card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.section-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .5rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 580px;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header .section-sub { margin-inline: auto; }

.section-header--light .section-title,
.section-header--light .section-sub { color: var(--white); }
.section-header--light .section-sub { color: rgba(255,255,255,.75); }
.section-header--light .section-eyebrow { color: var(--teal); }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn--sm  { font-size: .85rem; padding: .5rem 1.25rem; }
.btn--md  { font-size: .95rem; padding: .75rem 1.75rem; }
.btn--lg  { font-size: 1.05rem; padding: 1rem 2.25rem; }
.btn--full{ width: 100%; justify-content: center; }

.btn--teal        { background: #4ABFB0; color: #fff; border-color: #4ABFB0; box-shadow: 0 4px 20px rgba(74,191,176,.50); font-weight: 800; }
.btn--teal:hover  { background: var(--teal-dark); border-color: var(--teal-dark); box-shadow: 0 6px 26px rgba(58,125,116,.55); }


.btn--ghost       { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.15); border-color: var(--white); }

.btn--white       { background: var(--white); color: var(--teal-dark); border-color: var(--white); }
.btn--white:hover { background: var(--muted-bg); }

.btn--ghost-white       { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 900;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Wordmark */
.wordmark { display: inline-flex; align-items: baseline; gap: .15em; font-weight: 800; font-size: 1.2rem; line-height: 1; letter-spacing: -.01em; }
.wordmark__mks  { color: var(--teal); font-size: 1.3em; }
.wordmark__rest { color: var(--charcoal); }
.wordmark--light .wordmark__rest { color: var(--white); }

/* Desktop nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: .92rem;
  font-weight: 600;
}
.desktop-nav a { color: #1a1a1a; position: relative; padding-bottom: 2px; font-weight: 600; }
.desktop-nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.desktop-nav a:hover::after { transform: scaleX(1); }
.desktop-nav a:hover { color: var(--teal); }

/* Hamburger */
.mobile-menu__trigger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
}
.hamburger { display: flex; flex-direction: column; gap: 5px; width: 24px; }
.hamburger span {
  display: block;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

@media (max-width: 860px) {
  .desktop-nav, .desktop-cta { display: none; }
  .mobile-menu__trigger { display: flex; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE MENU OVERLAY (kit .mobile-menu__overlay)
   ═══════════════════════════════════════════════════════════ */
.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  height: 100svh;
  width: 100%;
  background: var(--charcoal);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.mobile-menu__overlay.is-open {
  transform: translateX(0);
}
body.menu-open { overflow: hidden; }

.mobile-menu__panel { display: flex; flex-direction: column; flex: 1; padding: 0 24px 40px; overflow-y: auto; }
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 2rem;
  flex-shrink: 0;
}

.mobile-menu__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 8px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
}
.mobile-menu__close svg { width: 26px; height: 26px; }

.mobile-menu__list { list-style: none; margin-bottom: 2.5rem; }
.mobile-menu__list li + li { border-top: 1px solid rgba(255,255,255,.08); }
.mobile-menu__item {
  display: block;
  padding: 1.1rem 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: color var(--transition);
}
.mobile-menu__item:hover { color: var(--teal); }

.mobile-menu__cta { width: 100%; justify-content: center; margin-bottom: 2rem; }

.mobile-menu__contact {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-menu__contact a {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: color var(--transition);
}
.mobile-menu__contact a svg { width: 18px; height: 18px; flex-shrink: 0; }
.mobile-menu__contact a:hover { color: var(--teal); }

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(29, 53, 50, 0.75) 0%,
    rgba(45, 45, 45, 0.55) 60%,
    rgba(29, 53, 50, 0.3) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 4rem;
  padding-bottom: 3rem;
  max-width: 700px;
}

.hero__eyebrow {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -.03em;
}
.hero__title .accent { color: var(--teal); }

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__trust {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.1rem 0;
}
.trust-row {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 500;
}
.trust-icon { width: 20px; height: 20px; color: var(--teal); }

/* ═══════════════════════════════════════════════════════════
   PROOF STRIP
   ═══════════════════════════════════════════════════════════ */
.proof-strip {
  background: var(--muted-bg);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--muted2);
}
.proof-strip__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.proof-strip__score {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.stars { display: flex; gap: 3px; }
.stars svg { width: 20px; height: 20px; }
.proof-strip__label { display: flex; flex-direction: column; }
.proof-strip__label strong { font-size: .95rem; color: var(--charcoal); }
.proof-strip__label span  { font-size: .78rem; color: var(--text-soft); }

.proof-strip__divider {
  width: 1px;
  height: 50px;
  background: var(--muted2);
  flex-shrink: 0;
}
@media (max-width: 640px) { .proof-strip__divider { display: none; } }

.proof-quote {
  max-width: 280px;
  font-size: .88rem;
  color: var(--text-soft);
}
.proof-quote p { margin-bottom: .25rem; }
.proof-quote cite { font-style: normal; font-size: .78rem; font-weight: 600; color: var(--teal); }

/* ═══════════════════════════════════════════════════════════
   SECTION WRAPPER
   ═══════════════════════════════════════════════════════════ */
.section { padding: 5rem 0; }
.section--dark  { background: var(--charcoal); }
.section--muted { background: var(--muted-bg); }

/* ═══════════════════════════════════════════════════════════
   CARDS (diensten)
   ═══════════════════════════════════════════════════════════ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--muted2);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(74,191,176,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.card__icon svg { width: 26px; height: 26px; color: var(--teal); }

.card__title { font-size: 1.1rem; margin-bottom: .6rem; color: var(--charcoal); }
.card__text  { font-size: .97rem; color: var(--text-soft); line-height: 1.65; flex: 1; margin-bottom: 1.25rem; }
.card__link  {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--teal);
  transition: gap var(--transition), color var(--transition);
}
.card__link:hover { gap: .65rem; color: var(--teal-dark); }

/* ═══════════════════════════════════════════════════════════
   GALLERY / PORTFOLIO
   ═══════════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 480px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; } }

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  padding: 1.5rem .75rem .6rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover figcaption { opacity: 1; }

.gallery-cta { text-align: center; margin-top: 2.5rem; }

/* ═══════════════════════════════════════════════════════════
   OVER ONS
   ═══════════════════════════════════════════════════════════ */
.over-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 760px) { .over-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.over-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.over-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.over-photo::before {
  content: '';
  position: absolute;
  inset: -6px 0 0 -6px;
  border: 3px solid var(--teal);
  border-radius: calc(var(--radius-lg) + 4px);
  z-index: -1;
}

.over-content { display: flex; flex-direction: column; gap: 1rem; }
.over-content p { font-size: .98rem; color: var(--text-soft); line-height: 1.7; }

.over-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin: .5rem 0 1.25rem;
}
.over-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .93rem;
  color: var(--charcoal);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════════════════════════ */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--muted2);
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.review-stars { display: flex; gap: 3px; }
.review-text  { font-size: .95rem; color: var(--text-soft); line-height: 1.65; flex: 1; }
.review-author {
  font-style: normal;
  font-weight: 700;
  font-size: .88rem;
  color: var(--charcoal);
}
.review-author span { font-weight: 400; color: var(--text-soft); }

/* ═══════════════════════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding: 4.5rem 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band__text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--white);
  margin-bottom: .4rem;
}
.cta-band__text p { color: rgba(255,255,255,.8); font-size: 1rem; }
.cta-band__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-detail svg { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.contact-detail div { display: flex; flex-direction: column; gap: .15rem; }
.contact-detail strong { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-soft); }
.contact-detail a, .contact-detail span { font-size: .98rem; color: var(--charcoal); font-weight: 500; }
.contact-detail a:hover { color: var(--teal); }

/* Form */
.contact-form-wrap {
  background: var(--muted-bg);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-size: .85rem; font-weight: 700; color: var(--charcoal); }
.form-row label span { color: var(--teal); }
.form-row input, .form-row textarea {
  padding: .75rem 1rem;
  border: 2px solid var(--muted2);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition);
  width: 100%;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.form-row textarea { resize: vertical; min-height: 120px; }

/* ═══════════════════════════════════════════════════════════
   FOOTER (kit .footer-kit)
   ═══════════════════════════════════════════════════════════ */
.footer-kit {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h3 {
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
  font-weight: 700;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li { display: flex; align-items: center; gap: .5rem; font-size: .88rem; }
.footer-col ul a { color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--teal); }
.footer-col ul svg { color: var(--teal); flex-shrink: 0; }

.footer-col--brand { display: flex; flex-direction: column; gap: .75rem; }
.footer-tagline { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.5; max-width: 220px; }
.footer-kvk     { font-size: .78rem; color: rgba(255,255,255,.35); }

.footer-cta { margin-top: 1.25rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.35); text-align: center; }

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL — always visible fallback
   ═══════════════════════════════════════════════════════════ */
.reveal { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE TWEAKS
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .trust-row { gap: 1.2rem; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .cta-band__actions { justify-content: center; }
  .over-photo::before { display: none; }
}

@media (max-width: 400px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
