/*
Theme Name: Breakcore 
Author: Informationsstelle Gesundheit GmbH, Düsseldorf
Author URI: www.informationsstelle-gesundheit.de
Description: Breakcore
Version: 1.0
License: Copyright 2019 Informationsstelle Gesundheit GmbH - keine Vervielfältigung - dieser Teil darf nicht gelöscht, geändert oder umbenannt werden.

*/

@font-face {
    font-family: 'Material Icons';
    font-display: swap;
    font-style: normal;
    font-weight: 400;
    src: url('fonts/datepicker-font.woff2') format('woff2');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.headboxlink:before {
    content: "\e080";
    margin-right: 10px;
    font-size: 12px;
    text-decoration: none;
    font-family: 'Glyphicons Halflings';
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

.headboxlink:hover:before {
    padding-left: 10px;
    margin-right: 0px;
}

html, body {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

p {
    font-size: 1.6rem;
    font-weight: 300;
    padding-bottom: 2rem;
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 0;
}

p:empty {
    display: none;
}

.pea_cook_wrapper p {
    padding-bottom: 0;
}

a {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 400;
}

a:hover {
    color: var(--text-color);
    text-decoration: none;
}

label {
    font-size: 1.6rem;
    font-weight: 300;
}

ul {
    padding-left: 2rem;
}

.checkbox label {
    padding-left: 5px;
    color: var(--text-color);
}

.checkbox-inline {
    padding-left: 0;
    font-weight: 300;
}

.form-group label {
    color: var(--text-color);
}

#wide {
    position: relative;
    overflow: hidden;
}

.menueleiste {
    position: relative;
    background: transparent;
}

li {
    color: var(--text-color);
    font-weight: 300;
    font-size: 1.6rem;
    line-height: 2;
}

.up {
    z-index: 10;
    position: fixed;
    bottom: 1em;
    right: 1em;
    display: block;
    padding-top: 0.2rem;
    width: 4.5rem;
    height: 4rem;
    color: var(--text-color);
    background: var(--background);
    border-radius: 30%;
    border: 1px solid white;
    font-size: 1.5rem;
    text-align: center;
    line-height: 4rem;
    opacity: 0.8;
    filter: alpha(opacity=60);
    box-shadow: 0 6px 13px 0 rgba(0,0,0,.23);
}

.up:hover {
    background: white;
    color: var(--text-color);
    opacity: 0.6;
    border: 1px solid var(--text-color);
}

.up:active, .up:focus {
    outline: none;
}

.telefonlink {
    white-space: nowrap;
}

footer .telefonlink {
    color: #181716;
}

footer {
    background: #f8f8f8;
}

.telefonlink:before {
    content: "\e182";
    font-weight: normal;
    font-size: inherit;
    margin-right: 5px;
    text-decoration: none;
    font-family: 'Glyphicons Halflings';
}

h1 {
    color: var(--primary-color);
    font-size: 3.5rem;
    margin-bottom: 0;
    letter-spacing: 0.4vw;
    line-height: 3.5rem;
    text-transform: uppercase;
    font-weight: 400;
    font-family: "EB Garamond";
    margin-top:0;
}

section {
    padding: 10rem 0;
    background: var(--background);
}

footer section {
    padding: 0;
}

.footerback {
    background: transparent;
    padding-bottom: 5rem;        
}

.copyback {
    background: var(--secondary-color);
}

@media(max-width:767px) {
    .copyback {
        margin-bottom: 4rem;
    }

    .up {
        bottom: 5em;
    }
}

aside {
    margin-bottom: 4rem;
}

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

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

.panel-body strong {
    color: var(--text-color);
}

.header-mobile-buttons img {
    width: 80%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
}

.header-mobile-buttons p {
    text-align: center;
    margin: 0;
    background: var(--background);
}

.header-mobile-buttons a {
    margin: 1rem 1rem 1rem 1rem;
    display: block;
    color: var(--text-color);
    font-size: 2rem;
}

.header-mobile-buttons a:hover {
    text-decoration: none;
    font-weight: normal;
    text-decoration: none;
    color: var(--text-color);
}

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

footer .footerback h3 {             
    display: block;
    margin: 20px 0 4rem 0;
    padding: 3rem 0 3rem 0;
    color: #181716;
    font-size: 2rem;
    text-transform: none;
    border-bottom: 1px solid;
    text-align: left;
    font-weight: 400;
    font-family: "EB Garamond";
}

footer a, footer p {
    color: #181716;
    text-decoration: none;
}
footer .sprechzeiten p {
    color: #181716;
    text-decoration: none;
        display: flex;
    justify-content: space-between;
}
footer .sprechzeiten p > span {
    float:none;
}

footer a:hover {
    color: #f8ae00;
}

.footer-copyright2 {
    padding-top: 2rem;
} 

.footer-copyright2 p, .footer-copyright2 a {
    color: var(--text-color);
    text-align: right;
}

html, body {
    width: 100%;
    height: 100%;
}

.para-callout {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

h2 {
    font-size: 1.1vw;
    color: var(--primary-color);
    text-align: left;
    margin-top: 4rem;
    letter-spacing: 0.2vw;
    margin-bottom: 3rem;
    text-transform: uppercase;
    font-weight: 400;
    font-family: "EB Garamond";
}

h3 {
    font-size: 2rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

body {
    -webkit-font-smoothing: antialiased;
    background-color: var(--background);
}

.willkommen {
    float: right;
    width: 24%;
    background: transparent;
}

.form-group p {
    margin: 0;
    padding: 0;
}

div#datetimepicker li {
    text-indent: 0;
    margin: 0;
}

div#datetimepicker li:before {
    content: ' ';
}

.checkbox p {
    margin: 0;
}

blockquote {
    border: none;
    background: var(--primary-color);
    border-radius: 5px;
    display: block;
    margin: 0 auto;
    width: 90%;
    padding: 3rem 2rem 1rem 2rem;
	margin-bottom: 3rem;
}

blockquote h2 {
    color: var(--text-invert);
    margin-top: 0;
}

blockquote p {
    color: var(--text-invert);
}

.kk-star-ratings .kksr-legend {
    color: var(--text-invert);
}

.bildimtext {
    width: 35%;
    float: right;
    padding: 0rem 0 1rem 2rem;
    max-width: 600px;
}

@media (min-width:992px) and (max-width:1399px) {
    h2 {
          font-size: 1.4vw;  
    }
} 

@media (min-width: 992px) {

.mobil-menu-button {
    display: none;
}

.slider.header8fix {
    margin-top: 0rem;
}

nav > ul > .current-menu-item a, nav > ul > .current-menu-ancestor > a, nav > ul > .current-menu-parent > a, nav > ul > .current-menu-parent .current_page_item a, nav > ul > .current-page-parent a {
    color: var(--primary-color);
}

#nav ul li a {
    display: block;
    padding: 0rem 1.4rem 0;
    width: auto;
    margin-top: 0px;
    color: var(--primary-color);
    font-weight: 400;
    font-size: 1.8rem;
    -moz-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
}    
    
nav ul li:hover ul {
    display: block;
}

nav ul > li > ul > li {
    float: none;
    display: block;
    border-right: none;
}

nav ul.sub-menu > li:hover > a {
    background: var(--background);
    color: var(--primary-color);
}

nav > ul > li > ul > li > ul.sub-menu {
    display: none;
}

nav > ul > li > ul > li:hover > ul.sub-menu {
    display: block;
    position: absolute;
    right: 100%;
    top: 0;
    z-index: 20;
}

.sub-menu .current-menu-item a {
    color: var(--text-color);
    background: var(--background);
} 

.slider {
    position: relative;
    overflow: hidden;
        border-radius: 0px;
}

.sliderdown1 {
    position: absolute;
    top:    60%;
    left: calc(100%/2 - 40px/2);
    z-index: 2;
    padding-top: 95px;
    display: inline-block;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    color: var(--text-invert);
    letter-spacing: 0;
    text-decoration: none;
    transition: opacity .3s;
}

.sliderdown1 span {
    position: absolute;
    top: 0;
    width: 40px;
    height: 80px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    box-sizing: border-box;
}

.sliderdown1 span:before {
    position: absolute;
    top: 32px;
    left: 50%;
    content: '';
    width: 9px;
    height: 9px;
    margin-left: -4px;
    background-color: var(--primary-color);
    border-radius: 100%;
    -webkit-animation: animation_down 2s ease-in-out infinite;
    animation: animation_down 2s ease-in-out infinite;
    box-sizing: border-box;
}

a.sliderdown:hover {
    opacity: 0.8;
    color: var(--background);
}
    
/*animated arrow animation*/
@-webkit-keyframes animation_down {
    0%   { -webkit-transform:translate(0,-20px); opacity: 0;  }
    50%  { opacity: 1;  }
    100% { -webkit-transform:translate(0,20px); opacity: 0; }
}

@keyframes animation_down {
    0%   { transform:translate(0,-20px); opacity: 0;  }
    50%  { opacity: 1;  }
    100% { transform:translate(0,20px); opacity: 0; }
}
    
.sliderdown1:hover {
    opacity: 1;
}

.sliderdown1 span {
    font-size:40px;
}

.arrow {
    width: 40px;
    height: 40px;
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iNTEycHgiIGhlaWdodD0iNTEycHgiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0yOTMuNzUxLDQ1NS44NjhjLTIwLjE4MSwyMC4xNzktNTMuMTY1LDE5LjkxMy03My42NzMtMC41OTVsMCwwYy0yMC41MDgtMjAuNTA4LTIwLjc3My01My40OTMtMC41OTQtNzMuNjcyICBsMTg5Ljk5OS0xOTBjMjAuMTc4LTIwLjE3OCw1My4xNjQtMTkuOTEzLDczLjY3MiwwLjU5NWwwLDBjMjAuNTA4LDIwLjUwOSwyMC43NzIsNTMuNDkyLDAuNTk1LDczLjY3MUwyOTMuNzUxLDQ1NS44Njh6Ii8+DQo8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMjIwLjI0OSw0NTUuODY4YzIwLjE4LDIwLjE3OSw1My4xNjQsMTkuOTEzLDczLjY3Mi0wLjU5NWwwLDBjMjAuNTA5LTIwLjUwOCwyMC43NzQtNTMuNDkzLDAuNTk2LTczLjY3MiAgbC0xOTAtMTkwYy0yMC4xNzgtMjAuMTc4LTUzLjE2NC0xOS45MTMtNzMuNjcxLDAuNTk1bDAsMGMtMjAuNTA4LDIwLjUwOS0yMC43NzIsNTMuNDkyLTAuNTk1LDczLjY3MUwyMjAuMjQ5LDQ1NS44Njh6Ii8+DQo8L3N2Zz4=);
    background-size: contain;
}            

}

