@import url('https://fonts.verwaltungsportal.de/css/?family=Jost:400,400i,600,600i%7CExo:400,400i,700,700i');
@import url("https://fonts.verwaltungsportal.de/css/?family=Hanken+Grotesk:400,400i,600,600i");

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

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

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

a {
    color: #d71e09;
}

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

#topbar a,
main a,
#quote a,
#footer a,
b,
strong {
    font-weight: 600;
}

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

#overflow {
    overflow: clip;
}

hr {
    opacity: 1;
    background: #9db5e0;
    margin: clamp(20px, 4vw, 40px) 0 clamp(20px, 4vw, 36px) 0;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

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

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

#topbar {
    padding: 12px 0;
    font-size: 0.875rem;
    color: #222222;
}



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

/* #topbar a {
    color: #222222;
} */

#topbar :is(b, strong, a) {
    font-size: 1rem;
}

/* contact col */

#phone-tab,
#mail-tab {
    padding-top: 42px;
    display: block;
    min-height: 42px;
    min-width: 42px;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: auto 34px;
}

@media (min-width: 576px) {

    #phone-tab,
    #mail-tab {
        padding-top: 0;
        padding-left: 48px;
        background-position: center left;
    }
}

#phone-tab {
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M38.75 40.9q-5.6 0-11.25-2.875T17.3 30.6q-4.55-4.55-7.4-10.175Q7.05 14.8 7.05 9.2q0-.95.625-1.575T9.25 7h5.7q.8 0 1.35.5t.75 1.35l1.2 5.35q.1.75-.05 1.35-.15.6-.6 1l-4.7 4.6q2.85 4.8 6.375 8.275Q22.8 32.9 27.35 35.4l4.5-4.7q.5-.55 1.125-.775.625-.225 1.325-.075l4.85 1.1q.8.15 1.3.75t.5 1.45v5.5q0 .95-.625 1.6-.625.65-1.575.65Zm-27-21.8 4.1-4q.1-.1.125-.225.025-.125.025-.225L14.9 9.6q-.05-.2-.15-.275-.1-.075-.25-.075H9.6q-.15 0-.225.075Q9.3 9.4 9.3 9.55q-.05 1.95.6 4.325t1.85 5.225ZM29.5 36.45q2.05 1 4.475 1.55t4.425.65q.15 0 .225-.075.075-.075.075-.225v-4.9q0-.15-.075-.25t-.225-.15l-4.55-.9q-.1-.05-.2 0l-.2.1ZM11.75 19.1ZM29.5 36.45Z' fill='%23d71e09'/%3E%3C/svg%3E");
}

#mail-tab {
    margin-left: clamp(20px, 4vw, 60px);
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M7.9 39q-1.2 0-2.05-.85Q5 37.3 5 36.1V11.9q0-1.2.85-2.05Q6.7 9 7.9 9h32.2q1.2 0 2.05.85.85.85.85 2.05v24.2q0 1.2-.85 2.05-.85.85-2.05.85ZM24 24.3 7.25 13.25V36.1q0 .3.175.475t.475.175h32.2q.3 0 .475-.175t.175-.475V13.25Zm0-2.4 16.3-10.65H7.75ZM7.25 13.25v-2V36.1q0 .3.175.475t.475.175h-.65V36.1Z' fill='%23d71e09'/%3E%3C/svg%3E");
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu {
        position: static !important;
    }

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

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

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

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

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

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButtonInner2 {
        top: 24px;
    }

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

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

    .navbar-collapse {
        top: 0;
        background: #fff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        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;
        transition: top 300ms linear;
    }

    .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);
        transition: width 300ms linear, opacity 300ms linear;
    }

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

    .dropdown-toggle-button-wrapper {
        top: 8px;
        right: 0;
    }

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

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

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

/* menu desktop */

@media (min-width: 992px) {
    #menu {
        transition: background 300ms linear;
    }

    #headerpic :is(.sticky-wrapper, #menu) {
        z-index: 101;
    }

    .is-sticky #menu {
        left: auto !important;
        background: #fff;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.08);
    }

    nav.horizontally .navbar-nav {
        border-top: 1px solid rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        position: relative;
        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;
    }

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

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

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

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

    nav.horizontally :is([class*="toplevel"], [class*="secondlevel"]) {
        position: relative;
    }

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

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

    .navbar-default .navbar-nav :is(li[class*="toplevel"]:focus-within>ul, 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 :is(li[class*="toplevel"]:hover>ul, li[class*="secondlevel"]:hover>ul) {
        z-index: 1003;
    }
}

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

