
.contact-box {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark-bg) 100%);
    padding: 50px;
    border-radius: 12px;
    margin: 70px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: url('icons/circle-pattern.svg') center/contain repeat;
    opacity: 0.1;
}

.contact-content {
    position: relative;
    z-index: 2;
}


.bg-primary {
    background-color: #1a3c6d !important; /* Ihr blauer Farbton */
}

.navbar.scrolled {
    background-color: #1a3c6d !important; /* Gleiche Farbe beim Scrollen */
}


/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

/* Navbar */
.navbar {
    background-color: transparent !important;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 130px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
}
.navbar.scrolled {
    background-color: rgba(26, 60, 109, 0.9) !important;
    border-bottom-color: rgba(230, 184, 0, 0.3);
}
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff !important;
    padding: 15px 15px 0;
    display: flex;
    align-items: center;
    height: 100%;
}
.navbar-brand img {
    max-height: 90px;
    margin-bottom: 5px;
}
.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 15px;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: #f0c14b !important; /* Helleres Gelb für besseren Kontrast */
}
.navbar-toggler-icon {
    filter: invert(1);
}

/* Mobile Menu (apply styles only below lg breakpoint) */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: transparent;
        transition: transform 0.3s ease, background-color 0.3s ease;
        transform: translateX(100%);
        position: absolute;
        top: 130px;
        right: 0;
        width: 250px;
        height: calc(100vh - 130px);
    }
    .navbar-collapse.show {
        background-color: #ffffff !important;
        padding: 1rem;
        transform: translateX(0);
    }
    .navbar-collapse.show .nav-link {
        color: #1a3c6d !important;
    }
    .navbar-collapse.show .nav-link:hover, .navbar-collapse.show .nav-link.active {
        color: #d4a700 !important; /* Dunkleres Gelb, Kontrastverhältnis ~3,5:1 */
        font-size: 1.125rem; /* 18px für großen Text */
        font-weight: bold; /* Für große Textanforderung */
    }
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://aeronautic.de.cool/img/aeroport.jpg') no-repeat center center/cover;
    color: #ffffff;
    padding: 150px 0;
    text-align: center;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-section .btn-primary {
    background-color: #e6b800;
    border-color: #e6b800;
    padding: 12px 35px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    color: #1a3c6d; /* Dunkleres Blau für besseren Kontrast (~7,2:1) */
}
.hero-section .btn-primary:hover {
    background-color: #d4a700;
    border-color: #d4a700;
    color: #1a3c6d;
    transform: translateY(-3px);
}

/* About Section */
.about-section {
    padding: 50px 0;
}
.about-section img {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

/* Contact Form */
.contact-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}
form .form-control {
    border-radius: 5px;
    border-color: #ced4da;
    font-size: 1rem;
}
form .form-label {
    font-weight: 500;
    color: #333;
}
form .btn-primary {
    background-color: #1a3c6d;
    border-color: #1a3c6d;
    font-size: 1.1rem;
}
form .btn-primary:hover {
    background-color: #15305b;
    border-color: #15305b;
}
.error {
    color: #c82333; /* Kontrastreicherer Rotton (~5,5:1 auf #fff) */
    font-size: 1.125rem; /* 18px für großen Text */
    font-weight: bold; /* Für große Textanforderung */
}

/* Services Section */
.services-section {
    padding: 40px 0;
    margin-top: 40px;
}
.service-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.service-card .card-title {
    color: #1a3c6d;
    font-weight: 600;
}
.service-card .btn-outline-primary {
    border-color: #e6b800;
    color: #1a3c6d; /* Dunkleres Blau für besseren Kontrast (~7,2:1) */
}
.service-card .btn-outline-primary:hover {
    background-color: #e6b800;
    color: #1a3c6d; /* Dunkleres Blau für besseren Kontrast */
}

/* Footer */
footer {
    background-color: #1a3c6d;
    color: white;
    padding-top: 70px !important;
    padding-bottom: 70px !important;
    box-sizing: content-box; /* Игнорирует padding в расчетах ширины */
    section.above-footer {
    margin-bottom: 0 !important; /* Уберите отступ перед футером */
}
footer a {
    color: #f0c14b; /* Helleres Gelb für besseren Kontrast (~4,5:1) */
    font-size: 1.125rem; /* 18px für großen Text */
    text-decoration: none;
}
footer a:hover {
    color: #e6b800;
}

/* Accessibility Enhancements */
a:focus, button:focus {
    outline: 3px solid #e6b800;
    outline-offset: 2px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}