/* ── Scheeltwerk.nl — v2: scherper, eigenzinniger ── */
:root {
  --ink: #111318;
  --ink-soft: #2a2d35;
  --muted: #5a5f6d;
  --cream: #faf8f4;
  --white: #ffffff;
  --border: #d8d4cc;
  --border-strong: #111318;
  --accent: #e07830;
  --accent-hover: #c86820;
  --accent-soft: #fdf0e6;
  --accent-text: #b35a18;
  --green: #1a7a4a;
  --green-soft: #eaf7f0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,.04);
  --shadow-card: 0 1px 0 rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.04);
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
}

* { 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(--cream);
  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: 900; line-height: 1.08; letter-spacing: -.025em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 5vw + 1rem, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw + .5rem, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
.text-muted { color: var(--muted); }

/* ── Layout ── */
.container { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 72px 0; }
.section.cream { background: var(--cream); }
.section.white { background: var(--white); }
.section.dark {
  background: var(--ink); color: var(--cream);
  position: relative;
}
.section.dark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); background-size: 128px; opacity: .5;
}
.section.dark > * { position: relative; z-index: 1; }
.section.dark h2 { color: var(--cream); }
.section.dark p { color: rgba(250,248,244,.65); }

.section-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font: 800 .72rem/1 'Inter', sans-serif;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent); margin-bottom: 14px;
}
.section-kicker::before {
  content: ""; width: 24px; height: 2px; background: var(--accent); display: inline-block;
}
.section-head { max-width: 580px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 1.02rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: var(--radius-sm); border: 2px solid transparent;
  font: 800 .92rem/1 'Inter', sans-serif; text-decoration: none;
  cursor: pointer; transition: all .12s; letter-spacing: -.01em;
}
.btn-primary {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(224,120,48,.3);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-soft); }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,244,.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; gap: 20px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  text-decoration: none; color: var(--muted); font-size: .88rem;
  font-weight: 700; transition: color .12s; letter-spacing: -.01em;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: 4px; }
.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 48px; }
.hero-inner { max-width: 680px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--accent); }
.hero .lede {
  font-size: 1.12rem; color: var(--muted); max-width: 540px;
  margin-bottom: 32px; line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 20px; padding-top: 24px;
  border-top: 2px solid var(--border);
}
.hero-proof-item {
  font-size: .82rem; color: var(--muted); font-weight: 700;
  display: flex; align-items: center; gap: 8px; letter-spacing: -.01em;
}
.hero-proof-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0;
}

/* ── Diensten ── */
.diensten-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: stretch; }
.dienst-panel {
  padding: 30px 30px 28px; position: relative; overflow: hidden;
  border: 2px solid var(--border); border-radius: var(--radius);
  background: var(--white);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.dienst-panel:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow-card); }
.dienst-panel.links, .dienst-panel.rechts { border-radius: var(--radius); }
.dienst-panel.links::before, .dienst-panel.rechts::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
}
.dienst-panel.links::before { background: linear-gradient(to bottom, rgba(17,19,24,.02), rgba(17,19,24,0) 120px); }
.dienst-panel.rechts::before { background: linear-gradient(to bottom, rgba(224,120,48,.05), rgba(224,120,48,0) 120px); }

