:root {
    --black: #8b6c42; /*#8B6C42; 936F3D; Logo: #3E2F13*/
    --white: #ffffff;
    --accent1: #d9a5a5;
    --accent2: #6b8e79;
    --schrift: "Montserrat", sans-serif;
    --font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: var(--white);
    font-family: var(--schrift);
    min-height: 100px;
}

/* Links */
.navbar-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 80px;
    width: auto;
}

/* Mitte */
.navbar-center {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.schriftzug a {
    font-size: 28px;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 10px;
}

.nav-links ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links ul li a {
    color: var(--black);
    font-size: 18px;
    font-weight: bold;
}

.nav-links ul li a:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

/* Rechts */
.navbar-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.btn {
    background-color: var(--black);
    color: var(--white);
    font-weight: bold;
    font-size: 15px;
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
}

.btn:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

.footer {
    background-color: var(--black);
    color: var(--white);
    font-family: var(--schrift);
    padding: 20px;
    text-align: center;
    margin-top: 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.footer-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.video-container {
    position: relative;
    width: 100%;
    height: auto;
}

.video-container img {
    width: 100%;
    height: auto;
    display: block;
}

.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 90px;
    /*border-radius: 10px;*/
    max-width: 80%;
}

.overlay img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 15px;
}

.overlay-text {
    font-size: 18px;
    color: var(--black);
    font-family: var(--schrift);
}

.intro-section {
    display: flex;
    align-items: stretch;
    gap: 30px;
    padding: 20px;
    margin-top: 60px;
    min-height: 400px;
}

.intro-section .text {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.6;
    text-align: justify;
    font-family: var(--schrift);
    color: var(--black);
    font-size: var(--font-size);
    padding-right: 20px;
}

.intro-section .text h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.intro-section video {
    flex: 0 0 25%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    max-height: 300px;
}

.fullwidth-text {
    padding: 20px;
    max-width: 100%;
    font-family: var(--schrift);
    color: var(--black);
    text-align: justify;
    font-size: var(--font-size);
    line-height: 1.6;
}

.paragraph-group {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    font-family: var(--schrift);
    color: var(--black);
    text-align: justify;
    font-size: var(--font-size);
    line-height: 1.6;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.paragraph-group p {
    font-size: var(--font-size);
    line-height: 1.6;
    margin: 0;
}

.paragraph-group h1 {
    text-align: center;
    font-size: var(--font-size);
}

.paragraph-group h3 {
    font-size: var(--font-size);
    font-weight: bold;
}

.adresse {
    text-align: center;
    font-size: var(--font-size);
}

/* AGB Styling */
.agb-content {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: var(--schrift);
    color: var(--black);
    font-size: var(--font-size);
    line-height: 1.6;
}

.agb-content h1 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.agb-content h2 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.agb-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.agb-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.agb-content li {
    margin-bottom: 10px;
}

.galerie {
    margin-top: 120px;
    padding: 20px 5%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.galerie img {
    width: calc(33.333% - 13.33px);
    height: auto;
    object-fit: cover;
}

/* Pop-up Styling */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    font-family: var(--schrift);
    color: var(--black);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--black);
    font-weight: bold;
    line-height: 1;
}

.popup-close:hover {
    color: var(--accent1);
}

.popup-content h2 {
    margin-bottom: 20px;
    font-size: 22px;
    color: var(--black);
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.contact-item strong {
    min-width: 80px;
    color: var(--black);
}

.contact-item a {
    color: var(--black);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--accent1);
    text-decoration: underline;
}

.Speisekarte {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.Speisekarte img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white);
    padding: 10px;
}

.Speisekarte img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        margin-top: 10px;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 10px;
    }

    .buttons {
        margin-top: 10px;
    }

    .footer-content {
        gap: 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 8px;
    }

    .intro-section {
        flex-direction: column;
        align-items: center;
        min-height: auto;
    }

    .intro-section video {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .intro-section .text {
        width: 100%;
    }
    
       .Speisekarte {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 10px;
    }
    
    .Speisekarte img {
        max-width: 100%;
        padding: 8px;
    }
    
@media (max-width: 480px) {
    .Speisekarte {
        padding: 15px 5px;
        gap: 15px;
    }
    
    .Speisekarte img {
        border-radius: 8px;
        padding: 5px;
    }
}
    
}