header#masthead{
	position:relative;
	position:fixed;
	width:100%;
	max-width:100vw;
	overflow:visible;
	z-index:100;
	transition: height 0.4s, opacity .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);
	/* border-bottom:2px dotted red!important; */

}
header#masthead.whitened{
	background: var(--white);
	background: #ddd;
}

header#masthead:before{
	content:'';
	position:absolute;
	width:100%;
	left:0;
	top:0px;
	height:100%;
	transition:background-color .3s;
	background: transparent;
    /* backdrop-filter: blur(14px); */
}


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);
}
@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 .4s, padding .74s, height .74s;
}
body.scrolled .logo-wrap:not(.centered){

}
.site-logo {
	width: auto;
	position: relative;
	transition: all 0.5s;
	height: 100%;
}

.site-logo svg{
	height: 100%;
	width: auto;
}
.site-logo svg path{
	/* fill: var(--primary); */
	fill-rule: evenodd;
	clip-rule: evenodd;
	transition:all 0.4s;
}
.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){

	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;
    /* left: var(--container-margin); */
    /* right: var(--container-margin); */
    /* width: calc(100% - (2 * var(--container-margin))); */
    text-align: center;
    font-size: .94rem;
    /* background: var(--primary); */
}

.navbar-extra-links {
    position: relative;
    left:auto;
    width: auto;
	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;
	}
}


@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);
}
}
/* .whitened #primary-menu .nav-item.item-active>a.nav-link .nav-item-title:hover,
.whitened #primary-menu .nav-item.item-active>a.nav-link,
.whitened #primary-menu .nav-item a.nav-link:hover { */


#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;
}
/* body:not(.home) header#masthead,
/* body.has-display-header header#masthead.header-sticking{
	background:var(--white);
} */

.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,
#masthead .container>.row,
#masthead .container>.row>nav{
	position: static;
	/* height:var(--header-height); */
	transition: height .4s;
}
#primary-menu-wrap .nav-link{

	transition:opacity .4s, color .4s;
}
#primary-menu>li>.nav-link {
    text-transform: none;
    /* 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"*/
}
body #masthead nav .navbar-collapse>ul>li.menu-item-has-children{
	padding-right:0;
}


/* nav li.menu-item-has-children.item-active .nav-item-title, */
nav li.menu-item-has-children.item-active:before {
   color:var(--primary);
}

nav .dropdown-toggle:after {
	display:none;
}

.current-menu-item>a{
	font-weight:inherit!important;
	/* color:var(--primary-light)!important; */
}

nav .dropdown-menu {
    top: calc(100% - 0rem);
    overflow: hidden;
    max-height: 0;
    height: auto;
    transition: heigth .6s, max-height .6s;
    font-weight: 300;
	font-size:1.3rem;
	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));
}
@media(max-width:991.98px){
	/* header#masthead.opened {
		border-bottom: 1px solid var(--secondary-light);
	} */
}
@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;
	}
}
/* ------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.whitened .navbar-collapse {
    background: var(--bg-transparent-light);
} */
body .navbar-nav .nav-link{
	padding: var(--nav-link-padding)!important;
}
@media(max-width:991.98px){
	body .navbar-nav .nav-link{
		padding: var(--nav-link-padding)!important;
		display: inline-block;
		position: relative;
		padding-left: 2rem!important;
		padding-right: 3rem!important;
	}
	nav .dropdown-menu {
		font-size:1.2rem;
	}
}


@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);
	}
	nav .dropdown-menu {
		background: white;
		color: var(--text);
		/* background: var(--blur-dark-bg); */
		/* background: var(--bg-transparent-light); */
		/* backdrop-filter: blur(14px); */
	}
	.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:before,
	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;
	}
	nav .dropdown-menu {
		transition: heigth 1.3s cubic-bezier(0.83, -0.05, 0.25, 1) 0s, max-height 1.3s cubic-bezier(0.83, -0.05, 0.25, 1) 0s, padding 1.3s;
	}

}







	/*
	DAS
	ALLES
	IST NEU
	*/
#masthead .nav-extra-items {
	width: var(--nav-extra-box-width);
	position: absolute;
	top: 0;
	right: var(--container-margin);
	/* right: 15px; */
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
#site-navigation{
	height:var(--header-height);
}
#masthead .nav-extra-items>.search-trigger a{
	font-size:1.8rem;
}

