@import url('fonts.css');
@import url('bootstrap.min.css');
@import url('swiper-bundle.min.css');
@import url('aos.css');

:root {
    --primary-font: 'Open Sans', Arial, Helvetica, sans-serif;
    --secondary-font: 'Oswald', Arial, Helvetica, sans-serif;
    --primary-color: rgb(249, 235, 25);
    --primary-color-80: rgba(249, 235, 25, 0.8);
    --primary-color-50: rgba(249, 235, 25, 0.5);
    --primary-color-10: rgba(249, 235, 25, 0.1);
    

    --secondary-color: #20211e;
    --secondary-color-80: rgba(0, 0, 0, 0.8);
    --grey: #aaa;
    --grey-darken: #999;
    
    --desma-cyan: #327db5;

    --beige: hsl(52, 11%, 73%); /* #c2c0b3 */
    --beige-darken: hsl(52, 11%, 63%);

    --beige-2: #f2f2ef;
    
    --bg-color-gray: #f5f5f3;
    --bg-color-lightblue: #eff6fb;

    --font-size-xs: 0.85rem;
    --font-size-s: 1rem;
    --font-size: 1.115rem;
    --font-size-md: 1.25rem;
    --font-size-lg: 1.5rem;
    --font-size-xl: 2rem;
    --font-size-xxl: 2.5rem;

    --bs-body-line-height: 1.4;

    --navigation-letter-spacing: 0.025rem;

    --navbar-height: 128px;
    --scrolled-navbar-height: 100px;
    --mobile-navbar-height: 80px;
}

body {
    font-family: var(--primary-font);
	font-weight: 400;
	font-size: var(--font-size);
    color: var(--secondary-color);
    /* padding-top: var(--navbar-height); */
    /* background-color: var(--secondary-color); */
    background-color: #FFFFFF;
    /* transition: all 0.25s ease-in-out; */
}

/* body.scrolled {
    padding-top: var(--scrolled-navbar-height);
} */

/* @media (max-width: 767px) {
    body {
        padding-top: var(--mobile-navbar-height);
    }
} */

header {
    background-color: var(--secondary-color);
    min-height: 250px;
}

.hero {
    display:block;
    position: relative;
    height: 60vh;
    background-color: var(--grey);
    /* background-image: url('../img/header-default.jpg'); */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.hero::before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 33%;
    background: rgb(0, 0, 0);
    background: -moz-linear-gradient(180deg, rgba(0, 0, 0, 0.8029412448573179) 0%, rgba(0, 0, 0, 0) 100%);
    background: -webkit-linear-gradient(180deg, rgba(0, 0, 0, 0.8029412448573179) 0%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8029412448573179) 0%, rgba(0, 0, 0, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#000000", GradientType=1);
    z-index: 100;
}

.hero.full {
    /* height: calc(100vh - var(--navbar-height)); */
    height: 100vh;
}

.hero-title {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    bottom: 15%;
    right: 0;
    color: var(--primary-color);
    z-index: 101;
    align-items: end;
    width: 100%; 
}

.hero-title span {
    display: inline-block;
    text-align: right;
    padding: 1rem 2rem;
    background-color: var(--secondary-color-80);
}

.hero-title span:first-child {
    background-color: var(--primary-color-80);
    color: var(--secondary-color);
    font-weight: 500;
}

@media (min-width: 768px) {
    .hero-title span {
        font-size: 1.5rem;
    }

    .hero-title span:first-child {
        font-size: 2rem;
    }
}

@media (min-width: 1200px) {
    .hero-title span {
        font-size: 2rem;
    }

    .hero-title span:first-child {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .hero-title span {
        font-size: 1rem;
    }

    .hero-title span:first-child {
        font-size: 1.35rem;
    }
}

.hero::after {
    display:block;
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(81, 87, 92, 0.32),
        rgba(81, 87, 92, 0.32) 2px,
        rgba(81, 87, 92, 0.18) 2px,
        rgba(81, 87, 92, 0.18) 4px
    );
    z-index: 4;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-video-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #DDD;
    z-index: 3;
  }
  
.header-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Skalierung ähnlich wie bei Bildern */
}

/* @media (max-width: 767px) {
    .hero {
        height:auto !important;
        width: 100%;
        aspect-ratio: 16/9;
        overflow: hidden;
    }
} */


/* MAIN */
#maincontent {
    padding: 2.5rem 0 5rem 0;
}

/* consent manager overrides */
div.consent_manager-wrapper {
    font-family: var(--primary-font) !important;
}

div.consent_manager-wrapper .consent_manager-headline {
    font-family: var(--secondary-font) !important;
    text-transform: uppercase;
    font-weight: 500 !important;
}

