/* =============================================================
   ASF BOUW ALKMAAR — DPS Media style
   ============================================================= */

/* ===================== DESIGN TOKENS ===================== */
:root {
  /* === COLORS: BLACK + GOLD === */
  --bg:          #1A1D1F;          /* Main dark background */
  --bg-alt:      #252A2D;          /* Slightly lighter for section alternation */
  --bg-deepest:  #0A0B0C;          /* Deepest black (footer, hero overlays) */
  --bg-card:     rgba(255,255,255,.04);   /* Card backgrounds */
  --bg-card-hover: rgba(255,255,255,.07);
  --brand-dark:  #1A1D1F;          /* Brand color (kept for old references) */

  --bronze:       #C5A55A;
  --bronze-light: #DCC591;
  --bronze-dark:  #9d8246;

  /* Text on dark */
  --cream:       #F7F5F2;
  --text:        #E2DCD3;
  --text-soft:   #B8B0A8;
  --text-muted:  #8A8077;

  /* Borders (gold-tinted on dark) */
  --border:        rgba(220,197,145,.16);
  --border-soft:   rgba(220,197,145,.08);
  --border-strong: rgba(220,197,145,.42);

  /* Typography */
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;

  /* Radii */
  --r-sm:   8px;
  --r:      14px;
  --r-lg:   20px;
  --r-pill: 999px;

  /* Shadows — deeper for dark theme */
  --shadow:    0 4px 14px rgba(0,0,0,.4);
  --shadow-md: 0 10px 30px rgba(0,0,0,.5);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.65);

  /* Layout */
  --container-max: 1200px;
  --container-pad: 24px;
  --section-pad:   110px;
  --transition:    .25s cubic-bezier(.4,0,.2,1);
}

/* ===================== RESET / BASE ===================== */
*,*::before,*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100vw;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--cream);
  margin: 0 0 0.5em;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 800;
  paint-order: stroke fill;
}

h1, h2 {
  -webkit-text-stroke: 0.6px currentColor;
}

.hp-svc-card h3,
.hp-tips-card h3,
.bento-tile h3 {
  -webkit-text-stroke: 0.4px currentColor;
}

p { margin: 0 0 1em; }

/* Layout-safe (i18n long words) */
h1, h2, h3, h4, h5, h6, .hp-svc-card h3, .hp-tips-card h3 {
  overflow-wrap: break-word;
  hyphens: auto;
}
.nav-links a, .mobile-menu a { overflow-wrap: anywhere; }
.btn, .tip-modal-cta { max-width: 100%; }

html[data-lang]:not([data-lang="nl"]) .hero-title,
html[data-lang]:not([data-lang="nl"]) .section-head h2,
html[data-lang]:not([data-lang="nl"]) .belofte-head h2 {
  letter-spacing: -.045em;
  line-height: .96;
}

/* ===================== CONTAINER ===================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ===================== EYEBROW LABEL ===================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 700;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--bronze);
}

.eyebrow-light {
  color: var(--bronze-light);
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  line-height: 1;
}

.btn-gold {
  background: var(--bronze);
  color: var(--brand-dark);
  box-shadow: 0 6px 20px rgba(197,165,90,.32);
}

.btn-gold:hover {
  background: #b89248;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(197,165,90,.42);
}

.btn-outline-dark {
  border-color: var(--bronze-light);
  color: var(--bronze-light);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--bronze);
  border-color: var(--bronze);
  color: var(--bg-deepest);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 17px 32px;
  font-size: 0.98rem;
}

/* ===================== NAVIGATION ===================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background .35s ease, backdrop-filter .35s ease;
}

.nav.scrolled {
  background: rgba(37,42,45,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 18px var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  flex-shrink: 0;
  display: inline-flex;
}

.nav-logo img {
  height: 52px;
  width: auto;
  transition: opacity .35s ease;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: rgba(247,245,242,.86);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  padding: 8px 0;
  transition: color var(--transition);
}

.nav-link:hover { color: var(--cream); }

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--bronze);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(247,245,242,.92);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-phone svg {
  width: 18px;
  height: 18px;
  color: var(--bronze);
}

.nav-phone:hover { color: var(--cream); }

.lang-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(220,197,145,.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  transition: all var(--transition);
}

.lang-btn svg {
  width: 22px;
  height: 18px;
  border-radius: 2px;
}

.lang-btn:hover { transform: scale(1.08); border-color: var(--bronze); }

/* Show opposite-language flag */
.lang-btn .flag-nl { display: none; }
html[data-lang="en"] .lang-btn .flag-nl { display: block; }
html[data-lang="en"] .lang-btn .flag-gb { display: none; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 6px 0;
  justify-content: center;
  align-items: center;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}

