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

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

body {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    color: #333333;
    background: #f4f9fa;
    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: #0d47a1;
}

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

b,
strong {
    font-weight: 600;
}

#content-area a {
    text-decoration: underline;
}

#overflow {
    overflow: clip;
}

hr {
    height: 2px;
    opacity: 0.2;
    background: #0d47a1;
    border: unset;
}

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

#logo {
    color: #0d47a1;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.2;
    font-size: clamp(1.375rem, 4vw, 1.875rem);
    display: inline-block;
    background: #f4f9fa;
    padding: 56px 23px 34px 23px;
    border-radius: 0 0 40px 40px;
    box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.12);
    -webkit-box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.12);
}

#logo :is(b, strong) {
    color: #2f7433;
    font-weight: 800;
}

@media (min-width: 992px) {
    #logo {
        transition: margin 300ms linear, padding 300ms linear;
    }

    .is-sticky #logo {
        margin-bottom: -100px;
        padding-top: 34px;
        padding-bottom: 23px;
    }
}

@media (max-width: 991px) {
    #logo {
        padding: 30px 23px 25px 23px;
    }

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

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

/* #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: #ffffff;
        border: none !important;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    #burgerButtonInner2,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #0d47a1;
        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: #eaf4f0;
        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: 30px;
        right: 15px;
        z-index: 101;
        transition: top 300ms linear;
    }

    .is-sticky .navbar-header {
        top: 15px;
    }

    .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: 9px;
        right: 5px;
    }

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

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

@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, box-shadow 300ms linear;
    }

    .is-sticky #menu {
        left: auto !important;
        background: #eaf4f0;
        box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.12);
        -webkit-box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.12);
        -moz-box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.12);
    }

    nav.horizontally .navbar-nav {
        margin: 55px 0 54px 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;
        transition: margin 300ms linear;
        flex-wrap: wrap;
    }

    .is-sticky nav.horizontally .navbar-nav {
        margin-top: 20px;
        margin-bottom: 20px;
    }

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


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

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

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

@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) {
    nav.horizontally li[class*="toplevel"]+li {
        margin-left: 4px;
    }

    .navbar-default li[class*="toplevel"]>a {
        padding: 12px 8px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }
}

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

/* -------------------------------------------- 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: #fff;
    background: #0d47a1;
}

.navbar-default li[class*="toplevel"]:focus-within>a::after {
    color: #fff;
    background: #0d47a1;
}

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

nav.horizontally [class*="toplevel"] ul {
    padding: 18px;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
}

@media(min-width:992px) {
    nav.horizontally [class*="toplevel"]>ul {
        margin-top: 15px;
        left: 50%;
        transform: translate(-50%, 0);
    }

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

    nav.horizontally [class*="toplevel"] ul::before {
        content: "";
        position: absolute;
        display: block;
    }

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #333333;
    font-weight: 300;
    text-align: center;
    padding: 8px 6px;
    background-color: #ffffff;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

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

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

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before,
nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::after {
    content: "";
    display: block;
    position: absolute;
    background-color: #0d47a1;
    height: 1px;
    top: 50%;
    width: 0;
    transition: width 200ms linear;
}

@media (min-width: 992px) {

    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before,
    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::after {
        z-index: -1;
    }
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
    left: -18px;
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::after {
    right: -18px;
}

/* 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: #0d47a1;
    background-color: #ffffff;
}

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus)::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus)::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus)::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus)::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus)::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus)::after {
    width: 25px;
}

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

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

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

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

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

header {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1921px' height='741px'%3E%3Cpath fill-rule='evenodd' opacity='1' fill='rgb(234, 244, 240)' d='M0.001,0.000 L1920.999,0.000 L1920.999,420.1000 C1601.038,420.1000 1281.077,740.1000 961.116,740.1000 C640.744,740.1000 320.373,420.1000 0.001,420.1000 C0.001,140.1000 0.001,280.000 0.001,0.000 Z'/%3E%3Cpath fill-rule='evenodd' opacity='0.102' fill='rgb(13, 71, 161)' d='M1920.000,679.008 C1849.689,714.086 1770.385,733.823 1686.469,733.823 C1397.177,733.823 1162.660,499.306 1162.660,210.014 C1162.660,135.327 1178.292,64.292 1206.461,-0.000 L1920.000,-0.000 L1920.000,679.008 Z'/%3E%3C/svg%3E") center top / 100% auto no-repeat;
}

@media (min-width: 1200px) {
    body:not(.index) header {
        background-position-y: -270px;
    }
}

#headerpic {
    margin-top: -12px;
}

/* header text */

