@import url('https://fonts.verwaltungsportal.de/import/?family=Work+Sans:400,400i,500,500i%7COswald:700');

html {
    max-width: 1930px;
    margin-left: auto;
    margin-right: auto;
    background: #2c426c;
}

body {
    font-family: "Work Sans", sans-serif;
    font-weight: 400;
    color: #222222;
    background: #fff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
    box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
    body {
        font-size: 1.25rem;
    }
}

a {
    color: #ba3425;
}

a:hover,
a:focus {
    color: #ba3425;
    text-decoration: underline;
}


#header-text a,
b,
strong {
    font-weight: 500;
}

main a,
#header-text a,
#footer a {
    text-decoration: underline;
}

#overflow {
    overflow: clip;
}

/* #region --------------------------------------- logo ----------------------------------------- */

#logo {
    display: inline-block;
    background: #fff;
    padding: 4px;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2);
}

#logo img {
    display: block;
}

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

    #logo img {
        max-width: 210px;
        width: 100%;
    }

    #logo .row {
        margin-left: -15px;
        margin-right: -15px;
    }
}

@media (min-width: 576px) {
    #logo {
        position: absolute;
        left: 15px;
        top: 0;
        display: flex;
        align-content: end;
        align-items: end;
        justify-content: center;
        -webkit-transition: bottom 200ms linear;
        -moz-transition: bottom 200ms linear;
        -ms-transition: bottom 200ms linear;
        -o-transition: bottom 200ms linear;
        transition: bottom 200ms linear;
    }

    #logo img {
        max-height: 163px;
    }
}

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

    .is-sticky #logo {
        bottom: -20px;
    }

    #logo img {
        bottom: 0;
        -webkit-transition: max-height 200ms linear;
        -moz-transition: max-height 200ms linear;
        -ms-transition: max-height 200ms linear;
        -o-transition: max-height 200ms linear;
        transition: max-height 200ms linear;
    }

    .is-sticky #logo img {
        max-height: 90px;
    }

    #logo-col {
        position: static;
    }
}

/* #endregion ----------------------------------- logo ------------------------------------------ */

/* #region -------------------------------------- topbar ---------------------------------------- */

#topbar {
    padding-top: 17px;
    padding-bottom: 17px;
    font-size: 16px;
}

/* #region -------------------------------------- contrast_style ---------------------------------------- */

#contrast_style button {
    color: #000000;
    padding: 0;
    border: 1px solid transparent;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    background: #ffffff;
    position: relative;
    z-index: 1;
    font-size: 0;
    width: 31px;
    height: 31px;
    -webkit-transition: border 300ms linear;
    -moz-transition: border 300ms linear;
    -ms-transition: border 300ms linear;
    -o-transition: border 300ms linear;
    transition: border 300ms linear;
}

#contrast_style button:hover,
#contrast_style button:focus {
    border-color: #ba3425;
}

#contrast_style *+* {
    margin-left: 5px;
}

#contrast_style button::before {
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    right: 5px;
    left: 5px;
    bottom: 5px;
    border: 1px solid rgba(0, 0, 0, 0.6);
    border-radius: 50%;
}

#contrast_style button::after {
    content: "";
    display: block;
    position: absolute;
    top: 9px;
    right: 9px;
    left: 9px;
    bottom: 9px;
    border: 1px solid rgba(0, 0, 0, 0.6);
    border-radius: 50%;
}

#contrast_style button:nth-of-type(1)::after {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6) 50%, rgba(255, 255, 255, 1) 50%);
}

#contrast_style button:nth-of-type(2)::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, rgba(0, 0, 0, 0.6) 50%);
}

#contrast_style button:nth-of-type(3)::after {
    background: #ea5b0c;
    border: none;
}

/* #region -------------------------------------- styler ---------------------------------------- */

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

    #style b {
        padding-right: 2px;
    }

    #style button {
        background: transparent;
        padding: 0;
        border: 1px solid transparent;
        color: inherit;
        display: inline-block;
        font-weight: 400;
        text-align: center;
        position: relative;
        line-height: 1;
        width: 31px;
        height: 31px;
        -webkit-transition: border 300ms linear;
        -moz-transition: border 300ms linear;
        -ms-transition: border 300ms linear;
        -o-transition: border 300ms linear;
        transition: border 300ms linear;
    }

    #style button:hover {
        border-color: #ba3425;
    }
}

