/* Servicekosten Afrekening — minimal NL SaaS */
:root {
  --navy: #0f2b46;
  --navy-soft: #1a3d5c;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-light: #ccfbf1;
  --bg: #f8fafb;
  --surface: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(15, 43, 70, 0.08);
  --max: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--teal);
}

img {
  max-width: 100%;
  height: auto;
}

/* Layout */
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.logo:hover {
  color: var(--teal-dark);
}

.nav-links {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--navy);
}

main {
  padding-bottom: 3rem;
}

section {
  padding: 2.75rem 0;
}

section + section {
  border-top: 1px solid var(--border);
}

.hero {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.45rem;
  color: var(--navy);
  margin: 0 0 1rem;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin: 1.5rem 0 0.5rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.3;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-secondary[aria-disabled="true"],
.btn-secondary.soon {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* Cards / lists */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 1rem 1rem 1rem 3.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0.9rem;
  top: 1rem;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  padding: 0.55rem 0 0.55rem 1.75rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.checklist li::before {
  content: "☐";
  position: absolute;
  left: 0;
  color: var(--teal);
}

.bullets {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}

.bullets li {
  margin-bottom: 0.4rem;
}

.note {
  background: var(--teal-light);
  border-left: 3px solid var(--teal);
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  color: var(--navy-soft);
  margin: 1rem 0;
}

/* Pricing */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.pricing-table th,
.pricing-table td {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
}

.pricing-table tr:last-child th,
.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table th {
  color: var(--navy);
  font-weight: 600;
  width: 40%;
}

/* FAQ */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  padding: 0.85rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "+";
  display: inline-block;
  width: 1.25rem;
  color: var(--teal);
  font-weight: 700;
}

.faq details[open] summary::before {
  content: "−";
}

.faq details p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Form */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-group input[type="email"],
.form-group select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.checkbox-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--muted);
}

.checkbox-row input {
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.form-success {
  display: none;
  background: var(--teal-light);
  color: var(--navy);
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  font-weight: 500;
}

.form-success.visible {
  display: block;
}

.form-error {
  display: none;
  color: #b91c1c;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.form-error.visible {
  display: block;
}

.privacy-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* Article (SEO pages) */
.article {
  padding-top: 2rem;
}

.article .meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.article ul {
  padding-left: 1.25rem;
}

.article ol {
  padding-left: 1.25rem;
}

.article li {
  margin-bottom: 0.45rem;
}

.cta-box {
  background: var(--navy);
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: var(--radius);
  margin: 2rem 0;
}

.cta-box a {
  color: #5eead4;
}

.cta-box .btn-primary {
  margin-top: 0.75rem;
}

.sources {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 2rem 0;
  font-size: 0.88rem;
}

.site-footer a {
  color: #5eead4;
}

.site-footer .disclaimer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  font-size: 0.82rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 520px) {
  .hero-actions,
  .form-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .nav-links {
    font-size: 0.8rem;
  }
}
.btn.disabled, .btn-ghost.disabled { opacity: 0.55; pointer-events: none; cursor: not-allowed; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--navy); margin-left: 0.5rem; display: inline-block; padding: 0.65rem 1.1rem; border-radius: 8px; font-weight: 600; }
.waitlist form { display: grid; gap: 0.85rem; max-width: 420px; }
.waitlist label { display: grid; gap: 0.35rem; font-size: 0.95rem; }
.waitlist input, .waitlist select { padding: 0.55rem 0.7rem; border: 1px solid var(--border); border-radius: 8px; font: inherit; }
.waitlist .check { display: flex; gap: 0.5rem; align-items: flex-start; }
.form-msg { color: var(--teal-dark); font-weight: 600; }
.article { padding: 2rem 0 3rem; }
.site-footer { padding: 2rem 0; border-top: 1px solid var(--border); background: var(--surface); font-size: 0.9rem; }
.muted { color: var(--muted); }
.alt { background: var(--surface); }
section { padding: 2.25rem 0; }
.hero { padding: 3rem 0 2rem; background: linear-gradient(180deg, #e6fffa 0%, var(--bg) 100%); }
.badge { display: inline-block; background: var(--teal-light); color: var(--teal-dark); padding: 0.25rem 0.6rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.lead { font-size: 1.15rem; color: var(--navy-soft); }
.btn { display: inline-block; background: var(--teal); color: #fff !important; text-decoration: none; padding: 0.65rem 1.1rem; border-radius: 8px; border: none; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { background: var(--teal-dark); }
.btn-sm { padding: 0.35rem 0.7rem; font-size: 0.85rem; }
.site-header nav { display: flex; gap: 0.85rem; align-items: center; flex-wrap: wrap; font-size: 0.9rem; }
.site-header nav a { text-decoration: none; color: var(--navy); }
table { width: 100%; border-collapse: collapse; }
table td { padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
details { margin: 0.5rem 0; padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
