/* Globale Variablen für das genaue Farbschema */
:root {
    --bg-main: #F3F2F2;
    --bg-box: #E2E2E2;
    --text-main: #111111;
    --font-family: 'Albert Sans', sans-serif;
    --grid-gap: 8px; /* Sehr schmale Lücken zwischen den Bildern wie im Screenshot */
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

/* Typografie */
h1, h2 {
    font-weight: 700;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(24px, 3vw, 42px);
    margin: 60px 0 20px;
}

/* Navigation */
.site-nav {
    padding: 20px;
}

.site-nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-start; /* Im Original oft zentriert oder linksbündig */
    gap: 15px 25px;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
}

.site-nav a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Nimmt einen großen Teil des Bildschirms ein */
    display: flex;
    align-items: center;
    padding: 40px;
    overflow: hidden;
    background-color: #333;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); 
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-content h1 {
    color: #ffffff;
    font-size: clamp(32px, 5vw, 56px);
}

/* Hauptinhalt */
.site-content {
    max-width: 1600px; /* Sehr breit wie im Original */
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-section h2 {
    text-align: left;
}

/* Gridsystem für die Bilder */
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
}

.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap);
}

.mt-gap {
    margin-top: var(--grid-gap);
}

/* Bildformate erzwingen */
.landscape-grid img { aspect-ratio: 16/9; }
.portrait-grid img { aspect-ratio: 4/5; }
.square-grid img { aspect-ratio: 1/1; }

.grid-3-col img, 
.grid-2-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: #ccc; /* Platzhalter-Hintergrundfarbe */
}

/* Musik Sektion */
.music-section {
    margin-top: 100px;
}

.music-section h2 {
    text-align: center;
}

.music-embed {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* Über Mich Box */
.about-section {
    margin-top: 100px;
}

.about-section h2 {
    text-align: center;
}

.about-box {
    background-color: var(--bg-box);
    padding: 60px 30px;
    margin: 0 auto;
    display: block;
    max-width: 500px;
    font-size: 14px;
    line-height: 1.6;
}

/* Kontakt */
.contact-section {
    text-align: center;
    margin: 80px 0;
    padding: 40px 0;
}

.contact-section h2 {
    text-align: center;
}

.mail-link {
    color: var(--text-main);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.mail-link:hover {
    text-decoration: underline;
}

.footer-links {
    margin-top: 40px;
}

.footer-links a {
    color: var(--text-main);
    font-size: 12px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive (Mobile View) */
@media (max-width: 900px) {
    .grid-3-col, .grid-2-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-3-col, .grid-2-col {
        grid-template-columns: 1fr;
    }
    
    .site-nav ul {
        justify-content: center;
    }
}