/* #endregion -------------------------------------- styler ---------------------------------------- */

/* #region -------------------------------------- search ---------------------------------------- */

#search {
    background: #fff;
    display: block;
    position: relative;
    z-index: 101;
    color: #333333;
    line-height: 1;
    overflow: hidden;
    max-width: 330px;
}

@media (max-width: 440px) {
    #search {
        max-width: calc(100% - 70px);
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    #search {
        border-left: 1px solid rgba(0, 0, 0, 0.3);
        margin-left: 20px;
        padding-left: 30px;
    }
}

@media (min-width: 992px) {
    #search {
        padding: 4px 0;
    }

    #contrast_style+#style,
    #style+#search {
        border-left: 1px solid rgba(0, 0, 0, 0.3);
        margin-left: 20px;
        padding-left: 30px;
    }
}

#search label {
    font-weight: 500;
    padding-right: 10px;
}

#search_input {
    color: inherit;
    font-style: normal;
    border: 0;
    padding: 7px 36px 7px 10px;
    width: 100%;
}

@media (max-width: 991px) {
    #search_input {
        padding-top: 13px;
        padding-bottom: 13px;
    }
}

#search_submit {
    width: 36px;
    background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M38.7 40.85 26.65 28.8q-1.5 1.3-3.5 2.025-2 .725-4.25.725-5.4 0-9.15-3.75T6 18.75q0-5.3 3.75-9.05 3.75-3.75 9.1-3.75 5.3 0 9.025 3.75 3.725 3.75 3.725 9.05 0 2.15-.7 4.15-.7 2-2.1 3.75L40.95 38.7q.45.4.45 1.025 0 .625-.5 1.125-.45.45-1.1.45-.65 0-1.1-.45Zm-19.85-12.3q4.05 0 6.9-2.875Q28.6 22.8 28.6 18.75t-2.85-6.925Q22.9 8.95 18.85 8.95q-4.1 0-6.975 2.875T9 18.75q0 4.05 2.875 6.925t6.975 2.875Z' fill='%23ba3425'/%3E%3C/svg%3E") center / 28px auto no-repeat;
    padding: 0;
    cursor: pointer;
    border: none;
    position: absolute;
    top: 4px;
    right: 0;
    bottom: 4px;
    font-size: 0;
    -webkit-transition: background-color 300ms linear;
    -moz-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    -o-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

#search_submit:hover,
#search_submit:focus,
#search_input:hover,
#search_input:focus {
    background-color: #dedede;
}

#search_input::-ms-input-placeholder {
    color: #333333 !important;
    font-style: italic;
}

#search_input::-webkit-input-placeholder {
    color: #333333 !important;
    font-style: italic;
}

#search_input::-moz-placeholder {
    opacity: 1;
    font-style: italic;
}

#search_input:-moz-placeholder {
    opacity: 1;
    font-style: italic;
}

