/* Color palette */

:root {
    --black: #222222;
    --greyish-brown: #3d3d3d;
    --viridian: #1f8a70;
    --viridian-35: rgba(31, 138, 112, 0.35);
    --sun-yellow: #ffe11a;
    --sickly-yellow: #bedb39;
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

.container {
    max-width: 750px;
}

.header {
    padding-top: 27px;
    padding-bottom: 50px;
}

a {
    color: var(--greyish-brown);
    color: #3d3d3d;
}

.logo {
    width: 172px;
    height: 79px;
    object-fit: contain;
}

.header p {
    height: 111px;
    float: right;
}

.menu ul {
    padding: 0;
}

.menu li {
    display: inline-block;
    position: relative;
    list-style-type: none;
    padding-right: 12px;
    padding-left: 12px;
}

.menu li:nth-of-type(1) {
    margin-left: -12px;
}

.menu li a:after {
    display: block;
    content: attr(title);
    font-weight: bold;
    height: 1px;
    color: transparent;
    overflow: hidden;
    visibility: hidden;
    margin-bottom: -1px;
}

.menu li.leistung:hover:before,
.menu li.leistung:focus:before,
.menu li.leistung.active:before,
.menu li.kontakt:hover:before,
.menu li.kontakt:focus:before,
.menu li.kontakt.active:before {
    background-color: var(--sun-yellow);
    background-color: #ffe11a;
}

.menu li.praxis:hover:before,
.menu li.praxis:focus:before,
.menu li.praxis.active:before,
.menu li.team:hover:before,
.menu li.team:focus:before,
.menu li.team.active:before {
    background-color: var(--sickly-yellow);
    background-color: #bedb39;
}

.menu li:hover:before,
.menu li:focus:before,
.menu li.active:before {
    position: absolute;
    z-index: -1;
    width: 38px;
    height: 19px;
    content: '';
    border-radius: 50% / 100%;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    top: 0.8rem;
    left: 50%;
    transform: translateX(-50%)
}

.headline {
    position: relative;
    z-index: 1;
    padding-bottom: 40px;
}

.praxis .headline,
.team .headline {
    padding-bottom: 10px;
}

.leistung .headline {
    padding-bottom: 20px;
}

.headline:before {
    position: absolute;
    width: 100px;
    height: 50px;
    top: 0.8rem;
    content: '';
    border-radius: 50% / 100%;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    z-index: -1;
}

.headline:before {
    background-color: var(sickly-yellow);
    background-color: #bedb39;
    transform: translateX(-50%);
}

.headline.text-right:before {
    background-color: var(sun-yellow);
    background-color: #ffe11a;
    right: 0px;
    transform: translateX(50%);
}


/* Praxis */

.carousel {
    padding-bottom: 75px;
}

.carousel-item .container {
    padding: 0px;
}

.carousel-indicators li {
    position: relative;
    margin-bottom: 25px;
    -webkit-box-flex: none;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
    width: 8px;
    height: 8px;
    background-color: var(--viridian-35);
    background-color: rgba(31, 138, 112, 0.35);
    border-radius: 50%;
    border-width: 20px;
}

.carousel-indicators li.active {
    background-color: var(--viridian);
    background-color: rgba(31, 138, 112, 1);
}

.praxis p strong {
    padding-top: 75px;
}


/* Leistung */

#pleistungen h1 {
    padding-bottom: 20px;
}

#pleistungen h2 {
    font-weight: 600;
}

.card {
    padding: 0;
    background-color: transparent;
    border: none;
}

.card h2 {
    font-weight: normal !important;
}

.card-header {
    padding: 0;
    background-color: transparent;
    border: none;
}

.card-header a {
    text-decoration: none;
}

.card-header a:before {
    transition: all 0.35s;
}

.card-header a:not(.collapsed):before {
    position: absolute;
    width: 8px;
    height: 4px;
    left: -15px;
    top: 0.5rem;
    content: '';
    border-radius: 50% / 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.card-header a.collapsed::before {
    position: absolute;
    width: 8px;
    height: 4px;
    left: -15px;
    top: 0.5rem;
    content: '';
    border-radius: 50% / 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#accordionL a:before {
    background-color: var(sickly-yellow);
    background-color: #bedb39;
}

#accordionPl a:before {
    background-color: var(sun-yellow);
    background-color: #ffe11a;
    left: initial;
    right: -15px;
}

#accordionPl .card-header h2 {
    text-align: right;
}

.card-block {
    padding: 0;
}

.card-block img {
    width: 80%;
}


/* Team */

.responsive-left {
    padding-left: 0px;
}


/* Contact */

#map {
    height: 230px;
    width: 100%;
    margin-bottom: 10px;
}

.imprint {
    font-size: 14px;
    font-weight: 600;
}

.imprint {
    padding-right: 20px;
    padding-bottom: 50px;
    display: inline-block;
    position: relative;
    margin-top: 50px;
}

.imprint:after {
    position: absolute;
    width: 0.4em;
    height: 0.8em;
    top: 0.35em;
    right: 8px;
    content: '';
    border-radius: 100% / 50%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    z-index: -1;
    background-color: var(--sickly-yellow);
    background-color: #bedb39;
}


/* Imprint */

.menu li.back {
    padding-left: 30px;
}

.menu li.back:hover:before,
.menu li.back:focus:before,
.menu li.back.active:before {
    position: absolute;
    width: 0.4em;
    height: 0.8em;
    top: 0.35em;
    left: 15px;
    content: '';
    border-radius: 100% / 50%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    z-index: -1;
    background-color: var(--sickly-yellow);
    background-color: #bedb39;
}


/* Text styles */

