/* SmartCleaners — Lovable-aligned visual system */
:root {
  --primary: #0093c4;
  --eyebrow: #007094;
  --primary-hover: #007aa8;
  --primary-dark: #00749c;
  --footer-bg: #007aa3;
  --footer-legal: #05131d;
  --primary-soft: #e5f6fb;
  --accent: #cff2fe;
  --secondary: #ebf3f7;
  --muted: #eff7fb;
  --dark: #05131d;
  --dark-alt: #061d2b;
  --light: #f3f7fb;
  --white: #ffffff;
  --border: #dee6ea;
  --text: #1a2b38;
  --text-muted: #545f68;
  --danger: #df2225;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 8px 28px -8px rgba(5, 19, 29, 0.14);
  --shadow-sm: 0 2px 12px -2px rgba(5, 19, 29, 0.08);
  --shadow-md: 0 12px 36px -12px rgba(5, 19, 29, 0.18);
  --shadow-elegant: 0 24px 56px -20px rgba(5, 19, 29, 0.28);
  --max: 1160px;
  --header-h: 76px;
  --header-bg: #007094; /* AA white text ~5.6:1 (vs #0093c4 ~3.5:1) */
  --sticky-h: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  /* Bottom clearance for the fixed mobile bar (~64px + home indicator); used once, on body (<900px) */
  --sticky-clearance: calc(80px + env(safe-area-inset-bottom, 0px));
  /* Horizontal notch insets (non-zero only in landscape with viewport-fit=cover) */
  --safe-x: calc(env(safe-area-inset-left, 0px) + env(safe-area-inset-right, 0px));
  --font-heading: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --focus: 0 0 0 3px rgba(0, 147, 196, 0.35);
  --focus-on-dark: 0 0 0 3px rgba(255, 255, 255, 0.55);
  --img-ratio: 16 / 10;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 280ms;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  /* Prefer clip over hidden so sticky/fixed UI is unaffected; chips use inset so they never need L/R crop */
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.35rem); letter-spacing: -0.025em; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: var(--text-muted); }
.container { width: min(100% - 2rem - var(--safe-x), var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
:focus-visible { outline: none; box-shadow: var(--focus); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.35rem; border-radius: 999px; font-family: var(--font-heading);
  font-weight: 600; font-size: 0.95rem; border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
  line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 4px 14px -4px rgba(0, 147, 196, 0.45); }
.btn-primary:hover { background: var(--primary-hover); color: var(--white); box-shadow: 0 8px 22px -6px rgba(0, 147, 196, 0.5); }
.btn-primary:active { box-shadow: 0 4px 14px -4px rgba(0, 147, 196, 0.45); }
.btn-outline {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary-soft); color: var(--primary); }
.btn-call {
  background: var(--danger); color: var(--white); border-color: var(--danger);
}
.btn-call:hover { background: #c41c1f; color: var(--white); border-color: #c41c1f; }
.btn-ghost { background: transparent; color: var(--dark); border-color: var(--border); }
.btn-ghost:hover { background: var(--light); }
.btn-lg { padding: 0.9rem 1.6rem; font-size: 1rem; }
.btn-hero-primary {
  background: var(--white); color: var(--primary-dark); border-color: var(--white);
  border-radius: 10px; font-weight: 700;
}
.btn-hero-primary:hover { background: rgba(255,255,255,0.92); color: var(--primary-dark); }
.btn-hero-ghost {
  background: rgba(255,255,255,0.12); color: var(--white);
  border-color: rgba(255,255,255,0.4); border-radius: 10px; backdrop-filter: blur(6px);
}
.btn-hero-ghost:hover { background: rgba(255,255,255,0.22); color: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  height: var(--header-h);
  transition: box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.site-header.is-scrolled {
  background: #006685;
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 24px -12px rgba(5, 19, 29, 0.28);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1rem;
}
.logo {
  display: inline-flex; align-items: center; flex-shrink: 0;
  text-decoration: none; line-height: 0;
}
.logo:hover { text-decoration: none; opacity: 0.92; }
.logo img { height: 40px; width: auto; display: block; }
.footer-brand .logo img { height: 40px; width: auto; }
.footer-brand .logo {
  display: inline-flex; margin-bottom: 0.75rem;
}
.nav { display: none; align-items: center; gap: 0.25rem; }
.nav a {
  padding: 0.5rem 0.75rem; color: #fff; font-weight: 600; font-size: 1rem;
  border-radius: 8px; text-decoration: none;
}
.nav a:hover { background: rgba(255, 255, 255, 0.2); color: #fff; text-decoration: none; }
.nav a:focus-visible {
  outline: 2px solid #fff; outline-offset: 2px;
  box-shadow: var(--focus-on-dark); background: rgba(255, 255, 255, 0.2);
}
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-tel {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  color: #fff; font-weight: 600; font-size: 0.88rem; text-decoration: none;
  width: auto; height: 40px; padding: 0 0.75rem;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.45);
  flex-shrink: 0; white-space: nowrap;
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.header-tel:hover {
  color: #fff; text-decoration: none;
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.75);
}
.header-tel:focus-visible {
  outline: 2px solid #fff; outline-offset: 2px;
  box-shadow: var(--focus-on-dark);
  background: rgba(255, 255, 255, 0.22);
}
.header-tel svg { width: 16px; height: 16px; flex-shrink: 0; }
.header-tel-text { display: inline; }
/* Header Offerte on blue bar: white chip, primary text */
.btn-on-blue,
.site-header .header-actions > .btn-primary {
  background: #fff; color: var(--header-bg); border-color: #fff;
  box-shadow: 0 2px 10px -4px rgba(5, 19, 29, 0.2);
}
.btn-on-blue:hover,
.site-header .header-actions > .btn-primary:hover {
  background: rgba(255, 255, 255, 0.92); color: #006685; border-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px -4px rgba(5, 19, 29, 0.25);
}
.btn-on-blue:focus-visible,
.site-header .header-actions > .btn-primary:focus-visible {
  outline: 2px solid #fff; outline-offset: 3px;
  box-shadow: var(--focus-on-dark), 0 2px 10px -4px rgba(5, 19, 29, 0.2);
}
.nav-toggle {
  display: flex; flex-direction: column; gap: 5px; background: none; border: none;
  padding: 0.5rem; cursor: pointer; border-radius: 8px;
  flex-shrink: 0;
  transition: background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.22); }
.nav-toggle:focus-visible {
  outline: 2px solid #fff; outline-offset: 2px;
  box-shadow: var(--focus-on-dark);
  background: rgba(255, 255, 255, 0.22);
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .header-tel {
    width: auto; height: auto; padding: 0.35rem 0.75rem; border: 1px solid transparent; border-radius: 999px; background: transparent;
  }
  .header-tel:hover { background: rgba(255, 255, 255, 0.15); border-color: transparent; }
  .header-tel-text { display: inline; }
  .header-tel svg { display: none; }
  .sticky-call, .mobile-sticky { display: none !important; }
}

/* Sticky call FAB superseded by mobile-sticky bar */
.sticky-call { display: none !important; }

/* Mobile nav drawer */
.nav-mobile {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--white); padding: 1.5rem; flex-direction: column; gap: 0.25rem;
  border-top: 1px solid var(--border); overflow-y: auto;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  padding: 0.9rem 1rem; color: var(--dark); font-weight: 600; font-size: 1.05rem;
  border-radius: var(--radius-sm); text-decoration: none;
}
.nav-mobile a:hover { background: var(--light); color: var(--primary); }
.nav-mobile .btn { margin-top: 1rem; width: 100%; }
.nav-mobile {
  padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
}
/* "Diensten" = single expandable item (no link); "Alle diensten" is the last sub-link */
.nav-sub summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1rem; color: var(--dark); font-weight: 600; font-size: 1.05rem;
  border-radius: var(--radius-sm); cursor: pointer; list-style: none;
}
.nav-sub summary::-webkit-details-marker { display: none; }
.nav-sub summary::after {
  content: ""; width: 0.55rem; height: 0.55rem; margin-right: 0.2rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-25%) rotate(45deg); transition: transform var(--dur) var(--ease-out);
}
.nav-sub[open] summary::after { transform: translateY(25%) rotate(-135deg); }
.nav-sub summary:hover, .nav-sub[open] summary { background: var(--light); color: var(--primary); }
.nav-sub summary:focus-visible { outline: none; box-shadow: var(--focus); }
.nav-sub-list { display: flex; flex-direction: column; padding: 0.25rem 0 0.5rem 0.75rem; }
.nav-mobile .nav-sub-list a { padding: 0.6rem 1rem; font-weight: 500; font-size: 0.98rem; }
.nav-mobile .nav-sub-list a.nav-sub-all { font-weight: 700; color: var(--primary); }