#header-text {
    padding-top: clamp(30px, 8vw, 45px);
    padding-bottom: clamp(30px, 8vw, 65px);
}

#header-text :is(b, strong) {
    font-weight: 600;
    font-size: clamp(1.125rem, 6vw, 1.5rem);
}

body:not(.index) #header-text p {
    display: none;
}

/* header button */

#header-button {
    padding: 10px;
    position: absolute;
    z-index: 31;
    top: -20px;
    right: 25px;
    background: #0d47a1 url("../img/decor-gehirn-icon.png") bottom right no-repeat;
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1.2;
    min-width: 125px;
    max-width: min-content;
    min-height: 125px;
    max-height: min-content;
    overflow: hidden;
    transition: background 300ms linear, transform 300ms linear;
}

@media (min-width: 576px) and (max-width: 991px) {
    body:not(.index) #header-button {
        top: -40px;
    }
}

@media (min-width: 992px) {
    #header-button {
        top: 20px;
        right: 45px;
    }
}

.index #header-button {
    animation: bounceAni 2s infinite 2s;
}

#header-button:hover {
    background-color: #2a401f;
    transform: scale(1.2);
    animation-play-state: paused;
}

#header-button:focus-within {
    background-color: #2a401f;
    transform: scale(1.2);
    animation-play-state: paused;
}

@keyframes bounceAni {

    0%,
    100%,
    20%,
    50%,
    80% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.2);
    }

    60% {
        transform: scale(1.1);
    }
}

#header-button,
#header-button :is(h1, h2, h3, h4, h5, h6, a) {
    color: #fff;
}

#header-button a,
#header-button :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.125rem, 6vw, 1.5rem);
}

#header-button a {
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px;
    display: block;
}

/* contact */

#contact-tab {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.2);
    padding: 20px 20px 20px 20px;
}

@media (min-width: 576px) {
    #contact-tab {
        position: absolute;
        z-index: 30;
        bottom: 65px;
        right: 0;
    }
}

@media (min-width: 992) {
    #contact-tab {
        right: -15px;
    }
}

#contact-tab :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.25rem, 6vw, 1.625rem);
}

#phone-tab,
#mail-tab {
    position: relative;
    padding: 9px 0 9px 60px;
    min-height: 45px;
}

#phone-tab::before,
#mail-tab::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: calc(50% - 22px);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #2f7433;
    background-position: center;
    background-size: 32px auto;
    background-repeat: no-repeat;
}

#phone-tab {
    font-size: clamp(1.125rem, 6vw, 1.375rem);
}

#phone-tab::before {
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M38.55 22.75q-.5-5.75-4.525-9.775T24.3 8.55V7q3.15.15 5.95 1.45 2.8 1.3 4.9 3.425 2.1 2.125 3.4 4.925 1.3 2.8 1.5 5.95Zm-8.25 0q-.45-2.3-2.075-3.95-1.625-1.65-3.925-2.05V15.2q2.95.4 5 2.5t2.55 5.05Zm7.45 17q-5.05 0-10.325-2.725-5.275-2.725-9.575-7-4.3-4.275-7.025-9.525Q8.1 15.25 8.1 10.15q0-.9.6-1.525Q9.3 8 10.25 8h4.4q.85 0 1.475.525.625.525.775 1.375l1.05 4.45q.15.8-.025 1.425T17.25 16.8l-4.4 4.15q2.95 4.95 6.475 8.425Q22.85 32.85 27.6 35.45L31.9 31q.5-.55 1.075-.775.575-.225 1.275-.075L38 31q.9.15 1.4.8.5.65.5 1.55v4.25q0 .95-.6 1.55-.6.6-1.55.6ZM12.05 19.6l4.2-3.9q.15-.15.2-.425.05-.275 0-.525l-1-4.6q-.05-.3-.275-.45-.225-.15-.525-.15h-4.5q-.25 0-.4.15-.15.15-.15.4-.05 1.95.6 4.35.65 2.4 1.85 5.15Zm17 16.55q2.05 1.05 4.525 1.575 2.475.525 4.275.525.25 0 .4-.15.15-.15.15-.35v-4.5q0-.3-.15-.5t-.5-.25l-3.9-.8q-.25-.05-.425 0t-.325.2Zm-17-16.55Zm17 16.55Z' fill='%23fff'/%3E%3C/svg%3E");
}

