/* ============================================================
   Slagvaardig B.V. — administratie & advies
   Huisstijl afgeleid van het logo: diepblauw #024C8D +
   warmgrijze tagline #98938F, op licht papierwit.
   ============================================================ */

:root {
  --blue-900: #06294a;
  --blue-800: #0a3f74;
  --blue-700: #024c8d;   /* logoblauw */
  --blue-600: #2f74b8;
  --blue-50:  #eaf1f9;
  --accent: #98938f;     /* warmgrijs uit de logo-tagline */
  --accent-dark: #6f6a66;
  --mist: #eff3f8;
  --mist-deep: #dfe7f1;
  --paper: #fbfcfe;
  --ink: #16273a;
  --muted: #5a6b7d;
  --line: #d6dfe9;
  --white: #ffffff;

  --maxw: 1120px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 44px -28px rgba(6, 41, 74, 0.45);
  --shadow-sm: 0 8px 22px -16px rgba(6, 41, 74, 0.4);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--blue-700); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--blue-900);
  margin: 0 0 0.4em;
}

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

.sr-only,
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px;
  width: auto; height: auto; clip: auto;
  background: var(--blue-800); color: #fff;
  padding: 10px 16px; border-radius: 8px; z-index: 100;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: var(--sans);
  font-weight: 600; font-size: 0.98rem;
  padding: 0.82rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-primary {
  background: var(--blue-700); color: #fff;
  box-shadow: 0 10px 24px -12px rgba(2, 76, 141, 0.75);
}
.btn-primary:hover { background: var(--blue-800); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--blue-800);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue-700); background: rgba(2, 76, 141, 0.06); }
.btn-block { width: 100%; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin: 0 0 0.7rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  background: var(--blue-800); color: var(--mist);
  font-family: var(--serif); font-weight: 600; font-size: 1.3rem;
  border-radius: 11px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--blue-900); }
.brand-bv { color: var(--accent-dark); }
.brand-tag { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.nav-list {
  list-style: none; display: flex; align-items: center; gap: 0.4rem;
  margin: 0; padding: 0;
}
.nav-list a {
  text-decoration: none; color: var(--ink); font-weight: 500;
  padding: 0.55rem 0.9rem; border-radius: 8px; font-size: 0.97rem;
  transition: background .15s ease, color .15s ease;
}
.nav-list a:hover { background: var(--mist-deep); }
.nav-cta {
  background: var(--blue-800); color: #fff !important;
}
.nav-cta:hover { background: var(--blue-700) !important; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 420px at 78% -8%, rgba(2, 76, 141, 0.10), transparent 60%),
    linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center;
  padding: 4.5rem 0 4.75rem;
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); margin-bottom: 0.5rem; }
.lead { font-size: 1.13rem; color: var(--muted); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.8rem 0 1.6rem; }
.hero-points {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
  font-size: 0.92rem; color: var(--blue-800); font-weight: 500;
}
.hero-points li { position: relative; padding-left: 1.4rem; }
.hero-points li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  color: var(--blue-700); font-weight: 700;
}

.hero-aside { display: flex; justify-content: center; }
.hero-card {
  width: 100%; max-width: 360px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.5rem 1.5rem;
}
.hero-card-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 0; border-bottom: 1px solid var(--mist-deep);
  font-size: 0.95rem; color: var(--ink); font-weight: 500;
}
.hero-card-row:first-child { padding-top: 0.2rem; }
.tag {
  font-size: 0.74rem; font-weight: 600; padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.tag-ok { background: rgba(2, 76, 141, 0.12); color: var(--blue-700); }
.tag-busy { background: rgba(152, 147, 143, 0.22); color: var(--accent-dark); }
.hero-card-foot { display: flex; align-items: baseline; gap: 0.6rem; padding-top: 1.1rem; }
.hero-card-figure { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--blue-800); }
.hero-card-label { font-size: 0.86rem; color: var(--muted); }

/* ---------- Trustbar ---------- */
.trustbar { background: var(--blue-800); color: var(--mist); }
.trustbar-inner {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  padding: 1.6rem 0;
}
.trustbar div { display: flex; flex-direction: column; }
.trustbar strong { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.trustbar span { font-size: 0.88rem; color: rgba(234, 241, 249, 0.74); }

/* ---------- Sections ---------- */
.section { padding: 4.75rem 0; }
.section-alt { background: var(--mist); border-block: 1px solid var(--line); }
.section-head { max-width: 56ch; margin-bottom: 2.6rem; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.section-intro { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Cards ---------- */
.cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.7rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .25s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b9cbdd; }
.card-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--blue-50); color: var(--blue-700);
  font-size: 1.4rem; margin-bottom: 1rem;
}
.card h3 { font-size: 1.3rem; }
.card p { margin: 0; color: var(--muted); }

/* ---------- Steps ---------- */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  counter-reset: step;
}
.step {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem 1.6rem;
  position: relative;
}
.step-num {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue-800); color: var(--mist);
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.2rem; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Over ons ---------- */
.over-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
.over-copy p { color: var(--muted); }
.over-copy .btn { margin-top: 0.8rem; }
.over-facts {
  background: var(--blue-800); color: var(--mist);
  border-radius: var(--radius); padding: 1.8rem 2rem;
  box-shadow: var(--shadow);
}
.over-facts dl { margin: 0; display: grid; gap: 1.1rem; }
.over-facts div { border-bottom: 1px solid rgba(234, 241, 249, 0.16); padding-bottom: 1.1rem; }
.over-facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.over-facts dt { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(234, 241, 249, 0.6); }
.over-facts dd { margin: 0.2rem 0 0; font-family: var(--serif); font-size: 1.2rem; }

