header{
	position: fixed;
    width: 100%;
	background: #fff;
	padding: 27px 0;
    z-index: 1000;
	top: 0;
	left: 0;
}

.header_main_wrapper {
	position: relative;
	z-index: 1;
}

ul{
	list-style:none;
	margin:0;
	padding:0;
}

.header_container_menu ul{
	display: flex;
	gap: 0 95px;
}

.header_container_menu ul li{
	position: relative;
}

.header_container_menu ul li:not(:last-child):after {
	content: '';
	position: absolute;
	right: -48px;
	bottom: 0;
	width: 2px;
	height: 100%;
	background: #333946;
}

.header_inner{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header_main_mobile_content{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 78px 33px 43px;
	width: 500px;
	right: 0;
	box-shadow: inset 0 1em 1em -1em #092939;
	-webkit-transition: -webkit-transform .4s, top .4s;
	-moz-transition: -moz-transform .4s, top .4s;
	-ms-transition: -ms-transform .4s, top .4s;
	-o-transition: -o-transform .4s, top .4s;
	transition: transform .4s, top .4s;
	-webkit-transform: translateX(500px);
	-moz-transform: translateX(500px);
	-ms-transform: translateX(500px);
	-o-transform: translateX(500px);
	transform: translateX(500px);
	top: -27px;
	height: 100vh;
	position: absolute;
	background-color: rgba(63, 120, 152, 0.88);
	z-index: 2;
	overflow-y: scroll;
}

.header_main_mobile_content.open{
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
}

.header_main_mobile_content_top_2{
	display: flex;
    justify-content: space-between;
}

.header_main_desktop{
	display:block;
}

.header_main_mobile{
	display:none;
}

.header_container_mobil_menu ul{
	list-style:none;
	margin:0;
	padding:0;
}

.header_main_mobile_overlay{
	/* background-color:rgba(0, 0, 0, 0.6); */
	position: absolute;
	width: 100vw;
	height: 100vh;
	top: -27px;
	left: 0;
	z-index: 1;
	visibility: hidden;
	opacity: 0;
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	-webkit-transition: visibility 0s linear 300ms, opacity .4s, top .4s;
	-moz-transition: visibility 0s linear 300ms, opacity .4s, top .4s;
	-ms-transition: visibility 0s linear 300ms, opacity .4s, top .4s;
	-o-transition: visibility 0s linear 300ms, opacity .4s, top .4s;
	transition: visibility 0s linear 300ms, opacity .4s, top .4s;
}

.header_main_mobile_overlay.show{
	visibility: visible;
	opacity: 1;
	-webkit-transition: visibility 0s linear 0s, opacity .4s;
	-moz-transition: visibility 0s linear 0s, opacity .4s;
  	-ms-transition: visibility 0s linear 0s, opacity .4s;
  	-o-transition: visibility 0s linear 0s, opacity .4s;
  	transition: visibility 0s linear 0s, opacity .4s;
}

.header_main_mobile_background_img {
	position: absolute;
	top: -27px;
	right: 0;
	width: 500px;
	height: 100vh;
	-webkit-transition: -webkit-transform .4s, top .4s;
	-moz-transition: -moz-transform .4s, top .4s;
	-ms-transition: -ms-transform .4s, top .4s;
	-o-transition: -o-transform .4s, top .4s;
	transition: transform .4s, top .4s;
	-webkit-transform: translateX(500px);
	-moz-transform: translateX(500px);
	-ms-transform: translateX(500px);
	-o-transform: translateX(500px);
	transform: translateX(500px);
}

.header_main_mobile_overlay.show ~ .header_main_mobile_background_img {
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	-ms-transform: translateX(0);
	-o-transform: translateX(0);
	transform: translateX(0);
}

.header_main_mobile_background_img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.header_burger_menu_icon,
.header_container_close_button{
	cursor:pointer;
}

.header_container_mobil_menu li.menu-item-has-children{
	overflow:hidden;
}

.header_container_mobil_menu li.menu-item-has-children>a:after{
	content:">";
	display: inline-block;
	
	-webkit-transition: -webkit-transform .3s ease-in-out;
	-moz-transition: -moz-transform .3s ease-in-out;
	-ms-transition: -ms-transform .3s ease-in-out;
	-o-transition: -o-transform .3s ease-in-out;
	transition: transform .3s ease-in-out;
}

.header_container_mobil_menu li.menu-item-has-children>a.open:after{
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	transform: rotate(90deg);
}

.sub-menu{
	display:none;
}

.menu_item_img{
	width: 100px;
	height: auto;
}

.logo_container {
	width: 111px;
	height: auto;
}

.header_inner .logo_container {
	transition: width .4s;
}

header.scrolled .header_inner .logo_container {
	width: 85px;
}

.logo_container a {
	height: 100%;
}

.logo_container svg,
.logo_container img {
	width: 100%;
	height: auto;
}

.logo_container svg {
	fill: #092939;
}

.header_inner_right_btn_container .button svg {
	width: 18px;
	min-width: 18px;
	height: 21px;
	min-height: 21px;
	margin-right: 5px;
	margin-bottom: 3px;
}

.header_burger_menu_icon {
	display: flex;
	flex-direction: column;
	align-items: end;
}

.header_burger_bar {
	display: block;
	height: 6px;
	background: #3f7898;
	border-radius: 50px;
	-webkit-transform-origin: 38.5px;
	-moz-transform-origin: 38.5px;
	-o-transform-origin: 38.5px;
	transform-origin: 38.5px;
	-webkit-transition: all .4s;
	-moz-transition: all .4s;
	-ms-transition: all .4s;
	-o-transition: all .4s;
	transition: all .4s;
}

.header_burger_bar:not(:last-child) {
	margin-bottom: 10px;
}

.header_burger_bar_1 {
	width: 41px;
}

.header_burger_bar_2 {
	width: 54px;
}

.header_burger_bar_3{
	width: 30px;
}

.header_burger_menu_mobile:hover .header_burger_bar {
	width: 35px;
}

.header_inner.open .header_burger_bar_1 {
	width: 35px;
	height: 4px;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.header_inner.open .header_burger_bar_2 {
	width: 0;
}

.header_inner.open .header_burger_bar_3 {
	width: 35px;
	height: 4px;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}

header #menu-header-navigation .menu-item a {
	position: relative;
}

header #menu-header-navigation .menu-item a:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 1px;
	background: #333946;
	transform-origin: right;
	-webkit-transform: scaleX(0);
	transform: scaleX(0);
	-webkit-transition: transform .4s ease-out;
	-moz-transition: transform .4s ease-out;
	-ms-transition: transform .4s ease-out;
	-o-transition: transform .4s ease-out;
	transition: transform .4s ease-out;
}

