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

@font-face {
    font-family: 'ChunkFive';
    src: url('../fonts/ChunkFive.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html,
body {
    height: 100%;
    background-image: url('../img/bg_grey.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #f0f0f0;
    font-family: 'Poppins', sans-serif;
}

body>*:not(.glass-layer):not(.top-navbar) {
    position: relative;
    z-index: 1;
}

.glass-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.2);
}

/* NAVBAR */
.top-navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2rem;
    z-index: 10001;
    color: #fff;
    font-family: 'Poppins', sans-serif !important;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.navbar-toggle span {
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    display: block;
    transition: all 0.3s ease-in-out;
}

.navbar-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.navbar-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 150px;
}

.navbar-logo {
    max-height: 75px;
    margin-bottom: 0.3rem;
}

.desktop-only {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1.5;
}

.mobile-only {
    display: none;
}

.navbar-right {
    min-width: 140px;
    text-align: right;
}

.cta-button {
    background: #00ffa8;
    color: #000;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background 0.3s ease;
    display: inline-block;
    white-space: nowrap;
}

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

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

.nav-links a {
    position: relative;
    font-weight: 600;
    padding-bottom: 0.25rem;
}

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

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

.cta-button:hover {
    background: #00cc8e;
}

.phone-link {
    color: #00ffa8;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
}

.phone-link:hover {
    text-decoration: underline;
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 1300px;
    padding: 0 1.5rem;
    margin: 0 auto;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    overflow: hidden;
    padding: 100px;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1rem 2rem;
}

.hero-logo {
    margin-bottom: 1rem;
}

.hero-logo img {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.5));
}

.hero h1 {
    font-family: 'ChunkFive', serif;
    font-size: 3rem;
    padding: 1rem 2rem;
}

/* DIVIDER */
.divider {
    width: 90%;
    height: 2px;
    margin: 2rem auto;
}

/* WRAPPERS */
.essen-wrapper,
.leistungen-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

/* SECTIONS */
section {
    padding: 4rem 0;
}

/* ESSEN SECTION */
.essen-text,
.leistungen-text {
    flex: 1 1 40%;
    max-width: 40%;
}

.essen-text h2,
.leistungen-text h2 {
    font-family: 'ChunkFive', serif;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.essen-text p {
    font-size: 1.3rem;
    line-height: 1.6;
}

/* IMAGES */
.essen-image,
.leistungen-image {
    flex: 1 1 50%;
    max-width: 50%;
    text-align: center;
}

.essen-image {
    position: relative;
}

.essen-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.leistungen-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* LEISTUNGEN LISTE */
.leistungen-list {
    list-style: none;
    padding-left: 0;
}

.leistungen-text ul {
    list-style: none;
    padding-left: 0;
    font-size: 1.3rem;
    line-height: 1.6;
}

.leistungen-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.bullet {
    color: #00ffa8;
    font-weight: bold;
    width: 1.2rem;
    flex-shrink: 0;
    margin-right: 0.5rem;
    /* 👈 Abstand zwischen Bullet und Text */
}

/* FOOTER */
.site-footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    color: #eee;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo img {
    max-width: 100px;
    height: auto;
}

.footer-text-right {
    text-align: center;
}

.footer-text-center {
    text-align: center;
    text-decoration: none;
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0 0.5rem;
}

.footer-text-right a {
    color: #00ffa8;
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-text-right a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .top-navbar {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .navbar-toggle {
        display: flex !important;
        margin-left: auto;
    }

    .nav-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
    }

    .navbar-content {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.5s ease, opacity 0.4s ease;
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding-top: 0;
    }
    
    .navbar-content.show {
        max-height: 500px;
        opacity: 1;
        padding-top: 1rem;
    }

    .navbar-left,
    .navbar-right {
        align-items: center;
    }

    .navbar-left {
        display: none;
        flex-direction: column;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
        text-align: center;
        font-size: 1.0rem;
        line-height: 1.2;
    }

    .navbar-right {
        text-align: center;
        width: 100%;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        width: 80%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        transition: var(--transition-slow);
        padding: 2rem;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

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

    /* HERO */
    .hero h1 {
        font-size: 2rem;
    }

    .essen-wrapper,
    .leistungen-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .essen-text,
    .leistungen-text,
    .essen-image,
    .leistungen-image {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .leistungen-image {
        order: 2;
    }

    .leistungen-text {
        order: 1;
    }

    .essen-text h2,
    .leistungen-text h2 {
        font-size: 2rem;
        text-align: center;
    }

    .essen-text p {
        text-align: center;
        font-size: 1.0rem;
    }

    .leistungen-text ul {
        padding-inline-start: 1rem;
        font-size: 1.0rem;
        text-align: left;
    }

    .footer-wrapper {
        flex-direction: column;
        text-align: center;
    }

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

    .popup-content {
        width: 85%;
        padding: 1.5rem;
        font-size: 1rem;
    }

    .popup-content img {
        max-width: 100%;
        height: auto;
        border-radius: 6px;
    }

    .popup-content button {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (min-width: 769px) {
    .navbar-content {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        /* Horizontale Zentrierung */
        gap: 1rem;
    }

    .navbar-center.desktop-only {
        text-align: center;
        flex: 1;
        justify-content: center;
        display: flex;
        align-items: center;
        /* Vertikale Zentrierung */
        flex-direction: column;
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .navbar-left,
    .navbar-right {
        flex: 0 0 auto;
    }
}


.popup-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    padding: 2rem !important;
}

.popup-content {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.6;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.5s ease-out;
}

.popup-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.popup-content button {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background: #000;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.popup-content button:hover {
    background: #333;
}

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

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

.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.hidden {
    display: none !important;
}