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

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

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

a {
    color: #d12d13;
}

#content a {
    text-decoration: underline;
}

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

b,
strong {
    font-weight: 600;
}

/* ------------------------------------------- logo --------------------------------------------- */

#logo {
    display: flex;
    align-items: center;
    align-content: center;
    gap: 20px;
    text-decoration: none;
}

@media (min-width: 992px) {
    .logoImg {
        position: absolute;
        top: 0;
        left: -15px;
    }
    .logoTxt {
        padding-left: 160px;
    }
}

#logo .logoImg img {
    display: block;
}

@media (max-width: 991px) {
    #logo {
        margin: 15px 0;
    }

    #logo .logoImg img {
        max-width: 120px;
        width: 100%;
    }
}

@media (max-width: 575px) {
    #logo {
        align-items: start;
        align-content: start;
        flex-direction: column;
    }
}

#logo .logoTxt {
    color: #21242a;
    text-transform: uppercase;
    font-style: italic;
    line-height: 1.2;
    font-size: clamp(1rem, 1vw, 1.125rem);
}

#logo .logoTxt :is(b, strong) {
    color: #21242a;
    font-weight: 600;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
}

/* ------------------------------------------ contact ------------------------------------------- */

#topbar,
nav address {
    background-color: #d12d13;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 300;
    border-top: 10px solid #efed57;
}

nav address {
    padding: 10px 15px;
}

@media (max-width: 991px) {
    #topbar {
        padding: 10px 0;
    }
}

#topbar>.row {
    row-gap: 10px;
}

@media (min-width: 992px) {
    #topbar address {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .contactMail+.contactPhone {
        margin-left: 30px;
    }
}

#topbar a,
nav address a {
    color: #ffffff;
}

.contactMail,
.contactPhone {
    padding-left: 20px;
    background-position: center left;
    background-repeat: no-repeat;
}

nav address {
    background-position-x: 7px;
}

#topbar hr {
    margin-top: 6px;
    margin-bottom: 6px;
    border: 0;
    background-color: #fff !important;
    opacity: 0.6;
    border-top: thin solid #fff;
}

/* --------------------------------------------- quicklinks -------------------------------------------- */

@media (max-width: 991px) {
    .quicklinks {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
}

.quicklinks ul {
    padding: 0;
}

.quicklinks li {
    display: inline-block;
}

.quicklinks a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

.quicklinks a:hover,
.quicklinks a:focus {
    color: #ffffff;
    text-decoration: underline;
}

.quicklinks li+li::before {
    content: "";
    margin: 0 6px;
}

@media (min-width: 992px) {
    .quicklinks li+li::before {
        margin: 0 15px;
    }
}

@media (max-width: 991px) {
    .quicklinks li {
        display: block;
        text-align: center;
        padding: 5px;
        margin: 0;
    }

    .quicklinks li+li::before {
        display: none;
    }
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    nav.horizontally {
        position: static !important;
        background-color: #fdf6da;
    }

    #burgerButton {
        font-size: 0;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        cursor: pointer;
        background: #ffffff;
        border: none !important;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #d12d13;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        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: 16px;
    }

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

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

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

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #fdf6da;
        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 {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
    }

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

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

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        padding: 8px 0;
        background-color: #fdf6da;
        box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.15);
    }

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

    nav.horizontally .navbar-nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        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: #121212;
    font-weight: 400;
    text-align: left;
    padding: 12px 15px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    nav.horizontally li[class*="toplevel"] {
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    }

    nav.horizontally a[class*="toplevel"].dropdown-toggle {
        padding-right: 35px;
    }
}

@media (min-width: 992px) {
    nav.horizontally li[class*="toplevel"]+li {
        margin-left: 15px;
    }

    nav.horizontally a[class*="toplevel"] {
        padding: 5px 0;
        text-align: center;
    }

    nav.horizontally a[class*="toplevel"].dropdown-toggle {
        padding-right: 15px;
    }

    nav.horizontally a[class*="toplevel"].dropdown-toggle::after {
        content: "";
        position: absolute;
        display: block;
        right: 0;
        top: 50%;
        margin-top: -5px;
        width: 5px;
        height: 5px;
        border-left: 1px solid #121212;
        border-bottom: 1px solid #121212;
        transform: rotate(-45deg);
    }
}

