.projektkacheln .card{
    border-radius: 25px;
    border: 0;
}
.projektkacheln .card .card-footer{
    border: 0;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}
.projektkacheln .card .card-footer{
    padding-left: 25px;
    padding-right: 60px;
}
.projektkacheln .card .card-footer a,
.projektkacheln .card .card-footer a:not([class]){
    color: #334352;
    font-size: 20px;
}
.projektkacheln .card .card-footer a::after{
    content: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJmZWF0aGVyIGZlYXRoZXItY2hldnJvbi1yaWdodCI+PHBvbHlsaW5lIHBvaW50cz0iOSAxOCAxNSAxMiA5IDYiPjwvcG9seWxpbmU+PC9zdmc+);
    position: absolute;
    right: 25px;
}
.projektkacheln .card .card-body {
    padding: 25px;
}
.projektkacheln .card .card-body p {
    color: #334352;
}


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

.projektkacheln .icon-wrapper {
    display: flex;
    justify-content: center; /* Zentriert Elemente horizontal */
    align-items: center; /* Zentriert Elemente vertikal */
    aspect-ratio: 4/3;

    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}
.projektkacheln .icon-wrapper img {
    width: 30%;
    position: relative;
 }

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

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

    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

.projektkacheln .image-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}
.frame-background-primary > .frame-group-container > .frame-group-inner .projektkacheln .card .card-body *,
.frame-background-secondary > .frame-group-container > .frame-group-inner .projektkacheln .card .card-body *,
.frame-background-warning > .frame-group-container > .frame-group-inner .projektkacheln .card .card-body *,
.frame-background-tertiary > .frame-group-container > .frame-group-inner .projektkacheln .card .card-body *,
.frame-background-quaternary > .frame-group-container > .frame-group-inner .projektkacheln .card .card-body *,
.frame-background-dark > .frame-group-container > .frame-group-inner .projektkacheln .card .card-body * {
    color: var(--dark-gray);
}
.frame-group-container > .frame-group-inner .projektkacheln .card {
    border: 1px solid var(--dark-gray);
}
.frame-background-primary > .frame-group-container > .frame-group-inner .projektkacheln .card,
.frame-background-secondary > .frame-group-container > .frame-group-inner .projektkacheln .card,
.frame-background-warning > .frame-group-container > .frame-group-inner .projektkacheln .card,
.frame-background-tertiary > .frame-group-container > .frame-group-inner .projektkacheln .card,
.frame-background-quaternary > .frame-group-container > .frame-group-inner .projektkacheln .card,
.frame-background-dark > .frame-group-container > .frame-group-inner .projektkacheln .card {
    border: 0;
}

[data-bs-theme="dark"] .projektkacheln .card .card-footer a::after {
    content: '>';
    color: var(--white-color);
}

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

/* primary */

