/* ============================================================
   DKS Automotive — Stylesheet (Mobile-First)
   Basis = mobiel. Desktop-stijlen via min-width breakpoints.
   ============================================================ */

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

:root {
  --black:      #0a0a0a;
  --white:      #ffffff;
  --gray-50:    #f7f7f7;
  --gray-100:   #f0f0f0;
  --gray-200:   #e2e2e2;
  --gray-400:   #9a9a9a;
  --gray-600:   #5a5a5a;
  --gray-800:   #2a2a2a;
  --whatsapp:   #25D366;
  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --ease:       cubic-bezier(.4,0,.2,1);
  --dur:        .25s;
  --radius:     8px;
  --radius-lg:  14px;
  --shadow:     0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.16);
  --max-w:      1200px;
  /* Padding sectie: compact op mobiel, ruim op desktop */
  --section-py: clamp(48px, 10vw, 112px);
  /* Zijkant padding container */
  --px:         clamp(18px, 5vw, 48px);
}

html {
  scroll-behavior: smooth;
  /* Voorkom tap-highlight op iOS */
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* Voorkom horizontale scroll op mobiel */
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* --- Typografie ------------------------------------------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}
/* Mobile-first fontgroottes — groeien mee via clamp */
h1 { font-size: clamp(2rem, 7vw, 4rem); }
h2 { font-size: clamp(1.6rem, 5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 3vw, 1.4rem); }
h4 { font-size: 1rem; }

p { color: var(--gray-600); line-height: 1.75; }

.label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 10px;
}

/* --- Layout ---------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}
.section { padding-block: var(--section-py); }
.section--gray { background: var(--gray-50); }
.text-center { text-align: center; }

/* Grids — mobiel: 1 kolom, desktop: meer */
.grid-2 { display: grid; gap: 24px; }
.grid-3 { display: grid; gap: 24px; }
.grid-4 { display: grid; gap: 20px; }

@media (min-width: 600px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.section-header { margin-bottom: clamp(32px, 6vw, 56px); }
.section-header p { max-width: 580px; margin-top: 14px; }
.section-header.text-center p { margin-inline: auto; }

/* --- Knoppen --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* Minimale touchdoelgrootte: 48px hoog */
  min-height: 48px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  /* Voorkom tekstselectie bij tikken */
  user-select: none;
  -webkit-user-select: none;
}
/* Hover alleen op apparaten met pointer (geen mobiel) */
@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); }
}
/* Actief feedback voor touch */
.btn:active { transform: scale(.97); }

.btn-primary { background: var(--black); color: var(--white); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--gray-800); box-shadow: var(--shadow); }
}

/* Plan een afspraak knop in hero: zelfde rand als outline-white */
.hero .btn-primary {
  border: 2px solid rgba(255,255,255,.4);
}

.btn-outline { background: transparent; color: var(--black); border: 2px solid var(--black); }
@media (hover: hover) {
  .btn-outline:hover { background: var(--black); color: var(--white); }
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
@media (hover: hover) {
  .btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
}

.btn-lg { min-height: 52px; padding: 15px 32px; font-size: .95rem; }

/* Volledige breedte op smalle mobiel */
.btn-full-mobile { width: 100%; }
@media (min-width: 480px) {
  .btn-full-mobile { width: auto; }
}

/* --- Header / Navigatie ----------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--gray-200);
}

/* Hero-dark variant (witte tekst boven donkere hero) */
.header.hero-dark .nav-logo-text,
.header.hero-dark .nav-link,
.header.hero-dark .nav-hamburger { color: var(--white); }
.header.hero-dark .btn-nav { background: var(--white); color: var(--black); }
.header.hero-dark.scrolled .nav-logo-text,
.header.hero-dark.scrolled .nav-link,
.header.hero-dark.scrolled .nav-hamburger { color: var(--black); }
.header.hero-dark.scrolled .btn-nav { background: var(--black); color: var(--white); }

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  position: relative;
}
@media (min-width: 768px) {
  .nav { height: 72px; gap: 40px; position: static; }
}

