@import url("../../../global/css/main.css");

.header-section {
    position: relative;
    top: 5rem;
    text-align: center;
    line-height: 30rem;
    width: 100%;
    height: 30rem;
    color: var(--primary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-section img {
    width: 100%;
    z-index: 5;
}

.benefits-section {
    position: relative;
    top: 5rem;
    width: 100%;
    height: 40rem;
}

.benefits-section .headline {
    position: relative;
    top: 2rem;
    text-align: center;
    color: var(--primary);
    font-size: 2rem;
}

.benefits-section .card-area {
    position: absolute;
    top: 10rem;
    left: 20%;
    width: 60%;
    height: 23rem;
}

.benefits-section .card-area .benefit-card {
    position: relative;
    float: left;
    text-align: center;
    margin: 1.5%;
    width: 30%;
    height: 90%;
    background-color: var(--page-white);
    color: var(--primary);
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.benefits-section .card-area .benefit-card .icon {
    position: relative;
    top: 3rem;
    left: 0;
    width: 50%;
}

.benefits-section .card-area .benefit-card .details {
    position: relative;
    top: 6rem;
    font-size: 1.3rem;
}

.service-section {
    position: relative;
    top: 0;
    width: 100%;
    height: 63rem;
    text-align: center;
}

.service-section .headline {
    position: relative;
    top: 2rem;
    text-align: center;
    color: var(--primary);
    font-size: 2rem;
}

.service-section .service-list {
    position: absolute;
    top: 10rem;
    left: 5%;
    width: 90%;
    height: 50rem;
}

.service-section .service-list .left-colum {
    position: absolute;
    top: 0;
    left: 0;
    width: 49%;
    height: 100%;
    text-align: start;
}

.service-section .service-list .right-colum {
    position: absolute;
    top: 0;
    right: 0;
    width: 49%;
    height: 100%;
    text-align: start;
}

.service-section .service-list a {
    text-decoration: none;
    color: var(--text-grey);
}

.service-section .service-list a .service-card {
    position: relative;
    width: 100%;
    height: 7rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    line-height: 7rem;
    transition: .3s ease;
}

.service-section .service-list a .service-card:hover {
    background-color: #fff8f3;
}

.service-section .service-list a .service-card .service-icon {
    position: relative;
    top: 1rem;
    left: 2rem;
    height: 5rem;
}

.service-section .service-list a .service-card .service-name {
    position: relative;
    top: -.75rem;
    left: 3rem;
    font-size: 2rem;
    font-weight: 500;
}

.service-section .service-info {
    position: absolute;
    top: 1rem;
    left: 2%;
    width: 70%;
    height: 35rem;
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -ms-border-radius: 7px;
    -o-border-radius: 7px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    background-color: white;
    overflow: hidden;
    display: none;
    z-index: 450;
    animation: openServiceInfo .5s forwards;
    -webkit-animation: openServiceInfo .5s forwards;
}

@keyframes openServiceInfo {
    100% {
        top: 8rem;
        left: 15%;
    }
}

.service-section .service-info .close-btn {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem;
    font-size: 2rem;
    transition: .2s;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
}

.service-section .service-info .close-btn:hover {
    cursor: pointer;
    color: var(--primary);
}

.service-section .service-info .headline {
    position: relative;
    text-align: start;
    top: 3rem;
    left: 3rem;
    font-size: 2rem;
    max-width: 90%;
}

.service-section .service-info .text-box {
    position: relative;
    text-align: justify;
    top: 5rem;
    left: 2rem;
    max-width: 50%;
    height: 25rem;
    border-radius: 7px;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -ms-border-radius: 7px;
    -o-border-radius: 7px;
}

.service-section .service-info .text-box .sub-headline {
    position: relative;
    left: 1rem;
    max-width: 90%;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.service-section .service-info .text-box .third-headline {
    position: relative;
    left: 1rem;
    max-width: 90%;
    margin-top: 1.5rem;
    margin-bottom: .5rem;
}

.service-section .service-info .text-box .underline { margin-top: 1rem; text-decoration: underline;}

.service-section .service-info .text-box .paragraph {
    position: relative;
    left: 1rem;
    max-width: 90%;
    font-size: 1.3rem;
}

.service-section .service-info .text-box .sport-liste {
    position: relative;
    left: 1rem;
    list-style: disc;
}

.service-section .service-info .text-box .sport-liste li {
    position: relative;
    left: 2rem;
    font-size: 1.3rem;
    padding: .3rem;
}

.service-section .service-info .image-box {
    position: relative;
    top: -20rem;
    left: 55%;
    width: 43%;
    height: 25rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.service-section .service-info .image-box img {
    position: relative;
    top: 0;
    height: 100%;
}

.service-section .termin-link {
    position: relative;
    top: 47rem;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 25px;
    padding-right: 25px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.5rem;
    background-color: var(--primary);
    color: var(--page-white);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
