/* Cards für die Startseite */

    .cards {
        margin: 0 !important;
        padding: 0;
        list-style-type: none;
    }

    .card {
        background-color: #F0F3F5;
        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
        font-family: 'DB Sans', sans-serif;
    }

/* Card items */

    .card-photo {
        position: relative;
        height: 300px;
    }

    .card-photo picture img {
        width: 100%;
        display: block;
    }

    .card-photo-text {
        color: #FFFFFF;
        background-color: rgba(240, 20, 20, 0.7);
        position: absolute;
        bottom: 1.2em;
        padding: 0.6em 1em;
        font-weight: 550;
    }

    .card-body {
        padding: 0px 15px 15px 15px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .card-titleWrap {
        padding: 15px 0px;
        font-weight: bold;
        font-size: 1.2em;
        line-height: 1.5em;
    }

    .card-link {
        padding: 20px 0px;
    }

    .card-link a {
        text-decoration: none;
        color: inherit;
    }

    .card-link #icon {
        padding-right: 0;
        margin-right: 5px;
    }

    .card-link span {
        vertical-align: middle;
    }

/* Media-Regeln */

    @media (min-width: 600px) and (max-width: 1200px) {

        cards {
            margin: 0;
        }

        .card {
            float: left;
            width: calc(50% - (10px / 2));
            margin-right: 10px;
        }

        .card:nth-child(2n) {
            margin-right: 0;
        }

        .card-photo {
            overflow: hidden;
            position: relative;
            height: 300px;
        }

        .card-photo img {
            overflow: hidden;
            top: 0;
            left: 0;
            height: 100%;
        }

        .card-titleWrap {
            height: 78px;
            padding: 15px 0px;
            font-weight: bold;
            font-size: 1.2em;
            line-height: 1.5em;
        }

        .card-content {
            height: 100px;
        }

    }

    @media (min-width: 1200px) {

        cards {
            margin: 0;
            max-width: 90%;
        }

        .card {
            float: left;
            width: calc(25% - (30px / 4));
            margin-right: 10px;
        }

        .card:nth-child(4n) {
            margin-right: 0;
        }

        .card-photo {
            overflow: hidden;
            position: relative;
            width: 100%;
            height: 200px;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: 50% 50%;   
        }

        .card-photo img {
            overflow: hidden;
            top: 0;
            left: 0;
            height: 100%;
        }

        .card-titleWrap {
            height: 78px;
            padding: 15px 0px;
            font-weight: bold;
            font-size: 1.2em;
            line-height: 1.5em;
        }

        .card-content {
            height: 100px;
        }


    }

