@import url('https://fonts.verwaltungsportal.de/import/?family=Gantari:300,400,500,300i,400i,500i,600,600i,700,700i');

html {
    max-width: 1930px;
    margin-left: auto;
    margin-right: auto;
    background: #010101;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scrollbar-color: #ff2427 #ffffff;
}

body {
    font-family: "Gantari", sans-serif;
    color: #ffffff;
    background: #141414;
    font-size: clamp(1rem, 2vw, 1.125rem);
    /* 1rem = 16px */
    line-height: 1.5;
    font-weight: 400;
}

a {
    color: #ff2427;
}

a:is(:hover, :focus) {
    color: #ff2427;
    text-decoration: underline;
}

b,
strong {
    font-weight: 600;
}

#over {
    overflow: clip;
    position: relative;
}

/* ------------------------------------------- header ------------------------------------------- */

@media (max-width: 991px) {
    #logoMobil img {
        display: block;
        max-width: 110px;
        width: 100% !important;
        height: auto !important;
    }
}

.logo {
    text-decoration: none !important;
    display: inline-block;
}

.logo a {
    text-decoration: none !important;
}

.logo img {
    display: block;
}

.opening-hours,
.contact-information {
    position: relative;
    padding-left: 34px;
    font-size: 1rem;
    font-weight: 400;
}

@media (max-width: 991px) {

    .opening-hours,
    .contact-information {
        margin-top: 15px;
    }
}

:is(.opening-hours, .contact-information)::before {
    content: "";
    position: absolute;
    top: calc(50% - 14px);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: block;
    background: url('../img/icon-haus.png') center no-repeat;
    left: 0;
}

.contact-information::before {
    background-image: url('../img/icon-telefon.png');
}

.contact-information a {
    color: #ffffff;
    text-decoration: underline;
}

.social {
    font-size: 1rem;
}

.social a {
    background: #cc0407;
    color: #fff;
    padding: 5px 15px;
    display: block;
    text-align: center;
}

/* #region ---------------------------------- navigation ---------------------------------------- */

.horizontally {
    background-color: #282828;
    color: #fff;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu {
        color: #010101;
        background: #C20204;
        position: static !important;
        width: 100% !important;
        left: unset !important;
        top: unset !important;
    }

    .navbar-collapse>.row {
        padding-top: 15px;
        padding-bottom: 10px;
    }

    nav.horizontally {
        margin-top: 70px;
    }

    #burgerButton {
        font-size: 0;
        border: none !important;
        position: absolute;
        z-index: 1002;
        display: block;
        width: 46px;
        height: 40px;
        border-radius: 2px;
        cursor: pointer;
        background-color: #C20204;
        padding: 3px;
        right: 12px;
        top: 50%;
        margin-top: -20px;
    }

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #ffffff;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 2px;
        transition: transform 200ms linear, opacity 200ms linear;
    }

    #burgerButton[aria-expanded="true"] #burgerButtonInner {
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    #burgerButton[aria-expanded="true"]::before {
        opacity: 0;
    }

    #burgerButton[aria-expanded="true"]:after {
        transform: rotate(45deg) translate(-4px, -6px);
    }

    #burgerButtonInner {
        top: 11px;
    }

    #burgerButton::before {
        top: 19px;
        content: "";
    }

    #burgerButton::after {
        top: 27px;
        content: "";
    }

    .navbar-nav {
        margin: 20px 0;
    }

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 70px;
        background: #282828;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        overflow-y: auto;
        transition: left 300ms linear, opacity 300ms linear, box-shadow 600ms linear;
        box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
    }

    .navbar-collapse:is([aria-expanded="true"], .in) {
        left: 0;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
    }

    .navbar-header {
        height: 70px;
        line-height: 1;
        padding: 10px 15px;
        background-color: #282828;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 101;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
    }

    .dropdown-toggle-button-wrapper,
    .dropdown-toggle-button-wrapper2 {
        z-index: 1;
    }

    .dropdown-toggle-button-wrapper {
        top: 5px;
    }

    .dropdown-toggle-button-wrapper2 {
        top: 2px;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    #menu {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08), transparent 6px), #1c1c1c;
        box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.15);
        position: absolute;
        z-index: 55;
        width: 100%;
    }

    #menu>.row {
        background-color: #c20204;
        position: relative;
        margin-bottom: -35px;
        z-index: 55;
    }

    .sticky-wrapper {
        height: 0 !important;
    }

    #menu>.row::before {
        background-color: #c20204;
        clip-path: polygon(0 0, 75% 0, 100% 100%, 25% 100%);
        content: '';
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: -85px;
        width: 270px;
        height: 100%;
    }

    #menu>.row::after {
        background-color: #c20204;
        clip-path: polygon(0 0, 75% 0, 100% 100%, 25% 100%);
        content: '';
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        right: -85px;
        width: 270px;
        height: 100%;
    }

    .is-sticky #menu {
        left: unset !important;
    }

    .navbar-collapse>.row {
        padding-top: 30px;
        padding-bottom: 25px;
    }

    nav.horizontally .navbar-nav {
        display: flex;
        justify-content: space-between;
    }

    nav.horizontally .navbar-nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        transition: opacity 300ms linear;
    }

    nav.horizontally .navbar-nav [class*="secondlevel"]>ul {
        left: 100%;
        top: 0;
    }

    nav.horizontally .navbar-nav li {
        position: relative;
    }

    nav.horizontally .navbar-nav li:is(.open, :hover)>ul,
    nav.horizontally .navbar-nav li.open:focus-within>ul,
    nav.horizontally .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible;
    }

    nav.horizontally .navbar-nav li.open>ul {
        pointer-events: none !important;
        opacity: 0 !important;
        visibility: hidden;
    }

    nav.horizontally .navbar-nav li:is(:hover, :focus)>ul {
        z-index: 1003;
    }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #fff;
    font-weight: 400;
    text-align: left;
    padding: 10px 35px;
    position: relative;
    text-transform: uppercase;
    z-index: 1;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"] {
        padding: 28px 14px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }
}

