:root {
  --main-text-color:rgb(110, 110, 110);
  --font-txt:normal 1.1rem/1.8rem 'LexendDeca-Light', sans-serif;
  --font-middle:300 1.3rem/2.5rem 'LexendDeca-Regular', sans-serif;
  --bold:300 3.8rem/4rem 'LexendDeca-SemiBold', sans-serif;

  --blue:rgb(62,92,163);
}
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}
.text-center{
  text-align: center;
}
@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-Light';
    src: url('../Font/LexendDeca-Light.woff2') format('woff2'),
         url('../Font/LexendDeca-Light.woff') format('woff'),
         url('../Font/LexendDeca-Light.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;
}

h1{
  font: bold 2.3rem/3rem 'LexendDeca-SemiBold', sans-serif;
  color: var(--blue);
  position: relative;
  text-transform: uppercase;
}
h2{
  font:300 3rem/3.3rem 'LexendDeca-SemiBold', sans-serif;
  text-transform: uppercase;
  color: rgb(45,45,45);
  margin: 10px auto;
}
.bsw-h2{
  font:300 3rem/3.3rem 'LexendDeca-Light', sans-serif;
  color: var(--blue);
}

/* 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;
}
.service-wrap, .cont{
  max-width: 1440px;
  width: 80%;
  margin: auto;
}
.cont.subcont{
  margin: 4rem auto;
}
body, html {
	font: var(--font-txt);
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
  color: var(--main-text-color);
}
html {
  overflow-x: hidden;
}
a{
  color: var(--blue);
  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.bsw-btn {
  text-transform: uppercase;
  font-weight: bold;
  margin-left: 3px;
}
a.bsw-btn:hover {
  margin-left: 8px;
}
main {
overflow: hidden;
}
.content-all{
  position: relative;
}
.content-all:before {
  content: "";
  position: absolute;
  top: -100px;
  right: 50%;
  width: 100%;
  height: 100%;
  background: url("../Grafik/main-bg.png");
  background-position: top left;
  background-size: 100% auto;
  background-repeat: no-repeat;
  z-index: 1;
}
.content-all:after {
  content: "";
  position: absolute;
  top: -100px;
  right: 0;
  width: 100%;
  height: 500px;
  background: #d4d4d4;
  background: linear-gradient(180deg,rgba(212, 212, 212, 1) 0%, rgba(255, 255, 255, 1) 500px);
  z-index: 0;
}
header{
  width: 100%;
  position: relative;
  margin-bottom: 100px;
  display: inline-block;
}
header::after{
  position: absolute;
  content: "";
  bottom: -35px;
  left: 50%;
  z-index: 3;
  width: 90px;
  height: 90px;
  background-image: linear-gradient(-45deg, transparent 50%, #3e5ca3 50%);
}
header::before{
  position: absolute;
  content: "";
  bottom: -35px;
  left: 0;
  width: 50%;
  height: 90px;
  background: #3e5ca3;
  z-index: 3;
}
.header-wrap{
  position: relative;
  display: inline-block;
  width: 100%;
}
.headerbild{
  width: 100%;
  overflow: hidden;
  position: relative;
}
.slogan {
  position: absolute;
  z-index: 3;
  width: auto;
  right: 8%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  top: 50%;
  color: #fff;
  max-width: 40%;
  hyphens: auto;
  hyphenate-limit-chars: auto 4;
  hyphenate-limit-lines: 4;
}
.slogan h1{

  font: var(--bold);
  margin: 0;
  color: #fff;

  /* clamp(MINDESTGRÖSSE, WUNSCHGRÖSSE, MAXIMALGRÖSSE) */
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: normal;
}
.slogan h2{
  margin: 0;
  text-transform: inherit;
  color: #fff;
  font-weight: normal;
  font: 300 1.4rem/1.8rem 'LexendDeca-Light', sans-serif;
}
.headerbild-bg {
  width: 100%;
  line-height: 0;
}
.headerbild-bg img {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 30s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-delay: 0s;
    -webkit-animation-direction: alternate;
    -moz-animation-name: zoom;
    -moz-animation-duration: 30s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-delay: 0s;
    -moz-animation-direction: alternate;
    -ms-animation-name: zoom;
    -ms-animation-duration: 30s;
    -ms-animation-iteration-count: infinite;
    -ms-animation-delay: 0s;
    -ms-animation-direction: alternate;
    animation-name: zoom;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-delay: 0s;
    animation-direction: alternate;

    width: 100%;
    height: auto;
}
.headerbild-sub .headerbild-bg img {
  object-fit: cover;
  width: 100%;
  height: 450px;
  -webkit-animation-name: none;
}
.headerbild-sub {
  position: relative;
}
.bsw-title {
  position: absolute;
  z-index: 3;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  top: 60%;
  width: 80%;
  margin: auto;
  text-align: center;
  left: 0;
  right: 0;
}
.bsw-title h3{
  width: 100%;
  color: #fff;
  text-align: center;
}


