/*  VARIABLEN  */


:root {
	--primary-color: #506f93;
    --secondary-color: #a7a9ac;
    --tertiary-color: #004f9e;
    --font-color: #555;
    --font-color2: #fff;
    --light-background: #eee;
}


/*  VARIABLEN  */

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

/* Allgemein ANFANG ------------------------------------------------------------*/

*:last-child {
    margin-bottom: 0;
}

.social-icon img {
    width: 100%;
    height: auto;
    max-width: 35px;
}

.social-icon {
    display: inline-block;
    margin-top: 1rem;
}

a:focus {
  outline: none;
  outline-offset: 0px;
	color: inherit;
text-decoration: none;
}

@media (max-width: 991px) {

    .tel-quicklink {
        display: block;
        position: fixed;
        float: none;
        top: 1.3rem;
        left: 1.5rem;
        opacity: 1;
    }
    
    .tel-quicklink .telefonlink {
        margin-top: 0.1rem;
        position: absolute;
        margin-left: 1rem;
		color: var(--font-color2);
    }
    
    .tel-quicklink img {
        width: 25px;
        height: auto;
    }

}      

li::marker {
    color: var(--primary-color);
}

/* Allgemein ENDE --------------------------------------------------------------*/

/* Content ANFANG */

.presse-artikel {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.contentpic {
    display: none;
}

.sidepic {
    text-align: right;
    padding-right: 0;
}

.sidepic img {
    width: 75%;
    height: auto;
    padding-bottom: 10rem;
}

ul, ol {
    margin-top: 0;
    margin-bottom: 3rem;
    padding-left: 19px;
}

@media (max-width: 767px) {
    .contentpic {
        display: block;
        width: 100%;
        height: auto;
        margin: 7rem 0 6rem;
    }

    .presse-artikel {
        flex-direction: column; 
        align-items: center; 
    }

    .presse-artikel a {
        margin-bottom: 4rem;
}
    
    h1 {
        font-size: 2.2rem;
    }
	
	.up {
		bottom: 4em;
	}
	
	.footer-copyright2 {
		padding-bottom: 6rem;
	}
	
}

@media (max-width: 991px) {
    .sidepic {
        display: none;
    }
}

blockquote a {
    color: var(--tertiary-color);
}

/* Content ENDE */

/* Footer ANFANG ---------------------------------------------------------------*/

.sprechzeiten p > span {
    text-align: right;
    font-size: inherit;
    padding-left: 0.6rem;
}

.sprechzeiten:not(:last-child) {
	margin-bottom: 3rem;
}

footer .sprechzeiten p {
    width: 75%;
}

footer .sprechzeiten p > span {
    float: right;
}

footer div.container div.row > div:first-of-type img {
    margin-top: 5rem;
    width: 100%;
    max-width: 264px;
    height: auto;
    background: var(--font-color2);
    padding: 15px;
}

footer div.container div.row > div:nth-of-type(4) img {
    width: 100%; 
    height: auto;
    max-width: 820px;
}

footer h3::after {
    width: calc(100% - 3rem);
    height: 2px;
    display: block;
    background-color: var(--font-color2);
    content: "";
    position: relative;
    left: 1.5rem;
}

@media (max-width: 991px) {
    footer div.container div.row > div:first-of-type img {
        display: block;
        margin: 5rem auto 0;
}
}

@media (max-width: 1400px) and (min-width: 1200px){
footer .sprechzeiten p {
    width: 100%;
}
}

/* Footer ENDE -----------------------------------------------------------------*/

/* Trenner Hintergrund ANFANG */

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

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

.color-background + .color-background {
    border-top: 2px solid var(--font-color2);
}

.color-background h2 {
    margin-top: 0rem;
    text-align: center;
    color: var(--font-color);
    text-transform: uppercase;
}

.color-background p {
    line-height: 2;
}

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

.color-background .btn-primary {
    color: #18344c;
    background: #e5c7ba; 
}

.color-background .btn-primary:hover {
    color: #18344c;
    background: #fff;
    border: 1px solid transparent; 
}

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

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

.flex-start img {
    width: 100%;
    max-width: 350px;
    height: auto;
}

.color-background .number-box p {
    text-align: left;
    margin-left: 0;
	margin-right: 0;
    width: 100%;
}

.color-background h2 + span {
    font-size: 2.5rem;
    text-align: center;
    color: var(--primary-color);
    display: block;
    margin-bottom: 2rem;
}

h2:has(+ span) {
    margin-bottom: 0rem;
}

.color-background div.flex-start p {
    text-align: left;
}

@media (min-width: 768px) {

    section.color-background > div.container > div.flex-start {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        align-items: center;
		justify-content: center;
        column-gap: 5rem;
    }

    section div:has(.flex-start) {
        display: flex;
        justify-content: space-between;    
    }

    section > div.container > div.flex-start:nth-of-type(2) > p {
        text-align: right;    
} 
}

@media (max-width: 767px) {
    .flex-start > .sprechzeiten {
        width: 100%;
}
	 section.color-background > div.container > div.flex-start:nth-of-type(2) > div {
 		display: block;
   		margin: 0 auto;
	}
	section.color-background > div.container > div.flex-start:nth-of-type(2) {
			display:block !important;
			padding-top:4rem;
		
	}
	.flex-start img {
		    margin: 2rem auto 0 auto;
    display: block;
		
	}
}

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

    .flex-start > .sprechzeiten {
        width: calc(100%/2);
    }

    section div.flex-start {
        flex-basis: 100%;
        width: 100%;
        max-width: 100%;
        display: block !important;
        column-gap: 0;
    }

}

