/* Import der Google Font "Inter" */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

/* --- GRUNDLEGENDE STILE --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #121212;
    color: #E0E0E0;
    margin: 0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #FF5733;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #E0E0E0;
}

.highlight {
    color: #FF5733;
}

/* --- HEADER --- */
.main-header {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
    color: #FFFFFF;
}

.logo-img {
    height: 40px;
    margin-right: 12px;
}

.main-nav {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: #E0E0E0;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 8px 15px;
    border-radius: 5px;
}

.main-nav a:hover {
    color: #FFFFFF;
    background-color: #FF5733;
}

.main-nav a.active {
    color: #FFFFFF;
    background-color: #FF5733;
}

/* --- HEADER LIVE STATUS --- */
.header-live-status {
    display: flex;
    align-items: center;
    gap: 15px;
}

.live-status-icon {
    position: relative;
    display: block;
    width: 32px;
    height: 32px;
}

.live-status-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.live-status-icon:hover img {
    transform: scale(1.15);
}

.live-status-icon.live::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 3px solid #e74c3c;
    animation: pulse-live 1.5s infinite;
    box-shadow: 0 0 10px #e74c3c, inset 0 0 10px #e74c3c;
}

@keyframes pulse-live {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.1);
        opacity: 0;
    }
    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}


/* --- HERO SECTION --- */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hintergrund-index.PNG');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.hero-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-headline {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 15px 0;
}

.hero-subtext {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    color: #B0B0B0;
}

/* --- ALLGEMEINE SEKTIONEN --- */
.socials-section, .recipe-teaser-section, .recipe-overview-section, .recipe-detail-section {
    padding: 80px 20px;
    text-align: center;
}

.section-headline {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-subtext {
    font-size: 1.1rem;
    color: #B0B0B0;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* --- NEU: SUCH- & FILTER-STEUERUNG --- */
.filter-controls {
    max-width: 800px;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.search-wrapper {
    width: 100%;
}
#search-input {
    width: 100%;
    padding: 12px 20px;
    background-color: #1E1E1E;
    border: 1px solid #333;
    color: #E0E0E0;
    border-radius: 25px;
    font-size: 1rem;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}
#search-input:focus {
    outline: none;
    border-color: #FF5733;
    box-shadow: 0 0 10px rgba(255, 87, 51, 0.5);
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    background-color: #1E1E1E;
    color: #E0E0E0;
    border: 1px solid #333;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #FF5733;
    border-color: #FF5733;
    color: #FFFFFF;
}

.filter-btn.active {
    background-color: #FF5733;
    border-color: #FF5733;
    color: #FFFFFF;
}


/* --- LIVE STATUS PROFILE ICONS (HOMEPAGE) --- */
.live-profile-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.live-profile-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #E0E0E0;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.live-profile-icon:hover {
    transform: scale(1.05);
}

.live-profile-icon img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #333;
    padding: 3px;
    background-color: #121212;
    transition: border-color 0.3s ease;
}

.live-profile-icon:hover img {
    border-color: #FF5733;
}

.live-profile-icon.live img {
    border-color: #e74c3c;
    box-shadow: 0 0 15px #e74c3c;
}

.live-profile-icon.live::after {
    content: 'LIVE';
    position: absolute;
    top: 65px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #e74c3c;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 900;
    animation: pulse-live-text 1.5s infinite;
}

@keyframes pulse-live-text {
    0% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
}


/* --- REZEPT-ÜBERSICHT & TEASER --- */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
    text-align: left;
}

.recipe-teaser-section .recipe-grid {
    grid-template-columns: repeat(5, 1fr);
}

.recipe-card {
    background-color: #1E1E1E;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #E0E0E0;
    display: flex;
    flex-direction: column;
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(255, 87, 51, 0.3);
}

.recipe-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.recipe-card-content {
    padding: 20px;
    flex-grow: 1;
}

.recipe-card-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.view-all-recipes-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 30px;
    background-color: #FF5733;
    color: #FFFFFF;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.view-all-recipes-btn:hover {
    background-color: #e04a25;
    color: #FFFFFF;
}

