/* GRUNDLAGEN */
:root {
    --dark-gradient: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    --gold: #c5a059;
    --white: #ffffff;
    --light-gray: #f4f4f4;
    --text-color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-gray);
    color: var(--text-color);
    line-height: 1.6;
}

/* HEADER STYLE (Schmal & Elegant) */
.main-header {
    background: var(--dark-gradient);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.header-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-small {
    height: 70px;
    width: auto;
    border-radius:50%;
}

.pizzeria-name {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 2.4rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* NAVIGATION */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-size: 1.10rem;
    text-transform: uppercase;
    font-weight: 700;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.cta-button {
    background-color: var(--gold);
    color: #1a1a1a !important;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
}

/* SLIDER */
.slider-container {
    margin-top: 5px;
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active { opacity: 1; }

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 10px 30px;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    border: 1px solid var(--gold);
}

/* INFO BLÖCKE */
.info-section {
    padding: 60px 5%;
}

.info-grid {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: var(--white);
    flex: 1;
    padding: 40px 25px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--gold);
    transition: 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.info-card h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.action-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--gold);
    text-decoration: none;
    font-weight: bold;
    font-size: 30px;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.action-link:hover {
    border-bottom: 1px solid var(--gold);
}

.phone-number {
    font-size: 40px;
    font-weight: bold;
}

/* FOOTER */
.footer {
    background-color: #1a1a1a; /* Edles Dunkelgrau */
    color: #ffffff;
    padding: 60px 0 20px 0;
    margin-top: 50px;
    border-top: 3px solid var(--gold); /* Kleine Gold-Linie oben als Akzent */
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Verteilt die 3 Blöcke gleichmäßig */
    padding: 0 20px;
    gap: 30px;
}

.footer-block {
    flex: 1; /* Alle 3 Blöcke sind gleich breit */
}

.footer-block h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-block p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #cccccc;
}

.footer-block ul {
    list-style: none;
}

.footer-block ul li {
    margin-bottom: 10px;
}

.footer-block ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-block ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    color: #666;
}

/* Responsive: Auf dem Handy untereinander stapeln */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* --- RESPONSIVE DESIGN --- */

/* Für Tablets und kleinere Bildschirme (max. 992px) */
@media (max-width: 992px) {
    .info-grid {
        gap: 20px;
        padding: 40px 5%;
    }
}

/* Für Smartphones (max. 768px) */
@media (max-width: 768px) {
    /* Header & Brand */
    .header-container {
        flex-direction: column; /* Logo und Nav untereinander */
        gap: 10px;
    }

    .main-header {
        height: auto; /* Höhe passt sich dem Inhalt an */
        padding: 15px 0;
    }

    /* Navigation auf dem Handy */
    .nav-links {
        gap: 10px;
        flex-wrap: wrap; /* Erlaubt Umbruch der Buttons */
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.75rem;
        padding: 5px 10px;
    }

    /* Slider Höhe anpassen */
    .slider-container {
        height: 300px;
    }

    .slide-text {
        font-size: 1.2rem;
        width: 80%;
        text-align: center;
    }

    /* Die 3 Blöcke untereinander stapeln */
    .info-grid {
        flex-direction: column;
        align-items: center;
    }

    .info-card {
        width: 100%;
        max-width: 400px;
    }

    /* Footer untereinander */
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

/* karte.html */

/* FILTER REPARATUR */
.menu-filter {
    background: #121212; /* Dunkler Hintergrund für Kontrast */
    padding: 15px 0;    /* Mehr Platz oben und unten */
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.filter-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;          /* Mehr Abstand zwischen den Kategorien */
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.filter-container a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.filter-container a:hover {
    color: #c5a059;
}

/* KATEGORIE LAYOUT (Zweispaltig) */
.category-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 80px;
    padding: 40px 5%;
}

/* Wechselt die Seite für Abwechslung (Bild mal links, mal rechts) */
.category-wrapper.reverse {
    flex-direction: row-reverse;
}

.menu-list-side {
    flex: 1.5; /* Die Liste bekommt mehr Platz */
}

.image-side {
    flex: 1;
    position: sticky;
    top: 150px; /* Das Bild bleibt beim Scrollen der Liste stehen */
}

.category-big-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 5px solid #fff; /* Eleganter weißer Rahmen */
}