/* #endregion ----------------------------------- search --------------------------------------- */

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    .sticky-wrapper {
        height: auto !important;
    }

    #menu {
        position: static !important;
    }

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

    #burgerButtonInner2,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #2c426c;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        -webkit-transition: transform 200ms linear, opacity 200ms linear;
        -moz-transition: transform 200ms linear, opacity 200ms linear;
        -ms-transition: transform 200ms linear, opacity 200ms linear;
        -o-transition: transform 200ms linear, opacity 200ms linear;
        transition: transform 200ms linear, opacity 200ms linear;
    }

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

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

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

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButtonInner2 {
        top: 24px;
    }

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

    .navbar-nav {
        padding: 20px 10px;
    }

    .navbar-collapse {
        top: 0;
        background: #2c426c;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        -webkit-transition: left 300ms linear, opacity 300ms linear;
        -moz-transition: left 300ms linear, opacity 300ms linear;
        -ms-transition: left 300ms linear, opacity 300ms linear;
        -o-transition: left 300ms linear, opacity 300ms linear;
        transition: left 300ms linear, opacity 300ms linear;
    }

    .navbar-collapse[aria-expanded="true"],
    .navbar-collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-header {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
    }

    .navbar-toggle::before {
        content: "";
        opacity: 0;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 0;
        z-index: -1;
        display: block;
        background-color: rgba(0, 0, 0, 0.5);
        -webkit-transition: width 300ms linear, opacity 300ms linear;
        -moz-transition: width 300ms linear, opacity 300ms linear;
        -ms-transition: width 300ms linear, opacity 300ms linear;
        -o-transition: width 300ms linear, opacity 300ms linear;
        transition: width 300ms linear, opacity 300ms linear;
    }

    .navbar-toggle[aria-expanded="true"]::before {
        opacity: 1;
        width: 90px;
    }

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

    .dropdown-toggle-button-wrapper2 {
        top: 1px;
        right: -10px
    }
}

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }

    .navbar-collapse.collapse.in:after,
    .navbar-toggle[aria-expanded="true"]::before {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    #menu {
        position: relative;
        z-index: 10;
        -webkit-transition: background 300ms linear, padding 300ms linear;
        -moz-transition: background 300ms linear, padding 300ms linear;
        -ms-transition: background 300ms linear, padding 300ms linear;
        -o-transition: background 300ms linear, padding 300ms linear;
        transition: background 300ms linear, padding 300ms linear;
    }

    .is-sticky #menu {
        background: #2c426c;
        border-bottom: 1px solid #fff;
        left: auto !important;
    }

    nav.horizontally .navbar-nav {
        position: relative;
        padding-top: 38px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
        flex-wrap: wrap;
    }

    nav.horizontally .navbar-nav::after {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        bottom: 0;
        right: clamp(-275px, -15vw, -15px);
        height: 1px;
        background: #fff;
    }

    .is-sticky .navbar-nav {
        margin-bottom: -1px;
    }

    .is-sticky nav.horizontally .navbar-nav {
        padding-top: 20px;
    }

    nav.horizontally .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }

    nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        position: absolute;
        left: 100%;
        top: 0;
    }

    nav.horizontally .navbar-nav>li, nav.horizontally .navbar-nav>li>.dropdown-menu>li {
        position: relative;
    }

    /* Fade in Hover Start */
    .navbar-default .navbar-nav li[class*="toplevel"]>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]>ul {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        -webkit-transition: opacity 300ms linear;
        -moz-transition: opacity 300ms linear;
        -ms-transition: opacity 300ms linear;
        -o-transition: opacity 300ms linear;
        transition: opacity 300ms linear;
    }

    .navbar-default .open>.dropdown-menu,
    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]:hover>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:focus-within>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]:focus-within>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    .navbar-default .nav .open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }

    /* Pseudo */

    .navbar-default .navbar-nav>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        height: 20px;
        left: 0;
        right: 0;
        top: -20px;
    }

    /* 3rd */

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        top: 0;
        bottom: 0;
        left: -10px;
    }

    /* Fade in Hover End */
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */

.navbar-default li[class*="toplevel"]>a {
    font-family: "Oswald", sans-serif;
    color: #fff;
    font-weight: 700;
    text-align: left;
    padding: 14px 15px;
    position: relative;
    font-size: 1.25rem;
    text-transform: uppercase;
    line-height: 1.2;
    text-decoration: none;
    -webkit-transition: border 300ms linear;
    -moz-transition: border 300ms linear;
    -ms-transition: border 300ms linear;
    -o-transition: border 300ms linear;
    transition: border 300ms linear;
}

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

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

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

    .navbar-default li[class*="toplevel"]>a {
        padding: 18px 6px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>a {
        display: block;
    }
}

.navbar-default li[class*="toplevel"]>a::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 0;
    height: 4px;
    width: 0;
    background: #ba3425;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-transition: width 300ms linear;
    -moz-transition: width 300ms linear;
    -ms-transition: width 300ms linear;
    -o-transition: width 300ms linear;
    transition: width 300ms linear;
}

/* -------------------------------------------- toplevel-over ------------------------------------------- */

