section#s_header{
    position: relative;
    z-index: 2;
    overflow: hidden;
    /* min-height: 34vh;  */
    margin-top: var(--header-height);
    background-color: transparent;
    
}
section#s_header .line {
    position: absolute;
    height: 4px;
    background: var(--primary);
    width: calc(101% + var(--container-margin));
    left: calc(var(--container-margin)* -1);
    bottom: 3rem;
    transform: rotate(-4.77deg);
    z-index: 100;
}
@media (min-width: 768px) {
    section#s_header .line {
        bottom: 5rem;
        height: 6px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    section#s_header .line {
        bottom:8rem;
    }
}
@media (min-width: 992px) and (max-width: 1819px) {
    section#s_header .line {
        height: 9px;
    }
}
@media (min-width: 1820px) {
    section#s_header .line {
        bottom:5rem;
        height: 9px;
    }
}

body.single section#s_header{
    display:block;
}
@media(max-width:991.87px){
    #masthead.nav-showing~#content #s_header:before{
        width:0;
    }
}

.rkp-h-caption .header-caption {
    margin-top: var(--header-caption-offset-top);
    margin-top: 0;
}

section#s_header #h_video {
    height: calc(var(--header-caption-offset-top) + 2rem);
    left: 0;
    width: var(--container-width);
    top: var(--header-height);
    position: absolute;
    opacity: 1;
}

@media(min-width:768px){
	section#s_header #h_video {
		left: calc(var(--container-margin));
		width: 86%;
	}
}


@media(min-width:992px){
	section#s_header #h_video {
		height: calc(100% - 5rem);
		width: 66%;
		top: 0;
	}

}

@media(min-width:1200px){
	section#s_header #h_video {
		height: calc(100% - 3rem);
		left: calc(var(--container-margin) - 2rem);
		width: 63%;
	}
}
@media(min-width:1440px){
	section#s_header #h_video {
		height: calc(100% - 2rem);
	}
}

section#s_header.bg-dark{
    background:var(--text);
}
section#s_header.has-bg-img{
    background-size: cover;
}
section#s_header.low-header{
    background:var(--transparent);
}
.section-cta .section-h{
    font-size:8.4vw;
    text-transform:none;
}
section#s_header .theme-h {
    display: inline-block;
    font-weight:200;
    line-height: 1.15;
    hyphens: auto;
    font-size: 1.8rem;
    color: var(--text);
    text-transform: uppercase;
    position:relative;
}


section#s_header div.lead,
section#s_header p.lead,
section#s_header .lead p {
    line-height: 1.55;
    font-size: var(--regular-p-size);
    font-weight: 300; 
}

#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{
    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 .mute-vid{
    pointer-events:all!important;
}
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 .theme-h {
    font-size: var(--h1-size);
    text-transform: none;
    font-weight: 500;
    line-height: 1.04;
    /* max-width: 6.8em; */
    position: relative;
    margin-bottom: 1.7rem;
    padding-bottom:0;
}
section#s_header .theme-h div {
    font-size: 22px;
    font-weight: 300;
    margin-top: 0.5rem;
    letter-spacing: 1px;
    line-height: 1.4;
}
@media (min-width: 768px) {
    section#s_header .theme-h div {
        font-size: 26px;
    }
}
@media (min-width: 1200px) {
    section#s_header .theme-h div {
        font-size: 32px;
    }
}
.h-h-wrap{
    display: flex;
    align-items: baseline;
    flex-direction: column;
    justify-content: center;
}

@media(min-width:576px){
    section#s_header .theme-h {
        /* font-size: 3.7rem; */
        margin-bottom: 1rem;
        position: relative;
        bottom: 0;
        margin-left: 0rem;
    }
}

@media(min-width:992px){
    section#s_header .theme-h {
        /* font-size: 3.7rem; */
        margin-bottom: 1.5rem;
        position: relative;
    }
    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: 4.3rem; */
        margin-bottom: 2rem;
        max-width: 10em;
        margin-left:0;
    }

    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;
    }
    section#s_header .theme-h {
        margin-bottom: 2rem;
    }
}
@media(min-width:1600px){
    section#s_header .theme-h {
        /* font-size: 4.5rem; */
        max-width: 10em;
    }
}
@media(min-width:1820px){
    section#s_header .theme-h {
        /* font-size: 5.3rem; */
    }
}
@media(min-width:1980px){
    section#s_header.has-bg-img{
        background-size: cover;
    }

}

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

section#s_header .h-h-wrap {
    min-height: 320px;
    margin-top: 0;
    margin-bottom: 0;
    background-size: cover;
    background-repeat: no-repeat;
}
section#s_header .h-h-wrap::after,
section#s_header .col-md-10.offset-md-1:after{
    content: "";
    display: block;
    position: absolute;
    right: -1px;
    top: 0;
    background-image: url("svg/ic-header-section.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 60px;
    height: 80px;
}
/* @media (min-width: 768px) {
    section#s_header .h-h-wrap {
        margin-top: 0;
        margin-bottom: 0;
    }
} */
@media (min-width: 1200px) {
    section#s_header .h-h-wrap::after,
section#s_header .col-md-10.offset-md-1:after {
    width: 120px;
    height: 160px;
}
}
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 .5s cubic-bezier(0.64, 0, 0.78, 0) .5s 1 normal forwards;

}
@media (min-width: 1200px) {
    body:not(.home) section#s_header.animation-ended .header-caption-content,
    body.single-holzprodukt .content-col{
       padding-top: 3rem !important;
       padding-bottom: 3rem !important;
    }
}

