/*------------------------------------------------------------------------- FONTS */
/* @font-face { */
	/* font-display: swap; */
	/* font-family: 'Roboto'; */
	/* font-style: italic; */
	/* font-weight: 100; */
	/* src: url('/themes/thex/fonts/roboto-v30-latin-100italic.woff2') format('woff2'); */
/* } */
/* @font-face { */
	/* font-display: swap; */
	/* font-family: 'Roboto'; */
	/* font-style: normal; */
	/* font-weight: 300; */
	/* src: url('/themes/thex/fonts/roboto-v30-latin-300.woff2') format('woff2'); */
/* } */
/* @font-face { */
	/* font-display: swap; */
	/* font-family: 'Roboto'; */
	/* font-style: italic; */
	/* font-weight: 300; */
	/* src: url('/themes/thex/fonts/roboto-v30-latin-300italic.woff2') format('woff2'); */
/* } */
@font-face {
	font-display: swap;
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: url('/themes/thex/fonts/roboto-v30-latin-regular.woff2') format('woff2');
}
@font-face {
	font-display: swap;
	font-family: 'Roboto';
	font-style: italic;
	font-weight: 400;
	src: url('/themes/thex/fonts/roboto-v30-latin-italic.woff2') format('woff2');
}
@font-face {
	font-display: swap;
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 500;
	src: url('/themes/thex/fonts/roboto-v30-latin-500.woff2') format('woff2');
}
@font-face {
	font-display: swap;
	font-family: 'Roboto';
	font-style: italic;
	font-weight: 500;
	src: url('/themes/thex/fonts/roboto-v30-latin-500italic.woff2') format('woff2');
}
@font-face {
	font-display: swap;
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 700;
	src: url('/themes/thex/fonts/roboto-v30-latin-700.woff2') format('woff2');
}
/* @font-face { */
	/* font-display: swap; */
	/* font-family: 'Roboto'; */
	/* font-style: italic; */
	/* font-weight: 700; */
	/* src: url('/themes/thex/fonts/roboto-v30-latin-700italic.woff2') format('woff2'); */
/* } */
/* @font-face { */
	/* font-display: swap; */
	/* font-family: 'Roboto'; */
	/* font-style: normal; */
	/* font-weight: 900; */
	/* src: url('/themes/thex/fonts/roboto-v30-latin-900.woff2') format('woff2'); */
/* } */
/*------------------------------------------------------------------------- BASE SETTINGS */
:root {
	--primary: #327D87;
	/* --primary-light: #ecf0f3; */
	/* --primary-light: hsl(200, 7%, 92%); */
	--primary-light: #e6f0f0;
	--secondary: #f8b44f;
	--secondary-light: #fff5e6;
	--secondary-dark: #eb9009;
	--tertiary: #a44168;
	--tertiary-light: #edd9e1;
	--white: #ffff;
	--white-transparent: #fffc;
	--light: #f7f7f7;
	--light-gray: #666;
	--medium-gray: #555;
	--light-blue: #82ccdf;
	--dark: #333;
	--shadow-1: #c9c9c9;
	--shadow-2: #cecece;
	--color-text: #222;
	--color-text-light: #444;
	--border: #222;
	--font-family: "Roboto", sans-serif;
	--max-width: min(1150px, 100vw - 20px);
	--menu-toggle: #ADBBBD;
}
/*----------------------------- SCROLL OFFSET */
body {
    --scrollOffset: calc(var(--gin-toolbar-y-offset, 0px) + 70px);
}
body:has(.anker-links-container) {
    --scrollOffset: calc(var(--gin-toolbar-y-offset, 0px) + 140px);
}
@media (max-width: 576px) {
	body:has(.anker-links-container) {
		--scrollOffset: calc(var(--gin-toolbar-y-offset, 0px) + 120px);
	}
}
:target {
	scroll-margin-top: var(--scrollOffset) !important;
}
/*----------------------------- HTML & BODY */
html {
	scroll-padding-top: var(--scrollOffset);
	scroll-behavior: smooth;
}
body {
	font-family: var(--font-family);
	box-sizing: border-box;
	font-weight: 400;
}
/*--------------------------- BASE FONT & LINK SETTINGS */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-family);
	font-weight: 700;
	color: var(--primary);
}
h1 {
	line-height: 1.4;
}
h2 {
	margin-bottom: 1rem;
	line-height: 1.4;
	font-weight: 500;
	/* color: var(--color-text); */
}
h3 {
	margin-bottom: 1rem;
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--color-text);
}
h4 {
	margin-bottom: 0.6rem;
	font-size: 1.1rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--dark);
}
a {
	color: var(--primary);
}
a:hover {
	color: var(--primary);
	text-decoration: underline;
}
hr {
	border: 1px dotted gray;
	border-style: none none dotted;
	background: none;
	margin-bottom: 1rem;
}
b, strong {
	font-weight: 500;
}
h1, h2 {
    overflow-wrap: anywhere;
}
h3, h4, h5, h6, p, a {
    overflow-wrap: break-word;
}
p {
	line-height: 1.5;
}
/*----------------------------- GLOBAL LAYOUT ADJUSTMENTS */
.main-wrapper {
	padding: 0;
}
.page-header {
	padding: 0;
}
.page-title-wrap > h1 {
	margin-top: 3rem;
}
.footer-top-container {
	padding: 0;
}
/* ADMIN TOOLBAR */
/*----------------------------- FONT CLASSES */
.caption {
	font-size: 0.7rem;
}
.category {
	color: #666;
	text-transform: uppercase;
	margin-bottom: 0.6rem;
	font-size: 0.9rem;
	font-weight: 400;
	letter-spacing: 0.03em;
}
.center {
	text-align: center;
}
.left {
	text-align: left;
}
.right {
	text-align: right;
}
.weight-200 {
	font-weight: 200;
}
.weight-300 {
	font-weight: 300;
}
.weight-400 {
	font-weight: 400;
}
.weight-500 {
	font-weight: 500;
}
.weight-600 {
	font-weight: 600;
}
.weight-700 {
	font-weight: 700;
}
.wrap-balance {
	text-wrap: balance;
}
.no-padding {
	padding: 0;
}
.no-margin {
	margin: 0;
}
ul {
	list-style: square;
}
ul li::marker {
	color: var(--primary);
}
h1 + p, h2 + p {
	margin-top: 1rem;
}
h3 + p, h4 + p, ul + p {
	margin-top: 0.6rem;
}
p + h2, ol + h2, ul + h2, p + h3, ol + h3, ul + h3, div + h2, div + h3, footer > h3 {
	margin-top: 1.8rem;
}
h1:empty {
	margin: 0;
}
h1 + h3 {
	margin-top: 1rem;
}
p + h2 {
	margin-top: 3rem;
}
.category + h1, .category + h2, .category + h3 {
	margin-top: 0;
}
/* QUICK COLORS & EFFECTS */
.petrol {
	color: #327d87;
}
.box-shadow {
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.box {
	background-color: var(--primary-light);
}
/*----------------------------- EXTERNE NEWS LINKS */
h3 > a[href^="http"]:not([href*="dzlm.de"]):not([href*="quamath.de"])::before {
	content: '';
	display: inline-block;
	width: 18px;
	height: 23px;
	margin-right: 0.6rem;
	background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='a' data-name='Ebene 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Cdefs%3E%3Cstyle%3E .b %7B fill: %23327b8a; %7D .c %7B fill: %231d1d1b; %7D .d %7B fill: %23fefefe; %7D %3C/style%3E%3C/defs%3E%3Cpath class='c' d='M0,999.09V.04c108.7,0,217.4,0,326.1,0,0,73.94,1.52,148.83-.53,222.36h-103.06V776.61H777.16v-108.05h221.9v330.53H0Z'/%3E%3Cpath class='d' d='M0,999.09H999.06v-330.53h-221.9v108.05H222.51V222.4h103.06c1.22-1.33,.79-2.59,.79-3.74,.02-71.81,.02-143.62,0-215.42,0-1.07-.18-2.14-.27-3.2,57.12,0,114.24,0,171.37,0,.94,1.08,1.81,2.22,2.82,3.22,52.56,52.57,105.14,105.14,157.74,157.67,1,1,2.35,1.67,4.19,2.94-101.51,101.49-202.16,202.11-302.55,302.48,56.79,56.78,113.52,113.49,170.44,170.41,100.45-100.42,201.06-201.02,302.06-302,55.62,55.61,111.12,111.09,167.07,167.04v-4.44c0-37.23,0-74.46,0-111.68,0-128.55,.02-257.1,.02-385.65,.22,.16,.75-.37,.73,.36-.03,.96,0,1.93,0,2.89V999.82h-5.6c-330.38,0-660.76,0-991.14-.04-1.06,0-2.45,.83-3.25-.68Z'/%3E%3Cpath class='b' d='M999.27,.04c0,167.27-.03,334.5-.02,501.77-55.96-55.95-111.45-111.43-167.07-167.04-101,100.98-201.62,201.57-302.06,302-56.92-56.91-113.65-113.63-170.44-170.41,100.39-100.37,201.03-200.99,302.55-302.48C606,110.86,552.19,54.75,497.47,.04c167.27,0,334.54,0,501.8,0Z'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: middle;
}

/*----------------------------- PAGE TABS SETTINGS */
.page-tabs li a {
	background: none;
	border: none;
	color: var(--dark);
}
.page-tabs li a:hover {
	color: var(--primary);
	text-decoration: none;
}
.sidebar li {
	border-bottom: 1px dotted var(--border);
}
/*----------------------------- BREADCRUMBS */
#block-thex-breadcrumbs {
	margin-bottom: 1rem;
}
/*----------------------------- GLOBAL IMAGE SETTINGS & CLASSES */
img.br5 {
	border-radius: 5px;
}
img.br10 {
	border-radius: 10px;
}
img.br15 {
	border-radius: 15px;
}
/*------------------------------------------------------------------------- HEADER, MENU & SEARCH */
/*----------------------------- STICKY HEADER */
header {
	position: relative;
}
header.header {
	position: sticky;
	z-index: 500;
	top: var(--gin-toolbar-y-offset, 0px);
	background-color: var(--white);
	margin-bottom: 0;
	padding-top: 20px;
	height: 72px;
	transition: box-shadow 0.4s;
}
/* @media (max-width: 576px) { */
	/* header.header { */
		/* height: 59px; */
		/* top: env(safe-area-inset-top) */
	/* } */