#masthead .nav-extra-items>div {
	max-height:3rem;
}
#masthead .nav-extra-items>div:not(:last-child){
	margin-right:10px;
}

li.nav-item.mega>.dropdown-menu>li.contact-item{
	display:none;
}
nav li.menu-item-has-children>a:before {
	content: '\f107';
	/* content: '\f142'; */
	font-family: 'Line Awesome Free';
	font-weight: 900;
	display: inline;
	position: absolute;
	right: -0rem;
	top: 0;
	padding: 0.5rem .5rem;
	transition: transform .3s, color .3s;
	font-size: 1.1rem;
	height: 100%;
	display: inline-flex;
	vertical-align: middle;
	align-items: center;
}
@media(min-width:768px){
	#masthead .nav-extra-items {
		right: 15px;
	}
}
@media(min-width:992px){

	.current-menu-item{
		border-bottom:2px solid var(--primary);
	}
	#site-footer .current-menu-item{
		border-bottom:none;
	}
	#site-footer .current-menu-item a{
		border-bottom:2px solid var(--primary);
	}
	body #masthead #primary-menu-wrap{
		width: 100%;
		left: 0;
		position: relative;
		max-width: none!important;
		height:var(--header-height);
	}


	body #masthead #site-navigation{
		display:block;
		position:relative;
	}
	body #masthead .logo-wrap {
		position: absolute;
		left: 15px;
		height: 100%;
		padding: 1.15rem 0;
		max-width:var(--logo-width);
		width: 7.2rem;
	}
	body.scrolled #masthead .logo-wrap {
		padding: 1.15rem 0;
		width: 6.8rem;
		/*root font-size:16px*/
		width: 7.3rem;
	}
	#primary-menu .nav-item.menu-item-has-children a.nav-link {
		position: relative;
		padding-right: 2.4rem!important;
	}


	body #masthead nav .navbar-collapse>ul>li.menu-item-has-children {
		position:static;
	}
	body #masthead nav .navbar-collapse>ul>li.menu-item-has-children:not(.mega){
		position:relative;
	}
	body #masthead nav .navbar-collapse>ul>li.menu-item-has-children:not(.mega) .dropdown-menu{
		left: -6rem;
		position: absolute;
		max-width: 20rem;
		width: 20rem;
		padding: 0rem 1rem!important;
	}
	body #masthead nav .navbar-collapse>ul>li.menu-item-has-children:not(.mega) .dropdown-menu.show{
		padding-top:1rem!important;
		padding-bottom:1rem!important;
		overflow: visible;
	}
	body #masthead nav .navbar-collapse>ul>li.menu-item-has-children:not(.mega)>ul.dropdown-menu.show{
		box-shadow: 1px 20px 30px #28436d42;

	}
	body #masthead nav .navbar-collapse>ul>li.menu-item-has-children:not(.mega) ul.dropdown-menu{
			display: block;
			background: var(--white);
			color: white;

	}
	body #masthead nav .navbar-collapse>ul>li.menu-item-has-children:not(.mega) ul.dropdown-menu>li{
			background: var(--primary);
			color: inherit;
	}
	body #masthead nav .navbar-collapse>ul>li.menu-item-has-children:not(.mega) ul.dropdown-menu>li:first-child{
			border-radius: 14px 14px 0 0;
	}
	body #masthead nav .navbar-collapse>ul>li.menu-item-has-children:not(.mega) ul.dropdown-menu>li:last-child{
			border-radius: 0 0 14px 14px;
	}
	body #masthead nav .navbar-collapse>ul>li.menu-item-has-children:not(.mega) ul.dropdown-menu a {
		color: inherit;
		padding-top: 6px!important;
		padding-bottom: 6px!important;
	}
	body #masthead nav .navbar-collapse>ul>li.menu-item-has-children:not(.mega) ul.dropdown-menu>li:first-child a{
		padding-top:10px!important;
}
	body #masthead nav .navbar-collapse>ul>li.menu-item-has-children:not(.mega) ul.dropdown-menu>li:last-child a{
			padding-bottom:10px!important;
	}
	body .navbar-expand-lg .navbar-nav .dropdown-menu {
		position: fixed;
		/* top: calc(var(--header-height) + var(--admin-bar-height)); */
		top: calc(var(--header-height));
		border-radius: 0 0 20px 20px;
		margin-top: 0;
		position: absolute;
		left: calc(0px - var(--container-margin));
		width: calc(100% + var(--container-margin) + var(--container-margin));
		max-width: none;
	}
	body .navbar-expand-lg .navbar-nav .dropdown-menu .dropdown-menu{
		border-radius: 20px;
	}

	body #masthead nav .navbar-collapse>ul>li.menu-item-has-children:not(.mega) ul.dropdown-menu ul.dropdown-menu{
		left: 1.5rem;
		transform: translateX(-100%);
		top: 0;
		box-shadow: 1px 1px 30px #28436d61;
	}
	body #masthead nav .navbar-collapse>ul>li.menu-item-has-children:not(.mega) ul.dropdown-menu>li.menu-item-has-children:nth-of-type(2) ul.dropdown-menu{
		left: 3.5rem;
	}
	body header#masthead ul.navbar-nav {
		padding-right:var(--nav-extra-box-width);
	}

		body #masthead .navbar-collapse.fullwidth {
		position: absolute;
		top: auto;
		bottom: 0;
		transform: translateY(70%);
		margin-left: calc(0px - var(--container-margin) + 15px)!important;
		margin-right: calc(0px - var(--container-margin) +15px)!important;
		width: calc(100% + (2 * var(--container-margin)));
		width: calc(100% + (2 * var(--container-margin)) - (2 * 15px));
		display: flex;
    	justify-content: center;
	}

	#masthead .lang-switch {
		max-width:72px;
	}


	#masthead .nav-extra-items>.separator {
		width: 2px;
		background: var(--primary);
		height: 2rem;
		margin-right: auto;
		margin-left: 12px;
		margin-right:auto!important;
	}
	#masthead .nav-extra-items>div {
		max-height:3rem;
	}
	#masthead .nav-extra-items>div:not(:last-child):not(.navbar-extra-links) {
		margin-right:10px;
	}
	#masthead .nav-extra-items>.navbar-extra-links {
		margin-right:0!important;
	}
	/*MEGA MENU*/
	li.nav-item.mega>ul.dropdown-menu{
			padding:0!important;
			/* height:var(--mega-menu-height); */
	}
	li.nav-item.mega>.dropdown-menu>li:not(.contact-item){
			display:none;
	}
	li.nav-item.mega>.dropdown-menu>li.contact-item{
			display:block;
			width:100%;
	}
	li.nav-item.mega>.dropdown-menu>li.contact-item .megamenu-from-post .container {
		/* height: auto!important; */
		width: var(--container-width)!important;
		margin-left: auto;
		margin-right: auto;
		display: block;
	}

	li.nav-item.mega .rot-link-container {
		position: relative;
		/* height: var(--mega-menu-linkboxx-height); */
		overflow: hidden;
		border-radius:12px;
		/* text-align: center; */
		height:100%;
	}
	li.nav-item.mega .rot-link-container figure:after{
		content:'';
		display:block;
		position:absolute;
		top:0;
		left:0;
		width:100%;
		height:100%;
		background:black;
		opacity:.34;
		transition:background-color .6s, opacity .6s;
	}
	li.nav-item.mega .rot-link-container figure{
		width:100%;
		height:100%;
		/* padding-bottom:var(--mega-menu-linkboxx-height); */
		margin-bottom:0;
		position:absolute;
		display:block;

	}
	li.nav-item.mega .rot-link-container figure img{
		width:100%;
		height:100%;
		position:absolute;
		object-fit:cover;
	}
	li.nav-item.mega .rot-link-container .content {
		height: 100%;
		text-align: center;
		padding: 3rem 1.5rem;
	}
	li.nav-item.mega .rot-link-container .lead{
		line-height: .95em;
		font-weight: 600;
		hyphens: auto;
		color: white;
		z-index: 2;
		display: block;
		position: relative;
	}
	li.nav-item.mega .rot-link-container p:not(.lead) a {
		opacity: 0;
		transition: opacity .4s, color .4s;
		color: white;
		font-size: 1.2rem;
		font-weight: 300!important;
		transition:text-decoration .5s;
	}
	li.nav-item.mega .rot-link-container p.lead {
		opacity:1;
		font-weight:500!important;
	}
	li.nav-item.mega .rot-link-container p.lead a{
		font-size:1.35rem;
	}
	li.nav-item.mega .rot-link-container a:hover {
		text-decoration: underline;
	}

	li.nav-item.mega .rot-link-container:hover .content a{
		opacity:1;
	}
	li.nav-item.mega .rot-link-container:hover figure:after{
		background-color:var(--primary-dark-hover);
		opacity:.6;
	}

}
@media(min-width:1200px){
	.megamenu-from-post .container {
		padding-left:60px;
		padding-right:60px;
	}
	body #masthead .logo-wrap {
		max-width: 15rem;
	}
}
@media(min-width:1360px){
	body #masthead .logo-wrap {
		width: 13rem;
	}
}
@media(min-width:1440px){
	.megamenu-from-post .container {
		padding-left:100px;
		padding-right:100px;
	}
}
@media(min-width:1800px){
	.megamenu-from-post .container {
		padding-left:200px;
		padding-right:200px;
	}
}

