/* ALPENGLOW VISUALS - CORE STYLES 
    Brand: Wild Silence | Authentic & Adventure
*/

:root {
    --bg-color: #F4F1ED;
    --text-color: #2C2E27;
    --accent-gold: #C5A37D;
    --accent-green: #4A4F40;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
    --transition-soft: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

#grain-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('https://www.transparenttextures.com/patterns/p6.png'); 
    opacity: 0.12;
    pointer-events: none;
    z-index: 9999;
}

.section-padding { padding: 8rem 10%; }
.gold-line { width: 50px; height: 1px; background-color: var(--accent-gold); margin: 2rem auto; }

.label {
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.7rem;
    opacity: 0.9;
    margin-bottom: 1.2rem;
    display: block;
    color: var(--accent-gold);
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0; width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-soft);
}

nav.scrolled {
    background: rgba(244, 241, 237, 0.98);
    padding: 1.2rem 5%;
    box-shadow: 0 2px 20px rgba(0,0,0,0.03);
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
}

nav.scrolled .logo { color: var(--text-color); }

.nav-links { display: flex; gap: 3rem; list-style: none; align-items: center; }
.nav-links a { 
    text-decoration: none; 
    color: white; 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 3px;
    transition: 0.3s;
}

nav.scrolled .nav-links a { color: var(--text-color); }

.lang-switch { font-size: 0.7rem; letter-spacing: 1px; color: white; }
nav.scrolled .lang-switch { color: var(--text-color); }
.lang-link { opacity: 0.6; text-decoration: none; color: inherit !important; }
.lang-link.active, .lang-link:hover { opacity: 1; text-decoration: underline; }

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    width: 100vw;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-picture { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: brightness(0.85); }

.hero-content { position: relative; z-index: 10; text-align: center; color: white; padding: 0 5%; }
.hero h1 { 
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 6vw, 4.5rem); 
    font-style: italic; 
    margin: 1rem 0;
    font-weight: 400;
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.reveal.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- EXPERIENCE SECTION --- */
.experience-intro { max-width: 1100px; margin: 0 auto 4rem auto; text-align: center; }
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.experience-item h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--accent-green);
}

.experience-item p { font-size: 0.9rem; opacity: 0.8; max-width: 300px; margin: 0 auto; }

/* --- PORTFOLIO GRID --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 8rem 5%;
}

.blog-card { text-decoration: none; color: var(--text-color); }
.blog-img-wrap { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 1.5rem; }
.blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--transition-soft); }
.blog-card:hover img { transform: scale(1.05); }

/* --- GALLERY STYLES --- */
.gallery-container {
    padding: 0 5%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); /* Breitere Bilder für High-End Look */
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    background-color: #eee; /* Platzhalter-Farbe während des Ladens */
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1s var(--transition-soft), filter 0.5s ease;
    filter: brightness(0.95);
}

.gallery-item img:hover {
    transform: scale(1.02);
    filter: brightness(1);
}

/* Masonry-Look auf großen Bildschirmen */
@media (min-width: 1000px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr); /* 2-spaltig wirkt exklusiver als 3 oder 4 */
    }
    /* Jedes dritte Bild über die volle Breite für Rhythmus im Layout */
    .gallery-item:nth-child(3n) {
        grid-column: span 1; 
    }
}

@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: 1fr; /* Einspaltig auf Mobile */
        gap: 15px;
        padding: 0 15px;
    }
}

/* --- ABOUT & LANDSCAPE MODULE --- */
.about-img {
    max-width: 400px; width: 100%; height: auto;
    filter: grayscale(10%) contrast(1.05) brightness(0.9);
    transition: transform 1s var(--transition-soft);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.about-module-1:hover .about-img { transform: scale(1.03); }

.about-module-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
    align-items: center;
    padding: 4rem;
    background: white;
    box-shadow: 0 10px 50px rgba(0,0,0,0.03);
}

.landscape-quote { border-left: 1px solid var(--accent-gold); padding-left: 2rem; }
.about-text h2 { color: var(--accent-green); }

/* --- CONTACT --- */
.contact-wrap { max-width: 700px; margin: 0 auto; text-align: center; }
input, textarea { 
    width: 100%; padding: 1rem 0; background: transparent; 
    border: none; border-bottom: 1px solid rgba(0,0,0,0.1); 
    margin-bottom: 2.5rem; outline: none; font-family: inherit;
}

button { 
    background: var(--text-color); color: white; border: none; 
    padding: 1.2rem 4rem; cursor: pointer; text-transform: uppercase; 
    letter-spacing: 3px; font-size: 0.75rem; transition: 0.3s;
}

button:hover { background: var(--accent-gold); transform: translateY(-2px); }

/* --- FOOTER --- */
footer { padding: 4rem 2rem; text-align: center; font-size: 0.75rem; opacity: 0.6; letter-spacing: 1px; }
footer a { color: inherit; margin: 0 10px; }

/* --- RESPONSIVE ADJUSTMENTS (900px) --- */
.burger { display: none; cursor: pointer; }
.burger div { width: 22px; height: 1px; background-color: white; margin: 6px; transition: 0.3s; }
nav.scrolled .burger div { background-color: var(--text-color); }

@media (max-width: 900px) {
    .burger { display: block; }
    .nav-links {
        position: fixed; right: -100%; top: 0; height: 100vh;
        background: var(--bg-color); width: 100%; flex-direction: column;
        justify-content: center; align-items: center; transition: 0.5s ease-in-out;
        z-index: 999;
    }
    .nav-links.nav-active { right: 0; }
    .nav-links a { color: var(--text-color); font-size: 1.5rem; margin: 1rem 0; }
    
    .about-module-1 { flex-direction: column-reverse; gap: 3rem; }
    .about-text { text-align: center; }
    .about-text .gold-line { margin: 2rem auto; }
    
    .about-module-2 { grid-template-columns: 1fr; padding: 3rem 2rem; }
    .landscape-quote { border-left: none; border-top: 1px solid var(--accent-gold); padding: 2rem 0 0 0; text-align: center; }

    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); background-color: var(--text-color) !important; }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); background-color: var(--text-color) !important; }
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}