/*------------------------------------------------------------------------- FONTS */
/* @font-face { */
/* font-display: swap; */
/* font-family: 'Roboto'; */
/* font-style: italic; */
/* font-weight: 100; */
/* src: url('/themes/contrib/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/contrib/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/contrib/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/contrib/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/contrib/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/contrib/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/contrib/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/contrib/thex/fonts/roboto-v30-latin-700.woff2') format('woff2');
}

/*------------------------------------------------------------------------- BASE SETTINGS */
:root {
    --primary: #327D87;
    --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: #669ca4;
}
/*----------------------------- 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) + 170px);
}
@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;
}
/*----------------------------- NODE */
.node-content {
    /* margin-top: 1rem; */
}
/*----------------------------- 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;
    font-size: 1.9rem;
}
h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 500;
    /* color: var(--color-text); */
}
h3 {
    margin-bottom: 1rem;
    font-size: 1.15rem;
    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;
    word-wrap: break-word;
}
p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 0.9rem 0;
}
li {
    padding: 2px 0;
}
/*----------------------------- GLOBAL LAYOUT ADJUSTMENTS */
.main-wrapper {
    padding: 0rem 0 5rem 0;
}
.page-header {
    padding: 0;
}
.page-title-wrap > h1 {
    margin: 3rem 0;
}
.footer-top-container {
    padding: 0;
}
/* ADMIN TOOLBAR */
ul.page-tabs {
    flex-wrap: wrap;
}
/*----------------------------- IMAGE CLASSES */
.w100 {
    width: 100%;
}
.w75 {
    width: 75%;
}
.w50 {
    width: 50%;
}
.w25 {
    width: 25%;
}
figure.image {
    margin: 2rem auto;
}
/*----------------------------- FONT CLASSES */
.caption {
    font-size: 0.7rem;
}
.headline-1 {
    font-size: 2.2rem
}
.headline-2 {
    font-size: 1.75rem
}
.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);
}
ul.status-message-list li::marker {
    color: var(--white);
}
h1 + p, h2 + p, div + 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, ul + h4, div + h2, div + h3 {
    margin-top: 1.8rem;
}
img + p, img + div {
    margin-top: 1rem;
}
h1:empty {
    margin: 0;
}
h1 + h3 {
    margin-top: 1rem;
}
p + h2 {
    margin-top: 3rem;
}
.category + h1, .category + h2, .category + h3 {
    margin-top: 0;
}
h1 + div {
    margin-top: 1rem;
}
/*----------------------------- EXTERNE LINKS ALLG */
a[href^="http"]:not([href*="dzlm.de"]):not(.no-link-icon)::before, .externer-link::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 19px;
    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);
}
/*----------------------------- 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: var(--gin-toolbar-y-offset, 0px);
    z-index: 500;
    background-color: var(--white);
    /* margin: 0.2rem 0; */
    padding-top: 20px;
    height: 72px;
    transition: box-shadow 0.4s;
}
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);
}

/*----------------------------- 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;
    background-color: var(--light);
    display: flex;
    align-items: flex-start;
    padding: 72px;
}
.menu-wrap .menu {
    gap: 0;
}
.active-menu {
    --_active-menu-hover: #327d87;
}
.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.5rem;
    color: #333;
}
.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: #333; /* Retain only one */
}
.menu-wrap a {
    transition: all 0.35s;
}
.menu-wrap a:hover {
    text-decoration: none;
    transition: all 0.1s linear;
    color: #327d87;
}
.menu-wrap > .region-primary-menu {
    max-width: 550px;
    margin: 0 auto;
    width: 100vw;
}
.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);
}

@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%;
    gap: 4rem;
    flex-direction: column;
    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;
}
.social-icons .social-ig:hover path {
    fill: #e93e58;
}
@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);
}
@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;
        gap: 1rem !important;
    }
    .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, 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;
		}
}
/*------------------------------------------------------------------------- VIEWS */
/*----------------------------- ALLG */
.views-element-container header {
    margin-bottom: 2rem;
}
section, .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
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;
    }
}


/*------------------------------------------------------------------------- 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) + 71px); */
    z-index: 499;
}
@media (max-width: 768px) {
    .field-item:has(.anker-links-container), #block-thex-views-block-anker-links-block-1 {
        position: sticky;
        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;
}

