/* CSS Reset and Variables */
:root {
    --primary-color: #D32F2F;
    /* Deep Red */
    --secondary-color: #000000;
    /* Black */
    --text-color: #333333;
    /* Dark Grey */
    --background-color: #ffffff;
    /* White */
    --light-grey: #f4f4f4;
    --white: #ffffff;
    --transition-speed: 0.3s;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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,
button,
input,
textarea {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.body-content {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

/* Typography */
.heading-text {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

.link-element {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

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

.image-element {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

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

.btn-primary:hover {
    background-color: #b71c1c;
    border-color: #b71c1c;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid #ccc;
}

.btn-secondary:hover {
    background-color: #eee;
}

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

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

.loader-content {
    text-align: center;
    color: var(--white);
}

.loader-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

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

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

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

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

/* Ad Note Top */
.ad-note-top {
    background-color: #f8d7da;
    color: #721c24;
    padding: 0.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    border-bottom: 1px solid #f5c6cb;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo .brand-logo {
    font-family: 'Playfair Display', serif;
    /* Using a more elegant serif font for the logo if available, or fallback */
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    background: -webkit-linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.logo .brand-logo:hover {
    transform: scale(1.05);
}

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

.nav-links li .nav-link-item {
    font-weight: 500;
    color: var(--text-color);
}

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

.header-cta .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100%;
    background-color: var(--white);
    z-index: 2000;
    transition: left 0.3s ease-in-out;
    padding: 2rem;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

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

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

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

.mobile-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.close-menu {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

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

.mobile-nav-links li .mobile-link-item {
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
}

.mobile-cta {
    display: inline-block;
    margin-top: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background-color: var(--light-grey);
}

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

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-features {
    margin-bottom: 2rem;
}

.hero-features p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-features i {
    color: var(--primary-color);
}

.hero-image {
    flex: 1;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-height: 500px;
    object-fit: contain;
    width: 100%;
}

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

.section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

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

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

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

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

.testimonial-card {
    background-color: var(--light-grey);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    border-left: 4px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--secondary-color);
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-grey);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

.faq-question:hover {
    background-color: #f9f9f9;
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: 300;
}

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

.faq-answer p {
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Arbitrary large height */
    padding-top: 1rem;
}

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

/* Return Policy Section */
.return-policy-section {
    background-color: var(--white);
}

.policy-list {
    text-align: left;
    max-width: 800px;
    margin: 2rem auto;
    padding-left: 2rem;
    list-style: disc;
}

.policy-list li {
    margin-bottom: 0.5rem;
}

/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 2rem;
}

.footer-ad-disclaimer {
    background-color: #222;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

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

.footer-column h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
}

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

.footer-links li .footer-link-item:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 2rem;
    font-size: 0.9rem;
    color: #aaa;
}

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

.modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    color: var(--text-color);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
}

.impressum-details {
    margin-top: 1rem;
    line-height: 1.6;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--white);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 10px;
    z-index: 5000;
    display: none;
    /* Hidden by default, shown by JS */
    max-width: 500px;
    border-left: 5px solid var(--primary-color);
}

.cookie-content h3 {
    margin-bottom: 0.5rem;
}

.cookie-content p {
    margin-bottom: 1.5rem;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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