/* ============================================
   FENIKS BRANDBEVEILIGING – DESIGN SYSTEM
   ============================================ */

:root {
  /* Brand Colors */
  --primary: #CC2222;
  --primary-dark: #aa1a1a;
  --primary-light: #e83030;
  --accent: #FF6B35;
  --accent-dark: #e05a25;

  /* Dark Palette */
  --dark: #0f1923;
  --dark-2: #1a2636;
  --dark-3: #243347;

  /* Neutral */
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-500: #adb5bd;
  --gray-700: #495057;
  --gray-900: #212529;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-pad: 56px;
  --container: 1200px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow: 0 6px 18px rgba(0,0,0,0.09);
  --shadow-lg: 0 14px 32px rgba(0,0,0,0.13);
  --shadow-xl: 0 24px 56px rgba(0,0,0,0.16);

  /* Transitions */
  --trans: 0.3s cubic-bezier(0.4,0,0.2,1);
  --trans-fast: 0.18s ease;
}

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

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

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, border-color 0.24s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-large { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 3px 10px rgba(204,34,34,0.18);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(204,34,34,0.26);
}

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

.btn-white-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-white-outline:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.section-tag.light {
  color: #fff;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}
.section-title.light { color: #fff; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.7;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: var(--trans);
  background: linear-gradient(to bottom, rgba(10,15,25,0.75) 0%, transparent 100%);
}

.site-header.scrolled {
  background: rgba(15, 25, 35, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 0;
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ── Language Switcher Dropdown ── */
.lang-switcher {
  position: relative;
  margin-left: auto;
  flex-shrink: 0;
}

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 7px 12px;
  cursor: pointer;
  color: #fff;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background var(--trans-fast), border-color var(--trans-fast);
  white-space: nowrap;
}

.lang-trigger:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.30);
}

.lang-globe {
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
}

.lang-code {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lang-chevron {
  color: rgba(255,255,255,0.7);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  background: rgba(14, 22, 34, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 4px 12px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 9999;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
  color: rgba(255,255,255,0.75);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
  transition: background var(--trans-fast), color var(--trans-fast);
}

.lang-option:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.lang-option.active {
  color: #fff;
  font-weight: 600;
}

.lang-option-abbr {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  width: 22px;
  flex-shrink: 0;
}

.lang-option.active .lang-option-abbr {
  color: var(--red);
}

.lang-option-name {
  flex: 1;
}

.lang-check {
  opacity: 0;
  transition: opacity 0.15s;
  flex-shrink: 0;
}

.lang-option.active .lang-check {
  opacity: 1;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
  mix-blend-mode: screen;
  transition: opacity var(--trans-fast), transform var(--trans-fast), height var(--trans-fast);
}
.logo-img:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.logo-img-footer {
  height: 112px;
}







.main-nav {
  margin-left: auto;
  min-width: 0;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.nav-link {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: var(--trans-fast);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.header-cta {
  flex-shrink: 0;
  font-size: 0.88rem;
  padding: 10px 18px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--trans-fast);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  /* Extra space top & bottom so parallax translateY never reveals empty space */
  top: -25%;
  bottom: -25%;
  left: 0;
  right: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* transform is fully managed by JS (zoom-out + parallax combined) */
  will-change: transform;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 26%, rgba(204, 34, 34, 0.16), transparent 34%),
    linear-gradient(90deg, rgba(7, 12, 19, 0.90) 0%, rgba(10, 17, 26, 0.74) 42%, rgba(10, 17, 26, 0.42) 72%, rgba(18, 10, 10, 0.58) 100%),
    linear-gradient(180deg, rgba(7, 12, 19, 0.28) 0%, rgba(7, 12, 19, 0.12) 55%, rgba(7, 12, 19, 0.42) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 96px 24px 72px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  border: none;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 4px;
  margin-bottom: 22px;
  animation: fadeInUp 0.8s ease both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s 0.1s ease both;
}

.hero-title-accent {
  background: linear-gradient(90deg, #ff8888, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeInUp 0.8s 0.3s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  width: fit-content;
  animation: fadeInUp 0.8s 0.4s ease both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
}

.hero-stat-num {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hero-stat-num .accent {
  color: var(--accent);
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  white-space: nowrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  animation: fadeIn 1s 1s both;
  transition: color var(--trans-fast);
}
.hero-scroll-indicator:hover { color: rgba(255,255,255,0.9); }

.scroll-arrow {
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

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

/* ============================================
   DIENSTEN
   ============================================ */
.diensten {
  background: var(--gray-50);
}

.diensten-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}

.dienst-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  opacity: 0;
  transform: translateY(24px);
}
.dienst-card.revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.dienst-card:hover {
  border-color: rgba(204,34,34,0.24);
  box-shadow: var(--shadow);
  transform: translateY(-3px) !important;
}

.dienst-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.dienst-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.dienst-card:hover .dienst-card-img img { transform: scale(1.03); }

.dienst-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,25,35,0.15), rgba(15,25,35,0.55));
}

.dienst-icon {
  position: absolute;
  bottom: 16px;
  left: 20px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(204,34,34,0.22);
}

.dienst-card-body {
  padding: 28px 28px 24px;
}
.dienst-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.25;
}
.dienst-card-body p {
  color: var(--gray-700);
  font-size: 0.93rem;
  line-height: 1.58;
  margin-bottom: 18px;
}