/* 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: #d12d13;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background-color: #ffffff;
    border-left: 6px solid #f5d447;
}

@media (max-width: 991px) {
    nav.horizontally [class*="toplevel"]>ul {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    nav.horizontally [class*="toplevel"] ul {
        padding-top: 25px;
        padding-bottom: 25px;
        box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
    }

    nav.horizontally [class*="toplevel"]>ul {
        left: -23px;
        margin-top: 47px;
    }

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #121212;
    font-weight: 300;
    text-align: left;
    padding: 8px 20px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    bottom: 0;
    height: 1px;
    background: #d12d13;
    transition: width 300ms linear;
}

nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
    padding-right: 35px;
}

@media (min-width: 992px) {
    nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
        padding-right: 25px;
    }

    nav.horizontally a[class*="secondlevel"].dropdown-toggle2::before {
        content: "";
        position: absolute;
        display: block;
        right: 20px;
        top: 50%;
        margin-top: -4px;
        width: 4px;
        height: 4px;
        border-radius: 1px;
        border-right: 1px solid #121212;
        border-bottom: 1px solid #121212;
        -moz-transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
        transition: border 300ms linear;
    }
}

/* 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: #d12d13;
}

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus)::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus)::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus)::after {
    width: calc(100% - 60px);
}

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

/* #region ------------------------------------ banner ------------------------------------------ */

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

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

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

@media (min-width: 992px) {
    #headerpic {
        background: #121212;
    }
}

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

.slider-mask {
    display: none;
}

body.index .slider-mask {
    display: block;
    background: linear-gradient(-65deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 50%, rgba(34, 35, 38, 0.75) 50%);
}

@media (min-width: 992px) {
    /* banner arrows */

    #headerpic .nivo-directionNav a {
        background: #ffffff;
        width: 60px;
        height: 48px;
        transform: skewX(-25deg);
        transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
    }

    #headerpic:is(:hover, :focus-within) .nivo-directionNav a {
        width: 100px;
    }

    #headerpic .nivo-directionNav a:is(:hover, :focus) {
        background: #121212;
    }

    #headerpic .nivo-directionNav a::before,
    #headerpic .nivo-directionNav a::after {
        content: "";
        display: block;
        position: absolute;
    }

    #headerpic .nivo-directionNav a::before {
        height: 2px;
        width: 16px;
        right: 16px;
        top: 50%;
        margin-top: -1px;
        background: #121212;
        transition: background 300ms linear;
    }

    #headerpic .nivo-directionNav a:is(:hover, :focus)::before {
        background: #ffffff;
    }

    #headerpic .nivo-directionNav a::after {
        height: 8px;
        width: 8px;
        top: 50%;
        margin-top: -5px;
        right: 22px;
        border-left: 2px solid #121212;
        border-bottom: 2px solid #121212;
        transform: rotate(45deg);
        transition: border-color 300ms linear;
    }

    #headerpic .nivo-directionNav a:is(:hover, :focus)::after {
        border-color: #ffffff;
    }

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

    #headerpic a.nivo-nextNav {
        right: -11px;
        transform: scaleX(-1) skewX(25deg);
    }

    /* banner dots */

    #headerpic .nivo-controlNav {
        font-size: 0;
        max-width: 992px;
        text-align: right;
        left: 50%;
        bottom: 10px;
        transform: translateX(-50%);
    }

    #headerpic .nivo-controlNav li {
        width: auto;
    }

    #headerpic .nivo-controlNav :is(a, button) {
        position: relative;
        background: #ffffff !important;
        opacity: 0.4;
        margin: 0;
        height: 5px;
        width: 30px;
        padding: 0 !important;
        transition: opacity 300ms linear;
    }

    #headerpic .nivo-controlNav :is(a, button) ::before {
        content: "";
        display: block;
        position: absolute;
        top: -15px;
        right: 0;
        bottom: -15px;
        left: 0;
    }

    #headerpic .nivo-controlNav :is(a, button):is(.active, :hover, :focus),
    #headerpic .nivo-controlNav .slick-active :is(a, button) {
        opacity: 1;
    }
}

