/*
Theme Name: SendbackFlow Site
Theme URI: https://sendbackflow.com
Author: Vivix Design
Author URI: https://vivix.design
Description: Productsite voor SendbackFlow (retouren en garantie voor WooCommerce). Alle teksten beheerbaar via Weergave > Sitetekst; juridische paginas als gewone WordPress-paginas.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: sendbackflow-site
*/

@font-face {
  font-family: 'Exo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(assets/exo.woff2) format('woff2');
}

:root {
  --ground: #f4f4f1;
  --panel: #ffffff;
  --ink: #17181a;
  --ink-soft: #6d6e75;
  --line: #e4e4df;
  --line-strong: #cccdc5;
  --good: #1e7f4c;
  --good-soft: #e4f1e9;
  --confirm: #b32d2e;
  --shadow: 0 1px 2px rgba(20,20,22,.05), 0 10px 30px -14px rgba(20,20,22,.14);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #141416;
    --panel: #1c1d20;
    --ink: #ececea;
    --ink-soft: #97989e;
    --line: #2a2b2f;
    --line-strong: #3a3b40;
    --good: #4cbd83;
    --good-soft: #1c2f25;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -14px rgba(0,0,0,.55);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Exo', system-ui, -apple-system, sans-serif;
  background: var(--ground);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.shell { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 11.5px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 0;
}
.wordmark {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; letter-spacing: .02em; text-decoration: none;
}
.wordmark svg { display: block; }
.wordmark small { font-weight: 500; color: var(--ink-soft); font-size: 11px; letter-spacing: .12em; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14.5px; }
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--ground);
  border: 1px solid var(--ink); border-radius: 8px;
  padding: 10px 20px; font-weight: 650; font-size: 15px; text-decoration: none;
  transition: opacity .15s ease;
}
.btn:hover { opacity: .85; }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.quiet:hover { border-color: var(--ink); opacity: 1; }
.btn.small { padding: 7px 14px; font-size: 13.5px; }
@media (max-width: 720px) { .nav-links .hide-m { display: none; } }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding: 56px 0 72px;
}
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; padding: 36px 0 56px; } }
.hero h1 {
  font-size: clamp(34px, 5vw, 52px); font-weight: 750; line-height: 1.06;
  letter-spacing: -.01em; margin: 14px 0 18px; text-wrap: balance;
}
.hero .sub { font-size: 17.5px; color: var(--ink-soft); max-width: 54ch; margin: 0 0 28px; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .cta-note { font-size: 13px; color: var(--ink-soft); margin-top: 14px; }

/* ---------- demo card ---------- */
.demo .demo-summary { border-collapse: collapse; margin: 0 0 14px; width: 100%; font-size: 13px; }
.demo .demo-summary th { text-align: left; padding: 4px 14px 4px 0; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.demo .demo-summary td { padding: 4px 0; }
.demo .demo-kopje { margin: 0 0 6px; font-size: 12.5px; font-weight: 650; }
.demo .demo-item { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.demo .demo-item label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.demo .demo-item .qty { color: var(--ink-soft); font-size: 12.5px; }
.demo .demo-fout { margin: 10px 0 0; padding: 8px 12px; background: #fdecea; border: 1px solid var(--confirm); border-radius: 6px; color: var(--confirm); font-size: 12.5px; }

.demo {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 26px; position: relative;
}
.demo .tag {
  position: absolute; top: -10px; left: 18px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: var(--ground); border-radius: 99px; padding: 3px 10px;
}
.demo h3 { margin: 4px 0 4px; font-size: 17px; font-weight: 650; }
.demo p.mini { margin: 0 0 16px; font-size: 13px; color: var(--ink-soft); }
.demo .field { margin-bottom: 12px; }
.demo .field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 4px; }
.demo .field input {
  width: 100%; font: inherit; font-size: 14px; color: var(--ink);
  background: var(--ground); border: 1px solid var(--line-strong); border-radius: 7px; padding: 8px 10px;
}
.demo .row { display: flex; gap: 10px; margin-top: 16px; }
.demo .wf-demo-btn {
  flex: 1; border: 0; border-radius: 8px; padding: 11px 16px;
  background: var(--ink); color: var(--ground); font-weight: 650; font-size: 14.5px;
}
.demo .wf-demo-btn.confirm { background: var(--confirm); color: #fff; }
.demo .receipt {
  display: none; text-align: center; padding: 18px 6px 8px;
}
.demo .receipt .check {
  width: 44px; height: 44px; border-radius: 99px; margin: 0 auto 12px;
  background: var(--good-soft); color: var(--good);
  display: grid; place-items: center; font-size: 20px; font-weight: 700;
}
.demo .receipt strong { display: block; margin-bottom: 4px; }
.demo .receipt small { color: var(--ink-soft); }

/* ---------- secties ---------- */
section { padding: 64px 0; border-top: 1px solid var(--line); }
.sec-head { max-width: 620px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 720; line-height: 1.15; margin: 10px 0 12px; text-wrap: balance; }
.sec-head p { color: var(--ink-soft); margin: 0; }

.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 22px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 650; }
.card p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.card .num {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--ink-soft);
  display: block; margin-bottom: 10px;
}

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; align-items: stretch; }
.plan {
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 26px; display: flex; flex-direction: column; gap: 10px;
}
.plan.featured { border: 2px solid var(--ink); position: relative; }
.plan.featured::after {
  content: 'Most popular'; position: absolute; top: -10px; right: 14px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--ink); color: var(--ground); border-radius: 99px; padding: 3px 10px;
}
.plan h3 { margin: 0; font-size: 16px; font-weight: 650; }
.plan .price { font-size: 34px; font-weight: 750; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.plan ul { margin: 0 0 18px; padding: 0 0 0 18px; font-size: 14px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 5px; }
.plan .btn { margin-top: auto; justify-content: center; }
.vat-note { text-align: center; font-size: 13px; color: var(--ink-soft); margin-top: 18px; }

/* ---------- faq ---------- */
.faq { max-width: 720px; }
.faq details {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 20px; margin-bottom: 10px;
}
.faq summary { font-weight: 650; cursor: pointer; font-size: 15px; }
.faq details p { color: var(--ink-soft); font-size: 14.5px; margin: 12px 0 4px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; margin-top: 64px; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-soft); }
.foot a { color: var(--ink-soft); }
.foot a:hover { color: var(--ink); }
.foot .cols { display: flex; gap: 28px; flex-wrap: wrap; }