header #menu-header-navigation .menu-item a:hover:after,
header #menu-header-navigation .current-menu-item a:after {
	transform-origin: left;
	-webkit-transform: scaleX(1);
	transform: scaleX(1);
}

.header_main_mobile_content * {
	color: #fff;
}

.header_main_mobile_content .footer_main_middle_item_social_container {
	display: block;
}

.header_main_mobile_content .footer_main_middle_item_social_links_item svg {
	fill: #fff;
}

.header_main_mobile_content .footer_main_middle_item_social_links_item svg:hover {
	fill: #092939;
}

.header_main_mobile_content_bottom_1 {
	margin-bottom: 17px;
}

.header_main_mobile_content_bottom_2_left,
.header_main_mobile_content_bottom_2_right_email_phone_fax_container {
	display: flex;
	flex-direction: column;
}

.header_main_mobile_content_bottom_2_right_email_phone_fax_container {
	align-items: end;
}

.header_main_mobile_content_bottom_2_left a:not(:last-child),
.header_main_mobile_content_bottom_2_right_phone_container {
	margin-bottom: 10px;
}

.header_main_mobile_content_bottom_2_right_item a {
	position: relative;
	font-weight: 200;
}

.header_main_mobile_content_bottom_2_right_item a span {
	font-weight: 500;
}

.header_main_mobile_content_bottom_2_right_item a:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: rgba(255, 255, 255, .5);
	transition: background .4s;
}

.header_main_mobile_content_bottom_2 a,
.header_main_mobile_content_bottom_2 a * {
	transition: color .4s;
}

