/* ===========================================
   RELAUNCH STYLESHEET
   =========================================== */



/* ===========================================
   BASE & GLOBAL STYLES
   =========================================== */

/* daniel 2025-11-13 — overflow-x only on .frame so position:sticky on header keeps working */
html {
	max-width: 100%;
}

body {
	line-height: 1.2;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
	max-width: 100%;
}

.frame {
	overflow-x: clip;
	max-width: 100%;
}

label:has(.wpcf7-quiz) {
	display: block;
}

html.no-scroll {
	overflow: hidden;
	padding-right: var(--scrollbar-width, 0);
}

body.no-scroll {
	overflow: hidden;
}

h1 {
	line-height: 1.2;
}

.clearfix::after {
	content: "";
	display: table;
	clear: both;
}

.container,
.menu-container .menu-header, .menu-container .menu-body  {
	width: 95%;
	margin-left: auto;
	margin-right: auto;
}
@media (min-width: 576px) {
	.container,
	.menu-container .menu-header, .menu-container .menu-body  {
			max-width: 540px;
	}
}

@media (min-width: 768px) {
	.container,
	.menu-container .menu-header, .menu-container .menu-body  {
			max-width: 720px;
	}
}
@media (min-width: 992px) {
	.container,
	.menu-container .menu-header, .menu-container .menu-body  {
			max-width: 960px;
	}
}

@media screen AND (min-width: 1300px) {
	.container,
	.menu-container .menu-header, .menu-container .menu-body {
		max-width: 1400px;
	}
}

@media screen and (min-width: 1600px) {
	.container,
	.menu-container .menu-header, .menu-container .menu-body  {
		max-width: 1899px;
	}
}

/* ===========================================
   TYPOGRAPHY
   =========================================== */

h1 {
	font-family: "Brix Bold", sans-serif;
	font-style: normal;
	margin-bottom: 10px !important;
}

/* @media screen AND (min-width: 1300px) {
	h1,
	h2.like-h1,
	h1 + h2,
	h2 {
		margin: 20px 2.5%;
	}
} */

h2,
.h2-mega-menu {
	font-family: minion-pro, serif;
	font-style: italic;
	font-size: 2em;
	line-height: 1.1em;
	color: #6B90B6;
}

h2 {
	margin-left: 0;
}

.h2-mega-menu {
	color: white;
	font-size: 1.5em;
	margin-bottom: 10px;
	padding: 10px;
}

h3 {
	font-family: "Brix Bold", sans-serif;
	font-style: normal;
	font-size: 2em;
}

h4 {
	font-family: minion-pro, serif;
	font-style: italic;
	font-size: 2em;
	margin-left: 0;
	border: 0;
	color: #6B90B6;
}

h5 {
	font-family: "Brix Bold", sans-serif;
	font-style: normal;
	border-bottom: 2px solid #002d62;
	padding-bottom: 5px;
	font-size: 2em;
}

h6 {
	font-family: minion-pro, serif;
	font-style: italic;
	font-size: 2em;
	border-bottom: 1px solid #002d62;
	padding-bottom: 5px;
}

h2.like-h2,
h3.like-h2,
.like-h2 {
	font-family: minion-pro, serif;
	font-style: italic;
	font-size: 1.75em;
	line-height: 1.15;
	color: #6B90B6;
	margin: 1.25rem 0 0.75rem;
}

@media screen and (max-width: 1299px) {
	body {
		font-size: 18px;
		line-height: 1.35;
	}

	h1,
	h2.like-h1,
	h1 + h2,
	.editor-item.h1,
	.wp-block-heading.has-h-1-font-size {
		font-size: 1.65rem;
		line-height: 1.2;
		margin-top: 1.25rem;
		margin-bottom: 0.75rem;
	}

	h2,
	.editor-item.h2,
	.wp-block-heading.has-h-2-font-size {
		font-size: 1.45rem;
		line-height: 1.2;
		margin-top: 1rem;
		margin-bottom: 0.65rem;
	}

	h2.like-h2,
	h3.like-h2,
	.like-h2 {
		font-size: 1.2rem;
		line-height: 1.2;
		margin-top: 0.85rem;
		margin-bottom: 0.5rem;
	}

	h3,
	.editor-item.h3,
	.wp-block-heading.has-h-3-font-size {
		font-size: 1.15rem;
	}

	h4,
	h2.like-h4,
	.editor-item.h4,
	.wp-block-heading.has-h-4-font-size {
		font-size: 1.05rem;
	}

	h5,
	h3.like-h5,
	.editor-item.h5,
	.wp-block-heading.has-h-5-font-size {
		font-size: 0.95rem;
	}

	h6,
	.editor-item.h6,
	.wp-block-heading.has-h-6-font-size {
		font-size: 0.9rem;
	}
}

/* ===========================================
   CONTENT & EDITOR ELEMENTS
   =========================================== */

.editor-item,
.wp-block-heading,
.wp-block-image,
div.wpcf7,
.accordion,
.wp-block-list,
.container-header-new .header,
.tooverview {
	margin-left: 15px;
	margin-right: 15px;
}

@media screen AND (min-width: 992px) {
	.editor-item,
	.wp-block-heading,
	.wp-block-image,
	div.wpcf7,
	.accordion,
	.wp-block-list,
	.container-header-new .header,
	.tooverview {
		margin-left: 25px;
		margin-right: 25px;
	}
}

@media screen AND (min-width: 1300px) {
	.editor-item,
	.wp-block-heading,
	.wp-block-image,
	div.wpcf7,
	.accordion,
	.wp-block-list,
	.container-header-new .header,
	.tooverview {
		margin-left: 2.5%;
		margin-right: 2.5%;
	}
}

/* Linked image blocks used as buttons — add class "img-btn" in block settings */
.img-btn {
	display: inline-block;
	max-width: 100%;
	margin-top: 20px;
	margin-bottom: 20px;
}

.img-btn a {
	display: inline-block;
	line-height: 0;
	border-radius: 4px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.img-btn img {
	display: block;
	height: auto;
	border-radius: 4px;
	margin: 0;
}

.img-btn a:hover,
.img-btn a:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 45, 98, 0.28);
	outline: none;
}

.img-btn a:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(0, 45, 98, 0.2);
}

@media (prefers-reduced-motion: reduce) {
	.img-btn a {
		transition: box-shadow 0.2s ease;
	}

	.img-btn a:hover,
	.img-btn a:focus-visible,
	.img-btn a:active {
		transform: none;
	}
}

.content > * {
	margin-left: 15px;
	margin-right: 15px;
}

@media screen AND (min-width: 992px) {
	.content > * {
		margin-left: 25px;
		margin-right: 25px;
	}
}

@media screen AND (min-width: 1300px) {
	.content > * {
		margin-left: 2.5%;
		margin-right: 2.5%;
	}
}

#breadcrumbs {
	padding-left: 15px;
}

@media screen AND (min-width: 992px) {
	#breadcrumbs {
		padding-left: 25px;
	}
}

@media screen AND (min-width: 1300px) {
	#breadcrumbs {
		padding-left: 2.5%;
	}
}

.back-button-wrap {
	margin-top: 50px;
	margin-bottom: 25px;
}

