body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5;
    color: #1a202c;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* Hero section - critical for LCP */
.hero-section {
    height: 100vh;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Navigation - critical for FID */
.nav-link {
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2580C7;
    transition: width 0.3s ease;
}

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

.nav-link.active {
    color: #2580C7;
}

.section {
    padding: 100px 0;
}

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04), 0 0 25px rgba(37, 128, 199, 0.4);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fly-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fly-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible, .fly-in-left.visible, .fly-in-right.visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Highlight text effect */
.highlight {
    background: linear-gradient(to right, #2580C7, #1a5f9e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block;
}

.legal-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.legal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.disclaimer-box {
    background-color: #fffbe6;
    border: 1px solid #fde68a;
    color: #92400e;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

/* Scroll offset for sticky navigation */
:target {
    scroll-margin-top: 100px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #2580C7;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a5f9e;
}

/* Firefox Scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #2580C7 #f1f5f9;
}

/* Styles for the new pricing section */
.wartung-option {
    border-left: 3px solid #2580C7;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    .wartung-option {
        border-left: none;
        border-top: 2px solid #e5e7eb;
        padding-left: 0;
        padding-top: 1rem;
        text-align: center;
    }
    .wartung-option:first-child {
        border-top: none;
        padding-top: 0;
    }
}

.grid {
    align-items: stretch;
}

.card.h-full {
    display: flex;
    flex-direction: column;
}

/* FAQ Accordion Styles */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
.faq-question:hover span {
    color: #2580C7;
}