@media (min-width: 1200px) {
    #headerpic .nivo-controlNav {
        max-width: 1375px;
        bottom: 10px;
    }
}

/* #endregion --------------------------------- banner ------------------------------------------ */

/* -------------------------------------------- overlay ----------------------------------------- */

#overlay {
    font-weight: 600;
    font-style: italic;
    font-size: clamp(1rem, 2.4vw, 1.5rem);
}

@media (max-width: 991px) {
    #overlay {
        padding-top: 25px;
        padding-bottom: 20px;
    }
}

@media (min-width: 992px) {
    #overlay {
        color: #ffffff;
        position: absolute;
        z-index: 60;
        right: 0;
        bottom: 60px;
        left: 0;
    }
}

@media (min-width: 1200px) {
    #overlay {
        bottom: 80px;
        max-width: 1390px;
        width: 100%;
    }
}

#overlay :is(h1, h2, h3, h4, h5, h6) {
    line-height: 1.1;
    font-size: clamp(35px 4vw, 3.125rem);
}

@media (min-width: 992px) {
    #overlay :is(h1, h2, h3, h4, h5, h6) {
        color: #ffffff;
    }

    #overlay p:first-of-type {
        padding-left: 15px;
    }
}

/* #region -------------------------------- button design --------------------------------------- */

:is(#overlay, #team) a,
:is(.news, #events) .tab_link_mehr a {
    color: #ffffff;
    font-style: normal;
    position: relative;
    z-index: 1;
    overflow: hidden;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    display: inline-block;
    line-height: 1;
    padding: 10px clamp(20px, 2vw, 35px);
    text-decoration: none;
    border: 2px solid transparent;
    transition: background 200ms linear 200ms, border 200ms linear 200ms;
}

#overlay a:is(:hover, :focus),
:is(.news, #events) .tab_link_mehr a {
    background: #d12d13;
    border-color: #d12d13;
}

#team a:is(:hover, :focus),
.news .tab_link_mehr a:is(:hover, :focus) {
    background: #121212;
    border-color: #121212;
}

:is(.news, #events) .tab_link_mehr a:hover {
    border-color: #121212;
}

:is(#overlay, #team) a,
#events .tab_link_mehr a:is(:hover, :focus) {
    background: rgba(0, 0, 0, 0.4);
    border-color: #ffffff;
}

@media (max-width: 991px) {
    :is(#overlay, #team) a {
        background: #121212;
    }
}

:is(#overlay, #team) a::after,
:is(.news, #events) .tab_link_mehr a::after {
    content: "";
    display: block;
    position: absolute;
    background: #121212;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    pointer-events: none;
    text-decoration: none;
    transition: width 300ms linear;
}

:is(#overlay, #team) a:is(:hover, :focus)::after,
:is(.news, #events) .tab_link_mehr a:is(:hover, :focus)::after,
:is(.news, #events) .tab_link_entry:is(:hover, :focus-within) .tab_link_mehr a::after {
    width: 100%;
}

#overlay a::after {
    background: #d12d13;
}

:is(#overlay, #team) a+a {
    margin-left: clamp(15px, 2vw, 30px);
}

/* #endregion ----------------------------- button design --------------------------------------- */

/* #region ------------------------------------ news -------------------------------------------- */

#news {
    margin-top: 2px;
}

#news .tab_link_entries {
    display: grid;
    gap: 2px;
}

@media (min-width: 576px) {
    #news .tab_link_entries {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    #news .tab_link_entries {
        grid-template-columns: repeat(4, 1fr);
    }
}

