/* Content ANFANG -------------------------------------------------------------*/

.home h1 {
    margin-bottom: 0rem;
}

.home h1 + span {
    text-transform: none;
    font-size: 2.5rem;
    font-weight: 400;
    display: block;
    padding-bottom: 9rem;
    color: #555;
    margin-bottom: 0rem;
}

h1+span {
    margin-bottom: 4rem;
    display: block;
    font-size: 2.5rem;
    font-weight: 400;
    color: #555;
}

.panel-body {
    padding: 15px 6px;
}

ul, ol {
    margin-top: 0;
    margin-bottom: 10px;
    padding-left: 18px;
}

.sidebar-termine {
    background: #fbc251;
    padding: 2rem 2rem 1rem 2rem;
    margin-bottom: 2rem;
    border-radius: 5px;    
}

.sidebar-termine h3 {
    margin-bottom: 1rem;
    color: #0079bf; 
    font-weight: 700;
}

.sidebar-termine p {
    color: #555;
}

@media (min-width: 992px) {
    .home .content p {
        margin: 0 auto;
        width: 58%;
        text-align: center;
    }
    
    .home h1, .home h2, .home h1 + span {
        text-align: center
    }
    
    .home h2 {
        font-size: 3rem;
    } 
}

@media (max-width: 991px) {
    .home h1 + span {
        text-align: left;
    }
}

/* Content ANFANG -------------------------------------------------------------*/

/* Blauer Hintergrund ANFANG --------------------------------------------------------------------------------------------*/

div.container:before, div.container:after {
    display: none;
}

.color-background {
    background: #d0dbf1; 
}

.color-background h2 {
    color: #0079bf;
    margin-top: 0rem;
    text-align: center;
    font-size: 3rem;
}

.color-background p:last-of-type {
    margin-bottom: 0rem;
    padding-bottom: 0rem;
}

.color-background li {
    color: #0079bf;
    line-height: 2;
}

.color-background a {
    color: #0079bf;
}

.color-background a:hover {
    color: #fff;
}

.color-background p {
    color: #0079bf;
}

section.color-background > div.container > div.flex-start > div.sprechzeiten p {
    text-align: left;
    color: #0079bf;
    font-weight: 700;
}

.sprechzeiten p > span {
    float: right;
    text-align: right;
    font-size: inherit;
}

@media (min-width: 768px) {
    section.color-background > div.container > div.flex-start {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
}

    section.color-background.cta > div.container > div.flex-start:last-of-type {
        align-items: flex-end;    
}
}

@media (max-width: 767px) {
    .flex-start > .sprechzeiten {
        width: 90%;
        margin-top: 2rem;
        margin-bottom: 2rem;
}

    .color-background.cta .aufzaehlung {
        margin-top: 2rem;
}

}

@media (min-width: 768px) and (max-width: 991px) {
    .flex-start > .sprechzeiten {
        width: calc(100%/2);
}
}

@media (min-width: 992px) and (max-width: 1399px) {
    .flex-start > .sprechzeiten {
        width: calc(100%/2);
}      
}

@media (min-width: 1400px) {
    .flex-start > .sprechzeiten {
        width: calc(100%/4);
}      
}

@media (max-width: 991px) {
    .color-background p {
        text-align: left;
}
.color-background h2 {
    text-align: left;
 }
}

@media (min-width: 992px) {
    .color-background p {
        text-align: center;  
}

    .color-background.cta p {
        text-align: left;
        width: 100%;  
}

    .color-background > div p {
        width: 50%;
        margin: 0 auto;
}

    .color-background div.sprechzeiten p {
        width: 100%;
        margin: 0 auto;
}
}


/* Blauser Hintergrund ENDE --------------------------------------------------------------------------------------------------*/

/* Startseite Leistungen ANFANG --------------------------------------------------------------------------------------------*/

.versetzt-boxen {
    background: #ededed;
} 

