@font-face {
  font-family: "Open Sans Bold";
  src: url("../fonts/Open_Sans/OpenSans-Bold.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Open Sans Bold Italic";
  src: url("../fonts/Open_Sans/OpenSans-BoldItalic.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Open Sans Extra Bold";
  src: url("../fonts/Open_Sans/OpenSans-ExtraBold.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Open Sans Extra Bold Italic";
  src: url("../fonts/Open_Sans/OpenSans-ExtraBoldItalic.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Open Sans Italic";
  src: url("../fonts/Open_Sans/OpenSans-Italic.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Open Sans Light";
  src: url("../fonts/Open_Sans/OpenSans-Light.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Open Sans Light Italic";
  src: url("../fonts/Open_Sans/OpenSans-LightItalic.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/Open_Sans/OpenSans-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Open Sans Semi Bold";
  src: url("../fonts/Open_Sans/OpenSans-SemiBold.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Open Sans Semi Bold Italic";
  src: url("../fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf") format("truetype");
  font-display: swap;
}

html {
  --spacing: 16px;

  scroll-behavior: smooth;
  word-break: break-word;
  hyphens: inherit;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  color: #4b514d;
}

a {
  text-decoration: none;
  color: inherit;
}

b {
  font-weight: normal;
  font-family: "Open Sans Bold", "Helvetica", "Arial", sans-serif;
}

button:hover,
a:hover {
  cursor: pointer;
  font-family: "Open Sans Bold", "Helvetica", "Arial", sans-serif;
}

#content {
  max-width: 2000px;
  display: block;
  margin: auto;
}

.kl-float {
  width: 2.3%;
  position: fixed;
  /* opacity: 0.9; */
  top: calc(55%);
  right: 0;
  z-index: 20000;
  border: 1.5px solid #bd1d1c;
  background-color: white;
  white-space: nowrap;
  text-align: center !important;
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
  padding: 0.3%;
  transform-origin: bottom right;
}

#consent-popup {
  position: fixed;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  bottom: 0;
  left: 0;
  transition: 0.8s ease;
  z-index: 10;
  background-color: white;
  border-top: 2px solid #4b514d;
}

#consent-left {
  width: 60%;
  padding: 20px;
}

#consent-right {
  width: 30%;
  padding: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.popup-active {
  opacity: 1;
}

.popup-inactive {
  opacity: 0;
}

#close-button {
  height: 50px;
  width: 50px;
}

.close {
  width: 40px;
  height: 5px;
  border-radius: 5px;
  background-color: #d56451;
}

#close-button:hover {
  cursor: pointer;
}

.close-left {
  transform: rotate(45deg);
  position: relative;
  top: 20px;
}

.close-right {
  transform: rotate(-45deg);
  position: relative;
  top: 16px;
}

header {
  background-color: #5ea5ab;
  color: white;
  font-size: 16px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 67px;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 10;
}

nav {
  display: flex;
  align-items: center;
  margin-right: 50px;
  position: relative;
}

.main-nav-active {
  display: flex;
}

.main-nav-inactive {
  display: flex;
}

.logo-container {
  height: 100%;
  display: flex;
}

#nav-logo {
  width: 200px;
  margin-left: 50px;
  padding: 10px 0px;
}

.knx-logo {
  padding: 10px 0 10px 40px;
  height: 45px;
}

.logo-active {
  display: inline-block;
}

.logo-inactive {
  display: none;
}

.img-centered {
  display: block;
  margin: 2rem auto 2rem auto;
  width: 50%;
}

#nav-pic {
  height: 100%;
  width: auto;
}

.nav-a {
  padding: 17px;
  border-bottom: 5px solid transparent;
}

.nav-a:hover {
  font-family: inherit;
  border-bottom: 5px solid #005a6d;
}

.nav-active {
  border-bottom: 5px solid #005a6d;
}

.nav-box {
  background-color: #005a6d;
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 200%;
  width: max-content;
  left: 0%;
  visibility: hidden;
}

#home-a,
#vmpx-aq-a,
#architect-a,
#builder-a {
  position: relative;
}

.nav-box-a {
  margin: 10px 20px;
}

#curtain {
  width: 100%;
  height: 0px;
  position: absolute;
  top: 65px;
  left: 0;
  background-color: #c4c4c4;
  opacity: 0.6;
}

.curtain-inactive {
  visibility: hidden;
  z-index: -10;
}

.curtain-active {
  visibility: visible;
  z-index: 9;
}

section {
  position: relative;
}

.scroller {
  position: absolute;
  top: -65px;
  visibility: hidden;
}

#ad-banner {
  overflow: hidden;
  position: relative;
  top: 13%;
  right: 0;
  height: 200px;
  border: 0px solid black;
}

#ad-banner img {
  position: absolute;
  display: block;
  right: -500px;
  -webkit-animation: ad-banner 2s forwards;
  -webkit-animation-delay: 1s;
  animation: ad-banner 2s forwards;
  animation-delay: 1s;
}

#ad-banner img:nth-child(2) {
  top: 70px;
  animation-delay: 1.5s;
}

#ad-banner img:nth-child(3) {
  top: 140px;
  animation-delay: 2s;
}

#ad-content {
  position: absolute;
  overflow: hidden;
  left: 0px;
  width: 800px;
  height: 300px;
  /* background: blue; */
}

@-webkit-keyframes ad-banner {
  100% {
    right: 0;
  }
}

@keyframes ad-banner {
  100% {
    right: 0;
  }
}

#landing-img-container {
  background-image: url("/media/desktop/Landingpage.jpg");
  background-repeat: no-repeat;
  background-size: 100%;
  /* Background image ratio is 50% */
  height: calc(0.5 * 100vw);
}

#landing-text-container {
  width: max-content;
  position: relative;
  left: 17%;
  top: 20%;
}

.full-logo {
  width: 400px;
  height: 70px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.full-logo-img {
  height: 100%;
  width: auto;
}

.full-logo-text {
  font-family: "Open Sans Semi Bold", "Helvetica", "Arial", sans-serif;
  font-size: 2.5em;
  margin: 0px 10px;
}

.full-logo em {
  color: grey;
}

#landing-text {
  margin: 50px 0px 80px;
}

#landing-green {
  color: #88b699;
  font-family: "Open Sans Semi Bold", "Helvetica", "Arial", sans-serif;
  font-size: 3em;
  text-shadow: 1px 1px #4b514d;
}

#landing-blue {
  color: #5ea5ab;
  font-family: "Open Sans Semi Bold", "Helvetica", "Arial", sans-serif;
  font-size: 3em;
  text-shadow: 1px 1px #4b514d;
}

#landing-small {
  font-size: 1.5em;
}

#landing-big {
  font-family: "Open Sans Bold Italic", "Helvetica", "Arial", sans-serif;
  font-size: 4em;
}

#header-button {
  display: block;
  margin: auto;
}

.dark-blue-button {
  color: white;
  font-size: 16px;
  width: 350px;
  height: 50px;
  border: none;
  text-decoration: none;
  background-color: #005a6d;
  transition: 0.5s;
}

.dark-blue-button:hover {
  background-color: #024553;
}

.white-blue-button {
  color: #005a6d;
  font-size: 16px;
  width: 350px;
  height: 50px;
  border: none;
  text-decoration: none;
  background-color: white;
  transition: 0.5s;
}

.dark-blue-button:hover {
  background-color: #024553;
}

.light-blue-button {
  font-size: 16px;
  width: 350px;
  height: 50px;
  border: none;
  text-decoration: none;
  background-color: rgba(242, 242, 242, 0.4);
  transition: 0.3s;
  color: white;
}

.light-blue-button:hover {
  background-color: white;
  color: #005a6d;
}

#hokkaido-401 {
  margin: 100px 0px;
}

.p-centered {
  display: block;
  width: 90%;
  max-width: 720px;
  margin: auto;
}

.s40 {
  font-size: 40px;
  text-align: center;
}

.s35 {
  font-size: 35px;
}

.s24 {
  font-size: 24px;
  text-align: center;
}

.s22 {
  font-size: 22px;
}

.s20 {
  font-size: 20px;
}

.s18 {
  font-size: 18px;
}

.s-no-margin {
  margin: 0;
}

.s-light {
  font-family: "Open Sans Light", "Helvetica", "Arial", sans-serif;
}

.s-centered {
  text-align: center;
}

.s-justify {
  text-align: justify;
}

.dark-blue-h {
  color: #005a6d;
  margin-top: 40px;
}

.red-h-top-margin {
  color: #be161d;
  margin-top: 1em;
}

.red-h {
  color: #d56451;
}

.light-blue-h {
  color: #5ea5ab;
  /* margin-top: 40px; */
}

.tick-ul {
  display: block;
  margin: auto;
  list-style: none;
  width: 70%;
  max-width: fit-content;
}

.tick-ul > li {
  display: flex;
  align-self: center;
  margin: 20px 0px;
}

.tick-ul > li::before {
  content: url("/media/desktop/Tick.svg");
  padding-right: 10px;
  margin: 0;
}

.tick-ul.tick-white > li::before {
  content: url("/media/desktop/Tick-white.svg");
}

.tick-ul.tick-turquoise > li::before {
  content: url("/media/desktop/Tick-turquoise.svg");
}

.cross-ul {
  display: block;
  margin: auto;
  list-style: none;
  width: 70%;
  max-width: fit-content;
}

.cross-ul > li {
  display: flex;
  align-self: center;
  margin: 20px 0px;
}

.cross-ul > li::before {
  padding-right: 10px;
  margin: 0;
  content: url("/media/desktop/Cross.svg");
}

#hokkaido-container {
  position: relative;
  margin: 200px 0px;
}

#controller-pic {
  position: absolute;
  max-height: 277px;
  left: 75%;
  top: 45%;
}

#hokkaido-pic {
  width: 1360px;
  height: 622px;
}

.hokkaido-part {
  position: absolute;
  color: #005a6d;
  font-size: 20px;
  font-family: "Open Sans Bold", "Helvetica", "Arial", sans-serif;
}

.hokkaido-part-line {
  position: absolute;
  height: 2px;
  width: 100px;
  background-color: #005a6d;
  transform-origin: left;
}