/* } */
header.header.stickyheader {
	box-shadow: 0 0 12px #00000033;
	top: var(--gin-toolbar-y-offset, 0px);
}
.header-container .menu-wrap {
	top: var(--gin-toolbar-y-offset, 0px);
}
/* MOBILE MENU NEU */
/* .mobile-menu::before { */
/* content: ""; */
	/* display: block; */
	/* width: 50px; */
	/* height: 50px; */
	/* background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20fill%3D%27none%27%20viewBox%3D%270%200%2024%2024%27%20stroke-width%3D%271.5%27%20stroke%3D%27currentColor%27%20class%3D%27size-6%27%3E%3Cpath%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%20d%3D%27M3.75%206.75h16.5M3.75%2012h16.5m-16.5%205.25h16.5%27%2F%3E%3C%2Fsvg%3E"); */
	/* background-size: contain; */
	/* background-repeat: no-repeat; */
	/* background-position: center; */
	/* transition: background-image 0.3s ease; */
/* } */
/* .mobile-menu { */
	/* display: unset; */
	/* height: unset; */
	/* width: unset; */
/* } */
/*----------------------------- MENU */
.mobile-menu {
	z-index: 501;
}
.mobile-menu .span {
	height: 2.1px;
}
.active-menu .menu-wrap .menu {
	display: flex;
}
.menu-wrap {
	opacity: 0;
	max-width: unset;
	min-width: 100vw;
	z-index: 499;
	box-shadow: unset;
	transform: translateY(100%);
	transition: transform 0.2s, opacity 0.4s, box-shadow 0.5s;
	text-align: center;
	background-color: var(--tertiary);
	display: flex;
	align-items: flex-start;
	padding: 72px;
}
.menu-wrap .menu {
	gap: 0.8rem;
}
.active-menu {
	--_active-menu-hover: #eee;
}
.active-menu .menu-wrap {
	opacity: 1;
	transform: translateY(72px);
	transition: transform 0.2s ease-in, opacity 0.4s, box-shadow 0.5s;
	box-shadow: inset 0 9px 6px -6px #0000006b;
	padding: 0 0 100px 0;
}
.region-primary-menu {
	padding-top: 1.5rem;
}
.menu-wrap a {
	font-size: 1.3rem;
	color: #fff;
}
.menu-wrap .submenu {
	font-size: 1rem;
	border-radius: 0;
	box-shadow: none;
}
.menu-wrap .menu-item a, .menu-wrap .menu-item > span {
	border-bottom: none;
}
.menu-wrap .menu li a {
	font-weight: 400;
}
.menu-wrap .submenu li a {
	justify-content: center;
	font-weight: 400;
	color: #fff; /* Retain only one */
}
.menu-wrap a {
	transition: all 0.35s;
}
.menu-wrap a:hover {
	text-decoration: none;
	/* color: #ddd; */
	transform: scale(1.05);
	transition: all 0.1s linear;
}
.menu-wrap > .region-primary-menu {
	max-width: 750px;
	margin: 0 auto;
}
.close-mobile-menu {
	display: none;
	width: 64px;
	height: 64px;
	color: #333;
}
/* BURGER MENU COLOR */
.mobile-menu span {
	background-color: var(--dark) !important;
}
/* HOVER BEHAVIOR */
.menu-wrap .submenu li a:hover {
	color: var(--_active-menu-hover);
}
.menu-wrap .submenu li a:before {
	font: var(--fa-font-solid);
	content: '\f101';
	color: #fff;
	font-size: 0.8rem;
	align-content: center;
	padding-right: 10px;
}
/* PSEUDO CLASSES */
.menu-wrap .submenu li a:after {
	font: var(--fa-font-solid);
	content: '\f100';
	color: #fff;
	font-size: 0.8rem;
	align-content: center;
	padding-left: 10px;
}
@media (max-width: 576px) {
	#block-thex-quamathlogo {
		width: 170px;
	}
	header.header {
		padding-top: 14px;
		height: 59px;	
	}
	.active-menu .menu-wrap {
	transform: translateY(59px);
	}
}
/*----------------------------- SEARCH MENU */
.header-search-close {
	width: 45px;
	height: 45px;
}
.icon-close {
	font-size: 2rem;
}
.search-box.open {
	z-index: 502;
}
.full-page-search {
	margin: 0 1rem 0 0;
}
.search-box {
	transition: transform 0.3s;
	box-shadow: 0 0 12px #00000033;
}
@media (max-width: 576px) {
	body.active-menu {
		height: 100%;
		overflow: hidden;
	}
}
/*------------------------------------------------------------------------- FOOTER */
.website-copyright {
	display: none;
}
.custom-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 5rem;
}
.custom-footer > div:nth-child(1) {
	display: flex;
	flex: 1 1 40%;
	flex-direction: column;
	gap: 5rem;
	justify-content: end;
}
.custom-footer > div:nth-child(1) > p {
	flex: 1;
	max-width: 515px;
	line-height: 1.7;
	color: #333;
}
.custom-footer > div:nth-child(2) {
	flex: 0 0 31%;
	align-content: end;
	gap: 4rem;
	display: flex;
	flex-direction: column;
	justify-content: end;
}
.custom-footer .footer-logos {
	display: flex;
	gap: 3rem;
	align-items: center;
}
.custom-footer .social-icons {
	font-size: 1.7rem;
	gap: 2.2rem;
	display: flex;
	color: #888;
}
.custom-footer .social-icons svg {
	height: 32px;
}
.social-icons svg path {
	transition: fill 0.15s linear;
}
.social-icons .social-yt:hover path {
	fill: #ff0000;
}
.social-icons .social-x:hover path {
	fill: #000000;
}
.social-icons .social-md:hover path {
	fill: #3293da;
}
.social-icons .social-fb:hover path {
	fill: #1877f2;
}
.social-icons .social-bs:hover path {
	fill: #0085ff;
}
@media (max-width: 768px) {
	.custom-footer {
		flex-direction: column;
	}
	.custom-footer .footer-logos {
		flex-direction: column;
	}
	.custom-footer > div:nth-child(1)  {
		align-items: center;
	}
	.custom-footer > div:nth-child(1) > p {
		text-align: center;
	}
	.custom-footer > div:nth-child(2)  > .menu {
		text-align: center;
	}
	.custom-footer .social-icons {
		justify-content: center;
	}
}
@media (max-width: 576px) {
	.custom-footer .social-icons svg {
		height: 26px;
	}
}
/*------------------------------------------------------------------------- BASE ELEMENTS */
/*----------------------------- BACK TO TOP */
.scrolltop {
	bottom: 1.3rem;
	right: 1.2rem;
	transition: background 0.1s linear;
}
/*----------------------------- BUTTONS */
input#edit-submit {
	background-color: var(--primary);
	color: white;
}
button, [type="button"], [type="reset"], [type="submit"] {
	padding: 10px 16px;
	border-radius: 10px;
}
/* LINKS STYLED AS BUTTONS */
a.button {
	display: inline-block;
	padding: 12px 24px;
	font-size: 16px;
	font-weight: 400;
	text-align: center;
	color: #ffffff;
	border: none;
	border-radius: 0.6rem;
	cursor: pointer;
	transition: transform 0.2s ease;
	text-decoration: none;
	background-color: var(--primary);
	text-wrap: nowrap;
}
a.button:active {
	transform: scale(0.98);
}
a.button:focus-visible {
	outline: 2px dashed var(--dark);
	outline-offset: 2px;
}
/* VARIANTS */
/* PRIMARY */
a.button.primary {
	background-color: var(--primary);
	border: 2px solid var(--white);
}
a.button, a.button.primary:hover {
	background-color: color-mix(in srgb, var(--primary) 80%, black 20%);
}
a.button.primary.outline {
	background-color: var(--white-transparent);
	border: 2px solid var(--primary);
	color: var(--primary);
	backdrop-filter: blur(10px);
}
a.button.primary.outline:hover {
	background-color: var(--primary);
	border: 2px solid var(--white);
	color: var(--white);
}
a.button.primary.negative-hover:hover {
	background-color: var(--white);
	border: 2px solid var(--primary);
	color: var(--primary);
}
/* SECONDARY */
a.button.secondary {
	background-color: var(--secondary-dark);
	border: 2px solid var(--white);
}
a.button.secondary:hover {
	background-color: color-mix(in srgb, var(--secondary-dark) 90%, black 10%);
}
a.button.secondary.outline {
	background-color: var(--white-transparent);
	border: 2px solid var(--secondary-dark);
	color: var(--secondary-dark);
	backdrop-filter: blur(10px);
}
a.button.secondary.outline:hover {
	background-color: var(--secondary-dark);
	border: 2px solid var(--white);
	color: var(--white);
}
a.button.secondary.negative-hover:hover {
	background-color: var(--white);
	border: 2px solid var(--secondary-dark);
	color: var(--secondary-dark);
}
/* TERTIARY */
a.button.tertiary {
	background-color: var(--tertiary);
	border: 2px solid var(--white);
}
a.button.tertiary:hover {
	background-color: color-mix(in srgb, var(--tertiary) 80%, black 20%);
}
a.button.tertiary.outline {
	background-color: var(--white-transparent);
	border: 2px solid var(--tertiary);
	color: var(--tertiary);
	backdrop-filter: blur(10px);
}
a.button.tertiary.outline:hover {
	background-color: var(--tertiary);
	border: 2px solid var(--white);
	color: var(--white);
}
a.button.tertiary.negative-hover:hover {
	background-color: var(--white);
	border: 2px solid var(--tertiary);
	color: var(--tertiary);
}
/* DOWNLOAD & SHARE BUTTON */
.button-download {
	display: inline-block;
	width: 38px;
	height: 38px;
	background-color: var(--primary-light);
	border-radius: 8px;
	padding: 8px;
	transition: all 0.2s;
	position: relative;
}
.button-download.negative {
	background-color: var(--light);
}
.button-download::before {
	content: '';
	display: inline-block;
	width: 20px;
	height: 100%;
	background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="%23327d87" class="download-icon"%3E%3Cpath stroke-linecap="round" stroke-linejoin="round" d="M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"%3E%3C/path%3E%3C/svg%3E');
	background-size: contain;
	background-repeat: no-repeat;
	transition: all 0.2s;
}
.button-download:hover {
	background-color: #327d87;
	transform: scale(1.08);
}
.button-download:hover::before {
	filter: brightness(0) invert(1); /* Inverts the SVG color to white */
}
.button-share {
	display: inline-block;
	width: 38px;
	height: 38px;
	background-color: var(--primary-light);
	border-radius: 8px;
	padding: 8px;
	transition: all 0.2s;
	position: relative;
}
.button-share::before {
	content: '';
	display: inline-block;
	width: 19px;
	height: 100%;
	background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23327D87"><path fill-rule="evenodd" d="M15.75 4.5a3 3 0 1 1 .825 2.066l-8.421 4.679a3.002 3.002 0 0 1 0 1.51l8.421 4.679a3 3 0 1 1-.729 1.31l-8.421-4.678a3 3 0 1 1 0-4.132l8.421-4.679a3 3 0 0 1-.096-.755Z" clip-rule="evenodd"/></svg>');
	background-size: contain;
	background-repeat: no-repeat;
	transition: all 0.2s;
}
.button-share:hover {
	background-color: #327d87;
	transform: scale(1.08);
}
.button-share:hover::before {
	filter: brightness(0) invert(1); /* Inverts the SVG color to white */
}
@media (max-width: 576px) {
	a.button {
		text-wrap: balance;
	}
}
/* VIDEO */
video {
	border-radius: 0.6rem;
	width: 100%;
}
/*------------------------------------------------------------------------- ALLG. FLEXBOX & ALIGNMENT */
.flexbox {
	display: flex;
}
.flexbox.f-auto {
	flex-wrap: wrap;
}
.flexbox.f-auto > * {
	flex: 1;
}
.f-align-center {
	justify-content: center;
	align-items: center;
	text-align: center;
}
.flexbox.f-50-50, .flexbox.f-33-66, .flexbox.f-66-33 {
	gap: 2rem;
}
.flexbox.f-50-50 > div {
	flex: 1 1 49%;
}
.flexbox.f-33-66 > div:nth-child(1) {
	flex: 1 1 33%;
}
.flexbox.f-33-66 > div:nth-child(2) {
	flex: 1 1 66%;
}
.flexbox.f-66-33 > div:nth-child(1) {
	flex: 1 1 66%;
}
.flexbox.f-66-33 > div:nth-child(2) {
	flex: 1 1 33%;
}
@media (max-width: 768px) {
	.flexbox.f-auto, .flexbox.f-50-50, .flexbox.f-33-66, .flexbox.f-66-33, .f-mobile-columns {
		flex-direction: column;
	}
	.f-mobile-row {
		flex-direction: row;
		flex-wrap: wrap;
		min-width: fit-content;
	}
	.f-mobile-columns-reverse {
		flex-direction: column-reverse !important;
	}
	.f-mobile-center {
		justify-content: center;
		align-items: center;
		text-align: center;
	}
}
/*------------------------------------------------------------------------- BLÖCKE & ABSCHNITTE */
.p-center-550, section > div.paragraph-width-550 {
		width: min(var(--max-width), 550px);
		margin-left: auto;
		margin-right: auto;
}
.p-center-650, section > div.paragraph-width-650 {
		width: min(var(--max-width), 650px);
		margin-left: auto;
		margin-right: auto;
}
.p-center-750, section > div.paragraph-width-750 {
		width: min(var(--max-width), 750px);
		margin-left: auto;
		margin-right: auto;
}
.p-center-825, section > div.paragraph-width-825 {
		width: min(var(--max-width), 825px);
		margin-left: auto;
		margin-right: auto;
}
@media (max-width: 576px) {
		[class^="p-center-"], [class^="section.paragraph-width-"] {
				text-align: left;
		}
}
/*----------------------------- BREAKOUT CONTAINER FLEXBOX */
/* .breakout { */
	/* width: 100vw !important; */
	/* left: 50%; */
	/* margin-left: -50vw; */
	/* background-size: cover; */
	/* background-position: center; */
	/* display: flex; */
	/* justify-content: center; */
	/* position: relative; */
