/* Content allgemein Anfang ----------------------------------------------------*/
img {
    width: 100%;
}

h2:first-child, p:first-child {
    margin-top: 0;
}

.homeimg {
    float: right;
    max-width: 50%;
    padding: 0 0 2rem 2rem;
}

.home section:nth-of-type(1) {
    padding: 4rem 0;
}

section.dark {
    background:#caced9;    
}

.trenner h2 {
    text-align: center;  
    margin-bottom: 6rem;
    margin-top: 0;
}

.homeimg.mobilimg {
    display: none;
}

nav .telefonlink {
    display: none;
}

@media (min-width: 992px) {
    .home section.container article.content {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

@media (max-width:991px) {
    .homeimg.mobilimg {
        display: block;
        margin: 0 auto;
        max-width: 500px;
        margin-bottom: 3rem;
        float: none;
        padding: 0;
    }

    .homeimg {
        display: none;
    }

    nav .telefonlink {
        display: block;
        color: #fff;
        padding-left: 1.5rem;
    }

    footer img {
        display: block;
        margin: 0 auto;
    }
}
/* Content allgemein Ende ----------------------------------------------------*/

/*  HOME-TEASER ANFANG  ---------------------------------------------------------------------------------------------------------------------  */

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

.home-teaser-box {
    max-width: 630px;
    padding: 1.5rem;
    background: #fff;
    position: relative;
    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: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;            
}

div.home-teaser-box *:not(a) {
    color: #4e5a74;
}

.home-teaser-box .btn {
    margin-top: 2rem;
    margin-bottom: 0;
    font-size: inherit;
}

.home-teaser-box img {
    width: 100%;
    max-width: 600px;
}

.home-teaser-box h3 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
	color:#4e5a74;
} 

.home-teaser-box h3:after {
    content: "";
    position: relative;
    background: #9da4b9;
    height: 2px;
    width: 100px;
    display: block;
    margin: 0 auto; 
    margin-top: 1.5rem;
}

.home-teaser-box p {
    text-align: center;
}       

.home-teaser-box:before {
    content: "";
    position: absolute;
    left: 51%;
    right: 51%;
    top: 0;
    background: #4e5a74;
    height: 2px;
    -webkit-transition-property: left, right;
    transition-property: left, right;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.home-teaser-box:hover:before {
    left: 0;
    right: 0;
}

.home-teaser-box > h3 + div {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
}

@media (min-width: 992px) {   

.home-teaser.grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr (3rem 1fr)[2];
    grid-template-columns: 1fr repeat(2, 3rem 1fr);
    -ms-grid-rows: auto 3rem auto;
    grid-template-rows: auto 3rem auto;
}

.home-teaser.grid > *:nth-child(3n-2) {
     -ms-grid-column: 1;
     -ms-grid-column-span: 1;
     grid-column: 1 / 2;    
}

.home-teaser.grid > *:nth-child(3n-1) {
     -ms-grid-column: 3;
     -ms-grid-column-span: 1;
     grid-column: 3 / 4;    
}

.home-teaser.grid > *:nth-child(3n) {
     -ms-grid-column: 5;
     -ms-grid-column-span: 1;
     grid-column: 5 / 6;    
}

.home-teaser.grid > *:nth-child(-n+3) {
     -ms-grid-row: 1;
     -ms-grid-row-span: 1;
     grid-row: 1 / 2;    
}

.home-teaser.grid > *:nth-child(n+4):nth-child(-n+6) {
     -ms-grid-row: 3;
     -ms-grid-row-span: 1;
     grid-row: 3 / 4;    
}

}

@media (min-width: 768px) and (max-width: 991px) {

.home-teaser.grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr (3rem 1fr)[1];
    grid-template-columns: 1fr repeat(1, 3rem 1fr);
    -ms-grid-rows: auto (3rem auto)[2];
    grid-template-rows: auto repeat(2, 3rem auto);
}

.home-teaser.grid > *:nth-child(2n-1) {
     -ms-grid-column: 1;
     -ms-grid-column-span: 1;
     grid-column: 1 / 2;    
}

.home-teaser.grid > *:nth-child(2n) {
     -ms-grid-column: 3;
     -ms-grid-column-span: 1;
     grid-column: 3 / 4;    
}

.home-teaser.grid > *:nth-child(-n+2) {
     -ms-grid-row: 1;
     -ms-grid-row-span: 1;
     grid-row: 1 / 2;    
}

.home-teaser.grid > *:nth-child(n+3):nth-child(-n+4) {
     -ms-grid-row: 3;
     -ms-grid-row-span: 1;
     grid-row: 3 / 4;    
}

.home-teaser.grid > *:nth-child(n+5):nth-child(-n+6) {
     -ms-grid-row: 5;
     -ms-grid-row-span: 1;
     grid-row: 5 / 6;    
}

}

