/**
 * Grünwerk Baumpflege im Detail
 * Bootstrap-/WPBakery-Ergänzung ohne Tailwind-Abhängigkeit.
 */

.maple-gw-care-detail {
	--gw-emerald-100: var(--color-emerald-100, #eceec4);
	--gw-emerald-300: var(--color-emerald-300, #cbd162);
	--gw-emerald-400: var(--color-emerald-400, #8d921b);
	--gw-emerald-500: var(--color-emerald-500, #8d921b);
	--gw-emerald-600: var(--color-emerald-600, #8d921b);
	--gw-zinc-50: var(--color-zinc-50, #fafafa);
	--gw-zinc-600: var(--color-zinc-600, #52525b);
	--gw-zinc-900: var(--color-zinc-900, #18181b);
	--gw-white: var(--white, #fff);
	background: var(--gw-zinc-50);
}

.maple-gw-care-detail--bg-white {
	background: var(--gw-white);
}

.maple-gw-care-detail--bg-transparent {
	background: transparent;
}

.maple-gw-care-detail--spacing-large {
	padding-top: 6rem;
	padding-bottom: 6rem;
}

.maple-gw-care-detail--spacing-default {
	padding-top: 4.5rem;
	padding-bottom: 4.5rem;
}

.maple-gw-care-detail--spacing-compact {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.maple-gw-care-detail__container {
	width: 100%;
	padding-right: 1.5rem;
	padding-left: 1.5rem;
	margin-right: auto;
	margin-left: auto;
}

.maple-gw-care-detail__container--wide {
	max-width: 1280px;
}

.maple-gw-care-detail__header {
	max-width: 42rem;
	margin-bottom: 4rem;
}

.maple-gw-care-detail--header-center .maple-gw-care-detail__header {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.maple-gw-care-detail--header-left .maple-gw-care-detail__header {
	text-align: left;
}

.maple-gw-care-detail__label {
	display: inline-block;
	color: var(--gw-emerald-600);
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.maple-gw-care-detail__headline {
	margin: 1rem 0 1.5rem;
	color: var(--gw-zinc-900);
	font-size: clamp(2.25rem, 4vw, 3rem);
	font-weight: 800;
	line-height: 1.08;
}

.maple-gw-care-detail__intro {
	margin: 0;
	color: var(--gw-zinc-600);
	font-size: 1.125rem;
	line-height: 1.65;
}

.maple-gw-care-detail__grid {
	display: grid;
	grid-template-columns: repeat(var(--gw-care-columns-desktop, 3), minmax(0, 1fr));
	gap: 1.5rem;
}

.maple-gw-care-detail__card {
	display: block;
	min-height: 100%;
	padding: 2rem;
	color: inherit;
	text-decoration: none;
	background: var(--gw-white);
	border-radius: .5rem;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
	transition: background-color .3s ease, box-shadow .3s ease, transform .3s ease;
	cursor: pointer;
}

.maple-gw-care-detail__card:hover,
.maple-gw-care-detail__card:focus-visible {
	background: var(--gw-emerald-600);
	box-shadow: 0 20px 35px rgba(0, 0, 0, .14);
	transform: translateY(-2px);
	text-decoration: none;
	outline: none;
}

.maple-gw-care-detail__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	margin-bottom: 1.5rem;
	color: var(--gw-emerald-600);
	background: var(--gw-emerald-100);
	border-radius: .5rem;
	transition: color .3s ease, background-color .3s ease;
}

.maple-gw-care-detail__icon svg {
	width: 1.75rem;
	height: 1.75rem;
}

.maple-gw-care-detail__card:hover .maple-gw-care-detail__icon,
.maple-gw-care-detail__card:focus-visible .maple-gw-care-detail__icon {
	color: var(--gw-white);
	background: var(--gw-emerald-300);
}

.maple-gw-care-detail__card-title {
	margin: 0 0 .75rem;
	color: var(--gw-zinc-900);
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.25;
	transition: color .3s ease;
}

.maple-gw-care-detail__card-text {
	margin: 0;
	color: var(--gw-zinc-600);
	font-size: .875rem;
	line-height: 1.65;
	transition: color .3s ease;
}

.maple-gw-care-detail__card:hover .maple-gw-care-detail__card-title,
.maple-gw-care-detail__card:focus-visible .maple-gw-care-detail__card-title {
	color: var(--gw-white);
}

.maple-gw-care-detail__card:hover .maple-gw-care-detail__card-text,
.maple-gw-care-detail__card:focus-visible .maple-gw-care-detail__card-text {
	color: var(--gw-emerald-100);
}

@media (max-width: 991.98px) {
	.maple-gw-care-detail__grid {
		grid-template-columns: repeat(var(--gw-care-columns-tablet, 2), minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.maple-gw-care-detail--spacing-large,
	.maple-gw-care-detail--spacing-default {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}

	.maple-gw-care-detail__container {
		padding-right: 1.25rem;
		padding-left: 1.25rem;
	}

	.maple-gw-care-detail__header {
		margin-bottom: 2.5rem;
	}

	.maple-gw-care-detail__grid {
		grid-template-columns: 1fr;
	}

	.maple-gw-care-detail__card {
		padding: 1.5rem;
	}
}
