.cvs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 767px) {
    .cvs-grid {
        grid-template-columns: 1fr;
    }
}

.cvs-item {
    position: relative;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cvs-item:hover {
    transform: scale(1.03);
}

.cvs-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 15px;
    transition: background 0.4s ease;
}

.cvs-overlay .cvs-title{
    opacity: 1;
    pointer-events: auto;
    margin: 0;
    font-weight: bold;
}

.cvs-overlay .cvs-title,
.cvs-description {
    color: #fff;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
}

/* Beschreibung ist standardmässig versteckt */
.cvs-description {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    font-size: 0.85rem;
    line-height: 1.3;
    transition: opacity 0.4s ease, max-height 0.4s ease;
    margin-top: 10px;
    padding: 0 5px;
    pointer-events: none;
    order: 2;
    /* Beschreibung unten */
}

/* Beschreibung wird unten eingeblendet beim Hover */
.cvs-item:hover .cvs-description {
    opacity: 1;
    max-height: 150px;
    pointer-events: auto;
}

/* Optional: Leicht dunkleres Overlay beim Hover */
.cvs-item:hover .cvs-overlay {
    background: rgba(0, 0, 0, 0.7);
}