/* ============================================================
   FORNACE 1983 - Premium Pizzeria Design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --fornace-red: #8B1A1A;
    --fornace-red-light: #A52A2A;
    --fornace-gold: #C5993A;
    --fornace-gold-light: #D4A84B;
    --fornace-cream: #FDF5E6;
    --fornace-dark: #1A1A1A;
    --fornace-dark-soft: #2D2D2D;
    --fornace-text: #333;
    --fornace-text-light: #777;
    --fornace-green: #2D5016;
    --fornace-green-light: #4A7A2E;
    --fornace-white: #FFFFFF;
    --fornace-border: rgba(197, 153, 58, 0.2);
    --fornace-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --fornace-shadow-hover: 0 8px 40px rgba(0,0,0,0.15);
    --fornace-radius: 12px;
    --fornace-radius-lg: 20px;
    --fornace-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   MENU - Speisekarte
   ============================================================ */

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

/* Filter Buttons */
.fornace-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--fornace-dark);
    border-radius: var(--fornace-radius-lg);
    position: sticky;
    top: 80px;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.fornace-filter-btn {
    padding: 10px 24px;
    border: 2px solid transparent;
    background: rgba(255,255,255,0.08);
    color: var(--fornace-cream);
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: var(--fornace-transition);
    letter-spacing: 0.5px;
}

.fornace-filter-btn:hover {
    background: rgba(197, 153, 58, 0.2);
    border-color: var(--fornace-gold);
    transform: translateY(-2px);
}

.fornace-filter-btn.active {
    background: var(--fornace-gold);
    color: var(--fornace-dark);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(197, 153, 58, 0.4);
}

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

/* Menu Item Cards */
.fornace-menu-item {
    background: var(--fornace-white);
    border-radius: var(--fornace-radius-lg);
    overflow: hidden;
    box-shadow: var(--fornace-shadow);
    transition: var(--fornace-transition);
    border: 1px solid rgba(0,0,0,0.04);
    opacity: 0;
    transform: translateY(20px);
    animation: fornaceFadeUp 0.5s ease forwards;
}

.fornace-menu-item:nth-child(1) { animation-delay: 0s; }
.fornace-menu-item:nth-child(2) { animation-delay: 0.05s; }
.fornace-menu-item:nth-child(3) { animation-delay: 0.1s; }
.fornace-menu-item:nth-child(4) { animation-delay: 0.15s; }
.fornace-menu-item:nth-child(5) { animation-delay: 0.2s; }
.fornace-menu-item:nth-child(6) { animation-delay: 0.25s; }

@keyframes fornaceFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.fornace-menu-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--fornace-shadow-hover);
}

.fornace-item-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.fornace-item-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(0,0,0,0.05));
}

.fornace-item-placeholder {
    background: linear-gradient(135deg, var(--fornace-dark) 0%, var(--fornace-dark-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fornace-item-placeholder span {
    font-size: 64px;
    filter: grayscale(0.2);
}

.fornace-item-info {
    padding: 20px 24px 24px;
}

.fornace-item-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--fornace-dark);
}

.fornace-item-info p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--fornace-text-light);
    margin: 0 0 16px;
    line-height: 1.5;
}

.fornace-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fornace-price {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--fornace-red);
}

.fornace-add-btn {
    padding: 10px 20px;
    background: var(--fornace-dark);
    color: var(--fornace-cream);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    transition: var(--fornace-transition);
    letter-spacing: 0.3px;
}

.fornace-add-btn:hover {
    background: var(--fornace-gold);
    color: var(--fornace-dark);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(197, 153, 58, 0.4);
}

.fornace-add-btn.added {
    background: var(--fornace-green);
    animation: fornacePulse 0.3s ease;
}

@keyframes fornacePulse {
    50% { transform: scale(1.15); }
}

/* ============================================================
   ORDER - Bestellformular
   ============================================================ */

.fornace-order {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.fornace-order-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.fornace-cart-panel,
.fornace-form-panel {
    background: var(--fornace-white);
    border-radius: var(--fornace-radius-lg);
    padding: 30px;
    box-shadow: var(--fornace-shadow);
    border: 1px solid rgba(0,0,0,0.04);
}

.fornace-cart-panel h3,
.fornace-form-panel h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--fornace-border);
    color: var(--fornace-dark);
}

