/* ==========================
   GRUNDEINSTELLUNGEN
========================== */

* {
    box-sizing: border-box;
}


:root {

    --green: #4b6242;
    --green-dark: #35472f;

    --wood: #8a6a45;

    --cream: #faf5ea;
    --beige: #eee3d2;

    --text: #38352f;
    --text-light: #706b63;

    --white: #ffffff;

    --radius: 18px;

    --shadow:
        0 8px 20px rgba(0, 0, 0, 0.08);

}


body {

    margin: 0;

    font-family: Arial, sans-serif;

    background-color: var(--cream);

    color: var(--text);

}


img {

    max-width: 100%;

    display: block;

}



/* ==========================
   ALLGEMEINE KARTEN
========================== */

.card {

    background-color: var(--beige);

    padding: 1.5rem;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

}



/* ==========================
   ÜBERSCHRIFTEN
========================== */

h1,
h2,
h3 {

    color: var(--text);

}


h2 {

    font-size: 1.8rem;

    margin-bottom: 1.5rem;

}


h3 {

    color: var(--green);

}


/* ==========================
   ALLGEMEINE ABSCHNITTSABSTÄNDE
========================== */

main section {

    margin-bottom: 3rem;

}


section h1,
section h2 {

    margin-bottom: 1.5rem;

}


section p {

    margin-bottom: 1.2rem;

}



/* ================================================================
   HEADER
=================================================================== */

header {

    position: sticky;

    top: 0;

    z-index: 1000;

    padding: 1rem 1.25rem;

    background-color: rgba(250, 245, 234, 0.8);

    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(138, 106, 69, 0.15);

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);

}


.container {

    max-width: 1200px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

}



/* ==========================
   LOGO
========================== */

.logo {

    display: block;

    text-decoration: none;

    transition: 0.2s;

}


.logo img {

    width: 220px;

    height: auto;

    display: block;

}


.logo:hover {

    opacity: 0.85;

}



/* ==========================
   BURGER BUTTON
========================== */

#menu-button {

    border: none;

    background: none;

    width: 40px;

    height: 40px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 6px;

    cursor: pointer;

}


#menu-button span {

    display: block;

    width: 28px;

    height: 3px;

    background-color: var(--text);

    border-radius: 5px;

    transition: 0.3s;

}



/* ==========================
   BURGER ZU X
========================== */

#menu-button.active span:nth-child(1) {

    transform: rotate(45deg) translate(6px, 6px);

}


#menu-button.active span:nth-child(2) {

    opacity: 0;

}


#menu-button.active span:nth-child(3) {

    transform: rotate(-45deg) translate(6px, -6px);

}



/* ==========================
   MOBILES MENÜ
========================== */

#mobile-menu {

    position: absolute;

    top: 75px;

    right: 1rem;

    width: 75%;

    background-color: rgba(250, 245, 234, 0.95);

    padding: 1.5rem;

    border-radius: 15px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

    display: block;

    opacity: 0;

    pointer-events: none;

    transform: translateY(-10px);

    transition: 0.3s;

}


#mobile-menu.active {

    opacity: 1;

    pointer-events: auto;

    transform: translateY(0);

}


#mobile-menu a {

    display: block;

    color: var(--text);

    text-decoration: none;

    padding: 0.8rem 0;

    border-bottom: 1px solid #ddd;

}



/* ================================================================
   BUTTONS
=================================================================== */

.button {

    display: inline-block;

    text-align: center;

    padding: 0.9rem 1.5rem;

    background-color: var(--green);

    color: white;

    text-decoration: none;

    border-radius: 12px;

    font-size: 1rem;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;

}


.button:hover {

    background-color: var(--green-dark);

    transform: translateY(-2px);

}


.button-secondary {

    background-color: transparent;

    color: var(--green);

    border: 2px solid var(--green);

}



/* ================================================================
   STARTSEITE
=================================================================== */


/* ==========================
   HERO
========================== */

.hero {

    padding: 1.25rem;

}


.hero-image img {

    width: 100%;

    height: 300px;

    object-fit: cover;

    border-radius: 20px;

}


.hero-content {

    padding: 1.5rem 0.5rem;

}


