/* --- 1. RESET & BASIC --- */
:root {
    --color-beige: #F9E4C9;
    --color-orange: #EA3C12;
    --color-yellow: #FFB84D;
    --color-text-dark: #1a1a1a;
    --font-serif: 'Abril Fatface', cursive;
    --font-sans: 'Inter', sans-serif;
}

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

html, body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-dark);
}

/* --- 2. SCROLL SNAP --- */
.scroll-container {
    height: 100vh;
    width: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.section {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* --- 3. HERO SECTION (Vollbild) --- */
.hero-section {
    padding: 0;
    background-color: var(--color-beige);
}

.hero-image-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.hero-image-container img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    z-index: 10;
    align-items: center; 
    justify-content: center; 
}

/* --- 4. TYPOGRAFIE HERO (HEADER) --- */
.top-header {
    text-align: center;
    position: relative;
    margin-top: -35vh; 
}

.main-title {
    font-family: var(--font-serif);
    font-size: 8rem; 
    line-height: 0.55; 
    color: var(--color-orange);
    text-transform: uppercase;
    text-align: center;
    position: relative;
}

.line-top { display: block; }

.line-bottom-wrapper {
    position: relative;
    display: inline-block; 
    margin-top: -10px; 
}

.line-bottom-wrapper::before,
.line-bottom-wrapper::after {
    content: "Multimedia Producer";
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-orange);
    position: absolute;
    top: 55%; 
    transform: translateY(-50%);
    white-space: nowrap;
}

.line-bottom-wrapper::before { right: 100%; margin-right: 20px; }
.line-bottom-wrapper::after { left: 100%; margin-left: 20px; }

.est {
    font-family: 'Brush Script MT', cursive;
    color: #EA3C12;
    font-size: 2.2rem;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
    margin-top: 30px;
    white-space: nowrap;
}

/* --- 5. FOOTER (Vollbild Style) --- */
.footer-section {
    padding: 0;
    background-color: var(--color-orange);
}

.footer-image-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.footer-image-container img {
    width: 100%; height: 100%;
    object-fit: cover; 
    object-position: center; 
}

.footer-content {
    position: relative;
    z-index: 2;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;     
}

.big-cta {
    font-size: 6rem;
    text-align: center;
    color: var(--color-orange); 
    font-family: var(--font-serif);
    line-height: 0.9;
    text-transform: uppercase;
    text-shadow: 0px 0px 30px rgba(255, 255, 255, 0.4);
}

.footer-links {
    display: flex;
    gap: 3rem;
    color: #fff;
    background-color: var(--color-orange);
    width: 100%;
    justify-content: center;
    align-items: center; 
    padding: 2rem;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
}

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

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    height: 100%;
    align-items: center;
}

/* Farben */
.intro-section { background-color: var(--color-beige); }
.red-section { background-color: var(--color-orange); color: var(--color-beige); }
.yellow-section { background-color: var(--color-yellow); }
.beige-section { background-color: var(--color-beige); }

