/* ==========================================================================
   Today2Repair — stylesheet
   ========================================================================== */

:root {
  --bg:          #0a0c12;
  --bg-2:        #10131c;
  --surface:     #151926;
  --surface-2:   #1c2131;
  --line:        #262c3f;
  --line-soft:   #1e2333;

  --text:        #eef1f7;
  --muted:       #98a0b5;
  --dim:         #6b748d;

  --accent:      #7c5cff;
  --accent-2:    #22d3ee;
  --accent-glow: rgba(124, 92, 255, .35);
  --wa:          #25d366;
  --wa-dark:     #1da851;

  --radius:      14px;
  --radius-lg:   22px;
  --maxw:        1180px;

  --font-head: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 6vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

section { padding: 88px 0; position: relative; }
section.tight { padding: 60px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-wa { background: var(--wa); color: #05230f; box-shadow: 0 6px 24px rgba(37,211,102,.25); }
.btn-wa:hover { background: #2ee275; box-shadow: 0 10px 30px rgba(37,211,102,.35); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); background: rgba(124,92,255,.08); }

.btn-solid { background: var(--accent); color: #fff; box-shadow: 0 6px 24px var(--accent-glow); }
.btn-solid:hover { background: #8f73ff; }

.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.wa-icon { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(10,12,18,.78);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line-soft); background: rgba(10,12,18,.92); }

.nav { display: flex; align-items: center; gap: 26px; height: 70px; }

.logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 1.06rem; letter-spacing: -.02em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  color: #0a0c12; font-size: .78rem; font-weight: 700; letter-spacing: -.03em;
}

.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: .92rem; font-weight: 500; transition: color .18s ease; }
.nav-links a:hover { color: var(--text); }

.nav-cta { margin-left: 4px; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; color: var(--text); }
.nav-toggle svg { width: 20px; height: 20px; display: block; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 70px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: -220px 0 auto 50%;
  width: 900px; height: 620px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(124,92,255,.20), transparent 62%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .8rem; color: var(--muted); font-weight: 500;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--wa); }

.hero h1 span { background: linear-gradient(100deg, var(--accent-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.12rem; color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.hero-card h3 { font-size: .95rem; color: var(--muted); font-weight: 500; margin-bottom: 16px; }

/* Vertrouwenskaart in de hero */
.trust-score { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.trust-stars { display: flex; gap: 3px; flex: none; }
.trust-stars svg { width: 19px; height: 19px; color: #00b67a; }
.trust-num { display: flex; flex-direction: column; line-height: 1.25; }
.trust-num b { font-family: var(--font-head); font-size: 1.6rem; color: var(--text); }
.trust-num span { font-size: .82rem; color: var(--muted); }

.trust-points { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.trust-points li { display: flex; align-items: center; gap: 10px; font-size: .93rem; color: var(--text); }
.trust-points svg { width: 15px; height: 15px; flex: none; color: var(--wa); }

.trust-link { display: inline-block; margin-top: 20px; font-size: .85rem; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.trust-link:hover { color: var(--text); border-color: var(--accent-2); }

/* Voordeellabel bij een pakket */
.opt-badge {
  display: inline-block; margin-left: 9px; vertical-align: 2px;
  background: rgba(0, 182, 122, .14); color: var(--wa);
  font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
}

/* ---------- USP bar ---------- */
.uspbar { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-2); }
.uspbar ul { list-style: none; margin: 0; padding: 20px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.uspbar li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--muted); }
.uspbar svg { width: 17px; height: 17px; color: var(--accent-2); flex: none; }

/* ---------- Configurator ---------- */
.config { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.config-grid { display: grid; grid-template-columns: 1fr 372px; gap: 30px; align-items: start; }

.config-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }

.field-label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 0 0 12px; }
.field + .field { margin-top: 26px; }

.opt-list { display: grid; gap: 9px; }
.opt {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 15px; border-radius: 11px;
  background: var(--surface-2); border: 1px solid var(--line);
  cursor: pointer; transition: all .16s ease;
}
.opt:hover { border-color: #3a4262; }
.opt:focus-visible, .seg button:focus-visible, .faq-q:focus-visible, .btn:focus-visible, .nav-toggle:focus-visible {
  outline: 2px solid var(--accent-2); outline-offset: 3px;
}
.opt.on { border-color: var(--accent); background: rgba(124,92,255,.12); }
.opt input { display: none; }
.opt-box {
  width: 19px; height: 19px; border-radius: 6px; flex: none; margin-top: 2px;
  border: 1.5px solid #454d6b; display: grid; place-items: center; transition: all .16s ease;
}
.opt.on .opt-box { background: var(--accent); border-color: var(--accent); }
.opt-box svg { width: 12px; height: 12px; color: #fff; opacity: 0; transition: opacity .16s ease; }
.opt.on .opt-box svg { opacity: 1; }
.opt-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.opt-name { display: block; font-size: .93rem; font-weight: 500; }
.opt-sub { display: block; font-size: .78rem; color: var(--dim); margin-top: 3px; line-height: 1.45; }
.opt-price { font-family: var(--font-head); font-weight: 700; font-size: .98rem; white-space: nowrap; margin-top: 1px; }

.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.field-hint { font-size: .82rem; color: var(--dim); margin: 11px 0 0; line-height: 1.5; }
.seg button {
  flex: 1 1 130px; max-width: 240px; padding: 12px 14px; border-radius: 11px; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--muted);
  font-family: var(--font-head); font-weight: 600; font-size: .88rem; transition: all .16s ease;
}
.seg button:hover { color: var(--text); border-color: #3a4262; }
.seg button.on { background: rgba(124,92,255,.14); border-color: var(--accent); color: var(--text); }

/* summary */
.summary { position: sticky; top: 92px; background: linear-gradient(170deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.summary h3 { font-size: 1.05rem; margin-bottom: 16px; }
.sum-lines { list-style: none; margin: 0 0 14px; padding: 0; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .89rem; border-bottom: 1px dashed var(--line-soft); }
.sum-lines li span:first-child { color: var(--muted); }
.sum-lines li b { font-family: var(--font-head); font-weight: 600; }
.sum-empty { color: var(--dim); font-size: .89rem; padding: 8px 0 14px; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 6px; border-top: 1px solid var(--line); margin-top: 6px; }
.sum-total span { font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.sum-total b { font-family: var(--font-head); font-weight: 700; font-size: 2rem; letter-spacing: -.03em; }
.sum-ship { font-size: .8rem; color: var(--dim); margin: 0 0 18px; }
.sum-ship.free { color: var(--wa); }

/* ---------- Sticks uitleg ---------- */
.stick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stick-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; }
.stick-card.best { border-color: rgba(124,92,255,.5); background: linear-gradient(170deg, rgba(124,92,255,.10), var(--surface)); }
.stick-label { font-size: .7rem; font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 10px; }
.stick-card h3 { margin-bottom: 4px; }
.stick-kern { font-size: .84rem; color: var(--dim); margin-bottom: 14px; }
.stick-card p { font-size: .9rem; color: var(--muted); }
.pros { list-style: none; margin: 8px 0 0; padding: 0; }
.pros li { display: flex; gap: 9px; font-size: .87rem; padding: 5px 0; color: var(--muted); }
.pros svg { width: 15px; height: 15px; flex: none; margin-top: 4px; }
.pros .yes svg { color: var(--wa); }
.pros .no svg { color: #ef6f6f; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; position: relative; }
.step-num {
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(124,92,255,.15); color: #b3a0ff; border: 1px solid rgba(124,92,255,.3);
  margin-bottom: 14px;
}
.step h3 { font-size: 1rem; }
.step p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Reviews ---------- */
.review-layout { display: grid; grid-template-columns: 320px 1fr; gap: 22px; align-items: start; }

.score-card {
  background: linear-gradient(170deg, rgba(124,92,255,.13), var(--surface));
  border: 1px solid rgba(124,92,255,.32);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  text-align: center;
}
.stars { display: flex; gap: 3px; justify-content: center; margin-bottom: 12px; }
.stars svg { width: 15px; height: 15px; color: #ffc046; }
.stars.big svg { width: 22px; height: 22px; }

.score-num { font-family: var(--font-head); font-weight: 700; font-size: 3.4rem; line-height: 1; letter-spacing: -.04em; }
.score-num span { font-size: 1.1rem; color: var(--dim); font-weight: 500; margin-left: 6px; letter-spacing: 0; }
.score-sub { color: var(--muted); font-size: .92rem; margin: 12px 0 20px; }
.score-sub b { color: var(--text); font-weight: 600; }
.score-actions { display: flex; flex-direction: column; gap: 9px; }
.score-note { font-size: .76rem; color: var(--dim); margin: 16px 0 0; }

.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.theme-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.theme-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.theme-card p { color: var(--muted); font-size: .9rem; margin: 0; }

#trustbox:not(:empty) { margin-top: 26px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  color: var(--text); font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  padding: 22px 40px 22px 0; position: relative;
}
.faq-q::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .22s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { color: var(--muted); font-size: .94rem; padding-bottom: 20px; margin: 0; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta-box {
  background: linear-gradient(150deg, rgba(124,92,255,.16), rgba(34,211,238,.07)), var(--surface);
  border: 1px solid rgba(124,92,255,.3);
  border-radius: 26px; padding: 60px 32px;
}
.cta-box p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 46px 0 34px; background: var(--bg-2); }
.foot-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-links a { color: var(--muted); font-size: .9rem; }
.foot-links a:hover { color: var(--text); }
.foot-bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line-soft); color: var(--dim); font-size: .82rem; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  display: flex; align-items: center; gap: 10px;
  background: var(--wa); color: #05230f;
  padding: 14px 20px; border-radius: 100px;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  box-shadow: 0 10px 34px rgba(37,211,102,.4);
  transition: transform .18s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
.wa-float svg { width: 21px; height: 21px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 38px; }
  .hero-card { max-width: 480px; }
  .config-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .stick-grid { grid-template-columns: 1fr; }
  .review-layout { grid-template-columns: 1fr; }
  .theme-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .uspbar ul { grid-template-columns: repeat(2, 1fr); gap: 14px 24px; align-items: start; }
  /* vinkje op de eerste regel houden als de tekst afbreekt */
  .uspbar li { align-items: flex-start; }
  .uspbar svg { margin-top: 3px; }
}

@media (max-width: 720px) {
  section { padding: 62px 0; }
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 10px 22px 18px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .steps { grid-template-columns: 1fr; }
  .uspbar ul { grid-template-columns: 1fr; gap: 11px; }
  .wa-float span { display: none; }
  .wa-float { padding: 16px; }
  .cta-box { padding: 42px 22px; }
}

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

/* ---------- Footer adres ---------- */
.foot-adres { font-style: normal; color: var(--muted); font-size: .88rem; margin-top: 14px; line-height: 1.7; }
.foot-adres a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.foot-adres a:hover { color: var(--text); }

/* ---------- Overige reparaties ---------- */
.overig-box {
  display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 32px;
}
.overig-box h3 { font-size: 1.3rem; margin-bottom: 6px; }
.overig-box p { color: var(--muted); font-size: .93rem; margin: 0; max-width: 560px; }
.overig-box .eyebrow { margin-bottom: 8px; }

/* ---------- Optie die een andere optie nodig heeft ---------- */
.opt.locked { opacity: .55; }
.opt.locked .opt-box { border-style: dashed; }
.opt.locked .opt-sub { color: var(--accent-2); }
.opt.locked:hover { opacity: .8; border-color: var(--accent); }
.opt.included { opacity: .5; cursor: default; }
.opt.included:hover { border-color: var(--line); }
.opt.included .opt-box { border-style: dashed; }
.opt.included .opt-price { font-size: .8rem; font-weight: 600; color: var(--wa); text-transform: uppercase; letter-spacing: .06em; }