.hero-content h1 {

    font-size: 2rem;

    line-height: 1.2;

    margin-bottom: 1rem;

}


.hero-content p {

    line-height: 1.6;

    color: var(--text-light);

}


.hero-buttons {

    display: flex;

    flex-direction: column;

    gap: 0.8rem;

    margin-top: 1.5rem;

}



/* ==========================
   NEUIGKEITEN
========================== */

.news {

    padding: 1.25rem;

}


.news h2 {

    margin-bottom: 2rem;

}


.news-card {

    background-color: var(--beige);

    padding: 1.5rem;

    border-radius: 15px;

    margin-bottom: 1rem;

}


.news-card h3 {

    margin-top: 0;

    font-size: 1.3rem;

}


.news-card p {

    line-height: 1.6;

    margin-bottom: 1.2rem;

}



/* ==========================
   INSTAGRAM KARTE
========================== */

.instagram-card {

    margin: 0 1.25rem 3rem 1.25rem;

    padding: 2rem 1.5rem;

    background-color: var(--beige);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    text-align: center;

}


.instagram-content {

    max-width: 650px;

    margin: 0 auto;

}


.instagram-label {

    display: block;

    margin-bottom: 0.5rem;

    color: var(--wood);

    font-size: 0.9rem;

    font-weight: bold;

    letter-spacing: 0.05em;

    text-transform: uppercase;

}


.instagram-card h2 {

    margin-top: 0;

    margin-bottom: 0.8rem;

}


.instagram-card p {

    margin-bottom: 1.5rem;

    color: var(--text-light);

    line-height: 1.7;

}


.instagram-button {

    display: inline-block;

    padding: 0.9rem 1.5rem;

    background-color: var(--green);

    color: var(--white);

    text-decoration: none;

    border-radius: 12px;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;

}


.instagram-button:hover {

    background-color: var(--green-dark);

    transform: translateY(-2px);

}


/* ==========================
   ÜBER UNS VORSCHAU
========================== */

.about-preview {

    padding: 1.25rem;

}


.about-preview p {

    line-height: 1.7;

    color: var(--text-light);

    margin-bottom: 1rem;

}



/* ==========================
   GALERIE VORSCHAU
========================== */

.gallery-preview {

    padding: 2rem 1.25rem;

}


.gallery-preview h2 {

    margin-bottom: 0.8rem;

}


.gallery-preview p {

    color: var(--text-light);

    line-height: 1.7;

    margin-bottom: 1.8rem;

}


.gallery-images {

    display: grid;

    grid-template-columns: 1fr 1fr;

    grid-template-rows: 220px 160px;

    gap: 1rem;

    margin-bottom: 2rem;

}


.gallery-large {

    grid-column: 1 / 3;

}


.gallery-images img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    border-radius: 18px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.gallery-images img:hover {

    transform: translateY(-4px);

    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);



}


.gallery-preview .button {

    width: 100%;

}



/* ================================================================
   ÜBER UNS SEITE
=================================================================== */

.about-intro,
.about-story,
.about-location,
.about-atmosphere,
.about-contact {

    padding: 1.25rem;

}


.about-intro p,
.about-story p,
.about-location p,
.about-atmosphere p,
.about-contact p {

    line-height: 1.7;

    color: var(--text-light);

}


.about-story,
.about-atmosphere {

    background-color: var(--beige);

    margin: 1.25rem;

    border-radius: 15px;

}


.about-contact {

    text-align: center;

    margin-bottom: 2rem;

}



/* ================================================================
   GALERIE SEITE
=================================================================== */

.gallery-intro {

    padding: 1.25rem;

}


.gallery-intro p {

    color: var(--text-light);

    line-height: 1.7;

}


.gallery-page {

    padding: 1.25rem;

}


.gallery-grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 1.5rem;

}


.gallery-item {

    overflow: hidden;

    border-radius: 18px;

    background-color: var(--beige);

}


.gallery-item img {

    width: 100%;

    height: 260px;

    object-fit: cover;

    transition: transform 0.3s ease;

}


.gallery-item:hover img {

    transform: scale(1.03);
  

}



/* ================================================================
   EVENTS SEITE
=================================================================== */

.events-intro {

    padding: 1.25rem;

}


