/*------------------------------------------------------------------------------------------------------
-------------------------------------------  Farben Anfang  --------------------------------------------
----------------------------------------------------------------------------------------------------  */

:root {
    --primary-color: #f68939;
    --secondary-color: #f6f6f6;
    --color-plus: #222d57;
    --secondary-transparent: rgba(238, 238, 238, 0.9);
    --text-color: #555;
    --text-invert: #fff;
    --background: #eee;
    --background-dark: #8c8c8c;
}

/*------------------------------------------------------------------------------------------------------
-------------------------------------------  Farben Ende  ----------------------------------------------
----------------------------------------------------------------------------------------------------  */

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

.single_h1 {
    margin-bottom: 2rem;
}

:is(h1, h2, h3)+span {
    margin-bottom: 3rem;
    display: block;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--text-color);
}

h2.h2subline,
h2:has(+span) {
    margin-bottom: 0;
}

.h2subline+span {
    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 {
    margin-bottom: 1.7rem;
}

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

.page-id-2109 div > figure:not(:first-child) > img {
    margin-top: 5rem;
}

.page-id-2109 div > figure > img {
    margin-bottom: 2rem;
}

@media (min-width: 992px) {
	
	p {
		text-align: justify;
	}
	
}

@media (max-width:991px) {
    .home .content p {
        width: 100%;
    }
	
	p {
		text-align: left;
		font-size: 1.6rem;
	}
	
	li {
		font-size: 1.6rem;
		text-align: left;
	}
	
	:is(h1, h2, h3)+span {
		font-size: 2rem;
	}
}

@media (min-width: 768px) {
    .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;
    }
}


span.dbbp {
    display: inline-block;
    font-size: 3.5rem;
    line-height: 3.5rem;
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-transform: none;
}

span.dbbp>em {
    font-style: normal;
    color: var(--background-dark);
}

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

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

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

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

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

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

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

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

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

section.color-background>div.container>div.flex-start>div.sprechzeiten p {
    color: var(--text-color);
    font-weight: 600;
}

section.color-background .sprechzeiten p>span>span {
    color: var(--primary-color);
}

@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>div.container>div.flex-start>div.sprechzeiten p {
        text-align: left;
    }

    section.color-background.cta>div.container>div.flex-start:last-of-type {
        align-items: flex-end;
    }

}