button.consent_manager-save-selection, button.consent_manager-accept-all, button.consent_manager-accept-none {
    font-family: var(--secondary-font) !important;
    transition: 0.3s ease all;
    border: 0px !important;
    color: #fff;
    padding: 0.5em 2em;
    border-radius: 0px !important;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500 !important;
    letter-spacing: 0.03rem;
    display: block;
    min-height: 3em;
    width: 100%;
    margin-bottom: 1em;
    cursor: pointer;
}

button.consent_manager-accept-all {
    background: var(--secondary-color) !important;
    color: var(--primary-color) !important;
}

button.consent_manager-accept-all:hover {
    background-color: var(--grey) !important;
}

button.consent_manager-accept-none,
button.consent_manager-save-selection {
    background: var(--grey) !important;
}

button.consent_manager-accept-none:hover,
button.consent_manager-save-selection:hover {
    background: var(--grey-darken) !important;
}

div.consent_manager-cookiegroups label>input[type="checkbox"] {
    filter: none !important;
    transition: all 0.3s ease; /* Transition für die Akzentfarbe */
    accent-color: #FFF;
}

div.consent_manager-cookiegroups label>input[type="checkbox"]:hover {
    accent-color: var(--grey);
}

div.consent_manager-cookiegroups label>input[type="checkbox"]:checked {
    accent-color: var(--secondary-color);
}

/* Sections */
/* Fix inner padding */
section .row > div > *:last-child {
    /* margin-bottom: 0; */
}

.section-shadow {
    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.1);
}

.bg-dark {
    background-color: var(--secondary-color) !important;
    color:#FFF;
}

.bg-dark h1, .bg-dark h2 {
    color: var(--primary-color);
}

.bg-yellow {
    background-color: var(--primary-color) !important;
    
}

.bg-yellow h1, .bg-yellow h2 {
    color: var(--secondary-color);
}

.bg-gray {
    background-color: #f6f6f6;
    /* box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; */
}

/* Optisches Padding reparieren */
.bg-gray > .container {
    /* margin-bottom: -1.75rem; */
}

.bg-lightblue {
    background-color: var(--bg-color-lightblue);
}

.mb-minus-5-percent {
    margin-bottom: -5%;
}

/* Typo */
p {
    margin: 0 0 1.75rem 0;
}

small {
    display:inline-block;
    font-size: var(--font-size-xs); 
}

h1 {
    position: relative;
    font-family: var(--secondary-font);
    font-weight: 500;
    text-transform: uppercase;
    font-size: var(--font-size-xxl);
    margin-bottom: 1rem;
    letter-spacing: 0.025rem;
    color: var(--secondary-color);
    padding-bottom: 1rem;
}


@media (max-width: 767px) {
    h1 {
        font-size: var(--font-size-xl);
    }
}

h2 {
    position: relative;
    font-family: var(--secondary-font);
    font-weight: 500;
    text-transform: uppercase;
    font-size: var(--font-size-lg);
    margin-bottom: 1rem;
    letter-spacing: 0.025rem;
    color: var(--secondary-color);
    padding-bottom: 1rem;
}

h3 {
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

a {
    text-decoration: underline;
    color: var(--secondary-color);
}

a:hover {
    text-decoration: none;
}

.bg-dark a {

    color: var(--primary-color);
}

a.pdf-link::before {
    display:inline-block;
    content: '';
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(230, 0, 0)" class="bi bi-file-earmark-pdf-fill" viewBox="0 0 16 16"><path d="M5.523 12.424q.21-.124.459-.238a8 8 0 0 1-.45.606c-.28.337-.498.516-.635.572l-.035.012a.3.3 0 0 1-.026-.044c-.056-.11-.054-.216.04-.36.106-.165.319-.354.647-.548m2.455-1.647q-.178.037-.356.078a21 21 0 0 0 .5-1.05 12 12 0 0 0 .51.858q-.326.048-.654.114m2.525.939a4 4 0 0 1-.435-.41q.344.007.612.054c.317.057.466.147.518.209a.1.1 0 0 1 .026.064.44.44 0 0 1-.06.2.3.3 0 0 1-.094.124.1.1 0 0 1-.069.015c-.09-.003-.258-.066-.498-.256M8.278 6.97c-.04.244-.108.524-.2.829a5 5 0 0 1-.089-.346c-.076-.353-.087-.63-.046-.822.038-.177.11-.248.196-.283a.5.5 0 0 1 .145-.04c.013.03.028.092.032.198q.008.183-.038.465z"/><path fill-rule="evenodd" d="M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2m5.5 1.5v2a1 1 0 0 0 1 1h2zM4.165 13.668c.09.18.23.343.438.419.207.075.412.04.58-.03.318-.13.635-.436.926-.786.333-.401.683-.927 1.021-1.51a11.7 11.7 0 0 1 1.997-.406c.3.383.61.713.91.95.28.22.603.403.934.417a.86.86 0 0 0 .51-.138c.155-.101.27-.247.354-.416.09-.181.145-.37.138-.563a.84.84 0 0 0-.2-.518c-.226-.27-.596-.4-.96-.465a5.8 5.8 0 0 0-1.335-.05 11 11 0 0 1-.98-1.686c.25-.66.437-1.284.52-1.794.036-.218.055-.426.048-.614a1.24 1.24 0 0 0-.127-.538.7.7 0 0 0-.477-.365c-.202-.043-.41 0-.601.077-.377.15-.576.47-.651.823-.073.34-.04.736.046 1.136.088.406.238.848.43 1.295a20 20 0 0 1-1.062 2.227 7.7 7.7 0 0 0-1.482.645c-.37.22-.699.48-.897.787-.21.326-.275.714-.08 1.103"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

.medium {
	font-weight: 600;
}

.lowercase {
	text-transform: lowercase;
}

strong, b {
	font-weight: 700;
}

#maincontent ul {
	margin: 0px 0 2rem 1rem;
	padding: 0;
	list-style: none;
}

#maincontent ul li {
	position: relative;
	margin: 0;
	padding: 0 20px 0 10px;
	list-style: none;
}

