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

body {
    font-family: "Open Sans", sans-serif;
    color: #191919;
    background: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

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

a {
    color: #355f4c;
}

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


b,
strong {
    font-weight: 600;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo img {
        max-width: 100px;
        width: 100%;
    }
    .is-sticky #menu {
        background-color: #ffffff;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }
}

@media (min-width: 992px) {
    #style button {
        border: none;
        color: #fff;
        display: inline-block;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        font-weight: 400;
        text-align: center;
        background-color: #355f4c;
        position: relative;
        line-height: 1;
        -webkit-transition: transform all 150ms;
        -moz-transition: transform all 150ms;
        -ms-transition: transform all 150ms;
        -o-transition: transform all 150ms;
        transition: transform all 150ms;
    }

    #style button+button {
        margin-left: 8px;
    }

    #style button:hover {
        color: #191919;
        background-color: #d7eae1;
    }

    #style button:focus-visible {
        outline: 2px auto;
    }
}

/* ------------------------------------------- navigation ------------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 13px;
        display: block;
        width: 48px;
        height: 48px;
        border-radius: 2px;
        padding: 8px 0 0 0 !important;
        cursor: pointer;
        background: #ffffff;
        border: none !important;
        border-radius: 4px;
        color: #355f4c;
        font-weight: 700;
        line-height: 1;
        text-transform: uppercase;
        text-align: center;
        -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    #burgerButtonInner {
        margin-bottom: 26px;
        display: inline-block;
    }

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

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

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

    #burgerButtonInner2,
    #burgerButton:after {
        -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;
    }

    #burgerButtonInner2 {
        top: 26px;
    }

    #burgerButton:after {
        top: 36px;
    }

    #burgerButtonInner2,
    #burgerButton:after {
        content: "";
        display: block;
        position: absolute;
        background: #355f4c;
        border-radius: 2px;
        width: 38px;
        height: 3px;
        left: 5px;
        font-size: 0;
    }

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

    .navbar-collapse {
        padding: 30px 0;
        top: 0;
        background: #fff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        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;
    }
}

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

    .navbar-collapse.collapse.in:after {
        width: 40%;
    }

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

/* menu desktop */

@media (min-width: 992px) {
    #menu {
        background: #fff;
        position: relative;
        padding: 3px 0;
    }

    .is-sticky #menu {
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.08);
    }

    nav.horizontally .navbar-nav {
        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 li[class*="toplevel"]>ul {
        position: absolute;
        top: 100%;
        left: -300px;
        right: 0;
        z-index: 1000;
        margin: 0;
        padding: 10px 25px;
        padding-top: 20px;
        padding-bottom: 20px;
        max-height: 60vh;
        overflow: visible;
        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;
    }

    nav.horizontally li[class*="toplevel"]>ul::after {
        content: "";
        display: block;
        position: absolute;
        width: 100vw;
        z-index: -1;
        -moz-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        left: 50%;
        top: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.9);
        -webkit-box-shadow: 0 8px 8px 0 rgba(84, 73, 73, 0.1);
        box-shadow: 0 8px 8px 0 rgba(84, 73, 73, 0.1);
    }

    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
        -webkit-column-gap: 30px;
        -moz-column-gap: 30px;
        column-gap: 30px;
        max-width: 992px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 15px;
        height: auto;
    }

    nav.horizontally li[class*="secondlevel"] {
        float: none;
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
        break-inside: avoid;
        display: table !important;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        top: 100%;
        z-index: 1003;
    }

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

    .nav li[class*="toplevel"].open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }


    .nav li[class*="secondlevel"]>.dropdown-menu{
        display: block !important;
    }

    #mCSB_1_scrollbar_vertical {
        left: 50%;
        margin-left: calc(962px/2);
    }
}

@media (min-width: 1200px) {

    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        max-width: 1200px;
        padding-top: 25px;
        padding-bottom: 45px;
    }

    #mCSB_1_scrollbar_vertical {
        margin-left: calc(1170px/2);
    }
}

nav.horizontally li[class$="_end"],
nav.horizontally li[class$="_start"] {
    display: none;
}

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