#mail-tab::before {
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M24 42q-3.8 0-7.075-1.4-3.275-1.4-5.7-3.825Q8.8 34.35 7.4 31.075 6 27.8 6 24q0-3.8 1.4-7.075 1.4-3.275 3.825-5.7Q13.65 8.8 16.925 7.4 20.2 6 24 6q3.8 0 7.075 1.4 3.275 1.4 5.7 3.825 2.425 2.425 3.825 5.7Q42 20.2 42 24v1.85q0 2.5-1.7 4.175-1.7 1.675-4.2 1.675-2 0-3.4-1.025t-2-2.825q-1.1 1.75-2.65 2.8Q26.5 31.7 24 31.7q-3.2 0-5.45-2.25T16.3 24q0-3.25 2.25-5.475Q20.8 16.3 24 16.3t5.45 2.225Q31.7 20.75 31.7 24v1.85q0 1.75 1.275 3.025T36.1 30.15q1.8 0 3.075-1.275Q40.45 27.6 40.45 25.85V24q0-6.8-4.825-11.625T24 7.55q-6.8 0-11.625 4.825T7.55 24q0 6.8 4.825 11.625T24 40.45h10.3V42Zm0-11.85q2.55 0 4.35-1.8 1.8-1.8 1.8-4.35 0-2.6-1.8-4.375T24 17.85q-2.55 0-4.35 1.775-1.8 1.775-1.8 4.375 0 2.55 1.8 4.35 1.8 1.8 4.35 1.8Z' fill='%23fff'/%3E%3C/svg%3E");
}

#mail-tab a {
    text-decoration: underline;
    color: inherit;
}

#phone-tab+#mail-tab {
    margin-top: 6px;
}

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

/* #region -------------------------------------- banner ---------------------------------------- */

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

body.index #slider {
    max-height: 688px;
}

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

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

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

#slider {
    animation: initBoxShadow 1s forwards;
}

@keyframes initBoxShadow {
    0% {
        box-shadow: 0 0 rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: -30px -30px rgba(47, 116, 51, 1);
    }
}

.slider-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
    height: auto !important;
}

@media (min-width: 576px) {
    .slider-wrapper {
        margin: 0 30px 30px 30px;
    }
}

@media (min-width: 992px) {
    .slider-wrapper {
        margin-left: 70px;
    }
}

.slider-wrapper::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 30px;
    left: 30px;
    right: 0;
    bottom: 0;
    border: 2px solid #0d47a1;
    animation: initBorderRight 1s forwards;
}

@keyframes initBorderRight {
    0% {
        right: 0;
        bottom: 0;
    }

    100% {
        right: -30px;
        bottom: -30px;
    }
}

#slider {
    border-radius: 285px 285px 40px 40px;
}

.slider-wrapper::after {
    border-radius: 285px 285px 50px 50px;
}

.slider-mask {
    display: none;
}

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

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

#content-area {
    position: relative;
    text-align: left;
    padding: clamp(40px, 8vw, 65px) 0 clamp(40px, 10vw, 105px) 0;
}

