


section#s_header{
    position: relative;
    width: 100%;
    z-index: 1;
    background-color: var(--primary);
    /* overflow:hidden; */
    /* display:flex; */
    /* align-items: center; */
    /* align-items: flex-end; */
}
/* section#s_header:before {
    top: 0;
    left: 0;
    content: '';
    position: absolute;
    display:block;
    width: 100%;
    height: 100%;
    background: -moz-linear-gradient(top, rgba(0,0,0,0.17) 0%, rgba(0,0,0,0) 46%, rgba(0,0,0,0.13) 99%, rgba(0,0,0,0.13) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.17) 0%,rgba(0,0,0,0) 46%,rgba(0,0,0,0.13) 99%,rgba(0,0,0,0.13) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0.31) 0%,rgba(0,0,0,0) 46%,rgba(0,0,0,0.53) 99%,rgba(0,0,0,0.5) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b000000', endColorstr='#21000000',GradientType=0 );
} */
body.single section#s_header{
    display:block;
}
section#s_header.dark #h_video:after {
    display: block;
    content: '';
    top: auto;
    left: 0;
    width: 100%;
    height: 40%;
    position: absolute;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgb(23 23 75) 100%);
    bottom: 0;
    opacity: 0.3;
    pointer-events: none;
}
section#s_header.bg-dark{
    background:var(--text);
}
section#s_header.has-bg-img{
    background:var(--text);
    background-size: cover;
    /* background-size: 1600px; */

}
.section-cta .section-h{
    font-size:8.4vw;
    text-transform:none;
}
section#s_header .theme-h {
    display: inline-block;
    font-weight: 700;
    line-height: 1.05;
    hyphens: auto;
    font-size: 1.6rem;
    color: var(--secondary);
    text-transform: uppercase;
    position: relative;
    letter-spacing: 0.02em;
    margin-bottom: 1.1rem;
    position: relative;
    top: 9rem;
    background: white;
    padding: 3rem 2rem;
    margin-bottom: 6rem;
}
section#s_header .theme-h .h-top::after {
    margin: 0.5em 0;
}
@media (min-width: 768px) {
    section#s_header .theme-h {
        padding: 3rem 5rem;
        font-size: 2.8rem;
    }
    section#s_header .theme-h .h-top::after {
        margin: 2em 0;
    }
}




section#s_header div.lead,
section#s_header p.lead,
section#s_header .lead p {
    line-height: 1.4;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--header-text-color);
}

#s_header .rkp-h-logo{
    max-width:52vw;
    display:inline-block;
    position:relative;
    margin-bottom:1.4vw;
}

figure.rot-inline-icon a{
	position:relative;
    transition:background-color .4s, color .4s, border-color .4s;
    transition:font-size .4s, background-color .4s, border-color .4s;
    transition-timing-function: cubic-bezier(1,.01,.81,.23);
}
figure.rot-inline-icon a:hover{
	background-color:var(--primary-hover);
}
section.rot-section .rot-inline-icon{
    font-size: 100px;
    line-height: 0.6;
    margin-bottom: 0;
    position: relative;
    left: -0.1em;
    color:var(--primary);
}
/* section.rot-section .rot-inline-icon svg path{
    fill:var(--primary);
} */
/* section.rot-section .rot-inline-icon.small-icon svg path{
    fill:var(--white);
} */
section.rot-section .rot-inline-icon svg{
    width:1em;height:1em;
}
section.rot-section .rot-inline-icon.smaller-icon,
section.rot-section .rot-inline-icon.small-icon {

    width: auto;
    display: inline-block;
    left:0;
}
section.rot-section .rot-inline-icon.smaller-icon a,
section.rot-section .rot-inline-icon.small-icon a{
    width: auto;
    display: inline-block;
    overflow:hidden;
}
section.rot-section .rot-inline-icon.smaller-icon a{
    font-size:inherit;
}
section.rot-section .rot-inline-icon.smaller-icon a:hover,
section.rot-section .rot-inline-icon.small-icon a:hover{
    border: 2px solid var(--primary-hover);
    background-color:var(--primary-hover);
}
section.bg-dark .item-content,
section.bg-dark p,
section.bg-dark h1,
section.bg-dark h2,
section.bg-dark h3,
section.bg-dark h4{
    color:var(--secondary);
}