/* ELEGANTES GERICHT-STYLING */
.menu-item-elegant {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    margin-bottom: 20px;
    padding: 25px 30px;
    border-radius: 15px; /* Abgerundete Ecken */
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); /* Softer Schatten */
    border-left: 4px solid var(--gold); /* Goldene Linie links */
    transition: transform 0.2s ease;
}

.item-info {
    flex: 1;
}

.item-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.item-id {
    color: var(--gold);
    margin-right: 15px;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
}

.ingredients {
    font-size: 0.95rem;
    color: #777;
    font-style: italic;
    line-height: 1.5;
    max-width: 80% !important; /* Damit der Text nicht in den Preis läuft */
}

/* Rechte Seite: Preis und Button */
.item-action {
    display: flex;
    align-items: center;
    gap: 30px;
}

.price-tag {
    font-weight: 800;
    font-size: 1.2rem;
    color: #1a1a1a;
    min-width: 80px;
    text-align: right;
}

.add-to-cart-big {
    background-color: var(--gold);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
    border-radius: 10px; /* Leicht abgerundet wie im Bild */
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
}

.add-to-cart-big:hover {
    background-color: #b08d4a;
    transform: scale(1.05);
}

/* MOBILE OPTIMIERUNG */
@media (max-width: 900px) {
    .category-wrapper, .category-wrapper.reverse {
        flex-direction: column;
    }
    .image-side {
        position: static;
        margin-top: 30px;
    }
}

.price-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.price-stack .price-tag {
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-subtitle {
    margin-bottom: 30px;
    color: #666;
    font-style: italic;
}

.category-title {
    font-size: 3rem;
}

/* Warenkorb Styling */
.cart-box {
    background: #1a1a1a;
    color: white;
    padding: 25px;
    border-radius: 15px;
    position: sticky;
    bottom: 20px;
    z-index: 1000;
}


.floating-cart {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 320px;
    background: #1a1a1a; /* Dunkles Edel-Grau */
    color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 1000;
    border: 1px solid rgba(197, 160, 89, 0.3); /* Dezenter Gold-Rahmen */
}

.floating-cart h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.cart-scroll-area {
    max-height: 150px;
    overflow-y: auto;
    margin-bottom: 15px;
}

#cart-items {
    list-style: none;
    font-size: 0.85rem;
}

#cart-items li {
    margin-bottom: 5px;
    color: #ccc;
    display: flex;
    justify-content: space-between;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    margin: 15px 0;
    border-top: 1px solid #333;
    padding-top: 10px;
}

.total-row strong { color: var(--gold); }

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
}

.btn-whatsapp:hover { background-color: #128C7E; }

.btn-phone {
    background-color: var(--gold);
    color: #1a1a1a;
    font-size: 1.5rem;
}

.btn-phone:hover { background-color: #fff; }

.btn-icon {
    width: 18px;
    height: 18px;
}

/* Mobile Optimierung: Auf Handys mittig unten */
@media (max-width: 768px) {
    .floating-cart {
        left: 5%;
        right: 5%;
        width: 90%;
        bottom: 20px;
    }
}

.cart-notification {
    position: fixed;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: top 0.4s ease;
}

.cart-notification.show {
    top: 100px;
}

.nav-cart {
    background: var(--gold);
    padding: 5px 12px;
    border-radius: 20px;
    color: white !important;
}

/* Warenkorb-Seite Design */
.cart-container-page {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: #121212;
    border-radius: 15px;
    color: white;
}

.cart-header {
    margin-bottom: 30px;
    text-align: center;
}

.back-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 10px;
}

/* Die Artikel-Zeilen */
.cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #222;
}

.item-main-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--gold);
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-badge {
    background: #1a1a1a;
    padding: 5px 15px;
    border-radius: 5px;
    border: 1px solid #333;
    min-width: 40px;
    text-align: center;
}