.projektkacheln .card-style-primary .icon-wrapper { background-color: rgba(90,168,191, 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(90,168,191, 1) !important; }
.projektkacheln .card-style-primary .card-footer { background-color: rgba(90,168,191, .29); }

[data-bs-theme="contrast"] .projektkacheln .card-style-primary .card { border: 2px solid var(--black-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-primary .icon-wrapper { background-color: var(--white-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-primary h1,
[data-bs-theme="contrast"] .projektkacheln .card-style-primary h2,
[data-bs-theme="contrast"] .projektkacheln .card-style-primary h3,
[data-bs-theme="contrast"] .projektkacheln .card-style-primary h4,
[data-bs-theme="contrast"] .projektkacheln .card-style-primary h5,
[data-bs-theme="contrast"] .projektkacheln .card-style-primary h6 { color: var(--black-color) !important; }
[data-bs-theme="contrast"] .projektkacheln .card-style-primary .card-footer { background-color: var(--black-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-primary .card-footer a { color: var(--white-color); }

/* Alle IMG-Elemente mit einer .svg-Datei */
.projektkacheln .card-style-primary .icon-wrapper img[src$=".svg"],
[data-bs-theme="dark"] .projektkacheln .card-style-primary .icon-wrapper img[src$=".svg"] {
    filter: brightness(0) invert(1); /* Weiß einfärben */
}
[data-bs-theme="contrast"] .projektkacheln .card-style-primary .icon-wrapper img[src$=".svg"] {
    filter: brightness(0); /* Schwarz einfärben */
}

/* 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) !important; }
.projektkacheln .card-style-secondary .card-footer { background-color: rgba(206,207,31, .29); }

[data-bs-theme="contrast"] .projektkacheln .card-style-secondary .card { border: 2px solid var(--black-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-secondary .icon-wrapper { background-color: var(--white-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-secondary h1,
[data-bs-theme="contrast"] .projektkacheln .card-style-secondary h2,
[data-bs-theme="contrast"] .projektkacheln .card-style-secondary h3,
[data-bs-theme="contrast"] .projektkacheln .card-style-secondary h4,
[data-bs-theme="contrast"] .projektkacheln .card-style-secondary h5,
[data-bs-theme="contrast"] .projektkacheln .card-style-secondary h6 { color: var(--black-color) !important; }
[data-bs-theme="contrast"] .projektkacheln .card-style-secondary .card-footer { background-color: var(--black-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-secondary .card-footer a { color: var(--white-color); }

/* Alle IMG-Elemente mit einer .svg-Datei */
.projektkacheln .card-style-secondary .icon-wrapper img[src$=".svg"],
[data-bs-theme="dark"] .projektkacheln .card-style-secondary .icon-wrapper img[src$=".svg"] {
    filter: brightness(0) invert(1); /* Weiß einfärben */
}
[data-bs-theme="contrast"] .projektkacheln .card-style-secondary .icon-wrapper img[src$=".svg"] {
    filter: brightness(0); /* Schwarz einfärben */
}

/* 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) !important; }
.projektkacheln .card-style-success .card-footer { background-color: rgba(172, 186, 0, .29); }

[data-bs-theme="contrast"] .projektkacheln .card-style-success .card { border: 2px solid var(--black-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-success .icon-wrapper { background-color: var(--white-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-success h1,
[data-bs-theme="contrast"] .projektkacheln .card-style-success h2,
[data-bs-theme="contrast"] .projektkacheln .card-style-success h3,
[data-bs-theme="contrast"] .projektkacheln .card-style-success h4,
[data-bs-theme="contrast"] .projektkacheln .card-style-success h5,
[data-bs-theme="contrast"] .projektkacheln .card-style-success h6 { color: var(--black-color) !important; }
[data-bs-theme="contrast"] .projektkacheln .card-style-success .card-footer { background-color: var(--black-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-success .card-footer a { color: var(--white-color); }

/* Alle IMG-Elemente mit einer .svg-Datei */
.projektkacheln .card-style-success .icon-wrapper img[src$=".svg"],
[data-bs-theme="dark"] .projektkacheln .card-style-success .icon-wrapper img[src$=".svg"] {
    filter: brightness(0) invert(1); /* Weiß einfärben */
}
[data-bs-theme="contrast"] .projektkacheln .card-style-success .icon-wrapper img[src$=".svg"] {
    filter: brightness(0); /* Schwarz einfärben */
}

/* warning */

.projektkacheln .card-style-warning .icon-wrapper { background-color: rgba(237,159,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(237,159,0, 1) !important; }
.projektkacheln .card-style-warning .card-footer { background-color: rgba(237,159,0, .29); }

[data-bs-theme="contrast"] .projektkacheln .card-style-warning .card { border: 2px solid var(--black-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-warning .icon-wrapper { background-color: var(--white-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-warning h1,
[data-bs-theme="contrast"] .projektkacheln .card-style-warning h2,
[data-bs-theme="contrast"] .projektkacheln .card-style-warning h3,
[data-bs-theme="contrast"] .projektkacheln .card-style-warning h4,
[data-bs-theme="contrast"] .projektkacheln .card-style-warning h5,
[data-bs-theme="contrast"] .projektkacheln .card-style-warning h6 { color: var(--black-color) !important; }
[data-bs-theme="contrast"] .projektkacheln .card-style-warning .card-footer { background-color: var(--black-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-warning .card-footer a { color: var(--white-color); }

/* Alle IMG-Elemente mit einer .svg-Datei */
.projektkacheln .card-style-warning .icon-wrapper img[src$=".svg"],
[data-bs-theme="dark"] .projektkacheln .card-style-warning .icon-wrapper img[src$=".svg"] {
    filter: brightness(0) invert(1); /* Weiß einfärben */
}
[data-bs-theme="contrast"] .projektkacheln .card-style-warning .icon-wrapper img[src$=".svg"] {
    filter: brightness(0); /* Schwarz einfärben */
}

/* tertiary */

.projektkacheln .card-style-tertiary .icon-wrapper { background-color: rgba(106,104,90, 1); }
.projektkacheln .card-style-tertiary h1,
.projektkacheln .card-style-tertiary h2,
.projektkacheln .card-style-tertiary h3,
.projektkacheln .card-style-tertiary h4,
.projektkacheln .card-style-tertiary h5,
.projektkacheln .card-style-tertiary h6 { color: rgba(106,104,90, 1) !important; }
.projektkacheln .card-style-tertiary .card-footer { background-color: rgba(106,104,90, .29); }

[data-bs-theme="contrast"] .projektkacheln .card-style-tertiary .card { border: 2px solid var(--black-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-tertiary .icon-wrapper { background-color: var(--white-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-tertiary h1,
[data-bs-theme="contrast"] .projektkacheln .card-style-tertiary h2,
[data-bs-theme="contrast"] .projektkacheln .card-style-tertiary h3,
[data-bs-theme="contrast"] .projektkacheln .card-style-tertiary h4,
[data-bs-theme="contrast"] .projektkacheln .card-style-tertiary h5,
[data-bs-theme="contrast"] .projektkacheln .card-style-tertiary h6 { color: var(--black-color) !important; }
[data-bs-theme="contrast"] .projektkacheln .card-style-tertiary .card-footer { background-color: var(--black-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-tertiary .card-footer a { color: var(--white-color); }

/* Alle IMG-Elemente mit einer .svg-Datei */
.projektkacheln .card-style-tertiary .icon-wrapper img[src$=".svg"],
[data-bs-theme="dark"] .projektkacheln .card-style-tertiary .icon-wrapper img[src$=".svg"] {
    filter: brightness(0) invert(1); /* Weiß einfärben */
}
[data-bs-theme="contrast"] .projektkacheln .card-style-tertiary .icon-wrapper img[src$=".svg"] {
    filter: brightness(0); /* Schwarz einfärben */
}

/* quaternary */

.projektkacheln .card-style-quaternary .icon-wrapper { background-color: rgba(170,19,96, 1); }
.projektkacheln .card-style-quaternary h1,
.projektkacheln .card-style-quaternary h2,
.projektkacheln .card-style-quaternary h3,
.projektkacheln .card-style-quaternary h4,
.projektkacheln .card-style-quaternary h5,
.projektkacheln .card-style-quaternary h6 { color: rgba(170,19,96, 1) !important;  }
.projektkacheln .card-style-quaternary .card-footer { background-color: rgba(170,19,96, .29); }

[data-bs-theme="contrast"] .projektkacheln .card-style-quaternary .card { border: 2px solid var(--black-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-quaternary .icon-wrapper { background-color: var(--white-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-quaternary h1,
[data-bs-theme="contrast"] .projektkacheln .card-style-quaternary h2,
[data-bs-theme="contrast"] .projektkacheln .card-style-quaternary h3,
[data-bs-theme="contrast"] .projektkacheln .card-style-quaternary h4,
[data-bs-theme="contrast"] .projektkacheln .card-style-quaternary h5,
[data-bs-theme="contrast"] .projektkacheln .card-style-quaternary h6 { color: var(--black-color) !important; }
[data-bs-theme="contrast"] .projektkacheln .card-style-quaternary .card-footer { background-color: var(--black-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-quaternary .card-footer a { color: var(--white-color); }

/* Alle IMG-Elemente mit einer .svg-Datei */
.projektkacheln .card-style-quaternary .icon-wrapper img[src$=".svg"],
[data-bs-theme="dark"] .projektkacheln .card-style-quaternary .icon-wrapper img[src$=".svg"] {
    filter: brightness(0) invert(1); /* Weiß einfärben */
}
[data-bs-theme="contrast"] .projektkacheln .card-style-quaternary .icon-wrapper img[src$=".svg"] {
    filter: brightness(0); /* Schwarz einfärben */
}

/* light */

.projektkacheln .card-style-light .icon-wrapper { background-color: rgba(227,237,240, 1); }
.projektkacheln .card-style-light h1,
.projektkacheln .card-style-light h2,
.projektkacheln .card-style-light h3,
.projektkacheln .card-style-light h4,
.projektkacheln .card-style-light h5,
.projektkacheln .card-style-light h6 { color: var(--dark-gray) !important; }
.projektkacheln .card-style-light .card-footer { background-color: rgba(227,237,240, .29); }

[data-bs-theme="contrast"] .projektkacheln .card-style-light .card { border: 2px solid var(--black-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-light .icon-wrapper { background-color: var(--white-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-light h1,
[data-bs-theme="contrast"] .projektkacheln .card-style-light h2,
[data-bs-theme="contrast"] .projektkacheln .card-style-light h3,
[data-bs-theme="contrast"] .projektkacheln .card-style-light h4,
[data-bs-theme="contrast"] .projektkacheln .card-style-light h5,
[data-bs-theme="contrast"] .projektkacheln .card-style-light h6 { color: var(--black-color) !important; }
[data-bs-theme="contrast"] .projektkacheln .card-style-light .card-footer { background-color: var(--black-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-light .card-footer a { color: var(--white-color); }

/* Alle IMG-Elemente mit einer .svg-Datei */
/*
.projektkacheln .card-style-light .icon-wrapper img[src$=".svg"],
[data-bs-theme="dark"] .projektkacheln .card-style-light .icon-wrapper img[src$=".svg"],
[data-bs-theme="contrast"] .projektkacheln .card-style-light .icon-wrapper img[src$=".svg"] {
    filter: brightness(0) invert(1);
}
*/
[data-bs-theme="contrast"] .projektkacheln .card-style-light .icon-wrapper img[src$=".svg"] {
    filter: brightness(0); /* Schwarz einfärben */
}

/* 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) !important; }
.projektkacheln .card-style-dark .card-footer { background-color: rgba(51, 67, 82, .29); }

[data-bs-theme="contrast"] .projektkacheln .card-style-dark .card { border: 2px solid var(--black-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-dark .icon-wrapper { background-color: var(--white-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-dark h1,
[data-bs-theme="contrast"] .projektkacheln .card-style-dark h2,
[data-bs-theme="contrast"] .projektkacheln .card-style-dark h3,
[data-bs-theme="contrast"] .projektkacheln .card-style-dark h4,
[data-bs-theme="contrast"] .projektkacheln .card-style-dark h5,
[data-bs-theme="contrast"] .projektkacheln .card-style-dark h6 { color: var(--black-color) !important; }
[data-bs-theme="contrast"] .projektkacheln .card-style-dark .card-footer { background-color: var(--black-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-dark .card-footer a { color: var(--white-color); }

/* Alle IMG-Elemente mit einer .svg-Datei */
.projektkacheln .card-style-dark .icon-wrapper img[src$=".svg"],
[data-bs-theme="dark"] .projektkacheln .card-style-dark .icon-wrapper img[src$=".svg"] {
    filter: brightness(0) invert(1); /* Weiß einfärben */
}
[data-bs-theme="contrast"] .projektkacheln .card-style-dark .icon-wrapper img[src$=".svg"] {
    filter: brightness(0); /* Schwarz einfärben */
}

/* 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) !important; }
.projektkacheln .card-style-danger .card-footer { background-color: rgba(170, 5, 94, .29); }

[data-bs-theme="contrast"] .projektkacheln .card-style-danger .card { border: 2px solid var(--black-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-danger .icon-wrapper { background-color: var(--black-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-danger h1,
[data-bs-theme="contrast"] .projektkacheln .card-style-danger h2,
[data-bs-theme="contrast"] .projektkacheln .card-style-danger h3,
[data-bs-theme="contrast"] .projektkacheln .card-style-danger h4,
[data-bs-theme="contrast"] .projektkacheln .card-style-danger h5,
[data-bs-theme="contrast"] .projektkacheln .card-style-danger h6 { color: var(--black-color) !important; }
[data-bs-theme="contrast"] .projektkacheln .card-style-danger .card-footer { background-color: var(--black-color); }
[data-bs-theme="contrast"] .projektkacheln .card-style-danger .card-footer a { color: var(--white-color); }

/* Alle IMG-Elemente mit einer .svg-Datei */
.projektkacheln .card-style-danger .icon-wrapper img[src$=".svg"],
[data-bs-theme="dark"] .projektkacheln .card-style-danger .icon-wrapper img[src$=".svg"] {
    filter: brightness(0) invert(1); /* Weiß einfärben */
}
[data-bs-theme="contrast"] .projektkacheln .card-style-danger .icon-wrapper img[src$=".svg"] {
    filter: brightness(0); /* Schwarz einfärben */
}

[data-bs-theme="dark"] .frame-background-primary > .frame-group-container > .frame-group-inner .projektkacheln *,
[data-bs-theme="dark"] .frame-background-secondary > .frame-group-container > .frame-group-inner .projektkacheln *,
[data-bs-theme="dark"] .frame-background-warning > .frame-group-container > .frame-group-inner .projektkacheln *,
[data-bs-theme="dark"] .frame-background-tertiary > .frame-group-container > .frame-group-inner .projektkacheln *,
[data-bs-theme="dark"] .frame-background-quaternary > .frame-group-container > .frame-group-inner .projektkacheln *,
[data-bs-theme="dark"] .frame-background-dark > .frame-group-container > .frame-group-inner .projektkacheln *,
[data-bs-theme="dark"] .frame-background-light > .frame-group-container > .frame-group-inner .projektkacheln * {
    color: var(--dark-gray);
}
[data-bs-theme="dark"] .projektkacheln .card .card-footer a::after {
    filter: brightness(0.4);
}