:root {
    --text-color: #282525;
    --background-color: #FDFBF8; /* Leichter Eierschalen-Ton */
    --white: #ffffff;
    --shadow: 0 8px 25px rgba(0,0,0,0.06);
    
    --italia-red: #d62828;
    --italia-green: #007f5f;
    --italia-yellow: #fcbf49;
    --light-gray: #f8f9fa;
    
    --heading-font: 'Fredoka One', cursive;
    --body-font: 'Poppins', sans-serif;
    --handwriting-font: 'Caveat', cursive;
    --american-font: 'Bebas Neue', sans-serif;
    
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--body-font);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.8;
    font-size: 18px;
    /* Subtile Hintergrundtextur */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e9ecef' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Navigation (vereinfacht) */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1rem 2rem;
    background: transparent;
    transition: var(--transition);
}
.nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.site-name {
    font-family: var(--heading-font); font-size: 2rem; text-decoration: none;
    color: var(--italia-red);
    transition: var(--transition);
}

/* --- Hero Section mit weißem Layout --- */
.hero-section {
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.hero-text h1 {
    font-family: var(--heading-font);
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    color: var(--italia-red);
}
.hero-text .subtitle {
    font-family: var(--handwriting-font);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--italia-green);
    margin-bottom: 2rem;
}
.hero-text .intro-paragraph {
    font-size: 1.1rem;
    max-width: 60ch;
    margin-bottom: 2.5rem;
    position: relative;
}

.vanessa-sticker {
    display: block;
    width: 140px;
    height: 140px;
    position: absolute;
    bottom: -30px;
    right: -40px;
    transform: rotate(10deg);
    z-index: 10;
}
.vanessa-sticker img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(5px 5px 15px rgba(0,0,0,0.2));
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 2rem auto;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    aspect-ratio: 9 / 16;
    overflow: visible; /* Changed from hidden to allow sticker to pop out */
    border: 10px solid var(--white);
}
.hero-video { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }

/* --- Kcal Tracker --- */
.tracker-card {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid #eee;
}
.tracker-header { display: flex; justify-content: space-between; align-items: center; }
.tracker-header h3 { font-family: var(--american-font); font-size: 1.5rem; letter-spacing: 1px; color: var(--text-color); }
.portion-controls { display: flex; align-items: center; gap: 0.5rem; }
.portion-btn {
    background: var(--italia-red); color: var(--white);
    border: none; width: 35px; height: 35px; border-radius: 50%;
    font-size: 1.5rem; font-weight: bold; cursor: pointer;
}
#portion-display { font-weight: bold; font-size: 1.2rem; min-width: 150px; text-align: center; }
.total-calories { text-align: right; margin-top: 1rem; }
.total-calories span { font-family: var(--heading-font); font-size: 2.5rem; color: var(--italia-green); }

.tracker-ingredients { list-style: none; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #ddd; }
.tracker-ingredients li { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 0.2rem 0; }
.tracker-ingredients span { font-weight: 600; color: var(--text-color); }

/* --- Hauptartikel --- */
.article-main {
    max-width: 850px;
    margin: 4rem auto 0;
    position: relative; z-index: 10;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 3rem 4rem;
    box-shadow: var(--shadow);
}
@media (max-width: 768px) { .article-main { padding: 2rem 1.5rem; margin-top: 2rem; } }

.article-main h2 {
    font-family: var(--heading-font); font-size: 2.8rem; color: var(--italia-red);
    margin: 3rem 0 1rem; line-height: 1.2;
}
.article-main h3 {
    font-family: var(--american-font); font-size: 2rem; color: var(--italia-green);
    letter-spacing: 1px; margin: 2.5rem 0 1rem;
}
.article-main p, .article-main li { margin-bottom: 1.5rem; }

/* --- Verbesserte Zitat-Box mit Bild --- */
.quote-box {
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--light-gray);
    border-left: 5px solid var(--italia-green);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.quote-box img {
    width: 80px; height: 80px; border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.quote-box p {
    font-family: var(--handwriting-font); font-size: 2rem;
    color: var(--italia-green);
    margin: 0; line-height: 1.4;
}

/* --- Post-it Sticker (unverändert) --- */
.post-it {
    background-color: #fefabc; padding: 1.5rem;
    font-family: var(--handwriting-font); font-size: 1.6rem;
    line-height: 1.5; color: #333;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.15);
    margin: 2rem 0; position: relative; z-index: 5;
    border-bottom-right-radius: 60px 10px;
    float: right; width: 45%;
    margin-left: 2rem; margin-top: -1rem;
    transform: rotate(2deg);
}
.post-it.left { float: left; margin-right: 2rem; margin-left: 0; transform: rotate(-2deg); }
.post-it.green { background-color: #d3f8e2; }
.post-it.red { background-color: #ffe2e2; }
.post-it p { margin: 0; }
@media (max-width: 768px) {
    .post-it, .post-it.left { float: none; width: 100%; margin: 2rem 0; transform: rotate(0); }
}

/* --- Anleitung Liste (unverändert) --- */
.instructions-list { list-style: none; counter-reset: instruction-counter; }
.instructions-list li { counter-increment: instruction-counter; position: relative; padding-left: 50px; margin-bottom: 2rem; }
.instructions-list li::before {
    content: counter(instruction-counter);
    position: absolute; left: 0; top: 0;
    width: 35px; height: 35px; background: var(--italia-red); color: var(--white);
    border-radius: 50%; font-family: var(--heading-font);
    font-size: 1.4rem; display: grid; place-items: center;
}

/* --- Handgezeichneter Trenner --- */
.divider {
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10 C 20 20, 40 0, 60 10 S 80 0, 100 10" stroke="%23dddddd" fill="transparent" stroke-width="2"/></svg>');
    background-repeat: repeat-x;
    background-position: center;
    margin: 3rem 0;
}

/* --- Autoren-Box am Ende --- */
.author-box {
    margin-top: 4rem;
    padding: 2rem;
    background-color: #FFF8F8;
    border: 2px dashed var(--italia-red);
    border-radius: var(--border-radius);
    text-align: center;
}
.author-box img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid var(--white);
    box-shadow: var(--shadow);
    margin-top: -80px; /* Zieht das Bild nach oben */
    margin-bottom: 1rem;
}
.author-box h4 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--italia-red);
}
.author-box p { font-size: 1rem; margin-bottom: 1.5rem; }
.author-box a {
    background: var(--italia-red); color: var(--white);
    text-decoration: none; padding: 0.8rem 1.5rem;
    border-radius: 50px; font-weight: 600;
    transition: var(--transition);
}
.author-box a:hover { transform: scale(1.05); }

/* --- RESPONSIVE FIXES --- */

/* Desktop Layout */
@media (min-width: 992px) {
    .hero-container { grid-template-columns: 2fr 1fr; gap: 4rem; }
}

/* Mobile Layout */
@media (max-width: 991px) {
    .hero-section {
        padding: 0;
    }
    .hero-container { 
        display: flex;
        flex-direction: column-reverse; /* Puts video first */
        gap: 0;
    }
    .hero-text {
        padding: 2rem 1.5rem 3rem;
    }
    .video-container {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        border: none;
        height: 75vh;
        aspect-ratio: auto;
        box-shadow: none;
    }
    .hero-video {
        border-radius: 0;
    }
    .vanessa-sticker {
        width: 100px;
        height: 100px;
        right: 1rem;
        bottom: -25px;
    }
}