.navbar-default li[class*="toplevel"]:hover>a::after,
.navbar-default li[class*="toplevel"]>a:hover::after,
.navbar-default li[class*="toplevel"]>a:focus::after,
.navbar-default li[class*="toplevel"].open>a::after,
.navbar-default li[class*="toplevel"].open>a:hover::after,
.navbar-default li[class*="toplevel"].open>a:focus::after,
.navbar-default li[class*="toplevel"][class*="_over"]>a::after,
.navbar-default li[class*="toplevel"][class*="_over"]>a:hover::after,
.navbar-default li[class*="toplevel"][class*="_over"]>a:focus::after {
    width: 100%;
}

.navbar-default li[class*="toplevel"]:focus-within>a::after {
    width: 100%;
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background-color: #ffffff;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        padding: 15px;
    }
}

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 20px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-top: -18px;
        margin-left: 10px;
    }
}

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #222222;
    font-weight: 400;
    text-align: left;
    padding: 9px 25px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (min-width: 992px) {

    .navbar-default .navbar-nav>li>.dropdown-menu>li>a,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        text-align: center;
    }
}

/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

.navbar-nav>li>.dropdown-menu>li:hover>a,
.navbar-nav>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:hover>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus {
    background: #ba3425;
    color: #ffffff;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
    background: #ba3425;
    color: #ffffff;
}

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

/* #region ------------------------------- max-width + resp-gaps -------------------------------- */

#headerpic,
#news,
#tabs,
footer {
    max-width: 1720px;
    margin-left: auto;
    margin-right: auto;
}

#news .tab_link_entries,
#footer>.row {
    row-gap: 30px;
}

#teams .row {
    row-gap: 20px;
}

/* #endregion ---------------------------- max-width + resp-gaps -------------------------------- */

/* #region -------------------------------------- header ---------------------------------------- */

#headerpic {
    background: #2c426c;
    position: relative;
}

.theme-nivo .nivo-controlNav .slick-dots li,
.nivo-directionNav a,
a.nivo-control,
a.nivo-control.active {
    color: #ffffff !important;
}

/* header text */

#header-text {
    line-height: 1.4;
    position: relative;
    z-index: 10;
    padding: 60px 0 clamp(60px, 8vw, 112px) 0;
    font-size: clamp(1rem, 3vw, 1.5625rem);
}

@media (min-width: 576px) {
    #header-text {
        padding-top: clamp(110px, 8vw, 130px);
    }
}

#header-text,
#header-text :is(h1, h2, h3, h4, h5, h6, a) {
    color: #fff;
}

#header-text :is(h1, h2, h3, h4, h5, h6) {
    text-transform: uppercase;
    font-size: clamp(2.25rem, 7vw, 4.375rem);
    margin-bottom: clamp(15px, 4vw, 32px);
    text-shadow: 15px 15px 15px rgba(0, 0, 0, 0.2);
}

#header-text :is(i, em) {
    font-style: normal;
    font-weight: normal;
    display: block;
    font-size: clamp(1.25rem, 4vw, 2.375rem);
    margin-bottom: clamp(10px, 4vw, 24px);
}

body:not(.index) #header-text p {
    display: none;
}

@media (min-width: 992px) {
    body.index #header-text>article {
        opacity: 0;
        transform: translate(-100px, -100px);
        animation: showHeaderText 500ms linear 300ms 1 normal forwards;
    }
}

@keyframes showHeaderText {
    0% {
        opacity: 0;
        transform: translate(-100px, -100px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}

@media (min-width: 992px) {
    #header-text::after {
        content: "";
        display: block;
        position: absolute;
        z-index: -1;
        top: -130px;
        left: 44%;
        bottom: 40px;
        width: 100%;
        max-width: 298px;
        background: url('../img/feuerwehrmann.png') center left / auto 100% no-repeat;
    }

    #header-text::after {
        top: 55px;
        left: 54%;
        max-width: 70vw;
        bottom: -85px;
    }

    body.index #header-text.has-info-tab::after {
        bottom: -90px;
    }

    body.index #header-text::after {
        transform: translate(100px, 100px);
        opacity: 0;
        animation: showFigure 500ms linear 300ms 1 normal forwards;
    }
}

