﻿body{
	--header-height:var(--wp--custom--header-height--standard);
	--topheader-height:var(--wp--custom--top-header-height--standard);
}

header a, footer a { text-decoration:none }
header a:hover, footer a:hover { text-decoration:none }
/*__________________________________________layout one column */
#head{
	position:fixed;
	left:0;
	top:0;
	width:100%;
	z-index:100;
	background-color:var(--wp--custom--header-color--background);
	/*background-color:hsla(var(--wp--custom--header-color--background),0.9);*/
}
#head.menu_width_content .has-global-padding { max-width: var(--wp--style--global--content-size); margin-left:auto; margin-right:auto; }
#head.menu_width_wide .has-global-padding { max-width: var(--wp--style--global--wide-size); margin-left:auto; margin-right:auto; }
#head .has-global-padding, #topheader .has-global-padding{
	position: relative;
	display: -webkit-box;display: -ms-flexbox;display: flex;
	-webkit-box-align: center;-ms-flex-align: center;align-items: center;
	-webkit-transition: all 0.3s ease;-o-transition: all 0.3s ease;transition: all 0.3s ease;
}
#head .has-global-padding{min-height: var(--header-height); }
#topheader .has-global-padding{min-height: var(--topheader-height); }

#head.top>.has-global-padding{min-height: 50px;}
#head.logo_pos_left>.has-global-padding{-webkit-box-pack: end;-ms-flex-pack: end;justify-content: flex-end;}
#head.logo_pos_right>.has-global-padding{-webkit-box-pack: start;-ms-flex-pack: start;justify-content: flex-start;}
#head.logo_pos_center>.has-global-padding{-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;}

#head.shadow{box-shadow: 0 0 15px rgba(0,0,0,0.5)}
.one-column #head{
	max-width: var(--width-page);
    left: max(calc((100% - var(--width-page))/2),0px);
    box-shadow:0 0 2em -1em rgba(0,0,0,0.5)
}
#head { --color-text:var(--wp--custom--header-color--text); --color-headers:var(--wp--custom--header-color--text); --color-link:var(--wp--custom--header-color--link); --color-link-hover:var(--wp--custom--header-color--link-hover); color: var(--color-text)}
.admin-bar #head {top: 32px;}
#logo{
	position:absolute;
	z-index: 5;
}
#head.logo_pos_left #logo{
	left:var(--wp--style--root--padding-left);
	top:calc(var(--header-height) / 2);
	-webkit-transform: translate(0, -50%);-ms-transform: translate(0, -50%);transform: translate(0, -50%);
	max-width: min(300px, calc(100% - 120px))
}
#head.logo_pos_center #logo{
	left:50%;
	top:calc(var(--header-height) / 2);
		-webkit-transform: translate(-50%, -50%);-ms-transform: translate(-50%, -50%);transform: translate(-50%, -50%);

	text-align: center;
}
#head.logo_pos_right #logo{
	right:var(--wp--style--root--padding-right);
	top:calc(var(--header-height) / 2);
	-webkit-transform: translate(0, -50%);-ms-transform: translate(0, -50%);transform: translate(0, -50%);
}
#logo, #logo *{
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.one-column #head.top #logo {top:-120px;}
.one-column #head.top #topheader {display: none}

#page{
	position:relative;
	display:block;
	max-width:var(--width-page);
	margin:auto;
	padding:calc(var(--topheader-height) + var(--header-height)) 0 0 0;
	background-color: var(--wp--preset--color--background);
}
#pagefix.on::before{content:' ';position:absolute; z-index:5000; top:0; left:0; bottom:0; right:0; background-color:var(--wp--preset--color--primary); opacity: 0.9;}

#topheader {background-color:var(--wp--custom--top-header-color--background); color: var(--wp--custom--top-header-color--text);}
#topheader a{color: var(--wp--custom--top-header-color--link); text-decoration: none; }
#topheader a:hover{color: var(--wp--custom--top-header-color--link-hover)}

#topheader .widget_block>ul ul a{color: var(--wp--preset--color--primary);}
#topheader .widget_block>ul ul a:hover{color: var(--wp--preset--color--textcolor)}

