/* COLOR VARIABLES */
:root {
  --primarycolor: #D20A11;
  --lightfont: #9D9D9C;
  --lightgrey: #E6E6E5;
  --grey: #cecece;
  --midgrey: #808080;
  --black: #1E1E1E;
  --white: #ffffff;
  --bildproportionen: 1;
  --containerbreite: 90vw;
  --swipersize: calc((var(--containerbreite) - 34px) / 2);
  --vierspalten: calc((var(--containerbreite) - 20px) / 2);
}

body {
  font-size: 16px;
  line-height: 24px;
}

footer {
  font-size: 14px;
  line-height: 22px;
}

footer .footerlogo,
footer .footeradresse {
  width: 30% !important;
}

footer .footernav,
footer .social {
  width: 70% !important;
}

footer .contentbox {
  margin-left: auto;
  margin-right: auto;
  width: var(--containerbreite);
  padding: 0px;
}

footer div.footerlogo {
  background-size: 200px;
  background-position: 0px 90px;
}

footer .footeradresse span {
  font-size: 16px;
  display: block;
}

.loginbutton {
  right: 100px;
  top: 26px;
}

#logo2 {
  display: none;
}

header.homepage {
  height: 95px;
}

header.fixed-header {
  height: 95px;
}

.contentbox {
  width: var(--containerbreite);
}

#inhalt {
  margin-top: 100px;
}

.lead {
  margin-bottom: 0px;
}

.cardbox {
  grid-template-columns: repeat(auto-fill, minmax(40vw, 1fr));
}

.cardimage {
  height: calc(((var(--containerbreite) - 15px)/2) * var(--bildproportionen));
}

div.triangle:after {
  display: inline-block;
  float: left;
  content: '\25B8';
  font-size: 58px;
  margin-top: 0px;
}

.topheader {
  top: 120px;
  height: 300px;
  width: 100%;
  background-size: 100% auto;
  margin-left: auto;
  margin-right: auto;
}

#topheaderoff {
  height: 0px;
}

.herocontent {
  margin-top: 120px;
  height: 300px;
}

.herocontent .contentbox {
  height: 300px;
}

.leftcolumn {
  clear: both;
  width: 100%;
  margin-right: 0%;
  margin-bottom: 15px;
}

.rightcolumn {
  clear: both;
  width: 100%;
  margin-right: 0%;
}

.rightcolumn_news {
  clear: both;
  width: 100%;
  margin-right: 0%;
}

#loader {
  margin-left: 0%;
  width: 100%;
  margin-right: 0%;
}

div.tabelleWrap {
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 2%;
  justify-content: space-evenly;
}

.sechstel,
.zweisechstel,
.dreisechstel {
  width: calc((100vw - 102px)/2);
}

.viersechstel {
  width: calc((100vw - 102px));
}

.spacer {
  display: none;
}

.projektuebersicht {
  width: 100%;
}

.projektuebersicht div.bild {
  width: var(--vierspalten);
  height: var(--vierspalten);
}

@media screen and (orientation: portrait) {

  #slider {
    width: 100%;
    clear: both;
    display: block;
  }

  .swiper-container-projekt {
    height: calc(96vw / 16 * 9);
  }

  .swiper-container-projekt .swiper-slide img {
    height: calc(96vw / 16 * 9);
  }

  #projektdetails {
    clear: both;
    margin-top: 20px;
    margin-left: 0px;
    width: 100%;
    height: auto;
  }

  #projektbeschreibung {
    clear: both;
    margin-top: 20px;
    margin-left: 0px;
    width: 100%;
    height: auto;
  }
}

.projektbox {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 25px;
  grid-row-gap: 25px;
}



.starttext {
  width: 50%;
  padding-left: 3%;
  top: 20vh;
  right: 0px;
}

.starttext h3 {
  font-size: 50px;
  line-height: 50px;
}

h1 {
  font-size: 50px;
  line-height: 50px;
  word-break: break-word;
}

h2 {
  font-size: 30px;
  line-height: 35px;
  word-break: break-word;
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 16px;
}

div.aside {
  margin: 0px 0px 0px 0px;
  padding: 0px;
  width: 20%;
  text-align: right;
}

