/* ================= HERO ================= */

.leistungen-hero {
    padding: 0px 60px 30px 60px;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    background: 
        radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.55), transparent 35%), 
        radial-gradient(circle at 85% 25%, rgba(255, 255, 255, 0.45), transparent 30%), 
        linear-gradient(135deg, #d7e4fb 0%, #e6efff 45%, #eef4ff 100%);
    box-shadow: var(--shadow-soft);
    margin: 0 20px;
}

.leistungen-hero .container {
    max-width: 1645px;
}

.leistungen-hero .row {
    min-height: 420px;
}

.leistungen-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(47, 99, 216, 0.1);
    color: var(--brand, #2f63d8);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.leistungen-hero h1 {
    font-size: 2.5rem;
    font-weight: 600;
}

.leistungen-hero-subtitle {
    max-width: 700px;
    margin-top: 16px;
    color: var(--color-text-soft);
    line-height: 1.7;
}

.left-side{
    padding-top: 120px;
}

.leistungen-hero-img {
    display: block;
    margin-left: auto;
    max-width: 750px;
    width: 100%;
    margin-top: 60px;
}

.leistungen-grid {
    padding: 60px 0 100px;
}

.leistungen-section-head {
    max-width: 700px;
    margin: 0 0 50px 0;
}

.leistungen-section-head h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--bs-heading-color);
    margin-bottom: 14px;
}

.leistungen-section-head > p:last-child {
    color: var(--color-text-soft);
    line-height: 1.7;
    margin: 0;
}

.leistung-card {
    height: 100%;
    padding: 0;
    border-radius: var(--radius-sm);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.leistung-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2f63d8, #6ea8ff);
    opacity: 0;
    transition: 0.25s ease;
}

.leistung-card:hover::before {
    opacity: 1;
}

.leistung-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.leistung-card-content {
    padding: 22px 24px 24px;
}

.leistung-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.leistung-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #173b7a;
    margin-bottom: 10px;
}

.leistung-card p {
    color: var(--color-text-soft);
    line-height: 1.6;
    margin: 0;
}

.leistungen-extra-card {
    margin-top: 32px;
    padding: 42px 46px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
    box-shadow: var(--shadow-soft);
}

.leistungen-extra-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #173b7a;
    margin-bottom: 12px;
}

.leistungen-extra-card p {
    max-width: 850px;
    color: var(--color-text-soft);
    line-height: 1.7;
    margin: 0;
}

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

@media (max-width: 700px) {

    .main {
        padding: 20px 0 30px;
    }

    /* ================= HERO ================= */

    .leistungen-hero {
        margin: 0 10px;
        padding: 22px 18px 34px;
        border-radius: 24px;
    }

    .leistungen-hero .container {
        width: 100%;
        padding: 0;
    }

    .leistungen-hero .row {
        min-height: auto;
        flex-direction: column-reverse;
    }

    .left-side {
        padding-top: 18px;
        text-align: left;
    }

    .leistungen-eyebrow {
        font-size: 0.78rem;
        padding: 7px 12px;
        margin-bottom: 14px;
    }

    .leistungen-hero h1 {
        font-size: 2rem;
        line-height: 1.12;
        max-width: 100%;
        word-break: normal;
        overflow-wrap: normal;
    }

    .leistungen-hero-subtitle {
        font-size: 1rem;
        line-height: 1.65;
        margin-top: 14px;
        max-width: 100%;
    }

    .leistungen-hero-subtitle br,
    .leistungen-hero h1 br {
        display: none;
    }

    .leistungen-hero-img {
        max-width: 100%;
        margin: 8px auto 12px;
    }

    /* ================= GRID ================= */

    .leistungen-grid {
        padding: 20px 0 5px;
    }
}