/* =========================================================
   DT ALLROUND
   LEISTUNGEN
   Dedicated page stylesheet
   ========================================================= */


/* =========================================================
   PAGE
   ========================================================= */

.leistungen-page {
    background: var(--white);
}


/* =========================================================
   INTRO
   ========================================================= */

.leistungen-intro {
    padding: 62px 0 40px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fafaf8 100%
        );
}

.leistungen-intro__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(420px, 0.82fr);

    align-items: end;

    gap: 80px;
}

.leistungen-label {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--gold-dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.leistungen-intro__title h1 {
    margin: 0;

    color: var(--navy);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(46px, 4.6vw, 66px);

    font-weight: 500;

    line-height: 1.03;

    letter-spacing: -0.045em;
}

.leistungen-intro__copy {
    width: 100%;
    max-width: 650px;

    justify-self: end;
}

.leistungen-intro__copy p {
    margin: 0;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.66;

    text-align: left;
}

.leistungen-intro__copy
.leistungen-intro__lead {
    margin-bottom: 13px;

    color: #365273;

    font-size: 18px;
    font-weight: 650;

    line-height: 1.5;
}

.leistungen-intro__line {
    width: 100%;
    height: 2px;

    margin-top: 34px;

    background: var(--gold);
}


/* =========================================================
   SERVICES
   ========================================================= */

.leistungen-services {
    padding: 42px 0 58px;

    background: var(--white);
}

.leistungen-list {
    display: grid;

    grid-template-columns: 1fr;

    gap: 18px;
}


/* =========================================================
   SERVICE CARD
   ========================================================= */

.leistungen-card {
    padding: 30px 34px 32px;

    background: var(--white);

    border:
        1px solid var(--border);

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);

    scroll-margin-top: 110px;
}

.leistungen-card:hover,
.leistungen-card:focus-within {
    transform: translateY(-2px);

    border-color:
        rgba(196, 148, 67, 0.70);

    box-shadow: var(--shadow);
}


/* =========================================================
   CARD HEADER
   ========================================================= */

.leistungen-card__head {
    display: flex;

    align-items: center;

    gap: 20px;

    min-height: 58px;

    margin-bottom: 15px;
}

.leistungen-icon {
    flex:
        0 0 58px;

    width: 58px;
    height: 58px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 25%,
            var(--navy-light),
            var(--navy-deep) 75%
        );

    box-shadow:
        0 7px 18px
        rgba(3, 26, 48, 0.12);
}

.leistungen-icon svg {
    width: 29px;
    height: 29px;

    fill: none;

    stroke: var(--gold-light);

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.leistungen-card__head h2 {
    margin: 0;

    color: var(--navy);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 28px;

    font-weight: 600;

    line-height: 1.1;

    letter-spacing: -0.025em;

    white-space: nowrap;
}


/* =========================================================
   CARD TEXT
   ========================================================= */

.leistungen-card__body {
    width: 100%;
}

.leistungen-card__body p {
    margin: 0;

    color: #566d88;

    font-size: 18px;

    line-height: 1.64;

    text-align: justify;
    text-align-last: left;

    hyphens: auto;
    -webkit-hyphens: auto;

    word-break: normal;

    overflow-wrap: normal;

    letter-spacing: 0;
}

.leistungen-card__body p + p {
    margin-top: 8px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.leistungen-contact {
    padding: 0 0 44px;

    background: var(--white);
}

.leistungen-contact__box {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(360px, 0.8fr);

    align-items: center;

    gap: 52px;

    padding: 38px 42px;

    background: #fafaf8;

    border:
        1px solid var(--border);

    box-shadow:
        0 12px 35px
        rgba(3, 26, 48, 0.05);
}

.leistungen-contact__box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: var(--gold);
}

.leistungen-contact__copy h2 {
    margin: 8px 0 12px;

    color: var(--navy);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(30px, 3vw, 42px);

    font-weight: 500;

    line-height: 1.08;

    letter-spacing: -0.035em;
}

.leistungen-contact__copy p {
    margin: 0;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.68;
}

.leistungen-contact__actions {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 18px;
}

.leistungen-contact__button {
    min-height: 50px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 22px;

    padding: 0 22px;

    border:
        1px solid var(--gold-dark);

    border-radius: 3px;

    background:
        linear-gradient(
            135deg,
            #c99647,
            #a76e20
        );

    color: var(--white);

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.leistungen-contact__button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 24px
        rgba(169, 111, 32, 0.16);
}

.leistungen-contact__button span {
    font-size: 20px;
}

.leistungen-contact__direct {
    display: flex;

    flex-wrap: wrap;

    gap: 18px 30px;
}

.leistungen-contact__direct a {
    display: flex;

    flex-direction: column;

    gap: 2px;

    text-decoration: none;
}

.leistungen-contact__direct small {
    color: var(--gold-dark);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.15em;
}

.leistungen-contact__direct strong {
    color: var(--navy);

    font-size: 13px;
    font-weight: 700;

    transition:
        color var(--transition);
}

.leistungen-contact__direct a:hover strong {
    color: var(--gold-dark);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .leistungen-intro__grid {
        grid-template-columns: 1fr;

        gap: 28px;
    }

    .leistungen-intro__copy {
        max-width: 760px;

        justify-self: start;
    }

    .leistungen-contact__box {
        grid-template-columns: 1fr;

        gap: 28px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .leistungen-intro {
        padding: 46px 0 32px;
    }

    .leistungen-intro__title h1 {
        font-size: 43px;
    }

    .leistungen-intro__copy
    .leistungen-intro__lead {
        font-size: 17px;
    }

    .leistungen-intro__line {
        margin-top: 28px;
    }


    .leistungen-services {
        padding: 32px 0 42px;
    }

    .leistungen-list {
        gap: 14px;
    }

    .leistungen-card {
        padding: 24px 20px 26px;
    }

    .leistungen-card__head {
        gap: 14px;

        margin-bottom: 15px;
    }

    .leistungen-icon {
        flex-basis: 50px;

        width: 50px;
        height: 50px;
    }

    .leistungen-icon svg {
        width: 25px;
        height: 25px;
    }

    .leistungen-card__head h2 {
        font-size: 22px;

        white-space: normal;
    }

    .leistungen-card__body p {
        font-size: 16.5px;

        line-height: 1.64;

        text-align: left;

        hyphens: auto;
        -webkit-hyphens: auto;
    }

    .leistungen-card__body p + p {
        margin-top: 8px;
    }


    .leistungen-contact {
        padding-bottom: 32px;
    }

    .leistungen-contact__box {
        padding: 30px 22px;
    }

    .leistungen-contact__actions {
        align-items: stretch;
    }

    .leistungen-contact__button {
        width: 100%;
    }

    .leistungen-contact__direct {
        flex-direction: column;

        gap: 14px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 440px) {

    .leistungen-intro__title h1 {
        font-size: 38px;
    }

    .leistungen-card__head h2 {
        font-size: 20px;
    }

    .leistungen-card__body p {
        font-size: 16px;
    }

}
