:root {
	--ahk-fa-bg: #0c0e10;
	--ahk-fa-panel: rgba(15, 22, 27, .91);
	--ahk-fa-panel-soft: rgba(28, 36, 42, .72);
	--ahk-fa-line: rgba(67, 157, 218, .45);
	--ahk-fa-blue: #289ce9;
	--ahk-fa-blue-dark: #2d59d4;
	--ahk-fa-text: #f7f9fb;
	--ahk-fa-muted: #b7c0c8;
}

.ahk-fahrzeugankauf-page .wp-block-post-title {
	display: none !important;
}

.ahk-fahrzeugankauf-page .wp-block-post-content {
	margin-block-start: 0 !important;
}

html:has(body.ahk-fahrzeugankauf-page),
body.ahk-fahrzeugankauf-page {
	overflow-x: hidden !important;
	overflow-x: clip !important;
}

.ahk-fa-page,
.ahk-fa-page * {
	box-sizing: border-box;
}

.ahk-fa-page {
	width: 100vw;
	max-width: none !important;
	margin: 0 calc(50% - 50vw) !important;
	color: var(--ahk-fa-text);
	font-family: inherit;
	overflow: hidden;
}

.ahk-fa-container {
	width: min(1450px, calc(100% - 64px));
	margin-inline: auto;
}

.ahk-fa-hero > .ahk-fa-hero-grid,
.ahk-fa-form-area > .ahk-fa-section-heading,
.ahk-fa-form-area > .ahk-fa-form-card,
.ahk-fa-next > .ahk-fa-next-inner {
	width: min(1450px, calc(100% - 64px));
	max-width: 1450px !important;
	margin-inline: auto !important;
}

.ahk-fa-hero > .ahk-fa-hero-grid {
	width: 100% !important;
	max-width: none !important;
	margin-inline: 0 !important;
	padding-left: max(32px, calc((100vw - 1450px) / 2));
}

.ahk-fa-hero {
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ahk-fa-hero-grid {
	display: grid !important;
	grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
	min-height: 470px;
	align-items: stretch;
	margin-bottom: 0;
}

.ahk-fa-hero-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 76px 64px 76px 0;
	position: relative;
	z-index: 2;
}

.ahk-fa-eyebrow {
	margin: 0 0 14px;
	color: #43adf3;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.ahk-fa-hero h1,
.ahk-fa-section-heading h2,
.ahk-fa-next h2 {
	margin: 0;
	color: #fff;
	font-weight: 750;
	letter-spacing: -.035em;
	line-height: 1.04;
}

.ahk-fa-hero h1 {
	font-size: clamp(2.55rem, 4.15vw, 4.65rem);
}

.ahk-fa-lead {
	margin: 12px 0 18px !important;
	color: #edf3f7;
	font-size: clamp(1.45rem, 2.4vw, 2.3rem);
	line-height: 1.15;
}

.ahk-fa-hero-copy > p:not(.ahk-fa-eyebrow):not(.ahk-fa-lead) {
	max-width: 620px;
	margin: 0;
	color: var(--ahk-fa-muted);
	font-size: 1.05rem;
	line-height: 1.7;
}

.ahk-fa-button,
.ahk-fa-button-block .wp-block-button__link,
.ahk-fa-form-card input[type="submit"] {
	border: 0;
	border-radius: 999px;
	background: linear-gradient(105deg, #20a4ef 0%, #2f58d5 100%);
	box-shadow: 0 12px 28px rgba(25, 110, 215, .24);
	color: #fff !important;
	font-weight: 750;
	text-decoration: none !important;
	transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.ahk-fa-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	margin-top: 30px;
	padding: 0 28px;
}

.ahk-fa-button-block {
	margin-top: 30px;
}

.ahk-fa-button-block .wp-block-button__link {
	display: inline-flex;
	min-height: 50px;
	padding: 0 28px;
	align-items: center;
	justify-content: center;
}

.ahk-fa-button:hover,
.ahk-fa-button:focus-visible,
.ahk-fa-button-block .wp-block-button__link:hover,
.ahk-fa-button-block .wp-block-button__link:focus-visible,
.ahk-fa-form-card input[type="submit"]:hover,
.ahk-fa-form-card input[type="submit"]:focus-visible {
	filter: brightness(1.12);
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(25, 110, 215, .34);
}

.ahk-fa-hero-visual {
	position: relative;
	width: auto;
	min-height: 470px;
	margin-left: -310px;
	margin-right: 0;
}

.ahk-fa-hero-grid > .wp-block-column {
	min-width: 0;
	margin-left: 0 !important;
}

.ahk-fa-hero-visual::before {
	display: none;
}

.ahk-fa-hero-visual::after {
	display: none;
}

.ahk-fa-hero-visual img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	filter: brightness(.88);
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .08) 5%, rgba(0, 0, 0, .45) 16%, #000 31%, #000 100%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .08) 5%, rgba(0, 0, 0, .45) 16%, #000 31%, #000 100%);
}

