:root {
    --primary: #e76f51;
    --secondary: #2a9d8f;
    --accent: #f4a261;
    --dark: #264653;
    --light: #f8f9fa;
    --milky: #ffebeb;
    --text: #333333;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    --light-bg: rgba(233, 233, 233, 0.4);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Georgia', serif;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
}

p {
    margin-bottom: 1.5rem;
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    border: 2px solid var(--primary);
    padding: 12px 30px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: rgba(71, 71, 71, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 3px;
    background-color: var(--accent);
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
    font-weight: 500;
    letter-spacing: .1rem;
    line-height: 1.6;
}

.section-title p.light {
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
    letter-spacing: .1rem;
    color: var(--light);
    line-height: 1.6;
}

/* Header & Navigation */
header {
    background-color: rgba(235, 106, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 998;
    transition: var(--transition);
    padding: 1rem 0;
}

.header-scrolled {
    padding: 10px 0;
    /*background-color: rgba(255, 255, 255, 0.9);*/
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.brand-logo {
    height: 60px;
    margin-right: 10px;
    transition: var(--transition);
}

.brand-logo-small {
    height: 2rem;
    margin-right: .5rem;
    transition: var(--transition);
}

.brand-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--light);
}

.brand-name-small {
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    letter-spacing: .1rem;
    color: var(--light);
    font-weight: 700;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--dark);
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover:after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 2rem;
    color: var(--accent);
    cursor: pointer;
}

/* header nav responsive */
@media (max-width: 1024px) {
    header {
        padding: 0 1.5rem;
    }

    .logo i {
        margin-right: .5rem;
        font-size: .5rem;
        transition: var(--transition);
    }

    .container {
        min-width: 100%;
        margin: 0 2rem;
        padding: 0 .5rem;
    }

    .brand-name {
        font-size: 1rem;
        font-weight: 700;
        color: var(--light);
    }

    .section-header p {
        letter-spacing: 0;
    }

    .section-title p {
        letter-spacing: 0;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0 1.5rem;
    }

    .logo i {
        margin-right: .5rem;
        font-size: .5rem;
        transition: var(--transition);
    }

    .container {
        min-width: 100%;
        margin: 0 auto;
        padding: 0 .2rem;
    }

    .brand-logo {
        height: 50px;
        margin-right: 10px;
        transition: var(--transition);
    }

    .brand-name {
        margin-left: 4rem;
        font-size: 1rem;
        font-weight: 700;
        color: var(--light);
    }
}

@media (max-width: 576px) {
    header {
        padding: 0 1rem;
    }

    .logo i {
        margin-right: 10px;
        font-size: .5rem;
        transition: var(--transition);
    }

    .container {
        min-width: 100%;
        margin: 0 auto;
        padding: 0 .2rem;
    }

    .brand-name {
        font-size: 1rem;
        font-weight: 700;
        color: var(--light);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(219, 106, 1, 0.2), rgba(56, 30, 0, 0.9)), url('../img/hero/City-Simitci-Cafe-Ansbach_01.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light);
}

.hero-content {
    max-width: 800px;
    padding: .5rem;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: .5rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Social Proof */
.social-proof {
    background-color: transparent;
    color: white;
    padding: 30px 0;
    position: relative;
    z-index: 2;
}

.social-proof:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: -1;
}

.social-proof-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.social-proof-item {
    text-align: center;
    margin: 10px 20px;
}

.social-proof-item i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 10px;
}

/* Features Section */
.features {
    background-color: var(--light-bg)
}

