/* Trenner Anfang ----------------------------------------------------------------------------------------------------------------------------------------------*/
div.trenner {
    width: 60px;
    position: relative;
    margin: 1rem auto 10rem auto;
}

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

@media (max-width:1199px) {
.container {
    width: 100%;
	}	
}
.faxlink:before {
    content: "\e045";
    font-weight: normal;
    font-size: 16px;
    margin-right: 6px;
    text-decoration: none;
    font-family: 'Glyphicons Halflings';
}
.mail-link:before {
    content:"\2709";
	font-weight: normal;
    font-size: 16px;
    margin-right: 6px;
    text-decoration: none;
    font-family: 'Glyphicons Halflings';
	    vertical-align: middle;
}
header .telefonlink {
	padding-right:1rem;
	padding-left:1rem;
}
header .mail-link {
	
}
header .telefonlink:before {
	font-size: 14px;
}
header .mail-link:before {
	font-size: 14px;
}


div.trenner:before {
    content: '';
    width: 200px;
    height: 1px;
    background: #18344c;
    position: absolute;
    right: 150%;
    top: 29px;
    border-radius: 1px;
}
    
div.trenner:after {
    content: '';
    width: 200px;
    height: 1px;
    background: #18344c;
    position: absolute;
    left: 150%;
    top: 29px;
    border-radius: 1px;
}
    
.trenner img {
    width: 100%;
}

@media (max-width: 991px) {
    div.trenner:before {
        width: 80px;
}
    
    div.trenner:after {
        width: 80px;
}
	.h1span {
font-size:3.5vw !important;
}		
}

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

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

.h1span {
    color: #A01831;
    text-align: center;
    display: block;
    font-size: 3.5rem;
    margin-bottom: 0rem;
    letter-spacing: 2px;
    line-height: 3.5rem;
    margin-top: 0rem;  
    text-transform: uppercase;
    font-weight: 700;
}

.home h1 {
    margin-bottom: 0rem;
    text-align: center;
    font-weight: 400;
    font-size: 2.5rem;
    letter-spacing: 2px;
    color: #555;
}

h1+span {
    margin-bottom: 2rem;
    display: block;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: #555;
}

.home h2 {
    text-align: center;
}

h2.h2subline {
    margin-bottom: 0;
}

.h2subline+span {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    display: block;
}

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 {
    text-align: center;
    width: 65%;
    margin: 0 auto;
    margin-bottom: 1.7rem;
    line-height: 2;
}

@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: #ECE9E9; 
}

.color-background h2 {
    color: #A01831;
    margin-top: 0rem;
    text-align: center;
}

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

.color-background li {
    color: #555;
    line-height: 2;
}

.color-background a {
    color: #A01831;
}

.color-background a:hover {
    color: #555;
}

.color-background p {
    text-align: center;
    color: #555;
}

section.color-background > div.container > div.flex-start > div.sprechzeiten p {
    text-align: left;
    color: #555;
    font-weight: 300;
}

.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: 2rem;
}

    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: 992px) {
    .color-background p {
        text-align: left;
}
}

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

    .color-background.zwo p {
        text-align: center;  
    }
}


/* Blauser Hintergrund ENDE --------------------------------------------------------------------------------------------------*/

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

.structure-bg {
        background: linear-gradient(to right, #A01831 0%, #8E152B 50%, #A01831 100%);
    padding-top: 0rem;
}

.structure-bg h2 {
    color: #fff; 
    margin-bottom: 0;
    margin-top: 0;
    font-size: 5rem;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.structure-bg h2 + span {
    color: #fff;
    font-size: 4rem;
    margin-bottom: 6rem;
    line-height: 5rem;
    font-weight: 300;
    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 +span, .row-leistungen > *:nth-child(8) > h2 +span {
    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: #fff;
    line-height: 2;    
}

.row-leistungen .leistungen-image {
    overflow:hidden;
}

.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(2deg) scale(1.15);
    transition: .2s ease-out;
}

.row-leistungen > *:nth-child(3) img:hover, .row-leistungen > *:nth-child(7) img:hover {
    transform: rotate(-2deg) scale(1.15);
    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: 110vh;
}

.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: #ec6426;
    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: #ec6426;
    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: #333;
}

.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:767px) {
.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: 50vh;
        min-height: auto;
        object-position: center;
        
}
    .row-leistungen .leistungen-image + div {
        padding-top: 4rem;
		padding-bottom: 4rem !important;
}
	.structure-bg {
		
		padding: 0;
	}
    .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;
}

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

    .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: 2.5rem;    
}

    .structure-bg h2 + span {
        line-height: 4rem; 
        font-size: 2.4rem !important;
		margin-bottom:2rem;
}
}    

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

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

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