.ahk-fa-hero-visual figure {
	width: 100%;
	height: 100%;
	margin: 0;
}

.ahk-fa-form-area {
	padding: 82px 0 34px;
}

.ahk-fa-section-heading {
	max-width: 760px;
	margin-bottom: 34px;
}

.ahk-fa-section-heading h2 {
	font-size: clamp(2.25rem, 4vw, 3.75rem);
}

.ahk-fa-section-heading > p:last-child {
	margin: 16px 0 0;
	color: var(--ahk-fa-muted);
	font-size: 1.05rem;
}

.ahk-fa-form-card {
	padding: clamp(24px, 3vw, 42px);
	border: 1px solid var(--ahk-fa-line);
	border-radius: 22px;
	background:
		linear-gradient(140deg, rgba(255, 255, 255, .025), transparent 34%),
		rgba(10, 16, 20, .3);
	box-shadow: 0 24px 70px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .03);
}

.ahk-fahrzeugankauf-page .ahk-fa-form-card .wpcf7,
.ahk-fahrzeugankauf-page .ahk-fa-form-card .wpcf7-form,
.ahk-fahrzeugankauf-page .ahk-fa-form-card .ahk-fa-form-layout {
	width: 100% !important;
	max-width: none !important;
	margin: 0;
}

.ahk-fahrzeugankauf-page .ahk-fa-form-card .wpcf7 p {
	margin-top: 0;
}

.ahk-fa-form-section {
	min-width: 0;
	margin: 0;
	padding: 0 0 38px;
	border: 0;
}

.ahk-fa-form-section + .ahk-fa-form-section {
	padding-top: 34px;
	border-top: 1px solid rgba(73, 159, 219, .35);
}

.ahk-fa-form-section:last-of-type {
	padding-bottom: 0;
}

.ahk-fa-form-section legend {
	width: 100%;
	margin: 0 0 28px;
	padding: 0;
	color: #fff;
	font-size: 1.5rem;
	font-weight: 750;
	line-height: 1;
}

.ahk-fa-form-section legend span {
	display: inline-flex;
	width: 42px;
	height: 42px;
	margin-right: 14px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(145deg, #29a7ee, #2558d5);
	box-shadow: 0 7px 20px rgba(32, 134, 229, .24);
	font-size: 1.05rem;
}

.ahk-fa-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 28px;
}

.ahk-fa-field {
	min-width: 0;
}

.ahk-fa-field--wide {
	grid-column: 1 / -1;
}

.ahk-fa-label {
	display: block;
	margin-bottom: 9px;
	color: #f7f9fb;
	font-size: .92rem;
	font-weight: 700;
}

.ahk-fa-label small {
	color: var(--ahk-fa-muted);
	font-size: .82rem;
	font-weight: 500;
}

.ahk-fa-form-card input[type="text"],
.ahk-fa-form-card input[type="email"],
.ahk-fa-form-card input[type="tel"],
.ahk-fa-form-card select,
.ahk-fa-form-card textarea {
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 12px 15px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 7px;
	outline: 0;
	background: #f2f4f5;
	box-shadow: none;
	color: #15191c;
	font: inherit;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.ahk-fa-form-card textarea {
	min-height: 116px;
	resize: vertical;
}

.ahk-fa-form-card input:focus,
.ahk-fa-form-card select:focus,
.ahk-fa-form-card textarea:focus {
	border-color: #2fa8f0;
	box-shadow: 0 0 0 3px rgba(47, 168, 240, .17);
}

.ahk-fa-field--checks .wpcf7-checkbox {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 18px;
	padding-top: 5px;
}

.ahk-fa-field--checks .wpcf7-list-item {
	margin: 0;
}

.ahk-fa-field--checks label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	cursor: pointer;
}

.ahk-fa-field--checks input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--ahk-fa-blue);
}

.ahk-fa-upload {
	margin-top: 3px;
}