/* ===================== MOBILE MENU ===================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}

.mobile-menu.is-open {
  pointer-events: auto;
  opacity: 1;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,17,19,.6);
  backdrop-filter: blur(4px);
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: var(--brand-dark);
  padding: 80px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.mobile-menu.is-open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-panel a {
  color: var(--cream);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.mobile-menu-panel a:hover { color: var(--bronze); }

.mobile-menu-cta {
  margin-top: auto;
  border-bottom: 0 !important;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close svg { width: 20px; height: 20px; }

/* ===================== 1. HERO ===================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  color: var(--cream);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  transform: scale(1);
  animation: kenburns 13s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.hero-slide.is-active {
  opacity: 1;
  animation-play-state: running;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.78) 35%,
    rgba(0,0,0,0.50) 55%,
    rgba(0,0,0,0.22) 78%,
    rgba(0,0,0,0.10) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 800;
  color: var(--cream);
  margin: 12px 0 20px;
  max-width: 760px;
  line-height: 1.05;
  -webkit-text-stroke: 0.85px currentColor;
}

.hero-title em {
  font-style: normal;
  color: var(--bronze-light);
}

.hero-desc {
  font-size: 1.08rem;
  color: rgba(247,245,242,.88);
  max-width: 520px;
  margin: 0 0 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bronze-light);
  line-height: 1;
}

.hero-stat span {
  font-size: 0.78rem;
  color: rgba(247,245,242,.76);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===================== GENERIC SECTION HEAD ===================== */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::before,
.section-head .eyebrow::after {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--bronze);
}
.section-head .eyebrow::before { display: inline-block; }

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}

.section-head .intro,
.section-head p {
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}

/* ===================== 2. OVER ONS ===================== */
.hp-overons {
  padding: var(--section-pad) 0;
}

.hp-overons-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.4fr;
  gap: 80px;
  align-items: center;
}

.hp-overons-photo {
  display: flex;
  justify-content: center;
}

.photo-ring {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 6px rgba(197,165,90,.14), 0 25px 60px rgba(0,0,0,.45);
  border: 1.5px solid var(--bronze);
  transition: transform var(--transition), box-shadow var(--transition);
}

.photo-ring:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 6px rgba(197,165,90,.22), 0 30px 70px rgba(0,0,0,.55);
}

.photo-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hp-overons-text h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin-bottom: 22px;
}

.hp-overons-text .lead {
  font-size: 1.18rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 22px;
  font-weight: 500;
}

.hp-overons-text p {
  color: var(--text);
  margin-bottom: 18px;
}

.hp-overons-text .btn {
  margin-top: 18px;
}

/* ===================== 3. WAT MAAKT ONS UNIEK ===================== */
.hp-vakwerk {
  padding: var(--section-pad) 0;
}

.hp-vakwerk-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 80px;
}

.vw-point {
  text-align: left;
  cursor: default;
  padding: 16px;
  border-radius: var(--r);
  transition: background var(--transition), transform var(--transition);
}

.vw-point:hover {
  background: rgba(197,165,90,.04);
  transform: translateY(-3px);
}

.vw-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--bronze);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bronze);
  margin-bottom: 24px;
  background: rgba(197,165,90,.10);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.vw-point:hover .vw-num {
  background: var(--bronze);
  color: var(--bg-deepest);
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 8px 24px rgba(197,165,90,.35);
}

.vw-point h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}

.vw-point p {
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.hp-vakwerk-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 50px;
  border-top: 1px solid rgba(220,197,145,.18);
}

.vw-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vw-stat span:first-child,
.vw-stat .count-up {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--bronze);
  line-height: 1;
  font-family: var(--font-heading);
  letter-spacing: -.02em;
}

.vw-stat small {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ===================== 4. ONZE DIENSTEN ===================== */
.hp-services {
  padding: var(--section-pad) 0;
}

.hp-svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.hp-svc-card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.hp-svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.hp-svc-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-deepest);
  background-image: linear-gradient(135deg, rgba(197,165,90,.20), rgba(197,165,90,.04));
  position: relative;
}

.hp-svc-feature .hp-svc-img {
  height: 280px;
}

.hp-svc-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hp-svc-body h3 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.hp-svc-body > p {
  color: var(--text-soft);
  margin-bottom: 18px;
  font-size: 0.98rem;
}

.hp-svc-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.hp-svc-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-soft);
}

.hp-svc-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C5A55A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
}

.hp-svc-body .btn {
  align-self: flex-start;
}

.hp-svc-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--bronze);
  color: var(--brand-dark);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(197,165,90,.42);
}

/* ===================== 5. ONZE WERKWIJZE ===================== */
.hp-werkwijze {
  padding: var(--section-pad) 0;
}

.hp-werk-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: start;
  position: relative;
}

.hp-werk-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 32px);
  right: calc(12.5% + 32px);
  height: 2px;
  background: linear-gradient(90deg, var(--bronze) 0%, rgba(197,165,90,.3) 50%, var(--bronze) 100%);
  z-index: 0;
  pointer-events: none;
}

.ww-step {
  text-align: center;
  padding: 0 12px;
  cursor: default;
  transition: transform var(--transition);
  position: relative;
  z-index: 1;
}

.ww-step:hover {
  transform: translateY(-4px);
}

