:root {
    --bg-color: #121212;
    --text-color: #f0f0f0;
    --gold: #D4AF37;
    --gold-hover: #f3e5ab;
    --nav-bg: rgba(18, 18, 18, 0.95);
    --card-bg: #1a1a1a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Lexend', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- NAVIGATION --- */
header {
    position: fixed;
    top: 0; width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.logo {
    font-size: 22px;
    letter-spacing: 4px;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 300;
}

nav ul { list-style: none; display: flex; gap: 15px; }

/* Die Navigations-Links als bewegliche Blöcke */
nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 18px; 
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-block; /* WICHTIG FÜR DEN MAGNET-EFFEKT! */
}

nav a:hover { 
    color: #121212 !important; 
    background-color: var(--gold); 
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* --- SEITEN-LAYOUT --- */
section { padding: 120px 10% 60px; min-height: 80vh; }
h1, h2 { color: var(--gold); font-weight: 300; letter-spacing: 3px; margin-bottom: 30px; }



/* --- GALERIE & PORTFOLIO --- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    border-radius: 5px;
    cursor: none; /* Versteckt den normalen Mauszeiger, damit unser goldener Ring wirkt */
}

.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s ease;
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex; justify-content: center; align-items: center;
    opacity: 0; transition: 0.5s;
}

.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .overlay { opacity: 1; }

/* --- LIGHTBOX (VOLLBILD-ANSICHT) --- */
.lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95); display: none;
    justify-content: center; align-items: center;
    z-index: 10000; opacity: 0; transition: opacity 0.3s ease;
}

.lightbox.show { display: flex; opacity: 1; }

.lightbox img {
    max-width: 90%; max-height: 90vh; border-radius: 3px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    transform: scale(0.8); transition: transform 0.3s ease;
}

.lightbox.show img { transform: scale(1); }

.close-btn {
    position: absolute; top: 30px; right: 50px; font-size: 40px;
    font-weight: 300; color: var(--gold); cursor: none; transition: color 0.3s;
}

.close-btn:hover { color: #fff; }




/* --- MODERNE STARTSEITE --- */
.hero-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero-text { flex: 1; z-index: 2; padding-right: 50px; }
.hero-text h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 20px; opacity: 0; animation: fadeUp 1s ease forwards 0.3s; }
.hero-text p { font-size: 1.2rem; color: #aaa; margin-bottom: 40px; max-width: 500px; opacity: 0; animation: fadeUp 1s ease forwards 0.6s; }

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gold);
    color: #121212;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.9s;
}

.btn-primary:hover {
    background: #fff;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.hero-visual {
    flex: 1; position: relative; height: 70vh; display: flex;
    justify-content: flex-end; align-items: center; opacity: 0;
    animation: fadeIn 1.5s ease forwards 0.5s;
}

.floating-image {
    width: 80%; height: 100%; object-fit: cover; border-radius: 5px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(212, 175, 55, 0.3); 
}

