.w40-themen {
    background: #fff;
    color: #151932;
    padding: clamp(2.5rem, 6vw, 5.5rem) 1.25rem;
}

.w40-inhalt {
    max-width: 76rem;
    margin-inline: auto;
}

.w40-themen h2 {
    margin: 0 0 1rem;
    text-align: center;
}

#inhalt #coaching.w40-coaching-hintergrund {
    background-color: #F8F3EC;
}

.w40-themen .w40-einleitung {
    max-width: 70ch;
    margin: 0 auto clamp(1.5rem, 3vw, 3rem);
    text-align: center;
}

.w40-raster {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
}

.w40-kachel {
    min-width: 0;
    text-align: center;
}

.w40-kachel img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.8;
    object-fit: cover;
    border-radius: .9rem;
}

.w40-kachel-label {
    display: inline-block;
    margin-top: .75rem;
    padding: .5rem 1rem;
    border: 1px solid #e8a51d;
    border-radius: 999px;
    font-weight: 600;
}

a.w40-kachel-label {
    color: inherit;
    text-decoration: none;
}

a.w40-kachel-label:hover {
    background: #f7f2e8;
}

a.w40-kachel-label:focus-visible {
    outline: 2px solid #151932;
    outline-offset: 4px;
}

@media (max-width: 800px) {
    .w40-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .w40-raster { grid-template-columns: minmax(0, 1fr); }
}