.ww-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bronze);
  color: var(--bg-deepest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px rgba(197,165,90,.36);
  position: relative;
  z-index: 2;
  transition: transform var(--transition), box-shadow var(--transition);
}

.ww-step:hover .ww-num {
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 12px 28px rgba(197,165,90,.55);
}

.ww-step h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.ww-step p {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

/* Connector div is no longer used — kept hidden if present in legacy HTML */
.ww-connector { display: none; }

/* ===================== 6. PORTFOLIO BENTO ===================== */
.hp-portfolio {
  padding: var(--section-pad) 0;
}

.hp-port-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 220px;
  gap: 18px;
}

.bento-tile {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: block;
  transition: transform var(--transition);
  cursor: pointer;
}

.bento-tile:hover {
  transform: translateY(-4px);
}

.bento-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.78) 100%);
  transition: opacity var(--transition);
}

.bento-overlay {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  color: #fff;
  z-index: 2;
}

.bento-overlay h3 {
  color: #fff;
  font-size: 1.35rem;
  margin: 0 0 4px;
  -webkit-text-stroke: 0.4px currentColor;
}

.bento-overlay span {
  font-size: 0.82rem;
  color: var(--bronze-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.tile-1 { grid-column: span 2; grid-row: span 1; }
.tile-2 { grid-column: span 1; grid-row: span 1; }
.tile-3 { grid-column: span 1; grid-row: span 1; }
.tile-4 { grid-column: span 1; grid-row: span 1; }
.tile-5 { grid-column: span 1; grid-row: span 1; }
.tile-6 { grid-column: span 2; grid-row: span 1; }

/* ===================== 7. TIPS & NIEUWS ===================== */
.hp-tips {
  padding: var(--section-pad) 0 calc(var(--section-pad) - 20px);
  overflow: hidden;
}

.hp-tips-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding: 16px 0 32px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: none;
}

.hp-tips-marquee::-webkit-scrollbar { display: none; }
.hp-tips-marquee.is-dragging { cursor: grabbing; user-select: none; }

.hp-tips-track {
  display: flex;
  gap: 24px;
  padding: 0;
  width: max-content;
}

.hp-tips-card {
  flex-shrink: 0;
  width: 360px;
  background: var(--bg-card);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border: 1px solid var(--border);
  color: var(--text);
}

.hp-tips-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.tip-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.tip-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tag-pill {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  border: 1.5px solid;
}

.tag-tip {
  background: rgba(197,165,90,.18);
  border-color: rgba(197,165,90,.65);
  color: var(--bronze-light);
}

.tag-nieuws {
  background: rgba(46,160,67,.16);
  border-color: rgba(46,160,67,.55);
  color: #6cdf85;
}

.hp-tips-card h3 {
  font-size: 1.15rem;
  margin: 4px 0 6px;
  line-height: 1.25;
  color: var(--cream);
}

.hp-tips-card p {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0 0 14px;
  flex: 1;
}

.tip-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: auto;
}

.tip-meta span { color: var(--bronze-light); font-weight: 600; }

/* ===================== 8. GOOGLE REVIEWS ===================== */
.hp-greviews {
  padding: var(--section-pad) 0 calc(var(--section-pad) - 20px);
  overflow: hidden;
}

.hpgr-head {
  text-align: center;
  margin-bottom: 50px;
}

.hpgr-google {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 0.96rem;
  color: var(--text);
}

.hpgr-google strong { color: var(--cream); font-weight: 700; }

.hp-rev-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  cursor: grab;
  padding: 16px 0 32px;
  -webkit-overflow-scrolling: touch;
}

.hp-rev-marquee::-webkit-scrollbar { display: none; }
.hp-rev-marquee.is-dragging { cursor: grabbing; user-select: none; }

.hp-rev-track {
  display: flex;
  gap: 22px;
  padding: 0;
  width: max-content;
}

.hpgr-card {
  flex-shrink: 0;
  width: 380px;
  background: var(--bg-card);
  border-radius: var(--r);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.hpgr-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.hpgr-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hpgr-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.hpgr-meta { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.hpgr-name { font-weight: 700; color: var(--cream); font-size: 0.96rem; }
.hpgr-when { font-size: 0.78rem; color: var(--text-muted); }

.hpgr-stars { color: #fbbc04; font-size: 0.9rem; letter-spacing: 1px; }

.hpgr-service-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 12px;
  border-radius: var(--r-pill);
  background: rgba(26,115,232,.08);
  border: 1.5px solid rgba(26,115,232,.55);
  color: #1a73e8;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hpgr-text {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===================== 9. BELOFTE + INTAKE ===================== */
.hp-belofte {
  padding: var(--section-pad) 0;
  color: var(--cream);
}

.belofte-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.belofte-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cream);
  margin-bottom: 14px;
}

.belofte-head p {
  color: rgba(247,245,242,.7);
  font-size: 1.05rem;
  line-height: 1.7;
}

.belofte-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 80px;
}

