/* ============================================
   PIZZERIA MODERN DESIGN - CHARCOAL BLACK & ORANGE
   Kompakt | Mobile First | Optimiert
   ============================================ */

:root {
    --pizza-red: #f93b5a;
    --pizza-green: #008C45;
    --charcoal: #1A1A1A;
    --cream-bg: #F7F4F0;
    --card-border: #e8e0d6;
    --text-dark: #1e1b18;
    --text-muted: #5f5549;
    --header-scale: 1.25; /* 25% größer */
    --base-scale: 1.1; /* 10% größer */
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--cream-bg);
    color: var(--text-dark);
    min-height: 100vh;
    font-size: calc(0.7rem * var(--base-scale));
}

/* ============================================
   HEADER - 25% GRÖSSER
   ============================================ */
.header {
    background: white;
    padding: calc(10px * var(--header-scale)) calc(16px * var(--header-scale));
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    border-bottom: calc(2px * var(--header-scale)) solid var(--pizza-red);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: calc(12px * var(--header-scale));
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: calc(12px * var(--header-scale));
}

.logo-icon {
    width: calc(40px * var(--header-scale));
    height: calc(40px * var(--header-scale));
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: 0.03em;
    line-height: 1.1;
}

.logo-text .sub {
    font-size: calc(0.5rem * var(--header-scale));
    font-weight: 600;
    color: var(--pizza-red);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: calc(10px * var(--header-scale));
}

.user-area {
    display: flex;
    align-items: center;
    gap: calc(8px * var(--header-scale));
}

.user-name {
    font-size: calc(0.7rem * var(--header-scale));
    font-weight: 600;
    color: var(--charcoal);
    background: #f0f0f0;
    padding: calc(6px * var(--header-scale)) calc(12px * var(--header-scale));
    border-radius: 3px;
    display: none;
}
.user-name.show {
    display: block;
}

.btn-login,
.btn-logout {
    padding: calc(7px * var(--header-scale)) calc(14px * var(--header-scale));
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.05em;
}
.btn-login {
    background: var(--pizza-red);
    color: white;
}
.btn-login:hover {
    background: #a00d24;
}
.btn-logout {
    background: #f0f0f0;
    color: var(--charcoal);
}
.btn-logout:hover {
    background: #e0e0e0;
}

/* ============================================
   WARENKORB BUTTON - MIT PULS-ANIMATION
   ============================================ */
.cart-btn {
    display: flex;
    align-items: center;
    gap: calc(8px * var(--header-scale));
    background: var(--pizza-red);
    color: white;
    padding: calc(7px * var(--header-scale)) calc(14px * var(--header-scale));
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-weight: 700;
    font-size: calc(0.75rem * var(--header-scale));
    position: relative;
}

.cart-btn:hover {
    background: #a00d24;
    transform: scale(1.05);
}

.cart-btn .cart-text {
    display: inline;
}

/* Puls-Animation für Warenkorb wenn nicht leer */
.cart-btn.has-items {
    animation: cartPulse 1.5s ease-in-out infinite;
}

@keyframes cartPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 20px rgba(200, 16, 46, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(200, 16, 46, 0);
    }
}

.cart-badge {
    background: white;
    color: var(--pizza-red);
    border-radius: 50%;
    min-width: calc(20px * var(--header-scale));
    height: calc(20px * var(--header-scale));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(0.65rem * var(--header-scale));
    font-weight: 800;
    padding: 0 4px;
    transition: all 0.3s;
}

.cart-btn.has-items .cart-badge {
    background: #ffeb3b;
    color: var(--pizza-red);
    animation: badgePulse 1s ease-in-out infinite;
}

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

/* ============================================
   STATUS BANNER - 10% GRÖSSER
   ============================================ */
