/* ------------ Page Header with Background */
.page-header {
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: 50%;
}
.header-filter:before {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    left: 0;
    top: 0;
    content: "";
    background: rgba(0,0,0,.5);
}
.page-header .container {
    z-index: 1;
}
.container-page-header {
    margin-left:3.7rem !important;
}

.page-header h1,
.page-header h2 {
    color:white;
}

.page-header.fix {
    height:250px;
}
.page-header.fix h1 {
    margin-top: 170px;
    font-size: 2.3125rem;
    margin-bottom: 0px;
}
.page-header.fix h2 {
    margin-top: 0px;
    font-size: 1.25rem;
}

.video-bg.video-h-250 {
    height:250px;
}


/* ------------ Page Header Klassisch */
.header-page .container {
    padding-top:200px;
    padding-top:70px;
}
.header-page h2 {
    margin-top:0px;
}

.header-2 {
    position: relative;
}


/* ------------ Page Header Fixed height */
.header {
    background-color: #0a253b;
    position:relative;
}
/* ----- BEGIN Overlay Video */
.header-filter:before {
    background: rgba(0,0,0,.5);
}
/*.header-filter:after, */
.header-filter:before {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    left: 0;
    top: 0;
    content: "";
}


/* ----- END Overlay Video */


/* ------------ Kontakt GMaps */


.map {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}




/* ------------ YTP */
.bg-holder {
    position: absolute;
    width: 100%;
    min-height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    will-change: transform, opacity, filter;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-repeat: no-repeat;
    z-index: -1;
}
.bg-holder .bg-youtube {
    position: absolute !important;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
.header-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
}
.ytv-player .header-text {
    /*
    background: rgba(0,0,0);
    background-color: rgba(0,0,0,0.7);
    */
    color: white;
    padding-top: 45%;
}
/* ------------ Video Background */
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow:hidden
}

.video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 1;
    z-index: 1;
    object-fit:cover
}


/* ------------ Image Background */
.image-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow:hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}



/* ----------- END Startseite */



/* Work + References */
/* Header with main intro text */
header .page-main-intro {
    position:absolute;
    bottom:0;
    right:0;
    width:40%;
    z-index: 1;
}
header .page-main-intro.bg-dark {
    --bg-color-dark-opacity: 0.8;
    color:white;
}
header .page-main-intro.bg-dark .text-white {
    --text-opacity: 0.4;
}


/* ----------- Responsive */
/* ----------- Screen | Mobile */
@media (max-width: 992px) {

    /* Headliner Klassisch */
    .header-page .container {
        padding-top:30px !important;
    }
    .container-page-header {
        margin-left:15px !important;
        margin-right:15px !important;
    }

    /* Header */
    .page-header.fix {
        height: 89px;
    }

    .video-bg.video-h-250 {
        height: 90px;
    }

    .page-header.fix h1 {
        margin-top: 0px;
        margin-left: 100px;

    }

    .page-header h1 {
        font-size: 2.5rem !important;
        line-height: 37px !important;
        margin-bottom:32px !important;
    }



    /* ----- Arbeiten ----- */
    .header-contain-intro .page-main-intro {
        position: relative;
        width:100%;
    }
    .header-contain-intro #scroller {
        bottom: 200px;
    }

}