@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Lato-Regular.ttf");
}
@font-face {
  font-family: "Lato";
  font-style: bold;
  font-weight: 700;
  src: url("../fonts/Lato-Bold.ttf");
}
@font-face {
  font-family: "Lato";
  font-style: black;
  font-weight: 900;
  src: url("../fonts/Lato-Black.ttf");
}
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/Lato-Italic.ttf");
}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: Lato;
}

body {
  overflow-x: hidden;
  background-color: black;
}

.no-scroll {
  overflow: hidden;
  position: fixed;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 24px;
}

p {
  font-size: 18px;
  line-height: 33px;
}

a {
  text-decoration: none;
  color: #FFFFFF;
  font-size: 18px;
}

button {
  cursor: pointer;
}

.wrapper {
  color: #FFFFFF;
  background-size: cover;
  background-attachment: fixed;
  border: #FD8251 30px solid;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 62px 10%;
  overflow-x: hidden;
}

.bg-wrapper {
  top: 0;
  right: 0;
  width: 100vw;
  height: 107vh;
  background: url("../images/background.jpg") bottom right no-repeat;
  background-size: cover;
  position: fixed;
  z-index: -1;
}

.header {
  align-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 190px;
}
.header img {
  width: 270px;
  margin-top: 24px;
}

.main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 945px;
}

.text-block {
  width: 100%;
  max-width: 620px;
  margin: 40px 0;
}

.container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

#first-block h2 {
  font-style: italic;
  width: 74vw;
  margin: 60px 0;
}
#first-block #first-line {
  margin: 60px 0;
}

.btn {
  display: block;
  width: 262px;
  height: 52px;
  border: 2px solid #FFFFFF;
  background-color: rgba(0, 0, 0, 0);
  font-style: bold;
  font-size: 18px;
  color: #FFFFFF;
  text-decoration: none;
  text-align: center;
  padding: 13px;
  margin: 45px 0;
  transition: background-color 0.3s ease-out;
}

.btn:hover {
  color: #060709;
  background-color: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.line {
  background-color: #FFFFFF;
  width: 100px;
  height: 1px;
  margin: 24px 0;
}

.image-wrapper {
  width: 100%;
}
.image-wrapper img {
  width: 100%;
  margin: 60px 0 0 0;
}

.form-wrapper {
  width: 100% !important;
  max-width: 620px;
  height: 0;
  min-width: 200px;
  overflow: hidden;
  background: #060709;
  margin: 0;
  display: block;
}

.form-wrapper form {
  width: 100%;
}

.input {
  position: relative;
  float: left;
  width: 100%;
  margin: 0 0 5px;
}

.anzahl {
  height: 30px;
  width: 96%;
  padding: 4px;
  border: 0px;
  background-color: rgb(255, 255, 255);
}

a.flink {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  display: inline;
  transition: all 0.3s ease-out;
}

a.flink:hover {
  color: #FD8251;
}

input[type=text] {
  display: block;
  float: left;
  border: 0;
  margin-bottom: 5px;
  padding: 8px;
  width: 100%;
}

textarea {
  display: block;
  float: left;
  width: 100%;
  border: 0 none;
  padding: 4px;
  resize: none;
}

label {
  display: block;
  margin: 8px 0;
  color: #fff;
  float: left;
  width: 100%;
  text-align: left;
  font-size: 14px;
  opacity: 0.5;
}

input[type=submit] {
  display: inline-block;
  width: 100%;
  max-width: 260px;
  float: left;
  border: 0;
  background: rgba(0, 0, 0, 0);
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  margin: 20px 0;
  transition: background-color 0.3s ease-out;
}

input[type=submit]:hover {
  color: #060709;
  background-color: #FFFFFF;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.send {
  display: block;
  height: 52px;
}

.confirm {
  display: none;
  padding: 0 50px;
}

.confirm p {
  color: #fff;
  font-weight: 900;
  margin: 30px 0 0 -30px;
}

.warning {
  width: auto;
  text-align: right;
  position: absolute;
  top: 12px;
  right: 0;
  background: #FD8251;
  color: #fff;
  font-size: 13px;
  display: none;
  padding: 3px 6px;
}

.ergebnis_email {
  text-align: left;
}
.ergebnis_email h2 {
  position: relative;
  left: -10px;
}

#registration {
  width: 100%;
}

#registration-info {
  color: #FD8251;
}

#datenschutz-link-inline {
  text-decoration: underline;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 945px;
}
.footer #logo-footer {
  max-width: 270px;
  width: 100%;
  padding: 40px 0;
}

.notice {
  float: left;
  padding: 0 !important;
  color: #FFFFFF;
  margin-top: 30px;
  text-align: left;
}

.notice a {
  color: #FFFFFF;
  text-decoration: underline;
  transform: all 0.3s;
}

.notice a:hover {
  color: #FFFFFF;
  text-decoration: none;
}

.overlay {
  position: absolute;
  padding: 15px 50px 50px 50px;
  box-sizing: border-box;
  left: 15%;
  top: 5%;
  margin-bottom: 5%;
  width: 70%;
  height: 90%;
  background: rgb(255, 255, 255);
  color: black;
  z-index: 100;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.overlay .close-button {
  position: absolute;
  right: 20px;
  cursor: pointer;
  z-index: 200;
}

.overlay .close-button:hover .stroke-color {
  stroke: #a4d18c;
}

#impressum, #datenschutz {
  display: none;
}

.overlay-wrapper {
  width: 100%;
  height: 100%;
  padding: 0 20px;
  overflow-x: hidden;
  color: #4d4d4d;
}
.overlay-wrapper h1 {
  font-size: 39px;
  font-weight: normal;
  letter-spacing: 13px;
  font-weight: bold;
}
.overlay-wrapper h1, .overlay-wrapper h2 {
  text-transform: uppercase;
  text-align: center;
}
.overlay-wrapper h2 {
  background-color: #FD8251;
  padding: 2px;
  margin: 8px auto;
}
.overlay-wrapper h3 {
  margin: 20px 0;
  font-weight: bold;
}
.overlay-wrapper p {
  font-size: 13px;
  line-height: 1.5em;
  margin: 13px 0;
}

/* body#impressum, body#datenschutz {
  overflow: hidden;
} */
@media only screen and (min-width: 1180px) {
  .overlay {
    left: 5%;
    width: 90%;
  }
}
@media only screen and (min-width: 769px) {
  #scroll-btn {
    display: none;
  }
}
@media only screen and (max-width: 768px) {
  h1 {
    font-size: 41px;
  }
  h2 {
    font-size: 20px;
  }
  p {
    font-size: 18px;
  }
  .btn {
    max-width: 222px;
    width: 100%;
  }
  #wrapper {
    width: 100vw;
    background-size: unset;
    background-position: 85% 0%;
    background-size: cover;
    border: #FD8251 15px solid;
  }
  .registration {
    width: 100%;
  }
  .confirm {
    display: none;
    padding: 0 5px;
    margin: 0;
  }
  .confirm p {
    color: #fff;
    font-weight: 900;
    margin: 10px 0 0 -10px;
  }
  .ergebnis_email {
    width: 100%;
  }
  .ergebnis_email h2, .ergebnis_email p {
    width: 100%;
  }
  .notice {
    font-size: 16px;
    line-height: 1.4;
    margin-top: 0;
  }
  .notice .datenschutz-link {
    font-size: 16px;
  }
  .overlay {
    padding: 15px 5% 20px 5%;
    left: 2%;
    width: 96%;
  }
  .overlay .close-button {
    right: 10px;
  }
}
