/* ============================================================
   IJsselmere B.V. – styles.css
   Premium Dutch financial services website
============================================================ */

/* === 1. CSS VARIABLES ======================================= */
:root {
  --blue:       #1e73be;
  --blue-dark:  #1558a0;
  --navy:       #003366;
  --navy-mid:   #1e4a8a;
  --red:        #c0392b;
  --white:      #ffffff;
  --bg:         #f5f7fa;
  --bg-blue:    #eef4fb;
  --text:       #1a1a2e;
  --text-mid:   #374151;
  --text-muted: #6b7280;
  --border:     #e5e7eb;
  --border-mid: #d1d5db;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --max-w:  1200px;
  --r:      12px;
  --r-sm:   8px;
  --r-lg:   16px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --shadow:    0 4px 20px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.05);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.16);

  --transition: 250ms ease;
  --transition-slow: 400ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--blue-dark); }

ul, ol { list-style: none; }

button { cursor: pointer; font-family: inherit; border: none; background: none; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* === 3. TYPOGRAPHY ========================================== */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
h4 { font-size: 15px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

p { max-width: 68ch; }

/* === 4. LAYOUT UTILITIES ==================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 72px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header p { margin: 0 auto; }

.section-header--light h2 { color: var(--white); }

.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(30,115,190,.1);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.eyebrow--light {
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.15);
}

/* === 5. BUTTONS ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30,115,190,.35);
}

.btn-outline-primary {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline-primary:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  color: var(--white);
}

.btn-ghost-white {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.6);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--white);
}
.btn-white:hover {
  background: var(--bg-blue);
  color: var(--blue-dark);
}

.btn-block { width: 100%; justify-content: center; padding: 15px 28px; }

/* === 6. HEADER ============================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), padding var(--transition), border-color var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.1);
  border-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 16px;
  padding-bottom: 16px;
  transition: padding var(--transition);
}

.site-header.scrolled .header-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo-link { flex-shrink: 0; line-height: 0; }
.header-logo {
  height: 52px;
  width: auto;
  transition: height var(--transition);
  object-fit: contain;
}
.site-header.scrolled .header-logo { height: 42px; }

.main-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  transition: all var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--blue);
  background: rgba(30,115,190,.08);
}

.header-cta { margin-left: 8px; padding: 10px 22px; font-size: 14px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--r-sm);
  transition: background var(--transition);
}
.hamburger:hover { background: var(--bg); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition);
}
.nav-overlay.active { opacity: 1; }

/* === 7. HERO ================================================= */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #1a5fa8 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

/* Subtle noise texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .4;
  pointer-events: none;
}

/* Radial glow */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(30,115,190,.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-lighthouse {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(360px, 38vw);
  height: auto;
  pointer-events: none;
  opacity: .85;
}
.hero-lighthouse svg { width: 100%; height: auto; }

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 20px;
  max-width: none;
}

.hero-title {
  color: var(--white);
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.08;
  margin-bottom: 24px;
  max-width: 680px;
}
.hero-title em {
  font-style: italic;
  color: #7ec8f0;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  max-width: 54ch;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 72px;
}

.stat-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r);
  padding: 20px 28px;
  min-width: 160px;
  transition: transform var(--transition), background var(--transition);
}
.stat-card:hover {
  background: rgba(255,255,255,.16);
  transform: translateY(-3px);
}

.stat-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-suffix {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}
.stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  margin-top: 4px;
}

.stat-card--icon .stat-icon-wrap {
  color: rgba(255,255,255,.8);
  margin-bottom: 4px;
}

/* === 8. SOCIAL PROOF ======================================== */
.social-proof {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.social-proof-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.google-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stars { display: flex; gap: 3px; }
.rating-text {
  font-size: 15px;
  color: var(--text-mid);
}
.rating-text strong { color: var(--text); }

.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border-mid);
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.trust-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.3;
  box-shadow: var(--shadow-sm);
}
.trust-badge svg { color: var(--blue); flex-shrink: 0; }
.trust-badge strong { color: var(--text); font-size: 13px; }
.trust-badge small { color: var(--text-muted); font-size: 11px; }

/* === 9. DIENSTEN ============================================ */
.diensten { background: var(--white); }

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition);
  border-radius: 0 2px 2px 0;
}
.service-card:hover {
  border-color: rgba(30,115,190,.25);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleY(1); }

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-blue);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 20px;
  transition: background var(--transition), color var(--transition);
}
.service-card:hover .service-icon {
  background: var(--blue);
  color: var(--white);
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text);
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.service-link:hover { gap: 8px; }