/* } */
.breakout {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background-size: cover;
	background-position: center;
	display: flex;
	justify-content: center;
}
.breakout.breakout-petrol {
	background-color: var(--primary-light);
}
.breakout.breakout-orange {
	background-color: var(--secondary-light);
}
.breakout.breakout-light-blue {
	background-color: var(--light-blue);
}
.breakout .breakout-content {
	flex: 0 1 var(--max-width);
}
.breakout .breakout-content-partial {
	flex: 0 1 min(calc(100% - 20px), 1350px);
}
/* VIEWS WORKAROUND */
div:has(> .breakout-view) {
	width: 100vw !important;
	left: 50%;
	margin-left: -50vw;
	background-size: cover;
	background-position: center;
	display: flex;
	justify-content: center;
	position: relative;
}
.breakout-view {
	flex: 0 1 var(--max-width);
}
@media (max-width: 768px) {
	.breakout-view {
		padding-left: 10px;
		padding-right: 10px;
	}
}
div:has(> .breakout-view-color-primary) { background-color: var(--primary); }
div:has(> .breakout-view-color-primary-light) { background-color: var(--primary-light); }
div:has(> .breakout-view-color-secondary) { background-color: var(--secondary); }
div:has(> .breakout-view-color-secondary-light) { background-color: var(--secondary-light); }
div:has(> .breakout-view-color-secondary-dark) { background-color: var(--secondary-dark); }
div:has(> .breakout-view-color-tertiary) { background-color: var(--tertiary); }
div:has(> .breakout-view-color-tertiary-light) { background-color: var(--tertiary-light); }
div:has(> .breakout-view-color-white) { background-color: var(--white); }
div:has(> .breakout-view-color-white-transparent) { background-color: var(--white-transparent); }
div:has(> .breakout-view-color-light) { background-color: var(--light); }
div:has(> .breakout-view-color-light-gray) { background-color: var(--light-gray); }
div:has(> .breakout-view-color-dark) { background-color: var(--dark); }
div:has(> .breakout-view-color-shadow-1) { background-color: var(--shadow-1); }
div:has(> .breakout-view-color-shadow-2) { background-color: var(--shadow-2); }
div:has(> .breakout-view-color-text) { background-color: var(--color-text); }
div:has(> .breakout-view-color-text-light) { background-color: var(--color-text-light); }
/*------------------------------------------------------------------------- VIEWS */
/*----------------------------- ALLG */
[id^="block-views-block-flyer-und-broschueren"] img {
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
	transition: all 0.1s linear;
	transform: scale(1);
}
[id^="block-views-block-flyer-und-broschueren"] img:hover {
	transform: scale(1.05);
}
#block-views-block-flyer-und-broschueren-block-4 img {
	box-shadow: unset;
}
.views-element-container header {
	margin-bottom: 2rem;
}
section, .section {
	padding-top: 4rem;
	padding-bottom: 4rem;
}
section.section-first, .section.section-first, .section-first {
	padding-top: 4rem;
	padding-bottom: 0;
}
section.section-last, .section.section-last, .section-last {
	padding-top: 0;
	padding-bottom: 4rem;
}

