:root {
    --main-blue: #2a9fd5;
    --main-background: #f6f6f6;
    --main-footer: #616161;
    --main-font-color: #454545;
    --main-transparent-background: #e3e3e3;
}

/*			GENERAL 		*/
body {
    color: var(--main-font-color);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.15;
    background-color: var(--main-background);
}

h1 {
    color: var(--main-font-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin-top: 1.3rem;
    margin-bottom: 0.6rem;
}

h2 {
    color: var(--main-font-color);
    font-weight: 700;
    font-size: 1rem;
    /*margin-top: 1rem;*/
    margin-bottom: 0.4rem;
}

h3 {
    color: var(--main-font-color);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}
a {
    white-space: pre-wrap; /* CSS3 */
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}

.icon {
    height: 1.1rem;
    width: 1.1rem;
    color: var(--main-blue);
}

.icon > path {
    stroke: var(--main-blue);
}

.section {
    position: relative;
}

.carousel.slide.carousel-fade > .carousel-inner > * {
    position: relative;
    transition: 4s;
}

.carousel-inner > .carousel-item {
    display: flex;
    height: 40vh;
    width: 100vw;
    align-items: center;
    justify-content: center;
}

.main-image {
    width: 100vw;
    height: 100%;
    object-fit: cover;
}

.image-fixed-top {
    object-position: center top;
}

.bild-quelle {
    position: absolute;
    z-index: 100;
    font-size: 0.6rem;
    color: #000;
    text-align: end;
    letter-spacing: 0.02rem;
    bottom: -0.3rem;
    right: 1rem;
}

.carousel-caption {
    left: 0;
    bottom: 0;
    padding-bottom: 0rem;
    height: 40vh;
}

.blockquote {
    background: rgb(227, 227, 227, 0.65);
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    padding-top: 1rem;
    padding-bottom: 1rem;
    bottom: 0;
    color: var(--main-font-color);
    /*align-items: end;*/
}

.blockquote-author {
    margin-top: -0.8rem;
    /*justify-content: end;*/
}

.blockquote-footer {
    color: var(--main-font-color);
    font-weight: 500;
    font-size: 0.9rem;
    justify-content: flex-end;
}

/*content right under the main picture per site*/
.page-content {
    padding-top: 1rem;
    height: 54vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/*blue ikjus class*/
em.ikjus,
em.ikjus > a,
.ikjus {
    color: var(--main-blue);
    font-weight: 700;
}

.internal-link {
    color: var(--main-blue);
}

.page-footer {
    font-size: 0.9rem;
    font-weight: 300;
    position: absolute;
    width: 100vw;
    height: 1.8rem;
    bottom: 0rem;
    background-color: var(--main-footer);
    justify-content: flex-end;
}

.other-content {
    padding-top: 5rem;
    /*overflow-x: hidden;*/
}

.card-image {
    height: 64px;
    aspect-ratio: 1;
}

.card-header > a {
    white-space: nowrap;
    color: var(--main-blue);
}

.card .card-body {
    padding: 0;
}

.card .card-info {
    padding: 10px 30px;
}

.card .list-group-item {
    padding: 8px 10px;
}

.card-info {
    padding-bottom: 10px;
}

.swiper-slide {
    padding: 0px;
    overflow-y: auto;
    overflow-x: hidden;
}
.swiper-pagination > .swiper-pagination-bullet-active {
    background: var(--main-blue);
}

.swiper-slide a {
    white-space: unset;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--main-blue);
    opacity: 0;
}

#img-robert-kontakt {
    aspect-ratio: 1.71/1;
}
/*			GENERAL			*/

/*			MENU			*/
.menu-container {
    display: flex;
    justify-content: flex-end;
}

.menu-button {
    position: fixed;
    height: 27px;
    width: 30px;
    cursor: pointer;
    z-index: 10000;
    transition: opacity 0.15s ease;
    margin-top: 32px;
    margin-right: 16px;
}

.menu-button-background {
    z-index: 9999;
    position: absolute;
    background: var(--main-transparent-background);
    opacity: 0.7;
    margin-right: 8px;
    margin-top: 26px;
    padding-left: 48px;
    padding-top: 39px;
}

.menu-button-background.dt-imp {
    position: fixed;
}

.menu-button:hover {
    opacity: 0.7;
}

.menu-button.active .menu-top {
    transform: translateY(11px) translateX(0) rotate(45deg);
}

.menu-button.active .menu-middle {
    opacity: 0;
}

.menu-button.active .menu-bottom {
    transform: translateY(-11px) translateX(0) rotate(-45deg);
}

