


section#s_header{
	position: relative;
	width: 100%;
	z-index: 2;
	/* overflow:hidden; */
	display:flex;
	/* align-items: center; */
	align-items: flex-end;
}
section#s_header.caption-layout-center{
	flex-direction:column;
	text-align:center;
}
section#s_header.caption-layout-center .caption-content{
	max-width:var(--narrow);
	margin-left: auto;
	margin-right:auto;
}



section#s_d_header .single-thumb,
section#s_d_header .video-wrap,
section#s_d_header .rkp-h-caption,
section#s_header .video-wrap,
section#s_header .rkp-h-caption{
	z-index:2;
}





body.page-template-default section#s_header{
	display:none;
}
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;
}
.hai{
	display:none;
}
section#s_header .theme-h {
	display: block;
    font-weight: 400;
    line-height: 1.1;
    hyphens: auto;
    font-size: var(--h1-size);
    color: var(--text);
    /* background: radial-gradient(ellipse at center, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 42%,rgba(255,255,255,0) 100%); */
    background-position: center 90%;
    padding: 1rem;
    position: relative;
    text-align: center;
    letter-spacing: 0.02em;
    margin-bottom: 1.1rem;
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
    text-transform: uppercase;
    margin-top: -1em;
	margin-bottom:1em;
}
section#s_header .theme-h:after {
	content: '';
    display: block;
    width: 320px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 0;
    border-bottom: 4px solid var(--primary);
}
section#s_header.caption-layout-left .theme-h:after {
	transform:translateX(0);
	left:0;
}
@media(min-width:768px){
	section#s_header:after,
	section#s_header:before {
		top: 4rem;
		height: 220px;
	}
}
@media(min-width:992px){
	.hai {
		display: block;
		width: 390px;
		position: absolute;
		right: 2rem;
		left: auto;
		z-index: 2;
		background-color: transparent!important;
		margin-top: 2rem;
		opacity: 0.15;
		top: auto;
		bottom:0;
		pointer-events:none;
	}
	.caption-layout-left.h-img-in-container .hai,
	.no-content2 .hai {
		right: auto;
		left: calc(50% - 330px);
		bottom: auto;
	}
	.hai path{
		fill:var(--primary)!important;
	}
	.hai .rot-img-relative{
		padding:0!important;
	}
	/* .hai, */
	section#s_header:after,
	section#s_header:before {
		top: 4rem;
		height: calc(100% - 8rem);
		background-color:var(--primary-dark);
	}
}
section#s_header div.lead,
section#s_header p.lead,
section#s_header .lead p {
	line-height: 1.4;
    font-size: 22px;
    font-weight: 400;
    font-family: var(--sans2);
	margin-bottom:1.9em;
}

#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 .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 #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; */
}
.caption-layout-center .caption-content.lead{
	text-align:center;
}
.header-row.row{
	margin-left:calc(0px - var(--h-col-padding));
	margin-right:calc(0px - var(--h-col-padding));
}
.header-row.row>[class^="col-"]{
	padding-left:var(--h-col-padding);
	padding-right:var(--h-col-padding);
	margin-bottom:calc(2 * var(--h-col-padding));
}


section#s_header.caption-layout-left.no-content2{
	--display-header-min-h: 400px;
}
section#s_header.caption-layout-left .header-row{
	row-gap:0px;
}
section#s_header.caption-layout-left .header-row>div{
	margin-bottom:30px;
}

section#s_header.caption-layout-left .header-h{
	margin-top:4rem;
	margin-bottom:1rem;
	text-align:left;
}
@media(max-width:991.98px){
	section#s_header.caption-layout-left .h-title-col{
		order:0;
		margin-bottom:0!important;
	}
	section#s_header.caption-layout-left .h-img1-col{
		order:1;
	}
	section#s_header.caption-layout-left .h-caption-content-col{
		order:2;
	}
	section#s_header.caption-layout-left .h-img2-col{
		order:3;
	}
}
section#s_header.caption-layout-left .h-img2,
section#s_header.caption-layout-left .h-img1 {
	width: 100%!important;
    padding: 0;
    max-width: none;
    min-height: var(--h-img2-min-height, 300px);
    position: relative;
}