.navbar-default li[class*="toplevel"]>a {
    color: #222222;
    font-weight: 600;
    text-transform: uppercase;
    text-align: left;
    padding: 14px 5px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    transition: border 300ms linear;
}

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

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

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

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

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

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

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>a::after {
        top: -23px;
        background: #d71e09;
        top: 0;
        bottom: auto;
    }
}

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

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

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

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

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

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

@media(min-width: 992px) {
    .navbar-default :is(li[class*="toplevel"]>ul, li[class*="secondlevel"]>ul) {
        padding: 18px 30px;
    }

    .navbar-default li[class*="toplevel"]>ul {
        margin-top: 20px;
    }

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

    .navbar-default li[class*="toplevel"]>ul::before,
    .navbar-default li[class*="secondlevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
    }

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

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

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

.navbar-default :is(li[class*="secondlevel"]:not(:nth-last-child(2)), li[class*="thirdlevel"]):not(:nth-last-child(2)) {
    border-bottom: 1px solid #1a3f6c;
}

.navbar-default :is(li[class*="secondlevel"]>a, li[class*="thirdlevel"]>a) {
    color: #222222;
    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 li[class*="secondlevel"]>a.dropdown-toggle2 {
        padding-right: 35px;
    }
}

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

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

.navbar-default li[class*="secondlevel"]:focus-within>a,
.navbar-default li[class*="thirdlevel"]:focus-within>a {
    color: #d71e09;
}

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

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

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

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

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

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

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

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

/* header text */

#header-text {
    font-weight: 600;
    font-size: clamp(1.25rem, 2vw, 1.875rem);
    padding: clamp(30px, 12vw, 60px) 0 clamp(60px, 20vw, 160px) 0;
}

.theme-default .nivo-controlNav a,
#header-text,
#header-text :is(h1, h2, h3, h4, h5, h6) {
    color: #222222;
    text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

#header-text .headHeadline {
    text-align: center;
    margin-bottom: 30px;
}

#header-text .headerButtons .template-page>.row>div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#header-text a :is(b, strong) {
    font-weight: 600;
    font-size: 1.25rem;
    display: table;
}

/* banner */

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

@media (min-width: 768px) {
    body.index #headerpic .nivo-controlNav {
        bottom: clamp(50px, 8vw, 110px);
    }
}

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

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

@media (max-width: 1199px) {

    #headerpic a.nivo-prevNav,
    #headerpic a.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(255, 255, 255, 0.75) 220px, rgba(255, 255, 255, 0.1));
}

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

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

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

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

body:not(.index) main {
    background-attachment: fixed;
    background-size: cover;
}

/* #region -------------------------------------- service --------------------------------------- */

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

@media (min-width: 992px) {
    #service .image-col {
        position: relative;
        z-index: 1;
        transform: translateY(clamp(40px, 8vw, 80px));
    }

    #service .image-col::after {
        content: "";
        display: block;
        position: absolute;
        z-index: -1;
        top: 0;
        right: 15px;
        bottom: 0;
        left: clamp(-450px, -24vw, -15px);
    }
}

#service .image-col::after,
#service .background-tab {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#service .background-tab {
    background-color: #f5efdc;
    padding: clamp(40px, 8vw, 67px) clamp(15px, 4vw, 30px) clamp(40px, 8vw, 75px) clamp(15px, 4vw, 30px);
}

@media (min-width: 992px) {
    #service .background-tab {
        padding-left: 160px;
        padding-right: clamp(15px, 24vw, 450px);
        margin-right: clamp(-450px, -24vw, -15px);
        margin-left: -15px;
    }
}

#service .background-tab :is(h1, h2, h3, h4, h5, h6) {
    color: #1a3f6c;
}

#service .background-tab hr {
    background: #fff;
}

#service .background-tab img {
    margin-bottom: 8px;
}

#service .tab {
    font-size: 1.25rem;
    padding: 40px clamp(15px, 4vw, 30px);
    background: #d71e09;
}

