/* ─── RESET & BASE ─── */

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

:root {
  --accent:       #3d84a0;
  --accent-dark:  #2f657a;
  --text:         #1a1a1a;
  --text-muted:   #555;
  --bg:           #ffffff;
  --bg-alt:       #f5f7f6;
  --border:       #e0e0e0;
  --radius:       8px;
  --max-width:    1140px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ─── LAYOUT ─── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 50px 0;
}

section:nth-child(even) {
  background: var(--bg-alt);
}

/* ─── HERO ─── */

.hero {
  background: var(--bg);
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 10px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ─── BUTTONS ─── */

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--accent-dark);
  text-decoration: none;
}

.tekst-contact {
  display: block; /* of inline-block */
  font-weight: bold;
  font-size: 1.15rem;
  padding-top: 20px;
}

/* ─── SECTION HEADING ─── */

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-heading p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ─── PIJNPUNTEN ─── */

.pijnpunten-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pijnpunt-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.15s, box-shadow 0.15s;
}

.pijnpunt-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}


.pijnpunt-card .icon {
  margin-bottom: 12px;
  color: var(--accent);
}

.pijnpunt-card .icon svg {
  width: 28px;
  height: 28px;
  display: block;
  transition: filter 0.2s;
}

.pijnpunt-card:hover .icon svg {
  color: #54aacc;
}

.pijnpunt-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.pijnpunt-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ─── MODULE SECTIES ─── */

.module-section {
  padding: 72px 0;
}

.module-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.module-grid.reverse {
  direction: rtl;
}

.module-grid.reverse > * {
  direction: ltr;
}

.module-text h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.module-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.module-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.module-text ul {
  list-style: none;
  margin-top: 8px;
}

.module-text ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.module-text ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.module-visual {
  position: relative;
}

.module-visual img {
  width: 100%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.placeholder-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgb(0 127 146);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

/* ─── WAAROM ─── */

.waarom {
  text-align: center;
}

.waarom-tekst {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.waarom-tekst p + p {
  margin-top: 16px;
}

/* ─── CTA ─── */

section.cta-sectie {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.cta-sectie h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.cta-sectie p {
  font-size: 1.05rem;
  opacity: 0.88;
  max-width: 500px;
  margin: 0 auto 32px;
}

.btn-cta {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  background: #fff;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.15s;
}

.btn-cta:hover {
  opacity: 0.9;
  text-decoration: none;
}

.btn-cta-secondary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
  margin-left: 12px;
}

.btn-cta-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}

/* ─── EXTRA FEATURES ─── */

section.extra-features-sectie {
  background: #fff;
  padding: 80px 0;
  text-align: center;
}

.extra-features-sectie h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.extra-features-sectie .sectie-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 48px;
}

.extra-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  text-align: center;
}

.extra-feature-kaart {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.15s;
}

.extra-feature-kaart:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.extra-feature-icoon {
  margin-bottom: 14px;
}

.extra-feature-icoon svg {
  width: 28px;
  height: 28px;
  display: block;
  margin: 0 auto;
  transition: filter 0.2s;
  color: var(--accent);
}

.extra-feature-kaart:hover .extra-feature-icoon svg {
  color: #54aacc;
}

.extra-feature-kaart h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.extra-feature-kaart p {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.55;
  margin: 0;
}

.cta-knoppen {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── OVER MIJ ─── */

.about-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px;
}

.about-terug {
  display: inline-block;
  font-size: 1.0rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  text-decoration: none;
}

.about-terug:hover {
  color: var(--accent);
  text-decoration: none;
}

.about-header {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.about-header p + p {
  margin-top: 20px;
}

.about-foto {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.about-intro h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.about-intro .about-functie {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.about-intro p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.about-body p + p {
  margin-top: 20px;
}

.about-body a {
  color: var(--accent);
}

.about-contact {
  margin-top: 40px;
  padding-top: 13px;
  border-top: 1px solid var(--border);
}

.about-contact p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

@media (max-width: 600px) {
  .about-header {
    grid-template-columns: 1fr;
  }

  .about-foto {
    width: 140px;
  }

  .btn-cta-secondary {
    margin-left: 0;
  }
}

/* ─── MEER INFO LINK ─── */

.meer-info-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}

.meer-info-link:hover {
  border-color: var(--accent);
  text-decoration: none;
}

/* ─── POPUP ─── */

.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99;
}

.module-popup {
  display: none;
  position: fixed;
  top: 2rem;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  z-index: 100;
  border: 0.5px solid var(--border);
  overflow-y: auto;
  flex-direction: column;
  width: 1100px;
  max-width: calc(100vw - 4rem);
}

.module-popup-inhoud {
  padding: 2.5rem;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.popup-sluit {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 38px;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.popup-sluit:hover {
  color: var(--text);
}

.popup-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.5px solid var(--border);
}

.popup-header h2 {
  font-size: 28px;
  font-weight: 400;
  margin-top: 0.5rem;
}

.popup-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}

.popup-body p {
  margin-bottom: 1rem;
}

.popup-body h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin: 2rem 0 0.75rem;
}

.popup-body img {
  width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem 0;
  border: none;
  border-radius: 0;
}

@media (max-width: 600px) {
  .module-popup {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    border: none;
    border-radius: 0;
  }

  .module-popup-inhoud {
    padding: 1.25rem;
  }

  .popup-sluit {
    top: 0.75rem;
    right: 1rem;
    font-size: 38px;
  }

  .popup-header h2 {
    font-size: 22px;
    padding-right: 2rem;
  }
}

/* ─── FOOTER ─── */

footer {
  padding: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ─── RESPONSIVE ─── */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .pijnpunten-grid {
    grid-template-columns: 1fr;
  }

  .module-grid,
  .module-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }

  .module-grid.reverse .module-visual {
    order: -1;
  }

  section {
    padding: 48px 0;
  }
}
