/* style.css - VISION ENTERPRISE */
:root {
    --bg: #000000;
    --sidebar: #080808;
    --surface: #141414;
    --border: #222;
    --primary: #E50914;
    --text: #FFFFFF;
    --muted: #808080;
    --success: #2ecc71; /* Vegan Green */
    --warning: #e67e22; /* Spicy Orange */
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif; }

body { background-color: var(--bg); color: var(--text); display: flex; flex-direction: column; min-height: 100vh; }

a { text-decoration: none; color: inherit; }
.btn { padding: 12px 24px; border-radius: 6px; border: none; font-weight: 700; cursor: pointer; transition: 0.2s; width: 100%; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { filter: brightness(1.2); }
.btn-outline { background: transparent; border: 1px solid #444; color: white; }

/* INPUTS & CARDS */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 30px; margin-bottom: 20px; }
.input-group { margin-bottom: 20px; }
label { font-size: 0.7rem; color: var(--muted); font-weight: bold; margin-bottom: 8px; display: block; letter-spacing: 1px; }
input, textarea, select { width: 100%; padding: 16px; background: #050505; border: 1px solid var(--border); border-radius: 6px; color: white; outline: none; font-size: 0.95rem; }
input:focus, textarea:focus, select:focus { border-color: var(--primary); }

/* CHECKBOX GROUP (Neu) */
.checkbox-group { display: flex; gap: 20px; margin-top: 10px; }
.checkbox-item { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.9rem; }
.checkbox-item input { width: auto; margin: 0; }

/* DESIGN SELECTOR */
.color-dot { width: 35px; height: 35px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; }
.color-dot:hover { border-color: white; transform: scale(1.1); }

/* SIDEBAR & NAV */
.nav-btn { display: flex; align-items: center; gap: 15px; padding: 15px 20px; border-radius: 8px; color: var(--muted); cursor: pointer; transition: 0.2s; font-size: 0.9rem; margin-bottom: 5px; font-weight: 600; }
.nav-btn:hover { background: rgba(255,255,255,0.05); color: white; }
.nav-btn.active { background: rgba(255,255,255,0.1); color: var(--primary); border-left: 3px solid var(--primary); }
.view-section { display: none; }
.view-section.active { display: block; }
nav { display: flex; justify-content: space-between; padding: 15px 30px; border-bottom: 1px solid var(--border); background: #000; position: sticky; top: 0; z-index: 50; }

/* --- MENU DESIGN & FEATURES --- */
.phone-mockup { width: 320px; height: 650px; background: #000; border: 12px solid #222; border-radius: 40px; position: relative; overflow: hidden; margin: 0 auto; box-shadow: 0 50px 100px rgba(0,0,0,0.8); }
.vision-menu { height: 100%; width: 100%; overflow-y: auto; background: #000; padding-bottom: 80px; }

/* Announcement Bar */
.announcement-bar { background: var(--primary); color: white; font-size: 0.75rem; padding: 8px; text-align: center; font-weight: bold; letter-spacing: 1px; }

.menu-header { height: 200px; background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-end; padding: 20px; }
.menu-header::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 0%, #000 100%); }
.header-content { position: relative; z-index: 10; width: 100%; }
.rest-name { font-size: 2rem; font-weight: 900; line-height: 1; margin-bottom: 5px; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.rest-tags { font-size: 0.7rem; color: #ccc; text-transform: uppercase; letter-spacing: 1px; }

.category-title { font-size: 0.9rem; font-weight: 800; color: var(--primary); margin: 30px 20px 10px 20px; text-transform: uppercase; letter-spacing: 2px; border-bottom: 1px solid #222; padding-bottom: 5px; }

.food-item { display: flex; gap: 15px; padding: 20px; border-bottom: 1px solid #111; position: relative; }
.food-img { width: 90px; height: 90px; border-radius: 8px; background-size: cover; background-position: center; flex-shrink: 0; background-color: #222; }
.food-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.food-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.food-name { font-weight: 700; font-size: 1rem; color: white; }
.food-price { font-weight: 700; color: var(--primary); font-size: 1rem; }
.food-desc { font-size: 0.8rem; color: #888; line-height: 1.4; margin-bottom: 8px; }

/* BADGES */
.badges-row { display: flex; gap: 5px; flex-wrap: wrap; }
.badge { font-size: 0.6rem; padding: 2px 6px; border-radius: 4px; font-weight: bold; text-transform: uppercase; }
.badge-vegan { background: rgba(46, 204, 113, 0.2); color: #2ecc71; border: 1px solid #2ecc71; }
.badge-spicy { background: rgba(230, 126, 34, 0.2); color: #e67e22; border: 1px solid #e67e22; }
.badge-popular { background: rgba(255, 215, 0, 0.2); color: #FFD700; border: 1px solid #FFD700; }

/* SOLD OUT STATE */
.food-item.sold-out { opacity: 0.5; grayscale: 100%; pointer-events: none; }
.food-item.sold-out::after { content: 'SOLD OUT'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-10deg); border: 2px solid white; padding: 5px 15px; font-weight: 900; font-size: 1.2rem; color: white; text-shadow: 0 2px 10px black; }

/* Socials */
.social-links { display: flex; justify-content: center; gap: 20px; padding: 20px; margin-top: 20px; opacity: 0.6; }

/* Editor List Specific */
.dish-manager-item { display: flex; justify-content: space-between; background: #111; padding: 10px; margin-bottom: 5px; border-radius: 4px; border: 1px solid #333; }
.delete-btn { background: #333; color: white; width: 30px; height: 30px; border-radius: 4px; border: none; cursor: pointer; }
.delete-btn:hover { background: #E50914; }
/* --- LANDING PAGE EXTRAS --- */

/* Hero Glow Effect */
.hero-glow {
    position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.3) 0%, rgba(0,0,0,0) 70%);
    top: -200px; left: 50%; transform: translateX(-50%); z-index: -1; pointer-events: none;
}

/* Feature Grid */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 20px; }
.feature-card {
    background: #111; border: 1px solid #222; padding: 40px; border-radius: 20px; transition: 0.3s;
}
.feature-card:hover { transform: translateY(-10px); border-color: var(--primary); }
.feature-icon { font-size: 2rem; margin-bottom: 20px; }
.feature-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; color: white; }
.feature-desc { color: #888; line-height: 1.6; font-size: 0.95rem; }

/* Stats Section */
.stats-bar { display: flex; justify-content: center; gap: 80px; margin: 80px 0; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number { font-size: 3rem; font-weight: 900; color: white; }
.stat-label { color: var(--primary); text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; font-weight: bold; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 900px; margin: 80px auto; padding: 20px; }
.price-card { background: #111; border: 1px solid #333; padding: 40px; border-radius: 20px; text-align: center; position: relative; }
.price-card.popular { border-color: var(--primary); background: linear-gradient(180deg, rgba(229,9,20,0.1) 0%, #111 100%); }
.price-tag { font-size: 3rem; font-weight: 800; margin: 20px 0; color: white; }
.price-features { list-style: none; margin: 30px 0; text-align: left; padding: 0; }
.price-features li { margin-bottom: 15px; color: #ccc; display: flex; align-items: center; gap: 10px; }

/* Steps */
.step-row { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; margin: 60px 0; }
.step { max-width: 300px; text-align: center; }
.step-num { width: 50px; height: 50px; background: var(--primary); color: white; font-weight: 900; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px auto; font-size: 1.2rem; }

/* Footer Links */
.footer-links a { color: #666; margin: 0 15px; font-size: 0.9rem; }
.footer-links a:hover { color: white; }
/* EDIT BUTTON */
.action-buttons { display: flex; gap: 10px; }
.edit-btn {
    background: #333; color: white; width: 30px; height: 30px; border-radius: 4px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.edit-btn:hover { background: var(--primary); }

/* CANCEL BUTTON (taucht nur beim Bearbeiten auf) */
#cancelEditBtn { display: none; margin-top: 10px; width: 100%; text-align: center; color: #888; font-size: 0.8rem; cursor: pointer; text-decoration: underline; }
/* PRO FEATURES LOCK */
.pro-locked {
    opacity: 0.5;
    pointer-events: none; /* Macht es unklickbar */
    position: relative;
    filter: grayscale(1);
}

.pro-badge {
    background: #E50914; color: white; font-size: 0.6rem; padding: 2px 6px; 
    border-radius: 4px; font-weight: bold; margin-left: 5px; vertical-align: middle;
}

/* Blur Effect für Analytics */
.blur-content { filter: blur(5px); user-select: none; }

.upgrade-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.6); z-index: 10; border-radius: 12px;
}
.upgrade-btn-small {
    background: var(--primary); color: white; padding: 8px 15px; 
    border-radius: 20px; font-size: 0.8rem; font-weight: bold; border: none; cursor: pointer;
}
