/**
 * KÄM.de - Vollständige Website Styles
 * Konsistente data-theme Implementation wie campgeorg.de
 */

/* Base Styles */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom, #f4f0ec, #dbe4e2);
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    transition: background 0.3s ease, color 0.3s ease;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    font-size: 3rem;
    margin: 0;
    transition: color 0.3s ease;
}

h2, h3 {
    transition: color 0.3s ease;
}

p {
    max-width: 800px;
    font-size: 1.2rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

section {
    margin: 2rem 0;
    max-width: 900px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

footer {
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #666;
    transition: color 0.3s ease;
}

/* Dark Mode Toggle Button */
#darkModeToggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    padding: 12px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

#darkModeToggle:hover {
    transform: scale(1.05);
}

.moon-icon {
    display: none;
}

/* Dark Mode Styles */
[data-theme="dark"] {
    background: #0f172a !important;
    color: #f8fafc !important;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3 {
    color: #f8fafc !important;
}

[data-theme="dark"] p {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .card {
    background: #374151 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] footer {
    color: #9ca3af !important;
}

[data-theme="dark"] #darkModeToggle {
    background: #374151 !important;
    color: #fbbf24 !important;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

[data-theme="dark"] .moon-icon {
    display: block !important;
}