.navbar-default li[class*="toplevel"]>a {
    color: #191919;
    font-weight: 700;
    text-align: left;
    padding: 10px 15px 15px 15px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    .navbar-default li[class*="toplevel"] {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>a {
        padding: 20px 2px;
    }
}

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

/* -------------------------------------------- toplevel-over ------------------------------------------- */
.navbar-default li[class*="toplevel"]:hover>a,
.navbar-default li[class*="toplevel"]>a:hover,
.navbar-default li[class*="toplevel"]>a:focus,
.navbar-default li[class*="toplevel"].open>a,
.navbar-default li[class*="toplevel"].open>a:hover,
.navbar-default li[class*="toplevel"].open>a:focus,
.navbar-default li[class*="toplevel"][class$="_over"]>a,
.navbar-default li[class*="toplevel"][class$="_over"]>a:hover,
.navbar-default li[class*="toplevel"][class$="_over"]>a:focus {
    color: #355f4c;
}

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

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

@media (max-width: 991px) {

    .navbar-default li[class*="toplevel"]>.dropdown-menu,
    .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
        padding: 10px;
        background: rgba(255, 255, 255, 0.8);
    }
}

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
        display: block;
    }
}

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

.navbar-default li[class*="secondlevel"]>a,
.navbar-default li[class*="thirdlevel"]>a {
    color: #191919;
    text-align: left;
    padding: 8px 35px 8px 15px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default li[class*="secondlevel"]>a {
    font-weight: 700;
}

.navbar-default li[class*="thirdlevel"]>a {
    font-weight: 400;
}

@media (min-width: 992px) {
    .navbar-default li[class*="secondlevel"]>a {
        padding: 20px 0 2px;
    }

    .navbar-default li[class*="thirdlevel"]>a {
        padding: 5px 0 5px 10px;
    }
}

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

.navbar-nav li[class*="secondlevel"]:hover>a,
.navbar-nav li[class*="secondlevel"]>a:hover,
.navbar-nav li[class*="secondlevel"]>a:focus,
.navbar-nav li[class*="secondlevel"].open>a,
.navbar-nav li[class*="secondlevel"].open>a:hover,
.navbar-nav li[class*="secondlevel"].open>a:focus,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:hover,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:focus,
.navbar-nav li[class*="thirdlevel"]>a:hover,
.navbar-nav li[class*="thirdlevel"]>a:focus,
.navbar-nav li[class*="thirdlevel"].open>a,
.navbar-nav li[class*="thirdlevel"].open>a:hover,
.navbar-nav li[class*="thirdlevel"].open>a:focus,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:hover,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:focus {
    color: #355f4c;
}


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

#slider {
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

@media (min-width: 992px) {
    #slider {
        max-height: 400px;
    }

    #headerpic {
        background-color: #000;
    }
}

#headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
    overflow: hidden;
}

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

@media (min-width: 992px) {
    .index .slider-mask {
        display: block;
        background: url('../img/overlay-banner.png') no-repeat left top;
    }
}

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

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

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

    #headerpic .nivo-directionNav a:hover,
    #headerpic .nivo-directionNav a:focus {
        background: #21242a;
    }

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

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

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

    #headerpic .nivo-directionNav a::after {
        height: 8px;
        width: 8px;
        top: 50%;
        margin-top: -5px;
        -moz-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        -webkit-transition: border-color 300ms linear;
        -moz-transition: border-color 300ms linear;
        -ms-transition: border-color 300ms linear;
        -o-transition: border-color 300ms linear;
        transition: border-color 300ms linear;
    }

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

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

    #headerpic a.nivo-prevNav::before {
        right: 16px;
    }

    #headerpic a.nivo-prevNav::after {
        right: 22px;
        border-left: 2px solid #21242a;
        border-bottom: 2px solid #21242a;
    }

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

    #headerpic a.nivo-nextNav::before {
        left: 16px;
    }

    #headerpic a.nivo-nextNav::after {
        left: 22px;
        border-right: 2px solid #21242a;
        border-top: 2px solid #21242a;
    }
}


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

@media (min-width: 992px) {
    #headerpic .nivo-controlNav {
        font-size: 0;
        max-width: 992px;
        text-align: right;
        left: 50%;
        bottom: 60px;
        -moz-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        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;
        -webkit-transition: opacity 300ms linear;
        -moz-transition: opacity 300ms linear;
        -ms-transition: opacity 300ms linear;
        -o-transition: opacity 300ms linear;
        transition: opacity 300ms linear;
    }

    #headerpic .nivo-controlNav a::before,
    #headerpic .nivo-controlNav 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: 30px;
    }
}

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