#topheader input{--color-text:var(--wp--custom--top-header-color--text); margin-bottom: 0}
#topheader .baseicon{margin: 0 0 0 1px}
#header-01, #header-02{padding: 0 }
#topheader p{margin: 0}
/*#header-01 :last-child, #header-02 :last-child{margin-bottom: 0}*/
#header-02 {text-align: right; margin-left: auto;}
#header-02 .widget_block{display: flex;}
#topheader .widget_nav_menu ul{margin:0 -15px}
#topheader .widget_nav_menu li {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}
#topheader .widget_nav_menu li a{display: block; margin: 0;padding:10px 15px;}

#topheader ul {
	list-style-type: none;
    list-style-position: outside;
    margin: 0;
    padding: 0;
}

#topheader .widget_block>ul li::before {
    content: none
}

#topheader .widget_block>ul li {
    display: block;
    margin: 0;
    padding: 0
}

#topheader .widget_block>ul ul {
    display: block;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    position: absolute;
    z-index: 1000;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out
}

#topheader .widget_block>ul>li {
    display: inline-block;
    margin: 0;
    vertical-align: middle;
    position: relative;
}
#topheader .widget_block>ul>li>a {
	display: flex; align-items:center; -moz-column-gap: 0.5em; column-gap: 0.5em; min-height: var(--topheader-height); padding: 0 0.5em;
}
#topheader .widget_block>ul>li:hover>a {color:var(--wp--custom--top-header-color--link-hover); background-color:var(--wp--custom--top-header-color--link-background-hover);}
#topheader .widget_block>ul ul {
    top: var(--topheader-height,32px);
    right: 0;
    text-align: left
}

#topheader .widget_block>ul ul li {
	color: var(--wp--preset--color--textcolor);
    margin: 0
}

#topheader .widget_block>ul li:hover>ul,#topheader .widget_block>ul li.hover>ul,#topheader .widget_block>ul li:focus-within>ul,#topheader .widget_block>ul *:target+ul,#topheader .widget_block>ul ul.open {
    max-height: 500px;
    color:var(--wp--custom--top-header-color--link-hover); 
    background-color:var(--wp--custom--top-header-color--link-background-hover);
}

#topheader .widget_block>ul li:hover>a[aria-expanded=false]+ul {
    max-height: 0;
    padding: 0
}

#topheader .widget_block>ul>li>a[aria-expanded=true] svg.baseicon>* {
    opacity: 0
}

#topheader .widget_block>ul>li>a[aria-expanded=true]::before {
    content: '';
    width: 1em;
    color: inherit;
    transform: rotate(45deg);
    position: absolute;
    height: 0;
    border-bottom: 0.25em solid;
    left: 0.5em;
    top: calc(50% - 0.125em);
}

#topheader .widget_block>ul>li>a[aria-expanded=true]::after {
    content: '';
    width: 1em;
    color: inherit;
    transform: rotate(-45deg);
    position: absolute;
    height: 0;
    border-bottom: 0.25em solid;
    left: 0.5em;
    top: calc(50% - 0.125em);
}

#topheader .widget_block>ul ul li {
    display: block;
    padding: 1em;
    margin: 0;
    min-width: 250px
}

@media screen and (max-width: 360px) {
    #topheader .widget_block>ul li {
        margin:0
    }
}


@media (max-width: 600px) {
    #topheader .widget_block>ul ul.open {
        position:fixed;
        left: 0;
        top: 46px;
        width: 100vw
    }
}
/* Hide font on topheader mobile*/
@media (max-width: 480px) {
    #header-02 .widget>ul>li>a {font-size:0}
    #header-02 .widget>ul>li>a::before, #header-02 .widget>ul>li>a::after, #header-02 .widget>ul>li>a svg,#header-02 .widget>ul>li>a ul { font-size: 0.9rem }
}
/* Searchbox  */
#header-01 .wp-block-search__button-outside {
	position: absolute;
	top: 0.5em;
	z-index: 5;
	margin: 0;
    width:max(44px,2em);
    overflow: hidden;
    transition: all 0.3s ease;transition: all 0.3s ease;
}
#header-01 .wp-block-search__button-outside:hover {	
	width: min(200px , 100%);
}
#header-01 .wp-block-search__inside-wrapper{
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	-ms-flex-direction: row-reverse;
	flex-direction: row-reverse;
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	-webkit-box-align: center;-ms-flex-align: center;align-items: center;
}   
#header-01 .wp-block-search__button {
    font-size: 1em;
    min-width: 44px;
    padding: 0;
    margin: 0 0.5em 0 -0.25em;
    appearance: none;
    background: none;
    border: none;
    min-height: 32px;
}
#header-01 .wp-block-search__button  svg {width: 2em; height: 2em; color: var(--wp--custom--top-header-color--link)}