/* Cart Items */
.fornace-cart-empty {
    text-align: center;
    color: var(--fornace-text-light);
    padding: 30px 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.fornace-cart-empty a {
    color: var(--fornace-gold);
    text-decoration: none;
    font-weight: 600;
}

.fornace-cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    animation: fornaceSlideIn 0.3s ease;
}

@keyframes fornaceSlideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.fornace-cart-item-name {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    flex: 1;
}

.fornace-cart-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 16px;
}

.fornace-qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--fornace-dark);
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--fornace-transition);
    color: var(--fornace-dark);
}

.fornace-qty-btn:hover {
    background: var(--fornace-dark);
    color: var(--fornace-white);
}

.fornace-cart-item-price {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 15px;
    min-width: 70px;
    text-align: right;
    color: var(--fornace-red);
}

/* Totals */
.fornace-cart-totals {
    margin-top: 16px;
    padding-top: 16px;
}

.fornace-total-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--fornace-text-light);
}

.fornace-total-final {
    font-size: 20px;
    font-weight: 700;
    color: var(--fornace-dark);
    padding-top: 12px;
    margin-top: 8px;
    border-top: 2px solid var(--fornace-dark);
    font-family: 'Playfair Display', serif;
}

/* Form Styles */
.fornace-form-group {
    margin-bottom: 18px;
}

.fornace-form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--fornace-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fornace-form-group input,
.fornace-form-group select,
.fornace-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: var(--fornace-radius);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: var(--fornace-transition);
    background: var(--fornace-white);
    color: var(--fornace-dark);
    box-sizing: border-box;
}

.fornace-form-group input:focus,
.fornace-form-group select:focus,
.fornace-form-group textarea:focus {
    outline: none;
    border-color: var(--fornace-gold);
    box-shadow: 0 0 0 4px rgba(197, 153, 58, 0.15);
}

.fornace-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Order Type Radio Cards */
.fornace-order-type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.fornace-radio-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: var(--fornace-radius);
    cursor: pointer;
    transition: var(--fornace-transition);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.fornace-radio-card input {
    display: none;
}

.fornace-radio-card span {
    font-size: 16px;
}

.fornace-radio-card:hover {
    border-color: var(--fornace-gold);
}

.fornace-radio-card.active {
    border-color: var(--fornace-gold);
    background: rgba(197, 153, 58, 0.1);
    box-shadow: 0 0 0 4px rgba(197, 153, 58, 0.1);
}

/* Payment Method Section */
.fornace-payment-type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.fornace-payment-type .fornace-radio-card {
    flex-direction: column;
    padding: 20px 16px;
    text-align: center;
}

.fornace-payment-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.fornace-payment-icon {
    font-size: 28px;
    line-height: 1;
}

.fornace-payment-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--fornace-dark);
}

.fornace-payment-desc {
    font-size: 12px;
    color: var(--fornace-text-light);
    font-weight: 400;
}

.fornace-payment-type .fornace-radio-card.active .fornace-payment-label {
    color: var(--fornace-gold);
}

@media (max-width: 500px) {
    .fornace-payment-type {
        grid-template-columns: 1fr;
    }
}

/* Submit Button */
.fornace-submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--fornace-dark) 0%, var(--fornace-dark-soft) 100%);
    color: var(--fornace-gold);
    border: none;
    border-radius: var(--fornace-radius);
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--fornace-transition);
    position: relative;
    overflow: hidden;
}

.fornace-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197,153,58,0.1), transparent);
    transition: left 0.5s;
}

.fornace-submit-btn:hover:not(:disabled)::before {
    left: 100%;
}

.fornace-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--fornace-gold) 0%, var(--fornace-gold-light) 100%);
    color: var(--fornace-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 153, 58, 0.35);
}

.fornace-submit-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ============================================================
   RESERVATION - Tischreservierung
   ============================================================ */

.fornace-reservation {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Reservation - 3-Step Flow */
.fornace-res-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
    padding: 0 20px;
}

.fornace-res-step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
}

.fornace-res-step-dot span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.fornace-res-step-dot.active span {
    background: var(--fornace-gold);
    color: #fff;
}

.fornace-res-step-dot.completed span {
    background: var(--fornace-green);
    color: #fff;
}

.fornace-res-step-dot small {
    font-size: 11px;
    color: #999;
    font-weight: 500;
}