@media (min-width: 1200px) {
    #header-text::after {
        right: 15px;
        left: auto;
        width: 100%;
        max-width: 298px;
        background-size: contain;
        background-position: center right;
    }

    body.index #header-text.has-info-tab::after {
        right: -105px;
        bottom: -330px;
    }
}

@keyframes showFigure {
    0% {
        opacity: 0;
        transform: translate(100px, 100px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}

/* info tab */

#info-tab {
    position: relative;
    z-index: 1;
    padding: 12px 0 0 clamp(15px, 4vw, 30px);
    border-left: 4px solid #ba3425;
    box-shadow: -25px 25px 25px 0 rgba(0, 0, 0, 0.08);
    margin-top: clamp(40px, 6vw, 60px);
    margin-bottom: clamp(40px, 6vw, 60px);
}

#info-tab :is(h1, h2, #info-headline) {
    color: #ba3425;
    font-size: clamp(1.5625rem, 7vw, 1.875rem);
    margin-bottom: 6px;
}

#info-tab :is(h3, h4, h5, h6) {
    color: #1a1a1a;
    font-size: clamp(2.25rem, 7vw, 3.125rem);
    margin-bottom: clamp(28px, 4vw, 35px);
    text-transform: uppercase;
}

#info-tab a:not(.has-image) {
    margin-bottom: -1px;
}

/* #endregion ----------------------------------- header ---------------------------------------- */

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

#slider {
    height: 100%;
    overflow: hidden;
}

@media (max-width: 1199px) {
    #headerpic :is(a.nivo-prevNav, a.nivo-nextNav) {
        display: none;
    }
}

@media (min-width: 992px) {
    #headerpic a.nivo-prevNav {
        left: 30px;
    }

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

#headerpic .nivo-main-image {
    min-height: 100% !important;
}

#headerpic .nivo-controlNav {
    bottom: 8px;
}

#headerpic .slider-mask {
    display: block;
    background: rgba(71, 100, 158, 0.65);
}

.slider-wrapper {
    position: absolute !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

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

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

#content-area {
    position: relative;
    text-align: left;
    padding: clamp(40px, 10vw, 80px) 0 clamp(40px, 10vw, 90px) 0;
    background: #f7f3ed;
}

#content-area>* {
    position: relative;
    z-index: 10;
}

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

#news {
    padding: clamp(40px, 6vw, 75px) 0;
    position: relative;
    z-index: 1;
    background-color: #2c426c;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 576px) {
    #news {
        padding-bottom: 0;
    }

    #news .button-design {
        margin-bottom: clamp(30px, 6vw, 60px);
    }
}

@media (max-width: 767px) {
    #news {
        background-image: none !important;
    }

    #news .button-design {
        margin-top: clamp(30px, 6vw, 60px);
    }
}

#news .tab {
    padding-bottom: clamp(30px, 4vw, 36px);
}

#news,
#news :is(h1, h2, h3, h4, h5, h6, a:not(.more-link)) {
    color: #fff;
}

#news .news-headline {
    position: relative;
    padding-bottom: 28px;
    margin-bottom: 32px;
}

#news .news-headline::after {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    left: clamp(-275px, -15vw, -15px);
    height: 1px;
    background: #fff;
}

#news .tab_link_entries {
    display: flex;
    flex-wrap: wrap;
}

#news .tab_link_entry {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    background: #ba3425;
    padding: clamp(215px, 10vw, 240px) clamp(15px, 4vw, 30px) clamp(30px, 4vw, 55px) clamp(15px, 4vw, 30px);
    display: flex;
    flex-direction: column;
    border: none !important;
}

#news .tab_link_entry::after,
#news .tab_link_entry+.tab_link_entry::before {
    content: "";
    display: block;
    position: absolute;
}