@media (max-width: 767px) {

.home-teaser.grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    -ms-grid-rows: auto (4rem auto)[2];
    grid-template-rows: auto repeat(2, 4rem auto);
    justify-items: center;
}

.home-teaser.grid > * {
     -ms-grid-column: 1;
     -ms-grid-column-span: 1;
     grid-column: 1 / 2;
}     

.home-teaser.grid > *:nth-child(1) {
     -ms-grid-row: 1;
     -ms-grid-row-span: 1;
     grid-row: 1 / 2;
}

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

.home-teaser.grid > *:nth-child(3) {
     -ms-grid-row: 5;
     -ms-grid-row-span: 1;
     grid-row: 5 / 6;
}

.home-teaser.grid > *:nth-child(4) {
     -ms-grid-row: 7;
     -ms-grid-row-span: 1;
     grid-row: 7 / 8;
}

.home-teaser.grid > *:nth-child(5) {
     -ms-grid-row: 9;
     -ms-grid-row-span: 1;
     grid-row: 9 / 10;
}

.home-teaser.grid > *:nth-child(6) {
     -ms-grid-row: 11;
     -ms-grid-row-span: 1;
     grid-row: 11 / 12;
}

}

/*  HOME-TEASER ENDE  -------------------------------------------------------------------------------------------------------------  */

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

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

.sprechzeiten strong {
    text-align: center;
    display: block;
    margin-bottom: 2rem;
}

.sprechzeiten .btn {
    width: 100%;
}

@media (min-width: 768px) {
    div.flex-start {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 5rem;
}
}

@media (max-width: 767px) {
    .flex-start > .sprechzeiten {
        width: 100%;
}
}

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

/* Trenner Sprechzeiten Ende -------------------------------------------------------------------------------------------*/

/* Flowbox Anfang -------------------------------------------------------------------------*/

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

section.flowbox {
    background:#9da4b9; 
    padding: 0;
    width: 100%;
}

.flowbox > div {
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
    min-height: 65vh;
    margin: 10rem 0;
}

.flowbox > div:first-of-type {
    margin-top: 0;
}

.flowbox > div:last-of-type {
    margin-bottom: 0;
}

.flowbox img {
    display: none;
}

.flowbox.zweite > div:nth-of-type(1) > div:nth-of-type(1) {
    background-image: url(/wp-content/uploads/2022/06/box-besonderer-service.jpg) ;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    flex-basis: 60%;
}

.flowbox.zweite > div:nth-of-type(2) > div:nth-of-type(2) {
    background-image: url(/wp-content/uploads/2022/06/box-hygiene.jpg) ;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    flex-basis: 60%;
}

.flowbox.zweite > div:nth-of-type(3) > div:nth-of-type(1) {
    background-image: url(/wp-content/uploads/2022/06/box-stressfrei.jpg) ;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    flex-basis: 60%;
}

.flowbox > div:nth-of-type(odd) > 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;
    padding: 15rem 4rem;
    flex-basis: 40%;
    gap: 3rem;
}

.flowbox > div:nth-of-type(even) > div:nth-of-type(1) {
    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;
    padding: 15rem 4rem;
    flex-basis: 40%;
    gap: 3rem;
}

