@import url("https://fonts.verwaltungsportal.de/import/?family=Oswald:400,400i,700,700i%7CDM+Sans:400,400i,500,500i,700,700i");

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

body {
    font-family: "DM Sans", sans-serif;
    color: #1c2c3d;
    background: #ffffff;
    font-size: clamp(1rem, 2vw, 1.125rem);
    /* 1rem = 16px */
    line-height: 1.5;
}

@media (min-width: 1200px) {
    .rowWide {
        max-width: 1620px;
        width: 100%;
        margin: 0 auto;
    }

    nav.horizontally .rowWide {
        max-width: 1650px;
    }
}

a {
    color: #1c2c3d;
}

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

b,
strong {
    font-weight: 500;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

#logo .wordmark {
    margin-left: clamp(5px, 2vw, 25px);
    font-size: 1rem;
    color: #fff;
}

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

#logo h2 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {

    #sticky-wrapper {
        width: 100% !important;
    }

    nav.horizontally {
        min-height: 80px;
        padding: 20px 0;
        position: relative !important;
    }

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

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #1c2c3d;
        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: #1c2c3d;
        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: 5px;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        padding: 33px 0;
        border-bottom: 1px solid transparent;
        transition: border 300ms ease-in-out, padding 300ms ease-in-out;
    }

    #sticky-wrapper {
        width: 100%;
    }

    .is-sticky nav.horizontally {
        padding: 20px 0;
        border-bottom-color: #b6b3d4;
        background: #1c2c3d;
    }

    #myNavbar,
    nav.horizontally .navbar-nav {
        column-gap: clamp(10px, 2vw, 25px);
    }

    nav.horizontally .navbar-nav {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        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;
        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 */

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

@media (max-width: 991px) {
    nav.horizontally li[class*="toplevel"] {
        border-bottom: 1px solid #ffffff;
    }

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

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

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


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 {
    width: 100%;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background-color: #1c2c3d;
}

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

    nav.horizontally [class*="secondlevel"]>ul {
        padding: 15px 0 15px 15px;
    }
}

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

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

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

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

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

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

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

/* secondlevel + thirdlevel */

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

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

    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: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

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



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

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

.buttonStyle a:not([href^="mailto:"]):not(.has-image):not([rel]) {
    display: inline-block;
    background: #bc9244 linear-gradient(to right, #ead595, #bc9244);
    color: #1c2c3d;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.25rem;
    border-radius: 30px;
    padding: 7px 20px;
    white-space: nowrap;
}

@media (max-width: 1199px) {
    nav.horizontally .buttonStyle a:not([href^="mailto:"]):not(.has-image):not([rel]) {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.buttonStyle a:not([href^="mailto:"]):not(.has-image):not([rel]):is(:hover, :focus) {
    background: #ead595;
}

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


header {
    min-height: 43vw;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    background: url(../img/logo-bg-head.png) no-repeat top 180px center, url(../img/overlay-bogen.png) no-repeat bottom -1px center / 100% auto, radial-gradient(#1c2c3d 50%, #080d13) #1c2c3d;
    position: relative;
}

@media (max-width: 991px) {
    header {
        background: url(../img/logo-bg-head.png) no-repeat top 0 center, url(../img/overlay-bogen.png) no-repeat bottom -1px center / 100% auto, radial-gradient(#1c2c3d 50%, #080d13) #1c2c3d;
    }
}


@media (max-width: 575px) {
    header {
        min-height: 300px;
        background: url(../img/overlay-bogen.png) no-repeat bottom -1px center / 100% auto, radial-gradient(#1c2c3d 50%, #080d13) #1c2c3d;

    }
}

body:not(.index) header {
    min-height: 200px;
}


#overlay {
    width: 100%;
    color: #fff;
    font-size: 1.25rem;
}



@media (min-width: 576px) {

    #overlay .tab {
        max-width: 51vw;
        margin: auto;
    }

    .index header::before {
        content: '';
        background: url(../img/phsysio-gehen-kruecken.png) no-repeat bottom left;
        width: 349px;
        height: 623px;
        display: block;
        position: absolute;
        bottom: 0;
        z-index: 12;
        left: 31px;
        pointer-events: none;
        background-size: 18vw auto;
    }

    .index header::after {
        content: '';
        background: url(../img/gymnastik-physio.png) no-repeat bottom right;
        width: 444px;
        height: 584px;
        display: block;
        position: absolute;
        bottom: 0;
        z-index: 12;
        right: 0;
        pointer-events: none;
        background-size: 23vw auto;
    }
}

@media (max-width: 1921px) {

}

@media (max-width: 991px) {
    #overlay {
        margin-bottom: 60px;

    }
}

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

#overlay .tabHeadline {
    font-size: clamp(1.875rem, 5vw, 4.375rem);
}

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

#content {
    text-align: left;
    padding-top: 40px;
    padding-bottom: clamp(40px, 7vw, 100px);
}

@media (min-width: 992px) {
    body:not(.index) #content {
        padding-top: 40px;
    }
}