/*----------------------------- BOX-CONTAINER */
.box-container {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 2.5rem;
    padding-top: 2rem;
}
.box-container * {
    transition: all .15s ease-in-out;
}
.box-container > a {
    flex: 0 1 22rem;
    padding: 1.3rem;
    border-radius: 15px;
    background: var(--primary-light);
}
.box-container a {
    text-decoration: none;
    color: var(--color-text)
}
.box-container h4 {
    color: var(--primary);
}
.box-container > *:hover h4, .box-container > *:hover p {
    color: #fff;
}
.box-container > *:hover {
    background: var(--primary);
    transform: scale(1.05);
}

/* 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);
}

/* 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; }

/* 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;
}
/* ------------------------------------------------- SIDEMENU */

/*  SIDEMENU MOBILE HIDDEN */
@media (max-width: 768px) {
    #sidebar-right nav:first-child, #sidebar-right nav:nth-child(2) {
        display: none;
    }
}


/* -----------------------------------MAIN MENU */

.primary-menu-wrapper {

    .menu-item-level-1 > div.menu-item-wrapper {
        margin-left: 15px;
    }
    div.menu-item-wrapper {
        display: flex;
        align-items: center;
        gap: 20px;

    }
    .menu-wrap .submenu li a, .menu-wrap .submenu li > span {
        width: unset;
        padding: 0.7rem 0;
    }
    .menu-item.menu-item-level-2 a {
        font-size: 1.2em;
    }
    .chevron-down path {
        stroke: #333;
    }
    .menu-item.menu-item-level-1 {
        border-bottom: 1.7px solid #d6d6d6;
        padding: 0.6rem 0;
    }
    li.menu-item-level-1:last-child {
        border-bottom: none !important;
    }
    .active > div > a {
        color: var(--primary);
    }
    .submenu {
        padding-left: 2.2rem;
    }
    .menu-item-level-2 .submenu {
        padding-left: 3.3rem;
    }
    .menu-toggle {
        min-width: 2.2rem;
        height: 2.2rem;
        display: flex;
        justify-content: center;
        background-color: #eeeeee;

		svg {
			width: 1.3rem;
			transform: rotate(-90deg);
		}
		svg path {
			stroke: 333;
		}
	}
    .menu-toggle.expanded {
		background-color: var(--menu-toggle);
		svg {
			transform: rotate(0deg);
		}
		path {
			stroke: var(--light);
		}
	}

    @media (hover: hover) {
        span.menu-toggle:hover .chevron-down path {
            stroke: var(--light);
        }
        span.menu-toggle:hover {
            cursor: pointer;
            background-color: var(--menu-toggle);
        }
    }
}
/*-----------------------------SIDE MENU */

#sidebar-right nav[role="navigation"] {
    padding: 0.2rem 1rem 1rem 1rem;

    li {
        border-bottom: none;
    }
    div.menu-item-wrapper {
        display: flex;
        gap: 12px;
    }
    .menu-wrap .submenu li a, .menu-wrap .submenu li > span {
        width: unset;
        padding: 0.7rem 0;
    }
    .menu-item.menu-item-level-1 a {
        align-self: center;
    }
    .chevron-down path {
        stroke: #333;
    }
    .menu-item.menu-item-level-1 {
        border-bottom: 1px solid #d6d6d6;
        padding: 0.6rem 0;
    }
    li.menu-item-level-1:last-child {
        border-bottom: none !important;
    }
    .menu-item > div > a {
        color: var(--dark);
    }
    .menu-item > div > a:hover {
        color: var(--primary);
    }
    .active > div > a {
        color: var(--primary);
    }
    .submenu {
        padding: 0.5rem 0 0.5rem 1rem;
    }
    .menu-item-level-2 .submenu {
        padding: 0.5rem 0 0.5rem 1rem
    }
	.menu-item-level-2 .menu-toggle {
		min-width: 35px;
		height: 35px;
	}

    .menu-toggle {
		min-width: 1.9rem;
        height: 1.9rem;
        display: flex;
        justify-content: center;
        background-color: #eeeeee;
        margin-top: 0.07rem;
        background-color: #eeeeee;
		
		svg {
			width: 0.9rem;
			transform: rotate(-90deg);
		}
		
		path {
			stroke: #333;
		}
	}
	.menu-toggle.expanded {
		background-color: var(--menu-toggle);
		svg {
			transform: rotate(0deg);
		}
		path {
			stroke: var(--light);
		}
	}
    span.menu-toggle:hover .chevron-down path {
        stroke: var(--light);
    }
    span.menu-toggle:hover {
        cursor: pointer;
        background-color: var(--menu-toggle);
    }
}