#part-one {
  top: 0;
  left: 20%;
}

#line-one {
  top: 40px;
  left: 25%;
  width: 9.5%;
  transform: rotate(90deg);
}

#part-two {
  top: 0;
  left: 35%;
}

#line-two {
  top: 40px;
  left: 38%;
  width: 12%;
  transform: rotate(100deg);
}

#part-three {
  top: 0;
  left: 48%;
}

#line-three {
  top: 40px;
  left: 51%;
  width: 8%;
  transform: rotate(95deg);
}

#part-four {
  bottom: 0px;
  left: 10%;
}

#line-four {
  bottom: 40px;
  left: 15%;
  width: 9%;
  transform: rotate(280deg);
}

#part-five {
  bottom: 0px;
  left: 35%;
}

#line-five {
  bottom: 40px;
  left: 39%;
  width: 13%;
  transform: rotate(277deg);
}

#part-six {
  bottom: 0px;
  left: 58%;
}

#part-seven {
  bottom: -82px;
  left: 79%;
}

#line-six {
  bottom: 40px;
  left: 62%;
  width: 14%;
  transform: rotate(274deg);
}

.dark-blue-container {
  background-color: #005a6d;
  color: white;
  /* text-align: justify; */
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.light-blue-container {
  background-color: #5ea5ab;
  width: 100%;
  color: white;
  padding-top: 1rem;
  padding-bottom: 1rem;
  /* text-align: justify; */
}

.foerderungen-container {
  margin-left: 30%;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

#h-blue {
  font-size: 40px;
  width: 70%;
  max-width: 750px;
  display: block;
  margin: auto;
  padding-top: 100px;
}

#function-grid {
  width: 80%;
  margin: auto;
  margin-top: 100px;
  padding-bottom: 100px;
  display: grid;
  grid-template-rows: auto auto 50px auto;
  grid-template-columns: 1fr 30px 1fr 30px 1fr;
  align-content: center;
  justify-items: center;
}

#function-grid > p {
  max-width: 400px;
  text-align: center;
}

#function-grid img {
  max-width: 550px;
}

#fg-1x1 {
  grid-row: 1;
  grid-column: 1;
}

#fg-1x2 {
  grid-row: 1;
  grid-column: 3;
}

#fg-1x3 {
  grid-row: 1;
  grid-column: 5;
}

#fg-2x1 {
  grid-row: 2;
  grid-column: 1;
}

#fg-2x2 {
  grid-row: 2;
  grid-column: 3;
}

#fg-2x3 {
  grid-row: 2;
  grid-column: 5;
}

#fg-3x1 {
  grid-row: 4;
  grid-column: 1;
}

#fg-3x3 {
  grid-row: 4;
  grid-column: 5;
}

#function-text-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
}

.function-text {
  width: 90%;
  max-width: 410px;
  margin: 50px 0px;
}

#product {
  margin: 100px auto;
}

#prod-headlines > * {
  margin: 0;
}

.pg-top-right {
  height: 65px;
  width: 80px;
  position: absolute;
  top: -5px;
  right: -5px;
}

#prod-grid {
  width: 90%;
  max-width: 1200px;
  margin: 100px auto;
  display: grid;
  grid-template-rows: repeat(4, 230px auto auto 50px);
  grid-template-columns: auto 20px auto 20px auto;
  justify-items: center;
  overflow: hidden;
}

#prod-grid > *,
.pg-double > img:not(.pg-top-right) {
  max-width: 345px;
  width: 100%;
}

#prod-grid
  img:not(.pg-top-right, #troublemaker-1, #troublemaker-2, #troublemaker-3) {
  width: 100%;
  height: 100%;
}

.pg-1x1 {
  grid-row: 1;
  grid-column: 1;
  position: relative;
}

.pg-1x2 {
  grid-row: 1;
  grid-column: 3;
  position: relative;
}

.pg-1x3 {
  grid-row: 1;
  grid-column: 5;
  position: relative;
}

.pg-2x1 {
  grid-row: 2;
  grid-column: 1;
}

.pg-2x2 {
  grid-row: 2;
  grid-column: 3;
}

.pg-2x3 {
  grid-row: 2;
  grid-column: 5;
}

.pg-3x1 {
  grid-row: 3;
  grid-column: 1;
}

.pg-3x2 {
  grid-row: 3;
  grid-column: 3;
}

.pg-3x3 {
  grid-row: 3;
  grid-column: 5;
}

.pg-4x1 {
  grid-row: 5;
  grid-column: 1;
  position: relative;
}

.pg-4x2 {
  grid-row: 5;
  grid-column: 3;
}

.pg-4x3 {
  grid-row: 5;
  grid-column: 5;
  overflow: hidden;
}

.pg-5x1 {
  grid-row: 6;
  grid-column: 1;
}

.pg-5x2 {
  grid-row: 6;
  grid-column: 3;
}

.pg-5x3 {
  grid-row: 6;
  grid-column: 5;
}

.pg-6x1 {
  grid-row: 7;
  grid-column: 1;
}

.pg-6x2 {
  grid-row: 7;
  grid-column: 3;
}

.pg-6x3 {
  grid-row: 7;
  grid-column: 5;
}

.pg-7x1 {
  grid-row: 9;
  grid-column: 1;
}

.pg-7x2 {
  grid-row: 9;
  grid-column: 3;
}

.pg-7x3 {
  grid-row: 9;
  grid-column: 5;
}

.pg-8x1 {
  grid-row: 10;
  grid-column: 1;
}

.pg-8x2 {
  grid-row: 10;
  grid-column: 3;
}

.pg-8x3 {
  grid-row: 10;
  grid-column: 5;
}

.pg-9x1 {
  grid-row: 11;
  grid-column: 1;
}

.pg-9x2 {
  grid-row: 11;
  grid-column: 3;
}

.pg-9x3 {
  grid-row: 11;
  grid-column: 5;
}

.pg-10x1 {
  grid-row: 13;
  grid-column: 1;
}

.pg-11x1 {
  grid-row: 14;
  grid-column: 1;
}

.pg-12x1 {
  grid-row: 15;
  grid-column: 1;
}

.pg-10x2 {
  grid-row: 13;
  grid-column: 3;
}

.pg-11x2 {
  grid-row: 14;
  grid-column: 3;
}

.pg-12x2 {
  grid-row: 15;
  grid-column: 3;
}

.pg-10x3 {
  grid-row: 13;
  grid-column: 5;
}

.pg-11x3 {
  grid-row: 14;
  grid-column: 5;
}

.pg-12x3 {
  grid-row: 15;
  grid-column: 5;
}

.trouble {
  height: 100%;
  overflow: hidden;
}

#troublemaker-1,
#troublemaker-2,
#troublemaker-3 {
  max-width: 410px;
  position: relative;
}

#troublemaker-1 {
  left: -35px;
}

#troublemaker-3 {
  left: -20px;
}

#troublemaker-2 {
  width: 100%;
  height: 120%;
  top: -20px;
}

#certs {
  display: flex;
  flex-direction: row;
  width: 70%;
  max-width: 700px;
  margin: auto;
  justify-content: space-evenly;
}

#certs > img {
  max-height: 79px;
  margin-left: 5%;
}

#team-container {
  margin: 100px auto;
}

#team-header {
  height: 325px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#team-header > h1 {
  font-size: 48px;
}

.team-pic {
  width: 430px;
  height: 430px;
}

.team-text {
  position: relative;
  height: max-content;
  width: auto;
  max-width: 750px;
  margin: 50px;
  margin-left: 75px;
}

.p-italic {
  font-family: "Open Sans Italic", "Helvetica", "Arial", sans-serif;
}

.p-italic > b {
  font-family: "Open Sans Bold Italic", "Helvetica", "Arial", sans-serif;
}

.team-text::before {
  content: url("/media/desktop/Quote.svg");
  position: absolute;
  left: -55px;
}

.team-left,
.team-right {
  width: 90%;
  max-width: 1255px;
  margin: auto;
  align-items: center;
}

.team-left {
  display: flex;
  flex-direction: row;
}

.team-right {
  display: flex;
  flex-direction: row-reverse;
}

#button-container {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#contact-container {
  height: 1200px;
  background-image: url("/media/desktop/BeratungPREVIEW.jpg");
}

#contact {
  width: 410px;
  padding-top: 50px;
  padding-left: 320px;
}

.text-input {
  width: 100%;
  border: 0.5px solid #d4d4d4;
  background-color: #f2f2f2;
  padding-left: 10px;
  height: 40px;
  margin-bottom: 5px;
  font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
  font-size: 14px;
}

#form-text {
  height: 145px;
  padding-top: 5px;
}

.box-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.box-container input {
  position: absolute;
  top: 10px;
  left: 0px;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 10px;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #f2f2f2;
  border: 0.5px solid #d4d4d4;
  margin-right: 50px;
}

.box-container:hover input ~ .checkmark {
  background-color: #f2f2f2;
}

.box-container input:checked ~ .checkmark {
  background-color: #005a6d;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.box-container input:checked ~ .checkmark:after {
  display: block;
}

.box-container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

#consent {
  position: relative;
  left: 40px;
  top: -5px;
}

#notice {
  visibility: hidden;
  border-radius: 5px;
  padding: 5px;
}

.error {
  visibility: visible;
  border: 1px solid #d56451;
  color: #d56451;
  background-color: rgba(213, 101, 81, 0.2);
}

.success {
  visibility: visible;
  color: #005a6d;
  border: 1px solid #005a6d;
  background-color: rgba(0, 91, 109, 0.2);
}

.data {
  text-decoration: none;
  color: #005a6d;
  font-family: "Open Sans Bold", "Helvetica", "Arial", sans-serif;
}

#data:hover {
  font-size: 14px;
}

.flex {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: center;
}

.data-texts {
  text-decoration: none;
  color: #005a6d;
  font-family: "Open Sans Bold", "Helvetica", "Arial", sans-serif;
  -webkit-box-flex: 1 1 auto;
  -moz-box-flex: 1 1 auto;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  width: 90%;
  align-content: center;
}

#data-texts:hover {
  font-size: 14px;
}

