: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, frisches Design */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c3e50;
    min-height: 100vh;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    line-height: 1.6;
}

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

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.5) 0%, rgba(195, 207, 226, 0.5) 100%);
    z-index: -1;
}

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

/* Schlichte Kopfzeile */
.bavarian-header {
    background: #ffffff;
    border-bottom: 1px solid #e0e6ed;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    min-height: auto;
}

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

.header-time {
    font-size: 0.3rem;
    font-weight: 200;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 2px;
}

.fullscreen-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fullscreen-btn:hover {
    background: #5568d3;
    transform: translateY(-1px);
}

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

.logo {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 2px;
    flex-wrap: wrap;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 2px solid #e0e6ed;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    margin: 0;
    z-index: 999;
    flex-direction: column;
}

.nav-menu.active {
    display: flex;
}

.bavarian-header {
    position: relative;
}

.nav-menu a {
    color: #6c757d;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    font-weight: 500;
}

.nav-menu a:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

.nav-menu a.active {
    background: #667eea;
    color: #ffffff;
}

/* Navigation Toggle Button */
.nav-toggle-btn {
    background: #667eea;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 1.2rem;
    cursor: pointer;
    display: block !important;
    z-index: 1001;
    position: relative;
}

.nav-active-page {
    display: none;
}

.nav-active-page .active-page-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.8rem;
}

.user-info span {
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0;
    font-weight: 500;
}

.logout-btn {
    background: #f8f9fa;
    color: #2c3e50;
    padding: 5px 12px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid #e0e6ed;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 0.8rem;
    font-weight: 500;
}

.logout-btn:hover {
    background: #e9ecef;
    border-color: #667eea;
    color: #667eea;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header {
    text-align: center;
    margin-bottom: 40px;
    background: #ffffff;
    border: none;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.header h1 {
    font-size: 1.5rem;
    margin-bottom: 6px;
    color: #2c3e50;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.header p {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0;
    font-weight: 400;
}

/* CSS-Icons - Modern */
.icon {
    display: inline-block;
    width: 0.9em;
    height: 0.9em;
    vertical-align: middle;
    margin-right: 4px;
    position: relative;
}

.icon-dashboard::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #667eea;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}

.icon-admin::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #667eea;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.icon-bar::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #667eea;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
}

.icon-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 20%;
    background: #667eea;
    border-radius: 0 0 50% 50%;
}

.icon-kitchen::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #667eea;
    clip-path: polygon(0% 0%, 100% 0%, 100% 70%, 50% 100%, 0% 70%);
}

.icon-display::before {
    content: '';
    display: block;
    width: 100%;
    height: 80%;
    background: #667eea;
    border-radius: 6px;
    margin-top: 20%;
}

.icon-tickets::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #667eea;
    border-radius: 6px;
    position: relative;
}

.icon-tickets::after {
    content: '';
    position: absolute;
    left: 20%;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    height: 2px;
    background: #ffffff;
}

.icon-settings::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #667eea;
    border-radius: 50%;
    position: relative;
}

.icon-settings::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 40%;
    background: #ffffff;
    border-radius: 50%;
}

.icon-welcome::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #667eea;
    border-radius: 50%;
}

.icon-logout::before {
    content: '';
    display: block;
    width: 100%;
    height: 60%;
    background: #667eea;
    border-radius: 6px 6px 0 0;
    margin-top: 40%;
}

.icon-crash::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #e74c3c;
    border-radius: 50%;
    position: relative;
}

.icon-crash::after {
    content: '!';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-weight: bold;
    font-size: 0.7em;
}

.icon-time::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #667eea;
    border-radius: 50%;
    position: relative;
}

.icon-time::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 30%;
    background: #ffffff;
    transform-origin: bottom center;
}

.icon-food::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #667eea;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.icon-new::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #27ae60;
    border-radius: 50%;
    position: relative;
}

.icon-new::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-weight: bold;
    font-size: 0.8em;
}

.icon-check::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #27ae60;
    border-radius: 50%;
    position: relative;
}

.icon-check::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-weight: bold;
    font-size: 0.7em;
}

.icon-stop::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #e74c3c;
    border-radius: 6px;
}

.icon-crash-chart::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #e74c3c 0%, #e74c3c 30%, #667eea 30%, #667eea 60%, #e74c3c 60%);
    clip-path: polygon(0% 100%, 25% 70%, 50% 40%, 75% 60%, 100% 20%, 100% 100%);
}