@media (max-width: 991px) {

nav > ul > .current-menu-item a, nav > ul > .current-menu-ancestor > a, nav > ul > .current-menu-parent > a, nav > ul > .current-menu-parent .current_page_item a, nav > ul > .current-page-parent a {
    color: var(--secondary-color);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
}

section {
    padding: 5rem 0;
}     

footer ul li {
    text-align: center;
}

nav {
    display: block;
    width: 100vw;
}

.header8fix {
    margin-top: 0rem;
}
 
.sliderdown1 {
    display: none;
}

.menueleiste nav ul {
    list-style: none;
    padding-left: 0;
}

.mobil-menu-button {
    position: relative;
    width: 70px;
    background: transparent;
    top: 0;
    height: 50px;
    z-index: 50;
    float: right;
}

.mobil-menu-button-bg {
    position: fixed;
    z-index: 5;
    width: 100%;
    background: var(--farbverlauf);
}

.mobil-menu-button span {
    float: right;
    width: 2rem;
    top: 1rem;
    height: 0.2rem;
    background: white;
    margin-top: 25px;
    margin-right: 15px;
}

.mobil-menu-button.menu-open span {
    height: 0px;
}


.mobil-menu-button.menu-open span:before {
    width: 2rem;
    height: 0.2rem;
    background: white;
    transition: 0.3s;
    right: 15px;
    position: absolute;
    top: 15px;
    content: '';
    transform: rotate3d(0, 0, 1, 45deg);
}

.mobil-menu-button span:before {
    width: 2rem;
    height: 0.2rem;
    background: white;
    transition: 0.3s;
    right: 15px;
    position: absolute;
    top: 1.8rem;
    content: '';
    -webkit-transform-origin: 0.001rem center;
    transform-origin: 0.005rem center;
}

.mobil-menu-button.menu-open span:after {
    width: 2rem;
    height: 0.2rem;
    background: white;
    transition: 0.3s;
    right: 15px;
    position: absolute;
    top: 29px;
    content: '';
    transform: rotate3d(0, 0, 1, -45deg);
}

.mobil-menu-button span:after {
    width: 2rem;
    height: 0.2rem;
    background: white;
    transition: 0.3s;
    right: 15px;
    position: absolute;
    top: 32px;
    content: '';
    -webkit-transform-origin: 0.001rem center;
    transform-origin: 0.005rem center;
}

nav ul li {
    text-align: left;
    padding-left: 1.5rem;
    list-style: none;
    position: relative;
    border-bottom: 1px solid var(--background);
}

nav ul li a {
    color: white;
    line-height: 3;
    display: block;
    font-weight: 400;
}

nav ul li ul {
    display: none;
    transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
}

nav ul li ul li {
    float: none;
    display: block;
    border: none;
}

.derbutton {
    color: var(--text-invert);;
    position: relative;
    right: 0;
    float: right;
    line-height: 3;
    font-size: 1.5rem;
    top: 0;
    transform: translateY(-100%);
    padding: 0rem 1rem;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

.derbutton:before {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    display: block;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

.derbutton.drehen:before {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    display: block;
}

.drehen + .sub-menu {                           
    display: block !important;
    max-height: 60vh;
    overflow-y: scroll;
    margin-bottom: 2rem;
    overflow-x: hidden;
}

#logo img {
    display: none;
}

aside {
    display: none;
}

}

@media(max-width:767px) {
    .container .footer-copyright2 {
        margin-bottom: 5rem;
    } 
}


/*------------------------------------------------------------------------------------------------------
-------------------------------------------  Custom Stuff Anfang  --------------------------------------
----------------------------------------------------------------------------------------------------  */

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

@media (max-width:991px){

    div.trenner {
        margin: 1rem auto 5rem auto;
    }

}


    
.trenner img {
    width: 100%;
    margin-top:2rem;
}

@media (max-width: 991px) {
    div.trenner:before {
        width: 80px;
}
    
    div.trenner:after {
        width: 80px;
}
}

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

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

*:first-child {
    margin-top: 0;
    padding-top: 0;
}

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

.h1span {
    color: #181716;
    text-align: center;
    display: block;
    font-size: 3.5rem;
    margin-bottom: 0rem;
    letter-spacing: 0.4vw;
    line-height: 3.5rem;
    margin-top: 0rem;  
    text-transform: uppercase;
    font-weight: 400;
    font-family: "EB Garamond";
}

.home h1 {
    margin-bottom: 0rem;
    text-align: center;
    font-weight: 400;
    font-size: 3rem;
    color: #181716;
    font-weight: 700;
    font-family: "EB Garamond";
    letter-spacing: 0.1vw;
    text-transform: none;
}

h1+span {
        margin-bottom: 2rem;
    display: block;
    font-size: 2.5rem;
    letter-spacing: 0.15vw;
    color: var(--text-color);
    font-weight: 700;
    font-family: "EB Garamond";
}

h2.h2subline {
    margin-bottom: 0;
}

.h2subline+span {
        font-size: 2.2rem;
    margin-bottom: 2rem;
    display: block;
    letter-spacing: 0.15vw;
    color: var(--text-color);
    font-weight: 700;
    font-family: "EB Garamond";
}

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

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

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


.home .content p {
    margin: 0 auto;
    margin-bottom: 2rem;
    line-height: 1.5;
    padding-bottom:0;
}

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

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

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

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

.color-background {
    background: var(--secondary-color); 
}
.color-background.background-white {
    background: #ffffff; 
}

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

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

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

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

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

.color-background .sprechzeiten {
    max-width: 75%;
    padding-bottom: 3rem;
    padding-top: 2rem;
}

.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) {
    .color-background.cta .aufzaehlung {
        margin-top: 2rem;
    }

    .side-img img {
        padding-top: 2rem;
        padding-bottom: 2rem;
        width: 100%;
    }
}

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

    .color-background .sprechzeiten {
        max-width: 100%;
    }
    .h1span {
        font-size: 4.9vw;
    margin-bottom: 0rem;
    letter-spacing: 0.4vw;
    line-height: 1.3;
}

