/* CSS Variables for theming */
:root {
    --primary-color: #4F46E5;
    --primary-hover: #4338CA;
    --secondary-color: #10B981;
    --bg-color: #F8FAFC;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --card-bg: #FFFFFF;
    --header-bg: rgba(255, 255, 255, 0.9);
    --footer-bg: #0F172A;
    --footer-text: #E2E8F0;
    --accent-gradient: linear-gradient(135deg, #4F46E5 0%, #EC4899 100%);
    --font-main: 'Outfit', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* Reset using classes wherever possible, avoiding * selector as requested */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

.main-body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.base-link {
    text-decoration: none;
    color: inherit;
}

.base-list {
    list-style: none;
}

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

.base-btn {
    cursor: pointer;
    font-family: var(--font-main);
    border: none;
    background: none;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #E2E8F0;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
}

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

/* Typography Utilities */
.text-center {
    text-align: center;
}

.font-bold {
    font-weight: 700;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--text-main);
}

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

/* Layout Containers */
.header-container,
.hero-container,
.section-container,
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Top Ad Bar */
.top-ad-bar {
    background: var(--accent-gradient);
    color: white;
    text-align: center;
    padding: 10px 5%;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Header */
.main-header {
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

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

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.desktop-nav {
    display: none;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.cta-btn {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    transition: var(--transition);
    text-align: center;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.header-cta {
    display: none;
}

/* Hamburger Button */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: var(--card-bg);
    z-index: 1002;
    padding: 2rem;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

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

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

.close-btn {
    font-size: 2.5rem;
    color: var(--text-main);
    line-height: 1;
}

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

.mobile-nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-cta {
    margin-top: 2rem;
    width: 100%;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.1), transparent 40%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.hero-img {
    width: 100%;
    border-radius: 24px;
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

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

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.features-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-item::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.about-img {
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.about-img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Why Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.why-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.why-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

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

.why-us-image-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--text-main);
    color: white;
}

.testimonials-section .section-heading {
    color: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 700;
    color: #EC4899;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

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

/* Return Policy */
.policy-section {
    background-color: #F1F5F9;
}

.policy-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto;
}

/* Footer Section */
.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.footer-text {
    color: #94A3B8;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: #94A3B8;
    transition: var(--transition);
}

.footer-link:hover {
    color: white;
    padding-left: 5px;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-bottom: 2rem;
}

.footer-disclaimer .footer-text {
    font-size: 0.85rem;
}

.footer-important-notice {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.important-text {
    color: #FCD34D;
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.copyright-text {
    font-size: 0.85rem;
    color: #64748B;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -150%;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    padding: 2rem 5%;
}

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

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.cookie-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.cookie-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.cookie-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

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

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

.reject-btn {
    background: transparent;
    color: var(--text-main);
    border: 1px solid #CBD5E1;
}

.reject-btn:hover {
    background: #F1F5F9;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--card-bg);
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 1rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.close-modal-btn {
    font-size: 2rem;
    color: var(--text-muted);
    line-height: 1;
    transition: var(--transition);
}

.close-modal-btn:hover {
    color: #EF4444;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.impressum-btn {
    background: transparent;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: left;
}

.impressum-btn:hover {
    color: white;
    padding-left: 5px;
    transition: var(--transition);
}

/* Responsive Design */
@media (min-width: 768px) {
    .header-container {
        padding: 0 5%;
    }

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

    .about-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

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

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

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

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

    .cookie-buttons {
        width: auto;
    }
}

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

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

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

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

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

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

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