/* Subheader */
.fullbg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
}

/* Hauptmenu ---------------------------------------------- */
.mainNav {
    display: flex;
    height: 48px;
    width: auto;
    align-items: center;
    justify-content: flex-end;
    z-index: 102;
    position: relative;
}

@media (max-width:1279px) {
    .mainNav__primary {
        height: auto;
    }
}

.mainNav__mainLinkLabel {
    height: 24px;
    align-self: center;
    font-weight: 400;
    margin-right: 4px;
    font-size: 16px;
    color: var(--secondary);
    transition: all 0.4s ease-in;
}

.is_active .mainNav__mainLinkLabel {
    color: var(--gray);
    transition: all 0.4s ease-in;
}

li:hover .mainNav__mainLinkLabel {
    color: #000;
    transition: all 0.2s ease-out;
}

li.is_active:hover .mainNav__mainLinkLabel {
    color: var(--gray);
}

.mainNav {
    width: 230px;
    z-index: 102;
    transform: translateX(100%);
    position: absolute;
    right: 0;
    top: 20px;
}

@media (max-width:478px) {
    .mainNav {
        width: 50vw;
    }
}

.mainNav__primary {
    display: flex;
    align-items: center;
    height: 48px;
}

@media (max-width:1279px) {
    .mainNav__primary {
        height: auto;
    }
}

.mainNav__mainLinks {
    display: flex;
    list-style: none;
    padding-left: 0;
    box-shadow: -6px 6px 16px -6px rgba(9, 41, 52, 0.6);
    position: absolute;
    right: 0;
    flex-direction: column;
    top: 68px;
    margin-top: 0;
    margin-bottom: 0;
}

@media (min-width:1028px) {
    .mainNav__mainLinks {
        flex-direction: row;
        top: 24px;
    }
}

.mainNav__mainLinks li {
    width: auto;
}

@media (max-width:478px) {
    .mainNav__mainLinks li {
        width: 50vw;
    }
}

.mainNav__mainLinks li:hover > a {
    transition: all 0.3s ease-out;
    background: var(--primary);
}

.mainNav__mainLinks li.is_active > a {
    font-weight: 700;
    transition: all 0.3s ease-out;
    background: var(--secondary);
    color: var(--gray);
    box-shadow: 0px 15px 30px -5px rgba(20, 48, 114, 0.55);
}

.menubutton {
    display: flex;
    justify-content: center;
    height: 44px;
    position: fixed;
    align-items: center;
    top: 24px;
    background: transparent;
    transition: all 0.3s ease-in;
}

.menubutton:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease-out;
}

.menutoggle {
    padding-left: 10px;
    padding-right: 10px;
    right: 0px;
    z-index: 1;
}

@media (min-width:1028px) {
    .menutoggle {
        display: none;
    }
}

.menutoggle.subtoggle {
    background: rgba(255, 255, 255, 0.75);
}

.menutoggle.subtoggle:hover {
    background: rgba(255, 255, 255, 1);
}

.mainNav__mainLinks li a {
    display: flex;
    height: 44px;
    font-family: 'Montserrat', sans-serif;
    padding-left: 24px;
    padding-right: 24px;
    align-items: center;
    position: relative;
    justify-content: flex-end;
    transition: all 0.4s ease-in;
    background: #fff;
    text-decoration: none;
}

.mainNav__mainLinks li a {
    transition: all 0.4s ease-in;
    background: #fff;
    text-decoration: none;
}

@media (min-width:1028px) {
    .mainNav__mainLinks li a {
        justify-content: center;
    }
}

@media (max-width:478px) {
    .mainNav__mainLinks li a {
        padding-right: 12px;
        height: 38px;
    }
}

.mainNav__mainLinks > li > a {
    position: relative;
    z-index: 1;
}

.mainNav__mainLinks li.is_active {
    z-index: 200;
}

/* Header / Footer ---------------------------------------------------------------------- */
.header {
    z-index: 100;
    position: fixed;
    width: 100%;
    top: 0px;
    padding-top: 24px;
    height: 6rem;
    transition: all 0.3s ease-in;
}

.header .mainGrid {
    padding-bottom: 0;
}

.heading_div {
    text-align: center;
    padding: 48px 24px;
}

.footer {
    display: flex;
    background-color: var(--secondary);
    z-index: 0;
    height: 7.5rem;
}

@media (max-width:1027px) {
    .footer {
        height: 9rem;
    }
}

.footer a,
.footer p {
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 0;
}

@media (max-width:1027px) {
    .footer p {
        text-align: center;
        margin-bottom: 0.75rem;
    }
}

.footer .is_active > a {
    font-weight: 700;
    color: #fff;
}

.fullbg video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