#maincontent ul li::before {
	font-weight: 400;
	content: "❯";
	position: absolute;
	left: -15px;
	top: 4px;
	font-size: 20px;
	line-height: var(--font-size);
	color: #c0beb1;
	z-index: 150;
}

/* Videos und Maps */
iframe {
    width: 100%;
    border: 0 !important;
    min-height: 400px;
}

.youtube-video-container {
    position: relative;
    margin-bottom: 1.75rem;
}

.youtube-video-container iframe {
    width: 100%;
    height:100%;
    border:0 !important;
}

.youtube-video-placeholder,
.google-maps-placeholder {
    text-align:center;
    position: absolute;
    inset: 0;
    background:#EEE;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

#maincontent video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

/* Maps */
.google-maps-container {
    position: relative;
    margin-bottom: 1.75rem;
}

/* Navbar */
.navbar {
    padding: 0;
    background-color: rgba(0, 0, 0, 0);
    height: 128px;
    transition: all 0.25s ease-in-out;
    /* backdrop-filter: blur(10px); */
}


.scrolled .navbar {
    height: 100px;
    background-color: var(--secondary-color);
}


.navbar-shadow {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    display: block;
    translate: 0 30%;
    margin:0 0 0 15px;
    padding:0;
    transition: all 0.25s ease-in-out;
    width: 200px;
    min-width: 200px;
    height: 200px;
    overflow: hidden;
    transform-origin: left top;
}

.navbar-brand img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    transition: all 0.25s ease-in-out;
}

.scrolled .navbar-brand {
    /* left: 15px;
    top:15px; */
    height: 125px;
}

.scrolled .navbar-brand img {
    translate: 0 -30px;
    height: 85px; 
}

@media (max-width: 767px) {
    
    .navbar, .scrolled .navbar {
        height: 80px;
    }

    body:has(.mobile-menu-container.active) .navbar {
        height: 80px;
        background-color: var(--secondary-color) !important;
    }

    .navbar-brand {
        translate: 0 35%;
        width: 200px;
        height: 200px;
        margin: 0;
        scale: 0.75;
        
    }

    .navbar-brand img {
        width: 100%;
        height: 200px;
    }

    body:has(.mobile-menu-container.active) .navbar-brand img {
        translate: 0 -30% !important;
        height: 85px
    }

    .scrolled .navbar-brand,
    body:has(.mobile-menu-container.active) .navbar-brand {
        height: 60px !important; 
        translate: 0 10% !important;
    }

    .scrolled .navbar-brand img {
        translate: 0 -30% !important;
        /* height: 165px;  */
    }
}

.nav-item {
    position: relative;
    padding:0 1rem;
    margin:0;
    line-height: 1;
}

.nav-link, .nav-link:focus {
    font-family: var(--secondary-font);
    position: relative;
    text-transform: uppercase;
    color: #FFF;
    font-size: var(--font-size);
    letter-spacing: var(--navigation-letter-spacing);
    font-weight: 400;
    margin: 0;
    line-height: 2;
}

@media (min-width: 768px) {
    #navbar .nav-link {
        font-size: var(--font-size-xs);
    }

    .navbar-brand {
        scale: 0.75;
    }
}

@media (min-width: 992px) {
    #navbar .nav-link {
        font-size: var(--font-size-s);
    }

    .navbar-brand {
        scale: 1;
    }
}

@media (min-width: 1200px) {
    #navbar .nav-link {
        font-size: var(--font-size);
    }
}

.nav-link:hover,
.nav-item.active a,
.nav-link.dropdown-toggle.show {
    text-decoration: none;
    color: var(--primary-color);
}


