@import url("../assets/icons/bootstrap/bootstrap-icons.min.css");

:root {
  --blue-dark: #1a2b4a;
  --blue-mid: #243b63;
  --blue-accent: #3b82f6;
  --blue-light: #60a5fa;
  --blue-soft: #eff6ff;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --success-bg: #ecfdf5;
  --success-border: #a7f3d0;
  --success-text: #065f46;
  --warn-bg: #fffbeb;
  --warn-border: #fde68a;
  --warn-text: #92400e;
  --info-bg: #eff6ff;
  --info-border: #bfdbfe;
  --info-text: #1e40af;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(26, 43, 74, 0.08);
  --max-width: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--blue-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(100% - 2rem, var(--max-width)); margin-inline: auto; }

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo:hover { text-decoration: none; opacity: 0.92; }

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--blue-accent);
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 6px;
}

.logo-icon .bi {
  font-size: 1.125rem;
  color: #fff;
  line-height: 1;
}

/* Header */
.site-header {
  background: var(--blue-dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
  position: relative;
}

.nav { display: flex; gap: 0.2rem; align-items: center; }

.nav a {
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s;
}

.nav a:hover, .nav a.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
}

.nav-cta { background: var(--blue-accent) !important; color: #fff !important; font-weight: 600; }
.nav-cta:hover { background: var(--blue-light) !important; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
  font-size: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue-accent); color: #fff; }
.btn-primary:hover { background: var(--blue-light); color: #fff; }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-dark { background: var(--blue-dark); color: #fff; }
.btn-dark:hover { background: var(--blue-mid); color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 55%, #1e40af 100%);
  color: #fff;
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(59,130,246,0.2), transparent 50%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 16ch;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 52ch;
  margin-bottom: 2rem;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Trust bar */
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.trust-item strong { color: var(--text); }

.trust-icon {
  width: 32px;
  height: 32px;
  background: var(--blue-soft);
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 6px;
}

.trust-icon .bi {
  font-size: 1.125rem;
  color: var(--blue-accent);
  line-height: 1;
}

/* Sections */
section { padding: 4rem 0; }
section.bg-white { background: var(--surface); }

.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}
.section-header p { color: var(--text-muted); max-width: 55ch; margin-inline: auto; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(26,43,74,0.12);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-soft);
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  padding: 10px;
}

.card-icon .bi {
  font-size: 1.375rem;
  color: var(--blue-accent);
  line-height: 1;
}

.card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--blue-dark); }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.75rem; }
.card-price { font-weight: 700; color: var(--blue-accent); font-size: 1.05rem; }
.card-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid var(--border); }
.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue-accent);
  background: var(--blue-soft);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

/* Notice boxes */
.notice {
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}

.notice h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.notice p, .notice li { font-size: 0.95rem; line-height: 1.65; }
.notice ul { margin-top: 0.5rem; padding-left: 1.25rem; }