@media (min-width: 992px) {
    #service .tab {
        margin-right: -115px;
        margin-top: 50px;
        margin-left: auto;
    }

    #service .image-col::after {
        right: -100px;
    }
}

#service .tab,
#service .tab :is(h1, h2, h3, h4, h5, h6) {
    color: #fff;
}

/* #endregion ----------------------------------- service --------------------------------------- */



/* #region --------------------------------------- about ---------------------------------------- */

#about {
    padding: clamp(40px, 10vw, 125px) 0 clamp(40px, 10vw, 95px) 0;
    position: relative;
}

#about :is(h1, h2, h3, h4, h5, h6) {
    color: #1a3f6c;
}

#about img {
    margin-bottom: 20px;
}

#about a:not(.has-image) {
    margin-top: 12px;
    display: inline-block;
}

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

#about .tab {
    background-color: #1a3f6c;
    padding: 20px;
    height: 100%;
    color: #fff;
    transition: transform 300ms;
}

#about .tab .tabHeadline {
    color: #fff;
    font-size: 1rem;
    font-style: italic;
    font-weight: 400;
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
}

#about .tab:hover {
    transform: scale(1.1);
}

#about .tab :is(b, strong) {
    color: #fff;
    font-size: 1.25rem;
}

#about .tab a {
    color: #fff;
}

#about .tab5 {
    position: relative;
}

#about .tab5::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -80px;
    width: 31px;
    height: 23px;
    background: url('../img/pfeil.png') no-repeat;
}

#about::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 758px;
    height: 677px;
    background: url('../img/freisteller.png') no-repeat;
}

/* #endregion ------------------------------------ about ---------------------------------------- */

/* #region --------------------------------------- buttons -------------------------------------- */

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
    display: inline-block;
    line-height: 1.2;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 600;
    background: #1a3f6c;
    padding: 12px 58px 11px 20px;
    position: relative;
    text-decoration: none !important;
    text-shadow: none !important;
}

.button-design.button-design-2 a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
    color: #fff !important;
    background: #d71e09;
}

#header-text.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
    margin-top: clamp(20px, 2vw, 25px);
}

#service .tab.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
    margin-top: 10px;
}

#header-text.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
    margin-right: 20px;
}

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"])::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
}

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"])::after {
    top: 1px;
    right: 16px;
    width: 26px;
    transition: 300ms background linear;
    background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='m28.15 35.25-1.65-1.6 8.6-8.6H8.6V22.8h26.5l-8.65-8.65 1.65-1.55 11.35 11.3Z' fill='%23fff'/%3E%3C/svg%3E") center left / 26px auto repeat-x;
}

.button-design.button-design-2 a:not(.has-image):not([href*="mailto"]):not([href*="tel"])::after {
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='m28.15 35.25-1.65-1.6 8.6-8.6H8.6V22.8h26.5l-8.65-8.65 1.65-1.55 11.35 11.3Z' fill='%23fff'/%3E%3C/svg%3E");
}

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):hover::after,
.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):focus::after {
    background-position-x: left 26px;
}

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):hover,
.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):focus {
    background: #007c9e;
}

.button-design.button-design-2 a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):hover,
.button-design.button-design-2 a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):focus {
    background: #1a3f6c;
}

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

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

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

#header-text :is(h1, h2, h3, h4, h5, h6),
#service .background-tab :is(h1, h2, h3, h4, h5, h6),
#about :is(h2, h3),
#quote :is(h1, h2, h3, h4, h5, h6) {
    font-weight: 700;
}

#service .background-tab :is(h1, h2, h3, h4, h5, h6) :is(i, em),
#about :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
    font-weight: 400;
    color: #1a3f6c;
    font-size: 1.25rem;
    font-style: normal;
}

:is(#headerpic, #quote) :is(h1, h2, h3, h4, h5, h6),
#about :is(h3, h4, h5, h6) {
    margin-bottom: 0;
}

:is(#tabs-bg, #footer) :is(h1, h2, h3, h4, h5, h6),
#service .image-col :is(h1, h2, h3, h4, h5, h6),
#service .background-tab :is(h3, h4, h5, h6),
#about :is(h3, h4, h5, h6) {
    font-size: 1.25rem;
    font-weight: 700;
}