/* ---------- Contact ---------- */
.section-contact { background: var(--mist); border-top: 1px solid var(--line); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 1.3rem; }
.contact-list li { display: flex; flex-direction: column; }
.contact-label { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-dark); font-weight: 600; }
.contact-list a { font-size: 1.2rem; color: var(--blue-800); text-decoration: none; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }
.contact-note { font-size: 0.8rem; color: var(--muted); }

.contact-form {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm);
}
.form-note { margin: 0 0 1.2rem; color: var(--muted); font-size: 0.95rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.97rem; color: var(--ink);
  background: var(--paper); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(2, 76, 141, 0.16);
}
.field textarea { resize: vertical; }
.form-disclaimer { font-size: 0.8rem; color: var(--muted); margin: 1rem 0 0; line-height: 1.5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: var(--mist); }
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem;
  padding: 3rem 0 2.4rem;
}
.footer-brand { display: flex; gap: 0.8rem; align-items: center; max-width: 280px; }
.footer-brand .brand-name { color: var(--mist); }
.footer-brand p { margin: 0.2rem 0 0; color: rgba(234, 241, 249, 0.62); font-size: 0.9rem; }
.footer-cols { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.footer-cols h4 { font-family: var(--sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(234, 241, 249, 0.55); margin: 0 0 0.9rem; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-cols a, .footer-cols li { color: var(--mist); text-decoration: none; font-size: 0.95rem; }
.footer-cols a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(234, 241, 249, 0.14); }
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem;
  padding: 1.2rem 0; font-size: 0.84rem; color: rgba(234, 241, 249, 0.6);
}
.footer-meta em { font-style: normal; color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 3.2rem 0 3.6rem; }
  .hero-aside { justify-content: flex-start; }
  .over-inner, .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .trustbar-inner { grid-template-columns: 1fr; gap: 1rem; }

  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center;
    width: 44px; height: 40px; gap: 5px;
    background: transparent; border: 1px solid var(--line); border-radius: 9px; cursor: pointer;
    padding: 0 10px;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    content: ""; display: block; height: 2px; width: 100%;
    background: var(--blue-800); border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle-bar { position: relative; }
  .nav-toggle-bar::before { position: absolute; top: -7px; }
  .nav-toggle-bar::after { position: absolute; top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

  .nav-list {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0.2rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.25rem 1.2rem;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 0.8rem 0.6rem; }
  .nav-cta { text-align: center; margin-top: 0.3rem; }
}

@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}

/* ============================================================
   Logo (vector-wordmark uit de aangeleverde EPS)
   ============================================================ */
.brand-logo {
  display: block; width: auto; height: 30px; flex: none;
  color: var(--blue-700);
}
.brand-logo svg, .brand-logo img { height: 100%; width: auto; display: block; }
.brand { align-items: center; gap: 0.85rem; }
.brand-text { gap: 0.15rem; }
.brand-tag {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: lowercase;
  color: var(--accent-dark); font-weight: 500;
}
.footer-brand .brand-logo { color: var(--white); height: 30px; margin-bottom: 0.45rem; }

/* ---------- Blijdorp partnerschap ---------- */
.partner {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.partner-inner {
  display: grid; grid-template-columns: 150px 1fr; gap: 2.4rem;
  align-items: center; padding: 3.2rem 0;
}
.partner-badge {
  width: 150px; height: auto; border-radius: 10px;
}
.partner-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.5rem; }
.partner-copy p { color: var(--muted); margin: 0 0 0.8rem; max-width: 62ch; }
.partner-copy p:last-child { margin-bottom: 0; }
.partner-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--blue-700); font-weight: 600; text-decoration: none; font-size: 0.95rem;
}
.partner-link:hover { text-decoration: underline; }

/* ---------- Kaart ---------- */
.map-wrap {
  margin-top: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--mist-deep);
}
.map-wrap iframe { display: block; width: 100%; height: 320px; border: 0; }
.map-note { font-size: 0.84rem; color: var(--muted); margin: 0.6rem 0 0; }
.map-note a { color: var(--blue-700); }

/* ---------- Select in formulier ---------- */
.field select {
  width: 100%; padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.97rem; color: var(--ink);
  background: var(--paper);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6b7d' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 12px 8px;
  padding-right: 2.4rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select:focus {
  outline: none; border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(2, 76, 141, 0.16);
}

/* Onderwerp-afhankelijke reactie */
.subject-response {
  display: none;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  border-left: 3px solid var(--blue-700);
  font-size: 0.9rem; color: var(--ink); line-height: 1.55;
}
.subject-response.is-visible { display: block; }

@media (max-width: 880px) {
  .partner-inner { grid-template-columns: 1fr; gap: 1.6rem; padding: 2.6rem 0; }
  .brand-logo { height: 26px; }
}

/* ---------- Formulierstatus & spamval ---------- */
.hp {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.form-status {
  margin: 0.9rem 0 0;
  font-size: 0.9rem; line-height: 1.55;
  padding: 0; border-radius: var(--radius-sm);
}
.form-status.is-busy { color: var(--muted); }
.form-status.is-ok {
  padding: 0.8rem 1rem;
  background: var(--blue-50); color: var(--blue-800);
  border-left: 3px solid var(--blue-700); font-weight: 500;
}
.form-status.is-error {
  padding: 0.8rem 1rem;
  background: #fdf0ee; color: #8c2f22;
  border-left: 3px solid #b4483a;
}
button[type="submit"][disabled] { opacity: 0.65; cursor: progress; }
