/*
  Momentbleib · Steps Block 65
  Ruhiger Split-Flow auf Basis von Version 43:
  - Plum-Bereich bewusst etwas schmaler
  - Inhalt im Plum-Bereich näher an die linke Fläche und sauber gebündelt
  - Subheadline linksbündig direkt unter der Headline
  - rechte Seite nutzt die gewonnene Breite wirklich aus
  - keine künstlichen Text-Maxbreiten in den Schritten
  - Schrittgruppe vertikal im Block zentriert
*/

.mb-block-type-steps.steps {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 4.1vw, 60px) 0;
  isolation: isolate;
}

.mb-block-type-steps.steps::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: clamp(520px, 34vw, 680px);
  background: linear-gradient(180deg, var(--deep-plum) 0%, var(--plum) 100%);
  border-top-right-radius: clamp(32px, 3vw, 46px);
  border-bottom-right-radius: clamp(32px, 3vw, 46px);
  z-index: 0;
}

.mb-block-type-steps .steps-layout {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: clamp(520px, 34vw, 680px) minmax(0, 1fr);
  gap: 0;
  align-items: center;
}

.mb-block-type-steps .steps-heading {
  width: 100%;
  min-width: 0;
  min-height: clamp(240px, 18vw, 285px);
  margin: 0;
  padding: 0 clamp(48px, 4vw, 76px) 0 clamp(72px, 6vw, 114px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(18px, 1.6vw, 24px);
}

.mb-block-type-steps .steps-heading-copy {
  width: 100%;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mb-block-type-steps .steps-heading .eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  text-align: left;
}

.mb-block-type-steps .steps-heading h2 {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--white);
  font-size: var(--section-title-size);
  line-height: var(--section-title-line);
  letter-spacing: var(--section-title-track);
  text-align: left;
}

.mb-block-type-steps .steps-intro {
  width: 100%;
  max-width: 30ch;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 1rem;
  line-height: 1.55;
  text-align: left;
}

.mb-block-type-steps .steps-grid {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 clamp(52px, 4vw, 86px) 0 clamp(48px, 3.6vw, 72px);
  box-sizing: border-box;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 2.8vw, 56px);
  align-items: start;
  align-self: center;
}

.mb-block-type-steps .step-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
}

.mb-block-type-steps .step-card::after {
  content: none;
}

.mb-block-type-steps .step-number {
  width: 54px;
  height: 54px;
  min-width: 54px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border-radius: 18px;
  background: var(--plum);
  color: var(--white);
  font-size: 1.22rem;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(92, 75, 120, .15);
}

.mb-block-type-steps .step-card:nth-child(2) .step-number {
  background: var(--terracotta-accessible);
  box-shadow: 0 12px 24px rgba(178, 79, 50, .14);
}

.mb-block-type-steps .step-card:nth-child(3) .step-number {
  background: var(--plum);
  box-shadow: 0 12px 24px rgba(92, 75, 120, .15);
}

.mb-block-type-steps .step-card-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 2px;
}

.mb-block-type-steps .step-card h3 {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--night);
  font-size: clamp(1.18rem, 1.5vw, 1.32rem);
  line-height: 1.16;
}

.mb-block-type-steps .step-card p {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .mb-block-type-steps.steps {
    padding: 42px 0 54px;
  }

  .mb-block-type-steps.steps::before {
    width: clamp(390px, 36vw, 430px);
  }

  .mb-block-type-steps .steps-layout {
    grid-template-columns: clamp(390px, 36vw, 430px) minmax(0, 1fr);
  }

  .mb-block-type-steps .steps-heading {
    min-height: 220px;
    padding-left: clamp(54px, 5vw, 72px);
    padding-right: 34px;
  }

  .mb-block-type-steps .steps-grid {
    padding-left: 30px;
    padding-right: 34px;
    gap: 22px;
  }

  .mb-block-type-steps .step-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
  }

  .mb-block-type-steps .step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 15px;
    font-size: 1.1rem;
  }

  .mb-block-type-steps .step-card h3 {
    font-size: 1.08rem;
  }

  .mb-block-type-steps .step-card p {
    font-size: .94rem;
  }
}

@media (max-width: 920px) {
  .mb-block-type-steps.steps {
    min-height: calc(100svh - 70px);
    padding: 0;
    display: grid;
    align-items: start;
  }

  .mb-block-type-steps.steps::before {
    width: 100%;
    height: 246px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .mb-block-type-steps .steps-layout {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
  }

  .mb-block-type-steps .steps-heading {
    width: min(calc(100% - 32px), 560px);
    min-height: 246px;
    margin: 0 auto;
    padding: 24px 8px;
    box-sizing: border-box;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
  }

  .mb-block-type-steps .steps-heading-copy,
  .mb-block-type-steps .steps-heading h2,
  .mb-block-type-steps .steps-intro {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .mb-block-type-steps .steps-grid {
    width: min(calc(100% - 48px), 520px);
    min-height: calc(100svh - 70px - 246px);
    margin: 0 auto;
    padding: 28px 0 32px;
    box-sizing: border-box;
    grid-template-columns: 1fr;
    gap: 28px;
    align-content: center;
    align-items: stretch;
  }

  .mb-block-type-steps .step-card {
    width: 100%;
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .mb-block-type-steps .step-number {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    margin: 0;
    align-self: center;
    border-radius: 16px;
    font-size: 1.08rem;
  }

  .mb-block-type-steps .step-card-copy {
    min-width: 0;
    align-self: center;
    gap: 6px;
    padding: 0;
  }

  .mb-block-type-steps .step-card h3 {
    width: auto;
    max-width: none;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.24;
  }

  .mb-block-type-steps .step-card p {
    width: auto;
    max-width: none;
    margin: 0;
    font-size: .95rem;
    line-height: 1.5;
  }
}
