/* Grundlegende Stildefinitionen */
:root {
    --primary-color: #007CA5;
    --secondary-color: #c94d0c;
    --background-light: #E9F5F8;
    --background-dark: #f7f7f7;
    --text-dark: #212121;
    --text-medium: #666;
    --border-light: #d3e4e8;
    --font-family: 'Poppins', sans-serif;
    --star-color: #FFD700;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header-Stil */
.header {
    background-color: #fff;
    padding: 1rem 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    display: block;
    width: 200px;
    height: auto;
    flex-shrink: 0;
}

.logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

.header-text-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    margin-right: 200px;
}

.header-text-block .main-title {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.header-text-block .sub-title {
    font-size: 0.9em;
    font-weight: 400;
    color: var(--secondary-color);
    line-height: 1.2;
}

/* --- Content-Seiten Layout --- */
.page-hero {
    background-color: var(--background-light);
    padding: 3rem 20px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-hero p {
    font-size: 1.1em;
    color: var(--text-medium);
    max-width: 900px;
    margin: 0 auto;
}

.page-content {
    padding: 4rem 20px;
    background-color: #fff;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
}

.content-container h2 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    border-left: 5px solid var(--secondary-color);
    padding-left: 10px;
}

.content-container h3 {
    font-size: 1.3em;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.content-container p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.content-container a {
    color: var(--primary-color);
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.content-container a:hover {
    text-decoration: underline;
}

.content-container ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 1.5rem;
}

/* --- Advertorial --- */

        .advertorial-badge {
            position: fixed;
            top: 10px;
            right: 10px;
            background-color: rgba(255, 255, 255, 0.8);
            color: #888;
            padding: 4px 10px;
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
            border-radius: 4px;
            z-index: 9999;
            border: 1px solid #ddd;
        }

/* --- Produkt CTA Bereich --- */
.cta-separator {
    background-color: var(--background-dark);
    padding: 3rem 20px;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}

.product-cta-box {
    background-color: #fff;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-image-container {
    width: 150px;
    height: 150px;
    margin-bottom: 1.5rem;
}

.product-cta-box h2 {
    font-size: 1.8em;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.product-cta-box h2 font {
    font-weight: 700;
}

.price-info {
    margin-bottom: 1.5rem;
    font-size: 1.2em;
    font-weight: 600;
}

.price-info .old-price {
    color: var(--text-medium);
    text-decoration: line-through;
    font-weight: 400;
    font-size: 0.9em;
}

.cta-button {
    background-color: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.1s ease;
    box-shadow: 0 4px 10px rgba(201, 77, 12, 0.3);
}

.cta-button:hover {
    background-color: #b0400c;
    transform: translateY(-2px);
}

.coupon-box {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--background-light);
    border: 2px dashed var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9em;
    color: var(--primary-color);
}

.coupon-code {
    color: var(--secondary-color);
    font-size: 1.1em;
    letter-spacing: 1px;
}

/* --- Kundenrezensionen --- */
.reviews-section {
    padding: 4rem 20px;
    background-color: var(--background-dark);
}

.reviews-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 2.5rem; /* Etwas mehr Abstand zu den Karten */
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; /* Erlaubt den Umbruch der Karten in die nächste Zeile */
    justify-content: center; /* Zentriert die Karten in der Reihe */
    gap: 30px; /* Abstand zwischen den Karten */
}

.review-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;

    /* Desktop: Nimmt knapp die Hälfte des Platzes ein, um zwei Spalten zu bilden */
    flex-basis: calc(50% - 15px);
    flex-grow: 0;
    flex-shrink: 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.stars {
    color: var(--star-color);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.review-card h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.review-card p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
    flex-grow: 1; /* Sorgt dafür, dass die Karten die gleiche Höhe haben */
}

.reviewer-name {
    display: block;
    text-align: right;
    font-weight: 600;
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* CTA unter den Rezensionen */
.reviews-cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2.5rem; /* Abstand nach oben */
}

.reviews-cta-container .coupon-box {
    margin-top: 1.5rem; /* Abstand zum Button */
    display: inline-block; /* Verhindert, dass die Box die volle Breite einnimmt */
    max-width: 100%;
}

/* --- NEU: Kategorieseiten-Links --- */
.category-section {
    padding: 2rem 20px 4rem 20px; /* Weniger Abstand nach oben, da schon Text darüber ist */
    background-color: #fff; 
}

.category-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 30px; 
}

.category-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* Desktop: Zwei Spalten */
    flex-basis: calc(50% - 15px);
    flex-grow: 0;
    flex-shrink: 0;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.category-card-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid var(--secondary-color);
}

.category-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Wichtig für gleiche Höhe */
}

.category-card-content h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.category-card-content p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Stößt den Button nach unten */
}

.category-button {
    background-color: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.1s ease;
    box-shadow: 0 4px 10px rgba(201, 77, 12, 0.3);
    text-align: center;
    display: inline-block;
    align-self: flex-start; /* Button bleibt am Textanfang, wenn p nicht flext */
}

.category-button:hover {
    background-color: #b0400c;
    transform: translateY(-2px);
}
/* --- Ende Kategorieseiten-Links --- */


/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 2rem 20px;
    text-align: left;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
    font-size: 0.9em;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

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

.footer p {
    margin-top: 1rem;
    font-size: 0.8em;
    opacity: 0.9;
}

/* Disclaimer Text */
.disclaimer {
    font-size: 0.7em;
    opacity: 0.6;
    margin-top: 1.5rem;
    line-height: 1.4;
}

/* --- Mobile-Anpassungen --- */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .header-text-block {
        margin-right: 0;
        margin-top: 10px;
    }

    .logo {
        width: 150px;
    }
    
    .page-hero h1 {
        font-size: 1.8em;
    }

    .product-cta-box h2 {
        font-size: 1.5em;
    }
	
    /* Rezensionen untereinander auf kleinen Bildschirmen */
    .review-card {
        /* Karten nehmen die volle Breite ein, um untereinander zu stehen */
        flex-basis: 100%;
    }

    /* NEU: Mobile Anpassung für die Kategorieseiten-Karten */
    .category-card {
        flex-basis: 100%; /* Volle Breite auf Mobile */
    }
}

