/* /comps/Flip_Card.razor.rz.scp.css */
.card-con[b-cx77ltz893] {
    width: 100%;
    max-width: 800px;

    min-height: 220px;
    max-height: 300px;
    perspective: 1000px;
    cursor: pointer;
    
}

@media(min-width:600px) {
    .card-con[b-cx77ltz893] {
        min-width: 380px;
    }
}

)

.card-con:hover[b-cx77ltz893] {
    z-index: 100;
    position: relative;
}

.card-inner[b-cx77ltz893] {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

    /* Drehung bei Hover ODER wenn die C#-Variable greift */
    .card-con:hover .card-inner[b-cx77ltz893],
    .card-inner.is-flipped[b-cx77ltz893] {
        transform: rotateY(180deg);
    }

.card-front[b-cx77ltz893], .card-back[b-cx77ltz893] {

    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px; /* Schöne moderne Ecken */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0.4,0.4);
}

.card-front[b-cx77ltz893] {
    background-color: #0000001a;
    backdrop-filter: blur(8px);
}

.card-back[b-cx77ltz893] {
    background-color: #b4e4bd0d;
    backdrop-filter: blur(8px);
    transform: rotateY(180deg);
    height: fit-content;
    min-height: 220px;
}


@media(max-width:920px) {
    .card-con[b-cx77ltz893] {
        width: 100% !important;
    }
}
/* /Pages/GridLanding.razor.rz.scp.css */
/* 1. Haupt-Grid für die Zeilenhöhe der Sektionen */
.landing-page-grid[b-n9229ys1h3] {
    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);
    width: 100%;
    max-width: 100%;
}

.landing-page-grid[b-n9229ys1h3],
.landing-page-grid *[b-n9229ys1h3] {
    box-sizing: border-box;
}

/* 2. Globaler Container für die Inhaltsbegrenzung (Die magischen 1200px) */
.container[b-n9229ys1h3] {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
}

/* 3. Grund-Styling der Sektionen */
.hero-section[b-n9229ys1h3], .feature-section[b-n9229ys1h3] {
    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[b-n9229ys1h3] {
    background: linear-gradient(135deg, #512bd4 0%, #240b81 100%);
    color: white;
}

.section-header[b-n9229ys1h3] {
    text-align: center;
    margin-bottom: 4rem;
}

/* 4. Die verschiedenen Inhalts-Grids (Spalten) innerhalb der Zeilen */

/* Feature 1 Grid (3 Spalten) */
.grid-3-columns[b-n9229ys1h3] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    min-width: 0;
}

/* Feature 2 & 3 Grid (2 Spalten für Bild/Text) */
.grid-2-columns[b-n9229ys1h3] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-width: 0;
}

/* Feature 4: Bento-Grid (Modernes Kachellayout) */
.bento-grid[b-n9229ys1h3] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    min-width: 0;
}

.bento-item[b-n9229ys1h3] {
    
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.item-wide[b-n9229ys1h3] {
    grid-column: span 2;
}

/* Feature 5: Statistiken Grid */
.stats-grid[b-n9229ys1h3] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    min-width: 0;
}

.feature-text[b-n9229ys1h3],
.kCard[b-n9229ys1h3],
.stat-box[b-n9229ys1h3] {
    min-width: 0;
}

/* 5. Dekorative Elemente & Hilfsklassen */
.bg-light[b-n9229ys1h3] {
    background-color: #f8fafc;
}

.bg-dark[b-n9229ys1h3] {
    background-color: #0f172a;
    color: white;
}

.card[b-n9229ys1h3] {
    background: #ffe09d1a;
    padding: 24px;
    border-radius: 16px;
   /* box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);*/
}

.feature-image-placeholder[b-n9229ys1h3] {
    background: #e2e8f0;
    height: 350px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mock[b-n9229ys1h3] {
    background: #ffe09d1a;
    color: #38bdf8;
    font-family: monospace;
}

/* 6. Mobile Anpassungen (Responsive Design) */
@media (max-width: 992px) {
    .container[b-n9229ys1h3] {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .grid-3-columns[b-n9229ys1h3] {
        grid-template-columns: 1fr;
    }

    .grid-2-columns[b-n9229ys1h3] {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .invert-mobile[b-n9229ys1h3] {
        /* Dreht bei Mobile die Reihenfolge um, damit Text immer über dem Bild steht */
        direction: rtl;
    }

        .invert-mobile > *[b-n9229ys1h3] {
            direction: ltr;
        }

    .bento-grid[b-n9229ys1h3] {
        grid-template-columns: 1fr;
    }

    .item-wide[b-n9229ys1h3] {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .landing-page-grid[b-n9229ys1h3] {
        overflow-x: hidden;
    }

    .container[b-n9229ys1h3] {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .landing-page-grid h1[b-n9229ys1h3],
    .landing-page-grid h2[b-n9229ys1h3],
    .landing-page-grid h3[b-n9229ys1h3],
    .landing-page-grid p[b-n9229ys1h3],
    .landing-page-grid span[b-n9229ys1h3] {
        overflow-wrap: anywhere;
    }
}
