@charset "utf-8";
/* CSS Document */



.LKM-info-SAW{
    text-align:center; 
    font-size:1.6em; 
    font-weight:400; 
    color:white;
    
    
}


/* <!-- CARD-SAE -->*/
 
        .card-sae {
            flex: 1 1 auto;
            max-width: 50%;
            min-width: 320px; /* Minimalbreite setzen, um zu verhindern, dass sie zu klein werden */
            background-color: #f2f2f2;
            min-height: 11.5rem;
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            perspective: 10000px;
            box-shadow: 0 0 0 5px #ffffff80;
            transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            will-change: transform; /* Bereitstellung von Transformation für bessere Leistung */
        }
        

            .card-sae h2 {
                color: #333;
                width: 100%;
                text-align: center;
                font-size: 2rem;
                font-weight: 700;
                padding: 10px;
                transition: opacity 0.3s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            }

            .card-sae:hover {
                transform: scale(1.05);
                box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
            }

        .card-sae__content {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            padding: 20px;
            box-sizing: border-box;
            background-color: #f2f2f2;
            transform: rotateX(-90deg);
            transform-origin: bottom;
            transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .card-sae.flipped .card-sae__content {
    transform: rotateX(0deg);
}

        .card-sae:active .card-sae__content,
        .card-sae:hover .card-sae__content {
            transform: rotateX(0deg);
        }

        .card-sae:active {
            transform: scale(1.05);
            box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
        }

        .card-sae__title {
            margin: 0;
            font-size: 1.5rem;
            color: #333;
            font-weight: 700;
            transition: transform 0.3s ease;
        }

        .card-sae__description {
            margin: 10px 0 0;
            font-size: 0.9rem;
            color: #777;
            line-height: 1.4;
            transition: transform 0.3s ease;
            text-align: center;
        }

        /* Flex-Container für die Karten */
        .flex-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-evenly; /* Platz zwischen den Karten */
            width: auto;
            box-sizing: border-box;
            min-width: 320px;
            max-width: 40%;
        }

        /* Responsives Design */

        /* Für Bildschirme mit Breiten ab 1110px, aber kleiner als 1400px */
        @media (max-width: 1400px) and (min-width: 1110px) {
            .flex-container {
                justify-content: space-evenly; /* Platz zwischen den Karten */
            }

            .card-sae {
                flex: 1 1 33%; /* 3 Karten pro Reihe */
                max-width: 33%; /* max. 33% Breite */
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .flex-container {
                flex-direction: column; /* Karten untereinander anordnen */
                align-items: center; /* Zentrieren der Karten */
                gap: 15px; /* Reduziere den Abstand bei kleinen Bildschirmen */
                padding: 10px;
            }

            .card-sae {
                flex: 1 1 100%; /* Jede Karte nimmt nun die volle Breite ein */
                max-width: 100%; /* Maximalbreite auf 100% setzen */
            }
        }

        /* Für große Bildschirme (ab 1400px): */
        @media (min-width: 1400px) {
            .flex-container {
                justify-content: space-evenly;
                width: 320px;
            }

            .card-sae {
                flex: 1 1 30%; /* 3 Karten pro Reihe */
                min-width: 400px;
                max-width: 33%; /* max. 33% Breite */
            }

            .card-sae__description {
                margin: 10px 0 0;
                font-size: 1rem;
                color: #777;
                line-height: 1.4;
                transition: transform 0.3s ease;
            }
        }

        /* Für Bildschirme unter 1110px */
        @media (max-width: 1110px) {
            .flex-container {
                display: flex;
                flex-wrap: wrap; /* Umbrüche erlauben */
                justify-content: space-between; /* Platz zwischen den Karten */
                gap: 15px; /* Abstand zwischen den Karten */
                padding: 5px; /* Padding des Containers */
            }

            .card-sae {
                flex: 1 1 calc(50% - 15px); /* Berechne 50% Breite minus Abstand */
                max-width: calc(50% - 15px); /* Maximalbreite angepasst */
                box-sizing: border-box; /* Stelle sicher, dass Padding und Border in der Breite enthalten sind */
            }
        }