:is(#tabs-bg, #footer):is(h1, h2, h3, h4, h5, h6),
#service .image-col :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 12px;
}

#service .background-tab :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 7px;
}

#header-text :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(2rem, 6vw, 2.5rem);
}

h1,
.h1,
.legacy_h1,
#quote :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.875rem, 6vw, 2.25rem);
}

h1,
.h1,
.legacy_h1 {
    margin-bottom: clamp(0.9375rem, 4vw, 2.375rem);
}

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

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

h4,
.h4,
.legacy_h4 {
    font-size: clamp(1.5rem, 6vw, 1.625rem);
}

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

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

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

/* #region --------------------------------------- breakerElement --------------------------------------- */

#breakerElement {
    background-size: cover;
    background-position: center;
    padding: clamp(40px, 6vw, 100px) 0 clamp(40px, 5vw, 90px) 0;
}

#breakerElement>.row {
    row-gap: 20px;
}

#breakerElement .tab1 {
    color: #222222;
    font-size: 1.125rem;
    padding: 80px 40px;
    border-radius: 30px;
    border: 3px solid #2b2b2b;
    background-color: #ededed;
    margin-bottom: 45px;
}

#breakerElement .tab2 {
    margin-bottom: 10px;
    color: #1a3f6c;
    font-family: "Exo", sans-serif;
    font-weight: 400;
    line-height: 1;
    font-size: clamp(1.125rem, 2vw, 1.5625rem);
    padding: 35px 40px;
    border-radius: 30px;
    background-color: rgba(219, 218, 205, 0.9);
}

#breakerElement .tab2 .tabHeadline {
    font-size: clamp(1.75rem, 3vw, 2.1875rem);
}

#breakerElement .tab2 :is(h1, h2, h3, h4, h5, h6) {
    margin: 0;
    color: #1a3f6c;
}

#breakerElement .tab3 {
    font-size: 1.125rem;
    font-family: 'Hanken Grotesk', sans-serif;
    color: #ffffff;
    padding: 40px 30px;
    border-radius: 30px;
    background-color: rgba(0, 124, 158, 0.9);
}

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

#breakerElement .tab3 :is(h1, h2, h3, h4, h5, h6) {
    margin: 0;
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 400;
}

#breakerElement .tab3 :is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
    font-weight: 600;
    font-size: clamp(1.5625rem, 3vw, 2.1875rem);
}

#breakerElement .tab3 :is(h1, h2, h3) {
    font-size: clamp(1.125rem, 2vw, 1.5625rem);
}

#breakerElement .tab4 {
    margin-top: 10px;
    color: #1a3f6c;
    font-family: 'Hanken Grotesk', sans-serif;
    padding: 40px 30px;
    border-radius: 30px;
    background-color: rgba(219, 218, 205, 0.9);
}

#breakerElement .tab4 :is(h1, h2, h3, h4, h5, h6) {
    margin: 0;
    color: #1a3f6c;
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 400;
}

#breakerElement .tab4 :is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
    font-weight: 600;
    color: #1a3f6c;
    font-size: clamp(1.5625rem, 3vw, 2.1875rem);
}

#breakerElement .tab4 :is(h1, h2, h3) {
    font-size: clamp(1.125rem, 2vw, 1.5625rem);
}

#breakerElement .tab5 {
    margin-top: 55px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 90px;
    font-family: "Exo", sans-serif;
    font-weight: 400;
    color: #1a3f6c;
    aspect-ratio: 1/1;
    border-radius: 100%;
    background: #ececec;
    overflow: hidden;
}

#breakerElement .tab5 img {
    transform: scale(1.4);
}

#breakerElement .tab5 :is(h1, h2, h3, h4, h5, h6) {
    margin: 0;
    color: #1a3f6c;
}

#breakerElement .tab5 :is(h1, h2, h3) {
    font-size: clamp(1.5625rem, 3vw, 2.1875rem);
}

@media (min-width: 1200px) {
    #breakerElement .tab5 {
        padding: 140px;
        width: 772px;
    }

    #breakerElement .tab5 img {
        transform: scale(1.69);
    }
}

@media (max-width: 767px) {
    #breakerElement .tab5 img {
        transform: scale(1.6);
    }
}

@media (max-width: 575px) {
    #breakerElement .tab5 {
        padding: 45px;
        margin-top: 40px;
    }
}