.flowbox h2, .flowbox p, .flowbox a {
    text-align: left;
}

.flowbox h2 {
    margin: 0;
}

.flowbox p {
    color: #fff;
}

.flowbox p:last-of-type {
    margin-bottom: 0rem;
    padding-bottom: 0rem;
}

.flowbox li {
    color: #000;
    line-height: 2;
}

.flowbox .btn-primary {
    background: #4e5a74; 
    text-align: center;
    width: fit-content;
    color: #fff;
	font-size:1.6rem;
}

.flowbox .btn-primary:hover {
    color: #4e5a74;
    background: #CACED9;
    border: 1px solid #CACED9; 
}

@media (max-width:991px){

    .flowbox > div {
        min-height: 20vh;
        margin: 0;
    }

    section.flowbox > .row > div {
        width: 100%;
    }

    .flowbox > div:nth-of-type(even) > div:nth-of-type(1),.flowbox > div:nth-of-type(odd) > div:nth-of-type(2) {
        padding: 5rem 2rem;
    }

    .flowbox > div:nth-of-type(even) > div:nth-of-type(2) {
        padding: 0;
    }

    .flowbox > div > div:nth-of-type(2) {
        padding: 4rem 10rem;
    }

    .flowbox > div {
        flex-direction: column;
    }

    .flowbox > div:nth-of-type(odd) {
        flex-direction: column-reverse;
    }

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

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

/* Flowbox Ende ---------------------------------------------------------------------------------*/

/* Mitgliedschaften Anfang ------------------------------------------------------------------------------------------------------*/

.member-flex {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between;
}

.member-flex img {
    width: 100%;
    max-width: 250px;
}

@media (max-width: 991px) {
    .member-flex img {
        max-width: 300px;
        margin: 0 auto;
        margin-bottom: 5rem;
    }
}

/* Mitgliedschaften Ende -------------------------------------------------------------------------------------------*/

/*  TEAMSEITE ANFANG  ---------------------------------------------------------------------------------------------------------------------  */

.team-teaser {
    background-color: #caced9;
    width: 100%;
    border-bottom: 5px solid #9da4b9;
    margin-bottom: 2rem;
    border-radius: 4px;   
}

.team-teaser:hover {
    border-bottom: 5px solid #4e5a74;
}

.team-teaser-pic {
    overflow: hidden;
}   

.team-thumbnail {
    padding: 2rem 1rem;
}

.team-thumbnail p{
    margin-bottom: 1rem;
}

.team-thumbnail > * {
    text-align: center;
}

.team-thumbnail > h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.team-teaser:hover img.teaser-pic {
    -webkit-transform: scale(1.25);
    -moz-transform: scale(1.25);
    -ms-transform: scale(1.25);
    -o-transform: scale(1.25);
    transform: scale(1.25);
}

img.teaser-pic {
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}

/*  TEAMSEITE ENDE  ---------------------------------------------------------------------------------------------------------------------  */

/* Trenner ANFANG */

div.trenner {
    width: 35px;
    position: relative;
    margin: 3rem auto 0 auto;
}

.home div.trenner {
    margin: 3rem auto 0 auto;
}

h2 + div.trenner {
    margin-top: 0rem;
}

.trenner img {
    width: 100%;
}

div.trenner:before {
    content: '';
    width: 16vw;
    height: 1px;
    background: #CACED9;
    position: absolute;
    right: 150%;
    top: 50%;
    border-radius: 1px;
}

div.trenner:after {
    content: '';
    width: 16vw;
    height: 1px;
    background: #CACED9;
    position: absolute;
    left: 150%;
    top: 50%;
    border-radius: 1px;
}

@media (max-width: 991px) {
    div.trenner {
        margin: 2rem auto 6rem auto;
    }

    div.trenner:before {
        width: 30vw;
    }
    
    div.trenner:after {
        width: 30vw;
    }
}

/* Trenner 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(101 146 180 / 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 ------------------------------------------------------------------------------------*/