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

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

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

a {
    color: #ab1f12;
}

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

:is(main, #header-text) a,
b,
strong {
    font-weight: 500;
}

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

#overflow {
    overflow: clip;
}

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

#logo,
#logo2 {
    display: flex;
    background: #ffffff;
    padding: 20px 12px;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2);
    align-items: center;
    justify-content: center;
    justify-content: center;
}

@media (max-width: 991px) {
#logo2 {
    display: inline-block;
}
}

#logo img {
    display: block;
}

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

    #logo2 img {
        max-width: calc(100vw - 120px);
        width: 100%;
    }

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

@media (min-width: 576px) {
    #logo2 img {
        max-height: 163px;
    }
}

@media (min-width: 992px) {
    #logo {
        width: 170px;
        margin-right: 45px;
        margin-bottom: clamp(15px, 4vw, 32px);
    }

    #logo img {
        max-width: 146px;
    }
}

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

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

#topbar {
    padding: 17px 0;
    font-size: 1rem;
    line-height: 1;
}

#contrast_style h2 {
    font-weight: 500;
    font-size: inherit;
    font-family: inherit;
    color: inherit;
    display: inline-block;
    width: auto;
    margin: 0;
    padding: 0 2px 0 0;
}

@media (min-width: 992px) {
    #contrast_style {
        margin-left: 200px;
        margin-right: 90px;
    }
}

#contrast_style button {
    color: #000000;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.6);
    font-family: "Khand", sans-serif;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-weight: 400;
    text-align: center;
    background: #ffffff;
    position: relative;
    z-index: 1;
    font-size: 0;
}

#contrast_style button::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: -6px;
    top: -6px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    -webkit-transition: opacity 150ms linear;
    -moz-transition: opacity 150ms linear;
    -ms-transition: opacity 150ms linear;
    -o-transition: opacity 150ms linear;
    transition: opacity 150ms linear;
}

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

#contrast_style button::after {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    right: 3px;
    left: 3px;
    bottom: 3px;
    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;
}

/* styler */

#style h2 {
    font-weight: 500;
    font-size: inherit;
    font-family: inherit;
    color: inherit;
    display: inline-block;
    width: auto;
    margin: 0;
    padding: 0 2px 0 0;
}

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

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

    #style button:is(:hover, :focus) {
        border-color: #ab1f12;
    }
}

/* search */

#search {
    background: #ffffff;
    position: relative;
    color: #191919;
    max-width: 330px;
}

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

@media (min-width: 992px) {
    #search {
        margin-left: 200px;
        margin-right: 90px;
    }
}

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

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

    #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='%23ab1f12'/%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;
    transition: background-color 300ms linear;
}

:is(#search_submit, #search_input):is(:hover, :focus) {
    background-color: #d3d7e0;
}

#search_input::placeholder {
    color: #191919 !important;
    opacity: 0.7 !important;
    font-style: italic !important;
}

.contrast_dark #search_input {
    background: rgb(255, 255, 255) !important;
}

/* #endregion ----------------------------------- topbar ---------------------------------------- */

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

/* burgermenu for tablet */

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

    nav.horizontally {
        position: static !important;
    }

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

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #ab1f12;
        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 {
        padding: 20px 10px;
    }

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #ab1f12;
        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: 11px;
    }

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

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        position: relative;
        z-index: 10;
        transition: background 300ms linear, padding 300ms linear;
    }

    .is-sticky nav.horizontally {
        background: #ab1f12;
        border-bottom: 1px solid #ffffff;
    }

    nav.horizontally .navbar-nav {
        position: relative;
        padding-top: 38px;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

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

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

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

    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;
    }

    .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;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]:hover>u {
        z-index: 1003;
    }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    font-family: "Oswald", sans-serif;
    color: #ffffff;
    font-weight: 700;
    text-align: left;
    padding: 14px 15px;
    position: relative;
    font-size: 1.125rem;
    text-transform: uppercase;
    line-height: 1.2;
    text-decoration: none;
    transition: border 300ms linear;
}

@media (max-width: 991px) {
    nav.horizontally li[class*="toplevel"]+li {
        margin-top: 1px;
    }

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

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

    nav.horizontally a[class*="toplevel"] {
        padding: 18px 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
        font-size: 1.25rem;
    }


}

nav.horizontally a[class*="toplevel"]::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 0;
    height: 4px;
    width: 0;
    background: #fff;
    transform: translateX(-50%);
    transition: width 300ms linear;
}