#news .tab_link_entry::after {
    top: 20px;
    right: 20px;
    z-index: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    pointer-events: none;
    background: #fff url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M7 42q-1.25 0-2.125-.875T4 39V6l3.35 3.35L10.65 6 14 9.35 17.35 6l3.3 3.35L24 6l3.35 3.35L30.65 6 34 9.35 37.35 6l3.3 3.35L44 6v33q0 1.25-.875 2.125T41 42Zm0-3h15.5V25H7v14Zm18.5 0H41v-5.5H25.5Zm0-8.5H41V25H25.5ZM7 22h34v-6H7Z' fill='%23ba3425'/%3E%3C/svg%3E") center / 25px auto no-repeat;
}

@media (min-width: 576px) {
    #news .tab_link_entries {
        flex-wrap: nowrap;
    }

    #news .tab_link_entry {
        width: 50%;
    }

    #news .tab_link_entry+.tab_link_entry::before {
        top: 220px;
        left: 0;
        width: 1px;
        bottom: 30px;
        background: rgba(255, 255, 255, 0.3);
    }

    #news .tab_link_entry:first-child .tab_preview_picture img {
        width: calc(100% - 1px);
    }
}

#news .tab_link_entry .tab_preview_picture,
#news .tab_link_entry::before {
    height: 190px;
    top: 0;
    left: 0;
    right: 0;
    display: block;
    overflow: hidden;
    position: absolute;
}

#news .tab_link_entry .tab_preview_picture img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
    margin: 0;
}

#news .tab_link_entry::before {
    content: "";
    background: url('../img/meldungen-platzhalter.png') center / cover no-repeat;
}

#news .tab_link_title {
    order: -1;
    font-size: clamp(1.125rem, 0.5rem, 1.25rem);
    font-weight: 500;
}

#news .tab_link_title>* {
    line-height: 1.4;
}

#news .tab_link_title a:not(:hover):not(:focus) {
    text-decoration: none;
}

#news .tab_date {
    font-size: 1rem;
    margin-top: 10px;
}

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

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

/* #region --------------------------------- teams  ----------------------------------- */

#teams {
    position: relative;
    z-index: 9;
    min-height: 220px;
    padding: clamp(40px, 10vw, 75px) 0;
}

:is(#teams) :is(.teams-headline) {
    color: #ba3425;
}

#teams .teams-headline {
    margin-bottom: clamp(28px, 5vw, 40px);
}

#teams :is(h1, h2:not(.teams-headline), h3, h4, h5, h6) {
    font-size: clamp(1.5625rem, 7vw, 3.125rem);
    margin-bottom: 4px;
    text-transform: uppercase;
    color: #ba3425;
}

#teams img {
    margin-bottom: 15px;
}


/* #endregion ------------------------------ teams  ----------------------------------- */

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

#tabs {
    position: relative;
    z-index: 1;
}

#tabs .row {
    width: auto;
    min-width: 100%;
    max-width: none;
}

#tabs .tab {
    min-height: 150px;
    padding: clamp(30px, 4vw, 50px) clamp(15px, 4vw, 40px);
    position: relative;
}

#tabs .tab-1 {
    background: #ba3425;
    font-size: clamp(2.25rem, 7vw, 3.125rem);
    font-weight: 700;
    font-family: "Oswald", sans-serif;
    color: #ffffff;
    line-height: 1.2;
    padding: clamp(30px, 4vw, 110px) clamp(15px, 4vw, 40px);
}

#tabs .tab-1 a:not(.has-image) {
    color: #ffffff;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

#tabs .tab-1 a:not(.has-image):hover,
#tabs .tab-1 a:not(.has-image):focus {
    text-decoration: underline;
}

#tabs .tab-1 a:not(.has-image)::after {
    content: ' \00BB';
}

#tabs .tab-2 {
    color: #ba3425;
    font-size: clamp(1.6875rem, 7vw, 2.1875rem);
    font-weight: 700;
    line-height: 1.2;
    font-family: "Oswald", sans-serif;
    padding-bottom: clamp(30px, 10vw, 166px);
}

#tabs .tab-2 a:not(.has-image) {
    color: #ba3425;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

#tabs .tab-2 a:not(.has-image):hover,
#tabs .tab-2 a:not(.has-image):focus {
    text-decoration: underline;
}

#tabs .tab-2 a:not(.has-image)::after {
    content: ' \00BB';
}