/* --- TAGS & CATEGORIES (NEU) --- */
.card-tags-container {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.card-tag {
    background-color: #FF5733;
    color: #FFFFFF;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.detail-tags-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: -20px auto 30px auto;
}
.detail-tag {
    background-color: #2a2a2a;
    color: #E0E0E0;
    font-size: 0.8rem;
    padding: 5px 15px;
    border-radius: 15px;
    font-weight: 700;
    border: 1px solid #444;
}
.detail-tag.category-tag {
    background-color: #FF5733;
    color: #FFFFFF;
    border: none;
}


/* --- BLOG SEITEN STYLING --- */
.blog-overview-section, .blog-detail-section {
    padding: 80px 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.blog-card {
    background-color: #1E1E1E;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #E0E0E0;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(255, 87, 51, 0.3);
}

.blog-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-content {
    padding: 25px;
    flex-grow: 1;
}

.blog-card-title {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.blog-card-meta {
    color: #B0B0B0;
    font-size: 0.9rem;
    margin-top: auto;
}

.blog-post-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin: 20px auto 40px auto;
    display: block;
}

.blog-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.blog-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #E0E0E0;
}
.blog-post-content h1, .blog-post-content h2, .blog-post-content h3 {
    color: #FF5733;
}


/* --- REZEPT-DETAILSEITE --- */
.recipe-detail-section .container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.recipe-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    margin: 20px auto 40px auto;
    display: block;
}

.recipe-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.recipe-ingredients h2, .recipe-instructions h2, .content-block h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid #FF5733;
    padding-bottom: 10px;
}

.recipe-ingredients ul, .recipe-instructions ol, .content-block ul, .content-block ol {
    padding-left: 20px;
}

.recipe-ingredients li, .recipe-instructions li, .content-block li {
    margin-bottom: 10px;
}

.portion-calculator {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.portion-calculator label {
    font-weight: 700;
}

.portion-calculator input {
    width: 60px;
    padding: 8px;
    background-color: #2a2a2a;
    border: 1px solid #444;
    color: #E0E0E0;
    border-radius: 5px;
    font-size: 1rem;
}

/* --- Styling für die TikTok-Seite --- */
.tiktok-page-section {
    padding: 0;
}

.tiktok-hero-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/tiktok-page.png');
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    padding: 40px 20px;
}

.tiktok-hero-banner .section-headline {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 15px;
}

.tiktok-hero-banner .section-subtext {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    color: #B0B0B0;
}

.content-area-wrapper {
    padding: 80px 20px;
    text-align: center;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.comparison-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 87, 51, 0.5);
}

.comparison-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid;
    padding-bottom: 10px;
}

.disadvantage-card h3 {
    color: #E74C3C;
    border-color: #E74C3C;
}

.advantage-card h3 {
    color: #2ECC71;
    border-color: #2ECC71;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.comparison-card li {
    margin-bottom: 15px;
    padding-left: 0;
    position: relative;
    font-size: 1rem;
    line-height: 1.4;
}

.recommendation {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FF5733;
    color: #FFFFFF;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.button-apply {
    display: inline-block;
    padding: 14px 35px;
    background-color: #FF5733;
    color: #FFFFFF;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    margin-top: 30px;
    align-self: center;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 87, 51, 0.4);
}

.button-apply:hover {
    background-color: #e04a25;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 51, 0.6);
}

/* --- Social Linktree Styling --- */
.social-linktree-page-section {
    padding: 80px 20px;
    text-align: center;
}

.social-linktree-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 30px auto 0 auto;
}

