header#masthead{
	position:relative;
	position:fixed;
	top:var(--admin-bar-height);
	width:100%;
	overflow:visible;
	z-index:100;
	transition: all 0.4s;
	border-bottom: 1px solid #6e6d6a;
	background:var(--white);
	min-height: var(--headerheight);
	height: var(--headerheight);
    display: flex;
    align-items: center;
	max-height:75px;
	background: transparent;
	background: #00000040;
	background:var(--headerbackground);
}
#top_header+header#masthead{
	top:var(--top-header-height);
}

body.page-template-default header#masthead{
	background:var(--white);
}

header#masthead.whitened{
	background: var(--white);
	/* background: #ddddddd4; */
}
/* header#masthead:after{
	content:'';
	position:absolute;
	width:100%;
	left:0;
	top:0px;
	height:2px;
    background: var(--text);

} */
header#masthead:before{
	content:'';
	position:absolute;
	width:100%;
	left:0;
	top:0px;
	height:100%;
	transition:background-color .3s, opacity .3s;
	background: transparent;
	background:var(--header-after-gradient2);
	opacity:0;
    /* backdrop-filter: blur(14px); */
}
header#masthead:hover{
	/* --header-after-gradient: var(--header-after-gradient2); */
}
header#masthead:hover:before{
	opacity:0;
}


body #content{
	padding-top:var(--headerheight);
	padding-top:0;
}
#wpadminbar {
	position: fixed;
}
body header#masthead ul.navbar-nav {
	font-size: var(--menu-font-size);
    padding: var(--nav-items-padding);
    font-weight:var(--nav-items-fontweight);
    font-family:var(--menu-font-family);
	color:var(--main-menu-color);
	text-transform:var(--menu-text-transform);
}
@media(max-width:991.98px){
	body header#masthead ul.navbar-nav {
		font-size: var(--c-menu-font-size);
		font-weight:var(--c-nav-items-fontweight);
		font-family:var(--c-menu-font-family);
		color:var(--c-main-menu-color);
	}
}

.logo-wrap{
	position: relative;
	padding: 0;
	left: 0%;
	width:94px;
	transition: width .74s, padding .74s, height .74s;
}
body.scrolled .logo-wrap:not(.centered){
	/* height:99%; */
	/* padding:.6rem 0; */
}
/* .site-logo {
	width: auto;
	position: relative;
	transition: all .5s;
	height: 100%;
} */
.site-logo {
    width: var(--main-logo-width);
    position: absolute;
    transition: top .5s, width .5s;
    height: auto;
    margin-top: -0.6em;
}
.site-logo a{
    height: 100%;
  width: 100%;
  display: block;
}
body.scrolled-hh .site-logo {
    width: calc(var(--main-logo-width) - 1rem);
}


.site-logo svg{
	height: 100%;
	width: 100%;
}
.site-logo svg rect,
.site-logo svg polygon,
.site-logo svg path{
	/* fill: var(--primary); */
	fill-rule: evenodd;
	clip-rule: evenodd;
	transition:all 0.4s;
}
.whitened .site-logo svg polygon,
.whitened .site-logo svg rect,
.whitened .site-logo svg path{
	/* fill: var(--primary); */
	/* fill:var(--text2)!important; */
}
.footer-logo svg>g#quads>path:first-child,
.site-logo svg>g#quads>path:first-child{
	/* fill: var(--primary); */
	fill:var(--primary)!important;
}

nav.navbar{
	padding:0rem 15px;
}
.has-fixed-header .site-logo{
	width: auto;
	/* top: 0px; */
}
.menu-wrap {
	position: absolute;
	right: auto;
	left: 0;
	width: 100%;
}
@media(min-width:768px){
	/* .site-logo {
		height: 100%;
	} */
	.logo-wrap{
		width:104px;
	}
}
@media(min-width:992px){
	body header#masthead.has-item-active {
		border-bottom: 1px solid var(--blur-dark-bg);
	}
	header#masthead ul.navbar-nav>li.menu-contact-wrap-outer,
	header#masthead ul.navbar-nav>li.menu-contact-wrap{
		display:none;
	}
}

@media(min-width:1200px){

	.logo-wrap{
		width:112px;
	}
}

.navbar-toggler{
	color: var(--text);
	border-color: var(--text);
	border-radius: 0;
	border-top: 0;
	border-right: 0;
}



#masthead .main-header-links {
    color: var(--white);
    position: relative;
    top: 0;
    text-align: center;
    font-size: .94rem;
    background: var(--primary);
}

.navbar-extra-links {
    position: fixed;
    right: 15px;
    width: 100%;
    bottom: 0;
	padding-top: 0.4rem;
    padding-bottom: 0.4rem;
	transition: top .74s, transform .7s;
}
.navbar-extra-links a {
    width: 100%;
}


