/* Resotech Cyber Security - Main Stylesheet */

@font-face {
  font-family: 'Max';
  src: url('Max-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #021E73;       /* donker navy blauw — hoofdkleur */
  --red: #C41230;           /* rood accent — logo kleur */
  --red-hover: #a80f28;
  --secondary: #578BF2;     /* helder blauw */
  --tertiary: #A8C5E8;      /* lichtblauw — logo highlight */
  --dark: #021E73;          /* footer achtergrond = primary navy */
  --light: #f0f4fb;
  --white: #ffffff;
  --gray: #6b7280;
  --gray-light: #dde3f0;
  --gray-300: #d1d5db;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(2,30,115,0.10);
  --shadow-lg: 0 8px 40px rgba(2,30,115,0.18);
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Wix Madefor Text', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  line-height: 1.7;
  background: var(--white);
  font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5 { font-family: 'Max', 'Wix Madefor Display', 'Wix Madefor Text', sans-serif; line-height: 1.15; color: var(--primary); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 1rem; color: #374151; font-weight: 400; }
a { color: var(--secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }

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

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-light);
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 56px; width: auto; max-width: 240px; object-fit: contain; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: #1a1a2e; font-weight: 600; font-size: 0.95rem; position: relative; }
.nav a:hover, .nav a.active { color: var(--red); }
.nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--red); transition: var(--transition);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
/* Vaste breedte per knop — voorkomt menu-verschuiving bij taalwisseling */
.header-actions a.btn { white-space: nowrap; text-align: center; }
.btn-nav-scan    { min-width: 164px; width: 164px; }
.btn-nav-contact { min-width: 180px; width: 180px; }

/* Language switcher */
.lang-switch {
  display: flex; border: 2px solid var(--primary); border-radius: 6px; overflow: hidden;
}
.lang-switch button {
  padding: 4px 12px; border: none; background: transparent; cursor: pointer;
  font-weight: 700; font-size: 0.85rem; color: var(--primary); transition: var(--transition);
}
.lang-switch button.active {
  background: var(--primary); color: var(--white);
}
.lang-switch button:hover:not(.active) { background: var(--light); }

/* Mobile menu */
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative; z-index: 1001;
}
.menu-toggle span {
  display: block; width: 100%; height: 3px; background: var(--primary);
  border-radius: 2px; transition: var(--transition); position: absolute; left: 0;
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }
.menu-toggle.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px;
  border-radius: 8px; font-weight: 700; font-size: 0.95rem; border: none;
  cursor: pointer; transition: var(--transition); text-decoration: none;
}
.btn i { font-size: 0.8rem; transition: transform var(--transition); }
.btn:hover i { transform: translateX(3px); }

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--red); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,18,48,0.30); }
.btn-red { background: var(--red); color: var(--white); border: none; }
.btn-red:hover { background: var(--red-hover); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,18,48,0.30); }
.btn-secondary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--red); border-color: var(--red); color: var(--white); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--primary); }
.btn-light:hover { background: var(--white); color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-sm { padding: 8px 20px; font-size: 0.875rem; }

/* Hero */
.hero {
  position: relative; padding: 140px 0 100px;
  background: linear-gradient(135deg, var(--primary) 0%, #0a3299 60%, var(--secondary) 100%);
  color: var(--white); overflow: hidden;
  min-height: 90vh; display: flex; align-items: center;
}
.hero.hero-img {
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(
    135deg,
    rgba(2,30,115,0.82) 0%,
    rgba(2,30,115,0.68) 40%,
    rgba(10,50,153,0.55) 70%,
    rgba(87,139,242,0.4) 100%
  );
}
.hero.hero-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(2,30,115,0.75) 0%, rgba(2,30,115,0.65) 60%, rgba(2,30,115,0.55) 100%);
  z-index: 0;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(145,178,242,0.15) 0%, transparent 70%);
  border-radius: 50%; z-index: 1;
}
.hero h1 { color: var(--white); margin-bottom: 20px; text-shadow: 0 2px 16px rgba(0,0,0,0.3); }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 640px; }
.hero .btn-light { margin-top: 20px; }
.hero-content { position: relative; z-index: 2; max-width: 600px; }
.hero-badge {
  display: inline-block; background: var(--red); color: var(--white);
  padding: 6px 16px; border-radius: 20px;
  font-size: 0.85rem; font-weight: 700; margin-bottom: 20px;
}
.hero-sub { color: var(--white); font-size: 1.15rem; max-width: 540px; margin-bottom: 0; }
.hero-detail { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-top: -4px; max-width: 500px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* Hero grid with floating cards */
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px;
  align-items: center; position: relative; z-index: 1;
}

