:root {
    --inova-blue: #001a35;
    --inova-yellow: #ffcc01;
    --text-dark: #333333;
    --bg-light: #f4f6f9;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.center {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto 2rem auto;
    text-align: center;
}

/* ==========================================
   Header und Navigation
   ========================================== */
header {
    background-color: var(--inova-yellow) !important;
    color: var(--inova-blue) !important;
    padding: 0.75rem 2rem;
    position: fixed;   
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Navigation Container */
.nav-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    font-size: 1.3rem;
}

/* Dreier-Aufteilung */
.logo-link, 
nav, 
.nav-spacer {
    flex: 1; 
}

.logo-img {
    height: 60px;
    display: block;
    
    /* 1px Rand ums Logo */
    filter: drop-shadow(1px 0px 0px #ffffff) 
            drop-shadow(-1px 0px 0px #ffffff) 
            drop-shadow(0px 1px 0px #ffffff) 
            drop-shadow(0px -1px 0px #ffffff);
}

nav {
    display: flex;
    justify-content: center;
    flex: 13;
}

nav ul {
    display: flex !important; 
    flex-direction: row;
    list-style: none;
}

nav ul li {
    margin: 0 2rem; 
}

nav ul li a {
    color: var(--inova-blue); 
    text-decoration: none;
    font-weight: 600; 
    transition: color 0.3s, opacity 0.2s;
    white-space: nowrap; 
}

nav ul li a:hover {
    opacity: 0.7; 
}

.nav-spacer {
    visibility: visible !important;
    display: flex;
    justify-content: flex-end; 
    align-items: center;
}

.lang-btn {
    background-color: var(--inova-blue) !important;
    color: var(--white) !important;
    border: 2px solid var(--inova-blue);
    padding: 0.4rem 0.8rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.lang-btn:hover {
    background-color: transparent !important;
    color: var(--inova-blue) !important;
}



.hero {
    position: relative;
    background: var(--inova-blue); 
    background-size: auto 100%; 
    background-position: center center;
    background-repeat: no-repeat;
    padding: 14rem 2rem 8rem 2rem; 
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #0a2240 0%, rgba(10, 34, 64, 0.4) 20%, rgba(10, 34, 64, 0.4) 80%, #0a2240 100%),
                linear-gradient(to bottom, rgba(10, 34, 64, 0.8) 0%, rgba(10, 34, 64, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); 
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--white) !important;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-block;
    background-color: var(--inova-yellow) !important;
    color: var(--inova-blue) !important;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.btn:hover {
    background-color: #e6b800 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.main-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.main-container h2.blue {
    font-size: 2.2rem;
    color: var(--inova-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.main-container h2.yellow,
.card-left h2 {
    font-size: 2.2rem;
    color: var(--inova-yellow);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.main-container > div > p,
.main-container > p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto 2rem auto;
}

.feature-text h3, .benefit-card h3 {
    font-size: 1.6rem;
    color: var(--inova-blue);
    margin-bottom: 0.75rem;
}

.feature-text p, .benefit-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444444;
}

.feature-text ul li {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: #444444;
}

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

.grid-title {
    text-align: center; 
    max-width: 800px; 
    margin: 0 auto 2rem auto;
}

.card-yellow {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    
    border-top: 4px solid var(--inova-yellow) !important; 
}

.card-blue {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    
    border-top: 4px solid var(--inova-blue) !important; 
}

.split-card {
    display: flex;
    flex-direction: row;       
    align-items: center;       
    gap: 40px;                 
    padding: 40px;             
}

.card-left {
    flex: 1.5;                 
    text-align: left;          
}

.card-right {
    flex: 1;                  
    display: flex;
    justify-content: center;   
}

.card-img {
    width: 100%;
    max-width: 400px;        
    height: auto;              
    border-radius: 8px;        
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
}

.card-blue h3 {
    margin-bottom: 1rem;
    color: var(--inova-blue); 
}

.card-yellow h3 {
    margin-bottom: 1rem;
    color: var(--inova-yellow); 
}

.highlight-box {
    background-color: var(--inova-blue); 
    color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    margin-top: 4rem;
    text-align: center;
}

.highlight-box h2 {
    color: var(--inova-yellow);
    margin-bottom: 1rem;
}

/* ==========================================
   Studenten STyles
   ========================================== */
.feature-section {
    margin: 4rem 0;
}

.feature-block {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.feature-block:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    color: var(--inova-blue); 
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.feature-text ul {
    list-style-type: 'âœ“ ';
    margin-top: 1rem;
    padding-left: 1.5rem;
    color: #555;
}

.feature-text ul li {
    margin-bottom: 0.5rem;
}

.badge {
    display: inline-block;
    background-color: var(--inova-yellow);
    color: var(--inova-blue);
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

/* ==========================================
   Unternehmen Benefits
   ========================================== */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 5px solid var(--inova-yellow);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card h3 {
    color: var(--inova-blue); 
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.stats-box {
    display: flex;
    justify-content: space-around;
    background-color: var(--inova-blue); 
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    margin: 4rem 0;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--inova-yellow);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ==========================================
   Stats auf Homepage
   ========================================== */

.stats-section {
    padding: 60px 20px;
    background-color: var(--bg-light); 
    text-align: center;
}

.stats-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--inova-blue);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.stat-pre {
    font-size: 1rem;
    color: #666;
    margin-bottom: -5px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--inova-yellow); 
    margin-bottom: 15px;
}

.stat-card p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}

/* ==========================================
   Footer Styles
   ========================================== */
footer {
    background-color: var(--inova-blue) !important;
    color: #8a99a8;
    text-align: center;
    padding: 2rem;
    margin-top: 5rem;
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: var(--inova-yellow) !important;  
    text-decoration: none;       
    font-weight: 500;
    transition: color 0.2s ease, text-decoration 0.2s ease;
    
    display: inline-block; 
    padding: 5px;
}

footer a:hover {
    text-decoration: underline;  
    color: #ffffff !important;   
}

/* ==========================================
   Ãœber Uns Styles
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); 
    gap: 3rem;
    margin: 4rem 0;
}

.about-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--inova-yellow); 
}

.about-card h3 {
    color: var(--inova-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-card p {
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.about-card p strong {
    color: var(--inova-blue);
}

.about-card .feature-block {
    border-bottom: 1px solid var(--bg-light);
    padding-bottom: 1.5rem;
    width: 100%;
}

.about-card .feature-block:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.impressum-title-main {
    font-size: 3rem !important;        
    font-weight: 800 !important;      
    text-transform: uppercase;          
    letter-spacing: 2px;                
    margin-bottom: 2.5rem !important;  
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);      
}

.impressum-title-main::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;                        
    height: 5px;                       
    background-color: var(--inova-yellow); 
    border-radius: 4px;
}

.privacy-title-main {
    font-size: 3rem !important;        
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2.5rem !important;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);       
}

.privacy-title-main::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 5px;
    background-color: var(--inova-yellow);
    border-radius: 4px;
}

/* ==========================================
       Hallenplan
   ========================================== */

.hallenplan-title-main {
    font-size: 3rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2.5rem !important;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.hallenplan-title-main::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 5px;
    background-color: var(--inova-yellow);
    border-radius: 4px;
}

.day-switch-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.day-switch {
    background-color: var(--bg-light);
    padding: 6px;
    border-radius: 50px;
    display: inline-flex;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.switch-btn {
    background: none;
    border: none;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.switch-btn.active {
    background-color: var(--inova-blue);
    color: var(--white) !important;
    box-shadow: 0 4px 10px rgba(11, 33, 63, 0.3);
}

.map-wrapper {
    position: relative;
    background-color: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(11, 33, 63, 0.1);
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
}

.map-display {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.map-info-box {
    max-width: 700px;
    margin: 2rem auto 0 auto;
    background-color: var(--bg-light);
    border-left: 4px solid var(--inova-yellow);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
    text-align: left;
}

/* ==========================================
       Video auf Homepage
   ========================================== */

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    
    overflow: hidden; 
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

nav ul li, 
.nav-links li {
    position: relative; 
}

/* ==========================================
   Unternehmensseite
   ========================================== */

.service-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 2rem;
}

.service-text {
    flex: 1;
}

.service-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-img {
    width: 100%;
    max-width: 450px;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Anmeldungsseite */

.step-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border-left: 5px solid var(--inova-blue);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    background: var(--bg-light);
    color: var(--inova-blue);
    font-size: 1.5rem;
    font-weight: 700;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--inova-blue);
}

.download-btn-secondary {
    background: transparent;
    color: var(--inova-blue);
    border: 2px solid var(--inova-blue);
}

.download-btn-secondary:hover {
    background: var(--inova-blue);
    color: #ffffff;
}

/* Review Styles */
.testimonial-container {
    display: flex;
    max-width: 1100px;
    margin: 4rem auto;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.testimonial-image-side {
    flex: 1;
    min-height: 350px;
}

.testimonial-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-text-side {
    flex: 1.2;
    background-color: #0b213f; 
    color: #ffffff;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.quote-icon {
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 1rem;
    left: 2rem;
    line-height: 1;
}

.quote-text {
    font-size: 1.35rem;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.quote-author {
    font-size: 1rem;
    color: #ffcc00; 
    font-weight: 600;
    opacity: 0.9;
}

.slider-dots {
    display: flex;
    gap: 8px;
    margin-top: 2rem;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer; 
    transition: all 0.3s ease; 
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.dot.active {
    background: #ffcc00; 
    width: 20px;
    border-radius: 4px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.8rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    color: #ffcc00; 
    scale: 1.1;
}

.prev-arrow {
    left: 0.8rem; 
}

.next-arrow {
    right: 0.8rem; 
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #0b213f;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* ==========================================
   Mobile Anpassung
   ========================================== */
@media (max-width: 1100px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }
    
    .about-card {
        padding: 2rem;
    }

    .nav-container {
        flex-direction: column;
    }
     
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin: 0 0.75rem;
    }
    
    .hero h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: var(--white) !important;
    }
    
    .feature-block, .feature-block:nth-child(even) {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .stats-box {
        flex-direction: column;
        gap: 2rem;
    }

    .split-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .card-left {
        text-align: center;
    }
    
    .card-right {
        width: 100%;
    }
    
    .card-img {
        max-width: 100%;       
    }

    .service-row, 
    .service-row.reverse {
        flex-direction: column !important;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .service-img {
        height: 200px;
    }

    .step-box {
        flex-direction: column;
        gap: 1rem;
    }

    .map-wrapper:hover .map-display {
        transform: scale(1.02);
    }

    .testimonial-container {
        flex-direction: column;
        margin: 2rem 1rem;
    }

    .testimonial-image-side {
        min-height: 250px;
    }
    
    .testimonial-text-side {
        padding: 2rem;
    }
    
    .quote-text {
        font-size: 1.15rem;
    }

    .slider-arrow {
        top: auto;
        bottom: 1rem;
        transform: none;
    }
    
    .prev-arrow {
        left: 2rem;
    }

    .next-arrow {
        right: 2rem;
    }

	.nav-container {
        display: flex !important;
        flex-direction: row !important; /* Verhindert das vertikale Stapeln */
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: wrap !important; /* Erlaubt dem Dropdown-Menü, in die Zeile darunter zu rutschen */
        position: relative; 
        width: 100%;
    }

    /* 1. LINKES DRITTEL: Logo (linksbündig) */
    .logo-link {
        flex: 1 !important;
        display: flex !important;
        justify-content: flex-start !important;
        order: 1 !important;
    }

    /* 2. MITTLERES DRITTEL: Menü-Knopf (exakt in der Mitte) */
    .menu-toggle {
        flex: 0 0 30px !important;
        display: flex !important;
        order: 2 !important;
    }

    /* 3. RECHTES DRITTEL: Sprachschalter (rechtsbündig) */
    .nav-spacer {
        flex: 1 !important;
        display: flex !important;
        justify-content: flex-end !important;
        order: 3 !important;
    }
    .nav-menu {
        display: none;
        width: 100%;
        order: 4; 
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #ffffff;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 1.5rem 0;
        z-index: 1000;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.2rem !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    h1, h2, h3, h4, p, li {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    }
}