@media (min-width: 992px) and (max-width: 1399px) {

    .flex-start > .sprechzeiten {
        width: calc(100%/2);
    }      

	.flex-start img {
        width: 100%;
        max-width: 130px;
        height: auto;
    }
}

@media (min-width: 1400px) {

    .flex-start > .sprechzeiten {
        width: calc(100%/3);
    }      
}

@media (max-width: 992px) {

    .color-background p {
        text-align: left;
    }

    section.color-background > div.container > div.flex-start:nth-of-type(2) {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: row;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            flex-direction: row;
        -ms-flex-pack: distribute;
        justify-content: space-around;   
	}
	
	.color-background h2 + span {
		font-size: 2rem;
	}
}

@media (min-width: 992px) {

    section .flex-start > p {
        width: 100%;    
	}
	
}

@media (min-width: 768px) and (max-width: 1199px) {
    .flex-start img {
        max-width: 94px;
}   
}

/* Trenner Hintergrund ENDE */


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

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

section.flowbox {
    padding: 0;
    width: 100%;
}

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

.flowbox > div:nth-of-type(2n){
	flex-flow:row-reverse wrap;
}

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

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

.flowbox img {
    display: none;
}

.flowbox > div:nth-of-type(1) > div:first-of-type {
    background-image: url(/wp-content/uploads/2025/02/Slider-KFO-Kinder-Leistungsbox-KFO-Kinder.jpg);
}

.flowbox > div:nth-of-type(2) > div:first-of-type {
    background-image: url(/wp-content/uploads/2025/02/Slider-KFO-Jugendliche-Leistungsbox-KFO-Jugendliche.jpg);
}

.flowbox > div:nth-of-type(3) > div:first-of-type {
    background-image: url(/wp-content/uploads/2025/02/Slider-KFO-Erwachsene-Leistungsbox-KFO-Erwachsene.jpg);
}

.flowbox > div:nth-of-type(4) > div:first-of-type {
    background-image: url(/wp-content/uploads/2025/02/Slider-Feste-Zahnspangen-Leistungsbox-Feste-Zahnspangen.jpg);
}

.flowbox > div:nth-of-type(5) > div:first-of-type {
    background-image: url(/wp-content/uploads/2025/02/Slider-Invisalign®-Leistungsbox-Invisalign®.jpg);
}

.flowbox > div:nth-of-type(6) > div:first-of-type {
    background-image: url(/wp-content/uploads/2025/02/Slider-Sportmundschutz-Leistungsbox-Sportmundschutz.jpg);
}

