/* Clean Studio Palette */
:root {
    --bg-studio: #f4f5f6;       /* Sehr helles, edles Studio-Grau */
    --text-main: #111111;       /* Fast Schwarz für perfekten Kontrast */
    --text-muted: #666666;      /* Dezentes Grau für Meta-Infos */
    --border-line: #e2e4e6;     /* Haardünne Trennlinien */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-studio);
}

body {
    color: var(--text-main);
}

/* Reduzierte Navigation */
.studio-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    z-index: 100;
    background: rgba(244, 245, 246, 0.8);
    backdrop-filter: blur(10px);
}

.studio-logo {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--text-main);
}

.studio-links .nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-left: 30px;
    transition: color 0.2s ease;
}

.studio-links .nav-link:hover {
    color: var(--text-main);
}

/* Hero Section als großzügiges Studio-Layout */
.hero-studio {
    min-height: 100vh;
    padding: 120px 40px 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Obere Textzeile */
.hero-text-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--border-line);
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.category {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: -0.5px;
}

/* Das Bild als absoluter Star der Seite */
.hero-visual-container {
    flex-grow: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    max-width: 1400px;
    height: auto;
    object-fit: contain;
    /* Ein ganz sanfter Schatten, der das Bild edel abhebt */
    box-shadow: 0 30px 60px rgba(0,0,0,0.06); 
    border-radius: 4px;
}

/* Untere Textzeile und Button */
.hero-text-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-line);
    padding-top: 25px;
}

.studio-slogan {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.5;
}

/* Ein absolut cleaner, schnörkelloser Button */
.studio-button {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--text-main);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 0px; /* Puristisch eckig */
    transition: opacity 0.2s ease;
}

.studio-button:hover {
    opacity: 0.8;
    cursor: pointer;
}

/* Bereich für spätere Inhalte */
.project-grid-section {
    height: 50vh;
}

/* 3D Model Viewer Styling */
model-viewer {
    width: 100%;
    max-width: 1200px;
    height: 60vh; /* Nutzt 60% der Bildschirmhöhe */
    outline: none;
    --poster-color: transparent; /* Verhindert ein weißes Aufblitzen beim Laden */
}

/* Work Section Styling */
.project-grid-section {
    padding: 100px 40px;
    background-color: var(--bg-studio);
    border-top: 1px solid var(--border-line);
}

.section-meta {
    margin-bottom: 40px;
}

.grid-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Das Grid: Wechselt automatisch das Layout je nach Bildschirmgröße */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px 40px; /* Vertikaler und horizontaler Abstand */
    width: 100%;
}

.project-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

/* Bild-Container mit sanftem Hover-Effekt */
.project-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10; /* Festes Seitenverhältnis für alle Projektbilder */
    overflow: hidden;
    background-color: #e9ebeb;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.project-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Subtiler Zoom beim Drüberfahren */
.project-card:hover .project-thumbnail {
    transform: scale(1.03);
}

/* Projekt-Details */
.project-info {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: baseline;
    gap: 5px 15px;
}

.project-year {
    grid-column: 1;
    grid-row: 1;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.project-name {
    grid-column: 2;
    grid-row: 1;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
}

.project-type {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Responsive Anpassung für kleinere Bildschirme */
@media (max-width: 500px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
    .project-grid-section {
        padding: 60px 20px;
    }
}