* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    color: #222;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

header {
    background-color: #222;
    color: white;
    padding: 20px 0;
}

header h1 {
    margin-bottom: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
}

nav a:hover {
    text-decoration: underline;
}

.hero {
    text-align: center;
    padding: 60px 20px;
    background: white;
    margin-top: 30px;
    border-radius: 10px;
}

.hero h2 {
    margin-bottom: 15px;
    font-size: 32px;
}

.hero p {
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background-color: #d62828;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 6px;
}

.btn:hover {
    background-color: #b71f1f;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    margin-bottom: 10px;
}

button {
    background-color: #d62828;
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
}

button:hover {
    background-color: #b71f1f;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    gap: 20px;
}

.cart-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cart-summary {
    background: white;
    margin: 30px 0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cart-summary h3 {
    margin-bottom: 20px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.checkout-form-box,
.checkout-summary-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="time"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.payment-options label {
    display: block;
    margin-bottom: 10px;
    font-weight: normal;
}

.checkout-item {
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.checkout-item:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

.menu-category {
    margin: 40px 0;
}

.menu-category h2 {
    margin-bottom: 20px;
}

.product-image {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.admin-orders {
    margin: 30px 0;
}

.admin-order-card {
    background: white;
    padding: 24px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.admin-order-card h3 {
    margin-bottom: 15px;
}

.admin-order-card p {
    margin-bottom: 8px;
}

.admin-order-items {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.admin-order-items h4 {
    margin-bottom: 10px;
}

.admin-order-items ul {
    padding-left: 20px;
}

.admin-order-items li {
    margin-bottom: 8px;
}

.admin-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: bold;
}

.status-neu {
    background: #ffe9a8;
    color: #6b5300;
}

.status-in_bearbeitung {
    background: #cfe8ff;
    color: #0b4f8a;
}

.status-fertig {
    background: #d9f7be;
    color: #237804;
}

.status-abgeholt {
    background: #e5e5e5;
    color: #444;
}

.status-form {
    margin-top: 18px;
    margin-bottom: 18px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.status-form select {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: white;
}

@media (max-width: 768px) {
    .admin-order-header {
        align-items: flex-start;
    }

    .status-form {
        flex-direction: column;
        align-items: flex-start;
    }

    .status-form select,
    .status-form button {
        width: 100%;
    }
}

.admin-filters {
    margin: 20px 0 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-filters a {
    padding: 10px 14px;
    background: #eee;
    color: #222;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.admin-filters a:hover {
    background: #ddd;
}

.admin-filters a.active {
    background: #d62828;
    color: white;
}

.live-info {
    margin: 10px 0 20px 0;
    padding: 10px 14px;
    background: #fff4d6;
    border-left: 4px solid #d62828;
    border-radius: 6px;
}

.kitchen-mode {
    background: #111;
    color: white;
    font-size: 18px;
}

.kitchen-container {
    padding: 20px;
}

.kitchen-container h1 {
    margin-bottom: 20px;
}

.kitchen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.kitchen-card {
    background: #222;
    padding: 20px;
    border-radius: 12px;
}

.kitchen-card h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.kitchen-card ul {
    margin: 15px 0;
    padding-left: 20px;
}

.kitchen-card li {
    margin-bottom: 8px;
}

.pickup-time {
    font-weight: bold;
    margin-bottom: 10px;
}

.kitchen-card button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

.status-neu {
    border-left: 6px solid orange;
}

.status-in_bearbeitung {
    border-left: 6px solid #3498db;
}

.no-orders {
    font-size: 22px;
    text-align: center;
    margin-top: 50px;
}