.flowbox > div > div:first-of-type {
    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(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 h2 {
    text-align: left;
    color: var(--font-color);
    margin: 0;
}

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

.flowbox a:before {
    content: "";
    display: inline-block;
    border-bottom: 2px solid var(--primary-color);
    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;
}

.flowbox a:hover:before {
    width: 85px;
	color: var(--primary-color);
}

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

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

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

.flowbox .btn-primary {
    width: fit-content;
}

@media (max-width:991px){

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

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

    .flowbox > div:nth-of-type(n) > div:nth-of-type(1) {
        padding: 12rem 2rem;
    }

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

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

    section.flowbox > div.row {
        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 ---------------------------------------------------------------------------------*/

/* Number Box ANFANG ----------------------------------------------------------------------------*/

.number-box span {
    font-size: 7rem;
    color: var(--primary-color);
}

.number-box h3 {
    margin-top: 0rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--font-color);
}

.number-box > div:not(:last-of-type) {
    border-right: 1px dashed var(--font-color);
}

.number-box > div {
	padding: 15px;
}

/* Number Box ENDE ----------------------------------------------------------------------------*/

/* Content Accordion Anfang -------------------------------------------------------------------*/

.home .content .accordion_container {
    width: 64%;
    margin: 5rem auto 2rem auto;
}

.content .accordion_container {
    padding: 0;
    width: 100%;
    margin: 5rem auto 8rem 0rem;
}

.content .accordion_container .panel {
              padding: 3rem 0 3rem 0;
    border-bottom: 1px solid #cecece;
       
}

.content a.accordion-button.collapsed.v2 {
         
    padding: 0rem 0 0rem 0;
    line-height: 2;

}

.content a.accordion-button.v2 span {
         
       -ms-grid-row: 1;
    -ms-grid-column: 2;
    font-size: 2rem;
    grid-area: acc-txt;
    display:inline-block;
	padding-top: 10px;

}

.content a.accordion-button.collapsed.v2 {
    background-image: none;
   display: -ms-grid;
 display: grid;
    -ms-grid-columns: 100px 1fr 50px;
    grid-template-columns: 100px 1fr 50px;
    -ms-grid-rows: auto 1fr;
    grid-template-rows: auto 1fr;
         grid-template-areas: 
    "icon acc-txt icon-spinner";


}

.content a.accordion-button.v2 {
background-image: none;
background:white;
color: var(--font-color);
    padding: 0rem 0 0rem 0;
        line-height: 2;
            display: -ms-grid;
    display: grid;
    -ms-grid-columns: 100px 1fr 50px;
    grid-template-columns: 100px auto 50px;
    -ms-grid-rows: auto auto;
    grid-template-rows: auto auto;
    grid-template-areas: "icon acc-txt icon-spinner";


}

.content a.accordion-button.v2 img {
      -ms-grid-row: 1;
    -ms-grid-column: 1;
    display: inline-block;
    width: 65px;
    margin-right: 3rem;
    grid-area: icon;
}

.content .accordion_container .panel-body {
    padding: 15px 0 0 0;
}

.content .accordion_container .panel-body a.btn-leistung:before {
   content: "";
    display: inline-block;
    border-bottom: 2px solid var(--primary-color);
    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;
}
.content .accordion_container .panel-body a.btn-leistung:hover:before {
    width: 85px;
	color:var(--primary-color);
}

.content .accordion_container .panel-body a.btn-leistung:hover {
	color: var(--primary-color);
}

.content a.accordion-button.collapsed.v2 span.spinner, .content a.accordion-button.v2 span.spinner {
        -ms-grid-row: 1;
    -ms-grid-column: 3;
    float: right;
    width: 50px;
	font-size:2.5rem;
    right: 0;
    position: relative;
    height: 50px;
    grid-area: icon-spinner;
}

.content a.accordion-button.collapsed.v2 span.spinner:before , .content a.accordion-button.collapsed.v2 span.spinner:after, .content a.accordion-button.v2 span.spinner:before , .content a.accordion-button.v2 span.spinner:after {
              content: '';
    display: block;
    position: absolute;
    top: 24px;
    right: 11px;
    z-index: 0;
    background: var(--font-color);
    pointer-events: none;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
}

.content a.accordion-button.collapsed.v2 span.spinner:after {
   width: 1.25em;
    height: 0.125em;
    margin-top: -0.0625em;
}
.content a.accordion-button.collapsed.v2 span.spinner:before{
    width: 0.125em;
    height: 1.25em;
    margin-top: -0.625em;
    margin-right: 0.5625em;
}

.content a.accordion-button.v2 span.spinner:after {
   width: 1.25em;
    height: 0.125em;
    margin-top: -0.0625em;
}
.content a.accordion-button.v2 span.spinner:before{
    width: 0.125em;
    height: 1.25em;
    margin-top: -0.625em;
    margin-right: 0.5625em;
}

.content a.accordion-button.v2 span.spinner:after {
      -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}
.content a.accordion-button.v2 span.spinner:before{
       -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
}

.content a.accordion-button.collapsed.v2 span.spinner:after {
      -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}
.content a.accordion-button.collapsed.v2 span.spinner:before{
       -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

@media (max-width:991px) {
.home .content .accordion_container {
    padding: 0;
    width: 100%;
    margin: 6rem auto 3rem auto;
}

.content a.accordion-button.collapsed.v2 {
    line-height: 1;
}
.content a.accordion-button.v2 {
    line-height: 1;
}

.content a.accordion-button.collapsed.v2 span.spinner, .content a.accordion-button.v2 span.spinner {
    width: 60px;
    height: 60px;
    border-radius:100%;
}

.content a.accordion-button.collapsed.v2 {
    background-image: none;
    display: -ms-grid;
display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    -ms-grid-rows: 80px 1fr;
    grid-template-rows: 80px 1fr;
         grid-template-areas: 
    "icon icon-spinner"
    "acc-txt acc-txt";


}                     
.content a.accordion-button.v2 img {
    grid-area: icon-spinner;
    margin: 0 ;
    width: 35px;
    border: 0;
    -ms-grid-column: 2;
    height: 35px;
}

.content a.accordion-button.v2 .acc-image {
    grid-area: icon-spinner;
    margin-left:0.5rem;
    width:60px;
    
    border: 2px solid var(--primary-color);
    border-radius: 100%;
    padding: 1rem;
    -ms-grid-column:2;
    height:60px;
}

.content a.accordion-button.collapsed.v2 img {
        grid-area: icon-spinner;
    width: 35px;
    margin:0 auto;
    top:10px;
    padding: 0;
    position: absolute;
    left: 0;
    border: 0;
    height: 35px;
    -ms-grid-column: 2;
    right: 0;
}

.content a.accordion-button.collapsed.v2 .acc-image {
   grid-area: icon-spinner;
    width: 60px;
    border: 2px solid var(--primary-color);
    border-radius: 100%;
    position: relative;
    height: 60px;
    margin: 0 0rem 0rem 0.5rem;
    -ms-grid-column: 2;
}



.content a.accordion-button.collapsed.v2 span:nth-of-type(1) {
    grid-area: acc-txt;
    text-align:center;
    -ms-grid-row:2;
    -ms-grid-column-span:2;
    -ms-grid-column:1;
}

.content a.accordion-button.collapsed.v2 span.spinner {
    grid-area: icon;
    margin: 0 0.5rem 0 0rem;
    position: relative;
    border: 2px solid var(--font-color);
    border-radius: 100%;
    padding: 1rem;
    height:60px;
    width:60px;
    -ms-grid-row:1;
    -ms-grid-column:1;
    
}

.content a.accordion-button.v2 span:nth-of-type(1) {
    grid-area: acc-txt;
    text-align:center;
    -ms-grid-row:2;
    -ms-grid-column:1;
    -ms-grid-column-span:2;
}

.content a.accordion-button.v2 span.spinner {
             grid-area: icon;
    margin: 0 0.5rem 0 0rem;
    position: relative;
    border: 2px solid var(--font-color);
    border-radius: 100%;
    padding: 1rem;
    height: 60px;
    width: 60px;
    -ms-grid-column: 1;
    -ms-grid-row: 1;
    justify-self: end;
    
}

.content a.accordion-button.v2 {
   display: -ms-grid;
display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    -ms-grid-rows: 80px 1fr;
    grid-template-rows: 80px 1fr;
         grid-template-areas: 
    "icon icon-spinner"
    "acc-txt acc-txt";


}

.content a.accordion-button.collapsed.v2 span.spinner:before, .content a.accordion-button.collapsed.v2 span.spinner:after, .content a.accordion-button.v2 span.spinner:before, .content a.accordion-button.v2 span.spinner:after {
    top: 27px;
    right: 11px;
}

}
 


/* Content Accordion Ende -------------------------------------------------------------------------*/


/* Teamvorstellung Anfang ------------------------------------------------------------------------*/

.team-teaser {
    border: 2px solid var(--primary-color);
    padding-bottom: 0;
    margin-bottom: 3rem;
}

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

.team-thumbnail .btn-primary {
    margin: 0 auto;
    display: block;
}

.teaser-pic {
    width: 100%;
    height: auto; 
}

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

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

@media (max-width: 991px) {
    .team-thumbnail .btn-primary {
        width: 30vw;         
    }
    
    .team-teaser {
        padding-bottom: 4rem;
        margin-bottom: 4rem;
    }

}

@media (min-width: 992px) {
    .team-thumbnail .btn-primary {
        width: 10vw;         
    }
        
    div.teamrow:not(:last-of-type) {
        margin-bottom: 3rem; 
    }
}

/* Teamvorstellung Ende --------------------------------------------------------------------------*/

/* header mobile boxen ANFANG ----------------------------------------------------------------------------*/
.header-mobile-buttons img {
    width: 66%;
    max-width: 264px;
    margin-top: 5rem;
}

.video .header-mobile-buttons img {
    width: 100%;
    max-width: 300px; 
    margin-top: 4rem;
}
.video .header-mobile-buttons p {
    font-size: 1.6rem;
    margin-bottom:1rem;
}
.video #doctolib-link {
    top:auto !important;
    bottom:8vh
}
.video .header-mobile-buttons p:nth-of-type(1) {
    font-size: 1.6rem;
    margin-bottom:0rem;
}
.video .header-mobile-buttons .btn-primary {
    padding: 0.5rem 2rem 0.5rem 2rem;
}

.header-mobile-buttons p {
    font-size: 1.6rem;
}

.header-mobile-buttons {
    font-size: 1.6rem;
    text-align: center;
    background: white;
    padding-bottom: 1rem;
}


.header-mobile-buttons a {
    margin: 1rem 2rem 1rem 2rem;
    display: block;
    color: #464646;
    font-size: 1.6rem;
}

.header-mobile-buttons a:hover {
    text-decoration: none;
    font-weight: normal;
    text-decoration: none;
    color: #464646;
}

.header-mobile-buttons a:focus {
    text-decoration: none;
    font-weight: normal;
    text-decoration: none;
}

.header-mobile-buttons .btn-primary .glyphicon {
    top:0px;
    font-size:1.2rem;
}

.header-mobile-buttons .btn-primary {
    font-size: 1.6rem;
    padding:1rem 2rem 1rem 2rem;
    border-radius: 5px;
    color: #fff;
    background: var(--primary-color);
}

.header-mobile-buttons a:last-of-type {
    margin-bottom: 0rem
}

.header-mobile-buttons .glyphicon {
    display: inline-block;
}

@media (max-width: 992px){
    .video section {
        padding: 1rem 1.5rem 6rem 1.5rem;
    }
    .video h1 {
        margin-bottom: 4rem;
    }
}

/* header mobile boxen ENDE ----------------------------------------------------------------------------*/

/* Vita ANFANG -----------------------------------------------------------------*/

@media (min-width: 992px){
    .vita h2 {
        margin-top: 0rem;
}
}

@media (max-width: 992px){
    .vita > div:nth-of-type(2) > div > div:nth-of-type(odd) > p {
        margin-bottom: 0rem;
}
}

/* Vita ENDE -----------------------------------------------------------------*/

/* FAQ ANFANG -----------------------------------------------------------------*/

.page-id-278 .content span {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
    padding-bottom: 0;
    display: block;
    font-size: 1.6rem;
}

/* FAQ ENDE -----------------------------------------------------------------*/

/* Overview ANFANG -----------------------------------------------------------*/

.overview > * {
    text-align: center;
}

.overview img {
    margin: 0 auto;
    display: block;
}

.overview h3 {
    text-align: center;
}

.overview a {
    color: var(--font-color);
}

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

@media (min-width: 992px) {
	
    .overview {
        margin-top: 12rem;
	}
	
}

@media (max-width: 991px) {
    .overview {
        margin-top: 7rem;
}
}

@media (min-width: 768px) {
	
	.overview > div:nth-child(n+3) {
		margin-top: 3rem;
	}
	
}

@media (max-width: 767px) {
	
	.overview > div:nth-child(n+2) {
		margin-top: 3rem;
	}
	
}

/* Overview ENDE -----------------------------------------------------------*/

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

.row.galerie:not(:last-of-type) {
    margin-bottom: 3rem;
}

.row.galerie img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

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

/*  VITA ANFANG  ------------------------------------------------------------------------------------------------------  */

.vita-flex {
	--gap: 1rem;
    margin-top: 2rem;
}

.vita-flex > p {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
	margin-bottom: 1.5rem;
	column-gap: var(--gap);
}

.vita-flex > p > span:nth-child(1) {
	font-weight: 700;		
}

.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:hover {
	opacity: 1;
}

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

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

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

@media (min-width: 768px) {
	
	.vita-flex > p {
    	flex-wrap: nowrap;
	}
	
	.vita-flex > p > span:nth-child(1) {
		flex-basis: calc(25% - var(--gap)/2);
	}
	
	.vita-flex > p > span:nth-child(2) {
		flex-basis: calc(75% - var(--gap)/2);
	}
	
}

@media (max-width: 767px) {
	
	.vita-flex > p {
    	flex-wrap: wrap;
	}

	.vita-flex > p > span {
		flex-basis: 100%;
	}

}

/*  VITA 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: #0596de;
    padding: 1rem 2rem 1rem 2rem;
    margin-bottom: 1rem;
    opacity: 0.85;
    width: 350px;
    transform: translatex(-100px);
    transition: all .2s ease-in;
    border-radius: 40px 0px 0 40px;
}

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

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

.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;
        width: 2rem;
        padding-bottom: 1px;
    }

    .slider-boxen .box a {
        font-size: 1.5rem;
        color: #000;
        display: block;
    }
    
    .slider-boxen > div {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        align-content: stretch;
        background: var(--primary-color);
    }
	
}

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

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

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

.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 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:768px) {
    .slider-boxen {
        bottom: 0;
        justify-content: center;
        display: block;
        left: 0;
        width: 100%;
        top: auto;
        transform: none;
    }

    .slider-boxen svg path {
        fill: #fff;
    }

    .slider-boxen svg:not(:root) {
        width: 2rem;
        height: 2rem;
    }
    .slider-boxen .box {
        border: 1px solid #fff;
    }

    .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: #fff;
        display: flex;
        gap: 1rem;
    }
    
    .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: calc(100% / 2);
        flex-basis: calc(100% / 2);
        max-width: calc(100% / 2);
        border-radius: 0;
        display: flex;
        text-align: center;
        justify-content: center;
        overflow: hidden;
        background: transparent;
        border-color: #fff;
        padding: 1rem;
    }
    
    .slider-boxen .box.desktop {
        display:none;
    }
}

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

.termin-boxen {
	position: fixed;
	z-index: 20000;
	top: 30%;
	right: 0;
	display: block;
}

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

/* Sprechzeiten-Trenner ANFANG -------------------------------------------------------------------------------------------------*/

.container .sprechzeiten-trenner {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 3rem;
}

.container .sprechzeiten-trenner>div:first-of-type {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 3rem;
    margin-bottom: 3rem;
}

.container .sprechzeiten-trenner>div:first-of-type>div{
    display:flex;
    flex-direction:column;
    align-items: center;
    flex-basis: calc(100% / 5 - 3rem* 4 / 5);
}

.container .sprechzeiten-trenner>div:first-of-type svg {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
}

.container .sprechzeiten-trenner>div:first-of-type p{
    text-align: center;
    white-space: nowrap;
}

.container .sprechzeiten-trenner>div:nth-of-type(2) {
    align-self: center;
	display: flex;
    column-gap: 3rem;
}

@media (max-width: 450px){
    .container .sprechzeiten-trenner>div:nth-of-type(2) {
        flex-direction: column;
        row-gap: 2rem;
        align-items: center;
    }
}

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

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

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

a.more-link:hover,
input.more-link:hover {
    color: var(--font-color);
    border-color: var(--font-color);
}

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

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

a.more-link:after,
input.more-link:after {
    background-image: url(/wp-content/uploads/2024/07/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,
input.more-link:hover:after {
    margin-left: 2rem;
}

a.more-link.invert:after,
input.more-link.invert:after {
    background-image: url(/wp-content/uploads/2024/07/pfeil-icon-grau.png);
}

a.more-link:hover:after,
input.more-link:hover:after {
    background-image: url(/wp-content/uploads/2024/07/pfeil-icon-grau.png);
}

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

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

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

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

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

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

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

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

section.vorstellung {
    background: var(--background);
    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/2025/02/Trenner-Aerzte.jpg);
    background-repeat: no-repeat;
    background-position: 50% 25%;
    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 6rem;
    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;
}

@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>.row>div:nth-of-type(2)>div:last-of-type {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

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

/* Anpassungen Praxis-Seite ANFANG -------------------------------------------------------------------------*/
.overview div p, .overview div ul {
    width: 81%;
    margin: 1rem auto 0 auto;
}

.overview div ul {
    list-style-position: inside;
}

/* Anpassungen Praxis-Seite ENDE -------------------------------------------------------------------------*/

/* FAQ-Accordions ANFANG */

.panel.panel-default.accordion-panel.accordion-panelv3 {
  background: var(--primary-color);
  position: relative;
  margin-bottom: 1rem;
  &:has(.collapsed):after {
    rotate: 0deg;
  }
  .accordion-button {
    padding: .5rem calc(25px + 1rem) .5rem .5rem;
  }
  * {
    color: #fff;
  }
  .panel-collapse {
    background-color: var(--light-background);
    padding: 0 1rem;
    *{
      color: var(--font-color);
    }
  }
  &:after {
    content: ">";
    color: var(--font-color2);
    position: absolute;
    right: 15px;
    top: 0.3em;
    font-weight: 600;
    rotate: 90deg;
    transition: rotate .4s ease;
  }
  p:empty {
    display: none;
  }
}
/* FAQ-Accordions ENDE */

/* Pop Up ANFANG -----------------------------------------------------------------------------------------------------------*/

.modal.in .modal-dialog {
    overflow-y: auto;
}

#myModal {
    display: flex;
    flex-direction: column;
    justify-content: center;   
    z-index: -1;   
}

#myModal.modal.fade.in {
    z-index: 6000;
}

.modal-body {
    padding: 15px 30px;
}

#myModal h2 {
	margin-top: 0;
}

.content h2.modal-title {
    color: #43c1ea;
} 

.content h2.modal-title:after {
    margin: 2rem auto 0 auto;
}  

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

.modal-content p:empty {
    display: none;
}

.modal-header {
    border: none;
}

button.close {
	position: relative;
	z-index: 1;
}

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

@media (max-width: 767px) {
    
#myModal {
   display:block;
}    
    
}


/* Pop Up ENDE ------------------------------------------------------------------------------------------------------------------------*/