.fornace-res-step-dot.active small {
    color: var(--fornace-gold);
    font-weight: 600;
}

.fornace-res-step-line {
    width: 60px;
    height: 3px;
    background: #e0e0e0;
    margin: 0 8px;
    margin-bottom: 18px;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.fornace-res-step-line.active {
    background: var(--fornace-gold);
}

.fornace-res-step {
    display: none;
    animation: fornaceFadeUp 0.4s ease;
}

.fornace-res-step.active {
    display: block;
}

.fornace-res-step-card {
    background: var(--fornace-white);
    border-radius: var(--fornace-radius-lg);
    padding: 32px;
    box-shadow: var(--fornace-shadow);
    border: 1px solid rgba(0,0,0,0.04);
    max-width: 600px;
    margin: 0 auto;
}

.fornace-res-step-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin: 0 0 16px;
    color: var(--fornace-dark);
}

/* Party Size Grid */
.fornace-party-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.fornace-party-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 8px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.fornace-party-btn:hover {
    border-color: var(--fornace-gold);
    background: rgba(197,153,58,0.05);
}

.fornace-party-btn.selected {
    border-color: var(--fornace-gold);
    background: rgba(197,153,58,0.12);
    box-shadow: 0 0 0 4px rgba(197,153,58,0.1);
}

.fornace-party-num {
    font-size: 22px;
    font-weight: 700;
    color: var(--fornace-dark);
    line-height: 1;
}

.fornace-party-btn.selected .fornace-party-num {
    color: var(--fornace-gold);
}

.fornace-party-label {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

/* Duration Grid */
.fornace-duration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.fornace-duration-btn {
    padding: 14px 8px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    background: #fafafa;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    text-align: center;
    color: var(--fornace-dark);
}

.fornace-duration-btn:hover {
    border-color: var(--fornace-gold);
    background: rgba(197,153,58,0.05);
}

.fornace-duration-btn.selected {
    border-color: var(--fornace-gold);
    background: rgba(197,153,58,0.12);
    box-shadow: 0 0 0 4px rgba(197,153,58,0.1);
    color: var(--fornace-gold);
}

/* Occasion Grid */
.fornace-occasion-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fornace-occasion-btn {
    padding: 10px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 24px;
    background: #fafafa;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.fornace-occasion-btn:hover {
    border-color: var(--fornace-gold);
}

.fornace-occasion-btn.active {
    border-color: var(--fornace-gold);
    background: rgba(197,153,58,0.12);
    color: var(--fornace-dark);
    font-weight: 600;
}

/* Back Button */
.fornace-back-btn {
    background: none;
    border: none;
    color: var(--fornace-gold);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.fornace-back-btn:hover {
    text-decoration: underline;
}

/* Summary Tags */
.fornace-res-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.fornace-summary-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(197,153,58,0.1);
    color: var(--fornace-gold);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Slot Status Indicators */
.fornace-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 8px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.fornace-slot-time {
    font-weight: 600;
    font-size: 15px;
}

.fornace-slot-status {
    font-size: 10px;
    font-weight: 500;
}

.fornace-slot--plenty {
    border-color: #e8e8e8;
}

.fornace-slot--plenty:hover {
    border-color: var(--fornace-green);
    background: rgba(45,80,22,0.05);
}

.fornace-slot--few {
    border-color: #f0d78c;
    background: rgba(243,156,18,0.05);
}

.fornace-slot--few .fornace-slot-status {
    color: #d4920a;
}

.fornace-slot--few:hover {
    border-color: var(--fornace-gold);
}

.fornace-slot--full {
    border-color: #e8e8e8;
    background: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.5;
}

.fornace-slot--full .fornace-slot-time {
    text-decoration: line-through;
    color: #999;
}

.fornace-slot--full .fornace-slot-status {
    color: #999;
}

.fornace-slot.selected {
    border-color: var(--fornace-gold);
    background: rgba(197,153,58,0.12);
    box-shadow: 0 0 0 4px rgba(197,153,58,0.1);
}

/* Slots Legend */
.fornace-slots-legend {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    justify-content: center;
    font-size: 12px;
    color: #999;
}

.fornace-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
}

.fornace-dot-green { background: var(--fornace-green); }
.fornace-dot-gold { background: var(--fornace-gold); }
.fornace-dot-grey { background: #ccc; }

/* Loading Spinner */
.fornace-slots-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 30px;
    color: #999;
}

.fornace-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e8e8e8;
    border-top-color: var(--fornace-gold);
    border-radius: 50%;
    animation: fornaceSpin 0.8s linear infinite;
}

