/* Grid container */
/* Grid container */
.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 grid items per row on desktop */
    gap: 15px; /* Add some gap between grid items */
    
}

/* Grid item */
.leistungen-card {
  /*  border: 2px solid #4C8400;*/
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 12px 18px -6px rgba(0,0,0,.3);
    cursor: pointer;
	border-radius:20px;

}

/* Image within grid item */
.leistungen-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
	 object-fit: cover;
	max-height:240px;
	width:100%;
	border-radius:20px;
}

/* Title within grid item */
.leistungen-title h4 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
	letter-spacing: 2px;
}



/* Excerpt/content within grid item */
.leistungen-excerpt {
    margin-bottom: 10px;
    min-height: 140px;
	font-size: 15px;
	text-align:center;
}

/* Read more button within grid item */
.leistungen-read-more-btn {
   color: #fff!important; /* Change button text color here */
    background-color: #F9AA33!important; /* Change button background color here */
    font-size: 14px!important; /* Change text size here */
    border-radius: 30px!important; /* Set this to 0px if you want a square CTA button */
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    text-align: center;
   /* line-height: 9px;*/
   /* font-weight: 600;*/
    padding: 15px 32px!important;
    text-transform: uppercase;
	 display: block;
	    letter-spacing: 2px;
}




a.leistungen-read-more-btn {
   color: #fff!important; /* Change button text color here */

}

.leistungen-read-more-btn:hover {
    background-color: #39811d;
}

.leistungen-content {
    font-size: 18px;
    color: #000;
}

.leistungen-card:hover {
    transform: scale(1.01);
    transition: all .2s ease-in-out;
}

@media all and (max-width: 980px) {
    .leistungen-grid-short {
        display: grid;
        grid-template-columns: repeat(1, 1fr); /* 1 grid items per row on desktop */
        gap: 20px; /* Add some gap between grid items */
    }

    .leistungen-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr); /* 1 grid items per row on desktop */
        gap: 20px; /* Add some gap between grid items */
        margin: 0 -20px;
    }

    .leistungen-image {
        max-width: auto;
    }

    .leistungen-excerpt {
        margin-bottom: 10px;
        min-height: 140px;
    }

    .leistungen-title {
        min-height: 50px;
        font-weight: 700;
        text-align: center;
    }

    .leistungen-title h4 {
        font-weight: 700;
        margin-top: 10px;
		letter-spacing: 2px;
		min-height: 35px;
    }
}


.leistungen-custom-excerpt { 
    margin-bottom: 10px;
    min-height: 80px;
	font-size: 18px;
	text-align:center;
}










/* GRID FULL */ 

/* Styles for the outer grid container */
.leistung-grid {
    display: grid;
    grid-template-columns: 1fr; /* One grid item per row */
    width: 100%; /* Full width */
}

/* Styles for each leistungen card */
.leistung-card {
    display: grid;
    grid-template-columns: 30% 70%; /* Two grid items per row */
    grid-column-gap: 20px; /* Adjust as needed */
    margin-bottom: 20px; /* Adjust as needed */
	  padding: 20px;
    background-color: #fff;
    box-shadow: 0 12px 18px 2px rgba(0,0,0,.3);
    cursor: pointer;
	border-radius:20px;
	
}

/* Styles for the left inner grid item */
.leistung-card-inner-left {
    width: 100%;
}

/* Styles for the right inner grid item */
.leistung-card-inner-right {
    width: 100%;
	padding:10px;
}

/* Additional styling for the image inside leistungen-card-inner-left */
.leistung-image {
    max-width: 100%;
    height: auto;
	max-height:140px;
	 object-fit: cover;
	width:100%;
	border-radius:20px;
}

/* You may add more styles as needed for the title, excerpt, and read more button */
.leistung-title h2 {
    margin: 0;
}

.leistung-excerpt {
    margin-top: 10px;
}

.leistung-read-more-btn {
   color: #fff!important; /* Change button text color here */
    background-color: #F9AA33!important; /* Change button background color here */
    font-size: 14px!important; /* Change text size here */
    border-radius: 30px!important; /* Set this to 0px if you want a square CTA button */
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    text-align: center;
   /* line-height: 9px;*/
   /* font-weight: 600;*/
    padding: 15px 32px!important;
    text-transform: uppercase;
	 display: block;
	    letter-spacing: 2px;
	max-width:300px;
	margin-top:10px;
}

	.leistung-read-more-btn:hover {
	background-color: #39811d;
	}

.leistung-card:hover {
    transform: scale(1.01);
    transition: all .2s ease-in-out;
}

.leistung-excerpt {
    margin-bottom: 20px;
	font-size: 18px;

}





@media all and (max-width: 980px) {
 .leistung-card {
    display: grid;
    grid-template-columns: repeat(1, 1fr); 
    grid-column-gap: 20px; /* Adjust as needed */
    
}
	
	
	.leistung-read-more-btn {
 color: #fff!important; /* Change button text color here */
    background-color: #F9AA33!important; /* Change button background color here */
    font-size: 14px!important; /* Change text size here */
    border-radius: 30px!important; /* Set this to 0px if you want a square CTA button */
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    text-align: center;
   /* line-height: 9px;*/
   /* font-weight: 600;*/
    padding: 15px 32px!important;
    text-transform: uppercase;
	 display: block;
	    letter-spacing: 2px;
}
	.leistung-read-more-btn:hover {
	background-color: #39811d!important;
	}
	

	
	
	.leistung-excerpt {
    margin-bottom: 10px;
    min-height: 140px;
    font-size: 18px;
    text-align: center;
}
	
	.leistung-title h2 {
    text-align:center;
}
}