#overlay {
    font-weight: 600;
    font-style: italic;
    font-size: calc(16px + (24 - 16) * (100vw - 320px) / (1920 - 320));
    pointer-events: none;
}

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

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

@media (max-width: 1399px) {
    #overlay {
        bottom: 30px;
    }
}

@media (min-width: 1400px) {
    #overlay {
        bottom: 80px;
    }
}

#overlay>.row {
    pointer-events: all;
}

@media (min-width: 1200px) {
    #overlay>.row {
        max-width: 1390px;
        width: 100%;
    }
}

#overlay h1,
#overlay h2,
#overlay h3,
#overlay h4,
#overlay h5,
#overlay h6 {
    color: #191919;
    font-size: clamp(2.5rem, 3vw, 5rem);
    text-transform: uppercase;
    line-height: 1.1;
}

@media (min-width: 992px) {

    #overlay h1,
    #overlay h2,
    #overlay h3,
    #overlay h4,
    #overlay h5,
    #overlay h6 {
        color: #191919;
    }

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

#overlay h1 i,
#overlay h1 em,
#overlay h2 i,
#overlay h2 em,
#overlay h3 i,
#overlay h3 em,
#overlay h4 i,
#overlay h4 em,
#overlay h5 i,
#overlay h5 em,
#overlay h6 i,
#overlay h6 em {
    font-size: calc(22px + (50 - 22) * (100vw - 320px) / (1920 - 320));
    display: block;
}

/* --------------------------------------------- button design --------------------------------------------- */

#overlay a {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid #ffffff;
}

@media (max-width: 991px) {

    #overlay a {
        background: #21242a;
    }
}

#overlay 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: 8px 20px;
    text-decoration: none;
    -webkit-transition: background 300ms linear 300ms, border 300ms linear 300ms;
    -moz-transition: background 300ms linear 300ms, border 300ms linear 300ms;
    -ms-transition: background 300ms linear 300ms, border 300ms linear 300ms;
    -o-transition: background 300ms linear 300ms, border 300ms linear 300ms;
    transition: background 300ms linear 300ms, border 300ms linear 300ms;
}

@media (min-width: 992px) {

    #overlay a {
        padding: 10px 35px;
    }
}

#overlay a::after {
    background: #355f4c;
}

#overlay a::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    pointer-events: none;
    text-decoration: none;
    -webkit-transition: width 300ms linear;
    -moz-transition: width 300ms linear;
    -ms-transition: width 300ms linear;
    -o-transition: width 300ms linear;
    transition: width 300ms linear;
}

#overlay a:hover,
#overlay a:focus {
    background: #355f4c;
    border-color: #355f4c;
}

#overlay a:hover::after,
#overlay a:focus::after {
    width: 100%;
}

#overlay a+a {
    margin-left: 15px;
}

@media (min-width: 768px) {

    #overlay a+a {
        margin-left: 30px;
    }
}

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

#content {
    text-align: left;
    padding-bottom: 30px;
    padding-top: 30px;
    background: linear-gradient(to bottom, rgba(244,236,219,1) 0%,rgba(217,220,178,1) 100%);
    border-top: 10px solid #fff;
    border-bottom: 10px solid #fff;
}

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

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #355f4c;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Jost", sans-serif;
}

h1,
.h1,
.legacy_h1 {
    font-size: 2.375rem;
}

@media (min-width: 768px) {

    h1,
    .h1,
    .legacy_h1 {
        font-size: 3.125rem;
    }
}

h2,
.h2,
.legacy_h2 {
    font-size: 2rem;
}

@media (min-width: 768px) {

    h2,
    .h2,
    .legacy_h2 {
        font-size: 2.5rem;
    }
}

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

h4,
.h4,
.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
.legacy_h4 {
    font-size: 1.7rem;
}

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

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

#newslinks,
#newsmandate {
    border: 1px solid #2e3c48;
}


/* ----------------------------------------------- nw2 ----------------------------------------------- */

#nw2 {
    background: linear-gradient(180deg, rgba(107,179,154,1) 0%, rgba(151,201,147,1) 100%);
    color: #191919;
    padding-bottom: 40px;
    padding-top: 40px;
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