@keyframes fornaceSpin {
    to { transform: rotate(360deg); }
}

/* Reservation Details (view/cancel page) */
.fornace-res-details {
    margin: 20px 0;
}

.fornace-res-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

.fornace-res-detail-row span {
    color: #999;
}

/* Cancel Modal Button */
.fornace-cancel-modal-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: transparent;
    border: 2px solid #e0e0e0;
    border-radius: var(--fornace-radius);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #666;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
}

.fornace-cancel-modal-btn:hover {
    border-color: #ccc;
    background: #f8f8f8;
}

/* Next Button */
.fornace-next-btn {
    margin-top: 24px;
}

.fornace-next-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Legacy layout support */
.fornace-res-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.fornace-calendar-panel,
.fornace-res-form-panel {
    background: var(--fornace-white);
    border-radius: var(--fornace-radius-lg);
    padding: 30px;
    box-shadow: var(--fornace-shadow);
    border: 1px solid rgba(0,0,0,0.04);
}

/* Calendar */
.fornace-calendar {
    margin-bottom: 24px;
}

.fornace-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.fornace-cal-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin: 0;
    color: var(--fornace-dark);
}

.fornace-cal-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--fornace-dark);
    background: transparent;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--fornace-transition);
    color: var(--fornace-dark);
}

.fornace-cal-nav:hover {
    background: var(--fornace-dark);
    color: var(--fornace-white);
}

.fornace-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 8px;
}

.fornace-cal-weekdays span {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--fornace-text-light);
    text-transform: uppercase;
    padding: 8px 0;
    letter-spacing: 1px;
}

.fornace-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.fornace-cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: var(--fornace-transition);
    border: none;
    background: none;
    color: var(--fornace-dark);
}

.fornace-cal-day:hover:not(.disabled):not(.empty) {
    background: rgba(197, 153, 58, 0.15);
    transform: scale(1.1);
}

.fornace-cal-day.selected {
    background: var(--fornace-gold) !important;
    color: var(--fornace-dark) !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(197, 153, 58, 0.4);
    transform: scale(1.1);
}

.fornace-cal-day.today {
    border: 2px solid var(--fornace-gold);
    font-weight: 700;
}

.fornace-cal-day.disabled {
    color: rgba(0,0,0,0.15);
    cursor: not-allowed;
    text-decoration: line-through;
}

.fornace-cal-day.empty {
    cursor: default;
}

/* Time Slots */
.fornace-time-slots h4 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    margin: 0 0 14px;
    color: var(--fornace-dark);
}

.fornace-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
}

.fornace-slot {
    padding: 10px;
    text-align: center;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: var(--fornace-radius);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: var(--fornace-transition);
    background: none;
    color: var(--fornace-dark);
}

.fornace-slot:hover {
    border-color: var(--fornace-gold);
    background: rgba(197, 153, 58, 0.1);
}

.fornace-slot.selected {
    background: var(--fornace-gold);
    border-color: var(--fornace-gold);
    color: var(--fornace-dark);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(197, 153, 58, 0.3);
}

/* Selected Slot Display */
.fornace-selected-slot {
    padding: 14px;
    background: var(--fornace-cream);
    border-radius: var(--fornace-radius);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-align: center;
    border: 2px dashed var(--fornace-border);
    color: var(--fornace-text-light);
}

.fornace-selected-slot.has-selection {
    background: rgba(197, 153, 58, 0.1);
    border-color: var(--fornace-gold);
    border-style: solid;
    color: var(--fornace-dark);
    font-weight: 600;
}

/* ============================================================
   ÖFFNUNGSZEITEN
   ============================================================ */

.fornace-hours {
    max-width: 500px;
    margin: 0 auto;
}

.fornace-hours table {
    width: 100%;
    border-collapse: collapse;
}

.fornace-hours tr {
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: var(--fornace-transition);
}

.fornace-hours tr:hover {
    background: rgba(197, 153, 58, 0.05);
}

.fornace-hours td {
    padding: 14px 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
}

.fornace-day-name {
    font-weight: 600;
    color: var(--fornace-dark);
}

