:root {
  --main-text-color:rgb(110, 110, 110);
  --font-txt:300 1rem/1.8rem 'LexendDeca-Regular', sans-serif;
  --white:rgb(255,255,255);
  --font-middle:300 1.3rem/2.5rem 'LexendDeca-Regular', sans-serif;

  --red:rgb(240, 15, 30);
  --beige:rgb(245, 247, 242);
  --dark:rgb(0,47,70);
  --dark-grey:rgb(63,63,63);
}

@font-face {
    font-family: 'LexendDeca-Regular';
    src: url('../Font/LexendDeca-Regular.woff2') format('woff2'),
         url('../Font/LexendDeca-Regular.woff') format('woff'),
         url('../Font/LexendDeca-Regular.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'LexendDeca-Medium';
    src: url('../Font/LexendDeca-Medium.woff2') format('woff2'),
         url('../Font/LexendDeca-Medium.woff') format('woff'),
         url('../Font/LexendDeca-Medium.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'LexendDeca-SemiBold';
    src: url('../Font/LexendDeca-SemiBold.woff2') format('woff2'),
         url('../Font/LexendDeca-SemiBold.woff') format('woff'),
         url('../Font/LexendDeca-SemiBold.ttf') format('ttf');
    font-weight: bold;
    font-style: normal;
}

/* RESET  */
html, body, div, span, applet, object, iframe,
 blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}
.clearfix:after  {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
	font-size: 0;
}
.clearfix {
	display: inline-block;
}
* html .clearfix {
	height: 1px;
}
.clearfix {
	display: block;
}
body, html {
	font: var(--font-txt);
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
  color: var(--main-text-color);
}
html {
  overflow-x: hidden;
}
main{
  overflow: hidden;
}

/* ####################### BASE ####################### */

a{
  color: var(--red);
  text-decoration: none;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -ms-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
a:hover{
  color: var(--beige);
}
a.bsw-link{
  position: relative;
  padding: 15px 0;
  margin: 13px 0 10px 30px;
  display: inline-block;
}

.bsw-image-zoom{
  overflow: hidden;
}
.bsw-image-zoom img{
  -webkit-transition: all 0.25s ease-in-out;
-moz-transition: all 0.25s ease-in-out;
-ms-transition: all 0.25s ease-in-out;
-o-transition: all 0.25s ease-in-out;
transition: all 0.25s ease-in-out;
}
.bsw-image-zoom:hover img{
  transform: scale(1.2);
}

h1{
  font: bold 2.5rem/2.8rem 'LexendDeca-SemiBold', sans-serif;
  color: var(--red);
  margin-bottom: 30px;
  text-transform: uppercase;
}

h2{
  font:300 1.6rem/2rem 'LexendDeca-Regular', sans-serif;
  color: var(--dark-grey);
}
.header, main, footer{
  max-width: 1600px;
  margin: auto;
}
.cont, .header, .footer-top, .footer-bottom{
  width: 80%;
  max-width: 1440px;
  margin: auto;
}
header{
  width: 100%;
  position: relative;
}
header::after{
  background: var(--beige);
  content: "";
  height: 50px;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  z-index: -1;
}
.header {
  display: grid;
  grid-auto-flow: row dense;
  grid-template-columns: .9fr 1fr 1fr;
  grid-template-rows: 50px 85px;
  gap: 0px 0px;
  grid-template-areas: "logo nav-top nav-top"
  "logo nav-all nav-all";
  align-items: end;
}

  .logo {
    grid-area: logo;
    text-align: center;
    padding: 12px 0;
    background: var(--dark);
  }
  .nav-top { grid-area: nav-top; }

  .nav-all { grid-area: nav-all; }

  .nav-top a[href^="tel:"], .nav-top a[href^="mailto:"] {
      color:var(--link-color);
  }
  .nav-top a[href^="tel:"]:hover, .nav-top a[href^="mailto:"]:hover {
      color:var(--red);
  }

.logo img{
  width: 80%;
  height: auto;
  max-height: 80%;
}
.nav-main{
  display: flex;
  display: -moz-flex;
  display: -o-flex;
  display: -ms-flex;
  display: -webkit-flex;
  flex-direction: column;
}
.nav-top{
  background: var(--beige);
  height: 50px;
  line-height: 50px;
  font-size: .9rem;

  display: flex;
  display: -moz-flex;
  display: -o-flex;
  display: -ms-flex;
  display: -webkit-flex;
  justify-content: right;
}
.nav-top span.bsw-icon-email, .nav-top span.bsw-icon-tel{
  position: relative;
  margin-left: 60px;
}
.nav-top span.bsw-icon-email img, .nav-top span.bsw-icon-tel img{
  width: 20px;
  height: auto;
  position: absolute;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  top: 50%;
  left: -30px
}
.headerbild{
  width: 100%;
  position: relative;
  line-height: 0;
}
.headerbild img{
  object-fit: cover;
  width: 100%;
  height: auto;
}
.header-image.bsw-zoom.bsw-move-in {
  background: #333;
}
.headerbild.bsw-sub img{
  height: 400px;
  opacity: .5;
}
.slogan{
  position: absolute;
  z-index: 1;
  width: 80%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  top: 43%;
  left: 0;
  right:0;
  margin: auto;
}
.slogan h1 {
  max-width: 400px;
  font-size: 2.8rem;
  line-height: 3.2rem;
  margin: 0 0 15px 0;
}
.slogan h2 {
  max-width: 300px;
  font-size: 1.5rem;
  line-height: 1.8rem;
  margin: 0;
}
.welcome-wrap{
  position: relative;
  width: 100%;
  background: #f1f1f1;

  display: flex;
  display: -moz-flex;
  display: -o-flex;
  display: -ms-flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.welcome-item{
  width: 50%;
  position: relative;
  z-index: 1;
  -moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto;
}
.welcome-item:first-child{
  color: var(--red);
  font-size: 2rem;
  background: var(--dark);
  position: relative;
  z-index: 1;
}
.welcome-item:first-child::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--dark);
  left: 0;
  top: -100px;
  z-index: -1;
}
.welcome-item:first-child::after{
  content: "";
  position: absolute;
  width: 100%;
  height: 31px;
  background: var(--red);
  left: 0;
  bottom: -30px;
  z-index: -1;
}
.welcome-item:first-child .welcome-item-innen{
  padding: 0 70px 100px 20%;
}
.welcome-item:last-child .welcome-item-innen{
  padding: 70px 20% 70px 70px;
  background: var(--white);
  font: var(--font-middle);
  -webkit-box-shadow:0px 30px 20px -30px rgba(0,0,0,.3);
  box-shadow: 0px 30px 20px -30px rgba(0,0,0,.3);
}


/* BILD ANIMATION */
.bsw-move-toop{
  -webkit-transition: 1.5s!important;
  -moz-transition: 1.5s!important;
  -ms-transition: 1.5s!important;
  -o-transition:1.5s!important;
  transition: 1.5s!important;

  transform: translateY(200px);
  opacity: 0;

}
.fade-in > div{
  -webkit-transition: 3s!important;
  -moz-transition: 3s!important;
  -ms-transition: 3s!important;
  -o-transition:3s!important;
  transition: 3s!important;

  transform: translateY(10px);
  opacity: 0;

}
.fade-in-img > div{
  -webkit-transition: 1.5s!important;
  -moz-transition: 1.5s!important;
  -ms-transition: 1.5s!important;
  -o-transition:1.5s!important;
  transition: 1.5s!important;

  transform: scale(1.05);
  -ms-transform:scale(1.05);
  -webkit-transform:scale(1.05);
  -o-transform:scale(1.05);
  -moz-transform:scale(1.05);
  opacity: 0;

}

.bsw-move-top > div,
.bsw-move-top > div, .bsw-move-top > img,
.bsw-move-left > div, .bsw-move-left > img,
.bsw-move-right > div, .bsw-move-right > img {
  -webkit-transition: 1.5s;
  -moz-transition: 1.5s;
  -ms-transition: 1.5s;
  -o-transition: 1.5s;
  transition: 1.5s;
  opacity: 0;
}
.bsw-move-top > div{
  transform: translateY(200px);
}
.bsw-move-left > div {
  transform: translateX(-200px);
}

.bsw-move-right > div, .bsw-move-right > img {
  transform: translatex(200px);
}
.fade-in-img > div{
  -webkit-transition: 1.5s!important;
  -moz-transition: 1.5s!important;
  -ms-transition: 1.5s!important;
  -o-transition:1.5s!important;
  transition: 1.5s!important;

  transform: scale(1.05);
  -ms-transform:scale(1.05);
  -webkit-transform:scale(1.05);
  -o-transform:scale(1.05);
  -moz-transform:scale(1.05);
  opacity: 0;

}

/* BILD ANIMATION END */




/* SLIDER  */
.bsw-slider-all {
  margin-top: -70px;
  position: relative;
  display: inline-block;
}
.bsw-slider-all::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: #f1f1f1;
  z-index: -1;
}
.slider-wrap.cont {
  margin-top: 0;
}
.slider{
  width: 100%;
	position: relative;
}
.slider .controls-wrap{
  position: absolute;
  top: 70%;
  left: 75%;
  width: 25%;

  display: flex;
  display: -moz-flex;
  display: -o-flex;
  display: -ms-flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  align-items: center;
}