section#s_header .rkp-h-caption,
section#s_header .header-caption-content,
section#s_header .header-caption{
    /* pointer-events:none!important; */
}
section#s_header .mute-vid{
    pointer-events:all!important;
    display:none;
}
body:not(.home) section#s_header .rkp-h-caption .mute-vid{
    display:none;
}

section#s_header .theme-h.scale-in{
    transform: scale(49.5);
    /* transform-origin: 50% 50%; */
    opacity:0;
}
section#s_header .theme-h.scale-in{
    pointer-events: none;
}
section#s_header.animation-ended .theme-h.scale-in{
    animation: scale-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0s 1 normal forwards;
}
section#s_header.rot-scrollable{
    position: relative;
    max-height:1400px;
}

section#s_header #h_video{
    /* height:calc(100vh - var(--admin-bar-height)); */
    height:100%;
    left: 0%;
    width: 100%;
    top: 0;
    position:absolute;
    opacity: 1;
    /* transform:translate3d(); */
    /* transition: left .5s, opacity .5s; */
}
section#s_header.has-bg-img{
    background-size: cover;
    height: 340px;
    margin-bottom: 0;
    transition: 0.5s ease all;
}

@media(min-width:576px){
    section#s_header .theme-h {
        font-size: 2.7rem;
        margin-bottom: 6rem;

    }
}
@media(min-width:768px){
    section#s_header .theme-h {
        font-size: 3rem;

    }
}
@media(min-width:992px){
    section#s_header .theme-h {
        font-size: 3.2rem;
    }
    section#s_header div.lead, section#s_header p.lead, section#s_header .lead p {
        font-size: 1rem;
    }

}
@media(min-width:1200px){
    section#s_header .theme-h {
        font-size: 3.7rem;
    }

    .h-h-wrap{
        display: flex;
        align-items: flex-end;
    }
    section#s_header.has-bg-img{
        background-size: cover;
    }
}
@media(min-width:1440px){

    section#s_header div.lead, section#s_header p.lead, section#s_header .lead p {
        font-size: 1.1rem;
    }
}
@media(min-width:1600px){
    section#s_header .theme-h {
        font-size: 4.5rem;
        margin-bottom:9rem;
    }
}
@media(min-width:1820px){

}
@media(min-width:1980px){
    section#s_header .theme-h {
        font-size: 5.4rem;
    }

}

.rkp-h-caption{
    z-index:4;
}

section#s_header .h-h-wrap,
section#s_header .header-caption-content{
    opacity:0;
    pointer-events:none;
    transition:opacity 2.5s;
    z-index: 3;

}
section#s_header.animation-ended .h-h-wrap,
section#s_header.animation-ended .header-caption-content{
    opacity:1;
    pointer-events:all;
}
body:not(.home) section#s_header.animation-ended .rkp-h-caption .theme-h,
body:not(.home) section#s_header.animation-ended .rkp-h-logo{
        opacity:0;
        animation: fade-in 2.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s 1 normal forwards;

}
body:not(.home) section#s_header.animation-ended .header-caption-content{
    opacity:0;
    animation: fade-in 2.5s cubic-bezier(0.64, 0, 0.78, 0) 1s 1 normal forwards;

}