#submit-button {
  border: none;
  color: white;
  width: 320px;
  height: 50px;
  background-color: #005a6d;
  padding: 14px auto;
  display: block;
  margin: 30px auto;
  font-size: 16px;
}

#submit-button:hover {
  font-family: "Open Sans Extra Bold", "Helvetica", "Arial", sans-serif;
  background-color: #024553;
  cursor: pointer;
}

footer {
  color: white;
  background-color: #4b514d;
}

#footer-container-one {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  padding-top: 50px;
}

.nested-footer {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 60px 20px 250px 60px 20px 250px;
}

.footer-1x1 {
  padding-top: 25px;
  grid-row: 1;
  grid-column: 1;
}

.footer-1x2 {
  grid-row: 1;
  grid-column: 3;
}

.footer-1x3 {
  padding-top: 25px;
  grid-row: 1;
  grid-column: 4;
}

.footer-1x4 {
  grid-row: 1;
  grid-column: 6;
}

footer a {
  text-decoration: none;
  color: white;
}

footer a:hover {
  font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
  text-decoration: underline;
}

#footer-container-two {
  width: 90%;
  display: block;
  margin: auto;
  text-align: center;
  padding: 30px 0;
}

/* Architetc page css */

.img-header {
  height: auto;
  max-height: 750px;
  overflow: hidden;
}

.landing-img {
  position: relative;
  top: -250px;
  width: 100%;
  max-width: 1920px;
}

.start-text {
  margin: 100px auto;
}

#architect-fotos {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

#af-grid {
  display: grid;
  width: 100%;
  grid-template-rows: auto auto 40px auto auto;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  margin: 50px auto;
  text-align: center;
}

.af-1x1 {
  grid-row: 1;
  grid-column: 1;
}

.af-1x2 {
  grid-row: 1;
  grid-column: 3;
}

.af-1x3 {
  grid-row: 1;
  grid-column: 5;
}

.af-2x1 {
  grid-row: 3;
  grid-column: 1;
}

.af-2x2 {
  grid-row: 3;
  grid-column: 3;
}

.af-2x3 {
  grid-row: 3;
  grid-column: 5;
}

.af-3x1 {
  grid-row: 4;
  grid-column: 1;
}

.af-3x2 {
  grid-row: 4;
  grid-column: 3;
}

.af-3x3 {
  grid-row: 4;
  grid-column: 5;
}
.af-4x1 {
  grid-row: 5;
  grid-column: 1;
}

.af-4x2 {
  grid-row: 5;
  grid-column: 3;
}

.af-4x3 {
  grid-row: 5;
  grid-column: 5;
}

#efficiency-container {
  display: flex;
  flex-direction: row;
  width: 80%;
  margin: 80px auto 130px auto;
  justify-content: space-evenly;
}

#efficiency-text {
  width: 65%;
}

#efficiency-label-container {
  width: 30%;
  max-height: 450px;
  text-align: center;
}

#efficiency-label {
  display: block;
  margin: 30px auto;
  height: 100%;
  width: auto;
}

.tech-data-container {
  width: 90%;
  max-width: 650px;
  padding-top: 2em;
  padding-bottom: 3em;
  margin: auto;
  text-align: left;
}

.tooltip {
  position: relative;
}

.tooltip .tooltip-text {
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 50%;
  width: max-content;
  color: #4b514d;
  background-color: white;
  padding: 5px;
  border: 1px solid #4b514d;
  border-radius: 5px;
  height: 20px;
  z-index: 2;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  transform: translateX(-50%);
}

.tooltip .tooltip-text::after {
  content: " ";
  position: absolute;
  bottom: 100%; /* At the top of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #4b514d transparent;
}

.tech-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-bottom: 1px solid #5ea5ab;
  margin-bottom: 10px;
  padding-bottom: 5px;
}

.tech-flex > * {
  margin-left: 10px;
  margin-right: 10px;
}

.tf-last {
  border: none;
}

#tech-data-dl-button {
  margin: 80px auto 80px 40%;
}

#architect-prod-texts {
  position: relative;
  /* overflow: hidden; */
  width: 100%;
}

#architect-prod-text-container {
  display: flex;
  flex-direction: row;
}

#efficiency-light-blue {
  height: 70vh;
}

#apt-left {
  position: relative;
  color: white;
  width: 40%;
  height: 650px;
  background-color: #5ea5ab;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation-fill-mode: both;
  z-index: 2;
}

#apt-right {
  position: relative;
  width: 60%;
  height: 650px;
  display: flex;
  background-color: white;
  justify-content: center;
  align-content: center;
  overflow: hidden;
  animation-fill-mode: both;
  z-index: 2;
}

.apt-link-button {
  border: none;
  background-color: white;
  background: url("/media/desktop/GreyPlus.svg") no-repeat 95% 12px transparent;
  color: #005a6d;
  font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
  font-size: 16px;
  height: 40px;
  width: 50px;
  -webkit-box-flex: 1 1 auto;
  -moz-box-flex: 1 1 auto;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  margin-right: 10px;
  align-content: center;
}

.apt-link-button:hover {
  background: url("/media/desktop/DarkGreyPlus.svg") no-repeat 95% 12px
    transparent;
}

#apt-ul {
  max-width: 90%;
}

#apt-ul > li {
  position: relative;
  display: flex;
  flex-direction: column;
}

#apt-ul > li::before {
  content: url("/media/desktop/GreenTick.svg");
  position: absolute;
  top: 10px;
  left: -50px;
}

#co2 {
  font-size: 20px;
}

.aussschreibungstext-container {
  display: flex;
  flex-direction: row;
  height: 610px;
  background-color: #f2f2f2;
  justify-content: space-between;
  z-index: -3;
  position: absolute;
  top: 0;
  left: 0;
}

.ausschreibungstext-left,
.ausschreibungstext-right {
  width: 48%;
  margin: 40px 0px 0px 40px;
}

.ausschreibungstext-right {
  display: flex;
  align-items: center;
}

.blue-edge {
  width: 80px;
  align-self: stretch;
  background-color: #5ea5ab;
  position: relative;
}

.at-td {
  padding-top: 10px;
}

.arrow-right {
  position: absolute;
  top: 43%;
  left: 10%;
  padding-top: 50px;
  padding-left: 20px;
  height: 50px;
  width: 50px;
  animation-fill-mode: both;
}

.arrow-top {
  height: 7px;
  width: 30px;
  background-color: white;
  border-radius: 1000px;
  transform: rotate(45deg);
  position: relative;
  top: -10px;
}

.arrow-bottom {
  height: 7px;
  width: 30px;
  background-color: white;
  border-radius: 1000px;
  transform: rotate(-45deg);
}

.arrow-right:hover {
  cursor: pointer;
}

@keyframes slide-left {
  0% {
    left: 0;
  }
  100% {
    left: -40%;
  }
}

@keyframes slide-right {
  0% {
    left: 0%;
  }
  100% {
    left: 100%;
  }
}

@keyframes slide-left-reverse {
  0% {
    left: -40%;
  }
  100% {
    left: 0%;
  }
}

@keyframes slide-right-reverse {
  0% {
    left: 100%;
  }
  100% {
    left: 0%;
  }
}

@keyframes slide-left-text {
  0% {
    left: 40%;
  }
  100% {
    left: 0%;
  }
}

@keyframes slide-left-text-reverse {
  0% {
    left: 0%;
  }
  100% {
    left: 40%;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Bauunternehmen css */
#builder-img {
  position: relative;
  top: -380px;
}

#mont-container {
  display: flex;
  flex-direction: row;
  height: 1450px;
}

#mont-left {
  width: 45%;
  overflow: hidden;
}

#ml-img {
  height: 1450px;
  width: auto;
}

#mont-right {
  width: 65%;
  background-color: #5ea5ab;
  color: white;
  text-align: center;
  font-size: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#mont-right-text {
  align-self: center;
  width: 80%;
  max-width: 600px;
}

#dl-container {
  width: 420px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
}

#dl-container > a:hover {
  font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
  text-decoration: underline;
}

#dl-container > button {
  margin: 30px 0px;
}

#Produktdetails {
  top: -150px;
}

#detail-header {
  position: absolute;
  top: -100px;
  left: -70px;
}

#detail-grid {
  position: relative;
  display: grid;
  width: max-content;
  margin: 100px auto;
  grid-template-rows: repeat(5, 335px auto auto);
  grid-template-columns: repeat(3, 335px);
}

.dg-1x1-3 {
  grid-row: 1;
  grid-column: 1 / 4;
}

.dg-2x1-3 {
  grid-row: 2;
  grid-column: 1 / 4;
}

.dg-3x1-3 {
  grid-row: 3;
  grid-column: 1 / 4;
}

.dg-4x1 {
  grid-row: 4;
  grid-column: 1;
}

.dg-5x1 {
  grid-row: 5;
  grid-column: 1;
}

.dg-6x1 {
  grid-row: 6;
  grid-column: 1;
}

.dg-7x1 {
  grid-row: 7;
  grid-column: 1;
}

.dg-8x1 {
  grid-row: 8;
  grid-column: 1;
}

.dg-9x1 {
  grid-row: 9;
  grid-column: 1;
}

.dg-10x1 {
  grid-row: 10;
  grid-column: 1;
}

.dg-11x1 {
  grid-row: 11;
  grid-column: 1;
}

.dg-12x1 {
  grid-row: 12;
  grid-column: 1;
}

.dg-13x1 {
  grid-row: 13;
  grid-column: 1;
}

.dg-14x1 {
  grid-row: 14;
  grid-column: 1;
}

.dg-15x1 {
  grid-row: 15;
  grid-column: 1;
}

.dg-1x3 {
  grid-row: 1;
  grid-column: 3;
}

.dg-2x3 {
  grid-row: 2;
  grid-column: 3;
}

.dg-3x3 {
  grid-row: 3;
  grid-column: 3;
}

.dg-4x3 {
  grid-row: 4;
  grid-column: 3;
}

.dg-5x3 {
  grid-row: 5;
  grid-column: 3;
}

.dg-6x3 {
  grid-row: 6;
  grid-column: 3;
}

.dg-7x3 {
  grid-row: 7;
  grid-column: 3;
}

