@import url('https://fonts.verwaltungsportal.de/import/?family=Montserrat:300,300i,400,400i,600,600i,700,700i%7CExo:400,400i,700,700i');
@import url("https://fonts.verwaltungsportal.de/import/?family=Abril+Fatface:400");

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

body {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    color: #2e2e2e;
    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: #00847e;
}

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

b,
strong {
    font-weight: 600;
}

:is(#topbar, main, #quote, #footer) a {
    font-weight: 600;
    text-decoration: underline;
}

#overflow {
    overflow: clip;
}

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

#logo {
    display: inline-block;
    padding: 10px 0;
    color: #ffffff;
    text-decoration: none !important;
    font-weight: 400;
    line-height: 1;
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-family: "Abril Fatface", serif;
}

#logo p:first-of-type {
    letter-spacing: 3px;
}

#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo img {
        max-width: calc(100vw - 120px);
        width: 100%;
    }

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

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


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

/* burgermenu for tablet */

@media (max-width: 991px) {
    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: #367870;
        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: #367870;
        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: 8px;
        right: 0;
    }

    .dropdown-toggle-button-wrapper2 {
        top: 6px;
        right: 0;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        transition: background 300ms linear;
        padding-top: 20px;
    }

    nav.horizontally>.row {
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }

    .is-sticky nav.horizontally {
        left: auto !important;
        background: #000000;
    }

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

    .is-sticky nav.horizontally .navbar-nav {
        border-top-color: transparent;
    }

    nav.horizontally li[class*="toplevel"] {
        flex-grow: 1;
    }

    nav.horizontally [class*="toplevel"]>ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }

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

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

    nav.horizontally .navbar-nav li :is([class*="toplevel"]>ul, [class*="secondlevel"]>ul) {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 300ms linear;
    }

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

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

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

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    padding: 14px 5px;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
    transition: border 300ms linear;
    font-family: "Abril Fatface", serif;
}

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

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

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

    nav.horizontally li[class*="toplevel"]+li {
        border-left: 1px solid rgba(255, 255, 255, 0.3);
    }
}

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

@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"]::after {
        top: -23px;
        background: #fdc652;
        bottom: auto;
    }
}

/* toplevel-over */

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

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 */

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

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

@media(min-width: 992px) {
    nav.horizontally [class*="toplevel"] ul {
        padding: 18px 30px;
    }

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):not(:nth-child(2)) {
    border-top: 1px solid #2e2e2e;
}

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

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

/* secondlevel + thirdlevel over */

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

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

/* #region ------------------------------------- resp-gaps -------------------------------------- */

#topbar .row {
    row-gap: 25px;
}

:is(#headerpic, #footer)>.row {
    row-gap: 40px;
}

/* #endregion ---------------------------------- resp-gaps -------------------------------------- */

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

#headerpic {
    background: #172830;
    position: relative;
    min-height: 450px;
}

@media (min-width: 992px) {
    body.index #headerpic {
        min-height: 705px;
    }
}

#headerpic>*:not(.slider-wrapper):not(.sticky-wrapper):not(nav.horizontally) {
    position: relative;
    z-index: 10;
}

.theme-default .nivo-controlNav a {
    color: #ffffff;
    text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* banner */

#slider {
    position: relative;
    height: 100%;
}

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

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

@media (max-width: 1199px) {
    #headerpic a:is(.nivo-prevNav, .nivo-nextNav) {
        top: auto;
        bottom: 8px;
        z-index: 51;
    }
}

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

.slider-mask {
    display: block;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 220px, rgba(255, 255, 255, 0));
}

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

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

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

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

#content-area {
    text-align: left;
    padding: clamp(40px, 4vw, 60px) 0 clamp(40px, 8vw, 90px) 0;
}

/* ----------------------------------------------- @1nw news -------------------------------------------- */

#nw1 {
    padding-top: 60px;
    padding-bottom: 120px;
}