@media(min-width:576px){
	section#s_header .theme-h {
		font-size: 3rem;
	}
}
@media(min-width:768px){
	section#s_header .theme-h {
		font-size: 4rem;
	}
}
@media(min-width:992px){
	section#s_header .theme-h {
		font-size: 4.1rem;
		margin-left: 0;
		text-align: center;
		padding: 0em 2em 0.5em;
		max-width: 90%;
		display: block;
		margin-left: auto;
		margin-right: auto;
		margin-top: -0.6em;
		margin-bottom: 0.2em;
	}
	section#s_header:not(.caption-layout-center) .theme-h {
		font-size:3.4rem;
		padding: 1em 0em 0.5em;
		max-width: 90%;
		margin-top: 0em;
		margin-bottom: 0.2em;
		text-align:left;
	}
	section#s_header:not(.caption-layout-center) .caption-content-2{
		padding-top:1rem;
	}
	section#s_header:not(.caption-layout-center) .caption-content.lead {
		max-width: 90%;
		margin-left: auto;
		margin-right: auto;
	}

	section#s_header div.lead, section#s_header p.lead, section#s_header .lead p {
		font-size: 1.5rem;
	}

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

	.h-h-wrap{
		display: flex;
		align-items: flex-end;
	}
	section#s_header.has-bg-img{
		background-size: cover;
	}
}


@media(min-width:1600px){
	section#s_header:not(.caption-layout-center) .theme-h {
		font-size:4.3rem;
	}
	section#s_header .theme-h {
		font-size: 4.6rem;
	}
	section#s_header div.lead, section#s_header p.lead, section#s_header .lead p {
		font-size: 1.7rem;
	}
	section#s_header.caption-layout-left .header-row>div {
		margin-bottom: 72px;
	}
}
@media(min-width:1600px){

}
@media(min-width:1820px){

}
@media(min-width:1980px){
	section#s_header.has-bg-img{
		background-size: cover;
	}
	section#s_header .theme-h {
		font-size: 4.6rem;
	}
	section#s_header:not(.caption-layout-center) .theme-h {
		font-size:4.9rem;
	}
	section#s_header div.lead, section#s_header p.lead, section#s_header .lead p {
		font-size: 1.72rem;
	}

}

.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 1s;
	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;
	}
}




bady 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);
	} */
}

.header-h .special .char {
	font-weight:100;
}
.header-h .char {
	transform: rotate3d(1, 0, 0, -90deg);
	display: inline-block;
	transform-origin: bottom;
	min-width: .2em;
	animation: get-up .3s cubic-bezier(0.16, 1, 0.3, 1) .3s 1 normal forwards;
}
@keyframes get-up{
	0% {
		transform: rotate3d(1, 1, 0, -90deg);
	}
	100% {
		transform: rotate3d(1, 0, 0, 0deg);
	}
}


/*HERBSTHOFER*/
/*HERBSTHOFER*/
/*HERBSTHOFER*/
/*HERBSTHOFER*/
/*HERBSTHOFER*/
body #masthead .navbar-collapse>ul>li>a {
	align-items:flex-end;
}




section.only-replace-img .content-replace-img+.container{
	display:none;
}
p.lead-xl {
    font-size: 2.6rem;
    text-transform: uppercase;
    text-shadow: 0 0 24px var(--primary);
    line-height: 1.07;
}
h2.jumbo {
    font-size: 4rem;
    max-width: 4.3em;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 0 24px var(--primary);
    margin-bottom: 1.5rem;
}

