/* ===================================================
   Adsum Finance B.V. — Stylesheet
   Kleurenpalet gebaseerd op logo: groen, goud, donker
   =================================================== */

:root {
  /* Groentinten uit het logo */
  --green-900: #0f3d1f;
  --green-700: #1a6b3c;
  --green-600: #1e7e45;
  --green-400: #34a85e;
  --green-300: #5cc47e;
  --green-100: #e6f5ec;

  /* Goudtinten uit het logo */
  --gold-500: #b8962e;
  --gold-400: #c5a036;
  --gold-300: #d4b44e;
  --gold-200: #e8d08a;
  --gold-100: #faf3e0;

  /* Neutrale tinten */
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --gray-950: #0a0a0a;

  /* Semantische variabelen */
  --bg: var(--white);
  --bg-alt: var(--gray-50);
  --text: var(--gray-900);
  --text-muted: var(--gray-500);
  --accent: var(--green-700);
  --accent-hover: var(--green-600);
  --accent-light: var(--green-100);
  --gold: var(--gold-500);
  --border: var(--gray-200);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

/* ===== Dark mode ===== */
/* JS sets data-theme="dark" from system preference or manual toggle */
[data-theme="dark"] {
  color-scheme: dark;

  --bg: #111111;
  --bg-alt: #161616;
  --text: #e8e8e8;
  --text-muted: #9a9a9a;
  --accent: #3dbd6a;
  --accent-hover: #4dd87a;
  --accent-light: #162e1f;
  --gold: #d4b44e;
  --border: #2a2a2a;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
}

[data-theme="dark"] .site-header {
  background: rgba(17, 17, 17, 0.88);
}

[data-theme="dark"] .logo {
  color: #f0f0f0;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 {
  color: #e8e8e8;
}

[data-theme="dark"] .hero {
  background: linear-gradient(175deg, #111111 0%, #141414 40%, #0d2618 100%);
}

[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(ellipse 60% 50% at 50% 35%, rgba(52, 168, 94, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 65%, rgba(184, 150, 46, 0.04) 0%, transparent 60%);
}

[data-theme="dark"] .hero h1 {
  color: #e8f5ee;
}

[data-theme="dark"] .hero-trust {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .hero-trust-item {
  color: #b8b8b8;
}

[data-theme="dark"] .hero-trust-divider {
  background: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .over-ons-main {
  background: var(--bg-alt);
  border-color: var(--border);
}

[data-theme="dark"] .value-card {
  background: var(--bg);
  border-color: var(--border);
}

[data-theme="dark"] .value-card:hover {
  border-color: #3dbd6a;
}

[data-theme="dark"] .value-card h3,
[data-theme="dark"] .stap-content h3 {
  color: #c8e6d4;
}

/* Diensten — keep dark green bg, fix text contrast */
[data-theme="dark"] .diensten {
  background: #0a2214;
}

[data-theme="dark"] .diensten .eyebrow {
  color: var(--gold-300);
}

[data-theme="dark"] .diensten .section-header h2 {
  color: #eaf6ef;
}

[data-theme="dark"] .diensten .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .dienst-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .dienst-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .dienst-card h3 {
  color: #eaf6ef;
}

[data-theme="dark"] .dienst-card p {
  color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .dienst-icon {
  background: rgba(184, 150, 46, 0.15);
  color: var(--gold-300);
}

/* Werkwijze */
[data-theme="dark"] .werkwijze {
  background: var(--bg-alt);
}

[data-theme="dark"] .stap-nummer {
  background: #1c1c1c;
  border-color: var(--gold-400);
  color: #3dbd6a;
}

[data-theme="dark"] .stap:hover .stap-nummer {
  background: #3dbd6a;
  color: #111111;
}

/* Contact */
[data-theme="dark"] .contact-form {
  background: #1a1a1a;
  border-color: var(--border);
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea,
[data-theme="dark"] .contact-form select {
  background: #111111;
  color: #e0e0e0;
  border-color: var(--border);
}

[data-theme="dark"] .contact-form input:focus,
[data-theme="dark"] .contact-form textarea:focus,
[data-theme="dark"] .contact-form select:focus {
  border-color: #3dbd6a;
  background: #161616;
  box-shadow: 0 0 0 3px rgba(61, 189, 106, 0.15);
}

[data-theme="dark"] .contact-item strong {
  color: #e0e0e0;
}

/* Buttons */
[data-theme="dark"] .btn-primary {
  background: #3dbd6a;
  border-color: #3dbd6a;
  color: #0a1f12;
}

[data-theme="dark"] .btn-primary:hover {
  background: #4dd87a;
  border-color: #4dd87a;
  box-shadow: 0 8px 24px rgba(61, 189, 106, 0.25);
}

[data-theme="dark"] .btn-outline {
  border-color: #3dbd6a;
  color: #3dbd6a;
}

[data-theme="dark"] .btn-outline:hover {
  background: #3dbd6a;
  color: #0a1f12;
  box-shadow: 0 8px 24px rgba(61, 189, 106, 0.25);
}

[data-theme="dark"] .nav .nav-cta {
  background: #3dbd6a;
  color: #0a1f12;
}

[data-theme="dark"] .nav .nav-cta:hover {
  background: #4dd87a;
}

/* Footer */
[data-theme="dark"] .site-footer {
  background: #080808;
}

[data-theme="dark"] .footer-brand .logo-icon {
  /* no filter */
}

[data-theme="dark"] .gold-line {
  background: linear-gradient(90deg, var(--gold-400), var(--gold-300));
}

/* Desktop nav in dark mode — ensure transparent bg */
[data-theme="dark"] .nav {
  background: transparent;
}

[data-theme="dark"] .nav a {
  color: #b8b8b8;
}

[data-theme="dark"] .nav a:not(.nav-cta):hover {
  color: #4dd87a;
}

/* Theme toggle button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--bg-alt);
  color: var(--text);
  border-color: var(--accent);
}

/* Show sun by default (light mode), moon in dark */
.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== Container ===== */
.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; font-family: "Inter", sans-serif; font-weight: 600; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 107, 60, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 107, 60, 0.3);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-900);
  font-family: "Playfair Display", Georgia, serif;
}

.logo small {
  font-weight: 400;
  opacity: 0.6;
  font-size: 0.8em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a {
  color: var(--gray-600);
  transition: color 0.2s ease;
  position: relative;
}

.nav a:not(.nav-cta):hover {
  color: var(--accent);
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav .nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  transition: all 0.25s ease;
}

.nav .nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(26, 107, 60, 0.25);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text);
}

.nav-close {
  display: none;
}

.nav-overlay {
  display: none;
}

.nav-header {
  display: none;
}

.nav-links,
.nav-footer {
  display: contents;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(175deg, var(--white) 0%, var(--gray-50) 40%, var(--green-100) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 35%, rgba(26, 107, 60, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 65%, rgba(184, 150, 46, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.hero-logo-wrap {
  margin: 0 auto 32px;
  width: min(480px, 65vw);
  position: relative;
}

.hero-logo {
  width: 100%;
  height: auto;
  position: relative;
}

.hero h1 {
  margin-bottom: 18px;
  color: var(--green-900);
  letter-spacing: -0.01em;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.hero .lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* Trust bar */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 32px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-600);
  font-size: 0.88rem;
  font-weight: 500;
}

.hero-trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.hero-trust-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}

.scroll-indicator {
  display: inline-flex;
  position: relative;
  margin-top: 40px;
  color: var(--gray-400);
  animation: bounce 2s ease infinite;
  transition: none;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== Over ons ===== */
.over-ons {
  padding: 100px 0;
  background: var(--bg);
}

.section-header--center {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.section-header--center p {
  color: var(--text-muted);
  line-height: 1.75;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-200));
  border-radius: 2px;
  margin: 20px auto;
}

.over-ons-grid {
  display: grid;
  gap: 56px;
}

.over-ons-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--bg-alt);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}

.over-ons-image {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.over-ons-logo {
  width: 100%;
  height: auto;
}

.over-ons-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.over-ons-text .btn {
  margin-top: 8px;
}

.over-ons-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-card:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.value-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.value-card h3 {
  margin-bottom: 6px;
  color: var(--green-900);
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ===== Over Anders ===== */
.over-anders {
  padding: 100px 0;
  background: var(--bg-alt);
}

.anders-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 48px;
  background: var(--bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.anders-foto {
  width: 280px;
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
}

.anders-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anders-foto-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--gold-100) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
}

.anders-foto-placeholder svg {
  color: var(--accent);
  opacity: 0.5;
}

.anders-foto-placeholder span {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.6;
}

.anders-tekst h3 {
  font-size: 1.6rem;
  color: var(--green-900);
  margin-bottom: 4px;
}

.anders-functie {
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}

.anders-tekst p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.anders-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}

.anders-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  transition: color 0.2s ease;
}

.anders-link:hover {
  color: var(--accent-hover);
}

.anders-link svg {
  flex-shrink: 0;
}

/* Dark mode */
[data-theme="dark"] .over-anders {
  background: var(--bg-alt);
}

[data-theme="dark"] .anders-card {
  background: var(--bg);
  border-color: var(--border);
}

[data-theme="dark"] .anders-tekst h3 {
  color: #e8e8e8;
}

[data-theme="dark"] .anders-foto-placeholder {
  background: linear-gradient(135deg, #162e1f 0%, #2a2211 100%);
  border-color: var(--border);
}

[data-theme="dark"] .anders-foto-placeholder svg {
  color: #3dbd6a;
}

/* ===== Diensten ===== */
.diensten {
  padding: 100px 0;
  background: var(--green-900);
  color: var(--white);
}

.diensten .eyebrow {
  color: var(--gold-300);
}

.diensten .section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.diensten .section-header h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.diensten .section-header p {
  color: rgba(255, 255, 255, 0.65);
}

.diensten-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dienst-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.dienst-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.dienst-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(184, 150, 46, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold-300);
}

.dienst-card h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.dienst-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Highlight card — Tussentijdse rapportages */
.dienst-card--highlight {
  border-color: var(--gold-400);
  background: rgba(184, 150, 46, 0.08);
}

.dienst-card--highlight:hover {
  border-color: var(--gold-300);
  background: rgba(184, 150, 46, 0.14);
}

[data-theme="dark"] .dienst-card--highlight {
  border-color: var(--gold-400);
  background: rgba(184, 150, 46, 0.1);
}

[data-theme="dark"] .dienst-card--highlight:hover {
  border-color: var(--gold-300);
  background: rgba(184, 150, 46, 0.18);
}

/* ===== Werkwijze ===== */
.werkwijze {
  padding: 100px 0;
  background: var(--bg-alt);
}

.werkwijze .section-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 56px;
}

.werkwijze .section-header h2 {
  margin-bottom: 12px;
}

.werkwijze .section-header p {
  color: var(--text-muted);
}

.werkwijze-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

/* Connecting line behind the steps */
.werkwijze-steps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold-400), var(--green-400));
  z-index: 0;
}