@media(min-width:768px){
	.navbar-extra-links{
		position:absolute;
		width:auto;
		bottom:auto;
		backdrop-filter: none	;
    	background-color: transparent;
		padding-top:0;
		padding-bottom:0;
	}
	#masthead .main-header-links{
		top: calc(var(--header-height) - 7px);
		right:var(--container-margin);
		width: auto;
		position:absolute;
	}
}


#masthead .main-header-links a{
	font-weight:600;
	text-transform:uppercase;
	color:inherit;
	display:inline-block;
	position:relative;
	padding: var(--btn-padding-regular);
	/* letter-spacing: 0.03em; */
}
@media(min-width:1200px){
	#masthead .main-header-links{
		/* color: inherit; */

		position: relative;
		top: auto;
		left: auto;
		right:0;
		width: auto;
		transform: translateX(0%);
		text-align: right;
		font-size: 1rem;
	}
}


#primary-menu-footer .nav-item a.nav-link,
#primary-menu .nav-item a.nav-link {
    color: inherit;
    word-break: break-word;
    transition: color .3s, text-shadow .3s;
	font-size:inherit;
}

#primary-menu .nav-item.item-active>a.nav-link,
#primary-menu .nav-item a.nav-link:hover {
    color: var(--grey-lightest);
}
@media(min-width:992px){
	#primary-menu .nav-item.item-active>a.nav-link,
#primary-menu .nav-item a.nav-link:hover {
    color: var(--primary);
}
}


#masthead:not(.whitened) #primary-menu .nav-item a.nav-link:hover {
	color: var(--main-menu-hover-color);
    text-shadow: var(--menu-item-hover-shadow);
}
#masthead .main-header-links a:after,
#primary-menu .nav-item a.nav-link:after{
	height:2px;
}

body .p-relative{
	position:relative;
}
body.has-display-header header#masthead{
	position: absolute;
	top: 0;
	left: 0;
	background:transparent;
	transition: all 0.75s;
}


.rot-caption-inner-wrap{
	margin-bottom:5rem;
	margin-top:5rem;
}

.nav-link.dropdown-toggle,
.nav-link.dropdown-toggle:hover{
	color:var(--text);
}

@media(min-width:576px){

}
@media(min-width:768px){
	#content.site-content{
	padding-top:0;
	}
	.navbar-expand-md .navbar-collapse{
		position: relative;
		top: 0;
	}

	.w-md-100,
	body .container.w-100,
	body .container.w-md-100{width:100%; max-width:100%;}
}

@media(min-width:992px){
	header#masthead {
		max-height: 89.5px;
	}
	#content.site-content {
		padding-top: 0;
	}
	#primary-menu-footer .nav-item a.nav-link,
	#primary-menu .nav-item a.nav-link {
		letter-spacing: 0.0em;
		text-align: center;
    	justify-content: center;
		width:100%;
	}
}
/*NAVBAR ---------------------NAVBAR--------------------------------NAVBAR*/

.navbar-nav>li:last-child{
	border-right:none;
}
#masthead .container>.row{
	margin-left:calc(0px - var(--h-col-padding, 15px));
	margin-right:calc(0px - var(--h-col-padding, 15px));
}
#masthead .container>.row>nav{
	padding-left:var(--h-col-padding, 15px);
	padding-right:var(--h-col-padding, 15px);
}

#masthead .container,
#masthead .container>.row,
#masthead .container>.row>nav{
	position: static;
	height:var(--header-height);
	transition: height .4s;
	align-content:center;
}
#primary-menu-wrap .nav-link{

	transition:opacity .4s, color .4s;
}
#primary-menu>li>.nav-link {
    /* text-transform: uppercase; */
    /* font-size: 0.94rem; */
    font-weight: inherit;
}

@media(min-width:768px){
	#masthead .container,
	#masthead .container>.row,
	#masthead .container>.row>nav{
	position: relative;
	}
	#masthead .container>.row>nav{
		justify-content: space-between;
		width:100%;
	}
	#primary-menu-wrap .nav-link{
		opacity:1;
	}
}

/*2nd level menu animation*/
nav .dropdown-menu{
	padding:0;
	border:0;
	border-radius:1px;
	/*hier müssen bootstrap standard rules ausgehebelt werden, damit nichts aus dem zugeklappten menü "rausschaut"*/
}

nav .dropdown-toggle:after {
	display:none;
}

body .navbar-nav .nav-link.dropdown-toggle {
	padding-right:0!important;
}

