/* Alle Styles, die speziell für Screen sind */

:root {
  --max-width: 1600px;
  --page-padding: 5vw;
  --media: calc( var(--max-width) + var(--page-padding) * 2 );
}

@media (min-width: calc(1600px * 1.1)) {
  :root {
    --padding: calc((100vw - var(--max-width)) / 2);
  }
}

@media (max-width: calc(1600px * 1.1)) {
  :root {
    --padding: var(--page-padding);
  }
}

html {
  color: rgba(14, 15, 14, 1);
  /* font-size: 10px; */
  font-size: 9px;
  font-family: "Arial Narrow", sans-serif;
}

.content-wrapper, header, footer {
  padding-left: var(--padding);
  padding-right: var(--padding);
}


header {
  position: fixed;
  padding: 2rem 0;
  z-index: 5;
  top: 0;
  left: 0;
}

.header-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.header-items.small .header-item {
  padding-bottom: 0;
  padding-top: 0;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;

}

.header-items.small .header-item.logo img {
  max-height: 8rem;
  padding: 1rem
}

.header-items .header-item>ul:first-child, .header-items .header-item, .header-items .header-item.logo {
  transition: .4s ease all;
  -webkit-transition: .4s ease all;
  -moz-transition: .4s ease all;
  -ms-transition: .4s ease all;
  -o-transition: .4s ease all;
}

.header-media>* {
  max-width: 100%;
}

.header-media {
  overflow: hidden;
  width: 100%;
  max-width: calc(100vw - var(--scrollbar-width, 17px));
}

.header-media video {
  width: 100%;
  max-height: 100vh;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
  /* height: 100%;
  min-width: 100%;
  min-height: 56.25vw; */
}

.overlay_menu {
  display: none;
  width: 100%;
  height: 100%;
  background-color: #16304b;
  opacity: .95;
  z-index: 4;
  position: fixed;
  top: 0;
  left: 0;
}

.header-media .background-header {
  height: 50vh;
  width: 100vw;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center calc(50% - 25vh);
  padding: 3rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

/* HEADER WASSERMANN */

.header-item.nav {
  padding-bottom: 0!important;
  margin-right: 8.5rem;
  -webkit-box-flex: 1;
  flex-grow: 1;
  display: flex;
  -webkit-box-align: start;
  align-items: flex-start;
  -webkit-box-pack: justify;
  justify-content: flex-end;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
}

.header-item:not(.landingpage-logo).logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding-right: 6.85vw;
  width: calc((100% - (100vw / 12 * 8))/ 2);
}

.header-items.small .header-item {
  background-color: var(--white);

}

.header-item {
  padding: 2rem;
  background-color: rgba(255,255,255,.92);
}

.header-item:not(.header-item.logo) {
  padding-left: calc((100% - (100vw / 12 * 8))/ 2);

}

.header-item.nav>ul>li {
  padding: 4.2rem 5rem 4.2rem 0;
}

.nav ul {
  margin: 0;
}

.nav>ul {
  min-height: 2.2rem;
}

.nav ul li {
  padding: 0 5rem 0 0;
  list-style: none;
  display: inline-block;
  position: relative;
  margin: 0;
}

li:not(:last-child) {
  margin-bottom: 0.8rem;
}


.logo img {
  max-width: 25rem;
  max-height: 10rem;
  max-height: 12rem;
  min-width: 70px;
  width: 8vw;
  height: auto;
}
.single-messe .header-media .background-header {
  background-attachment: scroll;
  background-position: center;
}

.bg-lp .header-media .background-header,
.full-content.bg-lp .header-media .background-header {
  height: 40vh;
}



.header-media .background-header>* {
  position: relative;
}

.content-wrapper .header {
  hyphens: auto;
}

@media screen and (max-width: 1080px) {
  header {
    padding: 0;
  }

  .header-media {
    overflow: hidden;
    width: 100%;
    max-width: max-content;
    margin: 0;
}


  .header-item:not(.landingpage-logo).logo {
    /* padding: 1.5rem calc((100% - (100vw / 12 * 10))/ 2); */
    width: 100%;
    text-align: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }

  .header-item.nav {
    padding-left: calc((100% - (100vw / 12 * 10))/ 2);
    display: none;
  }

  .header-item:not(.landingpage-logo).logo img {
    height: 5rem;
    width: auto;
    max-width: none;
  }

  #hamburger {
    display: none;
  }
}

@media screen and (min-width: 1080px) {
  .only_mobile {
    display: none!important;
  }
}


@media screen and (max-width: 766px) {

  footer.footer.col .col.menus {
    margin: 0;
  }

  footer.footer.col .col.menus .footernav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }

  .footernav ul li {
    margin: 2rem 4rem 0 0;
  }
}

@media screen and (min-width: 769px) {
  body:not(.single) .header-media .background-header>.fixed-background-wrapper {
    position: fixed;
    height: 50vh;
    width: 100%;
    left: 0;
    top: 0;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block !important;
  }

  body:not(.single) .header-media .background-header {
    background: none !important;
  }

  body:not(.single) .header-media~*, footer {
    background-color: #fff;
    display: flow-root;
  }

}

@supports (-webkit-touch-callout: none) {
  .header-media .background-header {
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
  }
}

.header-media .background-header h1:not(.custom_headline),
.header-media .background-header .h1,
.header-media .background-header span {
  color: #fff;
  text-shadow: 0px 0px 10px rgb(0 0 0 / 50%);
  font-size: 54px;
  font-size: 3rem;
  font-weight: bold;
}

.subpage .header-media .background-header {
  height: 40vh;
  width: 100vw;
  background-repeat: no-repeat;
  background-size: cover;
}

.button, .btn, input[type="submit"] {
  background-color: var(--white);
  border: 1px solid var(--primary);
  color: var(--primary);
  /* min-height: calc(1em + 2.5rem); */
  padding: 1rem 2rem;
  display: inline-block;
  transition: all .3s ease;
  cursor: pointer;
}

.button:hover,
.btn:hover,
input[type="submit"]:hover {
    box-shadow: inset 0 0 5px rgb(0 0 0 / 30%);
    outline: 0;
}

.button.orange,
.btn.orange {
  background-color: var(--secondary);
  border: 1px solid var(--secondary);
  color: var(--white);
}

.application {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: var(--gap);
  align-items: stretch;
}

.application > div {
  background-color: var(--grey);
  padding: 1rem var(--gap);
}

.application li strong {
  min-width: 20rem;
}