@media (max-width: 768px) {
	section, .section {
		padding-top: 2rem;
		padding-bottom: 2.2rem;
	}
}
/*----------------------------- PERSONEN */
.personen-header {
	margin-bottom: 5rem;
}
.person > img {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	object-fit: cover;
	object-position: top;
}
.person > p:nth-child(2) {
	color: var(--primary);
	font-weight: 500;
	font-size: 1rem;
	margin: 0;
}
.person > p:nth-child(3) {
	font-weight: 400;
	font-size: 0.96rem;
	margin-bottom: 1rem;
}
.person > p:nth-child(4) {
	font-weight: 400;
	font-size: 0.92rem;
	color: var(--color-text-light);
}
@media (max-width: 768px) {
	.person {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		margin: 0 2rem;
		text-wrap: balance;
	}
}
/*----------------------------- AKTUELLES STARTSEITE */
.aktuelles-startseite h3 {
	margin: 0 0 1.3rem 0;
}
.aktuelles-startseite .category {
	margin: 1.4em 0 0.3rem 0;
}
.aktuelles-startseite {
	gap: 1.5rem;
}
.aktuelles-header {
	margin-bottom: 2rem;
}
.aktuelles-header :nth-child(1) {
	flex: 1;
}
.aktuelles-header :nth-child(2) {
	flex: 0 0 auto;
	align-content: center;
}
.aktuelles-startseite img {
	width: 356px;
	height: 200px;
	object-fit: cover;
}
.datum-lesedauer {
	color: var(--medium-gray);
	font-size: 0.9rem;
}
.datum-lesedauer a {
	color: var(--medium-gray);
}
.datum-lesedauer + h2 {
	margin-top: 0;
	margin-bottom: 0.6rem;
}
.aktuelles-page-content > .datum-lesedauer {
	margin-bottom: 0;
}
h2 + .datum-lesedauer {
	margin-top: 0;
	margin-bottom: 2rem;
}
.aktuelles-startseite .aktuelles-bild-container {
	overflow: hidden;
	position: relative;
	border-radius: 0.6rem;
	margin-bottom: 1rem;
}
.aktuelles-startseite .aktuelles-bild-container a {
	display: block;
}
.aktuelles-startseite .aktuelles-bild-container img {
	transition: transform 0.3s ease;
	margin: 0;
	width: 100%;
}
.aktuelles-startseite .aktuelles-bild-container:hover img {
	transform: scale(1.05);
}
.aktuelles-bild-container .weiterlesen::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.63);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 1;
	backdrop-filter: blur(1px);
}
.aktuelles-bild-container .weiterlesen::after {
	content: 'Weiterlesen';
	font-size: 1.25rem;
	color: var(--light);
	/* border-bottom: 2px solid var(--light); */
	position: absolute;
	top: 55%;
	left: 50%;
	width: 80%;
	transform: translateX(-50%) translateY(-50%);
	opacity: 0;
	z-index: 1;
	transition: all .15s linear;
	text-align: center;
	font-weight: 500;	
}
.aktuelles-bild-container:hover .weiterlesen::before {
	opacity: 1;
}
.aktuelles-bild-container:hover .weiterlesen::after {
	opacity: 1;
	top: 50%;
}
.lesedauer::before {
	content: "";
	display: inline-block;
	width: 0.8rem;
	height: 0.8rem;
	background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"%3E%3C!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath fill="%23888888" d="M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"%3E%3C/path%3E%3C/svg%3E');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	transition: background-image 0.3s ease;
	margin-right: 0.4rem;
	vertical-align: -0.1rem;
}
.weiterlesen-body-link > a {
	text-wrap: balance;
	color: var(--color-text);
}