nav .dropdown-menu {
    top: calc(100% - 0rem);
    overflow: hidden;
    max-height: 0;
    height: auto;
    transition: all .8s cubic-bezier(0.83, -0.05, 0.25, 1) 0s;
    font-weight: 300;
    background: transparent;
    color: var(--secondary);
    color: var(--white);
    display: block;
    width: 50rem;
    max-width: 100%;
    padding: 0 1.4rem;
    /* padding-right: var(--container-margin)!important; */
    /* width: calc(var(--menu-width) + var(--container-margin)); */
    width: fit-content;
    right: auto;
    left: 0;
    box-shadow: 2px 6px 9px rgb(37 37 37 / 27%);
}
@media(max-width:991.98px){

}
@media(max-width:767.98px){
}

nav .dropdown-menu.show {
	max-height: 1000px;
	padding-top: 1rem;
	padding: 0.74rem 1.4rem;
	max-width:100%;

}

nav .dropdown-menu a{
	max-width: 100%;
    position: relative;
    white-space: normal;
	color: inherit;
	font-weight:inherit;
}

.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: var(--text-light);
    font-weight: inherit;
}
@media(max-width:991.998px){
	nav .dropdown-menu{
		position:relative;
	}
	#primary-menu .nav-item a.nav-link {
    display: inline-block;
}
}
/* ------NAVBAR-COLLAPSE---------*/
/* body #masthead .navbar-collapse {
	position: absolute;
    top: calc(100% + 0px);
	background:var(--white);
    width: 100%;
    left: 0;
	padding-top: 2.5rem;
	min-height:100vh;
	transform: translateY(100%);
    transition: all .4s;
} */
body #masthead .navbar-collapse {
    position: absolute;
    top: calc(100% + 0px);
    background: var(--white);
    width: auto;
    min-width: var(--mobile-nav-minwidth);
    left: auto;
    padding-top: 0;
    min-height: 20rem;
    /* transform: translateX(100%); */
    transition: width .4s, max-width .4s, min-width .4s;
    right: 0;
    overflow: hidden;
}
body .navbar-nav .nav-link{
	padding: var(--nav-link-padding)!important;
}

@media(min-width:576px){

}
@media(min-width:768px){

}
@media(min-width:840px){
}
@media(min-width:992px){
	body #masthead .navbar-collapse {
		position: absolute;
		top: calc(100% + 7px);
		backdrop-filter: none;
		background: transparent;
		width: 100%;
		left: 0;
		padding-top: 0rem;
		min-height:1px;
		transform:translateX(0);
		max-width:calc(100% - var(--nav-logo-width));
		min-width:1px;

	}


	nav .toggler-wrap{
		display:none;
	}
	nav .dropdown-menu {
		background: var(--white);
		border-bottom: 0px solid var(--transparent);
		color: var(--text);
		font-weight:500;
		display: flex;
		font-size: 1.3rem;


	}
	nav li.hovered .dropdown-menu {
		border-color:var(--primary);
		border-width:4px;
	}
	nav li.kauf.hovered .dropdown-menu {
		border-color:var(--secondary);
	}
	.whitened nav .dropdown-menu {
		background: var(--bg-transparent-light);
		/* background: var(--bg-transparent-light); */
		backdrop-filter: blur(14px);
	}
	/* FALLS ES EINE SICHTBARE NAVBAR GIBT - HIER WEITERMACHEN */
	body #masthead .navbar-collapse,
	body #masthead .navbar-collapse>ul,
	body #masthead .navbar-collapse>ul>li,
	body #masthead .navbar-collapse>ul>li>a{
		height:100%;
		display:flex;
		align-items:center;
	}
	body #masthead .navbar-collapse.right-aligned,
	body #masthead .navbar-collapse.right-aligned>ul,
	body #masthead .navbar-collapse.right-aligned>ul>li:last-of-type{
		padding-right:0!important;
		/* padding-right:0; */
	}
	body #masthead .navbar-collapse {
		position: relative;

		top: 0;
		height:var(--menu-height);
	}
	.navbar-expand-lg .navbar-nav {
		-ms-flex-direction: row;
		flex-direction: row;
		height: 100%;
		align-items: center;
	}
	body .navbar-expand-lg .navbar-nav .dropdown-menu {
    position: fixed;
    top: calc(var(--header-height) + var(--admin-bar-height));
    top: calc(0px + var(--header-height));
    border-radius: 0 0 0 0;
    margin-top: 0;
}

	body #masthead .navbar-collapse.fullwidth {
		position: relative;
		top: auto;
		bottom: 0;
		transform: translateY(0%);
		width: auto;
		display: flex;
		justify-content: center;
	}
}



/*TOGGLER*/
body #masthead .navbar-toggler:before {
    content: '';
    position: absolute;
    top: 1px;
    left: -2px;
    width: calc(34px + 0px);
    height: calc(34px + 0px);
    display: inline-block;
    /* background: var(--grey-light); */
    transition: background-color .3s, transform .3s;
    border-radius: 1000px;
}
body #masthead .navbar-toggler.collapsed:before {
	background:transparent;
}
body #masthead .navbar-toggler {
	border:none;
	background:transparent;
	position:relative;
	color:var(--text);
	transition:transform .4s;
	transition-delay:.4s;
	top:-1px;
}
body #masthead .navbar-toggler[aria-expanded="true"] {
	transform: rotate(45deg) translate(3px, -3px);
}
body #masthead .navbar-toggler:focus {
	outline:none!important;
}
body #masthead .navbar-toggler:focus:before{
	outline:2px solid var(--primary)!important;
}

