body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
    box-sizing: border-box;
    color: #000000;
    background-color: #ffffff;
}



.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    color: white;
    background-color: #034892;
    font-size: 14px;
}

/* Blaue Top-Bar ausblenden auf Handys */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Links ausrichten */
    background-color: #ffffff;
    color: #000000;
    padding: 10px 20px;
    height: 60px;
    position: relative;
    z-index: 10;
    gap: 40px;
}

.navbar-logo {
    width: 70px;
}

/* Standard Navigation für große Bildschirme */
.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: rgb(119, 119, 119);
    text-decoration: none;
    font-weight: 100;
    font-size: 15px;
}

/* Hamburger Menü */
.hamburger-menu {
    display: none;
    cursor: pointer;
}

/* Hamburger-Icon in der mobilen Ansicht sichtbar machen */
@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 20;
    }

    .hamburger-menu img {
        width: 35px; /* Größe des Icons */
        height: auto;
    }

    /* 🔹 Mobile Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        text-align: center;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

    .nav-links a {
        display: block;
        padding: 10px;
        font-size: 16px;
        color: #034892;
        text-decoration: none;
    }

    /* Wenn aktiv, wird die Navigation sichtbar */
    .nav-links.active {
        display: flex;
    }
}

header {
    position: relative;
    height: calc(100vh - 60px);
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
  }

  header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(3, 72, 146, 0.47); /* blauer Overlay */
    z-index: 1;
    pointer-events: none;
  }
  
  
  header.with-overlay::before {
    opacity: 1;
  }
  
  .hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    transition: opacity 0.8s ease-in-out;
  }

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2; /* Oberhalb des dunklen Overlays */
    color: white; /* Text bleibt weiß */
}

.hero h1,
.hero p {
    position: relative;
    z-index: 2;
    color: white;
    padding-bottom: 20px;
}

span {
    color:#ffc800
}

span1 {
    font-weight: bold;
    color:#034892
}

button {
    margin-top: 20px;
    padding: 10px 20px;
    border: none;
    background-color: #034892;
    color: white;
    cursor: pointer;
    font-size: 16px;
    z-index: 2;
    position: relative;
}

.right-icons img {
    width: 30px;
    height: 30px;
    margin-left: 10px;
}



.news {
    padding: 50px 20px;
    background-color: #ffffff;
    text-align: center;
}

.news-main-title {
    font-size: 32px;
    color: #034892;
    margin-bottom: 40px;
    font-weight: bold;
}

.news-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    gap: 20px; /* Abstand zwischen Text und Bild */
}

.news-text {
    max-width: 50%;
}

.news-text h3 {
    font-size: 24px;
    color: #034892;
    margin-bottom: 10px;
}