/* #region ------------------------------------- infoTabs --------------------------------------- */

#infoTabs .infoImg {
    background: center / cover no-repeat;
    min-height: 230px;
}

#infoTabs .tab {
    padding: 40px clamp(15px, 3vw, 40px) clamp(40px, 7vw, 80px) clamp(15px, 3vw, 40px);
}

#infoTabs .tab .tabHeadline::before {
    content: "";
    pointer-events: none;
    display: block;
    height: 40px;
    width: 40px;
    border-radius: 4px;
    background: center / 22px auto no-repeat;
    margin-bottom: 25px;
}

#infoTabs :is(.tab1, .tab4) .tabHeadline::before {
    background-color: #ead595;
}

#infoTabs .tab1 .tabHeadline::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="%234c4c4c"><path d="M481-276ZM120-160v-160q0-83 58.5-141.5T320-520h429q38 0 64.5 26t26.5 64q0 31-19 55.5T773-342l-93 27v155q0 21-9.5 38T645-94q-16 11-35 13.5T571-86l-189-74H120Zm480-120H375q-7 0-10.5 4t-4.5 9q-1 5 1.5 9.5t8.5 6.5l230 91v-120Zm-400 40h84q-2-6-3-12t-1-13q0-39 28-67t67-28h163l214-59q5-2 7-5t1-7q-1-4-3.5-6.5T749-440H320q-50 0-85 35t-35 85v80Zm200-320q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47Zm0-80q33 0 56.5-23.5T480-720q0-33-23.5-56.5T400-800q-33 0-56.5 23.5T320-720q0 33 23.5 56.5T400-640Zm81 364Zm-81-444Z"/></svg>')
}


#infoTabs .tab4 .tabHeadline::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="%234c4c4c"><path d="m826-585-56-56 30-31-128-128-31 30-57-57 30-31q23-23 57-22.5t57 23.5l129 129q23 23 23 56.5T857-615l-31 30ZM346-104q-23 23-56.5 23T233-104L104-233q-23-23-23-56.5t23-56.5l30-30 57 57-31 30 129 129 30-31 57 57-30 30Zm397-336 57-57-303-303-57 57 303 303ZM463-160l57-58-302-302-58 57 303 303Zm-6-234 110-109-64-64-109 110 63 63Zm63 290q-23 23-57 23t-57-23L104-406q-23-23-23-57t23-57l57-57q23-23 56.5-23t56.5 23l63 63 110-110-63-62q-23-23-23-57t23-57l57-57q23-23 56.5-23t56.5 23l303 303q23 23 23 56.5T857-441l-57 57q-23 23-57 23t-57-23l-62-63-110 110 63 63q23 23 23 56.5T577-161l-57 57Z"/></svg>')
}

#infoTabs :is(.tab2, .tab3) .tabHeadline::before {
    background-color: rgba(255, 255, 255, 0.8);
}

#infoTabs .tab2 .tabHeadline::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="%234c4c4c"><path d="M640-440 474-602q-31-30-52.5-66.5T400-748q0-55 38.5-93.5T532-880q32 0 60 13.5t48 36.5q20-23 48-36.5t60-13.5q55 0 93.5 38.5T880-748q0 43-21 79.5T807-602L640-440Zm0-112 109-107q19-19 35-40.5t16-48.5q0-22-15-37t-37-15q-14 0-26.5 5.5T700-778l-60 72-60-72q-9-11-21.5-16.5T532-800q-22 0-37 15t-15 37q0 27 16 48.5t35 40.5l109 107ZM280-220l278 76 238-74q-5-9-14.5-15.5T760-240H558q-27 0-43-2t-33-8l-93-31 22-78 81 27q17 5 40 8t68 4q0-11-6.5-21T578-354l-234-86h-64v220ZM40-80v-440h304q7 0 14 1.5t13 3.5l235 87q33 12 53.5 42t20.5 66h80q50 0 85 33t35 87v40L560-60l-280-78v58H40Zm80-80h80v-280h-80v280Zm520-546Z"/></svg>')
}