nav.horizontally a[class*="toplevel"]::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    z-index: -1;
    background: linear-gradient(to bottom, #1a1a1a, #1a1a1a);
    transition: opacity 300ms linear;
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"].open>a,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"][class*="_over"]>a,
nav.horizontally li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
    color: #ffffff;
}

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a::after,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"].open>a::after,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"][class*="_over"]>a::after,
nav.horizontally li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus)::after {
    opacity: 1;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    padding: 10px 0;
    background-color: rgba(20, 20, 20, 0.95);
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
}

@media (min-width: 992px) {
    nav.horizontally [class*="toplevel"]>ul {
        margin-top: 4px;
    }

    nav.horizontally [class*="secondlevel"]>ul {
        margin: -10px 0 0 4px;
    }

    nav.horizontally :is([class*="toplevel"], [class*="secondlevel"])>ul::before {
        content: "";
        position: absolute;
        display: block;
    }

    nav.horizontally [class*="toplevel"]>ul::before {
        height: 4px;
        left: 0;
        right: 0;
        top: -4px;
    }

    nav.horizontally [class*="secondlevel"]>ul::before {
        width: 4px;
        top: 0;
        bottom: 0;
        left: -4px;
    }
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    background-color: transparent;
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    padding: 6px 35px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (min-width: 992px) {
    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
        text-align: left;
        padding: 6px 15px;
    }
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
    content: "\2013";
    margin-right: 12px;
}

/* secondlevel + thirdlevel over */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus) {
    color: #ff2427;
    background-color: transparent;
}

/* #endregion ------------------------------- navigation ---------------------------------------- */

/* -------------------------------------------- banner ------------------------------------------ */

#slider {
    max-height: clamp(300px, 42vw, 400px);
    overflow: hidden;
    position: relative;
}

@media (min-width: 992px) {
    body.index #slider {
        max-height: clamp(400px, 60vw, 690px);
    }

    #headerpic a.nivo-prevNav {
        left: 65px;
    }

    #headerpic a.nivo-nextNav {
        right: 65px;
    }
}

@media (min-width: 768px) {
    #bannerOverlay {
        margin-top: 0;
        margin-bottom: 0;
        position: absolute;
        left: 0;
        right: 0;
        z-index: 51;
        pointer-events: none;
        bottom: clamp(60px, 8vw, 115px);
    }

    #headerpic {
        background: #313131;
    }

    .theme-nivo .nivo-controlNav .slick-dots li {
        color: #fff;
    }

}

#slogan {
    pointer-events: auto;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 30px;
    font-size: clamp(1.125rem, 3vw, 1.875rem);
    line-height: 1.2;
    font-weight: 400;
    width: 100%;
}

@media (max-width: 767px) {
    #slogan {
        margin-bottom: 30px;
    }
}

@media (min-width: 768px) {
    #slogan {
        color: #ffffff;
        margin-top: 0;
    }
}

#slogan a {
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: #ffffff;
    background: rgba(0, 0, 0, 0.6);
    display: inline-block;
    padding: 12px 22px;
    margin-top: clamp(15px, 2vw, 25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    text-decoration: none;
}

#slogan a:is(:hover, :focus) {
    background: transparent;
}

#slogan a::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    z-index: -1;
    background: linear-gradient(to bottom, #b00202, #970101);
    transition: opacity 300ms linear;
}

#slogan a:is(:hover, :focus)::after {
    opacity: 1;
}

#slogan :is(b, strong) {
    display: block;
    letter-spacing: normal;
    font-size: clamp(1.625rem, 6vw, 4.0625rem);
}

#slogan :is(b, strong)::before,
#slogan :is(b, strong)::after {
    content: "\2013";
    margin: 0 10px;
}

#headerpic {
    padding: 0;
    position: relative;
}

.slider-wrapper,
#slider {
    height: 100%;
}

.slider-mask {
    display: block;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
}

/* ------------------------------------------- teaser ------------------------------------------- */

#teaser {
    background: #f9f9f9;
    padding: 20px 0;
}

/* #region ---------------------------------- tab-section --------------------------------------- */

#tabs {
    background: #282828;
    padding: 40px 0;
    color: #ffffff;
    position: relative;
}