body .searchform-r {
    position: fixed;
    top: calc(var(--header-height) + var(--admin-bar-height) + 2rem);
    z-index: 2000;
    background: var(--primary);
    width: 470px;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    display: none;
    max-width: calc(100% - 30px);
    left: auto;
    right: var(--container-margin);
}
.close-it-now{
	position: absolute;
    top: .2rem;
    right: 1.1rem;
    font-size: 1.8rem;
    color: white;
}




/*
	// ENDE //
	DAS
	ALLES
	IST NEU
	*/









/*TOGGLER*/
body #masthead .navbar-toggler:before {
    content: '';
    position: absolute;
    top: -12px;
    left: -7px;
    width: calc(42px + 20px);
    height: calc(42px + 20px);
    display: inline-block;
	/* background:var(--grey-light); */
	transition: background-color .3s;
}
body #masthead .navbar-toggler.collapsed:before {
	background:transparent;
}
body #masthead .navbar-toggler {
	border:none;
	background:transparent;
	position:relative;
	color:var(--secondary-light);
	transition:transform .4s;
	transition-delay:.4s;
}
body #masthead .navbar-toggler[aria-expanded="true"] {
    transform: rotate(45deg) translate(3px, -3px);
}


body #masthead.whitened .navbar-toggler {
	color:var(--text2);
}
body #masthead .navbar-toggler-icon {
    display: inline-block;
    width: 1.2em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    background: 50%/100% 100% no-repeat;
    bottom: -5px;
    left: -3px;
    position: relative;
}
/* 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: 80%;
    right: 0;
    position: absolute;
    height: 3px;
    border: 1px solid var(--primary);
    border: none;
    border-radius: 1px;
    background-color: var(--primary);
    top: 7px;
    transition: transform 0.5s cubic-bezier(.88,.11,.83,.67) 0.2s,
  border-color .3s, background-color .3s, width .5s .2s, opacity .5s .3s;
    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);
    width: 100%;
    right: 0;
}
.navbar-toggler-icon:after{
	top:20px;
	left:0;
	/* bottom:5px; */
}

