/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; }

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Lora:wght@400;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --primary:      #1D2F6F;
  --secondary:    #4A6FA3;
  --accent:       #E8730A;
  --accent-dark:  #C75E00;
  --dark:         #0D1E52;
  --bg:           #F5F6F8;
  --surface:      #FFFFFF;
  --text:         #1A1F2E;
  --muted:        #6B7280;
  --border:       #E2E4EA;
  --success:      #22A665;
  --flame-red:    #C8281E;

  --font-heading: 'Lora', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --max-width:    1140px;
  --radius-sm:    6px;
  --radius-md:    8px;

  --shadow-card:       0 1px 3px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-header:     0 2px 8px rgba(0,0,0,0.08);
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
p { max-width: 68ch; }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}
h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 400;
  line-height: 1.25;
}
h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}
@media (min-width: 640px) {
  h3 { font-size: 1.125rem; }
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

section { padding: 2.5rem 0; }
@media (min-width: 640px)  { section { padding: 3.5rem 0; } }
@media (min-width: 1024px) { section { padding: 5rem 0; } }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-header); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.logo-icon {
  width: 26px;
  height: 26px;
  color: var(--accent);
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Desktop nav */
.main-nav { display: none; }
@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex: 1;
    justify-content: center;
  }
  .main-nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.15s;
    position: relative;
    padding-bottom: 2px;
  }
  .main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.15s;
    border-radius: 2px;
  }
  .main-nav a:hover { color: var(--primary); }
  .main-nav a:hover::after,
  .main-nav a.active::after { transform: scaleX(1); }
  .main-nav a.active { color: var(--primary); }
}

.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 6px 4px;
  border-radius: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 64px 0 0;
  background: var(--surface);
  z-index: 99;
  padding: 1.5rem 1.25rem;
  flex-direction: column;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 1rem 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav .btn {
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
  font-size: 1rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  min-height: 44px;
  white-space: nowrap;
  border: 2px solid transparent;
  line-height: 1;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}
.btn-sm {
  font-size: 0.875rem;
  padding: 0.5rem 1.125rem;
  min-height: 36px;
}

/* ===== HERO ===== */
.hero {
  background: var(--dark);
  color: #fff;
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(74,111,163,0.18) 0%, transparent 65%);
  pointer-events: none;
}
@media (min-width: 640px)  { .hero { padding: 5rem 0; } }
@media (min-width: 1024px) { .hero { padding: 6.5rem 0; } }

.hero-inner { position: relative; max-width: 680px; }

.hero-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero-intro {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2rem;
  max-width: 52ch;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.trust-item { display: flex; align-items: center; gap: 0.4rem; }
.trust-item strong { color: #fff; font-weight: 500; }

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  background: var(--primary);
  color: #fff;
  padding: 2.75rem 0 2.5rem;
}
@media (min-width: 640px) { .page-header { padding: 3.5rem 0 3rem; } }
.page-header h1 { color: #fff; margin-bottom: 0.75rem; }
.page-header p {
  color: rgba(255,255,255,0.78);
  font-size: 1.0625rem;
  max-width: 54ch;
  line-height: 1.65;
}
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.875rem;
  align-items: center;
}
.breadcrumb a { color: rgba(255,255,255,0.65); transition: color 0.15s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { color: rgba(255,255,255,0.35); }

/* ===== SECTION HEADER ===== */
.section-header { margin-bottom: 2.5rem; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p { color: var(--muted); font-size: 1rem; }

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: #C8CAD0;
  transform: translateY(-2px);
}
.service-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.service-icon.accent { color: var(--accent); }
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { color: var(--muted); font-size: 0.9375rem; flex: 1; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  transition: color 0.15s, gap 0.15s;
}
.service-link:hover { color: var(--accent); gap: 0.5rem; }
.service-link svg { width: 14px; height: 14px; }

/* ===== USP BLOCK ===== */
.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 640px)  { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .usp-grid { grid-template-columns: repeat(4, 1fr); } }

.usp-item { display: flex; flex-direction: column; }
.usp-check {
  width: 44px;
  height: 44px;
  background: rgba(34,166,101,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
  flex-shrink: 0;
}
.usp-check svg { width: 22px; height: 22px; color: var(--success); }
.usp-item h3 { font-size: 1rem; margin-bottom: 0.375rem; }
.usp-item p { font-size: 0.9375rem; color: var(--muted); }

/* ===== AREA / WERKGEBIED ===== */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin: 1.5rem 0;
}
.area-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.375rem 0.875rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--text);
}
.area-tag svg { width: 13px; height: 13px; color: var(--primary); flex-shrink: 0; }

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; } }

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}
.review-quote-icon {
  width: 26px;
  height: 26px;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 1rem;
}
.review-text {
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}
.review-author { font-size: 0.875rem; font-weight: 600; color: var(--primary); }
.review-source { font-size: 0.8125rem; color: var(--muted); margin-top: 0.125rem; }