/* toplevel-over */

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 {
    width: 100%;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu {
    background: #d3d7e0;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background: #d3d7e0;
}

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

@media(min-width:992px) {

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

    .navbar-default .navbar-nav>li>.dropdown-menu {
        left: 50%;
        -moz-transform: translate(-50%, 0);
        -webkit-transform: translate(-50%, 0);
        -o-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }

    .navbar-default .navbar-nav>li>.dropdown-menu::after {
        content: "";
        display: block;
        position: absolute;
        left: 50%;
        top: -20px;
        margin-left: -20px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 20px 20px 0 20px;
        border-color: #ffffff transparent transparent transparent;
        -webkit-transition: top 150ms linear;
        -moz-transition: top 150ms linear;
        -ms-transition: top 150ms linear;
        -o-transition: top 150ms linear;
        transition: top 150ms linear;
    }

    .navbar-default .navbar-nav>li:hover>.dropdown-menu::after {
        top: 0;
    }

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

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        top: 0;
        bottom: 0;
        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: #191919;
    font-weight: 400;
    text-align: left;
    padding: 8px 25px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    hyphens: auto;
}

@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;
        padding: 13px 25px;
    }
}

/* ------------------------------------------ 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>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: #ab1f12;
    color: #fff;
}

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

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

#headerpic,
#news,
#tabs,
footer,
#info-bg {
    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: #ab1f12;
    position: relative;
}

/* header text */

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

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

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

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

#header-text :is(b, strong) {
    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: 576px) {
#header-text::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    right: -240px;
    bottom: -10px;
    width: 339px;
    height: 31vw;
    background: url('../img/freisteller-feuerwehrmann.png') bottom -30px right / contain no-repeat;
}
}


@media (max-width: 1199px) {
    #header-text::after {
        right: 0;
        bottom: 0;
        height: 100%;
    }
}

.contrast_dark_font #header-text article {
    background-color: #fff !important;
}

/* info tab */

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

#info-tab :is(h1, h2, #info-headline) {
    color: #ab1f12;
    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: linear-gradient(to bottom, #ab1f12, rgba(171, 31, 18, 0.7));
}

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

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

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

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

#content-area {
    position: relative;
    text-align: left;
    padding: clamp(40px, 6vw, 70px) 0 clamp(40px, 10vw, 120px) 0;
}

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

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

#news {
    padding: clamp(40px, 6vw, 70px) 0;
    position: relative;
    z-index: 1;
    background-color: #d3d7e0;
    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 {
    color: #191919;
}


#news :is(h1, h2, h3, h4, h5, h6) {
    color: #ab1f12;
}

#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: #ab1f12;
}

#news .tab_link_entries {
    display: flex;
}

@media (max-width: 575px) {
    #news .tab_link_entries {
        flex-wrap: wrap;
    }
}

#news .tab_link_entry {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    background: #ab1f12;
    padding: clamp(215px, 12vw, 240px) clamp(15px, 4vw, 30px) clamp(30px, 4vw, 55px) clamp(15px, 4vw, 30px);
    display: flex;
    flex-direction: column;
    border: none !important;
    color: #fff !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: #ffffff 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='%23ab1f12'/%3E%3C/svg%3E") center / 25px auto no-repeat;
}

@media (min-width: 576px) {
    #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,
    #news .tab_link_entry:first-child .tab_link_title a::before {
        width: calc(100% - 1px);
    }
}

#news .tab_link_entry .tab_preview_picture,
#news .tab_link_entry .tab_link_title a::before {
    height: 190px;
    top: 0;
    left: 0;
    width: 100%;
    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 .tab_link_title a::before {
    content: "";
    background: url('../img/meldungen-platzhalter.jpg') center / cover no-repeat;
}

#news .tab_link_title {
    line-height: 1.2;
    font-size: clamp(1.125rem, 0.5rem, 1.25rem);
    color: #fff;
}

#news .tab_link_title a {
    color: #fff;
}

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

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

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

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

/* #region --------------------------------- teams + sponsors ----------------------------------- */

#teams-bg,
#sponsors-bg {
    position: relative;
}

@media (min-width: 992px) {
    #teams-bg {
        min-height: 430px;
    }

    #teams>.row {
        position: relative;
    }
}

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

:is(#teams, #sponsors) :is(.teams-headline, .sponsors-headline) {
    color: #ab1f12;
}

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

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

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

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

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

.contrast_dark #teams img {
    background-color: #fff !important;
}

