 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #0d2137 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #c7c7c7;
    margin-bottom: 8px;
    text-align: center;
    margin-top: 50px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    justify-items: center;
}

.card {
    width: 80%;
    max-width: 220px;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

.card-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.card:hover .card-icon img {
    transform: scale(1.1);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.card-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* Individuelle Karten-Farben */
.card:nth-child(1) {
    background: linear-gradient(145deg, rgba(3, 169, 244, 0.15), rgba(0, 188, 212, 0.1));
}
.card:nth-child(1):hover {
    background: linear-gradient(145deg, rgba(3, 169, 244, 0.25), rgba(0, 188, 212, 0.2));
    border-color: rgba(3, 169, 244, 0.4);
}

.card:nth-child(2) {
    background: linear-gradient(145deg, rgba(156, 39, 176, 0.15), rgba(103, 58, 183, 0.1));
}
.card:nth-child(2):hover {
    background: linear-gradient(145deg, rgba(156, 39, 176, 0.25), rgba(103, 58, 183, 0.2));
    border-color: rgba(156, 39, 176, 0.4);
}

.card:nth-child(3) {
    background: linear-gradient(145deg, rgba(33, 150, 243, 0.15), rgba(30, 136, 229, 0.1));
}
.card:nth-child(3):hover {
    background: linear-gradient(145deg, rgba(33, 150, 243, 0.25), rgba(30, 136, 229, 0.2));
    border-color: rgba(33, 150, 243, 0.4);
}

.card:nth-child(4) {
    background: linear-gradient(145deg, rgba(255, 152, 0, 0.15), rgba(255, 193, 7, 0.1));
}
.card:nth-child(4):hover {
    background: linear-gradient(145deg, rgba(255, 152, 0, 0.25), rgba(255, 193, 7, 0.2));
    border-color: rgba(255, 152, 0, 0.4);
}

.card:nth-child(5) {
    background: linear-gradient(145deg, rgba(76, 175, 80, 0.15), rgba(129, 199, 132, 0.1));
}
.card:nth-child(5):hover {
    background: linear-gradient(145deg, rgba(76, 175, 80, 0.25), rgba(129, 199, 132, 0.2));
    border-color: rgba(76, 175, 80, 0.4);
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8rem;
    }
    
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .card {
        max-width: 100%;
    }
    
    .card-icon {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .grid {
        grid-template-columns: 1fr;
    }
    
    .card {
        aspect-ratio: auto;
        padding: 24px;
    }
}
