/* ========= GRUNDEINSTELLUNGEN & VARIABLEN ========= */
:root {
    --color-primary: #FF6B6B; /* Lebhafte Koralle */
    --color-secondary: #2C5F2D; /* Tiefes Waldgrün */
    --color-background: #FDFBF8; /* Warmes Off-White */
    --color-surface: #FFFFFF;
    --color-text: #212121; /* Dunkles Anthrazit */
    --color-text-light: #616161;
    --color-border: #E0E0E0;
    --color-star: #FFC107;

    --font-family: 'Plus Jakarta Sans', sans-serif;
    --font-size-base: 16px;
    --border-radius: 12px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.07);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 41px; /* Höhe der Announcement Bar */
    /* KORREKTUR: Die folgende Zeile wurde entfernt. Es ist besser, die Ursache
       des Overflows zu beheben, anstatt ihn am Body zu verstecken. */
    /* overflow-x: hidden; */
}

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

/* ========= UTILITIES & HELPER ========= */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn--primary {
    background-color: var(--color-primary);
    color: white;
}

.btn--primary:hover {
    background-color: #ff4f4f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.content-section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.content-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    color: var(--color-primary);
}

/* ========= ANNOUNCEMENT BAR ========= */
.announcement-bar {
    background-color: var(--color-secondary);
    color: white;
    text-align: center;
    padding: 10px 0;
    font-weight: 700;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}
.announcement-bar p {
    margin: 0;
    animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========= HEADER ========= */
.header {
    background-color: rgba(253, 251, 248, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 41px;
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    text-decoration: none;
}

.header__logo img {
    height: 40px;
    width: auto;
}

.header__nav a {
    color: var(--color-text);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 700;
    transition: color 0.2s ease;
}

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

/* ========= HERO SECTION ========= */
.hero {
    color: white;
    padding: 160px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero__video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.hero-reviews {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    margin-top: 40px;
}

.hero-reviews .stars {
    color: var(--color-star);
    font-size: 1.2rem;
}

.hero-trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    color: #e0e0e0;
    font-weight: 700;
    font-size: 0.9rem;
}

/* ========= GAMIFIED BENEFIT SECTION ========= */
.benefit-section {
    background-color: var(--color-surface);
}
.benefit-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.benefit-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.benefit-tab {
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid var(--color-border);
    background-color: transparent;
    color: var(--color-text-light);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.benefit-tab:hover {
    background-color: #f0f0f0;
    border-color: var(--color-secondary);
}
.benefit-tab.active {
    background-color: var(--color-secondary);
    color: white;
    border-color: var(--color-secondary);
}
.benefit-content__panel {
    display: none;
    text-align: center;
    padding: 20px;
    animation: fadeIn 0.5s ease;
}
.benefit-content__panel.active {
    display: block;
}
.benefit-content__panel h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.benefit-content__panel p {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 30px;
}
.related-product {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 20px;
    max-width: 300px;
    margin: 0 auto;
    text-align: left;
}
.related-product a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 15px;
}
.related-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #fff;
}
.related-product__info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-secondary);
}
.related-product__info p {
    font-size: 0.9rem;
    margin: 5px 0 0;
    color: var(--color-primary);
    font-weight: 700;
}

@media (min-width: 768px) {
    .benefit-container {
        flex-direction: row;
        gap: 50px;
        align-items: flex-start;
    }
    .benefit-tabs {
        flex-direction: column;
        justify-content: flex-start;
    }
    .benefit-content__panel {
        text-align: left;
        padding: 0;
    }
    .benefit-content__panel p,
    .related-product {
        margin-left: 0;
    }
}


/* ========= SWIPER CAROUSEL STYLING (für beide) ========= */
.swiper {
    width: 100%;
    padding: 10px;
}

.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--color-primary);
}

