

.hero {
    background: none !important;
    height: 350px;
    display: flex;
    justify-content: left;
	padding: 20px 20px;
    align-items: center;
}

.hero h1 {
    color: rgb(214, 211, 211) !important;
    font-size: 3rem !important;
    background: rgba(0, 0, 0, 0.2) !important;
    padding: 20px 40px !important;
    border-radius: 8px !important;
    margin-top: 200px !important; 
}/* General container */
.leistungen-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 200px;
}

.leistung-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: rgba(235, 216, 195, 0.9);
    padding: 15px;
    border-radius: 10px;
    gap: 20px;
    flex-wrap: wrap;
}
.leistung-block2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: rgba(235, 216, 195, 0.9);
    padding: 30px;
    border-radius: 10px;
    gap: 20px;
    flex-wrap: wrap;
}
/* Inner colored block that fills .leistung-text */
.leistung-blockInside {
    flex: 1;
    justify-content: space-between;
    background: rgba(221, 224, 5, 0.9);
    padding: 6% 20px;
    border-radius: 10px;

    box-sizing: Border-box; /* ensures padding is inside */
    align-items: center;
}
/* Alternate layout: image left, text right */
.leistung-block.alternate {
    flex-direction: row-reverse;
    background: rgba(235, 216, 195, 0.9);
}

/* Text Styling */
.leistung-text {
    flex: 1;
    font-size: 1.1rem;
    color: #222;
    line-height: 1;
  
   
}

/* Image Styling */
.leistung-image {
    flex: 1;
    text-align: center;
}

/* Section title */
.leistungen-container h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

/* Content block wrapper */
.leistungen-blocks {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}
.info-block {

    background: rgba(235, 216, 195, 0.8);
    border-radius: 8px;
    max-width: 1450px;
    margin: 20px auto;
    padding: 20px 40px;
    padding-left: 50px;
    margin-bottom: 0px;
    position: relative;
}

.info-block p {
   font-size: 1.4rem;

}
/* Individual block */
.leistungen-block {
    flex: 1 1 calc(33.333% - 20px);
    background: rgba(235, 216, 195, 0.5);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.leistungen-block:hover {
    transform: translateY(-5px);
}

/* Image styling */
.leistungen-block img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Text content */
.leistungen-block .content {
    padding: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

.leistung-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive layout */
@media (max-width: 992px) {
    .leistungen-block {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .leistungen-block {
        flex: 1 1 100%;
    }

    .leistungen-container h1 {
        font-size: 2rem;
    }
}