/* Op mobiel: logo gecentreerd via absolute positionering */
.nav-logo {
  flex-shrink: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
@media (min-width: 768px) {
  .nav-logo { position: static; transform: none; }
}
.nav-logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--black);
  transition: color var(--dur) var(--ease);
}
.nav-logo-text span { font-weight: 300; }
@media (min-width: 768px) {
  .nav-logo-text { font-size: 1.25rem; }
}

/* Hero two-column layout */
.hero-inner {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 32px;
}
.hero-logo-wrap {
  display: flex;
  justify-content: center;
}
@media (min-width: 768px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }
  .hero-content { flex: 1; }
  .hero-logo-wrap { flex-shrink: 0; }
}

/* Hero logo */
.hero-logo {
  width: clamp(160px, 26vw, 280px);
  height: clamp(160px, 26vw, 280px);
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 56px rgba(0,0,0,.55);
  display: block;
}

/* Footer logo */
.footer-logo-img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
  border: 2px solid rgba(255,255,255,.1);
  display: block;
}

/* Desktop nav-links: verborgen op mobiel */
.nav-links {
  display: none;
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
  }
}

.nav-link {
  /* Min. 44px touch target */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
@media (hover: hover) {
  .nav-link:hover { background: var(--gray-100); color: var(--black); }
}
.nav-link.active { background: var(--gray-100); color: var(--black); }
.header.hero-dark .nav-link.active,
.header.hero-dark .nav-link:hover { background: rgba(255,255,255,.15); color: var(--white); }
.header.hero-dark.scrolled .nav-link.active,
.header.hero-dark.scrolled .nav-link:hover { background: var(--gray-100); color: var(--black); }

/* Desktop CTA-knop: verborgen op mobiel */
.btn-nav {
  display: none;
}
@media (min-width: 768px) {
  .btn-nav {
    display: inline-flex;
    margin-left: 16px;
    min-height: 44px;
    padding: 10px 22px;
    font-size: .875rem;
  }
}

/* Hamburger: standaard zichtbaar, verborgen op desktop */
.nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Minimale touchdoelgrootte */
  width: 44px;
  height: 44px;
  color: var(--black);
  border-radius: var(--radius);
  transition: background var(--dur);
  flex-shrink: 0;
}
@media (hover: hover) {
  .nav-hamburger:hover { background: var(--gray-100); }
}
.nav-hamburger svg { display: block; width: 28px; height: 28px; }

@media (min-width: 768px) {
  .nav-hamburger { display: none; }
}

/* Mobiel menu — slide-in vanaf top */
.nav-mobile {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 16px var(--px) 32px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  /* Zachte rand bovenaan */
  border-top: 1px solid var(--gray-200);
}
.nav-mobile.open { display: flex; }

.nav-mobile .nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: var(--radius);
  color: var(--black);
  border-bottom: 1px solid var(--gray-100);
}
.nav-mobile .nav-link:last-of-type { border-bottom: none; }
.nav-mobile .nav-link.active {
  background: var(--gray-50);
  font-weight: 600;
}

/* CTA in mobiel menu */
.nav-mobile .btn-nav {
  display: flex;
  margin-left: 0;
  margin-top: 16px;
  padding: 16px;
  font-size: 1rem;
  min-height: 52px;
}

/* Mobiel menu-snelle contactlinks */
.nav-mobile-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}
.nav-mobile-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: .9rem;
  color: var(--gray-600);
}
.nav-mobile-contact a svg { width: 18px; height: 18px; flex-shrink: 0; }