.events-intro p {

    color: var(--text-light);

    line-height: 1.7;

}


.events-list {

    padding: 1.25rem;

}


.event-card {

    background-color: var(--beige);

    border-radius: 18px;

    overflow: hidden;

    margin-bottom: 2rem;

}


.event-card img {

    width: 100%;

    height: 220px;

    object-fit: cover;

}


.event-content {

    padding: 1.5rem;

}


.event-content h2 {

    margin-top: 0;

    font-size: 1.5rem;

}


.event-date {

    color: var(--green);

    font-weight: bold;

}


.event-content p {

    line-height: 1.6;

}



/* ================================================================
   KONTAKTSEITE
=================================================================== */


/* ==========================
   EINLEITUNG
========================== */

.contact-intro {

    padding: 1.25rem;

}


.contact-intro h1 {

    font-size: 2rem;

    margin-bottom: 1rem;

}


.contact-intro p {

    line-height: 1.7;

    color: var(--text-light);

}



/* ==========================
   KONTAKT + ÖFFNUNGSZEITEN
========================== */

.contact-overview {

    padding: 0 1.25rem;

}


.contact-card {

    background: var(--beige);

    padding: 1.5rem;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    margin-bottom: 1.5rem;

}


.contact-card p {

    line-height: 1.7;

    color: var(--text-light);

}


.contact-card strong {

    color: var(--text);

}


.hours-item {

    padding: 0.9rem 0;

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);

}


.hours-item:last-of-type {

    border-bottom: none;

}


.hours-item h3 {

    margin: 0 0 0.3rem;

    color: var(--green);

}


.hours-item p {

    margin: 0;

}


.hours-note {

    margin-top: 1rem;

    font-size: 0.95rem;

}



/* ==========================
   KONTAKTFORMULAR
========================== */

.contact-form-section {

    padding: 1.25rem;

}


.contact-form-section p {

    color: var(--text-light);

    line-height: 1.7;

}


.contact-form {

    margin-top: 1.5rem;

    display: flex;

    flex-direction: column;

    gap: 1rem;

}


.contact-form input,
.contact-form textarea {

    width: 100%;

    padding: 1rem;

    border: 1px solid #d8cdbc;

    border-radius: 12px;

    background: var(--white);

    font-size: 1rem;

    font-family: inherit;

}


.contact-form textarea {

    resize: vertical;

    min-height: 180px;

}


.contact-form input:focus,
.contact-form textarea:focus {

    outline: none;

    border-color: var(--green);

}


.contact-form button {

    width: 100%;

}


.form-message {

    margin-top: 1rem;

    font-weight: bold;

    text-align: center;

    min-height: 24px;

}


.form-message.success {

    color: var(--green);

}


.form-message.error {

    color: #b22222;

}



/* ==========================
   GOOGLE MAPS
========================== */

.location {

    padding: 1.25rem;

}


.map-container {

    margin-top: 1rem;

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: var(--shadow);

    background: var(--beige);

    height: 320px;

}


.map-container iframe {

    width: 100%;

    height: 100%;

    border: none;

}

/* ==========================
   GOOGLE MAPS EINWILLIGUNG
========================== */

.map-consent {
    width: 100%;
    height: 100%;
    padding: 1.25rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;

    background-color: var(--beige);
    text-align: center;
}

.map-consent p {
    margin: 0;
    color: var(--text);
    line-height: 1.6;
    font-size: 0.95rem;
}

.map-consent a {
    color: var(--green-dark);
    text-decoration: underline;
}

.map-consent button {
    max-width: 100%;
}



/* ==========================
   RESERVIERUNGS-HINWEIS
========================== */

.reservation-info {

    padding: 1.25rem;

    margin-bottom: 2rem;

}


.reservation-info p {

    line-height: 1.7;

    color: var(--text-light);

}



/* ================================================================
   LIGHTBOX
=================================================================== */

.lightbox {

    position: fixed;

    inset: 0;

    z-index: 2000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 1rem;

    background-color: rgba(0, 0, 0, 0.88);

    opacity: 0;

    pointer-events: none;

    transition: opacity 0.25s ease;

}


/* ==========================
   LIGHTBOX GEÖFFNET
========================== */

.lightbox.active {

    opacity: 1;

    pointer-events: auto;

}


