/* ===================================
   FIXED BACKGROUND
   =================================== */
body {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Keep background fixed on all devices */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/bg.png') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

/* ===================================
   STICKY NAVIGATION
   =================================== */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(90, 78, 78, 0.95);
    backdrop-filter: blur(5px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    font-family: 'Playfair Display SC', serif;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #d9d9d9;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d9d9d9;
    transition: width 0.3s ease;
}

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

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a4e4e;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid #b8b8b8;
}

.social-icon:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.logo {
    max-width: 500px;
    width: 100%;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.hero-text {
    max-width: 1000px;
    font-family: 'Libre Baskerville', serif;
    font-size: 35px;
    font-weight: 400;
    line-height: 1.77;
    color: #545454;
    margin-bottom: 3rem;
    letter-spacing: -1.77px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    padding: 18px 32px;
    border-radius: 8px;
    font-family: 'Libre Baskerville', serif;
    font-size: 18px;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    min-width: 180px;
}

.btn-primary {
    background: linear-gradient(158deg, #e7e9ec 0%, #b8b8b8 100%);
    color: #545454;
    box-shadow: 0px 4px 20px rgba(73, 42, 24, 0.08);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 25px rgba(73, 42, 24, 0.15);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #b8b8b8;
    color: #545454;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: #545454;
    transform: translateY(-2px);
}

/* ===================================
   CONTENT SECTIONS
   =================================== */
.content-section {
    min-height: 80vh;
    padding: 4rem 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


.section-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.section-title {
    font-family: 'Great Vibes', cursive;
    font-size: 80px;
    color: #545454;
    letter-spacing: 0.63px;
    line-height: 1.3;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

.section-body {
    font-size: 18px;
    line-height: 1.8;
    color: #545454;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.section-body p {
    margin-bottom: 1rem;
}

/* Gemeinsam Erinnern Section */
.gemeinsam-section .section-content {
    max-width: 1400px;
}

.gemeinsam-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.gemeinsam-row-reverse {
    flex-direction: row-reverse;
}

.gemeinsam-text {
    flex: 1.2;
    text-align: left;
    display: flex;
    align-items: center;
}

.gemeinsam-text p {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    line-height: 1.8;
    color: #545454;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
    margin: 0;
}

.gemeinsam-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.gemeinsam-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Menu Section */
.menu-section .section-content {
    max-width: 1400px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.menu-grid-two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.menu-item {
    text-align: center;
}

.menu-item img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 0 auto 1rem;
    display: block;
}

.menu-item-title {
    font-family: 'Playfair Display SC', serif;
    font-size: 18px;
    font-weight: 400;
    color: #545454;
    letter-spacing: 0.5px;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

/* Contact Info */
.contact-info {
    margin-top: 2rem;
    font-family: 'Playfair Display', serif;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 18px;
    color: #2d2d2d;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

/* ===================================
   KONTAKTE SECTION
   =================================== */
.kontakte-section .section-content {
    max-width: 1400px;
}

.kontakte-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.kontakte-info {
    flex: 0.4;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.kontakte-item {
    text-align: left;
}

.kontakte-label {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 400;
    color: #545454;
    margin: 0 0 0.5rem 0;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.kontakte-text {
    font-family: 'Libre Baskerville', serif;
    font-size: 18px;
    line-height: 1.6;
    color: #545454;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.kontakte-map {
    flex: 0.6;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ===================================
   GALERIE SECTION - CAROUSEL
   =================================== */
.galerie-section .section-content {
    max-width: 1400px;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 3rem;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    box-sizing: border-box;
}

.carousel-item img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(90, 78, 78, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(90, 78, 78, 0.6);
    transform: scale(1.2);
}

.dot.active {
    background: rgba(90, 78, 78, 0.95);
    transform: scale(1.3);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: rgba(90, 78, 78, 0.95);
    backdrop-filter: blur(5px);
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-by {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 20px;
    letter-spacing: 2px;
    color: #ffffff;
}

.footer-logo {
    height: 22px;
    width: auto;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-link {
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-link:hover {
    color: #d9d9d9;
}

.footer-separator {
    color: #ffffff;
}

/* ===================================
   MODAL (IMPRESSUM)
   =================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 32px;
    font-weight: bold;
    color: #545454;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #2d2d2d;
}

.modal-title {
    font-family: 'Great Vibes', cursive;
    font-size: 48px;
    color: #545454;
    margin: 0 0 2rem 0;
    text-align: center;
}

.modal-body {
    font-family: 'Libre Baskerville', serif;
    font-size: 16px;
    line-height: 1.8;
    color: #545454;
}

.modal-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: #2d2d2d;
    margin: 2rem 0 1rem 0;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 0.75rem;
}

.modal-body strong {
    font-weight: 600;
    color: #2d2d2d;
}

.modal-body h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: #2d2d2d;
    margin: 1.5rem 0 0.75rem 0;
}

.modal-body ul {
    margin: 0.5rem 0 1rem 1.5rem;
    list-style-type: disc;
}

.modal-body li {
    margin-bottom: 0.25rem;
    line-height: 1.6;
}

/* ===================================
   FLOATING CALL BUTTON
   =================================== */
.call-button {
    position: fixed;
    bottom: 4rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: rgba(90, 78, 78, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.call-button:hover {
    background: rgba(90, 78, 78, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.call-button svg {
    width: 28px;
    height: 28px;
}

/* Call Popup (Desktop) */
.call-popup {
    display: none;
    position: fixed;
    bottom: 7rem;
    right: 2rem;
    z-index: 9998;
}

.call-popup.active {
    display: block;
}

.call-popup-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    min-width: 250px;
}

.call-popup-close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 24px;
    font-weight: bold;
    color: #545454;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.call-popup-close:hover {
    color: #2d2d2d;
}

.call-popup h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: #2d2d2d;
    margin: 0 0 1rem 0;
}

.call-popup-number {
    font-family: 'Libre Baskerville', serif;
    font-size: 22px;
    font-weight: 600;
    color: rgba(90, 78, 78, 0.95);
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.call-popup-number:hover {
    color: rgba(90, 78, 78, 1);
}

/* ===================================
   RESPONSIVE DESIGN - TABLET
   =================================== */
@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 13px;
    }

    .logo {
        max-width: 400px;
    }

    .hero-text {
        font-size: 24px;
    }

    .section-title {
        font-size: 60px;
    }

    .btn {
        padding: 16px 28px;
        font-size: 16px;
        min-width: 160px;
    }

    /* Gemeinsam Erinnern Responsive */
    .gemeinsam-row {
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .gemeinsam-text p {
        font-size: 18px;
    }

    /* Menu Section Responsive */
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-grid-two {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Carousel Responsive */
    .carousel-item img {
        max-width: 700px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    /* Kontakte Responsive */
    .kontakte-content {
        gap: 2rem;
    }

    .kontakte-map {
        height: 400px;
    }
}

/* ===================================
   RESPONSIVE DESIGN - MOBILE
   =================================== */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(90, 78, 78, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 300px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 16px;
    }

    .nav-link::after {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .social-icons {
        gap: 0.75rem;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    /* Hero Section Mobile */
    .hero {
        padding: 1.5rem;
        min-height: 90vh;
    }

    .logo {
        max-width: 340px;
        margin-bottom: 1.5rem;
    }

    .hero-text {
        font-size: 20px;
        margin-bottom: 2rem;
        letter-spacing: 0;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 18px;
    }

    /* Content Sections Mobile */
    .content-section {
        min-height: auto;
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 52px;
        margin-bottom: 1.5rem;
    }

    .section-body {
        font-size: 18px;
    }

    .contact-info p {
        font-size: 18px;
    }

    /* Gemeinsam Erinnern Mobile */
    .gemeinsam-row {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .gemeinsam-row-reverse {
        flex-direction: column;
    }

    .gemeinsam-text {
        text-align: center;
    }

    .gemeinsam-text p {
        font-size: 18px;
    }

    /* Menu Section Mobile */
    .menu-grid,
    .menu-grid-two {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
    }

    .menu-item img {
        max-width: 100%;
    }

    .menu-item-title {
        font-size: 18px;
    }

    /* Carousel Mobile */
    .carousel-item {
        padding: 0 0.5rem;
    }

    .carousel-item img {
        max-width: 100%;
        border-radius: 8px;
    }

    .carousel-dots {
        gap: 8px;
        margin-top: 1.5rem;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    /* Kontakte Mobile */
    .kontakte-content {
        flex-direction: column;
        gap: 2rem;
    }

    .kontakte-info {
        gap: 1.5rem;
    }

    .kontakte-label {
        font-size: 16px;
    }

    .kontakte-text {
        font-size: 18px;
    }

    .kontakte-map {
        width: 100%;
        height: 350px;
    }

    /* Modal Mobile */
    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
        max-height: 90vh;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        font-size: 30px;
    }

    .modal-title {
        font-size: 40px;
        margin-bottom: 1.5rem;
    }

    .modal-body {
        font-size: 16px;
    }

    .modal-body h3 {
        font-size: 20px;
        margin: 1.5rem 0 0.75rem 0;
    }

    .modal-body h4 {
        font-size: 18px;
    }

    .footer {
        padding: 1.5rem 1rem;
        font-size: 16px;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-left {
        justify-content: center;
    }

    .footer-by {
        font-size: 20px;
    }

    .footer-right {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-separator {
        display: none;
    }

    .footer-link {
        font-size: 16px;
    }

    /* Call Button Mobile */
    .call-button {
        width: 56px;
        height: 56px;
        bottom: 2.5rem;
        right: 1.5rem;
    }

    .call-button svg {
        width: 24px;
        height: 24px;
    }

    /* Hide popup on mobile, direct call instead */
    .call-popup {
        display: none !important;
    }
}

/* ===================================
   VERY SMALL MOBILE
   =================================== */
@media (max-width: 480px) {
    .logo {
        max-width: 240px;
    }

    .hero-text {
        font-size: 16px;
    }

    .section-title {
        font-size: 38px;
    }

    .btn {
        font-size: 15px;
        padding: 12px 20px;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero,
.content-section {
    animation: fadeIn 0.8s ease-out;
}