/* --- Hero ------------------------------------------------- */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  /* Mobiel: minder padding-top (kleinere header) */
  padding-top: clamp(120px, 22vw, 180px);
  padding-bottom: clamp(56px, 10vw, 100px);
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(255,255,255,.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  text-align: center;
}
@media (min-width: 768px) {
  .hero-content { text-align: left; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  margin-bottom: 20px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero h1 em { font-style: normal; opacity: .4; }

.hero-desc {
  font-size: clamp(.95rem, 2.5vw, 1.1rem);
  color: rgba(255,255,255,.6);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.8;
}

/* CTA knoppen: stapel op mobiel, rij op tablet+ */
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
@media (min-width: 480px) {
  .hero-cta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: center; }
}
@media (min-width: 768px) {
  .hero-cta { justify-content: flex-start; align-items: flex-start; }
}

/* Statistieken */
.hero-stats {
  margin-top: clamp(40px, 8vw, 72px);
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
  justify-content: center;
}
@media (min-width: 768px) {
  .hero-stats { justify-content: flex-start; }
}
.hero-stat-value {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
}
.hero-stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Sub-pagina hero */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding-top: clamp(110px, 20vw, 160px);
  padding-bottom: clamp(40px, 8vw, 72px);
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero .breadcrumb {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.6); }
.page-hero p { color: rgba(255,255,255,.6); max-width: 600px; }

/* --- Service Cards ---------------------------------------- */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
@media (hover: hover) {
  .service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
    border-color: var(--gray-400);
  }
  .service-card:hover::after { transform: scaleX(1); }
}

.service-icon {
  width: 48px; height: 48px;
  background: var(--gray-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 24px; height: 24px; }

.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: .9rem; }

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  min-height: 44px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--black);
  transition: gap var(--dur) var(--ease);
}
@media (hover: hover) {
  .service-card-link:hover { gap: 10px; }
}

/* --- Over Ons Preview ------------------------------------- */
/* Mobiel: tekst alleen; afbeelding verschijnt op desktop */
.about-preview {
  display: grid;
  gap: clamp(32px, 6vw, 80px);
}
@media (min-width: 960px) {
  .about-preview { grid-template-columns: 1fr 1fr; align-items: center; }
}

.about-image-wrap { display: none; position: relative; }
@media (min-width: 960px) {
  .about-image-wrap { display: block; }
}

.about-image-placeholder {
  aspect-ratio: 4/3;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.about-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-100) 100%);
}

.about-badge {
  position: absolute;
  bottom: 20px; right: 20px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: .85rem;
  font-weight: 600;
  z-index: 1;
}
.about-badge span { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }

.about-text .label { margin-bottom: 8px; }
.about-text h2 { margin-bottom: 16px; }
.about-text > p { margin-bottom: 20px; }

.about-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.about-feature { display: flex; align-items: flex-start; gap: 12px; }
.about-feature-icon {
  width: 36px; height: 36px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-feature-icon svg { width: 17px; height: 17px; }
.about-feature-text h4 { font-size: .92rem; margin-bottom: 2px; }
.about-feature-text p { font-size: .855rem; margin: 0; }

/* --- Merken Logobalk -------------------------------------- */
.brands {
  padding-block: clamp(32px, 6vw, 56px);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

/* Mobiel: label boven, merken eronder in grid */
.brands-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
@media (min-width: 768px) {
  .brands-inner {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
}

.brands-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
  white-space: nowrap;
  flex-shrink: 0;
}
.brands-divider {
  display: none;
}
@media (min-width: 768px) {
  .brands-divider { display: block; width: 1px; height: 32px; background: var(--gray-200); flex-shrink: 0; }
}

/* Mobiel: 3 per rij in een flex-wrap grid */
.brands-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 28px;
}
@media (min-width: 768px) {
  .brands-track { flex-wrap: nowrap; gap: 36px; flex: 1; overflow: hidden; }
}

.brand-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  opacity: .5;
  transition: opacity var(--dur) var(--ease);
  filter: grayscale(1);
  /* Minimale touch-target */
  min-height: 44px;
}
@media (hover: hover) {
  .brand-item:hover { opacity: .85; filter: grayscale(0); }
}
.brand-item svg { height: 24px; width: auto; }
@media (min-width: 768px) {
  .brand-item svg { height: 28px; }
}
.brand-name {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--black);
}

/* --- Reviews ---------------------------------------------- */
.review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 32px);
}
.review-stars { font-size: 1.1rem; color: #f59e0b; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { font-size: .9rem; color: var(--gray-600); margin-bottom: 16px; font-style: italic; line-height: 1.7; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 38px; height: 38px;
  background: var(--gray-200);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; color: var(--gray-600);
  flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: .88rem; }