a.leistung-button:before {
    content: "";
    display: inline-block;
    border-bottom: 2px solid #0079bf;
    width: 75px;
    margin-right: 20px;
    -webkit-transform: translate(0,-0.2em);
    -ms-transform: translate(0,-0.2em);
    transform: translate(0,-0.2em);
    -webkit-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

a.leistung-button:hover:before {
    width: 85px;
}

.versetzt-boxen img {
    width: 100%;
}       

.versetzt-boxen .versetzt-text {
    padding: 5rem;
    background: rgba(208, 219, 241, .7);
}       

.versetzt-text h3 {
    margin-top: 0;    
    font-size: 2.8rem;
    color: #0079bf;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
    text-align: left;
}

.versetzt-text p {
    margin-bottom: 0rem;
    line-height: 2;
    color: #0079bf;
}

.versetzt-text p:last-child {
    padding-bottom: 0;
}

.versetzt-text a {
    color: #0079bf;
}

div[class="versetzte-boxen"]:first-child {
    padding-top: 0;
}

div[class="versetzte-boxen"]:last-child {
    padding-bottom: 0;
}

@media (min-width: 992px) {                                                     

.versetzte-boxen {
    position: relative;     
    padding-top: 5rem;
    padding-bottom: 5rem;
} 

.versetzt-bild > img, .versetzt-text {
    border-radius: 15px;
} 

.versetzt-boxen > div:nth-of-type(odd) .versetzt-bild {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.versetzt-boxen > div:nth-of-type(odd) .versetzt-text {
    grid-column: 2 / 4;
    grid-row: 2 / 4;    
}

.versetzt-boxen > div:nth-of-type(even) .versetzt-bild {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
}

.versetzt-boxen > div:nth-of-type(even) .versetzt-text {
    grid-column: 1 / 3;
    grid-row: 2 / 4;    
}

} 

@media (max-width: 991px) {

.versetzt-bild > img {
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
}

.versetzt-text {
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
}

.versetzt-boxen .versetzt-text {
    padding: 4rem 2rem;
}

.versetzte-boxen:not(:last-of-type) {
    padding-bottom: 4rem;
}  

.versetzt-boxen-inner {
    width: 100%;
    position: relative;
    display: -ms-grid;
    display: grid;
    padding: 0 2rem;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    -ms-grid-rows: auto auto;
    grid-template-rows: auto auto;
}

.versetzt-boxen .versetzt-bild {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1 / 2;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1 / 2;
}

.versetzt-boxen .versetzt-text {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1 / 2;
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2 / 3;
} 
} 

@media (max-width: 1199px) and (min-width: 992px) {
    .versetzt-boxen-inner {
        margin: 0 auto;
        width: 100%;
        max-width: 1400px;
        position: relative;
        display: -ms-grid;
        display: grid;
        padding: 0 1.5rem;
        grid-template-columns: 1fr 2fr 1fr;
        grid-template-rows: auto 140px auto;    
}
}

@media (min-width: 1200px) {

    .versetzt-boxen-inner {
        margin: 0 auto;
        width: 100%;
        max-width: 1400px;
        position: relative;
        display: -ms-grid;
        display: grid;
        padding: 0 1.5rem;
        grid-template-columns: 1fr 2fr 1fr;
        grid-template-rows: auto 90px auto;
} 

} 

    
/* Startseite Leistungen ENDE ---------------------------------------------------------------------------------*/

/* Buttons Anfang -----------------------------------------------------------------------------------------------*/

.more-link, .color-background a.more-link {
    display: flex;
    align-items: center;
    padding: 1rem 3rem;
    border-radius: 10rem;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 300;
    border: 1px solid #0079bf;
    letter-spacing: 1px;
    transition: all .3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    width: fit-content;
    background: #0079bf;
}

.color-background a.more-link:hover, a.more-link:hover {
    color: #555;
    border-color: #555;
}

.more-link.invert {
    border: 1px solid #d0dbf1;
}

.more-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #fff;
    transition: all .3s;
    border-radius: 10rem;
    z-index: -1;
}

.more-link:after {
    background-image: url(/wp-content/uploads/2022/10/peil-icon-2.png);
    display: inline-block;
    background-size: 20px;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    content: '';
    margin: 0.5rem;
    transition: all 0.3s;
}

.more-link:hover:after {
    margin-left: 2rem;
}

.more-link.invert:after {
    background-image: url(/wp-content/uploads/2022/10/peil-icon-2.png);
}

.more-link.invert:hover:after {
    background-image: url(/wp-content/uploads/2022/10/pfeil-icon.png);
}

.more-link:hover:after {
    background-image: url(/wp-content/uploads/2022/10/pfeil-icon.png);
}

.more-link.invert:before {
    background: var(--farbverlauf);
}

.more-link:hover:before {
    width: 100%;
}

.more-link.invert {
    color: var(--text-color);
    background: #d0dbf1; 
}

.more-link.invert:hover {
    color: var(--text-invert);
}

.more-link img {
    width: 24px;
    vertical-align: bottom;
    margin-left: 1rem;
    transition: all 0.4s ease;
}


/* Buttons Ende -----------------------------------------------------------------------------------------------*/

/* Team-Boxen Version 1 Anfang -------------------------------------------------------------------------------------  */

.team-container {
    margin-bottom: 4rem;
}

.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: #555;
    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: #fff;
}

