/* Allgemeine Einstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica', 'Arial', sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.8; /* Allgemeiner Zeilenabstand */
    padding-top: 95px; /* Höhe der Navbar */
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: fixed;
    top: 40px; /* Fixiere die Navbar oben */
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 100;
    margin: 0; /* Entferne ungewollte Browser-Margin */
}

.navbar .logo img {
    height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; /* Position unterhalb der Navbar */
    right: 0;
    background-color: white;
    width: 100%;
    z-index: 200;
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.language-switcher {
    margin-left: 20px;
}

.language-switcher a {
    text-decoration: none;
    color: #333;
    margin: 0 5px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 60vh; /* Vollbildhöhe */
    min-height: 400px; /* Mindesthöhe für kleinere Bildschirme */
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Füllt den gesamten Bereich */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dunkler Overlay-Effekt */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    max-width: 800px;
    padding: 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero-content .cta-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    color: white;
    background-color: #007BFF;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.hero-content .cta-button:hover {
    background-color: #0056b3;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .hero {
        height: 70vh; /* Reduzierte Höhe für Tablets */
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 500px) {
    .hero {
        height: 70vh; /* Noch kleinere Höhe für Smartphones */
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    text-align: center;
}

/* Sections */
section {
    width: 80%; /* Sektionen sind 80% breit */
    margin: 50px auto; /* Zentrieren */
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center; /* Text innerhalb der Sektion zentrieren */
}

section h1 {
    font-size: 2.5rem;
    margin-bottom: 40px; /* Mehr Abstand unter der Überschrift */
    text-align: center;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 40px; /* Mehr Abstand unter der Überschrift */
    text-align: center;
}

section p {
    max-width: 800px; /* Textbreite begrenzen */
    margin: 0 auto 30px; /* Zentrieren und mehr Abstand */
}

/* Custom List Style */
.custom-list {
    list-style: none; /* Standardpunkte entfernen */
    padding: 0;
}

.custom-list li {
    margin-bottom: 15px; /* Abstand zwischen den Listenelementen */
}

.custom-list .list-icon {
    display: none; /* Symbole entfernen */
}

/* Testimonials Slider */
.testimonial-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: auto;
    text-align: center;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0; /* Unsichtbar standardmäßig */
    transition: opacity 1s ease-in-out;
    line-height: 1.6; /* Zeilenabstand für Testimonials */
}

.testimonial.active {
    opacity: 1; /* Sichtbares Testimonial */
    position: relative;
}

/* Footer */
footer {
    background: #f8f8f8;
    padding: 20px;
    text-align: center;
}

.footer-content a {
    color: #333;
    text-decoration: none;
    margin-left: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .navbar {
        padding: 10px 20px;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1em;
    }

    section {
        width: 90%;
    }
}

/* Über Anubisan - Zentrales Logo */
.logo-container {
    text-align: center;
    margin: 40px 0;
}

.about-logo {
    width: 500px; /* Größe des Logos */
    height: auto;
}

/* Absätze und Listen */
.about p {
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.8;
    text-align: center;
}

.about ul.custom-list {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 800px;
    text-align: left;
}

.about ul.custom-list li {
    margin-bottom: 15px;
}

.intro {
    background-color: #f9f9f9;
    padding: 120px 20px 60px; /* Abstand nach oben erhöht (120px) */
}


/* Produktseite */
.product {
    background-color: transparent; /* Kein Hintergrund */
    box-shadow: none; /* Kein Schatten */
    border-radius: 0; /* Keine abgerundeten Ecken */
    padding: 0; /* Keine zusätzliche Innenabstände */
}


.product-content {
    display: flex;
    flex-wrap: nowrap; /* Keine Zeilenumbrüche */
    align-items: stretch; /* Gleiche Höhe für Bild und Text */
    justify-content: space-between; /* Abstand zwischen Bild und Text */
    width: 100%; /* Nutzt die gesamte verfügbare Breite */
    max-width: 1200px; /* Begrenzung auf gleiche Breite wie "Unsere Produkte" */
    margin: 0 auto; /* Zentrieren der Section */
    gap: 20px; /* Fester Abstand zwischen Bild und Text */
    box-sizing: border-box; /* Padding wird berücksichtigt */
    padding: 0 20px; /* Optional: Innenabstand links und rechts */
}

.product-content:nth-child(even) {
    flex-direction: row-reverse; /* Bild rechts bei jedem zweiten Produkt */
}

@media (max-width: 768px) {
    .product-content {
        flex-direction: column; /* Vertikale Anordnung auf kleineren Geräten */
        text-align: center; /* Zentrierter Text für mobile Geräte */
    }

    .product-content:nth-child(even) {
        flex-direction: column; /* Einheitliche Richtung für mobile Geräte */
    }
}

.product-image {
    flex: 0 0 400px; /* Feste Breite des Bildes */
    margin: 0; /* Kein zusätzlicher Abstand */
}

.product-image img {
    width: 100%; /* Bild passt sich automatisch an */
    max-width: 400px; /* Maximale Breite des Bildes */
    height: auto; /* Beibehaltung der Proportionen */
    display: block;
    border-radius: 15px; /* Sanfte abgerundete Ecken */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Schatten für visuelle Tiefe */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Weicher Hover-Effekt */
}

.product-image img:hover {
    transform: scale(1.05); /* Leichtes Zoomen beim Hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Intensiverer Schatten beim Hover */
}

@media (max-width: 768px) {
    .product-image {
        max-width: 90%; /* Größeres Bild auf kleineren Geräten */
    }
}


.product-description {
    flex: 1; /* Nimmt den verbleibenden Platz ein */
    padding: 40px; /* Innenabstand */
    background-color: #f9f9f9; /* Optional: Hintergrundfarbe */
    border-radius: 10px; /* Runde Ecken */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: Schatten */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertikale Zentrierung */
    text-align: left; /* Links ausgerichteter Text */
}

.product-description h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #333; /* Deutliche, lesbare Schriftfarbe */
}

