* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-decoration: none;
    position: relative;
    text-decoration: none;
}

@font-face {
    font-family: "Bernhard";
    src: url("/fonts/Bernhard Normal.ttf") format("truetype");
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

section,
main {
    margin: 1rem;
    border-radius: 1em;
    box-shadow: inset 0 0 10px rgba(255, 255, 255),
        4px 8px 15px rgba(243, 241, 241);
}

img {
    max-width: 100%;
    height: auto;
    /* Behält die Proportionen bei */
    display: block;
    /* Entfernt den Freiraum unter dem Bild */
    filter: drop-shadow(1px 1px 2px lightgrey);
}

/* HEADER UND NAV BAR */
.header {
    background-color: #da832c;
    height: 17dvh;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header img {
    /* Spezifische Regel für das Header-Logo */
    width: 20rem;
    filter: drop-shadow(1px 1px 2px lightgrey);
}

.navbar {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: end;
    width: 100%;
}

.nav-link {
    color: #2c3e50;
    /* Verbessert Kontrast zu weißem Hintergrund */
    text-decoration: none;
    font-weight: bold;
    border: none;
    font-size: clamp(16px, 1.5dvw, 28px);
    transition: color 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.nav-link:hover {
    padding: 5px 10px;
    color: black;
    background-color: #aebdcb;
    /* Neuer Hintergrund, um Kontrast sicherzustellen */
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.3),
        4px 4px 8px rgba(243, 241, 241, 0.3);
}

/* MAIN SECTION */
.main-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    margin-top: 2rem;
    background-color: rgb(119, 119, 119, 0.2);
}

.main-section img {
    width: 20%;
    filter: drop-shadow(1px 1px 2px rgb(68, 68, 68));
    margin-bottom: 2em;
}

#animate {
    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    margin: 1rem 0;
}

.non-service {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25dvh;
    gap: 5rem;
    padding: 2rem;

    @media(max-width: 420px) {
            margin: 8rem 0;
        }
    

    .service-msg {
        border: 5px solid red;
        width: 50%;
        padding: 1rem;
        font-weight: 900;
        color: red;

        @media(max-width: 768px) {
            width: 80%;
            font-weight: bold;
            font-size: 1rem;
        }
    }

    .exclamation {
        font-size: 4rem;
        color: red;

        @media(max-width: 768px) {
            display: none;
        }
    }
}

p {
    text-align: center;

    padding-top: 0.5rem;
}

#animated-text {
    font-size: clamp(16px, 4.5dvw, 72px);

    width: 50%;
}

.p {
    font-size: clamp(16px, 2.5dvw, 72px);

    width: 100%;

    text-align: center;
}

.word-container {
    display: flex;
    justify-content: center;
}

.letter {
    display: inline-block;
    opacity: 0;
    animation: fadeIn 1.2s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-section h1 {
    max-width: 800px;
    margin: 20px auto;
    line-height: 1.6;
    color: black;
    text-align: center;
}

.image {
    display: flex;
    justify-content: center;
}

section {
    padding: 40px 20px;
    text-align: center;
    background-color: #fff;
    margin-top: 20px;
}

h2 {
    color: black;
    font-size: 2.5em;
    margin-bottom: 30px;
}

.menu-section {
    background-color: rgb(119, 119, 119, 0.2);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item h3 {
    color: #2c3e50;
    margin: 15px 0 5px;
}

.menu-item p {
    padding: 0 15px 15px;
    font-size: 0.9em;
}

.order-section {
    background-color: rgb(119, 119, 119, 0.2);
    color: grey;
    width: 50%;
    height: 40dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 2rem;
    border-radius: 1em;
    padding: 2rem;
}

.order-section h2 {
    margin-top: 5rem;
    text-align: center;
    color: black;
    font-size: calc(16px + 2.5dvw);
}

.order-section p {
    margin: 1rem 0;
    color: #444;
    /* Verbessert den Kontrast */
}

.order-button {
    display: inline-block;
    background-color: #2c3e50;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.3),
        4px 8px 15px rgba(243, 241, 241, 0.3);
}

.tel-button {
    display: inline-block;
    background-color: #2c3e50;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.3),
        4px 8px 15px rgba(243, 241, 241, 0.3);

        a {
            color: white;
            font-size: 1rem;
        }
}

.order-button:hover {
    background-color: #aebdcb;
    color: black;
}

.find-us-section {
    background-color: rgb(119, 119, 119, 0.2);
}

.find-us-section p {
    color: #444;
    /* Verbessert den Kontrast */
    margin-bottom: 1em;
}

.open {
    margin: 3rem 0;

    h1 {
            text-align: center;
            margin: 3rem 1rem;
        }
        table {
            margin: 0 auto;
            border-collapse: collapse;
            width: 50%;
            background-color: #fff;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }
        th, td {
            border: 1px solid #ccc;
            padding: 12px 15px;
            text-align: center;
            font-weight: 900;
        }
        th {
            background-color: #da832c;
            color: white;
        }
        tr:nth-child(even) {
            background-color: #f2f2f2;
        }
}

.map-container {
    max-width: 100%;
    margin: 0 auto;
    height: 450px;
    display: flex;
    align-items: center;
    gap: 2em;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer {
    background-color: #da832c;
    color: white;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer .social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    filter: drop-shadow(2px 2px 4px black);
}

.footer .social-icons a {
    color: white;
}

.footer .social-icons a:hover {
    text-decoration: underline;
}

.iconImg {
    width: 40px;
    height: 40px;
    transition: filter 0.3s ease;
}

.imgIcon {
    width: 20%;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon:hover img {
    filter: grayscale(100%);
    opacity: 0.7;
}

@media (max-width: 925px) {
    .nav-link {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        height: 25dvh;
    }

    .navbar {
        justify-content: center;
        gap: 15px;
    }

    .phone-number {
        font-size: 1.1em;
    }

    .menu-item {
        margin-bottom: 20px;
    }

    .map-container {
        height: 300px;
    }

    .main-section img {
        width: 80%;
        filter: drop-shadow(1px 1px 2px lightgrey);
    }

    .imgIcon {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 470px) {
    .main-section img {
        width: 70%;
        filter: drop-shadow(1px 1px 2px lightgrey);
    }

    .phone-number {
        padding: 5px;
        margin-bottom: 0.5rem;
        box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.3),
            4px 4px 8px rgba(243, 241, 241, 0.3);
    }

    .order-section {
        width: 100%;
    }

    .order-section p {
        padding: 10px;
        color: #444;
        /* Verbessert den Kontrast */
    }

    #animated-text {
        width: 100%;
        font-size: 36px;
    }

    .p {
        display: none;
    }

    .order-section h2 {
        margin: 0;
    }
}

@media (max-width: 420px) {
    .navbar {
        justify-content: center;
        gap: 15px;
    }

    .menu-item {
        margin-bottom: 20px;
    }

    .map-container {
        height: 200px;
        width: 100%;
        gap: 0.5px;
    }

    .map-container iframe {
        width: 100%;
    }

    .main-section img {
        width: 70%;
        height: 70%;
        filter: drop-shadow(1px 1px 2px lightgrey);
    }

    .social-icons {
        width: 100%;
        flex-direction: column;
        margin-top: 1rem;
    }
}