.weiterlesen-body-link:hover > a {
	text-decoration: none;
}
@media (max-width: 768px) {
	.aktuelles-startseite .aktuelles-bild-container {
		width: 100vw !important;
		left: 50%;
		transform: translateX(-50%);
		border-radius: 0;
	}
	.aktuelles-startseite img {
		width: 356px;
		height: 35vh;
		object-fit: cover;
	}
}
.aktuelles-alle-anzeigen {
	justify-content: end;
	display: flex;
	padding-top: 2rem;
}
/*----------------------------- AKTUELLES EINZELANSICHT */
.aktuelles-page-container {
}
.aktuelles-page-bild {
	max-height: 450px;
	overflow: hidden;
	display: flex;
	align-items: center;
}
.aktuelles-page-bild img {
	width: 100%;
}
/* .aktuelles-page-content { */
	/* top: -2rem; */
	/* position: relative; */
	/* background-color: #ffffffc9; */
	/* width: 93%; */
	/* border-radius: 1rem; */
	/* padding: 2rem; */
	/* backdrop-filter: blur(5px); */
	/* margin: 0 auto; */
/* } */
.aktuelles-page-content {
	top: -1.5rem;
	position: relative;
	background-color: #fff;
	width: 93%;
	border-radius: 0.6rem;
	padding: 1.3rem 2rem 2rem 2rem;
	backdrop-filter: blur(5px);
	margin: 0 auto;
}
.aktuelles-page-container .datum-lesedauer {
	color: var(--light-gray);
}
.aktuelles-page-container .lesedauer::before {
	width: 0.9rem;
	height: 0.9rem;
	margin-right: 0.4rem;
	vertical-align: -0.1rem;
}
@media (max-width: 768px) {
	.aktuelles-page-bild {
		width: 100vw !important;
		left: 50%;
		margin-left: -50vw;
		position: relative;
	}
	.aktuelles-page-content {
		width: 98%;
		border-radius: 0.75rem;
		padding: 0.8rem 1.2rem;
		top: -1.5rem;
	}
	.aktuelles-page-content-mobile {
		/* width: 100%; */
	}
}
/*------------------------------------------------------------------------- UNIQUE/SPECIAL ELEMENTS */
/* STICKY  */
.sticky {
	position: sticky;
	top: 72px;
	align-self: flex-start;
}
.field-item:has(.anker-links-container), #block-thex-views-block-anker-links-block-1 {
	position: sticky;
	top: calc(var(--gin-toolbar-y-offset, 0px) + 72px);
	z-index: 499;
}
@media (max-width: 576px) {
	.field-item:has(.anker-links-container) {
	top: calc(var(--gin-toolbar-y-offset, 0px) + 59px);
	}
}
/*----------------------------- BACKGROUND IMAGE */
img.background-image {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	max-width: 1150px !important;
	object-fit: cover;
}
.background-image-text-overlay {
	position: relative;
	z-index: 1;
}
/*----------------------------- BANNER */
/* FRONTBANNER */
.frontbanner ~ img {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	max-width: 1150px !important;
	object-fit: cover;
}
.frontbanner {
	position: relative;
	z-index: 1;
}
@media (max-width: 1050px) {
	.frontbanner ~ img {
		display: none;
	}
}
.banner-overlay-links-transparent {
	width: 27rem;
	position: relative;
	z-index: 1;
	background-color: #ffffffc7;
	padding: 1.5rem 2rem;
	backdrop-filter: blur(10px);
}
/* .frontpage-banner-desktop { */
	/* display: unset; */
/* } */
.frontpage-banner-mobile {
	display: none;
}
/* @media (max-width: 768px) { */
	/* .frontbanner ~ .frontpage-banner-desktop { */
		/* display: none; */
	/* } */
	/* .frontbanner ~ .frontpage-banner-mobile { */
		/* display: unset; */
		/* max-width: 100% !important; */
	/* } */
/* } */
/* @media (max-width: 600px) { */
	/* .frontbanner ~ .frontpage-banner-desktop { */
		
	/* } */
	/* .frontbanner ~ .frontpage-banner-mobile { */
		/* max-width: 600px !important; */
	/* } */
/* } */
/* BANNER 50/50 */
.breakout:has(.banner) {
	padding: 0;
}
.banner {
	display: flex;
	gap: 2rem;
}
.banner > * {
	flex: 1 1 100%;
}

.banner > .banner-text {
	align-self: center;
	padding: 1.5rem 10px;
}
.banner > .banner-image {
	align-self: end;
	width: 100%;
}
.banner > .banner-image > img {
	width: 100%;
	object-fit: cover;
	min-height: 280px;
}
@media (max-width: 768px) {
	.banner {
		gap: 0;
	}
	.banner-text {
		
	}
	.banner.mobile-columns {
		flex-direction: column;
	}
	.banner.mobile-columns-reverse {
		flex-direction: column-reverse;
	}
	.banner > .banner-text {

	}
	.banner > .banner-image {
		max-height: 400px;
		/* overflow: hidden; */
		object-fit: cover;
		background-color: var(--primary-light);
		width: 100vw !important;
	}
	.banner > .banner-image img {
		max-height: 400px;
	}
	.breakout:has(> .banner) {
		background-color: transparent !important;
	}
}
/* BANNER 35/65 */
.banner.banner-35-65 > .banner-text {
	flex: 0 0 380px;
}
@media (max-width: 768px) {
	.banner.banner-35-65 > .banner-text {
	flex: 1 1 10px;
    padding: 1.5rem 10px;
	align-self: flex-start !important;
	}
}