.product-card {
    background-color: var(--color-surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-card__image {
    width: 100%;
    height: 250px;
    background-color: #f0f0f0;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card__name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.product-card__short {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-card__price-wrapper {
    margin-bottom: 20px;
}

.product-card__price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
}

.product-card__old-price {
    font-size: 1.1rem;
    color: var(--color-text-light);
    text-decoration: line-through;
    margin-left: 10px;
}

.product-card__action {
    margin-top: auto;
}

.product-card__action .btn {
    width: 100%;
    text-align: center;
    background-color: var(--color-secondary);
    color: white;
}

.product-card__action .btn:hover {
    background-color: #1A431A;
}

/* ========= TESTIMONIALS SECTION ========= */
.testimonial-section {
    background-color: var(--color-surface);
}

.testimonial-card {
    background-color: var(--color-background);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    height: 100%;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.testimonial-author h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.testimonial-author p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.testimonial-stars {
    font-size: 1.2rem;
    color: var(--color-star);
}

.testimonial-product {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text);
}

.testimonial-badge {
    display: inline-block;
    background-color: var(--color-secondary);
    color: white;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 20px;
}

/* ========= QUALITY SECTION ========= */
.quality-section {
    background-color: var(--color-background);
}

.quality-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.quality-content__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.quality-content p {
    margin-bottom: 20px;
    color: var(--color-text-light);
}

.quality-content ul {
    list-style: none;
    padding: 0;
}

.quality-content ul li {
    margin-bottom: 10px;
    font-weight: 700;
}

.quality-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

@media(min-width: 768px) {
    .quality-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ========= FAQ SECTION ========= */
.faq-section {
    background-color: var(--color-surface);
}

.faq-accordion {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding: 0 10px 20px;
    color: var(--color-text-light);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}


/* ========= FOOTER ========= */
.footer {
    background-color: var(--color-text);
    color: #A0A0A0;
    padding: 40px 0;
    text-align: center;
}
.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer p {
    margin-bottom: 15px;
}
.footer__nav a {
    color: #A0A0A0;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.2s ease;
}
.footer__nav a:hover {
    color: var(--color-surface);
}
@media (min-width: 768px) {
    .footer .container {
        flex-direction: row;
        justify-content: space-between;
    }
    .footer p {
        margin-bottom: 0;
    }
}

/* ========= SOCIAL PROOF POPUP ========= */
.social-proof-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--color-surface);
    color: var(--color-text);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    z-index: 1001;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
}
.social-proof-popup.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.popup-content p {
    margin: 0;
    line-height: 1.4;
    font-size: 0.9rem;
}

/* ========= RESPONSIVE MEDIA QUERIES (General) ========= */
@media (min-width: 1024px) {
    .hero__title {
        font-size: 4.5rem;
    }
}

/* ========= WARENKORB-ZÄHLER IM HEADER ========= */
.cart-icon {
    position: relative;
    padding: 5px;
}
#cart-counter {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
}


/* ========= PRODUKT DETAIL SEITE ========= */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0;
}
@media(min-width: 992px) {
    .product-detail-layout {
        grid-template-columns: 1fr 1.2fr;
        gap: 60px;
    }
}

