/* ==================================================================
   1. STANDARD-STYLES (Gilt als Basis für MOBILE)
   ================================================================== */

header {
    /* Da es vorher unter 992px aktiv war, gilt es jetzt standardmäßig für Mobile */
    margin-top: 65px;
}

/* Schlanke Kacheln standardmäßig untereinander für Mobile */
.ratgeber-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; 
    margin: 30px 0;
}

.ratgeber-tile {
    flex: 1;
    min-width: 280px; /* Sorgt dafür, dass sie auf größeren Handys sauber umbrechen */
    background-color: #f8f9fa; 
    border: 1px solid #eee;
    border-top: 3px solid #18206c; /* Dein Blau als Akzent oben */
    padding: 20px;
    text-decoration: none !important;
    color: #111 !important;
    border-radius: 4px; 
    /* Transition bleibt hier, falls du auf dem Tablet/Desktop sanfte Übergänge willst */
    transition: all 0.2s ease-in-out; 
}

.ratgeber-tile-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
    line-height: 1.3;
}

.ratgeber-tile-text {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

.ratgeber-tile-more {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: bold;
    color: #18206c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ==================================================================
   2. DESKTOP-STYLES (Greift erst AB einer Breite von 900px)
   ================================================================== */
@media (min-width: 900px) {
    
    header {
        /* Setzt den oberen Abstand auf Desktop wieder zurück */
        margin-top: 0;
    }

    /* HOVER-EFFEKTE (Ausschließlich für Desktop mit Mausbedienung) */
    .ratgeber-tile:hover {
        background-color: #ffffff;
        border-top-color: #dd7117; /* Wechsel zu Orange beim Hover */
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        transform: translateY(-2px);
    }

    .ratgeber-tile:hover .ratgeber-tile-more {
        color: #dd7117;
    }
}