.home h1 {
        font-size: 4.7vw;
}
}

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


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

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

.versetzt-boxen {
    background: #f8f8f8;
} 

a.leistung-button: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;
}

a.leistung-button:hover:before {
    width: 85px;
}

.versetzt-boxen img {
    width: 100%;
}       

.versetzt-boxen .versetzt-text {
    padding: 5rem;
    background: var(--secondary-transparent);
}       

.versetzt-text h3 {
    margin-top: 0;    
    font-size: 2.8rem;
    color: #181716;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.3;
    text-align: left;
    letter-spacing: 4px;
    font-family: "EB Garamond";
    text-transform: uppercase;
}

.versetzt-text p {
    margin-bottom: 0rem;
    line-height: 2;
}

.versetzt-text p:last-child {
    padding-bottom: 0;
}

.versetzt-text a {
    color: var(--primary-color);
    font-weight:700;
}

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 {
    
} 

.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-text h3 {
    margin-top: 0;    
    font-size: 2.2rem;
    color: #181716;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.3;
    text-align: left;
    letter-spacing: 4px;
    font-family: "EB Garamond";
    text-transform: uppercase;
}

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

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

footer img {
    width: 100%;
}

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

@media (max-width: 767px) {
    footer img {
        margin-top: 4rem !important;
        width: 100%;
    }
}

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

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

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

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

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

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