.product-gallery {
    background-color: var(--color-surface);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-gallery img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.product-info__name {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.product-info__labels {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.product-info__labels .label {
    background-color: var(--color-secondary);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.product-info__price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.product-info__short {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 30px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}
.quantity-selector label {
    font-weight: 700;
    font-size: 1rem;
}
.quantity-selector button {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-border);
    background-color: var(--color-surface);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.quantity-selector button:hover {
    background-color: #f0f0f0;
    border-color: var(--color-text);
}
.quantity-selector input {
    width: 60px;
    height: 40px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    -moz-appearance: textfield;
}
.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#add-to-cart-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.2rem;
    margin-bottom: 20px;
}
#add-to-cart-btn.success {
    background-color: #28a745;
}
#add-to-cart-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.product-trust-badges {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    color: var(--color-text-light);
    font-size: 0.9rem;
    text-align: center;
}

/* TABS FÜR PRODUKT-DETAILS */
.product-tabs {
    padding: 60px 0;
}
.product-tabs__nav {
    display: flex;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 30px;
    /* KORREKTUR: Dies macht den Tab-Container horizontal scrollbar,
       wenn der Inhalt die Bildschirmbreite überschreitet. */
    overflow-x: auto;
    /* Verbessert das Scroll-Verhalten auf Touch-Geräten */
    -webkit-overflow-scrolling: touch; 
    /* Versteckt die Scrollbar für ein sauberes Design, die Funktionalität bleibt erhalten */
    scrollbar-width: none; /* Firefox */
}
/* Versteckt die Scrollbar in Webkit-Browsern (Chrome, Safari) */
.product-tabs__nav::-webkit-scrollbar {
    display: none;
}

.product-tabs__button {
    padding: 15px 30px;
    border: none;
    background: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--color-text-light);
    position: relative;
    border-bottom: 4px solid transparent;
    /* OPTIMIERUNG: Verhindert, dass die Tabs auf mobilen Geräten schrumpfen */
    flex-shrink: 0;
}
.product-tabs__button.active {
    color: var(--color-text);
    border-bottom-color: var(--color-primary);
}

.product-tabs__content {
    display: none;
    animation: fadeIn 0.5s ease;
}
.product-tabs__content.active {
    display: block;
}
.product-tabs__content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.product-tabs__content p, .product-tabs__content ul {
    color: var(--color-text-light);
    line-height: 1.7;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}
.specs-table td {
    padding: 12px;
    border-bottom: 1px solid var(--color-border);
}
.specs-table td:first-child {
    font-weight: 700;
    color: var(--color-text);
    width: 30%;
}

.notes-box {
    background-color: #fffbeb;
    border: 2px solid #febb0b;
    border-radius: var(--border-radius);
    padding: 20px;
}

/* ========= PRODUKTSEITE-SPEZIFISCHE ANPASSUNGEN ========= */

/* Header-Links nur auf der Produktseite ausblenden */
.page-product-detail .header__nav a:not(.cart-icon) {
    display: none;
}

/* NEU: Product Hero Section */
.product-hero {
    background-color: var(--color-surface);
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}
.product-hero h1 {
    font-size: 3rem;
    font-weight: 800;
}
.product-hero .product-info__short {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 15px auto 0;
    color: var(--color-text-light);
}

/* Anpassung für das Haupt-Layout */
.product-detail-layout {
    padding-top: 40px;
}

/* ========= CHECKOUT PROZESS SEITEN ========= */
.page-checkout .header__nav { display: none; } /* Navigationslinks ausblenden */
.page-checkout .header__trust { display: block; font-weight: 700; color: var(--color-text-light); }
.checkout-main { padding: 40px 0; }

/* Fortschrittsanzeige */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
}
.progress-bar::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 10%;
    right: 10%;
    height: 3px;
    background-color: var(--color-border);
    z-index: -1;
}
.progress-step {
    text-align: center;
    width: 33%;
}
.progress-step__circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--color-surface);
    border: 3px solid var(--color-border);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px;
    font-weight: 700;
}
.progress-step p { font-weight: 700; color: var(--color-text-light); }
.progress-step.active .progress-step__circle {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: white;
}
.progress-step.active p { color: var(--color-text); }

/* Versandkosten-Anreiz */
.shipping-incentive {
    background-color: var(--color-surface);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}
.shipping-bar {
    width: 100%;
    height: 10px;
    background-color: var(--color-border);
    border-radius: 50px;
    margin-top: 10px;
    overflow: hidden;
}
.shipping-bar__progress {
    height: 100%;
    width: 0%;
    background-color: var(--color-primary);
    border-radius: 50px;
    transition: width 0.5s ease;
}

