/* bijles-hero 1.0.0 · block-port van ReactBitsPro Blocks/hero-20 met twee ongewijzigd gecompileerde
   componenten: perspective-grid (three uit _shared/vendor) als achtergrond en rising-ink op de h1.
   Tailwind-klassen vertaald naar gescopete CSS; kleuren via --m-*-tokens. */
.msm-bijles-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-height: calc(100svh - 77px);
  overflow: hidden;
  padding: 64px 16px;
  background: var(--m-surface, #ffffff);
  color: var(--m-ink, #14213d);
  font-family: var(--m-font-body, 'Public Sans', ui-sans-serif, system-ui, sans-serif);
  scroll-margin-top: 0;
}
.msm-bijles-hero,
.msm-bijles-hero *,
.msm-bijles-hero *::before,
.msm-bijles-hero *::after { box-sizing: border-box; }

/* Achtergrondlagen: zachte gloed bovenaan, vloer naar --m-bg en het perspectiefraster */
.msm-bijles-hero .bx-backdrop { position: absolute; inset: 0; pointer-events: none; }
.msm-bijles-hero .bx-fallback { position: absolute; inset: 0; }
.msm-bijles-hero .bx-fallback img { width: 100%; height: 100%; object-fit: cover; display: block; }
.msm-bijles-hero .bx-fallback::after {
  content: '';
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--m-surface, #ffffff) 80%, transparent);
}
.msm-bijles-hero.is-webgl .bx-fallback { display: none; }
.msm-bijles-hero .bx-glow {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 420px;
  background: radial-gradient(ellipse 55% 100% at 50% 0%, color-mix(in srgb, var(--m-ink, #14213d) 5%, transparent), transparent);
}
.msm-bijles-hero .bx-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 256px;
  background: linear-gradient(to top, var(--m-bg, #f4f6fb), transparent);
}
.msm-bijles-hero .bx-grid {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.msm-bijles-hero.is-grid .bx-grid { opacity: 1; }
/* Originele component-CSS van perspective-grid */
.msm-bijles-hero .perspective-grid-container { position: relative; overflow: hidden; }
.msm-bijles-hero .perspective-grid-canvas { position: absolute; inset: 0; }
.msm-bijles-hero .perspective-grid-bottom-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 30%; pointer-events: none; z-index: 5; }
.msm-bijles-hero .perspective-grid-content { position: relative; z-index: 10; width: 100%; height: 100%; pointer-events: none; }

/* Inhoud: max-w-[1400px], flex-col, items-center, text-center */
.msm-bijles-hero .bx-inner {
  position: relative;
  z-index: 10;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  text-align: center;
}
.msm-bijles-hero .bx-kicker {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--m-primary, #2445a8);
}
.msm-bijles-hero .bx-title {
  max-width: 56rem;
  margin: 0;
  font-family: var(--m-font-display, 'Sora', ui-sans-serif, system-ui, sans-serif);
  font-size: 3rem;
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--m-ink, #14213d);
  text-wrap: balance;
}
/* Originele component-CSS van rising-ink */
.msm-bijles-hero .rising-ink { position: relative; display: inline-block; }
.msm-bijles-hero .bx-intro {
  max-width: 42rem;
  margin: 28px 0 0;
  font-size: 16px;
  line-height: 1.625;
  color: var(--m-muted, #566079);
}
.msm-bijles-hero .bx-actions {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.msm-bijles-hero .bx-btn {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms cubic-bezier(0.4, 0, 0.2, 1), color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.msm-bijles-hero .bx-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--m-surface, #ffffff), 0 0 0 4px color-mix(in srgb, var(--m-primary, #2445a8) 70%, var(--m-surface, #ffffff));
}
.msm-bijles-hero .bx-btn svg { width: 16px; height: 16px; margin-left: 8px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.msm-bijles-hero .bx-btn-fill { background: var(--m-primary, #2445a8); color: var(--m-surface, #ffffff); }
.msm-bijles-hero .bx-btn-fill:hover { background: color-mix(in srgb, var(--m-primary, #2445a8) 82%, var(--m-ink, #14213d)); }
.msm-bijles-hero .bx-btn-line {
  border: 1px solid color-mix(in srgb, var(--m-ink, #14213d) 22%, transparent);
  background: var(--m-surface, #ffffff);
  color: var(--m-ink, #14213d);
}
.msm-bijles-hero .bx-btn-line:hover { background: var(--m-bg, #f4f6fb); }

/* Rij woordmerken: hier de niveaus als tekst, met maskerverloop aan de randen vanaf sm */
.msm-bijles-hero .bx-levels { margin-top: 80px; width: 100%; }
.msm-bijles-hero .bx-levels-label {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--m-muted, #566079);
}
.msm-bijles-hero .bx-marks {
  list-style: none;
  margin: 28px auto 0;
  padding: 8px 16px;
  max-width: 56rem;
  background: color-mix(in srgb, var(--m-surface, #ffffff) 86%, transparent);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 16px 40px;
  color: var(--m-muted, #566079);
  user-select: none;
}
.msm-bijles-hero .bx-mark { font-weight: 500; }
.msm-bijles-hero .bx-mark-1 { font-family: var(--m-font-display, 'Sora', ui-sans-serif, system-ui, sans-serif); font-size: 18px; line-height: 28px; letter-spacing: -0.025em; }
.msm-bijles-hero .bx-mark-2 { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; }
.msm-bijles-hero .bx-mark-3 { font-size: 18px; line-height: 28px; letter-spacing: -0.05em; }
.msm-bijles-hero .bx-mark-4 { font-family: var(--m-font-display, 'Sora', ui-sans-serif, system-ui, sans-serif); font-size: 18px; line-height: 28px; letter-spacing: -0.025em; }
.msm-bijles-hero .bx-mark-5 { font-size: 16px; line-height: 24px; letter-spacing: 0.1em; text-transform: uppercase; }

/* Metriekstrook: grid-cols-2 lg:grid-cols-4, gap-y-10, border-y, py-10, lg:divide-x */
.msm-bijles-hero .bx-metrics {
  list-style: none;
  margin: 64px 0 0;
  padding: 40px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 40px;
  width: 100%;
  max-width: 64rem;
  background: color-mix(in srgb, var(--m-bg, #f4f6fb) 84%, transparent);
  border-top: 1px solid color-mix(in srgb, var(--m-ink, #14213d) 12%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--m-ink, #14213d) 12%, transparent);
}
.msm-bijles-hero .bx-metric { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 16px; }
.msm-bijles-hero .bx-value {
  font-family: var(--m-font-display, 'Sora', ui-sans-serif, system-ui, sans-serif);
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--m-ink, #14213d);
  text-wrap: balance;
}
.msm-bijles-hero .bx-label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--m-muted, #566079);
  text-wrap: balance;
}

@media (min-width: 640px) {
  .msm-bijles-hero { padding: 80px 24px; }
  .msm-bijles-hero .bx-title { font-size: 3.75rem; }
  .msm-bijles-hero .bx-intro { font-size: 18px; }
  .msm-bijles-hero .bx-actions { width: auto; flex-direction: row; }
  .msm-bijles-hero .bx-btn { width: auto; padding: 14px 32px; font-size: 16px; line-height: 24px; }
  .msm-bijles-hero .bx-marks {
    column-gap: 48px;
    -webkit-mask-image: linear-gradient(to right, transparent, black 18%, black 82%, transparent);
    mask-image: linear-gradient(to right, transparent, black 18%, black 82%, transparent);
  }
  .msm-bijles-hero .bx-mark-1,
  .msm-bijles-hero .bx-mark-3,
  .msm-bijles-hero .bx-mark-4 { font-size: 20px; }
  .msm-bijles-hero .bx-mark-2 { font-size: 16px; line-height: 24px; }
  .msm-bijles-hero .bx-mark-5 { font-size: 18px; line-height: 28px; }
  .msm-bijles-hero .bx-value { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (min-width: 768px) {
  .msm-bijles-hero .bx-title { font-size: 4.5rem; }
}
@media (min-width: 1024px) {
  .msm-bijles-hero { align-items: center; padding-left: 32px; padding-right: 32px; }
  .msm-bijles-hero .bx-title { font-size: 6rem; }
  .msm-bijles-hero .bx-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .msm-bijles-hero .bx-metric + .bx-metric { border-left: 1px solid color-mix(in srgb, var(--m-ink, #14213d) 12%, transparent); }
}

/* Entree (alleen met JavaScript en zonder reduced motion): de module zet is-pending tot de animatie start */
.msm-bijles-hero.is-pending [data-bx-step],
.msm-bijles-hero.is-pending [data-bx-gitem] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .msm-bijles-hero .bx-grid,
  .msm-bijles-hero .bx-btn { transition: none; }
  .msm-bijles-hero.is-pending [data-bx-step],
  .msm-bijles-hero.is-pending [data-bx-gitem] { opacity: 1; }
}