/* ==========================
   GROSSES BILD
========================== */

.lightbox img {

    display: block;

    width: auto;

    height: auto;

    max-width: 100%;

    max-height: 85vh;

    object-fit: contain;

    border-radius: 10px;

}


/* ==========================
   SCHLIESSEN BUTTON
========================== */

.lightbox-close {

    position: absolute;

    top: 1rem;

    right: 1rem;

    z-index: 2001;

    width: 44px;

    height: 44px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.9);

    color: var(--text);

    font-size: 1.8rem;

    line-height: 1;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

}


/* ==========================
   GALERIEBILDER ANKLICKBAR
========================== */

.gallery-item img {

    cursor: pointer;

}

/* Bilder mit Lightbox anklickbar machen 

.lightbox-trigger {
    cursor: zoom-in;
} */



/* ================================================================
   FOOTER
=================================================================== */

footer {

    margin-top: 3rem;

    padding: 2.5rem 1.25rem 1.5rem;

    background-color: var(--green-dark);

    color: var(--white);

}


/* ==========================
   FOOTER INHALT
========================== */

.footer-content {

    display: flex;

    flex-direction: column;

    gap: 2rem;

    max-width: 1200px;

    margin: 0 auto;

}


/* ==========================
   FOOTER BEREICHE
========================== */

.footer-info,
.footer-contact,
.footer-navigation,
.footer-social {

    text-align: center;

}


.footer-info h2 {

    margin-top: 0;

    margin-bottom: 0.8rem;

    color: var(--white);

    font-size: 1.4rem;

}


.footer-content h3 {

    margin-top: 0;

    margin-bottom: 0.8rem;

    color: var(--white);

    font-size: 1rem;

}


.footer-content p {

    margin: 0.4rem 0;

    color: rgba(255, 255, 255, 0.85);

    line-height: 1.6;

}


/* ==========================
   LINKS
========================== */

.footer-content a {

    color: rgba(255, 255, 255, 0.9);

    text-decoration: none;

    transition: color 0.2s ease;

}


.footer-content a:hover {

    color: var(--white);

}


/* ==========================
   NAVIGATION
========================== */

.footer-navigation {

    display: flex;

    flex-direction: column;

    gap: 0.6rem;

}


/* ==========================
   INSTAGRAM
========================== */

.footer-social a {

    display: inline-block;

    margin-top: 0.2rem;

}


/* ==========================
   UNTERER FOOTER
========================== */

.footer-bottom {

    max-width: 1200px;

    margin: 2rem auto 0;

    padding-top: 1.25rem;

    border-top: 1px solid rgba(255, 255, 255, 0.2);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 0.7rem;

    text-align: center;

}


.footer-bottom a,
.footer-bottom span {

    font-size: 0.85rem;

    color: rgba(255, 255, 255, 0.75);

}


.footer-bottom a:hover {

    color: var(--white);

}



/* ===============================================================
   TABLET & DESKTOP
================================================================== */