.menu-button span {
    background: var(--main-blue);
    border: none;
    height: 5px;
    width: 100%;
    position: absolute;
    transition: all 0.25s ease;
    cursor: pointer;
}

.menu-button span:nth-of-type(2) {
    top: 11px;
}

.menu-button span:nth-of-type(3) {
    top: 22px;
}

.overlay {
    z-index: 9999;
    position: absolute;
    background: var(--main-background);
    top: 0;
    left: 0;
    width: 100vw;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s, visibility 0.35s, height 0.25s;
    overflow: hidden;
}

.overlay.dt-imp {
    position: fixed;
}

.overlay.open {
    opacity: 0.95;
    visibility: visible;
    height: 65vh;
}

.overlay.open li {
    animation: fadeInRight 0.2s ease forwards;
    animation-delay: 0.04s;
}

.overlay.open li:nth-of-type(2) {
    animation-delay: 0.08s;
}

.overlay.open li:nth-of-type(3) {
    animation-delay: 0.12s;
}

.overlay.open li:nth-of-type(4) {
    animation-delay: 0.16s;
}

.overlay.open li:nth-of-type(5) {
    animation-delay: 0.2s;
}

.overlay.open li:nth-of-type(6) {
    animation-delay: 0.24s;
}

.overlay.open li:nth-of-type(7) {
    animation-delay: 0.28s;
}

.overlay.open li:nth-of-type(8) {
    animation-delay: 0.32s;
}

.overlay nav {
    position: relative;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

.overlay ul {
    list-style: none;
    padding: 0;
    margin-top: 4vh;
    position: relative;
    height: 100%;
}

.overlay ul li {
    min-height: 5vh;
    position: relative;
    opacity: 0;
}

.overlay ul li a {
    position: relative;
    color: var(--main-font-color);
    transition: color 0.15s;
    text-decoration: none;
    overflow: hidden;
}

.overlay nav ul li button:hover,
.overlay nav ul li a:focus,
.overlay nav ul li a:active {
    color: var(--main-blue);
}

.overlay ul li a:hover,
.overlay ul li a:focus,
.overlay ul li a:active {
    color: var(--main-blue);
    transition: 0.1s;
    transition-delay: 0.05s;
}

.overlay ul li a.active-link {
    color: var(--main-blue);
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 3%;
    }
    100% {
        opacity: 1;
        left: 0;
    }
}
/*			MENU			*/

/*			PAGES 			*/
#quelle-lp1 {
    color: #fff;
}

#quelle-haltung {
    color: #fff;
}

#quelle-angebote {
    color: #fff;
}

#quelle-aktuell {
    color: #fff;
}

#quelle-kontakt {
    bottom: 0.7rem;
}

#carousel-caption-lp {
    bottom: -4rem;
}

span.lp-text {
    /*font-size: 0.8rem;*/
    margin-bottom: 0.4rem;
}

.angebote-page {
    padding-top: 1rem;
}

.ag-page {
    font-weight: 600;
}

.angebote-content {
    overflow-y: auto;
    overflow-x: hidden;
}

.custom-nav-item {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 0px 15px;
}

.partner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    align-items: stretch;
}

.partner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    margin: 10px 20px;
}

a.partner {
    white-space: unset;
    display: inline-block;
}

.partner-heading {
    display: block;
    margin-bottom: 0.5rem;
}

.partner-logo {
    height: 175px;
    width: auto;
}

#mh-coaching {
    background: #0e1348;
}

.kontakt-info {
    padding-top: 4.5rem;
}

.kontakt-content {
    padding-top: 0.5rem;
    /*height: 35vh;*/
    overflow-y: auto;
    overflow-x: hidden;
}

.form-group {
    margin-bottom: 0.4rem;
}

.form-confirmation {
    display: flex;
    /*justify-content: flex-end;*/
}

#label-agreement {
    padding-left: 0.5rem;
}

input[type='checkbox'].form-check-input {
    color: red;
    background-color: yellow;
}

#datenschutz-link {
    display: inline-flex;
    color: var(--main-blue);
    padding: 0px 0px;
    margin: 0px 0px;
}

#submit-btn {
    background-color: var(--main-blue);
}

#form-alert-div > .alert {
    letter-spacing: 0rem;
    text-align: center;
    background-color: var(--main-blue);
    color: #fff;
}

.form-close {
    vertical-align: top;
}
/*			PAGES 			*/