/* Floating glass cards */
.hero-visual { position: relative; height: 440px; }
.hero-card {
  position: absolute; display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius); padding: 22px 28px;
  color: var(--white); min-width: 270px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
  animation: cardFloat 6s ease-in-out infinite;
  transition: transform var(--transition), box-shadow var(--transition);
}
.hero-card:hover {
  transform: translateY(-6px) scale(1.03) !important;
  box-shadow: 0 20px 56px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.32);
}
.hero-card i { font-size: 1.8rem; color: var(--white); flex-shrink: 0; opacity: 0.9; }
.hero-card strong { display: block; font-size: 1rem; font-weight: 700; margin-bottom: 2px; }
.hero-card span { font-size: 0.82rem; color: rgba(255,255,255,0.7); }
.hero-card-1 { top: 10px; right: 10%; animation-delay: 0s; }
.hero-card-2 { top: 42%; right: 0%; animation-delay: -2s; }
.hero-card-3 { bottom: 30px; right: 15%; animation-delay: -4s; }
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Hero two-column with photo (inner pages) */
.hero-two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  position: relative; z-index: 2;
}
.hero-photo-wrap {
  border-radius: 16px; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  position: relative;
}
.hero-photo-wrap img { width: 100%; height: 420px; object-fit: cover; display: block; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--light); }
.section-dark { background: var(--primary); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.8); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-header p { color: var(--gray); }

/* Cards */
.card-grid { display: grid; gap: 24px; }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--gray-light);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--white); font-size: 1.4rem;
  flex-shrink: 0;
}
.card h3 { margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }

/* Number badge for step-cards */
.card-number {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; flex-shrink: 0; margin-bottom: 14px;
}

/* Service cards with link */
.card-link { text-decoration: none; color: inherit; display: block; }
.card-link .card { cursor: pointer; display: flex; flex-direction: column; height: 100%; }
.card-link:hover .card { border-color: var(--red); }
.card-link:hover .card h3 { color: var(--red); }
.card-link:hover .card-icon { background: linear-gradient(135deg, var(--red), #e05070); }
.card-body-grow { flex: 1; }
.card-more { display: block; margin-top: 16px; color: var(--primary); font-weight: 700; font-size: 0.9rem; }
.card-link:hover .card-more { color: var(--red); }

/* Steps / Timeline */
.steps { counter-reset: step; }
.step {
  display: flex; gap: 24px; margin-bottom: 32px; counter-increment: step;
}
.step-number {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: var(--white); display: flex;
  align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem;
}
.step-content h4 { margin-bottom: 6px; }
.step-content p { margin-bottom: 0; color: var(--gray); }

/* Two column layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two-col-text { max-width: 560px; }

/* Stats */
.stats { display: flex; gap: 48px; margin-top: 32px; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--secondary); }
.stat-label { font-size: 0.85rem; color: var(--gray); }

/* Team */
.team-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--gray-light);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-card-body { padding: 24px; }
.team-card h3 { margin-bottom: 4px; }
.team-card .role { color: var(--secondary); font-weight: 600; margin-bottom: 12px; font-size: 0.9rem; }
.team-card p { font-size: 0.95rem; }
.team-img {
  width: 100%; height: 300px; object-fit: cover; object-position: top center;
  display: block;
}
.team-img-placeholder {
  width: 100%; height: 300px; background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center; color: var(--white);
  font-size: 3rem; font-weight: 800;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--gray-light); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden; transition: var(--transition);
}
.faq-item.open { border-color: var(--secondary); box-shadow: 0 2px 12px rgba(87,139,242,0.1); }
.faq-question {
  padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; font-weight: 700; color: var(--primary); background: var(--white);
  user-select: none;
}
.faq-question:hover { background: var(--light); }
.faq-question .arrow {
  transition: var(--transition); font-size: 0.8rem; color: var(--secondary);
}
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding: 0 0 20px; color: var(--gray); line-height: 1.8; }
.faq-item.open .faq-answer { max-height: 600px; }