/* === 10. VOOR WIE =========================================== */
.voor-wie {
  background: linear-gradient(135deg, var(--bg-blue) 0%, var(--bg) 100%);
}

.voor-wie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.voor-wie-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.voor-wie-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.voor-wie-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--bg-blue), rgba(30,115,190,.12));
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 24px;
}

.voor-wie-card h3 {
  font-size: 26px;
  margin-bottom: 14px;
}

.voor-wie-card > p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 15px;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.benefit-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
}
.benefit-list li svg { flex-shrink: 0; }

/* === 11. WAAROM ============================================= */
.waarom {
  background: linear-gradient(145deg, var(--navy) 0%, #0a2d5e 100%);
  position: relative;
  overflow: hidden;
}
.waarom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(30,115,190,.2) 0%, transparent 65%);
  pointer-events: none;
}

.waarom .section-header h2 { color: var(--white); }

.waarom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.waarom-item {
  background: rgba(255,255,255,.04);
  padding: 40px 32px;
  position: relative;
  transition: background var(--transition);
}
.waarom-item:hover { background: rgba(255,255,255,.09); }

.waarom-number {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 700;
  color: rgba(255,255,255,.06);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}

.waarom-icon-wrap {
  color: var(--blue);
  background: rgba(30,115,190,.2);
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.waarom-item h3 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 10px;
}

.waarom-item p {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
}

/* === 12. TARIEVEN =========================================== */
.tarieven { background: var(--bg); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  background: linear-gradient(150deg, var(--blue) 0%, var(--navy-mid) 100%);
  border-color: transparent;
  box-shadow: var(--shadow-xl);
  transform: scale(1.03);
  z-index: 1;
}
.pricing-card--featured:hover { transform: scale(1.03) translateY(-4px); }

.pricing-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(255,255,255,.95);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.pricing-head { margin-bottom: 32px; }

.pricing-tier {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pricing-card--featured .pricing-tier { color: rgba(255,255,255,.75); }

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.price {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.price--custom { font-size: 32px; }
.price-per {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-card--featured .price,
.pricing-card--featured .price-per { color: var(--white); }

.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.pricing-card--featured .pricing-desc { color: rgba(255,255,255,.75); }

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.pricing-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.pricing-list li.inc { color: var(--text-mid); }
.pricing-list li.exc { color: var(--text-muted); opacity: .6; }
.pricing-list li svg { flex-shrink: 0; }
.pricing-list li.inc svg { color: #22c55e; }
.pricing-list li.exc svg { color: var(--text-muted); }
.pricing-card--featured .pricing-list li.inc { color: rgba(255,255,255,.9); }
.pricing-card--featured .pricing-list li.inc svg { color: #86efac; }

.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  max-width: none;
}
.pricing-note a { font-weight: 600; }

/* === 13. VERTROUWEN (replaces fake testimonials) ============ */
.vertrouwen { background: var(--white); }

.vertrouwen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.vertrouwen-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.vertrouwen-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30,115,190,.25);
}

.vertrouwen-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin: 0 auto 20px;
  transition: background var(--transition), color var(--transition);
}
.vertrouwen-card:hover .vertrouwen-icon {
  background: var(--blue);
  color: var(--white);
}

.vertrouwen-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.vertrouwen-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: none;
}

/* === 13b. TESTIMONIALS (kept for structure reference) ======= */
.testimonials { background: var(--white); }

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

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.t-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}

blockquote p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
}
blockquote p::before {
  content: '"';
  font-family: var(--font-head);
  font-size: 48px;
  color: var(--blue);
  opacity: .2;
  position: absolute;
  top: -16px;
  left: -8px;
  line-height: 1;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.t-author strong { display: block; font-size: 15px; color: var(--text); }
.t-author span   { display: block; font-size: 13px; color: var(--text-muted); }

/* === 14. CONTACT ============================================ */
.contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-size: 22px;
  margin-bottom: 24px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.c-icon {
  width: 38px;
  height: 38px;
  background: var(--bg-blue);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-list strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 3px;
}
.contact-list span,
.contact-list address,
.contact-list a {
  font-size: 15px;
  color: var(--text-mid);
  font-style: normal;
  line-height: 1.55;
}
.contact-list a:hover { color: var(--blue); }

/* Map */
.map-placeholder {
  background: linear-gradient(145deg, #dce8f0 0%, #c8dcea 100%);
  border-radius: var(--r);
  height: 200px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,51,102,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,51,102,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.map-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.map-pin { filter: drop-shadow(0 3px 6px rgba(0,0,0,.25)); }
.map-content p {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  max-width: none;
}

.map-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 12px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.map-link-btn:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }

label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
}
label .required { color: var(--red); margin-left: 2px; }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,115,190,.15);
}
input.error, textarea.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}
textarea { resize: vertical; min-height: 120px; }