.header span a,
.header span {
    font-family: 'Tahoma', sans-serif;
    font-size: 18.8px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.23;
    letter-spacing: 0px;
    text-align: right;
    color: #3d3d3d;
    color: var(--greyish-brown);
}

h1,
.menu li a:hover,
.menu li a:focus,
.menu li.active a {
    font-family: 'Tahoma', sans-serif;
    font-size: 18.8px;
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.1px;
    text-decoration: none;
    color: #3d3d3d;
    color: var(--greyish-brown);
}

.menu li a {
    font-family: 'Tahoma', sans-serif;
    font-size: 18.8px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.1px;
    color: #3d3d3d;
    color: var(--greyish-brown);
}

h2 {
    font-family: 'Tahoma', sans-serif;
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.5;
    letter-spacing: -0.1px;
    color: #222222;
    color: var(--black);
}

a,
adress,
p {
    font-family: 'Tahoma', sans-serif;
    font-size: 12px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.58;
    letter-spacing: -0.1px;
    color: #222222;
    color: var(--black);
}

.leistungen p {
    font-family: 'Tahoma', sans-serif;
    font-size: 14px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.5;
    letter-spacing: -0.1px;
    color: #222222;
    color: var(--black);
}

.team h1 {
    font-family: 'Tahoma', sans-serif;
    font-size: 18px;
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.1px;
    color: #222222;
    color: var(--black);
}

p.skills {
    font-family: 'Tahoma', sans-serif;
    font-size: 12px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.1px;
    color: #1f8a70;
    color: var(--viridian);
    padding-top: 10px;
}

p .skills strong {
    font-weight: 600;
}

a:hover,
a:focus {
    color: var(--black);
    color: #222222;
}

@media all and (max-width:767px) {
    #carouselContent .col-12 {
        padding: 0;
    }
}

@media all and (min-width:576px) {
    .menu {
        padding-bottom: 30px;
    }
    .logo {
        height: 70px;
        width: 150px;
    }
    .header {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .header p {
        height: 70px;
    }
    .pages {
        overflow-y: scroll;
        position: absolute;
        bottom: 0;
        top: 250px;
        left: 0;
        right: 0;
    }
    /* Praxis */
    #imageCarousel:before {
        position: absolute;
        width: 720px;
        height: 360px;
        right: -45%;
        top: 250px;
        content: '';
        border-radius: 50% / 100%;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        z-index: -1;
        background-color: var(sickly-yellow);
        background-color: #bedb39;
    }
    #ppraxis:after {
        position: absolute;
        width: 310px;
        height: 155px;
        left: -18%;
        bottom: -200px;
        content: '';
        border-radius: 50% / 100%;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        z-index: -1;
        background-color: var(sun-yellow);
        background-color: #ffe11a;
    }
    /* Leistungen */
    #accordionPl .card-header h2 {
        text-align: left;
    }
    #accordionPl a:before {
        background-color: var(sun-yellow);
        background-color: #ffe11a;
        left: -15px;
        right: initial;
    }
    .card-header a.collapsed::before {
        transform: rotateX(180deg);
    }
    #pleistungen:before {
        position: absolute;
        width: 310px;
        height: 155px;
        right: -25%;
        top: 70px;
        content: '';
        border-radius: 50% / 100%;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        z-index: -1;
        background-color: var(viridian);
        background-color: #1f8a70;
    }
    #pleistungen:after {
        position: absolute;
        width: 310px;
        height: 155px;
        left: -30%;
        bottom: -200px;
        content: '';
        border-radius: 50% / 100%;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        z-index: -1;
        background-color: var(sun-yellow);
        background-color: #ffe11a;
    }
    /* Team */
    .responsive-left {
        padding-left: 15px;
    }
    .team-circle {
        padding-left: 17px;
        position: relative;
        display: inline-block;
    }
    .team-circle:before {
        position: absolute;
        width: 50px;
        height: 25px;
        top: -0.4rem;
        content: '';
        border-radius: 50% / 100%;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        z-index: -1;
    }
    .team-circle.yellow:before {
        background-color: var(sun-yellow);
        background-color: #ffe11a;
        left: 0px;
    }
    .team-circle.green:before {
        background-color: var(sickly-yellow);
        background-color: #bedb39;
        right: -17px;
    }
    .team-circle.green {
        padding-left: 0;
    }
    p.skills {
        font-size: 12px;
    }
    p.skills.circle:after {
        position: absolute;
        width: 600px;
        height: 300px;
        left: 30%;
        transform: translate(-35px, -47px);
        content: '';
        border-radius: 50% / 100%;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        z-index: -1;
        background-color: var(sickly-yellow);
        background-color: #bedb39;
    }
    /* Contact */
    #map {
        height: 365px;
        margin-top: 50px;
    }
    /* Text Styles */
    h1 {
        font-size: 14px;
    }
    h2 {
        font-size: 14px;
    }
    a,
    adress,
    p {
        font-size: 14px;
        font-weight: 300;
        line-height: 1.36;
    }
    #kontakt-circle:after {
        position: absolute;
        width: 600px;
        height: 300px;
        bottom: -100%;
        transform: translateX(70%);
        content: '';
        border-radius: 50% / 100%;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        z-index: -1;
        background-color: var(sickly-yellow);
        background-color: #ffe11a;
    }
    /* Imprint */
    #kontakt-circle:after {
        position: absolute;
        width: 600px;
        height: 300px;
        top: 450px;
        left: -100%;
        content: '';
        border-radius: 50% / 100%;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        z-index: -1;
        background-color: var(sickly-yellow);
        background-color: #ffe11a;
    }
}

@media all and (min-width:768px) {
    /*
    .header span,
    .header span a {
        font-size: 27px;
        font-weight: 300;
        line-height: 1.37;
        letter-spacing: -0.1px;
    }
*/
}
