:root {
    --bg-color: #0d0d0d;
    --text-color: #f2f2f2;
    --accent-color: #bfa15f; /* Gold/Bronze */
    --nav-bg: rgba(13, 13, 13, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

a {
    color: var(--text-color);
    text-decoration: none;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
}

.logo-link {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-cta {
    color: var(--accent-color) !important;
    font-weight: 600;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    background: linear-gradient(to bottom, rgba(13, 13, 13, 0.3), rgba(13, 13, 13, 1)), url('../assets/images/schauspielhaus_abstrakt.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.btn {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

/* Sections General */
.section {
    padding: 8rem 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.section-title p {
    color: #888;
    font-size: 1.1rem;
}

/* Before / After Slider */
.process-section {
    background-color: #151515;
}

.before-after-slider {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.image-after, .image-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-after img, .image-before img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-before {
    width: 50%; /* Changed by JS */
    z-index: 2;
    overflow: hidden;
    border-right: 2px solid #fff;
}

.image-before img {
    /* Responsive Breite, die exakt der Container-Breite entspricht */
    width: min(calc(100vw - 10%), 900px); 
    max-width: none;
    height: 100%;
    object-fit: cover;
}

.label {
    position: absolute;
    bottom: 20px;
    padding: 8px 15px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    z-index: 5;
}

.label-before {
    left: 20px;
}

.label-after {
    right: 20px;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%; /* Changed by JS */
    height: 100%;
    width: 40px;
    margin-left: -20px;
    z-index: 3;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-handle-button {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    color: #000;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    opacity: 0;
    cursor: ew-resize;
}

.process-caption {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    color: #888;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Make overlay visible on mobile devices */
    .gallery-item .overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
    }
    
    .gallery-item .overlay-text {
        transform: translateY(0);
        position: absolute;
        bottom: 15px;
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #222;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay-text {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item:hover .overlay-text {
    transform: translateY(0);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
    font-size: 1.1rem;
    color: #aaa;
}

.about-text h2 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.9rem;
}

/* Contact Button */
.contact-btn {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: 0.3s;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.contact-btn:hover {
    background: #fff;
    color: #000;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
    border: 1px solid #333;
}

#lightbox-caption {
    margin-top: 20px;
    color: #ccc;
    font-size: 1.2rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 2px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: 100;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