#infoTabs .tab3 .tabHeadline::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath fill='%234c4c4c' d='M720-120H280v-520l280-280 50 50q7 7 11.5 19t4.5 23v14l-44 174h258q32 0 56 24t24 56v80q0 7-2 15t-4 15L794-168q-9 20-30 34t-44 14Zm-360-80h360l120-280v-80H480l54-220-174 174v406Zm0-406v406-406Zm-80-34v80H160v360h120v80H80v-520h200Z'/%3E%3C/svg%3E");
}


#infoTabs .tabHeadline {
    font-size: 1.875rem;
}

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

#infoTabs .tab1 {
    background: #1c2c3d;
}

#infoTabs .tab2 {
    background: #ead595;
}

#infoTabs .tab3 {
    background: #bc9244;
}

#infoTabs .tab4 {
    background: #2a425c;
}

#infoTabs :is(.tab1, .tab4) * {
    color: #f8f8fb;
}

#infoTabs :is(.tab2, .tab3) .tabHeadline {
    color: #333333;
}

/* #endregion ---------------------------------- infoTabs --------------------------------------- */

/* --------------------------------------------- zitatTab --------------------------------------- */

#zitatTab {
    color: #4d4d4d;

}


#zitatTab .tabHeadline {
    font-size: clamp(1.875rem, 4vw, 3.125rem);
}

#zitatTab>.row {
    padding: 30px 0;
    min-height: 420px;
}

@media (min-width: 992px) {
    #zitatTab>.row>.col-xs-12::after {
        content: '';
        background: url(../img/physio-schultern-dehnen.png) no-repeat right bottom;
        width: 595px;
        height: 355px;
        display: block;
        position: absolute;
        right: -620px;
        bottom: 0;
    }

}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #1c2c3d;
    font-weight: 400;
    line-height: 1.2;
    font-family: "Oswald", sans-serif;
}


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

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

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

/* headings margin */

footer .tab .tabHeadline {
    margin-bottom: 20px;
}

#contactTabs .tabHeadline {
    margin-bottom: 25px;
}

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

footer {
    padding-bottom: clamp(40px, 7vw, 100px);
}

@media (min-width: 768px) {
    footer>.row>* {
        padding: 0;
    }
}

footer .tab {
    background: #1c2c3d;
    padding: 50px clamp(15px, 3vw, 40px) 35px clamp(15px, 3vw, 40px);
}

footer .tab * {
    color: #ffffff;
}

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

/* footerInnerBox */

.footerInnerBox {
    background: #ffffff;
    box-shadow: 0 20px 60px 0 rgba(72, 64, 147, 0.3);
    margin: 0 !important;
}

@media (max-width: 575px) {
    .footerInnerBox>*+* {
        border-top: 1px solid #586879;
    }
}

@media (min-width: 576px) {
    .footerInnerBox>*+* {
        border-left: 1px solid #586879;
    }
}

.footerInnerBox>* {
    padding: 40px clamp(15px, 3vw, 40px);
}

/* innerfooter */

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: block;
    line-height: 1.9;
}

#innerfooter a {
    color: #4c4c4c;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    font-size: 1rem;
}

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

/* vernetzt */

#vernetzt {
    text-align: left;
    font-size: 1rem;
    color: #4d4d4d;
    line-height: 1.3;
    font-weight: 400;
    display: inline-block;
    text-decoration: none;
}

#vernetzt span {
    display: block;
}

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

/* iframetab */

footer .iframeTab {
    min-height: 250px;
}

footer .iframeTab :is(.row, .row>*) {
    position: static !important;
}

footer :is(.iframe-wrapper-manual-enabling, iframe) {
    width: 100% !important;
    min-width: 100% !important;
}

@media (min-width: 768px) {
    footer :is(.iframe-wrapper-manual-enabling, iframe) {
        position: absolute;
        top: 0;
        right: 15px;
        bottom: 0;
        left: 0;
        height: 100% !important;
        width: 100% !important;
        min-width: 100% !important;
    }
}

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