/* Reset und Grundstyles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #E5E7EB;
    background-color: #111827;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo Container */
.logo-container {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.mic-logo-position {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.microphone-image {
    position: relative;
    height: auto;
    width: auto;
    max-height: 600px; /* Erhöht von 300px */
    max-width: 350px; /* Erhöht von 250px */
    object-fit: contain;
    margin-right: -70px; /* Leicht vergrößert für bessere Überlappung, Wert betimmt die horizontale Position */
    margin-top: 20px; 
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    z-index: 1; /* Stellt sicher, dass das Mikrofon über anderen Elementen liegt */
}

.logo-with-text {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10; /* Logo unter dem Mikrofon */
}

.logo-with-text h2 {
    margin-top: 20px;
    margin-bottom: 0;
}

.logo {
    max-width: 600px;
    height: auto;
}
 
@media (max-width: 768px) {
    .mic-logo-position {
        /* Weiterhin flexbox, aber mit kleineren Abständen */
        
        justify-content: center; /* Zentral ausrichten statt links */
        flex-wrap: nowrap; /* Verhindert Umbruch der Elemente */
        max-width: 100%; /* Begrenzt auf Containerbreite */
        overflow: hidden; /* Verhindert Überlauf */
    } 
   
    .microphone-image {
        max-height: 160px;
        max-width: 110px;
        margin-top: 0px;
        margin-bottom: 0px;
        margin-right: -20px;
        /* Hintergrundbeleuchtungseffekt hinzufügen */
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
        /* Alternative: */
        /* box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.15); */
    }
     
    /* EINSTELLUNGEN FÜR OBEN:
    Die erste Zahl (0) ist die horizontale Verschiebung, 
    Die zweite Zahl (0) ist die vertikale Verschiebung, 
    Die dritte Zahl (10px) ist die Unschärfe 
    - größere Werte erzeugen einen weicheren Glüheffekt, 
    Der RGBA-Wert bestimmt die Farbe und Transparenz 
    - (255,255,255,0.3) ist ein halbtransparentes Weiß 
    Dabei ist der Letzte Wert (0.3) die Effekt-Stärke*/

    
    .logo {
        max-width: 200px; /* Kleinere Größe für mobile Geräte */
    }
    
    .logo-with-text {
        max-width: calc(100% - 90px); /* Berücksichtigt den Platz des Mikrofons */
    }
    
    .logo-with-text h2 {
        font-size: 1.2rem; /* Kleinerer Text */
    }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(to right, #111827, #1E3A8A);
}


.intro-text {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


/* Explanation Section */
.explanation {
    max-width: 1000px;
    margin: 33px auto;
    padding: 0 20px;
}

.explanation p {
    margin-bottom: 20px;
}

/* Demo Section */
.demo-section {
    background: #1F2937;
    padding: 30px;
    border-radius: 8px;
    margin: 40px auto;
    max-width: 1000px;
}

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

.demo-box {
    background: #374151;
    padding: 20px;
    border-radius: 8px;
}


audio {
    width: 100%;
    margin: 10px 0;
}

/* CTA Section */

.enhanced-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #3B82F6, #2563EB);
    color: white !important;
    text-decoration: none;
    padding: 20px;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    width: 95%; 
    max-width: 470px;
    text-align: center;
}

.enhanced-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.enhanced-cta span {
    color: white !important;
}

.cta-icon {
    margin-right: 10px;
    font-size: 1.4rem;
}

.cta-arrow {
    width: 24px;
    height: 24px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.enhanced-cta:hover .cta-arrow {
    transform: translateX(5px);
}


/* Navigation */
.navigation {
    padding: 20px 1em;
    text-align: center;
    border-top: 1px solid #374151;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.navigation a {
    background: #374151;
    color: #E5E7EB;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navigation a:hover {
    background: #3B82F6;
    transform: translateY(-2px);
}

/* Legal Navigation */
.legal-nav {
    text-align: center;
    margin-top: 20px;
    padding-bottom: 20px;
    font-size: 0.8rem;
}

.legal-nav a {
    color: #6B7280;
    text-decoration: none;
    padding: 0 10px;
    transition: color 0.3s ease;
}

.legal-nav a:hover {
    color: #9CA3AF;
}



/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 8px;
        margin-bottom: 0em; /* Wenn größer, wird die blaue Top-Box nach unten vergrößert */
    }

    h2 {
        font-size: 1.75rem;
    }

    .logo {
        max-width: 250px;
    }

    .examples-grid {
        grid-template-columns: 1fr;
    }

    .demo-grid {
        grid-template-columns: 1fr;
    }

    .navigation {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin: 20px 15px;
    }

    .navigation a {
        display: block;
        width: auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0;
    }

    .demo-section {
        margin: 20px 15px;
        padding: 20px;
    }
    
    .examples {
        padding: 30px 0;
    }
    
    .intro-text {
        font-size: 1.1rem;
        padding: 0 15px;
    }

    .enhanced-cta {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .cta-icon {
        font-size: 1.2rem;
    }
    
    .cta-subtitle {
        font-size: 0.8rem;
    }
}
/* === Modal/Overlay mit Animation === */
.overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    /* Start unsichtbar für Fade-In */
    opacity: 0;
    display: flex;              /* bereits Flex, aber unsichtbar */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease; /* Dauer und Kurve anpassbar */
  }
  .overlay.active {
    /* Sichtbarkeit an */
    opacity: 1;
  }
  
  .modal {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    /* Start leicht nach oben versetzt */
    transform: translateY(-20px);
    transition: transform 0.3s ease; /* Dauer und Kurve anpassbar */
  }
  /* Wenn Overlay aktiv, Modal an Endposition */
  .overlay.active .modal {
    transform: translateY(0);
  }

  /* Formular-Styles - nach dem bestehenden .navigation-Abschnitt in styles.css einfügen */
.contact-form-container {
    background: #1F2937;
    border-radius: 12px;
    padding: 30px;
    max-width: 800px;
    margin: 40px auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.project-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #E5E7EB;
    font-weight: 500;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #4B5563;
    background-color: #374151;
    color: #E5E7EB;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.form-actions {
    margin-top: 10px;
}

.submit-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}

.form-note {
    color: #9CA3AF;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 10px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    background-color: #10B981;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.form-success h3 {
    color: #E5E7EB;
    margin-bottom: 10px;
}

.form-success p {
    color: #9CA3AF;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 20px;
        margin: 20px 15px;
    }
    
    .form-group {
        gap: 6px;
    }
}
  