#tabs>.row {
    row-gap: clamp(30px, 5vw, 45px);
}

#tabs a {
    color: #ffffff;
    text-decoration: underline;
}

#tabs a::before {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.tab {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
    align-items: flex-end;
    justify-content: center;
    min-height: 200px;
    overflow: hidden;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
    z-index: 2;
    padding: 30px 0px 0 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #535353;
    min-height: 370px;
    height: 100%;
}

.tabContent :is(h1, h2, h3, h4, h5, h6) {
    margin: 0 0 10px 0;
    color: #ffffff;
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(1.125rem, 2vw, 1.4375rem);
}

.tabContent {
    background-color: rgba(83, 83, 83, 0.85);
    padding: 30px;
    transition: background-color 300ms;
}

.tab:hover .tabContent {
    background-color: rgba(204, 4, 7, 0.85);
    padding: 30px;
}

.tab img {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    opacity: 0.2;
}

.tab .row,
.tab .row>div {
    padding: 0;
    margin: 0;
    position: static;
}

/* ------------------------------------------ content ------------------------------------------- */

#content {
    text-align: left;
    padding-top: 30px;
    padding-bottom: clamp(30px, 4vw, 60px);
}

/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #ff2427;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Gantari", sans-serif;
}

h1,
.h1,
.legacy_h1 {
    font-size: 28.8px;
    font-size: clamp(1.875rem, 4vw, 2.1875rem);
}

h2,
.h2,
.legacy_h2 {
    font-size: clamp(1.75rem, 3.5vw, 2rem);
}

h3,
.h3,
.legacy_h3 {
    font-size: 1.75rem;
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
    font-size: 1.625rem;
}

h5,
.h5,
.legacy_h5 {
    font-size: 1.5rem;
}

h6,
.h6,
.legacy_h6 {
    font-size: 1.375rem;
}

/* -------------------------------------------- footer ------------------------------------------ */

footer {
    font-weight: 400;
}

footer a {
    color: #ffffff;
    text-decoration: underline;
}

#performance {
    background-color: #0f1a22;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fafafa;
    padding: 30px 0;
}

#performance>.row {
    row-gap: 30px;
}

@media (min-width: 992px) {
    #performance {
        padding: 0;
        padding-bottom: 50px;
    }
}

.footerHeadline {
    margin: 0;
    hyphens: auto;
    color: #fafafa;
}

.footerHeadline::after {
    content: "";
    display: block;
    margin: 6px auto 25px auto;
    height: 1px;
    width: 140px;
    background: #fafafa;
}

@media (min-width: 768px) {
    .footerHeadline::after {
        margin-left: 0;
        margin-right: 0;
    }
}

.tab_link_mandat a {
    text-decoration: none;
}

.tab_link_title a {
    font-weight: 400;
    text-decoration: none;
}

.tab_spacer {
    height: 15px;
}

.tab_link_mehr {
    color: transparent;
}

@media (max-width: 991px) {
    .tab_link_mehr {
        text-align: center;
    }
}

.tab_link_mehr a::after {
    content: " \203A";
}

#innerfooter {
    padding: 25px 15px;
    background: rgba(0, 0, 0, 0.8);
    min-height: 100%;
    height: 100%;
    font-size: 1rem;
}

@media (min-width: 992px) {

    #performance>.row>*:not(:last-child),
    #innerfooter {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    #innerfooter {
        padding-left: 25px;
        padding-right: 25px;
    }
}

#innerfooter ul {
    padding: 0;
    line-height: 1.8;
}

#innerfooter a {
    text-decoration: none;
    text-transform: uppercase;
}

#innerfooter a:is(:hover, :focus) {
    text-decoration: underline;
    color: #fff;
}

#footer>.row {
    background: linear-gradient(to bottom, rgba(179, 0, 3, 1) 0%, rgba(153, 0, 1, 1) 100%);
    padding-top: 22px;
    padding-bottom: 22px;
    color: #fff;
}

@media (min-width: 1200px) {
    #footer>.row {
        position: relative;
        z-index: 55;
        margin-top: -50px;
    }
}

#footer>.row::before {
    background: linear-gradient(to bottom, rgba(179, 0, 3, 1) 0%, rgba(153, 0, 1, 1) 100%);
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -85px;
    width: 270px;
    height: 100%;
    z-index: -1;
}

#footer>.row::after {
    background: linear-gradient(to bottom, rgba(179, 0, 3, 1) 0%, rgba(153, 0, 1, 1) 100%);
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -85px;
    width: 270px;
    height: 100%;
    z-index: -1;
}

#footer a {
    color: #ffffff;
    text-decoration: underline;
}

/* ------------------------------------------ vernetzt ------------------------------------------ */

#footer #vernetzt {
    gap: 12px;
    text-decoration: none;
    text-align: left;
    font-size: 0.9375rem;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 25px;
    text-shadow: 0 0 2px rgba(45, 45, 45, 0.3);
}

@media (min-width: 768px) {
    #footer #vernetzt {
        margin: 0;
    }
}

#footer #vernetzt span span {
    display: block;
}