.notice.success { background: var(--success-bg); border: 1px solid var(--success-border); }
.notice.success h3 { color: var(--success-text); }
.notice.success p, .notice.success li { color: #047857; }

.notice.info { background: var(--info-bg); border: 1px solid var(--info-border); }
.notice.info h3 { color: var(--info-text); }
.notice.info p, .notice.info li { color: #1e3a8a; }

.notice.warn { background: var(--warn-bg); border: 1px solid var(--warn-border); }
.notice.warn h3 { color: var(--warn-text); }
.notice.warn p, .notice.warn li { color: #78350f; }

/* Compare table (intake vs diagnose) */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.compare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.compare-card.highlight { border-color: var(--blue-accent); box-shadow: 0 0 0 1px var(--blue-accent); }

.compare-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.compare-card h3 { font-size: 1rem; color: var(--blue-dark); margin-bottom: 0.5rem; }
.compare-card p, .compare-card li { font-size: 0.9rem; color: var(--text-muted); }
.compare-card ul { padding-left: 1.1rem; margin-top: 0.35rem; }

.compare-price {
  display: inline-block;
  margin-top: 0.65rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue-accent);
}

.compare-price.free { color: var(--success-text); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.5rem;
}

.step { text-align: center; }

.step-num {
  width: 48px;
  height: 48px;
  background: var(--blue-accent);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 1rem;
}

.step h3 { font-size: 1rem; margin-bottom: 0.35rem; color: var(--blue-dark); }
.step h3 .muted { font-weight: 400; color: var(--text-muted); font-size: 0.9rem; }
.step p { font-size: 0.9rem; color: var(--text-muted); }

.badge-free {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success-text);
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  border-radius: 6px;
  padding: 0.15rem 0.45rem;
  vertical-align: middle;
  margin-left: 0.2rem;
}

/* Price table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.price-table th, .price-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.price-table th {
  background: var(--blue-dark);
  color: #fff;
  font-weight: 600;
}

.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: #f8fafc; }
.price-table .price { font-weight: 700; color: var(--blue-accent); white-space: nowrap; }
.price-table .sub { display: block; font-size: 0.8rem; color: var(--text-muted); font-weight: 400; margin-top: 0.15rem; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 800px; margin-inline: auto; }

.faq-list.price-faq {
  max-width: 100%;
  gap: 0.5rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.25rem;
  text-align: left;
  font: inherit;
  font-weight: 600;
  color: var(--blue-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question .q-text { flex: 1; min-width: 0; }

/* Tarieven: vaste kolommen — titel | prijs | + */
.price-faq .faq-question {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 11rem 1.25rem;
  gap: 0.75rem 1.25rem;
  align-items: center;
  padding: 0.95rem 1.25rem;
}

.price-faq .faq-question .q-text {
  grid-column: 1;
  line-height: 1.35;
}

.price-faq .faq-question .price-badge {
  grid-column: 2;
  justify-self: end;
  text-align: right;
  font-weight: 700;
  color: var(--blue-accent);
  white-space: nowrap;
  font-size: 0.875rem;
}

.price-list-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0rem 1.25rem;
  gap: 0.75rem 1.25rem;
  padding: 0 1.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.price-list-header span:last-child { text-align: right; padding-right: 0.1rem; }

.price-faq .faq-question::after {
  grid-column: 3;
  justify-self: end;
  line-height: 1;
}

.faq-question::after { content: "+"; font-size: 1.25rem; color: var(--blue-accent); transition: transform 0.2s; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 1.25rem 1.1rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }
.faq-item.open .faq-answer { display: block; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: start; }
.contact-block { margin-bottom: 1.25rem; }
.contact-block strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 0.2rem; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.75rem; }

/* Page hero */
.page-hero {
  background: var(--blue-dark);
  color: #fff;
  padding: 3rem 0;
}

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
.page-hero p { opacity: 0.85; max-width: 55ch; }

/* Footer */
.site-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 { color: #fff; margin-bottom: 0.75rem; font-size: 0.95rem; }
.footer-grid a { color: rgba(255,255,255,0.75); display: block; padding: 0.2rem 0; font-size: 0.9rem; text-decoration: none; }
.footer-grid a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-category { margin-bottom: 2.5rem; }
.service-category h2 {
  font-size: 1.2rem;
  color: var(--blue-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.price-faq .faq-answer ul {
  padding-left: 1.15rem;
  margin: 0.5rem 0;
}

.price-faq .faq-answer li { margin-bottom: 0.25rem; }

.price-total {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
  font-weight: 600;
  color: var(--blue-dark);
  font-size: 0.9rem;
}

/* About profile */
.about-profile {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.about-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow);
  border: 3px solid var(--surface);
  outline: 1px solid var(--border);
}

.about-intro h2 {
  font-size: 1.25rem;
  color: var(--blue-dark);
  margin-bottom: 0.25rem;
}

.about-intro .about-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.about-body {
  max-width: 680px;
}

.about-body p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-body h2 {
  font-size: 1.1rem;
  color: var(--blue-dark);
  margin: 0 0 0.75rem;
}

.about-body ul {
  color: var(--text-muted);
  padding-left: 1.25rem;
  line-height: 2;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.about-body ul:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .about-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .price-list-header { display: none; }
  .price-faq .faq-question {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 0.35rem 0.75rem;
  }
  .price-faq .faq-question .q-text { grid-column: 1 / -1; }
  .price-faq .faq-question .price-badge {
    grid-column: 1;
    justify-self: start;
    text-align: left;
  }
  .price-faq .faq-question::after {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--blue-dark);
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 3.5rem; }
}