.bread-back {
	font: inherit;
	color: #002D62;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	text-decoration: none;
	text-underline-offset: 3px;
}

.bread-back:hover {
	color: #6B90B6;
	text-decoration: underline;
}

.bread-back-arrow {
	display: inline-block;
	margin-right: 4px;
	text-decoration: none;
}

/* On-page submenu (fixed section navigation) */
.onpage-submenu {
	position: fixed;
	top: 66.67%;
	right: 0;
	bottom: auto;
	z-index: 900;
	font-family: "Brix Regular", "Arial", sans-serif;
	font-size: 16px;
	line-height: 1.4;
	transform: translateY(-50%);
	--onpage-fab-overlap: 20px;
	--onpage-fab-icon-nudge: 6px;
	--onpage-fab-panel-overlap: 30px;
}

.onpage-submenu.open {
	filter: drop-shadow(-4px 4px 16px rgba(0, 45, 98, 0.28));
}

.onpage-submenu .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.onpage-submenu-toggle {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	padding: 0 calc(var(--onpage-fab-overlap) - var(--onpage-fab-icon-nudge)) 0 0;
	border: 0;
	border-radius: 50%;
	background: #002D62;
	color: #fff;
	font: inherit;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(0, 45, 98, 0.28);
}

.onpage-submenu.open .onpage-submenu-toggle {
	box-shadow: none;
}

.onpage-submenu-toggle:focus {
	outline: none;
}

.onpage-submenu-toggle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.onpage-submenu-toggle-icon--close {
	display: none;
}

.onpage-submenu.open .onpage-submenu-toggle-icon--menu {
	display: none;
}

.onpage-submenu.open .onpage-submenu-toggle-icon--close {
	display: inline-flex;
}

.onpage-submenu-toggle-svg {
	display: block;
	width: 40px;
	height: 40px;
}

.onpage-submenu-toggle-icon--close .onpage-submenu-toggle-svg {
	width: 50px;
	height: 50px;
}

.onpage-submenu-chevron {
	display: block;
	flex-shrink: 0;
	width: 12px;
	height: 12px;
	transition: transform 0.2s ease;
}

.onpage-submenu-panel {
	position: absolute;
	z-index: 1;
	right: calc(100% - var(--onpage-fab-panel-overlap));
	top: -16px;
	bottom: auto;
	width: min(calc(100vw - 120px), 360px);
	max-height: min(70vh, 520px);
	overflow-y: auto;
	background: #002D62;
	color: #fff;
	border-radius: 4px 0 0 4px;
	box-shadow: none;
	padding: 18px var(--onpage-fab-panel-overlap) 12px 0;
}

.onpage-submenu-panel[hidden] {
	display: none !important;
}

.onpage-submenu.open .onpage-submenu-panel {
	display: block;
}

.onpage-submenu-heading {
	padding: 0 20px 14px;
	margin-bottom: 6px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 18px;
	font-weight: normal;
	font-style: normal;
	color: #fff;
}

.onpage-submenu-heading.is-current {
	font-weight: bold;
}

.onpage-submenu-heading a,
.onpage-submenu-heading span {
	color: inherit;
	text-decoration: none;
}

.onpage-submenu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.onpage-submenu .sub-menu .sub-menu {
	padding-left: 16px;
}

.onpage-submenu .sub-menu > li {
	position: relative;
	margin: 0;
	padding: 0;
}

.onpage-submenu .sub-menu > li > a,
.onpage-submenu .sub-menu > li > span,
.onpage-submenu .onpage-submenu-accordion-trigger {
	display: block;
	width: 100%;
	padding: 10px 20px;
	color: #fff;
	text-decoration: none;
	text-align: left;
	font-style: normal;
	font-weight: normal;
}

.onpage-submenu .onpage-submenu-accordion-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	cursor: pointer;
}

.onpage-submenu .onpage-submenu-accordion-trigger:focus,
.onpage-submenu .onpage-submenu-accordion-trigger:focus-visible,
.onpage-submenu .onpage-submenu-accordion-trigger:active {
	outline: none;
	box-shadow: none;
}

.onpage-submenu .onpage-submenu-accordion-label {
	flex: 1;
	text-align: left;
}