/* ---------------STICKY SIDEBAR */
.block-region.region-sidebar-second > nav {
    position: sticky;
    top: calc(var(--gin-toolbar-y-offset, 0px) + 5rem);
}
.block-region.region-sidebar-second {
    height: 100%;
    top: calc(var(--gin-toolbar-y-offset, 0px) + 95px);
    margin-top: 24px;
}
/* ------------------------------- BREADCRUMBS */

.breadcrumb {
    margin: 0.5rem 0 0 0;
}
.breadcrumb-item {
    color: #6d6d6d;
    font-size: 0.89rem;
}
.breadcrumb-item a {
    color: #666;
}
.breadcrumb-item span {
    font-size: 13px;
}
.breadcrumb .breadcrumb-item-home svg {
    width: 0.7rem;
    top: -1.5px;
    position: relative;
}
.breadcrumb .breadcrumb-item-home {
    /* width: 53px; */
}
.breadcrumb .breadcrumb-item-home a:hover {
    text-decoration: none;
}
.breadcrumb .breadcrumb-item-home a:hover path {
    /* fill: var(--primary); */
}
.breadcrumb .breadcrumb-item-home path {
    fill: #6d6d6d;
}
/* -------------------------------- PAGE TITLE */
.page-title-wrap > h1 {
    padding: 0 0 1rem 0;
    margin: 1rem 0 2rem 0;
    border-bottom: 1px dotted var(--dark);
}
/* -----------------------------------------------PAGER */
.pager__item a {
    background: #eeeeee;
    color: var(--dark);
}
/* -----------------------------------------------COLLAPSIBLE LITERATUR */
.collapse-text-text a {
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.collapse-text-details {
    border: unset;
    border-top: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
    margin: 2rem 0;
}
.collapsible > summary::marker {
    color: var(--primary);
    margin-right: 1rem;
    padding-right: 1rem;
}
div.collapse-fieldset-with-border:has(+ .collapse-fieldset-with-border) .collapse-text-details {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0.5rem;
}
div.collapse-fieldset-with-border + div.collapse-fieldset-with-border .collapse-text-details {
    border-top: none;
    margin-top: 0;
    padding-top: 0.5rem;
}
/* ------------------------------------------------ VIDEOS */
.ckvideolink {
    position: relative;
    display: inline-block;
    margin: 1.5rem 0;
}
.ckvideolink:hover #ckplaybtn {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
}
#ckplaybtn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 4rem solid white;
    border-top: 2rem solid transparent;
    border-bottom: 2rem solid transparent;
    z-index: 2;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.8;
}
/* GPU HACK */
video {
		transform: translateZ(0);
		-webkit-backface-visibility: hidden;
		-moz-backface-visibility: hidden;
		backface-visibility: hidden;
}
/* ---------------------------------------------- "Löschen" ausblenden */
ul.page-tabs.primary-tab li a[href*="delete"] {
    display: none;
}
/* -----------------------------------------------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;
}
/* -----------------------------------------------DRUPAL TWEAKS */
div.messages.messages--status:has(a[href*="/admin/reports/status/rebuild"]), div.messages-list li:has(a[href*="/admin/reports/status/rebuild"]) {
	display: none;
}
div#block-thex-local-tasks {
	padding: 1em 0 0 0;
}
div.main-wrapper:not(:has(section:not(.section-ignore))) {
	padding-bottom: 4rem;
	/* padding-top: 4rem; */
}
div.main-wrapper:has(div.submenu) {
	padding-top: 0;
}
ul.status-message-list li::marker {
	color: #fff;
}
/* GIN FIXES */
.toolbar-menu li {
	padding: 0;
}
/* RECHTETABELLE FIX */
form.user-admin-permissions .gin--sticky-table-header th {
	min-width: 200px;
}


/* START NEWS */
.start-news {

    margin-bottom: 1rem;
	
	> .start-news-header {
		display: flex;
		flex-direction: row;
		justify-content: center;
		gap: 1.5rem;
	
		> * {
			flex: 0 0 auto;
			margin: 0;
		}
		
		> .start-news-icon {
			flex: 0 0 65px;
		}
		
		
		> .start-news-content {
			width: 85%;
		}
	}
}

.start-news {
    padding: 3rem 0 0 1rem;
    border-radius: 15px;
	background: var(--light);

	.start-news-content {
		position: relative;
		width: 93%;
		padding: 1.3rem 2rem 2rem 2rem;
		margin: 0 auto;
	
		h2 {
			color: var(--color-text);
		}
	}
}
/* COLLAPSE WIDTH FIX */
details.collapse-text-details {
	inline-size: 100%;
}