/* Contact form */
.contact-form { max-width: 640px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 2px solid var(--gray-light);
  border-radius: 8px; font-size: 1rem; font-family: inherit;
  transition: var(--transition); background: var(--white);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(87,139,242,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-check { display: flex; align-items: flex-start; gap: 10px; }
.form-check input[type="checkbox"] { width: auto; margin-top: 4px; }
.form-check label { font-weight: 400; font-size: 0.9rem; }

/* Footer */
.footer {
  background: #eef2fa; /* licht blauw-grijs zodat het logo in originele kleuren zichtbaar is */
  color: #374151;
  padding: 60px 0 24px;
  border-top: 4px solid var(--red);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: var(--primary); margin-bottom: 16px; font-size: 0.95rem; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; color: #374151; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #4b5563; font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--red); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid #c8d4ec; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem;
  color: #6b7280;
}
.footer-bottom a { color: #6b7280; }
.footer-bottom a:hover { color: var(--primary); }

/* Page header / hero (for inner pages) */
.page-header, .page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--primary) 0%, #0a3299 100%);
  color: var(--white); position: relative; overflow: hidden;
  min-height: 45vh; display: flex; align-items: center;
}
.page-header.page-header-img, .page-hero.page-header-img {
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.page-header-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2,30,115,0.85) 0%,
    rgba(2,30,115,0.7) 40%,
    rgba(10,50,153,0.55) 70%,
    rgba(87,139,242,0.4) 100%
  );
}
/* Fallback ::after for pages not yet updated with overlay div */
.page-header.page-header-img::after, .page-hero.page-header-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2,30,115,0.85) 0%,
    rgba(2,30,115,0.7) 40%,
    rgba(10,50,153,0.55) 70%,
    rgba(87,139,242,0.4) 100%
  );
  z-index: 0;
}
.page-header .container, .page-hero .container { position: relative; z-index: 1; }
.page-header h1, .page-hero h1 { color: var(--white); margin-bottom: 16px; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.page-header p, .page-hero p { color: rgba(255,255,255,0.88); max-width: 640px; font-size: 1.15rem; }
.page-header .hero-badge, .page-hero .hero-badge {
  display: inline-block; background: var(--red); color: var(--white);
  padding: 6px 16px; border-radius: 20px;
  font-size: 0.85rem; font-weight: 700; margin-bottom: 20px;
}

/* Content image in two-col layout */
.content-img {
  width: 100%; border-radius: var(--radius); object-fit: cover;
  box-shadow: var(--shadow-lg); display: block;
}
.content-img-wrap {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.content-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Profile page */
.profile-section { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.profile-photo {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius); object-fit: cover;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.profile-info h2 { margin-bottom: 4px; }
.profile-role { color: var(--secondary); font-weight: 600; margin-bottom: 20px; display: block; }

/* Benefits list */
.benefits-list { list-style: none; }
.benefits-list li {
  padding: 12px 0; border-bottom: 1px solid var(--gray-light);
  display: flex; gap: 12px; align-items: flex-start;
}
.benefits-list li::before {
  content: '✓'; color: var(--secondary); font-weight: 800; flex-shrink: 0; margin-top: 2px;
}

/* CTA Banner — upgraded to combined CTA with photo background */
.cta-banner {
  position: relative; padding: 80px 0; text-align: center; color: var(--white);
  background: url('../img/asset-67962c15.jpg') center/cover no-repeat;
  overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(196,18,48,0.82) 0%,
    rgba(120,14,60,0.8) 35%,
    rgba(2,30,115,0.82) 65%,
    rgba(87,139,242,0.7) 100%
  );
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.88); max-width: 680px; margin: 0 auto 32px; font-size: 1.05rem; line-height: 1.8; }

/* Privacy / Legal pages */
.legal-content h3 { margin-top: 32px; margin-bottom: 12px; }
.legal-content ul { margin: 0 0 16px 24px; }
.legal-content li { margin-bottom: 6px; color: #374151; }

/* ============================================================
   HOMEPAGE — Pillar cards with gradient underline
   ============================================================ */
.pillars {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 40%);
  position: relative;
}
.pillar-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.pillar-card {
  padding: 36px 32px; border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(2,30,115,0.08);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.pillar-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--primary), var(--secondary));
  transform: scaleX(0); transition: transform var(--transition);
  transform-origin: left;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar-card:hover::after { transform: scaleX(1); }