.icon-cart::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #667eea;
    border-radius: 6px;
    position: relative;
}

.icon-cart::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: 20%;
    width: 60%;
    height: 20%;
    background: #667eea;
    border-radius: 0 0 6px 6px;
}

.icon-delete::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #e74c3c;
    clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
}

.icon-list::before {
    content: '';
    display: block;
    width: 100%;
    height: 20%;
    background: #667eea;
    margin-bottom: 15%;
}

.icon-list::after {
    content: '';
    display: block;
    width: 100%;
    height: 20%;
    background: #667eea;
    margin-top: 15%;
}

.icon-celebration::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #667eea;
    border-radius: 50%;
    position: relative;
}

.icon-celebration::after {
    content: '★';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 0.6em;
}

.icon-lightning::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #f39c12;
    clip-path: polygon(50% 0%, 0% 100%, 40% 100%, 50% 60%, 60% 100%, 100% 0%, 60% 0%, 50% 40%);
}

.icon-bulb::before {
    content: '';
    display: block;
    width: 100%;
    height: 80%;
    background: #f39c12;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    margin-top: 20%;
}

/* Buttons - Modern */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border: none;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Zubereitungszeit-Buttons - zweizeilig */
.preparation-time-btn {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: normal !important;
    line-height: 1.2 !important;
}
    margin: 2px;
    border-radius: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.btn-danger:hover {
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
}

.btn-success {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

.btn-success:hover {
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.5);
}

.btn-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.btn-warning:hover {
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
}

/* Karten - Modern mit Glassmorphism */
.card {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 10px 12px;
    margin-bottom: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.card h2 {
    color: #2c3e50;
    margin-bottom: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    padding-bottom: 5px;
    border-bottom: 2px solid #667eea;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.3px;
}

.card h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Statistiken */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
    border-radius: 10px;
    transition: all 0.3s ease;
    color: #ffffff;
}

.stat-card:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.35);
}

.stat-card .number,
.stat-card .value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-card .label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Börsencrash Animation */
.crash-active {
    animation: crashPulse 2s infinite;
    border: 3px solid #e74c3c !important;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.5) !important;
}

@keyframes crashPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.crash-timer {
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    height: 8px;
    margin: 15px 0;
    transition: width 1s linear;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* Formulare */
.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e0e6ed;
    background: #ffffff;
    color: #2c3e50;
    font-size: 0.85rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 12px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: #ffffff;
}

/* Tabellen */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.table th,
.table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.table tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

/* Navigation */
.nav-tabs {
    display: flex;
    border-bottom: 3px solid #e0e6ed;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 8px;
}

.nav-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.nav-tab::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: #667eea;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-tab.active,
.nav-tab:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.nav-tab.active::after {
    transform: scaleX(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 20px 15px;
    }
    
    .nav-tabs {
        flex-direction: column;
    }
    
    .nav-tab {
        border-radius: 12px;
        margin-bottom: 4px;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    
    /* Navigation einklappbar auf Mobile */
    .nav-toggle-btn {
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
        padding: 10px 0;
        border-top: 1px solid #e0e6ed;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 10px;
        width: 100%;
    }
    
    .nav-active-page {
        display: block;
    }
    
    .user-info {
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #e0e6ed;
    }
    
    /* Bar-Seite Mobile Optimierung */
    .bar-page .bar-main-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    .bar-page .drink-buttons {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)) !important;
        gap: 6px !important;
    }
    
    .bar-page .drink-button {
        padding: 8px 4px !important;
        min-height: 70px !important;
    }
    
    .bar-page .drink-name {
        font-size: 0.7rem !important;
        margin-bottom: 2px !important;
        line-height: 1.1 !important;
    }
    
    .bar-page .drink-price {
        font-size: 0.75rem !important;
        margin-bottom: 2px !important;
    }
    
    .bar-page .drink-counter {
        font-size: 0.9rem !important;
        margin-top: 2px !important;
    }
    
    .bar-page .drink-minus-btn {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.75rem !important;
        padding: 0 !important;
        top: 4px !important;
        left: 4px !important;
    }
    
    /* Warenkorb Mobile */
    .bar-page .card[style*="position: sticky"] {
        position: relative !important;
        top: 0 !important;
        max-height: none !important;
    }
    
    .bar-page #order-summary h3 {
        font-size: 0.9rem !important;
    }
    
    .bar-page #order-items {
        max-height: 150px !important;
        font-size: 0.8rem !important;
    }
    
    .bar-page #order-total {
        font-size: 1.1rem !important;
    }
    
    .bar-page #received-amount {
        padding: 8px !important;
        font-size: 1rem !important;
    }
    
    .bar-page #change-amount {
        font-size: 1rem !important;
    }
    
    .bar-page .btn {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
    }
    
    .bar-page .drink-filters {
        flex-wrap: wrap;
        gap: 4px;
        padding: 8px 10px;
    }
    
    .bar-page .filter-btn {
        padding: 4px 8px !important;
        font-size: 0.75rem !important;
    }
}