.review-date { font-size: .78rem; color: var(--gray-400); }

.review-cta-wrap {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.review-cta-text {
  font-size: .95rem;
  color: var(--gray-600);
  max-width: 420px;
}
.btn-google-review {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--white);
  color: var(--gray-800);
  font-size: .95rem;
  font-weight: 600;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  cursor: pointer;
}
@media (hover: hover) {
  .btn-google-review:hover {
    border-color: #4285F4;
    box-shadow: 0 4px 20px rgba(66,133,244,.2);
  }
}

/* Social knoppen contact pagina */
.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  cursor: pointer;
}
@media (hover: hover) {
  .btn-social:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
}
.btn-social--facebook {
  background: #1877F2;
  color: #fff;
  border-color: #1877F2;
}
@media (hover: hover) {
  .btn-social--facebook:hover { background: #1464d0; border-color: #1464d0; }
}
.btn-social--whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
@media (hover: hover) {
  .btn-social--whatsapp:hover { background: #1dba57; border-color: #1dba57; }
}

/* --- Over Ons Pagina -------------------------------------- */
.about-values {
  display: grid;
  gap: 20px;
  margin-top: clamp(32px, 6vw, 56px);
}
@media (min-width: 600px) {
  .about-values { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .about-values { grid-template-columns: repeat(3, 1fr); }
}

.value-card {
  text-align: center;
  padding: clamp(24px, 4vw, 40px) 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}
.value-number {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
}
.value-card h3 { margin-bottom: 10px; }
.value-card p { font-size: .875rem; }

.team-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 600px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

.team-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}
.team-avatar {
  width: 56px; height: 56px;
  background: var(--gray-200);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; color: var(--gray-600);
  flex-shrink: 0;
}
.team-info h4 { margin-bottom: 2px; }
.team-info p { font-size: .855rem; margin: 0; }
.team-role { font-size: .78rem; color: var(--gray-400); font-weight: 500; margin-bottom: 6px !important; }

/* --- Diensten Pagina -------------------------------------- */
.dienst-full {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  padding-block: clamp(32px, 6vw, 64px);
  border-bottom: 1px solid var(--gray-200);
}
.dienst-full:last-child { border-bottom: none; }
@media (min-width: 860px) {
  .dienst-full { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
  /* Omgekeerde volgorde: afbeelding rechts */
  .dienst-full.reverse .dienst-visual { order: 1; }
  .dienst-full.reverse .dienst-content { order: 0; }
}

.dienst-visual {
  aspect-ratio: 5/4;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  /* Mobiel: iets kleiner */
  max-height: 260px;
}
@media (min-width: 860px) {
  .dienst-visual { max-height: none; }
}

.dienst-visual-icon {
  width: 72px; height: 72px;
  background: var(--black);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.dienst-visual-icon svg { width: 36px; height: 36px; }

.dienst-content h2 { margin-bottom: 12px; font-size: clamp(1.4rem, 3vw, 2rem); }
.dienst-content p { margin-bottom: 16px; }

.dienst-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.dienst-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: var(--gray-600);
}
.dienst-list-item::before {
  content: '';
  display: block;
  width: 20px; height: 20px;
  flex-shrink: 0;
  background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
  border-radius: 50%;
}

/* --- Galerij --------------------------------------------- */
/* Mobiel: 1 kolom; tablet: 2; desktop: 3 */
.gallery-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-100);
  /* Touch feedback */
  -webkit-tap-highlight-color: transparent;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
@media (hover: hover) {
  .gallery-item:hover img { transform: scale(1.05); }
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  transition: background var(--dur) var(--ease);
}
@media (hover: hover) {
  .gallery-item:hover .gallery-overlay { background: rgba(0,0,0,.5); }
  .gallery-item:hover .gallery-info { opacity: 1; transform: translateY(0); }
}
/* Op touch: altijd info tonen via tap — overlay altijd licht zichtbaar */
@media (hover: none) {
  .gallery-overlay { background: linear-gradient(transparent 50%, rgba(0,0,0,.55) 100%); }
  .gallery-info { opacity: 1; transform: none; }
}

.gallery-info {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  padding: 16px;
  position: absolute;
  bottom: 0; left: 0; right: 0;
}
.gallery-info h4 { color: var(--white); font-size: .9rem; margin-bottom: 2px; }
.gallery-info p { color: rgba(255,255,255,.75); font-size: .78rem; margin: 0; }

/* Gallery loading */
.gallery-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 64px 0;
  color: var(--gray-400);
  font-size: .9rem;
}
.gallery-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.gallery-tag {
  display: inline-block;
  background: rgba(255,255,255,.2);
  color: var(--white);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
  margin-bottom: 6px;
}
.gallery-title { color: var(--white); font-size: .9rem; font-weight: 600; margin: 0 0 4px; }
.gallery-desc { color: rgba(255,255,255,.75); font-size: .78rem; margin: 0 0 4px; }
.gallery-date { color: rgba(255,255,255,.5); font-size: .72rem; margin: 0; }

.gallery-placeholder {
  aspect-ratio: 4/3;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  color: var(--gray-400);
  font-size: .875rem;
  border: 2px dashed var(--gray-200);
}
.gallery-placeholder svg { width: 36px; height: 36px; opacity: .4; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
}
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 900px; width: 100%; }
.lightbox-img { width: 100%; border-radius: var(--radius-lg); }
.lightbox-close {
  position: absolute;
  top: -48px; right: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: color var(--dur);
}
.lightbox-info { margin-top: 14px; text-align: center; }
.lightbox-caption { color: var(--white); font-size: 1rem; font-weight: 600; margin: 0 0 8px; }
.lightbox-desc {
  color: rgba(255,255,255,.65);
  font-size: .875rem;
  margin: 0 0 8px;
  max-height: 80px;
  overflow-y: auto;
  line-height: 1.6;
  text-align: left;
  padding: 0 4px;
}
.lightbox-date { color: rgba(255,255,255,.4); font-size: .78rem; margin: 0; }

