
/* Reset & Grundlayout */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: 17px;
    overflow-x: hidden;
}
/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;    
    background-color: #224a6f70;
}
header .logo img {
	height: 124px;
    padding: 3px 10px;
}
header .logo a{
	background-image: url(https://protec-bau.com/images/logo-video-bg.webp);
    height: 130px;
    display: inline-block;
    background-repeat: no-repeat;
    width: 450px;	
}
nav {
	width: 100%;
	padding-left: 30px;
    background: url(https://protec-bau.com/images/top-bg-left.webp) no-repeat left;
}
nav ul {
	padding: 5px 10px;
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    background: url('https://protec-bau.com/images/top-bg.webp') no-repeat center;
    background-size: cover;
    opacity: 1;
	transition: opacity 0.5s ease;
}
nav ul li {
    margin: 0 15px;
    padding: 15px;
    padding-top: 19px;
}
nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
}
nav ul li.flag {
    padding-top: 14px;
    position: absolute;
    right: 30px;
}
nav ul li.flag a img{
    vertical-align: middle;
}

#mobile-navi{
	background-image: url(https://protec-bau.com/images/mobile-navi.webp);
	height: 38px;
	width: 38px;
	position: absolute;
	display: none;
	opacity: 0;
	transition: opacity 0.5s ease;
}
/* Hero Bereich */
.hero {
    position: relative;
    height: 90vh;
    width: 100%;
    overflow: unset;
    margin-bottom: 15vh;
    background-color: #00000030;
}
.hero video {
    position: unset;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -2;
    background-color: #000;
}
.hero.animate video {
    position: fixed;
}
.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}
.hero .content {
	position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    padding: 16px 40px;
    background-color: #224a6f70;
    min-height: 220px;
    overflow: hidden;
    max-width: 800px;
}
.hero .content h1 {
    font-size: 3rem;
    margin: 0 0 20px;
    background: -webkit-linear-gradient(#fff, #ffffff, #404040, #d9d9d9, #cfcfcf, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    font-weight: 900;
    border-bottom: 1px solid #888;
    padding-bottom: 6px;
}
.hero .content p {
    font-size: 1.5rem;
    margin: 0;
}
.hero a{
	border: 1px solid #efefef;
	display: inline-block;
	margin-top: 15px;
}

/* Text Rotate Animation */
#hero-text-rotate {
    display: block;
    transition: transform 0.5s ease, opacity 0.5s ease;
    font-size: 22px;
}
.slide-out {
    transform: translateX(-100%);
    opacity: 0;
}
.slide-in {
    transform: translateX(0);
    opacity: 1;
}

.hero-bottom{
	height: 36px;
    width: 100%;
    bottom: 0px;
    position: fixed;
    background: url(https://protec-bau.com/images/menu-bg.webp) repeat-x;
    left: 0px;
    background-size: contain;
    z-index: 100;
    text-align: center;
    text-transform: uppercase;
    padding-top: 20px;
    color: #fff;
    font-weight: 500;
    font-size: 17px;
}
.call-to{
    position: fixed;
    right: 0px;
    bottom: 40px;
    z-index: 99;
    transform: translateX(100%);
    transition: transform 0.6s ease-out;
}
.call-to.slide-in {
    transform: translateX(0);
}
.call-to a{
	width: 380px;
    height: 66px;
	background-color: transparent;
	background: url(https://protec-bau.com/images/call-to-protec-bau.png);
    background-size: contain;
    padding: 40px 20px 0px 20px;
    text-align: right;
    font-size: 17px;
    font-weight: 700;
    text-decoration: underline;
    border: none;
}
.call-to-br{
	display: none;
}
.hero-bottom i{
	padding: 0 20px;
	text-shadow: 1px 1px 1px #000000c8;
}	

#scroll-top-img{
	position: absolute;
	bottom: 54px;
	left: calc(50vw - 30px);
	opacity: 0;
}
#scroll-top {

}
#scroll-top-img.show {
  opacity: 1;
  transition: 0.6s ease-out;
}

#content ul{
	color: #484848;
}
#content li{
	padding: 5px;
    font-size: 18px;
    letter-spacing: .2px;
}
#content li b{
	margin-bottom: 8px;
	display: inline-block;
}
/* Sections */