@media (max-width: 767px) {
    .flex-start>.sprechzeiten {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    section.color-background>div.container>div.flex-start>div.sprechzeiten p {
        text-align: center;
    }

    .color-background.cta .aufzaehlung {
        margin-top: 2rem;
    }

}

@media (min-width: 768px) and (max-width: 991px) {
    .flex-start>.sprechzeiten {
        width: calc(100%/1.5);
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .flex-start>.sprechzeiten {
        width: calc(100%/2);
    }
}

@media (min-width: 1200px) {
    .flex-start>.sprechzeiten {
        width: calc(100%/2);
        margin-bottom: 3rem;
    }

    .flex-start {
        max-width: 80%;
    }
}

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

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


/* Blauer Hintergrund ENDE --------------------------------------------------------------------------------------------------*/

/* Aufzaehlung Anfang  --------------------------------------------------------------------------------------------------*/

.aufzaehlung {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}

.aufzaehlung>div {
    flex-basis: 100%;
    background: var(--primary-color);
    color: var(--text-invert);
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.aufzaehlung>div:before {
    content: '';
    background-image: url(images/pfeil.svg);
    height: 2rem;
    width: 2rem;
    transform: rotate(-90deg);
    background-repeat: no-repeat;
    display: block;
}

/* Aufzaehlung ENDE --------------------------------------------------------------------------------------------------*/

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

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

.leistungen .container>div {
    display: flex;
    margin-bottom: 10rem;
    column-gap: 9rem;
}

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

.leistungen .container>div>div {
    flex-basis: 50%;
}

.leistungen-image img {
    max-width: 100%;
}

.leistungen-text h2 {
    color: var(--text-invert);
    margin: 0;
    font-weight: 700;
}

.leistungen-text span {
    color: var(--text-invert);
    display: block;
    font-size: 2.4rem;
    margin-bottom: 2rem;
}

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

@media (min-width:992px) {
    .leistungen .container>div:nth-of-type(2n) {
        flex-direction: row-reverse;
    }

    .leistungen-text {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .leistungen .container>div:nth-of-type(2n) .leistungen-text {
        text-align: right;
    }
}

@media (max-width:991px) {
    .leistungen .container>div>div {
        flex-basis: 100%;
    }

    .leistungen-image {
        margin-bottom: 4rem;
    }

    .leistungen .container>div {
        flex-direction: column;
    }
}

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

@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 var(--primary-color);
    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: url(/wp-content/uploads/2021/09/parallax.jpg) no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: 50% 50%;
    height: 175vh;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    padding-bottom: 24vh;
}

section.parallax>div {
    padding: 10vh 5vw 10vh 5vw;
    background: rgb(255 255 255 / 90%);
    text-align: center;
    position: relative;
    align-self: flex-end
}


.parallax p {
    line-height: 2;
}

.parallax h2 {
    margin-top: 0rem;
    margin-bottom: 4rem;
    color: var(--primary-color);
}

@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/2021/09/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: var(--text-color);
    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: 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;
}

.content .team-container2>div>div>p {
    width: 100%;
}

.team-container2>div>div:nth-of-type(2)>p,
.team-container2>div>div:nth-of-type(2)>ul {
    padding-bottom: 0rem;
    margin-bottom: 0rem;
}

.team-container2>div.row {
    margin-bottom: 5rem;
}

.hover-box-kasten>div {
    position: relative;
}

.team-container2 .arzte {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.team-container2>div:nth-of-type(odd) h3,
.team-container2>div:nth-of-type(odd) p {
    text-align: left;
}

.team-container2>div:nth-of-type(even) h3,
.team-container2>div:nth-of-type(even) p {
    text-align: right;
}

.team-container2 div.mitarbeiter h3 {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 0;
}

.team-container2 div.mitarbeiter p {
    text-align: center;
}

.team-container2 .arzte h3 {
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.team-container2 .arzte span {
    margin-bottom: 2rem;
    display: block;
}

.team-container2>div:nth-of-type(3) {
    margin-bottom: 11rem;
}

.team-container2 img {
    width: 100%;
    display: block;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.team-container2>div:nth-of-type(even)>div>img {
    float: right;
}

.team-container2.mobile-team>div>div>img {
    margin-bottom: 1.5rem;
}

section.color-background>.team-container2 ul,
section.container .team-container2 ul {
    margin-top: 3rem;
}

.team-container2 h3 {
    text-transform: none;
    line-height: 1;
}

.mitarbeiter {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 6rem;
}

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

.mitarbeiter>div {
    flex-basis: 23%;
}

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

.content .mitarbeiter p {
    font-size: 2rem;
    color: var(--text-color);
    font-weight: 400;
    margin-top: 1rem;
    line-height: 1.5;
}

.mitarbeiter p span {
    font-size: 1.6rem;
    color: var(--text-color);
    font-weight: 300;
}

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: var(--primary-color);
    font-weight: 400;
}

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

.mitarbeiter figure {
    background-size: cover;
}

@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: 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(--text-invert);
}

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

.news-thumbnail {
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    background: var(--secondary-color);
    text-align: left;
    border-radius: 5px;
}

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

.news-thumbnail p {
    color: var(--text-color);
    font-weight: 300;
    margin-bottom: 1rem;
}

.news-thumbnail h3 {
    margin-bottom: 0.5rem;
}

.more-link {
    margin-top: auto;
}

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

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

    section.newsboxen .container>div {
        gap: 2rem;
    }
}

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

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

.newspage h2 {
    margin-top: 0;
}

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


/* Vorstellung 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/dbbp-7757mlook.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 12vw 15rem 4rem;
    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 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  ----------------------------------------------------------------------------------------------  */

/*-----------------------------------------Version 1---------------------------------------

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

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

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

/*-----------------------------------------Version 2---------------------------------------*/
.slider-boxen {
	position: fixed;
	right: 0;
	top: 33.3vh;
	z-index: 90;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	color: var(--text-invert);
}

.slider-boxen .box a {
	transition: all 0.3s ease, transform 1s ease 1s;
	color: var(--text-invert);
}

.slider-boxen .box:hover {
	width: 250px;
	height: 110px;
}

.slider-boxen svg, .slider-boxen img {
	position: absolute;
	right: 13px;
	margin-top: 9px;
}

.slider-boxen .box {
	width: 56px;
	height: 54px;
	margin: 2px 0;
	cursor: pointer;
	display: block;
	color: var(--text-invert);
	overflow: hidden;
	padding: 5px 15px 15px 15px;
	text-decoration: none;
	transition: all 0.3s ease, transform 1s ease 1s;
	background-color: var(--primary-color);
	align-self: end;
}

.slider-boxen>div{
    display: contents;
}

.slider-boxen a span {
	font-size: 20px;
	text-transform: uppercase;
	margin: 5px 0;
	display: block;
	opacity: 0;
	transition: all 0.3s ease;
}

.slider-boxen .box a p {
	opacity: 0;
	transition: all 0.3s ease;
	color: var(--text-invert);
	max-width: calc(100% - 2rem);
}

.slider-boxen .box:hover a p, .slider-boxen .box:hover a span {
	opacity: 1;
	transition: all 0.9s ease;
}

.slider-boxen .box.desktop:first-of-type {
    background-color: color-mix(in hsl, var(--primary-color), #000000 20%);
}

.slider-boxen>div>div:nth-of-type(3) {
    background-color: color-mix(in hsl, var(--primary-color), #000000 10%);
}

.slider-boxen>div>div:nth-of-type(7) {
    background-color: color-mix(in hsl, var(--primary-color), #FFFFFF 10%);
}

@media(max-width:767px){
    .slider-boxen svg, .slider-boxen img {
        position: relative;
        margin-top: 0;
        right: 0;
    }
	
	.slider-boxen .box:hover {
		height: auto;
	}
}

@media (max-width:400px){
    .slider-boxen .box a{
        font-size: 1.2rem;
    }

    svg:not(:root), svg:not(.svg-clock), .slider-boxen .box a img{
        width: 1.5rem;
        height: 1.5rem;
    }
}

@media (max-width:319px){
    svg:not(:root), .slider-boxen .box.mobil a img.svgwhite {
        display: none;
    }    
}

/* Fuer beide Versionen ANFANG */

svg path {
    fill: var(--text-invert);
}

svg:not(:root), svg:not(.svg-clock), .slider-boxen .box a img {
    width: 2.5rem;
    height: 2.5rem;
}

svg.svg-clock {
	width: auto;
	height: auto;
}


@media (max-width:767px) {
    .slider-boxen {
        bottom: 0;
        display: block;
        left: 0;
        width: 100%;
        top: auto;
        transform: none;
    }

    svg:not(:root), .slider-boxen .box a img {
        width: 2rem;
        height: 2rem;
    }

    .slider-boxen .box {
        border: 1px solid var(--text-color);
    }

    .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: var(--text-invert);
        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: 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);
        padding: 1rem;
        height: auto;
    }

    .slider-boxen .box.desktop {
        display: none;
    }
}

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

    .slider-boxen .box.mobil {
        display: none;
    }
}
/* Fuer beide Versionen ENDE */

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

/*  Accordion ANFANG  -----------------------------------------------------------------------------------------------------------------  */

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

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

a.accordion-button.v2 {
    color: var(--text-invert);
    font-size: 1.7rem;
    background-color: var(--background-dark);
    background-image: url(images/pfeil.svg);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 3.2rem 100% !important;
    -moz-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
}

a.accordion-button.collapsed.v2 {
    transition: all .0s ease-in;
}

@media (max-width:991px) {
    .panel-group .panel.panel-default {
        flex-basis: 100%;
    }
}

/*  Accordion ENDE  -----------------------------------------------------------------------------------------------------------------  */

/* Zertifikate ANFANG ----------------------------------------------------------------------------------------------------------------*/

section:has(.certificates) {
    background: var(--background);
}

section div.certificates {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: var(--gap);
}

section div.certificates>* {
    flex-basis: calc((100% - (var(--gap)*(var(--element-count) - 1)))/var(--element-count));
}

section div.certificates>*>img {
    max-width: 150px;
    display: block;
    margin: 0 auto;
    width: 100%;
}

section.heavy div:has(.certificates)>h2 {
    margin-top: 0;
}

footer section div.certificates {
    width: 90%;
}

footer section:has(.certificates) {
    background: inherit;
}

@media (min-width: 768px) {

    section div.certificates {
        --gap: 1rem;
        --element-count: 5;
    }

}

@media (max-width: 767px) {

    section div.certificates {
        --element-count: 2;
        --gap: 1.5rem;
    }

}

@media (max-width: 767px) {
    
    section div.certificates div{
        max-width: 150px;
    }

    footer section div.certificates{
        margin: 0 auto;
    }
	
	.certificates > div:has(img[src$="logo.png"]) {
		display: none;
	}
	
	section > .certificates img[src*="DATEV"] {
		max-height: 60px;
    	width: auto;
	}
	
	section > .certificates img[src*="Capital"] {
		max-height: 60px;
    	width: auto;
	}
	
	section > .certificates img[src*="steuerberaterkammer"] {
		max-height: 60px;
    	width: auto;
	}
	
}

img[src*=steuerberaterkammer-duesseldorf] {
  background: #00467d;
  padding: 1rem;
}

/* Zertifikate ENDE ----------------------------------------------------------------------------------------------------------------*/

/* Startseite Icons ANFANG ----------------------------------------------------------------------------------------------------------------*/

.flex-container {
    display: flex;
    flex-wrap: wrap;
    --gap: 4.5rem;
    column-gap: var(--gap);
    row-gap: calc(var(--gap)/3);
    align-items: flex-start;
}

.flex-icons {
    display: flex;
    flex-wrap: nowrap;
    flex-basis: calc((100%/2) - (var(--gap)/2));
    align-items: center;
    column-gap: calc(var(--gap)/3);
    transition: all .2s ease-in-out;
}

.flex-icons>img {
    width: 75px;
}

a.flex-icons:hover{
    scale: 1.03;
}

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

@media (max-width: 991px) {
	
	.flex-container img.flex {
		display: none;
	}
	
	.flex-container img.grid {
		width: 30px;
		height: auto;
	}
	
	.flex-container div > h2 {
		margin-top: 1rem;
		margin-bottom: 1rem;
	}
	
	.flex-container div:has(.grid) {
		display: grid;
		grid-template-columns: auto 1fr;
		grid-template-rows: auto auto;
		align-items: center;
        grid-gap: 1rem;
	}
	
	.flex-container div:has(img.grid) > img {
		grid-column: 1 / 2;
		grid-row: 1 / 2;
	}
	
	.flex-container div:has(img.grid) > h2 {
		grid-column: 2 / 3;
		grid-row: 1 / 2;
	}
	
	.flex-container div:has(img.grid) > p {
		grid-column: 1 / 3;
		grid-row: 2 / 3;
	}
	
}

@media (max-width: 767px) {

    .flex-icons {
        column-gap: var(--gap);
        flex-basis: 100%;
    }

}

/* Startseite Icons ENDE ----------------------------------------------------------------------------------------------------------------*/

/* Startseite Gallerie ANFANG ----------------------------------------------------------------------------------------------------------------*/

.gallery>div {
    overflow: hidden;
}

.gallery img {
    overflow: hidden;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s ease-in-out;
}

.gallery>div:hover>img {
    transform: scale(1.1);
}

.gallery a.gallery-logo {
    z-index: 1;
    font-weight: 400;
    font-size: 3rem;
    text-transform: uppercase;
    color: #fff;
    transition: .05s linear;
}

a.gallery-logo:hover {
    font-size: 3.5rem;
}

.gallery>div:has(.gallery-logo) {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: color-mix(in srgb, var(--background-dark) 50%, transparent);
}

.gallery>div:has(.gallery-logo)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/wp-content/uploads/2024/07/logo.png);
    background-repeat: no-repeat;
    background-position: center;
    filter: opacity(0.5) grayscale(0.8);
}

