.vermittlung-grid {
    display: grid;
    gap: 24px;
    margin: 20px 0;
    grid-template-columns: 1fr; /* mobile standard: 1 column */
}

@media (min-width: 600px) {
    .vermittlung-grid {
        grid-template-columns: repeat(2, 1fr); /* tablet: 2 columns */
    }
}

@media (min-width: 1024px) {
    .vermittlung-grid {
        grid-template-columns: repeat(3, 1fr); /* desktop: 3 columns */
    }
}

.vermittlung-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.vermittlung-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.vermittlung-badges {
    padding: 24px 24px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vermittlung-badge {
    background-color: var(--e-global-color-primary) ;
    color: white;
    font-family: 'Roboto';
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    border-radius: 24px;
    padding: 4px 10px;
    justify-content: center;
    display: inline-block;
}

.vermittlung-title {
    font-size: 1.2em;
    font-weight: bold;
    padding: 24px 24px 0 24px;
}

.vermittlung-description {
    padding: 0 24px 32px 0px;
    font-size: 0.95em;
    font-family: var();
    color: #444;

}

.vermittlung-card {
    flex: 1;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
.vermittlung-image{
    min-height: 220px;
}
.vermittlung-image img {
    width: 100%;
    min-height: 220px;
    max-height: 220px;
    object-fit: cover;
    display: block;
}