.onpage-submenu .onpage-submenu-accordion-trigger .onpage-submenu-chevron {
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.onpage-submenu .menu-item-has-children.submenu-open > .onpage-submenu-accordion-trigger .onpage-submenu-chevron {
	transform: rotate(180deg);
}

.onpage-submenu .current-menu-item > a,
.onpage-submenu .current-menu-item > span,
.onpage-submenu .current-menu-item > .onpage-submenu-accordion-trigger {
	font-weight: bold;
	color: #fff;
}

.onpage-submenu .menu-item-has-children {
	position: relative;
}

.onpage-submenu .submenu-toggle {
	display: none !important;
}

.onpage-submenu .onpage-submenu-collapse {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.onpage-submenu .menu-item-has-children.submenu-open > .onpage-submenu-collapse {
	grid-template-rows: 1fr;
}

.onpage-submenu .onpage-submenu-collapse > .sub-menu {
	min-height: 0;
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.onpage-submenu .onpage-submenu-collapse,
	.onpage-submenu .onpage-submenu-chevron {
		transition: none;
	}
}

@media screen and (min-width: 768px) {
	.onpage-submenu-heading {
		font-size: 20px;
	}

	.onpage-submenu .sub-menu > li > a,
	.onpage-submenu .sub-menu > li > span,
	.onpage-submenu .onpage-submenu-accordion-trigger {
		font-size: 18px;
	}
}

@media screen and (max-width: 767px) {
	.onpage-submenu {
		right: 0;
		--onpage-fab-overlap: 14px;
		--onpage-fab-icon-nudge: 4px;
		--onpage-fab-panel-overlap: 16px;
	}

	.onpage-submenu-toggle {
		width: 48px;
		height: 48px;
		padding-right: calc(var(--onpage-fab-overlap) - var(--onpage-fab-icon-nudge));
	}

	.onpage-submenu-toggle-svg {
		width: 22px;
		height: 22px;
	}

	.onpage-submenu-toggle-icon--close .onpage-submenu-toggle-svg {
		width: 28px;
		height: 28px;
	}

	.onpage-submenu-panel {
		width: min(calc(100vw - 64px), 320px);
		max-height: min(65vh, 480px);
	}
}
.spotlight-instagram-feed {
	margin-left: 2.5%;
}

/* Instagram oEmbed blockquote — do not inherit editorial blockquote styles */
blockquote.instagram-media {
	font-style: normal;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	margin: 0 auto !important;
	text-indent: 0;
	font-size: 14px;
	line-height: 1.4;
	max-width: 540px;
	min-width: 326px;
}

.link-block {
	width: 95%;
	position: relative;
	left: 20px;
}

.link-block a {
	margin-left: 2.5%;
}

.stat {
	margin: 50px 2.5%;
}

/* ===========================================
   HEADER & NAVIGATION
   =========================================== */

.container-header-new .header-menu {
	width: calc(100% - 335px - 168px);
	text-align: center;
	display: none;
}

@media screen AND (min-width: 1300px) {
	.container-header-new .header-menu {
		display: inline-block;
	}
}

.container-header-new {
	/* Always reserve the border so color can transition without a black flash */
	position: sticky;
	top: 0;
	z-index: 888;
	background-color: #fff;
	border-bottom: 1px solid transparent;
	transition:
		background-color 0.35s ease,
		color 0.35s ease,
		border-color 0.35s ease;
}

.container-header-new.active {
	border-bottom-color: rgba(255, 255, 255, 0.5);
	background-color: transparent;
	color: white;
	transition:
		background-color 0.35s ease 0.15s,
		color 0.35s ease 0.15s,
		border-color 0.35s ease 0.25s;
}

.container-header-new .header-menu a,
.container-header-new .open-menu path,
.container-header-new .header-search-frame svg path,
.container-header-new .logo svg path {
	transition: color 0.35s ease, stroke 0.35s ease, fill 0.35s ease;
}

.container-header-new.active .header-menu a {
	transition: color 0.35s ease 0.15s;
}

.container-header-new.active a {
	color: white;
}

.container-header-new.active svg path {
	stroke: #ffffff !important;
	transition: stroke 0.35s ease 0.15s, fill 0.35s ease 0.15s;
}

.container-header-new.active .logo svg path {
	fill: #ffffff !important;
	stroke: transparent;
}

.header .logo {
	position: absolute;
	top: 0;
	right: 0;
	max-width: 180px;
	margin-top: 20px;
}

@media screen and (min-width: 768px) {
	.header .logo,
	.header .logo {
		margin-top: 15px;
		max-width: 200px;
	}
}

@media screen AND (min-width: 1300px) {
	.header .logo,
	.header .logo {
		max-width: 240px;
		margin-top: 10px;
	}
}

@media screen and (min-width: 1700px) {
	.header .logo,
	.header .logo {
		max-width: 280px;
		margin-top: 4px;
	}
}

.logo svg {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.logo:hover::after {
	display: none !important;
}

svg.open-menu {
	display: block;
	float: left;
	margin-right: 20px;
	padding: 0;
	margin: 25px 0 5px;
	margin-right: 25px;
}

svg.open-menu path {
	stroke: #002D62 !important;
}

.search:active,
.header-search-frame:hover .search {
	margin-bottom: 0px;
}

.header {
	position: relative;
}

.container-header-new .open-menu {
	display: block;
}

@media screen AND (min-width: 1300px) {
	.container-header-new .open-menu {
		display: none;
	}
}

@media screen and (max-width: 1299px) {
	.container-header.container-header-new {
		padding-left: 0;
		padding-right: 0;
		overflow-x: clip;
	}

	.container-header-new > .container {
		width: 95%;
		max-width: none;
		padding-left: 15px;
		padding-right: 15px;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}

	.container-header-new > .container > .row {
		margin-left: 0;
		margin-right: 0;
	}

	.container-header-new > .container > .row > [class*="col-"] {
		padding-left: 0;
		padding-right: 0;
	}

	.container-header-new .header {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 1rem;
		max-height: none;
		min-height: 3.25rem;
	}

	.container-header-new .scale {
		display: flex;
		align-items: center;
		flex: 1 1 auto;
		min-width: 0;
		float: none;
		transform: none !important;
	}

	.container-header-new .header span,
	.container-header-new .header img,
	.container-header-new svg.open-menu,
	.container-header-new .open-menu {
		float: none;
		margin: 0;
		padding: 0;
	}

	.container-header-new svg.open-menu,
	.container-header-new .open-menu {
		flex-shrink: 0;
		margin-right: 0.875rem;
	}

	.container-header-new .header-search-frame {
		flex-shrink: 0;
		margin-right: 0.875rem;
	}

	.container-header-new .header-search-frame .search {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0;
		margin: 0;
	}

	.container-header-new .lang {
		display: flex;
		align-items: center;
		flex-shrink: 0;
		width: auto;
		height: auto;
		overflow: visible;
		margin: 0;
		padding: 0;
		font-size: 1.1rem;
	}

	.container-header-new .header .logo {
		position: static;
		float: none;
		flex: 0 0 auto;
		margin: 0;
		margin-left: auto;
		width: auto;
		max-width: 9.5rem;
		align-self: center;
	}

	.container-header-new .header .logo svg {
		display: block;
		width: 100%;
		height: auto;
	}
}

.container-header-new .header-menu a {
	color: #002D62;
}

.container-header-new.active .header-menu a {
	color: white;
}

.container-header-new a:hover {
	text-decoration: none;
}

#menu-hauptmenue-neu,
#hauptmenue-neu {
	display: none;
}

@media screen AND (min-width: 1300px) {
	#menu-hauptmenue-neu,
	#hauptmenue-neu {
		position: relative;
		display: block;
		top: 20px;
		font-size: 25px;
		font-family: "Brix Bold", sans-serif;
		font-style: normal;
		margin-left: 0;
		left: 0;
		z-index: 100;
	}
}

@media screen AND (min-width: 1300px) {
	#menu-hauptmenue-neu li,
	#hauptmenue-neu li {
		margin-right: 25px;
		margin-bottom: 15px;
		display: inline-block;
	}
}

@media screen AND (min-width: 1300px) {
	#menu-hauptmenue-neu li ul.sub-menu,
	#hauptmenue-neu li ul.sub-menu {
		display: none;
	}
}

#menu-hauptmenue-neu .active,
#hauptmenue-neu .active,
.container-header-new a:not(.logo):hover {
	position: relative;
}

@media screen AND (min-width: 1300px) {
	#menu-hauptmenue-neu .active,
	#hauptmenue-neu .active,
	.container-header-new a:not(.logo):hover,
	#menu-hauptmenue-neu a,
	#hauptmenue-neu a {
		position: relative;
	}
}

#menu-hauptmenue-neu .active:after,
#hauptmenue-neu .active:after,
.container-header-new a:not(.logo):hover::after,
#menu-hauptmenue-neu .current_page_ancestor > a::after,
#hauptmenue-neu .current_page_ancestor > a::after {
	position: absolute;
	content: "";
	display: block;
	left: 0;
	bottom: -5px;
	height: 2px;
	width: 100%;
	background-color: white;
}

@media screen AND (min-width: 1300px) {
	#menu-hauptmenue-neu .active:after,
	#hauptmenue-neu .active:after,
	.container-header-new a:not(.logo):hover::after,
	#menu-hauptmenue-neu .current_page_ancestor > a.active::after,
	#hauptmenue-neu .current_page_ancestor > a.active::after {
		position: absolute;
		content: "";
		display: block;
		left: 0;
		bottom: -5px;
		height: 2px;
		width: 100%;
		background-color: white;
	}
}

.container-header-new a:not(.logo):hover::after,
#menu-hauptmenue-neu .current_page_ancestor > a::after,
#hauptmenue-neu .current_page_ancestor > a::after {
	background-color: #002D62;
}

@media screen AND (min-width: 1300px) {
	.container-header-new a:not(.logo):hover::after,
	#menu-hauptmenue-neu .current_page_ancestor > a::after,
	#hauptmenue-neu .current_page_ancestor > a::after {
		background-color: #002D62;
	}
}

