/*------------------------------------------------------------------------------------------------------
-------------------------------------------  Farben Anfang  --------------------------------------------
----------------------------------------------------------------------------------------------------  */

:root, ::before, ::after {
    --background-gradient: linear-gradient(to right top, #4d71c6, #447ace, #3a82d6, #2c8bdd, #1993e3);
    --background-leistungen: #f8f4eb;
    --hover: #494133;
    --subheads: #494133;
	
  }

/*------------------------------------------------------------------------------------------------------
-------------------------------------------  Farben Ende  ----------------------------------------------
----------------------------------------------------------------------------------------------------  */

/* Content ANFANG ----------------------------------------------------------------------------------------------------------------*/

.home .content p:has(+h1), p:has(+h1) {
    color: var(--primary-color);
    display: block;
    font-size: 3.5rem;
    margin-bottom: 0rem;
    line-height: 3.5rem;
    margin-top: 0rem;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 0;
    padding-bottom: 0;
}

.single_h1 {
    margin-bottom: 2rem;
}

.home h1 {
    margin-bottom: 5rem;
    font-weight: 400;
    font-size: 2.5rem;
    letter-spacing: 2px;
    color: var(--subheads);
}

.page-id-219 h1 {
    margin-bottom: 2rem;
}

.cta h2+p, .zwo h2+p {
    font-size: 2rem;
    margin-bottom: 2rem;
    display: block;
    font-weight: 500;
    padding-bottom: 0;
}

section>div>.content>*:last-child {
    padding-bottom: 0rem;
    margin-bottom: 0rem;
}

.trustelement {
    display: flex;
    justify-content: center;
}

.trustelement img {
    max-width: 300px;
}

.home .content p {
    margin-bottom: 1.7rem;
}

.headsubbox p:has(.more-link) > a {
	min-width: 220px;
}

@media (max-width:991px) {
    .home .content p {
        width: 100%;
    }
}

@media (min-width: 767px) {
    .flex-li {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}

/* Content ANFANG --------------------------------------------------------------------------------------------------------*/

/* Blauer Hintergrund ANFANG --------------------------------------------------------------------------------------------*/

div.container:before,
div.container:after {
    display: none;
}

.color-background {
    background: var(--background-leistungen);
}

.color-background h2 {
    color: var(--primary-color);
    margin-top: 0rem;
}

.color-background li {
    color: var(--text-color);
    line-height: 2;
}

.color-background a {
    color: var(--primary-color);
}

.color-background a:hover {
    color: var(--hover);
}

.color-background p {
    color: var(--text-color);
}

.sprechzeiten p>span {
    float: right;
    text-align: right;
    font-size: inherit;
    line-height: 1.2;
}

section.color-background>div.container>div.flex-start>div.sprechzeiten p {
    color: var(--text-color);
    font-weight: 600;
}

section.color-background .sprechzeiten p>span>span {
    color: var(--primary-color);
}

.color-background.cta h2, .color-background.zwo h2 {
    text-align: left;
    margin-bottom: 0;
}

@media (min-width: 768px) {

    section.color-background>div.container>div.flex-start {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    section.color-background>div.container>div.flex-start>div.sprechzeiten p {
        text-align: left;
    }

    section.color-background.cta>div.container>div.flex-start:last-of-type {
        align-items: flex-end;
    }

}

@media (max-width: 767px) {
    .flex-start>.sprechzeiten {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    section.color-background>div.container>div.flex-start>div.sprechzeiten p {
        text-align: center;
    }

    .color-background.cta .aufzaehlung {
        margin-top: 2rem;
    }

}

@media (min-width: 768px) and (max-width: 991px) {
    .flex-start>.sprechzeiten {
        width: calc(100%/1.5);
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .flex-start>.sprechzeiten {
        width: calc(100%/2);
    }
}

@media (min-width: 1200px) {
    .flex-start>.sprechzeiten {
        width: calc(100%/2);
        margin-bottom: 3rem;
    }

    .flex-start {
        max-width: 80%;
    }
}

@media (max-width: 992px) {
    .color-background p {
        text-align: left;
    }
}

@media (min-width: 992px) {
    .color-background p {
        text-align: left;
    }
}


/* Blauer Hintergrund ENDE --------------------------------------------------------------------------------------------------*/

/* Sprechzeiten Anfang------------------------------------------------------------------------------------------------------*/

.side-img img {
    width: 300px;
    max-width: 100%;
}

.side-img {
    display: flex;
    justify-content: center;

}

.sprechzeiten-flex {
   display: flex;
    align-items: center;
}

@media (max-width:767px) {
    .sprechzeiten-flex {
        flex-direction: column;
}

.side-img {
    margin-top: 5rem;
}
}

/* Sprechzeiten ENDE------------------------------------------------------------------------------------------------------*/

/* Aufzählung Anfang  --------------------------------------------------------------------------------------------------*/

.aufzaehlung {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}

.aufzaehlung>div {
    flex-basis: 100%;
    background: var(--primary-color);
    color: var(--text-invert);
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    align-items: center;
}

.aufzaehlung>div:before {
    content: '';
    background-image: url(images/pfeil.svg);
    height: 2rem;
    width: 2rem;
    transform: rotate(-90deg);
    background-repeat: no-repeat;
    display: block;
}

.aufzaehlung p {
    flex-basis: 90%;
    color: var(--text-invert);
    font-size: 14px;
    font-weight: 300;
    padding-bottom: 0;
    line-height: 0;
    margin: 0;
}

/* Aufzählung ENDE --------------------------------------------------------------------------------------------------*/

/* Startseite Leistungen ANFANG --------------------------------------------------------------------------------------------*/

.structure-bg {
    background: var(--background-leistungen);
    padding-top: calc(10rem - 2vw);
}

.structure-bg h2 {
    color: var(--primary-color);
    margin-bottom: 0;
    margin-top: 0;
    text-transform: none;
    font-size: 2vw;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.structure-bg .row-leistungen div h2+p {
    color: var(--subheads);
    margin-bottom: 4rem;
    line-height: 5rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-top: 0rem;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

section.structure-bg+img {
    height: 100%;
    width: 100%;
}

.row-leistungen>*:nth-child(4)>h2+p,
.row-leistungen>*:nth-child(8)>h2+p {
    text-align: right;
}

.row-leistungen {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 38% 24% 38%;
    grid-template-columns: 38% 24% 38%;
    -ms-grid-rows: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-row-gap: 7vw;
}

.row-leistungen>div:nth-of-type(even)>p {
    padding-bottom: 2rem;
    color: var(--text-color);
    line-height: 2;
    font-size: 1.7rem;
}

.row-leistungen .leistungen-image {
    overflow: hidden;
    max-height: 70vh;
}

.row-leistungen .leistungen-image img {
    transform: rotate(0deg) scale(1.0);
    transition: .2s ease-out;
    object-fit: cover;
    object-position: 0%;
}

.row-leistungen .leistungen-image img:hover {
    transform: rotate(0deg) scale(1);
    transition: .2s ease-out;
}

.row-leistungen>*:nth-child(3) img:hover,
.row-leistungen>*:nth-child(7) img:hover {
    transform: rotate(0deg) scale(1);
    transition: .2s ease-out;
}

.row-leistungen>*:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-area: 1/1/2/3;
}

.row-leistungen>*:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    grid-area: 1/3/2/4;
}

.row-leistungen>*:nth-child(3) {
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    -ms-grid-column: 2;
    -ms-grid-column-span: 2;
    grid-area: 2/2/3/4;
}

.row-leistungen>*:nth-child(4) {
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-area: 2/1/3/2;
}

.row-leistungen>*:nth-child(5) {
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-area: 3/1/4/3;
}

.row-leistungen>*:nth-child(6) {
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    grid-area: 3/3/4/4;
}

.row-leistungen>*:nth-child(7) {
    -ms-grid-row: 4;
    -ms-grid-row-span: 1;
    -ms-grid-column: 2;
    -ms-grid-column-span: 2;
    grid-area: 4/2/5/4;
}

.row-leistungen>*:nth-child(8) {
    -ms-grid-row: 4;
    -ms-grid-row-span: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-area: 4/1/5/2;
}

.row-leistungen>*:nth-child(9) {
    -ms-grid-row: 5;
    -ms-grid-row-span: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-area: 5/1/6/3;
}


.row-leistungen>*:nth-child(10) {
    -ms-grid-row: 5;
    -ms-grid-row-span: 1;
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    grid-area: 5/3/6/4;
}

.row-leistungen>*:nth-child(2),
.row-leistungen>*:nth-child(4),
.row-leistungen>*:nth-child(6),
.row-leistungen>*:nth-child(8),
.row-leistungen>*:nth-child(10) {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    padding: 2vw 4vw 2vw 4vw;
}

.row-leistungen>*:nth-child(2) p,
.row-leistungen>*:nth-child(6) p {
    text-align: left;
}

.row-leistungen>*:nth-child(2) h3,
.row-leistungen>*:nth-child(2) h2 {
    text-align: left;
}

.row-leistungen>*:nth-child(2) .border-button {
    margin-left: 0px;
}

.row-leistungen>*:nth-child(2) img.icon {
    margin-left: -15px;
}

.row-leistungen>*:nth-child(6) h3,
.row-leistungen>*:nth-child(6) h2,
.row-leistungen>*:nth-child(10) h2,
.row-leistungen>*:nth-child(10) h3 {
    text-align: left;
}

.row-leistungen>*:nth-child(6) .border-button {
    margin-left: 0px;
}

.row-leistungen>*:nth-child(6) img.icon {
    margin-left: -15px;
}

.row-leistungen>*:nth-child(4) h3,
.row-leistungen>*:nth-child(4) h2 {
    text-align: right;
}

.row-leistungen>*:nth-child(4) .border-button {
    margin-right: 0px;
}

.row-leistungen>*:nth-child(4) p {
    text-align: right;
}

.row-leistungen>*:nth-child(4) .more-link,
.row-leistungen>*:nth-child(8) .more-link {
    float: right;
}

.row-leistungen>*:nth-child(4) img.icon {
    margin-right: -15px;
}

.row-leistungen>*:nth-child(8) h3,
.row-leistungen>*:nth-child(8) h2 {
    text-align: right;
}

.row-leistungen>*:nth-child(8) .border-button {
    margin-right: 0px;
}

.row-leistungen>*:nth-child(8) p {
    text-align: right;
}

.row-leistungen>*:nth-child(8) img.icon {
    margin-right: -15px;
}

.leistungen-image img {
    width: 100%;
    height: auto;
}

.row-leistungen ul {
    padding-left: 0;
    padding-right: 0rem;
    list-style-type: none;
}

.row-leistungen ul.right {
    text-align: right;
    padding-left: 0;
    padding-right: 0rem;
    list-style-type: none;
}

.row-leistungen ul.right li {
    position: relative;
}

.row-leistungen ul li a:before {
    background: var(--color-plus);
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transition: width 0.3s cubic-bezier(.405, .07, .575, .995);
    width: 0;
}

.row-leistungen ul li a:hover:before {
    width: 100%;
}

.row-leistungen ul.right li a:before {
    background: var(--color-plus);
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transition: width 0.3s cubic-bezier(.405, .07, .575, .995);
    width: 0;
}

.row-leistungen ul.right li a:hover:before {
    width: 100%;
}

.row-leistungen .border-button {
    width: auto;
    margin: 0 auto;
}

.row-leistungen .border-button span {
    background-color: var(--text-color);
}

.row-leistungen .portal-logos {
    text-align: right;
}

.row-leistungen .portal-logos img {
    height: 24px;
}

.row-leistungen .portal-logos img:nth-of-type(1) {
    height: 20px;
    margin-top: -1px;
}

.row-leistungen .portal-logos img:nth-of-type(4) {
    height: 20px;
    margin-top: -1px;
}

.row-leistungen img.icon {
    width: 100px;
    margin: 0 auto;
}

@media (max-width:991px) {
    .row-leistungen {
        display: flex !important;
        flex-flow: row wrap;
        padding: 0;
        row-gap: 0 !important;
    }

    .row-leistungen>*:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }

    .row-leistungen .leistungen-image img {
        width: 100%;
        height: auto;
        min-height: 50vh;
        object-position: center;
        padding: 0;
    }

    .row-leistungen .leistungen-image+div {
        padding-top: 7rem;
    }

    .row-leistungen .leistungen-image+div:not(:last-of-type) {
        padding-bottom: 7rem;
    }

    .row-leistungen>*:nth-child(2),
    .row-leistungen>*:nth-child(4),
    .row-leistungen>*:nth-child(6),
    .row-leistungen>*:nth-child(8) {
        padding: 0vh 5vw 3vh 5vw;
    }

    .row-leistungen>*:nth-child(4) h3,
    .row-leistungen>*:nth-child(4) h2,
    .row-leistungen>*:nth-child(8) h3,
    .row-leistungen>*:nth-child(8) h2 {
        text-align: left;
    }

    .structure-bg .row-leistungen>*>h2+p {
        text-align: left;
        font-size: 2rem;
    }

    .row-leistungen>*:nth-child(4) p,
    .row-leistungen>*:nth-child(8) p {
        text-align: left;
    }

    .row-leistungen>*:nth-child(4) .more-link,
    .row-leistungen>*:nth-child(8) .more-link,
    .row-leistungen>*:nth-child(4) .more-link,
    .row-leistungen>*:nth-child(8) .more-link {
        float: left;
    }
}

@media (max-width: 991px) {
    .structure-bg h2 {
        font-size: 3rem;
    }

    .structure-bg h2+span {
        line-height: 4rem;
        font-size: 6vw;
    }
}

@media (min-width:992px) and (max-width:1199px) {
    .structure-bg h2 {
        font-size: 4rem;
    }

    .structure-bg h2+span {
        font-size: 3rem;
    }
}


/* Startseite Leistungen ENDE ---------------------------------------------------------------------------------*/

/* Footer Anfang ----------------------------------------------------------------------------*/

footer img {
    width: 90%;
}

.footer-copyright2 .copy {
    float: right;
}

.footerback .container>.row:before,
.footerback .container>.row:after {
    display: none;
}

.footerback .container>.row {
    display: flex;
    gap: 5rem;
}

@media (max-width: 991px) {
    .footerback .container>.row {
        display: inline-block;
    }

    footer img {
        margin-top: 15rem;
    }
}

@media (max-width: 767px) {
    footer img {
        margin-top: 5rem;
        width: 70%;
    }
}

/* Footer Ende ----------------------------------------------------------------------------*/

/* Galerie Anfang ----------------------------------------------------------------------------*/

.galerie img {
    width: 100%;
    margin-bottom: 3rem;
}

/* Galerie Ende ----------------------------------------------------------------------------*/

/* Sidebar Anfang ----------------------------------------------------------------------------*/

aside>div {
    margin-bottom: 2rem;
    border-left: 2px solid var(--primary-color);
    padding-left: 3rem;
}

aside h3 {
    text-align: left;
    margin-top: 0;
}

aside p {
    margin-bottom: 0;
    padding-bottom: 0;
}

aside img {
    width: 100%;
    max-width: 400px;
}

/* Sidebar Ende ----------------------------------------------------------------------------*/

/* Parallax ANFANG -----------------------------------------------------------------------------  */

section.parallax {
    background: url(/wp-content/uploads/2021/09/parallax.jpg) no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: 50% 50%;
    height: 175vh;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    padding-bottom: 24vh;
}

section.parallax>div {
    padding: 10vh 5vw 10vh 5vw;
    background: rgb(255 255 255 / 90%);
    text-align: center;
    position: relative;
    align-self: flex-end
}


.parallax p {
    line-height: 2;
}

.parallax h2 {
    margin-top: 0rem;
    margin-bottom: 4rem;
    color: var(--primary-color);
}

@media (max-width: 991px) {
    section.parallax {
        background-position: 38% 50%;
    }
}

@supports (-webkit-touch-callout: none) {

    .parallax {
        background-image: none !important;
        position: relative;
        background: transparent !important;
    }

    .parallax:before {
        content: "";
        background-image: url(/wp-content/uploads/2021/09/parallax.jpg);
        position: fixed;
        height: 100%;
        width: 100%;
        z-index: -1;
        top: 0;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

/* Parallax ENDE -------------------------------------------------------------------------------------  */

/* Team-Boxen Version 1 Anfang -------------------------------------------------------------------------------------  */

.team-container>.row {
    display: flex;
}

.team-container>.row>div:nth-of-type(3) {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home .content .team-container h2,
.home .content .team-container p {
    text-align: left;
    width: 100%;
}

.team-container img {
    width: 100%;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.team-container ul {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.team-container h3 {
    color: var(--text-color);
    text-align: left;
    margin-top: 0;
}

.team-container>.row>div:nth-of-type(1)>div:hover .hover-box {
    opacity: 1;
}

.hover-box-kasten>div {
    overflow: hidden;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.team-container>.row>div:nth-of-type(1)>div:hover img {
    transform: scale(1.2);
    opacity: 0.2;
}

.hover-box {
    position: absolute;
    display: flex;
    opacity: 0;
    top: 0;
    width: 100%;
    height: 100%;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.hover-box a {
    color: var(--text-invert);
}

@media (max-width: 991px) {
    .team-container>.row {
        display: block;
    }

    .team-container img {
        width: 100%;
    }
}

/* Team-Boxen Version 1 ENDE -------------------------------------------------------------------------------------  */

/* Team-Boxen Version 2 Anfang -------------------------------------------------------------------------------------  */

.team-container h2,
.home .team-container2 p {
    text-align: left;
}

.content .team-container2>div>div>p {
    width: 100%;
}

.team-container2>div>div:nth-of-type(2)>p,
.team-container2>div>div:nth-of-type(2)>ul {
    padding-bottom: 0rem;
    margin-bottom: 0rem;
}

.team-container2>div.row {
    margin-bottom: 5rem;
}

.hover-box-kasten>div {
    position: relative;
}

.team-container2 .arzte {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.team-container2>div:nth-of-type(odd) h3,
.team-container2>div:nth-of-type(odd) p {
    text-align: left;
}

.team-container2>div:nth-of-type(even) h3,
.team-container2>div:nth-of-type(even) p {
    text-align: right;
}

.mitarbeiter.aerzte {
	    justify-content: space-around;
}

.team-container2 div.mitarbeiter h3 {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 0;
}

.team-container2 div.mitarbeiter p {
    text-align: center;
}

.team-container2 .arzte h3 {
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.team-container2 .arzte h3+p {
    margin-bottom: 2rem;
    display: block;
}

.team-container2>div:nth-of-type(3) {
    margin-bottom: 11rem;
}

.team-container2 img {
    width: 100%;
    display: block;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.team-container2>div:nth-of-type(even)>div>img {
    float: right;
}

.team-container2.mobile-team>div>div>img {
    margin-bottom: 1.5rem;
}

section.color-background>.team-container2 ul,
section.container .team-container2 ul {
    margin-top: 3rem;
}

.team-container2 h3 {
    text-transform: none;
    line-height: 1;
}

.mitarbeiter {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 6rem;
}

.mitarbeiter:before,
.mitarbeiter:after {
    display: none;
}

.mitarbeiter>div {
    flex-basis: 30%;
}

.mitarbeiter img {
    width: 100%;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.content .mitarbeiter p {
    font-size: 2rem;
    color: var(--text-color);
    font-weight: 400;
    margin-top: 1rem;
    line-height: 1.5;
}

.mitarbeiter p span {
    font-size: 1.6rem;
    color: var(--text-color);
    font-weight: 300;
}

section.color-background>.team-container2 ul+p,
section.container .team-container2 ul+p {
    margin-top: 2rem;
}

.team-container2.mobile-team.container>div>div>p span,
section.color-background>.team-container2.mobile-team.container>div>div>p span {
    color: var(--primary-color);
    font-weight: 400;
}

.team-container2.mobile-team.container>div>div>p,
section.color-background>.team-container2.mobile-team.container>div>div>p {
    padding-bottom: 0rem;
    margin-bottom: 0rem;
}

.hover-box-kasten:hover .hover-box {
    opacity: 1;
}

.hover-box-kasten>div {
    overflow: hidden;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.hover-box-kasten>div:hover img {
    transform: scale(1.2);
    opacity: 0.2;
}


@media (max-width: 991px) {

    .team-container2 h3,
    section.color-background>.team-container2 h3 {
        margin-top: 4rem;
    }

    .team-container2>div:nth-of-type(even)>div>img {
        float: left;
    }

    .team-container2>div:nth-of-type(even) h3,
    .team-container2>div:nth-of-type(even) p {
        text-align: left;
    }

    .mitarbeiter>div {
        flex-basis: 100%;
    }

    .team-container2 .arzte {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .team-container2 .arzte:nth-of-type(2) {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }
}

@media (max-width: 767px) {
    .team-container2.mobile-team>div>div:not(:first-of-type)>img {
        margin-top: 6rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .team-container2.mobile-team>div>div:not(:not-of-type(-n+2))>img {
        margin-top: 6rem;
    }
}

/* Team-Boxen Version 2 ENDE -------------------------------------------------------------------------------------  */

/* Newsboxen ANFANG -----------------------------------------------------------------------------------------*/

section.newsboxen {
    background: var(--primary-color);
}

section.newsboxen .container>div {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
}

.news-thumbnail {
    flex-basis: calc(100% / 3 - 2rem);
}

.newsboxen h2 {
    color: var(--text-invert);
    margin-bottom: 0;
}

.newsboxen .h2subline+span {
    margin-bottom: 8rem;
    color: var(--text-invert);
    font-size: 2rem;
    display: block;
}

.news-thumbnail {
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    background: var(--secondary-color);
    text-align: left;
    border-radius: 5px;
}

div.news-thumbnail>p.news-headlines {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 300;
}

.news-thumbnail p {
    color: var(--text-color);
    font-weight: 300;
    margin-bottom: 1rem;
}

.news-thumbnail h3 {
    margin-bottom: 0.5rem;
}

.more-link {
    margin-top: auto;
}

@media (min-width:992px) {
    .newsbtn {
        display: none;
    }
}

@media (max-width: 992px) {
    .news-thumbnail {
        flex-basis: 100%;
    }

    section.newsboxen .container>div {
        gap: 2rem;
    }
}

/* Newsboxen ENDE -----------------------------------------------------------------------------------------------*/

/* Newsseite ANFANG ---------------------------------------------------------------------------------------------*/

.newspage h2 {
    margin-top: 0;
}

/* Newsseite ENDE ---------------------------------------------------------------------------------------------*/


/* Vorstellung ANFANG -------------------------------------------------------------------------------*/

div.container:before,
div.container:after {
    display: none;
}

section.vorstellung {
    background: var(--background);
    padding: 0;
    width: 100%;
}

.vorstellung h2 + p {
    text-transform: uppercase;
    font-weight: 400;
}

.vorstellung>.row {
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
}

.vorstellung img {
    display: none;
}

.vorstellung>.row>div:nth-of-type(1) {
    background-image: url(/wp-content/uploads/2025/08/Home_new-1.png);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
}

.vorstellung>.row>div:nth-of-type(2) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
    padding: 15rem 12vw 15rem 4rem;
    gap: 2rem;
}

.vorstellung h2,
.vorstellung p,
.vorstellung a {
    margin: 0;
}

.vorstellung .btn {
    width: fit-content;
}

.vorstellung h2 {
    margin-top: 0;
    margin-bottom: -2rem;
    text-align: left;
}

.vorstellung li {
    color: var(--text-color);
    line-height: 2;
}

.vorstellung .btn .btn-primary.invert {
background: var(--primary-color);

}

@media (max-width:991px) {
    .vorstellung>.row>div:nth-of-type(2) {
        padding: 4rem 10rem;
    }

    .vorstellung>.row {
        flex-direction: column;
    }

    .vorstellung img {
        display: block;
        width: 100%;
    }
}

@media (max-width:767px) {
    .vorstellung>.row>div:nth-of-type(2) {
        padding: 4rem 3rem;
    }
}

/* Vorstellung ENDE --------------------------------------------------------------------------------------------------*/

/* Praxisgalerie Anfang -----------------------------------------------------------------------------------------*/

.praxisgalerie img {
    width: 100%;
    transition: all .2s ease-in;
}

.praxisgalerie img:hover {
    transform: scale(1.05);
}

.praxisgalerie a {
    overflow: hidden;
    position: relative;
}

.praxisgalerie a:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    box-shadow: inset 0 0 0 0 rgb(255 255 255 / 50%);
    transition: box-shadow .2s ease;
    pointer-events: none;
}

.praxisgalerie a:hover:after {
    box-shadow: inset 0 0 0 10px rgb(92 38 71 / 70%);
}

.doppelblock {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    margin-bottom: 0.5rem;
    grid-gap: 0.5rem;
}

.doppelblock a:nth-of-type(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.doppelblock a:nth-of-type(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.doppelblock a:nth-of-type(2) img,
.doppelblock a:nth-of-type(3) img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.doppelblock a:nth-of-type(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.doppelblock a:nth-of-type(4) {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}

.dreier {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    margin-bottom: 0.5rem;
    grid-gap: 0.5rem;
}

.dreier a:nth-of-type(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.dreier a:nth-of-type(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.dreier a:nth-of-type(3) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

/* Praxisgalerie Ende ------------------------------------------------------------------------------------------*/

/* Bewegung ANFANG ---------------------------------------------------------------------------------------------*/

.come-in {
    animation: come-in 0.6s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.on-view-fade {
    opacity: 0;
}

@keyframes come-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Bewegung ENDE ---------------------------------------------------------------------------------------------------*/

/*  SLIDERBOXEN Anfang  ----------------------------------------------------------------------------------------------  */

svg path {
    fill: var(--primary-color);
}

svg:not(:root) {
    width: 2.5rem;
    height: 2.5rem;
}

.slider-boxen {
    position: fixed;
    right: 0;
    z-index: 5000;
    display: flex;
    width: 50px;
    flex-flow: column wrap;
    top: 50%;
    transform: translateY(-50%);
    justify-content: center;
}

.slider-boxen .box {
    background: var(--secondary-color);
    padding: 1rem 2rem 1rem 2rem;
    margin-bottom: 1rem;
    width: 350px;
    transform: translatex(-10px);
    transition: all .2s ease-in;
    border-radius: 5px;
    display: flex;
    align-items: center;
    column-gap: 1.5rem;
    border: 1px solid var(--primary-color);
}

.slider-boxen .box:hover {
    transform: translatex(-165px);
    transition: all .2s ease-in;
}

.slider-boxen .telefonlink:before {
    display: none;
}

.slider-boxen .box a {
    color: var(--text-color);
}

.slider-boxen .box a:hover {
    color: var(--primary-color);
}

.slider-boxen .box a img {
    width: 30px;
}

@media (min-width: 768px) {
    .slider-boxen .box a {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        column-gap: 2rem;
    }
}

@media (max-width: 991px) {
    .slider-boxen .box a img {
        margin-right: 1rem;
    }
}

@media (max-width:767px) {
    .slider-boxen {
        bottom: 0;
        justify-content: center;
        display: block;
        left: 0;
        width: 100%;
        top: auto;
        transform: none;
    }

    svg path {
        fill: var(--text-invert);
    }

    svg:not(:root) {
        width: 2rem;
        height: 2rem;
    }

    .slider-boxen .box {
        border: 1px solid var(--text-color);
    }

    .slider-boxen .box a img {
        display: none;
    }

    .slider-boxen .box a img.svgwhite {
        display: inline-block;
        width: 2rem;
    }

    .slider-boxen .box a {
        font-size: 1.5rem;
        color: var(--text-invert);
        display: flex;
        gap: 1rem;
        justify-content: center;
    }

    .slider-boxen>div {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        align-content: stretch;
        background: var(--primary-color)
    }

    .slider-boxen .box {
        transform: none !important;
        margin-bottom: 0;
        border-top-width: 2px;
        width: 50%;
        flex-basis: 50%;
        max-width: 50%;
        border-radius: 0;
        display: flex;
        justify-content: center;
        overflow: hidden;
        background: transparent;
        border-color: var(--text-invert);
        padding: 1rem;
    }

    .slider-boxen .box.desktop {
        display: none;
    }
}

@media (min-width: 768px) {
    .slider-boxen .box a img.svgwhite {
        display: none;
    }

    .slider-boxen .box.mobil {
        display: none;
    }
}


/*  SLIDERBOXEN ENDE  ------------------------------------------------------------------------------------------------------  */

/*  Accordion ANFANG  -----------------------------------------------------------------------------------------------------------------  */

.panel-group .panel.panel-default {
    margin-top: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin-bottom: 2rem;
}

.panel-group {
    margin-bottom: 0;
}

a.accordion-button.v2 {
    color: var(--text-invert);
    font-size: 1.7rem;
    background: var(--primary-color);
    background-image: url(images/pfeil.svg);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 3.2rem 100% !important;
    -moz-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
    border-radius: 5px;
}

a.accordion-button.collapsed.v2 {
    transition: all .0s ease-in;
}

@media (max-width:991px) {
    .panel-group .panel.panel-default {
        flex-basis: 100%;
    }
}

/*  Accordion ENDE  -----------------------------------------------------------------------------------------------------------------  */

/* Buttons Anfang -----------------------------------------------------------------------------------------------*/

a.more-link {
    display: flex;
    align-items: center;
    padding: 1rem 3rem;
    border-radius: 10rem;
    color: var(--text-invert);
    font-size: 1.6rem;
    font-weight: 300;
    border: 1px solid var(--text-invert);
    letter-spacing: 1px;
    transition: all .3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    width: fit-content;
    background: var(--primary-color);
	justify-content: center;
}

a.more-link:hover {
    color: var(--text-invert);
}

a.more-link.invert {
    border: 1px solid var(--primary-color);
}

a.more-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--hover);
    transition: all .3s;
    border-radius: 10rem;
    z-index: -1;
}

a.more-link:after {
    background-image: url(/wp-content/uploads/2022/05/pfeil-icon.png);
    display: inline-block;
    background-size: 20px;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    content: '';
    margin: 0.5rem;
    transition: all 0.3s;
}

a.more-link.invert:after {
    background-image: url(/wp-content/uploads/2022/05/pfeil-icon.png);
}

a.more-link.invert:hover:after {
    background-image: url(/wp-content/uploads/2022/05/pfeil-icon.png);
}

a.more-link:hover:after {
    background-image: url(/wp-content/uploads/2022/05/pfeil-icon.png);
}

a.more-link.invert:before {
    background: var(--hover);
}

a.more-link:hover:before {
    width: 100%;
}

a.more-link.invert {
    color: var(--text-invert);
    background: var(--primary-color);
}

a.more-link.invert:hover {
    color: var(--text-invert);
}

a.more-link img {
    width: 24px;
    vertical-align: bottom;
    margin-left: 1rem;
    transition: all 0.4s ease;
}

/* Buttons Ende -----------------------------------------------------------------------------------------------*/

/* NewDatePicker ANFANG*/
body .dtp>.dtp-content>.dtp-date-view>header.dtp-header {
    background-color: var(--primary-color);
}

body .dtp div.dtp-date,
body .dtp div.dtp-time {
    background-color: var(--primary-transparent);
}

body .dtp .p10>a {
    color: var(--primary-color);
}

body .dtp table.dtp-picker-days tr>td>a.selected {
    background-color: var(--primary-color)
}

/* NewDatePicker ENDE*/

@media (max-width: 767px) {
    div a.doctolib {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .docto-box {
        display: none;
    }
}

/* Adresse Praxisunterseite Anfang*/
    
.no-p-style {
    font-size: 1.6rem !important;
    font-weight: 300 !important;
    padding-bottom: 1rem !important;
    color: var(--text-color);
    line-height: 1.6 !important;
    margin-bottom: 0 !important;


}

/* Adresse Praxisunterseite Ende*/

/* Download List Anfang */

.download-list {
    list-style: none;
}

.download-list img {
    width: 30px;
    margin-right: 2rem;
    padding: 5px;
}

/* Download List Ende */

/* Praxis Anfang */

.maps {
    margin-top: 4rem;
}

/* Praxis Ende */


/* IG Siegel Anfang*/

.ig-siegel {
	display:flex;
	justify-content: center;
	margin-top: 2rem;
}

.ig-siegel img {
	width: 200px;
	max-width: 100%;
}

/* IG Siegel ENDE*/

/* Kontaktformular Anfang */

.date-time {
  height: 34px !important;
  background: #fff !important;
}

/* Kontaktformular ENDE */

/* Dropdown-Button Anfang */

.dropdown {
  position: relative;
  display: inline-block;
  width: max-content;
}

.dropdown-button {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 16px;
  border: none;
  cursor: pointer;
  border-radius: 20px;
}

/* Erst verstecken */
.dropdown-content {
  display: none;
  position: absolute;
  top: 50%;
  left: 100%; /* Rechts neben dem Button */
  transform: translateY(-50%);
  gap: 10px; /* Abstand zwischen Buttons */
}

.dropdown-content a {
  background-color: var(--hover);
  color: white;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 20px;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.dropdown-content a:first-child {
  margin-left: 1rem;
}

.dropdown-content a:hover {
  background-color: var(--primary-color);
}

/* Nur beim Hover anzeigen */
.dropdown:hover .dropdown-content {
  display: flex;

}

@media (max-width: 440px) {

    .dropdown:hover .dropdown-content {
        flex-direction: column;
}

}

/* Dropdown-Button ENDE */

@media (min-width:368px){
  .wp-block-image.mobil {
    display: none;
  }

  .wp-block-image.desktop {
    display: block;
  }
}

@media (max-width:367px){
  .wp-block-image.mobil {
    display: block;
  }

  .wp-block-image.desktop {
    display: none;
  }
}