#breakerElement .tab6 {
    position: relative;
    z-index: 1;
    color: #ffffff;
    padding: 42px 30px;
    font-family: "Exo", sans-serif;
    font-weight: 700;
    line-height: 1.2;
    font-size: 1.375rem;
    border-radius: 30px;
    background-color: rgba(0, 124, 158, 0.9);
}

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

@media (max-width: 1199px) {
    #breakerElement .tab6 {
        margin-top: -90px;
        margin-bottom: 0;
    }
}

@media (max-width: 575px) {
    #breakerElement .tab6 {
        margin-top: 20px;
    }
}

@media (min-width: 1200px) {
    #breakerElement .tab6 {
        margin-left: -100px;
        margin-bottom: 160px;
    }
}

/* #endregion ---------------------------------- breakerElement ------------------------------ */


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

#quote {
    background-color: #ffffff;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: clamp(60px, 10vw, 93px) 0;
    font-size: clamp(1.25rem, 3vw, 2.25rem);
    font-weight: 700;
    font-family: "Exo", sans-serif;
}

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

#quote :is(b, strong, a) {
    color: #d71e09;
    text-decoration: none;
    position: relative;
}

#quote a::after {
    content: "";
    display: inline-block;
    position: relative;
    top: 0;
    bottom: 0;
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='m28.15 35.25-1.65-1.6 8.6-8.6H8.6V22.8h26.5l-8.65-8.65 1.65-1.55 11.35 11.3Z' fill='%23d71e09'/%3E%3C/svg%3E");
}

footer {
    font-size: 1rem;
}

#footer {
    padding: clamp(40px, 8vw, 80px) 0 0 0;
    background: url('../img/wasserzeichen-logo.png') bottom left 50px no-repeat, #ededed;
}

@media (min-width: 992px) {
    #footer>.row>*+*:not(:last-child) {
        border-left: 1px solid rgba(255, 255, 255, 0.3);
    }

    #footer>.row>*:nth-child(1) {
        padding-right: 60px;
    }

    #footer>.row>*:nth-child(2) {
        padding-left: 60px;
    }
}

#footer {
    color: #222222;
}

#footer a,
#footer a:hover,
#footer a:focus {
    color: #d71e09;
}

#footer :is(h1, h2, h3, h4, h5, h6) {
    color: #1a3f6c;
    margin-bottom: 20px;
}

#map-tab {
    z-index: 1;
}

#map-tab .banner {
    width: 100% !important;
    min-width: 100% !important;
}


@media (min-width: 768px) {

    #map-tab .banner {
        position: absolute;
        z-index: 1;
        top: clamp(-140px, -15vw, -40px);
        right: 0;
        bottom: calc(clamp(-80px, -8vw, -40px) - 92px);
        left: 0;
        display: block;
        height: calc(100% + clamp(40px, 15vw, 150px) + calc(clamp(40px, 8vw, 80px) + 92px)) !important;
    }
}

@media (min-width: 992px) {

    #map-tab::after {
        content: "";
        display: block;
        position: absolute;
        z-index: -1;
        left: -20px;
        top: calc(clamp(-140px, -15vw, -40px) - 20px);
        width: 100px;
        height: 100px;
        background: #007c9e;
    }
}

#map-tab .banner {
    pointer-events: none;
}

#map-tab .banner img {
    line-height: 0;
}

#innerfooter {
    font-size: 0.9375rem;
    padding: 35px 0;
    border-top: 1px solid #b0b0b0;
    margin-top: 30px;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: block;
}

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

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

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

#innerfooter li a {
    color: inherit;
    text-decoration: none;
}

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

#innerfooter li a:hover,
#innerfooter li a:focus {
    color: #d71e09;
}

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

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

#footer #vernetzt {
    text-align: left;
    font-size: 0.875rem;
    font-weight: 400;
    color: #222222;
    line-height: 1.3;
    margin: 20px auto 0 auto;
    text-decoration: none;
    display: inline-block;
}

@media (min-width: 576px) {
    #footer #vernetzt {
        margin-left: 0;
        margin-right: 0;
    }
}

#footer #vernetzt span {
    display: block;
}

#footer #vernetzt img {
    display: block;
    margin-bottom: 8px;
}

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