/* Grundlegendes Reset und Dark Mode Setup */
:root {
    --bg-color: #121212;
    --surface-color: #1e1e1e;
    --surface-hover: #2c2c2c;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --accent-color: #bb86fc;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    padding-bottom: 40px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styling */
.main-header {
    text-align: center;
    padding: 60px 20px 40px;
    border-bottom: 1px solid #333;
    margin-bottom: 40px;
}

.main-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.main-header p {
    color: var(--text-secondary);
}

/* Kategorien */
.category-section {
    margin-bottom: 40px;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--surface-color);
    color: var(--accent-color);
}

/* Button/Card Grid */
.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Einzelner Button (Als Link-Karte) */
.card-btn {
    display: flex;
    align-items: center;
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 15px;
    text-decoration: none;
    color: var(--text-primary);
    transition: background-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.card-btn:hover {
    background-color: var(--surface-hover);
    transform: translateY(-2px);
}

.card-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
    background-color: #333; /* Fallback-Farbe falls Bild lädt */
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}