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

:root {
    --color-taupe: #4A4441;
    --color-greige: #DCD8D3;
    --color-rose-gold: #C5A07C;
    --color-rose-gold-light: #d4b08c;
    --color-cream: #F9F8F6;
    --color-white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-taupe);
    background: var(--color-greige);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(74, 68, 65, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-rose-gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('Bilder/headerneu.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    color: var(--color-white);
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border: none;
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--color-rose-gold);
    color: var(--color-taupe);
}

.btn-primary:hover {
    background: var(--color-rose-gold-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-rose-gold);
    color: var(--color-taupe);
    border-color: var(--color-rose-gold);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 60px;
    font-size: 16px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-white);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-white);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

/* Slide Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(80px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animation Classes */
.animate-slide-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

/* Animation Active State */
.animate-slide-left.animate-active,
.animate-slide-right.animate-active,
.animate-slide-up.animate-active,
.animate-fade-in.animate-active {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Staggered animations for grid items */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

section {
    padding: 100px 0;
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-taupe);
    margin-bottom: 60px;
    font-size: 1.1rem;
    opacity: 0.8;
}

.about {
    background: var(--color-cream);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .lead {
    font-size: 1.3rem;
    color: var(--color-rose-gold);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--color-taupe);
}

.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.areas {
    background: var(--color-cream);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.area-card {
    text-align: center;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.area-card:hover {
    transform: translateY(-10px);
}

.area-image-wrapper {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-rose-gold);
    margin: 0 auto 20px;
    transition: box-shadow 0.3s ease;
}

.area-card:hover .area-image-wrapper {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.area-card.selected .area-image-wrapper {
    box-shadow: 0 0 0 4px var(--color-rose-gold-light);
}

.area-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.area-card h3 {
    margin-bottom: 10px;
}

.area-card p {
    color: var(--color-taupe);
    font-size: 14px;
}

.menu-planning {
    background: var(--color-greige);
    padding-bottom: 120px; /* Platz für den festen Warenkorb */
}

.menu-builder {
    display: flex;
    flex-direction: column;
}

.menu-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
}

.category-btn {
    padding: 12px 30px;
    border: 2px solid var(--color-taupe);
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn.active,
.category-btn:hover {
    background: var(--color-taupe);
    color: var(--color-white);
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.menu-item {
    background: var(--color-cream);
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.menu-item p {
    color: var(--color-taupe);
    margin-bottom: 15px;
    font-size: 14px;
}

.menu-price {
    display: block;
    font-weight: 600;
    color: var(--color-rose-gold);
    margin-bottom: 15px;
}

.add-to-menu {
    width: 100%;
    padding: 10px;
    background: var(--color-taupe);
    color: var(--color-white);
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.add-to-menu:hover {
    background: var(--color-rose-gold);
    color: var(--color-taupe);
}

/* Festes Warenkorb am unteren Rand */
.selected-menu {
    background: var(--color-taupe);
    color: var(--color-white);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.selected-menu-header {
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-top: 3px solid var(--color-rose-gold);
}

.selected-menu-header h3 {
    margin: 0;
    color: var(--color-rose-gold);
    font-size: 1.2rem;
}

.selected-menu-toggle {
    background: transparent;
    border: none;
    color: var(--color-rose-gold);
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.selected-menu.open .selected-menu-toggle {
    transform: rotate(180deg);
}

.selected-menu-content {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding-bottom 0.3s ease;
}

.selected-menu.open .selected-menu-content {
    max-height: 400px;
    padding-bottom: 30px;
    overflow-y: auto;
}

.selected-items {
    min-height: 50px;
    margin-bottom: 15px;
}

.selected-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.remove-item {
    background: transparent;
    border: none;
    color: var(--color-rose-gold);
    cursor: pointer;
    font-size: 18px;
}

.empty-message {
    color: rgba(255,255,255,0.5);
    font-style: italic;
}

.menu-summary {
    padding-top: 15px;
    border-top: 2px solid var(--color-rose-gold);
}

.menu-summary p {
    font-size: 1.3rem;
    margin-bottom: 0;
}

.reservation {
    background: var(--color-cream);
}

.reservation-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

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

.form-group label {
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--color-taupe);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 1px solid var(--color-greige);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-rose-gold);
}

.contact {
    background: var(--color-taupe);
    color: var(--color-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact h2 {
    color: var(--color-rose-gold);
    text-align: left;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    color: var(--color-rose-gold);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.map-placeholder {
    background: rgba(255,255,255,0.05);
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.map-placeholder h3 {
    margin-bottom: 10px;
}

.footer {
    background: #3a3532;
    color: var(--color-white);
    padding: 40px 0;
    text-align: center;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

    .about-content,
    .menu-builder,
    .contact-content,
    .areas-grid {
        grid-template-columns: 1fr;
    }

    .menu-items {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .selected-menu {
        position: static;
    }

    .area-image-wrapper {
        width: 140px;
        height: 140px;
    }
}

/* Menu Page Styles */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.menu-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.menu-card:hover {
    transform: translateY(-10px);
}

.pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Galerie Styles */
.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.galerie-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.galerie-item:hover {
    transform: translateY(-10px);
}

.galerie-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: pointer;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--color-rose-gold);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 50px;
    cursor: pointer;
    padding: 20px;
    transition: color 0.3s ease;
}

.lightbox-nav:hover {
    color: var(--color-rose-gold);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* ========================================
   MODUL: EVENT-PLAKAT POPUP
   ======================================== */

.event-poster-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

.event-poster-popup.active {
    display: flex;
}

.event-poster-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 3001;
}

.event-poster-close:hover {
    color: var(--color-rose-gold);
}

.event-poster-content {
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.event-poster-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
}

.event-poster-content iframe {
    width: 100%;
    height: 80vh;
    border: none;
}

.event-poster-title {
    padding: 20px;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--color-dark-brown);
}

/* ========================================
   MODUL: SOCIAL MEDIA LINKS
   ======================================== */

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark-brown);
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--color-rose-gold);
}

.social-link:hover {
    background: var(--color-rose-gold);
    color: var(--color-white);
    transform: translateY(-3px);
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .menu-categories {
        flex-wrap: wrap;
    }
}

/* ===== E-Mail-Verifizierung ===== */
.verification-section {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
    padding: 40px 30px;
    background: var(--color-white);
    border-radius: 12px;
    border: 1px solid rgba(197, 160, 124, 0.25);
    box-shadow: 0 8px 32px rgba(74, 68, 65, 0.08);
}

.verification-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

.verification-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--color-taupe);
    margin-bottom: 12px;
}

.verification-section p {
    color: var(--color-taupe);
    opacity: 0.8;
    margin-bottom: 24px;
    line-height: 1.7;
}

.verification-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.verification-form input[type="email"] {
    width: 100%;
    max-width: 360px;
    padding: 14px 18px;
    border: 1px solid rgba(197, 160, 124, 0.4);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    background: var(--color-cream);
    color: var(--color-taupe);
    transition: border-color 0.3s;
}

.verification-form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-rose-gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 124, 0.15);
}

.verification-status {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--color-rose-gold);
    font-weight: 500;
    min-height: 20px;
    transition: all 0.3s;
}

/* ===== Globales App-Modal ===== */
.app-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(74, 68, 65, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.app-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.app-modal {
    background: var(--color-white);
    border-radius: 16px;
    padding: 48px 40px;
    max-width: 460px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 64px rgba(74, 68, 65, 0.2);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.app-modal-overlay.active .app-modal {
    transform: translateY(0) scale(1);
}

.app-modal-icon {
    font-size: 3.2rem;
    margin-bottom: 18px;
    display: block;
    line-height: 1;
}

.app-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: var(--color-taupe);
    margin-bottom: 12px;
}

.app-modal-message {
    color: var(--color-taupe);
    opacity: 0.75;
    line-height: 1.7;
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.app-modal-overlay.modal-error .app-modal {
    border-top: 4px solid #c0392b;
}

.app-modal-overlay.modal-success .app-modal {
    border-top: 4px solid #27ae60;
}

.app-modal-overlay.modal-info .app-modal {
    border-top: 4px solid var(--color-rose-gold);
}

@media (max-width: 480px) {
    .app-modal {
        padding: 32px 24px;
    }
}