.m33_equipment_gallery {
    background: #d9d9d9;
    color: #353434;
    padding: 110px 0 110px;
}

/* === Features block (top: Image + 4 features) === */
.m33_features_block {
    margin-bottom: 110px;
}

.m33_features_header {
    margin-bottom: 60px;
}

.m33_topline {
    margin: 0 0 0.5em;
    font-family: 'Nexa-Black-Italic', 'Nexa', system-ui, sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: clamp(16px, 1.4vw, 22px);
    color: #6b6b6b;
    text-transform: uppercase;
}
.m33_topline--bottom { margin: 0.6em 0 0; }

.m33_title {
    margin: 0;
    font-family: 'Nexa-Black-Italic', 'Nexa', system-ui, sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: clamp(28px, 5vw, 50px);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #353434;
}
.m33_title em,
.m33_title .m33_title_accent {
    color: #6b6b6b;
    font-weight: inherit;
    font-style: italic;
}

.m33_features_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.m33_features_image {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 621 / 612;
}
.m33_features_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.m33_features_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.m33_feature {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 24px;
    align-items: start;
    padding: 30px 0;
}

/* Thin divider between consecutive feature items */
.m33_feature + .m33_feature {
    border-top: 1px solid rgba(53, 52, 52, 0.20);
}

.m33_feature:first-child { padding-top: 0; }
.m33_feature:last-child  { padding-bottom: 0; }

.m33_feature_icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.m33_feature_icon img,
.m33_feature_icon svg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.m33_feature_title {
    margin: 0 0 14px;
    font-family: 'Nexa-Black-Italic', 'Nexa', system-ui, sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: 22px;
    line-height: 25px;
    color: #353434;
    text-transform: uppercase;
}

.m33_feature_desc {
    margin: 0;
    font-family: 'Nexa-Regular', 'Nexa', system-ui, sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 25px;
    color: #6b6b6b;
}

/* === Equipment block (bottom: Title + N cards) === */
.m33_equipment_block { }

.m33_equipment_title {
    margin: 0 0 90px;
    text-align: center;
    font-family: 'Nexa-Black-Italic', 'Nexa', system-ui, sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: clamp(28px, 5vw, 50px);
    line-height: 1.05;
    text-transform: uppercase;
    color: #353434;
}
.m33_equipment_title_accent { color: #6b6b6b; }

.m33_equipment_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 20px;
}

.m33_equipment_card {
    position: relative;
    background: #e6e6e6;
    border-radius: 20px;
    padding: 60px 47px 46px;
    min-height: 246px;
    isolation: isolate;
}

.m33_equipment_card_icon {
    position: absolute;
    top: -29px;
    left: 47px;
    width: 58px;
    height: 58px;
    background: #353434;
    color: #d9d9d9;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Inner highlight + outer rainbow halo via offset blurred shadows.
       Box-shadows render outside the element only, so the dark #353434
       fill never gets tinted by the rainbow. */
    box-shadow:
        inset 0 3px 15px rgba(255, 255, 255, 0.2),
        -20px -6px 25px -8px rgba(20,  94, 168, 0.22),
        -10px  6px 25px -8px rgba(235, 127, 177, 0.22),
          0px -6px 25px -8px rgba(126, 202, 212, 0.14),
          0px  6px 25px -8px rgba(124, 118,  64, 0.12),
         10px -6px 25px -8px rgba(218, 167,   7, 0.22),
         20px  6px 25px -8px rgba(238, 114,  44, 0.22);
    transition: transform .2s ease;
    z-index: 2;
}

.m33_equipment_card_icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.m33_equipment_card_icon:hover {
    transform: scale(1.05);
}

.m33_equipment_card_title {
    margin: 0 0 14px;
    /* Reserve room for 2 title lines so descriptions below start at the
       same y across all cards in a row, even when one title wraps. */
    min-height: 50px;
    font-family: 'Nexa-Black-Italic', 'Nexa', system-ui, sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: 22px;
    line-height: 25px;
    color: #353434;
}

.m33_equipment_card_desc {
    margin: 0;
    font-family: 'Nexa-Regular', 'Nexa', system-ui, sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 25px;
    color: #6b6b6b;
}

@media (max-width: 1100px) {
    .m33_features_grid { grid-template-columns: 1fr; gap: 40px; }
    .m33_equipment_grid,
    .m33_equipment_grid[data-count="8"] { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .m33_equipment_gallery { padding: 70px 0; }
    .m33_features_block { margin-bottom: 70px; }
    .m33_equipment_grid,
    .m33_equipment_grid[data-count="8"] {
        grid-template-columns: 1fr;
        gap: 50px;       /* gleicher Vertikalabstand wie das Plus-Icon-Overhang braucht */
    }
    .m33_equipment_title { margin-bottom: 50px; }
    .m33_features_grid { gap: 32px; }
    .m33_features_list .m33_feature { padding: 20px 0; }
}
}