/* FAB — mobile only, offset above sticky bar */
.sticky-call {
  position: fixed; bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px)); right: 1rem; z-index: 90;
  display: none; /* superseded by mobile-sticky bar */
  align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.25rem; border-radius: 999px;
  background: var(--danger); color: var(--white); font-weight: 700;
  font-family: var(--font-heading); font-size: 0.95rem;
  box-shadow: 0 8px 28px rgba(223, 34, 37, 0.4);
  text-decoration: none;
}
.sticky-call svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Mobile sticky bar: phone number + Offerte */
.mobile-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: flex; gap: 0.65rem; align-items: center;
  padding: 0.65rem max(0.85rem, env(safe-area-inset-right, 0px)) calc(0.65rem + env(safe-area-inset-bottom, 0px)) max(0.85rem, env(safe-area-inset-left, 0px));
  background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(5, 19, 29, 0.08);
}
.mobile-sticky .mobile-sticky-tel {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 0.75rem; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary-dark);
  font-weight: 700; font-family: var(--font-heading); font-size: 0.92rem;
  text-decoration: none; border: 1px solid #b8e0ef;
}
.mobile-sticky .mobile-sticky-tel:hover { text-decoration: none; background: var(--accent); }
.mobile-sticky .mobile-sticky-tel:focus-visible {
  outline: 2px solid var(--header-bg); outline-offset: 2px;
  box-shadow: var(--focus);
}
.mobile-sticky .mobile-sticky-tel svg { width: 16px; height: 16px; flex-shrink: 0; }
.mobile-sticky .btn { flex: 0 0 auto; padding: 0.7rem 1.15rem; }
.mobile-sticky .btn:focus-visible {
  outline: 2px solid var(--header-bg); outline-offset: 2px;
  box-shadow: var(--focus);
}

