/* ============================================
   RS-TECHNIEK Design System
   Versie 1.0
   ============================================ */

/* Google Fonts loaded via <link> in head.php for performance */

/* --- CSS Custom Properties --- */
:root {
  /* Kleuren */
  --primary: #CC8833;
  --primary-dark: #A66B20;
  --primary-light: #E8A84C;
  --primary-bg: #FFF5E6;
  --dark: #1A1A1A;
  --text: #333333;
  --text-light: #666666;
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-800: #2D2D2D;
  --gray-900: #1A1A1A;

  /* Typografie */
  --font-heading: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --border-radius: 8px;
  --border-radius-lg: 12px;

  /* Schaduwen */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 12px 40px rgba(0,0,0,0.15);

  /* Transities */
  --transition: 0.3s ease;
  --transition-fast: 0.15s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

/* --- Typografie --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: 2.75rem; margin-bottom: var(--space-lg); }
h2 { font-size: 2.25rem; margin-bottom: var(--space-lg); }
h3 { font-size: 1.5rem; margin-bottom: var(--space-md); }
h4 { font-size: 1.25rem; margin-bottom: var(--space-sm); }

p { margin-bottom: var(--space-md); }

.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.text-light { color: var(--text-light); }
.text-center { text-align: center; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--gray {
  background-color: var(--gray-100);
}

.section--dark {
  background-color: var(--gray-800);
  color: var(--white);
}

.section--primary-bg {
  background-color: var(--primary-bg);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section__subtitle {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

/* Grid */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --- Header / Navigatie --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  height: var(--header-height);
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  height: 64px;
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.header__logo img,
.header__logo svg {
  height: 50px;
  width: auto;
  transition: height var(--transition);
}

.header.scrolled .header__logo img,
.header.scrolled .header__logo svg {
  height: 38px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

/* Dropdown */
.nav__item {
  position: relative;
}

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}

.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown a {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  color: var(--text);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.nav__dropdown a:hover {
  background-color: var(--primary-bg);
  color: var(--primary);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--space-sm);
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--dark);
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: var(--gray-800);
  margin-top: var(--header-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.9) 0%, rgba(45,45,45,0.7) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: var(--white);
}

.hero__title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-lg);
  line-height: 1.15;
}

.hero__title span {
  color: var(--primary);
}

.hero__text {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
}

.hero__buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Hero aankondiging pill */
.hero__announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(204, 136, 51, 0.18);
  border: 1px solid rgba(204, 136, 51, 0.5);
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.9s ease both;
  animation-delay: 0.15s;
  opacity: 0;
  backdrop-filter: blur(6px);
}

.hero__announce strong {
  color: var(--primary);
}

.hero__announce-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(204,136,51,0.3);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(204,136,51,0.3); }
  50%       { box-shadow: 0 0 0 6px rgba(204,136,51,0.1); }
}

/* Page hero (smaller) */
.hero--page {
  min-height: 300px;
}

.hero--page .hero__title {
  font-size: 2.5rem;
}

/* --- Knoppen --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn--outline:hover {
  background-color: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn--outline-dark {
  background-color: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}

.btn--outline-dark:hover {
  background-color: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--dark {
  background-color: var(--dark);
  color: var(--white);
}

.btn--dark:hover {
  background-color: var(--gray-800);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* Phone CTA button */
.btn--phone {
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
}

.btn--phone:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

.btn--phone svg {
  width: 18px;
  height: 18px;
}

/* --- USP Balk --- */
.usp-bar {
  background-color: var(--white);
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--gray-200);
}

.usp-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.usp-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.usp-bar__icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
}

.usp-bar__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

.usp-bar__text {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Kaarten --- */
.card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card__body {
  padding: var(--space-lg);
}

.card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

.card__text {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.card__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.card__link:hover {
  gap: var(--space-sm);
}

.card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.card__link:hover svg {
  transform: translateX(4px);
}

/* Service card variant */
.card--service {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.card--service .card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  color: var(--primary);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--dark) 100%);
  padding: var(--space-3xl) 0;
  text-align: center;
  color: var(--white);
}

.cta-banner__title {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-banner__text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-xl);
}

.cta-banner__phone {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  display: block;
  margin-bottom: var(--space-xl);
}

.cta-banner__buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background-color: var(--gray-900);
  color: rgba(255,255,255,0.7);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer__logo {
  height: 40px;
  width: auto;
  margin-bottom: var(--space-lg);
}

.footer__about {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--primary);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer__bottom a {
  color: rgba(255,255,255,0.5);
}

.footer__bottom a:hover {
  color: var(--primary);
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

/* --- Formulier --- */
.form__group {
  margin-bottom: var(--space-lg);
}

.form__label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--dark);
  margin-bottom: var(--space-sm);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.875rem var(--space-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background-color: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(204, 136, 51, 0.15);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__input.error,
.form__select.error,
.form__textarea.error {
  border-color: #D32F2F;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.15);
}

.form-success {
  background-color: #E8F5E9;
  color: #2E7D32;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--border-radius);
  margin-top: var(--space-md);
  font-weight: 600;
}

/* --- Contactinfo blok --- */
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-color: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
}

