/* ---------------------------------------------------------
   RESET & BASIS
--------------------------------------------------------- */

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

html {
  font-size: 20px; /* grote letters voor ouderen */
  -webkit-text-size-adjust: 100%;
  /* Minder grijze flits bij tik op links (iOS) */
  -webkit-tap-highlight-color: rgba(31, 120, 193, 0.12);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Helvetica Neue", Arial, sans-serif;
  background-color: #eef2f6;
  color: #1e293b;
  line-height: 1.7;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---------------------------------------------------------
   MARKETING LANDING
--------------------------------------------------------- */

body.marketing {
  background: #eef2f6;
}

/* ---------------------------------------------------------
   MEMBERSTACK GATING (looks good even before setup)
--------------------------------------------------------- */

/* Hide gated content by default (Memberstack will override with inline styles when allowed). */
[data-ms-content] {
  display: none;
}

/* Preview: bekijk cursus zonder inloggen (gebruik ?preview=1 in de URL). */
body.preview-mode [data-ms-content] {
  display: block !important;
}
body.preview-mode [data-ms-content!members] {
  display: none !important;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(
    180deg,
    rgba(252, 253, 255, 0.97) 0%,
    rgba(238, 242, 246, 0.96) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.topbar-inner {
  width: 1080px;
  max-width: 94%;
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

/* Primary CTA laatste item in .topbar-nav (desktop: rechts bij flex-end; mobiel: in horizontale scroll na o.a. FAQ) */
.topbar-nav .topbar-link-cta {
  flex-shrink: 0;
}

.brand {
  font-weight: 700;
  color: #0b304a;
  text-decoration: none;
  letter-spacing: 0.2px;
  font-size: 20px;
  line-height: 1.25;
}

.topbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}

.topbar-link {
  color: #0b304a;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 18px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.topbar-link:hover {
  background: rgba(11, 48, 74, 0.06);
}

.topbar-lang {
  font-weight: 600;
  margin-right: 4px;
}

.topbar-link-cta {
  background: #0b304a;
  color: white;
  border-color: rgba(0,0,0,0.10);
}

.topbar-link-cta:hover {
  background: #08263a;
}

/* Highlight box on access-help / toegang-ophalen (top + bottom callouts) */
.access-gate-callout {
  margin: 0 auto 1rem;
  padding: 0.85rem 1rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #334155;
  text-align: center;
  background: rgba(11, 48, 74, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(11, 48, 74, 0.1);
  max-width: 32rem;
}

.access-gate-hint {
  margin: 0.75rem auto 0.5rem;
  max-width: 32rem;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.55;
  text-align: left;
}

.access-gate-simple {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: #1e293b;
  text-align: center;
}

.access-gate-subhead {
  margin: 0.85rem auto 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0b304a;
  text-align: center;
  line-height: 1.3;
  max-width: 32rem;
}

.access-gate-card p.access-gate-callout {
  max-width: 32rem;
}

.access-gate-simple-list {
  text-align: left;
  margin: 0.5rem auto 1rem;
  max-width: 32rem;
  padding-left: 1.25rem;
  line-height: 1.6;
  color: #334155;
  font-size: 18px;
}

.access-gate-simple-list li {
  margin-bottom: 0.65rem;
}

.access-gate-simple-list li.access-gate-contact-hint {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #64748b;
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.access-gate-foot {
  font-size: 0.95rem;
  color: #475569;
  margin: 0 auto 1rem;
  max-width: 32rem;
  line-height: 1.55;
  text-align: center;
}

.marketing-main {
  padding: 18px 0 50px;
}

.landing-container {
  width: 1080px;
  max-width: 94%;
  margin: 0 auto;
}

.landing-hero {
  padding: 26px 0 10px;
}

.landing-hero-inner {
  width: 1080px;
  max-width: 94%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: center;
}

.landing-hero-text h1 {
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

.landing-lead {
  font-size: 22px;
  line-height: 1.6;
  margin-bottom: 18px;
  color: #334155;
}

.landing-points {
  margin: 10px 0 18px 20px;
}

.landing-points li {
  margin-bottom: 10px;
}

.landing-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.landing-cta .btn-primary {
  margin-top: 0;
}

.landing-note {
  margin-top: 14px;
  margin-bottom: 0;
  color: #334155;
  font-size: 18px;
}

.price-code-hint {
  margin-top: 6px;
  margin-bottom: 22px;
  max-width: 52ch;
}

.landing-hero-image {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.landing-section {
  padding: 32px 0;
}

.access-gate {
  padding: 46px 0;
}

.access-gate .landing-container {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.access-gate-card {
  background: #e8eef7;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 8px 24px rgba(11, 48, 74, 0.12);
  border: 1px solid rgba(31, 120, 193, 0.25);
  text-align: center;
}

.access-gate-card h2 {
  margin: 0 0 12px 0;
  text-align: center;
}

.access-gate-card p {
  margin: 0 auto 20px auto;
  max-width: 42ch;
  text-align: center;
}

.access-gate-card .landing-cta {
  justify-content: center;
  margin-top: 8px;
  margin-bottom: 0;
}

.landing-section h2 {
  font-size: 34px;
  margin-bottom: 18px;
  letter-spacing: -0.2px;
}

/* Gate titel: strak en gecentreerd */
.access-gate .access-gate-card h2 {
  margin: 0 0 12px 0;
  text-align: center;
}

.landing-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* ---------------------------------------------------------
   HUB / KIES JE CURSUS (site/index.html)
--------------------------------------------------------- */

.hub-hero {
  background:
    radial-gradient(circle at 90% 10%, rgba(31, 120, 193, 0.15), transparent 55%),
    radial-gradient(circle at 0% 90%, rgba(22, 163, 74, 0.10), transparent 55%),
    linear-gradient(180deg, #ffffff, #f1f5f9);
  border-radius: 24px;
  padding: 56px 40px 48px;
  margin: 22px auto 36px;
  max-width: 1100px;
  width: 96%;
  text-align: center;
  box-shadow: 0 12px 38px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.hub-hero .hub-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1f78c1;
  background: rgba(31, 120, 193, 0.10);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hub-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.4px;
  color: #0b304a;
}

.hub-hero p.hub-lead {
  max-width: 640px;
  margin: 0 auto 4px;
  color: #334155;
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.6;
}

.hub-hero .hub-meta {
  margin-top: 18px;
  display: flex;
  gap: 8px 22px;
  flex-wrap: wrap;
  justify-content: center;
  color: #475569;
  font-size: 16px;
}

.hub-hero .hub-meta span::before {
  content: '·';
  margin-right: 8px;
  color: #94a3b8;
}

.hub-hero .hub-meta span:first-child::before {
  content: '';
  margin-right: 0;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1100px;
  width: 96%;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }
  .hub-hero {
    padding: 38px 24px 32px;
  }
}

a.course-choice-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
  padding: 26px 26px 28px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
  isolation: isolate;
}

a.course-choice-card::before {
  content: '';
  position: absolute;
  inset: 0;
  height: 6px;
  background: var(--card-accent, #1f78c1);
  z-index: 1;
}

a.course-choice-card:hover {
  border-color: rgba(31, 120, 193, 0.35);
  box-shadow: 0 14px 38px rgba(31, 120, 193, 0.16);
  transform: translateY(-4px);
}

a.course-choice-card.card-beginners { --card-accent: #1f78c1; }
a.course-choice-card.card-secretariaat { --card-accent: #ea580c; }
a.course-choice-card.card-cardiologen { --card-accent: #15803d; }

a.course-choice-card .card-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.05);
  font-size: 28px;
  margin-bottom: 16px;
  margin-top: 4px;
}

a.course-choice-card.card-beginners .card-emoji { background: rgba(31, 120, 193, 0.10); }
a.course-choice-card.card-secretariaat .card-emoji { background: rgba(234, 88, 12, 0.10); }
a.course-choice-card.card-cardiologen .card-emoji { background: rgba(21, 128, 61, 0.10); }

a.course-choice-card .card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--card-accent, #1f78c1);
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}

a.course-choice-card h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.3;
  color: #0f172a;
}

a.course-choice-card .card-audience {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--card-accent, #1f78c1);
  margin-bottom: 8px;
  display: block;
}

a.course-choice-card p {
  margin: 0 0 16px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

a.course-choice-card ul.card-features {
  list-style: none;
  margin: 8px 0 18px;
  padding: 0;
  display: grid;
  gap: 6px;
}

a.course-choice-card ul.card-features li {
  padding-left: 22px;
  position: relative;
  font-size: 15px;
  color: #334155;
  line-height: 1.5;
}

a.course-choice-card ul.card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--card-accent, #1f78c1);
  font-weight: 700;
}

a.course-choice-card .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  color: var(--card-accent, #1f78c1);
  font-size: 16px;
  margin-top: auto;
}

a.course-choice-card:hover .card-cta {
  gap: 12px;
}

a.course-choice-card-wide {
  grid-column: 1 / -1;
}

.hub-trust {
  max-width: 1100px;
  width: 96%;
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.hub-trust .trust-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.hub-trust .trust-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #0b304a;
}

.hub-trust .trust-card p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}

.landing-card {
  background: white;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.landing-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.form-field {
  display: block;
  margin-top: 14px;
}

.form-field span {
  display: block;
  font-size: 16px;
  color: #334155;
  margin-bottom: 6px;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  /* Minimaal 16px voorkomt automatisch inzoomen bij focus op iOS Safari */
  font-size: max(16px, 1.125rem);
  background: white;
  outline: none;
}

.form-input:focus {
  border-color: rgba(31, 120, 193, 0.55);
  box-shadow: 0 0 0 4px rgba(31, 120, 193, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.price-card {
  background: white;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  border: 1px solid rgba(31, 120, 193, 0.18);
  margin-bottom: 20px;
}

.price-card:last-of-type {
  margin-bottom: 0;
}

.price-intro {
  border-color: rgba(34, 197, 94, 0.35);
  background: linear-gradient(to bottom, rgba(34, 197, 94, 0.06), white);
}

.price-badge {
  display: inline-block;
  background: #16a34a;
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.price-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.price-sub {
  margin: 0;
  color: #475569;
}

.price-amount {
  font-size: 40px;
  font-weight: 800;
  color: #0b304a;
  letter-spacing: -0.4px;
}

.price-list {
  margin: 14px 0 18px 18px;
}

.price-list li {
  margin-bottom: 10px;
}

.price-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.price-actions .btn-primary,
.price-actions .btn-secondary {
  flex: 1 1 260px;
  margin-top: 0;
  text-align: center;
}

.price-note {
  margin: 14px 0 0;
  color: #475569;
  font-size: 18px;
}

/* Reviews sectie (index) */
.reviews-intro {
  margin-bottom: 24px;
  color: #475569;
  max-width: 52ch;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.review-card {
  background: white;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(31, 120, 193, 0.12);
}

.review-stars {
  color: #f59e0b;
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-quote {
  font-size: 18px;
  line-height: 1.6;
  color: #334155;
  margin: 0 0 14px 0;
  font-style: italic;
}

.review-quote::before {
  content: "“";
}

.review-quote::after {
  content: """;
}

.review-meta {
  margin: 0;
  font-size: 15px;
  color: #64748b;
}

.faq {
  background: white;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  padding: 12px 8px 12px 4px;
  min-height: 44px;
  line-height: 1.35;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(31, 120, 193, 0.1);
}

.site-footer {
  padding: 26px 0 40px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(238, 242, 246, 0.6);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #0b304a;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  color: #475569;
  font-size: 16px;
}

p {
  margin-bottom: 22px; /* of 30px als je extra ruimte wilt */
  line-height: 1.6;
}

/* ---------------------------------------------------------
   SIDEBAR
--------------------------------------------------------- */

.sidebar {
  width: 288px;
  background: #0b304a;
  color: white;
  padding: 32px 18px;
  padding-top: max(32px, env(safe-area-inset-top, 0px));
  height: 100vh;
  height: 100dvh; /* dynamische hoogte iOS/Android (adresbalk) */
  max-height: -webkit-fill-available; /* extra fallback Safari */
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.site-title {
  text-align: center;
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 22px;
}

.sidebar-top {
  margin-bottom: 22px;
}

.sidebar-top .site-title {
  margin-bottom: 0;
}

.sidebar-toggle {
  display: none;
}

.sidebar-panel {
  /* memberbar + nav; op smal scherm vouwt JS dit open/dicht */
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.memberbar {
  margin: 10px 0 18px;
  padding: 12px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.memberbar-line {
  font-size: 14px;
  color: rgba(220, 232, 247, 0.95);
  margin-bottom: 10px;
  line-height: 1.35;
}

.memberbar-email {
  font-weight: 650;
  word-break: break-word;
}

.memberbar-link {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 8px;
  font-size: 15px;
  color: #dce8f7;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
}

.memberbar-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-link {
  font-size: 17px;
  color: #dce8f7;
  text-decoration: none;
  padding: 12px 12px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
}

.nav-link .nav-emoji {
  flex: 0 0 1.85em;
  width: 1.85em;
  text-align: center;
  line-height: 1;
  font-size: 1.12em;
}

.nav-link .nav-label {
  flex: 1;
  min-width: 0;
  text-align: left;
  line-height: 1.35;
}

.sidebar-nav .nav-link[href*="module"] .nav-label-module {
  font-weight: 700;
}

.sidebar-nav .nav-link[href*="module"] .nav-label-desc {
  font-weight: 400;
}

.nav-link-active {
  background: #1f78c1;
  color: white;
  font-weight: bold;
}

/* ---------------------------------------------------------
   MAIN CONTENT (CENTRAAL)
--------------------------------------------------------- */

/* Alleen de hoofdkolom naast de sidebar — niet geneste <main> uit geladen module-HTML */
.access-content-wrap > .main-content {
  margin-left: 288px;
  /* Expliciete breedte: Safari/WebKit vulde soms niet de hele ruimte naast de sidebar,
     waardoor de cursusstrook visueel niet gecentreerd leek. */
  width: calc(100% - 288px);
  max-width: none;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  min-width: 0; /* voorkomt dat flex-kinderen breder worden dan het scherm */
  box-sizing: border-box;
}

/* Geladen modules bevatten eigen <main class="main-content">; geen tweede sidebar-offset */
#content-root > .main-content {
  margin-left: 0;
  width: auto;
  max-width: 100%;
  padding: 0;
  display: block;
  box-sizing: border-box;
}

/* Breder dan mobiele cursus-breakpoint: sidebar vast; safe area (notch) meenemen zodat
   sidebar en hoofdkolom niet uit elkaar lopen t.o.v. de viewport (o.a. Safari op Apple). */
@media (min-width: 1151px) {
  .access-content-wrap {
    margin-left: calc(-1 * env(safe-area-inset-left, 0px));
    width: calc(100% + env(safe-area-inset-left, 0px));
    box-sizing: border-box;
  }

  .access-content-wrap .sidebar {
    left: env(safe-area-inset-left, 0px);
  }

  .access-content-wrap > .main-content {
    margin-left: calc(288px + env(safe-area-inset-left, 0px));
    width: calc(100% - 288px - env(safe-area-inset-left, 0px));
    padding-right: env(safe-area-inset-right, 0px);
  }
}

.content-wrap {
  width: 880px;
  max-width: 94%;
  min-width: 0;
  box-sizing: border-box;
}

/* Brede module-inhoud (afbeeldingen, tabellen) op smal scherm horizontaal scrollbaar i.p.v. afsnijden */
#content-root {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Afbeeldingen in geladen module-HTML: nooit breder dan scherm */
#content-root img {
  max-width: 100%;
  height: auto;
}

#content-root .intro-image-wrap img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

#content-root table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---------------------------------------------------------
   HERO BLOCK
--------------------------------------------------------- */

.hero {
  background: white;
  padding: 28px;
  border-radius: 18px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  margin-bottom: 36px;
}

.hero-text {
  flex: 1;
}

.hero-text h2 {
  font-size: 32px;
  margin-bottom: 14px;
}

.hero-lead {
  font-size: 21px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.hero-list {
  margin: 10px 0 18px 20px;
}

.hero-list li {
  margin-bottom: 10px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
}

.hero-actions .btn-primary {
  margin-top: 0;
}

.hero-note {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 18px;
  color: #334155;
}

.hero-image {
  width: 220px;
  max-height: 170px;
  object-fit: cover;
  border-radius: 14px;
}

.hero-image-wrapper {
  flex-shrink: 0;
}

/* ---------------------------------------------------------
   INTRO BLOCK
--------------------------------------------------------- */

.intro-block {
  background: white;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  margin-bottom: 40px;
}

.intro-list {
  margin: 16px 0 20px 18px;
}

.intro-list li {
  margin-bottom: 10px;
}

/* Optioneel tussenstuk in modules (bijv. copy-paste), visueel los van gewone lesblokken */
.copy-paste-intermezzo {
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-left: 4px solid #ea580c;
  border-radius: 14px;
  padding: 20px 22px 22px;
  margin: 22px 0;
  color: #431407;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.08);
}

.copy-paste-intermezzo h4 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #9a3412;
}

.copy-paste-intermezzo .copy-paste-intermezzo-skip {
  margin: 0 0 14px;
  font-size: 17px;
  color: #7c2d12;
  line-height: 1.5;
}

.copy-paste-intermezzo .intro-list {
  margin-bottom: 12px;
}

.copy-paste-intermezzo p:last-child {
  margin-bottom: 0;
}

/* Cursus: disclaimer / free-paid labels (get-content modules) */
.course-governance-note {
  margin: 18px 0 8px;
  padding: 16px 18px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 12px;
  border-left: 4px solid #d97706;
}

.course-governance-note h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: #78350f;
}

.course-governance-note p {
  margin: 0 0 10px;
  color: #451a03;
  line-height: 1.55;
}

.course-governance-note p:last-child {
  margin-bottom: 0;
}

.free-paid-mark {
  display: inline-block;
  margin: 0 2px;
  padding: 2px 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  color: #14532d;
  background: #dcfce7;
  border-radius: 6px;
  vertical-align: middle;
}

.free-paid-hint {
  font-size: 0.95rem;
  color: #334155;
  margin-top: 10px !important;
}

/* Kant-en-klare prompts / oefeningen in module-HTML (get-content) */
.try-this-box {
  margin: 22px 0;
  padding: 18px 20px 20px;
  background: #eff6ff;
  border: 1px solid #93c5fd;
  border-radius: 14px;
  border-left: 4px solid #2563eb;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.08);
}

.try-this-box h4 {
  margin: 0 0 10px;
  font-size: 19px;
  color: #1e3a5f;
  line-height: 1.3;
}

.try-this-box p {
  margin-bottom: 12px;
  color: #334155;
}

.try-this-box p:last-child {
  margin-bottom: 0;
}

.try-this-prompt {
  margin-top: 10px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #bfdbfe;
  font-size: 1rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #1e293b;
}

.try-this-box .try-this-prompt:first-of-type {
  margin-top: 8px;
}

.mini-template {
  margin: 16px 0 22px;
  padding: 16px 18px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  border-left: 4px solid #1f78c1;
}

.mini-template .label {
  font-weight: 650;
  font-size: 18px;
  color: #0b304a;
  margin-bottom: 8px;
}

.mini-template .text {
  font-size: 20px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #334155;
}

/* Link om ChatGPT te openen bij oefeningen (nieuw tabblad) */
.chatgpt-open-inline {
  margin: 10px 0 16px;
  padding: 14px 16px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 12px;
  font-size: 20px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #14532d;
}

.chatgpt-open-inline a {
  font-weight: 650;
  color: #15803d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.chatgpt-open-inline a:hover {
  color: #166534;
}

.chatgpt-open-inline a:focus-visible {
  outline: 3px solid #22c55e;
  outline-offset: 3px;
}

.chatgpt-open-inline-note {
  color: #3f6212;
  font-size: 0.95em;
}

/* Grote lesafbeeldingen (intro-image) */

/*
  Bijsnijden werkt via aspect-ratio op de wrapper + object-fit:cover op img.
  De wrapper bepaalt hoeveel er ZICHTBAAR is.
  object-fit:cover vult de wrapper altijd volledig.

  Landscape (bijv. 3:2 origineel):
    - Origineel aspect ratio ~1.50 (breedte/hoogte)
    - Wrapper aspect-ratio: 1.67  → iets breder dan origineel → boven/onder wegsnijden
    - 5% boven + 5% onder weg

  Portrait (bijv. 2:3 origineel):
    - Origineel aspect ratio ~0.67 (breedte/hoogte)
    - Wrapper aspect-ratio: 0.80  → breder dan origineel → boven/onder wegsnijden
    - 15% boven + 15% onder weg
*/

.intro-image-wrap {
  overflow: hidden;
  border-radius: 14px;
  margin-top: 18px;
  width: 100%;
}

/* Landscape: toon middelste 90% (5% boven + 5% onder weg)
   Typische landscape ratio ~3:2 = 1.50 → wrapper 1.67 snijdt ~5% boven+onder */
.intro-image-wrap.landscape {
  aspect-ratio: 1.67;
}

/* Portrait: toon middelste 70% (15% boven + 15% onder weg)
   Typische portrait ratio ~2:3 = 0.67 → wrapper 0.80 snijdt ~15% boven+onder */
.intro-image-wrap.portrait {
  aspect-ratio: 0.80;
}

.intro-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
}

/* Fallback voor img zonder wrapper */
.intro-image {
  width: 100%;
  display: block;
  border-radius: 14px;
  margin-top: 18px;
}

/* Module kaart miniaturen */
.module-card img {
  width: 160px;
  height: 120px;
  object-fit: cover;
  object-position: center 50%;
  border-radius: 12px;
  flex-shrink: 0;
}

/* ---------------------------------------------------------
   MODULE OVERVIEW
--------------------------------------------------------- */

.modules-overview h3 {
  font-size: 28px;
  margin-bottom: 22px;
}

.module-card {
  background: white;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  display: flex;
  gap: 20px;
  margin-bottom: 26px;
}




.module-card h4 {
  font-size: 22px;
  margin-bottom: 8px;
}

.module-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1f78c1;
  color: white;
  padding: 10px 20px;
  font-size: 19px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent; /* houdt hoogte gelijk met btn-secondary */
  margin-top: 12px;
  min-height: 44px; /* tikvlak iPhone / richtlijn toegankelijkheid */
  touch-action: manipulation;
  box-sizing: border-box;
}

.btn-primary:hover {
  background: #16649d;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e6f0fa;
  color: #0b304a;
  padding: 10px 18px;
  font-size: 19px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid #b9d3ee;
  min-height: 44px;
  touch-action: manipulation;
  box-sizing: border-box;
}

.btn-secondary:hover {
  background: #d8e9f8;
}

.btn-lg {
  padding: 12px 22px;
  font-size: 20px;
  border-radius: 12px;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.nav-link:focus-visible,
.topbar-link:focus-visible,
.brand:focus-visible,
.footer-links a:focus-visible,
.faq summary:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 3px;
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

.page-footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 16px;
  color: #475569;
  border-top: 1px solid #cbd5e1;
}
/* ---------------------------------------------------------
   QUIZ BLOKKEN
--------------------------------------------------------- */

.quiz-block {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.quiz-block h4 {
  margin-bottom: 10px;
  font-size: 22px;
}

.quiz-question {
  margin-bottom: 20px;
}

.quiz-question-text {
  margin-bottom: 10px;
  font-weight: 500;
}

.quiz-options {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 10px;
}

.quiz-options li {
  margin-bottom: 6px;
}

/* Invulvragen (o.a. module 3–5): groter vak en lettertype — default browser-input is vaak te klein */
.quiz-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
  margin-bottom: 6px;
  padding: 14px 16px;
  font-size: 20px;
  line-height: 1.45;
  min-height: 52px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
}

.quiz-input::placeholder {
  color: #64748b;
  opacity: 1;
}

.quiz-input:focus {
  outline: none;
  border-color: #1f78c1;
  box-shadow: 0 0 0 3px rgba(31, 120, 193, 0.22);
}

.quiz-button {
  margin-top: 4px;
}

.quiz-feedback {
  margin-top: 8px;
  font-size: 18px;
}

.quiz-feedback-correct {
  color: #15803d; /* groen */
}

.quiz-feedback-wrong {
  color: #b91c1c; /* rood */
}

.quiz-feedback-warning {
  color: #92400e; /* oranje/bruin */
}

/* Volgende module-knop onderaan */
.module-next {
  margin-top: 30px;
  text-align: right;
}

/* ---------------------------------------------------------
   RESPONSIVE (TABLET / MOBIEL)
--------------------------------------------------------- */

/*
  Cursus-layout (sidebar + main): eerder stapelen dan overige pagina’s.
  Voorkomt op iPhone (o.a. “desktopwebsite” met brede layout-viewport) dat fixed sidebar + margin-left
  het linkerdeel van de tekst buiten het zichtbare venster duwt.
*/
@media (max-width: 1150px) {
  /* Cursuspagina’s: iets inspringen zodat het donkere blok als kaart leest */
  body:not(.marketing) {
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
  }

  /* Voorkomt dat brede module-inhoud de hele pagina horizontaal laat scrollen */
  .access-content-wrap {
    max-width: 100%;
    overflow-x: hidden;
  }

  .sidebar {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    padding: 12px 16px 14px;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    left: auto;
    top: auto;
    border-radius: 16px;
    margin-top: 10px;
    margin-bottom: 6px;
    box-shadow: 0 10px 36px rgba(11, 48, 74, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 0;
  }

  .sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.2;
    color: #0b304a;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    cursor: pointer;
    min-height: 44px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  }

  .sidebar-toggle:active {
    background: #fff;
  }

  .sidebar:not(.sidebar-expanded) .sidebar-panel {
    display: none;
  }

  .sidebar.sidebar-expanded .sidebar-panel {
    display: block;
    margin-top: 12px;
  }

  .site-title {
    margin-bottom: 0;
    font-size: 1.05rem;
    line-height: 1.3;
    text-align: left;
    padding-bottom: 0;
    border-bottom: none;
    flex: 1;
    min-width: 0;
  }

  .memberbar {
    margin: 0 0 18px;
    padding: 14px 14px;
  }

  .memberbar-link {
    display: block;
    margin-right: 0;
    text-align: center;
    padding: 12px 14px;
    margin-bottom: 8px;
    font-size: 16px;
  }

  .memberbar-link:last-of-type {
    margin-bottom: 0;
  }

  .sidebar-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding: 6px 2px 14px;
    margin: 0 -4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
  }

  .sidebar-nav::-webkit-scrollbar {
    height: 5px;
  }

  .sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
  }

  .nav-link {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 12px 12px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: auto;
    max-width: min(220px, 46vw);
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.12);
  }

  .nav-link .nav-emoji {
    flex: 0 0 1.75em;
    width: 1.75em;
    margin-top: 2px;
  }

  /* Langere modultitels mogen in de pill wrappen */
  .sidebar-nav .nav-link {
    white-space: normal;
    min-height: 44px;
  }

  .sidebar-nav .nav-link .nav-label {
    line-height: 1.32;
  }

  .nav-link-active {
    box-shadow: inset 0 0 0 2px rgba(147, 197, 253, 0.45);
  }

  .access-content-wrap > .main-content {
    margin-left: 0;
    padding: 14px max(4px, env(safe-area-inset-left, 0px)) 36px max(4px, env(safe-area-inset-right, 0px));
    width: 100%;
    max-width: 100%;
  }

  .content-wrap {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  /* Quiz: groter klikvlak voor radio + label (iOS/Android) */
  .quiz-options li {
    margin-bottom: 10px;
  }

  .quiz-options li:last-child {
    margin-bottom: 6px;
  }

  .quiz-options li label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 10px;
    margin: 0;
    border-radius: 10px;
    min-height: 44px;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(31, 120, 193, 0.12);
  }

  .quiz-options li label input[type='radio'] {
    margin-top: 4px;
    flex-shrink: 0;
    width: 1.15em;
    height: 1.15em;
  }

  .quiz-button {
    min-height: 44px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .module-next {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    text-align: center;
    padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
  }

  .module-next .btn-primary,
  .module-next .btn-secondary {
    width: 100%;
    margin-top: 0;
    justify-content: center;
    min-height: 44px;
  }

  .page-footer {
    padding-bottom: max(24px, calc(24px + env(safe-area-inset-bottom, 0px)));
  }

  .modules-overview .module-card .btn-primary {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .try-this-prompt {
    font-size: max(16px, 1rem);
    padding: 16px 15px;
  }

  .chatgpt-open-inline {
    font-size: max(17px, 0.98rem);
    padding: 16px 14px;
  }
}

/* Marketing-topbar mobiel: rij 1 = merk; rij 2 = nav + CTA horizontaal scrollbaar (CTA direct na o.a. FAQ) */
@media (max-width: 768px) {
  .topbar-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 0;
    row-gap: 0;
    max-width: 100%;
    padding: max(10px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 12px
      max(16px, env(safe-area-inset-left, 0px));
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    font-size: 1.05rem;
    letter-spacing: 0.1px;
    min-width: 0;
    max-width: 100%;
    padding-right: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .topbar-nav {
    grid-column: 1;
    grid-row: 2;
    flex: unset;
    min-width: 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 12px 0 10px;
    margin-top: 4px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    scrollbar-width: thin;
    scrollbar-color: rgba(11, 48, 74, 0.25) transparent;
  }

  .topbar-nav::-webkit-scrollbar {
    height: 4px;
  }

  .topbar-nav::-webkit-scrollbar-thumb {
    background: rgba(11, 48, 74, 0.22);
    border-radius: 4px;
  }

  .topbar-nav .topbar-link {
    flex: 0 0 auto;
    padding: 11px 14px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(11, 48, 74, 0.1);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  }

  .topbar-nav .topbar-link:hover {
    background: rgba(255, 255, 255, 0.98);
  }

  /* CTA in dezelfde scrollrij als FAQ e.d.; niet de witte pill van .topbar-nav .topbar-link */
  .topbar-nav .topbar-link-cta {
    padding: 10px 14px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
    max-width: min(46vw, 10.5rem);
    overflow: hidden;
    text-overflow: ellipsis;
    background: #0b304a;
    color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 12px rgba(11, 48, 74, 0.25);
  }

  .topbar-nav .topbar-link-cta:hover {
    background: #08263a;
    color: #fff;
  }

  .topbar-lang {
    margin-right: 0;
    font-weight: 650;
  }

  .marketing-main {
    padding-top: 12px;
  }

  .landing-container,
  .landing-hero-inner {
    max-width: 100%;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .landing-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-cta .btn-primary,
  .landing-cta .btn-secondary {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    margin-top: 0;
  }

  .landing-cta .btn-primary:first-of-type {
    margin-top: 0;
  }

  .price-actions {
    flex-direction: column;
  }

  .price-actions .btn-primary,
  .price-actions .btn-secondary {
    flex: 1 1 auto;
    width: 100%;
    min-height: 48px;
  }

  .site-footer {
    padding-bottom: max(32px, calc(26px + env(safe-area-inset-bottom, 0px)));
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* toegang-ophalen.html / access-help.html — geen te smalle kolom op telefoon */
  .access-gate {
    padding: 24px 0 36px;
  }

  .access-gate .landing-container {
    max-width: 100%;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
  }

  .access-gate-card {
    padding: 20px 16px 22px;
    text-align: left;
    max-width: 100%;
    box-sizing: border-box;
  }

  .access-gate-card h2 {
    text-align: left;
    font-size: 1.35rem;
    line-height: 1.3;
  }

  .access-gate-card p {
    max-width: none;
    text-align: left;
  }

  .access-gate-simple {
    text-align: left;
  }

  .access-gate-subhead {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .access-gate-callout {
    max-width: none;
    width: 100%;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .access-gate-simple-list {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .access-gate-simple-list li.access-gate-contact-hint {
    font-size: max(15px, 0.88rem);
  }
}

@media (max-width: 980px) {
  html {
    font-size: 18px;
  }

  .landing-hero-inner {
    grid-template-columns: 1fr;
  }

  .landing-hero-text h1 {
    font-size: 38px;
  }

  .landing-grid-2 {
    grid-template-columns: 1fr;
  }

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

  .hero {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-image-wrapper {
    order: -1;
  }

  .hero-image {
    width: 100%;
    max-height: 220px;
  }

  .module-card {
    flex-direction: column;
  }

  .module-card img {
    width: 100%;
    height: 180px;
  }

  .hero,
  .intro-block {
    padding: 20px;
    border-radius: 16px;
  }

}

@media (max-width: 520px) {
  html {
    font-size: 17px;
  }

  .landing-hero-text h1 {
    font-size: 32px;
  }

  .hero-text h2 {
    font-size: 28px;
  }

  .modules-overview h3 {
    font-size: 26px;
  }

  .topbar-nav .topbar-link-cta {
    padding: 9px 12px;
    font-size: 0.82rem;
    max-width: min(44vw, 9.75rem);
  }

  .brand {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero,
  .intro-block {
    padding: 16px;
    border-radius: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ---------------------------------------------------------
   EVALUATIE-PAGINA (klassen in evaluatie.html)
--------------------------------------------------------- */
@media (max-width: 768px) {
  .eval-hero {
    padding: max(24px, env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) 24px
      max(18px, env(safe-area-inset-left, 0px));
  }

  .eval-section {
    padding: 20px 16px;
  }

  .eval-options {
    grid-template-columns: 1fr;
  }

  .eval-opt {
    min-height: 48px;
    padding: 16px 14px;
    -webkit-tap-highlight-color: rgba(31, 120, 193, 0.12);
  }

  .star-btn {
    width: 52px;
    height: 52px;
  }
}

/* Cursuspagina: compacte leveranciertabel */
.simple-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 16px;
  line-height: 1.55;
}

.simple-table th,
.simple-table td {
  border: 1px solid #e5e7eb;
  padding: 12px 14px;
  vertical-align: top;
  text-align: left;
}

.simple-table thead th {
  background: #f9fafb;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