div.aside img.icon {
  width: 80%;
  margin-right: 0px;
}

div.aside2 {
  margin: 50px 0px 0px 0px;
  padding: 0px;
  padding-bottom: 50px;
  width: 100%;
  text-align: left;
  clear: both;
  display: block;
}

div.aside2 img {
  margin-right: 0px;
}

div.cta {
  margin-left: 0px;
}

a.pfeil {
  padding: 6px 6px 6px 6px;
  display: inline-block;
  height: auto;
}

a.pfeil::after {
  margin-left: -1px;
}

.dlslidetitle h1 {
  font-size: 40px;
  padding-bottom: 15px;
  height: 60x;
  line-height: 40px;
}

#dlsubnavigation li.five:nth-child(5n) {
  margin-right: 1%;
}


#dlsubnavigation li.five:nth-child(2n) {
  margin-right: 0%;
}


div.context {
  width: 80%;

}

div.incontext {
  margin: 50px 0px 0px 0px;
  padding: 0px;
  width: 100%;
  clear: both;
  display: block;
}

/* NAVIGATION */



#topnavi {
  top: 0px;
  box-sizing: border-box;
  width: auto;
  padding-top: 30px;
}


#topnavi ul {
  display: none;
}

header.fixed-header #topnavi {
  position: fixed;
  top: 10px;
  background-color: var(--brandcolor);

}

#logoheader {
  height: 50px;
}

#logo {
  height: 50px;
}

header.sichtbar #logo {
  height: 50px;
  margin-top: 35px;
}

#mobilenavi {
  display: none;
  top: 120px;
  left: 0;
  position: fixed;
  z-index: 2000;
  opacity: 1;
  width: 100%;
  box-sizing: border-box;
  padding-left: 4%;
  padding-right: 4%;
  text-align: left;
  vertical-align: middle;
  color: var(--white);
  cursor: initial;
  padding-top: 10px;
  line-height: 40px;
  height: calc(100vh);
  text-align: center;
  background-color: var(--primarycolor);
}

#mobilenavi>ul {
  padding-inline-start: 0px;
}

header.fixed-header #mobilenavi {
  position: absolute;
  top: 0px;
}

#servicebox {
  display: none;
}

#servicebox_mobile {
  display: block;
  margin-top: 20px;
  font-size: 15px;
  color: #fff;
  font-weight: 400;
  text-align: left;
  z-index: 888;
}

#servicebox_mobile a,
#servicebox_mobile p {
  display: block;
  color: #fff;
  text-decoration: none;
  line-height: 25px;
}

#servicebox_mobile a.social {
  display: inline-block;
  margin-right: 10px;
  margin-top: 5px;
}

#servicebox_mobile a:hover {
  opacity: 0.5;
}

#servicebox_mobile img {
  height: 40px;
}

nav>ul {
  margin-top: 15px;
}

li.topnav {
  position: relative;
  display: block;
  text-align: left;
  width: auto;
  cursor: pointer;
  font-size: 22px;
  font-weight: regular;
  line-height: 25px;
  color: var(--white);
  background-color: transparent;
  -webkit-transition: none;
  /* Safari */
  transition: none;
  border-left: none;
  height: auto;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  margin-bottom: 0px;
  margin-top: 0px;
  border-bottom: 1px solid var(--white);
}

li.topnav:hover {
  color: var(--lightfont);
  -webkit-tap-highlight-color: rgba(177, 177, 177, 0);
  opacity: 0.75;

}


li.topnav_act {
  position: relative;
  display: block;
  text-align: left;
  width: auto;
  cursor: pointer;
  font-size: 22px;
  line-height: 25px;
  color: var(--white);
  -webkit-transition: none;
  /* Safari */
  transition: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  margin-bottom: 0x;
  margin-top: 0px;
  border-bottom: 2px solid var(--white);
  text-transform: uppercase;
}

li.topnav_act a::before {
  position: absolute;
  content: "\27EB";
  font-weight: 800;
  margin-left: -13px;
  font-size: 16px;
  display: block;
}


#topnavi>ul>li.topnav_act>a {
  color: var(--primarycolor);
}