.features-grid {
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.feature-card {
    background-color: var(--light);
    border-radius: .5rem;
    padding: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* Menu Highlights */
.menu-highlights {
    background-color: #f8f5f2;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.menu-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.menu-item-img {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.menu-item-content {
    padding: .5rem;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.menu-item-title {
    font-weight: 600;
    font-size: 1.2rem;
}

.menu-item-price {
    margin-top: -1.1rem;
    color: var(--primary);
    font-weight: 700;
}

.menu-item-desc {
    color: #666;
    margin-bottom: 15px;
}

.menu-item-badge {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 20px;
    margin-right: 5px;
}

/* Gallery */
.gallery {
    background-color: var(--light-bg);
}

.gallery-grid {
    padding: 0 1rem 0 1rem;
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 30px;
}

.gallery-item {
    height: 20rem;
    background-color: #ddd;
    border: var(--primary) 4px solid;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* locality modal */
.modGallery {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modGallery.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modGallery-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.modGallery-container {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
}

.modGallery-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.modGallery-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
}

/* Slide animation classes */
.modGallery-slideInRight {
    animation: modGallerySlideInRight 0.4s ease forwards;
}

.modGallery-slideInLeft {
    animation: modGallerySlideInLeft 0.4s ease forwards;
}

.modGallery-slideOutRight {
    animation: modGallerySlideOutRight 0.4s ease forwards;
}

.modGallery-slideOutLeft {
    animation: modGallerySlideOutLeft 0.4s ease forwards;
}

@keyframes modGallerySlideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes modGallerySlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes modGallerySlideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes modGallerySlideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

/* Watermark Styles */
.modGallery-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.15);
    pointer-events: none;
    user-select: none;
    font-weight: bold;
    white-space: nowrap;
    z-index: 10;
}

.modGallery-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZGVmcz4KICAgIDxwYXR0ZXJuIGlkPSJncmlkIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiPgogICAgICA8cmVjdCB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgyNTUsMjU1LDI1NSwwLjEpIiBzdHJva2Utd2lkdGg9IjEuNSIvPgogICAgICA8cmVjdCB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIgc3Ryb2tlLXdpZHRoPSIxIi8+CiAgICA8L3BhdHRlcm4+CiAgPC9kZWZzPgogIDxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz4KPC9zdmc+');
    background-size: 200px 200px;
    opacity: 0.4;
    pointer-events: none;
    user-select: none;
    z-index: 9;
}

.modGallery-logo {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 120px;
    height: 60px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIwIiBoZWlnaHQ9IjYwIiB2aWV3Qm94PSIwIDAgMTIwIDYwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cmVjdCB3aWR0aD0iMTIwIiBoZWlnaHQ9IjYwIiByeD0iOCIgZmlsbD0icmdiYSgwLCAwLCAwLCAwLjQpIi8+CjxwYXRoIGQ9Ik0yNSA0MEgyNVYyMEgyNVY0MFoiIGZpbGw9InJnYmEoMjU1LCAyNTUsIDI1NSwgMC44KSIvPgo8cGF0aCBkPSJNMzUgNDBIMzVWMjBIMzVWNDBaIiBmaWxsPSJyZ2JhKDI1NSwgMjU1LCAyNTUsIDAuNikiLz4KPHBhdGggZD0iTTQ1IDQwSDQ1VjIwSDQ1VjQwWiIgZmlsbD0icmdiYSgyNTUsIDI1NSwgMjU1LCAwLjQpIi8+CjxwYXRoIGQ9Ik01NSA0MEg1NVYyMEg1NVY0MFoiIGZpbGw9InJnYmEoMjU1LCAyNTUsIDI1NSwgMC44KSIvPgo8cGF0aCBkPSJNNjUgNDBINjVWMjBINjVWNDBaIiBmaWxsPSJyZ2JhKDI1NSwgMjU1LCAyNTUsIDAuNikiLz4KPHN2ZyB4PSIzMCIgeT0iMjUiIHdpZHRoPSI2MCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDYwIDIwIiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTUgMTBIMTVWMTVINVYxMFpNMjAgMTBIMzBWMTVIMjBWMTBaTTM1IDEwSDQ1VjE1SDM1VjEwWk01MCAxMEg2MFYxNUg1MFYxMFoiIHN0cm9rZT0icmdiYSgyNTUsMjU1LDI1NSwwLjgpIiBzdHJva2Utd2lkdGg9IjIiLz4KPC9zdmc+Cjwvc3ZnPgo=');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
    pointer-events: none;
    user-select: none;
    z-index: 11;
}

.modGallery-protection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.modGallery-close {
    position: absolute;
    top: -40px;
    right: -40px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 20;
}

.modGallery-close:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.modGallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 20;
}