body #masthead.whitened .navbar-toggler {
	color:var(--text2);
}
body #masthead .navbar-toggler-icon {
	display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    background: 50%/100% 100% no-repeat;
    bottom: -3px;
    left: 0px;
    position: relative;
	transition:left .3s;
	transition-delay: .2s;
}
/* body.scrolled #masthead .navbar-toggler-icon {
    bottom: -7px;
} */

body #masthead .navbar-toggler-icon{
	background-image:none!important;
	position: relative;
}
.navbar-toggler-icon .center-bar,
.navbar-toggler-icon:after,
.navbar-toggler-icon:before{
    display: block;
    content: "";
    width: 6px;
    right: auto;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    height: 3px;
    border: 1px solid var(
	--text);
    border: none;
    border-radius: 1px;
    background-color: var(
	--text);
    top: 7px;
    transition: transform 0.5s cubic-bezier(.88,.11,.83,.67) 0.2s,
  border-color .3s, background-color .3s,
  width .6s .4s;
    height: 1px;
    top: 4px;
}
.whitened .navbar-toggler-icon .center-bar,
.whitened .navbar-toggler-icon:after,
.whitened .navbar-toggler-icon:before{
	border:1px solid var(--text);
	background-color: var(--text);
}
.navbar-toggler-icon .center-bar {
    top: 12px;
    transform: scale(1) translateX(-50%);
    width: 6px;
    left: 50%;
}
.navbar-toggler-icon:after{
	top:20px;
	/* bottom:5px; */
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon{
	left:5px!important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: rotate(90deg) translate(0.45em, 0.384em);
    /* width: 1.9em; */
    /* width: 1.5em; */
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: rotate(450deg) translate(0.4em, 1.084em);
    width: 100%;
    /* width: 1.5em; */
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon .center-bar {
    transform: translateX(-1.05em) rotate(360deg);
    width: 100%;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(-450deg) translate(0.36em, -0.4em);
    bottom: 3px;
}


/*------------------------------------------------------CUSTOM-------------------------*/




/*SOCIAL*/
.navbar-collapse{
	flex-grow:0;
	-ms-flex-positive:0;
}

.social {
	position: absolute;
    top: 20px;
    right: 0;
    display: block;
    font-size: 2.15rem;
    /* background: white; */
	background: transparent;
	pointer-events:all;
	color: var(--secondary);
	display:none;
}

body .social a{
	font-size:inherit;
	display:inline-flex;
}
body .social a:not(:last-child){
	margin-right:5px;
}
body .social a:visited,
body .social a:focus,
body .social a{
	color:inherit;
}
body .social a:focus{
	outline-offset:0;
	outline-color:var(--text);
	background-color:var(--text);
}
body .social a:hover {
    color: var(--primary-lightest);
}
body .dark .social a,
body .dark .social{
	color:var(--secondary);
}
body .dark.whitened .social a,
body .dark.whitened .social{
	color:var(--secondary);
}

section.top-section .header-caption{
	padding-top:var(--header-height);
}
section.top-section .header-caption {
    padding-top: var(--header-caption-spacing-y);
	padding-bottom: var(--header-caption-spacing-y);
}

.social-wrap2 {
    position: absolute;
    left: calc(var(--container-margin) + 25%);
    /* background: #d7ebfb; */
    width: auto;
    min-width: 4rem;
    min-height: 1rem;
    top: 0;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: left	.5s;
    color: var(--secondary);

	position: fixed;
    top: calc(var(--admin-bar-height) + 5rem);
    right: 0;
    left: auto;
    display: flex;
    justify-content: flex-end;
	z-index:100;
}
.social-wrap2 .social-bar {
    position: relative;
    background: transparent;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--white);
    flex-wrap: nowrap;
    flex-direction: column;
    background: var(--primary);
}
.mast-should-stick~#masthead .social-wrap2{
	left: calc(var(--container-margin) + 8.5rem);
}
@media(min-width:640px){
	.social-nav-container .social-bar{
		display:none;
	}
	.social-wrap2{
		display:block;
	}
	.mast-should-stick~#masthead .social-wrap2{
		left: calc(var(--container-margin) + 10rem);
	}

}
@media(min-width:992px){
	.social-nav-container .social-bar {
		display: none;
		display: block;
		left: calc(var(--logo-wrap-width) - 3rem);
		right: auto;
		top: 88px;
	}
	.low-header .social-nav-container .social-bar {
		top: 79px;
		font-size: 2rem;
		left: calc(var(--logo-wrap-width) - 2rem);
	}

	.social {
		font-size: 2.45rem;
	}
}
@media(min-width:1200px){
	.social-nav-container .social-bar {
		left: calc(var(--logo-wrap-width) + 2rem);
		top: 125px;
	}
	.low-header .social-nav-container .social-bar {
		top: 94px;
		font-size: 2rem;
		left: calc(var(--logo-wrap-width) - 3rem);
	}
}
@media(min-width:1820px){
	.social-nav-container .social-bar {
		left: calc(var(--logo-wrap-width) + 4rem);
		top: 134px;
	}
}


