body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
}

/* container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0; /* wichtig: kein Padding hier */
}


/* SECTIONS */
.section {
    max-width: 900px;
    margin: 0 auto; /* kein 40px mehr */
    background: #0A0A0A;
    padding: 20px; /* reduziert */
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

.section h2 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #00E5FF; /* Akzentfarbe */

}

.section-gradient-1 {
    background: linear-gradient(180deg, #0A0A0A 0%, #141414 100%);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.25);
    padding: 25px 25px;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.section-glow {
    background: #0A0A0A;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.25);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 20px; /* reduziert */
    margin: 40px auto; /* Abstand nach oben/unten */
}

hr {
    border: none;
    border-top: 2px solid #000; /* schwarze Linie */
    margin: 20px 0;
}

/* --- MOBILE MENU & NAVBAR (Korrigiert & Flexibel) --- */
.navbar {
    background: #222;
    color: #fff;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 1200px;  /* Gleiche maximale Breite wie dein .container */
    margin: 0 auto;     /* Zentriert die Navbar automatisch auf dem Desktop */
}

.navbar img {
    height: 35px;
    width: auto;
    display: block;
}

.menu-toggle {
    font-size: 26px;
    cursor: pointer;
    display: block;
}

.mobile-menu {
    display: none;
    background: #333;
    padding: 15px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
}

.mobile-menu a {
    display: block;
    color: #fff;
    padding: 10px 0;
    text-decoration: none;
    border-bottom: 1px solid #444;
}

.mobile-menu a:hover {
    color: #4caf50;
}

/* --- DESKTOP ANPASSUNG FÜR DEN HEADER --- */
@media (min-width: 768px) {
    .menu-toggle {
        display: none !important;
    }

    .mobile-menu {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        justify-content: flex-end !important;
        align-items: center !important;
        background: transparent !important;
        box-shadow: none !important;
        width: auto !important;
        padding: 0 !important;
        border-top: none !important;
        gap: 20px;
    }

    .mobile-menu a {
        border-bottom: none !important;
        padding: 0 !important;
    }
}

/* HERO */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #2196f3, #4caf50);
    color: white;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* Logo */
.logo img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Image location with text */
.row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.text {
    flex: 1;
}
.text h2 {
    margin-top: 0;
    color: #00eaff; /* Beispiel: Neon-Türkis */
}

.image img,
.image video {
    width: 80%;
    max-width: 300px;
    border-radius: 10px;
    height: auto;
    margin: 0 auto;  
    display: block;
}

/* Der übergeordnete Bereich, in dem das Video sitzt */
.section-video {          /* Name kannst du anpassen */
    display: flex;
    justify-content: center;
}

/* Dein vorhandener Container */
.video {
    width: 50%;
    max-width: 400px;
}

/* Das eigentliche Video */
.video video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.feature-row {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .feature-row {
        flex-direction: column;
        text-align: center;
    }
}

/* end - Image location with text */
.header-video-wrapper {
    width: 100%;
    height: 200px;              /* gewünschte Höhe */
    display: flex;
    justify-content: center;    /* horizontal zentriert */
    align-items: center;        /* vertikal zentriert */
    overflow: hidden;           /* wichtig für Cinematic-Video */
    background: #000;           /* optional */
}

.header-video {
    width: 100%;
    height: 200px;
    object-fit: cover;          /* füllt den Bereich perfekt */
}


/* FEATURE BOXES */
.feature-box {
    background: linear-gradient(180deg, #0A0A0A 0%, #141414 100%);
    padding: 15px; /* reduziert */
    border-radius: 8px;
    border-left: 4px solid #2196f3;
    margin-bottom: 15px; /* reduziert */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.feature-box h3 {
    margin-bottom: 10px;
}

.more-btn {
    display: inline-block;
    margin-top: 10px;
    background: #2196f3;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
}

.more-btn:hover {
    background: #1976d2;
}

/* General BOX */
.gen-box {
    background: linear-gradient(180deg, #0A0A0A 0%, #141414 100%);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
    margin-top: 20px;
}

/* API BOX */
.api-box {
    background: linear-gradient(180deg, #0A0A0A 0%, #141414 100%);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
    margin-top: 20px;
}

pre {
    background: #222;
    color: #fff;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
}

/* CTA */
.cta {
    text-align: center;
    margin: 50px 0;
}

.cta a {
    background: #4caf50;
    color: #fff;
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 20px;
}

.cta a:hover {
    background: #43a047;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

/* Contact */
/* --- Kontakt Container --- */
.contact-container {
    max-width: 500px;
    width: 90%;
    margin: 60px auto;
    padding: 30px;
    background: #0f0f0f;
    border: 1px solid #1e90ff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(30, 144, 255, 0.3);
}

/* Titel */
.contact-container h2 {
    text-align: center;
    color: #1e90ff;
    margin-bottom: 25px;
}

/* Labels */
.contact-container label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 14px;
}

/* Inputs */
.contact-container input,
.contact-container textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 6px;
    border: none;
    background: #fff;
    font-size: 16px;
}

/* Button */
.contact-container button {
    width: 100%;
    padding: 12px;
    background: #1e90ff;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.contact-container button:hover {
    background: #1878d1;
}

/* Erfolgsmeldung */
.success-box {
    background: #0f0f0f;
    border: 1px solid #1e90ff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    color: #fff;
    font-size: 1.1rem;
    text-align: center;
    box-shadow: 0 0 15px rgba(30, 144, 255, 0.3);
}

/* --- Responsive Breakpoints --- */

/* Tablets */
@media (max-width: 768px) {
    .contact-container {
        max-width: 90%;
        padding: 25px;
    }

    .contact-container h2 {
        font-size: 1.6rem;
    }

    .contact-container input,
    .contact-container textarea {
        font-size: 15px;
    }

    .contact-container button {
        font-size: 15px;
    }
}

/* Smartphones */
@media (max-width: 480px) {
    .contact-container {
        padding: 20px;
        margin: 40px auto;
    }

    .contact-container h2 {
        font-size: 1.4rem;
    }

    .contact-container input,
    .contact-container textarea {
        font-size: 14px;
        padding: 10px;
    }

    .contact-container button {
        font-size: 14px;
        padding: 10px;
    }
}
