/* ── Scheeltwerk.nl — Global Styles ── */
:root {
  --ink: #1a1d21;
  --muted: #4a5060;
  --light: #f7f8fa;
  --white: #ffffff;
  --border: #e4e7ec;
  --accent: #e07830;
  --accent-hover: #c96820;
  --accent-soft: #fdf0e6;
  --accent-text: #b35a18;
  --green: #1a7a4a;
  --green-soft: #eaf7f0;
  --blue: #2563eb;
  --blue-soft: #eff4ff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ── Typography ── */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4vw + 1rem, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.5vw + .5rem, 2.2rem); }
h3 { font-size: 1.2rem; }
.text-muted { color: var(--muted); }
.text-accent { color: var(--accent); }
.text-green { color: var(--green); }

/* ── Layout ── */
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 80px 0; }
.section.alt { background: var(--light); }
.section-label {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-text);
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 12px;
}
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 10px; color: var(--muted); font-size: 1.05rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm); border: none;
  font: 700 .95rem/1 'Inter', sans-serif; text-decoration: none;
  cursor: pointer; transition: all .15s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(224,120,48,.25); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--white); color: var(--ink); border: 1.5px solid var(--border); }
.btn-secondary:hover { background: var(--light); border-color: #ccd0d8; }
.btn-ghost { background: transparent; color: var(--accent); padding: 14px 0; }
.btn-ghost:hover { color: var(--accent-hover); }

/* ── Cards ── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); transition: box-shadow .2s;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 1.4rem;
}

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 20px;
}
.nav-brand {
  font-size: 1.25rem; font-weight: 800; text-decoration: none; color: var(--ink);
  letter-spacing: -.02em;
}
.nav-brand span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  text-decoration: none; color: var(--muted); font-size: .9rem;
  font-weight: 600; transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: 8px; }
.nav-mobile { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-mobile svg { width: 24px; height: 24px; stroke: var(--ink); }

/* ── Hero ── */
.hero { padding: 80px 0 60px; }
.hero-inner { max-width: 720px; }
.hero h1 { margin-bottom: 18px; }
.hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 580px; margin-bottom: 28px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 24px; padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-proof-item { display: flex; align-items: center; gap: 10px; }
.hero-proof-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}
.hero-proof-text { font-size: .88rem; color: var(--muted); font-weight: 600; }

/* ── Grid layouts ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ── Diensten ── */
.dienst-card { position: relative; overflow: hidden; }
.dienst-card .card-icon.oranje { background: var(--accent-soft); color: var(--accent); }
.dienst-card .card-icon.groen { background: var(--green-soft); color: var(--green); }
.dienst-card .card-icon.blauw { background: var(--blue-soft); color: var(--blue); }
.dienst-tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 14px;
}
.dienst-tag.auto { background: var(--accent-soft); color: var(--accent-text); }
.dienst-tag.maat { background: var(--green-soft); color: var(--green); }

/* ── Voorbeelden (interactive cards) ── */
.voorbeeld-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.voorbeeld-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; cursor: default;
  transition: border-color .2s, box-shadow .2s;
}
.voorbeeld-card:hover { border-color: var(--accent); box-shadow: 0 8px 24px rgba(224,120,48,.08); }
.voorbeeld-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.voorbeeld-probleem { font-weight: 700; font-size: 1rem; }
.voorbeeld-type {
  flex-shrink: 0; padding: 3px 10px; border-radius: 999px;
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  background: var(--light); color: var(--muted); letter-spacing: .04em;
}
.voorbeeld-oplossing { color: var(--muted); font-size: .92rem; margin-bottom: 10px; }
.voorbeeld-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.voorbeeld-tag {
  padding: 3px 8px; border-radius: 6px; font-size: .72rem; font-weight: 600;
  background: var(--light); color: var(--muted);
}
.voorbeeld-scheelt {
  padding: 3px 8px; border-radius: 6px; font-size: .72rem; font-weight: 700;
  background: var(--green-soft); color: var(--green);
}

/* ── Over Joep ── */
.over-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.over-foto {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius);
  background: var(--light); display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .9rem; border: 1px solid var(--border);
}
.over-content h2 { margin-bottom: 14px; }
.over-content p { color: var(--muted); margin-bottom: 14px; }
.over-bewijs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.over-bewijs-item {
  padding: 8px 14px; border-radius: var(--radius-sm);
  background: var(--light); border: 1px solid var(--border);
  font-size: .85rem; font-weight: 600; color: var(--ink);
}

/* ── Proces (hoe werkt een samenwerking) ── */
.proces-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proces-step { text-align: center; padding: 24px 16px; }
.proces-num {
  width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 1rem;
}
.proces-step h3 { margin-bottom: 6px; font-size: 1.05rem; }
.proces-step p { color: var(--muted); font-size: .88rem; }

/* ── CTA Block ── */
.cta-block {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 52px 40px; text-align: center; box-shadow: var(--shadow-lg);
}
.cta-block h2 { color: #fff; margin-bottom: 12px; }
.cta-block p { color: rgba(255,255,255,.7); max-width: 500px; margin: 0 auto 24px; }
.cta-block .btn-primary { box-shadow: 0 4px 16px rgba(224,120,48,.35); }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── Footer ── */
.footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { font-weight: 800; font-size: 1.1rem; }
.footer-brand span { color: var(--accent); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; color: var(--muted); font-size: .88rem; font-weight: 500; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { color: var(--muted); font-size: .82rem; }

/* ── Forms ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; }
.form-label .opt { color: var(--muted); font-weight: 400; font-size: .82rem; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font: 400 .95rem 'Inter', sans-serif;
  color: var(--ink); background: var(--white); outline: none; transition: border-color .15s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--accent); }
.form-textarea { min-height: 100px; resize: vertical; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; }
.form-checkbox input { margin-top: 4px; accent-color: var(--accent); }
.form-checkbox label { font-size: .88rem; color: var(--muted); }
.form-error { color: #d44; font-size: .82rem; margin-top: 4px; }
.form-success {
  background: var(--green-soft); border: 1px solid #b8e0cc;
  border-radius: var(--radius); padding: 28px; text-align: center;
}
.form-success h3 { color: var(--green); margin-bottom: 8px; }

/* ── Scan tool ── */
.scan-form-wrap {
  background: var(--light); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; max-width: 520px;
  margin: 0 auto;
}
.scan-input-row { display: flex; gap: 10px; }
.scan-input-row .form-input { flex: 1; }
.scan-loading { text-align: center; padding: 40px 0; color: var(--muted); }
.scan-loading .spinner {
  width: 36px; height: 36px; border: 3px solid var(--border);
  border-top-color: var(--accent); border-radius: 50%;
  animation: spin .7s linear infinite; margin: 0 auto 14px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.scan-preview {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-top: 20px;
}
.scan-idea { padding: 16px; border-radius: var(--radius-sm); background: var(--light); margin-bottom: 12px; }
.scan-idea:last-child { margin-bottom: 0; }
.scan-idea-type {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent-text); margin-bottom: 8px;
}
.scan-idea h4 { margin-bottom: 6px; }
.scan-idea p { color: var(--muted); font-size: .9rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-3, .proces-grid { grid-template-columns: 1fr; }
  .grid-2, .voorbeeld-grid { grid-template-columns: 1fr; }
  .over-grid { grid-template-columns: 1fr; }
  .hero { padding: 50px 0 40px; }
  .section { padding: 50px 0; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-mobile { display: block; }
  .hero h1 { font-size: 2rem; }
  .cta-block { padding: 36px 22px; }
  .scan-input-row { flex-direction: column; }
}