.dienst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--trans-fast);
}
.dienst-link:hover { gap: 10px; }
.dienst-link span { font-size: 1.1rem; }

/* Highlight card – spans all 3 columns in row 2 or acts as 4th card */
.dienst-card-highlight {
  grid-column: 1 / -1;
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, #2d0a0a 100%);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-color: rgba(255,255,255,0.10);
}

.dienst-card-highlight-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(204,34,34,0.16), transparent 58%);
}

.dienst-card-body-highlight {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 40px;
  width: 100%;
}

.highlight-icon {
  flex-shrink: 0;
}

.dienst-card-body-highlight h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.dienst-card-body-highlight p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}

.highlight-features {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.highlight-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
}
.highlight-feature span {
  color: #7be87b;
  font-weight: 700;
}

.dienst-card-body-highlight .btn-white-outline {
  flex-shrink: 0;
  margin-left: auto;
}

/* ============================================
   SYSTEMEN
   ============================================ */
.systemen {
  background-color: var(--surface);
  padding: var(--section-pad) 0;
}

.sys-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
  margin-top: 36px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg);
}

.sys-carousel::-webkit-scrollbar {
  height: 8px;
}
.sys-carousel::-webkit-scrollbar-track {
  background: var(--bg);
  border-radius: 4px;
}
.sys-carousel::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 4px;
}

.sys-card {
  position: relative;
  flex: 0 0 280px;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  background-color: var(--bg);
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .sys-card {
    flex: 0 0 320px;
  }
}
@media (min-width: 1024px) {
  .sys-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow-x: visible;
    padding-bottom: 0;
  }
  .sys-card {
    flex: auto;
    height: 400px;
  }
}

.sys-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sys-card:hover .sys-img {
  transform: scale(1.03);
}

.sys-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 25, 35, 0.9) 0%, rgba(15, 25, 35, 0.4) 40%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  pointer-events: none;
}

.sys-overlay h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.sys-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================
   WAAROM FENIKS
   ============================================ */
.waarom {
  background: #fff;
}

.waarom-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.waarom-intro {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 32px;
}

.waarom-features {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.waarom-feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  opacity: 0;
  transform: translateX(-14px);
}
.waarom-feature.revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.waarom-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(204,34,34,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--trans-fast);
}
.waarom-feature:hover .waarom-feature-icon {
  background: rgba(204,34,34,0.15);
}

.waarom-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.waarom-feature p {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.waarom-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.waarom-card-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
}
.waarom-card-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.waarom-card-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(15,25,35,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 16px 24px;
  text-align: center;
  color: #fff;
}

.badge-number {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
}
.badge-number span { color: var(--accent); }
.badge-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.waarom-card-secondary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.secondary-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.secondary-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}
.secondary-stat-num .accent { color: rgba(255,200,100,0.9); }
.secondary-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  text-align: center;
  margin-top: 4px;
}

.secondary-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.2);
}

/* ============================================
   PROJECTEN
   ============================================ */
.projecten {
  background: var(--gray-50);
}

.projecten-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.project-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  opacity: 0;
  transform: translateY(24px);
}
.project-card.revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.project-card:hover {
  border-color: rgba(204,34,34,0.22);
  box-shadow: var(--shadow);
  transform: translateY(-3px) !important;
}