/* --- ANIMATIONEN --- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0px); } }

/* --- RESPONSIVE HANDY-ANSICHT --- */
@media (max-width: 900px) {
    .hero-modern { flex-direction: column; text-align: center; justify-content: center; padding-top: 150px;}
    .hero-text { padding-right: 0; margin-bottom: 50px; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-visual { width: 100%; height: 50vh; justify-content: center; }
    .floating-image { width: 100%; }
}

/* --- FOOTER --- */
footer { padding: 40px; text-align: center; background: #0a0a0a; border-top: 1px solid #222; }
footer a { color: #666; font-size: 12px; margin: 0 10px; text-decoration: none; }

/* --- GOLDENER PARTIKEL HINTERGRUND --- */
#particle-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }

/* --- EDITORIAL FILM GRAIN --- */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 9998; opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- EDLE SCROLLBAR & TEXT-MARKIERUNG --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
::selection { background: var(--gold); color: #121212; }

/* --- CUSTOM CURSOR --- */
@media (pointer: fine) { body { cursor: none; } }
.custom-cursor, .custom-cursor-trail {
    position: fixed; top: 0; left: 0; pointer-events: none; border-radius: 50%; z-index: 10001; transform: translate(-50%, -50%);
}
.custom-cursor { width: 6px; height: 6px; background-color: var(--gold); transition: opacity 0.2s ease; }
.custom-cursor-trail { width: 35px; height: 35px; border: 1px solid rgba(212, 175, 55, 0.6); transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease; }
.cursor-hover { width: 60px; height: 60px; background-color: rgba(212, 175, 55, 0.1); border-color: transparent; backdrop-filter: blur(2px); }


/* =========================================
   FEHLENDE STYLES (FORMULAR, ZURÜCK-BUTTON & COOKIE)
   ========================================= */

/* --- FORMULAR --- */
input, textarea {
    width: 100%; padding: 15px; margin-bottom: 15px;
    background: #222; border: 1px solid #333; color: white;
    font-family: 'Lexend', sans-serif;
    border-radius: 3px;
    transition: 0.3s;
}

input:focus, textarea:focus {
    outline: 1px solid var(--gold);
    border-color: var(--gold);
}

/* --- ZURÜCK BUTTON --- */
.btn-back {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 25px;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    transition: 0.3s;
    cursor: none; /* Für unseren Custom Cursor */
}

.btn-back:hover {
    background: var(--gold);
    color: var(--bg-color);
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed; bottom: -100%; left: 0; width: 100%;
    background: var(--nav-bg); backdrop-filter: blur(15px);
    padding: 20px 50px; display: flex; justify-content: space-between;
    align-items: center; z-index: 9999;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    transition: bottom 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cookie-banner.show { bottom: 0; }
.cookie-text { font-size: 13px; color: #ccc; max-width: 60%; }
.cookie-text a { color: var(--gold); text-decoration: underline; }
.cookie-text a:hover { color: var(--gold-hover); }
.cookie-buttons { display: flex; gap: 15px; }

.btn-accept, .btn-decline {
    padding: 12px 25px; border: none; cursor: none; 
    text-transform: uppercase; letter-spacing: 1px; font-size: 12px; transition: 0.3s;
}

.btn-accept { background: var(--gold); color: #121212; font-weight: bold; }
.btn-accept:hover { background: #f3e5ab; }
.btn-decline { background: transparent; color: var(--text-color); border: 1px solid #555; }
.btn-decline:hover { border-color: var(--text-color); }

@media (max-width: 768px) {
    .cookie-banner { flex-direction: column; text-align: center; gap: 20px; padding: 20px; }
    .cookie-text { max-width: 100%; }
}

@media (hover: none) and (pointer: coarse) {
    .custom-cursor,
    .custom-cursor-trail {
        display: none !important;
    }
}
/* =========================================================================
   Mobile Ansicht (Smartphones) - EINHEITLICH FÜR ALLE SEITEN
   ========================================================================= */
@media (max-width: 768px) {
    /* Header & Navigation als eine kompakte Einheit - untereinander! */
    header {
        padding: 15px 5% !important;
        display: flex !important;
        flex-direction: column !important; /* Logo und Menü untereinander */
        justify-content: center !important;
        align-items: center !important;
        gap: 15px !important; /* Abstand zwischen Logo und Buttons */
        height: auto !important;
    }
    
    header img {
        height: 40px !important; 
        width: auto !important;
    }
    
    nav ul {
        display: flex !important;
        flex-wrap: wrap !important; /* Erlaubt Umbruch, falls das Display extrem schmal ist */
        justify-content: center !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    
    nav a {
        font-size: 0.8rem !important; 
        padding: 8px 10px !important;
    }

    /* Inhalt anpassen - Mehr Abstand nach oben wegen höherem Header! */
    section {
        padding-top: 150px !important; 
    }

    .hero-modern {
        padding: 0 5%;
        flex-direction: column; 
        text-align: center; 
        justify-content: center; 
        padding-top: 150px !important;
    }
    
    .hero-text { padding-right: 0; margin-bottom: 50px; }
    .hero-text h1 { font-size: 2rem; line-height: 1.2; }
    .hero-text p { font-size: 1rem; }
    .btn-primary { font-size: 0.9rem; padding: 10px 20px; }
    .hero-visual { width: 100%; height: 50vh; justify-content: center; }
    .floating-image { width: 100%; }
    
    #hint {
        bottom: 40px;
        font-size: 11px;
    }
    
    /* Cookie Banner auf dem Handy */
    .cookie-banner { 
        flex-direction: column; 
        text-align: center; 
        gap: 15px; 
        padding: 20px; 
    }
    .cookie-text { max-width: 100%; }
}