@charset "UTF-8";
/* CSS Document */
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Regular.ttf");
}
@font-face {
  font-family: "Roboto bold";
  src: url("fonts/Roboto-Bold.ttf");
}
@font-face {
  font-family: "Roboto light";
  src: url("fonts/Roboto-Light.ttf");
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("fonts/RobotoCondensed-Regular.ttf");
}
@font-face {
  font-family: "DIN Condensed";
  src: url("fonts/DIN Condensed Bold.ttf");
}
* {
  margin: 0;
  padding: 0;
  border: 0;
}
/* 1rem=20px */
html {
  font-size: 20px;
}
body {
  background-color: white;
  font-family: "Roboto";
}
/*header mit nav)*/
header {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 85vh; /* 80% des sichtbaren Bereichs (viewport) des Browsers */
  min-height: 600px;
  background-image: url("img/header.png");
  background-size: cover; /* hintergrundbild über ganzen container */
  background-repeat: no-repeat;
}
#logo-container {
  width: 15%;
}
#header-logo {
  margin-top: 1.5rem;
  margin-left: 2.7rem;
  height: 5.175rem;
  max-width: 2.225rem;
}
nav {
  width: 85%;
}
ul {
  display: flex;
  margin-top: 3.25rem;
  margin-right: 3.25rem;
}
li {
  list-style: none;
}
li > a {
  text-decoration: none;
  color: #FFFFFF;
  margin-left: 1.9rem;
  list-style: none;
  font-size: 1.25rem;
  font-family: "Roboto";
  text-align: center;
}
.header-highlight {
  border-bottom: 6px solid #027A48; /* grüner strich unter aktiver seite */
  margin-left: auto; /* ul wird rechtsbündig */
}
.header-highlight > a {
  margin-left: 0;
}
#social-menu {
  /*wird für die Tablet und Mobile Version benötigt*/
  display: none;
}
#header-content {
  padding: 0 3.625rem;
  width: 70%;
  margin-left: 5.9rem;
}
.header-title {
  font-family: "DIN Condensed", sans-serif;
  font-size: 10rem;
  color: #FFFFFF;
  letter-spacing: 0.0025rem;
  line-height: 10rem;
}
.header-caption {
  padding-top: 1rem;
  font-family: "Roboto";
  font-size: 1.5rem;
  color: #FFFFFF;
}
#mockup {
  height: 150vh;
  min-height: 1235px; /* (175vh/85vh)*600px = height(header)/height(mockup)*min-height(header) */
  width: auto;
  position: absolute; /* flasche steht über den header hinaus*/
  right: 0;
  top: 9.625rem;
}
/*body mit sections 1-4*/
section {
  display: flex;
  margin: 4.3rem 3.625rem 0;
}
#section1 {
  margin-top: 8.55rem;
  margin-left: 3.8rem;
  padding-bottom: 11.7rem;
}
#section1 .content {
  width: 50%;
}
h1 {
  padding-bottom: 1rem;
  font-family: "Roboto Condensed";
  font-size: 3rem;
}
#mockup2 {
  /*wird für die Tablet und Mobile Version benötigt*/
  display: none;
}
#diagramm {
  width: auto;
  height: 30rem;
  margin-right: 3rem;
}
#section2 .content {
  width: 45%;
  margin-left: auto;
}
#section3 {
  min-width: 100%;
  height: 100vh; /*hintergrundbild über den gesamten viewport (100%)*/
  background-image: url("img/bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #162220;
  margin-left: 0;
  margin-right: 0;
  color: #ffffff;
  padding-top: 3rem;
  text-align: center;
}
#section3 .content {
  margin: 0 5.3rem;
}
#explainer-container {
  display: flex;
  justify-content: space-around;
  align-items: baseline;
  text-align: center;
  margin: 5.3rem 0 0 0;
}
.explainer {
  width: 25%;
}
.explainer img {
  width: 65%;
}
.explainer p {
  margin-top: 2rem;
}
/*footer*/
footer {
  display: flex;
  background-color: #162220;
  justify-content: space-between;
  color: #ffffff;
  align-items: center;
  margin-top: 4.3rem;
}
#footer-logo {
  margin: 1rem 0 1rem 3.625rem;
  height: 4rem;
  max-width: 2.225rem;
}
#copyright {
  font-size: 0.75rem;
}
#social {
  margin-right: 3.625rem;
}
#social img {
  height: 1.25rem;
  width: auto;
}
.twitter {
  padding: 0 1.5rem;  /*twitter icon ist in der mitte und braucht abstand nach links und rechts*/
}
/*responsive: Tablet*/
@media(max-width:1024px) {
  header {
    height: 100vh;
  }
  #header-content {
    width: 100%;
    margin: 0;
    text-align: center;
  }
  #section1 {
    margin-top: 6rem;
    align-items: center;
    padding-bottom: 0;
    margin-right: 0;
  }
  #mockup {
    display: none; /* großes mockup ausblenden */
  }
  #section1, #section2 {
    flex-wrap: wrap-reverse; /*bild bricht nach oben bzw. unten um*/
    justify-content: center;
    row-gap: 2rem;
  }
  #section1 .content {
    min-width: 18.5rem;
    width: auto;
    flex: 1; /*bild und text  sind gleichverteilt*/
    margin-right: 3.625rem;
  }
  #section2 .content {
    min-width: 18.5rem;
    width: auto;
    flex: 1;/*bild und text  sind gleichverteilt*/
  }
  #mockup2 {
    display: inline; /* neues mockup einblenden in section 1*/
    width: auto;
    height: 33.2rem;
  }
  #diagramm {
    width: auto;
    height: auto;
    max-width: 80%;
    flex: 1;
  }
}
/*responsive: schmales Tablet*/
@media(max-width:886px) {
  #burger-button {
    margin: 1.5rem 2.7rem;
    margin-left: auto;
    height: 1.75rem;
    width: 2.25rem;
    background-image: url("img/burger button.png");
    background-size: cover;
  }
  #burger-button:hover {
    transform: scale(1.2);
  }
  #menu {
    display: none;
    position: absolute;
    flex-direction: column;
    background-color: #FFFFFF;
    border: 2px solid #DFDFDF;
    padding: 1rem;
    margin-top: 0.5rem;
    margin-right: 2.7rem;
    right: 0;
    top: 3.25rem;
    align-items: start;
  }
  li {
    padding-bottom: 0.5rem;
  }
  #social-menu {
    display: initial;
  }
  #social-menu > a > img {
    margin-top: 0.5rem;
    height: 1.75rem;
    width: auto;
  }
  .header-highlight {
    border-bottom: 0;
    margin-left: 0;
  }
  li > a {
    color: #00A663;
    margin-left: 0;
  }
  li > a:hover {
    color: #027A48;
  }
  #social {
    display: none;
  }
  footer {
    justify-content: flex-start; /*kein gleichverteilter abstand mehr */
  }
  #copyright {
    /* div nimmt restlichen platz ein und der text wird mittig davon gesetzt*/
    display: flex;
    justify-content: center;
    width: 100%;
  }
}
/*responsive: Mobile*/
@media(max-width:480px) {
  section {
    margin: 3.3rem 1.625rem 0;
  }
  #header-logo {
    margin-left: 1.625rem;
  }
  .header-title {
    font-size: 7rem;
    line-height: 7rem;
  }
  .header-caption {
    font-size: 1rem;
  }
  #burger-button {
    margin-right: 1.625rem;
  }
  #section3 .content {
    margin: 0 1.625rem;
  }
  #explainer-container {
    flex-direction: column;
    row-gap: 2rem;
  }
  .explainer {
    width: 100%;
  }
  #footer-logo {
    margin-left: 1.625rem;
  }
}