*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #1a1917;
  --ink-soft:   #4a4845;
  --ink-muted:  #888780;
  --paper:      #faf9f6;
  --paper-warm: #f2f0e8;
  --paper-mid:  #e4e1d8;
  --accent:     #2d5a3d;
  --accent-lt:  #e6eeea;
  --accent-dk:  #1c3d29;
  --rust:       #b54a20;
  --rust-lt:    #f7ece6;
  --serif:      'Playfair Display', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  --max:        1120px;
  --rad:        6px;
  --brand-cyan: #6dc4d7;
  --brand-green:#68b331;
  --brand-red:  #e42521;
  --brand-dark: #1a1917;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); line-height: 1.7; font-size: 16px; font-weight: 300; }

/* NAV */
nav { position: sticky; top: 0; z-index: 100; background: rgba(250,249,246,0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--paper-mid); padding: 0 2rem; }
nav::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-cyan) 0%, var(--brand-green) 33%, var(--brand-red) 66%, var(--brand-dark) 100%);
}
.nav-inner { max-width: var(--max); margin: auto; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.logo span { color: var(--accent); }
.logo-brand { display: inline-flex; align-items: center; }
.logo-image { display: block; height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.9rem; font-weight: 400; transition: color 0.2s; }
.nav-links a:hover { color: var(--brand-red); }
.nav-cta { background: linear-gradient(120deg, var(--brand-green), var(--accent)); color: #fff !important; padding: 0.45rem 1.15rem; border-radius: var(--rad); font-weight: 500 !important; transition: filter 0.2s !important; }
.nav-cta:hover { filter: brightness(0.92); }

/* HERO */
.hero { max-width: var(--max); margin: auto; padding: 5.5rem 2rem 5rem; display: grid; grid-template-columns: 1fr 340px; gap: 4rem; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 0.5rem; background: #eaf6f9; color: #17404a; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; padding: 0.3rem 0.9rem; border-radius: 100px; margin-bottom: 1.5rem; text-transform: uppercase; border: 1px solid #c6e5ec; }
.hero-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-red); display: inline-block; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.14; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.hero h1 em { color: var(--brand-cyan); font-style: italic; }
.hero-sub { font-size: 1.02rem; color: var(--ink-soft); max-width: 470px; margin-bottom: 2.2rem; line-height: 1.8; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn { display: inline-block; padding: 0.72rem 1.5rem; border-radius: var(--rad); font-size: 0.92rem; font-weight: 500; text-decoration: none; transition: all 0.18s; cursor: pointer; }
.btn-primary { background: linear-gradient(120deg, var(--brand-green), var(--brand-cyan)); color: #fff; }
.btn-primary:hover { background: linear-gradient(120deg, #5da02d, #59b4c9); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--paper-mid); color: var(--ink-soft); }
.btn-outline:hover { border-color: var(--brand-red); color: var(--brand-red); }

.hero-card {
  background: var(--paper-warm); border: 1px solid var(--paper-mid); border-radius: 14px;
  padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: 1.5rem;
}
.hero-card-top { display: flex; align-items: center; gap: 1rem; }
.avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--accent-lt); border: 2px solid var(--paper-mid); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.3rem; color: var(--accent-dk); font-weight: 700; flex-shrink: 0; }
.hero-card-name { font-weight: 500; font-size: 0.95rem; }
.hero-card-role { font-size: 0.8rem; color: var(--ink-muted); }
.hero-card p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.7; font-style: italic; border-left: 2px solid var(--brand-red); padding-left: 0.9rem; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid var(--paper-mid); padding-top: 1.25rem; }
.hero-stat-num { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--ink); line-height: 1; }
.hero-stat-label { font-size: 0.75rem; color: var(--ink-muted); margin-top: 0.2rem; }

/* SECTIONS */
.section { padding: 5rem 2rem; }
.section-inner { max-width: var(--max); margin: auto; }
.section-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-red); margin-bottom: 0.7rem; }
.section-title { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 0.9rem; }
.section-lead { color: var(--ink-soft); max-width: 560px; margin-bottom: 3rem; font-size: 1rem; }
.section-highlight { background: var(--paper-warm); border-top: 1px solid var(--paper-mid); }

/* DIENSTEN */
.diensten-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.dienst-card { background: var(--paper-warm); border: 1px solid var(--paper-mid); border-radius: 10px; padding: 1.75rem; transition: box-shadow 0.2s, transform 0.2s; }
.dienst-card:hover { box-shadow: 0 4px 20px rgba(109,196,215,0.25); transform: translateY(-2px); border-color: #b8dee7; }
.dienst-icon { font-size: 1.5rem; margin-bottom: 1rem; }
.dienst-card h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.55rem; }
.dienst-card p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.7; }