.top-section,
.has-bg-img{
    min-height:var(--display-header-min-h);
	background-size: cover;
    background-position: center 80%;
}

.vid-caption{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	/* background: rgba(0, 0, 0, 0.111); */
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: var(--headerheight);
}



.inner-button{
	font-size:1rem;
	padding-left: 0rem;
	margin-left:.8rem;
	/* display:none; */
}
@media(min-width:768px){

	.has-bg-img:after {
		height: 200px;
	}
	.top-section,
	.has-bg-img{
		position:absolute;
		top:0;
		height:100%;
		width:100%;
	}

	.navbar-extra-links {
		top: 0px;
	}
}
@media(min-width:992px){
	.navbar-extra-links {
		top: auto;
	}
}

@media(min-width:1200px){
}

.urlaub{
	min-height:420px;
	position:relative;
	background:var(--text2);
	display:flex;
	margin-top:48px;

	align-items: center;
    justify-content: center;

}
body .urlaub .section-content h2{
    font-family: var(--serif)!important;
    color: var(--secondary);
    font-size: 3.8rem;
    margin-bottom: 1rem;
}

body .urlaub ul,
body .urlaub h2,
body .urlaub p{
	color:var(--secondary);
}
body .urlaub ul strong,
body .urlaub h2 strong,
body .urlaub p strong{
	color:var(--secondary-light);
	display:inline-block;
	padding:0 1rem;
	letter-spacing:0.04em;
	font-weight:initial;
}
@media(min-width:768px){
	.urlaub{
		min-height:540px;
		margin-top:0px;
		padding-top:120px;
	}
}


.dropdown-menu .nav-link-wrap .description {
    color: var(--text-light);
    line-height: 1.4em;
    display: block;
    margin-bottom: auto;
    position: relative;
}
.whitened .dropdown-menu .nav-link-wrap .description {
    color: var(--text-medium);
}
.dropdown-menu .quicklink-inner p {
    font-size:.917rem;
}



ul.dropdown-menu{
	display: block;
	padding-right:0;
}
ul.dropdown-menu .menu-item {
    display: flex;
    align-items: flex-start;
}
ul.dropdown-menu .menu-item a.nav-link{
    display: flex;
    align-items: flex-start;
}
ul.dropdown-menu .menu-item a.nav-link i svg{
	width: 1em;
	height:1em;
}
ul.dropdown-menu .menu-item a.nav-link i {
    font-size: 1.3rem;
    padding: 4px;
    background: var(--secondary);
    height: 100%;
    margin-right: 0.8rem;
    border-radius: 3.1px;
    color: var(--text);
	display:inline-flex;
	align-items: center;
	transition: background-color .3s, color .3s;
	display:none;
}
ul.dropdown-menu .menu-item a.nav-link i path{
	transition: fill .3s;
}

ul.dropdown-menu .menu-item a.nav-link:hover i {
    background: var(--primary);
	color: var(--secondary-light);
}
.whitened ul.dropdown-menu .menu-item a.nav-link i path,
ul.dropdown-menu .menu-item a.nav-link:hover i path{
	fill: var(--secondary-light);
}
.whitened ul.dropdown-menu .menu-item a.nav-link i{
    background: var(--text-medium);
    color: var(--secondary-light);

}
ul.dropdown-menu .menu-item a.nav-link:hover i,
.whitened ul.dropdown-menu .menu-item a.nav-link:hover i{
    background: var(--primary);
    color: var(--secondary-light);
}



