:root {
    --text-color: white;
    --font: "Barlow", sans-serif;
    --border-radius-small: 5px;
    --border-radius-medium: 10px;
    --border-radius-big: 18px;
    --accent-color: rgb(156, 0, 0);
    --animation-duration-slow: 1s;
}

::selection {
    background-color: var(--accent-color);
    color: white;
}

::-webkit-scrollbar {
    display: none;
}

body,
html {
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 20px;
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    display: flex;
    flex-direction: column;
}

html.no-scroll {
    overflow: hidden !important;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.header {
    font-size: clamp(19px, 2.5vw, 1.5rem);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-self: center;
    gap: 5vw;
    top: 30px;
    background-color: rgba(0, 0, 0, 0.748);
    padding: 15px 10px;
    border-radius: var(--border-radius-big);
    border: 1px solid white;
    backdrop-filter: blur(5px);
    position: fixed;
    width: 90vw;
    color: white;
    transition: 0.5s;
    z-index: 5 !important;
}

.header.scrolled {
    top: 0 !important;
    border-radius: 0 !important;
    border-top: none !important;
    border-bottom: 1px solid white !important;
    width: 100vw !important;
    z-index: 5 !important;
}

.header a {
    text-decoration: none;
    color: white;
}

.header a:hover {
    text-decoration: underline;
}

.burger-button {
    color: black;
    position: absolute;
    right: 15px;
    font-size: 25px;
    transition: 0.3s;
    display: none;
}

.burger-button:hover {
    cursor: pointer;
}

.start-view>* {
    z-index: 1;
}


.start-view::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: brightness(0.4);
    z-index: 0;
}

.start-view {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    background-image: url(img/start-pic.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.start-inhalt {
    margin-top: 150px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100vw;
}

.start-title-special {
    font-size: 45px;
    color: #f3cd70ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.start-title {
    color: white;
    font-size: 40px;
    font-weight: 600;
    padding: 0 10px;
    align-self: center;
    text-align: center;
    -webkit-animation: slide-in-bottom var(--animation-duration-slow) cubic-bezier(0.250, 0.460, 0.450, 0.940) both 0.5s;
    animation: slide-in-bottom var(--animation-duration-slow) cubic-bezier(0.250, 0.460, 0.450, 0.940) both 0.5s;
}

.bewertungen-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
    color: rgb(0, 0, 0);
    margin-top: 40px;
    margin-left: -20px;
    font-size: clamp(19px, 2.5vw, 1rem);
    background-color: white;
    padding: 8px 20px 8px 40px;
    height: 150px;
    width: fit-content;
    border-radius: var(--border-radius-small);
    -webkit-animation: slide-in-left var(--animation-duration-slow) cubic-bezier(0.250, 0.460, 0.450, 0.940) both 1s;
    animation: slide-in-left var(--animation-duration-slow) cubic-bezier(0.250, 0.460, 0.450, 0.940) both 1s;
}

.gerichte-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    align-self: flex-end;
    justify-content: center;
    color: rgb(0, 0, 0);
    margin-right: -20px;
    font-size: clamp(19px, 2.5vw, 1rem);
    background-color: white;
    padding: 8px 40px 8px 20px;
    height: 150px;
    width: fit-content;
    border-radius: var(--border-radius-small);
    -webkit-animation: slide-in-right var(--animation-duration-slow) cubic-bezier(0.250, 0.460, 0.450, 0.940) both 1.3s;
    animation: slide-in-right var(--animation-duration-slow) cubic-bezier(0.250, 0.460, 0.450, 0.940) both 1.3s;
}

.gerichte-text i {
    color: green;
    font-size: 30px;
}

.bewertungen-text a {
    color: black;
    text-underline-offset: 2px;
}

.star {
    color: rgb(255, 217, 0);
    font-size: 28px;
}

.geschwungen {
    margin-top: 60px;
    width: 50vw;
    height: auto;
    align-self: center;
}

.scroll-box {
    background-color: rgb(35, 35, 35);
    color: white;
    height: 14vh;
    margin-top: 60px;
    width: 85%;
    align-self: center;
    border-radius: 30px;
    padding: 10px 15px;
    transition: 0.s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    opacity: 0;
}

