:root {
    --primary: #E53935; /* Crimson Red */
    --primary-dark: #b71c1c;
    --accent: #E53935;
    --accent-gold: #d4af37; /* Gold */
    --bg-dark: #0a0a0a;
    --bg-light: #141414;
    --text-main: #f5f5f5;
    --text-muted: #aaaaaa;
    /* Aliases used in order/reservation styles */
    --text-primary: #f5f5f5;
    --text-secondary: #aaaaaa;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title span {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-icon {
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.5);
}

/* Glass Effect */
.glass-effect {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

/* ── Demo Banner (Popup unten rechts) ────────────────────────── */
.demo-banner {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 2000;
    background: #1a0e00;
    border: 1px solid #c8860a;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    max-width: 320px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}
.demo-banner__inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.demo-banner__text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #f0c060;
    line-height: 1.5;
}
.demo-banner__text-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.demo-badge {
    background: #c8860a;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}
.demo-banner__cta {
    display: block;
    text-align: center;
    background: #c8860a;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.2s;
    text-decoration: none;
}
.demo-banner__cta:hover { background: #e6990b; }

@media (max-width: 480px) {
    .demo-banner { bottom: 1rem; right: 1rem; left: 1rem; max-width: none; }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 2rem;
    letter-spacing: 2px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.9) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-text em {
    color: var(--accent);
    font-style: normal;
}

.img-wrapper {
    padding: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    transition: transform 0.7s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 400px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* Menu */
.menu-section {
    background-color: var(--bg-light);
}

.menu-desc {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.menu-download {
    max-width: 500px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.menu-download h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.menu-download p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: #050505;
    padding: 4rem 0 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

.footer h4 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
    color: #666;
}

/* ── Hero CTAs ───────────────────────────────────────────────── */
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid rgba(255,255,255,0.3);
    padding: 1rem 2.5rem;
    font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
    border-radius: 4px; transition: all 0.3s ease; cursor: pointer; display: inline-flex;
    align-items: center; justify-content: center;
}
.btn-secondary:hover { border-color: var(--accent-gold); color: var(--accent-gold); }

.btn-outline {
    background: transparent; color: var(--text-main);
    border: 2px solid rgba(255,255,255,0.2);
    padding: 1rem 2.5rem; font-size: 1rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px; border-radius: 4px;
    transition: all 0.3s ease; cursor: pointer; display: inline-flex;
    align-items: center; justify-content: center;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ── Menu Section Actions ────────────────────────────────────── */
.menu-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.section-desc { max-width: 600px; margin: 0 auto 2rem; font-size: 1.1rem; color: var(--text-muted); }

/* ── Reservation Section ─────────────────────────────────────── */
.reservation-section { background: var(--bg-light); }

.reservation-card {
    max-width: 780px; margin: 0 auto; padding: 2.5rem;
}

.res-step { margin-bottom: 1.5rem; }
.res-fields {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.2rem;
    margin-bottom: 1.5rem;
}
.field-group { display: flex; flex-direction: column; gap: 0.4rem; }
.field-group--full { grid-column: 1 / -1; }
.field-group label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.field-group input, .field-group select, .field-group textarea {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main); padding: 0.7rem 0.9rem; border-radius: 6px;
    font-size: 0.9rem; font-family: var(--font-body); width: 100%;
}
.field-group input:focus, .field-group select:focus, .field-group textarea:focus {
    outline: none; border-color: var(--primary);
}
.field-group select option { background: var(--bg-dark); }

/* Slots */
.slots-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; margin-bottom: 0.8rem; }
.slots-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.slot-btn {
    padding: 0.5rem 1rem; border-radius: 6px; border: 1px solid rgba(255,255,255,0.15);
    background: transparent; color: var(--text-main); cursor: pointer; font-size: 0.875rem;
    font-family: var(--font-body); transition: all 0.2s;
}
.slot-btn.slot-available:hover { border-color: var(--primary); color: var(--primary); }
.slot-btn.slot-available.selected { background: var(--primary); border-color: var(--primary); color: #fff; }
.slot-btn.slot-callback { border-color: #f57f17; color: #ffb300; }
.slot-btn.slot-callback.selected { background: #f57f17; color: #fff; }
.slot-btn.slot-full { opacity: 0.3; cursor: not-allowed; }
.slot-btn[disabled] { opacity: 0.3; cursor: not-allowed; }
.loading-slots, .slots-error { color: var(--text-muted); font-size: 0.875rem; }
.slots-error { color: #ef9a9a; }

.callback-note {
    background: rgba(245,127,23,0.1); border: 1px solid rgba(245,127,23,0.3);
    color: #ffb300; padding: 0.75rem 1rem; border-radius: 6px; font-size: 0.875rem;
    margin-bottom: 1rem;
}

.form-error {
    background: rgba(183,28,28,0.15); border: 1px solid rgba(183,28,28,0.4);
    color: #ef9a9a; padding: 0.75rem 1rem; border-radius: 6px; font-size: 0.875rem;
    margin-bottom: 1rem;
}

.btn-full { width: 100%; padding: 0.85rem; font-size: 1rem; }
.btn-full:disabled { opacity: 0.4; cursor: not-allowed; }

/* Reservation success */
.res-success {
    text-align: center; padding: 2rem;
}
.res-success-icon {
    width: 60px; height: 60px; background: #1b5e20; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin: 0 auto 1rem; color: #fff;
}
.res-success h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 0.5rem; }
.res-success p { color: var(--text-muted); margin-bottom: 0.3rem; }
.callback-hint {
    margin-top: 0.75rem; color: #ffb300; font-size: 0.875rem;
    background: rgba(245,127,23,0.1); padding: 0.5rem; border-radius: 6px;
}

/* ── Admin-Login Link in Navbar ──────────────────────────────── */
.nav-link--admin {
    color: var(--accent-gold) !important;
    border: 1px solid rgba(212,175,55,0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    transition: background 0.2s, border-color 0.2s !important;
}
.nav-link--admin:hover {
    background: rgba(212,175,55,0.1);
    border-color: var(--accent-gold) !important;
    color: var(--accent-gold) !important;
}
.nav-link--admin::after { display: none !important; }

/* ── Footer Demo Credentials ─────────────────────────────────── */
.footer-demo-credentials {
    text-align: center;
    padding: 1.5rem 0 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 1.5rem;
}
.footer-demo-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}
.footer-demo-credentials p { color: #888; font-size: 0.85rem; margin-bottom: 0.75rem; }
.cred-key { color: var(--text-muted); }
.footer-demo-credentials code {
    background: rgba(255,255,255,0.08);
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    font-family: monospace;
    color: var(--text-main);
    font-size: 0.9rem;
}
.btn-sm {
    padding: 0.5rem 1.2rem !important;
    font-size: 0.8rem !important;
    letter-spacing: 1px !important;
}

/* ── Order Tracking ──────────────────────────────────────────────────────── */
.tracking-section { background: var(--bg-light); }

.tracking-card {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.tracking-form {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tracking-form input {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-main);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: monospace;
    width: 260px;
    text-align: center;
}
.tracking-form input:focus { outline: none; border-color: var(--accent); }

.tracking-result { margin-top: 1rem; }
.tracking-result--hidden { display: none; }

.tracking-status-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
}
.tracking-code-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}
.tracking-code-value {
    font-size: 1.4rem;
    font-family: monospace;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 3px;
    margin-bottom: 1.25rem;
}
.tracking-status-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.tracking-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}
.ts--pending-confirmation { background: #4a2c00; color: #ffcc02; }
.ts--new        { background: #1a237e; color: #90caf9; }
.ts--preparing  { background: #5c2800; color: #ffcc80; }
.ts--ready      { background: #1b3a1f; color: #a5d6a7; }
.ts--delivered  { background: #1a1a1a; color: #9e9e9e; }
.ts--cancelled  { background: #1a0000; color: #ef9a9a; }

.tracking-type {
    font-size: 0.875rem;
    color: var(--text-muted);
}
.tracking-error {
    color: #ef9a9a;
    padding: 1rem;
    background: rgba(229,57,53,0.08);
    border-radius: 8px;
    border: 1px solid rgba(229,57,53,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 3.5rem; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .about-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .reservation-card { padding: 1.5rem; }
    .res-fields { grid-template-columns: 1fr; }
    .tracking-form { flex-direction: column; align-items: center; }
    .tracking-form input { width: 100%; max-width: 280px; }
}