/* ---------- juridische pagina's ---------- */
.legal { max-width: 720px; padding: 40px 0 20px; }
.legal h1 { font-size: 30px; font-weight: 720; margin: 8px 0 6px; }
.legal .meta { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 28px; }
.legal h2 { font-size: 19px; font-weight: 650; margin: 30px 0 8px; }
.legal p, .legal li { font-size: 15px; color: var(--ink); }
.legal ul { padding-left: 20px; }

/* ---------- vergelijkingstabel ---------- */
.vgl-wrap { overflow-x:auto; background:var(--panel); border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow); }
.vgl { width:100%; border-collapse:collapse; font-size:14.5px; min-width:520px; }
.vgl th { text-align:center; font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-soft); padding:16px 18px; border-bottom:1px solid var(--line); }
.vgl th:first-child { text-align:left; }
.vgl td { padding:12px 18px; border-bottom:1px solid var(--line); }
.vgl tr:last-child td { border-bottom:0; }
.vgl td:nth-child(2), .vgl td:nth-child(3) { text-align:center; width:110px; }
.vgl .ja { display:inline-grid; place-items:center; width:24px; height:24px; border-radius:99px; background:var(--good-soft); color:var(--good); font-size:13px; font-weight:700; }
.vgl .nee { color:var(--line-strong); font-size:15px; }
.vgl tbody tr:hover td { background:var(--ground); }

/* ---------- wow: reveals + hover ---------- */
/* Documentatie/FAQ-pagina */
.docs { max-width:760px; }
.docs .sec-head h1 { font-size:clamp(28px,4vw,38px); font-weight:750; line-height:1.12; margin:10px 0 12px; }
.docs-sectie { padding:26px 0 6px; }
.docs-sectie h2 { font-size:20px; font-weight:700; margin:0 0 10px; display:flex; align-items:baseline; gap:12px; }
.docs-sectie h2 .num { font-size:12px; font-weight:700; letter-spacing:.1em; color:var(--ink-soft); }
.docs-sectie p { color:var(--ink-soft); line-height:1.7; margin:0 0 12px; }
.docs-sectie ul { margin:0 0 12px; padding-left:20px; }
.docs-sectie li { color:var(--ink-soft); line-height:1.7; margin:0 0 8px; }
.docs-sectie li strong, .docs-sectie p strong { color:var(--ink); }
.docs-sectie code { background:var(--panel); border:1px solid var(--line); border-radius:6px; padding:1px 7px; font-size:13px; }
.docs-faq { padding-top:30px; }

.r { opacity:0; transform:translateY(18px); transition:opacity .55s ease, transform .55s ease; }
.r.in { opacity:1; transform:none; }
.card, .plan, .demo { transition:opacity .55s ease, transform .35s ease, box-shadow .35s ease, border-color .2s ease; }
.card:hover, .plan:hover { transform:translateY(-4px); box-shadow:0 2px 4px rgba(20,20,22,.05), 0 18px 40px -16px rgba(20,20,22,.22); }
.plan.featured:hover { transform:translateY(-6px); }
.btn { transition:opacity .15s ease, transform .15s ease; }
.btn:hover { transform:translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .r { opacity:1; transform:none; } }

/* ---------- taalwissel ---------- */
.taalwissel { display:flex; gap:9px; font-size:12px; font-weight:650; letter-spacing:.05em; }
.taalwissel a { color:var(--ink-soft); text-decoration:none; padding:2px 1px; }
.taalwissel a.actief { color:var(--ink); border-bottom:2px solid var(--ink); }
.taalwissel a:hover { color:var(--ink); }
select.taalkeuze { font: inherit; font-size: 13.5px; color: var(--ink); background: transparent; border: 1px solid var(--line-strong); border-radius: 8px; padding: 6px 8px; cursor: pointer; }
@media (max-width:720px) { .nav .btn.small { display:none; } .nav .wordmark { font-size: 16px; } }
.nav .btn.small, .nav-links > a { white-space: nowrap; }

/* ---------- gratis download e-mail-gate ---------- */
.dl-gate { margin: 4px 0 10px; }
.dl-form { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.dl-form input[type=email] { flex:1; min-width:220px; max-width:320px; font:inherit; font-size:15px; color:var(--ink); background:var(--panel); border:1px solid var(--line-strong); border-radius:8px; padding:11px 14px; }
.dl-form input[type=email]:focus { outline:2px solid var(--ink); border-color:transparent; }
.dl-web { position:absolute !important; left:-9999px !important; }
.dl-optin { width:100%; font-size:12.5px; color:var(--ink-soft); display:flex; gap:7px; align-items:center; }
.dl-ok { background:var(--good-soft); border:1px solid var(--good); color:var(--good); border-radius:8px; padding:12px 16px; max-width:480px; }
.dl-fout { background:#fdecea; border:1px solid var(--confirm); color:var(--confirm); border-radius:8px; padding:10px 14px; max-width:480px; }
.quiet-link { color:var(--ink); text-underline-offset:3px; }