/* Typografie Rest */
.section-title { font-size: 5rem; margin-bottom: 1rem; font-family: var(--font-serif); text-transform: uppercase; line-height: 0.9;}
.project-title { font-size: 4rem; color: var(--color-orange); margin-bottom: 1rem; font-family: var(--font-serif); text-transform: uppercase; line-height: 0.9;}
.handwritten { font-family: 'Brush Script MT', cursive; font-size: 2rem; color: var(--color-orange); margin-bottom: 1rem; }
.text-orange { color: var(--color-orange); }
.text-light { color: #E8D5B5; }

/* Bilder & Deko */
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
.collage { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.img-1 { align-self: flex-start; width: 70%; transform: rotate(-2deg); }
.img-2 { align-self: flex-end; width: 70%; margin-top: -50px; border: 5px solid #fff; }

.gallery-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; height: 90%; align-items: center; }
.item-1 { align-self: start; margin-bottom: 40px; } 
.item-2 { align-self: center; margin-top: 50px;} 
.item-3 { align-self: end; position: relative; margin-left: 60px; margin-top: 40px; }

/* --- FIX: Bildgrössen in der Galerie (Jung & Product) --- */
.item-1 a img {
    width: 300px;
    max-width: 100%;
    height: auto;
}

.item-3 a img {
    width: 200px;
    max-width: 100%;
    height: auto;
}

/* --- NEU: HOVER EFFEKT FÜR GALERIE --- */
.gallery-item a img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item a img:hover {
    transform: scale(1.05); /* Leichter Zoom */
}

.outline-text { -webkit-text-stroke: 2px #F9E4C9; color: transparent; font-size: 4rem; position: absolute; bottom: 5%; left: 0; font-family: var(--font-serif); }

/* WICHTIG: Damit absolute Positionierung innerhalb einer Spalte funktioniert */
.relative-container { position: relative; } 

/* --- 7. GRAFIK & STERNE EINSTELLUNGEN --- */

/* Basis-Klasse für alle Sterne */
.graphic-icon {
    position: absolute;
    display: block;
    opacity: 0.9;
    pointer-events: none;
    user-select: none;
}

/* 1. Intro Section */
.icon-intro {
    width: 180px; 
    top: 180px;    
    right: 20px;  
    z-index: -1;  
    transform: rotate(15deg);
}
.intro-section .text-col {
    position: relative;
    z-index: 2; 
}

/* 2. Projekte (Statt der Blume) */
.icon-flower {
    width:200px;
    top: -120px;
    right: -30px;
    z-index: 0;
    transform: rotate(-10deg);
}

/* 3. Eco Skincare (Großer Stern) */
.icon-big {
    width: 250px; 
    top: 50%;
    left: 50%;
    transform: translate(30%, 50%) rotate(20deg);
    z-index: 2; 
}

/* 4. Sustainable Craft (Outline Blume Ersatz) */
.icon-outline {
    width: 180px;
    top: 200px;
    right: 0px;
    z-index: 0;
    transform: rotate(5deg);
}

/* 5. Luxury Wellness (Ecke unten) */
.icon-corner {
    width: 320px;
    bottom: -20px;
    right: 440px;
    z-index: 2;
    transform: rotate(-15deg);
}

/* 6. Footer (Kleine Sterne) */
.icon-small {
    position: relative; 
    width: 40px;
    height: 40px;
    top: auto; right: auto;
    opacity: 1;
}

/* --- SUBPAGES STYLES --- */

/* Basis für alle Subpages */
.subpage-body {
    overflow-y: auto; 
    height: auto;
}

.subpage-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Header auf Subpages */
.subpage-header {
    text-align: center;
    margin-bottom: 4rem;
}

.subpage-title {
    font-family: var(--font-serif);
    font-size: 5rem;
    color: var(--color-orange);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.subpage-desc {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Zurück Button */
.back-btn {
    display: inline-block;
    margin-bottom: 2rem;
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: bold;
    color: var(--color-text-dark);
    font-size: 1.2rem;
}
.back-btn:hover { color: var(--color-orange); }

/* Hover Effekt für Bilder auf anderen Seiten */
.hover-effect { transition: transform 0.3s ease; cursor: pointer; }
.hover-effect:hover { transform: scale(1.02); }


/* --- TAGBLATT VIDEO GALERIE --- */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px;
    margin-top: 4rem;
}

.reel-video {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 10px;
    background: #000;
}


/* --- SPEZIFISCHE FARBEN PRO SUBPAGE --- */
.page-tagblatt { background-color: var(--color-beige); }
.page-mmp { background-color: var(--color-yellow); }
.page-assistant { background-color: var(--color-beige); }
.page-pending { background-color: var(--color-beige); }

/* --- FOOTER LINKS STYLE FIX --- */
.footer-links a {
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.3s;
}

.footer-links a:hover { opacity: 0.7; }

.footer-links a p {
    margin: 0;
    padding: 0;
    color: inherit;
}
@media (min-width: 901px) {
    .fly-in {
        opacity: 0;
        transform: translateY(100px); /* Startet 100px weiter unten */
        transition: all 1s ease-out; /* Braucht 1 Sekunde zum Hochfliegen */
    }

    .fly-in.visible {
        opacity: 1;
        transform: translateY(0); /* Landet am Originalplatz */
    }
}
/* --- 8. MOBILE RESPONSIVE --- */
/* --- 8. MOBILE RESPONSIVE (Ganz unten ersetzen) --- */
@media (max-width: 900px) {
    
    /* 1. Allgemeine Sektions-Anpassungen */
    .section { height: auto; min-height: 100vh; padding: 4rem 1rem; }
    .hero-section, .footer-section { height: 100vh; padding: 0; }
    .scroll-container { scroll-snap-type: none; overflow-y: auto; }
    
    .grid-2-col { grid-template-columns: 1fr; gap: 2rem; }
    .reverse-mobile { display: flex; flex-direction: column-reverse; }

    /* 2. HEADER FIX (Titel) */
    .main-title { 
        font-size: 4.5rem; 
        line-height: 0.85; 
        width: 100%;
        word-wrap: break-word;
    }
    .line-bottom-wrapper { display: block; margin-top: -20px; }
    .line-bottom-wrapper::before, .line-bottom-wrapper::after { display: none; }
    .est { font-size: 2rem; top: 100%; margin-top: 20px; }

    /* 3. TEXTGRÖSSEN & ZENTRIERUNG */
    .section-title { font-size: 3rem; text-align: center; }
    .project-title { font-size: 2.5rem; text-align: center; }
    .big-cta { font-size: 3rem; }

    /* 4. FIX FÜR SUBPAGE TITEL (Wörter nicht trennen!) */
    .subpage-title {
        font-size: 2.5rem; /* Klein genug, damit Wörter Platz haben */
        line-height: 1.1;
        
        /* HIER IST DER FIX: Keine Trennstriche */
        hyphens: none; 
        -webkit-hyphens: none;
        word-break: normal; 
    }
    .subpage-header { margin-bottom: 2rem; }

    /* 5. FIX FÜR "MY PROJECTS" (Red Section) */
    .red-section .content-wrapper {
        display: flex;
        flex-direction: column-reverse; /* Titel nach oben */
        align-items: center;
    }

    .outline-text {
        position: relative;
        text-align: center;
        width: 100%;
        left: auto; bottom: auto;
        margin-bottom: 2rem; 
        -webkit-text-stroke: 1px #F9E4C9; 
    }

    .gallery-grid { 
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center; 
        gap: 2rem; 
    }

    /* Alle Desktop-Margins löschen */
    .item-1, .item-2, .item-3 {
        margin: 0 !important; 
        align-self: center !important;
        width: auto;
    }

    /* Icons anpassen (Allgemein) */
    .item-3 .icon-flower {
        top: -40px;
        right: -20px;
        width: 120px;
    }

    /* --- HIER: BLUME BEI CREATIVE ASSISTANT VERSCHIEBEN --- */
    .icon-outline {
        /* Diese Werte gelten NUR auf dem Handy */
        width: 140px;   /* Etwas kleiner machen */
        top: 460px;     /* Weiter nach oben schieben */
        right: 200px;    /* Näher zur Mitte oder Rand */
        
        /* Falls sie sich mit dem Text beißt, dreh sie anders: */
        transform: rotate(-10deg); 
    }

    /* 6. Footer Links */
    .footer-links { flex-direction: column; text-align: center; padding-bottom: 2rem; gap: 1rem;}
    .icon-small { width: 30px; transform: rotate(10deg); margin: 10px 0;} 
}