body{
    --indicator-height:4rem;
    --indicator-top:calc(00% - 1.5rem);
}
section .indicator{
    position:absolute;
    top: var(--indicator-top);
    left:50%;
    height:0rem;
    width:.15rem;
    background:var(--warmwhite);
    transform:translateX(-50%);
    z-index:3;

    /* transition:height .4s;
    transition-delay:1s; */
}
section.first-section .indicator{
    display:none;
}
section#s_header .indicator{
    --indicator-top:calc(100% - 1.5rem);
}
section.trigger-indicator+section .indicator,
section.animation-ended .indicator{
    animation: height-bounce-sm 2.5s cubic-bezier(0.16, 1, 0.3, 1) 2.4s 1 normal forwards;
}
section.trigger-indicator+section .indicator{
    animation-delay: 0s;
}
section:nth-child(1).trigger-indicator+section .indicator{
    animation-delay: 0.2s;
}
section:nth-child(2).trigger-indicator+section .indicator{
    animation-delay: 0.4s;
}
section:nth-child(3).trigger-indicator+section .indicator{
    animation-delay: 0.6s;
}
section:nth-child(4).trigger-indicator+section .indicator{
    animation-delay: 0.8s;
}
section:nth-child(5).trigger-indicator+section .indicator{
    animation-delay: 0.2s;
}
section:nth-child(6).trigger-indicator+section .indicator{
    animation-delay: 0.4s;
}
@media(min-width:576px){
    body{
        --indicator-height:5rem;
        --indicator-top:calc(00% - 1rem);
    }
    section.animation-ended .indicator{
        animation: height-bounce 3s cubic-bezier(0.16, 1, 0.3, 1) 1.9s 1 normal forwards;
    }
    section#s_header .indicator{
        --indicator-top:calc(100% - 3rem);
    }
}
@media(min-width:992px){
    body{
        --indicator-height:5rem;
        --indicator-top:calc(00% - 1rem);
    }
    section.animation-ended .indicator{
        animation: height-bounce-lg 3s cubic-bezier(0.16, 1, 0.3, 1) 1.9s 1 normal forwards;
    }
    section#s_header .indicator{
        --indicator-top:calc(100% - 3rem);
    }
}


@keyframes fade-right-out {
	0% {
		transform: translateX(0);
        opacity:1;
	}

	50% {
		opacity:1;
	}

	100% {
		transform: translateX(100.1%);
        opacity:0;
	}
}
@keyframes fade-right-out2 {
	0% {
        transform: translateX(0) scale(1);
        opacity:1;
	}

	/* 50% {
        opacity:.5;
	} */
    /* 60% {
        transform: translateX(0) scale(1);
    } */
    75% {
        transform: translateX(0) scale(1);
    }
	100% {
		transform: translateX(-100.1%) scale(0);
        opacity:0;
	}
}
@keyframes scale-in {
	0% {
        transform: scale(49.5);
        transform-origin: left;
        opacity:0;
	}

	50% {
		opacity:1;
	}

	100% {
		transform: scale(1);
        opacity:1;
	}
}
@keyframes fade-in {
	0% {
        opacity:0;
        pointer-events:none;
	}

	100% {
        opacity:1;
        pointer-events:all;
	}
}
@keyframes fade-in-left {
	0% {
        opacity:0;
        transform: skewX(50deg);
        left:-100vw;
        pointer-events:none;
	}
    60%{
        transform:  skewX(50deg);
        opacity:1;
    }
	100% {
        opacity:1;
        transform: skewX(0deg);
        left:calc(100% - var(--car-size) - 2rem);
        pointer-events:none;
	}
}
@keyframes fade-in-left-line {
	0% {
        opacity:0;
        height:0;
        pointer-events:none;
        left: -100vw;
	}
    60%{
        opacity:1;
        height:6px;
        left:0;
    }
	100% {
        opacity:1;
        height:6px;
        left:0;
	}
}
@keyframes fade-in-right-line {
	0% {
        opacity:0;
        height:0;
        pointer-events:none;
        right: -100vw;
	}
    60%{
        opacity:1;
        height:6px;
        right:0;
    }
	100% {
        opacity:1;
        height:6px;
        right:0;
	}
}

@keyframes height-bounce-sm {
	0% {
        opacity:0;
        height:0;
        pointer-events:none;

	}
    62%{
        opacity:1;
        /* height:3.3rem; */
    }
	100% {
        height:4rem;
	}
}
@keyframes height-bounce {
	0% {
        opacity:0;
        height:0;
        pointer-events:none;

	}
    62%{
        opacity:1;
        /* height:3.3rem; */
    }
	100% {
        height:5rem;
	}
}
@keyframes height-bounce-lg {
	0% {
        opacity:0;
        height:0;
        pointer-events:none;

	}
    62%{
        opacity:1;
        /* height:3.3rem; */
    }
	100% {
        height:5rem;
	}
}




body header#masthead.whitened.has-item-active:before{
    background:var(--bg-transparent-light);
}

