/*
Theme Name: GOOFIN
Theme URI: https://goofin.nl
Author: GOOFIN
Author URI: https://goofin.nl
Description: Onafhankelijk financieel advies — zakelijk, helder, betrouwbaar.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: goofin
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --blue:       #0A3D7C;
  --blue-mid:   #1558B0;
  --blue-light: #EBF2FF;
  --blue-line:  #C5D8F5;
  --white:      #FFFFFF;
  --gray-50:    #F9FAFB;
  --gray-100:   #F3F4F6;
  --gray-200:   #E5E8ED;
  --gray-500:   #6B7280;
  --gray-700:   #374151;
  --text:       #0F1923;
  --sans:       "DM Sans", system-ui, sans-serif;
  --serif:      "DM Serif Display", Georgia, serif;
  --max:        1080px;
  --pad:        clamp(1.5rem, 5vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--white); color: var(--text); font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── HEADER ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--blue);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.logo-wrap img { height: 38px; width: 75px; display: block; object-fit: contain; }
nav { display: flex; gap: 2rem; align-items: center; }
nav a { font-size: .875rem; font-weight: 500; color: var(--gray-700); letter-spacing: .01em; transition: color .15s; }
nav a:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue); color: var(--white) !important;
  padding: .5rem 1.3rem; border-radius: 3px; font-weight: 600 !important;
  transition: background .15s !important;
}
.nav-cta:hover { background: var(--blue-mid) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { width: 22px; height: 2px; background: var(--blue); display: block; border-radius: 1px; }

/* ── HERO ── */
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: clamp(5rem,10vw,8rem) var(--pad) clamp(4rem,8vw,6rem);
}
.hero-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.hero-tag {
  display: inline-block; background: var(--blue-light); color: var(--blue);
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .8rem; border-radius: 2px; margin-bottom: 1.4rem;
}
.hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 400; line-height: 1.15; color: var(--text); margin-bottom: 1.4rem; }
.hero h1 em { font-style: italic; color: var(--blue); }
.hero p { font-size: 1.05rem; color: var(--gray-500); max-width: 460px; margin-bottom: 2.2rem; }
.btn-primary { display: inline-block; background: var(--blue); color: var(--white); font-weight: 600; font-size: .9rem; padding: .8rem 1.8rem; border-radius: 3px; border: none; cursor: pointer; transition: background .15s, transform .1s; letter-spacing: .02em; }
.btn-primary:hover { background: var(--blue-mid); transform: translateY(-1px); }
.btn-secondary { display: inline-block; border: 1.5px solid var(--blue); color: var(--blue); font-weight: 600; font-size: .9rem; padding: .78rem 1.6rem; border-radius: 3px; margin-left: .8rem; transition: background .15s; }
.btn-secondary:hover { background: var(--blue-light); }
.hero-stats { background: var(--blue); border-radius: 6px; padding: 2.5rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.stat-n { font-family: var(--serif); font-size: 2.8rem; color: var(--white); line-height: 1; font-weight: 400; }
.stat-l { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: .4rem; }
.stat-divider { grid-column: 1 / -1; border: none; border-top: 1px solid rgba(255,255,255,.15); }

/* ── SECTIONS ── */
section { padding: clamp(4rem,7vw,6rem) var(--pad); }
.container { max-width: var(--max); margin: 0 auto; }
.sec-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--blue); margin-bottom: .8rem; }
.sec-title { font-family: var(--serif); font-size: clamp(1.9rem,3.2vw,2.6rem); font-weight: 400; color: var(--text); line-height: 1.2; margin-bottom: 1rem; }
.sec-lead { font-size: 1rem; color: var(--gray-500); max-width: 540px; }