.header_main_mobile_content_bottom_2 a:hover,
.header_main_mobile_content_bottom_2 a:hover * {
	color: #092939;
}

.header_main_mobile_content_bottom_2_right_item a:hover:after {
	background: #092939;
}

.header_main_mobile_content_middle {
	position: relative;
	margin: 138px 0 136px;
}

.header_main_mobile_content_middle_background_logo_container {
	position: absolute;
	top: 50%;
	left: 7px;
	width: calc(100% + 7px);
	height: auto;
	z-index: -1;
	transform: translateY(-50%);
}

.header_main_mobile_content_middle_background_logo_container svg {
	fill: rgba(255, 255, 255, .1);
	width: 100%;
	height: auto;
}

@media screen and (max-width: 1599px) {
	
}

@media screen and (max-width: 1399px) {
	
}

@media screen and (max-width: 991px) {
	.header_main_desktop{
		display:none;
	}
	
	.header_main_mobile{
		display:block;
	}
	
	.header_main_mobile .header_inner_right {
		position: relative;
		z-index: 2;
	}
	
	.header_main_wrapper > .container {
		max-width: 100% !important;
		padding: 0 22px;
	}
	
	.header_burger_menu_mobile {
		display: flex;
		flex-direction: column;
		align-items: end;
	}
}

@media screen and (max-width: 991px) {
	
}

@media screen and (max-width: 767px) {
	
}

@media screen and (max-width: 575px) {
	
}

@media screen and (max-width: 475px) {
	
}

@media screen and (max-width: 450px) {
	
}

@media screen and (max-width: 430px) {
	
}

@media screen and (max-width: 375px) {
	
}

@media screen and (max-width: 350px) {
	.header_main_mobile_content_bottom_2 {
		flex-direction: column-reverse;
	}
	
	.header_main_mobile_content_bottom_2_right_email_phone_fax_container {
		align-items: start;
		margin-bottom: 20px;
	}
}

@media screen and (max-width: 325px) {
	
}

/* ===========================================================================
   WKN-Wohnbau Child — extensions to the BtW menu/v1 markup.
   - Adds a top trust-bar above the navbar (Alles aus einer Hand / …).
   - Adds an orange CTA button on the right side of the navbar.
   - Padding/colors adapted so the topbar sits at the very top of the page.
   No selectors above are overridden destructively — only appended/extended.
   =========================================================================== */

header {
	padding: 0;
	background: #fff;
}

.header_topbar {
	background: #eaebec;
	font-size: .8889rem;
}

.header_topbar > .mM_container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 12px 0;
}

.topbar_trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 55px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.topbar_trust li {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	white-space: nowrap;
}

.topbar_check_icon {;
	width: 15px;
	height: auto;
}

.topbar_contact {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	white-space: nowrap;
}

.topbar_contact a {
	color: inherit;
	text-decoration: none;
}

.header_main_wrapper {
	background: #fff;
	padding: 0 0;
}

.header_main_wrapper:after {
content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: #c1c3c7;
	opacity: 0;
	transition: opacity .4s;
}

header.scrolled .header_main_wrapper:after {
	opacity: 1;
}}

.header_main_wrapper > .mM_container {
	padding-top: 0;
	padding-bottom: 0;
}

.header_inner {
	
}

.header_cta {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	background: #ec7328;
	padding: 36px 44px 34px 42px;
	transition: padding .4s;
}

header.scrolled .header_cta {
	padding: 24px 44px 22px 42px;
}

.header_cta_text {
	display: inline-block;
	color: #fff;
}

.header_cta_icon {
	width: 23px;
	height: 13px;
	display: inline-block;
	transition: transform .4s;
}

.header_cta:hover .header_cta_icon {
	transform: translateX(5px);
}

@media all and (max-width: 1599px) {
	.topbar_trust {
		gap: 30px;
	}
}

@media all and (max-width: 1399px) {
	.header_topbar > .mM_container {
		justify-content: end;
	}

	.topbar_trust {
		display: none;
	}

	.header_container_menu ul {
		display: flex;
		gap: 0 70px;
	}

	.header_container_menu ul li:not(:last-child):after {
		right: -36px;
	}
}

