:root {
    --bg-dark: #0e0e0e;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --gold: #d4af37;
    --gold-light: #f5d76e;
    --text-light: #f5f5f5;
    --green: #009246;
    --green-light:#2fbf71;
    --red: #CE2B37;
    --white: #ffffff;
    --cream: #faf8f4;
    --text: #2c2c2c;
    --border:#e6ece7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--cream);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
}

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: 0.4s ease;
}

.navbar.scrolled {
    padding: 15px 0;
}

.nav-inner {
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 146, 70, 0.15);
    padding: 14px 30px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.navbar.scrolled .nav-inner {
    width: 92%;
    border-radius: 50px;
    border: 1px solid rgba(0, 146, 70, 0.2);
}

.nav-logo {
    height: 45px;
}

.nav-center {
    display: flex;
    gap: 15px;
}

.nav-item {
    position: relative;
    background: transparent;
    border: none;
    color: var(--text);
    padding: 10px 20px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: .3s;
}

.nav-item span {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: 0.35s;
}

.nav-item:hover span,
.nav-item.active span {
    max-width: 140px;
}

.nav-item:hover {
    background: rgba(0, 146, 70, 0.08);
    color: var(--green);
    transform: translateY(-2px);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: white;
    font-weight: 600;
}

.nav-right {
    display: none;
}

.mobile-toggle {
    display: none;
    font-size: 1.4rem;
    color: var(--green);
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    border-left: 1px solid rgba(0, 146, 70, 0.15);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 120px 30px;
    transition: 0.4s ease;
    z-index: 999;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu button,
.mobile-menu a {
    background: white;
    border: 1px solid rgba(0, 146, 70, 0.15);
    padding: 15px;
    border-radius: 12px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: 0.3s;
}

.mobile-menu button:hover,
.mobile-menu a:hover {
    background: rgba(0, 146, 70, 0.08);
    color: var(--green);
}

.mobile-menu button.active,
.mobile-menu a.active {
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: white;
    border-color: transparent;
}

.hero {
    height: 100vh;
    background: url('../assets/images/hero.png') center/cover no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(250, 248, 244, 0.8), rgba(250, 248, 244, 0.92));
}

.hero::after {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    right: -180px;
    top: -180px;
    background: radial-gradient(circle, rgba(0, 146, 70, 0.12), transparent 70%);
    animation: heroGlow 7s ease-in-out infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    animation: heroFadeIn 1.5s ease forwards;
    opacity: 0;
}

.hero-logo {
    width: 250px;
    margin-bottom: 30px;
    animation: floatLogo 4s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
    color: var(--green);
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.8;
    margin-bottom: 45px;
    color: #555;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 15px 38px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.35s;
}

.btn-primary:hover {
    box-shadow: 0 15px 30px rgba(0, 146, 70, 0.25);
    transform: translateY(-3px);
}

.btn-outline {
    padding: 15px 38px;
    border-radius: 50px;
    background: #fff;
    border: 2px solid var(--green);
    color: var(--green);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.35s;
}

.btn-outline:hover {
    background: var(--green);
    color: white;
}

.hero-social {
    margin-top: 50px;
}

.hero-social p {
    color: #666;
    margin-bottom: 15px;
}

.hero-social-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-social-icons a {
    padding: 10px 18px;
    background: #fff;
    border: 1px solid rgba(0, 146, 70, 0.15);
    border-radius: 30px;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.hero-social-icons a:hover {
    background: var(--green);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 146, 70, 0.2);
    transform: translateY(-2px);
}

button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

section {
    padding: 120px 10%;
    position: relative;
    background: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    display: inline-block;
    font-size: 2.6rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--green);
    align-items: center;
    gap: 15px;
}

.section-header h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    margin-top: 15px;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--green) 0%, #fff 50%, var(--red) 100%);
}

.dark-glass {
    background: linear-gradient(180deg, #fff, #faf8f4);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.slider-section {
    padding-bottom: 70px;
}

.slider-container {
    position: relative;
    width: 90%;
    margin: 70px auto;
}

.slide {
    display: none;
    opacity: 0;
    transform: translateX(40px);
    transition: 0.6s;
}

.slide.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.slide-content {
    display: flex;
    gap: 50px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.slide-text {
    flex: 1;
    text-align: center;
}

.slide-text h3 {
    color: var(--green);
    font-size: 2rem;
    margin-bottom: 20px;
}

.slide-text p {
    color: var(--text);
}

.slide-image {
    flex: 1.5;
}

.slide-image img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.12);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 15px;
    border-radius: 50px;
    border: none;
    background: var(--green);
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    align-items: center;
    transition: 0.3s;
    overflow: hidden;
}

.slider-btn:hover {
    background: var(--red);
    box-shadow: 0 12px 25px rgba(206, 43, 55, 0.25);
    transform: translateY(-50%) scale(1.08);
}

.slider-btn.prev { left: -25px }
.slider-btn.next { right: -25px }

.slider-dots {
    text-align: center;
    margin-top: 35px;
}

.slider-dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    border-radius: 50%;
    background: #cfd8d2;
    cursor: pointer;
    transition: 0.3s;
}

.slider-dots span.active {
    width: 34px;
    border-radius: 20px;
    background: var(--green);
}