.belofte-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(220,197,145,.18);
  border-radius: var(--r);
  padding: 32px 26px 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.belofte-card:hover {
  transform: translateY(-4px);
  border-color: rgba(220,197,145,.45);
  box-shadow: 0 16px 40px rgba(0,0,0,.32);
}

.belofte-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(197,165,90,.14);
  border: 1.5px solid rgba(220,197,145,.42);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--bronze-light);
}

.belofte-icon svg {
  width: 30px;
  height: 30px;
}

.belofte-card h3 {
  font-size: 1.18rem;
  color: var(--cream);
  margin-bottom: 10px;
  line-height: 1.25;
  -webkit-text-stroke: 0.4px currentColor;
  paint-order: stroke fill;
}

.belofte-card p {
  color: rgba(247,245,242,.7);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0;
}

/* ----- Intake form ----- */
.intake-wrap {
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.025) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 52px 52px 44px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.intake-wrap::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--bronze), transparent);
  opacity: .65;
}

.intake-head {
  text-align: center;
  margin-bottom: 40px;
}

.intake-head h3 {
  color: var(--cream);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 12px;
  -webkit-text-stroke: 0.5px currentColor;
  paint-order: stroke fill;
  letter-spacing: -.015em;
}

.intake-head p {
  color: var(--text-soft);
  font-size: 1.02rem;
  margin: 0;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.55;
}

.intake-field {
  margin-bottom: 32px;
}

.intake-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bronze);
  margin-bottom: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Pill-style radio chips */
.pill-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-radios label {
  margin: 0;
  cursor: pointer;
  position: relative;
}

.pill-radios input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill-radios span {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 0.92rem;
  color: var(--text-soft);
  transition: all var(--transition);
  background: rgba(255,255,255,.02);
  user-select: none;
}

.pill-radios label:hover span {
  border-color: var(--bronze-light);
  color: var(--cream);
  background: rgba(197,165,90,.08);
  transform: translateY(-1px);
}

.pill-radios input:checked + span {
  background: var(--bronze);
  border-color: var(--bronze);
  color: var(--bg-deepest);
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(197,165,90,.32);
}

.pill-radios input:focus-visible + span {
  outline: 2px solid var(--bronze-light);
  outline-offset: 2px;
}

/* Inputs grid */
.intake-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
  padding-top: 8px;
  border-top: 1px solid var(--border-soft);
}

.intake-fields-grid input,
.intake-fields-grid textarea {
  padding: 16px 18px;
  background: rgba(0,0,0,.2);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--cream);
  font-family: inherit;
  font-size: 0.96rem;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.intake-fields-grid input::placeholder,
.intake-fields-grid textarea::placeholder {
  color: var(--text-muted);
}

.intake-fields-grid input:hover,
.intake-fields-grid textarea:hover {
  border-color: var(--bronze-dark);
}

.intake-fields-grid input:focus,
.intake-fields-grid textarea:focus {
  outline: none;
  border-color: var(--bronze);
  background: rgba(0,0,0,.32);
  box-shadow: 0 0 0 3px rgba(197,165,90,.16);
}

.intake-fields-grid input[name="telefoon"],
.intake-fields-grid textarea {
  grid-column: span 2;
}

.intake-fields-grid textarea {
  resize: vertical;
  min-height: 110px;
  font-family: inherit;
  line-height: 1.55;
}

.intake-submit-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 8px;
}

.intake-promise {
  font-size: 0.84rem;
  color: rgba(247,245,242,.55);
  flex: 1;
  min-width: 220px;
  line-height: 1.55;
}

.form-status {
  width: 100%;
  font-size: 0.88rem;
  min-height: 1.2em;
  margin-top: 14px;
}

.form-status.is-success { color: #6fd58a; }
.form-status.is-error { color: #ef6e6e; }

/* =============================================================
   SUB-PAGE COMPONENTS
   ============================================================= */

/* ===== Page hero (smaller than homepage hero) ===== */
.page-hero {
  position: relative;
  min-height: 460px;
  height: 58vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--cream);
  padding-top: 80px;
}

.page-hero-compact {
  min-height: 380px;
  height: 46vh;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(0,0,0,.82) 0%,
    rgba(0,0,0,.68) 40%,
    rgba(0,0,0,.45) 70%,
    rgba(0,0,0,.30) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.page-hero-content h1 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  color: var(--cream);
  margin: 14px 0 18px;
  -webkit-text-stroke: 0.7px currentColor;
  paint-order: stroke fill;
  line-height: 1.08;
}

.page-hero-content p {
  font-size: 1.08rem;
  color: rgba(247,245,242,.85);
  line-height: 1.65;
  margin: 0;
}

/* ===== Service detail (diensten.html) ===== */
.service-detail {
  padding: var(--section-pad) 0;
  background: var(--bg) !important;
}

.service-detail-alt {
  background: var(--bg-alt) !important;
}

.svc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.svc-detail-content h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 14px 0 18px;
}

.svc-detail-content .lead {
  font-size: 1.12rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 18px;
  font-weight: 500;
}

