/* 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);
    background: var(--color-background);
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 25px;
    padding-bottom: 25px;
    margin: 15px;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.widget-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.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;
}

/* Regel 003 von 011-ui-mobile.mdc: In der Mobile Version darf pro Zeile nur 1 Tile sein */
.widget-tiles-row .widget-tile {
    flex: 1 1 100%;
    width: 100%;
    min-width: 100%;
    height: 200px;
}

/* 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;
    }
}
