@import url("https://fonts.verwaltungsportal.de/import/?family=Raleway:400,700,900,400i,700i,900i");

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

body {
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    color: #252525;
    font-size: clamp(1rem, 2vw, 1.125rem);
    /* 1rem = 16px */
    line-height: 1.5;
    background: linear-gradient(to bottom, #bbdb90 100px, transparent 100px)
}

#overflow{
    position: relative;
    overflow: hidden;
}

#bodyWrapper {
    max-width: 1410px;
    margin: auto;
    background: #fff;
}

a {
    color: #157b7e;
}

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

#content a,
b,
strong {
    font-weight: 700;
}


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

#logo {
    display: inline-block;
}

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

#logo img {
    display: block;
}

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

    #logo {
        padding: 10px 0;
    }
}


.logoText {
  color: #157b7e;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.logoText :is(b, strong) {
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.375rem, 3vw, 1.875rem);
}

a#logo:is(:hover, :focus) {
    text-decoration: none;
}
/* #region ------------------------------------ navigation -------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {

    #menu {
        position: relative !important;
    }

    #burgerButton {
        font-size: 0;
        border: none !important;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 6px;
        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: #252525;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        transition: transform 200ms linear, opacity 200ms linear;
    }


    .contrast_light_font #burgerButton::before,
    .contrast_light_font #burgerButton::after,
    .contrast_light_font #burgerButtonInner {
        background-color: #fff !important;
    }

    #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: #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;
        transition: top 300ms linear;
    }

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

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

@media (min-width: 768px) and (max-width: 991px) {
    .navbar-header {
        top: 27px;
    }
}

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

    #menu>.row>div[class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        background: #fff;
        transition: box-shadow 150ms linear;
    }


    .is-sticky #menu {
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
        left: 50% !important;
        transform: translate(-50%) !important
    }

    #menu>.row {
        border-bottom: 1px solid #bbdb90;

    }

    .is-sticky #menu>.row {
        border-bottom: none;
    }

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

    nav.horizontally li[class*="toplevel"]>ul {
        position: absolute;
        top: 100%;
        left: -30px;
        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:focus-within, :hover)>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:is(:hover, :focus-within)>ul {
        z-index: 1003;
    }
}

/* toplevel */

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

@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"]::after {
        content: '';
        position: absolute;
        display: block;
        height: 3px;
        background: #157b7e;
        left: 50%;
        transform: translate(-50%);
        width: 0;
        transition: width 200ms linear;
        bottom: 25px;
    }

    nav.horizontally li[class*="toplevel"]+li {
        margin-left: 15px;
    }

    nav.horizontally a[class*="toplevel"] {
        padding: clamp(20px, 2vw, 32px) 0;
        text-align: center;
    }
}

/* 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: #157b7e;
}


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 {
    background: #ffffff;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.12);
}

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

    nav.horizontally [class*="secondlevel"]>ul {
        margin: 10px;
    }
}

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

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

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

/* secondlevel + thirdlevel */

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

.navbar-default li:is([class*="secondlevel"], [class*="thirdlevel"])+li {
    margin-top: 1px;
}

@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) {
    background: #157b7e;
}

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

/* ------------------------------------------------ headerWrapper ----------------------------------------------- */

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

#headerWrapper .tab {
    padding-top: 30px;
    padding-left: 40px;
    padding-bottom: 30px;
    border-left: 8px solid #bbdb90;
    position: relative;
}

@media (min-width: 1200px) {
    #headerWrapper .tab::after {
        content: '';
        height: 8px;
        background: #bbdb90;
        display: block;
        bottom: 0;
        left: 0;
        position: absolute;
        width: 100%;
        max-width: 210px;
    }
}

#headerWrapper .tabHeadline {
    font-size: 1.375rem;
    color: #157b7e;
}

/* ------------------------------------------------ buttonStyle ----------------------------------------------- */


.buttonStyle a:not(.has-image):not([rel]) {
    display: inline-block;
    padding: 12px 25px;
    background-color: #157b7e;
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: background-color 200ms linear, color 200ms linear;
    ;
    font-size: 1rem;
    margin-top: 20px;
}

.buttonStyle a:not(.has-image):not([rel]):is(:hover, :focus) {
    background-color: #bbdb90;
    color: #252525;
}

/* ------------------------------------------------ @7tab ----------------------------------------------- */

#tab7 {
    padding-top: 40px;
    padding-bottom: 50px;
    background: #ffffff;
    position: relative;
    z-index: 1;
}

@media (min-width: 1200px) {
    #tab7::before {
        content: '';
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        width: 1665px;
        height: 490px;
        background: #bbdb90;
    }

}

@media (min-width: 576px) {
    #tab7>.row>*+*:nth-child(2) {
        margin-top: 0;
    }
}

@media (max-width: 991px) {
    #tab7>.row>*+* {
        margin-top: 30px;
    }
}

#tab7 .info {
    color: #252525;
    margin-bottom: clamp(24px, 3vw, 50px);
}

@media (min-width: 1200px) {
    #tab7 .info {
        background-color: #bbdb90;

    }
}

#tab7 .info a {
    color: #252525;
}

#tab7 a {
    text-decoration: underline;
}

#tab7 .info .tabHeadline {
    color: #252525;
    font-size: 1.875rem;
    margin-bottom: clamp(15px, 2vw, 25px);
    position: relative;
}

#tab7 .tab {
    padding: 30px;
    height: 100%;
    min-height: 100%;
    background: #ffffff;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    transition: transform 300ms;
}