@media (min-width: 576px) {
    body {
        font-size: 1rem;
        letter-spacing: -0.05rem;
    }
    h1 {
        font-size: 1.6rem;
        margin-top: 1.3rem;
        margin-bottom: 0.8rem;
    }
    h2 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    .menu-button {
        height: 27px;
        width: 37px;
        margin-top: 48px;
        margin-right: 25px;
    }
    .menu-button-background {
        margin-right: 15px;
        margin-top: 38px;
        padding-left: 58px;
        padding-top: 49px;
    }
    .menu-button span:nth-of-type(2) {
        top: 12px;
    }
    .menu-button span:nth-of-type(3) {
        top: 23px;
    }
    .overlay nav {
        font-size: 1rem;
    }
    .carousel-inner > .carousel-item {
        height: 40vh;
    }
    #quelle-werdegang {
        color: #fff;
    }
    #quelle-kontakt {
        bottom: 0rem;
    }
    .carousel-caption {
        height: 40vh;
    }
    .blockquote {
        font-size: 1.03rem;
        font-weight: 700;
        /*padding with vh?*/
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }
    .blockquote-author {
        margin-top: -0.8rem;
    }
    .blockquote-footer {
        font-weight: 600;
        font-size: 0.93rem;
    }
    .page-content {
        padding-top: 1.3rem;
        height: 54vh;
    }
    .page-footer {
        font-size: 0.92rem;
        height: 2rem;
    }
    #carousel-caption-lp {
        bottom: -4rem;
    }
    span.lp-text {
        font-size: 1.08rem;
        margin-bottom: 0.5rem;
    }
    .angebote-page {
        padding-top: 1.3rem;
    }
    .ag-page {
        font-weight: 600;
    }
    .angebote-content {
        margin-top: 1vh;
    }
    .kontakt-info {
        padding-top: 7.5rem;
    }
    .kontakt-content {
        padding-top: 3rem;
        height: 40vh;
    }
    .form-group {
        margin-bottom: 0.6rem;
    }
    .form-confirmation {
        margin-top: 1.2rem;
    }
}

@media (min-width: 678px) {
    @media (orientation: portrait) {
        body {
            font-size: 1.1rem;
            letter-spacing: 0rem;
        }
        h1 {
            font-size: 1.8rem;
            margin-top: 1.3rem;
            margin-bottom: 0.6rem;
        }
        h2 {
            font-size: 1.5rem;
            padding-bottom: 0.3rem;
        }
        h3 {
            font-size: 1.2rem;
            margin-bottom: 0.3rem;
        }
        .menu-button-background {
            margin-right: 13px;
            margin-top: 36px;
            padding-left: 63px;
            padding-top: 53px;
        }
        .overlay nav {
            font-size: 1.2rem;
            font-weight: 600;
        }
        .carousel-inner > .carousel-item {
            height: 45vh;
        }
        .bild-quelle {
            font-size: 0.65rem;
        }
        #quelle-kontakt {
            bottom: 0rem;
            right: 1.5rem;
        }
        .carousel-caption {
            height: 45vh;
        }
        .blockquote {
            font-size: 1.15rem;
            /*padding with vh?*/
            padding-top: 1.3rem;
            padding-bottom: 1.3rem;
        }
        .blockquote-author {
            margin-top: -0.8rem;
        }
        .blockquote-footer {
            font-size: 1rem;
        }
        .page-content {
            padding-top: 1.5rem;
            height: 52vh;
        }
        .page-footer {
            font-size: 0.97rem;
            font-weight: 300;
            height: 2rem;
        }
        #carousel-caption-lp {
            bottom: -5rem;
        }
        span.lp-text {
            font-size: 1.15rem;
            margin-bottom: 0.7rem;
        }
        .angebote-page {
            padding-top: 1.5rem;
        }
        .ag-page {
            font-weight: 600;
        }
        .angebote-content {
            margin-top: 1.5vh;
        }
        .kontakt-info {
            padding-top: 7.5rem;
        }
        .kontakt-content {
            padding-top: 3rem;
            height: 60vh;
        }
        .form-group {
            margin-bottom: 0.6rem;
        }
        .form-confirmation {
            margin-top: 1.2rem;
        }
    }
}