@media (min-width: 768px) {

    .gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, minmax(auto, 250px));
        grid-gap: 5px;
    }

    .gallery>div:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    .gallery>div:nth-child(2) {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }

    .gallery>div:nth-child(3) {
        grid-column: 1 / 2;
        grid-row: 2 / 4;
    }

    .gallery>div:nth-child(4) {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .gallery>div:nth-child(5) {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    .gallery>div:nth-child(6) {
        grid-column: 3 / 4;
        grid-row: 2 / 4;
    }

}

@media (max-width: 767px) {

    .gallery {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, minmax(auto, 250px));
        grid-gap: 15px;
    }

    .gallery>div:nth-child(n) {
        grid-column: 1 / 2;
    }

    .gallery>div:nth-child(1) {
        grid-row: 1 / 2;
    }

    .gallery>div:nth-child(2) {
        grid-row: 2 / 3;
    }

    .gallery>div:nth-child(3) {
        grid-row: 3 / 4;
    }

    .gallery>div:nth-child(4) {
        grid-row: 4 / 5;
    }

    .gallery>div:nth-child(5) {
        grid-row: 5 / 6;
    }

    .gallery>div:nth-child(6) {
        grid-row: 6 / 7;
    }

}

/* Startseite Gallerie ENDE ----------------------------------------------------------------------------------------------------------------*/

