/* =========================================================
   STARTSEITE – SERVICE ÜBERSICHT
========================================================= */

.home-service-overview {
    width: 100%;
    padding: 95px 5%;
    background: #f5f6f4;
}

.home-service-overview-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}


/* =========================================================
   ÜBERSCHRIFT
========================================================= */

.home-service-overview-heading {
    text-align: center;
    margin-bottom: 38px;
}

.home-service-overview-heading span {
    display: block;
    margin-bottom: 12px;

    color: #c89b3c;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.home-service-overview-heading h2 {
    margin: 0;

    color: #173f32;

    font-size: 40px;
    line-height: 1.15;
    font-weight: 800;
}

.home-service-overview-heading h2 strong {
    color: #c89b3c;
}


/* =========================================================
   TABS
========================================================= */

.home-service-tabs {
    display: flex;
    justify-content: center;
    align-items: stretch;

    border-bottom: 1px solid #cfcfcf;

    margin-bottom: 0;
}

.home-service-tab {
    position: relative;

    padding: 15px 25px;

    border: 0;
    background: transparent;

    color: #173f32;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        color .25s ease,
        background .25s ease;
}

.home-service-tab::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -1px;

    width: 0;
    height: 3px;

    background: #c89b3c;

    transition: width .25s ease;
}

.home-service-tab:hover {
    color: #c89b3c;
}

.home-service-tab.active {
    color: #c89b3c;
}

.home-service-tab.active::after {
    width: 100%;
}


/* =========================================================
   CONTENT
========================================================= */

.home-service-content {
    display: grid;
    grid-template-columns: 46% 54%;
    min-height: 520px;

    background: #ffffff;
}


/* =========================================================
   LINKES BILD
========================================================= */

.home-service-visual {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;
}

.home-service-image-card {
    position: relative;

    width: 100%;
    max-width: 510px;

    overflow: hidden;

    border-radius: 18px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .15);
}

.home-service-image-card img {
    display: block;

    width: 100%;
    height: 430px;

    object-fit: cover;
}

.home-service-image-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 35px 30px 28px;

    color: #ffffff;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, .82),
            rgba(0, 0, 0, .05)
        );
}

.home-service-image-overlay span {
    display: block;

    margin-bottom: 8px;

    color: #c89b3c;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.home-service-image-overlay strong {
    display: block;

    font-size: 27px;
    line-height: 1.2;
}

.home-service-image-overlay small {
    display: block;

    margin-top: 10px;

    color: rgba(255,255,255,.85);

    font-size: 13px;
}


/* =========================================================
   RECHTE SEITE
========================================================= */

.home-service-details {
    padding: 35px 50px 35px 30px;
}

.home-service-panel {
    display: none;
}

.home-service-panel.active {
    display: block;
}


/* =========================================================
   SERVICE ITEM
========================================================= */

.home-service-item {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 15px;

    padding: 20px 0;

    border-bottom: 1px solid #e5e5e5;
}

.home-service-item:first-child {
    padding-top: 10px;
}

.home-service-item:last-child {
    border-bottom: 0;
}

.home-service-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #c89b3c;
    border-radius: 50%;

    color: #173f32;

    font-size: 15px;
    font-weight: 800;
}

.home-service-item h3 {
    margin: 0 0 7px;

    color: #173f32;

    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
}

.home-service-item p {
    margin: 0;

    color: #5f6864;

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .home-service-content {
        grid-template-columns: 1fr;
    }

    .home-service-visual {
        padding: 35px;
    }

    .home-service-image-card {
        display: none;
        max-width: 650px;
    }

    .home-service-details {
        padding: 25px 35px 40px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .home-service-overview {
        padding: 65px 18px;
    }

    .home-service-overview-heading {
        margin-bottom: 28px;
    }

    .home-service-overview-heading h2 {
        font-size: 30px;
    }

    .home-service-tabs {
        overflow-x: auto;
        justify-content: flex-start;
    }

    .home-service-tab {
        flex-shrink: 0;

        padding: 13px 16px;

        font-size: 13px;
    }

    .home-service-visual {
        padding: 20px;
    }

    .home-service-image-card img {
        height: 330px;
    }

    .home-service-details {
        padding: 15px 20px 30px;
    }

    .home-service-item {
        grid-template-columns: 50px 1fr;
        gap: 12px;
    }

    .home-service-icon {
        width: 48px;
        height: 48px;

        font-size: 13px;
    }

    .home-service-item h3 {
        font-size: 17px;
    }

    .home-service-item p {
        font-size: 14px;
    }

}