/* Modern Reset without universal selector */
html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
    background-color: #0f172a;
    /* Dark sleek background */
    color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* Variables */
:root {
    --primary-color: #22c55e;
    /* Vibrant Green */
    --hover-color: #16a34a;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --gradient: linear-gradient(135deg, #22c55e 0%, #0ea5e9 100%);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.6);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient);
    margin: 0 auto;
    border-radius: 2px;
}

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

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

.loader-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Ad Notice Top */
.ad-notice-top {
    background-color: #f59e0b;
    color: black;
    text-align: center;
    padding: 8px 10px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
}

.desktop-nav .nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
}

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

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-dark) 0%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    max-width: 600px;
}

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

.about-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Why Us Section */
.why-us-section {
    background-color: #0b1120;
}

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

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

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

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

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

.testimonial-card {
    background: linear-gradient(145deg, var(--bg-card), #253347);
    padding: 30px;
    border-radius: 20px;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: var(--primary-color);
}

.author-location {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
    background-color: #0b1120;
}

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

.faq-item {
    background: var(--bg-card);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
}

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

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-muted);
}

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

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

/* Footer */
.main-footer {
    background-color: #020617;
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-heading {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-column p,
.footer-links li {
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-ad-notice {
    text-align: center;
    padding: 20px;
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
    margin-bottom: 30px;
    font-size: 0.85rem;
    border-top: 1px solid rgba(245, 158, 11, 0.2);
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.footer-bottom {
    background-color: #000;
    padding: 30px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
}

.impressum-text {
    margin-top: 15px;
    opacity: 0.7;
    line-height: 1.4;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: rgba(30, 41, 59, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-popup.is-visible {
    bottom: 20px;
}

.cookie-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: white;
}

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

.cookie-buttons {
    display: flex;
    gap: 15px;
}

/* Legal Popups */
.legal-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    /* backdrop */
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 11000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.legal-popup.active {
    opacity: 1;
    visibility: visible;
}

.legal-content {
    background: var(--bg-card);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.legal-popup.active .legal-content {
    transform: scale(1);
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-popup:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.legal-content h2 {
    color: white;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.legal-content h3 {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-top: 25px;
    margin-bottom: 10px;
}

.legal-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* Scrollbar for modal */
.legal-content::-webkit-scrollbar {
    width: 8px;
}

.legal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.legal-content::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    /* 75% width as requested */
    height: 100%;
    background: var(--bg-card);
    z-index: 10000;
    transition: right 0.3s ease;
    padding: 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

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

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.close-menu {
    font-size: 2rem;
    cursor: pointer;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {

    .desktop-nav,
    .header-cta {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-section {
        height: auto;
        padding: 150px 0 80px 0;
        text-align: center;
    }

    .about-content {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .legal-content {
        padding: 25px;
        width: 85%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}