/* Tablet-Optimierung - Buttons deutlich kleiner */
@media (min-width: 769px) and (max-width: 1024px) {
    .bar-page .drink-buttons {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
        gap: 10px !important;
    }
    
    .bar-page .drink-button {
        padding: 12px 8px !important;
        min-height: 100px !important;
    }
    
    .bar-page .drink-name {
        font-size: 0.8rem !important;
        margin-bottom: 4px !important;
        line-height: 1.2 !important;
    }
    
    .bar-page .drink-price {
        font-size: 0.85rem !important;
        margin-bottom: 4px !important;
    }
    
    .bar-page .drink-counter {
        font-size: 1rem !important;
        margin-top: 4px !important;
    }
    
    .bar-page .drink-minus-btn {
        width: 22px !important;
        height: 22px !important;
        font-size: 0.8rem !important;
        top: 6px !important;
        left: 6px !important;
    }
}

/* Querformat (Landscape) - Hamburger immer sichtbar */
@media (max-width: 1024px) and (orientation: landscape) {
    .nav-toggle-btn {
        display: block !important;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .nav-active-page {
        display: block !important;
    }
}

/* Auch bei größeren Bildschirmen im Querformat */
@media (min-width: 769px) and (max-width: 1200px) and (orientation: landscape) {
    .nav-toggle-btn {
        display: block !important;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .nav-active-page {
        display: block !important;
    }
}

/* Spezielle Elemente */
.ticket-number {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    text-align: center;
    text-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
    margin-bottom: 8px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.menu-item {
    background: #ffffff;
    border: 2px solid #e0e6ed;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.menu-item:hover {
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    transform: translateY(-3px);
}

.menu-item .name {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.menu-item .price {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: 700;
}

.menu-item .crash-price {
    color: #95a5a6;
    text-decoration: line-through;
    margin-right: 10px;
}

.menu-item .new-price {
    color: #27ae60;
    font-weight: 700;
}

/* Status-Badges */
.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
}

.status-new {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
}

.status-preparing {
    background: rgba(243, 156, 18, 0.15);
    color: #f39c12;
}

.status-ready {
    background: rgba(39, 174, 96, 0.15);
    color: #27ae60;
}

.status-completed {
    background: rgba(108, 117, 125, 0.15);
    color: #6c757d;
}

/* Tab Content */
.tab-content {
    display: block;
}

/* Fehler und Erfolg Meldungen */
.alert {
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 12px;
    border: none;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.alert-error {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border-left: 4px solid #e74c3c;
}

.alert-success {
    background: rgba(39, 174, 96, 0.1);
    color: #229954;
    border-left: 4px solid #27ae60;
}

.alert-warning {
    background: rgba(243, 156, 18, 0.1);
    color: #d68910;
    border-left: 4px solid #f39c12;
}

/* Menü-Manager spezielle Styles */
.menu-form {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #e0e6ed;
    padding: 30px;
    margin: 20px 0;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.menu-form h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.price-inputs .form-group {
    margin-bottom: 0;
}

/* Crash-Preis Anzeige */
.crash-price-display {
    background: rgba(243, 156, 18, 0.1);
    border: 2px solid #f39c12;
    padding: 20px;
    margin: 15px 0;
    text-align: center;
    border-radius: 12px;
}

.crash-price-display .normal-price {
    font-size: 1.1rem;
    color: #95a5a6;
    text-decoration: line-through;
}

.crash-price-display .crash-price {
    font-size: 1.4rem;
    color: #e74c3c;
    font-weight: 700;
}

/* Filter für Getränke */
.drink-filters {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 6px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e0e6ed;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 4px 12px;
    border: 1px solid #e0e6ed;
    background: #ffffff;
    color: #6c757d;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.75rem;
    font-weight: 500;
}

.filter-btn:hover {
    background: #f8f9fa;
    border-color: #667eea;
    color: #667eea;
}

.filter-btn.active {
    background: #667eea;
    color: #ffffff;
    border-color: #667eea;
}

/* Getränke-Buttons - Groß auf bar.php */
.drink-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 6px;
    margin-top: 10px;
}

.drink-button {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e0e6ed;
    padding: 8px 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 80px;
}

/* Buttons auf bar.php bleiben groß - spezifische Selektoren */
.drink-buttons ~ * .btn,
.drink-buttons-container .btn,
body.bar-page .btn:not(.drink-minus-btn) {
    padding: 12px 24px !important;
    font-size: 0.95rem !important;
    margin: 4px !important;
    border-radius: 12px !important;
}

/* Alternative: Direkte Selektoren für bar.php */
.drink-filters .filter-btn {
    padding: 5px 10px !important;
    font-size: 0.8rem !important;
}

.drink-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.drink-minus-btn {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #e74c3c;
    background: #ffffff;
    color: #e74c3c;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    line-height: 1;
    padding: 0;
}

.drink-minus-btn:hover {
    background: #e74c3c;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.drink-minus-btn:active {
    transform: scale(0.95);
}

.drink-name {
    font-size: 0.75rem;
    color: #2c3e50;
    font-weight: 600;
    margin-top: 4px;
    margin-bottom: 4px;
    line-height: 1.1;
}

.drink-price {
    font-size: 0.8rem;
    color: #667eea;
    font-weight: 700;
    margin-bottom: auto;
}

.drink-counter {
    font-size: 1rem;
    color: #667eea;
    font-weight: 700;
    margin-top: auto;
    padding-top: 4px;
    border-top: 2px solid #e0e6ed;
}

/* Numpad Styles */
.numpad-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.numpad-btn:hover {
    background: #5568d3;
    transform: scale(1.05);
}

.numpad-btn:active {
    transform: scale(0.95);
}

.numpad-clear {
    background: #e74c3c;
}

.numpad-clear:hover {
    background: #c0392b;
}

.drink-counter.has-items {
    animation: pulse 1s infinite;
    color: #27ae60;
    border-top-color: #27ae60;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Kompaktere Darstellung für alle Seiten (außer bar.php) */
.stat-card {
    padding: 12px !important;
    margin-bottom: 0 !important;
}

.stat-card .value {
    font-size: 1.8rem !important;
    margin-bottom: 4px !important;
}

.stat-card .label {
    font-size: 0.75rem !important;
}

/* Tickets.php kompakter */
.card .card {
    padding: 12px !important;
    margin-bottom: 10px !important;
}

.card h3 {
    margin: 8px 0 !important;
    font-size: 1rem !important;
}

.card p {
    margin: 4px 0 !important;
    font-size: 0.85rem !important;
}

/* Zeit-Anzeige kleiner */
#currentTime {
    font-size: 2.5rem !important;
    margin: 10px 0 !important;
}

/* Grid-Abstände reduzieren */
div[style*="grid-template-columns"] {
    gap: 12px !important;
}

/* Inline-Styles in tickets.php überschreiben */
.card[style*="margin-bottom: 30px"] {
    margin-bottom: 12px !important;
}

.card[style*="font-size: 1.5rem"] {
    font-size: 1rem !important;
}

.card[style*="font-size: 1.2rem"] {
    font-size: 0.95rem !important;
}

.card[style*="margin: 20px 0"] {
    margin: 8px 0 !important;
}

.card[style*="margin-top: 20px"] {
    margin-top: 10px !important;
}

.card[style*="padding: 15px"] {
    padding: 10px !important;
}

/* Settings Grid */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.settings-section {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #e0e6ed;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.settings-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-picker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.color-picker label {
    min-width: 120px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.9rem;
}

.color-picker input[type="color"] {
    width: 60px;
    height: 40px;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-picker input[type="color"]:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* Display Slideshow Styles */
.time-display {
    position: fixed;
    top: 80px;
    right: 30px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid #e0e6ed;
}

.time-display #currentTime {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    font-family: 'Courier New', monospace;
    text-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

.menu-slideshow-container {
    width: 100%;
    height: calc(100vh - 120px);
    overflow: hidden;
    position: relative;
    margin-top: 20px;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border: none;
}

.menu-slideshow {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(0);
    transition: opacity 0.6s ease-in-out;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    pointer-events: none;
    visibility: hidden;
}

.slideshow-item.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 10;
    pointer-events: auto;
    visibility: visible;
    display: flex;
}

.slideshow-item.prev {
    transform: translateX(-100%);
    opacity: 0;
    z-index: 1;
}

.slideshow-item-image {
    width: 100%;
    max-width: 600px;
    height: 60%;
    margin-bottom: 30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slideshow-item.active .slideshow-item-image img {
    transform: scale(1.05);
}

.slideshow-item-content {
    text-align: center;
    width: 100%;
    max-width: 600px;
    background: transparent;
    padding: 30px;
}

.slideshow-item-name {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slideshow-item-price {
    font-size: 2.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slideshow-item-price .normal-price {
    color: #667eea;
}

.slideshow-item-price .original-price {
    color: #95a5a6;
    text-decoration: line-through;
    font-size: 1.8rem;
}

.slideshow-item-price .crash-price {
    color: #e74c3c;
    font-size: 2.5rem;
}

.crash-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    animation: pulse 2s infinite;
}

/* Crash Overlay */
.crash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

/* Animiertes fallendes Börsenlogo */
.crash-stock-logo {
    position: absolute;
    font-size: 8rem;
    opacity: 0.3;
    animation: fallDown 3s linear infinite;
    z-index: 2001;
}

.crash-stock-logo-2 {
    left: 20%;
    animation-delay: 1s;
    font-size: 6rem;
}

.crash-stock-logo-3 {
    left: 70%;
    animation-delay: 2s;
    font-size: 7rem;
}

@keyframes fallDown {
    0% {
        top: -200px;
        transform: rotate(0deg);
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
        transform: rotate(180deg);
    }
    100% {
        top: 100vh;
        transform: rotate(360deg);
        opacity: 0;
    }
}

/* Nachrichtensendung-Design */
.news-broadcast-container {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2002;
    color: #ffffff;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: rgba(15, 15, 25, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    position: relative;
    z-index: 2003;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.news-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.news-logo {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    letter-spacing: 4px;
    text-transform: uppercase;
    position: relative;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); }
    to { filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8)); }
}

.news-time {
    font-size: 1.6rem;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.news-live-badge {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-anchor-container {
    position: absolute;
    left: 0;
    top: 80px;
    width: 350px;
    height: calc(100% - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.news-product-image-large {
    width: 100%;
    height: 100%;
    max-width: 320px;
    max-height: 480px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.2);
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 3px solid rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-product-image-large:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 215, 0, 0.3);
}

.news-product-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 10;
}

.news-anchor {
    width: 250px;
    height: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.anchor-head {
    width: 180px;
    height: 220px;
    background: linear-gradient(135deg, #f4d4a6 0%, #e6c896 50%, #d4a574 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.anchor-face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 85%;
}

.anchor-eyes {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    margin-bottom: 25px;
    gap: 40px;
}

.eye {
    width: 24px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 50%;
    animation: blink 3s infinite;
    position: relative;
}

.eye::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 6px;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

@keyframes blink {
    0%, 90%, 100% { height: 20px; }
    92%, 98% { height: 2px; }
}

.anchor-mouth {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mouth-shape {
    width: 60px;
    height: 12px;
    background: #6b4423;
    border-radius: 0 0 50% 50%;
    transition: all 0.3s ease;
    position: relative;
}

.mouth-shape::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 4px;
    background: #4a2c15;
    border-radius: 50%;
}

/* Nachrichtensprecher Körper (Anzug) */
.anchor-body {
    width: 200px;
    height: 180px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    border-radius: 10px 10px 0 0;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.anchor-body::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 100px;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-radius: 5px;
    border: 2px solid #1a252f;
}

.anchor-body::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 8px;
    background: #ecf0f1;
    border-radius: 2px;
}

.news-content {
    margin-left: 320px;
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
    min-height: 0;
}

.news-headline-container {
    margin-bottom: 20px;
    flex-shrink: 0;
}

.news-breaking-badge {
    background: #e74c3c;
    color: #ffffff;
    padding: 10px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: flash 1s infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.news-headline {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.news-product-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 20px;
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.news-product-info:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.news-product-image {
    flex-shrink: 0;
}

.news-product-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.news-product-details {
    flex: 1;
}

.news-product-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #ffd700;
}

.news-price-comparison-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    flex-wrap: wrap;
}

.news-old-price {
    color: #95a5a6;
    text-decoration: line-through;
    font-size: 1.3rem;
}

.news-arrow {
    color: #ffd700;
    font-size: 1.5rem;
    font-weight: bold;
}

.news-new-price {
    color: #e74c3c;
    font-size: 1.8rem;
    font-weight: bold;
}

.news-savings-inline {
    color: #2ecc71;
    font-size: 1rem;
    font-weight: bold;
    margin-left: 5px;
}

.news-countdown {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.25) 0%, rgba(192, 57, 43, 0.25) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 20px;
    border-radius: 15px;
    border: 2px solid rgba(231, 76, 60, 0.5);
    box-shadow: 0 8px 32px rgba(231, 76, 60, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.news-countdown::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.news-countdown-label {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffd700;
}

.news-countdown-time {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
}

.news-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: #000000;
    border-top: 3px solid #ffd700;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ticker-content {
    white-space: nowrap;
    animation: ticker 30s linear infinite;
    font-size: 1.2rem;
    color: #ffd700;
    font-weight: bold;
    padding-left: 100%;
    transition: opacity 0.3s ease;
}

#tickerText {
    transition: opacity 0.3s ease;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.crash-overlay-content {
    text-align: center;
    color: #ffffff;
    padding: 80px 60px;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.95), rgba(192, 57, 43, 0.95));
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 4px solid #ffffff;
    max-width: 1000px;
    width: 90%;
    animation: slideIn 0.5s ease;
    position: relative;
    z-index: 2002;
}

.crash-title {
    font-size: 7rem;
    font-weight: 900;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 8px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: pulse 1.5s infinite;
    position: relative;
    z-index: 2002;
}

.crash-drink-name {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2002;
}

.crash-discount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.crash-discount-label {
    font-size: 2rem;
    font-weight: 600;
}

.crash-discount-amount {
    font-size: 4rem;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.2);
    padding: 20px 40px;
    border-radius: 20px;
    border: 3px solid #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.crash-timer-container {
    margin-top: 40px;
    width: 100%;
}

.crash-timer-display {
    text-align: center;
    margin-bottom: 20px;
}

.crash-timer-label {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.crash-countdown {
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Courier New', monospace;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    color: #ffffff;
    letter-spacing: 4px;
}

.crash-timer-bar {
    width: 100%;
    height: 25px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.crash-timer-progress {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #f0f0f0);
    width: 0%;
    transition: width 1s linear;
    border-radius: 8px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Kommentar-Container für Tickets */
.comment-container {
    min-height: 100px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 15px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.ticket-comment {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    text-align: center !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    max-width: 100% !important;
    display: block !important;
}

/* Tickets-Tabellen */
.tickets-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.tickets-table th {
    font-weight: 600;
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid;
}

.tickets-table td {
    padding: 12px;
    vertical-align: middle;
}

.tickets-table tbody tr {
    transition: background-color 0.2s ease;
}

.tickets-table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.ticket-row {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive für Display */
@media (max-width: 768px) {
    .time-display {
        top: 60px;
        right: 15px;
        padding: 10px 15px;
    }
    
    .time-display #currentTime {
        font-size: 1.5rem;
    }
    
    .menu-slideshow-container {
        height: calc(100vh - 100px);
        margin-top: 10px;
    }
    
    .slideshow-item {
        padding: 20px;
    }
    
    .slideshow-item-image {
        max-width: 100%;
        height: 50%;
    }
    
    .slideshow-item-name {
        font-size: 2rem;
    }
    
    .slideshow-item-price {
        font-size: 1.8rem;
    }
    
    .crash-overlay-content {
        padding: 40px 20px;
    }
    
    .crash-title {
        font-size: 3rem;
    }
    
    .crash-drink-name {
        font-size: 2rem;
    }
    
    .crash-discount-amount {
        font-size: 2.5rem;
        padding: 15px 25px;
    }
    
    .crash-countdown {
        font-size: 1.8rem;
    }
}