.container-header-new.active a:not(.logo):hover::after,
#menu-hauptmenue-neu .current_page_ancestor > a.active::after,
#hauptmenue-neu .current_page_ancestor > a.active::after {
	background-color: white;
}

.header-menu {
	z-index: 50;
	position: relative;
}

.header-search-frame,
.lang {
	position: relative;
	z-index: 51;
}

.header-search-frame .search {
	position: relative;
}

.header-search-frame-blend {
	position: absolute;
	width: 40px;
	height: 40px;
	background-color: transparent;
	z-index: -1;
	transition: width 1s;
}

.header-search-frame.active .header-search-frame-blend {
	width: 280px;
	transition: width 1s;
	background-color: white;
}

@media screen AND (min-width: 1300px) {
	.header-search-frame.active .header-search-frame-blend {
		width: 280px;
		transition: width 1s;
		background-color: white;
	}
}

.container-header-new.active .header-search-frame.active .header-search-frame-blend {
	background-color: #002D62;
}

@media screen AND (min-width: 1300px) {
	.container-header-new.active .header-search-frame.active .header-search-frame-blend {
		background-color: #002D62;
	}
}

.header-search-frame svg {
	z-index: 10;
}

/* ===========================================
   MENU SYSTEM
   =========================================== */

.menu-hauptmenue-container {
	margin-top: 20px;
}
.menu li.menu-item a {
	white-space: nowrap;
}

/* #menu-hauptmenu  a:hover, #menu-hauptmenu .current-menu-item a, #menu-hauptmenu .current-page-parent a, #menu-hauptmenue  a:hover, #menu-hauptmenue .current-menu-item a, #menu-hauptmenue .current-page-parent a, #menu-main-menu  a:hover, #menu-main-menu .current-menu-item a, #menu-main-menu .current-page-parent a, #menu-hauptmenu-en  a:hover, #menu-hauptmenu-en .current-menu-item a, #menu-hauptmenu-en .current-page-parent a, #menu-hauptmenue-en  a:hover, #menu-hauptmenue-en .current-menu-item a	, #menu-hauptmenue-en .current-page-parent a {
	content: "";
	width: 40px;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	transform: translateX(-100%);
	background-color: #6B90B6;
} */

.menu.col-md-4 {
		position: relative;
	padding-bottom: 25px;
}

.menu-container {
	width: 100%;
	top: -100%;
	left: 0;
	transition: top 1s;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
	background-color: RGBA(0, 45, 98, .95);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.menu-container.menu-is-open {
			top: 0;
	transition: top 1s;
}

.menu-container.menu-is-open #menu-fussmenue a {
	color: white;
}

#menu-fussmenue {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 10px;
}


.menu-container .menu-header,
.menu-container .menu-body {
	border-bottom: 1px solid white;
	padding: 40px;
}


.menu-container .menu-header {
	padding-bottom: 30px;
}

.menu-container .menu-header .logo img,
.menu-container .menu-header .logo svg {
	margin: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	margin-top: 45px;
}

.menu-container .menu-footer {
	padding: 50px;
}

.menu-container .menu-footer img {
	height: 30px;
	width: auto;
	margin-right: 25px;
}

.menu-header a.logo {
	position: relative;
	top: -50px;
	width: 140px;
	margin-top: -5px;
}

.menu-header svg path {
	fill: white;
}

.close-mega-menu {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	span {
		display: inline-block;
	}
}

.menu.col-md-4 .close-mega-menu,
.close-mega-menu {
	position: absolute;
	color: white;
	bottom: 0;
	left: 25px;
	cursor: pointer;
	z-index: 100;
	font-style: italic;
	font-family: minion-pro, serif;
}

@media screen and (min-width: 1301px) {
	.menu.col-md-4 .close-mega-menu,
	.close-mega-menu {
		left: 12px;
	}
}

.menu.col-md-4 .close-mega-menu img,
.close-mega-menu img {
	width: 15px;
	height: 15px;
	position: relative;
	top: -2px;
}

.menu-container .close-menu {
	margin-top: -20px;
}

.close-menu-new {
	width: 24px;
	height: auto;
}

#menu-hauptmenu .sub-menu a,
#menu-hauptmenu-en .sub-menu a,
#menu-hauptmenue-en .sub-menu a,
#menu-hauptmenue .sub-menu a,
#menu-hauptmenue-neu-mobile .sub-menu a,
#menu-main-menu .sub-menu a {
	color: white;
}

#menu-hauptmenu .sub-menu a:hover,
#menu-hauptmenu-en .sub-menu a:hover,
#menu-hauptmenue-en .sub-menu a:hover,
#menu-hauptmenue .sub-menu a:hover,
#menu-hauptmenue-neu-mobile .sub-menu a:hover,
#menu-main-menu .sub-menu a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

#menu-hauptmenu a,
#menu-hauptmenue a,
#menu-hauptmenu-en a,
#menu-hauptmenue-en a,
#menu-hauptmenue-neu-mobile a,
#menu-main-menu a {
	color: white;
	background-color: transparent;
	font-size: 2.125rem;
	padding-right: 44px;
}

.sub-menu {
	max-height: none;
}

