/* =======================================================
   MODUL-GRID
   ======================================================= */
.mobilcard-wrapper {
    width: 100%;
    box-sizing: border-box;
    padding-top: 0px;
}

.mobilcard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* =======================================================
   KARTEN
   ======================================================= */
.mobilcard {
    background: #fff;
    border-radius: 5px;
    border: 1px solid #e5e5e5;
    box-shadow:0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease;
}

.mobilcard:hover {
    transform: translateY(-4px);
    box-shadow: 0px 6px 20px rgba(0,0,0,0.12);
}

/* =======================================================
   BILD
   ======================================================= */
.mobilcard-image {
    padding: 15px 0px 0px 0px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobilcard-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-decoration: none;
}

.mobilcard-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Hover-Effekt auf Bild */
.mobilcard-image a:hover img {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

/* =======================================================
   CONTENT
   ======================================================= */
.mobilcard-content {
    flex-grow: 1;
    padding: 15px 15px 5px 15px;
}

.mobilcard h3 {
    font-size: 1.1rem;
    margin: 0 0 8px;
    font-weight: 600;
	text-align: center;
}

/* Hover-Effekt auf Titel */
.mobilcard-content h3:hover {
    transform: scale(1.03);
    transition: transform 0.1s ease;
    color: #ac1313;
}

.mobilcard-content a {
    text-decoration: none;
}

.mobilcard p {
    margin: 0;
    font-size: .9rem;
    color: #00244b;
}

/* =======================================================
   FOOTER + BUTTON
   ======================================================= */
.mobilcard-footer {
    padding: 15px;
}

.mobilcard-button {
    display: flex;
    width: 100%;
    padding: 10px 16px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #006cd9;
    background: #fff;
    border: 1px solid #5395d7;
    text-decoration: none;
    transition: background 0.2s ease;
    text-align: center;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
}

.mobilcard-button:hover {
    background: #ac1313;
    color: #fff;
	text-decoration: none;
}

.mobilcard-button:active,
.mobilcard-button:focus,
.mobilcard-button:visited {
    color: #006cd9;
}


/* =======================================================
   RESPONSIVE
   ======================================================= */
@media (max-width: 768px) {
    .mobilcard-image {
        height: 110px;
    }
}

@media (max-width: 480px) {
    .mobilcard-image {
        height: 90px;
    }

    .mobilcard-button {
        padding: 8px;
        font-size: 0.9rem;
    }
}