/* ========== Hero (full-bleed Lovable style) ========== */
.hero {
  position: relative; isolation: isolate;
  padding: 4.5rem 0 3.75rem;
  color: var(--white);
  overflow: hidden;
  min-height: min(62vh, 560px);
  display: flex; align-items: center;
}
/* Dual lead: short on mobile, full on desktop — no CSS ellipsis */
.hero .lead-mobile { display: none; }
.hero .lead-desktop { display: block; }
@media (max-width: 899px) {
  .hero {
    align-items: flex-start;
    min-height: auto;
    padding: 2.75rem 0 calc(2.25rem + var(--sticky-h));
  }
  .hero .lead-mobile {
    display: block;
    font-size: 1rem;
    margin-bottom: 1.35rem;
  }
  .hero .lead-desktop { display: none; }
  .hero-ctas { margin-bottom: 1.25rem; }
}
@media (max-width: 480px) {
  .hero {
    padding: 2.25rem 0 calc(1.75rem + var(--sticky-h));
  }
  .hero .eyebrow { margin-bottom: 0.85rem; }
  .hero h1 { margin-bottom: 0.75rem; font-size: clamp(1.65rem, 7.5vw, 2.1rem); }
  .hero .lead-mobile {
    font-size: 0.95rem;
    margin-bottom: 1.1rem;
    line-height: 1.55;
  }
  .hero-ctas {
    margin-bottom: 1rem;
    gap: 0.55rem;
  }
  .hero-ctas .btn { padding: 0.7rem 1.05rem; font-size: 0.92rem; }
  .hero .trust-chips { gap: 0.4rem 0.9rem; }
  .hero .chip { font-size: 0.8rem; }
}
@media (min-width: 900px) {
  .hero { padding: 5rem 0 4rem; min-height: min(58vh, 580px); }
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  transform: scale(1.04);
  animation: heroKen 22s ease-out forwards;
}
@keyframes heroKen {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 19, 29, 0.84) 0%, rgba(5, 19, 29, 0.58) 42%, rgba(5, 19, 29, 0.28) 72%, rgba(5, 19, 29, 0.14) 100%),
    linear-gradient(180deg, rgba(0, 116, 156, 0.22) 0%, rgba(0, 147, 196, 0.08) 55%, rgba(5, 19, 29, 0.48) 100%);
}
.hero-content { position: relative; max-width: 40rem; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
}
.hero h1 {
  color: var(--white); margin-bottom: 1.15rem; line-height: 1.05;
}
.hero h1 .hero-h1-sub { color: rgba(255,255,255,0.85); font-weight: 700; }
.hero .lead {
  font-size: 1.1rem; max-width: 34em; margin-bottom: 1.75rem;
  color: rgba(255,255,255,0.88); line-height: 1.65;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.75rem; }
