

/* --- Card Bild ---------------------------------------------------------------------------------------------------- */

.projektkacheln .icon-wrapper {
    display: flex;
    justify-content: center; /* Zentriert Elemente horizontal */
    align-items: center; /* Zentriert Elemente vertikal */
    aspect-ratio: 4/3;
}
.projektkacheln .icon-wrapper img {
    width: 30%;
    position: relative;
}

/* --- Card Icon ---------------------------------------------------------------------------------------------------- */

.projektkacheln .img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.projektkacheln .image-container img {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* --- Card Style (Farben) ------------------------------------------------------------------------------------------ */

/* primary */

.projektkacheln .card-style-primary .icon-wrapper { background-color: rgba(88, 155, 181, 1); }
.projektkacheln .card-style-primary h1,
.projektkacheln .card-style-primary h2,
.projektkacheln .card-style-primary h3,
.projektkacheln .card-style-primary h4,
.projektkacheln .card-style-primary h5,
.projektkacheln .card-style-primary h6 { color: rgba(88, 155, 181, 1); }
.projektkacheln .card-style-primary .card-footer { background-color: rgba(88, 155, 181, .29); }

/* secondary */

.projektkacheln .card-style-secondary .icon-wrapper { background-color: rgba(206, 207, 31, 1); }
.projektkacheln .card-style-secondary h1,
.projektkacheln .card-style-secondary h2,
.projektkacheln .card-style-secondary h3,
.projektkacheln .card-style-secondary h4,
.projektkacheln .card-style-secondary h5,
.projektkacheln .card-style-secondary h6 { color: rgba(206, 207, 31, 1); }
.projektkacheln .card-style-secondary .card-footer { background-color: rgba(206, 207, 31, .29); }

/* success */

.projektkacheln .card-style-success .icon-wrapper { background-color: rgba(172, 186, 0, 1); }
.projektkacheln .card-style-success h1,
.projektkacheln .card-style-success h2,
.projektkacheln .card-style-success h3,
.projektkacheln .card-style-success h4,
.projektkacheln .card-style-success h5,
.projektkacheln .card-style-success h6 { color: rgba(172, 186, 0, 1); }
.projektkacheln .card-style-success .card-footer { background-color: rgba(172, 186, 0, .29); }

/* warning */

.projektkacheln .card-style-warning .icon-wrapper { background-color: rgba(238, 160, 0, 1); }
.projektkacheln .card-style-warning h1,
.projektkacheln .card-style-warning h2,
.projektkacheln .card-style-warning h3,
.projektkacheln .card-style-warning h4,
.projektkacheln .card-style-warning h5,
.projektkacheln .card-style-warning h6 { color: rgba(238, 160, 0, 1); }
.projektkacheln .card-style-warning .card-footer { background-color: rgba(238, 160, 0, .29); }

/* dark */

.projektkacheln .card-style-dark .icon-wrapper { background-color: rgba(51, 67, 82, 1); }
.projektkacheln .card-style-dark h1,
.projektkacheln .card-style-dark h2,
.projektkacheln .card-style-dark h3,
.projektkacheln .card-style-dark h4,
.projektkacheln .card-style-dark h5,
.projektkacheln .card-style-dark h6 { color: rgba(51, 67, 82, 1); }
.projektkacheln .card-style-dark .card-footer { background-color: rgba(51, 67, 82, .29); }

/* danger */

.projektkacheln .card-style-danger .icon-wrapper { background-color: rgba(170, 5, 94, 1); }
.projektkacheln .card-style-danger h1,
.projektkacheln .card-style-danger h2,
.projektkacheln .card-style-danger h3,
.projektkacheln .card-style-danger h4,
.projektkacheln .card-style-danger h5,
.projektkacheln .card-style-danger h6 { color: rgba(170, 5, 94, 1); }
.projektkacheln .card-style-danger .card-footer { background-color: rgba(170, 5, 94, .29); }