/* --- Contact Pagina --------------------------------------- */
/* Mobiel: gestapeld; desktop: naast elkaar */
.contact-grid {
  display: grid;
  gap: clamp(32px, 6vw, 64px);
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.6fr; align-items: start; }
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-block h3 { font-size: .95rem; margin-bottom: 14px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-icon {
  width: 44px; height: 44px;
  background: var(--gray-100);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item-text { font-size: .9rem; }
.contact-item-text strong { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-400); margin-bottom: 2px; }
.contact-item-text a:hover { text-decoration: underline; }

.hours-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.hours-table tr { border-bottom: 1px solid var(--gray-100); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 9px 0; }
.hours-table td:last-child { text-align: right; color: var(--gray-600); }
.hours-table tr.closed td:last-child { color: var(--gray-400); }

/* Contactformulier */
.contact-form-wrap {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 48px) clamp(20px, 4vw, 40px);
}
.contact-form-wrap h2 { margin-bottom: 6px; }
.contact-form-wrap > p { margin-bottom: 28px; font-size: .875rem; }

/* Mobiel: 1 kolom; tablet+: 2 */
.form-grid { display: grid; gap: 16px; }
@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label { font-size: .82rem; font-weight: 600; color: var(--gray-800); }

.form-group input,
.form-group textarea,
.form-group select {
  /* font-size: 1rem (16px) voorkomt iOS auto-zoom */
  font-size: 1rem;
  font-family: var(--font);
  padding: 13px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--black);
  background: var(--white);
  width: 100%;
  outline: none;
  /* Grotere touch target */
  min-height: 48px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  /* Verwijder iOS standaard styling */
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(10,10,10,.08);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-submit { margin-top: 8px; width: 100%; justify-content: center; }