.header-footer-menu {
	margin-top: 50px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.header-footer-menu hr {
	margin: 0 auto;
	width: calc(100% - 80px);
	height: 0;
	background-color: transparent;
	border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.header-footer-menu .container {
	position: relative;
	margin-top: 0 !important;
}

.header-footer-menu ul {
	padding: 0;
	margin: 0;
	text-align: right;
	margin-top: 50px;
}

.header-footer-menu li {
	display: inline-block;
	margin-right: 25px;
	padding-left: 0;
	font-style: italic;
}

.header-footer-menu a {
	color: white;
	font-family: minion-pro, serif;
}

/* ===========================================
   MEGA MENU
   =========================================== */

.mega-menu {
	display: none;
	background-image: url(../img/lines.png);
	background-size: cover;
	background-position: center center;
}

@media screen AND (min-width: 1300px) {
	.mega-menu {
		position: fixed;
		left: 0;
		top: -1000px;
	width: 100%;
		padding-bottom: 50px;
	background-color: #002D62;
		display: block;
		z-index: 223;
		transition: top 1s ease;
	}
}

@media screen AND (min-width: 1300px) {
	.mega-menu.active {
		top: 0;
		transition: top 1s ease;
	}
}

@media screen AND (min-width: 1300px) {
	.mega-menu .container {
		margin-top: 220px;
	}
}

@media screen and (min-width: 1600px) {
	.mega-menu .container {
		max-width: 1699px;
	}
}

.mega-menu .content {
	margin-top: 0;
	color: white;
}

@media screen AND (min-width: 1300px) {
	.mega-menu .content {
		margin-top: 0;
		color: white;
	}
}

.mega-menu .content h2,
.mega-menu .content p {
	font-size: 1.1em;
	font-weight: 800;
	font-family: 'Brix Regular', 'Arial', sans-serif;
	font-style: normal;
	margin-bottom: 1rem;
}

@media screen AND (min-width: 1300px) {
	.mega-menu .content h2,
	.mega-menu .content p {
		font-size: 1.1em;
		font-weight: 800;
		font-family: 'Brix Regular', 'Arial', sans-serif;
		font-style: normal;
		margin-bottom: 1rem;
	}
}

.mega-menu .content p {
	font-size: 0.8em;
}

.mega-menu h2,
.mega-menu h1 {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.mega-menu h2 {
	margin-top: 0;
}

.mega-menu .sub-menu a,
.mega-menu h2 {
	color: white;
}

.mega-menu .sub-menu a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mega-menu .sub-menu .sub-menu {
	margin-left: 25px;
	overflow: hidden !important;
}



.mega-menu-bg {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	background-color: rgba(0, 0, 0, .5);
	z-index: 40;
	transition: opacity 0.7s ease 0s, visibility 0s linear 0.7s;
}


.mega-menu-bg.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: opacity 0.7s ease 0s, visibility 0s linear 0s;
}

@media screen AND (min-width: 1300px) {
	.mega-menu .sub-menu .sub-menu {
		margin-left: 25px;
		overflow: hidden !important;
	}
}


@media screen AND (max-width: 1299px) {
	.mega-menu-bg {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}
}


.mega-menu-content,
.mega-menu-posts {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	flex-direction: column;
}

.mega-menu-content img {
	margin: 0;
	padding: 0;
	float: left;
	padding-right: 1rem;
	padding-bottom: 0;
	width: 100px;
	height: 100px;
	aspect-ratio: 1/1;
	object-fit: cover;
	box-sizing: content-box;
}

.mega-menu-item {
		display: flex;
	align-items: flex-start;
	gap: 10px;
}

@media screen AND (min-width: 1300px) {
	.mega-menu-item {
		flex: 1 1 50%;
		max-width: 50%;
		padding: 10px;
		box-sizing: border-box;
		align-self: flex-start;
		text-decoration: none;
		color: white;
	}
}

.mega-menu-posts .mega-menu-item {
	flex: 1 1 100%;
	max-width: 100%;
}

.mega-menu-item:hover {
	color: white; 
	text-decoration: none;
}

/* Mega menu posts - title underline on hover over parent link */
.mega-menu-posts .mega-menu-item:hover .mega-menu-item-title {
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media screen AND (min-width: 1300px) {
	.mega-menu-item:hover > a,
	.load-menu > .sub-menu .current_page_item>a {
		color: white;
		text-decoration: underline;
		text-underline-offset: 3px;
	}
	
	.mega-menu-posts .mega-menu-item:hover .mega-menu-item-title {
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}

.mega-menu-item h2 {
	font-size: 1.2em;
}

.mega-menu-item-title {
	font-size: 1em;
}

.mega-menu-item-excerpt {
	font-size: 1em;
	font-style: italic;
	font-family: minion-pro, serif;
}

.load-menu {
	margin-bottom: 50px;
}

.load-menu > .sub-menu {
	overflow: visible;
	margin-left: 0;
	min-width: 320px;
	margin-right: auto;
	display: inline-flex;
	flex-direction: column;
	max-width: 450px;
}

.load-menu > .sub-menu li {
	margin-bottom: 8px;
}

.load-menu > .sub-menu .sub-menu {
	margin-top: 10px;
}

.container-persons-block h2.like-h4 {
	margin-left: 0;
}

@media screen AND (min-width: 1300px) {
	.container-persons-block h2.like-h4 {
		margin-left: 0;
	}
}

.mega-menu-content-preload {
	display: none;
}

.mega-search {
	position: fixed;
	width: 100%;
	background-color: #002D62;
	padding: 50px;
	top: -100%;
		left: 0;
	min-height: 300px;
	padding-top: 250px;
	background-image: url(../img/lines.png);
	background-size: cover;
	background-position: center center;
}

.mega-search.active {
	top: 0;
	z-index: 800;
}

.mega-search .probox input {
	color: #002D62 !important;
}

.mega-search .probox input.autocomplete {
	color: #6B90B6 !important;
}

#ajaxsearchprores2_1.vertical,
#ajaxsearchprores2_2.vertical,
div.asp_r.asp_r_2.vertical {
	background-color: #002D62 !important;
}

/* ===========================================
   FOOTER
   =========================================== */

footer {
	color: white;
	position: relative;
	left: 0;
	width: 100%;
	max-width: 100%;
}

@media screen AND (min-width: 1480px) {
	footer {
		margin-top: 0;
	}
}

footer .row {
	position: relative;
}

footer .arrow-top {
	width: 75px;
	height: 75px;
	cursor: pointer;
	position: absolute;
	right: 0px;
	top: -125px;
}

@media screen AND (min-width: 1480px) {
	footer .arrow-top {
		right: 50px;
	}
}

footer .follow-bar,
footer .keyword-bar,
footer .menu-bar {
	background-color: #002D62;
	width: 100%;
	padding: 20px 40px;
	text-align: center;
	font-family: minion-pro, serif;
	font-style: italic;
}

footer .follow-bar {
	border-bottom: 1px solid white;
	text-align: center;
}

footer .follow-bar .col-md-12 img {
	height: 20px;
	width: auto;
	margin-left: 10px;
}

footer .menu-bar li {
		display: block;
}

@media screen AND (min-width: 768px) {
	footer .menu-bar li {
		display: inline;
	}
}

footer .menu-bar li a {
	color: white;
}

@media screen AND (min-width: 768px) {
	footer .menu-bar li a {
		color: white;
		padding: 0 15px;
	}
}

footer .menu-bar .container {
	display: block;
}

@media screen AND (min-width: 1480px) {
	footer .menu-bar .container {
		display: flex;
		justify-content: center;
	}
}

footer .menu-bar .col-md-12 {
	display: block;
}

@media screen AND (min-width: 1480px) {
	footer .menu-bar .col-md-12 {
		display: flex;
		align-items: center;
	}
}

footer .menu-fussmenue-container {
	flex: 0;
}

footer #menu-fussmenue-1 {
	gap: 1rem;
	display: flex;
	flex-direction: column;
}

@media screen AND (min-width: 768px) {
	footer #menu-fussmenue-1 {
		flex-direction: row;
		margin-right: 1.5rem;
	}
}

.menu-hauptmenue-container, .menu-fussmenue-container, .menu-hauptmenu-en-container, .menu-hauptmenue-en-container, .menu-main-menu-container{
	margin-top:0;
}

@media screen AND (min-width: 1480px) {
	footer .menu-fussmenue-container {
		flex: 0;
		justify-content: center;
	}
}

footer .menu-fussmenue-container ul {
	display: block;
}

@media screen AND (min-width: 1480px) {
	footer .menu-fussmenue-container ul {
		display: flex;
		list-style: none;
		padding: 0;
		margin-top: 10px;
	}
}

footer .menu-bar img {
	position: relative;
}

@media screen AND (min-width: 768px) {
	footer .menu-bar img {
		position: relative;
		top: -7px;
		margin-right: 20px;
	}
}

footer .menu-fussmenue-container li {
		margin-right: 0;
	}

@media screen AND (min-width: 768px) {
	footer .menu-fussmenue-container li {
		margin-right: 20px;
	}
}

footer .menu-fussmenue-container a {
		color: white;
}

@media screen AND (min-width: 1480px) {
	footer .menu-fussmenue-container a {
		color: black;
		text-decoration: none;
	}
}

/* ===========================================
   NEWS & AJAX CONTENT
   =========================================== */

/* Horizontal inset matching .content > * — plain wrapper, no bootstrap row overrides */
.news-page-inset {
	margin-left: 15px;
	margin-right: 15px;
}

@media screen and (min-width: 992px) {
	.news-page-inset {
		margin-left: 25px;
		margin-right: 25px;
	}
}

@media screen and (min-width: 1300px) {
	.news-page-inset {
		margin-left: 2.5%;
		margin-right: 2.5%;
	}
}

.ajax-filter-2024 .filter::after {
	content: "";
	display: table;
	clear: both;
}

/* Featured grid rows only */
.news-page-inset > .row.news-startsektion,
.news-startsektion > .col-lg-6.news-startsektion-tiles > .row {
	margin-left: 0;
	margin-right: 0;
}

/* Mobile: remove only the wrapper gutter — inner tiles keep col + .news-item-rl padding */
@media screen and (max-width: 991px) {
	.news-startsektion > .col-lg-6.news-startsektion-tiles {
		padding-left: 0;
		padding-right: 0;
	}
}

/* Post list: align with filter bar width inside .news-page-inset */
.news-page-inset > .row.ajax-news-loader {
	margin-left: 0;
	margin-right: 0;
}

.ajax-news-loader > .col-12,
.ajax-news-loader > .ajax-news-item {
	padding-left: 0;
	padding-right: 0;
	width: 100%;
	max-width: 100%;
	flex: 0 0 100%;
}

.ajax-news-loader .ajax-news-item > a {
	display: block;
	width: 100%;
}

.ajax-news-loader .ajax-news-flex {
	width: 100%;
}

.ajax-news-loader .news-item-box {
	width: 100%;
	box-sizing: border-box;
	padding: 20px 0;
	border-bottom: 1px solid rgba(0, 0, 0, .2);
}

.ajax-news-loader > .ajax-news-item:last-child .news-item-box {
	border-bottom: none;
}

.news-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 20px 0;
}

.ajax-news-loader .image-holder {
	margin-bottom: 25px;
}

.ajax-news-loader .image-holder:empty {
	display: none;
	margin-bottom: 0;
}

@media screen AND (min-width: 992px) {
	.ajax-news-loader .image-holder:not(:empty) {
		width: 307px;
		flex-shrink: 0;
		margin-bottom: 0;
	}
}

.ajax-news-loader .content-holder {
	display: flex;
	flex-direction: column;
}

@media screen AND (min-width: 992px) {
	.ajax-news-loader .content-holder {
		flex: 1;
		padding-left: 20px;
	}
}

.ajax-news-loader a .content-holder h1 {
		position: relative;
	padding-bottom: 0;
	margin-right: auto;
	}

.ajax-news-loader a .content-holder h1::before {
		content: "";
		display: block;
	width: 0;
		left: 0;
	right: auto;
	top: auto;
	bottom: 2px;
		height: 2px;
	background-color: #002D62;
	position: absolute;
	transition: width .2s ease-in;
}

.ajax-news-loader a:hover .content-holder h1::before {
	content: "";
	display: block;
	width: 100%;
	left: 0;
	right: auto;
	top: auto;
	bottom: 2px;
	height: 2px;
		background-color: #002D62;
		position: absolute;
}

.ajax-news-loader .ajax-news-flex {
	display: block;
}

@media screen AND (min-width: 992px) {
	.ajax-news-loader .ajax-news-flex {
		display: flex;
	}
}

.ajax-news-loader .col-12,
.ajax-news-loader .ajax-news-item {
	padding-top: 0;
	padding-bottom: 0;
}

.ajax-news-loader .col-12 a,
.ajax-news-loader .ajax-news-item a {
	text-decoration: none;
	color: #002D62;
}

.ajax-news-loader .col-12 h1,
.ajax-news-loader .ajax-news-item h1 {
	font-size: 30px;
	margin: 10px 0;
}

.ajax-news-loader .col-12 h2,
.ajax-news-loader .ajax-news-item h2 {
	font-size: 30px;
	margin: 10px 0;
}

.ajax-news-loader .col-12 img,
.ajax-news-loader .ajax-news-item img {
	width: 100%;
	margin-right: 25px;
	height: auto;
}

@media screen AND (min-width: 992px) {
	.ajax-news-loader .col-12 img,
	.ajax-news-loader .ajax-news-item img {
		width: 100%;
		height: 290px;
		object-fit: cover;
	}
}

.news-item-box {
	padding: 10px 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 25px;
	border-bottom: 1px solid rgba(0, 0, 0, .2);
}

@media screen AND (min-width: 992px) {
	.news-item-box {
		flex-direction: row;
	}
}

.news-item-rl {
	background-color: #002D62;
		color: white;
	border: 5px solid white;
	padding: 25px;
	min-height: 300px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.news-item-rl.light-grey {
	background-color: #B8B9B9;
}

.news-item-rl.light-blue {
	background-color: #6B90B6;
}

.news-item-rl.dark-grey {
	background-color: #8C9295;
}

.news-item-rl.large-news-item {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.news-item-rl.large-news-item .image-holder {
	position: relative;
		width: 100%;
	margin-bottom: 25px;
	aspect-ratio: 16/9;
	overflow: hidden;
}

@media screen and (max-width: 1199px) {
	.news-item-rl.large-news-item .image-holder {
		aspect-ratio: 3/2;
	}
}

.news-item-rl.large-news-item .image-holder img {
	position: absolute;
		top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

.news-item-rl.large-news-item .content-holder {
	flex: 1;
}

.news-item-rl h1 {
	line-height: 1.1em;
	font-size: 30px;
	margin-top: 0;
	padding-top: 0;
	margin-bottom: 0;
	margin-left: 0;
	padding-bottom: 0;
}

.news-item-rl h2 {
	font-size: 30px;
	color: white;
	margin-top: 0;
	padding-top: 0;
	margin-bottom: 20px !important;
		margin-left: 0;
}

.news-item-rl p {
	margin-bottom: 25px;
}

.news-item-rl .attachment-post-thumbnail {
	width: 100%;
	margin-bottom: 25px;
	height: auto;
}

@media screen AND (min-width: 768px) {
	.news-item-rl .attachment-post-thumbnail {
		width: 50%;
		height: 100%;
		object-fit: cover;
		float: right;
		margin-bottom: 0;
	}
}

.news-item-rl .read-more {
	display: block;
	color: white;
}

.news-startsektion .row {
	height: 100%;
}

.loading {
	text-align: center;
	padding: 20px;
}

.loading img {
	width: 50px;
	height: 50px;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* ===========================================
   FORMS (WPCF7)
   =========================================== */

.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea {
		background-color: #002D62;
	padding: 5px;
		color: white;
	border-bottom: 0;
	}

.wpcf7 select {
	background-image: url(../img/arrow_down_white.png);
	}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
		color: white;
	opacity: 1;
}

/* ===========================================
   SWAPS
   =========================================== */

.swaps-container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: left;
}

.swap {
	margin: 0 !important;
	width: 100%;
	max-width: 100%;
	color: white;
	position: relative;
	height: auto;
}

@media screen AND (min-width: 768px) {
	.swap {
		width: 50%;
		width: calc(50% - 10px);
	}
}

@media screen AND (min-width: 1300px) {
	.swap {
		width: 25%;
		width: calc(25% - 20px);
	}
}

@media screen and (min-width: 1600px) {
	.swap {
		width: 33%;
		width: calc(25% - 20px);
	}
}

/* ===========================================
   FILTERS & SEARCH
   =========================================== */

.ajax-filter-2024 {
	margin: 25px auto;
}

.ajax-filter-2024 select,
.ajax-filter-2024 input {
	background-color: #002D62;
		color: white;
	padding: 5px;
}

@media screen AND (min-width: 768px) {
	.ajax-filter-2024 select,
	.ajax-filter-2024 input {
		width: 33%;
		width: calc(33.3% - 10px);
		float: left;
		margin-right: 10px;
	}
}

@media screen AND (min-width: 768px) {
	.ajax-filter-2024 input {
		width: 33.3%;
		margin-right: 0;
	}
}

#post-types-filter,
#category-filter {
	margin-top: 110px;
}

#post-types-filter button,
#category-filter button {
	border-radius: 0;
	width: 90%;
	text-align: left;
	background-color: #B8B9B9;
		position: relative;
	padding-right: 50px;
}

#post-types-filter button.active,
#category-filter button.active {
	background-color: #6B90B6;
}