.dg-8x3 {
  grid-row: 8;
  grid-column: 3;
}

.dg-9x3 {
  grid-row: 9;
  grid-column: 3;
}

.dg-10x3 {
  grid-row: 10;
  grid-column: 3;
}

.dg-11x3 {
  grid-row: 11;
  grid-column: 3;
}

.dg-12x3 {
  grid-row: 12;
  grid-column: 3;
}

.dg-13x3 {
  grid-row: 13;
  grid-column: 3;
}

.dg-14x3 {
  grid-row: 14;
  grid-column: 3;
}

.dg-15x3 {
  grid-row: 15;
  grid-column: 3;
}

.dg-border {
  border: 2px solid #005a6d;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dg-border > img {
  height: 95%;
  width: 95%;
  max-width: 283px;
  max-height: 283px;
}

#luefter {
  height: 95%;
  width: auto;
  max-width: 100%;
  max-height: 95%;
}

/* FAQ css */

.faqs {
  display: block;
  margin: auto;
  width: 90%;
  max-width: 950px;
}

#faq-blue {
  margin-top: 100px;
  height: 290px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#faq-blue > h1 {
  width: 90%;
  max-width: 820px;
}

#faq-headlines {
  text-align: center;
  margin: 80px 0px;
}

.qa-container {
  display: block;
  margin: 30px auto;
  width: 100%;
  overflow: hidden;
}

.q-container {
  height: 50px;
  width: 100%;
  border: none;
  margin-bottom: 0;
  font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
  color: #4b514d;
  text-align: left;
  padding-left: 80px;
  z-index: 2;
  color: white;
}

.a-container {
  z-index: -1;
}

.q-container:hover {
  font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
}

.q-inactive-kunde {
  background: url("/media/desktop/GreyPlus.svg") no-repeat 5% 15px #5ea5ab;
}

.q-inactive-kunde:hover {
  background: url("/media/desktop/DarkGreyPlus.svg") no-repeat 5% 15px #5ea5ab;
}

.q-active-kunde {
  background: url("/media/desktop/GreyMinus.svg") no-repeat 5% 15px #5ea5ab;
}

.q-active-kunde:hover {
  background: url("/media/desktop/DarkGreyMinus.svg") no-repeat 5% 15px #5ea5ab;
}

.q-inactive-builder {
  background: url("/media/desktop/GreyPlus.svg") no-repeat 5% 15px #005a6d;
}

.q-inactive-builder:hover {
  background: url("/media/desktop/DarkGreyPlus.svg") no-repeat 5% 15px #005a6d;
}

.q-active-builder {
  background: url("/media/desktop/GreyMinus.svg") no-repeat 5% 15px #005a6d;
}

.q-active-builder:hover {
  background: url("/media/desktop/DarkGreyMinus.svg") no-repeat 5% 15px #005a6d;
}

.a-hidden {
  position: relative;
  height: 0;
  animation-fill-mode: both;
  animation-duration: 0.5s;
  z-index: 1;
}

.a-shown {
  position: relative;
  /* height: auto; */
  animation-fill-mode: both;
  animation-duration: 0.5s;
  z-index: 1;
}

.a-container {
  margin-top: 0;
  background-color: #f2f2f2;
  overflow: hidden;
}

.a-text {
  display: block;
  text-align: justify;
  margin: auto;
  margin-left: 15%;
  max-width: 600px;
  padding: 20px;
}

@keyframes show-a {
  0% {
    top: -100%;
    height: 0;
  }
  100% {
    top: 0px;
    height: auto;
  }
}

@keyframes hide-a {
  0% {
    top: 0px;
    height: auto;
  }
  99% {
    top: -100%;
    height: auto;
  }
  100% {
    height: 0;
  }
}

/* Impressum css */

#impressum {
  margin: 50px 50px;
}

#impressum > table {
  margin: 30px 0;
  width: 90%;
  max-width: 500px;
}

.imp-a:hover {
  font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
  text-decoration: underline;
}

/* Downloads css */

#downloads {
  display: block;
  margin: 50px auto;
  width: 90%;
  max-width: 1200px;
}

.dl-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto 30px;
}

.dl-flex {
  display: flex;
  justify-content: space-evenly;
  align-content: center;
  flex-wrap: wrap;
  flex-direction: row;
}

.download-text, .dark-blue-text {
  color: #005a6d;
}

.box-shadow-small {
  -webkit-box-shadow: -4px 1px 33px -1px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: -4px 1px 33px -1px rgba(0, 0, 0, 0.75);
  box-shadow: -4px 1px 33px -1px rgba(0, 0, 0, 0.75);
  width: 180px;
  vertical-align: bottom;
}

.dl-a {
  position: relative;
  display: block;
  height: max-content;
  width: max-content !important;
  margin: 30px auto;
}

.dl {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  height: 100%;
  width: 180px;
  background-color: transparent;
  color: transparent;
}

.dl-a:hover .dl {
  width: 100%;
  height: 100%;
  display: block;
  text-align: center;
  background: rgba(67, 81, 96, 0.7);
}

.dl-button {
  display: none;
}

.dl-a:hover .dl-button {
  font-family: "Open Sans Bold", "Helvetica", "Arial", sans-serif;
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
  color: white;
  font-size: 16px;
  width: max-content;
  height: auto;
  border: none;
  text-decoration: none;
  background-color: #5ea5ab;
  transition: 0.5s;
  border-radius: 5px;
}

.dl-a:hover .dl-button:hover {
  background-color: #005a6d;
}

.smartphone {
  display: none;
}

#datenschutz {
  width: 90%;
  display: block;
  margin: auto;
}

#datenschutz a {
  color: blue;
}

#datenschutz a:visited {
  color: purple;
}

#datenschutz a:hover {
  text-decoration: underline;
  font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
}

/* VMPX-AQ css */
#vmpx-aq-headline {
  font-size: 3em;
  font-family: "Open Sans Bold Italic", "Helvetica", "Arial", sans-serif;
}

#luftreiniger-banner {
  position: relative;
  height: 500px;
  top: 0;
}

.airfix-filters {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  /* margin: auto auto 60px auto; */
  background-color: #5ea5ab;
}

.filter-header {
  /* margin-top: 3em; */
  margin-left: 35%;
  /* margin-right: auto; */
}

.filter-img {
  width: 50%;
  position: relative;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.flex-right {
  position: relative;
  width: 50%;
  align-content: center;
  overflow: hidden;
  padding-left: 5em;
  padding-right: 7em;
}

.vmpx-aq-intro-text {
  position: absolute;
  top: 15%;
  left: 75%;
}

.luftreiniger-intro-text {
  position: absolute;
  top: 60%;
  left: 75%;
}

.hokkaido-intro-text {
  margin-left: 23%;
  margin-right: 23%;
  padding-top: 20px;
  padding-bottom: 20px;
}

#vmpx-aq-start {
  display: block;
  margin: auto;
}

#vmpx-aq-assembly {
  width: 80%;
  height: auto;
  margin-left: 10%;
}

.dark-square-ul {
  list-style: none;
}

.dark-square-ul li {
  position: relative;
}

.dark-square-ul li::before {
  content: " ";
  position: absolute;
  top: 5px;
  left: -20px;
  background-color: #024553;
  height: 10px;
  width: 10px;
}

.red-square-ul {
  list-style: none;
}

.red-square-ul li {
  position: relative;
}

.red-square-ul li::before {
  content: " ";
  position: absolute;
  top: 5px;
  left: -20px;
  background-color: #d56451;
  height: 10px;
  width: 10px;
}

#virus-container {
  background-image: url("/media/desktop/VirusGrau.PNG");
  background-repeat: no-repeat;
  background-position-x: 80%;
}

#virus-img {
  height: 150px;
  width: auto;
  /* margin-right: 20px; */
  padding-bottom: 50px;
}

#virus-left {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 65%;
}

.intro {
  position: relative;
}

.flex-container {
  display: flex;
  align-items: center;
}

.enzyme-container {
  width: 100%;
  display: flex;
  flex-direction: row;
}

#enzyme-banner {
  width: 100%;
  height: 400px;
  top: 0px;
  opacity: 40%;
}

#enzyme-center {
  width: 100%;
}

.centered-text-container {
  width: 90%;
  max-width: 1000px;
  display: block;
  margin: auto auto 3em;
  /* text-align: justify; */
}

#virus-schematic {
  width: 460px;
  height: auto;
  margin-left: 30%;
}

#enzyme-table {
  width: max-content;
  display: block;
  margin: 50px auto;
  text-align: left;
  border-collapse: collapse;
  table-layout: fixed;
}

#enzyme-table tr th,
#enzyme-table tr td {
  /* background-color: #024553; */
  border-bottom: 1px solid #024553;
  color: #024553;
  padding: 5px 10px 5px 10px;
}

#enzyme-table tr td {
  background-color: #5ea5ab;
  color: white;
  padding: 5px 10px 5px 10px;
  overflow: hidden;
}

#enzyme-grid {
  display: grid;
  grid-template-rows: auto auto auto;
  grid-template-columns: auto 120px auto;
  align-items: center;
  justify-items: center;
  position: relative;
}

#enzyme-grid img {
  margin: 10px auto;
}

.eg-1x1 {
  grid-row: 1;
  grid-column: 1;
}

.eg-1x2 {
  grid-row: 1;
  grid-column: 3;
}
.eg-2x1-outer {
  grid-row: 2;
  grid-column: 2;
}
.eg-2x1 {
  grid-row: 2;
  grid-column: 1;
  width: 90%;
}
.eg-2x2 {
  grid-row: 2;
  grid-column: 3;
  width: 90%;
}
.eg-3x1 {
  grid-row: 3;
  grid-column: 1;
  width: 70%;
}
.eg-3x2 {
  grid-row: 3;
  grid-column: 3;
  width: 70%;
}

#enzyme-bottom {
  display: block;
  margin: 50px auto 50px auto;
  width: 50%;
  max-width: 400px;
}

#vmpx-aq-controller-text {
  /* text-align: justify; */
  width: 53%;
  display: block;
  margin: 40px auto 0px auto;
  padding-bottom: 50px;
}

#vmpx-aq-controller-container h2 {
  padding-top: 40px;
  margin-top: 0;
}