.dienst-visual {
  height: 84px; margin-bottom: 18px;
  border: 1px solid var(--border); border-radius: 10px;
  background: linear-gradient(to bottom, rgba(17,19,24,.015), rgba(17,19,24,0)), var(--grain);
  background-size: auto, 128px;
  display: flex; align-items: center; justify-content: center; padding: 14px;
}
.visual-flow { gap: 10px; }
.vf-box {
  min-width: 68px; height: 34px; padding: 0 10px;
  border: 2px solid var(--ink); border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); font-size: .72rem; font-weight: 800; letter-spacing: -.01em;
}
.vf-sheet { border-color: var(--accent); color: var(--accent-text); }
.vf-line { width: 24px; height: 2px; background: var(--border-strong); position: relative; }
.vf-line::after {
  content: ""; position: absolute; right: -2px; top: -3px;
  width: 8px; height: 8px; border-top: 2px solid var(--border-strong);
  border-right: 2px solid var(--border-strong); transform: rotate(45deg);
}
.vf-gear {
  width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 50%; position: relative;
}
.vf-gear::before, .vf-gear::after {
  content: ""; position: absolute; inset: 5px; border: 2px solid var(--ink); border-radius: 50%;
}
.vf-check {
  width: 28px; height: 28px; border-radius: 50%; background: var(--accent);
  position: relative; flex-shrink: 0;
}
.vf-check::before {
  content: ""; position: absolute; left: 8px; top: 6px;
  width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.visual-ui { align-items: center; justify-content: center; }
.vu-window { width: 210px; border: 2px solid var(--accent); border-radius: 10px; background: var(--white); overflow: hidden; }
.vu-top {
  height: 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 5px; padding: 0 8px;
  background: rgba(224,120,48,.08);
}
.vu-top span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .8; }
.vu-body { display: grid; grid-template-columns: 44px 1fr; min-height: 74px; }
.vu-sidebar { border-right: 1px solid var(--border); background: linear-gradient(to bottom, rgba(224,120,48,.08), rgba(224,120,48,0)); }
.vu-main { padding: 10px; }
.vu-row { height: 9px; border-radius: 999px; background: rgba(17,19,24,.14); margin-bottom: 8px; }
.vu-row.short { width: 60%; }
.vu-button { width: 52px; height: 16px; border-radius: 999px; background: var(--accent); margin-top: 4px; }

.dienst-img {
  width: 100%; border-radius: 10px; margin-bottom: 18px;
  border: 1px solid var(--border);
}
.dienst-label {
  display: inline-flex; padding: 5px 12px; border-radius: 6px;
  font: 800 .7rem/1 'Inter', sans-serif; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 14px;
}
.dienst-label.auto { background: var(--ink); color: var(--cream); }
.dienst-label.maat { background: var(--accent); color: #fff; }
.dienst-panel h3 { font-size: 1.55rem; margin-bottom: 10px; }
.dienst-panel p { color: var(--muted); margin-bottom: 16px; max-width: 42ch; }
.dienst-list { list-style: none; padding: 0; }
.dienst-list li {
  padding: 10px 0; border-top: 1px solid var(--border);
  font-size: .92rem; color: var(--ink-soft); font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}
.dienst-list li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; flex-shrink: 0; }
.dienst-panel.links .dienst-list li::before { background: var(--ink); }
.dienst-panel.rechts .dienst-list li::before { background: var(--accent); }

/* ── Voorbeelden ── */
.voorbeeld-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.voorbeeld-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border-color .15s, transform .15s;
}
.voorbeeld-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.voorbeeld-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.voorbeeld-probleem { font-weight: 800; font-size: .98rem; letter-spacing: -.01em; }
.voorbeeld-type {
  flex-shrink: 0; padding: 4px 10px; border-radius: 6px;
  font: 800 .65rem/1 'Inter', sans-serif; text-transform: uppercase;
  letter-spacing: .06em;
}
.voorbeeld-type.auto { background: var(--ink); color: var(--cream); }
.voorbeeld-type.maat { background: var(--accent); color: #fff; }
.voorbeeld-oplossing { color: var(--muted); font-size: .9rem; margin-bottom: 12px; line-height: 1.5; }
.voorbeeld-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.voorbeeld-tag {
  padding: 4px 10px; border-radius: 6px; font-size: .72rem; font-weight: 700;
  background: var(--cream); color: var(--muted); border: 1px solid var(--border);
}
.voorbeeld-scheelt {
  padding: 4px 10px; border-radius: 6px; font-size: .72rem; font-weight: 800;
  background: var(--green-soft); color: var(--green); border: 1px solid #b8e0cc;
}

/* ── Over Joep ── */
.over-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 48px; align-items: start; }
.over-foto {
  border-radius: var(--radius); overflow: hidden;
  border: 2px solid var(--border);
}
.over-foto img { width: 100%; display: block; }
.over-content h2 { margin-bottom: 16px; }
.over-content p { color: var(--muted); margin-bottom: 14px; line-height: 1.65; }
.over-bewijs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.over-bewijs-item {
  padding: 8px 14px; border-radius: var(--radius-sm);
  border: 2px solid var(--border); background: var(--cream);
  font-size: .82rem; font-weight: 700; color: var(--ink);
}

