﻿.mKa-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: #1463bf52;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.5);
    padding: 1.5rem;
    width: clamp(400px, 50vw, 800px);
    max-width: 90vw;
    color: white;
}

.mKa-dialog  input {
    width: clamp(100%, 92%, 80%);
    min-width:380px; 
    max-width:680px;<<
}


.mKa-icard {
    background: #061b4430;
    gap: 8px;
    border-radius: 16px;
    border: solid #ffffff70 1px;
}

.kflex1 {
    flex: 1;
}

.main-column{
    gap:128px;
}

@media(min-width:550px){
    .landing-card-col{
        gap:6rem;
    }
}
body {
    background-image: linear-gradient(125deg, rgb(1 15 26) 0%, rgb(3 48 93) 35%, #010407 100%);
    background-color: initial;
    color:white;
}

.kBorder{
    border-radius:16px;
}

.kBorder2x {
    border-radius:32px;
}


.kShadow {
    box-shadow: rgba(0, 0, 0, 0.3) 0px 6px 8px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

.ksize100{
    width: 100%;
    height:100%;
}

.kCard {
    background: #ffe09d1a;
    padding: 24px;
    border-radius: 16px;
    /* box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);*/
}

.kp16{
    padding:16px;
}

.kp8{
    padding:8px;
}

.km8{
    margin:8px;
}

.km16{
    margin:16px;
}












/* 1. Haupt-Grid für die Zeilenhöhe der Sektionen */
.landing-page-grid {
    display: grid;
    /* Hero füllt den Bildschirm fast komplett, alle Feature-Rows passen sich flexibel dem Inhalt an */
    grid-template-rows: minmax(90vh, max-content) repeat(5, auto);
}

/* 2. Globaler Container für die Inhaltsbegrenzung (Die magischen 1200px) */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* 3. Grund-Styling der Sektionen */
.hero-section, .feature-section {
    width: 100%;
    /* Flexibles, flüssiges Padding für Desktop und Mobile via clamp() */
    padding: clamp(4rem, 8vw, 8rem) 0;
    display: flex;
    align-items: center;
}

.hero-section {
    background: linear-gradient(135deg, #512bd4 0%, #240b81 100%);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* 4. Die verschiedenen Inhalts-Grids (Spalten) innerhalb der Zeilen */

/* Feature 1 Grid (3 Spalten) */
.grid-3-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Feature 2 & 3 Grid (2 Spalten für Bild/Text) */
.grid-2-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Feature 4: Bento-Grid (Modernes Kachellayout) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bento-item {
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.item-wide {
    grid-column: span 2;
}

/* Feature 5: Statistiken Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

/* 5. Dekorative Elemente & Hilfsklassen */
.bg-light {
    background-color: #f8fafc;
}

.bg-dark {
    background-color: #0f172a;
    color: white;
}



.feature-image-placeholder {
    background: #e2e8f0;
    height: 350px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mock {
    background: #ffe09d1a;
    color: #38bdf8;
    font-family: monospace;
}

/* 6. Mobile Anpassungen (Responsive Design) */
@media (max-width: 992px) {
    .grid-2-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .invert-mobile {
        /* Dreht bei Mobile die Reihenfolge um, damit Text immer über dem Bild steht */
        direction: rtl;
    }

        .invert-mobile > * {
            direction: ltr;
        }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .item-wide {
        grid-column: span 1;
    }
}