main {
     margin-top: -15vh;
}
section {
    padding: 60px 100px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    min-height: 75vh;
}
section.animate {
    opacity: 1;
}
section h2, section h3, section h3 {
    margin: 0 0 20px;
}
section p {
    line-height: 1.4;
    margin: 0 0 28px;
}
section a {
    display: inline-block;
    padding: 10px 20px;
    background: #224a6f;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}
section a.anker{
	visibility: hidden;
    height: 0px;
    padding: 0;
}

#section-willkommen{
	background-color: #eaeaea;
    background-image: url(https://protec-bau.com/images/content_bg.webp);
    background-position-x: right;
}
#section-planungsaufgaben{
	background-color: #162d43c8;
    color: #fff;
}
#section-planungsaufgaben h2{	
    color: #fff;
}
#section-planungsaufgaben .section-inner-width{
	padding: 30px 40px;
	background-color: #162d43c8;
	margin-top: 70px;
}
#section-planungsaufgaben .section-inner-width.linear{
	padding: 30px 40px;
    background-color: transparent;
    margin-top: 200px;
    padding-left: 15%;
    width: 25%;
}
#section-planungsaufgaben .section-inner-width.investment{	
    width: 35%;
    background: none;
}
#section-planungsaufgaben .section-inner-width.investment img{	
    width: 90%;
}

#section-planungsaufgaben .section-inner-width div>p{
    background-position-x: left;
    background-size: 48px;
    background-repeat: no-repeat;
    padding-left: 60px;
    min-height: 54px;
}

.pen-ruler{
    background-image: url(https://protec-bau.com/images/pen-ruler.webp);
}
.appartment-haus{
    background-image: url(https://protec-bau.com/images/appartment-haus.webp);
}
.einrichtung-schule{
    background-image: url(https://protec-bau.com/images/einrichtung-schule.webp);
}
.check{
    background-image: url(https://protec-bau.com/images/check.webp);
}
.check-mark{
    background-image: url(https://protec-bau.com/images/check-mark.webp);
}
.ruler{
    background-image: url(https://protec-bau.com/images/ruler.webp);
}
.work{
    background-image: url(https://protec-bau.com/images/work.webp);
}

#section-generaluebernehmer{
	background-color: #e0e0e0;
}

#section-investment{
	background-color: #fff;
}
#section-investment .section-inner-width{
    float: right;
}
#section-investment h2, #section-investment h3{
	width: 45%;
    margin-left: 50%;
}
.section-inner-width{
	width: 45%;
    float: left;
    padding-right: 5%;
}
.section-img{
	margin-top: -72px;	
	width: 43%;
	max-width: 600px;
	margin-left: 3%;
}
.center-desc{
	text-align: center;
	width: 70%;
	margin-bottom: 10px;
	margin-left: 15%;
}

#section-video{
	background-color: #162d43c8;
	padding-top: 50px;
	text-align: center;	
}
#section-video video{
	width: 75%;
}
#section-galerie{
	background-color: #fff;
}
#section-galerie h2{
	text-align: center;
}
#section-galerie .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
#section-galerie .gallery-item {
  position: relative;
  overflow: hidden; 
}
#section-galerie .gallery-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform .3s ease;
}
#section-galerie .gallery-item:hover img {
  transform: scale(1.1);
}
#section-galerie .gallery-title {
	text-align: center;
    font-weight: bold;
    background-color: #224a6fe8;
    margin-bottom: -40px;
    position: relative;
    z-index: 10;
    padding: 10px;
    min-height: 20px;
    color: #fff;
}
#galerie-more0, #galerie-more1, #galerie-more2{
	display: none;
	width: 80%;
	margin-left: 10%;
	background-image: url(https://protec-bau.com/images/galerie-more.png);
    background-position-x: center;
    background-position-y: top;
    background-repeat: no-repeat;
    text-align: center;
    border-top: 1px solid #224a6f;
    color: #fff;
}
#galerie-more0{
	display: block;
}
#section-galerie a{
	background: transparent;
    color: #fff;
    border: 0;
    height: 35px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
}
#hide-galerie0.gallery-grid, #hide-galerie1.gallery-grid, #hide-galerie2.gallery-grid{
	display: none;
}
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.lightbox.show {
  display: flex;
}
.lightbox-img {
  max-width: 80%;
  max-height: 80%;
}
.lightbox-caption {
	color: #fff;
    text-align: center;
    margin-top: 10px;
    width: 70%;
    position: absolute;
    background-color: #224a6f;
    bottom: 50px;
    padding: 10px;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
}
.lightbox-close {
  top: 20px;
  right: 30px;
}
.lightbox-prev {
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
}
.lightbox-next {
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
}

