.homepage-header {
  background-color: rgba(255, 255, 255);
  box-shadow: 0 20px 10px -20px rgba(0, 0, 0, 0.45) inset;
}

.main-header-homepage-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #c4ebfd;
  margin: 0 auto;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.07),
    0 4px 8px rgba(0, 0, 0, 0.07), 0 8px 16px rgba(0, 0, 0, 0.07),
    0 16px 32px rgba(0, 0, 0, 0.07), 0 32px 64px rgba(0, 0, 0, 0.07);
}

.main-header-homepage-picture {
  background-image: url('../images/iStock-1316202241.webp'); /* angepasst */
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.07),
    0 4px 8px rgba(0, 0, 0, 0.07), 0 8px 16px rgba(0, 0, 0, 0.07),
    0 16px 32px rgba(0, 0, 0, 0.07), 0 32px 64px rgba(0, 0, 0, 0.07);
}
.main-homepage-header-display {
  background-color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Dies richtet den Inhalt des Containers linksbündig aus */
  text-align: center;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.07),
    0 4px 8px rgba(0, 0, 0, 0.07), 0 8px 16px rgba(0, 0, 0, 0.07),
    0 16px 32px rgba(0, 0, 0, 0.07), 0 32px 64px rgba(0, 0, 0, 0.07);
}

.homepage-button {
  align-items: center;
  background-color: #17628a;
  border: 0;
  border-radius: 0.625rem;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: large;
  justify-content: center;
  line-height: 1.25rem;
  max-width: 30rem;
  min-height: 2.5rem;
  min-width: 0px;
  overflow: hidden;
  padding: 0px 1.25rem;
  font-family: 'Noto Serif', sans-serif;
  text-align: center;
  touch-action: manipulation;
  transition: background-color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s,
    box-shadow 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s,
    color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s;
  user-select: none;
  -webkit-user-select: none;
}

.main-homepage-card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.07),
    0 4px 8px rgba(0, 0, 0, 0.07), 0 8px 16px rgba(0, 0, 0, 0.07),
    0 16px 32px rgba(0, 0, 0, 0.07), 0 32px 64px rgba(0, 0, 0, 0.07);
}

.homepage-card {
  text-align: center;
  border-radius: 1rem;
  display: flex;
  align-items: center;
}

.card-elements {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 1rem;
}

.card-text {
  text-align: center;
  width: 80%;
}

.card-elements img {
  border-radius: 1rem;
}

.homepage-instruction-header {
  text-align: center;
  font-weight: normal;
}

.homepage-instruction-subheader {
  text-align: center;
}

.homepage-instruction {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps img {
  border-radius: 0.3rem;
}

.steps-text {
  text-align: left;
}

.unsere-partner-liste {
  display: none;
  align-items: center;
  justify-content: center;
  border-bottom: 0.1rem solid black;
  border-top: 0.1rem solid black;
  margin: 100px 0 100px 0;
}

/* Handys (Smartphones) */
@media only screen and (max-width: 767px) {
  /* .homepage-header {
          margin-top: 30px;
      } */

  .main-header-homepage-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25% 0 20% 0;
    border-radius: 0;
  }

  .main-header-homepage-picture {
    display: none;
  }
  .main-homepage-header-display {
    height: 200px;
    width: 300px;
  }

  .homepage-button {
    max-width: 200px;
    font-size: 1rem;
  }

  .main-homepage-header-button {
    margin-top: 1.25rem;
    width: 100%;
  }

  .main-homepage-header-text p,
  h4 {
    text-align: center;
    margin-left: 5%;
    width: 90%;
    font-size: 16px;
  }

  .main-homepage-card-container {
    margin: 4% 3%;
    gap: 0;
  }

  .homepage-card {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 400px;
    height: 400px;
  }

  .card-text {
    padding: 0 50px;
    font-size: 16px;
  }

  .card-elements img {
    border-radius: 1rem;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
  }

  .homepage-instruction-header {
    text-align: center;
    font-size: 16px;
  }

  .homepage-instruction-subheader {
    margin-top: 50px;
    text-align: center;
    font-size: 16px;
  }

  .homepage-instruction {
    margin: 0 5%;
  }

  .homepage-instruction h3,
  p {
    text-align: center;
    margin: 1rem;
    font-size: 16px;
  }

  .steps {
    max-width: 600px;
    margin-top: 1%;
    border: 0.1rem solid grey;
    border-radius: 0.5rem;
  }

  .steps img {
    width: 150px;
    height: 98px;
    margin-left: 1%;
  }
}

/* Tablets und Laptops */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .homepage-header {
    margin: 2rem 0;
  }

  .main-header-homepage-cover {
    width: 100%;
    gap: 2rem;
    padding: 1rem 0;
  }

  .main-header-homepage-picture {
    height: 17rem;
    width: 30rem;
    margin-left: 1rem;
  }
  .main-homepage-header-display {
    width: 40%;
    height: 17rem;
    padding: 0 2vw;
    margin-right: 2%;
    font-size: 1rem;
  }

  .main-homepage-header-text {
    font-size: 1.275rem;
  }

  .main-homepage-header-button {
    margin-top: 4%;
    width: 100%;
    padding: 0.375rem;
  }

  .homepage-instruction-subheader {
    margin: 0 5rem 1rem 5rem;
    font-size: 1.75rem;
  }

  .homepage-instruction-header {
    font-size: 2rem;
  }

  .steps {
    margin-top: 2.5%;
    gap: 1.875rem;
    max-width: 50rem;
  }

  .steps-text p {
    font-size: 1.275rem;
  }

  .steps-text h3 {
    font-size: 1.5rem;
  }

  .main-homepage-card-container {
    gap: 3.125rem;
    width: 90%;
    margin: 5% 5%;
  }

  .homepage-card {
    width: 80%;
    height: 18.75rem;
  }

  .card-text {
    padding: 0 3.125rem;
  }

  .card-text h3 {
    font-size: 1.5rem;
  }

  .card-text p {
    font-size: 1.275rem;
  }

  .card-elements img {
    border-radius: 1rem;
    width: 9.375rem;
    height: 9.375rem;
    margin-bottom: 0.9375rem;
  }
}

/* Desktops */
@media only screen and (min-width: 1025px) {
  .homepage-header {
    padding: 2rem 0;
  }

  .main-header-homepage-cover {
    width: 100%;
    padding: 2rem 0;
    gap: 4rem;
  }

  .main-header-homepage-picture {
    height: 22rem;
    width: 30rem;
  }

  .main-homepage-header-display {
    width: 28rem;
    height: 22rem;
  }

  .main-homepage-header-text {
    font-size: 1.275rem;
  }

  .main-homepage-header-text h4 {
    font-size: 1.5rem;
  }

  .main-homepage-header-button {
    margin-top: 1.25rem;
    width: 100%;
  }

  .main-homepage-card-container {
    gap: 3.125rem;
    margin: 4% 12%;
  }

  .homepage-card {
    width: 45rem;
    height: 18.75rem;
  }

  .card-text {
    padding: 0 3rem;
  }

  .card-elements img {
    border-radius: 1rem;
    width: 9.375rem;
    height: 9.375rem;
    margin-bottom: 0.9375rem;
  }

  .homepage-instruction-subheader {
    font-size: 1.5rem;
  }

  .steps {
    margin-top: 2.5%;
    gap: 1.875rem;
    max-width: 50rem;
  }
}