@media (min-width: 1600px) {
    #nw2::before {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        right: 20%;
        height: 128px;
        width: 168px;
        background: url('../img/icon-fussballspieler.png') bottom right no-repeat;
    }
}

@media (min-width: 992px) {
    #nw2 {
        padding-bottom: 60px;
        padding-top: 60px;
    }
    #nw2::after {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        height: 100%;
        width: 320px;
        z-index: -1;
        background-size: cover;
    }
}

#nw2 .specialHeadline {
    position: relative;
}

#nw2 .specialHeadline h1,
#nw2 .specialHeadline h2,
#nw2 .specialHeadline h3 {
    color: #191919;
    font-size: clamp(1.25rem, 10vw, 3.125rem);
    font-weight: 600;
    margin-bottom: 15px;
}

@media (max-width: 991px) {
    #nw2 .specialHeadline {
        margin-bottom: 30px;
    }
}

@media (min-width: 768px) {
    #nw2 .tab_link_entries {
        -ms-flex-wrap: wrap;
        display: -ms-flexbox;
        display: -webkit-box;
        display: flex;
        flex-wrap: wrap;
    }
}

@media (min-width: 992px) {
    #nw2 .tab_link_entries {
        padding-right: 100px;
        position: relative;
    }
}

#nw2 .tab_link_entry {
    -webkit-box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);
    background: linear-gradient(180deg, rgba(53,95,76,1) 40%, rgba(113,143,93,1) 100%);
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);
    padding: 20px;
    width: 100%;
    color: #fff;
}

@media (min-width: 768px) {
    #nw2 .tab_link_entry {
        padding: 35px 25px;
        width: calc(50% - 15px);
    }

    #nw2 .tab_link_entry:nth-child(2n+1) {
        margin-right: 15px;
    }

    #nw2 .tab_link_entry:nth-child(2n+2) {
        margin-left: 15px;
    }
}

#nw2 .tab_link_entry+.tab_link_entry {
    margin-top: 30px;
}

@media (min-width: 768px) {
    #nw2 .tab_link_entry:nth-child(2) {
        margin-top: 0;
    }
}

#nw2 .tab_link_mehr {
    color: transparent;
    font-size: 0;
    margin-top: 30px;
}

@media (min-width: 992px) {
    #nw2 .tab_link_mehr {
        margin-top: 0;
    }
}

#nw2 .tab_link_mehr a {
    background: #355f4c;
    color: #ffffff;
    display: inline-block;
    font-weight: 600;
    line-height: 0.5;
    padding: 8px 10px 10px 10px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
}

@media (min-width: 992px) {
    #nw2 .tab_link_mehr a {
        align-content: center;
        align-items: center;
        bottom: 0;
        display: flex;
        justify-content: center;
        position: absolute;
        right: 15px;
        top: 0;
        width: 70px;
    }
}

#nw2 .tab_link_mehr a:hover,
#nw2 .tab_link_mehr a:focus {
    background: #27513e;
}

#nw2 .tab_link_mehr a::after {
    content: "»";
    font-size: 60px;
}

@media (min-width: 992px) {
    #nw2 .tab_link_mehr a::after {
        margin-top: -8px;
    }
}

#nw2 .tab_link_title a {
    color: #ffffff;
    font-size: 1.625rem;
    font-weight: 600;
    line-height: 1.1;
}


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

footer {
    background-color: #355f4c;
    padding-top: 12px;
    padding-bottom: 12px;
}

@media (min-width: 768px) {
    footer .row {
        align-content: center;
        align-items: center;
    }
}

@media (max-width: 767px) {
    #innerfooter {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

@media (max-width: 575px) {
    #innerfooter li {
        display: block;
        line-height: 2;
    }
}

#innerfooter a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

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

@media (min-width: 576px) {
    #innerfooter li+li::before {
        content: "";
        margin: 0 6px;
    }
}

@media (min-width: 992px) {
    #innerfooter li+li::before {
        margin: 0 20px;
    }
}

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

#vernetzt {
    text-align: right;
    font-size: 0.9375rem;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 auto;
    text-decoration: none;
}

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

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

#vernetzt img {
    margin-left: 12px;
}