.product-description p {
    font-size: 1rem;
    line-height: 1.5;
    color: #555; /* Etwas hellere Schriftfarbe für weniger Dominanz */
}

@media (max-width: 768px) {
    .product-description {
        text-align: center; /* Text zentrieren auf mobilen Geräten */
        padding: 15px;
    }

    .product-description h2 {
        font-size: 1.4rem;
    }

    .product-description p {
        font-size: 0.9rem;
    }
}



.section-content {
    display: flex;
    flex-wrap: nowrap; /* Keine Zeilenumbrüche */
    align-items: center; /* Gleiche Höhe für Bild und Text */
    justify-content: space-between; /* Abstand zwischen Bild und Text */
    width: 100%; /* Nutzt die gesamte verfügbare Breite */
    max-width: 1200px; /* Begrenzung auf gleiche Breite wie "Unsere Produkte" */
    margin: 0 auto; /* Zentrieren der Section */
    gap: 20px; /* Fester Abstand zwischen Bild und Text */
    box-sizing: border-box; /* Padding wird berücksichtigt */
    padding: 0 20px; /* Optional: Innenabstand links und rechts */
}


.section-content .text,
.section-content .image {
    flex: 1;
    margin: 10px;
}

.section-content .image img {
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .section-content {
        flex-direction: column; /* Elemente untereinander */
    }
}



.job-profile h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.benefits {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 50px auto;
}

.benefit-list p {
    font-weight: bold;
    font-size: 1.2rem;
    margin: 15px 0;
}


.job-profile p {
    text-align: justify;
    line-height: 1.6;
    font-size: 1.1rem;
}



/* Team-Grafik */
.team-graphic .image-container {
    text-align: center;
    margin: 30px 0;
}

.team-graphic img {
    max-width: 30%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-form {
    max-width: auto; /* Maximale Breite der gesamten Section */
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center; /* Zentriert den Text */
}

.contact-form h2 {
    margin-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    align-items: center; /* Zentriert die Felder horizontal */
}

.contact-form label {
    margin-top: 15px;
    font-weight: bold;
    width: 80%; /* Breite des Labels */
    text-align: center;
}

.contact-form input, .contact-form textarea {
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    width: 80%; /* Felder sind nur 80% der Section-Breite */
    max-width: 500px; /* Maximale Breite für größere Bildschirme */
    box-sizing: border-box;
}

.contact-form button.btn {
    margin-top: 20px;
    padding: 15px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 80%; /* Button ist nur 50% breit */
    max-width: 500px; /* Maximale Breite des Buttons */
}

.contact-form button.btn:hover {
    background-color: #0056b3;
}

/* Cookie consent banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 15px;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}
#cookie-banner.show {
    display: flex;
}
#cookie-banner button {
    margin-left: 10px;
}