#navbar .nav-link::before {
    display: block;
    content: "";
    height: 4px;
    width: 100%;
    background-color: var(--primary-color);
    position: absolute;
    bottom: 0px;
    transform: scaleX(0);
    transition: transform 0.2s ease-in-out;
}

#navbar .nav-item.active .nav-link::before,
#navbar .nav-link:hover::before,
#navbar .nav-link.dropdown-toggle.show::before {
    transform: scaleX(1);
}


.navbar-nav .dropdown-toggle::after {
    display:none;
}

.navbar-nav li:last-child .dropdown-toggle::after {
    display:inline-block;
}

.navbar-nav .dropdown-menu {
    position: absolute;
    min-width: auto;
    max-width: 500px;
    left:1rem;
    top:100%;
    animation: 0.4s fadein ease-in-out;
    background-color: var(--secondary-color-80);
    box-shadow: none !important;
    border: none;
    border-radius: 0;
    padding:0.75rem 0;
    margin:0;
}

@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

.navbar-nav .dropdown-menu .dropdown-item {
    position: relative;
    color:#FFF;
    font-size: var(--font-size-s);
    /* letter-spacing: var(--navigation-letter-spacing); */
    text-transform: uppercase;
    font-weight: 300;
    padding: 0.4rem 1.75rem;
    white-space: normal;
    line-height: 1.5;
}

.navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar-nav .dropdown-menu .dropdown-item.active {
    background-color: transparent;
    text-decoration: none;
    color: var(--primary-color);
}

.navbar-nav .dropdown-menu .dropdown-item::before {
    font-weight: 300;
    content: "❯";
    position: absolute;
    left: -5px;
    top: 10px;
    font-size: 1rem;
    line-height: 1rem;
    color: var(--primary-color);
    opacity: 0;
    transition: all 0.15s ease-in-out;
    pointer-events: none;
}

.navbar-nav .dropdown-menu .dropdown-item:hover::before,
.navbar-nav .dropdown-menu .dropdown-item.active::before {
    left: 10px;
    opacity:1;
}

.submenu-container {
    height:0px;
    background-color: var(--secondary-color);
    opacity: 0;
    transition: all 0.2s ease-in-out;
}

/*
 * MENU BUTTON
 */

 .menu__toggler {
    position: fixed;
    top: 22px;
    right: 30px;
    z-index: 1500;
    height: 36px;
    width: 36px;
    outline: none;
    cursor: pointer;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    transition: all 0.5s;
    opacity: 1;
    pointer-events: all;
}

.menu__toggler span,
.menu__toggler span::before,
.menu__toggler span::after {
    position: absolute;
    content: '';
    width: 36px;
    height: 2px;
    background: #FFF;
    border-radius: 20px;
    -webkit-transition: 500ms cubic-bezier(0.77, 0, 0.175, 1);
    transition: 500ms cubic-bezier(0.77, 0, 0.175, 1);
}

.menu__toggler span::before {
    top: -10px;
}

.menu__toggler span::after {
    top: 10px;
}

/* .menu__toggler.active>span { */
body:has(.mobile-menu-container.active) .menu__toggler>span  {
    background: transparent;
}

body:has(.mobile-menu-container.active) .menu__toggler>span::before,
body:has(.mobile-menu-container.active) .menu__toggler>span::after {
    background: #FFF;
    top: 0px;
}

body:has(.mobile-menu-container.active) .menu__toggler>span::before {
    -webkit-transform: rotate(-225deg);
    transform: rotate(-225deg);
}

body:has(.mobile-menu-container.active) .menu__toggler>span::after {
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
}

/* Mobile Menu */
body:has(.mobile-menu-container.active) {
    overflow: hidden;
}

.mobile-menu-container {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 998;
    color: #FFFFFF;
    width: 100%;
    height: 100%;
    background: rgba(69, 84, 96, 0);
    backdrop-filter: blur(0px);
    padding-top: var(--mobile-navbar-height);
    -webkit-transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1), opacity 500ms cubic-bezier(0.77, 0, 0.175, 1);
    transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1), opacity 500ms cubic-bezier(0.77, 0, 0.175, 1);

    display: flex;
    justify-content: end;
    align-items: stretch;
}

@media only screen and (min-width: 768px) {
    .mobile-menu-container {
        display: none;
    }
}

.mobile-menu-container.active {
    top: 0;
    right: 0;
    z-index: 998;
    background: rgba(69, 84, 96, 0.7);
    backdrop-filter: blur(6px);
}

.menu {
    position: relative;
    background-color:var(--secondary-color);
    height: 100% !important;
    max-height: 100%;
    max-width:350px;
    min-width: 40vw;
    padding-top: 2rem;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 2rem;
    overflow: auto;
    display: flex;
    justify-content: start;
    align-items: start;
}

