@import url('https://fonts.verwaltungsportal.de/import/?family=Open+Sans+Condensed:300,300i,500,500i,700');
@import url('https://fonts.verwaltungsportal.de/import/?family=Open+Sans:300,400,600,700,800,300i,400i,600i,700i,800i');

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

body {
    font-family: 'Open Sans Condensed', Verdana, Helvetica, sans-serif;
    font-weight: 400;
    color: #000000;
    font-size: clamp(1rem, 2vw, 1.375rem);
    /* 1rem = 16px */
    line-height: 1.5;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

a {
    color: #c1510b;
}

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

b,
strong {
    font-weight: 00;
}



/* ------------------------------------------------- optionsBar ------------------------------------------------ */

#optionsWrapper {
    width: 100%;
    display: block;
    margin-left: auto;
    gap: clamp(8px, 2vw, 30px);
    align-items: center;
    margin-top: 30px;
    font-size: 1rem;
    color: #3c3c3c;
    font-weight: 600;
    font-family: "Open Sans Condensed", sans-serif;
    flex-wrap: wrap;
}

.language a {
    color: #3c3c3c;
}

.language a+a {
    margin-left: 16px;
}

#language2 .wrapElement {
    font-size: 0;
}

#language2.contrast_light_font a{
    background: #fff !important;
}

.language a+a::before {
    content: '';
    width: 2px;
    height: 22px;
    background: #3c3c3c;
    left: -8px;
    top: 50%;
    display: inline-block;
    position: absolute;
    transform: translateY(-50%);
}

.language img {
    display: inline-block;
    position: relative;
}

.activeLang {
    outline: 2px auto;
}

.wrapElement {
    background-color: #fff;
    width: fit-content;
    display: block;
    padding: 3px 10px;
    display: flex;
    align-items: center;
    min-height: 35px;
}

#optionsWrapper span {
    margin-right: 10px;
}

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

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

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

#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 !important;
    border: none;
    filter: none !important;
}

#contrast_style button:hover,
#contrast_style button:focus-visible {
    outline: 2px auto;
}

@media (min-width: 992px) {
    #style button {
        font-size: 18px;
        background: transparent;
        padding: 0;
        border: none;
        color: #3c3c3c;
        display: inline-block;
        font-weight: 700;
        text-align: center;
        position: relative;
        line-height: 1;
        transition: color 150ms linear;
    }

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

    #style button:hover {
        outline: 2px auto;
    }

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

    #style button:hover {
        color: #d13b00;
    }
}

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

#logo {
    display: inline-block;
}

#logo.contrast_light_font img {
    background: #fff;
}

#logo img {
    display: block;
}


@media (min-width: 1200px) {
    #logo {
        position: relative;
        top: -24px;

    }
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #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: #c1510b;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        transition: transform 200ms linear, opacity 200ms linear;
    }

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

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

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

    #burgerButtonInner {
        top: 16px;
    }

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

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

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

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

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


nav.horizontally {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px 0;
}

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        padding-bottom: 27px;
        padding-top: 7px;
    }

    nav.horizontally .navbar {
        border-top: 1px solid rgba(255, 255, 255, 0.5);
        margin-top: 10px;
        padding-top: 15px;
    }

    .horizontally>.row {
        max-width: 100%;
        width: 100%;
    }

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

    nav.horizontally .navbar-nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
    }

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

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

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

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

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

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #373737;
    font-weight: 700;
    text-align: left;
    padding: 10px 15px 15px 15px;
    position: relative;
    font-size: 1.1875rem;
    line-height: 1.2;
    text-decoration: none;
}

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

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

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

nav.horizontally a[class*="toplevel"]::before {
    content: "";
    width: 90%;
    height: 5px;
    display: block;
    position: absolute;
    opacity: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    background: #d13b00;
    transition: opacity 300ms linear;
    transition: none;
}

@media (max-width: 991px) {
    nav.horizontally a[class*="toplevel"]::before {
        width: 100%;
    }
}