/* Warenkorb-Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 992px) {
    .cart-layout {
        grid-template-columns: 2fr 1fr;
    }
}

/* Einzelne Produkte im Warenkorb */
.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    gap: 15px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}
@media (min-width: 576px) {
    .cart-item {
        grid-template-columns: 100px 1fr 120px 100px;
        gap: 20px;
    }
}
.cart-item__image {
    width: 100%;
    border-radius: var(--border-radius);
    background-color: var(--color-surface);
}
.cart-item__info h3 { font-size: 1.2rem; }
.cart-item__info p { font-size: 0.9rem; color: var(--color-text-light); }
.remove-btn {
    background: none;
    border: none;
    color: var(--color-text-light);
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: 0.9rem;
}
.cart-item__quantity {
    display: flex;
    align-items: center;
    justify-self: center;
}
.cart-item__quantity input {
    width: 40px;
    text-align: center;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
}
.cart-item__quantity .quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
}
.cart-item__price {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: right;
    grid-column: 3 / 4;
}
@media (min-width: 576px) {
    .cart-item__price { grid-column: auto; }
}

/* Zusammenfassung */
.cart-summary {
    background-color: var(--color-surface);
    border-radius: var(--border-radius);
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 100px; /* (Höhe Header + Announcement Bar) */
    box-shadow: var(--shadow-sm);
}
.cart-summary h2 { margin-bottom: 20px; }
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}
.summary-row.total {
    font-size: 1.5rem;
    font-weight: 800;
}
.btn--fullwidth {
    width: 100%;
    text-align: center;
    padding: 18px;
    font-size: 1.2rem;
    margin-top: 10px;
}
.trust-badges-small {
    display: flex;
    justify-content: space-around;
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Leerer Warenkorb */
#empty-cart-view {
    text-align: center;
    padding: 80px 0;
}
#empty-cart-view p {
    margin: 15px 0 30px;
    color: var(--color-text-light);
}

/* ========= CHECKOUT SEITE LAYOUT & FORMULAR ========= */
.checkout-grid {
    display: grid; /* Korrigierter Befehl */
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 992px) {
    .checkout-grid {
        display: grid; /* Nur auf Desktop als Grid anzeigen */
        grid-template-columns: 1.2fr 1fr;
    }
}

.checkout-form h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
#checkout-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.form-group {
    width: 100%;
}
@media (min-width: 768px) {
    .form-group:not(.full-width) {
        width: calc(50% - 10px);
    }
}
.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-family);
}
.form-group input:focus {
    outline: none;
    border-color: var(--color-secondary);
}
.form-security-note {
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 10px;
}

/* Bestellübersicht auf der rechten Seite */
.checkout-summary {
    background-color: var(--color-surface);
    border-radius: var(--border-radius);
    padding: 30px;
    height: fit-content;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}
.checkout-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.summary-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--color-border);
}
.summary-item:last-of-type {
    border-bottom: none;
}
.summary-item__image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #fff;
}
.summary-item__info {
    flex-grow: 1;
}
.summary-item__info p {
    margin: 0;
    font-weight: 700;
}
.summary-item__info p:last-child {
    font-size: 0.9rem;
    color: var(--color-text-light);
}
.summary-item__price {
    font-weight: 700;
}

/* ========= DANKE SEITE ========= */
.thank-you-container {
    max-width: 700px;
    margin: 40px auto;
    text-align: center;
}
.thank-you-container h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-secondary);
}
.thank-you-container .subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-top: 10px;
}

/* Checklist */
.next-steps {
    margin: 40px 0;
    text-align: left;
    background-color: var(--color-surface);
    padding: 20px;
    border-radius: var(--border-radius);
}
.next-steps h3 {
    text-align: center;
    margin-bottom: 20px;
}
.checklist {
    list-style: none;
    padding: 0;
}
.checklist li {
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.checklist li::before {
    content: '☐';
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--color-text-light);
}
.checklist li.checked::before {
    content: '☑';
    color: var(--color-secondary);
}


