/* --- GRUNDEINSTELLUNGEN --- */
:root {
    --bg-pink: #dfc5c5;
    --bg-blue: #9ebad5;
    --text-color: #1a1a1a;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Manrope', sans-serif;
}

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

html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    width: 100%;
    overflow-x: hidden;
}

/* --- BILDER --- */
img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

img:hover { opacity: 1; }

/* Spezial-Klasse für Bilder, die komplett sichtbar sein müssen (FHGR) */
.contain-img {
    object-fit: contain !important;
}

/* --- PLATZHALTER (OHNE RAHMEN/HINTERGRUND) --- */
.img-placeholder {
    background-color: transparent; 
    overflow: hidden;
    position: relative;
}

.img-placeholder::before { display: none; }
.img-placeholder img { position: relative; z-index: 1; }

/* --- ABSCHNITTE (SECTIONS) --- */
.panel {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pink-bg { background-color: var(--bg-pink); }
.blue-bg { background-color: var(--bg-blue); }

/* --- TYPOGRAFIE --- */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 0.9; }
h1 { font-size: 7rem; margin-bottom: 20px; }
h2 { font-size: 4.5rem; margin-bottom: 30px; }
h3 { font-size: 1.2rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
p { font-size: 1rem; line-height: 1.6; color: #333; }
.num { font-family: var(--font-sans); font-size: 1.2rem; position: absolute; top: 40px; left: 40px; font-weight: bold; }

/* --- LAYOUT GRID --- */
.content-grid {
    width: 100%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* --- SECTION 1: INTRO --- */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    height: 100%;
}
.title-area h1 { margin-left: -20px; z-index: 2; position: relative;}
.image-area { display: flex; justify-content: center; align-items: center; height: 100%; }
.rotate-right { width: 400px; height: 70%; max-height: 550px; transform: rotate(5deg); } 
.footer-area {
    grid-column: 1 / -1;
    display: flex; justify-content: space-between;
    margin-top: auto; padding-top: 20px; border-top: 1px solid #333; font-size: 0.8rem;
}

/* --- SECTION 2: ABOUT ME --- */
.two-columns { display: grid; grid-template-columns: 40% 60%; align-items: center; gap: 50px; height: 100%;}
.text-col .desc { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 20px; }
.img-col { height: 100%; display: flex; align-items: center; }
.img-col .img-placeholder { width: 100%; height: 80%; max-height: 600px; }

/* --- SECTION 3: WORK --- */
.centered-layout { text-align: center; }
.work-gallery { 
    display: flex; 
    justify-content: center; 
    align-items: center;
    gap: 40px; 
    height: 70%;
}
.work-gallery .img-placeholder { width: 45%; height: 60%; max-height: 400px; }
/* Quadratisches Bild */
.work-gallery .img-placeholder:nth-child(2) { width: 32%; height: auto; aspect-ratio: 1 / 1; max-height: none;}
.offset-down { margin-top: 80px; }
.caption { text-align: left; margin-top: 10px; font-size: 0.8rem; }

/* --- SECTION 4: SHOOT CONCEPT --- */
.mosaic-layout { display: flex; flex-direction: column; height: 100%; justify-content: center;}
.mosaic-layout .wide-img { width: 65%; height: 40%; max-height: 350px; margin-bottom: 20px; align-self: flex-start;}
.bottom-row { display: flex; justify-content: flex-end; align-items: flex-end; gap: 50px; height: 45%; }
.bottom-row .text-block { width: 250px; margin-bottom: 20px; }
.bottom-row .tall-img { width: 350px; height: 100%; border: 10px solid var(--bg-blue); }

/* --- SECTION 5: PLAY ON COLOR --- */
.overlap-layout { display: flex; align-items: center; justify-content: center; height: 100%; }
.images-wrapper { position: relative; width: 600px; height: 80%; max-height: 600px; }
.img-back { width: 60%; height: 70%; position: absolute; left: 0; top: 0; z-index: 1; }
.img-front { width: 60%; height: 70%; position: absolute; right: 0; bottom: 0; z-index: 2; box-shadow: -10px -10px 0px rgba(0,0,0,0.1); }
.text-abs { position: absolute; bottom: 20px; left: 0; width: 300px; z-index: 3; }

/* --- SECTION 6: FOOTER (ANGEPASST) --- */
.footer-layout { height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.center-piece { position: relative; display: flex; justify-content: center; align-items: center; flex-grow: 1; }

.center-piece .img-placeholder { 
    /* HIER GEÄNDERT: Bild viel grösser */
    width: 550px; 
    height: 80%; 
    max-height: 700px; 
    position: absolute; 
    z-index: 1; 
    
    /* HIER GEÄNDERT: Kein Overlay mehr */
    opacity: 1; 
}

.center-piece h2 { 
    z-index: 2; 
    text-align: center; 
    color: #fff; 
    /* HIER GEÄNDERT: Blend-Mode entfernt, nur noch Schatten für Lesbarkeit */
    text-shadow: 0 0 30px rgba(0,0,0,0.5); 
}

.contact-info { display: flex; justify-content: space-between; border-top: 1px solid #333; padding-top: 20px; }

/* --- RESPONSIVE (HANDY) --- */
@media (max-width: 900px) {
    html { scroll-snap-type: none; }
    .panel { height: auto; display: block; overflow: visible; }
    h1 { font-size: 3.5rem; margin-left: 0 !important; }
    h2 { font-size: 3rem; }
    
    .intro-grid, .two-columns { display: flex; flex-direction: column; gap: 30px; }
    .footer-area { margin-top: 30px; }
    .rotate-right { width: 100%; height: 400px; transform: none; }
    .img-col .img-placeholder { height: 400px; width: 100%; }
    
    .work-gallery { flex-direction: column; height: auto; }
    .work-gallery .img-placeholder { width: 100%; height: 300px; }
    .work-gallery .img-placeholder:nth-child(2) { width: 100%; aspect-ratio: auto; height: 300px; } 
    .offset-down { margin-top: 20px; }
    
    .mosaic-layout { display: flex; height: auto; }
    .mosaic-layout .wide-img { width: 100%; height: 250px; }
    .bottom-row { flex-direction: column-reverse; height: auto; align-items: flex-start; }
    .bottom-row .tall-img { width: 100%; height: 400px; border: none; }
    
    .images-wrapper { width: 100%; height: auto; display: flex; flex-direction: column; gap: 20px; }
    .img-back, .img-front { position: relative; width: 100%; height: 400px; top: auto; right: auto; bottom: auto; left: auto; }
    .text-abs { position: relative; bottom: auto; width: 100%; margin-top: 20px; }
    
    /* Footer Bild auf Handy anpassen */
    .center-piece .img-placeholder { 
        width: 100%; 
        height: auto; 
        max-height: 500px; 
        position: relative; /* Auf Handy besser relative, damit Text nicht überlappt falls unerwünscht */
    }
    
    .contact-info { flex-direction: column; gap: 30px; text-align: center; }
}

/* ========================================= */
/* --- EXTRA CSS FÜR SOCIAL MEDIA SEITE --- */
/* ========================================= */

.scrollable-page {
    height: auto !important; 
    min-height: 100vh;
    overflow-y: auto !important; 
    display: block !important; 
    padding-top: 100px;
    padding-bottom: 100px;
}

.back-btn {
    position: fixed;
    top: 30px;
    left: 40px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 100;
    background: rgba(255,255,255,0.5);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    transition: background 0.3s;
}
.back-btn:hover { background: white; }

.insta-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    width: 100%;
}

.insta-item {
    width: auto; 
    max-width: 500px;
    background: transparent;
    display: flex;
    justify-content: center;
}