/*
========================================
1. Globale Stile & Typografie
========================================
*/
:root {
    --color-primary: #007bff; /* Helles Blau für Haupt-CTA und Akzente */
    --color-secondary: #ffc107; /* Gelb für Hervorhebungen/Badges (z.B. Bestseller) */
    --color-success: #28a745; /* Grün für "Check" oder "Erfolg" */
    --color-danger: #dc3545; /* Rot für Warnungen/Engpässe */
    --color-text: #343a40; /* Dunkler Text für gute Lesbarkeit */
    --color-light: #f8f9fa; /* Heller Hintergrund für Sektionen */
    --color-white: #ffffff;
    --font-family: 'Inter', sans-serif;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --max-width: 1200px;
}

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

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

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

section {
    padding: var(--spacing-lg) 0;
}

h1, h2, h3 {
    font-weight: 800; /* Extra Bold für Titel */
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
}

p {
    margin-bottom: var(--spacing-sm);
}

/*
========================================
2. CTA & Buttons (Wichtig für Conversion)
========================================
*/

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    margin-top: var(--spacing-md);
    background-color: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 800;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.1s ease;
    text-align: center;
    width: 100%;
    max-width: 400px; /* Begrenzt die Breite auf Desktops */
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #0056b3; /* Dunkleres Blau beim Hover */
    transform: translateY(-2px);
}

.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

.big-btn {
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
}

/*
========================================
3. Alarm Bar (Dringlichkeit)
========================================
*/
.alert-bar {
    background-color: var(--color-danger);
    color: var(--color-white);
    text-align: center;
    padding: 0.75rem 0;
    font-weight: 600;
    font-size: 0.95rem;
}

/*
========================================
4. Hero Sektion
========================================
*/
.hero-section {
    background-color: var(--color-light);
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-lg);
}

.hero-grid {
    display: grid;
    gap: var(--spacing-md);
    align-items: center;
}

.badge-top {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-text);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.hero-sub {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}

.price-wrapper {
    display: flex;
    align-items: center;
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.main-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-danger); /* Hebt den aktuellen Preis hervor */
    margin-right: 1rem;
    line-height: 1;
}

.discount-stack {
    display: flex;
    flex-direction: column;
}

.strike-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 1.1rem;
}

.save-badge {
    display: inline-block;
    background-color: var(--color-success);
    color: var(--color-white);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.trust-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: var(--spacing-sm);
    color: var(--color-success);
}

.hero-image-box {
    position: relative;
    text-align: center;
}