ul.dropdown-menu .contact-item{
	grid-column: 3 / 5;
    grid-row-start: 1;
    grid-row-end: 6;
}
@media(max-width:991.98px){
	ul.dropdown-menu{
		padding-left:0!important;
		padding-top:0!important;
		padding-right: 0!important;
	}

	body #masthead .navbar-collapse>ul{
		transform:translateX(100%);
		transition:transform .6s;
		background:var(--main-menu-bg);
	}
	body #masthead .navbar-collapse.show>ul{

		/* min-height: calc(100vh - var(--header-height) - var(--admin-bar-height)); */
		/* min-height: 20rem;*/
		transform: translateX(0);
	}
	body #masthead .navbar-collapse,
	body #masthead.whitened .navbar-collapse {
		background: var(--main-menu-bg);
		background: transparent;
		color: var(--c-main-menu-color);

		display: flex;
		flex-direction: row;
		align-items: stretch;
		pointer-events:none;
	}
	body #masthead .navbar-collapse a,
	body #masthead.whitened .navbar-collapse a{
		color: inherit;
	}
	body #masthead .navbar-collapse>ul,
	body #masthead.whitened .navbar-collapse>ul{
		line-height:var(--menu-line-height);
		text-align:var(--c-menu-align);
		width: 100%;
	}

	body #masthead .navbar-collapse.show ul#primary-menu {
		position: relative;
		max-height: calc(100vh - var(--header-height) - var(--admin-bar-height) - 0rem);
		overflow: auto;
		overflow-x: auto;
		pointer-events: all;
		padding-top: 2rem;
		background: #cdcdcd;
		height:100vh;
	}
	body #masthead nav .navbar-collapse>ul>li.menu-item-has-children {
		padding-right: 0;
	}
}
@media(min-width:576px) and (max-width:991.98px){
	#primary-menu .dropdown-menu{
		display:flex;
		flex-wrap: wrap;
	}
	#primary-menu .dropdown-menu .nav-item{
		max-width:50%;
		flex:0 0 50%;
	}
	#primary-menu .dropdown-menu .nav-item.contact-item{
		max-width:100%;
		flex:0 0 100%;
		border-bottom: 1px solid var(--primary);

	}

	body #masthead .navbar-collapse #primary-menu{
		padding-left:var(--container-margin);
		padding-right:var(--container-margin);
	}
	#primary-menu .quicklink-wrap{
		display: flex;
		column-gap: 20px;
		flex-wrap: wrap;
	}
	#primary-menu .quicklink-wrap .quicklink-inner{
		flex: 0 0 calc(50% - 10px);
		max-width: calc(50% - 10px);
	}
}
@media(min-width:768px) and (max-width:991.98px){
	.navbar {
		align-items: center;
		justify-content: flex-end;
	}
	.logo-wrap {
		margin-right: auto;
	}
	.navbar-extra-links {
		position: relative;
		right:0;
	}
	#masthead .main-header-links {
		top: auto;
		left: 0;
		right: auto;
		width: auto;
		position: relative;
	}
	body #masthead .navbar-collapse {
        width: calc(100% + (2 * var(--container-margin)) - 30px);
        right: calc(0px - (var(--container-margin) - 23px));
    }
}
@media(min-width:782px) and (max-width:991.98px){

	.navbar-extra-links {
		top: 0px;
	}
}
@media(min-width:840px) and (max-width:991.98px){
	body #masthead .navbar-collapse {
        right: calc(0px - (var(--container-margin) - 15px));
    }
}

@media(min-width:992px){
	#masthead .main-header-links {
		top: 0;
		right: auto;
		left: 0;
		width: auto;
		position: relative;
	}
	.logo-wrap {
		width: 172px;
		margin-top: 2.4rem;
		/* height: 50px; */
	}
	.nav-item-title {
		font-size: 0.81rem;
	}
	.nav-item-title {
		margin-bottom: 0px;
	}
}
@media(min-width:1340px){

	.nav-item-title {
		font-size: 0.94rem;
	}
}

#primary-menu .dropdown-menu .contact-item-content{
	margin-top:.4rem;
	margin-bottom:.4rem;
}
#primary-menu .dropdown-menu .contact-item-content .h3{
	color: var(--primary);
    font-size: 1.04rem;
    font-weight: 500;
}
.q-link, #primary-menu .q-link {
    display: inline-block;
    padding-top: .57rem;
    font-weight: 400;
    color: white;
}
.whitened #primary-menu .q-link {
    color: var(--text2);
}
#primary-menu .q-link:hover{
	font-weight:600;
}
.whitened #primary-menu .q-link:hover {
    color: var(--primary);
}
.lead p, p.lead, .lead {
    font-size: 1.26rem;
    font-weight: 400;
}
.navbar-nav ul.dropdown-menu>li>a.nav-link{
	padding-right: 1.27rem;
}
body a.nav-link:focus{
	outline-offset:-2px;
}
@media(min-width:992px){
	body a.nav-link:focus{
		outline-offset:-2px;
	}
}

#s_header .rkp-h-logo {
    max-width: 50vw;
	min-width:40px;
    display: inline-block;
    position: relative;
    margin-bottom: 1.4vw;
}

#s_header .h-h-wrap.just-img {
	width: 240px;
    position: relative;
    display: flex;
}
#s_header .h-h-wrap.just-img>img{
	max-width: 60%;
}
#s_header .h-h-wrap.just-img>img.rkp-h-img-2{
	max-width: 40%;
}
@media(max-width:767.98px){
	#s_header .h-h-wrap.just-img {
		width: 148px;
		padding-left: 1.5rem;;
	}
	#s_header .h-h-wrap.just-img>img{
		max-width: 100%;
	}
	#s_header .h-h-wrap.just-img>img.rkp-h-img-2{
		display:none;
	}
}