#post-types-filter button span,
#category-filter button span {
	position: absolute;
	right: 0;
	top: 0;
	display: inline-block;
		background-color: white;
	color: white;
		background-color: #002D62;
	height: 100%;
	width: 50px;
	padding: 10px 15px;
	font-weight: bold;
	text-align: Center;
}

select.category-filter option:hover {
	background-color: red;
}

select.category-filter option:checked,
select.category-filter option:hover {
	box-shadow: 0 0 10px 100px #6B90B6 inset;
}

select.category-filter:focus > option:checked,
select.category-filter:focus > option:hover {
	background: #6B90B6 !important;
}

.search_result {
	border-bottom: 1px solid black;
	margin-bottom: 25px;
	padding-bottom: 25px;
}

.search_result .more {
	color: white;
	padding: 5px 10px;
	background-color: #002D62;
	border-right: 1px solid transparent;
	transition: border-right 1s;
}

.search_result .more:hover {
	text-decoration: none;
	border-right: 25px solid #6B90B6;
	transition: border-right 1s;
}

/* ===========================================
   PAGINATION
   =========================================== */

.pagination {
	margin-top: 25px;
}

.pagination .page-numbers {
	color: white;
	background-color: #8C9295;
	padding: 5px 15px;
	margin-right: 15px;
		text-decoration: none;
}

