.ks-consultation-path {
	max-width: 1450px;
	margin: 110px auto 72px;
	color: #fff;
}

.ks-consultation-path__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 680px);
	gap: clamp(42px, 5vw, 75px);
	align-items: center;
}

.ks-consultation-path__intro h2,
.ks-consultation-path__modal-heading h3 {
	margin: 0;
	color: #fff;
	font-size: clamp(38px, 4.2vw, 58px);
	font-weight: 800;
	line-height: 1.06;
}

.ks-consultation-path__intro p,
.ks-consultation-path__modal-heading p {
	margin: 24px 0 0;
	color: #fff;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.55;
}

.ks-consultation-path__choices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: 100%;
	max-width: 680px;
	justify-self: end;
	gap: 22px;
}

.ks-consultation-path__card,
.ks-consultation-path__service {
	border: 0;
	border-radius: 42px;
	background: linear-gradient(135deg, #58b2f4 0%, #691ab4 100%);
	color: #fff;
	font: inherit;
	text-align: center;
	box-shadow: none;
	transition: transform 240ms ease, box-shadow 240ms ease;
}

.ks-consultation-path__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 550px;
	padding: 40px 26px 30px;
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.ks-consultation-path__card:hover,
.ks-consultation-path__card:focus-visible,
.ks-consultation-path__service:hover,
.ks-consultation-path__service:focus-visible {
	transform: translateY(-5px);
	box-shadow: 0 10px 60px 0 #2e1c75c9;
	outline: none;
}

.ks-consultation-path__card-icon {
	display: grid;
	width: 62px;
	height: 62px;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	color: #6154cc;
	position: relative;
	z-index: 2;
}

.ks-consultation-path__card-icon img {
	width: 30px;
	height: 30px;
	object-fit: contain;
}

.ks-consultation-path__service:link,
.ks-consultation-path__service:visited {
	color: #fff;
}

.ks-consultation-path__card-content {
	display: grid;
	gap: 10px;
	margin-top: 24px;
	position: relative;
	text-align: center;
	z-index: 2;
}

.ks-consultation-path__card-content strong,
.ks-consultation-path__service > span:first-child {
	font-size: 27px;
	font-weight: 800;
	line-height: 1.12;
	text-transform: uppercase;
}

.ks-consultation-path__card-content small {
	font-size: 0.7em;
	font-weight: 700;
}

.ks-consultation-path__card-content > span,
.ks-consultation-path__service small {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
}

.ks-consultation-path .cta-kontakt {
	justify-content: center;
	width: 100%;
	max-width: none;
	margin-top: 22px;
	padding-top: 0;
	position: relative;
	z-index: 2;
}

.ks-consultation-path .cta-name {
	flex: 1 1 auto;
	font-size: 13px;
	line-height: 1;
	white-space: nowrap;
	box-shadow: 0 10px 25px 0 #25195471;
}

.ks-consultation-path .cta-circle {
	box-shadow: 0 10px 25px 0 #25195471;
}

.ks-consultation-path__card-photo {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 47%;
	object-fit: cover;
	object-position: top center;
	transition: transform 600ms ease;
	z-index: 0;
}

.ks-consultation-path__card:hover .ks-consultation-path__card-photo,
.ks-consultation-path__card:focus-visible .ks-consultation-path__card-photo {
	transform: scale(1.1);
}

.ks-consultation-path__modal {
	position: fixed;
	inset: 0;
	z-index: 1000001;
	display: grid;
	place-items: center;
	padding: 30px;
	background: #18171aa4;
	overflow: auto;
}

.ks-consultation-path__modal[hidden] {
	display: none;
}

.ks-consultation-path__modal-dialog {
	position: relative;
	width: min(100%, 1040px);
	max-height: min(900px, calc(100vh - 60px));
	max-height: min(900px, calc(100dvh - 60px));
	box-sizing: border-box;
	overflow: auto;
	padding: 62px 52px 52px;
	border: 1px solid #2a2a39;
	border-radius: 50px;
	background: #02021e;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.ks-consultation-path__modal :focus {
	outline: none;
}

.ks-consultation-path__modal-heading {
	max-width: 680px;
	margin: 0 auto 38px;
	text-align: center;
}

.ks-consultation-path__modal-heading h3 {
	font-size: clamp(30px, 3.6vw, 44px);
}

.ks-consultation-path__modal[data-consultation-modal="forms"] .ks-consultation-path__modal-heading h3 {
	font-weight: 700;
}

.ks-consultation-path__modal-heading p {
	margin-top: 14px;
	font-size: 17px;
}

.ks-consultation-path__close {
	position: absolute;
	top: 25px;
	right: 25px;
	display: flex;
	width: 50px;
	height: 50px;
	align-items: center;
	justify-content: center;
	border: 1px solid #2a2a39;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	padding: 0;
	cursor: pointer;
	outline: none;
}

.ks-consultation-path__close img {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.ks-consultation-path__close:hover,
.ks-consultation-path__close:focus-visible {
	border-color: #2a2a39;
	outline: none;
}

.ks-consultation-path__services {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.ks-consultation-path__service {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 270px;
	padding: 30px;
	text-decoration: none;
	cursor: pointer;
}

.ks-consultation-path__service small {
	margin-top: 14px;
}

.ks-consultation-path__service .cta-kontakt {
	margin-top: auto;
	padding-top: 24px;
}

.ks-consultation-path__calendar {
	min-height: 0;
	height: 700px;
	max-height: calc(100vh - 230px);
	max-height: calc(100dvh - 230px);
	overflow: hidden;
	border-radius: 26px;
	background: #fff;
}

.ks-consultation-path__calendar .calendly-inline-widget {
	min-width: 320px;
	height: 100%;
}

.ks-consultation-path__modal--calendar .ks-consultation-path__modal-dialog {
	width: min(100%, 1000px);
	height: min(900px, calc(100vh - 60px));
	height: min(900px, calc(100dvh - 60px));
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	overflow: hidden;
	padding-bottom: 28px;
}

.ks-consultation-path__modal--calendar .ks-consultation-path__modal-heading {
	margin-bottom: 20px;
}

.ks-consultation-path__modal--calendar .ks-consultation-path__calendar {
	width: 100%;
	height: 100%;
	max-height: none;
}

.ks-consultation-path__form-host {
	display: contents;
}

@media (max-width: 900px) {
	.ks-consultation-path {
		margin: 72px auto 48px;
	}

	.ks-consultation-path__layout {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.ks-consultation-path__intro {
		max-width: 670px;
	}

	.ks-consultation-path__choices {
		justify-self: start;
	}

	.ks-consultation-path__services {
		grid-template-columns: 1fr;
	}

	.ks-consultation-path__modal {
		padding: 20px;
	}

	.ks-consultation-path__service {
		min-height: 210px;
	}
}

@media (max-width: 600px) {
	.ks-consultation-path__intro h2 {
		font-size: 38px;
	}

	.ks-consultation-path__intro p {
		font-size: 17px;
	}

	.ks-consultation-path__card {
		min-height: 500px;
		padding: 26px 22px;
		border-radius: 34px;
	}

	.ks-consultation-path__choices {
		grid-template-columns: 1fr;
		max-width: none;
	}

	.ks-consultation-path__card-content strong,
	.ks-consultation-path__service > span:first-child {
		font-size: 22px;
	}

	.ks-consultation-path .cta-name {
		padding: 0 18px;
		font-size: 13px;
	}

	.ks-consultation-path .cta-circle,
	.ks-consultation-path .cta-name {
		height: 44px;
	}

	.ks-consultation-path .cta-circle {
		width: 44px;
		flex-basis: 44px;
	}

	.ks-consultation-path__modal {
		padding: 12px;
	}

	.ks-consultation-path__modal-dialog {
		max-height: calc(100vh - 24px);
		max-height: calc(100dvh - 24px);
		padding: 78px 22px 28px;
		border-radius: 34px;
	}

	.ks-consultation-path__modal--calendar .ks-consultation-path__modal-dialog {
		height: calc(100vh - 24px);
		height: calc(100dvh - 24px);
		padding: 72px 12px 12px;
	}

	.ks-consultation-path__modal--calendar .ks-consultation-path__modal-heading {
		margin-bottom: 12px;
	}

	.ks-consultation-path__close {
		top: 18px;
		right: 18px;
	}

	.ks-consultation-path__calendar,
	.ks-consultation-path__calendar .calendly-inline-widget {
		min-height: 0;
		height: 100%;
	}
}
