:root {
    --color-sage: #81A985;
    --color-sage-light: #a3c1a6;
    --color-sage-dark: #6b8e6e;
    --color-mocha: #4E342E;
    --color-taupe: #8D6E63;
    --color-sand: #FDFBF7;
    --color-white: #FFFFFF;
    --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Basis Styling --- */
html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-sand);
    color: var(--color-mocha);
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 30px; }

/* --- Navigation --- */
header {
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    background: rgba(253, 251, 247, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(78, 52, 46, 0.05);
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    transition: var(--transition);
}

.logo-box { display: flex; align-items: center; gap: 20px; }
.logo-box img { height: 120px; transition: var(--transition); }
.slogan { 
    font-size: 0.65rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: var(--color-taupe); 
    border-left: 1px solid var(--color-taupe); 
    padding-left: 20px;
}

nav ul { display: flex; list-style: none; gap: 35px; }
nav a { 
    text-decoration: none; 
    color: var(--color-mocha); 
    font-weight: 600; 
    font-size: 0.85rem; 
    transition: var(--transition);
}
nav a:hover { color: var(--color-sage); }

/* --- Content Sektionen --- */
section { padding: 140px 0; }
.legal-content { padding-top: 160px; padding-bottom: 100px; max-width: 800px; margin: 0 auto; }
.legal-content h1 { font-size: 3rem; margin-bottom: 40px; }
.legal-content h2 { font-size: 1.8rem; margin: 30px 0 15px 0; }
.legal-content p { margin-bottom: 20px; }

/* --- Reveal on Scroll --- */
.reveal { opacity: 0; transform: translateY(60px); transition: 1.2s cubic-bezier(0.17, 0.67, 0.83, 0.67); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(253,251,247,0.3), rgba(253,251,247,0.3)), 
                url('./img/musselin.jpg') center/cover;
    padding-top: 100px;
}

.hero-content h1 { font-size: clamp(3rem, 8vw, 5.5rem); line-height: 1; margin-bottom: 30px; transform: translateY(30px); opacity: 0; animation: fadeUp 1.2s forwards; }
.hero-content p { font-size: 1.3rem; max-width: 650px; margin: 0 auto 40px; transform: translateY(30px); opacity: 0; animation: fadeUp 1.2s forwards 0.3s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 20px 45px;
    background: var(--color-mocha);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 60px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(78, 52, 46, 0.15);
}
.btn:hover { background: var(--color-sage); transform: translateY(-5px); box-shadow: 0 15px 40px rgba(129, 169, 133, 0.3); }

/* --- Grid & Cards --- */
.section-header { text-align: center; margin-bottom: 90px; }
.section-header h2 { font-size: 3.5rem; margin-bottom: 20px; }

.grid-module {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
}

.card {
    background: var(--color-white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}
.card:hover { transform: translateY(-15px); box-shadow: 0 30px 60px rgba(0,0,0,0.08); }
.card-img { height: 450px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: 1.5s transform; }
.card:hover .card-img img { transform: scale(1.1); }
.card-body { padding: 45px; text-align: center; }

/* --- Split Module --- */
.split-module {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--color-white);
    border-radius: 40px;
    overflow: hidden;
    margin: 80px 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.03);
}
.split-text { padding: 100px; display: flex; flex-direction: column; justify-content: center; }
.split-img { background: url('./img/bastel.jpg') center/cover; min-height: 500px; }

/* --- Kontakt Sektion --- */
.contact-section {
    background: var(--color-mocha);
    color: var(--color-white);
    border-radius: 40px;
    padding: 100px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
}
.contact-info h2 { font-size: 4rem; line-height: 1; color: var(--color-sage-light); margin-bottom: 40px; }

.info-item { margin-bottom: 40px; }
.info-item span { display: block; font-size: 0.7rem; text-transform: uppercase; color: var(--color-sage); letter-spacing: 2px; margin-bottom: 5px; }
.info-item p { font-size: 1.2rem; }

/* --- Social & QR Styling --- */
.social-container {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.social-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.social-box img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}
.social-btn {
    background: var(--color-sage);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}
.social-btn:hover {
    background: var(--color-white);
    color: var(--color-mocha);
}

/* --- Cookie Popup --- */
#cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 60px);
    max-width: 600px;
    background: var(--color-white);
    padding: 25px 35px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    z-index: 9999;
    display: none;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.05);
}
#cookie-banner p { font-size: 0.85rem; color: var(--color-mocha); margin-right: 20px; line-height: 1.4; }
.cookie-btn {
    background: var(--color-sage);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    white-space: nowrap;
    transition: var(--transition);
}
.cookie-btn:hover { background: var(--color-mocha); }

/* --- Galerie Spezifisch --- */
.gallery-hero {
    padding-top: 180px;
    padding-bottom: 80px;
    text-align: center;
    background-color: var(--color-white);
}
.emotional-text {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--color-taupe);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding-bottom: 100px;
}
.gallery-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 15px;
    background-color: #eee;
    position: relative;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.9);
}
#lightbox {
    position: fixed;
    z-index: 2000;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(78, 52, 46, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 40px;
}
#lightbox img { max-width: 100%; max-height: 100%; border-radius: 5px; box-shadow: 0 0 30px rgba(0,0,0,0.5); }

/* --- Footer --- */
footer { padding: 80px 0; text-align: center; opacity: 0.6; font-size: 0.85rem; border-top: 1px solid rgba(78, 52, 46, 0.05); }
footer a { color: inherit; text-decoration: none; margin: 0 10px; transition: color 0.3s; }
footer a:hover { color: var(--color-sage); }

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .nav-content nav { display: none; }
    .nav-content { height: 80px; }
    .logo-box img { height: 45px; }
    .slogan { display: none; }
    .split-module, .contact-section { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 3.5rem; }
    .contact-section { padding: 50px; }
    .split-text { padding: 50px; }
    .social-container { justify-content: center; }
    #cookie-banner { flex-direction: column; text-align: center; bottom: 20px; }
    #cookie-banner p { margin: 0 0 15px 0; }
}