/* ============================
   Basiskleuren en typografie
============================ */
:root {
  --color-bg: #88898C;
  --color-header: #8C9C87;
  --color-text: #f7f7f7;
  --color-accent: #8a3f6c;
  --color-accent-hover: #6e2f56;
  --color-link: #cfe1c8;
  --color-link-hover: #e2efe0;
  --color-button-text: #3b3b3b;
  --shadow-subtle: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* ============================
   Algemene instellingen
============================ */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Lexend', 'Open Sans', sans-serif;
  font-size: 18px;
  line-height: 1.65;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--color-bg);
  color: var(--color-text);
  padding-top: 160px;
  font-weight: 300;
}

/* ============================
   Header
============================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-header);
  z-index: 1000;
  text-align: center;
  padding: 10px 0 0 0;
}

.site-logo {
  height: 100px;
  width: auto;
  margin-bottom: 0;
}

/* ============================
   Navigatie
============================ */
.top-nav {
  background-color: var(--color-header);
  padding: 10px 0;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  display: block;
  padding: 10px 15px;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: bold;
  font-family: 'Lexend', sans-serif;
  font-size: 1.05rem;
}

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

.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* ============================
   Pagina-inhoud
============================ */
.page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
}

/* ============================
   Sectie helpers
============================ */
.section-header-row {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

.section-title {
  margin: 0;
  flex: 1;
}

.section-image-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
}

.section-image-row-center {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.section-image-row-left {
  display: flex;
  justify-content: flex-start;
  margin-top: 30px;
}

.section-image-small {
  width: 120px;
}

.section-image-medium {
  width: 150px;
}

/* ============================
   Afbeeldingen
============================ */
img {
  border-radius: 8px;
}

/* ============================
   Tarieven
============================ */
#sectie2 h4 {
  margin-top: 12px;
  margin-bottom: 2px;
  font-weight: bold;
  font-size: 1.1rem;
}

#sectie2 .tarieven-lijst {
  margin-top: 0;
  margin-bottom: 10px;
  padding-left: 22px;
  list-style-type: disc;
}

#sectie2 .tarieven-lijst li {
  margin-bottom: 3px;
}

/* ============================
   Contactpagina
============================ */
.contact-container {
  background-color: transparent;
  color: var(--color-text);
  padding: 20px;
  max-width: 500px;
  margin: 0 auto;
}

.contact-container a {
  color: var(--color-link);
  text-decoration: none;
}

.contact-container a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

.contact-rij {
  display: flex;
  align-items: flex-start;
  gap: 250px;
  margin-top: 45px;
}

.contact-foto {
  margin-top: -35px;
}

.contact-foto img {
  width: 100px;
  border-radius: 8px;
  display: block;
}

/* ============================
   Mailknop
============================ */
.mail-knop {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: var(--color-header);
  color: var(--color-button-text) !important;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  font-family: 'Lexend', sans-serif;
  box-shadow: var(--shadow-subtle);
}

.mail-knop:hover {
  color: var(--color-accent);
  background-color: transparent;
}

/* ============================
   Kopteksten (geüniformeerd)
============================ */
h1, h2, h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: bold;
  line-height: 1.2;
  margin: 0 0 0.6rem 0;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 22px;
}

/* ============================
   Tekst
============================ */
p, li {
  font-size: 1rem;
}

p {
  margin: 0 0 1rem 0;
}

ul {
  margin: 0 0 1rem 1.2rem;
}

a {
  color: var(--color-link);
}

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

a:focus-visible {
  outline: 2px solid var(--color-link-hover);
  outline-offset: 3px;
}

/* ============================
   Welkompagina
============================ */
.welkom-page .page-container {
  max-width: 960px;
  padding: 2rem 1.5rem;
}

.welkom-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(247, 247, 247, 0.2);
}

.welkom-hero-text h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.welkom-hero-text .tagline {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-text);
  opacity: 0.95;
  line-height: 1.5;
}

.welkom-hero-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
  .welkom-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .welkom-hero-img {
    margin: 0 auto;
  }
}

.welkom-sections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.welkom-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.welkom-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.welkom-card h2 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem 0;
  color: var(--color-text);
  font-weight: 600;
}