/* CTA-Grid-Slider ANFANG ----------------------------------------------------------------------------------------------------------------*/


.cta-slider {
    padding: 0;
}

.grid-slide {
    display: grid;
    grid-template-columns: 1fr var(--containerWidth) 1fr;
    grid-template-rows: 600px;
    overflow: hidden;
    justify-items: start;
    align-items: center;
}

.grid-slide>img {
    grid-column: 2 / 4;
    grid-row: 1 / 2;
    width: auto;
    height: 100%;
}

@media (min-width: 1700px){
.grid-slide>img{
    width: 100%;
    height: auto;
}
}

div.square {
    background: var(--background-dark);
    height: 1200px;
    width: 1200px;
    transform: rotate(55deg);
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    translate: -75%;
    overflow: hidden;
}

section:nth-child(2 of .cta-slider) div.square {
    background: var(--primary-color);
}

.cta-slider .cta {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    z-index: 1;
    max-width: 335px;
    padding-left: 0px;
}

.cta-slider .cta * {
    color: var(--text-invert);
}

.social-icons {
    width: 80%;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 2rem;
}

footer .social-icons {
	width: 150px;
}

.social-icons img {
    width: 30px;
    height: auto;
}

.cta-slider .btn {
    color: var(--text-color);
    width: fit-content;
}