#controller-aq,
#co2-reg {
  display: block;
  margin: auto;
  width: 80%;
  max-width: 650px;
}

#aq-faq {
  margin: 50px auto;
}

.portrait-mode,
.tablet {
  display: none;
}

#pdf-modal {
  position: fixed;
  height: 100%;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
}

.modal-background {
  background: rgba(0,0,0,0.6);
  width: 100%;
  height: 100%;
  position: absolute;
}

.modal-container {
  position: relative;
  background: white;
  height: 90%;
  max-width: 90%;
  top: 5%;
  left: 5%;
  padding: 25px 0;
  border-radius: 5px;
  box-sizing: border-box;
}

#pdf-modal-close {
  position: absolute;
  right: 5px;
  top: 3px;
  cursor: pointer;
}

#pdf-modal-close::before {
  content: "X";
  font-weight: bold;
}

#pdf-modal-src {
  display: block;
  height: 100%;
  margin: 0 auto;
}

embed#pdf-modal-src {
  width: 100%;
}

.t-0 {
  top: 0;
}

.border-none {
  border: none;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-s {
  margin-top: calc(1 * var(--spacing));
}
.mr-s {
  margin-right: calc(1 * var(--spacing));
}
.mb-s {
  margin-bottom: calc(1 * var(--spacing));
}
.ml-s {
  margin-left: calc(1 * var(--spacing));
}

.mt-m {
  margin-top: calc(1.5 * var(--spacing));
}
.mr-m {
  margin-right: calc(1.5 * var(--spacing));
}
.mb-m {
  margin-bottom: calc(1.5 * var(--spacing));
}
.ml-m {
  margin-left: calc(1.5 * var(--spacing));
}

.mt-l {
  margin-top: calc(3.5 * var(--spacing));
}
.mr-l {
  margin-right: calc(3.5 * var(--spacing));
}
.mb-l {
  margin-bottom: calc(3.5 * var(--spacing));
}
.ml-l {
  margin-left: calc(3.5 * var(--spacing));
}

.big-image {
  display: block;
  width: 1280px;
  max-width: 100%;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.img-rounded {
  border-radius: 5px;
}

.img-inline {
  display: inline;
  vertical-align: middle;
}

.img-center {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.uppercase {
  text-transform: uppercase;
}

.flex-row {
  --gap: 16px;

  display: flex;
  align-content: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-right: calc(-.5 * var(--gap));
  margin-left: calc(-.5 * var(--gap));
}

.flex-row > * {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding-right: calc(.5 * var(--gap));
  padding-left: calc(.5 * var(--gap));
}

.flex-col {
  flex: 1 0 0%;
}

.flex-col-auto {
  flex: 0 0 auto;
  width: auto;
}

.flex-col-74 {
  flex: 0 0 auto;
  width: 74%;
}

.flex-col-50 {
  flex: 0 0 auto;
  width: 50%;
}

.flex-col-26 {
  flex: 0 0 auto;
  width: 26%;
}

.flex-col-65 {
  flex: 0 0 auto;
  width: 65%;
}

.flex-col-35 {
  flex: 0 0 auto;
  width: 35%;
}

.order-1 {
  order: 1;
}
.order-2 {
  order: 2;
}
.order-3 {
  order: 3;
}
.order-4 {
  order: 4;
}
.order-5 {
  order: 5;
}
.order-6 {
  order: 6;
}

/* KNX PAGE START*/

.container-image {
position: relative;
}

.container-text {
  position: absolute;
  width: 43%;
  right: 0px;
  bottom: -12px;
  z-index: 1;
  font-size: 0.9em;
  text-align: justify;
}

.container-text2 {
  position: absolute;
  width: 42%;
  left: 0px;
  bottom: -15px;
  z-index: 1;
  font-size: 0.9em;
  text-align: justify;
}

.container_knx{
  display: flex;
}

.left-side{
  width: 50%;
}

.right-side{
  width: 50%;
}

.keramik_pic{
  width: 80%;
  padding-left: 40px;
}

.keramik_text{
  width: 90%;
  text-align: justify;
  font-size: 0.9em;
}

.einschlafmodus_pic{
  width: 90%;
  padding-left: 50px;
  padding-bottom: 15px;
}

.einschlafmodus_text{
  width: 90%;
  text-align: justify;
  font-size: 0.9em;
  padding-left: 50px;
}

.house_knx_pic{
  width: 90%;
  padding-left: 50px;
}
.house_knx_text{
  width: 90%;
  text-align: justify;
  font-size: 0.9em;
  padding-left: 50px;
  margin-top: -15px;
}

.devices3_pic{
  width: 85%;
  padding-left: 10px;
}
.devices3_text{
  width: 90%;
  text-align: justify;
  font-size: 0.9em;
}

.house_system_pic{
  display: block;
  width: 85%;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
  margin-top: 60px;
}

.KNX_panel_div{
  width: 35%;
}
.KNX_panel_pic{
  width: 65%;
}

.knx_panel_title{
  margin-bottom: 30px;
}

.card {
  margin-top: 25px;
  display: flex;
  width: 100%;
}

.card-flip {
  display: flex;
  flex-direction: row-reverse;
}

.justify-start{
  display: flex;
  justify-content: start;
}

.justify-end{
    display: flex;
    justify-content: end;
  }

  .align-self-center {
    align-self: center;
  }

  .flex-row img {
    max-width: 100%;
  }

/* KNX media querries  */

@media screen and (max-width: 800px) {
  .container-image{
    display: block;
    position: static;
  }
  .container-text{
    position: static;
    width: 100%;
  }

  .container-text2{
    display: block;
    position: static;
    width: 100%;
  }

  .container_knx{
    display: flex;
    flex-direction: column;
  }
  .left-side{
    width: 100%;
  }
  .right-side{
    width: 100%;
  }

  .keramik_pic{
    width: 100%;
    padding: 0;
  }

  .keramik_text{
    width: 100%;
    padding: 0;
  }

  .einschlafmodus_pic{
    width: 100%;
    padding: 0;
  }
  .einschlafmodus_text{
    width: 100%;
    padding: 0;
  }

  .house_knx_pic{
    width: 100%;
    padding: 0;
  }
  .house_knx_text{
    width: 100%;
    padding: 0;
  }

  .devices3_pic{
    width: 100%;
    padding: 0;
  }
  .devices3_text{
    width: 100%;
    padding: 0;
  }

  .living_room_pic{
    width: 100%;
  }

  .house_system_pic{
    width: 100%;
    box-sizing: unset;
    justify-content: center;
    margin-top: 30px;
    margin-left: -15px;
  }

  .KNX_panel_div{
    width: 30%;
  }
  .KNX_panel_pic{
    width: 100%;
  }
  .touchpanels_text{
    margin:30px ;
  }
  .knx_panel_title{
    margin-bottom: 0px;
  }

  .sub_text_knx{
    margin-top: -15px;
    text-align: justify;
  }
}

@media only screen and (min-width: 800px) and (max-width: 1100px) {
  .container-image{
    display: block;
    position: static;
  }
  .container-text{
    position: static;
    width: 100%;
  }
  .container-text2{
    display: block;
    position: static;
    width: 100%;
  }
  .container-image img {
    border-radius: 10px;
    width: 50%;
  }
}

@media screen and (max-width: 600px) {
  .KNX_panel_div{
    width: 50%;
  }
  .KNX_panel_pic{
    width: 100%;
  }
  .touchpanels_text{
    width: 300px;
    margin-left:-30px ;
  }
  .knx_panel_title{
    margin-bottom: 0px;
  }
}

/* KNX PAGE END */

/* PRODUCTS PAGE */

.products-introduction-image {
  width: 80%;
  max-width: 500px;
  margin: 10%;
}

.products-module-image {
  width: 80%;
  max-width: 400px;
  margin: 10%;
}

.products-enOcean-image {
  width: 50%;
  margin-left: 30%;
}

.products-specification-image {
  width: 100%;
  max-width: 800px;
}

.products-tick-ul {
  display: block;
  margin: auto;
  list-style: none;
  width: 100%;
  padding-left: 5px;
}

.products-tick-ul > li {
  display: flex;
  align-self: center;
  margin: 20px 0px;
}

.products-tick-ul > li::before {
  content: url("/media/desktop/Tick.svg");
  padding-right: 10px;
  margin: 0;
}

.products-tick-ul.tick-white > li::before {
  content: url("/media/desktop/Tick-white.svg");
}

.products-tick-ul.tick-turquoise > li::before {
  content: url("/media/desktop/Tick-turquoise.svg");
}

.product-button-container {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  margin-top: 50px;
  margin-bottom: 100px;
  row-gap: 10px;
}

@media screen and (max-width: 600px) {
  .products-specification-image {
    width: 140%;
    margin-left: -50px;
  }

  .products_top_title{
    font-size: 24px;
  }

  .products_title{
    font-size: 24px;
  }
}

/* PRODUCTS PAGE END */

.app-heading-container {
  background-color: #005a6d;
  color: white;
  border-radius: 20px;
  padding: 25px 15px;
  margin: 32px auto 50px;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  box-sizing: border-box;
}

.app-heading-container img {
  height: 100px;
  margin-right: 30px;
  margin-left: 30px;
}
.app-heading-container h1 {
  margin: 0;
}

.ol-numbered {
  display: block;
  list-style: none;
}

.ol-numbered > li {
  display: flex;
  align-self: center;
  margin: 20px 0px;
}

.ol-numbered > li::before {
  padding-right: 10px;
  margin: 0;
  position: relative;
  top: -10px;
}

.ol-numbered > li:nth-child(1)::before {
  content: url("/media/desktop/number-1.png");
}
.ol-numbered > li:nth-child(2)::before {
  content: url("/media/desktop/number-2.png");
}
.ol-numbered > li:nth-child(3)::before {
  content: url("/media/desktop/number-3.png");
}
.ol-numbered > li:nth-child(4)::before {
  content: url("/media/desktop/number-4.png");
}

.download-app-container {
  border: 4px black solid;
  border-radius: 20px;
  overflow: hidden;
  width: 550px;
  margin: 0 auto 30px;
  max-width: 90%;
  box-sizing: border-box;
}

.download-app-container-upper {
  background-color: black;
  padding: 15px;
  color: white;
  text-align: center;
}
.download-app-container-lower {
  background-color: white;
  padding: 10px;
  flex-wrap: wrap;
}

.store-badge {
  height: 50px;
  padding: 5px 10px;
}

.frame-h {
  display: inline-block;
  background-color: white;
  padding: 10px 20px;
  border: 6px solid #005a6d;
  box-shadow: 0px 6px 4px 0px rgba(0, 0, 0, 0.7);
}

.app-frame {
  position: relative;
  height: 700px;
  width: 400px;
  max-width: 100%;
  max-height: 100%;
  padding: 25px 10px;
  background: black;
  border: 10px solid #5ea5ab;
  border-radius: 20px;
  margin: auto;
  display: block;
  box-sizing: border-box;
}

/* Large screens */
@media screen and (min-width: 2000px) {
  /* #landing-img-container {
    width: 110%;
  } */

  #efficiency-light-blue {
    height: 45vh;
  }
}

/* Tablet version */

@media screen and (max-width: 1800px) {
  .tablet {
    display: inline-block;
  }

  /* Landing page tablet css */

  #close-button {
    margin-left: 30px;
  }

  #consent-right {
    align-self: center;
  }

  #menu-icon {
    height: 25px;
    width: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 20px;
  }

  #menu-icon div {
    height: 5px;
    width: 100%;
    border-radius: 2px;
    background-color: white;
  }

  .main-nav-inactive {
    display: none;
  }

  .nav-a {
    padding: 17px 8px;
  }

  nav {
    margin: auto 30px;
  }

  .nav-box {
    display: none;
  }

  #curtain {
    display: none;
  }

  #top-bar {
    transform-origin: left;
    animation-fill-mode: both;
  }

  #middle-bar {
    transition: 0.3s;
  }

  #bottom-bar {
    position: relative;
    transform-origin: left;
    animation-fill-mode: both;
  }

  .rotate-top-forwards {
    animation: rotateTopForwards 0.3s linear;
  }

  .rotate-top-backwards {
    animation: rotateTopBackwards 0.3s linear;
  }

  .rotate-bottom-forwards {
    animation: rotateBottomForwards 0.3s linear;
  }

  .rotate-bottom-backwards {
    animation: rotateBottomBackwards 0.3s linear;
  }

  @keyframes rotateTopForwards {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(45deg);
    }
  }

  @keyframes rotateBottomForwards {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(-45deg);
      top: 1px;
    }
  }

  @keyframes rotateTopBackwards {
    0% {
      transform: rotate(45deg);
    }
    100% {
      transform: rotate(0deg);
    }
  }

  @keyframes rotateBottomBackwards {
    0% {
      transform: rotate(-45deg);
      top: 1px;
    }
    100% {
      transform: rotate(0deg);
      top: 0px;
    }
  }

  #landing-img-container {
    background-image: url("/media/desktop/Landingpage.jpg");
  }

  #landing-text-container {
    top: 10%;
    left: 5%;
  }

  #landing-text {
    margin: 10px 0px 20px;
  }

  .full-logo-text {
    font-size: 2em;
  }

  #landing-green,
  #landing-blue {
    font-size: 2em;
  }

  #landing-big {
    font-size: 3em;
  }

  .dark-blue-button {
    width: 300px;
  }

  #header-button {
    margin: 0;
  }

  #hokkaido-container {
    margin: 100px 0px 400px;
  }

  #hokkaido-pic {
    width: 100%;
    height: 500px;
  }

  #controller-pic {
    left: 50%;
    transform: translateX(-50%);
    top: 115%;
  }

  #part-one {
    left: 5%;
  }

  #part-three {
    left: 58%;
  }

  #part-five {
    left: 40%;
  }

  #part-six {
    left: 70%;
  }

  #part-seven {
    top: 135%;
    left: 75%;
  }

  #line-one {
    left: 23%;
    width: 11.5%;
    transform: rotate(58deg);
  }

  #line-two {
    left: 44%;
    width: 15%;
    transform: rotate(74deg);
  }

  #line-three {
    width: 9%;
    left: 66%;
    transform: rotate(90deg);
  }

  #line-four {
    left: 20%;
    width: 12%;
  }

  #line-five {
    left: 53%;
    width: 17%;
    transform: rotate(281deg);
  }

  #line-six {
    left: 82%;
    width: 20%;
    transform: rotate(283deg);
  }

  #h-blue {
    width: 80%;
  }

  #function-grid {
    width: 100%;
    grid-template-rows: auto auto auto;
    grid-template-columns: auto auto auto;
    padding-bottom: 0;
  }

  #function-grid img {
    max-width: 350px;
  }

  #fg-1x2 {
    grid-column: 2;
  }

  #fg-1x3 {
    grid-column: 3;
  }

  #fg-2x1 {
    grid-row: 2;
    grid-column: 1;
    margin: 20px 5px;
  }

  #fg-2x2 {
    grid-row: 2;
    grid-column: 2;
    margin: 20px 5px;
  }

  #fg-2x3 {
    grid-row: 2;
    grid-column: 3;
    margin: 20px 5px;
  }

  #fg-3x1 {
    grid-row: 3;
    grid-column: 1 / 3;
    display: grid;
    justify-self: left;
    margin-left: 2%;
  }

  #fg-3x3 {
    grid-row: 3;
    grid-column: 2 / 4;
    display: grid;
    justify-self: right;
    margin-right: 2%;
  }

  #function-text-container {
    align-items: baseline;
  }

  .function-text {
    width: 45%;
  }

  #prod-grid {
    grid-template-rows: repeat(6, 230px auto auto 50px);
    grid-template-columns: 49% 20px 49%;
  }

  .pg-1x3 {
    grid-row: 5;
    grid-column: 1;
  }

  .pg-2x3 {
    grid-row: 6;
    grid-column: 1;
  }

  .pg-3x3 {
    grid-row: 7;
    grid-column: 1;
  }

  .pg-4x1 {
    grid-row: 5;
    grid-column: 3;
  }

  .pg-5x1 {
    grid-row: 6;
    grid-column: 3;
  }

  .pg-6x1 {
    grid-row: 7;
    grid-column: 3;
  }

  .pg-4x2 {
    grid-row: 9;
    grid-column: 1;
  }

  .pg-5x2 {
    grid-row: 10;
    grid-column: 1;
  }

  .pg-6x2 {
    grid-row: 11;
    grid-column: 1;
  }

  .pg-4x3 {
    grid-row: 9;
    grid-column: 3;
  }

  .pg-5x3 {
    grid-row: 10;
    grid-column: 3;
  }

  .pg-6x3 {
    grid-row: 11;
    grid-column: 3;
  }

  .pg-7x1 {
    grid-row: 13;
    grid-column: 1;
  }

  .pg-8x1 {
    grid-row: 14;
    grid-column: 1;
  }

  .pg-9x1 {
    grid-row: 15;
    grid-column: 1;
  }

  .pg-7x2 {
    grid-row: 13;
    grid-column: 3;
  }

  .pg-8x2 {
    grid-row: 14;
    grid-column: 3;
  }

  .pg-9x2 {
    grid-row: 15;
    grid-column: 3;
  }

  .pg-7x3 {
    grid-row: 17;
    grid-column: 1;
  }

  .pg-8x3 {
    grid-row: 18;
    grid-column: 1;
  }

  .pg-9x3 {
    grid-row: 19;
    grid-column: 1;
  }

  .pg-10x1 {
    grid-row: 17;
    grid-column: 3;
  }

  .pg-11x1 {
    grid-row: 18;
    grid-column: 3;
  }

  .pg-12x1 {
    grid-row: 19;
    grid-column: 3;
  }

  .pg-10x2 {
    grid-row: 21;
    grid-column: 1;
  }

  .pg-11x2 {
    grid-row: 22;
    grid-column: 1;
  }

  .pg-12x2 {
    grid-row: 23;
    grid-column: 1;
  }

  .pg-10x3 {
    grid-row: 21;
    grid-column: 3;
  }

  .pg-11x3 {
    grid-row: 22;
    grid-column: 3;
  }

  .pg-12x3 {
    grid-row: 23;
    grid-column: 3;
  }

  #certs {
    width: 90%;
  }

  .team-pic {
    height: 330px;
    width: 330px;
  }

  .team-left,
  .team-right {
    width: 95%;
  }

  .team-text {
    margin: 10px 10px 50px 70px;
  }

  #contact-container {
    background-position-x: -510px;
  }

  #contact {
    padding: 48px 0;
    display: block;
    margin: auto;
    margin-left: 10%;
  }

  /* Architekten page tablet css */

  .landing-img {
    top: 0;
  }

  #af-grid {
    grid-template-rows: auto 30px auto 30px auto;
    grid-template-columns: 1fr 30px 1fr;
  }

  #af-grid img {
    max-width: 340px;
  }

  .af-1x2 {
    grid-row: 1;
    grid-column: 3;
  }

  .af-1x3 {
    grid-row: 3;
    grid-column: 1;
  }

  .af-2x1 {
    grid-row: 2;
    grid-column: 1;
  }

  .af-2x2 {
    grid-row: 2;
    grid-column: 3;
  }

  .af-2x3 {
    grid-row: 4;
    grid-column: 1;
  }
  .af-3x1 {
    grid-row: 3;
    grid-column: 3;
  }

  .af-3x2 {
    grid-row: 5;
    grid-column: 1;
  }

  .af-3x3 {
    grid-row: 5;
    grid-column: 3;
  }

  .af-4x1 {
    grid-row: 4;
    grid-column: 3;
  }

  .af-4x2 {
    grid-row: 6;
    grid-column: 1;
  }

  .af-4x3 {
    grid-row: 6;
    grid-column: 3;
  }

  #efficiency-label {
    width: 100%;
    height: auto;
    max-height: 450px;
    max-width: 250px;
  }

  #efficiency-label-container {
    align-self: center;
  }

  #apt-left {
    height: auto;
  }

  #apt-left button {
    width: 250px;
    max-width: 80%;
  }

  .aussschreibungstext-container {
    height: max-content;
    justify-content: space-evenly;
    flex-direction: column;
  }

  .ausschreibungstext-left,
  .ausschreibungstext-right {
    width: 85%;
    margin-left: 100px;
  }

  .blue-edge {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
  }

  /* Bauunternehmen tablet css */

  #builder-img {
    top: -80px;
  }

  #ml-img {
    position: relative;
    left: -290px;
  }

  #detail-header {
    left: 0;
  }

  #detail-grid {
    grid-template-columns: 335px 50px 335px;
  }

  /* VMPX-AQ tablet css */

  .intro h1 {
    left: 55%;
    font-size: 32px;
  }

  #virus-container {
    background: none;
  }

  #virus-left {
    width: 100%;
  }

  .enzyme-container {
    flex-direction: column;
  }

  #enzyme-left {
    height: 300px;
    background-image: url("/media/tablet/VirusGross.jpg");
    background-position-x: 0;
  }

  .eg-2x1-outer {
    left: 45%;
    top: 80px;
  }

  .q-container {
    height: max-content;
    min-height: 50px;
  }
}

