/* --- 1. GLOBAL RESET & VARIABLEN --- */
:root {
    --bg-color: #fdfbf7;
    --text-color: #2c2c2c;
    --accent-gold: #c5a059;
    --btn-primary-bg: #3e5f58;
    
    --font-serif: 'Cormorant Garamond', Georgia, serif; 
    --font-sans: 'Inter', Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    background-image: url('https://www.transparenttextures.com/patterns/cream-paper.png');
    color: var(--text-color);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 300; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
p { margin-bottom: 1rem; }

/* --- GLOBALE ÜBERSCHRIFTEN-GRÖSSEN --- */
h1 {
    font-size: 3.5rem; /* Die Hauptüberschriften hast du ja schon vergrößert */
    line-height: 1.1;
    margin-bottom: 20px;
}

h2 {
    font-size: 3rem; /* Macht die Zwischenüberschriften (z.B. "Einblicke ins Schaffen") wieder groß */
    line-height: 1.2;
    margin-bottom: 20px;
}

h3 {
    font-size: 2rem; /* Für kleinere Zwischenüberschriften (z.B. "Stationen & Ausstellungen") */
    line-height: 1.3;
    margin-bottom: 15px;
}

/* --- 2. HEADER & NAVIGATION --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 6vw;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-group {
    display: flex;
    flex-direction: column;
}

.logo-subtitle {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b38e4a;
    margin-top: 2px;
    font-weight: 500;
}

.logo-link { display: block; }

nav ul { list-style: none; display: flex; gap: 30px; }
nav a { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 400; }
nav a:hover, nav a.active { color: var(--accent-gold); }

/* --- 3. HERO SECTION (STARTSEITE) --- */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center; 
    padding: 60px 6vw 80px 6vw; /* Hier haben wir aus der 0 vorne eine 60px gemacht */
    gap: 4vw;
}

.hero-text-block { padding-right: 4vw; }

.est {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #999;
}

.hero-title-main {
    font-size: 3.5rem;
    font-family: var(--font-serif);
    font-weight: 300;
    line-height: 1.2;
    color: var(--text-color);
    margin-top: 10px;
}

.hero-title br + .hero-title-part {
    display: inline-block;
    border-bottom: 2px solid var(--accent-gold);
}

.hero-subtitle { font-size: 1.8rem; margin-top: 10px; color: #555; }
.hero-body { margin-top: 20px; font-size: 1.1rem; color: #555; max-width: 500px; }

.hero-buttons { margin-top: 40px; display: flex; gap: 20px; }

.btn {
    padding: 12px 30px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary { background-color: var(--btn-primary-bg); color: white; border: none; }
.btn-primary:hover { background-color: #314d47; transform: translateY(-2px); }

.btn-secondary { background-color: transparent; color: var(--text-color); border: 1px solid #ddd; }
.btn-secondary:hover { border-color: #999; background-color: #f5f5f5; }

.hero-image-block { position: relative; }
.hero-image-block img { 
    width: 100%; 
    max-width: 85%; /* Hier machen wir das Bild etwas kleiner (passe den Wert nach Gefühl an, z.B. 80%) */
    height: auto; 
    object-fit: cover; 
    display: block; 
    margin-left: auto; /* Zieht das Bild elegant an den rechten Rand, damit es nicht in der Luft hängt */
}

.quote-box {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background-color: white;
    padding: 20px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    width: 280px;
}

.quote-box p {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

/* --- 4. ATELIER (STARTSEITE) --- */
.atelier-overview {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: start;
    padding: 80px 6vw;
}

.at-title-block h3 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.at-title-block .gold-line {
    width: 100px;
    height: 1px;
    background-color: var(--accent-gold);
    margin-top: 10px;
}

.at-title-block p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
    max-width: 550px;
}

.at-vibe-img {
    margin-top: 30px;
    width: 100%;
    max-width: 600px;
    height: auto;
    filter: sepia(0.2);
    box-shadow: 10px 10px 0px var(--accent-gold);
}

/* --- 5. PERMANENTES ARCHIV / GALERIE VORSCHAU (STARTSEITE) --- */
.permanent-archive { 
    padding: 80px 6vw; 
}
.archive-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 50px; 
}
.archive-header h3 { 
    font-size: 3rem; 
    color: #2c2c2c; 
    margin-bottom: 0; 
}
.text-link { 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    color: var(--accent-gold); 
}
.archive-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 4vw; 
}
.grid-item { 
    transition: transform 0.3s ease; 
}
.grid-item img { 
    width: 100%; 
    height: auto; 
    object-fit: cover; 
    margin-bottom: 15px; 
}
.work-title { 
    font-family: var(--font-serif); 
    font-size: 1.3rem; 
    margin-bottom: 5px; 
}
.work-tech { 
    font-size: 0.8rem; 
    color: #777; 
    font-weight: 300; 
    margin: 0; 
}
.grid-item:hover { 
    transform: translateY(-5px); 
}

/* --- 6. ÜBER MICH (UEBER_MICH.HTML) --- */
.sub-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 50px;
    color: var(--text-color);
}

.atelier-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 100px 6vw;
    gap: 4vw;
}

.atelier-hero-text h1.hero-title { font-size: 4.5rem; line-height: 1.05; }
.atelier-hero-text .gold-line { width: 100px; height: 1px; background-color: var(--accent-gold); margin: 20px 0; }
.atelier-hero-image { position: relative; }
.atelier-hero-image img.at-vibe-img { box-shadow: 10px 10px 0px var(--accent-gold); }

.atelier-hero-image .quote-box {
    position: absolute;
    bottom: -30px;
    right: 25%;  /* Jetzt schieben wir es massiv über das Bild! */
    background: white;
    padding: 25px 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    width: 300px;
    z-index: 10;
}

.atelier-hero-image .quote-box p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

.process-grid {
    padding: 100px 6vw;
    background-color: rgba(0,0,0,0.015);
}

.at-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.at-grid-item { text-align: center; }
.at-grid-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 5px 5px 0px var(--accent-gold);
    margin-bottom: 20px;
}
.at-grid-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    font-weight: 500;
}