.menu .navbar-nav {
    align-items: stretch;
    padding:0;
    margin:0;
}


.menu .navbar-nav>li.nav-item {
    text-align: left;
    padding: 0;
    line-height: 1.5;
    display: block;
    width: auto;
}



.menu ul>li>a.nav-link,
.menu ul>li>a.nav-link.show {
    /* color: var(--secondary-color); */
    position: relative;
    text-align: left;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: var(--navigation-letter-spacing);
    margin: 0;
    border-left: 4px solid transparent;
}

.menu ul>li>a.nav-link:hover,
.menu ul>li.nav-item.active>a.nav-link,
.menu ul>li.nav-item:has(.dropdown-menu.show) a.nav-link {
    border-color: var(--primary-color);
}


.menu .navbar-nav .dropdown-toggle::after {
    display: block;
    content: "❯";
    transform: rotate(90deg);
    cursor: pointer;
    text-align: center;
    color: #FFF;
    transition: all 0.25s ease-in-out;
    text-decoration: none;
    margin:0;
    border:0;
}

.menu .navbar-nav .dropdown-toggle.show::after {
    transform: rotate(90deg) scale(-1, 1); 
    /* transform: rotate(270deg); */
}

.menu .navbar-nav .dropdown-menu {
    position: relative;
    left: auto;
    top:auto;
    max-height: 0px;
    max-width:auto;
    opacity: 0;
    transition: all 0.5s ease-out;
    animation: unset;
    display: block;
    overflow: hidden;
    background-color: var(--secondary-color);
    padding: 0 2rem;
    border-radius: 0;
    text-align: left;
}


.menu .navbar-nav .dropdown-menu.show {
    max-height: 1000px;
    opacity: 1;
}

.menu .navbar-nav .dropdown-menu li:first-child {
    margin-top:0.75rem;
}

.menu .navbar-nav .dropdown-menu li:last-child {
    margin-bottom:0.75rem;
}


.menu .navbar-nav .dropdown-menu .dropdown-item {
    padding:0.5rem 2rem;
}

.menu .navbar-nav .dropdown-menu .dropdown-item::before {
    top:12px;
}

/*

.menu .navbar-nav .dropdown-menu li:first-child {
    margin-top: 10px;
}

.menu .navbar-nav .dropdown-menu li:last-child {
    margin-bottom: 10px;
}

@keyframes scaleup {
    from {


        transform: translateY(-100%)
    }

    to {
    

        transform: translateY(0%)
    }
} */

/* Header Navigation */
#headernavigation-container {
    position: absolute;
    inset: 0;
    padding: 4rem 0 8rem 0;
    z-index: 10;
}

#headernavigation-container h1 {
    text-align: center;
    color:var(--grey);

    display:none;
    margin: 0 0 4rem 0;
    background-color: rgba(255,255,255,1);
    backdrop-filter: blur(2px);
    padding: 1rem 1.5rem;
}

#headernavigation a {
    --pseudo-opacity: 0;
    position: relative;
    color: #FFF;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 300;
    font-size: clamp(1rem,1.5vw, 1.5rem);
    letter-spacing: 0.03rem;
    text-align: center;
    display: block;
    padding: 0.75vw 1vw;
}

#headernavigation a:hover, 
#headernavigation a.active {
    --pseudo-opacity: 1;
}

#headernavigation a span {
    display:block;
    position: absolute;
    inset: 0;
    transition: all 0.4s;
    border: solid 2px #FFF;
    border-bottom-width: 0;
    opacity: var(--pseudo-opacity);
    
}

#headernavigation a span::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 2px;
    transition: all 0.4s;
    background: linear-gradient(
        to right,
        #FFF 30px,
        transparent 30px 58px,
        #FFF 58px
    );
}

#headernavigation a span::after {
    position: absolute;
    bottom: -10px;
    left:33px;
    display:block;
    content: '';
    border: solid #FFF;
    border-width: 0 2px 2px 0;
    display: inline-block;
    width: 22px;
    height:22px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transition: all 0.4s;
}

a.scroll-to-main {
    display: block;
    height: 50px;
    width: 50px;
    position: absolute;
    left: 50%;
    bottom: 30px;
    translate: -50% 0;
    z-index: 105;
    cursor: pointer;
    font-size: 2.5rem;
    text-align: center;
    color: #FFF;
    transition: all 0.25s ease-in-out;
    text-decoration: none;
}

a.scroll-to-main::after {
    position:absolute;
    transform: rotate(90deg);
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 50px;
    animation: scrolltomain 2s infinite;
    content: "❯";
    width: 50px;
    height: 50px;
    opacity: 0;
}

@keyframes scrolltomain {
    0% {
        translate: 0 0;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        translate: 0px 20px;
        opacity: 0;
    }
}