.rkp-quicklink-item a.h3{
    position:relative;
}
.rkp-quicklink-item a.h3 .acc-trigger{
    position:absolute;
    font-size:1.2rem;
    line-height:.9;
    right:0;
    transform:translateX(2rem);
    color: var(--primary);
}
.rkp-quicklink-item .item-content{
    display:none;
}
@media(min-width:768px){
    .rkp-quicklink-item a.h3 .acc-trigger{
        display: none;
    }
    .rkp-quicklink-item .item-content{
        display:block!important;
    }
}
@media(min-width:992px){
    #masthead ul.navbar-nav{
        /* color:var(--secondary); */
        color:var(--white);
    }
    #masthead.whitened ul.navbar-nav{
        color:var(--text);
    }
}


/*tolazzi*/

#s_header{
    padding-top: 0;
    display: flex;
    align-items: flex-end;
}
#s_header>.container.bg-img-container {
    margin-left: var(--container-margin);
    margin-right: auto;
    height: auto;
    position: absolute;
    min-height: calc(100%);
    z-index: 0;
    transition:opacity .9s;
}

#s_header>.container.bg-img-container figure.bg-img {
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    height: 100%;
}
#s_header figure.bg-img{
    background-color:var(--primary-orig);
    overflow:hidden;
    border-radius:8px;
}
#s_header figure.bg-img img {
    object-position: right center;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
}
.user-colorscheme-light #s_header>.container.bg-img-container {
    opacity: 0.7;
}
.user-colorscheme-light #s_header figure.bg-img img{
    filter: contrast(1);
    mix-blend-mode: multiply;
    opacity: 1;
}
/* #s_header figure.bg-img:after {
    content:'';
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:black;
    opacity:.4;
    position:absolute;
} */
#s_header .rkp-h-caption{
    /* background: red; */
    z-index: 2;
    position: relative;
}
#s_header .rkp-h-caption .header-caption{
    padding: 2.5rem 0;
}

@media (min-width: 768px) {
    #s_header .rkp-h-caption .header-caption{
        padding: 2.5rem 1.3rem;
    }
}

body:not(.masthead-below-d) .second-logo-container .site-logo {
    background: var(--primary);
    border-radius: 100%;
    height: 8em;
    width: 8em;
    padding: 1.6em;
    border: 0.15em solid transparent;
    font-size: 16px;
}
#bastl_anim .header-desc h1{
    font-size:inherit;
    color:inherit;
    text-transform:inherit;
    font-weight:inherit;
    letter-spacing:inherit;
}
#bastl_anim .header-desc {
    font-size: 20px;
    text-transform: uppercase;
}
.second-logo-container .site-logo svg {
    max-width: 100%;
}
.second-logo-container .site-logo svg path{
    /* fill:var(--white)!important; */
    fill:var(--secondary)!important;
}


@media(min-width:576px){
    body:not(.masthead-below-d) .second-logo-container .site-logo {
        font-size: 17px;

    }
    #bastl_anim .header-desc {
        font-size: 24px;
    }
}
@media(min-width:768px){

    #s_header .rkp-h-caption .header-caption{
        padding: 0;
    }
    body.scrolled.nav-fx-scroll-down .second-logo-container .site-logo{

    }
    body.scrolled .second-logo-container {
        /* position: fixed;
        opacity: 1;
        top: var(--admin-bar-height); */
    }
    body.scrolled .site-logo{
      /*   width:9rem;
        font-size:.5rem; */
    }
    #bastl_anim .header-desc {
        font-size: 28px;
    }
}
@media(min-width:1200px){
    #bastl_anim .header-desc,
    body:not(.masthead-below-d) .second-logo-container .site-logo {
        font-size: 22px;
        padding:1.5em;
    }
    body:not(.masthead-below-d).page-template-default .second-logo-container .site-logo {
        /* font-size: 16px; */
    }

    #bastl_anim .header-desc {
        font-size: 36px;
    }
}
@media(min-width:1800px){
    #bastl_anim .header-desc,
    body:not(.masthead-below-d) .second-logo-container .site-logo {
        font-size: 38px;
    }
}
.bg-svg {
    position: absolute;
    top: calc(-5px - var(--header-height));
    width: 100%;
    opacity: 0.5;
    overflow:hidden;
}
.bg-svg svg {
    right: -10rem;
    position: relative;
}
.bg-svg path,
.bg-svg polygon{
    fill: none!important;
    stroke-width: 2px!important;
    stroke: var(--primary-anti)!important;
    /* position: absolute; */
    /* top: 0; */
}
body{
    background-color:var(--secondary);
}