li.topnav_act:hover {
  color: var(--lightfont);
  border-left: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  opacity: 0.75;
}

li.topnav:hover .subnavi,
li.topnav:focus .subnavi {
  display: none;
}

li.topnav_act:hover .subnavi,
li.topnav_act:focus .subnavi {
  display: none;
}


/* SUBNAVIGATION */
.subnavi {
  display: none;
  height: calc(100vh - 81px);
  position: fixed;
  padding-bottom: 20px;
  text-align: left;
  text-transform: none;
  padding-left: 4%;
  padding-right: 4%;
  padding-top: 0px;
  left: 0;
  margin-top: 10px;
  line-height: 40px;
  z-index: 2500;
  width: 100vw;
  list-style-type: none;
  border-left: none;
  -webkit-tap-highlight-color: var(--white);
  border: none;
  overflow: scroll;
  margin-left: 100vw;
  transition: all .4s ease-out;
  box-sizing: border-box;
  color: var(--white);
  visibility: visible;
  opacity: 1;
}

.subnavisec {
  top: 0px;
}

.subnavi.sichtbar {
  display: block;
  margin-left: 0vw;

}

li.subnavidiv {
  margin-left: 0px;
  position: relative;
  text-transform: none;
  color: var(--white);
  background-color: transparent;
  text-decoration: none;
  font-size: 22px;
  font-weight: normal;
  line-height: 25px;
  text-align: left;
  white-space: nowrap;
  display: block;
  -webkit-tap-highlight-color: var(--white);
  border: none;
  padding: 0px;
  border-bottom: 1px solid var(--white);
  box-shadow: none;
}

li.subnavidiv:hover,
li.subnavidiv:active,
li.subnavidiv:focus {
  color: var(--black);
  background-color: transparent;
}

li.subnavidiv a:hover::before {
  margin-left: 0px;
  content: '';
}


.winkel {
  width: 100%;
  height: 22px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin-top: 10px;
  background-image: url('style_img/angle.svg');
  background-size: 12px 22px;
  background-position: 100% 100%;
  background-repeat: no-repeat;
}

.navback {
  font-weight: 400;
  margin-bottom: 10px;
  margin-left: 20px;
}

.navback::before {
  content: ' ';
  width: 22px;
  height: 22px;
  position: absolute;
  transform: rotate(180deg);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin-top: 11px;
  background-image: url('style_img/angle.svg');
  background-size: 12px 22px;
  background-position: 100% 100%;
  background-repeat: no-repeat;
}

li.subnavidiv_act {
  position: relative;
  text-transform: none;
  color: var(--white);
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
  line-height: 25px;
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
  border: none;
  padding-left: 0px;
  background-color: transparent;
  padding: 0px;
  border-bottom: 2px solid var(--white);
  box-shadow: none;
}

/* LINKTAGS NAVIGATION */

li.topnav a,
li.topnav_act a {
  color: var(--white);
  text-decoration: none;
  display: block;
  padding: 10px 0px 9px 0px;
  font-weight: 400;
}

li.topnav_act>a {
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 700;
}

li.topnav a:hover {
  color: var(--lightfont);
}

li.topnav a:hover {}

a.Active {
  color: var(--black);
  padding: 0px;
  display: block;
}

li.topnav a.nav2,
li.topnav_act a.nav2,
li.topnav a.nav3,
li.topnav_act a.nav3 {
  color: var(--white);
  padding: 10px 0px 9px 0px;
  display: block;
  font-size: 0.75em;
  font-weight: normal;
}

li.topnav a.nav2_act,
li.topnav_act a.nav2_act,
li.topnav a.nav3_act,
li.topnav_act a.nav3_act {
  color: var(--white);
  padding: 0px;
  display: block;
  font-size: 0.75em;
  font-weight: normal;
}

li.topnav a.nav2:hover,
li.topnav a.nav2:active,
li.topnav a.nav2:focus,
li.topnav a.nav3:hover,
li.topnav a.nav3:active,
li.topnav a.nav3:focus {
  color: var(--black);
}