.scroll-box.scroll {
    -webkit-animation: slide-in-bottom var(--animation-duration-slow) cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-in-bottom var(--animation-duration-slow) 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.scroll-box i {
    align-self: center;
    font-size: 60px;
    color: white;
    margin-top: 5px;
    position: absolute;
    z-index: 2;
    top: 30px;
    transition: 0.3s;
    opacity: 1;
}

.scroll-box img {
    align-self: center;
    object-fit: cover;
    object-position: center;
    border-radius: 29px;
    width: 110%;
    height: auto;
    margin-top: -10px;
    filter: brightness(0.7);
}

.scrollbox-text {
    text-align: center;
    margin-top: 15px;
}

.standort,
.opening-header {
    align-self: center;
    margin-top: 50px;
    font-size: clamp(1rem, 2rem, 3rem);
    opacity: 1;
}

.standort.scroll {
    -webkit-animation: slide-in-bottom var(--animation-duration-slow) cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-in-bottom var(--animation-duration-slow) cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.map-container {
    margin-top: 20px;
    width: 95vw;
    align-self: center;
    opacity: 0;
}

.map-container.scroll {
    -webkit-animation: slide-in-bottom var(--animation-duration-slow) cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-in-bottom var(--animation-duration-slow) cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.map-container iframe {
    border-radius: var(--border-radius-medium);
    height: 50vh;
}

/* Speisekarten style */

.angebot-container {
    background-color: rgba(84, 84, 84, 0.729);
    backdrop-filter: blur(5px);
    padding: 10px 25px;
    padding-left: 30px;
    border-radius: var(--border-radius-medium);
    opacity: 0;
    font-family: sans-serif;
}

.angebot-container.scroll {
    -webkit-animation: slide-in-bottom var(--animation-duration-slow) cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-in-bottom var(--animation-duration-slow) cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.angebot-container-special {
    background-color: rgba(200, 0, 0, 0.729);
    position: relative;
}

.angebot {
    color: white;
    display: flex;
    justify-content: space-between;
}

.angebot-text {
    position: absolute;
    left: -15px;
    top: -5px;
    color: white;
    transform: rotate(330deg);
    font-size: 18px;
    font-weight: 600;
    animation: pulse-regular 2s ease 0s normal forwards infinite;
}

.preis {
    font-weight: 600;
}

.header-over {
    display: flex;
    justify-content: center;
}

.angebot-main {
    z-index: 1;
    width: 90vw;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.speisekarte:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: brightness(0.4);
    z-index: 0;
}

.speisekarte {
    margin-top: 100px;
    width: 100vw;
    background: linear-gradient(45deg, black, rgb(137, 137, 137));
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    padding-bottom: 25px;
    z-index: 1;
    position: relative;
    opacity: 0;
    height: 400px;
    overflow: hidden;
    transition: 0.5s;
}

.speisekarte-more,
.speisekarte-less {
    background-color: rgba(22, 22, 22, 0.437);
    border-top: 0.5px solid gray;
    backdrop-filter: blur(3px);
    position: absolute;
    bottom: 0;
    width: 100%;
    align-self: center;
    padding: 5px;
    text-align: center;
    display: none;
    opacity: 0;
    transition: 0.3s;
    z-index: 5;
}

.speisekarte-more {
    display: block;
    opacity: 1;
}

.speisekarte-more button,
.speisekarte-less button {
    background-color: transparent;
    color: white;
    font-size: 17px;
    border: none;
}

.speisekarte-more button:hover,
.speisekarte-less button:hover {
    cursor: pointer;
}

.speisekarte.scroll {
    -webkit-animation: fade-in 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: fade-in 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.special-meldung {
    font-size: 17px;
    font-weight: 500;
    font-style: italic;
    padding-left: 3px;
}

.angebot-container-header {
    margin-top: 10px;
    color: rgb(255, 255, 255);
    z-index: 1;
    align-self: center;
    font-size: 35px;
    font-weight: 600;
    -webkit-animation: slide-in-bottom var(--animation-duration-slow) cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-in-bottom var(--animation-duration-slow) cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.angebot-container-kategorie {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 27px;
    font-weight: 600;
    text-align: center;
    gap: 15px;
    margin: 30px 0 -10px 0;
}

.angebot-container-kategorie.scroll {
    -webkit-animation: slide-in-bottom var(--animation-duration-slow) cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-in-bottom var(--animation-duration-slow) cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.angebot-container-kategorie span {
    text-transform: uppercase;
}

.angebot-container-kategorie::before,
.angebot-container-kategorie::after {
    content: "";
    flex: 1;
    /* Linien dehnen sich bis zum Rand */
    height: 2px;
    /* Linienstärke */
    background-color: white;
    opacity: 0.6;
}

.site-footer {
    background-color: rgb(34, 34, 34);
    color: white;
    padding: 30px 20px;
    font-family: var(--font);
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--accent-color);
}

.footer-section p {
    font-size: 14px;
    line-height: 1.5;
    color: white;
}

.footer-section a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-section a:hover {
    color: var(--accent-color);
    transition: 0.3s;
}

.footer-bottom {
    border-top: 1px solid #555;
    text-align: center;
    padding-top: 10px;
    font-size: 15px;
    margin-bottom: -20px;
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
}

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

.speisekarte-buttons {
    z-index: 3;
    align-self: center;
    margin: 10px 0 -20px 0;
}

.speisekarte-buttons button {
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid white;
    background-color: transparent;
    font-size: 18px;
    color: white;
    transition: 0.3s;
}

.speisekarte-buttons button:hover {
    cursor: pointer;
    background-color: rgb(47, 46, 46);
}

.speisekarte-buttons.scroll {
    -webkit-animation: slide-in-bottom var(--animation-duration-slow) cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-in-bottom var(--animation-duration-slow) cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

/* Grund-Styling für den Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    pointer-events: all;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-animation: fade-in 0.7s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: fade-in 0.7s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.popup {
    background: linear-gradient(135deg, #212121 0%, #3c3c3c 100%);
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    color: white;
    -webkit-animation: flip-in-hor-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both 0.1s;
    animation: flip-in-hor-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both 0.1s;
}

#beilagenPopup {
    max-height: 50vh;
    align-self: center;
    padding: 15px 20px;
    overflow-y: scroll;
    padding-top: 30px;
}

#beilagenPopup::-webkit-scrollbar-track {
    background-color: #000000;
}

.popup-wrapper {
    align-self: center;
    border-radius: 15px;
    width: 50%;
    z-index: 2;
    overflow: hidden;
}

.beilagen-inhalt {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.element-beilage {
    border: 1px solid rgb(230, 230, 230);
    border-radius: 12px;
    padding: 5px 10px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    position: relative;
    font-weight: 600;
}

.element-beilage span {
    margin-left: 90px;
    font-size: 25px;
}

.element-beilage img {
    width: 90px;
    height: 70px;
    border-radius: 10px;
    position: absolute;
    left: 0;
    object-fit: cover;
    object-position: center;
}

.hinweis-beilage {
    position: absolute;
    bottom: 4px;
    right: 7px;
    font-size: 16px;
}

.close-button {
    position: absolute;
    top: 13px;
    right: 11px;
    transition: 0.5s;
}

.close-button:hover {
    color: red;
    cursor: pointer;
}

.beilagen-kategorie {
    text-transform: uppercase;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
}

.beilagen-kategorie::before,
.beilagen-kategorie::after {
    content: "";
    flex: 1;
    height: 2px;
    background-color: white;
}

.zusatzinfo {
    font-size: 15px !important;
    position: absolute;
    bottom: 0;
    margin-left: 4px;
    font-style: italic;
    text-underline-offset: 2px;
    color: rgb(232, 232, 232);
}

.instagram-logo {
    align-self: center;
    position: absolute;
    right: 20px;
    top: 14.5px;
    transition: 0.5s;
}

.instagram-logo img {
    width: 27px;
    height: auto;
}

#scrollboxIcon {
    width: 40px;
    height: auto;
    position: absolute;
}

.angebot-name {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    width: calc(100% - 55px); /* 80px Platz für Preis, anpassen nach Bedarf */
}

.angebot-name .zusatzinfo {
    position: relative; /* vorher absolute */
    display: inline;
    margin-left: 4px;
}

.angebot-name > span {
    display: inline-block;
    white-space: nowrap;
}

@media only screen and (max-width: 360px) {
    .instagram-logo {
        display: none;
    }
}

@media only screen and (max-width: 880px) {
    .popup-wrapper {
        width: 85% !important;
    }
}

@media only screen and (max-width: 680px) {
    .start-inhalt {
        gap: 45px;
        margin-top: 130px;
    }

    .star {
        font-size: 24px;
    }

    .scroll-box {
        height: 14vh;
    }

    .scroll-box i {
        display: block;
    }

    .gerichte-text {
        height: 100px;
    }

    .bewertungen-text {
        height: 100px;
        gap: 10px;
    }

    .start-title-special {
        font-size: 35px;
    }

    .start-title {
        font-size: 28px;
    }

    .start-view {
        background-image: url(img/start-pic-mobile.jpg);
    }

    .geschwungen {
        width: 95vw;
    }

    .standort,
    .opening-header {
        font-size: clamp(1rem, 1.5rem, 3rem);
    }

    .opening-second-text {
        display: none;
    }

    .opening {
        justify-content: center;
        padding: 10px 0;
        display: none;
    }

    .opening-header {
        display: none;
    }

    .popup-wrapper,
    #beilagenWrapper {
        width: 98% !important;
    }

    #beilagenPopup {
        scrollbar-width: thin;
        max-height: 50vh !important;
        min-height: 45vh;
    }

    .instagram-logo {
        right: 10px;
    }

    .instagram-logo.scrolled {
        right: 20px !important;
    }

    .instagram-logo img {
        width: 23px;
        height: auto;
    }
}