/*GÜSSING*/
/*GÜSSING*/
/*GÜSSING*/
/*GÜSSING*/
/*GÜSSING*/
/*GÜSSING*/



figure.rkp-2-pix{
	width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}
figure.rkp-2-pix img {
    width: 900px;
    height: auto;
    object-fit: cover;
    position: absolute;
    top: auto;
    bottom: -30px;
    filter: hue-rotate(-7deg) brightness(0.7);
    left: auto;
    right: -100px;
    opacity: 1;
    transition: opacity .1s;
}
figure.rkp-2-pix img:last-of-type{
	opacity:0;
}
figcaption.rkp-switch{
	width: 4.2em;
	height:2em;
    position: absolute;
    top: 2rem;
    left: var(--container-margin);
    border-radius: 400px;
    border: .15em solid white;
    padding: .15em;
    position: relative;
	color:white;
	cursor:pointer;
	font-size:1.7rem;
}
figcaption.rkp-switch .toggler{
	position: absolute;
	top: .1em;
    left: .2em;
    width: 1.5em;
    background: white;
    height: 0;
    padding-bottom: 1.5em;
    border-radius: 50px;
	transition: right .5s, left .5s;
}
figcaption.rkp-switch .on,
figcaption.rkp-switch .off{
	text-transform: uppercase;
	font-weight: 600;
	font-size: 0.8em;
	line-height: 1.9em;
	position: absolute;
	transition:opacity .5s, color .5s;
}
figcaption.rkp-switch .off{
	right: 0.55em;
}
figcaption.rkp-switch .on{
	left: 0.75em;
	opacity:0;
}

figcaption.rkp-switch.active .toggler {
	left: calc(100% - 1.7em);
	/* right: .2em; */
}
figcaption.rkp-switch.active .on {
	opacity:1;
	/* right: .2em; */
}
figcaption.rkp-switch.active .off {
	opacity:0;
	/* right: .2em; */
}
figure.rkp-2-pix.active img:last-of-type {
    opacity: 1;
    filter: hue-rotate(-7deg) brightness(1);
}
/* .rkp-2pix{

} */

@media(min-width:768px){
	figure.rkp-2-pix img {
		width: 1300px;
	}
}
@media(min-width:1200px){
	figure.rkp-2-pix img {
		width: 100%;
		right:0;
		bottom:-10%;

	}
}
@media(min-width:1600px){
	figure.rkp-2-pix img {
		bottom:-30%;

	}
}



.logo-wrap{
	z-index:3;
}
.logo-wrap path{
	transition:fill .5s .5s!important;
}
body .nav-tel-link.btn.rkp-btn {
	border-radius: 0;
	padding: 10px 12px;
	margin-top: 0;
	margin-right: 0.8rem;
}
body .nav-tel-link.btn.rkp-btn span{
	display:none;
}
@media(min-width:992px){
	body .nav-tel-link.btn.rkp-btn{
		border-radius: 0;
		padding: 10px 12px;
	}
	body .nav-tel-link.btn.rkp-btn span{
		display:inline-block;
	}
}

@media(max-width:1199.98px){
	body #masthead.nav-showing .nav-tel-link{
		color:white !important;
		background:var(--primary);
	}
	body #masthead.nav-showing .logo-wrap path.fill-text,
	body #masthead.nav-showing .logo-wrap path.fill-primary{
		display:none;
	}
	body #masthead.nav-showing .logo-wrap #logo-quad>path:first-of-type{
		fill:white!important;
	}
	body #masthead.nav-showing .logo-wrap #logo-quad>path:last-of-type{
		fill:var(--text)!important;
	}
}





@media(min-width:1200px){
	body #masthead .navbar-nav {
		font-weight:700;
	}
	.navbar-nav .nav-link{
		font-weight:inherit;
	}
}