/* OVER MIJ */
.over-bg { background: var(--ink); color: var(--paper); }
.over-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.over-img { aspect-ratio: 4/5; border-radius: 10px; overflow: hidden; background: #2a2925; }
.over-foto { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.over-content .section-label { color: var(--brand-green); }
.over-content .section-title { color: var(--paper); }
.over-content p { color: #c2bfb6; line-height: 1.85; margin-bottom: 1.1rem; font-size: 0.97rem; }
.over-content-cta { margin-top: 2rem; }
.tags { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.6rem; }
.tag { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.13); border-radius: 100px; padding: 0.3rem 0.9rem; font-size: 0.8rem; color: #c2bfb6; }

/* AANPAK */
.aanpak-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; margin-top: 3rem; }
.stap { position: relative; }
.stap-num { width: 38px; height: 38px; border-radius: 50%; background: #e8f4f7; color: #205160; border: 1px solid #c2e1e9; font-family: var(--serif); font-size: 1rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.stap h3 { font-family: var(--serif); font-size: 1rem; margin-bottom: 0.45rem; }
.stap p { font-size: 0.87rem; color: var(--ink-soft); line-height: 1.65; }
.stap-arrow { position: absolute; right: -1rem; top: 0.75rem; color: var(--paper-mid); font-size: 1.1rem; }

/* CASESTUDY'S */
.cases-bg { background: var(--paper-warm); }
.cases-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.case-card { background: var(--paper); border: 1px solid var(--paper-mid); border-radius: 10px; padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.case-sector { display: inline-block; background: #e8f4f7; color: #205160; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 100px; }
.case-card h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.case-block { }
.case-block-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.3rem; }
.case-block p { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.65; }
.case-result { background: #f0fae8; border-radius: var(--rad); padding: 0.75rem 1rem; }
.case-result .case-block-label { color: #34611c; }
.case-result p { color: #34611c; font-weight: 500; font-size: 0.86rem; }
.cases-note { margin-top: 2rem; text-align: center; font-size: 0.88rem; color: var(--ink-muted); font-style: italic; }
.cases-note a { color: var(--brand-red); text-decoration: none; }

/* TESTIMONIALS */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.testi-card { background: var(--paper-warm); border: 1px solid var(--paper-mid); border-radius: 10px; padding: 1.75rem; display: flex; flex-direction: column; gap: 1.1rem; }
.testi-quote { font-style: italic; color: var(--ink-soft); line-height: 1.75; font-size: 0.93rem; position: relative; padding-left: 1rem; border-left: 2px solid var(--brand-cyan); }
.testi-author { display: flex; align-items: center; gap: 0.8rem; }
.testi-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-lt); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 0.85rem; font-weight: 700; color: var(--accent-dk); flex-shrink: 0; }
.testi-name { font-weight: 500; font-size: 0.88rem; }
.testi-role { font-size: 0.78rem; color: var(--ink-muted); }

/* QUOTE STRIP */
.quote-strip { background: linear-gradient(120deg, var(--brand-cyan) 0%, var(--brand-green) 35%, var(--brand-red) 70%, var(--brand-dark) 100%); color: #fff; padding: 4rem 2rem; text-align: center; }
.quote-strip blockquote { font-family: var(--serif); font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-style: italic; max-width: 700px; margin: auto; line-height: 1.5; font-weight: 400; }
.quote-strip cite { display: block; font-size: 0.82rem; font-style: normal; margin-top: 1rem; opacity: 0.7; letter-spacing: 0.04em; text-transform: uppercase; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 0.9rem; }
.contact-icon { width: 38px; height: 38px; border-radius: var(--rad); background: #eaf6f9; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact-item:nth-child(2) .contact-icon { background: #fceded; }
.contact-item:nth-child(3) .contact-icon { background: #f0fae8; }
.contact-item:nth-child(4) .contact-icon { background: #ecebeb; }
.contact-item-text { font-size: 0.9rem; }
.contact-item-text strong { display: block; font-weight: 500; font-size: 0.82rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.15rem; }
.contact-item-text a { color: var(--brand-red); text-decoration: none; }
.contact-item-text a:hover { text-decoration: underline; }

.form-melding { padding: 0.9rem 1.2rem; border-radius: var(--rad); font-size: 0.93rem; margin-bottom: 1rem; line-height: 1.5; }
.form-melding--ok  { background: #f0fae8; border: 1px solid #b5d98a; color: #2e5a13; }
.form-melding--err { background: #fceded; border: 1px solid #f0a0a0; color: #8a1f1f; }
.form-melding--err a { color: inherit; }

form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-size: 0.8rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 0.25rem; display: block; letter-spacing: 0.03em; }
input, textarea, select { width: 100%; padding: 0.65rem 0.9rem; border: 1.5px solid var(--paper-mid); border-radius: var(--rad); background: #fff; font-family: var(--sans); font-size: 0.93rem; color: var(--ink); transition: border-color 0.2s; font-weight: 300; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand-cyan); }
textarea { resize: vertical; min-height: 120px; }
button[type="submit"] { background: linear-gradient(120deg, var(--brand-green), var(--brand-cyan)); color: #fff; border: none; padding: 0.75rem 2rem; border-radius: var(--rad); font-size: 0.93rem; font-weight: 500; cursor: pointer; font-family: var(--sans); transition: filter 0.18s, transform 0.15s; align-self: flex-start; }
button[type="submit"]:hover { filter: brightness(0.92); transform: translateY(-1px); }

/* FOOTER */
footer { background: var(--ink); color: var(--ink-muted); padding: 3.5rem 2rem 2rem; }
.footer-inner { max-width: var(--max); margin: auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 3rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid #2e2c29; margin-bottom: 1.5rem; }
.footer-brand .logo { color: #faf9f6; }
.footer-brand p { font-size: 0.84rem; margin-top: 0.7rem; max-width: 240px; line-height: 1.65; }
.footer-col h4 { color: #faf9f6; font-size: 0.84rem; font-weight: 500; margin-bottom: 0.85rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-col a { color: var(--ink-muted); text-decoration: none; font-size: 0.84rem; transition: color 0.2s; }
.footer-col a:hover { color: #faf9f6; }
.footer-bottom { max-width: var(--max); margin: auto; display: flex; justify-content: space-between; font-size: 0.8rem; flex-wrap: wrap; gap: 0.5rem; }
.footer-logo-dot { color: var(--brand-red); }
.footer-privacy-link {
  color: #c9c6bc;
  text-decoration: none;
  border-bottom: 1px dashed #5a5650;
}
.footer-privacy-link:hover { color: #faf9f6; border-bottom-color: #faf9f6; }

/* COOKIE CONSENT */
.cookie-open-prefs {
  background: transparent;
  border: 1px solid #3a3733;
  color: #c9c6bc;
  border-radius: var(--rad);
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  cursor: pointer;
}
.cookie-open-prefs:hover { border-color: #5a5650; color: #faf9f6; }

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
}
.cookie-banner-inner {
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--paper-mid);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  padding: 1rem 1.1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner-inner p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  max-width: 690px;
}
.cookie-banner-inner p a,
.cookie-modal-card p a {
  color: var(--brand-red);
  text-decoration: none;
  border-bottom: 1px solid rgba(228, 37, 33, 0.45);
}
.cookie-banner-inner p a:hover,
.cookie-modal-card p a:hover {
  border-bottom-color: var(--brand-red);
}

.cookie-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.cookie-btn {
  border: 1px solid transparent;
  border-radius: var(--rad);
  padding: 0.52rem 0.88rem;
  font-size: 0.84rem;
  cursor: pointer;
  font-family: var(--sans);
}
.cookie-btn-primary {
  background: linear-gradient(120deg, var(--brand-green), var(--brand-cyan));
  color: #fff;
}
.cookie-btn-primary:hover { filter: brightness(0.94); }
.cookie-btn-outline {
  background: #fff;
  border-color: var(--paper-mid);
  color: var(--ink-soft);
}
.cookie-btn-outline:hover { border-color: var(--brand-red); color: var(--brand-red); }

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 18, 16, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cookie-modal-card {
  width: min(540px, 100%);
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--paper-mid);
  padding: 1.1rem;
}
.cookie-modal-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.3rem;
}
.cookie-modal-card p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.cookie-toggle-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: var(--ink);
}

/* ── HAMBURGER TOGGLE ───────────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s, opacity 0.22s;
  transform-origin: center;
}
.nav-toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle--open span:nth-child(2) { opacity: 0; }
.nav-toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── TABLET (max 900px) ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .aanpak-steps { grid-template-columns: 1fr 1fr; }
  .stap-arrow   { display: none; }
  .cases-grid   { grid-template-columns: 1fr 1fr; }
}

/* ── MOBIEL (max 680px) ─────────────────────────────────────────────────── */
@media (max-width: 680px) {
  /* Nav */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--paper-mid);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.nav-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 0;
  }
  .nav-cta {
    margin: 0.5rem 2rem 0;
    display: block;
    text-align: center;
    padding: 0.65rem 1rem !important;
  }

  /* Hero */
  .hero { grid-template-columns: 1fr; padding: 3.5rem 1.25rem 3rem; gap: 2rem; }
  .hero-card { display: none; }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); }

  /* Sections */
  .section { padding: 3.5rem 1.25rem; }

  /* Grids → 1 kolom */
  .diensten-grid,
  .cases-grid,
  .testi-grid,
  .aanpak-steps { grid-template-columns: 1fr; }

  /* Over mij */
  .over-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .over-img  { max-height: 340px; aspect-ratio: auto; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  button[type="submit"] { width: 100%; justify-content: center; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 0.25rem; }

  /* Cookie consent */
  .cookie-banner { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { width: 100%; }
  .cookie-actions .cookie-btn { flex: 1 1 auto; }
}