@media all and (max-width: 1199px) {
	header #menu-header-navigation .menu-item a,
	.header_cta {
		font-size: .8889rem;
	}

	.header_container_menu ul {
        gap: 0 50px;
    }

	.header_container_menu ul li:not(:last-child):after {
        right: -25px;
    }
}

/* ===========================================================================
   WKN-Wohnbau Child — Mobile-Menue (Rebuild nach Screenshot-Vorlage)
   Helles Panel mit Chevron-Nav, orangem CTA und dunklem Navy-Infoblock.
   Toggle-Hooks (.header_main_mobile_content.open / .header_inner.open /
   .header_main_mobile_overlay.show) bleiben unveraendert — nur Innen-Styling.
   =========================================================================== */

/* Topbar bleibt sichtbar (kontert das inherited display:none ab 1024px),
   damit der Desktop-Header zwischen 992-1199px die Topbar behaelt. */
@media (max-width: 1024px) {
	.header_topbar { display: block; }
}

/* Ab dem Mobile-Umbruch (<=991px): Topbar nur Kontakt, zentriert. */
@media (max-width: 991px) {
	.header_topbar > .mM_container { justify-content: center; }
	.topbar_trust { display: none; }
	.topbar_contact { gap: 0.5rem; }
}

/* Burger/Schliessen muss auf Mobile sichtbar bleiben
   (ueberschreibt das zu breite .header_inner_right-Ausblenden). */
.header_main_mobile .header_inner_right {
	display: flex;
	align-items: center;
}

/* --- Panel: helles Layout statt blauem Vollflaechen-Overlay --------------- */
.header_main_mobile_content {
	background: #f2f4f5;
	padding: 0;
	justify-content: flex-start;
	box-shadow: none;
	/* Durchgehend 375px breites rechtsbuendiges Drawer (ungated, also auch
	   >991px), nie breiter als der Viewport. Geschlossen voll nach rechts raus. */
	width: min(375px, 100%);
	-webkit-transform: translateX(100%);
	transform: translateX(100%);
}

/* Panel + Overlay buendig an die Header-Unterkante (= Wrapper-Unterkante).
   Ueberschreibt den JS-Inline-Offset (height_header - 27) aus dem alten
   Header-Padding, der sonst eine ~15px-Luecke unter dem Header laesst. */
.header_main_mobile_content,
.header_main_mobile_overlay {
	top: 100% !important;
}

/* Inherited "alles weiss" zuruecksetzen (Panel ist jetzt hell). */
.header_main_mobile_content * {
	color: #1a2233;
}

/* --- Navigation: Zeilen mit Trennlinie + Chevron -------------------------- */
.mobile_menu_nav {
	border-top: 1px solid #eaebec;
	padding: 57px 15px 86px;
}

.mobile_menu_list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile_menu_list > li {
	border-bottom: 1px solid #d9dadb;
}

.mobile_menu_list > li:first-child {
	border-top: 1px solid #d9dadb;
}

.mobile_menu_list > li > a {
	position: relative;
	padding: 11px 15px 18px;
	line-height: 1;
	text-decoration: none;
}

.mobile_menu_list > li > a::after {
	position: absolute;
    top: 50%;
    right: 0;
	content: "\203A";
	font-size: 1.5rem;
	line-height: 1;
	color: #333946;
	transform: translateY(-69%);
}

/* --- CTA ------------------------------------------------------------------ */
.mobile_menu_cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 20px 15px;
	margin-top: -29px;
	margin-bottom: 57px;
	/* Diagonale Ausschnitt-Ecke oben links (Brand-Akzent).
	   Aendere 32px, um den Schnitt schmaler/groesser zu machen. */
	clip-path: polygon(23px 0, 100% 0, 100% 100%, 0 100%, 0 23px);
	/* Sicherheit gegen Overflow bei sehr schmalen Viewports (<320px). */
	min-width: 0;
	max-width: 100%;
}

header.scrolled .mobile_menu_cta {
	padding: 20px 15px;
}

.mobile_menu_cta .header_cta_text {
	color: #fff;
}