.project-card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}
.project-card-large .project-card-img { height: 280px; }

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.project-card:hover .project-card-img img { transform: scale(1.03); }

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(15,25,35,0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.project-tag-list { display: flex; gap: 8px; flex-wrap: wrap; }
.project-tag {
  background: rgba(204,34,34,0.85);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}

.project-card-body { padding: 22px; }

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
}

.project-year {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.project-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
}
.project-card-body p {
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.55;
}

.projecten-cta { text-align: center; }

/* ============================================
   OVER ONS
   ============================================ */
.over {
  position: relative;
  background: var(--dark);
  overflow: hidden;
}

.over-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(204,34,34,0.10), transparent 46%, rgba(255,255,255,0.03));
}

.over-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.over-content,
.over-visual,
.over-stats-grid {
  min-width: 0;
}

.over-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 20px;
}

.over-certs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 12px 18px;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background var(--trans-fast);
}
.cert-badge:hover { background: rgba(255,255,255,0.10); }

.over-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.over-stat-card {
  min-width: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 24px 22px;
  text-align: center;
  transition: background var(--trans-fast);
}
.over-stat-card:hover { background: rgba(255,255,255,0.08); }

.over-stat-num {
  min-width: 0;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  word-break: keep-all;
}
.over-stat-num span { color: var(--accent); }
.over-stat-label {
  min-width: 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
  word-break: keep-all;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: #fff;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 52px;
  align-items: start;
}

.contact-form-wrap {
  position: relative;
  min-width: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  min-width: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.93rem;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(204,34,34,0.10);
  background: #fff;
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e03030;
}

.form-error-msg {
  margin-top: -6px;
  color: #d92020;
  font-size: 0.88rem;
  font-weight: 500;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 60px 40px;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
}
.form-success.visible { display: flex; }
.form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}
.form-success p { color: var(--gray-700); }

.contact-info {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 34px 30px;
  position: sticky;
  top: 100px;
  min-width: 0;
}
.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 28px;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(204,34,34,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.contact-info-val {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--gray-900);
  transition: color var(--trans-fast);
}
a.contact-info-val:hover { color: var(--primary); }

.contact-cta-block {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 24px 22px;
  text-align: center;
  color: #fff;
}

.cta-block-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.contact-cta-block p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}
.contact-cta-block .btn-primary {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.contact-cta-block .btn-primary:hover {
  background: rgba(255,255,255,0.3);
  border-color: #fff;
}

/* ============================================
   WERKEN BIJ (CAREERS)
   ============================================ */
.werken-bij {
  background: var(--gray-50);
}

.wb-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 52px;
  align-items: start;
}

.wb-form-card {
  position: relative;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow);
}

.wb-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.wb-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
  min-width: 0;
}

.wb-side-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 30px 28px;
}
.wb-side-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 22px;
}

.wb-perks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wb-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.wb-perk-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(204,34,34,0.10);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.wb-cv-block {
  margin: 0;
}

/* CV file upload */
.wb-file {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px dashed var(--gray-300);
  border-radius: var(--radius);
  background: var(--gray-50);
  cursor: pointer;
  transition: border-color var(--trans-fast), background var(--trans-fast);
}
.wb-file:hover {
  border-color: var(--primary);
  background: #fff;
}
.wb-file[hidden] { display: none; }
.wb-file-icon { color: var(--primary); flex-shrink: 0; }
.wb-file-choose {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gray-900);
}
.wb-file-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 2px;
}

.wb-file-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 11px 14px;
  background: rgba(204,34,34,0.06);
  border: 1px solid rgba(204,34,34,0.20);
  border-radius: var(--radius-sm);
}
.wb-file-selected[hidden] { display: none; }
.wb-file-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-900);
  overflow-wrap: anywhere;
}
.wb-file-remove {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: rgba(204,34,34,0.12);
  color: var(--primary);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--trans-fast);
}
.wb-file-remove:hover { background: rgba(204,34,34,0.22); }
.wb-file-error[hidden] { display: none; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
}

.footer-top { padding: 52px 0 40px; }

.footer-top-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 52px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
  color: rgba(255,255,255,0.5);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-links-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col li a,