.news .tab_link_entry {
    overflow: hidden;
    position: relative;
    background: #fff;
    min-height: clamp(150px, 25vw, 250px);
    padding: 45px 50px 45px 20px;
    border-bottom: none !important;
}

@media (min-width: 992px) {
    .news .tab_link_entry {
        padding-right: 36%;
    }
}

.news .tab_link_entry::before {
    content: "";
    pointer-events: none;
    position: absolute;
    z-index: 3;
    top: 0;
    left: -50vw;
    bottom: 0;
    right: 50px;
    background: rgba(34, 35, 38, 0.85);
    transform: skewX(-25deg);
    transition: right 200ms linear;
}

@media (min-width: 992px) {
    .news .tab_link_entry::before {
        right: 36%;
    }
}

.news .tab_link_entry:is(:hover, :focus-within) :is(.tab_date, .tab_link_title) {
    opacity: 0;
}

.news .tab_link_entry:is(:hover, :focus-within)::before {
    right: 125%;
}

.news .tab_link_entry::after,
.news .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 2;
}

.news .tab_link_entry::after {
    content: "";
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.news .tab_preview_picture img {
    margin: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news :is(.tab_date, .tab_link_title) {
    position: relative;
    z-index: 3;
    transition: opacity 200ms linear;
}

.news .tab_link_title a {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    display: block;
}

.news .tab_date {
    color: #ffffff;
    font-size: 1rem;
    pointer-events: none;
}

.news :is(.vorschau, .tab_spacer) {
    display: none;
}

.news .tab_link_mehr {
    padding-top: 2px;
}

.news .tab_link_entry .tab_link_mehr {
    position: absolute;
    z-index: 3;
    right: 20px;
    bottom: 20px;
    opacity: 0;
    transition: opacity linear 200ms;
    font-size: 0;
}

.news .tab_link_entry:is(:hover, :focus-within) .tab_link_mehr {
    opacity: 1;
}

/* #endregion --------------------------------- news -------------------------------------------- */


/* #region ------------------------------------ tabs -------------------------------------------- */

#tabs {
    padding: 40px 0 clamp(10px, 11vw, 115px) 0;
    background: url('../img/taenzer-links.png') top 120px left 100px no-repeat, url('../img/taenzer-rechts.png') bottom 20px right 160px no-repeat;
}

#tabs .tabsRow {
    padding: 0 15px;
}

@media (min-width: 992px) {
    #tabs .tabsRow>*:nth-child(2) {
        margin-top: 90px;
    }

    #tabs .tabsRow>*:is(:nth-child(4), :nth-child(6), :nth-child(7), :nth-child(9), :nth-child(10), :nth-child(12), :nth-child(13)) {
        margin-top: -90px;
    }
}

#tabs .tab {
    padding: 20px 20px 0 20px;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 450px;
    display: flex;
    align-items: flex-end;
    align-content: flex-end;
    flex-wrap: wrap;
    background-size: 100% 400%;
    transition: background linear 300ms;
    background-color: #f5f5f5;
    background-image: linear-gradient(to top, #000, rgba(255, 255, 255, 0));
}

#tabs .tab:is(:hover, :focus-within) {
    background-size: 100% 100%;
}

#tabs .tab2 {
    background-color: #d12d13;
    background-image: linear-gradient(to top, #000, rgba(255, 255, 255, 0));
}

#tabs .tab3 {
    background-color: #8a1401;
    background-image: linear-gradient(to top, #000, rgba(255, 255, 255, 0));
}

#tabs .tab,
#tabs .tab :is(h1, h2, h3, h4, h5, h6, a) {
    color: #ffffff;
}

@media (max-width: 991px) {
    #tabs .tab1 {
        color: #1b1b1b;
    }
}

#tabs .tab a {
    text-decoration: underline;
}