/* 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: #d13b00;
    background-color: transparent;
}

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background-color: #f4f4f4;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

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

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

    nav.horizontally [class*="toplevel"]>ul {
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        left: 0;
    }

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #606060;
    font-weight: 400;
    text-align: left;
    padding: 8px 25px;
    font-size: 1.3125rem;
    line-height: 1.2;
    text-decoration: none;
    transition: none;
}

@media (min-width: 992px) {
    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
        border-top-right-radius: 30px;
        border-bottom-right-radius: 30px;
    }
}

@media(max-width:991px) {
    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
        text-align: left;
    }

    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) {
    background: #d13b00;
    color: #fff;
}

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

#headerpic {
    height: 100%;
    position: fixed;
    width: 100%;
    overflow: hidden;
    z-index: -1;
}

#headerpic #slider {
    height: 100%;
}

/* ------------------------------------------------ contactWrapper ----------------------------------------------- */

#contactWrapper {
    padding: clamp(30px, 4vw, 60px) 0 0 0;
}

@media (min-width: 992px) {
    .buttonElement {
        margin-bottom: 30px;
    }
}

.buttonElement a {
    max-width: 12.5rem;
    aspect-ratio: 1/1;
    border: 28px solid #3e5fbc;
    background-color: #fff;
    color: #d13b00;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    border-radius: 100%;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    font-size: clamp(1rem, 2vw, 1.5rem);
}

@media (max-width: 575px) {
    .buttonElement a {
        margin: 0 auto 30px auto;

    }
}

.buttonEl {
    position: relative;
    margin-left: 55px;
}

.buttonEl {
    background: #fff;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    padding: 7px 0;
    font-weight: 700;
    display: block;
    margin-bottom: 40px;
    position: relative;
    padding-left: 45px;
    padding-right: 30px;
    width: fit-content;
}

@media (max-width: 575px) {
    .buttonEl {
        width: calc(100% - 70px);
        margin-bottom: 48px;
    }
}

.buttonHome a {
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .buttonEl {
        min-width: 414px;
    }
}

.buttonEl::before {
    content: '';
    display: block;
    height: 85px;
    width: 85px;
    background: url('../img/tel.png')top right no-repeat;
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%)
}

.buttonMail::before {
    background: url('../img/mail.png')top right no-repeat;
}

.buttonHome::before {
    background: url('../img/haus.png')top right no-repeat;
}


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

body:not(.index) #content>.row {
    background: #fff;
    max-width: 1170px;
    width: 100%;
    box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.35);
    padding: 35px;
    margin-top: 27px;
}


.index #content>.row>div {
    margin-bottom: 30px;
}

.index #content .tabHeadline {
    background: #d45100bf url(../img/pattern.png) center center;
    color: #fff;
    display: block;
    font-size: 1.5625rem;
    font-weight: 700;
    font-family: "Open Sans Condensed", sans-serif;
    padding: 20px 20px;
    margin: 0;
}

.index #content .tabContent {
    min-height: 100%;
    padding: 20px;
}

.index #content .tab {
    box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.35);
    background: #fff;
    min-height: 100%;
}




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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #3a80d5;
    font-weight: 600;
    line-height: 1.2em;
    font-family: 'Open Sans', sans-serif;
}

h1,
.h1,
.legacy_h1 {
    font-size: clamp(1.875rem, 5.5vw, 2.5rem);
    text-transform: uppercase;
}

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

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

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

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

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


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

footer {
    background: #e86412 url(../img/pattern.png) center center;
    color: #ffffff;
}

footer>.row {
    background: rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    padding-bottom: 25px;
    max-width: 1170px;
    width: 100%;
}

@media (max-width: 767px) {
    footer .row>.col-xs-12:not(:first-child)::before {
        background: #000000;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 25px 0;
        opacity: 0.2;
    }

    footer .row>.col-xs-12.hidden-xs~.col-xs-12::before,
    footer .row>.col-xs-12.hidden-sm~.col-xs-12::before {
        display: none;
    }
}

#innerfooter {
    font-size: 1.375rem;
}

@media (min-width: 992px) {
    #innerfooter {
        padding-right: 20px;

    }
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: block;
}

#innerfooter a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
}

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

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

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

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

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

#vernetzt {
    gap: 10px;
    text-align: left;
    font-size: 0.75rem;
    color: #ffffff;
    line-height: 1.3;
    font-weight: 400;
    font-family: "Open Sans", sans-serif;
    text-decoration: none;
    text-shadow: 1px 2px 3px #00000073;
}

#vernetzt span span {
    display: block;
}