.map-wrap {
  margin-top: clamp(32px, 6vw, 48px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* Mobiel: minder hoog */
  height: clamp(240px, 50vw, 380px);
  border: 1px solid var(--gray-200);
}
.map-wrap iframe { display: block; width: 100%; height: 100%; border: none; }

/* --- CTA Sectie ------------------------------------------- */
.cta-section {
  background: var(--black);
  padding-block: clamp(56px, 10vw, 96px);
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,.6); max-width: 480px; margin: 0 auto 32px; font-size: .95rem; }
.btn-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
@media (min-width: 480px) {
  .btn-cta-group { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 14px; }
}

/* --- WhatsApp Floating Button ----------------------------- */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 8000;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.55), 0 0 0 6px rgba(37,211,102,.12);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.whatsapp-btn:active { transform: scale(.94); }
@media (hover: hover) {
  .whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 36px rgba(37,211,102,.7), 0 0 0 8px rgba(37,211,102,.18);
  }
  .whatsapp-btn::before {
    content: 'App ons direct';
    position: absolute;
    right: calc(100% + 10px);
    background: var(--black);
    color: var(--white);
    padding: 6px 11px;
    border-radius: var(--radius);
    font-size: .78rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
    pointer-events: none;
  }
  .whatsapp-btn:hover::before { opacity: 1; }
}
.whatsapp-btn svg { width: 32px; height: 32px; }

@media (min-width: 768px) {
  .whatsapp-btn { bottom: 28px; right: 28px; width: 68px; height: 68px; }
}

/* --- Footer ----------------------------------------------- */
.footer {
  background: #0a0a0a;
  color: rgba(255,255,255,.92);
  padding-top: clamp(48px, 8vw, 72px);
}

/* Mobiel: 1 kolom; tablet: 2; desktop: 4 */
.footer-grid {
  display: grid;
  gap: 32px;
  padding-bottom: clamp(40px, 6vw, 56px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 600px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
}

.footer-logo { font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; color: var(--white); margin-bottom: 12px; }
.footer-logo span { font-weight: 300; }
.footer-desc { font-size: .855rem; color: rgba(255,255,255,.7); line-height: 1.8; margin-bottom: 20px; }

.footer-social { display: flex; gap: 10px; }
.footer-social-link {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
@media (hover: hover) {
  .footer-social-link:hover { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.25); }
}
.footer-social-link svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-link {
  font-size: .875rem;
  color: rgba(255,255,255,.72);
  min-height: 36px;
  display: flex;
  align-items: center;
  transition: color var(--dur) var(--ease);
}
@media (hover: hover) {
  .footer-link:hover { color: var(--white); }
}

.footer-contact-item { display: flex; gap: 10px; margin-bottom: 10px; font-size: .875rem; align-items: flex-start; }
.footer-contact-item:last-child { margin-bottom: 0; }
.footer-contact-item svg { width: 16px; height: 16px; color: rgba(255,255,255,.6); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a { color: rgba(255,255,255,.72); }
.footer-contact-item span { color: rgba(255,255,255,.72); }

.footer-hours { font-size: .855rem; }
.footer-hours-row { display: flex; justify-content: space-between; padding-block: 5px; border-bottom: 1px solid rgba(255,255,255,.05); }
.footer-hours-row:last-child { border-bottom: none; }
.footer-hours-row .day { color: rgba(255,255,255,.65); }
.footer-hours-row .time { color: rgba(255,255,255,.85); }
.footer-hours-row.closed .time { color: rgba(255,255,255,.4); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding-block: 20px;
  font-size: .78rem;
  color: rgba(255,255,255,.22);
}
@media (min-width: 600px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.footer-bottom-links a { color: rgba(255,255,255,.22); min-height: 36px; display: flex; align-items: center; }
@media (hover: hover) {
  .footer-bottom-links a:hover { color: rgba(255,255,255,.6); }
}

/* --- Animaties -------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: .08s; }
.fade-up:nth-child(3) { transition-delay: .16s; }
.fade-up:nth-child(4) { transition-delay: .24s; }

/* Verminder animaties voor gebruikers die dat prefereren */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .gallery-item img, .whatsapp-btn { transition: none; }
}