#tabs .tabHeadline {
    font-size: 1.875rem;
    line-height: 1.7;
    position: relative;
    z-index: 3;
    text-align: right;
    margin: 0 15px 25px 0;
    pointer-events: none;
}

#tabs .tabHeadline span {
    box-shadow: 0 0 0 10px #121212, 5px 0 0 10px #121212;
    background: #121212;
    box-decoration-break: clone;
}

#tabs .tabContent {
    padding-bottom: 20px;
}

@media (min-width: 992px) {
    #tabs .tabContent {
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height linear 600ms;
    }

    #tabs .tab:is(:hover, :focus-within) .tabContent {
        max-height: 100%;
    }
}

@media (min-width: 1200px) {
    #tabs .tabContent {
        padding: 0 40px;
    }
}

#tabs .tabContent .row,
#tabs .tabContent .row>* {
    position: static;
}

#tabs .tab img {
    position: absolute;
    z-index: -1;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: opacity linear 300ms;
}

#tabs .tab:is(:hover, :focus-within) img {
    opacity: 0.5;
}

/* #endregion --------------------------------- tabs -------------------------------------------- */

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

#content {
    text-align: left;
    padding-top: 40px;
    padding-bottom: clamp(40px, 11vw, 115px);
    background: #fdf6da;
}

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

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

h1,
.h1,
.legacy_h1 {
    margin-bottom: clamp(20px, 3vw, 40px);
}

h1,
.h1,
.legacy_h1,
:is(#overlay, #team) :is(h1, h2),
#slogan {
    font-size: clamp(1.875rem, 5vw, 3.75rem);
    text-transform: uppercase;
}

@media (min-width: 1200px) {

    :is(#overlay, #team) :is(h1, h2),
    #tabs .tabsHeadline :is(h1, h2) {
        font-size: 5rem;
    }
}

:is(h1, h2) :is(i, em) {
    font-size: 66%;
    display: block;
}

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

h3,
.h3,
.legacy_h3 {
    font-size: clamp(1.625rem, 4vw, 2.6875rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

h5,
.h5,
.legacy_h5 {
    font-size: clamp(1.375rem, 3vw, 1.8125rem);
}

h6,
.h6,
.legacy_h6 {
    font-size: clamp(1.25rem, 2.5vw, 1.375rem);
}

#tabs .tabsHeadline :is(h1, h2) {
    font-size: clamp(1.875rem, 5vw, 3.125rem);
    text-transform: uppercase;
    color: #d12d13;
}

#tabs .tabsHeadline :is(h3, h4, h5, h6) {
    font-size: clamp(1.25rem, 5vw, 2.1875rem);
    text-transform: uppercase;
}

/* ----------------------------------------------- @1f footer ----------------------------------------------- */

#f1 {
    color: #ffffff;
    font-size: 1rem;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #d12d13;
    border-bottom: 10px solid #f5d447;
}

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

#f1 a,
#f1 a:hover,
#f1 a:focus {
    color: #ffffff;
}

#f1 .footerTab {
    font-size: 1rem;
}

#f1 .tabHeadline {
    font-size: 1.375rem;
    font-weight: 700;
    color: #ffffff;
}

/* --------------------------------------------- innerfooter -------------------------------------------- */

#innerfooter ul {
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding: 0;
}

#innerfooter li {
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

#innerfooter a {
    text-decoration: none;
    position: relative;
    display: block;
    font-size: 1rem;
    font-weight: 400;
    padding: 6px 10px 6px 25px;
}

#innerfooter a::before {
    content: "";
    position: absolute;
    display: block;
    left: 10px;
    top: 16px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    transition: background 300ms linear;
}

#innerfooter a:hover::before,
#innerfooter a:focus::before {
    background: #f5d447;
}

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

#vernetzt {
    gap: 12px;
    text-align: right;
    font-size: 0.8125rem;
    color: #ffffff;
    line-height: 1.3;
    text-decoration: none;
}

#vernetzt span span {
    display: block;
}