/* BANNER MOBILE OVERLAY */
@media (max-width: 768px) {
	.banner.mobile-overlay {
		position: relative;
	}
	.banner.mobile-overlay > .banner-text {
		position: absolute;
		padding: 0;
		left: 0;
		top: 15%;
		text-wrap: balance;
		width: 360px;
	}
	.banner.mobile-overlay > .banner-text > * {
		background-color: #ffffffc4;
		backdrop-filter: blur(3px);
		padding: .6rem .8rem;
		max-width: 95%
	}
	.banner.mobile-overlay > .banner-image {
		width: 100vw;
	}
}
/* BANNER MOBILE DISPLAY NONE */
@media (max-width: 768px) {
	.banner.mobile-display-none {

	}
	.banner.mobile-display-none > .banner-text {
		padding: 1.5rem 0 0 0;
		width: 100vw;
	}
	.banner.mobile-display-none > .banner-text > * {
		padding-left: 10px;
	}
	.banner.mobile-display-none > .banner-text > h1 {
		/* background-color: var(--primary-light); */
		/* display: inline-block; */
		/* padding: .8rem 1rem .8rem 10px; */
	}
	.banner.mobile-display-none > .banner-image {
		display: none;
	}
}
/* BANNER MOBILE*/
@media (max-width: 768px) {
	.banner.mobile-light-bg {
		background-color: var(--primary-light) !important;
	}
	.banner.mobile-secondary-light-bg * {
		background-color: var(--secondary-light) !important;
	}
	.banner.mobile-center {
		text-align: center;
	}

}
/*----------------------------- MODULVERANTWORTLICHE */
.modulverantwortliche-header {
	display: flex;
	width: 100%;
	align-items: center;
}
.modulverantwortliche-header > div:nth-child(1) {
	flex-grow: 1;
	padding-right: 2rem;
}
.modulverantwortliche-header > div:nth-child(2) {
	flex-shrink: 1;
	width: auto;
}
@media (max-width: 768px) {
	.modulverantwortliche-header {
		flex-direction: column;
		gap: 2rem;
		align-items: baseline;
	}
}
/*----------------------------- TIMELINE */
.timeline {
	--_bp-size: 0.8rem;
	--_timeline-border-radius: 2px;
	padding: 1rem 0;
	list-style: none;
	width: 100%;
	display: table;
	max-width: 1150px;
	margin: 2rem auto;
}
.timeline p {
	margin: 0;
}
.timeline li {
	display: table-cell;
	padding: 2rem 1.5rem 0 0;
	position: relative;
	border-top: var(--_timeline-border-radius) solid var(--primary-light);
	width: 1%;
}
.timeline li:after {
	content: "";
	position: absolute;
	top: calc(var(--_bp-size) * -1);
	left: 0;
	right: 0;
	width: calc(var(--_bp-size) * 2);
	height: calc(var(--_bp-size) * 2);
	line-height: 26px;
	background: var(--primary-light);
	color: #fff;
	border-radius: 50%;
	z-index: 2;
	font-size: 1rem;
}
.timeline li.tl-active:after {
	background: var(--primary);
}
@media (max-width:1000px) {
	.timeline, .timeline li {
		display: block;
		width: auto;
		text-align: left;
	}
	.timeline {
		padding-left: 1.5rem;
	}
	.timeline li {
		padding: 0 0 2.5rem 2.5rem;
		border: none;
		border-left: var(--_timeline-border-radius) solid var(--primary-light);
	}
	.timeline li:first-child:before {
		top: 0;
		bottom: 50%;
		left: calc(var(--_timeline-border-radius) * -1);
		right: auto;
		height: auto;
		width: var(--_timeline-border-radius);
		background: var(--white);
	}
	.timeline li:after {
		top: 0;
		bottom: 0;
		left: calc(var(--_bp-size) * -1);
		right: auto;
	}
}
/*----------------------------- ACCORDION */
.accordion-title {
	width: 100%;
	margin: 0;
	font-weight: 500;
	text-align: left;
}
.paragraph-accordion-wrapper {
	margin: 1rem 0;
	text-align: left;
}
.accordion {
	cursor: pointer;
	transition: 0.2s;
	width: 100%;
	text-align: left;
	background-color: #fff;
	border-top: 1px solid #327d87;
	padding: 1rem 1rem 1rem 0;
	border-radius: 0;
	color: #000;
}
.accordion:hover {
	color: #327d87;
}
.accordion-icon {
	flex: 0 0 70px;
	align-content: center;
}
.accordion-header {
	flex: 0 1 100%;
}
.accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: all 0.2s ease-out;
	margin: 0;
}
button.active + .accordion-content {
	margin: 0.5rem 0;
}
.accordion svg.chevron-down {
	height: 24px;
	transition: transform 0.1s linear;
	flex: 0 0 24px;
}
.accordion.active svg.chevron-down {
	transform: scaleY(-1);
}
.accordion-content p {
}
.accordion.active p {
	color: #327d87;
}
/*----------------------------- ACCORDION ANKER-LINKS*/
.sticky-wrapper section {
	background-color: var(--light);
	padding: 0 !important;
}
.sticky-wrapper.fixed {
  height: auto !important;
}
.accordion-wrapper.anker-links {
	margin: 0;
	padding: 0;
}
.accordion-wrapper.anker-links .accordion {
	background: var(--light);
	/* border-bottom: 1px solid transparent; */
}
.accordion-wrapper.anker-links .accordion-content a {
	padding: 0.8rem 2rem;
}
.accordion-wrapper.anker-links .accordion-content a:hover {
	text-decoration: underline;
}
.accordion-wrapper.anker-links .accordion-content {
	text-align: center;
	line-height: 3rem;
	padding: 0 1rem 0 0;
	background: #F7F8F8;
	margin: 0;
}
.accordion-wrapper.anker-links .accordion::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: #327D87AB;
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: opacity 0.3s ease, transform 0.3s ease, width 0.3s ease;
}
.accordion-wrapper.anker-links .accordion.active::after {
  opacity: 1;
  width: 95%; /* Set width here */
  transform: translateX(-50%) scaleX(1);
}
.anker-links-default {
	/* padding: 0.9rem 0 0.8rem 0; */
	display: flex;
	flex-wrap: wrap;
}
.anker-links-container {
	z-index: 2;
}
/* .anker-links-default::before { */
	/* content: ""; */
	/* display: block; */
	/* position: absolute; */
	/* top: 0; */
	/* left: 2.5%; */
	/* width: 95%; */
	/* height: 1px; */
	/* background-color: #FFFFFFA1; */