.fornace-day-time {
    text-align: right;
    color: var(--fornace-text);
    font-weight: 500;
}

.fornace-today {
    background: rgba(197, 153, 58, 0.08) !important;
}

.fornace-badge {
    display: inline-block;
    padding: 2px 10px;
    background: var(--fornace-gold);
    color: var(--fornace-dark);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 6px;
    vertical-align: middle;
}

.fornace-closed {
    color: var(--fornace-red);
    font-weight: 500;
}

/* Öffnungszeiten on dark background */
.fornace-section-dark .fornace-hours table,
.fornace-section-dark .fornace-hours {
    color: #E8E0D0;
}

.fornace-section-dark .fornace-hours tr {
    border-bottom-color: rgba(255,255,255,0.1);
}

.fornace-section-dark .fornace-hours tr:hover {
    background: rgba(197, 153, 58, 0.1);
}

.fornace-section-dark .fornace-day-name {
    color: #F5EDD8;
}

.fornace-section-dark .fornace-day-time {
    color: #D4AA4F;
}

.fornace-section-dark .fornace-today {
    background: rgba(197, 153, 58, 0.15) !important;
}

.fornace-section-dark .fornace-closed {
    color: #E74C3C;
}

.fornace-section-dark .fornace-badge {
    background: #C5993A;
    color: #0D0D0D;
}

/* ============================================================
   FLOATING CART
   ============================================================ */

.fornace-floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--fornace-dark);
    color: var(--fornace-gold);
    padding: 14px 24px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    transition: var(--fornace-transition);
    animation: fornaceBounceIn 0.5s ease;
}

@keyframes fornaceBounceIn {
    0% { transform: scale(0); }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.fornace-floating-cart:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    background: var(--fornace-gold);
    color: var(--fornace-dark);
}

.fornace-floating-count {
    background: var(--fornace-red);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* ============================================================
   MODAL
   ============================================================ */

.fornace-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fornaceFadeIn 0.3s ease;
}

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

.fornace-modal {
    background: var(--fornace-white);
    border-radius: var(--fornace-radius-lg);
    padding: 50px 40px;
    text-align: center;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fornaceModalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fornaceModalIn {
    from { transform: scale(0.8) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.fornace-modal-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fornace-green) 0%, var(--fornace-green-light) 100%);
    color: white;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.fornace-modal h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin: 0 0 10px;
    color: var(--fornace-dark);
}

.fornace-modal p {
    font-family: 'Inter', sans-serif;
    color: var(--fornace-text-light);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 24px;
}