/* Zahlungsdetails */
.payment-details {
    background-color: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: left;
    margin: 40px 0;
}
.payment-details h2 {
    text-align: center;
    margin-bottom: 20px;
}
.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--color-border);
}
.payment-row:last-of-type {
    border-bottom: none;
}
.payment-row label {
    font-weight: 700;
    color: var(--color-text-light);
}
.payment-row span, .payment-row strong {
    font-weight: 700;
    font-size: 1.1rem;
}
.payment-row.highlight {
    background-color: #fffbeb;
    padding: 15px;
    margin: 10px -15px;
    border-radius: 8px;
}
.copy-field {
    display: flex;
    align-items: center;
    gap: 15px;
}
.copy-field button {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
}
.payment-accelerate {
    margin-top: 20px;
    padding: 15px;
    background-color: #f0f8ff;
    border-radius: 8px;
    font-size: 0.9rem;
}
.payment-accelerate p {
    margin: 5px 0;
}

.thank-you-container > .btn {
    margin-top: 20px;
}

/* ========= NEUER ENTERPRISE FOOTER ========= */
.footer-enterprise {
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 60px 0 30px;
    color: var(--color-text-light);
}
.footer-enterprise__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}
@media(min-width: 768px) {
    .footer-enterprise__grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}
.footer-enterprise__logo {
    display: block;
    margin-bottom: 15px;
    max-width: 150px; /* Logo nicht zu groß machen */
}
.footer-enterprise__logo img {
    width: 100%;
    border-radius: var(--border-radius);
}
.footer-enterprise__brand p {
    max-width: 300px;
    line-height: 1.6;
}
.footer-enterprise__links h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 15px;
}
.footer-enterprise__links a {
    display: block;
    color: var(--color-text-light);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}
.footer-enterprise__links a:hover {
    color: var(--color-primary);
}
.footer-enterprise__bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    font-size: 0.9rem;
}
.footer { /* Alten Footer verstecken, falls noch vorhanden */
    display: none;
}


/* ========= NEUE CONVERSION BOOSTER (PRODUKTSEITE) ========= */

/* Trust Signals unter dem Kaufen-Button */
.product-trust-signals {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    text-align: left;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
}
@media(min-width: 576px) {
    .product-trust-signals {
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
    }
}
.signal-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.signal-item .icon {
    font-size: 2rem;
}
.signal-item p {
    margin: 0;
    line-height: 1.4;
    font-size: 0.9rem;
}

/* Kundenbewertungen im Tab */
.review-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--color-background);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}
.review-summary .stars {
    font-size: 1.5rem;
    color: var(--color-star);
}
.review-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}
.review-item:last-child {
    border-bottom: none;
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    font-size: 1.2rem;
    font-weight: 700;
}
.review-header .stars {
    font-size: 1.1rem;
    color: var(--color-star);
}
.review-author {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

/* Permanenter Warnhinweis */
.permanent-notes-box {
    background-color: #fffbeb;
    border: 1px solid #febb0b;
    border-radius: var(--border-radius);
    padding: 20px 30px;
    margin: 60px 0;
    text-align: center;
}
.permanent-notes-box h3 {
    color: #b45309;
    margin-bottom: 10px;
}
.permanent-notes-box p {
    color: #b45309;
    font-weight: 500;
}

/* ========= VERBESSERUNG: PRODUKT-TABS FÜR MOBILE GERÄTE ========= */

/* Die Tab-Navigationsleiste wird zu einem Container für den Fade-Effekt */
.product-tabs__nav {
    position: relative; /* Notwendig für die Positionierung des Fade-Effekts */
}

/* Der Fade-Out-Effekt, der anzeigt, dass man scrollen kann */
.product-tabs__nav::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    background: linear-gradient(to left, var(--color-surface), transparent);
    pointer-events: none; /* Erlaubt Klicks "durch" den Effekt hindurch */
    transition: opacity 0.3s ease;
    opacity: 1; /* Standardmäßig sichtbar */
}

/* Klasse, um den Fade-Effekt auszublenden, wenn man am Ende ist */
.product-tabs__nav.scrolled-to-end::after {
    opacity: 0;
}