.footerback .container > .row > div:nth-of-type(1) {
    display: flex;
    align-items: center;
} 

@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 #A01831;
    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-image: url(/wp-content/uploads/2022/06/parallax.jpg);
    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 / 80%);
    text-align: center;
    position: relative;
    align-self: flex-end
}


.parallax p {
    line-height: 2;
}

.parallax h2 { 
    margin-top: 0rem;
    margin-bottom: 4rem;
    color: #A01831;
}

.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/06/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: #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;
}

.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: #A01831;
    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;
} 
}

@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: #ECE9E9;
}

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: #a01831;
}

.newsboxen .h2subline+span {
    margin-bottom: 8rem;
    color: #555;
}

.news-teaser {
    background-color: #fff;
    width: 100%;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid #A01831;
}

.news-thumbnail {
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    text-align: center;
    border-radius: 5px;
}

 div.news-thumbnail > p.news-headlines {
    font-size: 2rem;
    color: #A01831;
    font-weight: 300;
}

.news-thumbnail p {
    text-align: center;
    color: #676b6d;
    font-weight: 300;
    margin-bottom: 1rem;
}

.news-thumbnail .more-link {
    margin: 0 auto;
    margin-top: auto;
}

.news-teaser h3{
    margin: 0;
}

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

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

    section.newsboxen .container > div {
        gap: 2rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

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

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

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

a.more-link:hover {
    color: #fff;
}

a.more-link.invert {
    border: 1px solid #8D8E91;
}

a.more-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color:#8D8E91;
    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:hover:after {
    margin-left: 2rem;
}

a.more-link.invert:after {
    background-image: url(/wp-content/uploads/2022/06/pfeil-icon-grau.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/06/pfeil-icon-grau.png);
}

a.more-link.invert:before {
  background: #8D8E91;
}

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

a.more-link.invert {
    color: #555;
    background: #ECE9E9; 
}

a.more-link.invert:hover {
    color: #fff;
}

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

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

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

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

section.vorstellung {
    background: #A01831; 
    padding: 0;
    width: 100%;
}

.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/2022/06/thomas_vorstellung.jpg) ;
    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 2rem;
    gap: 2rem;
}

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

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

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

.vorstellung a:hover {
    color: #8D8E91;
}

.vorstellung li {
    color: #fff;
    line-height: 2;
}

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

.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: #eee;
    padding: 1rem 2rem 1rem 2rem;
    margin-bottom: 1rem;
    width: 350px;
    transform: translatex(-10px);
    transition: all .2s ease-in;
    border-radius: 40px 0px 0 40px;
    border: 1px solid #555;
}

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

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

.slider-boxen .box a {
    color: #555;
}       

.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: 1rem;
    }
}

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

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

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

    .slider-boxen .box a {
        font-size: 1.5rem;
        color: #fff;
        display: block;
    }
    
    .slider-boxen > div {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        align-content: stretch;
        background: linear-gradient(to right, #A01831 0%, #8E152B 50%, #A01831 100%);
    }
    
    .slider-boxen .box {
        transform: none !important;
        margin-bottom: 0;
        border-top-width: 2px;
        width: calc(100% / 2);
        flex-basis: calc(100% / 2);
        max-width: calc(100% / 2);
        border-radius: 0;
        display: block;
        text-align: center;
        overflow: hidden;
        height: 53px;
        background: transparent;
        border-color: #fff;
    }
}

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


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

/* Pop Up ANFANG */

#myModal {
    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;   
    z-index: 6000;        
}

.modal-body {
    padding: 0rem 2.5rem;
}

.modal-header .close {
 position:relative;
 width:20px;
    height: 30px;
    font-size: 30px;
 z-index:5000;
 
 }

#myModal p:empty { 
    display: none;   
}

.modal-content {
    background: #fff;    
}

.content h2.modal-title {
    text-align:center;
    color: #2d8e9d;
    padding-bottom: 2rem;
}     

.modal-body > p {
    text-align: center;
    color: #555;;
}

.modal-body a {
    color: #2d8e9d;
    white-space: nowrap;
}

.modal-body a:hover {
    color: rgba(45, 142, 157, 0.7);
    text-decoration: underline;
}

.modal-body .pfeifercolor {
    color: #2d8e9d !important;
}

.modal-body > ul {
    text-align: left !important;
}

@media (min-width: 992px) {   
.modal-dialog {
    width: 100%;
    max-width: 900px;
}   
}

@media (max-width: 767px) {
#myModal {
   display:block;
}   
.content h2.modal-title {
   font-size:2rem;
}
}

/* Pop Up ENDE */
