/* ============================================================
   Bella Napoli – Pizzeria Landingpage
   Reines CSS, mobil-first & responsive
   ============================================================ */

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

/* ===== Farb- & Design-Variablen ===== */
:root {
    --red:        #c1272d;   /* Tomatenrot – Hauptfarbe */
    --red-dark:   #9e1f24;
    --green:      #2e7d32;   /* Basilikumgrün – Akzent */
    --cream:      #fdf8f3;   /* warmer Hintergrund */
    --dark:       #2b2118;   /* Text */
    --muted:      #6f655c;   /* gedämpfter Text */
    --white:      #ffffff;
    --shadow:     0 10px 30px rgba(0, 0, 0, 0.08);
    --radius:     16px;
    --maxw:       1100px;
}

/* ===== Basis ===== */
html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    color: var(--dark);
    line-height: 1.65;
    background: var(--cream);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(193, 39, 45, .35);
}
.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(193, 39, 45, .45);
}
.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, .8);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, .15);
    transform: translateY(-2px);
}
.btn-full { width: 100%; text-align: center; }

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 100;
    transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
    padding: 18px 0;
}
.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    padding: 12px 0;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-family: 'Pacifico', cursive;
    font-size: 1.6rem;
    color: var(--white);
}
.navbar.scrolled .logo { color: var(--red); }

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links a {
    color: var(--white);
    font-weight: 500;
    transition: color .2s ease;
}
.navbar.scrolled .nav-links a { color: var(--dark); }
.nav-links a:hover { color: var(--red); }

.nav-cta {
    background: var(--red);
    color: var(--white) !important;
    padding: 9px 20px;
    border-radius: 50px;
}
.nav-cta:hover { background: var(--red-dark); }

/* Sprach-Umschalter */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.lang-switch {
    display: flex;
    gap: 4px;
}
.lang-switch button {
    font-family: inherit;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .5px;
    padding: 5px 9px;
    border-radius: 7px;
    cursor: pointer;
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .5);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.lang-switch button:hover { background: rgba(255, 255, 255, .18); }
.lang-switch button.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}
/* Farben anpassen, wenn die Navbar beim Scrollen weiß wird */
.navbar.scrolled .lang-switch button {
    color: var(--dark);
    border-color: #d8cabb;
}
.navbar.scrolled .lang-switch button:hover { background: #f0e6da; }
.navbar.scrolled .lang-switch button.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

/* Hamburger (mobil) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: background .3s ease;
}
.navbar.scrolled .nav-toggle span { background: var(--dark); }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: url('https://images.unsplash.com/photo-1513104890138-7c749659a591?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(43, 33, 24, .55), rgba(43, 33, 24, .75));
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 700px;
}
.hero-kicker {
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 14px;
    opacity: .95;
}
.hero h1 {
    font-family: 'Pacifico', cursive;
    font-size: clamp(3rem, 9vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, .35);
}
.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 300;
    margin-bottom: 34px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Features ===== */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: -70px auto 0;
    position: relative;
    z-index: 5;
}
.feature {
    background: var(--white);
    border-radius: var(--radius);
    padding: 34px 26px;
    text-align: center;
    box-shadow: var(--shadow);
}
.feature-icon { font-size: 2.4rem; display: block; margin-bottom: 12px; }
.feature h3 { font-size: 1.25rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .96rem; }

/* ===== Allgemeine Section-Stile ===== */
.section { padding: 90px 0; }
.section-alt { background: #f6ece2; }

.section-kicker {
    color: var(--red);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: .85rem;
    margin-bottom: 8px;
}
.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 10px;
}
.section-subtitle {
    color: var(--muted);
    max-width: 540px;
    margin-bottom: 40px;
}

/* ===== Menü ===== */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.menu-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
    border: 1px solid #f0e6da;
    transition: transform .2s ease, box-shadow .2s ease;
}
.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .1);
}
.menu-card-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}
.menu-card-head h3 { font-size: 1.25rem; }
.price {
    color: var(--red);
    font-weight: 700;
    white-space: nowrap;
}
.menu-card p { color: var(--muted); font-size: .95rem; }
.menu-note {
    text-align: center;
    color: var(--muted);
    margin-top: 34px;
    font-style: italic;
}

/* ===== Öffnungszeiten ===== */
.hours-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.hours-list { list-style: none; }
.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #e6d8c8;
    font-size: 1.02rem;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list span:first-child { font-weight: 600; }
.closed { color: var(--red); font-weight: 600; }

/* ===== Galerie ===== */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform .3s ease, filter .3s ease;
    cursor: pointer;
}
.gallery img:hover { transform: scale(1.03); filter: brightness(1.05); }

/* ===== Kontakt ===== */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.contact-list { list-style: none; margin-top: 10px; }
.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1.02rem;
}
.contact-list a:hover { color: var(--red); }
.contact-icon { font-size: 1.2rem; }

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.contact-form label {
    display: block;
    font-weight: 500;
    font-size: .9rem;
    margin-bottom: 16px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    border: 1px solid #ddd0c2;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--cream);
    transition: border .2s ease, box-shadow .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(193, 39, 45, .12);
}
.contact-form textarea { resize: vertical; }

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: #d9cfc4;
    padding: 36px 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer .logo { color: var(--white); }
.footer p { font-size: .9rem; }
.footer-top { font-weight: 500; }
.footer-top:hover { color: var(--white); }

.footer-credit {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    text-align: center;
    font-size: .85rem;
    color: #b5a99c;
}
.footer-credit a {
    color: var(--white);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.footer-credit a:hover { color: var(--red); }

.footer-demo {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .08);
    font-size: .78rem;
    letter-spacing: .3px;
    color: #cbbfb2;
}

/* ============================================================
   Responsive – Tablet & Handy
   ============================================================ */
@media (max-width: 860px) {
    .nav-toggle { display: flex; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--white);
        padding: 20px 0;
        gap: 4px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
        clip-path: inset(0 0 100% 0);
        opacity: 0;
        pointer-events: none;
        transition: clip-path .3s ease, opacity .3s ease;
    }
    .nav-links.open {
        clip-path: inset(0 0 0 0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links a { color: var(--dark); padding: 10px 24px; display: block; }
    .nav-cta { margin: 8px 24px 0; text-align: center; }

    .features { grid-template-columns: 1fr; margin-top: -50px; }

    .hours-wrap,
    .contact-wrap { grid-template-columns: 1fr; gap: 30px; }

    .gallery { grid-template-columns: repeat(2, 1fr); }
    .gallery img { height: 200px; }
}

@media (max-width: 480px) {
    .section { padding: 64px 0; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .form-row { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr; }
    .gallery img { height: 220px; }
    .footer-inner { flex-direction: column; text-align: center; }
}
