:root {
    --header-bg: #5d4037;
    --header-border: #8d6e63;
    --header-text: #ffd54f;
    --header-hover: #ffc107;
    --button-bg: #978d3f;
    --button-border: #8d6e63;
    --button-text: #fff8e1;
    --button-hover-bg: #968f8d;
    --button-hover-border: #A1887F;
    --button-hover-text: #FFD54F;
    --card-bg: #5d4037;
    --card-border: #8d6e63;
    --card-text: #fff8e1;
    --card-title: #ffd54f;
    --background-color: #3e2723;
    --text-color: #fff8e1;
    --accent-color: #ffd54f;
    --success-color: #4caf50;
    --danger-color: #D32F2F;
    --warning-color: #FF9800;
    --font-family: 'Arial', sans-serif;
    --font-size-base: 16px;
    --font-size-large: 1.2em;
    --font-size-title: 2.5rem;
}

/* Kreiszeltlager Lounge - Modernes, urig-bayerisches Design */



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

body {
    font-family: var(--font-main);
    color: var(--dark-text);
    min-height: 100vh;
    background: #f5f6fa;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Video Hintergrund - Fahne bleibt */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Etwas transparenter für bessere Lesbarkeit */
}

/* Overlay für besseren Kontrast */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    z-index: -1;
    backdrop-filter: blur(3px);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px;
    position: relative;
    z-index: 1;
}

/* Header - Modern & Kompakt */
.bavarian-header {
    background: var(--glass-bg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 8px 0;
    backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Buttons - Modern & Kompakt */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    background: #e0e0e0;
    color: var(--dark-text);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #005090;
    box-shadow: 0 4px 12px rgba(0, 102, 178, 0.3);
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-danger {
    background: var(--accent-color);
    color: white;
}

.btn-warning {
    background: var(--warning-color);
    color: #333;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-menu a {
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.nav-menu a:hover {
    background: rgba(0, 102, 178, 0.1);
    color: var(--primary-color);
}

.nav-menu a.active {
    background: var(--primary-color);
    color: white;
}

/* Cards - Glassmorphism */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.card h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-bottom: 2px solid rgba(0, 102, 178, 0.1);
    padding-bottom: 8px;
}

/* Dashboard Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: scale(1.02);
}

.stat-card .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.stat-card .label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7f8c8d;
    margin-top: 5px;
}

/* Forms */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Tables */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.table th, .table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #7f8c8d;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.table tr:last-child td {
    border-bottom: none;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.menu-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.menu-item .name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.menu-item .price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Crash Styles */
.crash-active {
    background: #fff0f0;
    border: 2px solid var(--accent-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

.crash-price-display {
    background: #fff5f5;
    padding: 8px;
    border-radius: 6px;
    margin: 8px 0;
    border-left: 3px solid var(--accent-color);
}

.crash-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.crash-highlight {
    font-weight: bold;
    color: var(--accent-color);
}

.badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-menu {
        display: none; /* Mobile Menu Logic needed via JS */
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle-btn {
        display: block;
    }
}