/* } */
.anker-links-default a {
	color: #2C6D77;
	padding: 0.9rem 1rem 0.7rem 1rem;
	transition: all 0.1s ease-out;
}
.anker-links-default a:hover {
	background-color: #327d87d1;
	text-decoration: none;
	color: #fff;
}
.anker-links .accordion {
	padding: 0.9rem 1rem 0.7rem 1rem;
	border-top: unset;
}
.accordion-wrapper.anker-links p {
	width: 100%;
	margin: 0;
	color: var(--primary);
	text-align: center;
}
@media (max-width: 768px) {
	.mobile-hidden {
		display: none;
	}
}
.mobile-visible {
	display: none;
}
@media (max-width: 768px) {
	.mobile-visible {
		display: block;
	}
}
/*----------------------------- QUOTE CARDS */
.quote-card-container {
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: center;
	gap: 2.5rem;
	padding-top: 2rem;
}
.quote-card {
	flex: 0 1 19rem;
	padding: 1.3rem;
	border-radius: 15px;
}
.quote-card :nth-child(1) {
	font-size: 0.96rem;
	color: var(--dark);
}
.quote-card :nth-child(2) {
	font-size: 0.95rem;
	font-weight: 400;
	margin-bottom: 0.15rem;
}
.quote-card :nth-child(3) {
	/* color: var(--primary); */
	font-size: 0.95rem;
	font-weight: 400;
}
/* STYLED OL */
.styled-ol {
	counter-reset: list-counter;
	padding: 0;
	margin: 0;
}
.styled-ol li {
	counter-increment: list-counter;
	list-style-type: none;
	position: relative;
	padding-left: 3.5rem;
}
.styled-ol li::before {
	content: counter(list-counter);
	width: 40px;
	height: 40px;
	background-color: #F9A63D;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
	font-size: 1.2em;
	position: absolute;
	left: 0;
	top: 4px;
}
/* SIMPLE CARDS */
.card {
	background-color: var(--primary-light);
	border-radius: 1rem;
	padding: 1.5rem 1.2rem 0.5rem 1.2rem;
	max-width: 80vw;
	align-self: baseline;
}
/* CUSTOM IMAGE OFFSET */
.image-offset-105 {
	max-width: 105% !important;
}
@media (max-width: 768px) {
	.image-offset-105 {
		max-width: 100% !important;
	}
}
/* SHADOWS */
.shadow-1 {
	box-shadow: 0 6px 18px var(--shadow-1);
}
.shadow-2 {
	box-shadow: 2px 2px 8px -2px var(--shadow-2);
}
/* D-KARTE */
#d-karte path {
	transition: fill 0.1s ease-in-out;
}
#d-karte path.highlight {
	fill: #CCCCCC;
}
#d-karte path.highlighted {
	fill: #327d87;
}
.d-karte .accordion-content p {
	padding: 1rem 1.5rem;
	background-color: var(--primary-light);
	border-radius: 0.5rem;
}
#d-karte > button {
	scroll-padding-top: 90px;
}
@media (max-width: 768px) {
	.d-karte:has(#d-karte) {
		display: none;
	}
}
/* BEREICHE */
.bereiche-wrapper {
	position: relative;
	border-radius: 15px;
	overflow: hidden;
}
div > a[class^='bereiche-'] > img {
	transition: all 0.15s linear;
	transform: scale(1);
}
div:hover > a[class^='bereiche-'] > img {
	transform: scale(1.07);
}
div:hover > a[class^='bereiche-']::before {
	opacity: 1;
}
div:hover > a[class^='bereiche-']::after {
	opacity: 1;
	top: 50%;
}
.bereiche-wrapper + div {
	padding-top: 2rem;
}
a[class^='bereiche']::after {
	position: absolute;
	top: 55%;
	left: 50%;
	width: 90%;
	transform: translateX(-50%) translateY(-50%);
	opacity: 0;
	z-index: 1;
	transition: all 0.15s linear;
	font-size: 2rem;
	color: var(--light);
	text-align: center;
	font-weight: 700;
	/* border-bottom: 3px solid var(--light); */
}
a[class^='bereiche']::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 1;
	font-weight: 500;
	font-size: 2rem;
}
a.bereiche-allg::before {
	background-color: rgba(50, 122, 134, 0.87);
}
a.bereiche-fmb::before {
	background-color: rgba(235, 144, 9, 0.8);
}
a.bereiche-allg::after {
	content: 'Für allgemeinbildende Schulen';
}
a.bereiche-fmb::after {
	content: 'Für Fachschulen';
}

/* FADE IN */
/* @media (prefers-reduced-motion: no-preference) { */
	.fade-in {
		opacity: 0;
		transform: scale(0.95);
		transition: opacity 1s ease-out, transform 0.3s ease-out;
	}
	.fade-in.visible {
		opacity: 1;
		transform: scale(1);
	}
	.move-in {
		opacity: 0;
		transform: translateY(30%);
		transition: opacity 1s ease-out, transform 0.4s ease-out;
	}
	.move-in.visible {
		opacity: 1;
		transform: translateY(0);
	}
/* } */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }
.delay-9 { transition-delay: 0.9s; }
.delay-10 { transition-delay: 1s; }
/* PUBLIKATIONEN LISTE */
/* .publikationen-liste { */
	/* padding-bottom: 2.5rem; */
/* } */
.publikationen-liste p {
	margin-bottom: 0.5rem;
}
.publikationen-liste li {
	padding-bottom: 1.2rem;
}
.pub-body > p {
	display: inline;
}
/* TITEL UND DOWNLOAD VIDEOS UND BRUSCHUEREN*/
.flyer-brosch-thumb img {
	margin-bottom: 0.5rem;
}
.titel-und-download {
	display: flex;
	align-items: baseline;
	padding-top: 0.8rem;
	font-size: 1.05rem;
}
.titel-und-download > p {
	flex: 1 1 100%;
}
.titel-und-download > a {
	/* flex: 0 0 40px; */
	top: 4px;
	margin: 0 0 0 0.5rem;
}
/* GRID FÜR VERÖFFENTLICHUNGEN */
.grid-veroeffentlichungen {
	display: grid;
	grid-template-columns: 11rem 6rem 7rem;
	gap: 2rem;
	align-items: baseline;
}
.grid-veroeffentlichungen p {	
	margin: 0;
}
.grid-veroeffentlichungen > :nth-child(3n+2), 
.grid-veroeffentlichungen > :nth-child(3n+3) {
	text-align: right;
}
@media (max-width: 576px) {
	.grid-veroeffentlichungen {
		grid-template-columns: 6rem 6rem;
		grid-template-rows: auto;
		gap: 1rem;
	}

	.grid-veroeffentlichungen > :nth-child(3n+1) {
		grid-column: 1 / -1;
	}

	.grid-veroeffentlichungen > :nth-child(3n+2), 
	.grid-veroeffentlichungen > :nth-child(3n+3) {
		text-align: left;
	}
}
/* VIDEO GRID CONTAINER */
.video-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto;
	column-gap: 7rem;
	row-gap: 3rem;
	width: 100%;
	margin-top: 4rem;
}
.video-grid-3col {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: auto;
	column-gap: 3rem;
	row-gap: 3rem;
	width: 100%;
	margin-top: 3rem;
}

.video-item {
}

