/*------------------------------------------------------------------------- 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;
	--secondary: #f8b44f;
	--secondary-light: #fff5e6;
	--secondary-dark: #eb9009;
	--tertiary: #a44168;
	--tertiary-light: #edd9e1;
	--white: #ffff;
	--white-transparent: #fffc;
	--light: #f7f7f7;
	--light-gray: #777;
	--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);
}
html {
	scroll-padding-top: 110px;
	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, 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 {
	margin-top: 0.6rem;
}
p + h2, ol + h2, ul + h2, p + h3, ol + h3, ul + 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;
}
/*----------------------------- EXTERNE NEWS LINKS */
h3 > a[href^="http"]:not([href*="dzlm.de"])::before, h3 > a[href^="http"]: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;
	top: 0;
	z-index: 500;
	background-color: var(--white);
	margin-bottom: 0;
	padding-top: 20px;
	height: 72px;
	transition: box-shadow 0.4s;
}
.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;
}
.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: 1.2rem;
}
.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;
}
.region-primary-menu {
	padding-top: 1.5rem;
}
.menu-wrap a {
	font-size: 1.5rem;
	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 */
button, [type="button"], [type="reset"], [type="submit"] {
	padding: 12px 24px;
	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 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::before {
	content: '';
	display: inline-block;
	width: 100%;
	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 */
}
@media (max-width: 576px) {
	a.button {
		text-wrap: balance;
	}
}
/* VIDEO */
video {
	border-radius: 0.75rem;
}
/*------------------------------------------------------------------------- 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-columns-reverse {
		flex-direction: column-reverse;
	}
	.f-mobile-center {
		justify-content: center;
		align-items: center;
		text-align: center;
	}
}
/*------------------------------------------------------------------------- BLÖCKE & ABSCHNITTE */
.p-center-550 {
	width: min(var(--max-width), 550px);
	margin-left: auto;
	margin-right: auto;
}
.p-center-650 {
	width: min(var(--max-width), 650px);
	margin-left: auto;
	margin-right: auto;
}
.p-center-750 {
	width: min(var(--max-width), 750px);
	margin-left: auto;
	margin-right: auto;
}
.p-center-825 {
	width: min(var(--max-width), 825px);
	margin-left: auto;
	margin-right: auto;
}
@media (max-width: 576px) {
	[class^="p-center-"] {
		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.breakout-petrol {
	background-color: var(--primary-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);
}
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 */
.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;
}
.aktuelles-startseite .datum-lesedauer {
	color: var(--light-gray);
	font-size: 0.9rem;
}
.datum-lesedauer a {
	color: var(--light-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;
}
/*----------------------------- 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;
}
.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;
	}
	.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;
	}
}
/*----------------------------- 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: 10px 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-wrapper {
	margin: 2rem 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;
}
.accordion.active svg.chevron-down {
	transform: scaleY(-1);
}
.accordion-content p {
}
.accordion.active p {
	color: #327d87;
}
/*----------------------------- 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;
}
/* VIDEO TITEL UND DOWNLOAD */
.video-titel-und-download {
	display: flex;
	align-items: baseline;
	padding-top: 1.0rem;
	font-size: 1.15rem;
}
.video-titel-und-download > p {
	flex: 1 1 100%;
}
.video-titel-und-download > a {
	flex: 0 0 40px;
}
/* GRID FÜR VERÖFFENTLICHUNGEN */
.grid-veroeffentlichungen {
	display: grid;
	grid-template-columns: 8rem 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: 6rem;
	row-gap: 3rem;
	width: 100%;
	margin-top: 2rem;
}

.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-submission-form label, .webform-submission-form .fieldset-legend {
	font-weight: 500;
}
.webform-submission-form tr > th {
	font-weight: 400;
}
.form-item {
	margin: 0.5rem 0 0.5rem 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: 12px;
}
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: 10px;
}
/* GIN FIXES */
.toolbar-menu li {
	padding: 0;
}