.news-text p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.news-text p span{
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.news-button {
    
    padding: 10px 20px;
    border: none;
    background-color: #034892;
    color: white;
    cursor: pointer;
    font-size: 16px;
    
    text-decoration: none;
}

.news-button:hover {
    background-color: #023b6d;
}

.news-image {
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

.news-image img {
    width: 100%;
    height: auto;
    max-height: 300px; /* Maximale Höhe, damit es nicht zu groß wird */
    object-fit:contain;
    border-radius: 8px;
   
}

/* ✅ Responsives Verhalten für kleinere Bildschirme */
@media (max-width: 768px) {
    .news-container {
        flex-direction: column;
        text-align: center;
    }

    .news-text, .news-image {
        max-width: 100%;
    }

    .news-image {
        justify-content: center;
    }
}

.prices {
    padding: 50px 20px;
    background-color: #f5f5f5;
    text-align: center;
}

.prices-main-title {
    font-size: 32px;
    color: #034892;
    margin-bottom: 40px;
    font-weight: bold;
}

.prices-container {
    display: flex;
    justify-content: center;
}

.prices-table {
    width: 80%;
    max-width: 600px;
    border-collapse: collapse;
    background: white;
    overflow: hidden;
}

.prices-table thead {
    background-color: #034892;
    color: white;
}

.prices-table th, .prices-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.prices-table tr:last-child td {
    border-bottom: none;
}

.prices-table tbody tr:nth-child(even) {
    background-color: hsla(211, 96%, 29%, 0.097);
}

.prices-table tbody tr:hover {
    background-color: #e1efff;
}

/* ✅ Weniger Padding in der Handyversion */
@media (max-width: 768px) {
    .prices {
        padding: 30px 10px; /* Weniger Abstand oben/unten & seitlich */
    }

    .prices-table {
        width: 100%; /* Tabelle nutzt den vollen Platz */
        max-width: none;
    }

    .prices-table th, .prices-table td {
        padding: 8px; /* Weniger Padding für eine kompakte Darstellung */
        font-size: 14px; /* Kleinere Schrift für bessere Lesbarkeit */
    }
}

/* Standardmäßig versteckte Elemente */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Sobald ein Element sichtbar ist, wird es eingeblendet */
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Hero-Bereich mit Verzögerung einblenden */
.hero-content {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInHero 1.5s ease-out 0.5s forwards;
}

/* Keyframes für sanftes Einblenden */
@keyframes fadeInHero {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.route {
    padding: 50px 20px;
    background-color: #ffffff;
    text-align: center;
}

.route-main-title {
    font-size: 32px;
    color: #034892;
    margin-bottom: 40px;
    font-weight: bold;
}

.route-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.route-text {
    max-width: 45%;
}

.route-text h3 {
    font-size: 24px;
    color: #034892;
    margin-bottom: 10px;
}

.route-text p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.route-map {
    max-width: 50%;
    display: flex;
    justify-content: flex-end;
}

.route-map iframe {
    width: 100%;
    max-width: 450px;
    height: 300px;
    border-radius: 8px;
}

/* ✅ Responsive Verhalten für kleinere Bildschirme */
@media (max-width: 768px) {
    .route-container {
        flex-direction: column; /* Ändert die Anordnung auf vertikal */
        text-align: center; /* Zentriert den Text */
    }

    .route-text {
        max-width: 100%;
    }

    .route-map {
        max-width: 100%;
        justify-content: center;
        margin-top: 20px; /* Abstand zum Text */
    }

    .route-map iframe {
        max-width: 100%;
        height: 250px; /* Reduzierte Höhe für Handys */
    }
}

/* Standardmäßige Unsichtbarkeit für Fade-In Effekt */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Sobald ein Element sichtbar ist, wird es eingeblendet */
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}


.footer {
    background-color: #034892;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffc800; /* Leicht gelbliches Highlight beim Hover */
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column; /* Links untereinander statt nebeneinander */
        gap: 10px;
    }

    .footer-links a {
        font-size: 14px; /* Kleinere Schrift für mobile Ansicht */
    }

    .footer-copyright {
        font-size: 12px; /* Kleinere Copyright-Schrift */
        margin-top: 10px;
    }
}

.hero {
    position: relative;
    background-color: #e8fafd;
    text-align: center;
    padding: 100px 20px 120px;
    overflow: hidden;
}

.wave-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    pointer-events: none; /* Kein Einfluss auf Mausinteraktionen */
    overflow: hidden;
    z-index: 1;
}

.wave {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: waveMove 8s ease-in-out infinite;
    transform: translateY(0);
}

.wave.delay1 {
    animation-delay: 1s;
    opacity: 0.8;
}

.wave.delay2 {
    animation-delay: 2s;
    opacity: 0.6;
}

.wave.delay3 {
    animation-delay: 3s;
    opacity: 0.4;
}

@keyframes waveMove {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.price-note {
    margin-top: 20px;
    font-size: 14px;
    
    text-align: center;
}

.price-note p {
    color:#3f3d3d;
}


.legal-section {
    background-color: #ffffff;
    color: #000000;
    padding: 50px 20px;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

.legal-section h3 {
    color: #034892;
    font-size: 28px;
    margin-bottom: 20px;
}

.legal-section strong {
    color: #034892;
}

.impressum-section {
    background-color: #ffffff;
    color: #000000;
    padding: 50px 20px;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

.impressum-section h3 {
    color: #034892;
    font-size: 28px;
    margin-bottom: 20px;
}

.impressum-section p {
    font-size: 16px;
    color: #000000;
}