.ahk-fa-upload .codedropz-upload-wrapper,
.ahk-fa-upload .dnd-upload-counter {
	color: var(--ahk-fa-muted);
}

.ahk-fa-upload .codedropz-upload-handler {
	min-height: 124px;
	border: 1px dashed rgba(125, 190, 230, .78) !important;
	border-radius: 10px;
	background: rgba(5, 10, 14, .34);
}

.ahk-fa-upload .codedropz-upload-inner {
	padding: 27px 20px;
	color: #fff;
}

.ahk-fa-upload .codedropz-btn-wrap a {
	color: #46b0f3;
	text-decoration: none;
}

.ahk-fa-upload > p {
	margin: 9px 0 0;
	color: var(--ahk-fa-muted);
	font-size: .82rem;
}

.ahk-fa-submit {
	margin-top: 28px;
}

.ahk-fa-form-card input[type="submit"] {
	width: 100%;
	min-height: 54px;
	padding: 0 28px;
	cursor: pointer;
	font-size: 1rem;
}

.ahk-fa-form-card .wpcf7-spinner {
	display: block;
	margin: 10px auto 0;
}

.ahk-fa-form-card .wpcf7-not-valid-tip {
	margin-top: 7px;
	color: #ff9b9b;
	font-size: .85rem;
}

.ahk-fa-form-card .wpcf7-response-output {
	margin: 24px 0 0 !important;
	padding: 13px 16px !important;
	border-radius: 8px;
	color: #fff;
}

.ahk-fa-form-card .wpcf7 {
	transition: max-height .6s ease, opacity .42s ease, margin .6s ease;
}

.ahk-fa-form-card .wpcf7.is-closing {
	max-height: 0 !important;
	margin-top: 0;
	margin-bottom: 0;
	opacity: 0;
	overflow: hidden;
}

.ahk-fa-success {
	position: relative;
	display: flex;
	max-height: 0;
	min-height: 0;
	padding: 0 clamp(24px, 5vw, 72px);
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	background: radial-gradient(circle at 50% 10%, rgba(37, 144, 218, .16), transparent 45%);
	opacity: 0;
	overflow: hidden;
	transform: translateY(18px);
	transition: max-height .65s ease, min-height .65s ease, padding .65s ease, opacity .45s ease .12s, transform .45s ease .12s;
}

.ahk-fa-success.is-visible {
	max-height: 520px;
	min-height: 360px;
	padding-top: clamp(42px, 6vw, 76px);
	padding-bottom: clamp(42px, 6vw, 76px);
	opacity: 1;
	transform: translateY(0);
}

.ahk-fa-success__icon {
	display: inline-flex;
	width: 66px;
	height: 66px;
	margin-bottom: 22px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(91, 189, 247, .8);
	border-radius: 50%;
	background: linear-gradient(145deg, #27a4ec, #2d59d4);
	box-shadow: 0 16px 38px rgba(31, 125, 222, .32);
	color: #fff;
	font-size: 2rem;
	font-weight: 800;
}

.ahk-fa-success h2 {
	max-width: 650px;
	margin: 0;
	color: #fff;
	font-size: clamp(2rem, 3.5vw, 3.6rem);
	line-height: 1.05;
}

.ahk-fa-success > p:last-child {
	max-width: 580px;
	margin: 18px 0 0;
	color: #d7e0e6;
	font-size: clamp(1rem, 1.35vw, 1.2rem);
	line-height: 1.6;
}

.ahk-fa-next {
	padding: 44px 0 74px;
}

.ahk-fa-next .ahk-fa-container,
.ahk-fa-next .ahk-fa-next-inner {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 52px;
	align-items: center;
	padding: 40px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .09);
	border-top: 1px solid rgba(255, 255, 255, .09);
}

.ahk-fa-next h2 {
	font-size: clamp(1.65rem, 2.4vw, 2.25rem);
	white-space: nowrap;
}

.ahk-fa-next ol,
.ahk-fa-next-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 42px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ahk-fa-next li,
.ahk-fa-next-item {
	display: grid !important;
	grid-template-columns: 40px 1fr;
	gap: 13px;
	align-items: start;
	position: relative;
}