.cta-slider .cta h2 {
    font-size: 38px;
}

.cta-slider .cta h2+span {
    color: var(--text-color);
}

.cta-slider .cta p, .cta-slider .cta a {
    font-size: 27px;
}

.cta-slider .cta a:hover{
    color: var(--secondary-color);
}

.cta-slider .btn.btn-im-bild {
    color: var(--text-invert);
    position: absolute;
    left: calc((100% - var(--containerWidth)) / 2 + var(--containerWidth) - 260px - 15px);
}

.cta-slider .btn.btn-im-bild:hover {
    color: var(--text-color);
    background: var(--background);
}

@media(max-width: 991px){
    .grid-slide>img {
        position: relative;
        right: 150px;
    }
	
	.cta-slider .cta {
    	padding-left: 15px;
	}
}

@media(max-width: 767px){
    .grid-slide>img {
        right: 270px;
    }
}

@media (min-width: 1400px) {

    .cta-slider {
        --containerWidth: 1170px;
    }

}

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

    .cta-slider {
        --containerWidth: 1170px;
    }

}

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

    .cta-slider {
        --containerWidth: 970px;
    }

}

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

    .cta-slider {
        --containerWidth: 750px;
    }

}

@media (max-width: 767px) {

    .cta-slider {
        --containerWidth: 100%;
    }
	
}

