/* =========================================
   GRUNDLAGEN & RESET
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
    line-height: 1.6;
}

/* =========================================
   1. NAVBAR & DROPDOWNS
   ========================================= */
.navbar {
    background-color: #ffffff;
    height: 80px;
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    color: #ff0000;
    font-size: 1.3rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.logo img {
    max-height: 50px;
    width: auto;
    margin-right: 8px;
}

.logo span {
    color: #555555;
    font-weight: 300;
    margin-left: 5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-item,
.nav-dropdown summary {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.nav-item:hover,
.nav-dropdown summary:hover {
    color: #ff0000;
}

.chevron-down {
    font-size: 1.2rem;
    line-height: 1;
    margin-top: -4px;
}

.chevron-right {
    font-size: 1rem;
    font-weight: bold;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 45px;
    left: 0;
    min-width: 240px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-top: 3px solid #ff0000;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 8px 0;
    z-index: 1100;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: #333333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
    background-color: #f7f7f7;
    color: #ff0000;
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-input {
    width: 0;
    opacity: 0;
    padding: 6px 0;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: width 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    pointer-events: none;
}

.search-input.active {
    width: 160px;
    opacity: 1;
    padding: 6px 10px;
    pointer-events: auto;
}

.search-btn {
    background: none;
    border: none;
    color: #333333;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 5px;
}

.search-btn:hover {
    color: #ff0000;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333333;
}

/* =========================================
   2. HERO-BEREICH (STARTSEITE)
   ========================================= */
.hero {
    width: 100%;
    height: calc(100vh - 80px);
    background-image: url('images/image01.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-banner {
    width: 80%;
    height: 30%;
    background-color: rgba(255, 255, 255, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-banner h1 {
    font-size: 2rem;
    color: #ff0000;
    font-weight: 600;
}

/* =========================================
   3. DREI INFO-SPALTEN
   ========================================= */
.info-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
}

.info-column {
    width: 30%;
    text-align: center;
}

.info-column h2 {
    font-size: 1.3rem;
    color: #ff0000;
    margin-bottom: 15px;
}

.info-column p {
    font-size: 0.95rem;
    color: #444444;
}

/* =========================================
   4. KONTAKT-CALL-TO-ACTION
   ========================================= */
.cta-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/image02.png');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-headline {
    width: 60%;
    font-size: 2.6rem;
    font-weight: bold;
    color: #d90000;
    text-shadow: 2px 2px 4px #d3d3d3;
    margin-bottom: 15px;
    line-height: 1.2;
}

.cta-subline {
    width: 20%;
    min-width: 220px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #d90000;
    text-shadow: 2px 2px 4px #d3d3d3;
    margin-bottom: 35px;
}

.cta-button {
    display: inline-block;
    background-color: #d90000;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 15px 45px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 3px 3px 8px #cccccc;
    transition: background-color 0.2s, transform 0.2s;
}

.cta-button:hover {
    background-color: #b00000;
    transform: translateY(-2px);
}

/* =========================================
   5. PARTNERUNTERNEHMEN
   ========================================= */
.partners-section {
    background-color: #f7f7f7;
    padding: 60px 0;
    border-top: 1px solid #eeeeee;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.partner-logo {
    width: 18%;
    height: 90px;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: border-color 0.2s, transform 0.2s;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-logo:hover {
    border-color: #ff0000;
    transform: translateY(-2px);
}
/* =========================================
   6. UNTERSEITEN (SUBPAGES)
   ========================================= */
.subpage-section {
    padding: 70px 0;
    background-color: #ffffff;
}

.subpage-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.subpage-title {
    font-size: 2.2rem;
    color: #ff0000;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.subpage-intro {
    font-size: 1.1rem;
    color: #555555;
    margin-bottom: 45px;
}

.team-list {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 40px;
}

.team-photo {
    width: 20%;
    min-width: 150px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #f0f0f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.team-info h2 {
    font-size: 1.5rem;
    color: #222222;
    margin-bottom: 5px;
}

.team-role {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff0000;
    margin-bottom: 8px;
}

.team-email a {
    color: #555555;
    text-decoration: none;
    font-size: 1rem;
}

.team-email a:hover {
    text-decoration: underline;
    color: #ff0000;
}

.about-content {
    max-width: 850px;
}

.about-content .lead-text {
    font-size: 1.2rem;
    color: #222222;
    margin-bottom: 25px;
}

.about-content h2 {
    font-size: 1.4rem;
    color: #ff0000;
    margin-top: 30px;
    margin-bottom: 10px;
}

.about-content p {
    margin-bottom: 18px;
    color: #444444;
}

.location-block {
    margin-bottom: 40px;
    padding: 25px;
    background-color: #f9f9f9;
    border-left: 4px solid #ff0000;
}

.location-title {
    font-size: 1.4rem;
    color: #222222;
    margin-bottom: 15px;
}

.job-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.job-list li {
    background-color: #ffffff;
    padding: 15px 20px;
    border: 1px solid #e5e5e5;
}

.job-list li strong {
    display: block;
    color: #d90000;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.job-list li span {
    font-size: 0.95rem;
    color: #555555;
}

.contact-form {
    max-width: 650px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 600;
    color: #333333;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff0000;
}

.form-alert {
    max-width: 650px;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
    font-weight: 500;
}

.form-alert.success {
    background-color: #e6f4ea;
    color: #1e7e34;
    border: 1px solid #c3e6cb;
}

.form-alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* =========================================
   7. FOOTER
   ========================================= */
.footer {
    background-color: #333333;
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-company {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copy {
    font-size: 0.8rem;
    color: #aaaaaa;
}

/* =========================================
   8. RESPONSIVE DESIGN (TABLET & SMARTPHONE)
   ========================================= */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 20px;
        border-bottom: 2px solid #ff0000;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        gap: 15px;
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-left: 2px solid #ff0000;
        margin-top: 8px;
        margin-left: 10px;
    }

    .search-input.active {
        width: 130px;
    }

    .hero-banner {
        width: 90%;
        height: auto;
        min-height: 25%;
    }

    .hero-banner h1 {
        font-size: 1.5rem;
    }

    .info-container {
        flex-direction: column;
        gap: 35px;
    }

    .info-column {
        width: 100%;
    }

    .cta-headline {
        width: 90%;
        font-size: 1.9rem;
    }

    .cta-subline {
        width: 80%;
    }

    .partners-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .partner-logo {
        width: 45%;
    }
}

@media (max-width: 600px) {
    .logo strong {
        font-size: 1.1rem;
    }

    .logo span {
        display: none;
    }

    .team-member {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .team-photo {
        width: 140px;
    }

    .partner-logo {
        width: 100%;
    }
}