.social-linktree-button {
    display: block;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFFFFF;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.social-linktree-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.social-linktree-button.merch {
    background-color: #2c3e50;
}
.social-linktree-button.merch:hover {
    background-color: #34495e;
}
.social-linktree-button.tip {
    background-color: #1abc9c;
}
.social-linktree-button.tip:hover {
    background-color: #16a085;
}
.social-linktree-button.discord { background-color: #7289DA; }
.social-linktree-button.discord:hover { background-color: #677BC4; }
.social-linktree-button.instagram { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.social-linktree-button.instagram:hover { filter: brightness(1.1); }
.social-linktree-button.youtube { background-color: #FF0000; }
.social-linktree-button.youtube:hover { background-color: #CC0000; }
.social-linktree-button.tiktok { background-color: #69C9D0; }
.social-linktree-button.tiktok:hover { background-color: #58B0B6; }
.social-linktree-button.twitch { background-color: #9146FF; }
.social-linktree-button.twitch:hover { background-color: #7A3ED6; }
.social-linktree-button.whatsapp { background-color: #25D366; }
.social-linktree-button.whatsapp:hover { background-color: #1DA851; }

/* --- Consent Modal Styling --- */
.consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.consent-modal.show {
    opacity: 1;
    visibility: visible;
}

.consent-modal-content {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 500px;
    width: 90%;
    color: #E0E0E0;
    position: relative;
}

.consent-modal-content h2 {
    color: #FF5733;
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: none;
}

.consent-modal-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.consent-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.consent-button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.consent-button.accept {
    background-color: #2ECC71;
    color: #FFFFFF;
}

.consent-button.accept:hover {
    background-color: #27AE60;
    transform: translateY(-2px);
}

.consent-button.deny {
    background-color: #E74C3C;
    color: #FFFFFF;
}

.consent-button.deny:hover {
    background-color: #C0392B;
    transform: translateY(-2px);
}

.consent-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.consent-links a {
    color: #B0B0B0;
    font-size: 0.9rem;
    text-decoration: underline;
}

.consent-links a:hover {
    color: #FF5733;
}

#page-content-wrapper {
    display: none;
}

/* --- FOOTER --- */
.main-footer {
    background-color: #000000;
    padding: 40px 0;
    text-align: center;
    color: #666666;
}

.footer-links-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-links-group a {
    color: #999999;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links-group a:hover {
    color: #FF5733;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
    }

    .main-header {
        padding: 10px 0;
    }

    .logo-link {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .logo-img {
        height: 35px;
        margin-right: 8px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin-bottom: 10px;
    }

    .main-nav a {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .header-live-status {
        justify-content: center;
        gap: 15px;
    }

    .live-status-icon {
        width: 28px;
        height: 28px;
    }

    .hero-section {
        height: 75vh;
    }
    
    .hero-logo {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }

    .hero-headline {
        font-size: 2rem;
        line-height: 1.2; 
    }

    .hero-subtext {
        font-size: 0.9rem;
    }

    .socials-section, .recipe-teaser-section, .recipe-overview-section, .recipe-detail-section {
        padding: 60px 20px; 
    }
    .content-area-wrapper {
        padding: 60px 20px;
    }

    .section-headline {
        font-size: 1.6rem;
    }
    
    .section-subtext {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .live-profile-icon img {
        width: 60px;
        height: 60px;
    }

    .live-profile-icon.live::after {
        top: 50px;
        font-size: 0.6rem;
    }
    
    .recipe-teaser-section .recipe-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .recipe-teaser-section .recipe-grid .recipe-card:nth-child(n+5) {
        display: none;
    }
    
    .recipe-card-title {
        font-size: 1rem;
    }

    .recipe-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    .comparison-card {
        padding: 20px;
    }
    .tiktok-hero-banner .section-headline {
        font-size: 2.5rem;
    }
    .tiktok-hero-banner .section-subtext {
        font-size: 1rem;
    }
    .social-linktree-container {
        max-width: 100%;
    }

    .consent-modal-content {
        padding: 30px;
    }
    .consent-modal-content h2 {
        font-size: 1.5rem;
    }
    .consent-modal-content p {
        font-size: 1rem;
    }
    .consent-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .consent-button {
        width: 100%;
    }
    .consent-links {
        flex-direction: column;
        gap: 10px;
    }
    .footer-links-group {
        flex-direction: column;
        gap: 10px;
    }
}