.status-banner {
    background: var(--charcoal);
    color: white;
    padding: calc(30px * var(--base-scale)) calc(26px * var(--base-scale));
    text-align: center;
    display: flex;
    justify-content: center;
    gap: calc(24px * var(--base-scale));
    flex-wrap: wrap;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.status-banner .open {
    color: #4CAF50;
}
.status-banner .closed {
    color: #f44336;
}

/* ============================================
   HERO - 10% GRÖSSER
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--charcoal) 0%, #2d2d2d 100%);
    color: white;
    padding: calc(30px * var(--base-scale)) calc(20px * var(--base-scale)) calc(24px * var(--base-scale));
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(200, 16, 46, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(calc(1rem * var(--base-scale)), calc(4vw * var(--base-scale)), calc(1.2rem * var(--base-scale)));
    font-weight: 700;
    margin-bottom: calc(6px * var(--base-scale));
    letter-spacing: 0.02em;
}
.hero h2 span {
    color: var(--pizza-red);
}
.hero p {
    font-size: clamp(calc(0.85rem * var(--base-scale)), calc(1.4vw * var(--base-scale)), calc(1rem * var(--base-scale)));
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto calc(12px * var(--base-scale));
    line-height: 1.5;
}
.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: calc(10px * var(--base-scale));
    background: rgba(255, 255, 255, 0.06);
    padding: calc(8px * var(--base-scale)) calc(20px * var(--base-scale));
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: clamp(calc(1rem * var(--base-scale)), calc(1.6vw * var(--base-scale)), calc(1.2rem * var(--base-scale)));
    font-weight: 600;
    color: white;
}
.hero-phone .icon {
    color: var(--pizza-red);
}

/* ============================================
   CATEGORIES (Scroll-Leiste) - 10% GRÖSSER
   ============================================ */
.categories-section {
    padding: calc(16px * var(--base-scale)) calc(16px * var(--base-scale)) calc(8px * var(--base-scale));
    max-width: 900px;
    margin: 0 auto;
}

.categories-scroll {
    display: flex;
    gap: calc(12px * var(--base-scale));
    overflow-x: auto;
    padding-bottom: calc(10px * var(--base-scale));
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.categories-scroll::-webkit-scrollbar {
    height: 4px;
}

.categories-scroll::-webkit-scrollbar-track {
    background: #e8e0d6;
    border-radius: 10px;
}

.categories-scroll::-webkit-scrollbar-thumb {
    background: var(--pizza-red);
    border-radius: 10px;
}

.category-btn {
    flex-shrink: 0;
    padding: calc(10px * var(--base-scale)) calc(22px * var(--base-scale));
    border: 2px solid #e0ddd8;
    border-radius: 3px;
    background: white;
    font-size: calc(0.9rem * var(--base-scale));
    font-weight: 700;
    color: var(--charcoal);
    cursor: pointer;
    transition: all 0.3s;
    scroll-snap-align: start;
    white-space: nowrap;
}

.category-btn:hover {
    border-color: var(--pizza-red);
    background: #fff5f3;
    transform: scale(1.02);
}

.category-btn.active {
    background: var(--pizza-red);
    border-color: var(--pizza-red);
    color: white;
}

/* ============================================
   MENU – ZWEISPALTIG - 10% GRÖSSER
   ============================================ */
.products-section {
    max-width: 900px;
    margin: 0 auto;
    padding: calc(10px * var(--base-scale)) calc(16px * var(--base-scale)) calc(60px * var(--base-scale));
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(0.3rem * var(--base-scale)) calc(3rem * var(--base-scale));
}

.menu-section-head {
    grid-column: 1 / -1;
    font-size: calc(1.3rem * var(--base-scale));
    font-weight: 700;
    color: var(--text-dark);
    margin: calc(1.4rem * var(--base-scale)) 0 calc(0.2rem * var(--base-scale)) 0;
    padding-bottom: calc(0.2rem * var(--base-scale));
    border-bottom: 2px solid var(--card-border);
    display: flex;
    align-items: baseline;
    gap: calc(0.8rem * var(--base-scale));
    flex-wrap: wrap;
}
.menu-section-head .sub {
    font-size: calc(0.65rem * var(--base-scale));
    font-weight: 600;
    color: #3f6b4a;
    background: #eaf3e8;
    padding: calc(0.1rem * var(--base-scale)) calc(0.8rem * var(--base-scale));
    letter-spacing: 0.3px;
}

.product-card {
    display: flex;
    flex-direction: column;
    padding: calc(0.4rem * var(--base-scale)) 0 calc(0.35rem * var(--base-scale)) 0;
    border-bottom: 1px dashed var(--card-border);
    cursor: pointer;
    transition: background 0.1s;
    background: transparent;
    border-radius: 6px;
    box-shadow: none;
}
.product-card:hover {
    background: #faf8f5;
    margin: 0 calc(-6px * var(--base-scale));
    padding-left: calc(6px * var(--base-scale));
    padding-right: calc(6px * var(--base-scale));
}

.product-top-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: calc(0.8rem * var(--base-scale));
    width: 100%;
}

.product-name-row {
    display: flex;
    align-items: baseline;
    gap: calc(0.3rem * var(--base-scale));
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.product-number {
    font-weight: 600;
    color: #a0856e;
    font-size: calc(0.8rem * var(--base-scale));
    min-width: calc(32px * var(--base-scale));
    letter-spacing: 0.2px;
}

.product-name {
    font-weight: 600;
    font-size: calc(0.95rem * var(--base-scale));
    color: var(--text-dark);
}

.discount-badge {
    background: var(--pizza-red);
    color: white;
    font-size: calc(0.6rem * var(--base-scale));
    font-weight: 700;
    padding: calc(1px * var(--base-scale)) calc(8px * var(--base-scale));
    border-radius: 20px;
    margin-left: calc(6px * var(--base-scale));
}

.product-price {
    font-weight: 700;
    font-size: calc(0.95rem * var(--base-scale));
    color: var(--text-dark);
    white-space: nowrap;
    flex-shrink: 0;
}
.product-price .old {
    font-size: calc(0.75rem * var(--base-scale));
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
    margin-right: calc(4px * var(--base-scale));
}

.product-description {
    color: var(--text-muted);
    font-size: calc(0.78rem * var(--base-scale));
    font-weight: 400;
    line-height: 1.4;
    padding-left: calc(32px * var(--base-scale));
    margin-top: calc(0.05rem * var(--base-scale));
}
.btn-add {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #D61F3A;
    background: white;
    color: #D61F3A;
    font-size: 1.2rem;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    padding: 0;
    line-height: 1;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

.btn-add:hover {
    background: #D61F3A;
    color: white;
}

.btn-add:active {
    background: #b81932;
    border-color: #b81932;
    color: white;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: calc(4px * var(--base-scale));
    flex-shrink: 0;
}

/* ============================================
   RESPONSIVE – 1 Spalte bei mobile
   ============================================ */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: calc(0.2rem * var(--base-scale));
    }

    .product-description {
        padding-left: calc(32px * var(--base-scale));
    }

    .header {
        padding: calc(8px * var(--base-scale)) calc(12px * var(--base-scale));
    }
    .logo-text h1 {
        font-size: calc(1.2rem * var(--header-scale));
    }
    .logo-icon {
        width: calc(34px * var(--header-scale));
        height: calc(34px * var(--header-scale));
    }
    
    /* Warenkorb bei Mobile - NUR SYMBOL, keine Schrift, rechts positioniert */
    .cart-btn .cart-text {
        display: none !important;
    }
    
    .cart-btn {
        padding: calc(10px * var(--header-scale));
        border-radius: 50%;
        width: calc(30px * var(--header-scale));
        height: calc(30px * var(--header-scale));
        justify-content: center;
        font-size: calc(1.6rem * var(--header-scale));
        position: relative;
        margin-left: auto;
    }
    
    .cart-btn .cart-icon-text {
        font-size: calc(1.2rem * var(--header-scale));
        line-height: 1;
    }
    
    .cart-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        min-width: calc(18px * var(--header-scale));
        height: calc(18px * var(--header-scale));
        font-size: calc(0.95rem * var(--header-scale));
        border: 2px solid white;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    .status-banner {
        font-size: calc(0.9rem * var(--base-scale));
        gap: calc(12px * var(--base-scale));
        padding: calc(5px * var(--base-scale)) calc(12px * var(--base-scale));
    }
    .hero {
        padding: calc(24px * var(--base-scale)) calc(16px * var(--base-scale)) calc(20px * var(--base-scale));
    }
    .hero h2 {
        font-size: calc(1.5rem * var(--base-scale));
    }
    .hero-phone {
        font-size: calc(0.95rem * var(--base-scale));
        padding: calc(6px * var(--base-scale)) calc(16px * var(--base-scale));
    }
    .option-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .product-name {
        font-size: calc(0.9rem * var(--base-scale));
    }
    .product-description {
        font-size: calc(0.73rem * var(--base-scale));
        padding-left: calc(32px * var(--base-scale));
    }
    .product-price {
        font-size: calc(0.9rem * var(--base-scale));
    }
    .product-number {
        font-size: calc(0.7rem * var(--base-scale));
        min-width: calc(28px * var(--base-scale));
    }
    .categories-scroll {
        gap: calc(8px * var(--base-scale));
    }
    .category-btn {
        font-size: calc(0.8rem * var(--base-scale));
        padding: calc(8px * var(--base-scale)) calc(16px * var(--base-scale));
    }
    .header-actions {
        gap: calc(4px * var(--header-scale));
    }
    .btn-login,
    .btn-logout {
        font-size: calc(0.6rem * var(--header-scale));
        padding: calc(5px * var(--header-scale)) calc(10px * var(--header-scale));
    }
    .menu-section-head {
        font-size: calc(1.1rem * var(--base-scale));
    }
    .products-grid {
        gap: calc(0.1rem * var(--base-scale));
    }
    
    /* Mobile Warenkorb noch größer */
    .cart-btn {
        width: calc(30px * var(--header-scale));
        height: calc(30px * var(--header-scale));
        font-size: calc(1.8rem * var(--header-scale));
    }
    .cart-btn .cart-icon-text {
        font-size: calc(1.2rem * var(--header-scale));
    }
    .cart-badge {
        min-width: calc(16px * var(--header-scale));
        height: calc(16px * var(--header-scale));
        font-size: calc(0.95rem * var(--header-scale));
        top: -8px;
        right: -8px;
    }
}

/* ============================================
   CART SIDEBAR - 10% GRÖSSER
   ============================================ */
.cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 999;
    backdrop-filter: blur(3px);
}
.cart-overlay.active {
    display: block;
}