#header-01 .wp-block-search__input {
    font-size: 1em;
    padding: 0em 1em;
    appearance: none;
    background: #FFF;
    border-radius: 0em;
    border: 1px solid #ccc;
    /*width: 200px;*/
    min-height: 32px;
}

























#footer {background-color:var(--wp--custom--footer-color--background); color: var(--wp--custom--footer-color--text); padding-top: 4em; padding-bottom: 2em;}
#footer a{color: var(--wp--custom--footer-color--link)}
#footer a:hover{color: var(--wp--custom--footer-color--link-hover)}
#footer input{--color-text:var(--wp--custom--footer-color--text); margin-bottom: 0}
#footer .iconset{margin-top: 0.5em; margin-bottom: 0.5em}

#footermenu {
    margin-top: 4em;
    border-top: 1px solid;
}

#navfooter {
    margin-top: 4em;
    list-style: none;
    margin: 2em 0 0 0;
    padding: 0;
    display: flex;
    gap: 3em;
    flex-wrap: wrap;
}

#scrolltop{
	display:block;
	position:fixed;
	bottom:-60px;
	right:20px;
	z-index: 1000;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.layer-modal {position: absolute; width: 100%; min-height: 100vh; display: -webkit-box;  display: -ms-flexbox;  display: flex;  -webkit-box-pack: center;  -ms-flex-pack: center;  justify-content: center;  -webkit-box-align: center;  -ms-flex-align: center;  align-items: center;}
.modal-content{background-color: var(--wp--preset--color--background); box-shadow: 0 1em 2em -1em rgba(0,0,0,0.5); max-width: 100%}
.layer-modal.fixed {position:fixed; left:0; top:0; width:100%; height:100%;}
.layer-modal.fixed::after {content:''; display: block; background-color:var(--wp--preset--color--primary); opacity:0.9; position:fixed; left:0; top:0; width:100%; height:100%;}

.closeButton.closeModal{position: fixed; right: max( 1em , calc(50vw - 0.5 * var(--wp--style--global--wide-size))); top:1em; font-size: 1.5rem; padding: 0}
.closeButton.closeModal .baseicon{box-shadow:0 0.25em 0.75em  rgba(0,0,0,0.75)}

.layer-modal:has(.standort) .closeButton { right: max(1em, calc(50vw - 0.5* var(--wp--style--global--content-size))); }
/*__________________________________________layout two columns */
.two-column{--leftmenu-width: var(--wp--custom--two-column--menu-width,200px)}
.two-column #container{
	position:relative;
	max-width:var(--width-page);
	margin:auto;
	background-color: var(--color-content-bg);
}
.two-column #pagewrap{
	position:relative;
	float: left;
	width: 80%;
	width: calc(100% - var(--leftmenu-width));
}
.two-column #page{padding: 0}
.two-column #head{
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 1000;
	float: left;
	width: 20%;
	width: var(--leftmenu-width);
	min-height: 100vh;
	background-color: var(--wp--custom--header-color--background);
	padding:0;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	box-shadow:0 1em 2em -1em rgba(0,0,0,0.5)
}

.two-column #logo{
	position:absolute;
	left:50px;
	top:20px;
}
.two-column nav#column{
	position:relative;
	padding-top:150px;
}
.two-column #navigation {
    text-align: left;
}

/*__________________________________________________________________menu___column*/

ul#columnmenu, ul#columnmenu ul {
	position:relative;
	padding:0;
	list-style-type: none;
	list-style-position:outside;
	margin:0;
	padding:0;
}
ul#columnmenu li {
position:relative;
margin:0 0 0 20px;
}
ul#columnmenu li:hover > ul, ul#columnmenu li.current-page-parent > ul {
	max-height:1000px;
	overflow:visible;
	visibility: visible;
	opacity: 1;
}
ul#columnmenu li:hover > a, ul#columnmenu li.current-page-parent > a, ul#columnmenu li.current_page_item > a:not([href*="#"]) {
	color:var(--color-link-hover);
}
ul#columnmenu li.current_page_item > a[href*="#"]:target {
	color:var(--color-link-hover);
}

