/* ============================================================
   Leistungen-Grid
   ============================================================ */
.leistungen {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 25px;
}



/* Karte */
.leistungen_karten {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 20px;
    align-items: start;
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border-radius: 24px;
    padding: 28px 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        12px 12px 28px rgba(190, 185, 175, 0.45),
        -12px -12px 28px rgba(255, 255, 255, 0.95),
        inset 3px 3px 6px rgba(255, 255, 255, 0.9),
        inset -3px -3px 6px rgba(0, 0, 0, 0.02);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-sizing: border-box;
    text-align: left;
}

.leistungen_karten:hover,
.leistungen_karten.fade-up.is-visible:hover {
    transform: perspective(1000px) scale3d(1.03, 1.03, 1.03) rotateX(2deg) rotateY(-2deg) translateY(-8px);
    box-shadow: 15px 25px 45px rgba(0,0,0,0.12), inset 0 0 20px rgba(255,255,255,0.9) !important;
    z-index: 10;
}

/* Icon-Kreis */
.karte_icon_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    min-width: 96px;
    background: #f0f0f0;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    justify-self: center;
    align-self: start;
    transition: background 0.25s ease;
}



.karte_icon_wrap img {
    width: 115%;
    height: 115%;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}



/* Karten-Inhalt */
.karte_content h3 {
    margin: 0 0 10px 0;
    font-size: 1.05em;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.3px;
}

.karte_content p {
    margin: 0 0 6px 0;
    font-size: 0.85em;
    color: #555;
    line-height: 1.6;
}

.karte_content p:last-child {
    margin-bottom: 0;
    color: #888;
    font-style: italic;
}

.karte_content strong {
    color: #2c2c2c;
    font-weight: 600;
}

/* Fade-up Animation */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Wackel-Animation */
@keyframes wackeln_auslaufend {
    0% {
        transform: scale(1.05) rotate(0deg);
    }

    15% {
        transform: scale(1.15) rotate(-12deg);
    }

    30% {
        transform: scale(1.1) rotate(12deg);
    }

    50% {
        transform: scale(1.08) rotate(-7deg);
    }

    70% {
        transform: scale(1.05) rotate(5deg);
    }

    90% {
        transform: scale(1.03) rotate(-2deg);
    }

    100% {
        transform: scale(1.05) rotate(0deg);
    }
}

/* Responsive */
@media screen and (max-width: 1100px) {
    .leistungen {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 650px) {
    .article_wrapper_1_row {
        padding: 20px;
    }

    .leistungen {
        grid-template-columns: 1fr;
    }

    .leistungen_karten {
        grid-template-columns: 72px 1fr;
        gap: 14px;
        padding: 18px;
    }

    .karte_icon_wrap {
        width: 72px;
        height: 72px;
        min-width: 72px;
    }

    .karte_icon_wrap img {
        height: 44px;
    }
}

/* Artikel-Wrapper Startseite */
.article_wrapper_1_row {
    background-color: rgba(255, 255, 255, 0.85);
    display: flex;
    justify-content: center;
    padding: 20px 25px;
    margin-bottom: 0;
}

/* Gleichmäßiger Abstand zwischen den Haupt-Sektionen der Startseite */
.section-divider {
    height: 2px;
    margin: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.15);
    border: none;
}

/* Sektions-Lasuren (Hintergrund-Tönungen) */
.bg-tint-1 {
    background-color: rgba(255, 255, 255, 0.88) !important;
    /* Klar Weiß */
}

.bg-tint-2 {
    background-color: rgba(246, 248, 251, 0.88) !important;
    /* Sehr leichtes Eisblau */
}

.bg-tint-3 {
    background-color: rgba(252, 250, 246, 0.88) !important;
    /* Sehr leichtes Elfenbein/Beige */
}

.bg-tint-4 {
    background-color: rgba(245, 249, 247, 0.88) !important;
    /* Sehr leichtes Mint/Salbei */
}

.article_1_row {
    max-width: 1250px;
    margin-bottom: 20px;

    & img {
        border-radius: 10px;
        width: 100%;
    }
}