/* Smartphone css */

/* Portrait mode */
@media screen and (max-width: 600px) {
  .light-blue-container h2 {
    text-align: center;
  }

  #content {
    overflow: hidden;
  }

  #consent {
    margin-right: 30px;
  }

  .nav-a:hover {
    border: none;
  }

  .portrait-mode {
    display: inline-block;
  }

  .kl-float {
    display: none;
  }

  .flex-container {
    display: block;
  }

  .card {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .card-flip {
  flex-direction: column;
  }

  .justify-start{
    display: flex;
    justify-content: center;
  }

  .justify-end{
      display: flex;
      justify-content: center;
    }

  .img-centered {
    width: 80%;
  }

  /* index phone css */
  #consent-popup {
    width: 100%;
    flex-direction: column;
  }

  #consent-left,
  #consent-right {
    width: 90%;
    padding: 5px;
    margin: 5px;
  }

  #nav-logo {
    margin-left: 10px;
  }

  .knx-logo {
    padding: 10px 0 10px 30px;
  }

  #header {
    height: max-content;
    min-height: 67px;
  }

  .main-nav-active {
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  #main-nav > div {
    margin: 5px 0px;
  }

  .nav-a {
    font-family: "Open Sans Bold", "Helvetica", "Arial", sans-serif;
  }

  .nav-active {
    border: none;
  }

  .nav-active::before {
    content: " ";
    position: absolute;
    left: -10px;
    top: 6px;
    width: 10px;
    height: 10px;
    background-color: #005a6d;
  }

  #landing-img-container {
    background-image: none;
    min-height: 350px;
  }

  #ad-banner {
    display: none;
  }

  .full-logo {
    width: 90%;
  }

  .full-logo-text {
    font-size: 1.5em;
  }

  #landing-big {
    font-size: 2.5em;
  }

  #landing-text-container {
    width: 90%;
  }

  #header-button {
    display: block;
    margin: auto;
  }

  .tick-ul {
    padding: 0;
  }

  #hokkaido-pic {
    width: 100%;
    height: 160px;
  }

  .hokkaido-part:not(#part-seven),
  .hokkaido-part-line {
    display: none;
  }

  #part-list {
    width: 80%;
    display: flex;
    flex-direction: column;
    margin: auto;
  }

  .hokkaido-part-number {
    position: absolute;
    border: 2px solid #005a6d;
    border-radius: 100%;
    padding: 3px 9px;
  }

  #number-one {
    left: 30%;
    top: 50%;
  }

  #number-two {
    left: 43%;
    top: 53%;
  }

  #number-three {
    left: 63%;
    top: 46%;
  }

  #number-four {
    left: 7%;
    top: 70%;
  }

  #number-five {
    left: 54%;
    top: 77%;
  }

  #number-six {
    left: 81%;
    top: 73%;
  }

  #part-seven {
    left: 60%;
    top: 130%;
  }

  #controller-pic {
    max-height: 200px;
    left: 30%;
    top: 115%;
  }

  #function-grid {
    grid-template-columns: auto;
    grid-template-rows: repeat(8, auto);
    justify-content: center;
  }

  #fg-3x1 {
    grid-column: 1;
    margin: 0;
  }

  #fg-1x2 {
    grid-row: 4;
    grid-column: 1;
  }

  #fg-2x2 {
    grid-row: 5;
    grid-column: 1;
  }

  #fg-3x3 {
    grid-row: 6;
    grid-column: 1;
    margin: 0;
  }

  #fg-1x3 {
    grid-row: 7;
    grid-column: 1;
  }

  #fg-2x3 {
    grid-row: 8;
    grid-column: 1;
  }

  #h-blue {
    width: 90%;
    font-size: 28px;
  }

  #function-text-container {
    flex-direction: column;
    align-items: center;
  }

  .function-text {
    width: 90%;
    margin: 20px 0;
  }

  .function-text p {
    text-align: left;
  }

  #prod-headlines .dark-blue-h {
    font-size: 30px;
  }

  #prod-grid {
    grid-template-columns: 100%;
    grid-template-rows: repeat(12, 230px auto auto 30px);
  }

  .pg-1x2 {
    grid-row: 5;
    grid-column: 1;
  }

  .pg-2x2 {
    grid-row: 6;
    grid-column: 1;
  }

  .pg-3x2 {
    grid-row: 7;
    grid-column: 1;
  }

  .pg-1x3 {
    grid-row: 9;
    grid-column: 1;
  }

  .pg-2x3 {
    grid-row: 10;
    grid-column: 1;
  }

  .pg-3x3 {
    grid-row: 11;
    grid-column: 1;
  }

  .pg-4x1 {
    grid-row: 13;
    grid-column: 1;
  }

  .pg-5x1 {
    grid-row: 14;
    grid-column: 1;
  }

  .pg-6x1 {
    grid-row: 15;
    grid-column: 1;
  }

  .pg-4x2 {
    grid-row: 17;
    grid-column: 1;
  }

  .pg-5x2 {
    grid-row: 18;
    grid-column: 1;
  }

  .pg-6x2 {
    grid-row: 19;
    grid-column: 1;
  }

  .pg-4x3 {
    grid-row: 21;
    grid-column: 1;
  }

  .pg-5x3 {
    grid-row: 22;
    grid-column: 1;
  }

  .pg-6x3 {
    grid-row: 23;
    grid-column: 1;
  }

  .pg-7x1 {
    grid-row: 25;
    grid-column: 1;
  }

  .pg-8x1 {
    grid-row: 26;
    grid-column: 1;
  }

  .pg-9x1 {
    grid-row: 27;
    grid-column: 1;
  }

  .pg-7x2 {
    grid-row: 29;
    grid-column: 1;
  }

  .pg-8x2 {
    grid-row: 30;
    grid-column: 1;
  }

  .pg-9x2 {
    grid-row: 31;
    grid-column: 1;
  }

  .pg-7x3 {
    grid-row: 33;
    grid-column: 1;
  }

  .pg-8x3 {
    grid-row: 34;
    grid-column: 1;
  }

  .pg-9x3 {
    grid-row: 35;
    grid-column: 1;
  }

  .pg-10x1 {
    grid-row: 37;
    grid-column: 1;
  }

  .pg-11x1 {
    grid-row: 38;
    grid-column: 1;
  }

  .pg-12x1 {
    grid-row: 39;
    grid-column: 1;
  }

  .pg-10x2 {
    grid-row: 41;
    grid-column: 1;
  }

  .pg-11x2 {
    grid-row: 42;
    grid-column: 1;
  }

  .pg-12x2 {
    grid-row: 43;
    grid-column: 1;
  }

  .pg-10x3 {
    grid-row: 45;
    grid-column: 1;
  }

  .pg-11x3 {
    grid-row: 46;
    grid-column: 1;
  }

  .pg-12x3 {
    grid-row: 47;
    grid-column: 1;
  }

  #troublemaker-1 {
    left: -60px;
  }

  #certs {
    flex-direction: column;
    height: max-content;
    width: 90%;
    align-items: center;
  }

  #certs > img {
    max-height: 200px;
    margin: 20px 0px;
  }

  #team-header .s40 {
    font-size: 35px;
  }

  .team-left,
  .team-right {
    flex-direction: column;
  }

  #contact {
    display: block;
    width: 90%;
    padding: 30px 0;
    margin: auto;
  }

  .text-input {
    margin-left: -7px;
  }

  .nested-footer {
    width: 90%;
    margin: auto;
    grid-template-columns: auto auto;
    grid-template-rows: auto 30px auto;
  }

  footer {
    height: max-content;
    padding-bottom: 50px;
  }

  .footer-1x3 {
    grid-row: 3;
    grid-column: 1;
  }

  .footer-1x4 {
    grid-row: 3;
    grid-column: 3;
  }

  /* architekten phone css */

  .start-text {
    margin: auto;
  }

  #af-grid {
    width: 90%;
    grid-template-columns: 100%;
    grid-template-rows: repeat(6, auto auto 20px);
  }

  .af-1x2 {
    grid-row: 4;
    grid-column: 1;
  }

  .af-2x2 {
    grid-row: 5;
    grid-column: 1;
  }

  .af-1x3 {
    grid-row: 7;
    grid-column: 1;
  }

  .af-2x3 {
    grid-row: 8;
    grid-column: 1;
  }

  .af-3x1 {
    grid-row: 10;
    grid-column: 1;
  }

  .af-4x1 {
    grid-row: 11;
    grid-column: 1;
  }

  .af-3x2 {
    grid-row: 13;
    grid-column: 1;
  }

  .af-4x2 {
    grid-row: 14;
    grid-column: 1;
  }

  .af-3x3 {
    grid-row: 16;
    grid-column: 1;
  }

  .af-4x3 {
    grid-row: 17;
    grid-column: 1;
  }

  #af-grid img {
    max-width: 100%;
  }

  #efficiency-container {
    flex-direction: column;
  }

  #efficiency-text {
    width: 100%;
  }

  #efficiency-label-container {
    width: 100%;
  }

  .tech-flex > * {
    margin: 0;
  }

  .white-blue-button {
    width: 100%;
  }

  #tech-data-dl-button {
    margin: 20px auto 20px auto;
  }

  #architect-prod-text-container {
    flex-direction: column;
  }

  #efficiency-light-blue {
    height: 215vh;
  }

  #apt-left,
  #apt-right {
    width: 100%;
  }

  #apt-left button {
    max-width: none;
  }

  #apt-left {
    height: 30%;
  }

  #apt-right {
    height: 70%;
  }

  #apt-left h2 {
    font-size: 30px;
  }

  #apt-ul {
    margin-left: 20%;
  }

  @keyframes slide-left {
    0% {
      left: 0;
    }
    100% {
      left: -100%;
    }
  }

  @keyframes slide-left-reverse {
    0% {
      left: -100%;
    }
    100% {
      left: 0%;
    }
  }

  .blue-edge {
    width: 0;
  }

  .ausschreibungstext-left,
  .ausschreibungstext-right {
    width: 90%;
    margin: auto;
  }

  .arrow-right {
    top: 0%;
    left: 0%;
  }

  .arrow-bottom,
  .arrow-top {
    background-color: #5ea5ab;
  }

  /* bauunternehmen phone css */
  #builder-img {
    top: 0;
  }

  #mont-left {
    display: none;
  }

  #mont-container {
    height: max-content;
  }

  #mont-right {
    width: 100%;
  }

  #dl-container {
    width: 90%;
    margin: auto;
  }

  #detail-header {
    top: -70px;
  }

  #detail-grid {
    width: 90%;
    margin: auto;
    grid-template-columns: 100%;
    grid-template-rows: repeat(9, auto auto auto 30px);
  }

  .dg-1x1-3 {
    grid-row: 1;
    grid-column: 1;
  }

  .dg-2x1-3 {
    grid-row: 2;
    grid-column: 1;
  }

  .dg-3x1-1 {
    grid-row: 3;
    grid-column: 1;
  }

  .dg-4x1 {
    grid-row: 5;
    grid-column: 1;
  }

  .dg-5x1 {
    grid-row: 6;
    grid-column: 1;
  }

  .dg-6x1 {
    grid-row: 7;
    grid-column: 1;
  }

  .dg-4x3 {
    grid-row: 9;
    grid-column: 1;
  }

  .dg-5x3 {
    grid-row: 10;
    grid-column: 1;
  }

  .dg-6x3 {
    grid-row: 11;
    grid-column: 1;
  }

  .dg-7x1 {
    grid-row: 13;
    grid-column: 1;
  }

  .dg-8x1 {
    grid-row: 14;
    grid-column: 1;
  }

  .dg-9x1 {
    grid-row: 15;
    grid-column: 1;
  }

  .dg-7x3 {
    grid-row: 17;
    grid-column: 1;
  }

  .dg-8x3 {
    grid-row: 18;
    grid-column: 1;
  }

  .dg-9x3 {
    grid-row: 19;
    grid-column: 1;
  }

  .dg-10x1 {
    grid-row: 21;
    grid-column: 1;
  }

  .dg-11x1 {
    grid-row: 22;
    grid-column: 1;
  }

  .dg-12x1 {
    grid-row: 23;
    grid-column: 1;
  }

  .dg-10x3 {
    grid-row: 25;
    grid-column: 1;
  }

  .dg-11x3 {
    grid-row: 26;
    grid-column: 1;
  }

  .dg-12x3 {
    grid-row: 27;
    grid-column: 1;
  }

  .dg-13x1 {
    grid-row: 29;
    grid-column: 1;
  }

  .dg-14x1 {
    grid-row: 30;
    grid-column: 1;
  }

  .dg-15x1 {
    grid-row: 31;
    grid-column: 1;
  }

  .dg-13x3 {
    grid-row: 33;
    grid-column: 1;
  }

  .dg-14x3 {
    grid-row: 34;
    grid-column: 1;
  }

  .dg-15x3 {
    grid-row: 35;
    grid-column: 1;
  }

  /* faq phone css */

  .a-text {
    margin: auto;
  }

  .q-container {
    padding-left: 50px;
  }

  /* impressum phone css */
  #impressum {
    margin: 5% 5%;
  }

  /* VMPX-AQ */

  #vmpx-aq-headline {
    font-size: 2em;
  }

  .intro h1 {
    left: 15%;
    font-size: 26px;
  }

  #luftreiniger-banner {
    position: relative;
    height: 15rem;
    top: 0;
  }

  .airfix-filters {
    display: block;
  }

  .filter-img {
    width: 100%;
  }

  .flex-right {
    width: 90%;
    margin-left: 1em;
    padding: 0 1em 0 0;
    margin-right: 2em;
  }

  .filter-header {
    margin-left: 0;
    margin-top: 3em;
  }

  .foerderungen-container {
    padding-left: 5%;
    padding-right: 10%;
    margin-left: 0;
  }

  .luftreiniger-intro-text {
    top: 7.5rem;
  }

  .hokkaido-intro-text {
    margin-left: 5%;
    margin-right: 5%;
  }

  #enzyme-banner {
    height: 16vh;
  }

  #vmpx-aq-assembly {
    height: 22vh;
  }

  #virus-left {
    flex-direction: column;
  }

  #virus-img {
    width: 20%;
    margin: auto;
    padding: 0;
    height: auto;
  }

  .red-h {
    margin-left: 5%;
  }

  #enzyme-left {
    background-position-x: -240px;
  }

  #virus-schematic {
    width: 100%;
    float: none;
    display: block;
    margin: auto;
  }

  #enzyme-table {
    width: 94%;
  }

  #enzyme-table tr th,
  #enzyme-table tr td {
    padding: 5px;
    width: 180px;
  }

  #enzyme-grid {
    grid-template-columns: 100%;
    grid-template-rows: repeat(7, auto 5px);
  }

  .eg-1x1 {
    font-family: "Open Sans Bold", "Helvetica", "Arial", sans-serif;
    font-size: 1.5em;
  }

  .eg-2x1-outer {
    position: static;
    grid-row: 3;
    grid-column: 1;
  }

  .eg-2x1 {
    grid-row: 5;
    grid-column: 1;
  }

  .eg-3x1 {
    grid-row: 1;
    grid-column: 1;
    z-index: -1;
    width: 100%;
    opacity: 40%;
  }

  .eg-1x2 {
    grid-row: 9;
    grid-column: 1;
    font-family: "Open Sans Bold", "Helvetica", "Arial", sans-serif;
    font-size: 1.5em;
    text-align: center;
  }

  .eg-2x2 {
    grid-row: 11;
    grid-column: 1;
  }

  .eg-3x2 {
    grid-row: 9;
    grid-column: 1;
    z-index: -1;
    width: 100%;
    opacity: 40%;
  }

  #enzyme-bottom {
    width: 100%;
  }

  #vmpx-aq-controller-text {
    width: 90%;
  }

  #controller-aq,
  #co2-reg {
    width: 110%;
    max-width: 600px;
    position: relative;
    left: -5%;
  }

  .flex-col-74, .flex-col-50, .flex-col-26 {
    flex: unset;
    width: 100%;
  }

  .order-1, .order-2, .order-3, .order-4 {
    order: unset;
  }
}

