html {
  height: 100%;
}
body {
  margin: 0;
  min-height: 100%;
  background-color: #fff;
  font-size: 14px;
  line-height: 20px;
  color: #333;
  font-family: 'Open Sans', sans-serif;
}
img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

a {
  color: #000;
  text-decoration: underline;
}

.section {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  max-width: 1100px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 30px;
  padding-right: 20px;
  padding-left: 20px;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

.section.center {
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

/* Stil fÃ¼r das Modal */
.modal {
	display: none; /* Modal standardmÃ¤ÃŸig ausblenden */
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
	z-index: 100;
	
}

.modal-content {
	width: 90%; /* Feste Breite von 600px */
	max-width: 1200px; /* Maximal 100% der Viewport-Breite */
	height: 90%; /* 80% der Viewport-HÃ¶he */
	background-color: white;
	padding: 20px;
	border: 1px solid #ccc;
	position: relative;
	overflow: auto; /* Damit der Inhalt scrollbar wird */
	
}

.close-button {
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
}

.matoki {
  min-height: 500px;
  padding: 20px;
  -webkit-align-self: flex-start;
  -ms-flex-item-align: start;
  align-self: flex-start;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  border-radius: 0px 0px 20px 20px;
  background-color: #fff;
}

.footer {
  position: relative;
  left: 0%;
  top: auto;
  right: 0%;
  bottom: 0%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 15px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  border-top: 2px solid #616161;
  background-color: #fff;
  font-size: 13px;
  line-height: 18px;
}

.content {
  padding-bottom: 40px;
  background-image: url('../images/background.png');
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.footer-text {
  padding-top: 3px;
  padding-bottom: 3px;
  font-size: 12px;
  line-height: 17px;
  text-align: left;
}

.hero-2-desktop {
  position: -webkit-sticky;
  position: sticky;
  top: 40px;
  min-width: 250px;
  -webkit-align-self: flex-start;
  -ms-flex-item-align: start;
  align-self: flex-start;
}

.hero-2-mobile {
  display: none;
}

.form {
  width: 100%;
  max-width: 650px;
}

.form-header {
  padding: 18px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background-color: #ececec;
}

.form-headline {
  color: #2c2c2c;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}



@media screen and (max-width: 991px) {
  .section {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .section.center {
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }

  .footer {
    position: relative;
    left: 0%;
    top: auto;
    right: 0%;
    bottom: 0%;
  }

  .hero-2-desktop {
    display: none;
  }

  .hero-1 {
    position: relative;
    z-index: 0;
    display: block;
    width: 75%;
  }

  .hero-2-mobile {
    position: absolute;
    left: auto;
    top: 80px;
    right: 10px;
    bottom: auto;
    z-index: 0;
    display: block;
    width: 26vw;
  }

  .form {
    width: 85%;
    max-width: none;
  }
}

@media screen and (max-width: 767px) {
  .section {
    padding-top: 10px;
  }
  .hero-2-mobile {
    top: 30px;
    right: 2px;
  }

  .form {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .section {
    padding-right: 10px;
    padding-left: 10px;
  }
  
    .form-headline {
        font-size: 20px;
    }  
 
  .footer {
    flex-wrap: wrap;
    grid-row-gap: 10px;
  }    

  .footer-text {
    font-size: 11px;
    text-align: center;
  }
  
  .form-headline {
    font-size: 16px;
  }

}