#tabs :is(.tab-3) :is(h1, h2, h3, h4, h5, h6) {
    color: #ba3425;
    font-size: clamp(1.6875rem, 7vw, 2.1875rem);
}

#tabs :is(.tab-3) :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: clamp(20px, 4vw, 25px);
}

#tabs :is(.tab-2, .tab-3) {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #dedede;
}

#tabs .tab-4 {
    background: #2c426c;
}

@media (max-width: 767px) {
    .tabSnippi {
        margin-top: 30px;
    }
}

@media (min-width: 1200px) {
    #tabs .tab-4 {
        font-size: 1.125rem;
    }
}

#tabs .tab-4::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 60px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#tabs .tab-4>* {
    position: relative;
    z-index: 1;
}

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

#tabs .tab-4 :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.875rem, 7vw, 2.5rem);
}

#tabs .tab-image {
    background: #2c426c;
    padding: 0;
}

#tabs .tab-image>div {
    height: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

#tabs .tab-image img {
    display: block;
    object-fit: cover;
    height: 100%;
    width: 100%;
    min-height: 100%;
}

#tabs .tab :is([id*="Widget"], [id*="widget"]) {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

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

/* #region --------------------------------- sponsors ----------------------------------- */

#sponsors {
    position: relative;
    z-index: 9;
    min-height: 220px;
    padding: clamp(40px, 10vw, 85px) 0 clamp(40px, 10vw, 80px) 0;
}

@media (min-width: 1200px) {
    #sponsors>.row::after {
        content: '';
        position: absolute;
        pointer-events: none;
        right: -13.5vw;
        bottom: -80px;
        width: 325px;
        height: 489px;
        background: url('../img/freisteller-feuerwehrmann-mit-weste.png') center no-repeat;
    }
}

:is(#sponsors) :is(.sponsors-headline) {
    color: #ba3425;
    font-size: clamp(1.875rem, 7vw, 2.5rem);
}

#sponsors :is(b, strong) {
    font-weight: 600;
}

#sponsors ul {
    margin: 10px 0 !important;
}

#sponsors li {
    background: transparent !important;
    padding: 5px 10px 5px 40px !important;
}

#sponsors li::before {
    background-color: #ba3425 !important;
    width: 8px !important;
    height: 8px !important;
    top: 0 !important;
    bottom: 0 !important;
    margin: auto !important;
    left: 5px !important;
}

/* #endregion ------------------------------ sponsors ----------------------------------- */
/* #region --------------------------------------- buttons -------------------------------------- */

.button-design a:not(.has-image) {
    display: inline-block;
    line-height: 1.2;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    background: #ba3425;
    padding: 12px 60px 12px 20px;
    position: relative;
    text-decoration: none;
    -webkit-transition: transform 200ms linear, filter 200ms linear;
    -moz-transition: transform 200ms linear, filter 200ms linear;
    -ms-transition: transform 200ms linear, filter 200ms linear;
    -o-transition: transform 200ms linear, filter 200ms linear;
    transition: transform 200ms linear, filter 200ms linear;
}

@media (min-width: 992px) {
    .button-design a:not(.has-image) {
        font-size: 1.125rem;
        padding-top: 14px;
        padding-bottom: 14px;
    }
}

#tabs .button-design a:not(.has-image) {
    margin-top: clamp(5px, 1vw, 20px)
}

.button-design a:not(.has-image):hover,
.button-design a:not(.has-image):focus {
    z-index: 1;
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    filter: drop-shadow(0 15px 10px rgba(0, 0, 0, 0.15));
}

.button-design.button-design-2 a:not(.has-image) {
    color: #ffffff;
    background: #ba3425;
    text-transform: uppercase;
    padding-right: 80px;
}

.button-design a:not(.has-image)::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11px' height='12px'%3E%3Cpath d='M0.942,11.636 L5.320,6.488 L5.320,5.256 L0.942,0.108 L0.942,3.540 L3.230,5.850 L0.942,8.204 L0.942,11.636 ZM5.694,11.636 L10.072,6.488 L10.072,5.256 L5.694,0.108 L5.694,3.540 L7.982,5.850 L5.694,8.204 L5.694,11.636 Z' fill='%231a1a1a'/%3E%3C/svg%3E") center / 12px auto no-repeat;
}