/*SOCIALBAR*/
#masthead .social-bar-wrap{
	position:absolute;
    text-align: right;
}
/* .page .social-bar-wrap,
.single #masthead .social-bar-wrap{
	transform: translateY(calc(100% + 0rem));
} */
#masthead .social-bar {
    position: relative;
    font-size: 1.6rem;
    opacity: 1;
    transition: opacity .3s;
    margin-left: 0.7rem;
}
@media(max-width:991.98px){
	/* .page:not(.home) #masthead .social-bar, */
	.page #masthead .social-bar,
	.single #masthead .social-bar{
		color:var(--primary);
	}
	/* .page:not(.home) #masthead .social-bar-wrap, */
	.page #masthead .social-bar-wrap,
	.single #masthead .social-bar-wrap {
		background: var(--white);
		padding: 8px 15px 3px 0px;
		position: absolute;
		top: auto;
		bottom: 0px;
		border-radius: 0 0 2px 2px;
		overflow: hidden;
		transform: translateY(calc(100% - 4px));
		right: calc(var(--container-margin) - 10px);
		transition: transform .5s;
		transition-delay: .2s;
	}
	.scrolled.scrolled-down #masthead .social-bar-wrap {
		transform: translateY(calc(-100% - 0px));
	}
	.page:not(.home).scrolled #masthead .social-bar-wrap,
	.single.scrolled #masthead .social-bar-wrap{
		pointer-events:all;
		/* opacity:0; */
	}
}
/* body.scrolled #masthead .social-bar{
	opacity:0;
} */
.rkp-teaser .wrap-narrow {
	color: white!important;
}
.site-logo{
	top:-1px;
}
/*mediaqueries*/
/*mediaqueries*/
/*mediaqueries*/
/*mediaqueries*/
@media(min-width:576px){

	.rkp-teaser .wrap-narrow {
		max-width: 100%;
		padding-right: 19rem;
		color: white!important;
		font-size: 1.2rem;
		font-weight: 300;
	}
	h2.jumbo {
		font-size: 4.5rem;
		max-width: 4.5em;
	}
	p.lead-xl {
		font-size: 2rem;
		width:100%;
	}

}
@media(min-width:768px){
	.rkp-teaser .teaser-logo{
		max-width:144px;
		margin-left:1.2rem;
	}
	h2.jumbo {
		font-size: 5.32rem;
	}

	.freist.left img{
		transform: translateX(20%);
		left: 0;
		right: auto;
		height: 112%;
	}
}
@media(min-width:840px){
	p.lead-xl {
		width: auto;
		margin-bottom: -0.4rem;
		margin-right: 1rem;
	}
}
@media(min-width:992px){

	p.lead-xl {
		margin-bottom: 1rem;
		width:100%;
	}

	/* .page .social-bar-wrap,
	.single #masthead .social-bar-wrap {
		transform: translateY(calc(00% + 0rem));
	} */
	#masthead .social-bar-wrap {
		position: absolute;
		text-align: center;
		background: var(--white);
		color: var(--primary);
		padding: 0px 20px 6px 15px;
		/* border: 2px dotted red; */
		width: calc(100% - 30px);
		top: calc(var(--header-height) - 2px);
		display: flex;
		align-items: flex-end;
		justify-content: flex-end;
		height: var(--d-header-margin-top,48px);
		width: var(--d-header-width);
		width: 100%;
		max-width: 100%;
		left: 0px;
		/* transform: translateX(-50%); */
		transition: height .5s, width .5s;
	}
	/* #masthead .social-bar-wrap:before {
		content: '';
		width: calc(100% + (2 * var(--container-margin)) - 30px);
		position: absolute;
		display: block;
		background: var(--white);
		height: 100%;
		left: calc(15px - var(--container-margin));
		bottom: 0;
	} */
	#masthead .social-bar-wrap:before {
		content: '';
		width: calc(100% + (2 * var(--container-margin)) - 30px);
		width: 100vw;
		left: -50%;
		position: absolute;
		display: block;
		background: #ffffff;
		height: 100%;
		/* left: calc(15px - var(--container-margin)); */
		bottom: 0;
		/* left: calc(-50vw + calc(var(--d-header-width) / 2)); */
		/* transform: translateX(50%); */
		/* width:100%; */
		left: calc(15px - var(--container-margin));
	}
	body.scrolled #masthead .social-bar-wrap:before {
		left: calc(0px - var(--container-margin));
	}
	body.scrolled #masthead .social-bar-wrap{
		width:100%;
	}
	#masthead .social-bar-wrap span {
		text-transform: none;
		font-size: 0.8em;
		font-weight: 700;
		color: var(--text);
		font-family: var(--sans2);
	}
	body.scrolled #masthead .social-bar{
		opacity:1;
	}
	body.scrolled.scrolled-down .social-bar-wrap{
		height:0!important;
	}
	.site-logo{
		height:calc(100% + 2rem);
		top:0rem;
		left:-15px;
	}
	body.scrolled.scrolled-down .site-logo{
		height:calc(100%);
	}

}
@media(min-width:1200px){

}
@media(min-width:1400px){

	h2.jumbo {
		font-size: 6.32rem;
	}
	.rkp-teaser .teaser-logo {
		max-width: 376px;
		margin-left: 1.2rem;
		position: absolute;
	}
}
@media(min-width:1600px){
	.rkp-teaser .teaser-logo{
		position: absolute;
		width: 500px;
		max-width: 460px;
		margin-left: 0rem;
	}
}
@media(min-width:1800px){
	h2.jumbo {
		font-size: 8.32rem;
	}
}


.mega-wrap-inner [class^="col"]{
	display: flex;
	align-items:flex-end;
	justify-content:flex-end;
	color:var(--text);
}

.header-h{
	transition:opacity .4s;
}
.header-h:not(.is-animated){
	opacity:0;
}

/* .header-h:not(.is-animated){
	visibility:hidden;
} */

.header-h .word{
	hyphens: auto;
	overflow-wrap: anywhere; /* fallback für lange Wörter */
	word-break: normal;
	white-space:nowrap;
}
/* .header-h .char{ display:inline; } für deine Animation */