@media (min-width: 1200px) {
    #content-area>.row::before {
        content: '';
        position: absolute;
        pointer-events: none;
        top: -13vw;
        left: -19vw;
        width: 397px;
        height: 381px;
        background: url('../img/decor-gehirn-links.png') center no-repeat;
    }
}

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

#service {
    position: relative;
    z-index: 1;
    padding-bottom: clamp(60px, 10vw, 145px);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1921px' height='380px'%3E%3Cpath fill-rule='evenodd' opacity='1' fill='rgb(229, 239, 234)' d='M0.001,380.0000 L1920.999,380.0000 L1920.999,249.1000 C1601.038,249.1000 1281.077,-0.000 961.116,-0.000 C640.744,-0.000 320.373,249.1000 0.001,249.1000 C0.001,529.1000 0.001,99.1000 0.001,380.0000 Z'/%3E%3C/svg%3E") center bottom / 100% auto no-repeat;
}

@media (min-width: 1200px) {
    #service {
        background: url('../img/decor-gehirn-rechts.png') top 190px right no-repeat,
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1921px' height='380px'%3E%3Cpath fill-rule='evenodd' opacity='1' fill='rgb(229, 239, 234)' d='M0.001,380.0000 L1920.999,380.0000 L1920.999,249.1000 C1601.038,249.1000 1281.077,-0.000 961.116,-0.000 C640.744,-0.000 320.373,249.1000 0.001,249.1000 C0.001,529.1000 0.001,99.1000 0.001,380.0000 Z'/%3E%3C/svg%3E") center bottom / 100% auto no-repeat;
    }
}

@media (min-width: 992px) {

    #service::after,
    #service::before {
        opacity: 0.3;
        position: absolute;
        z-index: -1;
        line-height: 0;
        font-size: 100px;
        font-weight: 700;
        white-space: nowrap;
        display: block;
    }

    #service::after {
        color: #0d47a1;
        content: "Gedächtnis";
        top: 105px;
        left: -5px;
    }

    #service::before {
        color: #317734;
        content: "Ganzheitliches";
        bottom: 120px;
        right: -10px;
    }
}

#service .service-headline :is(h1, h2, h3, h4, h5, h6) {
    color: #2a401f;
}

.service-content {
    padding-left: 95px;
    margin-top: 60px;
}

@media (min-width: 768px) {
    .service-content {
        margin-top: 0;
    }
}

@media (min-width: 992px) {
    .service-content {
        padding-bottom: clamp(40px, 10vw, 90px);
    }
}

#service ul {
    margin: 0 0 0 -110px;
}

#service ul li {
    border-radius: 15px;
    background: transparent;
    padding: clamp(20px, 2vw, 28px) clamp(20px, 2vw, 30px) clamp(20px, 2vw, 35px) 110px;
    transition: background 300ms linear, box-shadow 300ms linear;
}

#service ul li:hover {
    z-index: 2;
    background: #fff;
    box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.2);
}

#service ul li:focus-within {
    z-index: 2;
    background: #fff;
    box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.2);
}

#service ul li::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 30px;
    width: 51px;
    height: 56px;
    background: url("../img/icon-gehirn.png") center no-repeat;
    border-radius: unset !important;
}

:is(#service) .banner {
    position: relative;
    z-index: 1;
    min-height: 400px;
    max-height: 800px;
    height: 100%;
}

@media (max-width: 767px) {
    :is(#service) .banner {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #service .banner {
        margin-right: 40px;
    }
}

#service .banner::after,
#service .banner::before {
    content: "";
    display: block;
    position: absolute;
}

#service .banner::after {
    z-index: -1;
    top: 50%;
    border: 2px solid #0d47a1;
    bottom: -30px;
}

#service .banner::after {
    left: 30px;
    right: -30px;
}

#service .banner::before {
    z-index: 1;
    pointer-events: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.4;
    transition: all 300ms linear;
}

#service .banner::before {
    background: #317734;
}

#service .banner,
#service .banner img,
#service .banner::before {
    border-radius: 40px 40px 205px 40px;
}

