/* ============================================================
   VAN SONSBEEK GLAS & SCHILDERWERK - styles.css
   ============================================================ */

/* ----- Design tokens ----- */
:root {
  --color-red:        #E03137;
  --color-blue:       #0D47A1;
  --color-blue-dark:  #0a3a82;
  --color-blue-light: #e8f0fe;
  --color-yellow:     #FFD100;
  --color-black:      #1A1A1A;
  --color-gray:       #F1F3F5;
  --color-gray-mid:   #d8dde3;
  --color-white:      #FFFFFF;
  --color-text:       #2d2d2d;
  --color-text-light: #5c6370;

  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 10px rgba(0,0,0,0.07);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.11);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.16);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --header-h:  72px;
  --utility-h: 40px;

  scroll-padding-top: calc(var(--header-h) + 8px);
}

/* ----- Reset ----- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
address { font-style: normal; }
a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color 150ms var(--ease);
}
a:hover { color: var(--color-blue-dark); }
a:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ----- Container ----- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease),
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease);
}
.btn:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 3px; }

.btn--primary {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}
.btn--primary:hover {
  background: var(--color-blue-dark);
  border-color: var(--color-blue-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,71,161,0.28);
}

.btn--secondary {
  background: transparent;
  color: var(--color-blue);
  border-color: var(--color-blue);
}
.btn--secondary:hover {
  background: var(--color-blue-light);
  color: var(--color-blue-dark);
  border-color: var(--color-blue-dark);
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-white);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--full { width: 100%; justify-content: center; }

/* ============================================================
   UTILITY BAR
   ============================================================ */
.utility-bar {
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.78rem;
  height: var(--utility-h);
  display: flex;
  align-items: center;
}
.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}
.utility-bar__usps {
  display: flex;
  gap: 1.5rem;
}
.utility-bar__usps li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.utility-bar__usps .check {
  color: var(--color-yellow);
  font-size: 0.85rem;
  font-weight: 700;
}
.utility-bar__contact {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.utility-bar__contact a {
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.utility-bar__contact a:hover { color: var(--color-yellow); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 250ms var(--ease);
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.1); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: 100%;
}
.header__logo img {
  height: 46px;
  width: auto;
}
.header__nav { flex: 1; }
.header__nav ul {
  display: flex;
  gap: 0.1rem;
}
.header__nav a {
  display: block;
  color: var(--color-black);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: color 150ms var(--ease), background 150ms var(--ease);
}
.header__nav a:hover {
  color: var(--color-blue);
  background: var(--color-blue-light);
}
.header__cta {
  flex-shrink: 0;
  font-size: 0.875rem;
  padding: 0.6rem 1.2rem;
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}
.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-black);
  border-radius: 2px;
  transition: transform 300ms var(--ease), opacity 300ms var(--ease);
}
.header__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - var(--utility-h));
  display: flex;
  align-items: center;
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: 55% center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(5, 15, 40, 0.72) 0%,
    rgba(5, 15, 40, 0.55) 55%,
    rgba(5, 15, 40, 0.25) 100%
  );
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
  width: 100%;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-yellow);
  background: rgba(255,209,0,0.1);
  border: 1px solid rgba(255,209,0,0.25);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.12;
  margin-bottom: 0.6rem;
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  margin-bottom: 1.75rem;
}
.hero__usps {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hero__usps li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255,255,255,0.88);
  font-size: 1rem;
}
.hero__usps li::before {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--color-blue);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
}
.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero form card */
.hero__form-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.form-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 1.25rem;
  padding-bottom: 0.875rem;
  border-bottom: 3px solid var(--color-blue);
}

/* ============================================================
   FORMS (shared)
   ============================================================ */
.form__group { margin-bottom: 1rem; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 0.3rem;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1.5px solid var(--color-gray-mid);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(13,71,161,0.1);
}
.form input.field-error,
.form select.field-error,
.form textarea.field-error {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(224,49,55,0.1);
}
.form textarea { resize: vertical; min-height: 130px; }
.form__note {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
}
.form__fallback {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-top: 0.75rem;
  text-align: center;
}
.form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: #e8f5e9;
  border-radius: var(--radius-sm);
  color: #1b5e20;
  font-weight: 600;
  gap: 0.5rem;
  min-height: 180px;
}
.form__success svg { color: #2e7d32; }

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section { padding: 5.5rem 0; }
.section--gray { background: var(--color-gray); }

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.7rem;
}
.section__accent {
  width: 56px;
  height: 4px;
  background: var(--color-blue);
  border-radius: 2px;
  margin: 0.8rem auto;
}
.section__intro {
  max-width: 580px;
  margin: 0.75rem auto 0;
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}
.section__cta {
  text-align: center;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.section__cta p {
  color: var(--color-text-light);
  font-size: 1rem;
}
.section__supertitle {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-blue);
  margin-bottom: 0.5rem;
}