.hero .trust-chips { display: flex; flex-wrap: wrap; gap: 0.55rem 1.25rem; }
.hero .chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0; background: transparent; border: none; box-shadow: none;
  border-radius: 0; font-size: 0.88rem; font-weight: 500;
  color: rgba(255,255,255,0.88);
}
.hero .chip::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; box-shadow: 0 0 0 2px rgba(207,242,254,0.25);
}

/* Legacy split hero (unused on home) */
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-visual {
  aspect-ratio: var(--img-ratio); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-elegant); padding: 0;
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
}

/* Static area chips under hero (no infinite marquee) */
.area-chips {
  border-block: 1px solid var(--border);
  background: var(--secondary);
  /* Extra inset so pills never clip at 1280 or 390 (overflow-x clip on html/body) */
  padding: 0.85rem max(1.75rem, calc(env(safe-area-inset-right, 0px) + 1rem)) 0.85rem max(1.75rem, calc(env(safe-area-inset-left, 0px) + 1rem));
  overflow: visible;
}
.area-chips-inner {
  display: flex; flex-wrap: wrap; gap: 0.55rem 0.65rem;
  justify-content: center;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  box-sizing: border-box;
  overflow: visible;
  padding-inline: 0.25rem;
}
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem; font-weight: 600; color: var(--text-muted);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  box-sizing: border-box;
}
.pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0;
}
/* Legacy marquee class aliases (unused) */
.marquee-strip { display: none; }

/* Sections */
.section { padding: 2.5rem 0; }
@media (min-width: 900px) { .section { padding: 4.5rem 0; } }
.section-alt { background: var(--light); }
.section-header { margin-bottom: 2rem; max-width: 40em; }
@media (min-width: 900px) { .section-header { margin-bottom: 2.75rem; } }
.section-header .eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--eyebrow); margin-bottom: 0.65rem;
}
.section-header h2 { margin-bottom: 0.65rem; }
.section-header p { margin-bottom: 0; font-size: 1.05rem; }