#service .banner::after {
    border-radius: 50px 50px 215px 50px;
}

#service .banner:hover::before {
    opacity: 0;
    top: 50%;
    left: 50%;
    right: 50%;
    bottom: 50%;
}

:is(#service) .banner img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

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

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

.button-design a:not(.has-image) {
    display: inline-block;
    line-height: 1.2;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    background: #0d47a1;
    border-radius: 8px;
    padding: 15px clamp(24px, 3vw, 50px);
    position: relative;
    z-index: 1;
    text-decoration: none;
    overflow: hidden;
}

.button-design a:not(.has-image):hover,
.button-design a:not(.has-image):focus {
    background: #2f7433;
}

#header-text.button-design a:not(.has-image) {
    margin-top: clamp(1px, 2vw, 26px);
}

/* #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: #0d47a1;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Montserrat", serif;
    margin-bottom: 15px;
}

#header-text :is(h1, h2, h3, h4, h5, h6) {
    font-weight: 700;
    font-size: clamp(1.75rem, 6vw, 2.75rem);
    margin-bottom: clamp(15px, 4vw, 25px);
}

#header-text :is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
    color: #2f7433;
    font-weight: 700;
    font-style: normal;
    font-size: inherit;
}

.tab-headline :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(2.25rem, 6vw, 3.4375rem);
}

.tab-headline :is(h1, h2, h3, h4, h5, h6) {
    margin: 0;
}

.tab-headline h2::after {
    content: "";
    display: block;
    margin: 18px auto clamp(20px, 8vw, 80px) auto;
    height: 2px;
    width: 150px;
    background: #0d47a1;
}

:is(.service-content) :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.5rem, 6vw, 1.75rem);
    font-weight: 600;
    margin-bottom: 10px;
}

.service-content :is(b, strong) {
    font-weight: 500;
}

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


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

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

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

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

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

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

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

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

footer {
    background: #e5f1eb;
    padding-top: clamp(60px, 10vw, 75px);
    position: relative;
}

#footer {
    font-size: 1rem;
}

#footer hr {
    margin: clamp(10px, 6vw, 60px) 0 20px 0;
}

#footer :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.375rem;
    color: #0d47a1;
    margin-bottom: clamp(15px, 2vw, 25px);
}

#footer .tab a {
    color: #333333;
    text-decoration: underline;
}

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

#innerfooter ul {
    padding: 0;
    line-height: 1.9;
}

#innerfooter li {
    display: block;
}

#innerfooter a {
    color: #333333;
    text-decoration: none;
    display: block;
    font-size: 1rem;
    position: relative;
}

#innerfooter a:hover,
#innerfooter a:focus {
    color: #333333;
}

#innerfooter a::before {
    content: '';
    position: absolute;
    pointer-events: none;
    left: -15px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 7px;
    height: 7px;
    background: #0d47a1;
    border-radius: 100%;
    transition: opacity 300ms linear;
    opacity: 0;
}

#innerfooter a:hover::before,
#innerfooter a:focus::before {
    opacity: 1;
}

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

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

#footer-2 {
    font-size: 0.875rem;
    padding-bottom: 20px;
}

/* --------------------------------------------- scroll-top-btn  -------------------------------------------- */

#scroll-top-btn {
    font-size: 0.875rem;
    color: #333333;
    text-decoration: none;
    padding: 5px 30px 5px 0;
    background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M22.85 39.25V13.1l-12.5 12.5-1.6-1.6L24 8.75 39.25 24l-1.6 1.6-12.5-12.5v26.15Z' fill='%23383120'/%3E%3C/svg%3E") center right -3px / 26px auto no-repeat;
}

#scroll-top-btn:not(:hover):not(:focus) {
    text-decoration: none;
    color: #333333;
}

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

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

#vernetzt {
    text-align: left;
    font-size: 0.875rem;
    color: #333333;
    line-height: 1.5;
    margin: 0 auto 20px auto;
    text-decoration: none;
}

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

#vernetzt span {
    display: block;
}

#vernetzt img {
    margin-right: 15px;
}

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