.svc-detail-content p {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 22px;
}

.svc-detail-image img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  display: block;
}

.svc-detail-reverse .svc-detail-image { order: -1; }

/* ===== Check list (gold checkmarks) ===== */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.55;
}

.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C5A55A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
}

/* ===== Section CTA wrapper (homepage portfolio button) ===== */
.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ===== Page-end CTA blocks ===== */
.page-cta {
  padding: 88px 0;
  background: var(--bg-alt) !important;
}

.page-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.page-cta h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin-bottom: 16px;
  color: var(--cream);
}

.page-cta p {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 28px;
}

/* ===== Projecten page ===== */
.proj-section {
  padding: var(--section-pad) 0;
  background: var(--bg) !important;
}

.proj-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 50px;
}

.proj-filter {
  padding: 11px 22px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--transition);
}

.proj-filter:hover {
  border-color: var(--bronze);
  color: var(--cream);
}

.proj-filter.is-active {
  background: var(--bronze);
  border-color: var(--bronze);
  color: var(--bg-deepest);
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.proj-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.proj-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.proj-year {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0,0,0,.7);
  color: var(--bronze-light);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.proj-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.proj-cat {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--bronze);
  font-weight: 700;
  margin-bottom: 4px;
}

.proj-card h3 {
  font-size: 1.2rem;
  margin: 0 0 4px;
  -webkit-text-stroke: 0.4px currentColor;
  color: var(--cream);
}

.proj-loc {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.proj-card p:not(.proj-loc) {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

/* ===== Over ons page ===== */
.over-story {
  padding: var(--section-pad) 0;
  background: var(--bg) !important;
}

.over-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.over-story-img img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  display: block;
}

.over-story-text h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin: 14px 0 20px;
}

.over-story-text .lead {
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 18px;
}

.over-story-text p {
  color: var(--text-soft);
  line-height: 1.72;
  margin-bottom: 16px;
}

.over-stats {
  padding: 70px 0;
  background: var(--bg-alt) !important;
}

.over-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.over-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.over-stat span:first-child,
.over-stat .count-up {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--bronze);
  line-height: 1;
  letter-spacing: -.02em;
  font-family: var(--font-heading);
}

.over-stat small {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.over-waarden {
  padding: var(--section-pad) 0;
  background: var(--bg) !important;
}

.waarden-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.waarde-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.waarde-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.waarde-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(197,165,90,.14);
  border: 1.5px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bronze-light);
  margin-bottom: 22px;
}

.waarde-icon svg {
  width: 28px;
  height: 28px;
}

.waarde-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  -webkit-text-stroke: 0.4px currentColor;
}

.waarde-card p {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0;
}

/* ===== Contact page ===== */
.cont-info {
  padding: 80px 0;
  background: var(--bg) !important;
}

.cont-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.cont-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: var(--text);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.cont-info-card:hover {
  transform: translateY(-3px);
  border-color: var(--bronze);
  box-shadow: var(--shadow);
  background: var(--bg-card-hover);
}

.cont-info-static {
  cursor: default;
}

.cont-info-static:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: none;
  background: var(--bg-card);
}

.cont-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(197,165,90,.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bronze-light);
}

.cont-info-icon svg {
  width: 22px;
  height: 22px;
}

.cont-info-card > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cont-info-card small {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--bronze);
  font-weight: 700;
  margin-bottom: 4px;
}

.cont-info-card strong {
  font-size: 1.05rem;
  color: var(--cream);
  font-weight: 700;
  font-family: var(--font-heading);
}

.cont-info-card span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ===================== FOOTER ===================== */
.footer {
  color: rgba(247,245,242,.86);
  padding: 80px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 68px;
  width: auto;
  margin-bottom: 22px;
}

.footer-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-perks svg {
  width: 18px;
  height: 18px;
  color: var(--bronze);
  flex-shrink: 0;
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bronze);
  margin-bottom: 20px;
  -webkit-text-stroke: 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  font-size: 0.92rem;
  color: rgba(247,245,242,.7);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--bronze-light); }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  color: var(--bronze);
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(220,197,145,.42);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bronze);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--bronze);
  color: #0A0B0C;
  transform: translateY(-2px);
}

.footer-social svg { width: 17px; height: 17px; }

.footer-bottom {
  border-top: 1px solid rgba(220,197,145,.14);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(247,245,242,.5);
}

.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: rgba(247,245,242,.5); }
.footer-bottom-links a:hover { color: var(--bronze-light); }

/* ===================== WHATSAPP FLOATING ===================== */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
  z-index: 90;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-btn svg {
  width: 42px;
  height: 42px;
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,.32);
}

/* ===================== TIP MODAL ===================== */
.tip-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}

.tip-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.tip-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,17,19,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tip-modal-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.96);
  width: 85vw;
  max-width: 900px;
  max-height: 85vh;
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--bronze);
  border: 1px solid var(--border);
  border-top: 6px solid var(--bronze);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}