/* Cards grid */
.cards {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards.cards-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .cards.cards-diensten { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  display: flex; flex-direction: column; height: 100%;
  overflow: hidden;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover {
  box-shadow: var(--shadow-md); border-color: #b8d0e4; transform: translateY(-4px); text-decoration: none;
}
a.card:hover .card-media img { transform: scale(1.04); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--primary-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
  color: var(--primary);
}
.card-icon svg { width: 24px; height: 24px; }

.card-tag {
  display: inline-flex; align-items: center;
  align-self: flex-start;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--eyebrow);
  background: var(--primary-soft);
  border: 1px solid rgba(0, 147, 196, 0.18);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  margin-bottom: 0.55rem;
}
.card h3 { margin-bottom: 0.4rem; }
.card p { font-size: 0.95rem; flex-grow: 1; margin-bottom: 1rem; }
.card-link {
  font-weight: 600; font-size: 0.9rem; color: var(--primary);
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.card-media {
  margin: -1.5rem -1.5rem 1rem; border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: var(--img-ratio); overflow: hidden; background: var(--light);
  flex-shrink: 0;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
  transition: transform 350ms var(--ease-out);
}

/* Diensten cards — less dense, equal height bodies */
.cards-diensten .card {
  min-height: 100%;
}
.cards-diensten .card > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  flex-grow: 1;
  min-height: 3em; /* ~2 lines */
  margin-bottom: 0.85rem;
}
.cards-diensten .card-tag { margin-bottom: 0.4rem; }
.cards-diensten .card h3 { margin-bottom: 0.35rem; }
@media (max-width: 390px) {
  .cards,
  .cards-diensten {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .cards-diensten .card { padding: 1.25rem; }
}

/* Gallery — uniform crops */
.gallery {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery-item {
  aspect-ratio: var(--img-ratio); border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; padding: 0;
  color: var(--white); font-weight: 600; font-size: 0.9rem;
  position: relative; background: var(--dark-alt);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.gallery-item:hover {
  box-shadow: var(--shadow-md); transform: translateY(-3px);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
  transition: transform 350ms var(--ease-out);
}
.gallery-item span {
  position: relative; z-index: 1; padding: 1.1rem 1rem 1rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.gallery-item::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to top, rgba(5,19,29,0.78) 0%, rgba(5,19,29,0.2) 42%, transparent 70%);
  pointer-events: none;
}

/* Mini-cases (Ons werk) */
.cases {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.case:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.case img {
  width: 100%; aspect-ratio: var(--img-ratio);
  object-fit: cover; object-position: center; display: block;
  background: var(--light);
}
.case figcaption {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.35rem;
  flex: 1;
}
.case-tag {
  display: inline-flex; align-self: flex-start;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--eyebrow);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  margin-bottom: 0.15rem;
}
.case figcaption strong {
  font-family: var(--font-display, inherit);
  font-size: 1.05rem; font-weight: 700; color: var(--text);
  line-height: 1.3;
}
.case-approach,
.case-result {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.case-approach::before {
  content: "Aanpak: ";
  font-weight: 600;
  color: var(--text);
}
.case-result::before {
  content: "Resultaat: ";
  font-weight: 600;
  color: var(--text);
}

.cases-featured .case figcaption { min-height: 11.5rem; }
.cases-featured .case-approach,
.cases-featured .case-result {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
@media (min-width: 960px) {
  .cases-featured { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .cases { gap: 1rem; }
  .case figcaption { padding: 0.95rem 1rem 1.1rem; }
  .case-approach, .case-result { font-size: 0.85rem; }
}

/* Legacy bg-image gallery support */
.gallery-item.has-photo {
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.g1 { background: linear-gradient(160deg, #0093c4, #061d2b); }
.g2 { background: linear-gradient(160deg, #1a9bcf, #0a3d6b); }
.g3 { background: linear-gradient(145deg, #061d2b, #0093c4 80%); }
.g4 { background: linear-gradient(170deg, #2a8fc4, #05131d); }
.g5 { background: linear-gradient(155deg, #007aa8, #1e90c8); }
.g6 { background: linear-gradient(165deg, #05131d, #1478b8); }

/* USP */
.usp-grid {
  display: grid; gap: 1.25rem;
}
@media (min-width: 700px) { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .usp-grid { grid-template-columns: repeat(4, 1fr); } }
.usp {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; height: 100%; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.usp:hover {
  box-shadow: var(--shadow); transform: translateY(-3px); border-color: #b8d0e4;
}
.usp h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.usp p { font-size: 0.92rem; margin: 0; }

/* Reviews */
.reviews { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; height: 100%;
}
.review blockquote {
  margin: 0 0 1rem; font-size: 0.98rem; color: var(--text); line-height: 1.6; font-style: italic;
}
.review-meta { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; font-style: normal; }
.review-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 1.5rem; text-align: center; }
#reviews { display: none !important; }

/* Contact form */
.contact-block { display: grid; gap: 2.5rem; }
@media (min-width: 860px) {
  .contact-block { grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: start; }
}
.contact-info .eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--eyebrow); margin-bottom: 0.65rem;
}
.contact-info h2 { margin-bottom: 0.75rem; }
.contact-details { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-details li {
  display: flex; gap: 0.75rem; padding: 0.65rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.contact-details li:last-child { border-bottom: none; }
.contact-details strong { display: block; color: var(--dark); font-size: 0.8rem; margin-bottom: 0.15rem; }
.contact-details a { color: var(--primary); font-weight: 500; }
.form-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow);
}
.form-card h3 { margin-bottom: 0.35rem; }
.form-promise { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.form-row { margin-bottom: 1rem; }
.form-row label {
  display: block; font-weight: 600; font-size: 0.88rem; color: var(--dark); margin-bottom: 0.35rem;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 0.7rem 0.9rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem;
  background: var(--white); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: var(--focus);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-grid-2 { display: grid; gap: 1rem; }
@media (min-width: 500px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-msg {
  padding: 0.85rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-size: 0.95rem;
}
.form-msg.success { background: #e8f6ee; color: #0d5c2e; border: 1px solid #b8e0c8; }
.form-msg.error { background: #fdeaea; color: #8b1a1c; border: 1px solid #f0c0c1; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 760px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 1.1rem 1.25rem; font-weight: 600; font-family: var(--font-heading);
  color: var(--dark); cursor: pointer; list-style: none; display: flex;
  justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.35rem; color: var(--primary); font-weight: 400; line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
  padding: 0 1.25rem 1.15rem; color: var(--text-muted); font-size: 0.95rem;
}

/* Page hero (inner pages) — split on desktop */
.page-hero {
  background: linear-gradient(180deg, var(--muted) 0%, var(--white) 100%);
  padding: 2.5rem 0 2.25rem; border-bottom: 1px solid var(--border);
}
.page-hero-grid {
  display: grid; gap: 1.75rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .page-hero { padding: 3.25rem 0 2.75rem; }
  .page-hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; }
}
.page-hero-copy .breadcrumb {
  font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem;
}
.page-hero .breadcrumb {
  font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem;
}
.page-hero .breadcrumb a { color: var(--text-muted); }
.page-hero .breadcrumb a:hover { color: var(--primary); }
.page-hero h1 { margin-bottom: 0.5rem; max-width: 16ch; }
.page-hero .lead { max-width: 38em; margin: 0; }
.page-hero-media {
  margin: 0; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); background: var(--light);
}
.page-hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
}

.content-block { padding: 3rem 0; }
.content-prose { max-width: 720px; }
.content-prose ul { color: var(--text-muted); padding-left: 1.25rem; }
.content-prose li { margin-bottom: 0.4rem; }


.cert-logos { display:flex; flex-wrap:wrap; gap:1rem 1.5rem; align-items:center; margin-top:1.25rem; }
.cert-logos img { height:48px; width:auto; object-fit:contain; background:#fff; border-radius:8px; padding:0.35rem 0.5rem; box-shadow: var(--shadow-sm); }
.site-footer .cert-logos img { height:40px; background:rgba(255,255,255,0.95); }

/* Footer — AA contrast: darker teal body + navy legal strip */
.site-footer {
  background: var(--footer-bg); color: #ffffff; padding: 3.5rem 0 0;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-brand p { color: rgba(255,255,255,0.95); font-size: 0.9rem; }
.site-footer h4 {
  color: var(--white); font-size: 0.9rem; margin-bottom: 1rem; font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; color: rgba(255,255,255,0.95); }
.site-footer a { color: #ffffff; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; opacity: 0.92; }
.site-footer > .container { padding-bottom: 2.25rem; }
.footer-bottom-wrap {
  background: var(--footer-legal);
  padding: 1.15rem 0;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between;
  align-items: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.92);
  border-top: none; padding-top: 0;
}
.footer-bottom a { color: #ffffff; }
.footer-certs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; }
.site-footer .footer-certs .cert-logos { margin-top: 0; gap: 0.5rem; flex-wrap: nowrap; }
.site-footer .footer-certs .cert-logos img { height: 34px; padding: 0.25rem 0.45rem; border-radius: 6px; }
@media (max-width: 899px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

@media (max-width: 899px) {
  body.has-mobile-nav { overflow: hidden; }
  :root { --header-h: 60px; }
  .header-inner { gap: 0.5rem; }
  .container { width: min(100% - 1.5rem - var(--safe-x), var(--max)); }
  .logo img { height: 34px; }
  .header-actions { gap: 0.35rem; min-width: 0; }
  /* Icon-only tel — full number lives in sticky bar + aria-label */
  .header-tel {
    width: 40px; height: 40px; padding: 0;
    gap: 0;
  }
  .header-tel-text { display: none; }
  .header-tel svg { display: block; width: 18px; height: 18px; }
  .header-actions .btn {
    padding: 0.55rem 0.9rem; font-size: 0.88rem;
  }
  .nav-toggle { padding: 0.45rem; }
}


/* Scroll reveal — once, sparse */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}


/* Sticky bar clearance — single source of truth (<900px, where .mobile-sticky is shown).
   The bar is position:fixed, so only the end of the document needs clearance: one padding on body
   (footer is the last block in body on every page). No extra padding on main/sections/footer. */
@media (max-width: 899px) {
  body { padding-bottom: var(--sticky-clearance); }
  .mobile-sticky { display: flex; }
}

/* Header ≤390: touch target + safe-area, no clip */
@media (max-width: 390px) {
  .site-header {
    height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    overflow: visible;
  }
  .header-inner {
    overflow: visible;
    min-width: 0;
    gap: 0.4rem;
  }
  .header-actions {
    flex-shrink: 0;
    gap: 0.3rem;
    overflow: visible;
  }
  .header-actions .btn,
  .site-header .header-actions > .btn-primary {
    min-height: 44px;
    padding: 0.55rem 0.85rem;
    font-size: 0.86rem;
    flex-shrink: 0;
  }
  .header-tel { width: 44px; height: 44px; min-width: 44px; }
  .nav-toggle { min-width: 44px; min-height: 44px; }
  .logo img { height: 30px; }
  .container.header-inner,
  .header-inner.container { width: min(100% - 1rem - var(--safe-x), var(--max)); }
}


/* Hero CTA / outline: color & shadow only — no scale */
.btn-outline:hover { box-shadow: 0 4px 14px -6px rgba(0, 147, 196, 0.28); }

/* Contact form card lift */
.form-card {
  transition: box-shadow var(--dur) var(--ease-out);
}
.form-card:focus-within { box-shadow: var(--shadow-elegant); }

/* FAQ open feel */
.faq-item {
  transition: box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.faq-item[open] { border-color: #b8d0e4; box-shadow: var(--shadow-sm); }

/* Reduced motion — kill ken-burns, marquee, reveals, transforms */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img { animation: none; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .usp, .gallery-item, a.card:hover, .btn-primary:hover, .btn-outline:hover {
    transition: none !important; transform: none !important;
  }
  a.card:hover .card-media img,
  .gallery-item:hover img { transform: none; }
  .case:hover { transform: none; }
}


/* Compact certificate explain (FAQ / trust) */
.cert-explain {
  display: grid;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 700px) {
  .cert-explain {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
}
.cert-explain-logos {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center;
}
.cert-explain-logos img {
  height: 44px; width: auto; object-fit: contain;
  background: #fff; border-radius: 8px; padding: 0.3rem 0.45rem;
  box-shadow: var(--shadow-sm);
}
.cert-explain-text p {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.cert-explain-text p:last-child { margin-bottom: 0; }
.cert-explain-text strong { color: var(--dark); font-weight: 700; }

@media (max-width: 390px) {
  .area-chips {
    padding-inline: max(1.5rem, calc(env(safe-area-inset-left, 0px) + 0.85rem)) max(1.5rem, calc(env(safe-area-inset-right, 0px) + 0.85rem));
  }
  .pill { font-size: 0.82rem; padding: 0.4rem 0.85rem; }
}