/* ── Proces ── */
.proces-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.proces-step {
  text-align: center; padding: 28px 20px; position: relative;
  border-right: 1px solid var(--border);
}
.proces-step:last-child { border-right: none; }
.proces-num {
  width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--cream); font-weight: 900; font-size: .95rem;
}
.proces-step h3 { margin-bottom: 6px; font-size: 1rem; }
.proces-step p { color: var(--muted); font-size: .85rem; line-height: 1.5; }

/* ── CTA Block ── */
.cta-block {
  background: var(--ink); color: var(--cream); border-radius: var(--radius);
  padding: 56px 44px; text-align: center; position: relative; overflow: hidden;
}
.cta-block::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); background-size: 128px; opacity: .4;
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { color: var(--cream); margin-bottom: 12px; }
.cta-block p { color: rgba(250,248,244,.6); max-width: 460px; margin: 0 auto 28px; }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── Cards (generic) ── */
.card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color .15s;
}
.card:hover { border-color: var(--accent); }

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

/* ── Footer ── */
.footer {
  padding: 32px 0; border-top: 2px solid var(--border);
  background: var(--cream);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; color: var(--muted); font-size: .85rem; font-weight: 600; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { color: var(--muted); font-size: .78rem; }

/* ── Forms ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 6px; font-weight: 700; font-size: .88rem; }
.form-label .opt { color: var(--muted); font-weight: 400; font-size: .8rem; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 13px 16px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font: 500 .92rem 'Inter', sans-serif;
  color: var(--ink); background: var(--white); outline: none; transition: border-color .12s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--ink); }
.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: .85rem; color: var(--muted); }
.form-success {
  background: var(--green-soft); border: 2px 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(--white); border: 2px 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: 2px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-top: 20px;
}
.scan-idea { padding: 18px; border-radius: var(--radius-sm); background: var(--cream); border: 1px solid var(--border); margin-bottom: 12px; }
.scan-idea:last-child { margin-bottom: 0; }
.scan-idea-type {
  display: inline-block; padding: 3px 10px; border-radius: 6px;
  font: 800 .68rem/1 'Inter', sans-serif; text-transform: uppercase;
  background: var(--accent); color: #fff; margin-bottom: 8px; letter-spacing: .04em;
}
.scan-idea h4 { margin-bottom: 6px; font-size: 1.05rem; }
.scan-idea p { color: var(--muted); font-size: .88rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .diensten-grid, .grid-2, .voorbeeld-grid, .over-grid { grid-template-columns: 1fr; }
  .dienst-panel.links, .dienst-panel.rechts { border-radius: var(--radius); border: 2px solid var(--border); }
  .proces-grid { grid-template-columns: repeat(2, 1fr); }
  .proces-step { border-right: none; border-bottom: 1px solid var(--border); }
  .section { padding: 48px 0; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-mobile { display: block; }
  .hero { padding: 48px 0 32px; }
  .hero h1 { font-size: 2.2rem; }
  .proces-grid { grid-template-columns: 1fr; }
  .cta-block { padding: 36px 22px; }
  .scan-input-row { flex-direction: column; }
  .grid-3 { grid-template-columns: 1fr; }
}

/* Mobile nav */
@media (max-width: 700px) {
  .nav-links.show {
    display: flex !important; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 2px solid var(--border);
    padding: 16px 20px; gap: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.06);
    z-index: 40;
  }
}