.pillar-card h3 { margin-bottom: 12px; }
.pillar-card p { color: var(--gray); margin-bottom: 0; }

/* ============================================================
   HOMEPAGE — Feature rows (IEC / NIS2 two-column sections)
   ============================================================ */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
}
.feature-row-reverse { direction: rtl; }
.feature-row-reverse > * { direction: ltr; }

.feature-text h2 { margin-bottom: 16px; }
.feature-lead { color: var(--secondary); font-weight: 600; margin-bottom: 12px; }
.feature-text > p { color: var(--gray); line-height: 1.8; }
.feature-text-light h2 { color: var(--white); }
.feature-text-light p { color: rgba(255,255,255,0.85); }

.feature-image {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-image img {
  width: 100%; height: 400px; object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.feature-image:hover img { transform: scale(1.04); }
.feature-image-float {
  border: 3px solid rgba(255,255,255,0.25);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.check-list {
  list-style: none; padding: 0; margin: 20px 0 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.check-list li {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--primary); font-size: 0.95rem;
}
.check-list i { color: var(--secondary); }

/* ============================================================
   HOMEPAGE — About section with photo background overlay
   ============================================================ */
.section-about {
  position: relative; padding: 100px 0;
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.section-about-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2,30,115,0.75) 0%,
    rgba(2,30,115,0.65) 30%,
    rgba(10,50,153,0.55) 60%,
    rgba(87,139,242,0.45) 100%
  );
}

.stats-row { display: flex; gap: 16px; margin: 24px 0 28px; align-items: center; }
.stat {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.12); border-radius: 10px;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,0.15);
}
.stat i { color: var(--tertiary); font-size: 1.4rem; }
.stat-number {
  font-family: 'Max', 'Wix Madefor Display', sans-serif;
  font-size: 1.4rem; color: var(--white);
}
.stat-text { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* ============================================================
   HOMEPAGE — Services grid with photo background
   ============================================================ */
.section-services {
  position: relative;
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.section-services::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(240,244,251,0.92) 0%,
    rgba(240,244,251,0.88) 50%,
    rgba(255,255,255,0.94) 100%
  );
}
.section-services .services-grid,
.section-services .services-center,
.section-services .section-header { position: relative; z-index: 1; }

.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px;
}
.service-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius);
  padding: 32px; border: 1px solid rgba(2,30,115,0.08);
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: var(--red);
}
.service-card:hover h3 { color: var(--red); }
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--red), #e05070);
}
.service-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.4rem; margin-bottom: 16px;
  transition: background var(--transition);
}
.service-card h3 { margin-bottom: 10px; transition: color var(--transition); }
.service-card p { color: var(--gray); font-size: 0.92rem; margin-bottom: 0; flex: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 0.9rem; font-weight: 700; color: var(--primary);
}
.service-card:hover .service-link { color: var(--red); }
.services-center { text-align: center; margin-top: 40px; }

/* ============================================================
   HOMEPAGE — Combined CTA (scan + contact)
   ============================================================ */
.cta-combined {
  position: relative; padding: 80px 0; text-align: center;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.cta-combined-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(196,18,48,0.82) 0%,
    rgba(120,14,60,0.8) 35%,
    rgba(2,30,115,0.82) 65%,
    rgba(87,139,242,0.7) 100%
  );
}
.cta-combined-inner { position: relative; z-index: 1; }
.cta-combined h2 { color: var(--white); margin-bottom: 16px; }
.cta-combined p {
  color: rgba(255,255,255,0.88); max-width: 680px;
  margin: 0 auto 32px; font-size: 1.05rem; line-height: 1.8;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-outline-light {
  background: transparent; color: var(--white);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: var(--red); color: var(--white); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,18,48,0.3);
}

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }

/* ============================================================
   RESPONSIVE — Tablet (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .nav { gap: 20px; }
  .nav a { font-size: 0.9rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 120px 0 72px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .feature-row, .feature-row-reverse { grid-template-columns: 1fr; gap: 40px; }
  .feature-row-reverse { direction: ltr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .two-col { gap: 36px; }
}

/* ============================================================
   RESPONSIVE — Mobiel (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Body scroll blokkeren als menu open is */
  body.menu-open { overflow: hidden; }

  /* Header */
  .header .container { height: 64px; }
  .header .btn { display: none; }
  .logo img { height: 44px; }
  .menu-toggle { display: block; }

  /* Desktop nav verborgen op mobiel — overlay neemt het over */
  .nav { display: none !important; }

  /* Mobiel menu-overlay — direct kind van <body>, root stacking context */
  .mobile-nav-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: #ffffff;
    z-index: 9999;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center; gap: 32px;
    animation: fadeInMenu 0.2s ease;
  }
  .mobile-nav-overlay a {
    font-size: 1.4rem; font-weight: 700;
    color: var(--primary); text-decoration: none;
    padding: 8px 0;
  }
  .mobile-nav-overlay a:hover, .mobile-nav-overlay a.active { color: var(--red); }
  .mobile-nav-overlay-close {
    position: absolute; top: 20px; right: 20px;
    background: none; border: none; font-size: 2.2rem;
    color: var(--primary); cursor: pointer; line-height: 1;
    padding: 4px 10px;
  }
  @keyframes fadeInMenu { from { opacity: 0; } to { opacity: 1; } }

  /* Hero (homepage) */
  .hero { padding: 100px 0 56px; }
  .hero h1 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .hero p { font-size: 1rem; }
  .hero-two-col { grid-template-columns: 1fr; gap: 28px; }
  .hero-photo-wrap { order: -1; }
  .hero-photo-wrap img { height: 240px; }

  /* Hero knoppen onder elkaar */
  .hero-buttons, .hero-actions {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
  }
  .hero-buttons .btn, .hero-actions .btn { width: 100%; justify-content: center; }

  .cta-buttons { flex-direction: column; align-items: center; }

  /* Pagina header (subpagina's) */
  .page-header, .page-hero { padding: 88px 0 44px; }

  /* Layout */
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 48px 0; }

  /* Afbeeldingen in two-col: hoogte beperken op mobiel */
  .content-img-wrap { height: 220px !important; }

  /* Kaartgrids */
  .card-grid-2 { grid-template-columns: 1fr; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: 1fr; }
  .card { padding: 24px; }

  /* Statistieken */
  .stats { flex-direction: column; gap: 16px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  /* Profielpagina */
  .profile-section { grid-template-columns: 1fr; }
  .profile-photo { max-width: 240px; margin: 0 auto; display: block; }

  /* Contact: map vaste hoogte op mobiel (flex werkt niet zonder hoogte-context) */
  .map-wrap { flex: none !important; min-height: 280px; }
  .map-wrap iframe { height: 280px !important; }

  /* Team avatar */
  .team-avatar { width: 90px; height: 90px; }
}

/* ============================================================
   RESPONSIVE — Klein mobiel (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 36px 0; }
  .hero { padding: 88px 0 48px; }
  .page-header, .page-hero { padding: 80px 0 36px; }

  h1 { font-size: clamp(1.5rem, 7vw, 2rem); }
  h2 { font-size: clamp(1.3rem, 5vw, 1.7rem); }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .btn { padding: 11px 20px; font-size: 0.9rem; }
  .card { padding: 20px; }

  /* Assurance Type I/II kaarten naast elkaar op klein scherm */
  .card-grid-2 { grid-template-columns: 1fr; }

  .cta-banner { padding: 44px 0; }
}