.button-design.button-design-2 a:not(.has-image)::after {
    width: 60px;
    background: #952a1e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11px' height='12px'%3E%3Cpath d='M0.942,11.636 L5.320,6.488 L5.320,5.256 L0.942,0.108 L0.942,3.540 L3.230,5.850 L0.942,8.204 L0.942,11.636 ZM5.694,11.636 L10.072,6.488 L10.072,5.256 L5.694,0.108 L5.694,3.540 L7.982,5.850 L5.694,8.204 L5.694,11.636 Z' fill='%23ffffff'/%3E%3C/svg%3E") center / 12px auto no-repeat;
}

/* #endregion ------------------------------------ buttons -------------------------------------- */

/* #region ---------------------------------- h1 - h6, newslink --------------------------------- */

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #ba3425;
    font-weight: 700;
    line-height: 1.12;
    font-family: "Oswald", sans-serif;
    margin-bottom: 15px;
}

h1, .h1, .legacy_h1 {
    font-size: clamp(2.25rem, 7vw, 3.125rem);
    margin-bottom: clamp(15px, 4vw, 40px);
}

h2, .h2, .legacy_h2 {
    font-size: clamp(2.0625rem, 7vw, 2.8125rem);
}

h3, .h3, .legacy_h3 {
    font-size: clamp(1.875rem, 7vw, 2.5rem);
}

h4, .h4, .legacy_h4 {
    font-size: clamp(1.6875rem, 7vw, 2.1875rem);
}

h5, .h5, .legacy_h5 {
    font-size: clamp(1.5625rem, 7vw, 1.875rem);
}

h6, .h6, .legacy_h6 {
    font-size: clamp(1.4375rem, 7vw, 1.5625rem);
}

/* #endregion ---------------------------------- h1 - h6, newslink ------------------------------ */

/* #region --------------------------------------- footer --------------------------------------- */

footer {
    font-size: 1rem;
}

#footer {
    padding: clamp(30px, 8vw, 45px) 0 clamp(30px, 8vw, 40px) 0;
    background-color: #2c426c;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 9;
}

#footer,
#footer :is(h1, h2, h3, h4, h5, h6, a) {
    color: #fff;
}

#footer :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.625rem;
    margin-bottom: 2px;
}

.iframetab iframe,
.iframetab .iframe-wrapper-manual-enabling {
    min-width: 100% !important;
    width: 100% !important;
    display: block;
}

@media (min-width: 1200px) {
    #footer>.row::after {
        content: '';
        position: absolute;
        pointer-events: none;
        bottom: -112px;
        right: -85px;
        width: 366px;
        height: 344px;
        background: #ba3425;
    }
}

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

#innerfooter {
    padding: 24px 0;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: block;
}

@media (min-width: 576px) {
    #innerfooter li+li {
        margin-left: 30px;
    }

    #innerfooter li {
        display: inline-block;
    }
}

#innerfooter li a {
    color: #333333;
}

#innerfooter li a:hover,
#innerfooter li a:focus {
    color: #ba3425;
    text-decoration: underline;
}

@media (max-width: 575px) {
    #innerfooter li a {
        padding: 4px;
        display: inline-block;
    }
}

/* #endregion ------------------------------------ footer --------------------------------------- */

/* #region -------------------------------------- vernetzt -------------------------------------- */

#vernetzt {
    text-align: right;
    font-size: 0.8125rem;
    line-height: 1.3;
    margin: 0;
    font-weight: 400;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
    align-content: end;
    z-index: 12;
    position: relative;
}

#vernetzt span {
    display: block;
}

#vernetzt b {
    font-weight: 600;
}

#vernetzt img {
    margin-bottom: 14px;
}

/* #endregion -------------------------------- vernetzt ----------------------------------------- */

.contrast_light #tabs .tab-4,
.contrast_light_font #teams img,
.contrast_light_font #search_submit,
.contrast_dark #contrast_style button {
    background-color: #ffffff !important;
}

.contrast_dark_font #tabs .tab-4::after {
    display: none !important;
}