/* M29 — Number Cards / Step Cards (WKN-Wohnbau Child).
   Figma 13:366 — 4 step cards side-by-side on a grey section, each with
   a large grey background number, yellow square accent next to the title,
   and a hairline divider between title and body. */

/* Cards */
section.m29_number_cards .m29_slider_wrap {
	margin-top: 45px;
	position: relative;
}

section.m29_number_cards .m29_cards_wrapper.slick-initialized .slick-slide {
	height: auto;
}

section.m29_number_cards .m29_cards_wrapper.slick-initialized .slick-slide > div {
	height: 100%;
}

section.m29_number_cards .m29_cards_wrapper.slick-initialized .slick-slide .m29_card {
	height: 100%;
}

/* When slick takes over the wrapper is no longer a grid. */
section.m29_number_cards .m29_cards_wrapper:not(.slick-initialized) {
	--gap: 40px;
	gap: 40px var(--gap);
}

/* Slick-mode: gap simulated via per-slide horizontal padding. */
section.m29_number_cards .m29_cards_wrapper.slick-initialized .slick-track {
	margin: 0 -12px;
}

section.m29_number_cards .m29_cards_wrapper.slick-initialized .slick-slide {
	margin: 0 12px;
}

section.m29_number_cards .m29_card {
	position: relative;
	background: #fff;
	padding: 46px 46px 40px;
	clip-path: polygon(0 0, calc(100% - 75px) 0, 100% 75px, 100% 100%, 0 100%);
}

/* Active-Card: dunkler Navy-Balken unten ueber die volle Breite. */
section.m29_number_cards .m29_card_active::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 10px;
	background: #1a2233;
	pointer-events: none;
}

section.m29_number_cards .m29_card_nummer {
	position: absolute;
	top: 14px;
	left: 24px;
	font-size: 6.67rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.07em;
	color: #eaebec;
	pointer-events: none;
	user-select: none;
}

section.m29_number_cards .m29_card_body {
	position: relative;
	margin-top: 158px;
	padding-top: 28px;
	border-top: 1px solid rgb(from var(--font_color) r g b / 0.15);
}

section.m29_number_cards .m29_card_icon {
	margin-bottom: 20px;
}

section.m29_number_cards .m29_card_icon img {
	max-width: 48px;
	max-height: 48px;
	display: block;
}

section.m29_number_cards .m29_card_titel {
	position: relative;
	margin: 0;
	font-weight: 500;
	display: inline-block;
}

section.m29_number_cards .m29_card_titel::before {
	content: "";
	display: inline-block;
	min-width: 12px;
	width: 12px;
	min-height: 12px;
	height: 12px;
	margin-right: 12px;
	background: #ec7328;
}

section.m29_number_cards .m29_card_text {
	padding-top: 14px;
}

@media screen and (max-width: 1199px) {
	section.m29_number_cards .m29_card {
		padding: 31px 19px 35px;
	}

	section.m29_number_cards .m29_cards_wrapper.slick-initialized .slick-track {
		margin: 0 -8px;
	}

	section.m29_number_cards .m29_cards_wrapper.slick-initialized .slick-slide {
		margin: 0 8px;
	}
}

@media screen and (max-width: 767px) {
	section.m29_number_cards .m29_card {
		padding: 26px 14px 30px;
    }
	
	section.m29_number_cards .m29_card_nummer {
		font-size: 5.33rem;
	}
}

@media screen and (max-width: 575px) {
	section.m29_number_cards .m29_card_body {
		margin-top: 120px;
		padding-top: 18px;
	}

	section.m29_number_cards .m29_arrows {
        text-align: end;
        margin-top: 40px;
    }

    section.m29_number_cards .m29_arrows .mM_arrow {
        position: static;
    }

	section.m29_number_cards .m29_cards_wrapper .slick-list {
        padding-right: 30px !important;
    }
}