.footer-links-col li span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--trans-fast);
}
.footer-links-col li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-bottom-inner > span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--trans-fast);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ============================================
   MOBILE NAVIGATION
   ============================================ */
@media (max-width: 900px) {
  .header-inner { gap: 12px; }
  .logo-img { height: 58px; }
  .hamburger {
    display: flex;
    margin-left: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 1002;
  }
  .header-cta { display: none; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: auto;
    width: 0;
    height: 100vh;
    height: 100dvh;
    background: var(--dark);
    padding: 100px 0 40px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: width 0.3s cubic-bezier(0.4,0,0.2,1), padding 0.3s cubic-bezier(0.4,0,0.2,1), opacity var(--trans-fast), visibility 0s linear 0.3s;
    z-index: 1001;
    box-shadow: none;
  }
  .main-nav.open {
    width: min(280px, calc(100vw - 32px));
    padding: 100px 32px 40px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: width 0.3s cubic-bezier(0.4,0,0.2,1), padding 0.3s cubic-bezier(0.4,0,0.2,1), opacity var(--trans-fast);
    box-shadow: -8px 0 40px rgba(0,0,0,0.3);
  }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .nav-link { display: block; padding: 14px 16px; font-size: 1rem; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .diensten-grid { grid-template-columns: 1fr 1fr; }
  .dienst-card-highlight { grid-column: 1 / -1; }
  .projecten-grid { grid-template-columns: 1fr 1fr; }
  .project-card-large { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --section-pad: 64px; }

  .waarom-inner,
  .over-inner,
  .wb-inner,
  .contact-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }

  .contact-info {
    position: static;
    padding: 32px 24px;
  }

  .wb-side { position: static; }
  .wb-form-card { padding: 28px 22px; }

  .contact-info-val { overflow-wrap: anywhere; }

  .contact-cta-block .btn {
    white-space: normal;
    text-align: center;
  }

  .over-inner { grid-template-columns: 1fr; }
  .over-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 24px;
  }
  .hero-stat-divider { display: none; }
  .hero-stat { padding: 0 16px; }

  .dienst-card-body-highlight {
    flex-direction: column;
    padding: 40px 32px;
    align-items: flex-start;
    gap: 24px;
  }
  .dienst-card-body-highlight .highlight-icon {
    align-self: center;
  }
  .dienst-card-body-highlight .btn-white-outline { margin-left: 0; }
}

@media (max-width: 680px) {
  :root { --section-pad: 56px; }

  .section-title { font-size: clamp(1.65rem, 8vw, 2.1rem); }
  .diensten-grid { grid-template-columns: 1fr; }
  .projecten-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 12px; }

  .hero-cta-group { flex-direction: column; align-items: flex-start; }
  .hero-stats { width: 100%; }

  .waarom-card-secondary { flex-direction: column; gap: 16px; }
  .secondary-divider { width: 80%; height: 1px; }
}

@media (max-width: 380px) {
  .container { padding: 0 16px; }

  .site-header { padding: 10px 0; }
  .site-header.scrolled { padding: 7px 0; }
  .header-inner { gap: 8px; }
  .logo-img { height: 46px; }

  .lang-trigger {
    gap: 3px;
    padding: 5px 6px;
  }
  .lang-globe {
    width: 14px;
    height: 14px;
  }
  .lang-code {
    font-size: 0.72rem;
  }
  .lang-chevron {
    width: 10px;
    height: 10px;
  }

  .hamburger {
    width: 34px;
    padding: 5px;
  }

  .hero .hero-content {
    padding: 80px 16px 64px;
  }
  .hero-title {
    font-size: clamp(2.05rem, 11vw, 3rem);
    overflow-wrap: anywhere;
  }
  .hero-title-accent {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .over-stat-card {
    padding: 18px 12px;
  }

  .over-stat-num {
    font-size: 1.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   MAPS
   ============================================ */
.maps-wrapper {
  margin-top: 36px;
  overflow: hidden;
  filter: grayscale(20%) contrast(1.05);
  transition: filter 0.3s ease;
}
.maps-wrapper:hover {
  filter: grayscale(0%) contrast(1);
}

/* ============================================
   COOKIE BANNER
   ============================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(10, 15, 25, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 16px 24px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
#cookie-banner.visible {
  transform: translateY(0);
}
.cookie-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-text {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  line-height: 1.6;
  min-width: 260px;
}
