/* ==== CSS Reset ==== */

* {
  margin: 0px;
  padding: 0px;
  color: black;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  scroll-behavior: smooth;
  box-sizing: border-box;
  hyphens: none;
}

body {
  width: 100%;
  font-size: 18px;
  height: 100%;
}


/* ==== Schriften ==== */

h1 {
  font-size: 2.25em;
  color: #00a6d6;
  font-weight: bold;
  line-height: 0.8em;
}

h2 {
  color: white;
  text-align: center;
  font-size: 2em;
}

h3 {
  text-align: center;
  font-size: 1.8em;
  font-weight: normal;
  margin-bottom: 30px;
}

strong {
  font-weight: bold;
  font-size: 1.25em;
}

p {
  margin-top: 30px;
}

a:hover {
  font-weight: bold;
}


/* ==== Navigation ==== */

#nav {
  height: 100px;
  background-color: white;
  width: 100%;
  box-shadow: 0px 0px 15px 0px rgba(117, 117, 117, 0.75);
  top: 0;
  position: fixed;
  z-index: 999;
  padding: 0px 40px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

#nav h1 {
  display: inline;
}

#nav h1 span {
  margin-left: 60px;
  font-size: 0.8em;
  color: #bebebe;
}

#nav a {
  display: none;
}


/* ==== Header ==== */

header {
  margin-top: 100px;
  background-color: antiquewhite;
  width: 100%;
  background-image: url("../img/header_kl.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
}

.overlay h2 {
  margin: 40px 40px;
}

#lukas1 {
  width: 60%;
  margin: 0px 0px -5px 40px;
}

#form {
  background-color: rgba(256, 256, 256, 0.6);
}


/* ==== Main allgmemein ==== */

main {
  width: 100%;
  margin: auto;
  height: 100%;
}

.abschnitt {
  margin: 100px 0px;
  padding: 0px 40px;
}


/* ==== Abschnitt 1 ==== */

#product {
  width: 100%;
  margin: 40px auto 0px auto;
}


/* ==== Abschnitt 2 ==== */

#abschnitt2 {
  padding: 0px;
}

/* == Slideshow == */
.slideshow-container {
  width: 100%;
  position: relative;
  margin: 0 auto;
  height: 300px;
}

.mySlides {
  display: none;
  width: 80%;
  box-shadow: 0px 0px 15px 0px rgba(117, 117, 117, 0.75);
  height: 100%;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
}

.slidercontent {
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slidertitle {
  color: #00a6d6;
  font-size: 1.25em;
  font-weight: bold;
  text-align: center;
  margin: 0;
}

.slidertitle span {
  font-size: 2em;
  color: #00a6d6;
  margin-bottom: 10px;
}

.slidercontent p:nth-child(2) {
  color: #bebebe;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: #bebebe;
  font-size: 2.5em;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* Animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}


/* ==== Abschnitt 3 ==== */

#abschnitt3 {
  border-bottom: solid 3px #00a6d6;
  display: flex;
  flex-direction: column;
  margin: 100px 0;
  padding: 0 40px;
  width: 100%;
  box-sizing: border-box;
}

#abschnitt3 p {
  margin: 0;
  box-sizing: border-box;
}

#abschnitt3 img {
  width: 80%;
  align-self: flex-end;
}


/* ==== Abschnitt 5 ==== */

#abschnitt5 {
  text-align: center;
  padding: 0;
}

.contentbox {
  width: 100%;
  box-shadow: 0px 0px 15px 0px rgba(117, 117, 117, 0.75);
  height: 100%;
  background-color: white;
}


#abschnitt5 .contentbox {
  padding: 40px 0px 0px 0px;
}

#abschnitt5 strong {
  margin: 0px 40px;
  display: block;
}


/* ==== Footer ==== */

footer {
  background-color: #bebebe;
  width: 100%;
  min-height: 18vh;
  height: 100%;
  margin-top: 200px;
}

footer .content {
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  text-align: center;
}

footer p,
footer strong,
footer a {
  color: white;
  text-decoration: none;
  font-size: 1em;
  margin: 0;
}



/* ====== Tablets ====== */