.cart-sidebar {
    position: fixed;
    right: calc(-420px * var(--base-scale));
    top: 0;
    width: calc(420px * var(--base-scale));
    max-width: 90vw;
    height: 100%;
    background: white;
    box-shadow: calc(-4px * var(--base-scale)) 0 calc(40px * var(--base-scale)) rgba(0, 0, 0, 0.12);
    transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}
.cart-sidebar.open {
    right: 0;
}
.cart-header {
    padding: calc(18px * var(--base-scale)) calc(24px * var(--base-scale));
    background: var(--pizza-red);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-header h2 {
    font-size: calc(1.1rem * var(--base-scale));
    font-weight: 700;
}
.cart-close {
    background: none;
    border: none;
    color: white;
    font-size: calc(1.5rem * var(--base-scale));
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.cart-close:hover {
    opacity: 1;
}
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: calc(16px * var(--base-scale)) calc(20px * var(--base-scale));
}
.cart-item {
    background: #f8f6f4;
    padding: calc(6px * var(--base-scale));
    margin-bottom: calc(12px * var(--base-scale));
    border-left: 3px solid var(--pizza-red);
    border-radius: 6px;
}
.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: calc(4px * var(--base-scale));
}
.cart-item-name {
    font-weight: 500;
    font-size: calc(0.95rem * var(--base-scale));
}
.cart-item-price {
    font-weight: 400;
    color: var(--pizza-red);
}
.cart-item-addons {
    font-size: calc(0.7rem * var(--base-scale));
    color: #666;
    margin: calc(4px * var(--base-scale)) 0 calc(6px * var(--base-scale));
    display: flex;
    flex-wrap: wrap;
    gap: calc(4px * var(--base-scale));
}
.cart-item-addon {
    background: #f0edea;
    padding: calc(2px * var(--base-scale)) calc(10px * var(--base-scale));
    border-radius: 6px;
}
.cart-item-special {
    font-size: calc(0.9rem * var(--base-scale));
    color: #888;
    font-style: italic;
    background: #f5f3f0;
    padding: calc(4px * var(--base-scale)) calc(10px * var(--base-scale));
    border-radius: 6px;
    margin: calc(6px * var(--base-scale)) 0;
}
.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: calc(10px * var(--base-scale));
}
.quantity-btn {
    background: #e8e4e0;
    border: none;
    width: calc(28px * var(--base-scale));
    height: calc(28px * var(--base-scale));
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s;
}
.quantity-btn:hover {
    background: #d5cfc8;
}
.remove-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: calc(0.8rem * var(--base-scale));
}
.remove-btn:hover {
    color: var(--pizza-red);
}
.cart-footer {
    padding: calc(16px * var(--base-scale)) calc(20px * var(--base-scale)) calc(24px * var(--base-scale));
    border-top: 2px solid #eee;
    background: white;
}
.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: calc(1.1rem * var(--base-scale));
    font-weight: 800;
    margin-bottom: calc(12px * var(--base-scale));
}
.cart-total-row .total {
    color: var(--pizza-red);
}
.cart-discount {
    font-size: calc(0.8rem * var(--base-scale));
    color: #4CAF50;
    text-align: center;
    margin-bottom: calc(8px * var(--base-scale));
    font-weight: 600;
}
.btn-checkout {
    width: 100%;
    padding: calc(14px * var(--base-scale));
    background: var(--pizza-red);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: calc(1rem * var(--base-scale));
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-checkout:hover {
    background: #a00d24;
}
.btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.empty-cart {
    text-align: center;
    color: #999;
    padding: calc(40px * var(--base-scale)) calc(20px * var(--base-scale));
}

/* ============================================
   MODAL – NEUES DESIGN FÜR EXTRA BELÄGE
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}
.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 8px;
    max-width: calc(560px * var(--base-scale));
    width: 98%;
    max-height: 90vh;
    overflow-y: auto;
    padding: calc(28px * var(--base-scale));
    box-shadow: 0 calc(20px * var(--base-scale)) calc(60px * var(--base-scale)) rgba(0, 0, 0, 0.25);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: calc(18px * var(--base-scale));
    padding-bottom: calc(12px * var(--base-scale));
    border-bottom: 2px solid #f0edea;
}
.modal-header h2 {
    
    font-size: calc(1.2rem * var(--base-scale));
    color: var(--charcoal);
}
.modal-close {
    background: none;
    border: none;
    font-size: calc(1.8rem * var(--base-scale));
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}
.modal-close:hover {
    color: var(--charcoal);
}

.modal-price {
    font-size: calc(1.4rem * var(--base-scale));
    font-weight: 500;
    color: var(--pizza-red);
    margin: calc(10px * var(--base-scale)) 0 calc(14px * var(--base-scale));
}

/* ============================================
   VARIANTEN ALS BUTTONS (nicht Dropdown)
   ============================================ */
.variant-buttons {
    display: flex;
    gap: calc(10px * var(--base-scale));
    flex-wrap: wrap;
    margin: calc(12px * var(--base-scale)) 0;
}

.variant-btn {
    padding: calc(13px * var(--base-scale)) calc(15px * var(--base-scale));
    border: 2px solid var(--card-border);
    border-radius: 3px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
    min-width: calc(80px * var(--base-scale));
    text-align: center;
}

.variant-btn:hover {
    border-color: var(--pizza-red);
    background: #faf8f5;
}

.variant-btn.active {
    border-color: var(--pizza-red);
    background: var(--pizza-red);
    color: white;
}

.variant-btn .price-adj {
    font-weight: 300;
    font-size: calc(0.6rem * var(--base-scale));
    opacity: 0.7;
}

/* ============================================
   EXTRA BELÄGE - ganze Zeile klickbar
   ============================================ */
.addons-label {
    font-weight: 500;
    font-size: calc(0.8rem * var(--base-scale));
    color: var(--charcoal);
    display: block;
    margin-bottom: calc(14px * var(--base-scale));
    letter-spacing: 0.02em;
}

.modal-addons-grid {
    display: flex;
    flex-direction: column;
    gap: calc(0.5rem * var(--base-scale));
    margin-bottom: calc(20px * var(--base-scale));
}

.addon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(0.6rem * var(--base-scale)) calc(1rem * var(--base-scale));
    border: 2px solid var(--card-border);
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: calc(0.95rem * var(--base-scale));
    font-weight: 500;
    color: var(--text-dark);
    user-select: none;
}

