/* ============================================================
   Sprout | — styles.css
   Premium, zakelijke finance-huisstijl.
   Palet: navy / deep green / accent green / warm bg.
   ============================================================ */

:root {
  --navy: #102A43;        /* primary navy — koppen/tekst donker */
  --green: #173F35;       /* deep green — knoppen, method, footer */
  --green-700: #1f5346;   /* hover deep green */
  --accent: #A3D65C;      /* accent green — pipe, charts, highlights */
  --accent-600: #8cc23f;  /* iets dieper accent voor tekst op wit */
  --bg: #F7F5EF;          /* warm background */
  --charcoal: #1F2933;    /* body tekst */
  --muted: #52606D;       /* secundaire tekst */
  --border: #D9E2EC;      /* border grey */
  --white: #ffffff;
  --card: #ffffff;

  --shadow-sm: 0 1px 2px rgba(16, 42, 67, .05);
  --shadow: 0 2px 4px rgba(16, 42, 67, .04), 0 14px 34px rgba(16, 42, 67, .08);
  --radius: 16px;
  --radius-sm: 12px;
  --maxw: 1200px;

  --font-head: "Sora", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; color: var(--navy); margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; color: var(--muted); }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
svg { display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 720px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200; }
.skip-link:focus { left: 0; }

/* ---------- Accent bar ---------- */
.accent-bar { display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--accent); margin-bottom: 20px; }
.accent-bar.center { margin-left: auto; margin-right: auto; }

/* ---------- Brand / woordmerk ---------- */
.brand { display: inline-flex; align-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; text-decoration: none; }
.brand-name { color: var(--navy); }
.brand-pipe { color: var(--accent-600); font-weight: 700; margin-left: 6px; }
.brand:hover { text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 10px 20px; font-size: .95rem; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(23, 63, 53, .22); }
.btn-primary:hover { background: var(--green-700); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--green); background: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 245, 239, .82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-menu { list-style: none; display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; }
.nav-menu a { color: var(--navy); font-weight: 500; font-size: .98rem; }
.nav-menu a:hover { color: var(--green); text-decoration: none; }
.nav-cta a { color: #fff; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%); padding: 72px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.2rem, 4.4vw, 3.35rem); font-weight: 800; margin-bottom: 20px; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Dashboard cards ---------- */
.dashboard {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; align-items: start;
}
.dash-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); min-width: 0;
}
.card-cashflow { grid-column: 1; grid-row: 1; }
.card-runway   { grid-column: 2; grid-row: 1; }
.card-report   { grid-column: 1; grid-row: 2; }
.card-ebitda   { grid-column: 2; grid-row: 2; }
.card-scenario { grid-column: 1 / -1; grid-row: 3; display: flex; align-items: center; gap: 14px; }

.dash-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.dash-title { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--navy); }
.dash-sub { font-size: .8rem; color: var(--muted); }
.dash-label { font-size: .82rem; color: var(--muted); font-weight: 500; display: block; margin-bottom: 6px; }
.dash-value { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; color: var(--navy); display: block; letter-spacing: -.02em; }
.dash-delta { font-size: .78rem; color: var(--accent-600); font-weight: 600; margin-top: 4px; display: block; }

