/* ! ROOT-VARIABLEN */

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
}

h2{
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: 0.03em;
    color: --primary;
    margin-bottom: 2rem;
        line-height: 1.2;   /* statt 1.1 oder Default */

    
}

body, p, a, li, button {
    font-family: 'Source Sans 3', sans-serif;
}



:root {
    --primary: #003820;
    --accent: #E5C24A;
    --bg-light: #F9F6F1;
}

/* ! BASIS */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-padding-top: 70px; /* Höhe deiner Navbar */
}

body {
    font-family: system-ui, sans-serif;
    line-height: 1.6;
    color: #222;
    background: var(--bg-light);
    height: 100%;
    overflow-x: hidden;

}

h2, p {
    margin-left: 26px;
}

/* ! HEADER */
.header {
    display: flex;
    justify-content: center; 
    align-items: center;
    background: var(--primary);
    color: white;
    padding: 16px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 10;
}

.logo {
    position: absolute;
    left: 40px;
    font-weight: bold;
    font-size: 19px;
}

/* ! HAMBURGER BUTTON */
.menu-btn {
    position: absolute;
    right: 16px;
    background: none;
    border-radius: 6px;
    color: var(--accent);
    font-size: 22px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: none; 
}

/* ! NAVIGATION DESKTOP */
.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 17px;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #FFDB4D;/* dein Goldton */;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* ! MOBILE NAV */

@media (max-width: 900px) {
    .header {
        padding: 28px 0;
    }
    .menu-btn {
        display: block;
        position: fixed;
        right: 12px;
        top: 12px;
        width: 32px;
        height: 32px;
        font-size: 20px;
        z-index: 40;
    }
    .nav {
        display: none;
        flex-direction: column;
        background: var(--primary);
        position: fixed;
        top: 0;
        right: 0;
        width: 50%;
        height: 100vh;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 32px;
        gap: 24px;
        z-index: 30;
        transform: translateX(100%);
        transition: 0.3s;
    }
    .nav.open {
        display: flex;
        transform: translateX(0);
    }

    #hero {
        position: relative;
        min-height: 100dvh;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
        background-position: center;
    }
    .hero-content {
        width: 90%;
        margin: 0 auto;
        padding: 28px;
        border-radius: 32px;
    }
    .hero-title {
        font-size: 2.4rem;
        letter-spacing: 0.04em;
    }
    #hero p {
        font-size: 1.2rem;
        margin-bottom: 24px;
        letter-spacing: 0.15em;
        text-align: center;
    }
    .hero-btn {
        font-size: 1rem;
        padding: 10px 18px;
    }
}




/* ! HERO SECTION */
#hero {
    position: relative;
    height: 100vh;
    background: url("assets/images/photo_9_2025-11-07_09-59-10.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    animation: heroBreath 5s ease-in-out infinite alternate;
    letter-spacing: 0.25em;


}

@keyframes heroBreath {
    0% {
        background-position: center 0%;
        filter: brightness(0.92);
    }
    100% {
        background-position: center 3%;
        filter: brightness(0.94);
    }
}



.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.05em; /* leicht erhöht wie auf der Karte */
    font-size: 3.4rem;
    color: #FFDB4D;/* dein Goldton */
}

#hero p {
    font-family: 'EB Garamond', serif;
    font-weight: 500;
    letter-spacing: 0.25em; /* große Weite wie auf der Karte */
    font-size: 1.5rem;
    color: #FFDB4D;
    margin-top: 0.3rem;
    margin-bottom: 50px;
}


/* ! HERO OVERLAY */
#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 66, 37, 0.418);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    font-family: ci;
    background-color: var(--primary);
    padding: 60px;
    border-radius: 50px;
        box-shadow: 0 15px 60px rgba(0, 0, 0, 0.20);

}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 15px;
    
}

.hero-content p {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 30px;
}

.hero-btn {
    background-color: var(--accent); /* optimaler Goldton */
    color: #004225;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-btn:hover {
    transform: scale(1.03);
    background-color: #D5B03F; /* dunklerer Hover */
}


/* ! ABOUT / VISION */
#about {
    margin-top: 150px;
    text-align: center;
}

.vision-text {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}


/* ! BUTTONS */

.BackToGallery-btn {
    margin-top: 20px;
    margin-bottom: 50px;
    margin-left: 15px;
}


.hero-btn,
.btn,
.BackToGallery-btn,
#top-btn {
display: inline-block;
background: var(--accent);
color: white;
padding: 10px 20px;
border-radius: 6px;
text-decoration: none;
font-size: 16px;
font-weight: 600;
transition: background-color 0.25s ease, transform 0.25s ease;
}