.fornace-modal .fornace-submit-btn {
    max-width: 200px;
    margin: 0 auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .fornace-menu-grid {
        grid-template-columns: 1fr;
    }

    .fornace-order-layout,
    .fornace-res-layout {
        grid-template-columns: 1fr;
    }

    .fornace-filter {
        position: static;
        padding: 14px;
        gap: 8px;
    }

    .fornace-filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .fornace-cart-panel,
    .fornace-form-panel,
    .fornace-calendar-panel,
    .fornace-res-form-panel {
        padding: 16px;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .fornace-reservation,
    .fornace-order {
        max-width: 100%;
        overflow: hidden;
        padding: 0 8px;
        box-sizing: border-box;
    }

    .fornace-res-layout,
    .fornace-order-layout {
        max-width: 100%;
        padding: 0;
        gap: 20px;
    }

    /* Reservation steps mobile */
    .fornace-res-step-card {
        padding: 20px 16px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .fornace-party-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
    }

    .fornace-party-btn {
        padding: 10px 4px;
    }

    .fornace-party-num {
        font-size: 18px;
    }

    .fornace-occasion-grid {
        gap: 6px;
    }

    .fornace-occasion-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .fornace-res-progress {
        margin-bottom: 20px;
    }

    .fornace-res-step-dot span {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .fornace-res-step-line {
        width: 40px;
    }

    .fornace-slots-legend {
        gap: 10px;
        font-size: 11px;
    }

    /* Calendar mobile fix */
    .fornace-calendar {
        max-width: 100%;
        overflow: hidden;
    }

    .fornace-cal-days {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 4px;
    }

    .fornace-cal-day {
        width: 100%;
        min-width: 0;
        padding: 8px 0;
        font-size: 13px;
    }

    .fornace-cal-weekdays {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 4px;
    }

    .fornace-cal-weekdays span {
        font-size: 12px;
        text-align: center;
    }

    .fornace-cal-nav {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }

    .fornace-cal-header h3 {
        font-size: 16px;
    }

    .fornace-slots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .fornace-slot {
        padding: 8px 4px;
        font-size: 13px;
    }

    /* Form inputs mobile */
    .fornace-res-form-panel input,
    .fornace-res-form-panel select,
    .fornace-res-form-panel textarea {
        max-width: 100%;
        box-sizing: border-box;
    }

    .fornace-floating-cart {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .fornace-form-row {
        grid-template-columns: 1fr;
    }

    .fornace-item-img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .fornace-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .fornace-order-type {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   KITCHEN DISPLAY SYSTEM (KDS)
   ============================================================ */

.fornace-kds {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #0a0a0a;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #f0f0f0;
    overflow: hidden;
}

/* ── PIN Screen ────────────────────────────────────────────── */
.kds-pin-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: radial-gradient(ellipse at 50% 30%, #1a0f0a 0%, #0a0a0a 70%);
}

.kds-pin-card {
    text-align: center;
}

.kds-pin-logo {
    font-size: 64px;
    margin-bottom: 16px;
}

.kds-pin-card h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    letter-spacing: 6px;
    margin: 0 0 8px;
}

.kds-pin-card > p {
    color: #888;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 40px;
}

.kds-pin-inputs {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 16px;
}

.kds-pin-digit {
    width: 64px;
    height: 80px;
    background: #141414;
    border: 2px solid #333;
    border-radius: 12px;
    color: #C5993A;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    font-family: inherit;
    transition: all 0.2s ease;
}

.kds-pin-digit:focus {
    outline: none;
    border-color: #C5993A;
    box-shadow: 0 0 0 4px rgba(197,153,58,0.2);
}

.kds-pin-shake {
    animation: kdsShake 0.4s ease;
}

@keyframes kdsShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.kds-pin-error {
    color: #ef4444;
    font-size: 14px;
    min-height: 24px;
}

/* ── KDS Main ──────────────────────────────────────────────── */
.kds-main {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Header */
.kds-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 64px;
    background: #111;
    border-bottom: 1px solid #222;
    flex-shrink: 0;
}

.kds-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kds-logo {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    letter-spacing: 3px;
    font-weight: 700;
}

.kds-subtitle {
    background: #C5993A;
    color: #0a0a0a;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.kds-header-center {
    display: flex;
    align-items: center;
}

.kds-tabs {
    display: flex;
    gap: 4px;
    background: #1a1a1a;
    border-radius: 10px;
    padding: 4px;
}

.kds-tab {
    padding: 8px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #888;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kds-tab:hover { color: #ccc; }

.kds-tab.active {
    background: #e85d26;
    color: white;
}

.kds-tab-count {
    background: rgba(255,255,255,0.2);
    padding: 1px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.kds-tab.active .kds-tab-count {
    background: rgba(255,255,255,0.3);
}

.kds-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kds-clock {
    font-size: 22px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #C5993A;
    letter-spacing: 1px;
}

.kds-sound-btn,
.kds-fullscreen-btn {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #ccc;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.kds-sound-btn:hover,
.kds-fullscreen-btn:hover {
    border-color: #C5993A;
    color: #C5993A;
}

/* ── Orders Grid ───────────────────────────────────────────── */
.kds-grid {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
    align-content: start;
}

.kds-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-column: 1 / -1;
    height: 60vh;
    color: #555;
}

.kds-empty-icon {
    font-size: 72px;
    margin-bottom: 16px;
}

.kds-empty p {
    font-size: 20px;
    margin: 0 0 8px;
    color: #666;
}

.kds-empty small {
    font-size: 14px;
    color: #444;
}

/* ── Order Card ────────────────────────────────────────────── */
.kds-card {
    background: #141414;
    border: 2px solid #222;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.kds-card:hover {
    border-color: #333;
}

/* Status border colors */
.kds-card.kds-status-neu {
    border-color: #f97316;
    box-shadow: 0 0 20px rgba(249,115,22,0.15);
}

.kds-card.kds-status-bestaetigt {
    border-color: #3b82f6;
}

.kds-card.kds-status-zubereitung {
    border-color: #a855f7;
    box-shadow: 0 0 20px rgba(168,85,247,0.1);
}

.kds-card.kds-status-fertig {
    border-color: #22c55e;
    box-shadow: 0 0 20px rgba(34,197,94,0.1);
}

.kds-card.kds-card-urgent {
    animation: kdsUrgentPulse 2s ease infinite;
}

@keyframes kdsUrgentPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(239,68,68,0.2); }
    50% { box-shadow: 0 0 40px rgba(239,68,68,0.4); border-color: #ef4444; }
}

/* Card Header */
.kds-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 0;
}

.kds-card-number {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
}

.kds-card-type {
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

/* Date Section Header */
.kds-date-header {
    grid-column: 1 / -1;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    padding: 12px 8px 4px;
    letter-spacing: 1px;
    border-bottom: 2px solid #333;
    margin-bottom: 4px;
}

/* Date Line in Card */
.kds-card-date-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px 4px;
    font-size: 15px;
    font-weight: 700;
}
.kds-date-badge {
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}
.kds-date-today {
    background: rgba(34,197,94,0.2);
    color: #22c55e;
}
.kds-date-future {
    background: rgba(59,130,246,0.2);
    color: #60a5fa;
}
.kds-card-time {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

/* Future order card: subtle outline */
.kds-card-future {
    border: 1px solid rgba(59,130,246,0.3) !important;
    opacity: 0.85;
}

/* Timer */
.kds-card-timer {
    padding: 4px 20px 0;
    font-size: 14px;
    color: #666;
    font-variant-numeric: tabular-nums;
}

.kds-card-timer.kds-timer-warn {
    color: #f97316;
    font-weight: 600;
}

/* Status Badge */
.kds-card-status {
    padding: 8px 20px;
}

.kds-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.kds-badge.kds-status-neu {
    background: rgba(249,115,22,0.15);
    color: #f97316;
}

.kds-badge.kds-status-bestaetigt {
    background: rgba(59,130,246,0.15);
    color: #3b82f6;
}

.kds-badge.kds-status-zubereitung {
    background: rgba(168,85,247,0.15);
    color: #a855f7;
}

.kds-badge.kds-status-fertig {
    background: rgba(34,197,94,0.15);
    color: #22c55e;
}

/* Customer */
.kds-card-customer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 8px;
    font-size: 14px;
    color: #aaa;
}

/* Items */
.kds-card-items {
    padding: 12px 20px;
    border-top: 1px solid #222;
    flex: 1;
}

.kds-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 6px 0;
    font-size: 16px;
}

.kds-item-qty {
    font-weight: 800;
    color: #C5993A;
    min-width: 32px;
    font-size: 18px;
}

.kds-item-name {
    font-weight: 500;
    color: #e0e0e0;
    font-size: 16px;
}

/* Note */
.kds-card-note {
    padding: 8px 20px;
    background: rgba(249,115,22,0.08);
    color: #f97316;
    font-size: 13px;
    font-weight: 500;
    border-top: 1px solid #222;
}

/* Action Button */
.kds-action-btn {
    display: block;
    width: 100%;
    padding: 16px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.kds-action-btn:active {
    transform: scale(0.98);
}

.kds-action-bestaetigt {
    background: #1e3a5f;
    color: #60a5fa;
}

.kds-action-bestaetigt:hover {
    background: #234b7d;
}

.kds-action-zubereitung {
    background: #3b1f5e;
    color: #c084fc;
}

.kds-action-zubereitung:hover {
    background: #4c2878;
}

.kds-action-fertig {
    background: #14532d;
    color: #4ade80;
}

.kds-action-fertig:hover {
    background: #166534;
}

.kds-action-abgeholt {
    background: #1a1a1a;
    color: #888;
}

.kds-action-abgeholt:hover {
    background: #222;
}

/* ── KDS Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
    .kds-grid {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .kds-header {
        flex-wrap: wrap;
        height: auto;
        padding: 12px;
        gap: 8px;
    }

    .kds-tabs {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .kds-tab {
        padding: 6px 14px;
        font-size: 12px;
    }

    .kds-clock {
        font-size: 18px;
    }

    .kds-card-number {
        font-size: 18px;
    }

    .kds-item {
        font-size: 14px;
    }

    .kds-item-qty {
        font-size: 15px;
    }
}
