/* stomerij-hero 1.0.0 · block-port van ReactBitsPro Blocks/hero-29 (lichttrechter) met de FoldText-kop.
   Lettertypen komen uit assets/fonts.css (door de site geladen); hier alleen de --m-font-*-tokens. */
.msm-stomerij-hero {
  --sh-copy: color-mix(in srgb, var(--m-muted, #63767b) 72%, var(--m-ink, #1a3339));
  --sh-leak: color-mix(in srgb, var(--m-primary, #d85f3b) 70%, var(--m-ink, #1a3339));
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  min-height: calc(100vh - 101px);
  min-height: calc(100svh - 101px);
  overflow: hidden;
  padding: 24px 16px 40px;
  background: var(--m-bg, #eef3f1);
  color: var(--m-ink, #1a3339);
  font-family: var(--m-font-body, 'Source Sans 3', ui-sans-serif, system-ui, sans-serif);
  scroll-margin-top: 112px;
}
.msm-stomerij-hero *,
.msm-stomerij-hero *::before,
.msm-stomerij-hero *::after { box-sizing: border-box; }

/* Terugval zonder WebGL of zonder script: de voorruimte van de stomerij. */
.msm-stomerij-hero .sh-fallback {
  position: absolute;
  z-index: 0;
  top: 24px;
  left: 16px;
  right: 16px;
  height: min(19rem, 76vw);
  overflow: hidden;
  border-radius: 20px;
  background: color-mix(in srgb, var(--m-line, #d3dfdb) 60%, transparent);
}
.msm-stomerij-hero .sh-fallback img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}
.msm-stomerij-hero.sh-gl .sh-fallback { display: none; }

.msm-stomerij-hero .sh-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.msm-stomerij-hero .sh-band { flex-shrink: 0; height: min(19rem, 76vw); }
.msm-stomerij-hero .sh-copy { position: relative; z-index: 1; max-width: 26rem; margin-top: 28px; }

.msm-stomerij-hero .sh-kicker {
  margin: 0 0 16px;
  color: var(--m-accent2, #244a55);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.msm-stomerij-hero .sh-title {
  margin: 0;
  color: var(--m-ink, #1a3339);
  font-family: var(--m-font-display, 'Instrument Sans', ui-sans-serif, system-ui, sans-serif);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: pretty;
}
.msm-stomerij-hero .sh-intro {
  max-width: 36ch;
  margin: 20px 0 0;
  color: var(--sh-copy);
  font-size: 16px;
  line-height: 1.625;
  text-wrap: pretty;
}

.msm-stomerij-hero .sh-actions {
  position: relative;
  z-index: 1;
  order: 1;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 32px;
}
.msm-stomerij-hero .sh-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--m-ink, #1a3339);
  color: var(--m-surface, #f8fbfa);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
}
.msm-stomerij-hero .sh-cta:hover { background: color-mix(in srgb, var(--m-ink, #1a3339) 86%, var(--m-surface, #f8fbfa)); }
.msm-stomerij-hero .sh-cta:focus-visible { outline: 2px solid var(--m-ink, #1a3339); outline-offset: 2px; }
.msm-stomerij-hero .sh-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  border-radius: 999px;
  color: var(--sh-copy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.msm-stomerij-hero .sh-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}
.msm-stomerij-hero .sh-link:hover { color: var(--m-ink, #1a3339); }
.msm-stomerij-hero .sh-link:hover svg { transform: translateX(2px); }
.msm-stomerij-hero .sh-link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Vier stappen: onder lg een lijst, vanaf lg met WebGL op de rand van de trechter. */
.msm-stomerij-hero .sh-steps {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.msm-stomerij-hero .sh-li { margin: 0; padding: 0; }
.msm-stomerij-hero .sh-step {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 6px 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.msm-stomerij-hero .sh-step:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.msm-stomerij-hero .sh-rail {
  display: none;
  flex: 1;
  height: 1px;
  margin-right: 16px;
  background: color-mix(in srgb, var(--m-ink, #1a3339) 15%, transparent);
  transition: background-color 0.5s;
}
.msm-stomerij-hero .sh-text { display: flex; flex-direction: column; width: 100%; }
.msm-stomerij-hero .sh-name {
  color: var(--sh-copy);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  transition: color 0.3s;
}
.msm-stomerij-hero .sh-line {
  margin-top: 2px;
  color: var(--sh-copy);
  font-size: 12.5px;
  line-height: 1.4;
  text-wrap: pretty;
  transition: color 0.3s;
}
.msm-stomerij-hero .sh-step.is-active .sh-name { color: var(--m-ink, #1a3339); }
.msm-stomerij-hero .sh-step.is-active .sh-line { color: var(--sh-leak); }
.msm-stomerij-hero .sh-step.is-active .sh-rail { background: var(--m-primary, #d85f3b); }

/* FoldText (ReactBits, MIT + Commons Clause): originele CSS, gescoped. */
.msm-stomerij-hero .fold-text-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  user-select: none;
}
.msm-stomerij-hero .fold-text-visual { display: inline; }
.msm-stomerij-hero .fold-text-word { display: inline-block; white-space: nowrap; }
.msm-stomerij-hero .fold-text-segment {
  display: inline-block;
  vertical-align: baseline;
  perspective: var(--fold-perspective, 700px);
}
.msm-stomerij-hero .fold-text-piece {
  --fold-shade: linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.22) 42%, rgba(255, 255, 255, 0.26) 100%);
  position: relative;
  display: inline-block;
  backface-visibility: hidden;
  transform-origin: 50% 0%;
}
.msm-stomerij-hero .fold-text-piece::after {
  content: attr(data-fold-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: var(--fold-shade);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: var(--fold-crease, 0);
}

@media (min-width: 640px) {
  .msm-stomerij-hero { padding-left: 24px; padding-right: 24px; }
  .msm-stomerij-hero .sh-fallback { left: 24px; right: 24px; }
  .msm-stomerij-hero .sh-title { font-size: 3rem; }
}
@media (min-width: 768px) {
  .msm-stomerij-hero { min-height: calc(100vh - 65px); min-height: calc(100svh - 65px); }
}
@media (min-width: 1024px) {
  .msm-stomerij-hero { padding: 96px 32px 48px; }
  .msm-stomerij-hero .sh-band { display: none; }
  .msm-stomerij-hero .sh-copy { margin-top: 0; }
  .msm-stomerij-hero .sh-actions { margin-top: auto; padding-top: 32px; }
  .msm-stomerij-hero .sh-steps { max-width: 30rem; }
  .msm-stomerij-hero .sh-fallback {
    top: 96px;
    bottom: 48px;
    left: 50%;
    right: max(32px, calc((100% - 1400px) / 2));
    height: auto;
    border-radius: 24px;
  }
  .msm-stomerij-hero .sh-fallback img { object-position: 80% 50%; }
  .msm-stomerij-hero.sh-gl .sh-steps {
    position: absolute;
    inset: 0;
    z-index: 1;
    max-width: none;
    margin: 0;
    pointer-events: none;
  }
  .msm-stomerij-hero.sh-gl .sh-step {
    position: absolute;
    width: auto;
    padding: 4px 0;
    transform: translateY(-50%);
    pointer-events: auto;
  }
  .msm-stomerij-hero.sh-gl .sh-rail { display: block; }
  .msm-stomerij-hero.sh-gl .sh-text { flex-shrink: 0; width: 16rem; }
}
@media (min-width: 1280px) {
  .msm-stomerij-hero .sh-copy { max-width: 30rem; }
  .msm-stomerij-hero .sh-title { font-size: 3.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .msm-stomerij-hero .sh-cta,
  .msm-stomerij-hero .sh-link,
  .msm-stomerij-hero .sh-link svg,
  .msm-stomerij-hero .sh-rail,
  .msm-stomerij-hero .sh-name,
  .msm-stomerij-hero .sh-line { transition: none; }
  .msm-stomerij-hero .sh-link:hover svg { transform: none; }
  .msm-stomerij-hero .fold-text-piece { transform: none !important; }
  .msm-stomerij-hero .fold-text-piece::after { opacity: 0 !important; }
}