/* --- Feature List (vinkjes) --- */
.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  background-color: var(--primary);
  mask-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");
  -webkit-mask-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");
  mask-size: contain;
  -webkit-mask-size: contain;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-lg);
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb__sep {
  color: rgba(255,255,255,0.3);
}

/* --- Google Maps --- */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px;
  height: 44px;
  background-color: var(--dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 998;
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* --- Responsive --- */

/* Tablet */
@media (max-width: 1024px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.85rem; }

  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .usp-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }

  .container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  /* Mobile nav */
  .nav__toggle {
    display: flex;
  }

  .nav__list {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-xl);
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .nav__list.active {
    transform: translateX(0);
  }

  .nav__link {
    display: block;
    padding: var(--space-md) 0;
    font-size: 1.1rem;
    width: 100%;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: var(--space-md);
    display: none;
  }

  .nav__item.open .nav__dropdown {
    display: block;
  }

  /* Mobile hero */
  .hero {
    min-height: 450px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero--page {
    min-height: 200px;
  }

  .hero--page .hero__title {
    font-size: 1.75rem;
  }

  .hero__buttons {
    flex-direction: column;
  }

  /* Mobile grids */
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .usp-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  /* Mobile footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  /* Mobile CTA banner */
  .cta-banner__title {
    font-size: 1.5rem;
  }

  .cta-banner__phone {
    font-size: 1.25rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .usp-bar__grid {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 1.5rem; }
}

/* ============================================
   MOTION & ANIMATIES (2026)
   ============================================ */

/* Keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroPulse {
  0%, 100% { transform: scale(1.02); }
  50%       { transform: scale(1.06); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes counterUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero animaties */
.hero__bg img {
  animation: heroPulse 12s ease-in-out infinite;
}

.hero__content {
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero__title {
  animation: fadeInUp 0.9s ease both;
  animation-delay: 0.3s;
  opacity: 0;
}

.hero__text {
  animation: fadeInUp 0.9s ease both;
  animation-delay: 0.5s;
  opacity: 0;
}

.hero__buttons {
  animation: fadeInUp 0.9s ease both;
  animation-delay: 0.7s;
  opacity: 0;
}

/* Scroll-animatie basis */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate--left {
  transform: translateX(-30px);
}

.animate--right {
  transform: translateX(30px);
}

.animate--scale {
  transform: scale(0.9);
}

.animate-in {
  opacity: 1 !important;
  transform: none !important;
}

/* Staggered children */
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.15s; }
.stagger > *:nth-child(3) { transition-delay: 0.25s; }
.stagger > *:nth-child(4) { transition-delay: 0.35s; }
.stagger > *:nth-child(5) { transition-delay: 0.45s; }
.stagger > *:nth-child(6) { transition-delay: 0.55s; }

/* Card hover verbetering */
.card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0,0,0,0.14);
}

/* Knop hover verbetering */
.btn {
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(204, 136, 51, 0.4);
}

/* ============================================
   OVERNAME BANNER (Van de Laar)
   ============================================ */
.overname-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: var(--space-md) 0;
  text-align: center;
}

.overname-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.overname-banner__badge {
  background: rgba(255,255,255,0.2);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.4);
}

.overname-banner__text {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

.overname-banner__text strong {
  font-weight: 800;
}

/* ============================================
   STATISTIEKEN SECTIE
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--dark) 100%);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(204,136,51,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stats-item {
  animation: counterUp 0.6s ease both;
}

.stats-item__number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
  display: block;
}

.stats-item__label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* USP bar animatie */
.usp-bar__item {
  transition: transform 0.3s ease;
}

.usp-bar__item:hover {
  transform: translateY(-4px);
}

.usp-bar__icon {
  transition: color 0.3s ease, transform 0.3s ease;
}

.usp-bar__item:hover .usp-bar__icon {
  transform: scale(1.15);
  color: var(--primary-dark);
}

/* Section header lijn animatie */
.section__subtitle {
  position: relative;
  display: inline-block;
}

/* CTA banner verbetering */
.cta-banner {
  background: linear-gradient(135deg, var(--gray-800) 0%, #0f0f0f 100%);
  background-size: 200% 200%;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* Responsive stats */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .stats-item__number {
    font-size: 2.25rem;
  }

  .overname-banner__inner {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Skip to content (accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--primary);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius);
  z-index: 10000;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: var(--space-md);
  color: var(--white);
}

/* --- Print styles --- */
@media print {
  .header,
  .whatsapp-float,
  .scroll-top,
  .cta-banner {
    display: none !important;
  }

  .hero {
    margin-top: 0;
    min-height: auto;
    padding: var(--space-xl) 0;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .lang-switch {
    display: none !important;
  }
}

/* --- Language Switcher --- */
li.lang-switch {
  display: flex !important;
  align-items: center;
  gap: 2px;
  margin-left: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.lang-switch a,
.lang-switch span {
  padding: 4px 8px;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  color: var(--text-light);
  transition: all 0.2s;
}

.lang-switch a:hover {
  color: var(--primary);
  background: var(--primary-bg);
}

.lang-switch .lang-switch__active {
  color: var(--white);
  background: var(--primary);
}

.lang-switch__sep {
  color: var(--gray-300);
  padding: 0 !important;
}

@media (max-width: 768px) {
  .lang-switch {
    margin-left: 0;
    margin-top: var(--space-sm);
    justify-content: center;
  }
}
