/* CSS Reset und Grundeinstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0f172a;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Background mit Bild */
.hero-background {
    background: linear-gradient(
        rgba(15, 23, 42, 0.85), 
        rgba(30, 64, 175, 0.75)
    ), url('../images/aviation-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

/* Header */
.header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    /* Schwarzen Hintergrund komplett entfernen */
    background: transparent;
    /* Macht schwarze Pixel transparent */
    filter: brightness(1.2) contrast(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    /* Alternative: Schwarze Bereiche ausblenden */
    mix-blend-mode: screen;
}

.logo-text h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #3b82f6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.tagline {
    font-size: 0.9rem;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 2px;
    display: block;
    margin-top: -0.5rem;
}

.header-certs {
    display: flex;
    gap: 0.5rem;
}

.cert-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e293b;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 15px rgba(251, 191, 36, 0.4);
    transition: all 0.3s ease;
    animation: badgePulse 4s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { 
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 15px rgba(251, 191, 36, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 25px rgba(251, 191, 36, 0.6);
        transform: scale(1.05);
    }
}

.cert-badge:hover {
    transform: scale(1.1);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(251, 191, 36, 0.8);
    animation: none;
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem 0;
    text-align: center;
    color: white;
}

.hero-content h2 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff, #cbd5e1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #fbbf24;
    font-weight: 600;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.3rem;
    color: #e2e8f0;
    max-width: 900px;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat i {
    font-size: 2.5rem;
    color: #fbbf24;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
    animation: statIconFloat 3s ease-in-out infinite;
}

.stat:nth-child(1) i { animation-delay: 0s; }
.stat:nth-child(2) i { animation-delay: -1s; }
.stat:nth-child(3) i { animation-delay: -2s; }

@keyframes statIconFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        text-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
    }
    50% { 
        transform: translateY(-8px) rotate(5deg);
        text-shadow: 0 0 30px rgba(251, 191, 36, 0.9);
    }
}

.stat span {
    font-weight: 600;
    color: #f1f5f9;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(241, 245, 249, 0.3);
}

/* Main Content */
.main {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    z-index: 2;
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    margin-bottom: 3rem;
    position: relative;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { text-shadow: 0 0 20px rgba(59, 130, 246, 0.5); }
    to { text-shadow: 0 0 30px rgba(59, 130, 246, 0.8), 0 0 40px rgba(251, 191, 36, 0.3); }
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #fbbf24);
    margin: 1rem auto;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
    animation: lineGlow 2s ease-in-out infinite alternate;
}

@keyframes lineGlow {
    from { box-shadow: 0 0 15px rgba(59, 130, 246, 0.6); }
    to { box-shadow: 0 0 25px rgba(59, 130, 246, 0.9), 0 0 35px rgba(251, 191, 36, 0.4); }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e293b, #334155);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    animation: backgroundFloat 10s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

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

.service-card {
    background: linear-gradient(145deg, #1e293b, #334155);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
    color: #e2e8f0;
    /* Animation entfernt für bessere Lesbarkeit */
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 80px rgba(59, 130, 246, 0.25),
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.5);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #fbbf24);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.service-card:hover::after {
    animation: shimmer 1.5s ease-in-out;
    opacity: 1;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.service-icon {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: 
        0 0 30px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    /* Icon-Pulse Animation entfernt - nur noch beim Hover aktiv */
}

.service-card:hover .service-icon {
    animation: iconSpin 0.8s ease-in-out;
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.8);
}

@keyframes iconSpin {
    0% { transform: scale(1.1) rotate(0deg); }
    50% { transform: scale(1.15) rotate(180deg); }
    100% { transform: scale(1.1) rotate(360deg); }
}

.service-icon i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
}

.service-card p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-card ul {
    list-style: none;
    color: #cbd5e1;
}

.service-card li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.service-card li:hover {
    color: #60a5fa;
    transform: translateX(5px);
}

.service-card li::before {
    content: '✈️';
    position: absolute;
    left: 0;
    color: #3b82f6;
    /* Flugzeug-Animation entfernt für weniger Ablenkung */
}

/* Qualifications Section */
.qualifications {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    position: relative;
    overflow: hidden;
}

.qualifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    animation: qualBackgroundMove 8s ease-in-out infinite alternate;
}

@keyframes qualBackgroundMove {
    from { transform: translateX(-20px); }
    to { transform: translateX(20px); }
}

.qual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.qual-item {
    background: linear-gradient(145deg, #1e293b, #334155);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-left: 5px solid #3b82f6;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    /* Float-Animation entfernt für bessere Lesbarkeit */
}

.qual-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 15px 50px rgba(59, 130, 246, 0.2),
        0 8px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-left: 5px solid #fbbf24;
}

.qual-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30px, -30px);
    animation: qualGlow 4s ease-in-out infinite alternate;
}

@keyframes qualGlow {
    from { opacity: 0.3; transform: translate(30px, -30px) scale(1); }
    to { opacity: 0.6; transform: translate(30px, -30px) scale(1.2); }
}

.qual-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
    position: relative;
    z-index: 1;
}

.qual-item p {
    color: #cbd5e1;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Aircraft Info Section */
.aircraft-info {
    padding: 6rem 0;
    background: #ffffff;
    text-align: center;
}

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

.aircraft-card {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.3);
}

.aircraft-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.aircraft-note {
    background: #fef3c7;
    color: #92400e;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #fbbf24;
    display: inline-block;
    margin-top: 2rem;
}

.aircraft-note i {
    margin-right: 0.5rem;
    color: #f59e0b;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #fbbf24;
    margin-top: 0.2rem;
    min-width: 24px;
}

.contact-item strong {
    color: #fbbf24;
    font-weight: 700;
}

.contact-item a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #93c5fd;
}

.regulatory-info {
    background: rgba(59, 130, 246, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.reg-note p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.reg-note strong {
    color: #fbbf24;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 2rem 0;
}

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

.footer-cert {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    animation: footerGlow 6s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.3);
        border-color: rgba(59, 130, 246, 0.3);
    }
    50% { 
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
        border-color: rgba(59, 130, 246, 0.5);
    }
}

.footer-cert:hover {
    background: rgba(59, 130, 246, 0.3);
    color: #93c5fd;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .logo {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo-img {
        width: 75px;
        height: 75px;
    }
    
    .logo-text h1 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 6rem 0 4rem 0;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-background {
        background-attachment: scroll;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .qual-grid {
        grid-template-columns: 1fr;
    }
    
    .aircraft-grid {
        grid-template-columns: 1fr;
    }
}