/* Color Palette & Variables */
:root {
    --primary-color: #2b3a42;
    --secondary-color: #cda873;
    --accent-color: #e5c494;
    --bg-light: #fdfbf7;
    --bg-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #5a5a5a;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles - Avoid Direct CSS on general tags */
.page-body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.main-content {
    display: block;
}

.centered-text {
    text-align: center;
}

/* Page Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(205, 168, 115, 0.3);
    border-radius: 50%;
    border-top-color: var(--secondary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Advertisement Top Bar */
.advertisement-top-bar {
    background-color: #f1f1f1;
    padding: 8px 15px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.advertisement-top-text {
    margin: 0;
    font-size: 11px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

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

.brand-logo {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 1px;
}

.desktop-nav {
    display: none;
}

.nav-list,
.mobile-nav-list,
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary-color);
}

.header-cta-button {
    display: none;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 10px 24px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
}

.header-cta-button:hover {
    background-color: var(--secondary-color);
}

/* Hamburger Button */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 102;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 10px;
    transition: var(--transition);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 60px 30px;
    z-index: 103;
}

.mobile-nav-menu.active {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 36px;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-nav-list {
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 500;
    font-family: var(--font-heading);
}

.mobile-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 12px 25px;
    border-radius: 30px;
    text-align: center;
    margin-top: 20px;
}

/* Sections Common */
.hero-section,
.about-section,
.features-section,
.testimonials-section,
.faq-section,
.returns-section {
    padding: 80px 20px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #fffcf8 0%, #f4eee3 100%);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    text-align: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--primary-color);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin: 0 0 35px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.primary-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
}

.primary-button:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.hero-image-wrapper {
    flex: 1;
    width: 100%;
    max-width: 500px;
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* Set dimensions to ensure image does not blow up */
.about-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.about-container,
.features-container,
.testimonials-container,
.faq-container,
.returns-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-text-content {
    flex: 1;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--primary-color);
    margin: 0 0 25px 0;
}

.section-paragraph {
    font-size: 16px;
    color: var(--text-light);
    margin: 0 0 20px 0;
}

/* Features */
.features-section {
    background-color: var(--bg-white);
}

.features-heading {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--primary-color);
    margin: 0 0 50px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-light);
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #f1e9df;
    transition: var(--transition);
}

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

.feature-title {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary-color);
    margin: 0 0 15px 0;
}

.feature-text {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: var(--font-heading);
    font-size: 60px;
    color: #f0e6d5;
}

.testimonial-quote {
    font-size: 16px;
    font-style: italic;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    margin-top: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

/* FAQ */
.faq-section {
    background-color: var(--bg-white);
}

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

.faq-item {
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 15px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
}

.faq-item.active .faq-question::after {
    content: '−';
}

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

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

.faq-text {
    padding-bottom: 20px;
    color: var(--text-light);
    margin: 0;
}

/* Returns */
.returns-text {
    text-align: center;
    max-width: 800px;
    margin: 30px auto 0;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 80px 20px 20px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 28px;
    margin: 0 0 20px 0;
    color: var(--secondary-color);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 20px;
    margin: 0 0 20px 0;
    color: var(--bg-white);
}

.footer-text {
    color: #a0aab0;
    margin: 0 0 10px 0;
    font-size: 14px;
}

.footer-links {
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: #a0aab0;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.footer-link:hover {
    color: var(--secondary-color);
}

.inline-link {
    display: inline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-consumer-notice {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.notice-text {
    margin: 0;
    font-size: 12px;
    color: #a0aab0;
    font-weight: 500;
}

.copyright-text {
    margin: 0;
    font-size: 14px;
    color: #6c7a82;
}

/* Impressum Modal */
.impressum-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.impressum-modal.active {
    opacity: 1;
    visibility: visible;
}

.impressum-content {
    background-color: var(--bg-white);
    width: 90%;
    max-width: 600px;
    height: 80vh;
    overflow-y: auto;
    padding: 40px;
    border-radius: 12px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.impressum-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--primary-color);
}

.impressum-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 30px;
}

.impressum-subtitle {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 18px;
    margin: 25px 0 10px 0;
}

.impressum-text {
    font-size: 14px;
    color: var(--text-light);
    margin: 0 0 5px 0;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: bottom 0.5s ease;
    padding: 20px;
    box-sizing: border-box;
}

.cookie-popup.active {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.cookie-title {
    margin: 0;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.cookie-text {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
}

.cookie-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    border: 2px solid var(--secondary-color);
    transition: var(--transition);
}

.cookie-reject {
    background-color: transparent;
    color: var(--secondary-color);
}

.cookie-accept {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.cookie-reject:hover {
    background-color: rgba(205, 168, 115, 0.1);
}

.cookie-accept:hover {
    background-color: #b8925c;
    border-color: #b8925c;
}

/* Media Queries */
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        flex-direction: row;
        align-items: center;
    }

    .about-image-wrapper {
        flex: 1;
    }
}

@media (min-width: 992px) {
    .hamburger-btn {
        display: none;
    }

    .desktop-nav {
        display: block;
    }

    .header-cta-button {
        display: inline-block;
    }

    .hero-container {
        flex-direction: row;
        text-align: left;
    }

    .hero-content {
        text-align: left;
    }

    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cookie-content {
        flex-direction: row;
        align-items: center;
        text-align: left;
        justify-content: space-between;
    }

    .cookie-text {
        flex: 1;
        padding: 0 30px;
    }
}