/* Grundlayout */
html, body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: #f5f3ee;
    color: #333;
    height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Header Grundlayout */
.header {
    padding: 1rem 0;
    background: #cfe3cf; /* Pastellgrün, NICHT transparent */
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}
/* Container für links – logo – rechts */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Linker und rechter Text */
.header-left {
    font-size: 2.2rem;
    font-weight: 640;
    color: #333;
    font-family: "Allura", cursive; 
    justify-content: center;
    margin-left: 30px;
}
.header-right {
    font-size: 2.2rem;
    font-weight: 640;
    color: #333;
    font-family: "Allura", cursive; 
    justify-content: center;
    margin-right: 30px;
}

/* Logo mittig */
.header-logo img {
    height: 160px;
    display: block;
    margin: 0 auto;
    margin-left: 100px;
    
}

/* Mobile Ansicht */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .header-left,
    .header-right {
        font-size: 1.2rem;
    }

    .header-logo img {
        height: 70px;
    }
}


/* Navigation */
.nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    position: sticky;
    top: 0; /* WICHTIG: direkt unter dem Header kleben */
    z-index: 998;
    backdrop-filter: blur(6px);
}

.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
    font-weight: 400;
    font-size: 1.2rem;
}

.nav a:hover {
    border-bottom: 2px solid rgb(233,150,122);
}

/* Hero Section */
.hero {
    text-align: center;
    font-size: 1.6rem;
    padding: 4rem 2rem;
    background: rgba(255,218,185, 0.25);
    border-radius: 12px;
    margin: 2rem auto;
    max-width: 900px;
    font-family: "Allura", cursive;
    border: 1px solid rgba(0,0,0,0.05);
    font-weight: 400;
    word-spacing: 8px
}

/* Cards */
.cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}

.card {
    padding: 2rem;
    border-radius: 12px;
    width: 200px;
    text-align: center;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Akzentfarben */
.accent1 { border-top: 6px solid rgb(255,193,193); }
.accent2 { border-top: 6px solid rgb(155,205,155); }
.accent3 { border-top: 6px solid rgb(84,139,84); }



/* Mobile Menu Icon */
.mobile-menu-icon {
    display: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
}

/* Standard Navigation */
.nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
}

/* Mobile Navigation */
@media (max-width: 768px) {

    .mobile-menu-icon {
        display: block;
        text-align: right;
        margin-right: 1rem;
    }

    .nav {
        display: none;
        flex-direction: column;
        background: rgba(255,218,185, 0.4);
        padding: 1rem;
        border-radius: 12px;
        margin: 0 1rem;
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .header-left {
        font-size: 2rem;
        font-weight: 640;
        color: #333;
        font-family: "Allura", cursive; 
        justify-content: center;
        margin-right: 60px;
    }
    .header-right {
        font-size: 2rem;
        font-weight: 640;
        color: #333;
        font-family: "Allura", cursive; 
        justify-content: center;
    }

    .header,
    .header-wrapper {
        position: static !important;
        top: auto !important;
    }

    
    .header-logo img {
        height: 160px;
        display: block;
        margin: 0 auto;
    }
    .cards {
        display: flex;
        justify-content: center;
    }
    .card {
        text-align: center;
        font-weight: 600;
        color: #333;
        font-size: 0.9rem;
        background: white;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        transition: transform 0.3s, box-shadow 0.3s;
    }
    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }
    
}