.hero-img {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.floating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

/*
========================================
5. Problem Sektion (Schmerzpunkte)
========================================
*/
.problem-section {
    background-color: var(--color-white);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    text-align: center;
}

.problem-card {
    padding: var(--spacing-md);
    background-color: var(--color-light);
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.icon-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    background-color: var(--color-white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.icon-circle.red {
    color: var(--color-danger);
}


/*
========================================
6. Details/Feature Sektion (Lösung)
========================================
*/
.details-section {
    background-color: var(--color-light);
}

.section-header p {
    text-align: center;
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: var(--spacing-lg);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-visual img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    min-height: 200px; /* Stellt sicher, dass der Platzhalter sichtbar ist */
    background-color: #e9ecef; /* Hintergrundfarbe für Platzhalter */
}

.image-caption {
    text-align: center;
    font-style: italic;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.category-tag {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.check-list {
    list-style: none;
    padding-left: 0;
}

.check-list li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.check-list li:before {
    content: "✔️";
    color: var(--color-success);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    margin-right: 0.5em;
}

.benefit-note {
    font-weight: 800;
    color: var(--color-primary);
    border-left: 4px solid var(--color-primary);
    padding-left: 1rem;
    margin-top: var(--spacing-sm);
}

/*
========================================
7. Specs & Zubehör
========================================
*/
.specs-box-section {
    background-color: var(--color-white);
}

.specs-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.accessories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    align-items: center;
    background-color: var(--color-light);
    padding: var(--spacing-md);
    border-radius: 12px;
    margin-bottom: var(--spacing-lg);
}

.acc-list ul {
    list-style: none;
    padding-left: 0;
    columns: 1; /* Standard für Mobilgeräte */
}

.acc-list li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #ced4da;
}

.acc-list li:last-child {
    border-bottom: none;
}

.acc-image-wrapper img {
    width: 100%;
    height: auto;
    max-width: 450px;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
}

.tech-specs {
    border-top: 1px solid #dee2e6;
    padding-top: var(--spacing-md);
}

.spec-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background-color: #f1f3f5;
    border-radius: 4px;
    font-size: 1rem;
}

.spec-item .label {
    font-weight: 600;
}

.spec-item .value {
    color: var(--color-primary);
    font-weight: 800;
}


/*
========================================
8. Final CTA (Warenkorb)
========================================
*/
.final-cta-section {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
}

.cta-box {
    background-color: var(--color-white);
    color: var(--color-text);
    padding: var(--spacing-lg);
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-box h2 {
    color: var(--color-primary);
}

.product-recap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: var(--spacing-md) 0;
    padding: 1rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.product-recap img {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    object-fit: cover;
}

.recap-text {
    text-align: left;
}

.price-big {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-danger);
    margin-top: 0.25rem;
}

.guarantee-small {
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
    color: #6c757d;
}

.payment-methods {
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
    color: #6c757d;
}

/*
========================================
9. Footer
========================================
*/
footer {
    background-color: #343a40;
    color: var(--color-white);
    padding: var(--spacing-md) 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--color-white);
    text-decoration: none;
    margin: 0 0.75rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-links {
    margin-bottom: 1rem;
}


/*
========================================
10. Sticky CTA Bar (Mobile & Scroll)
========================================
*/
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none; /* Standardmäßig ausgeblendet */
    padding: 0.75rem 1rem;
    transition: transform 0.3s ease-in-out;
    transform: translateY(100%);
}

.sticky-cta-bar.is-visible {
    display: block;
    transform: translateY(0);
}

.sticky-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.sticky-text-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.sticky-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-danger);
    line-height: 1;
}

.sticky-strike-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.8rem;
}

.sticky-btn {
    width: auto;
    padding: 0.75rem 1.5rem;
    margin-top: 0;
    font-size: 1rem;
    max-width: none;
}


/*
========================================
11. Responsive Design (Desktop-Anpassungen)
========================================
*/
@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    /* Hero Grid Layout */
    .hero-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: var(--spacing-lg);
        padding-top: var(--spacing-lg);
    }
    
    .hero-text {
        text-align: left;
    }

    .cta-button {
        width: auto;
    }

    .trust-features {
        justify-content: flex-start;
    }

    /* Feature Rows Layout */
    .feature-row {
        grid-template-columns: 1fr 1fr;
    }

    .feature-row.reverse {
        grid-template-areas: "visual content";
    }

    .feature-row.reverse .feature-visual {
        grid-area: visual;
    }

    .feature-row.reverse .feature-content {
        grid-area: content;
    }

    /* Accessories Grid Layout */
    .accessories-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .acc-list ul {
        columns: 2; /* Zwei Spalten auf Desktop */
        column-gap: var(--spacing-md);
    }
    
    /* Specs Layout */
    .spec-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Sticky Bar Anpassungen für Desktop */
    .sticky-cta-bar {
        /* Sollte auf größeren Bildschirmen diskreter oder gar nicht erscheinen, 
           je nach Wunsch. Hier: Kleinere Bildschirme priorisiert. */
    }
}

/* German Pain Points Section Styles */
.german-painpoints-section {
    padding: 40px 0;
    background-color: #f9f9f9; /* Light grey background for section distinction */
}

.german-painpoints-section h2 {
    font-size: 2em;
    color: #333; /* Dark text color */
    margin-bottom: 20px;
    text-align: center;
}

.painpoints-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.painpoint-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
    width: 100%;
    max-width: 300px;
    padding: 20px;
    transition: transform .2s ease-in-out;
}

.painpoint-card:hover {
    transform: translateY(-10px);
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-bottom: 15px;
    color: #fff;
    font-size: 1.5em;
}

.green {
    background-color: #66bb6a; /* Green color for icons */
}

.painpoint-card h3 {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 10px;
}

.painpoint-card p {
    font-size: 1em;
    color: #777;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .painpoints-grid {
        flex-direction: column;
        align-items: center;
    }
}

/* Anpassung für sehr große Desktops */
@media (min-width: 1200px) {
    .container {
        padding: 0;
    }
}