.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.5em, 0.384em);
    /* width: 1.9em; */
    /* width: 1.5em; */
	width:0;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon .center-bar {
    transform: translateX(-0.2em) rotate(360deg);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(-450deg) translate(0.505em, -0.4em);
    /* width: 1.9em; */
    /* width: 1.58em; */
    bottom: 3px;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(-450deg) translate(0.325em, -0.26em);
    /* width: 1.9em; */
    /* width: 1.58em; */
    bottom: 3px;
    width: 100%;
}

/*------------------------------------------------------CUSTOM-------------------------*/




/*SOCIAL*/
.navbar-collapse{
	flex-grow:0;
	-ms-flex-positive:0;
}

.social{
	display: inline-block;
	font-size: 1.65rem;
	vertical-align: bottom;
	margin-right: 1rem;
	position: static;
	/* bottom: -7px; */
	margin-bottom: -1px;
	line-height: 1;
	padding:5px 7px;
	border-radius:var(--btn-border-radius);
	/* border:1px solid var(--white); */
}
body .social a{
	font-size:inherit;
}
body .social a:visited,
body .social a:focus,
body .social a{
	color:inherit;
	margin-right:5px;
}
body .social a:hover{
	color:var(--primary);
}
body .dark .social a,
body .dark .social{
	color:var(--white);
}


section.top-section{
	/* min-height:calc(100vh - var(--admin-bar-height)); */
	/* max-height:calc(100vh - var(--admin-bar-height)); */
	/* transition:max-height 2.4s; */
}
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);
}