.welkom-card .card-lead {
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text);
}

.welkom-card .lees-meer {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-link);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.welkom-card .lees-meer:hover {
  color: var(--color-link-hover);
}

.welkom-card .lees-meer::after {
  content: "→";
}

.welkom-cta {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-text);
}

.welkom-cta strong {
  color: var(--color-link);
}

.welkom-cta-small {
  font-size: 0.95rem;
  font-weight: 400;
}

.welkom-cta .lees-meer {
  font-size: inherit;
  font-weight: 400;
}

.welkom-bottom-img {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.welkom-bottom-img img {
  width: 180px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Welkompagina – modal */
.welkom-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.welkom-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.welkom-modal {
  background: var(--color-bg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  max-width: 480px;
  max-height: 85vh;
  overflow: auto;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  position: relative;
}

.welkom-modal h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.2rem;
}

.welkom-modal p {
  margin: 0 0 0.75rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.welkom-modal p:last-child {
  margin-bottom: 0;
}

.welkom-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  font-size: 1.25rem;
  line-height: 1;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.welkom-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ============================
   Paginalayout (hero + cards)
   Voor mentorschap, va, hippisch, contact
============================ */
.page-layout .page-container {
  max-width: 960px;
  padding: 2rem 1.5rem;
}

.page-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(247, 247, 247, 0.2);
}

.page-hero-text h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.page-hero-text .tagline {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-text);
  opacity: 0.95;
  line-height: 1.5;
}

.page-hero-img {
  width: 100px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
  .page-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-hero-img {
  width: 100%;
  height: auto;
  object-fit: contain; /* Belangrijk: geen crop meer */
}

}

.page-sections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.page-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.page-card h2 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem 0;
  color: var(--color-text);
  font-weight: 600;
}

.page-card h3 {
  font-size: 1.1rem;
  margin: 1rem 0 0.4rem 0;
  color: var(--color-text);
  font-weight: 600;
}

.page-card .card-lead {
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text);
}

.page-card ul {
  margin: 0.5rem 0 0.75rem 1.2rem;
  padding-left: 1rem;
}

.page-card .lees-meer {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-link);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-card .lees-meer:hover {
  color: var(--color-link-hover);
}

.page-card .lees-meer::after {
  content: "→";
}

.page-card-cta {
  text-align: left;
  padding: 1rem 0 0 0;
  margin: 0;
}

.page-cta {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-text);
}

.page-cta strong {
  color: var(--color-link);
}

.page-bottom-img {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.page-bottom-img img {
  width: 180px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Pagina-modal (hergebruik welkom-modal stijlen) */
.page-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.page-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.page-modal {
  background: var(--color-bg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  max-width: 520px;
  max-height: 85vh;
  overflow: auto;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  position: relative;
}

.page-modal h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.2rem;
}

.page-modal p,
.page-modal ul {
  margin: 0 0 0.75rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.page-modal p:last-child,
.page-modal ul:last-child {
  margin-bottom: 0;
}

.page-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  font-size: 1.25rem;
  line-height: 1;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.page-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.kvk-tekst {
  margin-top: 1.5cm; /* maak groter of kleiner naar wens */
  font-size: 1rem;
  color: var(--color-text);
}
.welkom-samen {
  margin-top: 60px;
  padding: 20px 0;
}

.welkom-samen h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.welkom-samen p {
  font-size: 1.1rem;
  line-height: 1.6;
}
.aegis-logo {
  width: 160px;
  height: auto;
  margin-top: 30px;
}
.kvk-tekst {
  margin-bottom: 60px; /* meer ruimte onder het KvK-nummer */
}
.aegis-logo {
  width: 160px;
  height: auto;
  margin-top: 15px;
}
.steffie-logo {
  width: 120px !important;
  height: auto !important;
  display: block;
  margin-top: 5px;      /* kleine ruimte boven */
  margin-bottom: 10px;  /* kleine ruimte onder */
}
.steffie-tekst {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.steffie-tekst {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.1; /* maakt de tekst zelf compacter */
}
.steffie-tekst {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.1;
}

.eerste-regel {
  margin-top: 15px !important; /* duwt de bovenste regel iets naar beneden */
}