:root {
    /* === USA-SPEZIFISCHE PASTELL-FARBPALETTE === */
    --barn-red: #d59a91;
    --dusty-blue: #a3b9cc;
    --parchment: #f7f2e9;
    --deep-indigo: #424b54;
    --sky-blue: #cce3f5;

    /* Basis Farben */
    --text-color: var(--deep-indigo);
    --background-color: #fcfaf6;
    --white: #ffffff;
    --shadow: 0 8px 25px rgba(163, 185, 204, 0.1);
    --light-gray: var(--parchment);
    
    /* USA Akzente für das Rezept-Template */
    --accent-color-1: var(--barn-red); /* Haupt-Akzentfarbe */
    --accent-color-2: var(--dusty-blue); /* Sekundär-Akzentfarbe */
    
    /* Fonts */
    --heading-font: 'Fredoka One', cursive;
    --body-font: 'Poppins', sans-serif;
    --handwriting-font: 'Gochi Hand', 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;
    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='%23a3b9cc' fill-opacity='0.1'%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");
}

.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(--accent-color-1);
    transition: var(--transition);
}

.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(2.8rem, 7vw, 5rem);
    line-height: 1.05; margin-bottom: 1rem;
    color: var(--accent-color-1);
}
.hero-text .subtitle {
    font-family: var(--handwriting-font);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--accent-color-2);
    margin-bottom: 2rem;
}
.hero-text .intro-paragraph { font-size: 1.1rem; max-width: 60ch; margin-bottom: 2.5rem; }

.liberty-sticker {
    display: block; width: 140px; height: 140px;
    position: absolute; bottom: -30px; right: -40px;
    transform: rotate(10deg); z-index: 10;
}
.liberty-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;
    border: 10px solid var(--white);
}
.hero-video { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }

.tracker-card {
    background: var(--light-gray); border-radius: var(--border-radius);
    padding: 1.5rem; border: 1px solid #e9e4d9;
}
.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; }
.portion-controls { display: flex; align-items: center; gap: 0.5rem; }
.portion-btn {
    background: var(--accent-color-1); 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(--accent-color-2); }
.tracker-ingredients { list-style: none; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #dcd5c6; }
.tracker-ingredients li { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 0.2rem 0; }
.tracker-ingredients span { font-weight: 600; }

.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(--accent-color-1);
    margin: 3rem 0 1rem; line-height: 1.2;
}
.article-main h3 {
    font-family: var(--american-font); font-size: 2rem; color: var(--accent-color-2);
    letter-spacing: 1px; margin: 2.5rem 0 1rem;
}
.article-main p, .article-main li { margin-bottom: 1.5rem; }

.quote-box {
    margin: 3rem 0; padding: 2rem; background-color: var(--light-gray);
    border-left: 5px solid var(--accent-color-2);
    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(--accent-color-2); margin: 0; line-height: 1.4;
}

.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.blue { background-color: #d1eaff; }
.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); }
}

.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(--accent-color-1); color: var(--white);
    border-radius: 50%; font-family: var(--heading-font);
    font-size: 1.4rem; display: grid; place-items: center;
}

.author-box {
    margin-top: 4rem; padding: 2rem; background-color: #fdf5f4;
    border: 2px dashed var(--accent-color-1); 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; margin-bottom: 1rem;
}
.author-box h4 {
    font-family: var(--heading-font); font-size: 1.8rem;
    color: var(--accent-color-1);
}
.author-box p { font-size: 1rem; margin-bottom: 1.5rem; }
.author-box a {
    background: var(--accent-color-1); 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); }

@media (min-width: 992px) { .hero-container { grid-template-columns: 2fr 1fr; gap: 4rem; } }
@media (max-width: 991px) {
    .hero-section { padding: 0; }
    .hero-container { display: flex; flex-direction: column-reverse; 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; }
    .liberty-sticker { width: 100px; height: 100px; right: 1rem; bottom: -25px; }
}
