.card {    
    overflow: hidden;
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Hover global */
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

/* Farbige Border beim Hover */
.card.color-primary:hover   { border-color: var(--bs-primary); }
.card.color-secondary:hover { border-color: var(--bs-secondary); }
.card.color-success:hover   { border-color: var(--bs-success); }
.card.color-warning:hover   { border-color: var(--bs-warning); }
.card.color-danger:hover    { border-color: var(--bs-danger); }
.card.color-info:hover      { border-color: var(--bs-info); }



.card .partner-logo-wrapper {
    background: #111;
    padding: 20px;
    text-align: center;
}

.card img.partner-logo {
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
}

.card .card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card .partner-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-body .partner-description {
    
    font-size: 0.9rem;
    flex-grow: 1;
}

.partner-btn {
    margin-top: auto;
}

.partner-logo-wrapper {
    background: #fff;            /* immer hell, damit Logos gut aussehen */
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.partner-logo {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}