#section-kontakt{
	background-color: #101e2bc8;
}

#section-kontakt .section-inner-width{
	width: 50%;
    padding: 5%;
    background-color: #162d43ef;
    margin-left: 20%;
    color: #fff;
}

#section-footer{
	background-color: #1e3449;
    color: #fff;
    min-height: 35vh;
    line-height: 1.75em;
}
#section-footer h3{
	font-size: 17px;
	text-transform: uppercase;
}
#section-footer .footer-text{
	width: 42.5%;
    float: left;
    padding-right: 2.5%;    
}
#section-footer .footer-nav{
	width: 12.5%;
	float: left;
	padding-right: 1.5%;
}
#section-footer .footer-ort{
	width: 19.5%;
	float: left;
	padding-right: 1.5%;
}
#section-footer .footer-logo{
	width: 15%;
	float: left;
}
#section-footer a{
	padding: 0;
    text-decoration: underline;
    background: none;
}
#section-subfooter{
	background-color: #102038;
    color: #999;
    min-height: 80px;
    font-size: 14px;
    border-top: 3px inset #ddd;
    padding-top: 25px;
    padding-bottom: 25px;
}
#section-subfooter .subfooter-copy{
	width: 65%;
	float: left;
}
#section-subfooter .subfooter-links{
	width: 30%;
	float: left;
}
#section-subfooter a{
	padding: 0;
    color: #999;
    background: none;
}
/* Formular */
form {
    max-width: 800px;
    width: 100%;
    color: #fff;
}
form label {
    margin-bottom: 5px;
    font-weight: bold;
    width: 44%;
    margin-right: 5%;
    float: left;
}
form input, form textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 42%;
    margin-right: 3%;
    float: left;
}
form textarea {
	width: 93%;
}
form input.right-input{
	margin-right: 0%;
}
form button {
    padding: 10px 20px;
    border: none;
    background: #000;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    width: 45%;
    margin-left: 25%;
}

input#firma{
	display: inline-block;
}

.kontakt-link, .kontakt_link{
    color: #224a6f!important;
    background: none;
    text-decoration: underline;
}


.lazy{
	transform: translateY(50%);
}
.lazy-loaded{
    transform: translateY(0);
    transition: transform 0.6s ease-out;
}

/* Responsive */

@media screen and (min-width: 1600px) {
	section {
		padding: 60px 180px;
	}
	nav {
		width: 60%;
	}
	#section-video video{
		width: 72%;
	}
	.hero-bottom i {
		padding: 0 50px;
	}
}

@media (max-width: 1599px) {
	.hero-bottom i {
		padding: 0 40px;
	}
	#section-footer .footer-nav{
		width: 15%;
	}
	#section-footer .footer-ort{
		width: 19.5%;
	}
	#section-footer .footer-logo{
		width: 22.5%;
		float: right;
		margin-right: 3%;
	}
}

@media (max-width: 1400px) {
	section {
		padding: 60px 80px;
    }
	nav ul li.flag {
		padding-top: 0px;
		margin-top: -34px;
	}
	.hero-bottom i {
		padding: 0 30px;
	}
	#section-footer .footer-nav{
		width: 20%;
	}
	#section-footer .footer-ort{
		width: 25%;
	}
}

@media (max-width: 1280px) {
	section {
		padding: 60px 60px;
    }
	nav ul li {
		padding-left: 7px;
		padding-right: 7px;
	}
	nav ul li a{
		text-wrap-mode: nowrap;
	}
	header .logo a{
		width: 400px;
	}
	#section-video video {
		width: 90%;
	}
	.hero-bottom i {
        padding: 0 20px;
    }
	#section-footer .footer-nav{
		width: 20%;
	}
	#section-footer .footer-ort{
		width: 30%;
	}
}