@media (min-width: 992px) {
    body {
        font-size: 1rem;
        letter-spacing: -0.03rem;
    }
    h1 {
        font-size: 1.8rem;
        margin-top: 1.9rem;
        margin-bottom: 0.7rem;
    }
    h2 {
        font-size: 1.3rem;
        padding-bottom: 0.3rem;
    }
    h3 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    .menu-button-background {
        margin-right: 10px;
        margin-top: 34px;
        padding-left: 68px;
        padding-top: 56px;
    }
    .overlay nav {
        font-size: 1.1rem;
    }
    .carousel-inner > .carousel-item {
        height: 45vh;
    }
    .bild-quelle {
        bottom: -0.3rem;
        right: 1.5rem;
    }
    #quelle-kontakt {
        bottom: -0.3rem;
    }
    .carousel-caption {
        height: 45vh;
    }
    .carousel-inner > .carousel-item-lp {
        height: 57vh;
    }
    #carousel-caption-lp {
        height: 57vh;
    }
    #lp2-img {
        object-position: center top;
    }
    .blockquote {
        font-size: 1.05rem;
        padding-top: 1.1rem;
        padding-bottom: 1.1rem;
    }
    .blockquote-footer {
        font-size: 1.07rem;
    }
    .page-content {
        padding-top: 1.3rem;
        height: 52vh;
    }
    .page-footer {
        font-size: 1rem;
        font-weight: 400;
        height: 1.8rem;
    }
    #carousel-caption-lp {
        bottom: -15vh;
    }
    span.lp-text {
        font-size: 1.2rem;
        margin-bottom: 0.7rem;
    }
    .angebote-page {
        padding-top: 1.5rem;
    }
    .angebote-content {
        margin-top: 1.3vh;
    }
    .swiper-slide {
        padding: 0 50px;
    }
    .swiper-button-prev,
    .swiper-button-next {
        opacity: 1;
    }
    .kontakt-info {
        padding-top: 7.5rem;
    }
    .kontakt-content {
        padding-top: 1rem;
        height: 60vh;
    }
    .form-group {
        margin-bottom: 0.8rem;
    }
    .form-confirmation {
        margin-top: 1.4rem;
    }
    @media (orientation: portrait) {
        body {
            font-size: 1.15rem;
            letter-spacing: 0rem;
        }
        h1 {
            font-size: 1.9rem;
            margin-top: 1.9rem;
            margin-bottom: 0.6rem;
        }
        h2 {
            font-size: 1.5rem;
            padding-bottom: 0.3rem;
        }
        h3 {
            font-size: 1.3rem;
            margin-bottom: 0.4rem;
        }
        .menu-button-background {
            margin-right: 10px;
            margin-top: 34px;
            padding-left: 68px;
            padding-top: 56px;
        }
        .overlay nav {
            font-size: 1.25rem;
            font-weight: 600;
        }
        .carousel-inner > .carousel-item {
            height: 50vh;
        }
        #quelle-kontakt {
            bottom: 0.1rem;
            right: 1.4rem;
        }
        .carousel-caption {
            height: 50vh;
        }
        .blockquote {
            font-size: 1.15rem;
            /*padding with vh?*/
            padding-top: 1.5rem;
            padding-bottom: 1.5rem;
        }
        .blockquote-author {
            margin-top: -0.8rem;
        }
        .blockquote-footer {
            font-size: 1.07rem;
        }
        .page-content {
            padding-top: 1.7rem;
            height: 52vh;
        }
        .page-footer {
            font-size: 1rem;
            font-weight: 400;
            height: 2.3rem;
        }
        #carousel-caption-lp {
            bottom: -6rem;
        }
        span.lp-text {
            font-size: 1.22rem;
            margin-bottom: 0.7rem;
        }
        .angebote-page {
            padding-top: 1.7rem;
        }
        .ag-page {
            font-weight: 600;
        }
        .angebote-content {
            margin-top: 1.5vh;
        }
        .kontakt-info {
            padding-top: 9.5rem;
        }
        .kontakt-content {
            padding-top: 3rem;
            height: 60vh;
        }
        .form-group {
            margin-bottom: 0.8rem;
        }
        .form-confirmation {
            margin-top: 1.4rem;
        }
    }
}

@media (orientation: portrait) {
    .overlay.open {
        height: 100vh;
    }
    .overlay ul {
        margin-top: 12vh;
    }
    .overlay ul li {
        min-height: 10vh;
    }
}

@media (orientation: portrait) and (min-height: 650px) {
    .overlay.open {
        height: 85vh;
    }
    .overlay ul {
        margin-top: 8vh;
    }
    .overlay ul li {
        min-height: 8vh;
    }
    .partner {
        margin: 10px 15px;
    }
    .partner-logo {
        height: 130px;
    }
}

@media (orientation: portrait) and (min-height: 800px) {
    .overlay.open {
        height: 53vh;
    }
    .overlay ul {
        margin-top: 4vh;
    }
    .overlay ul li {
        min-height: 5vh;
    }
    .partner {
        margin: 10px 30px;
    }
    .partner-logo {
        height: 180px;
    }
}
