html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

:root {
    --bg-cream: #faf7f2;       /* Warmes Creme-Weiß */
    --text-dark: #2b1b12;      /* Dunkles Kaffeebraun */
    --accent-caramel: #966f4e; /* Karamellton */
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-cream);
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    margin: 0;
    overflow-x: hidden; /* Verhindert ungewolltes seitliches Wackeln auf Handys */
}

/* ==========================================
   NAVBAR STYLE
   ========================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(43, 27, 18, 0.08);
}

.logo a {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--text-dark);
    font-size: 2.2rem;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.navbar ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar ul li a {
    text-decoration: none;
    font-size: 1.1rem;
    color: var(--accent-caramel);
    font-weight: 600;
    padding: 5px 8px;
    transition: all 0.2s ease;
}

.navbar ul li a:hover {
    color: var(--text-dark);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    background: linear-gradient(rgba(43, 27, 18, 0.45), rgba(43, 27, 18, 0.45)), url('barista.png') no-repeat center center/cover;
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-content {
    max-width: 750px;
}

.hero-content h1 {
    color: var(--bg-cream);
    font-size: 3.2rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content p {
    color: var(--white);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-content a {
    color: var(--bg-cream);
    background-color: var(--accent-caramel);
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(150, 111, 78, 0.3);
    transition: all 0.3s ease;
}

.hero-content a:hover {
    background-color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(43, 27, 18, 0.4);
}

/* ==========================================
   SPEISEKARTE
   ========================================== */
.menu-section {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 20px;
}

.menu-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.menu-category h3 {
    color: var(--accent-caramel);
    font-size: 1.4rem;
    border-bottom: 2px solid var(--accent-caramel);
    padding-bottom: 5px;
    margin-top: 40px;
}

.menu-item {
    margin-bottom: 20px;
    padding-top: 10px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.1rem;
    gap: 15px;
}

.item-description {
    font-size: 0.95rem;
    color: #666;
    margin-top: 5px;
    line-height: 1.5;
}

/* ==========================================
   STANDORT SEKTION
   ========================================== */
.location-section {
    max-width: 850px;
    margin: 80px auto;
    text-align: center;
    padding: 0 20px;
}

.location-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.location-content h3 {
    font-size: 1.5rem;
    color: var(--accent-caramel);
    margin-bottom: 5px;
}

.location-content .address {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.location-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.detail-block {
    background: var(--white);
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    flex: 1;
    min-width: 260px;
    border: 1px solid rgba(43, 27, 18, 0.05);
}

.detail-block h4 {
    margin-top: 0;
    color: var(--accent-caramel);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.detail-block p {
    margin: 5px 0;
    font-size: 0.95rem;
}

/* ==========================================
   RESERVIERUNGS SEKTION
   ========================================== */
.reserve-section {
    padding: 80px 20px;
    background-color: var(--white);
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid rgba(43, 27, 18, 0.05);
}

.reserve-section h2 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.reservation-subtitle {
    color: var(--accent-caramel);
    font-size: 1rem;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.reservation-form {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    background-color: var(--bg-cream);
    border: 1px solid rgba(43, 27, 18, 0.15);
    padding: 14px;
    border-radius: 8px;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--accent-caramel);
    background-color: var(--white);
    outline: none;
    box-shadow: 0 4px 12px rgba(150, 111, 78, 0.15);
}

.submit-btn {
    background-color: var(--accent-caramel);
    color: var(--white);
    padding: 16px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 27, 18, 0.2);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

.footer-content p {
    margin: 5px 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.footer a {
    color: var(--accent-caramel);
    text-decoration: none;
}

/* ==========================================
   RESPONSIVE DESIGN (TABLETS & SMARTPHONES)
   ========================================== */

/* TABLET ANPASSUNGEN (max-width: 850px) */
@media (max-width: 850px) {
    html {
        scroll-padding-top: 120px;
    }

    .navbar {
        flex-direction: column;
        gap: 12px;
        padding: 15px 20px;
    }

    .navbar ul {
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .location-details {
        gap: 20px;
    }
}

/* SMARTPHONE ANPASSUNGEN (max-width: 550px) */
@media (max-width: 550px) {
    html {
        scroll-padding-top: 130px;
    }

    .logo a {
        font-size: 1.8rem;
    }

    .navbar ul li a {
        font-size: 0.95rem;
        padding: 4px 6px;
    }

    .hero-section {
        min-height: 75vh;
        padding: 30px 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content a {
        width: 100%; /* Volle Breite für einfache Bedienung auf dem Handy */
        text-align: center;
    }

    .menu-section, 
    .location-section, 
    .reserve-section {
        margin: 50px auto;
        padding: 0 15px;
    }

    .menu-section h2, 
    .location-section h2, 
    .reserve-section h2 {
        font-size: 2rem;
    }

    .item-header {
        font-size: 1rem;
    }

    .detail-block {
        padding: 20px;
    }

    .reservation-form {
        width: 100%;
    }

    .submit-btn {
        width: 100%;
    }
}