/* ===== FAQ ===== */
.faq-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  text-align: left;
  background: var(--surface);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.15s, background 0.15s;
}
.faq-question:hover { color: var(--primary); background: #FAFBFD; }
.faq-question[aria-expanded="true"] { color: var(--primary); }

.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.2s, color 0.15s;
}
.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.faq-answer.open { display: block; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--dark);
  color: #fff;
  text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-section .cta-intro {
  color: rgba(255,255,255,0.72);
  margin: 0 auto 2rem;
  max-width: 50ch;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
}

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(29,47,111,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; color: var(--primary); }
.contact-info-text {}
.contact-info-label { font-size: 0.8125rem; color: var(--muted); display: block; margin-bottom: 0.125rem; }
.contact-info-value { font-size: 1.0625rem; font-weight: 500; color: var(--text); }
.contact-info-value a { color: var(--primary); transition: color 0.15s; }
.contact-info-value a:hover { color: var(--accent); }

/* ===== FORM ===== */
.form-group { margin-bottom: 1.25rem; }
label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.375rem;
}
input, select, textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
  min-height: 44px;
  appearance: none;
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,47,111,0.10);
}
textarea { resize: vertical; min-height: 120px; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 16px;
  padding-right: 2.75rem;
}
.form-privacy {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.75rem;
  line-height: 1.55;
}
.form-success {
  display: none;
  background: rgba(34,166,101,0.08);
  border: 1px solid rgba(34,166,101,0.25);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  color: #14532d;
  font-weight: 500;
  line-height: 1.6;
}
.form-success.show { display: block; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.45); }
.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  margin-top: 1rem;
  line-height: 1.65;
  max-width: 32ch;
}
.footer-col-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.38);
  margin-bottom: 1.125rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-nav a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.footer-nav a:hover { color: #fff; }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contact-list a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
  display: block;
}
.footer-contact-list a:hover { color: #fff; }
.footer-contact-list span { font-size: 0.9375rem; color: rgba(255,255,255,0.5); display: block; }

.footer-bottom {
  margin-top: 3.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.38);
}
.footer-bottom a { color: rgba(255,255,255,0.45); transition: color 0.15s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.75); }

/* ===== BACKGROUND HELPERS ===== */
.bg-white { background: var(--surface); }
.bg-light  { background: var(--bg); }

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

/* ===== DIENST DETAIL ===== */
.dienst-intro { font-size: 1.0625rem; color: var(--muted); margin-bottom: 1.5rem; max-width: 60ch; }
.dienst-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 1rem 0 1.5rem;
}
.dienst-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text);
}
.dienst-bullet {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* Content grid (2 col) */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .content-grid { grid-template-columns: 3fr 2fr; gap: 4rem; align-items: start; } }

/* Cross links between diensten */
.cross-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Spoed badge */
.badge-spoed {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  background: var(--flame-red);
  color: #fff;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Highlight box */
.highlight-box {
  background: rgba(29,47,111,0.05);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.highlight-box p { color: var(--text); font-size: 0.9375rem; }