.biography { padding: 120px 6vw; }
.bio-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: start;
    gap: 6vw;
}

.bio-text-block p { font-size: 1.15rem; color: #444; line-height: 1.8; margin-bottom: 25px; }
.bio-image-block .bio-portraet {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: sepia(0.1);
    box-shadow: 10px 10px 0px var(--accent-gold);
}

.exhibition-block {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}
.exhibition-block h3 {
    color: var(--accent-gold);
}
.exhibition-text { font-size: 1rem !important; line-height: 1.6; color: #666; }

/* --- 7. DIE NEUE GALERIE (GALERIE.HTML) --- */
.gallery-section { padding: 120px 6vw; }

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.eyebrow { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: #888; }
.gallery-title { font-size: 4.5rem; line-height: 1; margin-top: 10px; }

.gallery-filters { display: flex; gap: 25px; list-style: none; }
.gallery-filters li {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    cursor: pointer;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}
.gallery-filters li.active { color: var(--text-color); border-bottom: 1px solid var(--text-color); font-weight: 500;}

#portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 60px 4vw; 
    align-items: start;
    width: 100%;
    grid-auto-flow: dense; 
}

.gal-item.large { grid-column: span 8; }
.gal-item.small { grid-column: span 4; }
.gal-item.wide { grid-column: span 7; }
.gal-item.portrait { grid-column: span 5; }
.gal-item.overlap-container { grid-column: span 7; position: relative; }
.gal-text-block { grid-column: span 5; align-self: center; }

.gal-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 10px 10px 0px var(--accent-gold);
    transition: transform 0.4s ease;
    display: block;
}

.gal-item:hover img { transform: translateY(-5px); }

.gal-caption {
    margin-top: 15px;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    color: #444;
    display: flex;
    justify-content: space-between;
}

.gal-tech {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
}

.gal-text-block h3 { font-size: 3rem; line-height: 1.1; margin: 15px 0; }
.gal-text-block p { color: #555; }

.gal-overlap-box {
    position: absolute;
    bottom: -30px;
    left: -40px;
    background: white;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    width: 320px;
    z-index: 10;
}
.gal-overlap-box h4 { font-size: 1.5rem; margin-bottom: 10px; color: var(--accent-gold); }
.gal-overlap-box p { font-size: 0.95rem; color: #666; margin: 0; }

/* --- 8. KONTAKT & IMPRESSUM --- */
.contact-section { padding: 120px 6vw; min-height: calc(100vh - 230px); }
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    align-items: start;
    /* max-width: 1200px; - Das war der Übeltäter, der es so schmal gemacht hat! */
    max-width: 100%; 
    margin: 0 auto;
}

.contact-details { margin-top: 40px; }
.contact-details p { font-size: 1.1rem; color: #444; line-height: 1.8; margin-bottom: 20px; }

.elegant-form {
    background-color: white;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.input-group { margin-bottom: 30px; }

.elegant-form input,
.elegant-form textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    background-color: transparent;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

.elegant-form input:focus,
.elegant-form textarea:focus { outline: none; border-bottom: 1px solid var(--accent-gold); }
.elegant-form textarea { resize: vertical; }

.submit-btn {
    background-color: var(--text-color);
    color: white;
    border: none;
    padding: 15px 30px;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}
.submit-btn:hover { background-color: var(--accent-gold); }

.honey-trap { position: absolute; left: -9999px; top: -9999px; opacity: 0; }

.form-feedback {
    background-color: #fcfcfc;
    padding: 40px;
    border-left: 3px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.form-feedback h3 { font-family: var(--font-serif); font-size: 2rem; margin-bottom: 10px; }
.form-feedback p { font-size: 1.05rem; color: #555; }
.hidden { display: none !important; }

.legal-section { padding: 120px 6vw; }
.legal-container { max-width: 800px; margin: 0 auto; }
.legal-container h3 { font-family: var(--font-serif); font-size: 1.5rem; margin-top: 50px; margin-bottom: 15px; }
.legal-container p { font-size: 1.05rem; color: #555; line-height: 1.8; margin-bottom: 20px; }

/* --- 9. FOOTER --- */
footer {
    padding: 40px 6vw;
    text-align: center;
    border-top: 1px solid #f1f1f1;
    font-size: 0.8rem;
    color: #999;
}
footer a:hover { color: var(--accent-gold); }

/* --- 10. RESPONSIVE DESIGN (Media Queries) --- */

@media (max-width: 900px) {
    .hero, .atelier-overview, .contact-wrapper, .atelier-hero, .bio-wrapper, .at-grid {
        grid-template-columns: 1fr;
    }
    
    .hero, .atelier-overview, .atelier-hero, .process-grid { text-align: center; justify-items: center; }
    
    .hero-text-block { padding-right: 0; }
    .hero-buttons { justify-content: center; }
    .hero-image-block, .contact-details { margin-top: 40px; }
    
    .quote-box { right: 0; }
    .at-title-block .gold-line, .atelier-hero-text .gold-line { margin: 10px auto; }
    
    .bio-wrapper { direction: rtl; gap: 40px; }
    .bio-text-block, .bio-image-block { direction: ltr; }

    .gallery-header { flex-direction: column; align-items: flex-start; gap: 30px; }
    .gallery-filters { flex-wrap: wrap; gap: 15px; }
    
    .gal-item.large, .gal-item.small, .gal-item.wide, .gal-item.portrait, .gal-item.overlap-container, .gal-text-block {
        grid-column: span 12;
    }
    .gal-overlap-box { position: relative; bottom: 0; left: 0; width: 100%; margin-top: -20px; }
    
    .elegant-form { padding: 30px 20px; }

    /* --- Zitat-Box Mobile: Der elegante Overlap --- */
.atelier-hero-image .quote-box {
    position: relative; 
    right: auto; 
    bottom: auto;
    width: 85%; 
    /* Das ist der Magic Trick: -40px zieht die Box nach OBEN über den Bildrand */
    margin: -40px auto 50px auto; 
    background: white;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12); /* Weicher, tieferer Schatten für den 3D-Effekt */
    z-index: 10; /* Zwingt die Box ÜBER das Bild */
}

.atelier-hero-image .quote-box p {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.5;
}
}

@media (max-width: 600px) {
    header { flex-direction: column; padding: 20px 5vw; gap: 15px; text-align: center; }
    .logo-group { align-items: center; }
    .logo { font-size: 1.5rem; }
    
    nav ul { flex-wrap: wrap; justify-content: center; gap: 15px; }
    nav a { font-size: 0.75rem; }
    
    .at-title-block h3, .archive-header h3 { font-size: 2.2rem; }
    .atelier-hero-text h1.hero-title, .sub-title, .gallery-title { font-size: 2.8rem; }
    
    .at-grid { gap: 40px; }
    #portfolio-grid { gap: 40px 0;}

    /* Macht die Überschriften auf dem Handy wieder passend */
    h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 2.2rem;
    }
    h3 {
        font-size: 1.8rem;
    }
}