aside h3 {
        text-align: left;
    font-size: 2.5rem;
    letter-spacing: 0.15vw;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-weight: 700;
    font-family: "EB Garamond";
}

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

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

aside figure img {
    width: 100%;
    max-width: 250px;
    margin-bottom: 2rem;
}

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

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

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

section.parallax > div {
    padding: 10vh 5vw 10vh 5vw;
    background: var(--secondary-transparent);
    text-align: center;
    position: relative;
    align-self: flex-end
}


.parallax p {
    line-height: 2;
}

.parallax h2 { 
    margin-top: 0rem;
    margin-bottom: 4rem;
    color: #181716;
    text-align: center;
}

.parallax .more-link {
    margin: 0 auto;
    margin-bottom: 0rem;
    margin-top: 1.5rem;
}

.wpcf7-submit.more-link:hover {
    color: var(--text-color);
    background: var(--secondary-color);
}

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

    section.parallax > div {
        width: 90%;
    }
}

@supports (-webkit-touch-callout: none) {
    
     .parallax {
        background-image: none !important;
        position:relative;
        background: transparent !important;
    }
    .parallax:before {
        content: "";
        background-image: url(/wp-content/uploads/2023/10/parallax-panorama-2.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 {
   padding-bottom:2rem;
}
.team-container > .row {
    display: flex;
}
.team-container.gespiegelt > .row {
    display: flex;
    flex-flow:row-reverse wrap;
}

.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%;        
}
.home .content .team-container.gespiegelt h2, .home .content .team-container.gespiegelt p {
    text-align: right;
    width: 100%;        
}
.team-container.gespiegelt .h2subline+span {
    text-align: right;
}
.team-container.gespiegelt li {
    text-align: right;
}
.team-container.gespiegelt ul { direction: rtl; }

.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 > .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;
}
.home .content .hover-box-kasten > p {
    font-size: 1.1vw;
    text-align: center;
    color: var(--text-color);
    font-weight: 400;
    margin-top: 1rem;
    line-height: 1.2;
    letter-spacing: 2px;
    font-family: "EB Garamond";
}
.home .content .hover-box-kasten > p span {
    font-size: 0.8vw;
    text-align: center;
    color: var(--text-color);
    font-weight: 300;
    padding-top: 0.5rem;
    display: block;
    letter-spacing: 0;
}

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

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

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

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

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

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

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

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

.team-container h3 {
    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: center;
    flex-wrap: wrap;
    column-gap: calc(4%/2);
    row-gap: 2rem;
}

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

.mitarbeiter > div {
    flex-basis: 18%;
}
.mitarbeiter > div.on-view-fade {
    opacity:0;
}

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

.content .mitarbeiter p {
            font-size: 1.2vw;
    text-align: center;
    color: var(--text-color);
    font-weight: 400;
    margin-top: 1rem;
    line-height: 1.2;
    letter-spacing: 2px;
    font-family: "EB Garamond";
}

.mitarbeiter p span {
    font-size: 0.8vw;
    text-align: center;
    color: var(--text-color);
    font-weight: 300;
    padding-top: 0.5rem;
    display: block;
    letter-spacing:0;
}

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

.team-container2.mobile-team.container > div > div > p span, section.color-background > .team-container2.mobile-team.container > div > div > p span {
    color: var(--primary-color);
    font-weight: 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;
}

.mitarbeiter > div:nth-of-type(1) {
    animation-delay: 0.0s;
    -webkit-animation-delay: 0.0s;
    animation-fill-mode: forwards;
}

.mitarbeiter > div:nth-of-type(2) {
    animation-delay: 0.1s;
    -webkit-animation-delay: 0.1s;
    animation-fill-mode: forwards;
}
.mitarbeiter > div:nth-of-type(3) {
    animation-delay: 0.2s;
    -webkit-animation-delay: 0.2s;
    animation-fill-mode: forwards;
}
.mitarbeiter > div:nth-of-type(4) {
    animation-delay: 0.3s;
    -webkit-animation-delay: 0.3s;
    animation-fill-mode: forwards;
}
.mitarbeiter > div:nth-of-type(5) {
    animation-delay: 0.4s;
    -webkit-animation-delay: 0.4s;
    animation-fill-mode: forwards;
}
.mitarbeiter > div:nth-of-type(6) {
    animation-delay: 0.0s;
    -webkit-animation-delay: 0.0s;
    animation-fill-mode: forwards;
}

.mitarbeiter > div:nth-of-type(7) {
    animation-delay: 0.1s;
    -webkit-animation-delay: 0.1s;
    animation-fill-mode: forwards;
}
.mitarbeiter > div:nth-of-type(8) {
    animation-delay: 0.2s;
    -webkit-animation-delay: 0.2s;
    animation-fill-mode: forwards;
}
.mitarbeiter > div:nth-of-type(9) {
    animation-delay: 0.3s;
    -webkit-animation-delay: 0.3s;
    animation-fill-mode: forwards;
}
.mitarbeiter > div:nth-of-type(10) {
    animation-delay: 0.4s;
    -webkit-animation-delay: 0.4s;
    animation-fill-mode: forwards;
}


.mitarbeiter > div:nth-of-type(11) {
    animation-delay: 0.1s;
    -webkit-animation-delay: 0.1s;
    animation-fill-mode: forwards;
}
.mitarbeiter > div:nth-of-type(12) {
    animation-delay: 0.2s;
    -webkit-animation-delay: 0.2s;
    animation-fill-mode: forwards;
}
.mitarbeiter > div:nth-of-type(13) {
    animation-delay: 0.3s;
    -webkit-animation-delay: 0.3s;
    animation-fill-mode: forwards;
}
.mitarbeiter > div:nth-of-type(14) {
    animation-delay: 0.4s;
    -webkit-animation-delay: 0.4s;
    animation-fill-mode: forwards;
}


@media (min-width: 992px) and (max-width: 1299px) {
    .mitarbeiter > div {
        flex-basis: 23%;
    }
    .content .mitarbeiter p {
        font-size: 1.2vw;
    }
    .mitarbeiter p span {
        font-size: 1.1vw;
    }
    .mitarbeiter > div:nth-of-type(5) {
    animation-delay: 0.0s;
    -webkit-animation-delay: 0.0s;
    animation-fill-mode: forwards;
}
.mitarbeiter > div:nth-of-type(6) {
    animation-delay: 0.1s;
    -webkit-animation-delay: 0.1s;
    animation-fill-mode: forwards;
}

.mitarbeiter > div:nth-of-type(7) {
    animation-delay: 0.2s;
    -webkit-animation-delay: 0.2s;
    animation-fill-mode: forwards;
}
.mitarbeiter > div:nth-of-type(8) {
    animation-delay: 0.3s;
    -webkit-animation-delay: 0.3s;
    animation-fill-mode: forwards;
}
.mitarbeiter > div:nth-of-type(9) {
    animation-delay: 0.0s;
    -webkit-animation-delay: 0.0s;
    animation-fill-mode: forwards;
}
.mitarbeiter > div:nth-of-type(10) {
    animation-delay: 0.1s;
    -webkit-animation-delay: 0.1s;
    animation-fill-mode: forwards;
}
.mitarbeiter > div:nth-of-type(11) {
    animation-delay: 0.2s;
    -webkit-animation-delay: 0.2s;
    animation-fill-mode: forwards;
}
.mitarbeiter > div:nth-of-type(12) {
    animation-delay: 0.3s;
    -webkit-animation-delay: 0.3s;
    animation-fill-mode: forwards;
}
.mitarbeiter > div:nth-of-type(13) {
    animation-delay: 0.0s;
    -webkit-animation-delay: 0.0s;
    animation-fill-mode: forwards;
}
.mitarbeiter > div:nth-of-type(14) {
    animation-delay: 0.1s;
    -webkit-animation-delay: 0.1s;
    animation-fill-mode: forwards;
}
}


@media (max-width: 991px) {
    .team-container2 h3, section.color-background > .team-container2 h3 {
        margin-top: 4rem;    
}  
.mitarbeiter > div {
    animation-delay: 0.0s !important;
    -webkit-animation-delay: 0.0s !important;
    animation-fill-mode: forwards;
}
.home .content .hover-box-kasten > p {
            font-size: 4vw;
}
.home .content .hover-box-kasten > p span {
            font-size: 3vw;
}

    .team-container h2 {
        margin-top: 3rem;
    }
    .content .mitarbeiter p {
            font-size: 4vw;
}
.mitarbeiter p span {
            font-size: 3vw;
margin-bottom: 0;
}

.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: 49%;
}

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

@media (min-width: 992px) and (max-width: 1299px) {
    .home .content .hover-box-kasten > p {
        font-size: 1.8vw;
    }
    .home .content .hover-box-kasten > p span {
        font-size: 1.4vw;
    }
}

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

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

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

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

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

.newsboxen h2 {
    color: var(--secondary-color);
    text-align: center;
}

.newsboxen .h2subline+span {
    margin-bottom: 8rem;
    color: var(--secondary-color);
    text-align: center;
    
}

.news-teaser {
    background-color: var(--background);
    width: 100%;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid var(--primary-color);
}

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

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

.news-thumbnail p {
    text-align: center;
    color: var(--text-color);
    font-weight: 300;
}

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

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

.newspage h2 {
    margin-top: 0;
}

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

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

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

.more-link:hover {
    color: var(--text-color);
    border: 1px solid #181716;
}

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

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

.more-link:after {
    background-image: url(/wp-content/themes/breakcore/images/pfeil-icon-grau.png);
    display: inline-block;
    background-size: 20px;
    background-repeat: no-repeat;
    width: 20px;
    filter:invert(1);
    height: 20px;
    content: '';
    margin: 0.5rem;
    transition: all 0.3s;
}

.more-link:hover:after {
    margin-left: 2rem;
    filter:invert(0);
}

.more-link.invert:after {
    background-image: url(/wp-content/themes/breakcore/images/pfeil-icon-grau.png);
}

.more-link.invert:hover:after {
    background-image: url(/wp-content/themes/breakcore/images/pfeil-icon.png);
}

.more-link:hover:after {
    background-image: url(/wp-content/themes/breakcore/images/pfeil-icon-grau.png);
}

.more-link.invert:before {
    background: #f8ae00;
}

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

.more-link.invert {
    color: #fff;
    background: #f8ae00;
}

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

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

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

section.vorstellung {
    background: var(--secondary-color); 
    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/2023/10/zahnaerzte-vorstellung-neu.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: 10rem 2rem;
    gap: 2rem;
}

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

.vorstellung h2 {
    margin-top: 0;
    margin-bottom: -2rem;
    text-align: left;
}
.vorstellung h2 + p {
    font-size: 2.3rem;
    margin-bottom: 0rem;
    display: block;
    letter-spacing: 0.15vw;
    color: var(--text-color);
    font-weight: 700;
    font-family: "EB Garamond";
}

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

.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 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(248 174 0);
}

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

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

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

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

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