@media (max-width: 480px){
    .cta-slider .btn.btn-im-bild{
        position: relative;
        left: 0;
        top: 15px;
    }
}

@media (max-width: 991px) {

	.mobil-menu-button-bg .social-icons {
		margin-bottom: 0;
        margin-top: 8px;
        margin-left: 15px;
        position: relative;
        height: calc(100% - 16px);
        align-items: center;
        padding-right: 10px;
	}
	
}

/* CTA-Grid-Slider ENDE ----------------------------------------------------------------------------------------------------------------*/

/* Drop-Out ANFANG ----------------------------------------------------------------------------------------------------------------*/

button.dropdown-toggle {
    width: 100%;
    background: var(--background-dark);
    font-size: 2rem;
    text-transform: uppercase;
    color: var(--text-invert);
    font-weight: 400;
    padding: 1rem;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown>button>p {
    color: var(--text-invert);
    max-width: calc(100% - 8px);
    white-space: normal;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 400;
    padding: 0 0 0 30px;
    margin: 0;
    text-align: left;
}

.dropdown>button:hover>p{
    color: var(--text-color);
}

.flex-dropdown {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    --gap: 1.5rem;
    gap: var(--gap);
}

.flex-dropdown>* {
    flex-basis: calc(50% - var(--gap)/2);
}

.flex-dropdown.full-width>* {
    flex-basis: 100%;
}

.flex-dropdown .dropdown-menu {
    padding: 1.5rem 3rem 4rem 10rem;
    background: var(--background-dark);
    border-radius: 0;
    overflow: hidden;
}

.flex-dropdown .dropdown-menu * {
    color: var(--text-invert);
}

.dropdown .dropdown-menu>*:first-child {
    margin-top: 0;
    padding-top: 0;
}

.dropdown .dropdown-menu>*:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.dropdown-menu .square {
    height: 150px;
    width: 150px;
    background: var(--primary-color);
    translate: -125% -30%;
    position: absolute;
}

.dropdown button .square {
    height: 150px;
    width: 150px;
    background: var(--text-color);
    translate: -94% -38%;
    position: absolute;
}

.dropdown .square-wrapper {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.dropdown-menu span:last-of-type {
    position: absolute;
    top: 10px;
    right: 10px;
    line-height: 19px;
    font-size: 26px;
    height: 19px;
    width: 21.25px;
}

.dropdown-menu span:last-of-type:after {
    content:"\2716";
    position: absolute;
    right: 0px;
    transition: all 0.4s;
}

.dropdown-menu span:last-of-type:hover:after {
    color: #000;
    transition: all 0.4s;
    cursor: pointer;
}

@media (max-width: 767px) {

    .flex-dropdown>* {
        flex-basis: 100%;
    }

}

/* Drop-Out ENDE ----------------------------------------------------------------------------------------------------------------*/

/* Kompetenzen ANFANG ----------------------------------------------------------------------------------------------------------------*/

.flex-kompetenzen {
    display: flex;
    flex-wrap: wrap;
    --gap: 1.5rem;
    gap: var(--gap);
    justify-content: space-between;
}

.flex-kompetenzen>div {
    flex-basis: calc((100% - (var(--gap)*2))/3);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: color-mix(in srgb, var(--background-dark) 50%, transparent);
    height: 210px;
}

.flex-kompetenzen>div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/wp-content/uploads/2024/09/Logo_light_orange.png);
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--primary-color);
    background-size: 80%;
}