ul#columnmenu li > a {padding: 5px 0; display: block}
ul#columnmenu ul {
	max-height:0;
	overflow:hidden;
	-webkit-transition: max-height 0.5s ease-in-out 1s, visibility 0s ease 1s, opacity 0.5s ease 1s;
	-moz-transition: max-height 0.5s ease-in-out 1s, visibility 0s ease 1s, opacity 0.5s ease 1s;
	-ms-transition: max-height 0.5s ease-in-out 1s, visibility 0s ease 1s, opacity 0.5s ease 1s;
	-o-transition: max-height 0.5s ease-in-out 1s, visibility 0s ease 1s, opacity 0.5s ease 1s;
	transition: max-height 0.5s ease-in-out 1s, visibility 0s ease 1s, opacity 0.5s ease 1s;
	visibility: hidden;
	opacity: 0;
}
/*__________________________________________________________________menu___top*/
#menu {
	position:relative;
	display:block;
	margin:0;

	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
#head.logo_pos_left ul#nav {margin-right: -1em}
#head.logo_pos_center #menu {
	padding:150px 0 15px 0;
	text-align:center;
}
#head.logo_pos_center ul#nav {text-align: center;}
#head.logo_pos_right ul#nav {margin-left: -1em}

#menuhead { display:none; }

ul#nav a {
	display:block;
	font-size:1em;
	text-transform: uppercase;
	line-height: 1.25em;
	font-weight: bold;
	color: var(--color-link);
	margin:0;
	padding:0.75em 1em;
}
ul#nav a:hover, ul#nav .current-page-ancestor>a, ul#nav .current-menu-ancestor>a, ul#nav .current_page_item>a:not([href*="#"]) {
	color:var(--color-link-hover);
}
ul#nav .current_page_item > a[href*="#"]:target {
	color:var(--color-link-hover);
}

ul#nav {
	position: relative;
/*	width:100%;*/
	list-style: none;
	margin: 0;
	padding: 0;
}
ul#nav li {
	position: relative;
	display:inline-block;
	z-index:auto;
	cursor: default;
	min-height: 1px;
	list-style: none;
	margin: 0;
	padding: 0;
}

ul#nav li::before { position:absolute; content: ""; display:none;}
ul#nav ul {
	position: absolute;
	max-height:0;
	overflow:hidden;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;

	top: 100%;
	left: 0;
	z-index:155;
	background:var(--wp--custom--header-color--background);
	padding:0;
	margin:0;

	box-shadow:0 1em 1.5em -1.25em rgba(0,0,0,0);
}
ul#nav ul a {
	display:block;
	white-space:nowrap;
	text-transform: none;
}
ul#nav ul li { display:block; float: none; padding:0; }
ul#nav ul li a{
	margin:0;
	padding:0.75em 1em;
}



ul#nav ul ul {
	top: 0;
	left: 99%;
	min-width:150px;
}
ul#nav li:hover > ul, ul#nav a:focus+ul, ul#nav li:focus-within > ul {
	padding:0;
	max-height:1500px;
	overflow:visible;
	box-shadow:0 1em 1.5em -1.25em rgba(0,0,0,1);
}


@media(max-width:768px){
	.is-stacked-on-mobile :is(.wp-block-cover .wp-block-cover__image-background, .wp-block-cover video.wp-block-cover__video-background, .wp-block-cover-image .wp-block-cover__image-background, .wp-block-cover-image video.wp-block-cover__video-background){
		height: 50%;
	}
	.is-stacked-on-mobile :is(.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-top-right .wp-block-cover__inner-container, .wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-center-right .wp-block-cover__inner-container, .wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-bottom-right .wp-block-cover__inner-container,
	.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container, .wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container) {
    position: absolute;
    margin: 0;
    width: auto;
    top: 50%;
	}
	.is-stacked-on-mobile :is(.wp-block-cover-image.is-position-center-right, .wp-block-cover.is-position-center-right, 
	.wp-block-cover-image.is-position-center-left, .wp-block-cover.is-position-center-left, 
	.wp-block-cover-image.is-position-bottom-right, .wp-block-cover.is-position-bottom-right,
	.wp-block-cover-image.is-position-bottom-left, .wp-block-cover.is-position-bottom-left)  {align-items: center; justify-content: center;}

	.is-stacked-on-mobile .wp-block-cover__inner-container{ box-shadow:none !important }

	.has-global-padding > .alignfull > .wp-block-media-text.is-stacked-on-mobile {
    	margin-left: calc(var(--wp--style--root--padding-left)* -1) !important;
    	margin-right: calc(var(--wp--style--root--padding-right)* -1) !important;
	}
	.has-global-padding > .alignfull > .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
    	padding-left: var(--wp--style--root--padding-right);
    	padding-right: var(--wp--style--root--padding-right);
    }
}