@-ms-keyframes zoom {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, 0, 0) scale(1.1);
    }

    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@-moz-keyframes zoom {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, 0, 0) scale(1.1);
    }

    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@-webkit-keyframes zoom {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, 0, 0) scale(1.1);
    }

    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes zoom {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, 0, 0) scale(1.1);
    }

    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.headerbild-welder{
  position: absolute;
  bottom: 40px;
  z-index: 1;
  width: 40%;
  left: 10%;
  animation: shake 5000ms ease 0.5s infinite normal backwards;
  line-height: 0;
  height: 70%;
  animation-play-state: paused;
}
.headerbild:hover .headerbild-welder{
  animation-play-state: running;
}
@keyframes shake {
	0%,
	100% {
		transform: translateX(0);
	}

	1%,
	3%,
	5%,
	7% {
		transform: translateX(-3px);
	}

	2%,
	4%,
	6% {
		transform: translateX(10px);
	}

}

.headerbild-welder img{
  width: auto;
  height:100%;

  -webkit-animation-name: welder;
  -webkit-animation-duration: 30s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-delay: 0s;
  -webkit-animation-direction: alternate;

}
@keyframes welder {
	0% {
		transform: scale(1.08);
		transform-origin: 50% 100%;
	}

	50% {
		transform: scale(1);
		transform-origin: 50% 100%;
	}

  100% {
		transform: scale(1.1);
		transform-origin: 50% 100%;
	}
}

.headerbild-welder-light{
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
}
.headerbild-welder-light img{
  width: 100%;
  height: auto;

  -webkit-animation-name: welder-light;
  -webkit-animation-duration: 40s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-delay: 0s;
  -webkit-animation-direction: alternate;
}
@keyframes welder-light {
	0% {
		transform: scale(1);
		transform-origin: 50% 100%;
    background-position: left bottom;
	}

	50% {
		transform: scale(1.1);
		transform-origin: 50% 100%;
    background-position: left bottom;
	}

  100% {
		transform: scale(1);
		transform-origin: 50% 100%;
    background-position: left bottom;
	}
}

