/*
Theme Name:   InstaRestaurant Theme
Author:       GAPAGENTUR
Description:  Ein exklusives Theme für Restaurants inklusive WooCommerce-Anbindung und Reservierungssystem.
Version:      2.0
*/
/* --- 1. RESET & BASIS --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: #fdfdfd; color: #333; overflow-x: hidden; }
a { text-decoration: none; transition: 0.3s; }


/* --- 2. HEADER (Desktop-Optimierung) --- */
.saas-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 5%;
    background: #ffffff !important;
    height: 80px;
    border-bottom: 2px solid #E67E22;
    position: sticky;
    top: 0;
    z-index: 10000;
}







@media (max-width: 480px) {
    /* Ersetze .hero-title durch die echte Klasse deines Titels */
    h1, .hero-title { 
        font-size: 1.8rem !important; /* Kleiner machen, damit es passt */
        line-height: 1.2;
    }
}






.logo a { 
    font-size: 1.5rem; 
    font-weight: 800; 
    color: #E67E22 !important; 
}

.main-nav ul { 
    list-style: none; 
    display: flex; 
    gap: 25px; 
}

.main-nav ul li a { 
    font-weight: 600; 
    color: #2c3e50; 
}

/* Warenkorb & Reservieren Button Design */
.header-actions { 
    display: flex; 
    align-items: center; 
    gap: 20px;
}

.cart-contents {
    font-size: 1.2rem;
    position: relative;
    color: #2c3e50;
}

.cart-count {
    background: #E67E22;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    position: absolute;
    top: -10px;
    right: -10px;
    font-weight: bold;
}

.res-btn-desktop {
    background: #E67E22;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.res-btn-desktop:hover {
    background: #d35400;
}

/* --- 3. MOBILE NAVIGATION (Buttons ausgeblendet) --- */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 30000 !important;
}

.mobile-menu-toggle span { 
    width: 28px; height: 3px; background: #E67E22; border-radius: 2px; 
}

@media (max-width: 991px) {
    /* Verstecke Warenkorb und Reservieren auf Mobile */
    .cart-contents, .res-btn-desktop { 
        display: none !important; 
    }

    .mobile-menu-toggle { display: flex; }

    .main-nav {
        position: fixed !important;
        top: 0 !important;
        right: -100%;
        width: 100% !important; 
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 20000 !important;
        padding: 120px 40px 40px;
        transition: right 0.4s ease;
    }

    .main-nav.is-active { right: 0 !important; }

    .main-nav ul { flex-direction: column; align-items: center; width: 100%; }
    .main-nav ul li { width: 100%; border-bottom: 1px solid #f2f2f2; }
    .main-nav ul li a {
        display: block !important;
        padding: 20px !important;
        font-size: 1.4rem;
        font-weight: 800;
        color: #2c3e50 !important;
        text-align: center;
    }
}

/* --- 4. FOOTER --- */
.saas-footer {
    background: #1a1a1a !important;
    color: #ffffff !important;
    padding: 60px 5% 40px !important;
    text-align: center;
    margin-top: 50px;
    border-top: 5px solid #E67E22;
}
.saas-footer h2 { color: #E67E22; margin-bottom: 10px; }
.footer-nav ul { list-style: none; display: flex; justify-content: center; gap: 20px; margin: 30px 0; flex-wrap: wrap; }
.footer-nav ul li a { color: #ffffff; opacity: 0.7; }



.logo img {
    max-height: 55px; /* Perfekt für deinen 80px hohen Header */
    width: auto;
    display: block;
}
.custom-logo-link {
    display: flex;
    align-items: center;
}