#teams a::after {
    content: "\00BB";
    display: inline-block;
    margin-left: 5px;
}

#sponsors img {
    margin: clamp(5px, 1vw, 20px) 8px 0 8px;
}

#sponsors>.row {
    position: relative;
}

@media (min-width: 768px) {
    #sponsors>.row:last-child::before {
        content: '';
        display: block;
        position: absolute;
        bottom: -122px;
        left: -270px;
        width: 479px;
        height: 363px;
        background: url('../img/freisteller-drei-feuerwehr-leute.png') no-repeat;
    }
}

/* #endregion ------------------------------ teams + sponsors ----------------------------------- */

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

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

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

#tabs .tab-1 {
    background: #ab1f12;
}

#tabs .tab-1 a:not(.has-image) {
    color: #fff;
    font-size: clamp(1.5625rem, 4vw, 3.125rem);
    display: inline-block;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
}

#tabs .tab-2 a:not(.has-image) {
    color: #ab1f12;
    font-size: clamp(20px, 3vw, 2.1875rem);
    display: inline-block;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    text-decoration: none;
}

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

#tabs :is(.tab-1, .tab-2, .tab-3) :is(h1, h2, h3, h4, h5, h6) {
    color: #ab1f12;
}

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

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





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

#tabs .tab-4 :is(h1, h2, h3, h4, h5, h6) {
    color: #ab1f12;
    font-size: clamp(20px, 3vw, 2.5rem);
}

#tabs .tab-4 {
    color: #191919;
}

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

#tabs .tab-image .banner {
    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 --------------------------------------- buttons -------------------------------------- */

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

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

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

.button-design a:not(.has-image):is(:hover, :focus) {
    z-index: 1;
    background: #89190e;
}

.button-design.button-design-2 a:not(.has-image) {
    color: #ffffff;
    background: #ab1f12;
    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: #89190e;
    text-align: center;
    line-height: 2.4;
}

.button-design a:not(.has-image):is(:hover, :focus)::after {
    background: #ab1f12;
}

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

#info-bg {
    background-attachment: fixed;
    background-size: cover;
}

#info {
    padding: 60px 0;
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #ab1f12;
    font-weight: 700;
    line-height: 1.12;
    font-family: "Oswald", sans-serif;
    margin-bottom: 15px;
}

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

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

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
    font-size: clamp(1.6875rem, 4.5vw, 2.1875rem);
}

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

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

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

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

footer {
    font-size: 1rem;
}

#footer {
    padding: clamp(40px, 8vw, 80px) 0 clamp(40px, 8vw, 70px) 0;
    background: #ab1f12;
    position: relative;
    z-index: 9;
}

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

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

#innerfooter {
    padding: 24px 0;
}

#innerfooter ul {
    padding: 0;
}

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

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

#innerfooter li a {
    color: inherit;
}

#innerfooter li a:is(:hover, :focus) {
    color: #89190e;
}

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

#footer #social-media img+img,
#footer a.has-image+a.has-image {
    margin-left: 10px;
}

#footer #social-media+#vernetzt {
    margin-top: 20px;
}

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

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

#footer #vernetzt {
    gap: 14px;
    text-align: right;
    font-size: 0.8125rem;
    line-height: 1.3;
    margin: 0;
    font-weight: 400;
    text-decoration: none;
}

#footer #vernetzt span {
    display: block;
}

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

#counter {
    border: 1px solid #191919;
    padding: 8px 14px;
    color: #191919;
    display: inline-block;
}

@media (max-width: 991px) {
    #counter {
        margin-top: 30px;
    }
}

#counter-l,
#counter-r {
    display: inline-block;
}


#newsletterInputs {
    height: 36px;
    background: #ab1f12;
    display: inline-block;
    position: relative;
    border: 2px solid #fff;
    margin-top: 10px;
}

#newsletter_input {
    color: #fff;
    font-size: 16px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 33px;
    padding-left: 10px;
    padding-right: 43px;
    height: 33px;
    width: 100%;
}

#newsletter_submit {
    width: 33px;
    background: url('../img/icon-mail.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 33px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    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;
}

#newsletter_submit:hover {
    background-color: #143e3e;
}

#newsletter_input::-ms-input-placeholder {
    color: #bdcdcd !important;
}

#newsletter_input::-webkit-input-placeholder {
    color: #bdcdcd !important;
}

#newsletter_input::-moz-placeholder {
    opacity: 1;
}

#newsletter_input:-moz-placeholder {
    opacity: 1;
}