.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);
}


li.menu-contact-wrap-outer .trp_language_switcher_shortcode{
	display:flex;
	justify-content:center;
}
li.menu-contact-wrap-outer .trp-language-switcher{
	display:flex;
	justify-content:center;
	width: auto;
	color:var(--primary);
}

.inner-button{
	font-size:1rem;
	padding-left: 0rem;
	margin-left:.8rem;
	/* display:none; */
}
.trp-language-switcher {
    height: 33px;
    display: flex;
    align-items: center;
    background: transparent;
    overflow: hidden;
    border-radius: 8px;
}

.trp-language-switcher > div {
	border: none;
	width:auto!important;
	background-color:transparent;
}

.trp-language-switcher .trp-ls-shortcode-current-language {
    display: none;
}
.trp-language-switcher > div>a:first-child:after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    width: 1px;
    background: var(--primary);
    height: calc(100% - 20px);
    top: 10px;
}
.trp-language-switcher > div a {
    padding: 9px 6px;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
	position:relative;
}
.trp-language-switcher > div > a:hover {
    background: var(--primary-light);
}
.trp-language-switcher > div > a.trp-ls-shortcode-disabled-language {
    cursor: default;
    /* color: var(--text-medium); */
    /* color: white; */
    background: #ffffff99;
}
.trp-language-switcher .trp-ls-shortcode-language {
    max-height: 100px;
    background: rgba(255, 255, 255, 0.05);
    transition: max-height .7s;
    position: relative;
    height: auto;
    display: flex!important;
    visibility: visible;
    align-items: center;
	padding:0;
}
.trp-language-switcher:focus .trp-ls-shortcode-language, .trp-language-switcher:hover .trp-ls-shortcode-language {
    /* visibility: visible; */
    max-height: 250px;
    padding: 0;
    /* height: auto; */
    /* overflow-y: auto; */
    position: relative;
    /* left: 0; */
    /* top: 0; */
    display: flex !important;
    /* min-height: auto; */
}
.trp-language-switcher:focus .trp-ls-shortcode-language,
.trp-language-switcher:hover .trp-ls-shortcode-language {
    max-height: 100px;
}

@media(min-width:768px){

	.has-bg-img:after {
		height: 200px;
	}
	.top-section,
	.has-bg-img{
		position:absolute;
		top:0;
		height:100%;
		width:100%;
	}

	body #masthead .navbar-toggler-icon {
		bottom: -3px;
	}
	body #masthead .navbar-toggler[aria-expanded="true"] {
		transform: rotate(45deg) translate(9px, -2px);
	}
	.navbar-extra-links {
		top: 0px;
	}
}
@media(min-width:992px){
	.navbar-extra-links {
		top: auto;
		position:relative;
	}
	.trp-language-switcher {
		width: auto;
	}
	.trp-language-switcher > div {
		background-color:white;
	}



}

@media(min-width:992px){
	.trp-language-switcher > div a {
		padding: 9px 6px;
		font-weight: 700;
		font-size: 16px;
		color: var(--primary-light);
		position: relative;
		background: #d6d4d454;
	}
	.trp-language-switcher > div > a.trp-ls-shortcode-disabled-language {
		background: #ffffff;
		color: var(--primary);
	}
	.trp-language-switcher > div > a.trp-ls-shortcode-disabled-language:hover{
		color: var(--primary);
	}
	.trp-language-switcher > div > a:hover {
		background: var(--primary-light);
		color: white;
	}
}

.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: center;
	justify-content:center;
}
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 .nav-item-title{
	color:var(--primary);
} */
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 {
		min-height: 0vh;
	} */
	body #masthead .navbar-collapse.show {
		height: calc(100vh - var(--header-height) - var(--admin-bar-height));
		/* box-shadow: -1px 42px 32px #00000017; */
		transform: translateY(0);
		display: flex;
	}
	body #masthead .navbar-collapse,
	body #masthead.whitened .navbar-collapse {
		background: var(--main-menu-bg);
		color: var(--c-main-menu-color);

		flex-direction: row;
		align-items: stretch;
	}
	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) - 5rem);
		overflow: auto;
		overflow-x: auto;
	}
	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:100%;
		flex:0 0 100%;
	}
	#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);
	}
	body #masthead .navbar-collapse {
        width: calc(100% + (2 * var(--container-margin)) - 30px);
		width:100%;
        left: calc(0px - (var(--container-margin) - 15px));
        left: auto;
        right: calc(0px - (var(--container-margin) - 30px));
        padding-top: 2rem;
        min-height: 100vh;
    }
}
@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) - 15px));
    }
}
@media(min-width:782px) and (max-width:991.98px){
	body #masthead .navbar-toggler-icon {
		bottom: -3px;
	}
	.navbar-extra-links {
		top: 0px;
	}
	body #masthead .navbar-toggler[aria-expanded="true"] {
		transform: rotate(45deg) translate(8px, 2px);
	}

}
@media(min-width:840px) and (max-width:991.98px){
	body #masthead .navbar-collapse {
        right: calc(0px - (var(--container-margin) - 15px));
    }
}