/* Dezent sichtbare Scrollbar für mobile Geräte */
.product-tabs__nav::-webkit-scrollbar {
    height: 4px;
    background-color: #f0f0f0;
}
.product-tabs__nav::-webkit-scrollbar-thumb {
    background-color: var(--color-border);
    border-radius: 4px;
}

/* Auf Desktops, wo nicht gescrollt wird, den Effekt ausblenden */
@media (min-width: 768px) {
    .product-tabs__nav::after {
        display: none;
    }
}
/* ========= IMPRESSUM & RECHTLICHE SEITEN ========= */

/* Body-Klasse, um Header-Links auf allen rechtlichen Seiten auszublenden */
.page-legal .header__nav a:not(.cart-icon) {
    display: none;
}

.legal-page-main {
    padding: 60px 0;
    background-color: var(--color-surface);
}

.legal-page-content {
    max-width: 800px; /* Begrenzt die Textbreite für bessere Lesbarkeit */
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.legal-page-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 20px;
}

.legal-page-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 15px;
}

.legal-page-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 10px;
}

.legal-page-content p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--color-text-light);
}

.legal-page-content p strong {
    color: var(--color-text);
}

/* Spezieller Kasten für den Produkthaftungsausschluss */
.disclaimer-box {
    margin-top: 30px;
    background-color: #fffbeb;
    border: 1px solid #febb0b;
    border-radius: var(--border-radius);
    padding: 25px;
}
.disclaimer-box h3 {
    margin-top: 0;
    color: #b45309;
}
.disclaimer-box p {
    color: #b45309;
    font-weight: 500;
}

/* ========= AGB SPEZIFISCHE STILE ========= */
.disclaimer-box-red {
    margin-top: 30px;
    background-color: #fff5f5;
    border: 1px solid #fca5a5;
    border-radius: var(--border-radius);
    padding: 25px;
}
.disclaimer-box-red h3 {
    margin-top: 0;
    color: #b91c1c;
}
.disclaimer-box-red p {
    color: #b91c1c;
    font-weight: 500;
}

/* AGB Checkbox Styling */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkbox-group input[type="checkbox"] {
    width: auto;
    accent-color: var(--color-secondary);
}
.checkbox-group label a {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* ========= NEU: PSYCHOLOGISCHE UPSELLS (PRODUKTSEITE) ========= */
.recommendation-section {
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin: 40px 0;
}
.recommendation-section__title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
}
.recommendation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media(min-width: 768px) {
    .recommendation-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.recommendation-card {
    background-color: var(--color-surface);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}
.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.recommendation-card__header {
    background-color: var(--color-secondary);
    color: white;
    padding: 20px;
}
.recommendation-card__header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
}
.recommendation-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
}
.recommendation-card__image-link {
    display: block;
    margin-bottom: 20px;
}
.recommendation-card__image-link img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
    background-color: white;
    border: 1px solid var(--color-border);
}
.recommendation-card__info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.recommendation-card__info p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    flex-grow: 1;
    margin-bottom: 20px;
}
/* Neuer Button-Stil für sekundäre Aktionen */
.btn--secondary {
    background-color: var(--color-surface);
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}
.btn--secondary:hover {
    background-color: var(--color-secondary);
    color: white;
}