.tip-modal.is-open .tip-modal-panel {
  transform: translate(-50%, -50%) scale(1);
}

.tip-modal-panel.is-news {
  border-top-color: #2EA043;
}

.tip-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bronze);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 4px 14px rgba(197,165,90,.45);
  transition: transform var(--transition);
}

.tip-modal-close:hover {
  transform: rotate(90deg) scale(1.05);
}

.tip-modal-close svg { width: 20px; height: 20px; }

.tip-modal-img {
  height: 280px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-alt);
}

.tip-modal-body {
  padding: 32px 40px 40px;
}

.tip-modal-body .tip-modal-tag {
  margin-bottom: 16px;
}

.tip-modal-body h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 18px;
}

.tip-modal-body #tipModalDesc p {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 1rem;
}

.tip-modal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 20px 0 26px;
}

/* ===================== ANIMATIONS ===================== */
/*
   Strategy: elements are VISIBLE by default (no FOUC).
   JS adds .js-ready to <html> and marks off-screen elements as .reveal-pending.
   IntersectionObserver removes .reveal-pending → animation triggers on scroll.

   The displacement is dramatic (120px) and easing is "expo-out" for a smooth
   swoosh from the side of the screen — like the user requested.
*/

/* Reveal-x: swoosh from LEFT */
html.js-ready .reveal-x.reveal-pending {
  opacity: 0;
  transform: translateX(-180px);
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1),
              transform 1.1s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}

/* Reveal-x-r: swoosh from RIGHT */
html.js-ready .reveal-x-r.reveal-pending {
  opacity: 0;
  transform: translateX(180px);
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1),
              transform 1.1s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}

/* Stagger: children come from below as a coordinated wave */
html.js-ready .stagger.reveal-pending > * {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1),
              transform .9s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}

/* Generic swoosh-stagger transition setup */
html.js-ready .swoosh-stagger.reveal-pending > * {
  opacity: 0;
  transition: opacity .85s cubic-bezier(.16, 1, .3, 1),
              transform 1.15s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}

/* Default fallback when no grid-specific pattern matches: alternate L/R */
html.js-ready .swoosh-stagger.reveal-pending > *:nth-child(odd) {
  transform: translateX(-220px) scale(.94);
}
html.js-ready .swoosh-stagger.reveal-pending > *:nth-child(even) {
  transform: translateX(220px) scale(.94);
}

/* ===== Position-aware patterns per grid (cards come from nearest screen edge) ===== */

/* hp-vakwerk-points (3-col): L | up | R */
html.js-ready .hp-vakwerk-points.swoosh-stagger.reveal-pending > *:nth-child(3n+1) {
  transform: translateX(-220px) scale(.94);
}
html.js-ready .hp-vakwerk-points.swoosh-stagger.reveal-pending > *:nth-child(3n+2) {
  transform: translateY(60px) scale(.96);
}
html.js-ready .hp-vakwerk-points.swoosh-stagger.reveal-pending > *:nth-child(3n) {
  transform: translateX(220px) scale(.94);
}

/* 4-col grids: cols 1-2 from LEFT, cols 3-4 from RIGHT */
html.js-ready .hp-svc-grid.swoosh-stagger.reveal-pending > *:nth-child(4n+1),
html.js-ready .hp-svc-grid.swoosh-stagger.reveal-pending > *:nth-child(4n+2),
html.js-ready .hp-werk-steps.swoosh-stagger.reveal-pending > *:nth-child(4n+1),
html.js-ready .hp-werk-steps.swoosh-stagger.reveal-pending > *:nth-child(4n+2),
html.js-ready .belofte-grid.swoosh-stagger.reveal-pending > *:nth-child(4n+1),
html.js-ready .belofte-grid.swoosh-stagger.reveal-pending > *:nth-child(4n+2),
html.js-ready .cont-info-grid.swoosh-stagger.reveal-pending > *:nth-child(4n+1),
html.js-ready .cont-info-grid.swoosh-stagger.reveal-pending > *:nth-child(4n+2),
html.js-ready .over-stats-grid.swoosh-stagger.reveal-pending > *:nth-child(4n+1),
html.js-ready .over-stats-grid.swoosh-stagger.reveal-pending > *:nth-child(4n+2),
html.js-ready .waarden-grid.swoosh-stagger.reveal-pending > *:nth-child(4n+1),
html.js-ready .waarden-grid.swoosh-stagger.reveal-pending > *:nth-child(4n+2) {
  transform: translateX(-220px) scale(.94);
}
html.js-ready .hp-svc-grid.swoosh-stagger.reveal-pending > *:nth-child(4n+3),
html.js-ready .hp-svc-grid.swoosh-stagger.reveal-pending > *:nth-child(4n),
html.js-ready .hp-werk-steps.swoosh-stagger.reveal-pending > *:nth-child(4n+3),
html.js-ready .hp-werk-steps.swoosh-stagger.reveal-pending > *:nth-child(4n),
html.js-ready .belofte-grid.swoosh-stagger.reveal-pending > *:nth-child(4n+3),
html.js-ready .belofte-grid.swoosh-stagger.reveal-pending > *:nth-child(4n),
html.js-ready .cont-info-grid.swoosh-stagger.reveal-pending > *:nth-child(4n+3),
html.js-ready .cont-info-grid.swoosh-stagger.reveal-pending > *:nth-child(4n),
html.js-ready .over-stats-grid.swoosh-stagger.reveal-pending > *:nth-child(4n+3),
html.js-ready .over-stats-grid.swoosh-stagger.reveal-pending > *:nth-child(4n),
html.js-ready .waarden-grid.swoosh-stagger.reveal-pending > *:nth-child(4n+3),
html.js-ready .waarden-grid.swoosh-stagger.reveal-pending > *:nth-child(4n) {
  transform: translateX(220px) scale(.94);
}