@media (max-width: 767px) {
    #headernavigation-container {
        display: flex;
        padding: 2rem 0 2rem 0;
    }

    #headernavigation-container h1 {
        display:block;
        align-self: center;
        margin-bottom: 1.5rem;
        font-size: 1.25rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color:#FFF;
    padding: 2.5rem 0 3rem 0;
    color: #f0f0f0;
    font-weight: 300;
    font-size:1rem;
}

footer p {
    line-height: 1.25rem;
    margin-bottom: 0.5rem;
}

footer a:hover,
footer a.active {
    text-decoration: none;
    color: var(--primary-color);
}

footer h4 {
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    letter-spacing: 0.03rem;
}

footer ul.social-menu {
    margin: 0 -10px 0 -10px;
    padding: 5px 0;
    padding-right: 0px;
    padding-left: 0px;
    list-style: none;
}

footer ul.social-menu li {
    margin: 0;
    list-style: none;
}

footer a,
footer ul.social-menu li a,
footer ul.social-menu svg {
    color:#FFF;
    transition: all 0.2s;
    text-decoration: none;
}

footer ul.social-menu li a:hover {
    text-decoration: none;
    color: var(--primary-color);
}

footer ul.social-menu li a:hover svg {
    fill: var(--primary-color);
}

footer ul.social-menu svg {
    width: 24px;
    height: 24px;
}

footer img.img-fluid {
    max-width:220px;
    margin: 10px 0;
}

/* NEWS */
p.news-date {
    color: #AAA;
    font-size: var(--font-size-xs);
    margin:0 0 16px 0;
}

.news-image {
    margin: 16px 0 32px 0;
    width: 100%;
}

@media (min-width: 992px) {
    .news-image {
        margin: 0px 2rem 3.5rem 0;
        width: 50%;
    }
}

.grid-item {
    position: relative;
    background: #FFF;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
    transition: all 0.3s ease-out;
}

.grid-item:has(.entire-meta-link):hover {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 10px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

/* .grid-image {
    position: relative;
    aspect-ratio: 16/10;
    background: #e5e5e5;
    overflow: hidden;
    color: #FFF;
}

.grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-image svg {
    position: absolute;
    width: 50%;
    height: 50%;
    left: 25%;
    top:25%;
    opacity: 0.5;
} */

.grid-content {
    padding: 1.5rem;
    flex: 1;
}

.entire-meta-link {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    z-index: 101;
    height: 100%;
}

.grid h3 {
    margin: 0 0 16px 0;
    line-height: 1.2;
    hyphens: auto;
    font-weight: 700;
    font-size: var(--font-size);
    color: var(--secondary-color);
}


/* Formulare */
.btn-primary {
    --bs-btn-bg: var(--secondary-color);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--secondary-color);
    --bs-btn-active-bg: var(--secondary-color);
    border:0;
    border-radius: 0px;
}

.bg-dark .btn-primary {
    --bs-btn-bg: var(--primary-color);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--primary-color);
    --bs-btn-active-bg: var(--primary-color);
    --bs-btn-active-color: #000;
    border:0;
    color:var(--secondary-color);
    --bs-btn-disabled-opacity: 0.8;
}

.btn-primary:hover {
    --bs-btn-hover-bg: var(--grey);
}

.bg-dark .btn-primary:hover {
    --bs-btn-hover-bg: var(--primary-color-80);
}


label {
    color:#000;
}

.bg-dark .btn-outline-primary {
    /* font-family: var(--secondary-font);
    text-transform: uppercase; */
    font-weight: 600;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: var(--primary-color);
    --bs-btn-active-border-color: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-color: var(--primary-color);
    border-radius: 0;
}

.bg-dark .btn-outline-primary:hover {
    --bs-btn-bg: var(--primary-color-10);
}

.form-control {
    border-radius: 0;
}

.form-control:focus {
    border-color: var(--primary-color);
    border-width: 1px;
    outline: 0;
    box-shadow: var(--primary-color-50) 0px 0px 20px 0px;
}

.form-check-input[type=checkbox] {
    border-radius: 0;
}

.form-check-input:checked {
    background-color: #666;
    border-color: var(--primary-color);
    border-width: 2px;
    color:#000;
}


.form-check-input:focus {
    box-shadow: var(--primary-color-50) 0px 0px 5px 0px;
    
}

.loading .hide-while-loading,
.error .hide-while-loading,
.success .hide-while-loading,
.show-while-loading {
    display: none;
}

.loading .show-while-loading,
.hide-while-loading {
    display: inline;
}

.check, .btn-error-icon {
    display: none;
}

.success .check {
    display: inline;
}

.error .btn-error-icon {
    display: inline;
}

.btn.success {
    background-color: var(--green) !important;
    border-color: var(--green) !important;
    opacity: 1;
}

.btn.error {
    background-color: #cc0000 !important;
    border-color: #cc0000 !important;
    opacity: 1;
}