.btn-qty {
    background: var(--gold);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Zusammenfassung Box */
.cart-summary-card {
    margin-top: 40px;
    background: #1a1a1a;
    padding: 25px;
    border-radius: 12px;
    border-top: 3px solid var(--gold);
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.price-row.total {
    border-top: 1px solid #333;
    padding-top: 15px;
    font-weight: bold;
    font-size: 1.4rem;
    color: var(--gold);
}

.btn-whatsapp-final {
    width: 100%;
    background: #25d366;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
    transition: 0.3s;
}

.btn-phone-final {
    display: block;
    text-align: center;
    width: 100%;
    background: #333;
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}


.btn-clear-cart {
    width: 100%;
    background: transparent;
    color: #ff4444; /* Ein dezentes Rot */
    border: 1px solid #ff4444;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 15px;
    transition: 0.3s;
}

.btn-clear-cart:hover {
    background: #ff4444;
    color: white;
}

.map-container {
    width: 100%;
    height: 200px;
    box-shadow: 0 4px 8px rgba(78, 77, 77, 0.542);
    border: 1px solid #444;
}

/* Macht das ganze Karten-Feld klickbar für Handys */
.map-card:hover {
    background-color: #969393;
    transition: 0.3s;
}

.filter-anrufen {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: #c5a059;
    border: 1.5px solid #c5a059;
    padding: 8px 18px;   /* Mehr Innenabstand */
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.filter-anrufen:hover {
    background-color: #c5a059; /* Goldener Hintergrund */
    color: #121212 !important; /* Text wird Schwarz/Dunkel, damit er lesbar ist */
}

/* Icon im Button etwas kleiner machen */
.filter-anrufen span {
    font-size: 1.1rem;
}

/* Spezial-Anpassung für sehr schmale Handys */
@media (max-width: 480px) {
    .filter-anrufen {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

.time-box {
    background: rgba(197, 160, 89, 0.1); /* Hauch von Gold */
    border-left: 3px solid #c5a059;
    padding: 10px;
    margin: 15px 0;
    display: inline-block;
}

.hours {
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    color: #c5a059;
}

.footer {
    background-color: #0f0f0f; /* Sehr dunkles Schwarz für Eleganz */
    color: white;
    padding: 40px 0 20px 0;
    border-top: 1px solid #222;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Verteilt die 4 Blöcke gleichmäßig */
    flex-wrap: wrap;               /* Lässt Blöcke auf Handys untereinander springen */
    gap: 30px;
    padding: 0 20px;
}

.footer-block {
    flex: 1;                       /* Alle Blöcke sind gleich breit */
    min-width: 200px;              /* Ab 200px bricht der Block in die nächste Zeile */
}

.footer-block h3 {
    color: #c5a059;                /* Dein Gold-Ton */
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-block p, .footer-block li {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 5px;
}

.footer-block ul {
    list-style: none;
    padding: 0;
}

.footer-block a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-block a:hover {
    color: #c5a059;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #222;
    font-size: 0.8rem;
    color: #666;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .footer-container {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
}

/* Haupt-Anruf-Button im Warenkorb */
.main-call-btn {
    background-color: #c5a059 !important; /* Gold als Primärfarbe */
    color: #121212 !important;            /* Dunkler Text für Lesbarkeit */
    padding: 20px !important;             /* Größer und auffälliger */
    font-size: 1.2rem !important;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
}

.main-call-btn:hover {
    background-color: #b08d4a !important; /* Etwas dunkleres Gold beim Hover */
    transform: translateY(-2px);          /* Leichter Schwebe-Effekt */
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.6);
}

.main-call-btn .icon {
    font-size: 1.4rem;
}

/* Spezielles Layout für rechtliche Seiten */
/* Der äußere Rahmen um beide Blöcke */
.legal-page-wrapper {
    padding: 120px 20px 60px; /* Mehr Platz oben wegen dem fixierten Header */
    min-height: 80vh;
    background-color: #121212; /* Dunkler Hintergrund passend zur Seite */
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Der Container, der die zwei Spalten hält */
.legal-container-flex {
    display: flex;
    gap: 30px; /* Abstand zwischen Impressum und Datenschutz */
    max-width: 1200px; /* Breiter, da jetzt zwei Spalten */
    width: 100%;
    flex-wrap: wrap; /* Wichtig: Auf Handys untereinander springen */
}

/* Die einzelnen Blöcke (Impressum & Datenschutz) */
.legal-block {
    flex: 1; /* Beide Blöcke sind gleich breit */
    min-width: 320px; /* Ab dieser Breite bricht es auf Handys um */
    background: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #333;
    color: #ccc;
}

.legal-block h1.category-title {
    color: #c5a059;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: left;
}

.legal-block h2 {
    color: #c5a059;
    font-size: 1.1rem;
    margin-top: 25px;
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    display: block; /* Breite Linie */
}

.legal-block p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.legal-block a {
    color: #c5a059;
    text-decoration: none;
}

.legal-block a:hover {
    text-decoration: underline;
}