/* Bento portfolio (irregular layout, tile-based) */
html.js-ready .hp-port-bento.swoosh-stagger.reveal-pending > .tile-1,
html.js-ready .hp-port-bento.swoosh-stagger.reveal-pending > .tile-4,
html.js-ready .hp-port-bento.swoosh-stagger.reveal-pending > .tile-5 {
  transform: translateX(-260px) scale(.94);
}
html.js-ready .hp-port-bento.swoosh-stagger.reveal-pending > .tile-2,
html.js-ready .hp-port-bento.swoosh-stagger.reveal-pending > .tile-3,
html.js-ready .hp-port-bento.swoosh-stagger.reveal-pending > .tile-6 {
  transform: translateX(260px) scale(.94);
}

/* proj-grid (9 cards in 3-col): col 1 L, col 2 up, col 3 R */
html.js-ready .proj-grid.swoosh-stagger.reveal-pending > *:nth-child(3n+1) {
  transform: translateX(-220px) scale(.94);
}
html.js-ready .proj-grid.swoosh-stagger.reveal-pending > *:nth-child(3n+2) {
  transform: translateY(60px) scale(.96);
}
html.js-ready .proj-grid.swoosh-stagger.reveal-pending > *:nth-child(3n) {
  transform: translateX(220px) scale(.94);
}

/* FAQ list (vertical stack): all from below */
html.js-ready .faq-list.swoosh-stagger.reveal-pending > * {
  transform: translateY(40px) scale(.97);
}

/* MOBILE: convert all swoosh to gentle slide-up (no horizontal motion in single column) */
@media (max-width: 768px) {
  html.js-ready .swoosh-stagger.reveal-pending > * {
    transform: translateY(36px) scale(.97) !important;
  }
}

/* is-visible state: animate to final position */
.reveal-x.is-visible,
.reveal-x-r.is-visible {
  opacity: 1;
  transform: none;
}

.stagger.is-visible > *,
.swoosh-stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

/* Staggered delay so children appear in sequence — more pronounced for theatrical effect */
.stagger.is-visible > *:nth-child(1),
.swoosh-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.is-visible > *:nth-child(2),
.swoosh-stagger.is-visible > *:nth-child(2) { transition-delay: .12s; }
.stagger.is-visible > *:nth-child(3),
.swoosh-stagger.is-visible > *:nth-child(3) { transition-delay: .24s; }
.stagger.is-visible > *:nth-child(4),
.swoosh-stagger.is-visible > *:nth-child(4) { transition-delay: .36s; }
.stagger.is-visible > *:nth-child(5),
.swoosh-stagger.is-visible > *:nth-child(5) { transition-delay: .48s; }
.stagger.is-visible > *:nth-child(6),
.swoosh-stagger.is-visible > *:nth-child(6) { transition-delay: .60s; }
.stagger.is-visible > *:nth-child(7),
.swoosh-stagger.is-visible > *:nth-child(7) { transition-delay: .72s; }
.stagger.is-visible > *:nth-child(8),
.swoosh-stagger.is-visible > *:nth-child(8) { transition-delay: .84s; }
.stagger.is-visible > *:nth-child(9),
.swoosh-stagger.is-visible > *:nth-child(9) { transition-delay: .96s; }

@media (prefers-reduced-motion: reduce) {
  html.js-ready .reveal-x.reveal-pending,
  html.js-ready .reveal-x-r.reveal-pending,
  html.js-ready .stagger.reveal-pending > *,
  html.js-ready .swoosh-stagger.reveal-pending > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-slide { animation: none !important; }
}

/* ===================== FAQ ===================== */
.hp-faq {
  padding: var(--section-pad) 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item.is-open {
  border-color: var(--bronze);
  background: var(--bg-card-hover);
  box-shadow: 0 8px 24px rgba(197,165,90,.18);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -.01em;
  line-height: 1.35;
  cursor: pointer;
  -webkit-text-stroke: 0.3px currentColor;
  paint-order: stroke fill;
  transition: color var(--transition);
}

.faq-q:hover { color: var(--bronze-light); }
.faq-q:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: -2px;
  border-radius: var(--r);
}

.faq-chevron {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--bronze);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

