/* =========================
   12 LEISTUNGEN GRID
========================= */

.leistungen-grid {
    background: #131313;
    color: #fff;
    padding: 90px 0 110px;
}

.leistungen-grid .container-small {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}


.leistungen-grid-heading {
    margin-bottom: 60px;
    text-align: center;
}

.leistungen-grid-heading h2 {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    line-height: 1.15;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #fff;
}

.leistungen-grid-heading h2 span {
    color: #00fac9;
    margin-right: 0.15em;
}

.leistungen-grid-line {
    display: block;
    width: 520px;
    max-width: 70%;
    height: auto;
    margin: 14px auto 0;
}

.leistungen-grid-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;    
}

.leistungen-grid-item {
    position: relative;
    min-height: 270px;
    padding: 34px 30px 32px;
    text-align: center;
}

/* Nur vertikale Trennlinien zwischen den Spalten */
.leistungen-grid-item:not(:nth-child(4n)) {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}


.leistungen-grid-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 28px;
}

.leistungen-grid-icon img {
    display: block;
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.leistungen-grid-item h3 {
    margin: 0 0 14px;
    font-family: "Poppins", sans-serif;
    font-size: 1.45rem;
    line-height: 1.3;
    font-weight: 500;
    color: #fff;
    text-align: center;
}

.leistungen-grid-item p {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    font-weight: 300;
    color: #c7c7c7;
    text-align: center;
}


/* =========================
   TABLET
========================= */

@media (max-width: 991px) {

    .leistungen-grid {
        padding: 75px 0 90px;
    }

    .leistungen-grid-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .leistungen-grid-item {
        min-height: 250px;
    }
	.leistungen-grid-item {
		border-right: 0;
	}

	.leistungen-grid-item:not(:nth-child(2n)) {
		border-right: 1px solid rgba(255, 255, 255, 0.14);
	}
}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

    .leistungen-grid {
        padding: 60px 0 70px;
    }

    .leistungen-grid .container-small {
        padding-left: 20px;
        padding-right: 20px;
    }

    .leistungen-grid-list {
        grid-template-columns: 1fr;
    }

    .leistungen-grid-item {
		min-height: 0;
		padding: 26px 24px;
	}

    .leistungen-grid-icon {
        margin-bottom: 22px;
    }

    .leistungen-grid-icon img {
        width: 48px;
        height: 48px;
    }

    .leistungen-grid-item h3 {
		font-size: 1.55rem;
		line-height: 1.25;
		margin-bottom: 0.7rem;
	}

    .leistungen-grid-item p {
		font-size: 1.05rem;
		line-height: 1.55;
	}

	.leistungen-grid-item,
	.leistungen-grid-item:not(:nth-child(2n)) {
		border-right: 0;
	}
}