/* Global Styles */
:root {
    --color-bg-primary: #FFFFFF;
    --color-bg-secondary: #F8F8F8;
    --color-text-primary: #1A1A1A;
    --color-text-secondary: #555555;
    --color-accent: #000000;
    --color-accent-hover: #333333;
    --color-border: #E0E0E0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1200px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-primary);
    margin-top: 0;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

/* Page Loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-brand {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 0.5;
        transform: scale(0.95);
    }
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Advertisement Notice Top */
.ad-notice-top {
    background-color: #f0f0f0;
    color: #666;
    font-size: 0.8rem;
    padding: 8px 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.ad-notice-top p {
    margin: 0;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.brand-logo,
.brand-logo-mobile {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

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

.cta-button {
    background-color: var(--color-accent);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-1px);
    color: white;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--color-text-primary);
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    /* 75% width as requested */
    height: auto;
    max-height: 100vh;
    overflow-y: auto;
    background-color: var(--color-bg-primary);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    border-bottom-left-radius: 8px;
    /* Optional: adds a nice touch if it's not full height */
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-content {
    padding: 2rem;
    height: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.close-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text-primary);
}

/* Increased specificity to override global button styles */
.mobile-menu-content .mobile-cta {
    width: auto;
    align-self: flex-start;
    margin-top: 1.5rem;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background-color: var(--color-bg-secondary);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
}

.hero-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-text-primary);
}

.hero-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    /* Fancy shape or shadow could be added here */
}

/* Sections Global */
.section {
    padding: 6rem 0;
}

.section-text {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

/* About Section */
.about-section {
    background-color: var(--color-bg-primary);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

/* Why Us Section */
.why-us-section {
    background-color: var(--color-bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--color-bg-primary);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-text {
    color: var(--color-text-secondary);
}

/* Testimonials */
.testimonials-section {
    background-color: var(--color-bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--color-bg-secondary);
    padding: 2.5rem;
    border-radius: 12px;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-family: var(--font-heading);
}

.author-location {
    font-size: 0.9rem;
    color: #888;
}

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

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

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--color-bg-primary);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

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

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
}

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    max-height: 200px;
    /* Adjust as needed */
}

/* Footer */
.footer {
    background-color: #111;
    color: #fff;
    padding: 4rem 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #333;
}

.footer-heading {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-text,
.footer-text a {
    color: #ccc;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-text a:hover,
.footer-links a:hover {
    color: #fff;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
}

.impressum-info {
    font-size: 0.85rem;
    color: #999;
}

.impressum-info p {
    margin: 5px 0;
}


.footer-disclaimer-container {
    padding: 2rem 20px;
    text-align: center;
}

.advertisement-note {
    margin-bottom: 1rem;
}

.important-note {
    font-size: 0.8rem;
    color: #888;
    border: 1px solid #333;
    padding: 10px;
    display: inline-block;
    max-width: 800px;
}

.footer-bottom {
    font-size: 0.8rem;
    color: #666;
}

/* Buttons */
.primary-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    border-top: 1px solid var(--color-border);
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.cookie-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.accept-btn {
    background-color: var(--color-accent);
    color: white;
    border: 1px solid var(--color-accent);
}

.accept-btn:hover {
    background-color: var(--color-accent-hover);
}

.reject-btn {
    background-color: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-text-primary);
}

.reject-btn:hover {
    background-color: #f0f0f0;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 10005;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    padding: 2.5rem;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Media Queries */
@media (max-width: 992px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-cta-wrapper {
        justify-content: center;
    }

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

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}