/* Placeholder images */
.placeholder-img {
  background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 60%, #1a2f50 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 200px;
}
.placeholder-img--tall  { min-height: 420px; border-radius: var(--radius-md); }
.placeholder-img--gallery { min-height: 230px; }
.placeholder-label {
  background: rgba(0,0,0,0.45);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-family: monospace;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

/* ============================================================
   WERKZAAMHEDEN CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}
.card__img {
  position: relative;
  height: 190px;
  overflow: hidden;
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.card:hover .card__img img { transform: scale(1.06); }

.card__icon {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 56px;
  height: 56px;
  background: none;
}
.card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.card__body {
  padding: 1.5rem;
  border-top: 3px solid var(--color-blue);
}
.card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.55rem;
}
.card__text {
  color: var(--color-text-light);
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 150ms var(--ease), color 150ms var(--ease);
}
.card__link:hover { gap: 0.55rem; color: var(--color-blue-dark); }

/* Card placeholder gradients (distinctive per service) */
.card__img.card--buiten   { background: linear-gradient(135deg, #1a3a2e 0%, #2d6a4f 100%); }
.card__img.card--binnen   { background: linear-gradient(135deg, #2d2a1a 0%, #6b5e2a 100%); }
.card__img.card--latex    { background: linear-gradient(135deg, #1a1a3a 0%, #2a3a6b 100%); }
.card__img.card--houtrot  { background: linear-gradient(135deg, #2a1a10 0%, #6b3a1a 100%); }
.card__img.card--gevel    { background: linear-gradient(135deg, #101a2a 0%, #1a3a6b 100%); }
.card__img.card--glas     { background: linear-gradient(135deg, #0a2a2a 0%, #1a5a6b 100%); }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews__overall {
  text-align: center;
  margin-bottom: 2.75rem;
}
.reviews__score-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-white);
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
}
.reviews__number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1;
}
.reviews__stars-big { font-size: 1.75rem; color: var(--color-yellow); line-height: 1; }
.reviews__meta { text-align: left; }
.reviews__meta span { display: block; font-size: 0.8rem; color: var(--color-text-light); }
.reviews__meta strong { font-size: 0.85rem; color: var(--color-text); }

/* Carousel */
.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.carousel-overflow {
  flex: 1;
  overflow: hidden;
}
.reviews-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.reviews-track .review-card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  min-width: 0;
}
.carousel-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1.5px solid var(--color-gray-mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  box-shadow: var(--shadow-sm);
  transition: background 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease), transform 150ms var(--ease);
}
.carousel-btn:hover:not(:disabled) {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: var(--color-white);
  transform: scale(1.08);
}
.carousel-btn:disabled { opacity: 0.3; cursor: default; }
.carousel-btn:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 3px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gray-mid);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}
.carousel-dot.active {
  background: var(--color-blue);
  transform: scale(1.4);
}
.review-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-card__badge {
  display: inline-block;
  background: var(--color-yellow);
  color: var(--color-black);
  font-size: 0.62rem;
  font-weight: 700;
  font-family: monospace;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}
.review-card__stars { font-size: 1.15rem; color: var(--color-yellow); margin-bottom: 0.7rem; }
.review-card__text {
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  font-style: italic;
}
.review-card__author { display: flex; flex-direction: column; gap: 0.1rem; }
.review-card__author strong { font-size: 0.875rem; color: var(--color-black); }
.review-card__author span  { font-size: 0.8rem; color: var(--color-text-light); }

/* ============================================================
   OVER ONS
   ============================================================ */
.over-ons__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.over-ons__content .section__title { text-align: left; margin-bottom: 1rem; }
.over-ons__content p {
  color: var(--color-text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}
.over-ons__aanpak {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.over-ons__aanpak li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--color-text);
}
.over-ons__aanpak li::before {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  background-color: var(--color-blue);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
}
.over-ons__img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1;
}
.over-ons__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% center;
}

/* ============================================================
   PROJECTEN GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 0;
  position: relative;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.gallery-item:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 3px; }
.gallery-item .placeholder-img {
  transition: transform 500ms var(--ease);
}
.gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 500ms var(--ease);
}
.gallery-item:hover img { transform: scale(1.04); }

/* Label onderaan de gallerijfoto */
.gallery-item__label {
  display: block;
  background: rgba(13, 71, 161, 0.85);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  text-align: center;
  transition: background 200ms var(--ease);
}
.gallery-item:hover .gallery-item__label {
  background: var(--color-blue);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.2s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox__caption {
  background: rgba(255,255,255,0.95);
  color: var(--color-black);
  padding: 0.875rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.lightbox__caption strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-blue);
}
.lightbox__caption span {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.55;
}
.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2.25rem;
  color: var(--color-white);
  background: rgba(255,255,255,0.1);
  border: none;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 150ms var(--ease), background 150ms var(--ease);
}
.lightbox__close:hover { opacity: 1; background: rgba(255,255,255,0.2); }
.lightbox__img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  display: block;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4.5rem;
  align-items: start;
}
.contact__form-col .section__title { text-align: left; }
.contact__intro {
  color: var(--color-text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}
.contact__info-col { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.contact__phone-block {
  background: var(--color-blue);
  color: var(--color-white);
  padding: 1.75rem 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 6px 24px rgba(13,71,161,0.25);
}
.contact__phone-block p {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 0.35rem;
  font-weight: 500;
}
.contact__phone-link {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  display: block;
  transition: color 150ms var(--ease);
}
.contact__phone-link:hover { color: var(--color-yellow); }

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact__details li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.9rem;
}
.contact__details svg { flex-shrink: 0; color: var(--color-blue); margin-top: 2px; }
.contact__details a { color: var(--color-text); font-weight: 500; }
.contact__details a:hover { color: var(--color-blue); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-black);
  color: rgba(255,255,255,0.75);
}
.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo-wrap {
  background: var(--color-white);
  display: inline-block;
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
  margin-bottom: 1rem;
}
.footer__logo-wrap img { height: 40px; width: auto; }
.footer__col p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
}
.footer__col h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.1rem;
}
.footer__col ul li { margin-bottom: 0.55rem; }
.footer__col ul a {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  transition: color 150ms var(--ease);
}
.footer__col ul a:hover { color: var(--color-yellow); }

.footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  margin-bottom: 0.875rem;
}
.footer__contact-list svg { flex-shrink: 0; color: var(--color-blue); opacity: 0.85; margin-top: 2px; }
.footer__contact-list address { color: rgba(255,255,255,0.65); }

.footer__bottom {
  padding: 1.25rem 0;
  text-align: center;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn    { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp  { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: translateX(0); } }

/* Scroll-reveal base state */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal--from-right { transform: translateX(22px); }
.reveal--from-right.revealed { transform: translateX(0); }
.reveal--delay   { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal--delay-3 { transition-delay: 0.36s; }

/* Hero content uses CSS animation (not scroll-reveal) */
.hero__content  { animation: fadeInUp    0.8s var(--ease) 0.15s both; }
.hero__form-card { animation: fadeInRight 0.8s var(--ease) 0.3s  both; }

/* ============================================================
   prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal--from-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cards-grid        { grid-template-columns: repeat(2, 1fr); }
  .hero__inner       { grid-template-columns: 1fr; }
  .hero__form-card   { max-width: 520px; }
  .over-ons__inner   { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact__inner    { grid-template-columns: 1fr; }
  .contact__info-col { position: static; }
  .footer__main      { grid-template-columns: 1fr 1fr; }
  .footer__col--brand { grid-column: 1 / -1; }
  .reviews-track .review-card { flex: 0 0 calc((100% - 1.25rem) / 2); }
  .gallery-grid      { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .utility-bar__usps { display: none; }
  .utility-bar__contact { width: 100%; justify-content: center; }

  .header__nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-mid);
    box-shadow: var(--shadow-md);
    padding: 1.25rem 1.25rem 2rem;
    z-index: 99;
    overflow-y: auto;
    max-height: calc(100vh - var(--header-h));
  }
  .header__nav.open { display: block; }
  .header__nav ul   { flex-direction: column; gap: 0; }
  .header__nav li   { border-bottom: 1px solid var(--color-gray); }
  .header__nav a    { padding: 0.875rem 0.5rem; font-size: 1rem; display: block; }
  .header__cta      { display: none; }
  .header__hamburger { display: flex; }

  /* Hero op mobiel: afbeelding alleen achter de tekst, formulier op witte pagina eronder */
  .hero          { background: none; min-height: auto; }
  .hero__overlay { display: none; }
  .hero__inner   { padding: 0; gap: 0; }
  .hero__content {
    padding: 2rem 1.25rem 2.75rem;
    background-image:
      linear-gradient(rgba(5, 15, 40, 0.65), rgba(5, 15, 40, 0.65)),
      url('../img/hero-bg.jpg');
    background-size: cover, 260% auto;
    background-position: center, 35% center;
    background-repeat: no-repeat;
    text-align: center;
  }
  .hero__usps    { align-items: center; }
  .hero__buttons { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero__form-card {
    max-width: 100%;
    border-radius: 0;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.05);
    animation: fadeInUp 0.8s var(--ease) 0.35s both;
  }

  .section { padding: 4rem 0; }
  .cards-grid    { grid-template-columns: 1fr; }
  .reviews-track .review-card { flex: 0 0 100%; }
  .gallery-grid  { grid-template-columns: 1fr 1fr; }
  .form__row     { grid-template-columns: 1fr; }
  .footer__main  { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .reviews__score-badge { flex-wrap: wrap; justify-content: center; text-align: center; }
}