.flex-kompetenzen a.gallery-logo {
    z-index: 1;
    font-weight: 400;
    font-size: 2rem;
    text-transform: uppercase;
    color: #fff;
    transition: .05s linear;
    position: relative;
    text-align: center;
    background-color: #00000040;
    width: 100%;
    height: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width:767px) and (max-width: 991px){
	.flex-kompetenzen a.gallery-logo{
		height: 8rem;
	}
}

@media (max-width: 767px) {

    .flex-kompetenzen>div {
        flex-basis: 100%;
    }

}

/* Kompetenzen ENDE ----------------------------------------------------------------------------------------------------------------*/

/* Videos ANFANG ----------------------------------------------------------------------------------------------------------------*/

.flex-kompetenzen.video>div {
    height: auto;
}

/* Videos ENDE ----------------------------------------------------------------------------------------------------------------*/

/*Caron Sliderdown  ANFANG ----------------------------------------------------------------------------------------------------------------*/
@media (min-width: 992px) {
	.caron{
		position: absolute;
		top: calc(100% - 12rem);
		left: 48.5%;
		z-index: 2;
		color: #ffffff90;
		opacity: 0;
		font-size: 69px;
		animation: slidedown 2s infinite linear;
	}
	.caron:first-of-type{
		animation-delay: 1s;
		transform: translate(0, -20px);
	}
    div:has(.caron:hover) .caron{
        color: var(--primary-color)
    }
}

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

@keyframes slidedown{
    0% {
        transform: translate(0, -20px);
        opacity: 0;
    }
    
    25% {
        transform: translate(0, -10px);
        opacity: 0.7;
    }

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

    
    75% {
        transform: translate(0, 10px);
        opacity: 0.7;
    }

    100% {
        transform: translate(0, 20px);
        opacity: 0;
    }
   
}

/* Caron Sliderdown ENDE ----------------------------------------------------------------------------------------------------------------*/

/* Karriere-Seite ANFANG ----------------------------------------------------------------------------------------------------------------*/

.karriere-boxen {
    display: flex;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
	gap: var(--gap);
}

.karriere-boxen>div {
    width: calc((100% - ((var(--el) - 1) * var(--gap))) / var(--el));
    padding: 1rem;
}

.karriere-boxen>div>div {
    border: 2px solid var(--primary-color);
    border-radius: 100%;
	width: 80%;
    margin: 0 auto;
    max-width: 130px;
}
.karriere-boxen>div>div>img {
    width: 100%;
    padding: 30px;
    filter: contrast(0.2);
}

.karriere-boxen>div>h3 {
    text-align: center;
    color: var(--text-color);
	font-weight: 700;
}

.karriere-boxen>div>p {
    text-align: center;
}

.karriere-boxen>div * {
    transition: all .25s ease-in-out;
}

.karriere-boxen>div:hover>* {
    transform: translate(0, -15px);
    color: #000;
}

.karriere-boxen>div:hover>div>img{
    filter: unset;
}

.has-text-align-last-center{
    text-align-last: center;
}

.layer-button a {
  transform: rotate(-18deg);
  transition: all .1s ease-in-out !important;
  outline-offset: 1px;
}

p>strong>em {
  font-weight: 600;
  padding-left: 8px;
  border-left: 5px solid var(--primary-color);
  font-style: normal;
}

