.tkz-kurse {
	display: flex;
	flex-direction: column;
	gap: 4rem;
	max-width: 1180px;
	margin: 2.5rem auto 5rem;
	padding: 0 1.25rem;
	color: #111;
	font-family: Inter, "Segoe UI", system-ui, sans-serif;
}

.tkz-group__head {
	margin-bottom: 1.5rem;
}

.tkz-group__title {
	margin: 0;
	font-size: clamp(1.8rem, 3.2vw, 2.6rem);
	font-weight: 500;
	letter-spacing: -0.03em;
}

.tkz-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
	gap: 1.5rem;
}

.tkz-card {
	display: flex;
	flex-direction: row;
	min-height: 340px;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 12px;
	background: #212121;
	color: #f5f5f5;
	box-sizing: border-box;
}

.tkz-card__body {
	display: flex;
	flex: 1 1 54%;
	flex-direction: column;
	justify-content: space-between;
	padding: 1.5rem 1.6rem 1.5rem;
}

.tkz-card__visual {
	flex: 1 1 46%;
	min-width: 0;
	background: #9ec9d6;
}

.tkz-card__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tkz-card__title {
	margin: 0;
	font-size: clamp(1.55rem, 2.2vw, 2rem);
	font-weight: 800;
	line-height: 1.15;
	color: #f5f5f5;
}

.tkz-card__facts {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	gap: 0.12em;
	padding: 0.85rem 0;
}

.tkz-card__day,
.tkz-card__dates,
.tkz-card__time {
	margin: 0;
	font-size: clamp(1.35rem, 1.9vw, 1.7rem);
	font-weight: 300;
	line-height: 1.3;
	color: #f5f5f5;
}

.tkz-card__teacher,
.tkz-card__meta,
.tkz-card__price {
	margin: 0;
	font-size: clamp(1.15rem, 1.6vw, 1.4rem);
	font-weight: 300;
	line-height: 1.3;
	color: #f5f5f5;
}

.tkz-card__teacher--last {
	font-weight: 800;
}

.tkz-card__badge,
.tkz-card__cta {
	margin: 0;
	padding-top: 0.35rem;
}

.tkz-card__btn {
	display: inline-block;
	padding: 0.75rem 1.35rem;
	border-radius: 8px;
	background: #fff;
	color: #424242;
	font-size: 1.05rem;
	font-weight: 800;
	text-decoration: none;
}

.tkz-card__btn:hover {
	background: #f5f5f5;
	color: #212121;
}

@media (max-width: 640px) {
	.tkz-cards {
		grid-template-columns: 1fr;
	}

	.tkz-card {
		flex-direction: column;
	}

	.tkz-card__visual {
		min-height: 180px;
	}
}

.tkz-empty,
.tkz-hint {
	margin: 1rem 0;
}

.tkz-referral {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin: 1rem 0;
}

.tkz-referral__status.is-ok {
	color: inherit;
}

.tkz-referral__status.is-bad {
	font-weight: 700;
}

.tkz-book {
	display: grid;
	grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
	align-items: start;
	gap: 1.15rem;
	max-width: 1040px;
	margin: 1.25rem auto 4rem;
	background: transparent;
	box-shadow: none;
	overflow: visible;
	border-radius: 0;
	font-family: Inter, "Segoe UI", system-ui, sans-serif;
	color: #171717;
}

.tkz-book *,
.tkz-book *::before,
.tkz-book *::after {
	box-sizing: border-box;
}

.tkz-book__aside {
	padding: 1.65rem 1.45rem 1.45rem;
	border-radius: 16px;
	background: #212121;
	color: #f5f5f5;
}