.modGallery-nav:hover {
    background: var(--primary);
}

.modGallery-prev {
    left: 20px;
}

.modGallery-next {
    right: 20px;
}

.modGallery-counter {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 1rem;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hero/City-Simitci-Cafe-Ansbach_03.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
}

.testimonials h2:after {
    background-color: white;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    height: 250px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
}

.testimonial-rating {
    color: var(--accent);
    margin-bottom: 10px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: white;
}

/* Reservation */
.reservation {
    background-color: var(--light-bg);
}

.reservation-container {
    min-height: 300px;
    border: rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.reservation-maps {
    margin: 1rem;
    padding: 0;
    width: 95%;
    height: 80vh;
    border: none;
    border-radius: .5rem;
    box-shadow: var(--shadow);
}

.reservation-form {
    margin: 1rem;
    padding: 1rem;
    background-color: var(--light);
    border-radius: .5rem;
    box-shadow: var(--shadow);
}

.reservation-form h2 {
    width: 100%;
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.reservation-form h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: .2rem;
    background-color: var(--accent);
}

.reservation-form button {
    background-color: var(--primary);
    font-size: 1.2rem;
    padding: 1rem 0;

    letter-spacing: .3rem;
}

.reservation-form .btnA {
    width: 100%;
    border-radius: 4rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: .4rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: .7rem 1rem;
    border: 1px solid #ddd;
    border-radius: .25rem;
    font-family: inherit;
    transition: var(--transition);
}

/* ➜ fix Safari */
input[type="date"].form-control,
input[type="time"].form-control,
input[type="number"].form-control {
    min-width: 0;
    /* allows flex/grid item to shrink */
    -webkit-appearance: none;
    /* removes macOS spinner if you want */
}

.input-wrapper {
    position: relative;
}

input,
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1);
}

input[type="date"]:invalid,
input[type="time"]:invalid {
    border-color: var(--error-color);
}