/* Smooth open/close via grid-template-rows trick (modern CSS) */
.faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.4,0,.2,1);
}

.faq-item.is-open .faq-a-wrap {
  grid-template-rows: 1fr;
}

.faq-a-wrap > .faq-a {
  overflow: hidden;
  min-height: 0;
}

.faq-a {
  padding: 0 26px 4px;
}

.faq-item.is-open .faq-a {
  padding: 0 26px 22px;
}

.faq-a p {
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}

/* =============================================================
   SECTION-BACKGROUND CASCADE (single source of truth, !important)
   ============================================================= */
.hp-overons   { background: var(--bg) !important; }
.hp-vakwerk   { background: var(--bg-alt) !important; }
.hp-services  { background: var(--bg) !important; }
.hp-werkwijze { background: var(--bg-alt) !important; }
.hp-portfolio { background: var(--bg) !important; }
.hp-tips      { background: var(--bg-alt) !important; }
.hp-greviews  { background: var(--bg) !important; }
.hp-belofte   { background: var(--bg-alt) !important; }
.hp-faq       { background: var(--bg) !important; }
.footer       { background: #0A0B0C !important; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  :root { --section-pad: 88px; }

  .nav-links { display: none; }
  .menu-toggle { display: flex; }

  .nav-phone span { display: none; }

  .hp-overons-grid { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hp-overons-text .eyebrow { justify-content: center; }
  .hp-overons-text .eyebrow::after { content: ''; width: 32px; height: 1.5px; background: var(--bronze); }

  .hp-svc-grid { grid-template-columns: 1fr 1fr; gap: 18px; }

  .photo-ring { max-width: 380px; margin: 0 auto; }

  .hp-werk-steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .ww-connector { display: none; }

  .hp-port-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .tile-1 { grid-column: span 2; }
  .tile-6 { grid-column: span 2; }
  .bento-tile { min-height: 220px; }

  .hp-vakwerk-points { grid-template-columns: 1fr; gap: 24px; }
  .hp-vakwerk-stats { grid-template-columns: 1fr 1fr 1fr; }

  .belofte-grid { grid-template-columns: 1fr 1fr; }

  .svc-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-detail-reverse .svc-detail-image { order: 0; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .over-story-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .over-story-text .eyebrow { justify-content: center; }
  .over-story-text .eyebrow::after { content: ''; width: 32px; height: 1.5px; background: var(--bronze); }
  .over-stats-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .waarden-grid { grid-template-columns: 1fr 1fr; }
  .cont-info-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 68px; --container-pad: 18px; }

  .nav-inner { padding: 14px 18px; }
  .nav-logo img { height: 44px; }
  .nav-actions .btn { display: none; }
  .nav-phone { display: none; }

  h1 { font-size: 2.2rem; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-desc { font-size: 1rem; }
  .hero-stats { gap: 22px; }
  .hero-stat strong { font-size: 1.25rem; }

  .photo-ring { max-width: 320px; width: 100%; }
  .intake-wrap { padding: 32px 24px 28px; }

  .hp-svc-grid { grid-template-columns: 1fr; }
  .hp-svc-feature { grid-column: auto; }

  .hp-werk-steps { grid-template-columns: 1fr; }

  .hp-port-bento { grid-template-columns: 1fr; }
  .tile-1, .tile-6 { grid-column: auto; }
  .bento-tile { min-height: 240px; }

  .hp-vakwerk-stats { grid-template-columns: 1fr; gap: 32px; }

  .belofte-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .belofte-card { padding: 26px 22px 24px; }

  .intake-wrap { padding: 28px 22px 28px; }
  .intake-fields-grid { grid-template-columns: 1fr; }
  .intake-fields-grid input[name="telefoon"],
  .intake-fields-grid textarea { grid-column: auto; }
  .intake-submit-row { flex-direction: column; align-items: stretch; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .hp-tips-card { width: 290px; }
  .hpgr-card { width: 320px; }

  .page-hero { min-height: 380px; height: 50vh; padding-top: 72px; }
  .page-hero-compact { min-height: 320px; height: 42vh; }
  .proj-grid { grid-template-columns: 1fr; }
  .over-stats-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .waarden-grid { grid-template-columns: 1fr; }
  .cont-info-grid { grid-template-columns: 1fr; }
  .proj-filters { gap: 8px; }
  .proj-filter { padding: 9px 16px; font-size: 0.85rem; }
  .page-cta { padding: 60px 0; }

  .tip-modal-panel { width: 92vw; max-height: 88vh; }
  .tip-modal-img { height: 200px; }
  .tip-modal-body { padding: 24px 22px 28px; }

  .whatsapp-btn { width: 50px; height: 50px; bottom: 18px; right: 18px; }
  .whatsapp-btn svg { width: 38px; height: 38px; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 12px 14px; gap: 8px; }
  .nav-logo img { height: 38px; }
  .lang-btn { width: 32px; height: 32px; }
  .lang-btn svg { width: 18px; height: 14px; }
}