.on-view-fade.come-in {
    animation: einbldg 0.8s 1 cubic-bezier(0.165,0.840,0.440,1.000);
    animation-delay: 0s;
    opacity: 1;
}
.on-view-fade {
    opacity: 0;
}


.versetzte-boxen:nth-of-type(odd) > .versetzt-boxen-inner > .versetzt-text.come-in {
    animation-delay: 0s; 
    transform: translateX(-200px);
}

.versetzte-boxen:nth-of-type(even) > .versetzt-boxen-inner > .versetzt-text.come-in {
    animation-delay: 0s; 
    transform: translateX(200px);
}

@media (max-width:991px) {
.versetzte-boxen:nth-of-type(odd) > .versetzt-boxen-inner > .versetzt-text.come-in {
    animation-delay: 0s; 
    transform: translateX(0px);
}

.versetzte-boxen:nth-of-type(even) > .versetzt-boxen-inner > .versetzt-text.come-in {
    animation-delay: 0s; 
    transform: translateX(0px);
}
}


@keyframes einbldg {
    0% {
        transform: translate(0,75px);
        opacity: 0;
    }

    100% {
        transform: translate(0,0),translateY(0);
        opacity: 1;
    }
}

@keyframes come-in {
    0% {                  
        opacity: 0;
    }
    100% {                  
        opacity: 1;
        transform: translateY(0);
    }
}

