/* ===========================
   Basis & variabelen
   =========================== */

:root {
  /* Kleuren in lijn met libratummentis.com */
  --primary: #1f4f7b;
  --primary-dark: #143656;
  --accent: #6bbf92;
  --bg-soft: #f5f7fb;
  --bg-section: #ffffff;
  --text: #1f2933;
  --muted: #5a6a7c;
  --border: #dde5f0;
  --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.22);
  --radius-lg: 18px;
  --radius-md: 12px;
  --max-width: 1120px;
}

/* Reset / basis */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-soft);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  padding: 0 1.5rem 3.5rem;
}

.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ===========================
   Header / Navigatie
   =========================== */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid rgba(221, 229, 240, 0.9);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* pas deze breedte aan als je logo groter/kleiner moet */
.logo-mark {
  width: 210px;
  height: auto;
}

.logo-text-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav-links {
  display: none;
  gap: 1.4rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(20, 54, 86, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(20, 54, 86, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: #edf3fb;
  transform: translateY(-1px);
}

/* ===========================
   Hero (homepage)
   =========================== */

.hero {
  background: radial-gradient(circle at top left, #e7f0fb 0, #cfdff5 25%, #f5f7fb 70%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 3.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.4rem;
  align-items: center;
}

.hero-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.hero-title {
  font-size: 2.1rem;
  line-height: 1.25;
  margin-bottom: 0.7rem;
  color: var(--primary-dark);
}

.hero-title span {
  color: var(--accent);
}

.hero-text {
  font-size: 1rem;
  color: var(--muted);
  max-width: 33rem;
  margin-bottom: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.hero-meta {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  background: #e6f4ed;
  color: #2d6f4a;
  font-size: 0.8rem;
  font-weight: 500;
}

.hero-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.hero-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
  color: var(--primary);
}

.hero-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.82rem;
  margin-bottom: 0.8rem;
}

.hero-tag {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #f1f5ff;
  color: var(--primary);
  border: 1px solid #d5e0fb;
}

.hero-image {
  margin-top: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ===========================
   Pagina-intro (subpagina’s)
   =========================== */

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero h1 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.page-hero .intro {
  font-size: 1rem;
  color: var(--muted);
  max-width: 40rem;
}

/* ===========================
   Secties & kaarten
   =========================== */

.section {
  padding: 2.4rem 0 0;
}

.section-header {
  margin-bottom: 1.7rem;
}

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
  color: var(--primary-dark);
}

.section-intro {
  font-size: 0.97rem;
  color: var(--muted);
  max-width: 42rem;
}

.cards-3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem;
}

.card {
  background: var(--bg-section);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(148, 163, 184, 0.2);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}

.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #e6eef9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
}

.card h3 {
  font-size: 1.04rem;
  margin: 0;
  color: var(--primary-dark);
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.card ul {
  list-style: none;
  font-size: 0.86rem;
  color: var(--muted);
}

.card ul li {
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.25rem;
}

.card ul li::before {
  content: "▹";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.75rem;
  color: var(--accent);
}

/* ===========================
   Waarom-sectie
   =========================== */

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.6rem;
  align-items: flex-start;
}

.why-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(148, 163, 184, 0.25);
}

.why-box h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
  color: var(--primary-dark);
}

.why-box p {
  font-size: 0.94rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.why-highlight {
  margin-top: 0.6rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px dashed var(--primary);
  background: #edf3ff;
  font-size: 0.86rem;
  color: var(--primary-dark);
}

/* ===========================
   Lijsten: check & icon
   =========================== */

.check-list,
.icon-list {
  list-style: none;
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

.check-list li,
.icon-list li {
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.8rem;
  color: var(--accent);
}

.icon-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.8rem;
  color: var(--accent);
}

/* ===========================
   Timeline (dagbesteding)
   =========================== */

.timeline {
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

.timeline li {
  margin-bottom: 0.6rem;
  padding-left: 1.1rem;
  position: relative;
}

.timeline li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.3rem;
  font-size: 0.8rem;
  color: var(--primary);
}

/* ===========================
   FAQ
   =========================== */

.faq {
  padding: 2.4rem 0 0;
  max-width: 44rem;
}

.faq h3 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-top: 1.1rem;
  margin-bottom: 0.25rem;
}

.faq p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ===========================
   Contact
   =========================== */

.contact-block {
  max-width: 40rem;
}

.contact-cta {
  margin-top: 2.5rem;
  padding: 1.5rem 1.5rem 1.6rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.contact-cta h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  color: var(--primary-dark);
}

.contact-cta p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
  max-width: 40rem;
}

.contact-details {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.8rem;
}

.contact-details a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

/* ===========================
   Footer
   =========================== */

footer {
  margin-top: 2.8rem;
  padding: 1.4rem 1.5rem 1.9rem;
  border-top: 1px solid var(--border);
  background: #ffffff;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* ===========================
   Responsive
   =========================== */

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: block;
  }

  .cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 799px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 2.5rem;
  }
}

@media (min-width: 980px) {
  .hero-title {
    font-size: 2.6rem;
  }
}