@media (min-width: 768px) {


    /* ==========================
       ALLGEMEIN
    ========================== */

    main {

        max-width: 100%;

        margin: 0 auto;

    }


    /* ==========================
       HEADER
    ========================== */

    header {

        padding: 1.2rem 2rem;

    }


    /* ==========================
       DESKTOP NAVIGATION
    ========================== */

    #menu-button {

        display: none;

    }


    #mobile-menu {

        position: static;

        width: auto;

        background: none;

        padding: 0;

        border-radius: 0;

        box-shadow: none;

        display: flex;

        gap: 2rem;

        opacity: 1;

        pointer-events: auto;

        transform: none;

    }


    #mobile-menu a {

        border-bottom: none;

        padding: 0;

        color: var(--text);

    }


    #mobile-menu a:hover {

        color: var(--green);

    }



    /* ==========================
       HERO
    ========================== */

    .hero {

        display: grid;

        grid-template-columns: 1.2fr 1fr;

        gap: 3rem;

        align-items: center;

        padding: 3rem 2rem;

    }


    .hero-image img {

        height: 450px;

    }


    .hero-content {

        padding: 0;

    }


    .hero-content h1 {

        font-size: 3rem;

    }


    .hero-buttons {

        flex-direction: row;

    }


    .button {

        width: fit-content;

    }



    /* ==========================
       NEUIGKEITEN
    ========================== */

    .news {

        padding: 2rem;

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 2rem;

    }


    .news h2 {

        grid-column: 1 / -1;

        margin-bottom: 2rem;

    }


    .news-card {

        margin-bottom: 0;

    }

    .instagram-card {

    max-width: 1000px;

    margin: 0 auto 4rem auto;

    padding: 2.5rem 3rem;

}



    /* ==========================
       ÜBER UNS VORSCHAU
    ========================== */

    .about-preview {

        padding: 2rem;

        max-width: 850px;

    }



    /* ==========================
       GALERIE VORSCHAU
    ========================== */

    .gallery-preview {

        padding: 2rem;

    }


    .gallery-images {

        grid-template-rows: 350px 220px;

    }



    /* ==========================
       GALERIE SEITE
    ========================== */

    .gallery-intro {

        max-width: 850px;

        margin: 0 auto;

        padding: 3rem 2rem 1rem;

    }


    .gallery-page {

        padding: 2rem;

    }


    .gallery-grid {

        grid-template-columns: repeat(3, 1fr);

        gap: 2rem;

    }


    .gallery-item img {

        height: 280px;

    }



    /* ==========================
       EVENTS
    ========================== */

    .events-intro {

        max-width: 850px;

        margin: auto;

        padding: 3rem 2rem 1rem;

    }


    .events-list {

        max-width: 1200px;

        margin: auto;

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 2rem;

    }


    .event-card {

        display: flex;

        flex-direction: column;

        height: 100%;

    }


    .event-card img {

        width: 100%;

        height: 240px;

        object-fit: cover;

    }


    .event-content {

        display: flex;

        flex-direction: column;

        flex: 1;

    }


    .event-content .button {

        margin-top: auto;

    }



    /* ==========================
       KONTAKT
    ========================== */

    .contact-intro {

        max-width: 850px;

        margin: auto;

        padding: 3rem 2rem 1rem;

    }


    .contact-overview {

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 2rem;

        max-width: 1100px;

        margin: auto;

        padding: 2rem;

    }


    .contact-form-section {

        max-width: 850px;

        margin: auto;

        padding: 2rem;

    }


    .location {

        max-width: 1100px;

        margin: auto;

        padding: 2rem;

    }


    .reservation-info {

        max-width: 850px;

        margin: auto;

        padding: 2rem;

    }



    


    /* ==========================
    LIGHTBOX
    ===========================*/

    .lightbox {

        padding: 2rem;

    }


    .lightbox img {

        max-width: 90%;

        max-height: 90vh;

    }


    .lightbox-close {

        top: 1.5rem;

        right: 1.5rem;

    }

    
    /* ==========================
    FOOTER DESKTOP
    ========================== */

    .footer-content {

        display: grid;

        grid-template-columns: 2fr 1fr 1fr 1fr;

        gap: 3rem;

        align-items: start;

    }


    .footer-info,
    .footer-contact,
    .footer-navigation,
    .footer-social {

        text-align: left;

    }


    .footer-bottom {

        flex-direction: row;

        justify-content: center;

        gap: 1.5rem;

    }


}









/* =========================================================
   IMPRESSUM SEITE
========================================================= */

.impressum-page {
    padding: 1.25rem;
}

.impressum-page .impressum-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 1.5rem;

    background-color: var(--beige);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.impressum-page .impressum-content h1 {
    margin-top: 0;
    margin-bottom: 1.5rem;

    font-size: 2rem;
    line-height: 1.2;
}

.impressum-page .impressum-text {
    color: var(--text-light);
    line-height: 1.7;

    /* Zeilenumbrüche im eingefügten Text beibehalten */
    white-space: pre-line;

    /* Lange Wörter oder Links dürfen nicht aus dem Bereich laufen */
    overflow-wrap: anywhere;
}


/* =========================================================
   IMPRESSUM - TABLET & DESKTOP
========================================================= */

@media (min-width: 768px) {

    .impressum-page {
        padding: 3rem 2rem 1rem;
    }

    .impressum-page .impressum-content {
        padding: 2.5rem;
    }

}