.m5_contact_persons {
background: #fff;
padding: clamp(48px, 7vw, 110px) 0;
color: #1d1d1b;
} .m5_header {
margin-bottom: clamp(40px, 4vw, 64px);
}
.m5_headline {
color: var(--hs-dark);
font-weight: 600;
font-size: clamp(26px, 2.6vw, 40px);
line-height: 1.125;
letter-spacing: 0.03em;
margin: 18px 0 0;
max-width: 900px;
}
.m5_headline em, .m5_headline i {
font-style: italic;
font-weight: 600;
font-family: var(--hs-font-display);
}
.m5_grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: clamp(20px, 2vw, 37px);
} .m5_card {
position: relative;
background: #fff;
display: flex;
flex-direction: column; min-height: clamp(350px, 35vw, 535px);
overflow: hidden; border: 1px solid transparent;
transition: border-color 0.3s ease;
}
@supports (aspect-ratio: 1) {
.m5_card {
min-height: 0;
aspect-ratio: 463 / 535;
}
}
.m5_card:hover {
border-color: #E1E2E3;
}
.m5_card_link {
display: flex;
flex-direction: column;
color: inherit;
text-decoration: none;
height: 100%;
} .m5_card_media {
position: relative;
width: 100%;
height: 0;
padding-top: calc(400 / 463 * 100%);
overflow: hidden;
background: #d9dadc; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%);
}
@supports (aspect-ratio: 1) {
.m5_card_media {
height: auto;
padding-top: 0;
aspect-ratio: 463 / 400;
}
}
.m5_card_image {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.m5_card_image_placeholder {
background: linear-gradient(180deg, #4a5562, #2f3a46);
} .m5_card_overlay {
position: absolute;
inset: 0;
background: linear-gradient(180deg, rgba(47, 58, 70, 0.30) 0%, rgba(47, 58, 70, 0) 100%);
pointer-events: none;
}
.m5_card_badge {
position: absolute;
top: 25px;
right: 25px;
z-index: 2;
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 111px;
height: 40px;
padding: 0 18px;
background: rgba(255, 255, 255, 0.30);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
color: #fff;
font-weight: 300;
font-size: 16px;
line-height: 1;
letter-spacing: 0.075em;
text-transform: uppercase; opacity: 0;
transform: translateY(-6px);
transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
pointer-events: none;
}
.m5_card:hover .m5_card_badge {
opacity: 1;
transform: translateY(0);
} .m5_card_body { padding: 32px 50px clamp(36px, 3vw, 46px);
display: flex;
flex-direction: column;
gap: 14px;
flex: 1;
}
.m5_card_name {
color: var(--hs-dark);
font-family: var(--hs-font-display);
font-weight: 600;
font-size: 25px;
line-height: 27px;
letter-spacing: 0.03em;
margin: 0;
}
.m5_card_stelle {
color: var(--hs-gold);
font-family: var(--hs-font-body);
font-weight: 600;
font-size: 14.5px;
line-height: 16px;
letter-spacing: 0.075em;
text-transform: uppercase;
margin: 0;
} .m5_card_link:hover .m5_card_image { transform: scale(1.04); }
.m5_card_image { transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.m5_card_link:hover .m5_card_name { color: var(--hs-gold); }
.m5_card_name { transition: color 0.3s ease; }
@media (max-width: 992px) {
.m5_grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 576px) {
.m5_grid { grid-template-columns: 1fr; }
}