/* 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: 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;
    border: 1px solid var(--text-color);
}

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

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

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

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

@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 svg {
        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 path{
        fill: var(--text-invert);
    }

    .slider-boxen svg{
        width: 20px;
        height: 20px;
    }

    .slider-boxen .box a {
        font-size: 1.5rem;
        color: var(--text-invert);
        display: flex;
    }
    
    .slider-boxen > div {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        align-content: stretch;
        background: var(--farbverlauf)
    }
    
    .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;
        justify-content: center;
        overflow: hidden;
        background: transparent;
        border-color: var(--text-invert);
    }
}


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


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

section.home-teaser {
    background: var(--primary-color);
    padding: 4rem 0;
}

.home-teaser-box {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--background);
    text-align: center; 
    position: relative;
}

.home-teaser h2 {
    color: var(--secondary-color); 
    text-align: center;
}

.home-teaser-box .more-link {
    margin: 0 auto;
    margin-top: auto;
}

section.home-teaser .container > div {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 3rem;
}

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

.home-teaser-box:before {
    content: "";
    position: absolute;
    left: 51%;
    right: 51%;
    top: 0;
    background: var(--farbverlauf);
    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:after {
    content: "";
    position: relative;
    background: var(--primary-color);
    height: 2px;
    width: 100px;
    display: block;
    margin: 0 auto;
    margin-top: 1.5rem;
}

@media (min-width: 992px) {   

.home-teaser-box {
    flex-basis: calc(100% / 3 - 2rem);
}

}

@media (max-width:991px) {
    section.home-teaser .container > div {
        gap: 2rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

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

/*------------------------------------------------------------------------------------------------------
-------------------------------------------  Custom Stuff Anfang  --------------------------------------
----------------------------------------------------------------------------------------------------  */