/*
Theme Name: Marktrichting
Theme URI: https://marktrichting.nl
Author: Marktrichting
Author URI: https://marktrichting.nl
Description: Custom one-page thema voor Marktrichting — strategisch advies voor ambitieuze ondernemers. Gebaseerd op het Webflow-ontwerp van marktrichting.nl.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: marktrichting
*/

/* ==========================================================================
   0. Custom properties / brand system
   ========================================================================== */
:root {
  --navy: #0a1a2f;
  --navy-soft: #142b4a;
  --accent: #32b1f0;
  --accent-dark: #1e8fcc;
  --ice: #e5f3fc;
  --border: #e5e7eb;
  --text: #4a4a4a;
  --text-strong: #1a1a1a;
  --white: #ffffff;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
  --radius: 14px;
}

/* ==========================================================================
   1. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; color: var(--text-strong); letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.kicker::before, .kicker::after { content: ""; width: 24px; height: 1px; background: var(--accent); opacity: .6; }
.section-eyebrow--light { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-outline { border-color: rgba(255,255,255,.35); color: var(--white); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-dark:hover { border-color: var(--accent); color: var(--accent-dark); }

/* ==========================================================================
   2. Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 26, 47, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.site-logo {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: uppercase;
}
.site-logo .arrow { color: var(--accent); margin: 0 1px; }
.primary-nav ul { display: flex; align-items: center; gap: 36px; }
.primary-nav a {
  color: rgba(255,255,255,.82);
  font-size: 15px;
  font-weight: 500;
  transition: color .15s ease;
}
.primary-nav a:hover { color: var(--white); }
.header-cta { display: flex; align-items: center; gap: 20px; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

/* ==========================================================================
   3. Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 110px 0 90px;
  text-align: center;
  overflow: hidden;
  background-image:
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 15%, rgba(50,177,240,.16), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero h1 {
  color: var(--white);
  font-size: clamp(40px, 6.4vw, 76px);
  max-width: 900px;
  margin: 0 auto;
}
.hero h1 .accent { color: var(--accent); }
.hero-lead {
  max-width: 620px;
  margin: 28px auto 0;
  color: rgba(255,255,255,.68);
  font-size: 18px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-scroll {
  margin-top: 70px;
  font-size: 12px;
  letter-spacing: .18em;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
}

/* ==========================================================================
   4. Stats bar
   ========================================================================== */
.stats-bar { background: var(--ice); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 56px 0;
  text-align: center;
}
.stats-grid .stat-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.stats-grid .stat-label { color: var(--text); font-size: 15px; max-width: 260px; margin: 0 auto; }
.stats-grid .stat + .stat { border-left: 1px solid rgba(10,26,47,.1); }

/* ==========================================================================
   5. Section heading pattern
   ========================================================================== */
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { margin-top: 18px; font-size: 17px; color: var(--text); }
.section--dark { background: var(--navy); color: rgba(255,255,255,.7); }
.section--dark .section-head h2 { color: var(--white); }
.section--dark .kicker { color: var(--accent); }
.section--dark .kicker::before, .section--dark .kicker::after { background: var(--accent); }

/* ==========================================================================
   6. Diensten (services)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(10,26,47,.18);
}
.service-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent-dark);
  margin-bottom: 18px;
  display: block;
}
.service-card h3 { font-size: 21px; margin-bottom: 12px; }
.service-card p { font-size: 15.5px; }
.service-link {
  display: inline-flex;
  margin-top: 20px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--accent-dark);
}
.service-link:hover { color: var(--accent); }

/* ==========================================================================
   7. Aanpak (process)
   ========================================================================== */
.process-list { max-width: 760px; margin: 0 auto; }
.process-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.process-item:last-child { border-bottom: none; }
.process-num { font-size: 34px; font-weight: 800; color: var(--accent); }
.process-item h3 { color: var(--white); font-size: 20px; margin-bottom: 8px; }
.process-item p { font-size: 15.5px; }

/* ==========================================================================
   8. Over mij (about)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-soft) 60%, var(--accent-dark) 140%);
  position: relative;
  overflow: hidden;
}
.about-portrait::after {
  content: "MR";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 90px;
  font-weight: 800;
  color: rgba(255,255,255,.14);
  letter-spacing: -0.04em;
}
.about-body .kicker { justify-content: flex-start; }
.about-body h2 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 20px; }
.about-body p { font-size: 16.5px; margin-bottom: 28px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-pill {
  background: var(--ice);
  color: var(--navy);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
}

/* ==========================================================================
   9. CTA / Contact
   ========================================================================== */
.cta-section {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(50,177,240,.18), transparent 65%);
  pointer-events: none;
}
.cta-section .container { position: relative; }
.cta-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.cta-head h2 { color: var(--white); font-size: clamp(30px, 4.6vw, 48px); }
.cta-head p { margin-top: 18px; color: rgba(255,255,255,.68); font-size: 17px; }

.contact-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(255,255,255,.35); }
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,.09);
}
.form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,.6); }
.form-consent input { margin-top: 3px; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-submit-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 6px; }
.contact-alt { font-size: 14px; color: rgba(255,255,255,.55); text-align: center; margin-top: 22px; }
.contact-alt a { color: var(--accent); font-weight: 600; }
.form-notice {
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14.5px;
  margin-bottom: 20px;
}
.form-notice--success { background: rgba(50,177,240,.14); border: 1px solid rgba(50,177,240,.4); color: var(--white); }
.form-notice--error { background: rgba(240,90,50,.12); border: 1px solid rgba(240,90,50,.4); color: var(--white); }

/* ==========================================================================
   10. Footer
   ========================================================================== */
.site-footer { background: #071322; color: rgba(255,255,255,.55); padding: 70px 0 30px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .site-logo { margin-bottom: 14px; }
.footer-tagline { font-size: 15px; }
.footer-col h4 {
  color: rgba(255,255,255,.85);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 15px; color: rgba(255,255,255,.6); transition: color .15s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 13.5px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   11. Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 340px; margin: 0 auto; }
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats-grid .stat + .stat { border-left: none; border-top: 1px solid rgba(10,26,47,.1); padding-top: 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .primary-nav, .header-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .site-header.nav-open .primary-nav {
    display: block;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--navy);
    padding: 20px 24px 28px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .site-header.nav-open .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 18px; }
  .site-header.nav-open .header-cta .btn { display: inline-flex; }
  .section { padding: 76px 0; }
  .hero { padding: 90px 0 60px; }
  .contact-wrap { padding: 26px; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
}