/* small phone landscape css */
@media screen and (max-width: 700px) and (orientation: landscape) {
  #nav-logo {
    margin-left: 20px;
  }

  #header {
    height: max-content;
    min-height: 67px;
  }

  .main-nav-active {
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  #main-nav > div {
    margin: 5px 0px;
  }

  .nav-a {
    font-family: "Open Sans Bold", "Helvetica", "Arial", sans-serif;
  }

  .nav-active {
    border: none;
  }

  .nav-active::before {
    content: " ";
    position: absolute;
    left: -10px;
    top: 6px;
    width: 10px;
    height: 10px;
    background-color: #005a6d;
  }

  #function-grid {
    grid-template-columns: auto;
    grid-template-rows: repeat(8, auto);
    justify-content: center;
  }

  #fg-3x1 {
    grid-column: 1;
    margin: 0;
  }

  #fg-1x2 {
    grid-row: 4;
    grid-column: 1;
  }

  #fg-2x2 {
    grid-row: 5;
    grid-column: 1;
  }

  #fg-3x3 {
    grid-row: 6;
    grid-column: 1;
    margin: 0;
  }

  #fg-1x3 {
    grid-row: 7;
    grid-column: 1;
  }

  #fg-2x3 {
    grid-row: 8;
    grid-column: 1;
  }

  #troublemaker-1 {
    left: -110px;
  }

  #troublemaker-3 {
    left: -35px;
  }

  .pg-1x2 .pg-top-right {
    right: 5px;
  }

  .pg-4x1 .pg-top-right {
    right: 6px;
  }

  .nested-footer {
    grid-template-columns: 60px 20px auto 60px 20px auto;
  }

  .ausschreibungstext-left,
  .ausschreibungstext-right {
    width: 80%;
    margin-left: 100px;
  }

  #af-grid {
    width: 90%;
    grid-template-columns: 100%;
    grid-template-rows: repeat(6, auto auto 20px);
  }

  .af-1x2 {
    grid-row: 4;
    grid-column: 1;
  }

  .af-2x2 {
    grid-row: 5;
    grid-column: 1;
  }

  .af-1x3 {
    grid-row: 7;
    grid-column: 1;
  }

  .af-2x3 {
    grid-row: 8;
    grid-column: 1;
  }

  .af-3x1 {
    grid-row: 10;
    grid-column: 1;
  }

  .af-4x1 {
    grid-row: 11;
    grid-column: 1;
  }

  .af-3x2 {
    grid-row: 13;
    grid-column: 1;
  }

  .af-4x2 {
    grid-row: 14;
    grid-column: 1;
  }

  .af-3x3 {
    grid-row: 16;
    grid-column: 1;
  }

  .af-4x3 {
    grid-row: 17;
    grid-column: 1;
  }

  #af-grid img {
    max-width: 100%;
  }

  #mont-right-text * {
    margin: 10px 0px;
  }

  #detail-grid {
    width: 90%;
    grid-template-columns: 49% 20px 49%;
  }
}

.coming-soon {
  font-size: 0.9em;
  font-style: italic;
}