@media (max-width: 420px) {

    .mobile-menu-icon {
        display: block;
        text-align: right;
        margin-right: 1rem;
    }

    .nav {
        display: none;
        flex-direction: column;
        background: rgba(255,218,185, 0.4);
        padding: 1rem;
        border-radius: 12px;
        margin: 0 1rem;
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .header-left {
        font-size: 2rem;
        margin-right: 60px;
        font-weight: 640;
        color: #333;
        font-family: "Allura", cursive; 
        justify-content: center;
    }
    .header-right {
        font-size: 2rem;
        font-weight: 640;
        color: #333;
        font-family: "Allura", cursive; 
        justify-content: center;
    }

    .header,
    .header-wrapper {
        position: static !important;
        top: auto !important;
    }
    

    .header-logo img {
        height: 160px;
        display: block;
        margin: 0 auto;
    }
    .cards {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    .card {
        text-align: center;
        font-weight: 600;
        color: #333;
        font-size: 0.9rem;
        background: white;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        transition: transform 0.3s, box-shadow 0.3s;
    }
    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }
    
    

}

@media (max-width: 915px) {

    .mobile-menu-icon {
        display: block;
        text-align: right;
        margin-right: 1rem;
    }

    .nav {
        display: none;
        flex-direction: column;
        background: rgba(255,218,185, 0.4);
        padding: 1rem;
        border-radius: 12px;
        margin: 0 1rem;
    }

    .header,
    .header-wrapper {
        position: static !important;
        top: auto !important;
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .header-left {
        font-size: 2rem;
        font-weight: 640;
        color: #333;
        font-family: "Allura", cursive; 
        justify-content: center;
        margin-right: 60px;
    }
    .header-right {
        font-size: 2rem;
        font-weight: 640;
        color: #333;
        font-family: "Allura", cursive; 
        justify-content: center;
        margin-left: 5px;
    }

    .header-logo img {
        height: 160px;
        display: block;
        margin: 0 auto;
    }
    .cards {
        display: flex;
        justify-content: center;
    }
    .card {
        text-align: center;
        font-weight: 600;
        color: #333;
        font-size: 0.9rem;
        background: white;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        transition: transform 0.3s, box-shadow 0.3s;
    }
    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }
    
}



.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.gallery img {
    width: 100%;
    height: 270px; /* alle Bilder gleiche Höhe */
    object-fit: cover; /* schneidet sauber zu, ohne Verzerrung */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.03);
}


.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-content {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.zoom-container {
    position: relative;
    overflow: hidden;
}

.zoom-container img {
    max-width: 500px;   /* Bild ist NICHT riesig */
    border-radius: 12px;
    cursor: crosshair;
}

.zoom-lens {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid white;
    background-repeat: no-repeat;

    background-size: 600%; /* ← das ist deine aktuelle Zoom-Stärke */

    pointer-events: none;
    display: none;
}


/* X neben dem Bild */
.close-btn {
    font-size: 32px;
    background: white;
    color: #333;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}




.footer a {
    color: rgb(84,139,84);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.footer a:hover {
    color: rgb(233,150,122);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    background: rgba(233,150,122, 0.15);
    border-top: 1px solid rgba(0,0,0,0.05);
}


/* Content Wrapper */
.content-wrapper {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    line-height: 1.7;
}

/* Überschriften */
.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3 {
    font-family: "Allura", cursive;
    color: rgb(84,139,84);
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Standard Text */
.content-wrapper p {
    font-size: 1.1rem;
    color: #444;
}

/* Links */
.content-wrapper a {
    color: rgb(233,150,122);
    font-weight: 600;
    text-decoration: none;
}

.content-wrapper a:hover {
    color: rgb(84,139,84);
}

/* Listen */
.content-wrapper ul {
    padding-left: 1.2rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
}

/* Zarte Trennlinie */
.content-wrapper hr {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin: 2rem 0;
}

/* News Items */
.news-item {
    background: rgba(255,218,185, 0.25);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 6px solid rgb(233,150,122);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.news-item h3 {
    margin-top: 0;
    font-family: "Allura", cursive;
    font-size: 1.8rem;
    color: rgb(84,139,84);
}

/* Galerie im Content */
.content-wrapper .gallery {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.content-wrapper .gallery img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.content-wrapper .gallery img:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


/* Große elegante H1 für Content-Seiten */
.content-wrapper h1 {
    font-family: "Allura", cursive;
    font-size: 3rem;
    color: rgb(84,139,84);
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

