/* Mobile-First: Basis-Styles gelten für mobile Geräte */
.widget-tile {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 25px;
    padding-bottom: 25px;
    margin: 15px;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Keine Animationen - statischer Effekt */
}

.widget-tile:hover {
    /* Keine Animationen - statischer Effekt */
}

.widget-tile-number {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-xxl);
    line-height: var(--line-height-base);
    text-align: center;
    margin-bottom: 10px;
}

.widget-tile-text {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    text-align: center;
}

.widget-tile-title {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.widget-tiles-row {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 5px;
}

/* Regel 003 von 011-ui-mobile.mdc: In der Mobile Version darf pro Zeile nur 1 Tile sein */
/* Hochwertige Kachel-Optik: neutraler Hintergrund, farbige Headlines, Schatten harmonisch */
.widget-tiles-row .widget-tile {
    flex: 1 1 100%;
    width: 100%;
    min-width: 100%;
    height: 200px;
    margin: 0;
    border-radius: 16px;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.widget-tiles-row .widget-tile:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Headlines in Kacheln: farbige Schrift (Primary), keine farbigen Hintergründe */
.widget-tiles-row .widget-tile .widget-tile-title {
    color: var(--color-primary);
    font-weight: 600;
    font-size: var(--font-size-base);
}

.widget-tiles-row .widget-tile .widget-tile-number {
    color: var(--color-primary-dark);
    font-weight: 700;
    font-size: var(--font-size-xxl);
    letter-spacing: -0.02em;
}

/* Mobile-First: Responsive Design - Regel 022: 4 Breakpoints */
/* Basis-Styles gelten für mobile (max-width: 576px) - keine Media Query erforderlich */

/* Tablet/iPad (min-width: 600px) */
@media (min-width: 600px) {
    .widget-tile {
        padding: 25px;
    }
    
    .widget-tiles-row .widget-tile {
        flex: 1 1 0;
        min-width: 200px;
        width: auto;
    }
}

/* Kleiner Desktop/13-Zoll (min-width: 1024px) */
@media (min-width: 1024px) {
    .widget-tile {
        padding: 25px;
    }
}

/* Großer Desktop/Widescreen (min-width: 1440px) */
@media (min-width: 1440px) {
    .widget-tile {
        padding: 25px;
    }
}