.pagination .page-numbers:hover,
.pagination .page-numbers[aria-current="page"] {
	background-color: #002D62;
}

.page-link {
	display: inline;
}

.page-link:hover {
	cursor: pointer;
}

.page-link.active {
	color: white !important;
	background-color: #6B90B6;
}

.container.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 20px 0;
}

/* ===========================================
   NESTED SUBMENU ACCORDION
   =========================================== */


.menu-container .sub-menu > li,
.mega-menu .sub-menu > li,
.load-menu .sub-menu > li {
	margin-bottom: 12px;
	padding-right: 40px;
}

.load-menu .sub-menu > li {
	padding-right: 0;
}

.load-menu .sub-menu > li > a {
	padding-right: 44px;
}


.menu-container .menu-item-has-children,
.mega-menu .menu-item-has-children {
	position: relative;
}

/* First-level menu items in mobile menu - make entire row clickable */
.menu-container .menu-body > div > ul > .menu-item-has-children {
	position: relative;
}

.menu-container .menu-body > div > ul > .menu-item-has-children > .sub-menu {
	width: 100%;
}

@media screen and (max-width: 1299px) {
	.menu-container .menu-header,
	.menu-container .menu-body,
	.menu-container .menu-footer {
		width: 100%;
		max-width: none;
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.menu-container .menu-header {
		padding-top: 1.75rem;
		padding-bottom: 1.25rem;
	}

	.menu-container .menu-body {
		padding-top: 1.5rem;
		padding-bottom: 1.5rem;
	}

	.menu-container .menu-footer {
		padding: 1.25rem;
	}

	.menu-container #menu-hauptmenue-neu-mobile {
		display: flex;
		flex-direction: column;
		gap: 1.25rem;
		width: 100%;
	}

	.menu-container #menu-hauptmenue-neu-mobile > .menu-item > a {
		font-size: 1.5rem;
		line-height: 1.2;
		padding-right: 0;
		white-space: nowrap;
	}

	.menu-container #menu-hauptmenue-neu-mobile .menu-item-has-children {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}

	.menu-container #menu-hauptmenue-neu-mobile .mobile-menu-item-row {
		display: flex;
		align-items: center;
		width: 100%;
		flex: 1 1 100%;
		min-width: 0;
	}

	.menu-container #menu-hauptmenue-neu-mobile .mobile-menu-item-row > .mobile-menu-parent-trigger,
	.menu-container #menu-hauptmenue-neu-mobile .mobile-menu-item-row > a {
		flex: 1;
		min-width: 0;
		color: white;
		padding-right: 0.5rem;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.menu-container #menu-hauptmenue-neu-mobile .mobile-menu-item-row > .mobile-menu-parent-trigger {
		font-size: 1.5rem;
		line-height: 1.2;
		cursor: pointer;
		display: block;
		user-select: none;
	}

	.menu-container #menu-hauptmenue-neu-mobile .submenu-toggle {
		position: static;
		top: auto;
		right: auto;
		transform: none;
		flex-shrink: 0;
		margin-left: auto;
		width: 34px;
		height: 34px;
		font-size: 24px;
		line-height: 1;
	}

	.menu-container #menu-hauptmenue-neu-mobile .sub-menu .mobile-menu-item-row > a {
		font-size: 1.125rem;
		line-height: 1.3;
	}

	.menu-container #menu-hauptmenue-neu-mobile > .menu-item-has-children > .sub-menu,
	.menu-container #menu-hauptmenue-neu-mobile .sub-menu {
		flex-basis: 100%;
		width: 100%;
		margin-top: 0.75rem;
		margin-left: 0;
		padding-left: 0;
	}

	.menu-container #menu-hauptmenue-neu-mobile .sub-menu > li {
		margin-bottom: 0.875rem;
		padding-right: 0;
	}

	.menu-container #menu-hauptmenue-neu-mobile .sub-menu a {
		font-size: 1.125rem;
		line-height: 1.3;
		padding-right: 0;
	}

	.menu-container .menu-item-has-children.submenu-open > .mobile-menu-item-row > .mobile-menu-parent-trigger,
	.menu-container .menu-item-has-children.submenu-open > .mobile-menu-parent-trigger {
		text-decoration: underline;
		text-underline-offset: 3px;
	}

	.menu-container #menu-fussmenue {
		gap: 4px;
		margin-top: 0;
		margin-left: 0;
		padding-left: 0;
		width: 100%;
	}

	.menu-container .menu-fussmenue-container {
		margin-top: 2rem;
		margin-left: 0;
		padding-left: 0;
		width: 100%;
	}

	.menu-container #menu-fussmenue > .menu-item {
		margin-bottom: 0;
		margin-left: 0;
		padding-left: 0;
	}

	.menu-container #menu-fussmenue a {
		font-size: 1.125rem;
		line-height: 1.3;
		padding-right: 0;
		margin-left: 0;
		color: white;
	}
}

