.h1-textmodul-wrapper:has(> div[class*="bg-grey"]) {
  padding: 0;
  max-width: unset;
}

.h1-textmodul.block {
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;

  &[class*='bg-grey'] {
    padding: 0 var(--spacing-m);

    > div {
      max-width: var(--width-xlarge);
      margin-left: auto;
      margin-right: auto;
    }
  }

  > div > div:first-child {
    margin-top: 2px;
    margin-bottom: 26px;
  }

  > div > div:nth-child(2) div {
    margin-bottom: var(--spacing-small);

    > p,
    > ul,
    > ol {
      font-size: var(--body-font-size-m);
      line-height: var(--body-line-height-m);
    }
  }

  .button.button--download {
    display: inline-block;
    max-width: 100%;
    text-align: left;

    &::before {
      bottom: -1px;
    }
  }
}

@media (width >= 768px) {
  .h1-textmodul.block {
    > div > div:nth-child(2) div {
      > p,
      > ul,
      > ol {
        letter-spacing: var(--text-letter-spacing-1px);
        font-size: var(--body-font-size-l);
        line-height: var(--body-line-height-l);
      }
    }
  }
}



@media (width >= 1400px) {
  .h1-textmodul.block {
    > div > div:nth-child(2) div {
      > p,
      > ul,
      > ol {
        font-size: var(--body-font-size-xl);
        line-height: var(--body-line-height-xl);
      }
    }
  }
}