.form-errors {
    transition: all ease-in-out;
    color: #FFF;
    background: firebrick;
    padding: 15px;
    display: none;
    margin-bottom: 15px;
}

.form-errors p {
    margin: 0;
}

.mail-sent h5 {
    font-size: 32px;
}

.mail-sent {
    /* background: rgba(255, 255, 255, 0.9); */
    padding: 30px;
    text-align: center;
    font-size: 16px;
}


/* Werte */
.wert-container {
    position: relative;
}
.wert-icon {
    position: relative;
    display:flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/3;
    margin-bottom:-0.875rem;
}

.wert-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 200px;
}

div:has(> .wert-icon) {
    position: relative;
}

.wert-icon::before,
.wert-icon::after,
div:has(> .wert-icon)::before,
div:has(> .wert-icon)::after {
    position: absolute;
    content: "";
    display:block;
    transition: all .3s ease-in-out;
    opacity: 0;
    width: 25px;
	height: 25px;
}

.wert-icon::before {
	left: 0px;
	bottom: 0px;
	border-bottom: 1px solid var(--secondary-color);
	border-left: 1px solid var(--secondary-color);
}

.wert-icon::after {
	right: 0px;
	bottom: 0px;
	border-bottom: 1px solid var(--secondary-color);
	border-right: 1px solid var(--secondary-color);
}

div:has(> .wert-icon)::before {
	left: 0px;
	top: 0px;
	border-top: 1px solid var(--secondary-color);
	border-left: 1px solid var(--secondary-color);
}

div:has(> .wert-icon)::after {
	right: 0px;
	top: 0px;
	border-top: 1px solid var(--secondary-color);
	border-right: 1px solid var(--secondary-color);
}

.wert-col:hover .wert-icon::before,
.wert-col:hover .wert-icon::after,
.wert-col:hover div:has(> .wert-icon)::before,
.wert-col:hover div:has(> .wert-icon)::after {
    opacity: 1;
}

.wert-titel {
    text-transform: uppercase;
    padding: 0 30px;
}

.wert-text {
    text-transform: uppercase;
    transition: all .3s ease-in-out;
    opacity: 0;
}

.wert-col:hover .wert-text {
    opacity: 1;
}

@media (max-width: 991px) {
    .wert-text {

        opacity: 1;
    }
}


/* Karriere */
#maincontent ul.karriere-pills {
    margin:0 0 0.25rem 0;
    padding:0;
    list-style: none;
    display:flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

#maincontent ul.karriere-pills li {
    margin:0;
    padding:0;
    /* padding: 0 0.1rem; */
    list-style: none;
}

#maincontent ul.karriere-pills li::before {
    content: none;
    display:none;
}

.nav-pills.karriere-pills .nav-link {
    border-radius: 0;
    background-color: var(--secondary-color);
    color: #FFF;
}



.nav-pills.karriere-pills .nav-link:hover,
.nav-pills.karriere-pills .nav-link.active {
    background-color: var(--desma-cyan);
    color: #FFF;
}

/* Team */

.grid-item {
    border-bottom: 4px solid var(--primary-color);
}

.grid-image {
    aspect-ratio: 3/4;
    max-width: 100%;
    width: 100%;
    background:#EEE;
}

.grid-item.team .grid-image {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23FFFFFF" class="bi bi-person" viewBox="0 0 16 16"><path d="M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6m2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0m4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4m-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10s-3.516.68-4.168 1.332c-.678.678-.83 1.418-.832 1.664z"/></svg>');
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: center center;
}

.grid-image img, .grid-image svg {
    aspect-ratio: 3/4;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.grid-item.presse .grid-image {
    display:flex;
    justify-content: center;
    align-items: center;
}

.grid-item.presse .grid-image svg {
    aspect-ratio: 3/4;
    object-fit: cover;
    width: 80%;
    height: 80%;
    fill: rgba(0, 0, 0, 0.5);
}

.grid-item figcaption {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-family: var(--secondary-font);
    text-transform: uppercase;
    padding: 0.5rem 1rem 1rem 1rem;
    font-size: var(--font-size-lg);
}

.grid-item figcaption span {
    font-size: var(--font-size-s);
    color:#FFF;
}

.team-desc span {
    /* font-family: var(--secondary-font); */
    font-weight: 700;
    text-transform: uppercase;
    
}

.team-desc {
    font-size: var(--font-size-s);
    padding: 0 1rem;
}

/* Partner Logos */
.partner-logo {
    /* aspect-ratio: 16/9; */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 15% 15%;
    
}
.partner-logo img {
    max-height: 200px;
    height: auto;
    width: auto;
    max-width: 100%;
}

/* List Boxes */
#maincontent .box {
	background-color: var(--beige-2);
	padding-bottom: 30px;
	text-transform: uppercase;
	margin-bottom: 30px;
}