li.topnav a.nav2_act:hover,
li.topnav_act a.nav2_act:active,
li.topnav a.nav2_act:focus,
li.topnav a.nav3_act:hover,
li.topnav_act a.nav3_act:active,
li.topnav a.nav3_act:focus {
  color: var(--black);
  font-size: 0.75em;
}

a.nav3,
a.nav3_act {
  padding-left: 20px;
  color: var(--white);
}

a.nav2,
a.nav2_act {
  color: var(--white);
  padding: 10px 0px 9px 0px;
  font-family: "DINRegular", Helvetica, Arial, sans-serif !important;
}

a.nav2:hover,
a.nav2:active,
a.nav2:focus,
a.nav3:hover,
a.nav3:active,
a.nav3:focus {
  color: var(--lightfont);
}

li.topnav:last-child {
  border-right: none;
}

#topnavi>ul.metanavi {
  display: none;
}

nav,
.navbar-toggle {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.nav-hide {
  display: none;
}

.navbar-toggle {
  display: block;
  right: 3%;
  width: 30px;
  height: 30px;
  margin-top: 17px;
  cursor: pointer;
  position: absolute;
  text-align: center;
  z-index: 7000;
}

.bar1,
.bar2,
.bar3,
.bar1:active,
.bar2:active,
.bar3:active {
  width: 30px;
  height: 4px;
  margin-bottom: 5px;
  background-color: var(--primarycolor);
  transition: all 0.3s ease-in-out;
}

header {
  padding: 0px 0%;
}

header .contentbox {
  width: var(--containerbreite);
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
}


header.sichtbar .navbar-toggle .bar1,
header.sichtbar .navbar-toggle .bar2,
header.sichtbar .navbar-toggle .bar3 {
  background-color: var(--primarycolor);
}

header.sichtbar .navbar-on .bar2,
.navbar-on .bar2 {
  background-color: transparent;
}

.navbar-on {
  display: inline-block;
  position: absolute;
  left: auto;
  width: 30px;
}

#controls {
  top: 120px;
  left: 5%;
  left: auto;
  padding: 0px;
}

#buttonwrap {
  flex-wrap: wrap;
}

#buttonwrap>div {
  width: calc((var(--containerbreite) - 20px) / 2);
  margin-bottom: 10px;

}

.navbar-on .bar1 {
  transform-origin: 9% 40%;
  transform: rotate(45deg);
  background-color: var(--primarycolor);
}

.navbar-on .bar3 {
  transform-origin: 9% 40%;
  transform: rotate(-45deg);
  background-color: var(--primarycolor);
}



.navbar-on:hover .bar2 {
  background-color: transparent;
}

/* KONTAKTFORMULAR */

#googleMaps {
  width: 100%;
  padding-left: 0%;
  margin-top: 40px;
}

#kontaktformular {
  width: 100%;
  margin-right: 0%;
}

#kontaktformular label {
  font-size: 14px;
  line-height: 24px;
}

#kontaktformular div {
  width: 100%;
  margin-right: 0%;
}

#kontaktformular div.breit {
  width: 100%;
  margin-right: 0%;
}


div.cta a {
  font-size: 16px;
  line-height: 16px;
}

/* NEWS */


#newsbutton {
  left: 5%;
  height: 42px;
}

#newsbutton a {
  padding: 10px;
  color: #fff;
}


#newsbereich {
  position: relative;
  margin-top: 62px;
  width: 90%;
  clear: both;
  padding-left: 5%;
  padding-right: 5%;
  padding-top: 60px;
  padding-bottom: 60px;
  color: #fff;
}

.newspic {
  width: 150px;
  float: left;
  padding-right: 16px;
  margin-top: 7px;
  display: block;
}

.newsimage {
  width: 140px;
  height: 140px;
}

.newstext {
  width: calc(100% - 140px);
  padding-bottom: 40px;
}

button.mehr {
  margin-top: 10px;
  position: relative;
  bottom: auto;
  cursor: pointer;
  font-size: 100%;

}

.newslist form button.mehr {
  left: 160px;
}

.container .mix,
.container .gap {}

li.thema h2:hover::after {
  content: none;
}

li.themaAktiv h2:hover::after {
  content: none;
}

li.thema h4:hover::after {
  content: none;
}