.newsletter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 1.625rem;
  /* design maße ca. 1440 x 600 -> aspect-ration: 12 / 5 */
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url('/themes/therme/assets/footer.svg');

  @media (max-width: 650px) {
    background-position-x: center;
    padding: 4rem 0 5rem;
  }

  @media (min-width: 1025px) {
    aspect-ratio: 12 / 5;
  }

  @media (min-width: 1400px) {
    aspect-ratio: 3 / 1;
  }

}

.newsletter__wrapper {
  text-align: center;
  padding: 0 var(--xs-gap);
}

.newsletter__headline {
  font-size: 2rem;
  line-height: 2.5rem;
  max-width: 21.25rem;
  margin: 0 auto;
  
  @media (min-width: 651px) {
    font-size: 2.5rem;
    line-height: 3rem;
    max-width: 26rem;
  }

  @media (min-width: 1025px) {
    font-size: 3rem;
    line-height: 3.5rem;
    max-width: 43.75rem;
  }
}

.newsletter__subline {
  font-size: 1rem;
  margin-top: .75rem;
}

.newsletter__form-wrapper {
  display: flex;
  gap: .625rem 0;
  flex-direction: column;
  max-width: 32.5rem;
  margin: 2rem auto 0;
  
  @media (min-width: 651px) {
    display: grid;
    gap: 0 1rem;
    grid-template-columns: 1fr max-content;
    margin: 2.5rem auto 0;
  }
}

.newsletter__email {
  border-radius: .5rem;
  border: 1px solid var(--ocean-medium);

  @media (max-width: 650px) {
    height: 2.75rem;
  }
}

@media (max-width: 650px) {
  .newsletter__submit-wrapper > button {
    width: 100%;
    justify-content: center;
  }
}

.newsletter__checkbox {
  grid-column: span 2;
  line-height: 1.3;
  margin-top: .625rem;
}

.newsletter__label {
  font-size: .875rem;
}