/* --- Dunkler Navy-Infoblock unten ----------------------------------------- */
.mobile_menu_footer {
	display: flex;
    flex-direction: column;
	background: #333946;
	padding: 0 15px 80px;
	margin-top: auto;
}

.mobile_menu_footer * {
	color: #fff;
}

.mobile_menu_footer_info_social_container {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.mobile_menu_address {
	font-style: normal;
	line-height: 1.7;
	font-size: .8889rem;
	display: flex;
	flex-direction: column;
}

.mobile_menu_address strong {
	font-weight: 700;
}

.mobile_menu_contact {
	margin: 1rem 0 0;
	line-height: 1.7;
	font-size: .8889rem;
	display: flex;
	flex-direction: column;
}

.mobile_menu_contact a {
	color: #fff;
	text-decoration: none;
}

.mobile_menu_social {
	display: flex;
	gap: 17px;
	justify-self: end;
	margin-top: 10px;
}

.mobile_menu_social .social_icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	background-color: transparent;
	text-decoration: none;
	transition: background-color 0.4s, border-color 0.4s;
}

.mobile_menu_social .social_icon:hover {
	border-color: #fff;
}

.mobile_menu_social .social_icon svg {
	fill: #fff;
	width: auto;
	height: 28px;
	transition: fill 0.4s;
}

.mobile_menu_social .social_icon:hover svg {
	fill: #ec7328;
}

.mobile_menu_legal {
	display: flex;
	gap: 0.75rem;
	margin-top: 33px;
	font-size: .8889rem;
	color: rgba(255, 255, 255, 0.6);
}

.mobile_menu_legal a {
	color: rgba(255, 255, 255, 0.6);
	transition: color .4s;
	text-decoration: none;
}

.mobile_menu_legal a:hover {
	color: rgba(255, 255, 255, 1);
}

.mobile_menu_legal span {
	opacity: 0.5;
}

/* --- Burger/Schliessen-Button: umrandetes Quadrat in beiden Zustaenden ----- */
.header_main_mobile .header_burger_menu_icon,
.header_main_mobile .header_container_close_button {
	width: 44px;
	height: 44px;
	border: 1px solid #c9c9c9;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

/* Drei gleich breite, duenne Balken, mittig in der Box gestapelt. */
.header_main_mobile .header_burger_menu_mobile {
	position: relative;
	display: block;
	width: 22px;
	height: 16px;
}

.header_main_mobile .header_burger_menu_mobile .header_burger_bar {
	position: absolute;
	left: 0;
	width: 22px;
	height: 2px;
	margin: 0;
	border-radius: 2px;
	background: #1a2233;
	transform-origin: center;
	transition: top .3s ease, transform .3s ease, opacity .3s ease;
}

.header_main_mobile .header_burger_menu_mobile .header_burger_bar_1 { top: 0; }
.header_main_mobile .header_burger_menu_mobile .header_burger_bar_2 { top: 7px; }
.header_main_mobile .header_burger_menu_mobile .header_burger_bar_3 { top: 14px; }

/* Hover: keine Breitenaenderung (inherited :hover-width neutralisieren). */
.header_main_mobile .header_burger_menu_mobile:hover .header_burger_bar {
	width: 22px;
}

/* Offen: oberer + unterer Balken kreuzen mittig zum X, Mitte fadet aus. */
.header_main_mobile .header_inner.open .header_burger_bar_1 {
	top: 7px;
	width: 22px;
	height: 2px;
	transform: rotate(45deg);
}

.header_main_mobile .header_inner.open .header_burger_bar_2 {
	opacity: 0;
}

.header_main_mobile .header_inner.open .header_burger_bar_3 {
	top: 7px;
	width: 22px;
	height: 2px;
	transform: rotate(-45deg);
}

@media all and (max-width: 991px) {
	.header_inner {
		padding: 11px 0;
	}

	.header_inner .logo_container {
		width: 85px;
	}
}

@media all and (max-width: 350px) {
	.topbar_contact a.tel,
	.topbar_sep {
		display: none;
	}

	.mobile_menu_footer_info_social_container {
		flex-direction: column;
		gap: 20px;
	}

	header {
		
		max-width: 100vw;
	}
}