.header-caption-content{
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	margin-bottom: 0.6rem;
}
.mute-vid {
	display: inline-block;
    position: absolute;
    left: 0;
    width: 4rem;
    height: 4rem;
    bottom: auto;
    top: -4rem;
    border: 0.1em solid white;
    border-radius: 1000px;
    opacity: .5;
	transition:opacity .4s;
}
.mute-vid:hover{
	opacity:1;
}
@media(min-width:992px){
	.mute-vid{
		top:-4rem;
		bottom: auto;
	}
}
.mute-vid i{
	position: absolute;
	left: 50%;
	top:50%;
	transform: translate(-50%, -50%);
	font-size:3rem;
}
.mute-vid i{
	opacity:0;
	transition:opacity .5s;
}
.mute-vid i.showing{
	opacity:1;
}

#s_header.rot-section .header-links a{
	margin-bottom:.5rem;
}
#s_header.rot-section .header-links .link-icon{
	display: inline-block;
    margin-left: 0.4rem;
    margin-right: 0.9rem;
}

/*
TOP HEADER
D_ HEADER ON TO OF MASTHEAD
SECOND LOGO
*****************
TOP HEADER
D_ HEADER ON TO OF MASTHEAD
SECOND LOGO
*/

section.top-header{
	background:var(--grey-dark);
	position:relative;
	color:white;
	z-index:2000;
	height:var(--top-header-height);
	display: flex;
	align-items: center;
}
section#s_header~header#masthead{
	position:absolute!important;
	top:auto!important;
}
section#s_header~#content{
	padding-top:var(--header-height);
}
section#s_header.mast-should-stick~header#masthead{
	position:fixed!important;
	top:var(--admin-bar-height)!important;
}
section#s_header.mast-should-stick~.second-logo-container{
	display:none;
}
.second-logo-container {
    position: absolute;
    top: calc(0px + var(--top-header-height));
    margin-left: var(--container-margin);
    z-index: 2;
    transition: opacity .3s;

	outline: 2px dotted red;
	top: 0px;
	z-index: 101;
	pointer-events: none;
}
.second-logo-wrap {
	width: calc(100% / 12 * 3);
    outline: 2px dotted turquoise;
    pointer-events: all;

}

/* section#s_header.mast-should-stick~.second-logo-container{ */
/* section#s_header.mast-should-stick~.second-logo-container{ */
body.scrolled .second-logo-container{
	opacity:0;
}

.second-logo-container .site-logo path{
	fill:white;
}
@media(min-width:768px){
	.second-logo-container .site-logo{
		width:20rem;
		top:1.7rem;
	}
}
.toggler-wrap {
    display: flex;
    column-gap: 10px;
    align-items: center;
    z-index: 2;
    overflow: hidden;
    padding: 8px;
    margin-right: -8px;
}
.toggler-text {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    bottom: -2px;
    right: -10px;
    position: relative;
    color: var(--text);
}
@media(min-width:768px){
	.menu-contact-wrap-outer{
		margin-left: calc(0px - var(--container-margin));
		margin-right: calc(0px - var(--container-margin));
	}
	.toggler-text {
		font-size: 1.2rem;
	}
}
.menu-contact-wrap-outer .top-header {
    background: var(--grey-dark);
    color: white;
    min-height: 38px;
    padding: 0px var(--container-margin);
    display: flex;
    align-items: center;
    justify-content: center;
}
#site-navigation{
		/* border-top: 2px solid var(--secondary); */
		left: 0;
		width: 100%;
		/* border-bottom: 2px solid var(--secondary); */

}

/* #primary-menu-wrap>ul:after {
	content: '';
    height: 100%;
    width: 40%;
    background: var(--secondary);
    display: block;
    position: absolute;
    transition: transform .6s;
    transform: translateX(101%);
    right: 0;
    z-index: 1;
} */
#primary-menu-wrap>ul {
	z-index:2;
}
/* #primary-menu-wrap.show>ul:after{
	transform:translateX(0%);
} */

#s_header .owl-nav {
	display:none;
}
.rc-search input {
    border-width: 0 0 2px 0;
    border-color: var(--text);
    transition: border-width .5s, background-color .5s;
}
.rc-search input:focus-visible {
    border: none;
    border-bottom: 0px solid var(--primary-dark);
    outline: none;
    box-shadow: none;
    background: #cc4c481f;
    font-size: 16px;
    /* color: var(--text)!important; */
    /* font-weight: 400; */
}

body.modal-open #masthead,
body.scrolled.scrolled-down #masthead{
	transform: translateY(calc(0px - var(--header-height)));
}

