/* Erfahren Sie Mehr Boxes*/

* {
    box-sizing: border-box;
}

.card--index .card__imgEN {
    background-image: url('../media/Inspektion/MR.pro\ VideoEN.PNG');
}

.card--index .card__img {
    background-image: url('../media/Inspektion/MR.pro\ Video2022.5.PNG');
}

.card--1 .card__img {
    background-image: url('../media/Inspektion/SAP_2011_logo.png');
}

.card--2 .card__img {
    background-image: url('../media/Inspektion/App02.png');
}

.card--3 .card__img {
    background-image: url('../media/Inspektion/Workshop.png');
}

.card--4 .card__img {
    background-image: url('../media/Inspektion/Award.jpg');
}

.card--5 .card__img {
    background-image: url('../media/Inspektion/Bahn-Wege.jpg');
}

.card--index .card__img,
.card--index .card__imgEN {
    visibility: visible;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 500px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.card__img,
.card__imgEN {
    visibility: visible;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 260px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.card__info-hover {

    position: absolute;
    padding: 16px;
    width: 100%;
    opacity: 0;
    top: 0;
}

.card__img--hover {
    transition: 0.2s all ease-out;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    position: absolute;
    height: 100%;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    top: 0;

}

.card {
    transition: all .4s cubic-bezier(0.175, 0.885, 0, 1);
    background-color: #f8f9fa;
    width: 30%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 13px 10px -7px rgba(0, 0, 0, 0.1);
}

.card--1,
.card--2,
.card--4,
.card--5 {
    margin-right: 15px;
}

.card:hover {
    box-shadow: 0px 30px 18px -8px rgba(0, 0, 0, 0.1);
    transform: scale(1.02, 1.02);
}

.card__info {
    color: #555555;
    z-index: 2;
    background-color: #f8f9fa;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 16px 24px 24px 24px;
}

.card__category {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 500;
    color: #555555;
}

.card__title {
    margin-top: 5px;
    margin-bottom: 10px;
}

@media (max-width:1023.98px) {

    .cards,
    .kunden_logo {
        display: flex;
        justify-content: center;
        margin-top: 3rem;
        margin-left: 2rem;
        margin-right: 2rem;
    }

    .card--index {
        width: 100%;
        height: 400px;
    }

    .kunden_logo img {
        width: 500px;
    }

    h1.card__title {
        font-size: 1.5em;
    }
}

@media (max-width: 639.98px) {

    .cards,
    .kunden_logo {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 3rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .card {
        width: 100%;
        margin-right: 0%;
        margin-top: 5px;
    }

    .card--index {
        width: 100%;
        height: 200px;
    }

    h1.card__title {
        font-size: 1.7em;
    }

    .kunden_logo img {
        width: 300px;
    }

}

@media (min-width: 1024px) {

    .cards,
    .kunden_logo {
        display: flex;
        justify-content: center;
        margin-top: 3rem;
        margin-left: 2rem;
        margin-right: 2rem;
    }

    h1.card__title {
        font-size: 1.5em;
    }

    .card {
        width: 24%;
    }

    .card--index {
        width: 100%;
        height: 500px;
    }

    .kunden_logo img {
        width: 900px;
    }
}

@media (min-width: 1440px) {

    .cards,
    .kunden_logo {
        display: flex;
        justify-content: center;
        margin-top: 3rem;
        margin-left: 15rem;
        margin-right: 15rem;
    }

    h1.card__title {
        font-size: 1.5em;
    }

    .card {
        width: 24%;
    }

    .card--index {
        width: 100%;
        height: 500px;
    }
}

@media (min-width:2200px) {
    .card--index {
        width: 100%;
        height: 600px;
    }
}
/*Footer Bereich*/
footer {
    color: #fff;
    background-color: #606060;
    position: relative;
    width: 100%;
}

.social-media {
    background-color: rgb(2, 148, 217);
    margin-top: 3rem;
}

.container-footer {
    display: flex;
    justify-content: center;
    width: 75%;
}

.footer-links {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    box-shadow: 0 -.5rem 1rem rgba(0, 0, 0, .15) !important;
    padding: 10px;
}

.footer-links p,
.footer-links a {
    color: #f8f9fa;
    font-size: 15px;
    margin: auto;
}

.footer-adr p,
.footer-tel p {
    text-align: left;
    font-size: 15px;
    padding-right: 8px;
    padding-left: 8px;
}

.container-impressum {
    background-color: #3b3b3b;
    display: flex;
    justify-content: center !important;
    padding: 15px 15px;
    margin-right: auto;
    margin-left: auto;
    border-top: 1px solid #dee2e6 !important;
}

.impressum {
    display: flex;
    width: 100%;
}

.impr-links {
    display: flex;
    box-sizing: border-box;
    list-style: none;
    margin: auto 20px;
}

.kontakt a,
.datenschutz a,
.impressum a {
    color: #0294d9;
    text-decoration: none;
    margin: auto 10px;
}

@media (max-width: 639.98px) {

    footer>div {
        width: 100%;
    }

    .container-footer,
    .container-impressum,
    .copyright {
        display: grid;
        justify-content: flex-start;
        padding: 8px;
        width: 100%;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
        padding-inline-start: 40px;
    }

    .impressum,
    .impr-links {
        display: grid;
        justify-self: start;
        margin: 0;
    }
}

@media (max-width: 767.98px) {

    .container-footer p,
    .container-impressum li,
    .container-impressum,
    .impressum,
    .copyright {
        display: flex;
        font-size: .8rem;
        width: 100%;
        padding-right: 8px;
        padding-left: 8px;
    }

    .footer-links p {
        font-size: .8rem;
    }
}

@media (min-width: 768px) {

    .container-footer p,
    .container-impressum li,
    .copyright {
        font-size: 15px;
        width: 100%;
        display: flex;
        justify-content: left !important;
        padding-right: 8px;
        padding-left: 8px;
    }

    .impressum {
        max-width: 1024px;
    }
}