#maincontent .box h3 {
	font-weight: 400;
    line-height: 1.2;
	background-color: var(--secondary-color);
	color: #FFF;
	font-size: 26px;
	line-height: 31px;
	padding: 10px 35px;
	position: relative;
	margin: 0 0 30px 0;
}

#maincontent .box h3::after {
	top: 100%;
	left: 55px;
	border: solid transparent;
	content: " ";
	width: 22px;
	height: 11px;
	position: absolute;
	pointer-events: none;
	z-index: 800;
	border-color: rgba(255, 255, 255, 0);
	border-top-color: var(--secondary-color);
	border-width: 11px 11px 0 11px;
}


#maincontent .box ul {
	font-weight: 400;
	margin: 0px 0 0px 30px;
	padding: 0;
	list-style: none;
	/* display: flex;
	flex-wrap: wrap; */
}

#maincontent .box ul li {
	letter-spacing: 0.015rem;
	position: relative;
	margin: 0;
	padding: 0 20px 0 16px;
	list-style: none;
	color: var(--secondary-color);
    line-height: 1.5;
    text-transform: none;
}

#maincontent .box ul li a {
	color: var(--secondary-color);
}

#maincontent .box ul li::before {
	position: absolute;
	top: 8px;
	left: 0%;
	border: transparent solid;
	content: " ";
	width: 6px;
	height: 11px;
	pointer-events: none;
	z-index: 800;
	border-color: rgba(255, 255, 255, 0);
	border-left-color: #d9d8d0;
	border-width: 6px 0 6px 6px;
}

/* swiper */


.swiper-button-prev,
.swiper-button-next {
    width: 35px;
    height: 35px;
    font-weight: 700;
    background-color: var(--secondary-color);
    border-radius: 100%;
    --swiper-theme-color: var(--primary-color);
    --swiper-navigation-size: 15px;
    transition: all 0.15s ease-in-out;
    box-shadow: 0px 0px 10px 0px  #FFFFFF;
    --swiper-navigation-sides-offset: 15px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    filter: brightness(0.75);
}


/* Swiper gallery impressions */
.swiper-images .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent;
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;
    height: auto;
    width: 100%;
}

.swiper-images .swiper-slide .img-title {
    position:absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background-color: rgba(0,0,0,0.8);
    font-family: var(--secondary-font);
    text-transform: uppercase;
}

.swiper-images .swiper-slide img {
    width: 100%;
    height:auto;
}

@media (min-width: 768px) {
    .swiper-images .swiper-slide {
        height:50vh;
        width:auto;
    }

    .swiper-images .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 50px;
        height: 50px;
        background-color: var(--secondary-color);
        --swiper-theme-color: var(--primary-color);
        --swiper-navigation-size: 25px;
        transition: all 0.15s ease-in-out;
        box-shadow: 0px 0px 10px 0px  #FFFFFF;
        --swiper-navigation-sides-offset: 25px;
    }
}

/* Swiper Timetables */
.swiper-timetables .swiper-slide {    
    height: auto;
    max-width: 100%;
    width: 500px;
    padding: 2rem;
    position: relative;
    height: 100%;
    
}

.swiper-timetables .swiper-slide .inner {    
    height: 100%;
    padding: 2rem 2rem 3rem 2rem;
    background-color: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

@media (min-width: 768px) {
    /* .swiper-timetables .swiper-slide {
        height:50vh;
        width:auto;
    } */
}



/* Teaser Images Section */
.teaser-images {
    position: relative;
    padding-bottom: 200px;
    min-height:400px;
}

.teaser-images .bg-image {
    display:block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    z-index: 1;
    object-fit: cover;
    opacity: 0.4;
}


.teaser-images .offset-images {
    position: relative;
    z-index: 2;
}

.teaser-images .offset-images img {
    aspect-ratio: 77/50;
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center center;
}

/* Logowall */
.logowall-logo-container {
    aspect-ratio: 1/1;
    display:flex;
    align-items: center;
    justify-content: center;
    
}

.logowall-logo-container img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

/* Tabellen */

.table.table-striped {
    --bs-border-width: 0;
    --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
}

.bg-dark .table.table-striped {
    --bs-table-striped-bg: rgba(255, 255, 255, 0.05);
}

.bg-dark .table.table-striped td {
    color:#FFF;
}

.table.table-striped th,
.table.table-striped thead td {
    font-family: var(--secondary-font);
	font-weight: 700;
	background-color: var(--secondary-color);
	color: var(--primary-color);
	font-size: 26px;
	line-height: 31px;
	padding: 15px 30px;
	position: relative;
	margin: 0 0 30px 0;
	text-transform: uppercase;
}


.table.table-striped td {
	font-size: 18px;
	padding: 20px 30px;
    background-color:transparent;
}