.slider .left-slide,.slider .right-slide{
  height: 40px;
  width: 40px;
  cursor: pointer;
  text-align: center;
}
.slider .left-slide img,.slider .right-slide img{
  width: 100%;
  height: auto;
  opacity: .5;
}
.slider .left-slide img{
  transform: rotate(180deg);
  margin-right: 20px;
}
.slider .left-slide img:hover,.slider .right-slide img:hover{
  opacity: 1;
}

.slider .right-slide{
	margin-left: 30px;
}
.slider .slider-items .item img{
	max-width: 100%;
	display: block;
	animation:zoom 1s ease;
}
.slider .slider-items .item.active{
  display: flex;
  display: -moz-flex;
  display: -o-flex;
  display: -ms-flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.slider-img{
  overflow: hidden;
  width: 70%;
}
.slider .slider-items .item .caption{
  width: 50%;
  margin: -30px 0 30px 30px;
  -webkit-box-shadow: 0px 0 50px -15px rgba(0,0,0,.3);
  box-shadow: 0px 0 50px -15px rgba(0,0,0,.3);
  padding: 30px;
  position: relative;
  z-index: 1000;
  background: #fff;
}

 .slider .slider-items .item .caption a{
   font-size: 14px;
   color:#999;
 }
 .slider .slider-items .item .caption a:hover{
   color:var(--red);
  margin-left: 10px;
 }

@keyframes zoom{
	0%{transform: scale(2);opacity: 0}
	50%{transform: scale(2);}
	100%{transform: scale(1);opacity:1}
}
.slider .slider-items .item{
	display: none;
	position: relative;
}

/* SLIDER END */

footer{
  width: 100%;
  background: rgb(83,83,83);
  position: relative;
  margin-top: 150px;
  color: #bbbaba;
  text-align: center;
}
footer::after{
  width: 100%;
  background: url("../Grafik/contakt-st-bg.jpg");
  position: absolute;
  content: "";
  background-size: cover;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 0;
  mix-blend-mode:multiply;
}
.footer{
  width: 80%;
  max-width: 600px;
  margin: auto;
  padding: 50px 0;
  position: relative;
  z-index: 1;
}
.footer-img {
  width: 80%;
  max-width: 300px;
  margin: -150px auto 50px;
  border-radius: 100%;
  overflow: hidden;
  border-top: 10px solid #fff;
  border-right: 10px solid #fff;
  border-left: 10px solid #fff;
  border-bottom: 10px solid var(--red);
  line-height: 0;
}
.footer-img img {
  width: 100%;
  height: auto;
}
 footer .footer .footer-txt h2{
   color: var(--white);
 }
 .footer-bottom{
   height: 40px;
   line-height: 40px;
   position: relative;
   z-index: 1;
 }
 .footer-bottom, .footer-bottom a{
   color: var(--white);
   font-size:12px;
 }

 .cont-top {
   width: 60%;
   max-width: 900px;
   margin: -100px auto auto;
   text-align: center;
   position: relative;
   background: var(--dark);
   padding: 50px;
   color: #f1f1f1;
 }
  .cont-top h2{
    color: var(--link-color-hover);
  }

  .leistungen-all {
    background: var(--beige);
    display: inline-block;
    margin: 6rem auto 3rem auto;
  }
  .leistungen-all h2 {
    text-align: center;
    margin: 80px auto 0px auto;
  }
  .leistungen-wrap {
    display: flex;
    display: -moz-flex;
    display: -o-flex;
    display: -ms-flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    text-align: center;
  }
  .leistungen-wrap.cont {
    margin: 3rem auto 6rem auto;
  }
  .leistungen-items {
    flex: 0 1 calc(33.3333% - 120px);
    max-width: calc(33.3333% - 120px);
    padding: 50px;
    margin: 10px;
    background: var(--white);
    text-align: center;
    -webkit-box-shadow: 0px 0px 16px -3px #000000;
    box-shadow: 0px 0px 20px -10px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  .leistungen-items h3{
    color:var(--link-color-hover);
    margin: auto;
  }

  .cont{
    margin: 6rem auto;
  }

  iframe {
  margin: 3rem auto;
  width: 100%;
  height: 450px;
  }
  .text-center {
    text-align: center;
  }
/* ###########################################################
####################### MOBILE ####################################
###########################################################
*/

@media screen and (max-width: 1200px){
    .leistungen-items {
    flex: 0 1 calc(50% - 120px);
    max-width: calc(50% - 120px);
  }
}
@media screen and (max-width: 1000px){
  .bsw-slider-all::before {
    height: 40%;
  }
  .slider .slider-items .item img {
    object-fit: cover;
    width: 100%;
    height: 450px;
  }
}
@media screen and (max-width: 991px){
  .nav-all {
    padding: 25px 0;
  }
  .headerbild img {
    height: 600px;
  }
  .welcome-item:first-child .welcome-item-innen {
    padding: 0 50px 100px 10%;
  }
  .welcome-item:last-child .welcome-item-innen {
    padding: 40px 20% 40px 70px;
  }
  .cont, .header, .footer-top, .footer-bottom {
    width: 90%;
  }
}
@media screen and (max-width: 800px){
  .header {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 0px 0px;
    grid-template-areas:
      "nav-top nav-top"
      "logo nav-all";
  }
  .nav-all .open-nav-menu {
     margin: auto;
   }
   .nav-all {
    padding: 50px 0;
  }
  .logo {
    padding: 5% 0;
  }

}
@media screen and (max-width: 750px){
  .welcome-item:first-child .welcome-item-innen {
     padding: 0 40px 50px 40px;
   }
   .leistungen-items {
     flex: 0 1 calc(100% - 120px);
     max-width: calc(100% - 120px);
   }
}
@media screen and (max-width: 700px){
  .slider-img {
    width: 100%;
  }
}
@media screen and (max-width: 650px){
  .slider .slider-items .item .caption {
    margin: -30px 20px 30px 20px;
    padding: 20px;
    flex: 0 1 calc(80% - 60px);
    max-width: calc(80% - 60px);
  }
  .headerbild img {
    height: 500px;
  }
  .welcome-item {
    width: 80%;
  }
  .welcome-item:first-child::before {
    top: -60px;
  }
  .welcome-item:last-child{
    margin-left: 20%;
  }
  .header {
    grid-template-columns: 1fr 0.5fr;
  }
  .logo {
   padding: 10% 0;
 }
 .slider .controls-wrap {
    top: initial;
    bottom: -50px;
  }
  .slider .slider-items .item .caption {
    flex: 0 1 calc(100% - 60px);
    max-width: calc(100% - 60px);
  }
}
@media screen and (max-width: 500px){
  .header{
    width: 100%;
  }
  .nav-top span.bsw-icon-email, .nav-top span.bsw-icon-tel {
    margin-left: 45px;
    font-size: 0;
    margin-right: 20px;
  }
  .welcome-item {
      width: 90%;
    }
  .welcome-item:last-child {
    margin-left: 10%;
  }
  .nav-top span.bsw-icon-email img, .nav-top span.bsw-icon-tel img {
    width: 25px;
  }

}

@@media screen and (max-width: 350) {

}