/*wpcf7-form*/
form.wpcf7-form {
    padding: 1.5em;
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.5);
    background-color: var(--wp--preset--color--background);
    border-radius: 0.5em;
    max-width: 570px;
}
.toggleCont form.wpcf7-form{margin: 1em}
form.wpcf7-form p {margin: 0}
form.wpcf7-form label {display: block;}
span.wpcf7-not-valid-tip {margin: -0.75em 0 0.75em 0;}

.wpcf7-form [type="submit"], .wpcf7-form [type="text"], .wpcf7-form [type="email"], .wpcf7-form [type="date"],  .wpcf7-form [type="tel"], .wpcf7-form textarea, .wpcf7-form select, .wpcf7-form .input {
    display: inline-block;
    /*min-height: 40px;*/
    background-color: var(--wp--preset--color--background-light);
    box-sizing: border-box;
    color: var(--wp--preset--color--textcolor);
    font-family: inherit;
    font-size: 1.1rem;
    line-height: 1.25em;
    border: none;
   /* border-bottom: 4px solid var(--wp--preset--color--secondary);*/
    padding: 0.8em;
    margin-bottom:1em;
    width: 100%;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.wpcf7-form input[type="checkbox"], .wpcf7-form input[type="radio"] {
    position: relative;
    width: 30px;
    height: 30px;
    vertical-align: middle;
    border: 1px solid #666;
    background-color: var(--wp--preset--color--background-light);
    color: var(--wp--preset--color--textcolor);
    accent-color: var(--wp--preset--color--secondary);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.wpcf7-form input[type="radio"]{border-radius: 50%}
.wpcf7-form input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 9px;
    top: -1px;
    width: 6px;
    height: 20px;
    border-right: 4px solid var(--wp--preset--color--background);
    border-bottom: 4px solid var(--wp--preset--color--background);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}
.wpcf7-form input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 5px;
    width: 19px;
    height: 19px;
    background-color:var(--wp--preset--color--background);
    border-radius: 50%;
}
.wpcf7-form input[type="checkbox"]:checked, .wpcf7-form input[type="radio"]:checked {
    background-color: var(--wp--preset--color--secondary);
}
.wpcf7-form input:not([type="checkbox"]):not([type="radio"]):hover, .wpcf7-form textarea:hover, .wpcf7-form select:hover {
    background-color: var(--wp--preset--color--tertiary);
    color: var(--wp--preset--color--textcolor);
}
.wpcf7-form input[type="checkbox"] + span { display: inline-block; max-width: calc(100% - 60px); margin-left: 1em; vertical-align: top;}

.wpcf7-form-control-wrap:has(>select)::after { content: '▾'; position: absolute; right: 0.5em; top: 0.5em; transition: transform 0.5s ease;}
.wpcf7-form-control-wrap:has(>select:focus)::after { transform:rotate(180deg)}

.wpcf7-form [type="submit"]:not([type="checkbox"]):not([type="radio"]):hover{
    background-color: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--white);
}
.wpcf7-form [type="submit"]:not([type="checkbox"]):not([type="radio"]){
    cursor: pointer;
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--white);
}

.wpcf7-form .wpcf7-list-item {
    margin: 1em;
}

.label-column label>span:last-child {
    display: block;
    float: right;
    width: 66%;
}
.label-column label>span:first-child {
    display: block;
    float: left;
    width: 33%;
    padding-top: 1em;
}
.label-column label::after {
    content: '';
    display: block;
    clear: both;
}
@media (max-width: 480px){
.label-column label>span:first-child {
    display: block;
    float: none;
    width: auto;
    padding-top: 0;
}
.label-column label>span:last-child {
    display: block;
    float: none;
    width: auto;
}
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: var(--wp--preset--color--secondary);
}

.wpcf7 form .wpcf7-response-output {
    margin: 1em 0;
    padding: 1em;
    border-width: 5px;
}



.has-primary-background-color .wpcf7-form {--wp--preset--color--textcolor:var(--wp--preset--color--black); color: var(--wp--preset--color--textcolor)}
.has-primary-background-color .wpcf7-form .wp-element-button:not(:hover):not(:focus):not(.has-background) {
    background-color: var(--root--preset--color--primary); color:var(--root--preset--color--white); 
}