/* ── DIENSTEN ── */
.diensten-bg { background: var(--gray-50); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.diensten-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; margin-top: 3rem; background: var(--gray-200); border: 1.5px solid var(--gray-200); border-radius: 6px; overflow: hidden; }
.card { background: var(--white); padding: 2.2rem 2rem; transition: background .2s; }
.card:hover { background: var(--blue-light); }
.card-num { font-family: var(--serif); font-size: 2.5rem; color: var(--blue-line); font-weight: 400; line-height: 1; margin-bottom: 1.2rem; }
.card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .6rem; }
.card p { font-size: .875rem; color: var(--gray-500); margin-bottom: 1.2rem; }
.card-list { list-style: none; }
.card-list li { font-size: .85rem; color: var(--gray-700); padding: .38rem 0; border-bottom: 1px solid var(--gray-200); display: flex; gap: .5rem; }
.card-list li:last-child { border-bottom: none; }
.card-list li::before { content: "–"; color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* ── WERKWIJZE ── */
.werkwijze-bg { background: var(--blue); }
.werkwijze-bg .sec-title { color: var(--white); }
.werkwijze-bg .sec-lead { color: rgba(255,255,255,.55); }
.werkwijze-bg .sec-eyebrow { color: var(--blue-line); }
.stappen { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 3rem; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; overflow: hidden; }
.stap { padding: 2rem 1.8rem; border-right: 1px solid rgba(255,255,255,.1); }
.stap:last-child { border-right: none; }
.stap-n { font-family: var(--serif); font-size: 3rem; color: rgba(255,255,255,.18); line-height: 1; margin-bottom: 1rem; }
.stap h3 { font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .06em; }
.stap p { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.65; }

/* ── OVER ── */
.over-split { display: grid; grid-template-columns: 340px 1fr; gap: clamp(3rem,6vw,6rem); align-items: start; }
.over-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; border: 1px solid var(--gray-200); }
.over-body { font-size: .95rem; color: var(--gray-500); margin-top: 1rem; margin-bottom: 2rem; line-height: 1.75; }
.kwal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); border-radius: 4px; overflow: hidden; margin-top: 2rem; }
.kwal { background: var(--white); padding: 1.1rem 1.2rem; }
.kwal strong { display: flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .07em; margin-bottom: .25rem; }
.kwal strong::before { content: ''; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }
.kwal span { font-size: .85rem; color: var(--gray-500); }

/* ── CONTACT ── */
.contact-bg { background: var(--gray-50); border-top: 1px solid var(--gray-200); }
.contact-split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(3rem,6vw,5rem); align-items: start; }
.cinfo-row { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.4rem; margin-top: 2.5rem; }
.cinfo-dot { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; margin-top: .55rem; flex-shrink: 0; }
.cinfo-row strong { display: block; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text); margin-bottom: .15rem; }
.cinfo-row span, .cinfo-row a { font-size: .9rem; color: var(--gray-500); }
.cinfo-row a:hover { color: var(--blue); }
.form-wrap { background: var(--white); border: 1px solid var(--gray-200); border-radius: 6px; padding: 2.5rem; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.form-wrap h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--text); margin-bottom: 1.5rem; font-weight: 400; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { margin-bottom: 1.1rem; }
.fg label { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin-bottom: .4rem; }
.fg input, .fg select, .fg textarea { width: 100%; padding: .7rem .9rem; border: 1.5px solid var(--gray-200); border-radius: 3px; font-family: var(--sans); font-size: .9rem; color: var(--text); background: var(--white); outline: none; transition: border-color .15s; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--blue); }
.fg textarea { resize: vertical; min-height: 110px; }
.form-btn { width: 100%; padding: .88rem; background: var(--blue); color: var(--white); font-family: var(--sans); font-size: .9rem; font-weight: 700; border: none; border-radius: 3px; cursor: pointer; transition: background .15s; }
.form-btn:hover { background: var(--blue-mid); }

/* ── FOOTER ── */
.site-footer { background: var(--text); padding: 3rem var(--pad) 2rem; }
.foot-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-logo img { height: 32px; width: 65px; object-fit: contain; filter: brightness(0) invert(1); opacity: .75; }
.foot-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.foot-links a { font-size: .85rem; color: rgba(255,255,255,.4); transition: color .15s; }
.foot-links a:hover { color: rgba(255,255,255,.8); }
.foot-copy { max-width: var(--max); margin: 1.5rem auto 0; font-size: .82rem; color: rgba(255,255,255,.3); text-align: center; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-right { display: none; }
  .diensten-grid { grid-template-columns: 1fr; }
  .stappen { grid-template-columns: 1fr 1fr; }
  .stap { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stap:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 768px) {
  nav { display: none; }
  nav.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 1.5rem var(--pad); gap: 1.2rem; border-bottom: 2px solid var(--blue); box-shadow: 0 4px 12px rgba(0,0,0,.1); }
  .hamburger { display: flex; }
  .over-split { grid-template-columns: 1fr; }
  .over-photo { display: none; }
  .contact-split { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; }
  .kwal-grid { grid-template-columns: 1fr; }
  .stappen { grid-template-columns: 1fr; }
  .btn-secondary { margin-left: 0; margin-top: .8rem; display: block; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
