/* Globale Resets ohne den * Selektor */
html, body, div, span, h1, h2, h3, h4, p, a, ul, li, nav, header, footer, button, section, main, img {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Farbvariablen */
:root {
    --deep-burgundy: #800020;
    --deep-blue: #0A192F;
    --soft-teal: #48C9B0;
    --warm-gray: #F4F4F4;
    --accent-coral: #FF6B6B;
    --dark-bg: #111111;
    --white: #FFFFFF;
    --text-dark: #333333;
}

/* Page Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--deep-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 6px solid var(--soft-teal);
    border-top: 6px solid var(--accent-coral);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    color: var(--white);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Ad Notice Bar */
.ad-notice-bar {
    background-color: var(--warm-gray);
    text-align: center;
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.ad-notice-text {
    font-size: 0.8rem;
    color: var(--text-dark);
}

/* Header */
.main-header {
    background-color: var(--deep-burgundy);
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-link {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
    font-family: 'Georgia', serif;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--soft-teal);
}

.btn-primary {
    background-color: var(--accent-coral);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #e55a5a;
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: 0.3s;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: var(--deep-blue);
    z-index: 1000;
    transition: right 0.4s ease;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 40px;
}

.close-btn {
    font-size: 2.5rem;
    color: var(--white);
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
}

.text-coral {
    color: var(--accent-coral);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

/* Animated Background Main */
.animated-bg {
    background: linear-gradient(135deg, var(--warm-gray), #ffffff, var(--warm-gray));
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hero Section */
.hero-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text-box {
    flex: 1;
}

.hero-title {
    font-size: 3rem;
    color: var(--deep-blue);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-hero {
    background-color: var(--deep-blue);
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-block;
}

.btn-hero:hover {
    background-color: var(--soft-teal);
    transform: translateY(-3px);
}

.hero-image-box {
    flex: 1;
    display: flex;
    justify-content: center;
}

.animated-product-img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Common Section Styles */
.section-padding {
    padding: 80px 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    color: var(--deep-blue);
    margin-bottom: 20px;
}

/* About Us */
.about-section {
    background-color: var(--white);
}

.section-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
}

/* Why Us */
.why-us-section {
    background-color: var(--deep-blue);
}

.text-white {
    color: var(--white);
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 10px;
    flex: 1;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-title {
    color: var(--soft-teal);
    margin-bottom: 15px;
}

.feature-text {
    color: var(--warm-gray);
    line-height: 1.5;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--warm-gray);
}

.testimonials-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex: 1;
    max-width: 400px;
}

.avatar {
    width: 60px;
    height: 60px;
    background-color: var(--soft-teal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
}

.testimonial-name {
    color: var(--deep-blue);
}

/* FAQs */
.faq-section {
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--deep-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer-text {
    padding: 0 15px 15px;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Footer */
.main-footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 5% 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-heading {
    color: var(--soft-teal);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-text, .footer-list-item {
    margin-bottom: 10px;
    color: #bbb;
    line-height: 1.5;
}

.footer-list {
    list-style: none;
}

.footer-link {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--accent-coral);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 15px;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #aaa;
}

/* Modals */
.modal-window {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.modal-content-box {
    background-color: var(--white);
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--text-dark);
}

.modal-title {
    color: var(--deep-blue);
    margin-bottom: 20px;
}

.modal-text {
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Cookie Banner */
.cookie-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--deep-blue);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1500;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.btn-cookie {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.btn-cookie.accept {
    background-color: var(--soft-teal);
    color: var(--white);
}

.btn-cookie.reject {
    background-color: #555;
    color: var(--white);
}

/* Media Queries (Responsive) */
@media screen and (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .features-grid, .testimonials-grid {
        flex-direction: column;
        align-items: center;
    }
    .feature-card, .testimonial-card {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .desktop-nav, .header-cta {
        display: none;
    }
    .hamburger-menu {
        display: flex;
    }
    .cookie-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .cookie-text {
        margin-right: 0;
    }
}