.schulung-wrap {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.schulung-section {
  padding: 80px 0;
}

.schulung-h1 {
  max-width: 820px;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.schulung-h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
}

.schulung-lead,
.schulung-intro {
  font-size: 18px;
  line-height: 28px;
}

.schulung-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  margin-bottom: 40px;
}

.schulung-icon {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-blue-200);
  color: var(--brand-blue-600);

  svg {
    stroke-width: 1.6;
  }
}

.schulung .landing__button svg {
  stroke-width: 1.7;
}

.schulung .schulung-button-outline {
  border: 1px solid var(--brand-blue-300);
  background: #fff;
  color: var(--brand-blue-600);

  &:hover {
    background: var(--brand-blue-200);
  }
}

/* Hero */

.schulung-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #fff 0%,
    #fff 35%,
    var(--brand-blue-200) 75%,
    var(--brand-blue-200) 100%
  );

  &::before,
  &::after {
    content: '';
    position: absolute;
  }

  &::before {
    top: 260px;
    right: -320px;
    width: 900px;
    height: 640px;
    border-radius: 46% 54% 38% 62%;
    background: var(--brand-blue-300);
    filter: blur(140px);
    opacity: 0.9;
  }

  &::after {
    top: 520px;
    left: -380px;
    width: 620px;
    height: 460px;
    border-radius: 58% 42% 55% 45%;
    background: var(--brand-blue-600);
    filter: blur(160px);
    opacity: 0.35;
  }
}

.schulung-hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 56px;
  text-align: center;

  .schulung-lead {
    max-width: 680px;
  }
}

.schulung-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.schulung-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1072px;
  margin: 48px auto 0;
  padding: clamp(16px, 4.5vw, 48px) clamp(8px, 3vw, 36px) clamp(8px, 2vw, 16px);

  &::before {
    content: '';
    position: absolute;
    inset: 2% 1% 10%;
    border-radius: 48px;
    background:
      radial-gradient(
        ellipse at 30% 40%,
        var(--brand-blue-600) 0%,
        rgb(35 66 204 / 55%) 45%,
        rgb(192 204 255 / 0%) 75%
      ),
      radial-gradient(
        ellipse at 75% 65%,
        #7c8cf8 0%,
        rgb(124 140 248 / 40%) 40%,
        rgb(192 204 255 / 0%) 75%
      );
    filter: blur(48px);
    opacity: 0.75;
  }

  figcaption {
    position: relative;
    margin-top: 28px;
    color: #4a4960;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }
}

.schulung-showcase-video {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 20px 50px 0 rgb(33 0 113 / 18%),
    0 2px 8px 0 rgb(0 0 0 / 8%);
}

.schulung video {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.schulung-play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(12 12 33 / 35%);

  &[hidden] {
    display: none;
  }

  &[data-ended] .schulung-play-start,
  &:not([data-ended]) .schulung-play-again {
    display: none;
  }

  button {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--brand-blue-800);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    cursor: pointer;
    box-shadow: 0 8px 24px 0 rgb(0 0 0 / 18%);
  }

  span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  svg {
    stroke-width: 1.8;
  }
}

.schulung-pause {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(12 12 33 / 60%);
  color: #fff;
  cursor: pointer;

  &[hidden] {
    display: none;
  }

  &:hover {
    background: rgb(12 12 33 / 80%);
  }

  &:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 0;
    box-shadow: 0 0 0 4px var(--brand-blue-800);
  }

  svg {
    stroke-width: 2.2;
  }
}

.schulung-hero .landing-trust {
  padding: 56px 0 72px;
}

.schulung .landing-trust__logos img {
  width: auto;
  object-fit: contain;
}

.schulung .landing-trust__logos li:nth-child(1) img {
  height: 58px;
}

.schulung .landing-trust__logos li:nth-child(2) img {
  height: 44px;
}

.schulung .landing-trust__logos li:nth-child(3) img {
  height: 30px;
}

.schulung .landing-trust__logos li:nth-child(4) img,
.schulung .landing-trust__logos li:nth-child(5) img {
  height: 50px;
}