.tkz-book__kicker {
	margin: 0 0 0.55rem;
	color: rgba(245, 245, 245, 0.62);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.tkz-book__title {
	margin: 0 0 1.1rem;
	font-size: clamp(1.7rem, 2.6vw, 2.25rem);
	font-weight: 800;
	line-height: 1.12;
	color: #fff;
}

.tkz-book__facts {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: clamp(1.2rem, 1.7vw, 1.45rem);
	font-weight: 300;
	line-height: 1.4;
}

.tkz-book__unit {
	margin: 1.25rem 0 0;
	font-size: clamp(1.45rem, 2vw, 1.75rem);
	font-weight: 800;
}

.tkz-book__unit span {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.85rem;
	font-weight: 300;
	opacity: 0.75;
}

.tkz-book__dates-label {
	margin: 1.2rem 0 0.4rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.7;
}

.tkz-book__dates {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.12rem 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: #f5f5f5;
	font-size: 1.22rem;
	font-weight: 400;
	line-height: 1.4;
}

.tkz-book__cal {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.45rem;
	margin: 1.2rem 0 0;
}

.tkz-book__cal a {
	color: #fff;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.tkz-book__main {
	padding: 1.25rem 1.35rem 1.2rem;
	border-radius: 16px;
	background: #f6f6f6;
	box-shadow: 0 18px 50px rgba(17, 17, 17, 0.08);
	font-size: 1.05rem;
}

.tkz-book__alert {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	background: #3b1111;
	color: #fff;
	font-weight: 500;
}

.tkz-book__form {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.tkz-book__block {
	margin: 0;
	padding: 0.9rem 0.95rem 0.95rem;
	border: 0;
	border-radius: 12px;
	background: #fff;
}

.tkz-book__block legend {
	float: left;
	width: 100%;
	margin: 0 0 0.7rem;
	padding: 0;
	font-size: 1.18rem;
	font-weight: 800;
}

.tkz-book__block legend + * {
	clear: both;
}

.tkz-book__hint {
	margin: 0.55rem 0 0;
	color: #666;
	font-size: 0.95rem;
	line-height: 1.35;
}

.tkz-book__partner {
	display: none;
}

.tkz-book__form:has([name="anmeldenals"][value="paar"]:checked) .tkz-book__partner {
	display: block;
}

.tkz-seg {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.4rem;
	margin-bottom: 0.7rem;
}

.tkz-seg input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.tkz-seg label {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2.7rem;
	padding: 0.4rem 0.65rem;
	border: 1.5px solid #e4e4e4;
	border-radius: 10px;
	background: #fafafa;
	color: #222;
	font-size: 1.08rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.tkz-seg input:focus-visible + label {
	outline: 2px solid #212121;
	outline-offset: 2px;
}

.tkz-seg input:checked + label {
	border-color: #212121;
	background: #212121;
	color: #fff;
}

.tkz-field--wide {
	grid-column: 1 / -1;
}

.tkz-book__form:has([name="tkz_same_address"]:checked) .tkz-book__follow-addr {
	display: none;
}

.tkz-field {
	position: relative;
}

.tkz-field__input,
.tkz-book .tkz-field input {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 1.22rem 0.85rem 0.38rem;
	border: 1.5px solid #e4e4e4;
	border-radius: 10px;
	background: #fafafa;
	color: #111;
	font: inherit;
	font-size: 1.18rem;
	line-height: 1.3;
	appearance: none;
}

.tkz-field__input:hover,
.tkz-book .tkz-field input:hover {
	border-color: #cfcfcf;
}

.tkz-field__input:focus,
.tkz-book .tkz-field input:focus {
	outline: none;
	border-color: #212121;
	background: #fff;
}

.tkz-field label {
	position: absolute;
	top: 50%;
	left: 0.85rem;
	margin: 0;
	color: #737373;
	font-size: 1.05rem;
	font-weight: 400;
	line-height: 1;
	pointer-events: none;
	transform: translateY(-50%);
	transition: top 0.14s ease, transform 0.14s ease, font-size 0.14s ease, color 0.14s ease;
}

.tkz-field input:focus + label,
.tkz-field input:not(:placeholder-shown) + label {
	top: 0.42rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transform: none;
	color: #525252;
}

.tkz-check {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	margin-top: 0.7rem;
	padding: 0.7rem 0.8rem;
	border: 1.5px solid #ececec;
	border-radius: 10px;
	background: #fafafa;
	cursor: pointer;
}

.tkz-check:has(input:checked) {
	border-color: #212121;
	background: #fff;
}

.tkz-check input {
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 0.15rem;
	accent-color: #212121;
}

.tkz-check span {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.tkz-check strong {
	font-size: 1.12rem;
	font-weight: 700;
}

.tkz-check small {
	color: #666;
	font-size: 0.95rem;
	line-height: 1.35;
}

.tkz-book .tkz-referral {
	margin: 0.85rem 0 0;
}

.tkz-referral__hint,
.tkz-referral__status {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.92rem;
	color: #666;
}

.tkz-book__foot {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.85rem;
	padding: 0.35rem 0.15rem 0;
}

.tkz-book__breakdown {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tkz-book__breakdown li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.2rem 0;
	color: #444;
	font-size: 1.06rem;
}

.tkz-book__breakdown li.is-discount {
	color: #0f6a36;
}

.tkz-book__breakdown strong {
	font-weight: 700;
	white-space: nowrap;
}

.tkz-book__total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding-top: 0.55rem;
	border-top: 1px solid #dedede;
}

.tkz-book__total span {
	display: block;
	color: #666;
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.tkz-book__total strong {
	font-size: 1.55rem;
	font-weight: 800;
}

.tkz-book__legal {
	margin: 0.15rem 0 0;
	color: #555;
	font-size: 0.98rem;
	line-height: 1.45;
}

.tkz-book__legal a {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.tkz-book__breakdown li.is-later {
	color: #888;
}

.tkz-book__breakdown li.is-later strong {
	font-weight: 500;
}

.tkz-book__submit {
	align-self: flex-end;
	width: auto;
	min-height: 2.55rem;
	padding: 0.55rem 1.2rem;
	border: 0;
	border-radius: 8px;
	background: #212121;
	color: #fff;
	font: inherit;
	font-size: 1rem;
	font-weight: 800;
	cursor: pointer;
}

.tkz-book__submit:hover {
	background: #111;
}

.tkz-field input.tkz-invalid,
.tkz-seg.tkz-invalid label {
	border-color: #b42318;
}

.tkz-book--info {
	grid-template-columns: minmax(0, 32rem);
	justify-content: center;
}

@media (max-width: 820px) {
	.tkz-book {
		grid-template-columns: 1fr;
		margin: 0.75rem 0.75rem 3rem;
	}

	.tkz-grid {
		grid-template-columns: 1fr;
	}

	.tkz-book__foot {
		flex-direction: column;
		align-items: stretch;
	}
}