@media(min-width:992px){
	/* ul.dropdown-menu{
		display: grid;
		display: grid!important;
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(4, 1fr);
		grid-column-gap: 0px;
		grid-row-gap: 0px;
	} */

	#masthead .main-header-links {
		top: 0;
		right: auto;
		left: 0;
		width: auto;
		position: relative;
	}
	.logo-wrap {
		width: 172px;
		margin-top: 2.4rem;
		/* height: 50px; */
	}
	body.scrolled .logo-wrap:not(.centered) {
		width: 104px;
		/* height: 44px; */
	}
	.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 .quicklink-inner{
	padding: 12px 18px;
    margin-bottom: 18px;
    border: 2px solid var(--primary);
    border-radius: 20px 0 20px 20px;
} */
#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,
.has-pseudo-border-left .section-lead p,
p.lead, .lead {
    font-size: var(--lead-p-size);
    /* font-size: 24px; */
    line-height: 1.4em;
    font-weight: 300;
    hyphens: none;
    max-width: 45rem;
    margin-bottom: 1.8rem;
}
.lead-wide .lead p,
.lead-wide .has-pseudo-border-left .section-lead p,
.lead-wide p.lead, .lead-wide .lead {
    max-width: 100%;

}
.section-lead p{
	font-size: var(--lead-p-size);
    /* font-size: 24px; */
    line-height: 1.5em;
	margin-bottom: 1.8rem;
}
.has-pseudo-border-left p.lead+h3{
	margin-top:1.25rem;
}

.navbar-nav ul.dropdown-menu>li>a.nav-link{
	padding-right: 1.27rem;
}
.rot-section div>ul:last-child{
	margin-bottom:0;
}
.rot-section div>ul:last-child>li:last-child{
	margin-bottom:0;
}
























/*RETTER*/




#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;
	}
}


[data-sticky*=fixed]{
	margin-top: var(--admin-bar-height);
	top:0!important;
}


@media(min-width:1000px){
	[data-sticky*=fixed]{
		margin-top:  var(--admin-bar-height);
	}
}
@media(min-width:992px){
	#primary-menu>li:not(.mega) .dropdown-menu{
		opacity:0;
		max-height:none;
		pointer-events:none;
		padding:1rem!important;
		transition:opacity .5s;
	}
	#primary-menu>li:not(.mega) .dropdown-menu.show{
		opacity:1;
		max-height:auto;
		pointer-events:all;
	}
}
.display-header.full{
	width:100%;
	height:calc(100vh - var(--header-height) - var(--admin-bar-height));
	background-size:cover;
}
.display-header.full:before{
	content:'';
	position: absolute;
	display:block;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color:var(--primary-dark);
	opacity:.3;
}
.display-header.full:before{
	content:'';
	position: absolute;
	display:block;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color:var(--text);
	opacity:.5;
}
.thankyou-page-header{
	display: flex;
    justify-content: center;
    align-items: center;
	color: white;
	text-align:center;
}
.thankyou-page-header .container{
	z-index:2;
}
.thankyou-page-header .header-overlay>p,
.thankyou-page-header .header-overlay>h2,
.thankyou-page-header .header-overlay>img{
	flex:0 0 100%;
	max-width:100%;
}
.thankyou-page-header .header-overlay>img{
	max-width: 340px;
}
.thankyou-page-header .header-overlay{
	display: flex;
    justify-content: center;
    align-items: center;
	flex-wrap: wrap;

}
.thankyou-page-header h3,
.thankyou-page-header h2,
.thankyou-page-header h1,
.thankyou-page-header p{
	color:inherit;
}