@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Roboto+Mono:wght@300;400&display=swap');

:root {
    --primary-blue: #022d58;     /* Dark Navy Blue */
    --secondary-blue: #0d2739;   /* Medium Blue */
    --accent-blue: #66ccff;      /* Sky Blue for highlights */
    --beige-light: #f0f0e0;      /* Soft beige */
    --white: #ffffff;
    --title-color: #2a4558;            /* Darker title color */
    --font-title: 200;          /* Font weight for titles */
    --size-title:3rem;          /* Font size for titles */  
    --text-dark: #2a2a2a;        /* Dark text on light backgrounds */
    --background-gradient-start: #060b1a; /* Even darker blue for background */
    --background-gradient-end: #001f4d;
    --cards-color:#022d50d2;
    --background-dark-blue: #0a1128;
}

/* === NEWSLETTER POPUP === */

.newsletter-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

.newsletter-popup-overlay.show {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.newsletter-popup-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { 
        transform: translateY(50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.newsletter-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #888;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    padding: 0;
    width: 35px;
    height: 35px;
}

.newsletter-close-btn:hover {
    color: #333;
}

.newsletter-popup-inner h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0a3d62;
    margin-bottom: 15px;
    text-align: center;
}

.newsletter-popup-inner p {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    border-color: #147681;
}

.newsletter-submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #0a3d62 0%, #147681 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 118, 129, 0.3);
}

.newsletter-privacy {
    font-size: 0.85rem;
    color: #999;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .newsletter-popup-content {
        padding: 30px 20px;
    }
    
    .newsletter-popup-inner h2 {
        font-size: 1.8rem;
    }
}

.header-video-container {
    height: 100vh;
    width: 100vw;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.ds-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: auto;
    z-index: -1;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
}

.content{
    position: absolute;
    max-width: 800px;
    margin: 0 auto; /* zentriert den Content-Block */
    text-align: center; /* zentriert Inhalte */
}

.content img {
    max-width: 550px; /* Logo kleiner machen */
    width: 200%;
    height: auto;
    display: block;
    margin: 0 auto 20px; /* zentriert und Abstand nach unten */
}

.content h1{
    font-size: 20px;
    color: var(--text-light);
    text-align: center;
    font-weight: 600;
}

.content h2{
    font-size: 2rem;
    animation-delay:  0.5s;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 5px;
}
.content .logo-anim{
    animation-delay:  0.5s;
    align-items: center;
    display: flex;
    justify-content: center;

}

.content p{
    margin-top: 30px;
    animation-delay:  0.5s;
    color: var(--text-light);
    font-size: 1.5rem;
    margin-left: 20px;
}
.anim{
    opacity: 0;
    transform: translateY(30px);
    animation: moveup 0.5s linear forwards;
}
@keyframes moveup{
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}

.slide-container {
    /* Zentriert, begrenzte Breite, Abstand nach unten */
    display: flex;
    align-items: center;
    gap: 70px;
    width: min(1200px, 92vw);
    margin: 0 auto 80px; /* horizontal mittig + Abstand unten */
    padding: 60px;
    box-sizing: border-box;
    max-height: 80vh;
}

/* Linker Inhaltsbereich */
.content-left {
    flex: 1; /* Nimmt den größten Teil des Platzes ein */
    padding-right: 50px;
    margin-left: 0; /* zentrierte Ausrichtung, Abstand via gap */
}

.subtitle {
    font-size: 1.8rem; /* Größer als normaler Text */
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.8; /* Leicht gedämpfte Farbe für den Untertitel */
}

.title {
    font-size: 4rem; /* Sehr groß, um die Hauptüberschrift hervorzuheben */
    font-weight: 800;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 3rem;
    position: relative; /* Für den kleinen pinken Kreis unter "Text fields" */
}


/* Feature-Liste */
.features {
    list-style: none; /* Entfernt die Standard-Aufzählungszeichen */
    padding: 0;
}

.features li {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    font-weight: 400;
}

.features-vorteile {
    list-style: none; /* Entfernt die Standard-Aufzählungszeichen */
    padding: 0;
}
.features-vorteile li {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    font-weight: 400;
}

.check-icon {
    /* Stil für das Material Icon "check" */
    font-size: 2.2rem;
    color: #aea27a; /* Helles Grün, wie im Material Design oft verwendet */
    margin-right: 15px;
}