#ROTheader-trigger-marker,
#ROTheader-scrolled-marker{
    position: absolute;
    z-index: 1000000;
    width: 20px;
	height:2px;
	/* background: palevioletred; */
	;
}
#ROTheader-scrolled-marker{
	top:0;
}
#ROTheader-trigger-marker{
	top:calc(var(--header-height) + 20px);
}
#masthead{
	background:transparent!important;
}
#site-navigation:before {
	content: '';
    top: 0;
	left: 0;
    width: calc(100% - (2 * var(--h-col-padding,15px)) + var(--container-margin));
	width:100%;
    /* width: 100%; */
    height: 100%;
    position: absolute;
    background: var(--white);
}
@media(min-width:768px){
	#site-navigation:before {
		left: calc(var(--h-col-padding,15px) - var(--container-margin));
		width: calc(100% - (2 * var(--h-col-padding,15px)) + (2 * var(--container-margin)));
		/* width: calc(100% + var(--h-col-padding)*2 - var(--container-margin)*2); */
		/* left: 0; */
		/* width: 100%; */
	}
}




.flipInLetters .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);
	}
}

section#s_header .slide-content .theme-h {
    font-size: var(--slider-h-size)!important;
    color: var(--grey-medium);
    font-weight: 300;
	padding:10px 16px;
	margin-bottom:0;
}
.rot-gsap-slider .slide-content {
    padding: 0px 0px;
	overflow:hidden;
}
.rot-gsap-slider .slide-content {
    padding: 0px 0px;
	bottom: calc(1rem + var(--header-caption-spacing-y));

}
.rot-choices{
	display: flex;
    align-items: center;
    justify-content: center;
	gap:4px;
}
a.btn,
.rot-choices>a {
    flex: 0 1 50%;
    text-align: center;
    padding: 10px 10px;
    background: var(--primary);
    color: var(--white);
	transition: color .4s, font-weight .4s, background-color .4s;
}
.rot-choices>a:nth-child(even) {
    background: var(--secondary);
}
.rot-choices>a:hover {
    background: var(--primary-dark);
	color:var(--white);
}
.rot-choices>a:nth-child(even):hover {
    background: var(--secondary-hover);
	color:var(--white);
}
.claim-col{
	display:flex;
}
.claim-col>.logo-3{
	order:0;
	display:flex;
}
.logo-3>figure{
	width: var(--claim-figure-width);
    transform: scaleX(1);
    max-height: 310px;
    text-align: right;
}
.logo-3>figure>svg{
	max-height:100%;
}
.claim-col>.claim-wrap{
	order:1;
}
@media(min-width:576px){

}
@media(min-width:992px){
	#masthead .container>.row>nav {
		justify-content: space-between;
		/* width: calc(100% / 12 * 9);
		flex: 0 0 calc(100% / 12 * 9);
		margin-left: calc(100% / 12 * 3); */
	}
	#site-navigation:before {
		left: calc(var(--h-col-padding) - var(--container-margin));
		width: calc(100% - (2 * var(--h-col-padding,15px)) + 2 * var(--container-margin));
		/* border: 2px dotted red; */
	}
}

@media(max-width:991.98px){
	body.scrolled-down #masthead.nav-showing{
		transform:translateY(0);
	}
}

#primary-menu-wrap{
	overflow:visible!important;
}
nav .dropdown-toggler {
    align-self: flex-end;
    border: none;
    background: transparent;
	height:auto;
}
nav .dropdown-toggler i{
    font-size:1.6rem;
}
nav .dropdown-toggler i:before {
    transform: rotate(90deg) translateX(0.1em) scaleY(1);
	transition:transform .4s;
}
nav li.hovered .dropdown-toggler i:before{
	transform: rotate(90deg) translateX(0.1em) scaleY(.7);
}

nav a.dropdown-toggle{
	pointer-events:none;

}

nav li.hovered .dropdown-toggle,
nav li.hovered .dropdown-toggler{
	color: var(--secondary)!important;
}
@media(min-width:992px){
	nav .dropdown-toggler {
		height:100%;
	}
}

@media(max-width:991.98px){
	/*gleiche rule wie die .show rule aber ohne .show, damit es keine harte transition gibt!*/
	body #masthead .navbar-collapse ul#primary-menu {
		padding-top: 2rem;
		background: #cdcdcd;
		height: 100vh;
	}
	nav .dropdown-menu {
		max-height: 1000px;
		padding-top: 1rem;
		padding: 0.74rem 1.4rem;
		max-width: 100%;
		width: 100%;
		box-shadow:none;
	}
	nav .navbar-nav{
		align-items: flex-start;
	}
	nav .navbar-nav>li{
		width:100%;
		text-align:left;
	}
	button.dropdown-toggler{
		display:none;
	}
}