#tab7 .tab:is(:hover, :focus) {
    transform: scale(1.02);
}

@media (min-width: 992px) {
    #tab7 .tab {
        padding: 20px 30px 50px 30px;
    }
}

#tab7 .tab .tabHeadline {
    color: #157b7e;
    font-size: 1.25rem;
    margin-bottom: 10px;
    position: relative;
}

@media (min-width: 992px) {
    #tab7 .tab .tabHeadline {
        margin-bottom: 20px;
    }
}

#tab7 .tab .tabHeadline::before,
#tab7 .tab .tabHeadline::after {
    content: "";
    display: block;
}

#tab7 .tab .tabHeadline::before {
    height: 78px;
    margin-bottom: 40px;
    background-position: center;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    #tab7 .tab .tabHeadline::before {
        margin-bottom: 52px;
    }
}

#tab7 .tab .tabHeadline::after {
    position: absolute;
    top: 94px;
    left: 50%;
    margin-left: -30px;
    width: 59px;
    height: 6px;
    background: #157b7e;
}

#tab7>.row>div:nth-child(1) .tab .tabHeadline::before {
    background-image: url('../img/icon-bewerber.png');
}

#tab7>.row>div:nth-child(2) .tab .tabHeadline::before {
    background-image: url('../img/icon-traeger.png');

}


#tab7>.row>div:nth-child(3) .tab .tabHeadline::before {
    background-image: url('../img/icon-gebaeude.png');

}

#tab7>.row>div:nth-child(4) .tab .tabHeadline::before {
    background-image: url('../img/icon-fachkraft.png');

}



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

#content {
    text-align: left;
    padding-bottom: 60px;
    padding-top: 30px;
}


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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #252525;
    font-weight: 900;
    line-height: 1.2;
}

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

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

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

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

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

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


/* ----------------------------------------------- listWrapper ----------------------------------------------- */

#listWrapper {
    padding: 30px 0;
}

#listWrapper .tabHeadline {
    margin-bottom: 30px;
}

#listWrapper ol,
#listWrapper li {
    all: unset;
    padding: 0;
    margin: 0;
}

#listWrapper ol {
    display: flex;
    flex-direction: column;
    gap: 20px;
    counter-reset: list;
}

#listWrapper ol>li::before {
    content: counter(list) ".";
    counter-increment: list;
    font-weight: 900;
    color: #252525;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 70px;
    background: #bbdb90;
    font-size: 30px;
}


#listWrapper strong,
#listWrapper b {
    display: block;
    width: 100%;
    font-size: 1.25rem;
    font-weight: 900;
    color: #157b7e;
}


#listWrapper li {
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.12);
    display: block;
    position: relative;
    padding: 20px 10px 20px 110px;
    font-size: 1rem;
    transition: transform 300ms;
}

#listWrapper li:is(:focus, :hover) {
    transform: scale(1.02);
}
/* ----------------------------------------------- breaker ----------------------------------------------- */

#breaker {
    padding: 60px 0;
}

#breaker .tabHeadline {
    color: #157b7e;
}

#breaker .buttonStyle {
    position: relative;
    z-index: 12;
}

#breaker .buttonStyle a {
    position: relative;
}

#breaker .buttonStyle a::after {
    width: 8px;
    top: -10px;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%);
    display: block;
    content: "";
    position: absolute;
    background: #bbdb90;
    z-index: -1;
}

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

footer {
    position: relative
}

footer::before {
    content: '';
    position: absolute;
    display: block;
    top: 100px;
    right: 0;
    width: 1665px;
    bottom: 0;
    background: #bbdb90;
}

#footerTop {
    font-size: 1rem;
    z-index: 12;
    position: relative;
}

#footerTop .tabHeadline {
    color: #157b7e;
    font-size: 1.25rem;
}

#footerTop .tab {
    padding: 30px 30px 30px 30px;
}

@media (min-width: 768px) {
    #footerTop>.row>div.col-xs-12+div.col-xs-12 {
        border-left: 1px solid #bbdb90;
    }
}

@media (min-width: 1200px) {

    #footerTop>.row {
        max-width: 1170px;
        width: 100%;

    }

    #footerTop>.row>div[class*="col-"] {
        background: #fff;
    }

    .index #footerTop>.row::before {
        content: '';
        background: url(../img/familie.png) no-repeat bottom left;
        width: 311px;
        height: 300px;
        position: absolute;
        left: -61px;
        bottom: 140px;

    }
}

@media (min-width: 768px) {

    #footerTop .tab {
        padding-left: 110px;
    }

    #footerTop .tab::before {
        content: '';
        position: absolute;
        display: block;
        top: 20px;
        left: 30px;
        width: 70px;
        height: 70px;
        background-position: center;
        background-repeat: no-repeat;
    }
}


#footerTop .tab1::before {
    background-image: url('../img/icon-telefon.png');
}

#footerTop .tab2::before {
    background-image: url('../img/icon-achtung.png');
}

#footerBottom {
    padding: 30px 0;
}

#footerTop>.row {
    background: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.12);
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: block;
}

#innerfooter a {
    color: #252525;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
}

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

@media (min-width: 576px) {
    #innerfooter li+li::before {
        content: "•";
        margin: 0 clamp(15px, 2vw, 25px);
        color: #252525;
    }

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

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

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

#vernetzt {
    gap: 18px;
    text-align: right;
    font-size: 0.875rem;
    color: #252525;
    line-height: 1.3;
    font-weight: 400;
    text-decoration: none;
}

#vernetzt span span {
    display: block;
}