@media (max-width: 768px) {
	.video-grid {
		grid-template-columns: 1fr;
	}
	.video-item {
		grid-column: span 1;
		grid-row: auto;
	}
}
/* MATOMO BUTTON */
#trackVisits {
	margin-right: 0.4rem;
}
#matomo-opt-out {
	margin-bottom: 1.2rem;
}
/* WEBFORMS */
.webform-progress-tracker .progress-title[role="link"] {
  color: #327d87;
}
.webform-progress-tracker .progress-step.is-complete:hover .progress-marker[role="link"]:before {
  background-color: #327d87;
}
.webform-progress-tracker .progress-step.is-active:hover .progress-marker::before {
  background-color: #327d87;
}
.webform-progress-tracker .progress-title[role="link"]:hover,
.webform-progress-tracker .progress-title[role="link"]:focus {
  color: #327D87;
}
.progress-step.is-active .progress-marker::before {
  background-color: #327D87;
}
.webform-submission-form label:not(.option), .webform-submission-form .fieldset-legend {
	font-weight: 500;
}
.webform-submission-form tr > th {
	font-weight: 400;
}
fieldset.form-item {
	margin: 1.5rem 0;
}
.form-item {
	margin: 0.6rem 0;
}
.webform-submission-form > * {
	margin-bottom: 2.2rem;
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="date"], textarea {
	padding: 8px;
}
form label, form div.description {
	margin-bottom: 5px;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
	padding: 10px;
}
input[type="number"] {
	-moz-appearance: textfield;
	padding: 5px;
}
div.webform-multiple-add.container-inline {
	margin-bottom: 3rem;
}
input + label {
	margin-left: 0.5rem;
}
/* GIN FIXES */
.toolbar-menu li {
	padding: 0;
}
/* WEBFROM PROGRESS TRACKER FIX */
.progress-marker::before {
	padding-bottom: 0;
}
/* -----------------------------------------------PAGER */
.pager__item a {
	background: #eeeeee;
	color: var(--dark);
}
/* -----------------------------------------------REPO VIEW */
.repo-details p {
	margin-bottom: 0.5rem;
}
.repo-qr-code {
	max-width: 190px;
	max-height: 190px;
	margin: 0.8rem 0;
	background: #fff;
	padding: 0.8rem;
	border-radius: 0.8rem;
	cursor: pointer;
}
/* -----------------------------------------------SIMPLE LIGHTBOX */
.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(255, 255, 255, 0.9);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 999;
}
.lightbox img {
	max-height: 80vh;
	max-width: 80vh;
}
.lightbox:target {
	display: flex;
}
/* -----------------------------------------------SIMPLE GRID MENU */
.simple-grid-menu {
	display: grid;
	grid-template-columns: repeat(3, auto);
	gap: 1rem;
	justify-content: start;
	padding: 1rem;
	font-weight: 500;
}

@media (max-width: 600px) {
	.simple-grid-menu  {
		grid-template-columns: 1fr;
	}
}
/* -----------------------------------------------READ MORE */
#more {
	display: none;
}
/* -----------------------------------------------EVENT PROGRAMM */
[id^="block-views-block-event-programm"] h3 {
	margin-bottom: 2rem;
	color: var(--primary);
	font-size: 1.9rem;
}
.event-details > span {
	display: block;
}
.event-tag {
	margin-bottom: 4rem;
}
.event-title {
	font-weight: 600;
}
.event-ort {
	/* font-size: 0.9rem; */
	font-weight: 400;
	margin-top: 8px;
}
.event-tag h2 {
	margin-bottom: 2rem;
}
.event-eintrag {
	display: grid;
	grid-template-columns: 60px 1fr;
	gap: 0.5rem 1rem;
	margin-bottom: 1rem;
}
.event-eintrag .event-zeit {
	white-space: nowrap;
	font-weight: 600;
}
.event-eintrag .event-details {
	/* white-space: pre-wrap; */
}
/* -----------------------------------------------MODALS */
.modal-link {
	color: var(--primary);
	font-weight: 600;
}
.modal-link:hover {
	cursor: pointer;
	text-decoration: underline;
}
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}
.modal-content {
	background: white;
	margin: 10% auto;
	padding: 1em 0;
	max-width: 50%;
	max-height: 90vh;
	border-radius: 5px;
	position: relative;
}
.modal-body {
	max-height: 70vh;
	overflow-y: auto;
	padding: 0 1rem;
}
.close {
	position: absolute;
	top: -2.5rem;
	right: 0px;
	font-size: 2em;
	cursor: pointer;
	z-index: 1;
	background: white;
	padding: 0rem 1rem;
	border-radius: 10px;
}
@media (max-width: 1000px) {
	.modal-content {
		margin: 20% auto;
		max-width: 70%;
	}
}
@media (max-width: 600px) {
	.modal-content {
		margin: 20% auto;
		max-width: 90%;
	}
}
/* ------------------------- VIDEO PLAYER GPU HACK */
video {
		transform: translateZ(0);
		-webkit-backface-visibility: hidden;
		-moz-backface-visibility: hidden;
		backface-visibility: hidden;
}
/* -----------------------------------------------CUSTOM PARAGRAPHS */
.breakout--hellgrau {
	background-color: var(--light);
}
.breakout--hellpetrol {
	background-color: var(--primary-light);
}
.breakout--hellorange {
	background-color: var(--secondary-light);
}
.breakout--weinrot {
	background-color: var(--tertiary);
}
/* ------------------------- CKEditor Styles */

/* Flexbox Layouts */
.editor-flex {
	display: flex;
	gap: 1rem;
	margin: 1rem 0;
}
.editor-flex--row {
	flex-direction: row;
	flex-wrap: wrap;
}
.editor-flex--column {
	flex-direction: column;
}
.editor-flex--center {
	justify-content: center;
	align-items: center;
	text-align: center;
	min-height: 200px;
}
.editor-flex__item {
	flex: 1;
	/* padding: 1rem; */
	/* background: #f5f5f5; */
	/* border-radius: 4px; */
}

/* Asymmetric Columns */
.editor-columns {
	display: grid;
	gap: 1rem;
	margin: 1rem 0;
}
.editor-columns--2-1 {
	grid-template-columns: 2fr 1fr;
}
.editor-columns--1-2 {
	grid-template-columns: 1fr 2fr;
}
.editor-columns__main,
.editor-columns__sidebar {
	/* padding: 1rem; */
	/* background: #f5f5f5; */
	/* border-radius: 4px; */
}

/* Callouts */
.editor-callout {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1rem;
	border-radius: 4px;
	margin: 1rem 0;
}
.editor-callout--info {
	background: var(--light);
	border-left: 4px solid var(--primary);
}
.editor-callout--info svg {
	stroke: var(--primary);
}
.editor-callout--warning {
	background: #fff3cd;
	border-left: 4px solid #ffc107;
}
.editor-callout--warning svg {
	stroke: #ff8300;
}
.editor-callout__icon {
	flex-shrink: 0;
	width: 30px;
}
.editor-callout__content {
	flex: 1;
	top: 2px;
	position: relative;
}
.editor-callout__content p {
	margin: 0;
}

/* Quotes */
.editor-quote {
	background: var(--primary-light);
	border-left: 4px solid var(--primary);
	padding: 1.5rem;
	margin: 1rem 0;
	font-style: italic;
}
.editor-quote p {
	font-size: 1.1rem;
	margin: 0 0 1rem 0;
}
.editor-quote__author {
	display: block;
	font-style: normal;
	font-weight: 500;
	color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
	.editor-flex--row {
		flex-direction: column;
	}
	
	.editor-columns--2-1,
	.editor-columns--1-2 {
		grid-template-columns: 1fr;
	}
}