.ahs-slider {
	position: relative;
	background: #ececec;
	overflow: hidden;
}

.ahs-slider__track {
	position: relative;
}

.ahs-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 0;
	background-color: #ececec;
	background-image: var(--ahs-d-img);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	transition: opacity 0.8s ease, visibility 0.8s ease;
}

.ahs-slide.is-active {
	position: relative;
	width: 100%;
	aspect-ratio: var(--ahs-d-w, 1920) / var(--ahs-d-h, 513);
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
	display: flex;
}

.ahs-slide__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 40px 80px 50px;
	box-sizing: border-box;
}

.ahs-slide__content {
	width: 100%;
	max-width: 636px;
}

.ahs-slide__headline {
	margin: 0 0 28px;
	color: #030303;
	font-family: Rajdhani, sans-serif;
	font-size: 40px;
	line-height: 24px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	opacity: 0;
	transform: translateY(-40px);
}

.ahs-slide.is-active .ahs-slide__headline {
	animation: ahs-in-down 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.ahs-slide__headline strong {
	font-weight: 700;
}

.ahs-slide__cta {
	position: relative;
	z-index: 1;
	display: inline-block;
	overflow: hidden;
	background: #e71131;
	color: #fff !important;
	text-decoration: none !important;
	text-align: center !important;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	padding: 20px;
	width: 374px;
	max-width: 100%;
	min-width: 180px;
	box-sizing: border-box;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
	opacity: 0;
	transform: translateY(80px);
}

.ahs-slide.is-active .ahs-slide__cta {
	animation: ahs-in-up 0.9s 0.15s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.ahs-slide__cta:before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: auto;
	width: 0;
	z-index: -1;
	background: #030303;
	transition: all 0.3s ease-in-out;
}

.ahs-slide__cta:hover:before,
.ahs-slide__cta:focus:before {
	left: 0;
	width: 100%;
	right: auto;
}

.ahs-slide__cta-label,
.ahs-slide__cta-phone {
	position: relative;
	display: block;
	color: #fff;
	text-align: center;
}

.ahs-slide__cta-label {
	font-size: 24px;
	font-weight: 700;
	line-height: 32px;
}

.ahs-slide__cta-phone {
	margin-top: 0;
	font-size: 34px;
	font-weight: 900;
	line-height: 32px;
	letter-spacing: 0;
}

.ahs-slider__nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	cursor: pointer;
	box-shadow: none;
}

.ahs-slider__nav:after {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
	margin: 0 auto;
	transition: opacity 0.3s;
}

.ahs-slider__nav:hover:after {
	opacity: 0.75;
}

.ahs-slider__nav--prev {
	left: 30px;
	transform: translateY(-50%);
}

.ahs-slider__nav--prev:after {
	transform: rotate(-135deg);
	margin-left: 14px;
}

.ahs-slider__nav--next {
	right: 30px;
	transform: translateY(-50%);
}

.ahs-slider__nav--next:after {
	transform: rotate(45deg);
	margin-left: 8px;
}

.ahs-slider__dots {
	position: absolute;
	left: 50%;
	bottom: 50px;
	display: flex;
	justify-content: center;
	gap: 10px;
	z-index: 3;
	transform: translateX(-50%);
}

.ahs-slider__dot {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: rgba(125, 125, 125, 0.5);
	cursor: pointer;
}

.ahs-slider__dot.is-active,
.ahs-slider__dot:hover {
	background: rgb(125, 125, 125);
}

@keyframes ahs-in-down {
	from {
		opacity: 0;
		transform: translateY(-40px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes ahs-in-up {
	from {
		opacity: 0;
		transform: translateY(80px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1199px) {
	.ahs-slide__headline {
		font-size: 30px;
		line-height: 16px;
	}

	.ahs-slide__content {
		max-width: 500px;
	}

	.ahs-slide__inner {
		padding: 32px 70px 48px;
	}

	.ahs-slide__cta {
		width: 359px;
		padding: 16px;
	}
}

@media (max-width: 767px) {
	.pxl-carousel-inner {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.ahs-slide.is-active {
		aspect-ratio: var(--ahs-m-w, 480) / var(--ahs-m-h, 513);
	}

	.ahs-slide {
		background-image: var(--ahs-m-img, var(--ahs-d-img));
	}

	.ahs-slide__inner {
		height: 100%;
		justify-content: center;
		align-items: stretch;
		padding: 44px 20px;
	}

	.ahs-slide__content {
		max-width: min(430px, 100%);
		height: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.ahs-slide__headline {
		font-size: 24px;
		line-height: 16px;
		text-align: center;
		margin-bottom: 0;
	}

	.ahs-slide__cta {
		width: min(331px, 100%);
		padding: 8px 16px;
		margin-top: auto;
	}

	.ahs-slide__cta-label {
		font-size: 20px;
		line-height: 30px;
	}

	.ahs-slider__nav {
		display: none;
	}

	.ahs-slider__dots {
		bottom: 18px;
	}
}