#nw1 .specialHeadline :is(h1, h2, h3, h4, h5, h6) {
    color: #ee89bb;
    font-size: clamp(1.875rem, 6vw, 2.5rem);
    margin-bottom: 0;
}

#nw1 .specialHeadline a {
    background-color: #fdc652;
    padding: 6px 16px;
    color: #2e2e2e;
    position: relative;
    text-decoration: none;
}

#nw1 .specialHeadline a:is(:hover, :focus) {
    background-color: #00847e;
    color: #fff;
}

#nw1 .specialHeadline a::after {
    content: '\2192';
    display: inline-block;
    padding-left: 10px;
}

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

#nw1 .tab,
#nw1 .tab_link,
#nw1 .tab_link>div {
    height: 100%;
    min-height: 100%;
}

#nw1 .tab_link_entries {
    display: grid;
    gap: 30px;
}

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

@media (min-width: 768px) {
    #nw1 .tab_link_entries {
        grid-template-columns: repeat(3, 1fr);
    }

    #nw1 .tab_link_entry:nth-of-type(2),
    #nw1 .tab_link_entry:nth-of-type(5) {
        margin-bottom: -75px;
        margin-top: 75px;
    }
}

#nw1 .tab_link_entry {
    font-size: 1rem;
    position: relative;
    width: 100%;
    padding: 240px 30px 30px 30px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

#nw1 .vorschau {
    opacity: 1;
}

#nw1 .tab_preview_picture {
    background: #ffffff;
}

#nw1 .tab_link_entry::before,
#nw1 .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 200px;
    overflow: hidden;
}

#nw1 .tab_link_entry::before {
    content: "";
    background: center / cover no-repeat, #ee89bb;
}

#nw1 .tab_preview_picture img {
    position: absolute;
    margin: 0 !important;
    left: 50%;
    top: 50%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    max-width: 350px;
    width: auto;
    height: auto;
    -ms-interpolation-mode: bicubic;
    transform: translateX(-50%) translateY(-50%);
}

#nw1 .tab_link_title a {
    display: block;
    font-weight: 400;
    font-size: 1.5rem;
    color: #2e2e2e;
    line-height: 1.2;
    margin-bottom: 8px;
    font-family: "Abril Fatface", serif;
    text-decoration: none;
}

#nw1 .tab_link_entries+div,
#nw1 .tab_link_entries .tab_spacer {
    display: none;
}

#nw1 .tab_link_mehr {
    font-size: 0;
    text-align: left !important;
}

#nw1 .tab_link_mehr a {
    margin-top: 30px;
    text-decoration: none;
    display: inline-block;
    color: #eb5b25;
    outline: 2px solid #eb5b25;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 6px 16px;
}

#nw1 .tab_link_mehr a:hover {
    color: #1c1c1c;
    background-color: #eb5b25;
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #312783;
    font-weight: 400;
    line-height: 1.2;
    font-family: "Abril Fatface", serif;
    margin-bottom: 15px;
}

h1,
.h1,
.legacy_h1 {
    font-size: clamp(1.875rem, 6vw, 2.5rem);
}

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

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

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

h4,
.h4,
.legacy_h4 {
    font-size: 1.625rem;
}

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

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

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

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

#social {
    padding: 15px 0;
}

#sponsoren {
    padding: 25px 0;
}

#sponsoren .tab {
    font-size: 1rem;
    background: #ffffff;
}

#sponsoren .tab :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.25rem;
    font-weight: 700;
    color: #444444;
}

#sponsoren img {
    display: block;
    margin: 0 auto;
}

/* ----------------------------------------------- @5f footer ----------------------------------------------- */

#f5 {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #2e2e2e;
}

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

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

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

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

#innerfooter li+li::before {
    content: "";
    margin: 0 6px;
}

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

@media (max-width: 767px) {
    #innerfooter li {
        display: block;
        text-align: center;
        padding: 5px;
        margin: 0;
    }

    #innerfooter li+li::before {
        display: none;
    }
}

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

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

#vernetzt span span {
    display: block;
}