.hero-btn:hover,
.btn:hover,
.BackToGallery-btn:hover,
#top-btn:hover {
background-color: #D5B03F;
transform: scale(1.03);
}


.hero-btn:hover,
.btn:hover,
.BackToGallery-btn:hover,
#top-btn:hover {
background-color: #D5B03F;
transform: scale(1.03);
}

/* ! SECTIONS */
main {
    padding: 16px;
}

section {
    margin-bottom: 160px;
}

ul {
    list-style: disc;
    margin-left: 24px;
    font-size: 16px;
}

/* ! GALLERY SECTION */
.gallery-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.gallery-wrapper h2{
    margin-top: 50px;
    margin-bottom: 50px;
}


#gallery {
    margin-top: 400px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 32px 0;
}

.gallery img {
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.gallery img:hover {
    transform: scale(1.03);
}

#gallery h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 50px;
    margin-top: 200px;
    font-size: 2.6rem;   /* vorher war wahrscheinlich kleiner */

}

.more-link {
    text-align: center;
    margin-top: 20px;
}



/* ! FULL GALLERY */
.full-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    padding: 32px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.full-gallery h2 {
    margin-top: 100px;
}

.full-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease;
}

.full-gallery img:hover {
    transform: scale(1.03);
}

/* ! LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
}

/* ! LIGHTBOX ZOOM */
#lightbox-img {
    transform-origin: center center;
    transition: transform 0.25s ease;
    max-width: 90%;
    max-height: 90%;
}

#lightbox-img:active {
    cursor: grabbing;
}

/* ! LIGHTBOX PFEILE */
.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 42px;
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 200;
    transition: background 0.2s ease;
}

.arrow-btn:hover {
    background: rgba(255,255,255,0.35);
}

#prev-btn {
    left: calc(50% - 800px);
}

#next-btn {
    right: calc(50% - 800px);
}

/* ! CONTACT */
#contact {
    padding: 70px 20px;
    text-align: center;
}

#contact h2 {
    font-size: 1.9rem;
    margin-bottom: 30px;
    color: #0f3a28;
    margin-left: 0 !important;
    text-align: center;
}

.contact-inner {
    display: inline-flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    
}

.contact-inner p {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    color: #103d2a;
    margin: 0;
    
}

.contact-inner a {
    color: #135f3c;
    text-decoration: none;
    font-weight: 500;
    
}

.contact-inner a:hover {
    text-decoration: underline;

}





/* ! TOP BUTTON */
#top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    padding: 12px 16px;
    font-size: 20px;
    background: var(--accent);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.8;
    z-index: 200;
    display: none;
}

#top-btn:hover {
    opacity: 1;
}

/* ! FOOTER */
footer {
    background: var(--primary);
    color: white;
    padding: 16px;
    font-size: 15px;
}

footer a {
    color: #ffffff !important;
    text-decoration: none;
}

footer a:visited {
    color: #ffffff !important;
}

footer a:hover {
    color: var(--accent) !important;
}

small {
    display: block;
    text-align: center;
    line-height: 1.6;
}

/* ! XXL SCREENS */
@media (min-width: 1400px) {
    body {
        font-size: 18px;
    }

    .hero {
        max-width: 1000px;
        margin: 32px auto;
    }
}

/* ! FOOTER FIX (PAGE BOTTOM) */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* --- BREAKPOINT 360px (kleine Phones) --- */
@media (max-width: 360px) {
    .hero-content {
        padding: 24px;
        border-radius: 24px;
    }
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 0.03em;
    }
    #hero p {
        font-size: 1.1rem;
        letter-spacing: 0.08em;
        margin-bottom: 20px;
        text-align: center;
    }
    .hero-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* --- PHONE M (375–414px) --- */
@media (min-width: 361px) and (max-width: 414px) {
    .hero-content {
        padding: 34px;
        border-radius: 36px;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    #hero p {
        font-size: 1.25rem;
        margin-bottom: 30px;
    }
}

/* --- PHONE L (430–480px) --- */
@media (max-width: 480px) {
     #hero {
        padding-top: 40px;
    }

    .hero-content {
        width: 88%;
        max-width: 88%;
        margin: 0 auto;
        padding: 30px;
        border-radius: 32px;
        text-align: center;
    }

    #hero p {
        margin-left: 0;
        margin-right: 0;
        text-align: center;
        width: 100%;
        letter-spacing: 0.12em;
    }

    .hero-btn {
        display: block;
        margin: 20px auto 0;
        text-align: center;
    }

    
}


/*  ! HERO FIX für alle Phones --- */
@media (max-width: 760px) {
    480px {
        background-position: center;
    }
    .hero-content {
        width: 90%;
    }
    .gallery img {
        width: 100%;
        height: auto;
    }
}