.featured-section {
    background: linear-gradient(to bottom, #faf8f4, #fff);
    padding-top: 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.featured-card {
    background: #fff;
    border: 1px solid #e8ebe6;
    border-radius: 22px;
    overflow: hidden;
    transition: .35s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.featured-card::before {
    content: "";
    position: block;
    height: 5px;
    background: linear-gradient(90deg, var(--green) 0%, #fff 50%, var(--red) 100%);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 146, 70, 0.25);
}

.featured-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.08);
}

.dish-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--green);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 30px;
    letter-spacing: 0.4px;
    box-shadow: 0 8px 20px rgba(0, 146, 70, 0.25);
}

.featured-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 15px;
    flex-grow: 1;
}

.featured-content h3 {
    font-size: 1.3rem;
    color: var(--green);
}

.featured-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

.featured-content .btn-primary.small {
    margin-top: auto;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.9rem;
}

.opening-hours {
    max-width: 650px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e8ebe6;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.day:hover {
    box-shadow: 0 16px 35px rgba(0, 146, 70, 0.12);
    border-color: rgba(0, 146, 70, 0.25);
    transform: translateY(-4px);
}

.day-name {
    font-size: 1.15rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--green);
}

.day-times span {
    background: rgba(0, 146, 70, 0.08);
    color: var(--green);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
}

.day-times.closed {
    color: var(--red);
    font-style: italic;
    font-weight: 600;
}

.day-times.closed span {
    background: rgba(206, 43, 55, 0.08);
    color: var(--red);
}

.contact-section {
    position: relative;
    background: url('../assets/images/contact.png') center/cover no-repeat;
    padding: 120px 10%;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.88), rgba(250, 248, 244, 0.95));
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-content h2 {
    display: inline-block;
    text-align: center;
    color: var(--green);
    margin-bottom: 60px;
}

.contact-content h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    margin-top: 15px;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--green) 0%, #fff 50%, var(--red) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 35px;
    border-radius: 22px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #555;
    font-size: 1rem;
}

.contact-info p i {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(0, 146, 70, 0.08);
    color: var(--green);
    font-size: 1rem;
}

.contact-info .btn-primary {
    font-size: 0.95rem;
}

.open-contact-form {
    align-self: flex-start;
    margin-top: 15px;
}

.contact-map #map {
    width: 100%;
    height: 400px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #e8ebe6;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

footer {
    position: relative;
    background: #faf8f4;
    border-top: 1px solid #e8ebe6;
    padding: 45px 10%;
}

footer::before {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(90deg, var(--green) 0%, #fff 50%, var(--red) 100%);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-content img {
    height: 50px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--green);
    text-decoration: none;
    position: relative;
    font-weight: 500;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--red);
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--green), #fff, var(--red));
    transition: 0.3s;
}

.footer-links a:hover::after {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons i {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--green);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
}

.social-icons i:hover {
    background: var(--green);
    color: white;
    transform: translateY(-4px);
}

.popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: #fff;
    padding: 45px;
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 26px;
    border: 1px solid #e8ebe6;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
    position: relative;
    transform: translateY(30px) scale(0.95);
    animation: 0.35s cubic-bezier(0.17, 0.67, 0.35, 1);
}

.popup-content::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(0, 146, 70, 0.08), transparent 40%);
    pointer-events: none;
}

.popup.active .popup-content {
    transform: translateY(0) scale(1);
}

.close-popup {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--green);
    transition: 0.25s;
}

.close-popup:hover {
    color: var(--red);
    transform: rotate(90deg);
}

.popup-content::-webkit-scrollbar {
    width: 6px;
}

.popup-content::-webkit-scrollbar-thumb {
    background: var(--green);
    border-radius: 10px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

#reservation-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

#contact-form input,
#contact-form textarea,
#reservation-form input,
#reservation-form select,
#reservation-form textarea {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #dfe5df;
    background: #fafafa;
    color: #333;
    font-size: 0.95rem;
    transition: 0.3s;
}

#contact-form input:focus,
#contact-form textarea:focus,
#reservation-form input:focus,
#reservation-form select:focus,
#reservation-form textarea:focus {
    outline: none;
    border-color: var(--green);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 146, 70, 0.08);
}

#contact-form textarea,
#reservation-form textarea {
    min-height: 100px;
    resize: vertical;
}

.reservation-form .contact {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    gap: 22px;
}

.reservation-form .contact p {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #555;
    font-size: 1rem;
}

.reservation-form .contact p i {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(0, 146, 70, 0.08);
    color: var(--green);
    font-size: 1rem;
}

.datenschutz a {
    color: var(--green);
    text-decoration: none;
    transition: 0.2s;
}
.datenschutz a:hover {
    color: var(--red);
}
.datenschutz h2 {
    margin-top: 30px;
    color: var(--green);
}
.datenschutz h3 { margin-top: 30px; }
.datenschutz h4 { margin-top: 20px; }
.datenschutz h5 { margin-top: 15px; }
.datenschutz p {
    margin-top: 8px;
    color: #555;
    line-height: 1.7;
}

@media (max-width: 1200px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-center {
        display: none;
    }

    .nav-right,
    .mobile-toggle {
        display: block;
    }

    .slide-content {
        flex-direction: column;
        text-align: center;
    }

    .slider-btn.prev { left: 5px }
    .slider-btn.next { right: 5px }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-map #map {
        height: 300px;
    }

    .footer-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
}

@media (max-width: 700px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    section {
        padding: 80px 5%;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .hero-logo {
        width: 140px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .slide-content {
        padding: 20px;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .popup-content {
        height: 95vh;
        max-height: 95vh;
        padding: 30px;
    }
}

@media (max-width: 400px) {
    .day-times {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
}