/* Toggle button styling */
.submenu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	cursor: pointer;
	font-size: 32px;
	font-weight: 300;
	font-style: normal;
	color: white;
	position: absolute;
	right: 0;
	top: 28px;
	bottom: auto;
	transform: translateY(-50%);
	border-radius: 0;
	transition: background-color 0.2s ease;
	line-height: 1;
}

@media screen and (min-width: 1300px) {
	.submenu-toggle {
		width: 32px;
		height: 32px;
		top: 12px;
		font-size: 28px;
	}
}

/* First-level toggle - positioned inline, not absolute */
/* .menu-container .menu-body > div > ul > .menu-item-has-children > .submenu-toggle {
	position: relative;
	top: auto;
	transform: none;
	flex-shrink: 0;
	margin-left: auto;
}
 */
.submenu-toggle:hover {
	background-color: rgba(255, 255, 255, 0.15);
}

.menu-container .menu-item-has-children > .sub-menu,
.mega-menu .menu-item-has-children > .sub-menu {
	margin-top: 15px;
}

/* Hide nested submenus by default (but not load-menu's direct sub-menu) */
.menu-container .sub-menu,
.mega-menu .sub-menu .sub-menu,
.load-menu .sub-menu .sub-menu {
	display: none;
	max-height: none !important;
	transition: none !important;
	overflow: hidden;
}

/* Keep load-menu's direct sub-menu visible */
.load-menu > .sub-menu {
	display: block !important;
}

.menu-container .menu-item-has-children:hover > .sub-menu .sub-menu,
.mega-menu .menu-item-has-children:hover > .sub-menu .sub-menu {
	max-height: none !important;
}

/* Links without href - same styling as regular links */
.menu-container .menu-item-has-children > a.no-href-toggle,
.mega-menu .menu-item-has-children > a.no-href-toggle {
	color: white;
	text-decoration: none;
	cursor: pointer;
}

.menu-container .menu-item-has-children > a.no-href-toggle:hover,
.mega-menu .menu-item-has-children > a.no-href-toggle:hover {
	color: white;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Submenu items - underline offset on hover */
.menu-container .sub-menu a:hover,
.mega-menu .sub-menu a:hover,
.load-menu .sub-menu a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}


.tile-block {

	display: grid!important;
	grid-template-columns: 1fr;
	gap: 1rem!important;
	align-items: center;
	justify-items: center!important;
	max-width: 1024px	;

	.tile, .tile > img {
		margin: 0!important;
	}

	.tile {
		width: 100%;
		height: 100%;
	}

	@media screen and (min-width: 768px) {
		grid-template-columns: repeat(2, 1fr);
	}

}
.tile-block {
	margin-left: 15px!important;
	margin-right: 15px!important;
}


@media screen and (min-width: 992px) {
	.tile-block  {
			margin-left: 25px!important;
			margin-right: 25px!important;
	}
}
@media screen and (min-width: 1300px) {
	.tile-block  {
			margin-left: 2.5%!important;
			margin-right: 2.5%!important;
	}
}

/* ===========================================
   HERO (mobile: taller image crop + slightly larger titles)
   =========================================== */

.carousel-item span,
.head-image span {
	font-size: 1.12em;
}

@media screen and (min-width: 768px) {
	.carousel-item span,
	.head-image span {
		font-size: 2.2em;
	}
}

@media screen and (min-width: 1280px) {
	.carousel-item span,
	.head-image span {
		font-size: 3.2em;
	}
}

@media screen and (max-width: 1299px) {
	.head-image.head-image-block img,
	.head-image.head-image-block video.headvideo,
	.col-md-12.head-image > img.d-block {
		aspect-ratio: 4 / 3;
		width: 100%;
		object-fit: cover;
		display: block;
	}

	/* Four strip images: combined stack ≈ 4:3 */
	.slider .carousel-item img.first,
	.slider .carousel-item img.second,
	.slider .carousel-item img.third,
	.slider .carousel-item img.fourth {
		aspect-ratio: 16 / 3;
		object-fit: cover;
		width: 100% !important;
		display: block;
	}
}

/* ===========================================
   CAROUSEL / SLIDER (slice rows, content-aligned width)
   =========================================== */

/* Match .content > * / .editor-item horizontal inset */
.slider {
	margin-left: 15px;
	margin-right: 15px;
	width: auto;
	max-width: none;
}

@media screen and (min-width: 992px) {
	.slider {
		margin-left: 25px;
		margin-right: 25px;
	}
}

@media screen and (min-width: 1300px) {
	.slider {
		margin-left: 2.5%;
		margin-right: 2.5%;
	}
}

/* Already inside aligned container — no extra horizontal inset */
.slider-nav {
	margin-left: 0;
	margin-right: 0;
	margin-top: 1rem;
	padding-left: 0;
}

.slider .carousel,
.slider .carousel-inner,
.slider .carousel-item {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

/* Remove whitespace gaps between the four stacked slice images */
.slider .carousel-item > a {
	display: block;
	line-height: 0;
	font-size: 0;
}

.slider .carousel-item img,
.slider .carousel-inner img {
	display: block;
	width: 100% !important;
	max-width: 100%;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding: 0;
	border: 0;
	vertical-align: top;
}

.slider .carousel-item img + img {
	margin-top: -1px !important;
}

/*
 * main.css adds margin-left: 25px on strips; keep strips flush inside .slider.
 * Slide animation still uses margin-left: 100% / -100% on .carousel-item-next / .prev.
 */
.slider .carousel-item.active img.first,
.slider .carousel-item.active img.second,
.slider .carousel-item.active img.third,
.slider .carousel-item.active img.fourth,
.slider .carousel-item-prev.carousel-item-left img.first,
.slider .carousel-item-prev.carousel-item-left img.second,
.slider .carousel-item-prev.carousel-item-left img.third,
.slider .carousel-item-prev.carousel-item-left img.fourth,
.slider .carousel-item-next.carousel-item-left img.first,
.slider .carousel-item-next.carousel-item-left img.second,
.slider .carousel-item-next.carousel-item-left img.third,
.slider .carousel-item-next.carousel-item-left img.fourth,
.slider .carousel-item-prev.carousel-item-right img.first,
.slider .carousel-item-prev.carousel-item-right img.second,
.slider .carousel-item-prev.carousel-item-right img.third,
.slider .carousel-item-prev.carousel-item-right img.fourth,
.slider .carousel-item-next.carousel-item-right img.first,
.slider .carousel-item-next.carousel-item-right img.second,
.slider .carousel-item-next.carousel-item-right img.third,
.slider .carousel-item-next.carousel-item-right img.fourth {
	margin-left: 0 !important;
}