@media (min-width: 1400px) {
    body:not(.home) section#s_header.animation-ended .header-caption-content,
    body.single-holzprodukt .content-col{
       padding-top: 4rem !important;
       padding-bottom: 4rem !important;
    }
}
@media (min-width: 1600px) {
    body:not(.home) section#s_header.animation-ended .header-caption-content,
    body.single-holzprodukt .content-col {
       padding-top: 10rem !important;
       padding-bottom: 10rem !important;
    }
}

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


/*SEARCHBAR*/
/*SEARCHBAR*/
/*SEARCHBAR*/
/*SEARCHBAR*/
form.asearch {
	display: flex;
	flex-wrap: nowrap;
	border: 1px solid #d6d6d6;
	border-radius: 1px;padding: 3px 5px;
}
div.search_bar {
	position: absolute;
    left: auto;
    right: 15px;
    top: var(--header-height);
    padding-top: 0;
    height: auto;
	max-width: 80%;
	transition: all .8s;
}
.search_bar:not(.showing) {
    right: calc(0px - var(--container-margin) + 30px);
    max-width: 2.6rem;
}
form.asearch button {
    padding: 2px 5px 0px 5px;
    left: -3px;
    position: relative;
    cursor: default;
    background: var(--white-trans);
    /* pointer-events: none; */
    outline: none;
    border: none;
    color: var(--primary);
    font-size: 1.4rem;
}
@media(min-width:576px){
	form.asearch button {
		padding: 5px 5px 2px 6px;
	}
}
@media(min-width:768px){
	form.asearch button {
		left: -6px;
	}
}
@media(min-width:992px){
	.search_bar:not(.showing) {
    right: calc(15px);
    max-width: 2.6rem;
    }
}
@media(min-width:1200px){
	.search_bar:not(.showing) {
    right: 0;
    }
}
form.asearch input#keyword:focus-visible,
form.asearch input#keyword {
	border: none;
	outline:none;

}
div#datafetch {
    background: white;
    z-index: 10;
    position: absolute;
    max-height: 425px;
    overflow: auto;
    box-shadow: 0px 15px 15px #00000036;
    right: 0;
    left: 0;
    top: 50px;
}

@media(min-width:1200px){
	div.search_bar {
		width: var(--searchbar-width);
		position: relative;
		height: 100%;
		top:0;
		padding-top: calc((var(--header-height) - var(--searchbar-height)) / 2);
		/* display: flex; */
	}
}

div.search_result ul a li {
    margin: 0px;
    padding: 5px 0px;
    padding-inline-start: 18px;
    color: #3f3f3f;
    font-weight: bold;
}
div.search_result li {
    margin-inline-start: 20px;
}
div.search_result ul {
    padding: 13px 0px 0px 0px;
    list-style: none;
    margin: auto;
}

div.search_result ul a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}
div.search_result ul a:hover {
    background-color: #f3f3f3;
}
.asearch input#keyword {
    width: 100%;
	background:var(--white-trans);
}
.highlight{
    background-color: var(--primary-lightest);
    display: inline-block;
    padding: 0 5px;
}
section#s_header .contact-icons {
    display: flex;
    justify-content: end;
    flex-direction: column;
    align-items: end;
    margin-top: 1.5rem;
    right: 0;
}

section#s_header .contact-icons {
    position: fixed;
    right: 0;
    top: 15%;
}

section#s_header .icon-col svg {
    width: 40px !important;
    position: relative;
    z-index: 10;
    background-color: var(--primary);
    padding: 10px;
}
section#s_header .contact-icons figure.rot-svg-relative {
    width: 40px !important;
}

@media (min-width: 768px) {
    section#s_header .contact-icons figure.rot-svg-relative {
        width: 60px !important;
    }
    section#s_header .icon-col svg {
        width: 60px !important;
        padding: 15px;
    }
}



section#s_header .icon-col svg * {
    fill: var(--white);
    stroke: var(--white);
}

section#s_header .icon-col figure.rot-svg-relative svg {
    top: 0;
    right: 0;
}

section#s_header .icon-col.subpage {
    display: flex;
    justify-content: end;
}

section#s_header a.rkp-btn.round {
    position: absolute;
    top: 40%;
    transform: translateX(0%);
}

@media (min-width: 768px) {
    section#s_header a.rkp-btn.round {
        transform: translateX(-50%);
        top: 50%;
    }
}

@media (max-width: 575.98px) {
    section#s_header .header-video {
        padding-bottom: 3rem;
    }
}