.addon-item:hover {
    background: #faf8f5;
    border-color: var(--pizza-red);
}

.addon-item.selected {
    border-color: var(--pizza-red);
    background: #fff5f3;
}

.addon-item-left {
    display: flex;
    align-items: center;
    gap: calc(0.75rem * var(--base-scale));
    flex: 1;
    min-width: 0;
}

.addon-item input[type="checkbox"] {
    width: calc(20px * var(--base-scale));
    height: calc(20px * var(--base-scale));
    accent-color: var(--pizza-red);
    cursor: pointer;
    flex-shrink: 0;
}

.addon-name {
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.addon-price {
    font-weight: 700;
    font-size: calc(1rem * var(--base-scale));
    color: var(--pizza-red);
    flex-shrink: 0;
    margin-left: calc(0.8rem * var(--base-scale));
}

.addon-price.free {
    color: #2e7d32;
    font-weight: 600;
}

.modal-special {
    width: 100%;
    padding: calc(12px * var(--base-scale));
    border: 1px solid #e0ddd8;
    border-radius: 6px;
    margin: calc(12px * var(--base-scale)) 0;
    font-family: inherit;
    resize: vertical;
}

.modal-footer {
    display: flex;
    gap: calc(12px * var(--base-scale));
    margin-top: calc(20px * var(--base-scale));
    border-top: 2px solid #f0edea;
    padding-top: calc(20px * var(--base-scale));
}
.modal-footer button {
    flex: 1;
    padding: calc(14px * var(--base-scale));
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-confirm {
    background: var(--pizza-red);
    color: white;
}
.btn-confirm:hover {
    background: #a00d24;
}
.btn-cancel {
    background: #f0edea;
    color: var(--charcoal);
}
.btn-cancel:hover {
    background: #e0ddd8;
}

/* ============================================
   ANDERE MODALS (Auth, Guest, Delivery) - 10% GRÖSSER
   ============================================ */
.auth-form .form-group {
    margin-bottom: calc(14px * var(--base-scale));
}
.auth-form label {
    display: block;
    font-weight: 600;
    margin-bottom: calc(4px * var(--base-scale));
    font-size: calc(0.85rem * var(--base-scale));
}
.auth-form input,
.auth-form select {
    width: 100%;
    padding: calc(12px * var(--base-scale));
    border: 1px solid #e0ddd8;
    border-radius: 6px;
    font-size: calc(1rem * var(--base-scale));
}
.auth-form input:focus {
    border-color: var(--pizza-red);
    outline: none;
}
.auth-submit {
    width: 100%;
    padding: calc(14px * var(--base-scale));
    background: var(--pizza-red);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: calc(1rem * var(--base-scale));
    cursor: pointer;
}
.auth-submit:hover {
    background: #a00d24;
}
.auth-switch {
    text-align: center;
    margin-top: calc(14px * var(--base-scale));
    color: #666;
    font-size: calc(0.85rem * var(--base-scale));
}
.auth-switch a {
    color: var(--pizza-red);
    cursor: pointer;
    font-weight: 600;
}
.error-message {
    background: #ffebee;
    color: #c62828;
    padding: calc(12px * var(--base-scale));
    border-radius: 6px;
    display: none;
    margin-bottom: calc(14px * var(--base-scale));
}
.success-message {
    background: #e8f5e9;
    color: #2e7d32;
    padding: calc(12px * var(--base-scale));
    border-radius: 6px;
    display: none;
    margin-bottom: calc(14px * var(--base-scale));
}
.plz-select {
    width: 100%;
    padding: calc(12px * var(--base-scale));
    border: 1px solid #e0ddd8;
    border-radius: 6px;
    font-size: calc(1rem * var(--base-scale));
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.option-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(14px * var(--base-scale));
    margin: calc(16px * var(--base-scale)) 0;
}
.option-card {
    border: 2px solid #e0ddd8;
    border-radius: 6px;
    padding: calc(16px * var(--base-scale));
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}
.option-card:hover {
    border-color: var(--pizza-red);
}
.option-card.selected {
    border-color: var(--pizza-red);
    background: #fef5f3;
}
.option-card h3 {
    font-size: calc(1rem * var(--base-scale));
    margin-bottom: calc(4px * var(--base-scale));
}
.option-card p {
    font-size: calc(0.8rem * var(--base-scale));
    color: #666;
}
.option-card .fee {
    color: var(--pizza-red);
    font-weight: 600;
    margin-top: calc(4px * var(--base-scale));
	font-size: calc(0.7rem * var(--base-scale));
}
.time-select {
    width: 100%;
    padding: calc(12px * var(--base-scale));
    border: 1px solid #e0ddd8;
    border-radius: 6px;
    margin: calc(12px * var(--base-scale)) 0;
}

.page-footer {
    max-width: 1400px;
    margin: 0 auto;
    padding: calc(1.2rem * var(--base-scale)) calc(16px * var(--base-scale)) calc(2rem * var(--base-scale));
    border-top: 2px solid var(--card-border);
    font-size: calc(0.75rem * var(--base-scale));
    color: #7a6b5b;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: calc(0.5rem * var(--base-scale));
}
.page-footer .left {
    color: #8f7f6d;
}

.loading {
    text-align: center;
    padding: calc(40px * var(--base-scale));
    color: #999;
    font-size: calc(1rem * var(--base-scale));
    grid-column: 1 / -1;
}
.hidden {
    display: none !important;
}

/* Toast */
.add-toast {
    position: fixed;
    bottom: calc(20px * var(--base-scale));
    left: 50%;
    transform: translateX(-50%);
    background: #4caf50;
    color: white;
    padding: calc(12px * var(--base-scale)) calc(24px * var(--base-scale));
    border-radius: 50px;
    z-index: 1000;
    animation: fadeInUp 0.3s ease;
    box-shadow: 0 calc(4px * var(--base-scale)) calc(12px * var(--base-scale)) rgba(0,0,0,0.2);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(calc(20px * var(--base-scale)));
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}/* ============================================
   EXTRA BELÄGE - NEUES DESIGN MIT ROUNDED + 
   ============================================ */

.addons-label {
    font-weight: 700;
    font-size: calc(0.9rem * var(--base-scale));
    color: var(--charcoal);
    display: block;
    margin-bottom: calc(14px * var(--base-scale));
    letter-spacing: 0.02em;
}

.modal-addons-grid {
    display: flex;
    flex-direction: column;
    gap: calc(0.5rem * var(--base-scale));
    margin-bottom: calc(20px * var(--base-scale));
}

.addon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(0.6rem * var(--base-scale)) calc(1rem * var(--base-scale));
    border: 2px solid var(--card-border);
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: calc(0.95rem * var(--base-scale));
    font-weight: 500;
    color: var(--text-dark);
    user-select: none;
    position: relative;
}

.addon-item:hover {
    background: #faf8f5;
    border-color: var(--pizza-red);
}

.addon-item.selected {
    border-color: var(--pizza-red);
    background: #fff5f3;
}

.addon-item-left {
    display: flex;
    align-items: center;
    gap: calc(0.75rem * var(--base-scale));
    flex: 1;
    min-width: 0;
}

/* NEU: RUNDER + BUTTON STATT CHECKBOX */
.addon-check {
    width: calc(28px * var(--base-scale));
    height: calc(28px * var(--base-scale));
    border-radius: 50%;
    border: 2px solid var(--card-border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(1.2rem * var(--base-scale));
    font-weight: 700;
    color: white;
    transition: all 0.25s ease;
    flex-shrink: 0;
    cursor: pointer;
}

.addon-item.selected .addon-check {
    background: var(--pizza-red);
    border-color: var(--pizza-red);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(200, 16, 46, 0.3);
}

.addon-item.selected .addon-check::after {
    content: '+';
    color: white;
    font-size: calc(1.3rem * var(--base-scale));
    font-weight: 700;
    line-height: 1;
}

.addon-item:not(.selected) .addon-check::after {
    content: '+';
    color: #ccc;
    font-size: calc(1.3rem * var(--base-scale));
    font-weight: 300;
    line-height: 1;
    transition: color 0.2s;
}

.addon-item:hover:not(.selected) .addon-check {
    border-color: var(--pizza-red);
}

.addon-item:hover:not(.selected) .addon-check::after {
    color: var(--pizza-red);
}

/* Checkbox ausblenden (wird durch den runden + Button ersetzt) */
.addon-item input[type="checkbox"] {
    display: none;
}

.addon-name {
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.addon-price {
    font-weight: 700;
    font-size: calc(1rem * var(--base-scale));
    color: var(--pizza-red);
    flex-shrink: 0;
    margin-left: calc(0.8rem * var(--base-scale));
}

.addon-price.free {
    color: #2e7d32;
    font-weight: 600;
}

/* ============================================
   RESPONSIVE ANPASSUNGEN FÜR ADDONS
   ============================================ */
@media (max-width: 480px) {
    .addon-check {
        width: calc(32px * var(--base-scale));
        height: calc(32px * var(--base-scale));
        font-size: calc(1.4rem * var(--base-scale));
    }
    .addon-item.selected .addon-check::after {
        font-size: calc(1.5rem * var(--base-scale));
    }
    .addon-item:not(.selected) .addon-check::after {
        font-size: calc(1.5rem * var(--base-scale));
    }
}
/* Toast Animation */
@keyframes slideUpToast {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

/* Liefermodal Fehler Blink */
@keyframes blinkBorder {
    0%, 100% { border-left-color: #f44336; background: #ffebee; }
    50% { border-left-color: #ff8a80; background: #fff5f5; }
}

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

.shake {
    animation: shake 0.5s ease;
}
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration:none;
			font-family: 'Plus Jakarta Sans', sans-serif;
        }
        
        .logo-icon {
            width: 42px;
            height: 36px;
            flex-shrink: 0;
        }
        
        .logo-icon img {
            width: 100%;
            height: 100%;
        }
        
        .logo-text {
            font-size: 1.3rem;
            font-weight: 800;
            letter-spacing: -0.02em;
			
        }
        
        .logo-text .red { color: #D61F3A; }
        .logo-text .green { color: #1FA463; }
		
		/* ============================================
   VISUELLES FEEDBACK (FALLBACK FÜR SOUND)
   ============================================ */
@keyframes blinkBorder {
    0%, 100% { border-color: transparent; box-shadow: none; }
    25% { border-color: #D61F3A; box-shadow: 0 0 20px rgba(214, 31, 58, 0.3); }
    50% { border-color: transparent; box-shadow: none; }
    75% { border-color: #D61F3A; box-shadow: 0 0 20px rgba(214, 31, 58, 0.3); }
}

/* Status-Popup Blink-Effekt */
#orderStatusPopup .modal-content {
    border: 3px solid transparent;
    transition: border-color 0.3s;
}
/* Wartezeit Buttons */
.btn-time {
    padding: 2px 8px;
    font-size: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f5f5f5;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-time:hover {
    background: #D61F3A;
    color: white;
    border-color: #D61F3A;
}
.btn-time-remove {
    padding: 2px 8px;
    font-size: 0.6rem;
    border: 1px solid #f44336;
    border-radius: 4px;
    background: #fff;
    color: #f44336;
    cursor: pointer;
}
.btn-time-remove:hover {
    background: #f44336;
    color: white;
}
.categories-section {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #FFF8F5;
    padding: 10px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.categories-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 16px;
    scroll-behavior: smooth;
}
.categories-scroll::-webkit-scrollbar {
    display: none;
}
.category-btn {
    flex-shrink: 0;   /* 🔥 Buttons schrumpfen nicht */
    white-space: nowrap;
}