.form-error {
  font-size: 13px;
  color: var(--red);
  min-height: 18px;
  display: block;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 48px 24px;
}
.success-checkmark { margin: 0 auto 20px; }
.form-success h3 { font-size: 24px; margin-bottom: 10px; }
.form-success p { color: var(--text-muted); font-size: 16px; max-width: none; }

/* === 15. FOOTER ============================================= */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); }

.footer-main { padding: 72px 0 56px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px;
}

.footer-brand { max-width: 360px; }

.footer-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
  /* Only invert if logo has transparency; hidden by onerror if it breaks */
  filter: brightness(0) invert(1);
  opacity: .9;
}

/* Text fallback shown when logo image fails or is not transparent */
.footer-logo-text {
  display: block;
  margin-bottom: 20px;
}
.footer-logo-text .footer-name {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
  line-height: 1.1;
}
.footer-logo-text .footer-tagline-small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-top: 4px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
  max-width: 44ch;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.75);
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }

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

.footer-bottom-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.footer-bottom-row p {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  max-width: none;
}
.footer-bottom-row a {
  color: rgba(255,255,255,.55);
}
.footer-bottom-row a:hover { color: var(--white); }

/* === 16. SCROLL ANIMATIONS ==================================
   Content is VISIBLE by default (no-JS safe).
   Only hidden when JS adds .js to <html>.
   Guaranteed visible after 900ms timeout in scripts.js.
=========================================================== */
.animate-fade-up {
  /* visible by default — JS enhances this */
  opacity: 1;
  transform: none;
  transition:
    opacity 0.55s cubic-bezier(.16,1,.3,1),
    transform 0.55s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--delay, 0s);
}

/* Only hide when JS has loaded */
.js .animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
}

/* Reveal on scroll (or timeout fallback) */
.js .animate-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === 17. RESPONSIVE ========================================= */

/* Tablet – 1024px */
@media (max-width: 1024px) {
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .waarom-grid     { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid    { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .vertrouwen-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand    { grid-column: 1 / -1; max-width: none; }
}

/* Phablet – 768px */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section   { padding: 72px 0; }

  /* Header */
  .header-cta { display: none; }
  .hamburger  { display: flex; }

  .main-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 80vw);
    background: var(--white);
    box-shadow: -8px 0 40px rgba(0,0,0,.15);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(.16,1,.3,1);
    z-index: 1001;
    padding: 80px 24px 32px;
    overflow-y: auto;
    margin-left: 0;
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-overlay     { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-link {
    display: block;
    padding: 14px 16px;
    font-size: 17px;
  }

  /* Hero */
  .hero { min-height: auto; padding: 120px 0 64px; }
  .hero-lighthouse { width: 200px; opacity: .3; }
  .hero-title { font-size: clamp(34px, 8vw, 48px); }
  .hero-subtitle { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 12px; }
  .stat-card { min-width: 140px; padding: 16px 20px; }
  .stat-number { font-size: 28px; }

  /* Social proof */
  .social-proof-inner { flex-direction: column; gap: 20px; }
  .proof-divider { display: none; }

  /* Voor wie */
  .voor-wie-grid { grid-template-columns: 1fr; }
  .voor-wie-card { padding: 36px 28px; }

  /* Waarom */
  .waarom-grid { grid-template-columns: 1fr 1fr; }
  .waarom-item { padding: 28px 24px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; }

  /* Testimonials / Vertrouwen */
  .testimonials-grid { grid-template-columns: 1fr; }
  .vertrouwen-grid   { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom-row { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Mobile – 480px */
@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 40px; }

  .hero-stats { flex-direction: column; }
  .stat-card  { width: 100%; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card  { padding: 24px; }

  .waarom-grid  { grid-template-columns: 1fr; }
  .waarom-item  { padding: 28px 24px; }

  .pricing-grid { max-width: none; }

  .voor-wie-card { padding: 28px 20px; }

  .trust-logos { flex-wrap: wrap; justify-content: center; }
  .vertrouwen-grid { grid-template-columns: 1fr; }

  h2 { font-size: clamp(24px, 7vw, 32px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .animate-fade-up { opacity: 1; transform: none; }
}