@media screen and (min-width:38.75em) {

  /* ==== Navigation ==== */
  #nav {
    height: 150px;
  }

  #nav a {
    width: 40%;
    max-width: 300px;
    display: inline-block;
  }


  /* ==== Header ==== */
  header {
    margin-top: 150px;
    background-image: url("../img/header.jpg");
    background-attachment: fixed;
  }

  .overlay {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px 40px 0px 40px;
  }

  .overlay h2 {
    width: 100%;
    margin: 0;
  }

  #lukas1 {
    width: 33%;
    min-width: 250px;
    margin: 0;
    height: auto;
    align-self: flex-end;
    justify-self: flex-start;
    z-index: 9;
  }

  #form {
    width: 50%;
    min-width: 325px;
    margin-left: -50px;
    display: flex;
    align-items: center;
    justify-items: center;
    flex-grow: 2;
    height: fit-content;
    align-self: center;
    justify-self: flex-end;
  }


  /* ==== Main allgmemein ==== */

  main {
    width: 90%;
    margin: auto;
    height: 100%;
  }


  /* ==== Abschnitt 1 ==== */

  #abschnitt1 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
  }

  #abschnitt1 h3 {
    grid-row: 1 / 2;
    grid-column: 1 / 4;
  }

  #abschnitt1 strong {
    grid-row: 2 / 3;
    grid-column: 1 / 4;
  }

  #abschnitt1 p {
    grid-row: 3 / 4;
    grid-column: 1 / 3;
  }

  #abschnitt1 img {
    grid-row: 3 / 4;
    grid-column: 3 / 4;
    width: 100%;
    justify-self: flex-end;
    align-self: center;
    margin: 0px;
  }


  /* ==== Abschnitt 2 ==== */

  .slidercontent p:nth-child(2) {
    font-size: 1.25em;
  }

  .slidertitle {
    font-size: 1.5em;
    font-weight: bold;
    color: #00a6d6;
  }


  /* ==== Abschnitt 3 ==== */

  #abschnitt3 {
    flex-direction: row;
  }

  #abschnitt3 img {
    width: 40%;
  }


  /* ==== Footer ==== */


  footer .content {
    width: 90%;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    text-align: left;
    padding: 40px 0px;
  }

  footer .content p {
    margin: 0;
  }

  footer .content p:nth-child(3) {
    text-align: right;
  }
}



/* ====== Desktop-Monitore ====== */

@media screen and (min-width:65em) {

  /* ==== Navigation ==== */

  #nav {
    padding: 0px 20%;
  }


  /* ==== Header ==== */

  header {
    height: 700px;
  }

  .overlay {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 20% 0px 20%;
  }

  .overlay h2 {
    width: 100%;
    margin: 0;
  }

  #lukas1 {
    width: 33%;
    min-width: 300px;
    max-width: 400px;
    align-self: flex-end;
    justify-self: flex-start;
    z-index: 9;
  }

  #form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    align-self: flex-start;
    justify-self: flex-end;
    margin-left: -80px;
    margin-top: 50px;
    width: fit-content;
    max-width: 600px;
  }

  #title h2 {
    padding: 0;
    margin: 0;
  }

  #form iframe {
    margin: auto;
  }

  #iFrameResizer0 {
    height: 450px !important;
  }

  /* ==== Main allgmemein ==== */

  main {
    width: 60%;
    margin: auto;
  }


  /* ==== Abschnitt 1 ==== */

  #abschnitt1 strong {
    grid-column: 1 / 3;
  }

  #abschnitt1 img {
    grid-row: 2 / 4;
    height: auto;
    max-height: 100%;
    width: auto;
    max-width: 100%;
  }

  #abschnitt1 strong {
    align-self: flex-end;
  }

  /* ==== Abschnitt 2 ==== */

  .mySlides {
    width: 66%;
  }

  /* ==== Abschnitt 3 ==== */

  #abschnitt3 p {
    align-self: center;
  }

  #abschnitt3 img {
    width: 40%;
    max-width: 400px;
    min-width: 300px;
  }


  /* ==== Abschnitt 4 ==== */

  #abschnitt4 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  #abschnitt4 h3 {
    width: 100%;
  }

  #abschnitt4 p {
    width: 50%;
  }

  #abschnitt4 p:nth-child(2) {
    padding-right: 20px;
  }

  #abschnitt4 p:nth-child(3) {
    border-left: solid 3px #00a6d6;
    padding-left: 20px;
  }


  /* ==== Footer ==== */

  footer .content {
    width: 60%;
  }
}



/* ====== Impressum ====== */

#impressum {
  padding: 15vh 40px 0 40px;
  min-height: 79vh;
  hyphens: auto;
}

#impressum h2 {
  color: black;
  text-align: left;
  margin: 40px 0;
  width: 100%;
  height: fit-content;
}

.back {
  color: #00a6d6;
  text-decoration: none;
  margin-top: 20px;
  display: block;
}



/* ====== Datenschutz ====== */

#datenschutz {
  padding: 15vh 40px 0 40px;
  min-height: 79vh;
  hyphens: auto;
}

#datenschutz h2 {
  color: black;
  text-align: left;
  margin: 40px 0;
}

#datenschutz strong {
  display: block;
  margin-top: 60px;
}

#datenschutz .subtitle {
  color: #bebebe;
  font-weight: bold;
}

#datenschutz a {
  color: #00a6d6;
  text-decoration: none;
}

#datenschutz ul {
  list-style-type: circle;
  margin: 20px 0px 0px 20px;
  padding: 0;
}



/* ====== Dankesseite ====== */

#danke {
  padding: 15vh 40px 0 40px;
  min-height: 79vh;
  hyphens: auto;
}

#danke h2 {
  color: black;
  text-align: left;
  margin: 40px 0;
}

#danke a {
  color: #00a6d6;
  text-decoration: none;
}



/* ====== Bestätigungsseite ====== */

#email {
  padding: 15vh 40px 0 40px;
  min-height: 79vh;
  hyphens: auto;
}

#email h2 {
  color: black;
  text-align: left;
  margin: 40px 0;
}

#email a {
  color: #00a6d6;
  text-decoration: none;
}