.ahk-fa-next li > span,
.ahk-fa-next-step {
	display: flex;
	width: 38px;
	height: 38px;
	margin: 0 !important;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: linear-gradient(145deg, #27a4ec, #2d59d4);
	box-shadow: 0 9px 24px rgba(31, 125, 222, .22);
	color: #fff;
	font-weight: 750;
}

.ahk-fa-next strong,
.ahk-fa-next h3 {
	display: block;
	margin: 0 0 6px;
	color: #fff;
	font-size: 1rem;
}

.ahk-fa-next p {
	margin: 0;
	color: var(--ahk-fa-muted);
	font-size: .88rem;
	line-height: 1.5;
}

.ahk-fa-next-grid > .wp-block-column {
	position: relative;
}

.ahk-fa-next-grid > .wp-block-column:not(:last-child)::after {
	position: absolute;
	top: 17px;
	right: -25px;
	width: 9px;
	height: 9px;
	border-top: 1px solid #42abed;
	border-right: 1px solid #42abed;
	content: "";
	transform: rotate(45deg);
}

.ahk-fa-admin-warning {
	padding: 16px;
	border: 1px solid #d63638;
	background: #fff;
	color: #1d2327;
}

@media (max-width: 900px) {
	.ahk-fa-page {
		width: calc(100% + 48px);
		margin-right: -24px !important;
		margin-left: -24px !important;
	}

	.ahk-fa-hero-grid {
		grid-template-columns: 1fr;
	}

	.ahk-fa-hero > .ahk-fa-hero-grid {
		padding-inline: 24px;
	}

	.ahk-fa-hero-copy {
		padding: 62px 0 40px;
	}

	.ahk-fa-hero-grid > .ahk-fa-hero-visual {
		width: calc(100% + 96px) !important;
		max-width: none !important;
		min-height: 380px;
		margin-right: -48px !important;
		margin-left: -48px !important;
		justify-self: stretch !important;
	}

	.ahk-fa-hero-visual figure,
	.ahk-fa-hero-visual .wp-block-image,
	.ahk-fa-hero-visual img {
		width: 100% !important;
		max-width: none !important;
	}

	.ahk-fa-hero-visual::before {
		display: none;
	}

	.ahk-fa-hero-visual img {
		filter: brightness(.92);
		-webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .08) 6%, rgba(0, 0, 0, .48) 18%, #000 34%, #000 100%);
		mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .08) 6%, rgba(0, 0, 0, .48) 18%, #000 34%, #000 100%);
	}

	.ahk-fa-next .ahk-fa-container,
	.ahk-fa-next .ahk-fa-next-inner {
		grid-template-columns: 1fr;
	}

	.ahk-fa-next h2 {
		white-space: normal;
	}
}

@media (max-width: 680px) {
	.ahk-fa-page {
		width: calc(100% + 48px);
		margin-right: -24px !important;
		margin-left: -24px !important;
	}

	.ahk-fa-container {
		width: min(100% - 30px, 1240px);
	}

	.ahk-fa-hero > .ahk-fa-hero-grid,
	.ahk-fa-form-area > .ahk-fa-section-heading,
	.ahk-fa-form-area > .ahk-fa-form-card,
	.ahk-fa-next > .ahk-fa-next-inner {
		width: calc(100% - 30px);
	}

	.ahk-fa-hero > .ahk-fa-hero-grid {
		width: 100% !important;
		padding-inline: 15px;
	}

	.ahk-fa-hero-copy {
		padding-top: 48px;
	}

	.ahk-fa-hero h1 {
		font-size: clamp(2.25rem, 11vw, 3.4rem);
	}

	.ahk-fa-lead {
		font-size: 1.55rem;
	}

	.ahk-fa-hero-grid > .ahk-fa-hero-visual {
		width: calc(100% + 78px) !important;
		min-height: 330px;
		margin-right: -39px !important;
		margin-left: -39px !important;
	}

	.ahk-fa-form-area {
		padding-top: 58px;
	}

	.ahk-fa-form-card {
		padding: 25px 17px;
		border-radius: 16px;
	}

	.ahk-fa-form-grid,
	.ahk-fa-field--checks .wpcf7-checkbox,
	.ahk-fa-next ol,
	.ahk-fa-next-grid {
		grid-template-columns: 1fr;
	}

	.ahk-fa-form-section legend {
		font-size: 1.25rem;
	}

	.ahk-fa-form-section legend span {
		width: 38px;
		height: 38px;
		margin-right: 10px;
	}

	.ahk-fa-next ol,
	.ahk-fa-next-grid {
		gap: 24px;
	}

	.ahk-fa-next-grid > .wp-block-column::after {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ahk-fa-page * {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