.progress { height: 8px; border-radius: 999px; background: #eef1ee; margin-top: 12px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 999px; background: var(--accent); }

/* line chart */
.chart-line { width: 100%; height: 120px; }
.chart-line .grid line { stroke: var(--border); stroke-width: 1; }
.chart-line .grid text { fill: #9aa5b1; font-size: 8px; font-family: var(--font-body); }
.chart-line .line-solid { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart-line .line-dotted { fill: none; stroke: #b7c2cf; stroke-width: 1.6; stroke-dasharray: 3 4; stroke-linecap: round; }
.chart-xaxis { display: flex; justify-content: space-between; padding: 6px 4px 0 30px; font-size: .68rem; color: #9aa5b1; }

/* bar chart */
.chart-bars { width: 100%; height: 62px; }
.chart-bars rect { fill: #cfd8e3; }
.chart-bars .bar-accent { fill: var(--accent); }

/* scenario card */
.card-scenario .dash-title { display: block; }
.card-scenario .dash-sub { display: block; margin-top: 2px; }
.dash-check { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; background: rgba(163, 214, 92, .18); color: var(--green); display: inline-flex; align-items: center; justify-content: center; }
.dash-check svg { width: 22px; height: 22px; }

/* ---------- Trust strip ---------- */
.trust-strip {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 40px; margin: 40px 0 0; padding: 26px 0 0;
  border-top: 1px solid var(--border);
}
.trust-strip li { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .98rem; }
.trust-icon { flex: 0 0 auto; width: 30px; height: 30px; color: var(--green); }
.trust-icon svg { width: 30px; height: 30px; }

/* ---------- Section basics ---------- */
section { padding: 84px 0; }
.section-head { max-width: 720px; margin: 0 0 44px; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 700; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--green); margin: 0 0 10px; font-family: var(--font-head); }
.lead { font-size: 1.16rem; color: var(--charcoal); }

/* ---------- Intro ---------- */
.intro { background: var(--bg); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.intro-body p:last-child { margin-bottom: 0; }

/* ---------- Diensten ---------- */
.services { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c6d2e0; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 13px; background: var(--white); border: 1px solid var(--border); color: var(--green); margin-bottom: 18px; }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.14rem; margin-bottom: .4em; line-height: 1.3; }
.card p { margin: 0; font-size: .98rem; }

/* ---------- Werkwijze ---------- */
.method { background: var(--green); }
.method .section-title { color: #fff; }
.method .eyebrow { color: var(--accent); }
.method .accent-bar { background: var(--accent); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px 24px; }
.step-num { display: block; font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--accent); margin-bottom: 12px; letter-spacing: -.02em; }
.step h3 { color: #fff; font-size: 1.15rem; margin-bottom: .35em; }
.step p { color: #c5d6cf; margin: 0; font-size: .97rem; }

/* ---------- Over Peter ---------- */
.about { background: var(--bg); }
.about-inner { display: grid; grid-template-columns: 320px 1fr; gap: 52px; align-items: center; }
.about-media { display: flex; justify-content: center; }
.monogram {
  width: 100%; max-width: 300px; aspect-ratio: 1 / 1; border-radius: 26px;
  background: linear-gradient(150deg, var(--green) 0%, var(--navy) 100%);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 2rem; font-weight: 800; letter-spacing: -.03em;
  box-shadow: var(--shadow);
}
.monogram span { color: var(--accent); margin-left: 6px; }
.quote { margin: 24px 0 0; padding: 18px 22px; border-left: 3px solid var(--accent); background: var(--white); border: 1px solid var(--border); border-left-width: 3px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: var(--navy); font-size: 1.06rem; }

/* ---------- Voor wie ---------- */
.audience { background: var(--white); border-top: 1px solid var(--border); }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.audience-item { padding: 26px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.audience-item h3 { font-size: 1.1rem; margin-bottom: .35em; }
.audience-item p { margin: 0; font-size: .96rem; }

/* ---------- CTA ---------- */
.cta { background: var(--bg); border-top: 1px solid var(--border); text-align: center; }
.cta-inner { margin: 0 auto; }
.cta .section-head { text-align: center; }
.cta .hero-actions { justify-content: center; margin: 6px 0 34px; }
.contact-list {
  list-style: none; margin: 0 auto; padding: 24px; max-width: 560px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; gap: 14px; text-align: left;
}
.contact-list li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-label { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Contactformulier ---------- */
.contact-form {
  max-width: 560px; margin: 0 auto 28px; padding: 28px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: left;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: 6px; }
.contact-form input,
.contact-form textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--charcoal);
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); transition: border-color .15s ease, box-shadow .15s ease; -webkit-appearance: none;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--green); background: var(--white);
  box-shadow: 0 0 0 3px rgba(23, 63, 53, .10);
}
.contact-form .btn { width: 100%; margin-top: 4px; }
.form-note { margin: 14px 0 0; font-size: .86rem; color: var(--muted); text-align: center; }

/* honeypot verbergen voor mensen, bereikbaar voor bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* status-melding na verzenden */
.form-status { display: none; margin-bottom: 18px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 500; }
.form-status.is-ok { display: block; background: rgba(163, 214, 92, .16); border: 1px solid var(--accent); color: var(--green); }
.form-status.is-error { display: block; background: #fdecec; border: 1px solid #f2b8b8; color: #b42318; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b7c4d4; padding: 56px 0 28px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { max-width: 360px; }
.footer-brand .brand-name { color: #fff; font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; }
.footer-brand .brand-pipe { color: var(--accent); margin-left: 6px; }
.footer-brand p { margin: 12px 0 0; color: #93a4b8; }
.social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-top: 18px; border-radius: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.social-btn:hover { background: var(--accent); color: var(--navy); transform: translateY(-2px); text-decoration: none; }
.social-btn svg { width: 20px; height: 20px; }
.footer-heading { font-family: var(--font-head); color: #fff; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 14px; }
.footer-details { font-style: normal; color: #b7c4d4; line-height: 1.95; font-size: .96rem; }
.footer-details a { color: #d6e0ec; }
.footer-details a:hover { color: #fff; }
.footer-fiscal { color: #7c8da3; font-size: .88rem; }
.footer-bottom { padding-top: 22px; }
.footer-bottom p { margin: 0; color: #7c8da3; font-size: .9rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-sub { max-width: none; }
  .dashboard { max-width: 560px; }
}

@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .about-media { order: -1; }
  .about-body .accent-bar { margin-left: auto; margin-right: auto; }
  .quote { text-align: left; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; background: transparent; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); margin: 0 auto; transition: .2s; }
  .nav-menu { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 8px 0; max-height: 0; overflow: hidden; box-shadow: var(--shadow); transition: max-height .25s ease; margin: 0; }
  .nav-menu.is-open { max-height: 400px; }
  .nav-menu li { border-top: 1px solid var(--border); }
  .nav-menu li:first-child { border-top: 0; }
  .nav-menu a { display: block; padding: 14px 28px; }
  .nav-cta { padding: 12px 28px; }
  .nav-cta a { display: block; text-align: center; }
  .dashboard { grid-template-columns: 1fr; }
  .card-cashflow, .card-runway, .card-report, .card-ebitda, .card-scenario { grid-column: 1; grid-row: auto; }
}

@media (max-width: 560px) {
  section { padding: 60px 0; }
  .card-grid, .steps, .audience-grid { grid-template-columns: 1fr; }
  .contact-list li { flex-direction: column; gap: 4px; }
  .btn { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; }
}

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