.header-top {
  position: absolute;
  z-index: 9;
  width: 80%;
  top: 30px;
  left: 10%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.logo{
  width: 30%;
}
.logo img{
  width: 100%;
  height: auto;
}
.nav{
  width: auto;
  background: rgb(27,27,27);
  line-height: 80px;
  position: relative;
  color: #fff;
  text-align: center;
  border-bottom: 2px solid var(--blue);
}
.nav::after{
  position: absolute;
  content: "";
  z-index: 1;
  height: 100%;
  width: 5000px;
  left: 100%;
  background: rgb(27,27,27);
  top: 0
}
.service-wrap {
  display: flex;
  display: -moz-flex;
  display: -o-flex;
  display: -ms-flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  padding: 3rem 0;
  position: relative;
  z-index: 1;
}
.service-item:last-child::after,
.service-item:last-child::before{
  position: absolute;
  content: "";
  top: -30px;
  background: var(--blue);
  right: -30px;
}
.service-item:last-child::after{
  width: 2px;
  height: 100px;
}
.service-item:last-child::before{
  width: 100px;
  height: 2px;
}
.service-item {
  width: 50%;
}
.service-item:first-child {
  flex: calc(50% - 30px);
  max-width: calc(50% - 30px);
  margin-right: 30px;
}
.service-item img{
  width: 100%;
  height: auto;
}
.service-item:last-child img:first-child{
  flex: calc(50% - 20px);
  max-width: calc(50% - 20px);
  margin-right: 10px;
}
.service-txt {
  margin-bottom: 40px;
}
.service-txt {
  margin-bottom: 40px;
}



/* 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,
.bsw-move-to-top,
.bsw-move-to-right,
.bsw-move-to-left
 {
  -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,
.bsw-move-to-top{
  transform: translateY(200px);
}
.bsw-move-left > div,
.bsw-move-to-left {
  transform: translateX(-200px);
}

.bsw-move-right > div,
.bsw-move-right > img,
.bsw-move-to-right {
  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;
}

.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);
}

/* BILD ANIMATION END */

.bsw-about-all {
  padding: 4rem 0;
}
.bsw-about-wrap {
  display: flex;
  display: -moz-flex;
  display: -o-flex;
  display: -ms-flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  align-items: stretch;
  padding-bottom: 120px;
}
.bsw-about-item:first-child {
  flex: calc(70% - 200px);
  max-width: calc(70% - 200px);
  padding: 100px;
  color: #f1f1f1;
  background: #333;
}

.bsw-about-item:last-child {
  flex: calc(30% - 80px);
  max-width: calc(30% - 80px);
  padding: 100px 40px 40px 40px;
  background: var(--blue);
  position: relative;
  top: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.bsw-about-item:last-child::after{
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: url("../Grafik/image-04.jpg");
  background-size: cover;
  z-index: 0;
  opacity: .2;
}
.bsw-about-item:last-child a {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: bold;
  position: relative;
  z-index: 1;
}
.bsw-about-item:last-child a::before,
.bsw-about-item:last-child a::after{
  position: absolute;
  content: "";
  top: -30px;
  background: #f1f1f1;
  right: -30px;
}
.bsw-about-item:last-child a::after{
  width: 2px;
  height: 100px;
}
.bsw-about-item:last-child a::before{
  width: 100px;
  height: 2px;
}

.bsw-about-item:last-child a:hover {
  margin-left: 5px;
}
.bsw-about-item h2 {
color: var(--blue);
}
.callery-wrap {
  width: 80%;
  margin: 0 auto 6rem auto;
  max-width: 1200px;
  position: relative;
  z-index: 1;
}
.callery-wrap h2 {
top: -40px;
position: relative;
}
a.bsw-main-link {
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: bold;
  position: relative;
  z-index: 1;
  margin-top: 100px;
}
a.bsw-main-link::before, a.bsw-main-link::after {
  position: absolute;
  content: "";
  top: -30px;
  background: #ccc;
  right: -30px;
}
a.bsw-main-link::after {
  width: 2px;
  height: 100px;
}
a.bsw-main-link::before {
  width: 100px;
  height: 2px;
}


.callery-img-wrap {
  display: flex;
  display: -moz-flex;
  display: -o-flex;
  display: -ms-flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.callery-img-item-images img{
  width: 100%;
  height: 100%;
}
.callery-img-item {
  flex: calc(50% - 0px);
  max-width: calc(50% - 0px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.callery-img-item-images{
  width: 100%;
  margin: 6px;
  line-height: 0;
}
.callery-img-item:last-child .callery-img-item-images:nth-child(1){
  max-width: calc(40% - 12px);
}
.callery-img-item:last-child .callery-img-item-images:nth-child(2){
  max-width: calc(60% - 12px);
}


.leistungen-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  text-align: center;
}
.leistungen-item {
  background: var(--blue);
  flex: calc(33.33333% - 120px);
  max-width: calc(33.33333% - 120px);
  padding: 40px;
  margin: 20px;
  color: #fff;
  border-radius: 10px;
}
.leistungen-item:nth-child(odd) {
  background: #ccc;
  color: var(--blue);
}


footer {
  margin-top: 4rem;
  background: #333;
}
.footer-top{
  display: flex;
  display: -moz-flex;
  display: -o-flex;
  display: -ms-flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  align-items: stretch;
  max-width: 1440px;
  width: 80%;
  margin: auto;
  margin-top: 100px;
  justify-content: space-between;
}
.footer-left,
.footer-right {
  flex: calc(45% - 120px);
  max-width: calc(45% - 120px);
  padding: 60px;
}
.footer-left{
  background: rgb(220,220,220);
  position: relative;
  top: -100px;
}
.footer-right{
  color:#ccc;
}
.footer-botten {
  background: #f1f1f1;
  padding: 30px 0;
  text-align: center;
  font-size: .9rem;
}
footer h3{
  font-size: 2.5rem;
  color: var(--blue);
}


@media(max-width: 1200px){
  .nav {
    background: none;
  }
  .nav::after{
    display: none;
  }
}
@media(max-width: 1000px){
  .bsw-about-item h2 {
  hyphens: auto;
  hyphenate-limit-chars: auto 4;
  hyphenate-limit-lines: 4;
  }
}
@media(max-width: 900px){
  .headerbild-bg img {
    object-fit: cover;
    width: 100%;
    height: 550px;
  }
}

@media(max-width: 800px){
  header::after{
  left: 80%;
  }
  header::before {
  width: 80%;
  }
  .slogan {
  right: 0;
  top: 66%;
  max-width: 80%;
  left: 0;
  margin: auto;
  text-align: center;
  }
  .logo {
  width: 50%;
  }
  .bsw-about-item:first-child {
    flex: calc(100% - 60px);
    max-width: calc(100% - 60px);
    padding: 80px 30px;
  }
  .bsw-about-item:last-child {
    flex: calc(100% - 80px);
    max-width: calc(100% - 80px);
    padding: 100px 40px;
    top: 0;
  }
  .footer-left, .footer-right {
  flex: calc(100% - 120px);
  max-width: calc(100% - 120px);
  padding: 60px;
  }
  .footer-right {
  margin-top: -120px;
  position: relative;
  }
  .callery-img-item {
  flex: calc(100% - 0px);
  max-width: calc(100% - 0px);
  }
  .leistungen-item {
    flex: calc(50% - 120px);
    max-width: calc(50% - 120px);
  }
}

@media(max-width: 700px){
  .service-item:first-child {
    flex: calc(100% - 30px);
    max-width: calc(100% - 30px);
    margin-right: 30px;
  }
  .service-item {
    width: 100%;
  }
  .footer-right {
  flex: calc(100% - 60px);
  max-width: calc(100% - 60px);
  padding: 30px;
  }
}

@media(max-width: 450px){
  h1,h2,h3{
    /* clamp(MINDESTGRÖSSE, WUNSCHGRÖSSE, MAXIMALGRÖSSE) */
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: normal;
    hyphens: auto;
    hyphenate-limit-chars: auto 4;
    hyphenate-limit-lines: 4;
  }
  .bsw-about-all {
  padding: 0rem 0;
  }
  .leistungen-item {
    flex: calc(100% - 120px);
    max-width: calc(100% - 120px);
  }

}