p:has(> strong > em) + ul {
  padding-left: 3rem;
}

@media (min-width: 768px) {

	.karriere-boxen {
		--gap: 2rem;
		--el: 3;
	}
	
	.layer-button:hover a {
 		transform: rotate(0) scale(1.05);
  		background: var(--secondary-color) !important;
  		color: var(--primary-color) !important;
  		outline-offset: -12px;
  		outline: 5px solid var(--primary-color) !important;
  		font-weight: 700;
	}

	
}

@media (max-width: 767px) {
	
	div.karriere-boxen>div {
		padding: 0;
	}
	
	.karriere-boxen>div>div {
		max-width: 75px;
	}
	
	.karriere-boxen>div>div>img {
		padding: 15px;
	}
	
	.karriere-boxen>div>h3 {
		font-size: 1.7rem;
		margin-top: 1.5rem;
		margin-bottom: 1rem
	}
	
}

@media (min-width: 301px) and (max-width: 767px) {
	
	div.karriere-boxen {
		--gap: 1.5rem;
		--el: 2;
	}
	
}

@media (max-width: 300px) {
	
	div.karriere-boxen {
		--gap: 1.5rem;
		--el: 1;
	}
	
}

/*----Stellenanzeigen--------*/

.stellenanzeigen {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: var(--gap);
}

.stellenanzeigen>div {
  width: calc((100% - ((var(--el) - 1) * var(--gap))) / var(--el));
  padding: 15px;
  background-color: var(--background);
  transition: all 0.2s ease-in-out;
}

.stellenanzeigen>div:hover{
  translate: 0 -1rem;
}

.stellenanzeigen>div>img{
  margin: auto;
  display: block;
  height: 120px;
  width: auto;
}

.stellenanzeigen>div>div{
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
}

.mobil .stellenanzeigen>div {
	background: var(--text-invert);
}

@media (min-width: 1200px) {
	
	.stellenanzeigen {
		--el: 3;
	}
	
}

@media (min-width: 768px) and (max-width: 1199px) {
	
	.stellenanzeigen { 
		--el: 2;
	}
	
}

@media (min-width: 768px) {
	
	.stellenanzeigen {
		--gap: 2rem;
	}
	
	section.mobil {
		display: none;
	}
	
}

@media (max-width: 767px) {
	
	.stellenanzeigen {
		--gap: 1.5rem;
		--el: 1;
	}
	
	section.desktop {
		display: none;
	}
	
}

@media (max-width: 360px){
    .stellenanzeigen>div{
        width: 100%;
        min-width: initial;
    }
    
    .stellenanzeigen>div>div{
        height: initial;
    }
}

/* Karriere-Seite ENDE ----------------------------------------------------------------------------------------------------------------*/

/* NewDatePicker ANFANG*/
body .dtp > .dtp-content > .dtp-date-view > header.dtp-header {
	background-color: var(--primary-color);
}

body .dtp div.dtp-date, body .dtp div.dtp-time{
	background-color: color-mix(in srgb, var(--primary-color) 70%, transparent);
}

body .dtp .p10 > a {
	color: var(--primary-color);
}

body .dtp table.dtp-picker-days tr > td > a.selected {
	background-color: var(--primary-color)
}

/* NewDatePicker ENDE*/

/* FAQ-Accordions ANFANG */

.panel.panel-default.accordion-panel.accordion-panelv3 {
  background: var(--primary-color);
  position: relative;
  padding-right: 25px;
  margin-bottom: 1rem;
  &:has(.collapsed):after {
    rotate: 0deg;
  }
  * {
    color: var(--text-invert);
  }
  &:after {
    content: ">";
    color: #fff;
    position: absolute;
    right: 15px;
    top: .8em;
    font-weight: 600;
    rotate: 90deg;
    transition: rotate .4s ease;
  }
}
/* FAQ-Accordions ENDE */