/* Rechter Inhaltsbereich für das Bild */
.content-right {
    flex: 0.8; /* Nimmt etwas weniger Platz als der linke Bereich ein */
    display: flex; /* Um das Bild zu zentrieren */
    justify-content: center;
    align-items: center;
    margin-left: 0; /* zentrierte Ausrichtung, Abstand via gap */
    min-height: 400px;
    overflow: hidden; /* Verhindert, dass das Bild über den Container hinausgeht */
}

.right-image {
    width: 100%; /* Das Bild füllt die Breite des Containers aus */
    height: 90%; /* Das Bild füllt die Höhe des Containers aus */
    display: block; /* Entfernt eventuelle zusätzliche Leerzeichen unter dem Bild */
    border-radius: 30px; 
}


/* Anpassungen für kleinere Bildschirme */
@media (max-width: 1024px) {
    .slide-container {
        flex-direction: column; /* Stapelt die Elemente untereinander */
        padding: 40px;
        width: 100%;
        gap: 30px; /* angenehmer Spaltenabstand auf kleineren Screens */
    }
    
    .content-left {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .content-right {
        min-height: 300px; /* Reduziere die Höhe auf kleineren Bildschirmen */
        margin-top: 20px; /* Abstand nach oben, wenn die Spalten gestapelt sind */
    }

    .title {
        font-size: 3.5rem;
    }
    
    .features li {
        font-size: 1.3rem;
    }
}


.timeline {
    position: relative;
    max-width: 1600px;
    margin: 100px auto;
}

/* Vertikale Mittellinie - wächst mit Scroll bis end-circle */
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(180deg, #aea27a 0%, #ffffff 100%);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: var(--timeline-line-height, 0%);
    transition: height 2.5s ease-out;
    border-radius: 3px;
    z-index: -1;
}

.container{
    padding: 10px 50px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

/* Entfernte automatische Animation - jetzt scroll-gesteuert via JS */

.text-box{
    padding: 20px 30px;
    border-radius: 6px;
    font-size: 15px;
}
.left-container{
    left: 0;
}
.right-container{
    left: 50%;
    margin-bottom: 10%;
} 
.container > img.step-icon{
    position: absolute;
    width: 40px;
    border-radius: 50%;
    right: -20px;
    top: 32px;
    z-index: 10; 
}

.right-container > img.step-icon{
    left: -20px;
}



.text-box h2{
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 2rem;
}
.text-box p{
    font-size: 1.5rem; /* Etwas größer als normaler Text */
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: #333; /* Dunklere Farbe für bessere Lesbarkeit */
}

.left-container-arrow{
    width: 0;
    height: 0;
    position: absolute;
    top: 38px;
    z-index: 1;
    right: 36px;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #147681;
}
.right-container-arrow{
    width: 0;
    height: 0;
    position: absolute;
    top: 38px;
    z-index: 1;
    left: 36px;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #147681;
}

.timeline-vorteile-img {
    width: 100%;
    height: auto;
    position: relative; /* überschreibt absolute Position von step icons */
    left: auto;
    right: auto;
    
}

.timeline-media {
    width: 100%;
    margin-bottom: 20px;
}


/* Der Container für die Liste */
.checkmark-list {
    list-style: none; /* Entfernt die Standard-Aufzählungszeichen */
    padding: 0;      /* Entfernt den Standard-Innenabstand */
    margin: 20px;    /* Fügt etwas Abstand zur Seite hinzu (optional) */
    font-size: 1.6em; /* Macht den Text etwas größer (optional) */
}

/* Die einzelnen Listenelemente */
.checkmark-list li {
    padding-left: 2em; /* Schafft Platz für das Häkchen-Symbol */
    position: relative; /* Wichtig, damit das Pseudo-Element relativ dazu positioniert werden kann */
    margin-bottom: 0.8em; /* Abstand zwischen den Listenelementen */
    line-height: 1.4; /* Verbessert die Lesbarkeit bei längeren Zeilen */
}

/* Das Pseudo-Element für das Häkchen-Symbol */
.checkmark-list li::before {
    content: '\2713'; /* Unicode-Häkchen-Symbol (✓) */
    color: #aea27a; /* Stellt die Farbe auf ein helles Blau ein (wie im Bild) */
    font-weight: bold; /* Macht das Häkchen dicker */
    position: absolute; /* Positioniert das Symbol frei */
    left: 0; /* Positioniert das Symbol ganz links im padding-left Bereich */
    top: 0; /* Richtet es an der obersten Linie des Textes aus */
}


.timeline-end {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.end-circle {
  width: 20px;
  height: 20px;
  background-color: #147681;
  border-radius: 50%;
}

.end-text {
    font-weight: 600;
    font-size: 2rem;
    color: #0b1c29;
    text-align: center;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
}


.ai-features-section {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto; /* Zentriert den Hauptcontainer */
}

/* === HEADER BEREICH (TEXT ÜBER DEN KARTEN) === */

.header-content {
    margin-bottom: 60px;
}

.tagline {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d; /* Graue Farbe für 'Highlights' */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.header-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #212529;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 20px;
}

.description {
    font-size: 1.3rem;
    color: #495057;
    line-height: 1.5;
    margin-bottom: 2.5rem;
    max-width: 600px; /* Begrenzt die Breite der Beschreibung */
}


/* === FLEX-GRID FÜR DIE 3 KARTEN === */

.three-feature-grid {
    display: flex;
    flex-wrap: wrap; /* Erlaubt das Umbrechen auf kleineren Bildschirmen */
    gap: 90px; /* Abstand zwischen den Karten */
    width: 100%;
}

.feature-card {
    /* Nimmt 1/3 der Breite abzüglich des Abstands (30px) */
    flex: 1 1 calc(33.333% - 20px); 
    min-width: 280px; /* Stellt sicher, dass die Karten nicht zu klein werden */
    background-color: #ffffff; /* Weißer Karten-Hintergrund */
    border-radius: 20px; /* Starke Abrundung */
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Dezenter Schatten */
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px); /* Leichter Schwebe-Effekt */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #212529;
    margin-top: 15px;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1.5;
}

/* === VISUALS/BILDER-Platzhalter (Stile für die Kartengrafiken) === */
.card-visual {
    height: 250px; /* Feste Höhe für die Grafik */
    background-color: #e9ecef; /* Neutraler Hintergrund-Platzhalter */
    border-radius: 10px;
    margin-bottom: 15px;
    /* Da die Grafiken komplex sind, nutzen wir Farben als Platzhalter für den Look */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Du kannst spezifische Platzhalter-Farben hinzufügen */
.visual-llm { 
    /* Hier müsstest du dein Bild oder eine SVG-Grafik einfügen, um das exakte Design zu bekommen */
    color: white; 
}

.visual-simplicity {
    border: 1px dashed #ced4da;
}



/* === RESPONSIVE ANPASSUNGEN === */

@media (max-width: 992px) {
    .three-feature-grid {
        flex-direction: column; /* Stapelt alle Karten untereinander */
        gap: 20px;
    }
    
    .feature-card {
        flex: 1 1 100%; /* Jede Karte nimmt die volle Breite ein */
    }

    .header-content h1 {
        font-size: 2.5rem;
    }
}


.card-visual-container {
    height: 170px; /* Feste Höhe, damit die Karten alle gleich hoch sind */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden; /* Wichtig, um die Ecken bei den Bildern abzurunden */
    background-color: #f8f9fa; /* Leichter Hintergrund, falls Bild nicht sofort lädt */
}

.card-image {
    width: 100%; /* Das Bild füllt die Breite des Containers */
    height: 100%; /* Das Bild füllt die Höhe des Containers */
    
    /* WICHTIG: Stellt sicher, dass das Bild den Container ohne Verzerrung füllt. */
    object-fit: cover; 
    
    /* Fügt den Bildern eine leichte Abrundung hinzu, die durch overflow: hidden im Container abgedeckt wird */
    border-radius: 10px; 
    display: block;
}


/* === DEVELOPER PATH SECTION === */

.developer-path-section {
    width: 100%;
    max-width: 1400px;
    margin: 80px auto;
    padding: 60px 0;
}

.path-header {
    text-align: center;
    margin-bottom: 60px;
}

.path-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #212529;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 40px;
    width: 100%;
}

.benefit-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 35px 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    width: 50%;
    height: 120px;
    margin-left: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 28px;
    color: #ffffff;
}

.benefit-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin-bottom: 50px;
}

.benefit-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #212529;
    margin-top: 15px;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 1.15rem;
    color: #5a5a5a;
    line-height: 1.6;
    margin: 0;
}

/* Responsive für kleinere Bildschirme */
@media (max-width: 768px) {
    .path-header h1 {
        font-size: 2.2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .benefit-card {
        padding: 25px 20px;
    }
}