/* In drei Schritten */

.schulung-steps-section {
  background: linear-gradient(180deg, var(--brand-blue-200) 0, #fff 120px, #fff 100%);
}

.schulung-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.schulung-step {
  display: flex;
  flex: 1 1 300px;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 28px;
  border: 1px solid #e4e7f7;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--flow-shadow-100);
}

.schulung-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-blue-600);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
}

.schulung-step-title {
  font-size: 22px;
  line-height: 28px;
}

.schulung-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;

  li {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--brand-blue-200);
    color: var(--brand-blue-600);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
  }
}

.schulung-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;

  p {
    color: #5b5a68;
    font-size: 15px;
    line-height: 24px;
  }
}

/* Für Ihre Rehabilitanden */

.schulung-section-navy {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background: var(--brand-blue-800);
  color: #fff;

  &::before {
    content: '';
    position: absolute;
    top: 80px;
    left: -200px;
    width: 700px;
    height: 600px;
    border-radius: 50%;
    background: var(--brand-blue-600);
    filter: blur(160px);
    opacity: 0.55;
  }

  h2,
  h3 {
    color: #fff;
  }

  .landing__eyebrow {
    color: var(--brand-blue-300);
  }

  .schulung-intro,
  p {
    color: #e3e8ff;
  }

  .schulung-heading {
    margin-bottom: 0;
  }

  .schulung-icon {
    background: rgb(255 255 255 / 10%);
    color: #fff;
  }

  a:focus-visible {
    outline-color: #fff;
  }
}

.schulung-patient-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
}

.schulung-phone {
  display: flex;
  flex: 0 1 340px;
  justify-content: center;
  min-width: 0;
}

.schulung-phone-frame {
  width: 300px;
  max-width: 100%;
  padding: 10px;
  border-radius: 46px;
  background: var(--grey-900);
  box-shadow:
    0 30px 80px 0 rgb(0 0 0 / 35%),
    0 0 0 1px rgb(255 255 255 / 10%);
}

.schulung-phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background: #f5f5f5;

  &::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 50%;
    z-index: 2;
    width: 84px;
    height: 22px;
    margin-left: -42px;
    border-radius: 12px;
    background: var(--grey-900);
  }

  video {
    background: #f5f5f5;
  }

  .schulung-play span {
    gap: 8px;
  }

  .schulung-play button {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 15px;
  }
}

.schulung-phone-statusbar {
  height: 40px;
}

.schulung-patient-text {
  display: flex;
  flex: 1 1 420px;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.schulung-patient-benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;

  li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }

  div {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
}

.schulung-benefit-title {
  font-size: 20px;
  line-height: 26px;
}

.schulung .schulung-button-navy {
  align-self: flex-start;
  color: var(--brand-blue-800);
}

/* Vorteile */

.schulung-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 32px;

  li {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .schulung-benefit-title {
    display: flex;
    align-items: center;
    gap: 12px;
  }
}

/* Kontakt */

.schulung-contact-section {
  padding: 24px 0 88px;
  background: linear-gradient(180deg, #fff 0%, var(--brand-blue-200) 45%, var(--grey-100) 100%);
}

.schulung-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(24px, 5vw, 48px);
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 2px 3px 0 rgb(0 0 0 / 3%),
    0 8px 24px 0 rgb(35 66 204 / 6%);
}

.schulung-contact-text {
  display: flex;
  flex: 1 1 420px;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.schulung-contact-title {
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1.15;
}

.schulung-checklist {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
  font-size: 15px;
  line-height: 24px;

  li {
    display: flex;
    align-items: center;
    gap: 10px;

    &::before {
      content: '';
      flex: 0 0 18px;
      height: 18px;
      background: url('../images/irena-check.svg') no-repeat center / contain;
    }
  }
}

.schulung-contact-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 12px;
}

.schulung .schulung-button-large {
  min-height: 48px;
  padding: 12px 24px;
  font-size: 16px;
}