@media (max-width: 1080px) {
	nav ul li:first-child {
		display: none;
	}
}


@media (max-width: 992px) {
	section {
		padding: 60px 40px;
    }
	nav {
		padding-left: 40px;
		background-size: contain;
		background-position: 0px -5px;
	}
	nav ul{
		display: inline-block;
		padding-top: 8px;
	}
	nav ul li{
		padding: 10px;
		float: left;
	}
	nav ul li:first-child {
		display: inline-block;
	}
    nav ul li.flag {
        margin-top: 5px;
        position: relative;
        right: 0px;
    }
	#section-kontakt .section-inner-width {
		width: 80%;
		margin-left: 5%;
	}
	.hero-bottom i {
        padding: 0 10px;
    }
	#section-footer .footer-logo {
        width: 38.5%;
        margin-top: 15px;
    }
    #section-footer .footer-text {
		width: 99.5%;
		text-align: justify;
		padding-bottom: 20px;
        margin-bottom: 10px;
        border-bottom: 1px solid #ccc;
	}
	#section-footer {
		min-height: 50vh;
	}
	.section-img {
		margin-top: 0;
	}
	#section-planungsaufgaben .section-inner-width.linear {
		padding-left: 5%;
	}
	#section-galerie .gallery-item {
		margin: 3px;
	}
	#section-planungsaufgaben .section-inner-width{
		margin-top: 30px;
	}
}


@media (max-width: 768px) {
	section {
		padding: 40px 20px;
    }
    nav {
		background: none;
    }
	nav ul {
        display: inline-grid;
        position: absolute;
        right: 30px;
        opacity: 0;
        display: none;
        margin-top: 48px;
    }
	.hero-bottom{
        padding-top: 8px;
        min-height: 48px;
        line-height: 1.2em;
        font-size: 15px;
    }
    header .logo a {
        width: 340px;
        height: 98px;
        background-size: contain;
    }
    header .logo img {
		height: 92px;
	}
	#mobile-navi{
		display: inline-block;
		opacity: 1;
        position: absolute;
        right: 30px;
	}
	.hero .content h1 {
		font-size: 2.4em;
	}
	.section-inner-width {
        width: 98%;
        float: none;
        padding-right: 1%;
	}
	.section-img {
        width: 97%;
    }
	#section-planungsaufgaben .section-inner-width {
        margin-top: 20px;
        padding: 20px 20px;
        width: 91%;
    }
    #section-planungsaufgaben .section-inner-width.linear {
        margin-top: 0px;
        width: 100%;
    }
	#section-planungsaufgaben .section-inner-width.investment {
		width: 70%;
		margin-left: 10%;
		text-align: center;
    }
    #section-investment h2, #section-investment h3 {
		width: 95%;
		margin-left: 2%;
	}
    #section-video video {
        width: 94%;
        margin-left: -5px;
        float: left;
    }
    #section-footer .footer-nav {
        width: 44%;
    }
    #section-footer .footer-ort {
        width: 48%;
    }
    #section-footer .footer-logo {
        margin-right: 25%;
    }
    #section-footer {
        min-height: 70vh;
    }
}


@media (max-width: 480px) {
	.hero-bottom i {
        font-size: 13px;
    }
    .hero .content h1 {
		font-size: 2em;
	}
	.hero .content {
		width: 82%;
        padding: 16px 10px;
	}
    #section-kontakt .section-inner-width {
        width: 90%;
        margin-left: 0;
    }
    .call-to a{
		width: 260px;
        padding: 15px 40px 0px 20px;
    }
    .call-to-br{
		display: block;
    }
    #section-galerie .gallery-grid{
		grid-template-columns: repeat(1, 1fr);
		width: 90%;
		margin-left: 4%;
	}
	section#section-video{
        width: 100%;
        min-height: 35vh;
    }
    #section-footer .footer-logo {
        float: none;
    }
    #section-footer .footer-logo a{
        margin-top: 20px;
    }
    #section-footer .footer-logo img{
        max-width: calc(90vw);
    }
    #section-footer {
        min-height: 90vh;
    }
}

@media (max-width: 360px) {
	form label {
		display: none;
	}
	form input, form textarea {
		width: 93%;
		margin-right: 1%;
	}
    input#firma{
		display: none;
    }
}