@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;
}

.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 span {
    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;
    text-align: center;
    color: #555;
    font-weight: 700;
    margin-top: 1rem;
    line-height: 1.5;
}

.mitarbeiter p span {
    font-size: 1.6rem;
    text-align: center;
    color: #555;
    font-weight: 300;
}

section.color-background > .team-container2 h3 {
    text-transform: none;
    margin-top: 0;
    color: #a9c4ce;    
}

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: #5c2647;
    font-weight: 700;   
}

.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;
} 

.content .mitarbeiter p {
    margin-bottom: 0rem;
    padding-bottom: 0rem;
}
}

@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;    
}
}

@media (min-width: 992px) {
    .team-container h2 {
        margin-top: 0rem;
    }
}

/* Team-Boxen Version 2 ENDE -------------------------------------------------------------------------------------  */

/* Parallax ANFANG -----------------------------------------------------------------------------  */

section.parallax {
    background: url(/wp-content/uploads/2022/11/parallax_start.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: rgba(208, 219, 241, .9);
    text-align: center;
    position: relative;
    align-self: flex-end
}

.parallax p {
    line-height: 2;
    color: #0079bf;
}

.parallax h2 { 
    margin-top: 0rem;
    margin-bottom: 4rem;
}

.parallax .more-link {
    margin: 0 auto;
    margin-bottom: 0rem;
    margin-top: 1.5rem;
}

@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/2022/11/parallax_start.jpg);
        position: fixed;
        height: 100%; 
        width: 100%;
        z-index: -1;
        top: 0;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    } 
}

/* Parallax ENDE -------------------------------------------------------------------------------------  */

/* Footer Anfang ----------------------------------------------------------------------------*/

footer > section.footerback {
    padding: 0;
}

footer img {
    width: 60%;
}

.footer-copyright2 .copy {
    float: right;
}

.footerback .container > .row:before, .footerback .container > .row:after {
    display: none;
} 

.footerback .container > .row {
    display: flex;
} 

.footerback .container > .row > div:nth-of-type(1) {
    display: flex;
    align-items: center;
} 

.footerback {
    background: transparent;
}

section.copyback {
    padding: 0rem 0rem 2rem 0rem;
    background-color: #d0dbf1;
}

section.copyback p {
    padding-bottom: 0rem;
    margin-bottom: 0rem;
}

.footer-copyright2 p, .footer-copyright2 a {
    text-align: right;
}

@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 ----------------------------------------------------------------------------*/

/* 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(0 121 191 / 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 ------------------------------------------------------------------------------------------*/

/* Galerie Smartslider ANFANG --------------------------------------------------------------------------------- */

div#n2-ss-14 .n2-ss-slider-3 {
    padding: 0px 20px 30px 20px;          
}

#n2-ss-14-align {
    margin-bottom: 10rem;
}

/* Galerie Smartslider ENDE --------------------------------------------------------------------------------- */