.stap {
  position: relative;
  z-index: 1;
  text-align: center;
}

.stap-nummer {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-700);
  margin: 0 auto 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.stap:hover .stap-nummer {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: scale(1.1);
}

.stap-content h3 {
  margin-bottom: 8px;
  color: var(--green-900);
}

.stap-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 240px;
  margin: 0 auto;
}

/* ===== Contact ===== */
.contact {
  padding: 100px 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-details {
  display: grid;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.contact-item span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-item strong {
  color: var(--gray-800);
  font-weight: 600;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 20px;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form label > span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: all 0.2s ease;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26, 107, 60, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-400);
}

.contact-form button {
  width: 100%;
  font-family: inherit;
  position: relative;
}

.contact-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-text,
.btn-loading {
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-text { display: inline-flex; }
.btn-loading { display: none; }

.btn.is-loading .btn-text { display: none; }
.btn.is-loading .btn-loading { display: inline-flex; }

.btn-loading svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Turnstile widget */
.turnstile-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Form feedback */
.form-feedback {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

.form-feedback--success {
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.form-feedback--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

[data-theme="dark"] .form-feedback--error {
  background: #2a1515;
  color: #fca5a5;
  border-color: #7f1d1d;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Footer ===== */
.site-footer {
  padding: 56px 0 0;
  background: var(--gray-950);
  color: rgba(255, 255, 255, 0.7);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand .logo-icon {
  /* no filter — image is managed directly */
}

.footer-brand p {
  max-width: 280px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-300);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .diensten-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .werkwijze-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .werkwijze-steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 1rem;
    z-index: 200;
    padding: 0;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    transition: right 0.3s ease;
    overflow-y: auto;
  }

  .nav.open {
    right: 0;
  }

  .nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
  }

  .nav-header .logo {
    font-size: 0.95rem;
  }

  .nav-header .logo-icon {
    width: 28px;
    height: 28px;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    flex: 1;
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.15s, color 0.15s;
    border-bottom: none;
  }

  .nav-links a:hover {
    background: var(--gray-50);
    color: var(--accent);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-footer {
    display: block;
    padding: 16px 24px 24px;
    border-top: 1px solid var(--border);
  }

  .nav-footer .nav-cta {
    display: block;
    width: 100%;
    padding: 14px 28px;
    text-align: center;
    border-radius: 999px;
    font-size: 0.95rem;
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    border: none;
    cursor: pointer;
    color: var(--gray-600);
    transition: background 0.2s;
    flex-shrink: 0;
  }

  .nav-close:hover {
    background: var(--gray-200);
  }

  .theme-toggle {
    order: 1;
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
    margin-left: auto;
    margin-right: 4px;
  }

  .menu-toggle {
    display: flex;
    z-index: 300;
    order: 2;
    width: 32px;
    height: 32px;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.35);
    z-index: 199;
  }

  /* Dark mode mobile nav panel */
  [data-theme="dark"] .nav {
    background: #1a1a1a;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
  }

  [data-theme="dark"] .nav-close {
    background: #2a2a2a;
    color: #b3b3b3;
  }

  [data-theme="dark"] .nav-links a {
    color: #cccccc;
  }

  [data-theme="dark"] .nav-links a:hover {
    background: #222222;
  }

  .nav-overlay.open {
    display: block;
  }

  .hero {
    min-height: 100dvh;
    padding: 80px 0 24px;
  }

  .hero-logo-wrap {
    width: min(260px, 45vw);
    margin-bottom: 16px;
  }

  .hero h1 {
    margin-bottom: 12px;
  }

  .hero .lead {
    margin-bottom: 24px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-bottom: 24px;
  }

  .scroll-indicator {
    margin-top: 16px;
  }

  .hero-trust {
    flex-direction: column;
    gap: 8px;
    padding: 14px 20px;
  }

  .hero-trust-item {
    font-size: 0.82rem;
  }

  .hero-trust-divider {
    width: 60px;
    height: 1px;
  }

  .anders-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
    gap: 32px;
  }

  .anders-foto {
    width: 200px;
    height: 240px;
    margin: 0 auto;
  }

  .anders-contact {
    justify-content: center;
  }

  .over-ons-main {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
  }

  .over-ons-image {
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }

  .over-ons-values {
    grid-template-columns: 1fr;
  }

  .value-card {
    flex-direction: column;
  }

  .over-ons-grid {
    gap: 32px;
  }

  .diensten-grid {
    grid-template-columns: 1fr;
  }

  .werkwijze-steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .btn-lg {
    padding: 14px 28px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 92%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .dienst-card {
    padding: 24px 20px;
  }

  .stap-nummer {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }
}