/* ========= NEU: ONE-CLICK UPSELLS (WARENKORBSEITE) ========= */
#cart-upsell-section {
    padding: 40px 0;
    margin-top: 20px;
    border-top: 1px solid var(--color-border);
}
#cart-upsell-section h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 25px;
}
.upsell-carousel-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px; /* Platz für Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
}
.upsell-carousel-container::-webkit-scrollbar {
    height: 6px;
}
.upsell-carousel-container::-webkit-scrollbar-track {
    background: transparent;
}
.upsell-carousel-container::-webkit-scrollbar-thumb {
    background-color: var(--color-border);
    border-radius: 6px;
}

.upsell-item {
    flex: 0 0 160px; /* Basisbreite, nicht schrumpfen, nicht wachsen */
    display: flex;
    flex-direction: column;
    text-align: center;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 15px;
    transition: var(--transition-smooth);
}
.upsell-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: #ccc;
}
.upsell-item__image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 0 auto 10px;
    border-radius: 8px;
}
.upsell-item__info {
    flex-grow: 1;
}
.upsell-item__info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.upsell-item__info p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 15px;
}
.btn-add-upsell {
    width: 100%;
    background-color: var(--color-secondary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.btn-add-upsell:hover {
    background-color: #1A431A;
}

/* ========= NEUE CONVERSION-OPTIMIERUNGEN (PRODUKTSEITE V2) ========= */

/* 1. Neuer Hero-Bereich */
.product-hero-optimized {
    background-color: var(--color-surface);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}
.product-hero-optimized h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
}
.product-hero-optimized .subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 15px auto 30px;
    color: var(--color-text-light);
}
@media(min-width: 768px) {
    .product-hero-optimized h1 {
        font-size: 3.5rem;
    }
}

/* 2. Neue Trust-Bar */
.trust-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}
.trust-bar__item {
    font-weight: 700;
    color: var(--color-text-light);
}
@media(min-width: 768px) {
    .trust-bar {
        flex-direction: row;
        gap: 30px;
    }
}


/* 3. Neue Vorteils-Liste (in Beschreibung) */
.product-tabs__content h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 800;
}
.benefit-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 30px;
}
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.benefit-item__icon {
    font-size: 2rem;
}
.benefit-item__text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.benefit-item__text p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* 4. Neues Review-Design */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}
@media(min-width: 992px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.review-card {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 25px;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
    border-color: #ccc;
}
.review-card .review-header {
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.review-card .review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--color-text-light);
}
.review-card .review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--color-border);
}
.review-author {
    font-weight: 700;
    font-size: 0.9rem;
}
.verified-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-secondary);
}


/* 5. Review-Lightbox (Pop-up) */
.review-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}
.review-lightbox.active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}
.lightbox-content {
    position: relative;
    background-color: var(--color-surface);
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 90%;
    box-shadow: var(--shadow-md);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.review-lightbox.active .lightbox-content {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--color-text-light);
    cursor: pointer;
}

/* 6. Alte HTML-Strukturen ausblenden/anpassen */
.product-hero, /* Altes Hero-Format */
.review-summary, /* Alte Review-Zusammenfassung */
.reviews-list, /* Alte Review-Liste */
.product-trust-signals /* Alte Trust-Badges */
{
    display: none;
}

.product-info__labels { display: none; }
.product-info__price { margin-top: 0; }

/* ========= NEU: ELITE CONVERSION BOOSTER (PRODUKTSEITE V3) ========= */

/* 1. "Von Klick bis Lieferung" Garantie-Box */
.guarantee-box {
    background-color: var(--color-surface);
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 40px 0;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}
.guarantee-box__title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
}
.guarantee-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media(min-width: 768px) {
    .guarantee-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.guarantee-item__icon {
    font-size: 2.5rem;
}
.guarantee-item__text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.guarantee-item__text p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* 2. KaeloVials Protokolle (Stacks) */
.stack-section {
    background-color: var(--color-surface);
    border-radius: var(--border-radius);
    padding: 50px 20px;
    text-align: center;
    margin: 60px 0;
    border: 1px solid var(--color-border);
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
}
.stack-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}
.stack-product img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}
.stack-product.current img {
    transform-origin: right;
}
.stack-product.partner img {
    transform-origin: left;
}
.stack-section:hover .stack-product.current img {
    transform: translateX(-10px) scale(1.05);
}
.stack-section:hover .stack-product.partner img {
    transform: translateX(10px) scale(1.05);
}
.stack-product h4 {
    font-weight: 700;
}
.stack-plus {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
}
.stack-reason {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--color-text-light);
}
.stack-action .btn {
    font-size: 1.2rem;
}