input[type="date"]:valid,
input[type="time"]:valid {
    border-color: var(--success-color);
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

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

.number-input {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.number-input button {
    background: var(--primary);
    border: none;
    padding: 12px 15px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.number-input button:hover {
    background: var(--dark);
}

.number-input input {
    border: none;
    text-align: center;
    padding: 12px 5px;
    border-radius: 3px 10px;
    flex: 1;
}

.number-input input:focus {
    box-shadow: none;
}

.special-requests {
    width: 100%;
}

.validation-message {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.input-wrapper.invalid .validation-message {
    display: block;
}

.input-wrapper.invalid input {
    border-color: var(--error-color);
}

.availability-check {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    display: none;
}

.availability-check.available {
    background: #d4edda;
    color: var(--success-color);
    display: block;
}

.availability-check.unavailable {
    background: #f8d7da;
    color: var(--error-color);
    display: block;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
}

/* Info items */

h3 {
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: .7rem;
}

.info-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: .7rem;
    width: 1rem;
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
}

.footer-content {
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-column h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column p {
    margin-bottom: 15px;
    text-align: justify;
    color: #bbb;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
}

.copyright a {
    color: #bbb;
    text-decoration: none;
    font-weight: 400;
}

/* footer bar */
.barContainer {
    background-color: var(--dark);
    color: var(--light);
    width: 100%;
    padding: .5rem;
}

.footerBar {
    border-top: 2px solid rgba(255, 145, 0, 0.2);
    max-width: 80%;
    padding: 1rem 1.25rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footerBar .footer-text {
    padding-top: 1.5rem;
    font-size: 0.875rem;
    text-align: center;
}

.footerBar .footer-link {
    font-weight: bold;
    text-decoration: none;
    color: inherit;
}

.footerBar .footer-links {
    display: inline-flex;
    justify-content: center;
    margin-top: 1rem;
    margin-right: 0;
    gap: 2rem;
}

.footerBar .footer-links a {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 728px) {
    .footerBar .footer-links {
        gap: 1rem;
    }
}

/* Responsive adjustments */
@media (min-width: 640px) {
    .footerBar {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

    .footerBar .footer-text {
        margin-top: 0;
        margin-left: 1.5rem;
        text-align: left;
    }
}

/* Prevent right-click context menu on gallery images */
.gallery-item,
.modGallery-image {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Responsive adjustments for modGallery */
@media (max-width: 768px) {
    .modGallery-watermark {
        font-size: 2.5rem;
    }

    .modGallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .modGallery-prev {
        left: 10px;
    }

    .modGallery-next {
        right: 10px;
    }

    .modGallery-close {
        top: 10px;
        right: 10px;
    }

    .modGallery-logo {
        width: 80px;
        height: 40px;
        bottom: 10px;
        right: 10px;
    }

    .reservation-container {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: .4rem 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        padding: 1rem;
        background-color: rgba(255, 107, 9, 0.4);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: .5rem 0;
        padding: 1rem;
        background-color: var(--accent);
        border-radius: 1rem;
        box-shadow: var(--dark);
    }

    .mobile-menu {
        display: block;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .gallery-grid {
        gap: .5rem
    }

    .gallery-item {
        height: 5rem;
        border: var(--primary) 2px solid;
    }
}

/* --- MODAL DSVGO --- */
.dsvgo {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.dsvgo.hidden {
    display: none;
}

.dsvgo-content {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--accent);
    border: var(--primary) solid 3px;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    margin: .3rem;
    padding: 1.5rem;
    max-width: 400px;
    width: 100%;
}

.dsvgo-content h2 {
    text-align: center;
    font-size: 1.3rem;
    width: 100%;
    font-weight: 600;
    margin-bottom: 1rem;
}

.dsvgo-content p {
    text-align: justify;
    font-size: .9rem;
    width: 100%;
    font-weight: 600;
    margin-bottom: .5rem;
}

/* --- SWITCH GRID --- */
.switch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.switch-item {
    display: flex;
    align-items: center;
}

/* --- SWITCH BASE --- */
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4d4d4d;
    border-radius: 34px;
    transition: background-color 0.3s ease;
}

.slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

/* --- SWITCH STATES --- */
input:checked+.slider {
    background-color: #16a34a;
    /* grün */
}

input:checked+.slider::before {
    transform: translateX(24px);
}

/* --- DISABLED STATE --- */
.slider.required {
    background-color: #dc2626;
    /* rot */
}

input:disabled+.slider.required {
    opacity: 0.8;
    cursor: not-allowed;
}

.switch-label {
    margin-left: 10px;
    font-weight: 500;
}

/* --- BUTTONS --- */
.dsvgo-content .button-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

button {
    background: #111827;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    padding: 8px 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.button-avoid {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: var(--text);
    font-weight: 400;
    border: var(--light) 2px solid;
    border-radius: 6px;
    padding: 8px 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

button:hover {
    background: #374151;
    color: var(--light);
}

/* nav menu */
.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 1rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* section: menu */
.menu {
    background-color: var(--light);
}

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

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

.category-btn {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.menu-items {
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.menu-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.menu-item-image {
    height: 200px;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.1);
}

.menu-item-content {
    padding: 20px;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.menu-item-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

.menu-item-price {
    font-weight: 700;
    color: var(--accent);
}

.menu-item-description {
    color: #666;
    line-height: 1.6;
}

/* sliding background */
.animation-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.sliding-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: auto;
    min-width: 100vw;
}

.cta-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    display: grid;
    grid-template-columns: 15% 70% 15%;
    padding: 2rem;
}