.gradient-bg {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 40%, #f0f9ff 70%, #e0f2fe 100%);
}

/* ── Critical above-the-fold (vor Tailwind-CDN) ── */
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
.logo-img {
    height: 4rem;
    width: auto;
    max-width: none;
}
@media (min-width: 640px) {
    .logo-img { height: 4.5rem; }
}
@media (min-width: 1024px) {
    .logo-img { height: 5rem; }
}
/* Icon-Boxen & SVGs – verhindert kurzes Aufblähen ohne Tailwind */
.w-14 { width: 3.5rem; }
.h-14 { height: 3.5rem; }
.w-7 { width: 1.75rem; }
.h-7 { height: 1.75rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.w-20 { width: 5rem; }
.h-20 { height: 5rem; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }
.fixed { position: fixed; }
.relative { position: relative; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.shrink-0 { flex-shrink: 0; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.min-h-\[4\.5rem\] { min-height: 4.5rem; }
@media (min-width: 1024px) {
    .lg\:h-20 { height: 5rem; }
    .lg\:min-h-\[5\.5rem\] { min-height: 5.5rem; }
    .lg\:pb-0 { padding-bottom: 0; }
}
#site-header { top: 0; left: 0; right: 0; z-index: 50; }
.reveal.visible { opacity: 1; transform: none; }

.gradient-text {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.card-glow:hover {
    box-shadow: 0 20px 60px -15px rgba(59,130,246,0.3);
}
.hero-bridge-bg {
    background-image: url('/header-bridge-de-vi.png');
    background-image: image-set(
        url('/header-bridge-de-vi.webp') type('image/webp'),
        url('/header-bridge-de-vi.png') type('image/png')
    );
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
}
.hero-youtube { pointer-events: none; border: 0; }
.hero-overlay {
    background: linear-gradient(
        105deg,
        rgba(255,255,255,0.97) 0%,
        rgba(255,255,255,0.92) 28%,
        rgba(255,255,255,0.55) 52%,
        rgba(239,246,255,0.25) 72%,
        transparent 100%
    );
}
@media (max-width: 1023px) {
    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(255,255,255,0.97) 0%,
            rgba(255,255,255,0.88) 45%,
            rgba(255,255,255,0.5) 70%,
            rgba(239,246,255,0.2) 100%
        );
    }
    .hero-bridge-bg { background-position: center 30%; }
}

/* Header */
#site-header { transition: padding 0.4s ease, background 0.4s ease; }
#site-header .header-inner { transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
#site-header:not(.header-scrolled) .header-inner {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}
#site-header:not(.header-scrolled) .nav-link {
    color: rgba(15, 23, 42, 0.85);
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.8);
}
#site-header:not(.header-scrolled) .nav-link:hover { color: #2563eb; }
#site-header:not(.header-scrolled) .logo-img {
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.9));
}
#site-header:not(.header-scrolled) .lang-switch {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
}
#site-header:not(.header-scrolled) .lang-switch a.active { background: rgba(255, 255, 255, 0.85); }
#site-header:not(.header-scrolled) .menu-btn {
    color: rgba(15, 23, 42, 0.85);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
}
#site-header.header-scrolled {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(191, 219, 254, 0.5);
    box-shadow: 0 4px 24px rgba(59, 130, 246, 0.08);
}
#site-header.header-scrolled .header-inner {
    background: transparent; border-color: transparent; box-shadow: none;
    margin-top: 0 !important; border-radius: 0 !important;
    padding-left: 0 !important; padding-right: 0 !important;
}
#site-header.header-scrolled .nav-link { color: #475569; text-shadow: none; }
#site-header.header-scrolled .nav-link:hover { color: #2563eb; }
#site-header.header-scrolled .logo-img { filter: none; }
#site-header.header-scrolled .lang-switch { background: #f1f5f9; border-color: transparent; }
#site-header.header-scrolled .menu-btn { background: transparent; border-color: transparent; color: #475569; }
#site-header.header-scrolled .menu-btn:hover { background: #f1f5f9; }
.nav-link { position: relative; }
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 50%; width: 0; height: 2px;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    transition: width 0.3s ease, left 0.3s ease; border-radius: 2px;
}
.nav-link:hover::after { width: 100%; left: 0; }

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* FAQ */
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-icon { transition: transform 0.3s ease; }

/* Process line */
.process-line {
    background: linear-gradient(180deg, #3b82f6, #06b6d4);
}

/* Sticky CTA */
#sticky-cta {
    transform: translateY(100%);
    transition: transform 0.35s ease;
}
#sticky-cta.show { transform: translateY(0); }

/* Cookie banner */
#cookie-banner {
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
#cookie-banner.show { transform: translateY(0); }

/* Legal pages */
.legal-content h2 {
    font-size: 1.25rem; font-weight: 700; color: #0f172a;
    margin-top: 2rem; margin-bottom: 0.75rem;
}
.legal-content p { color: #475569; line-height: 1.75; margin-bottom: 0.75rem; }
