/* PIXELCODE Kontaktformular – Standardstil (alles über Elementor überschreibbar) */
.pckf-wrap { width: 100%; }

.pckf-heading {
	margin: 0 0 40px;
	text-align: center;
	color: #9a9a9a;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1.4;
}

.pckf-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 12px;
	row-gap: 22px;
}

.pckf-full { grid-column: 1 / -1; }
.pckf-half { grid-column: span 1; }

.pckf-field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }

.pckf-label {
	color: #ffffff;
	font-size: 17px;
	line-height: 1.3;
}

.pckf-input {
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 16px 22px;
	background: #ffffff;
	color: #333333;
	border: 1px solid #c8c8c8;
	border-radius: 0;
	font: inherit;
	font-size: 17px;
	line-height: 1.4;
	transition: border-color .15s ease, box-shadow .15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.pckf-input:focus {
	outline: none;
	border-color: #861a49;
	box-shadow: 0 0 0 2px #861a4933;
}

textarea.pckf-input { min-height: 160px; resize: vertical; }

.pckf-select { position: relative; }
.pckf-select select.pckf-input { padding-right: 48px; cursor: pointer; }
.pckf-select::after {
	content: "";
	position: absolute;
	right: 20px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid #666;
	border-bottom: 2px solid #666;
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

.pckf-input.is-invalid { border-color: #e5484d; box-shadow: 0 0 0 2px #e5484d33; }

.pckf-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
}
.pckf-consent input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 5px 0 0;
	accent-color: #2f7de1;
	cursor: pointer;
}
.pckf-consent-text {
	color: #ffffff;
	font-size: 17px;
	line-height: 1.75;
}
.pckf-consent-text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.pckf-consent.is-invalid .pckf-consent-text { text-decoration: underline wavy #e5484d; text-underline-offset: 4px; }

.pckf-submit {
	display: block;
	width: 100%;
	padding: 16px 24px;
	background: #861a49;
	color: #ffffff;
	border: 0;
	border-radius: 2px;
	font: inherit;
	font-size: 19px;
	cursor: pointer;
	transition: background-color .2s ease, opacity .2s ease;
}
.pckf-submit:hover, .pckf-submit:focus-visible { background: #a12259; }
.pckf-submit:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pckf-submit[disabled] { opacity: .65; cursor: progress; }

.pckf-message {
	padding: 14px 18px;
	border: 1px solid currentColor;
	font-size: 16px;
	line-height: 1.5;
}
.pckf-message.is-success { color: #46c37b; }
.pckf-message.is-error { color: #ff6b6b; }

/* Honeypot */
.pckf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 767px) {
	.pckf-form { grid-template-columns: 1fr; row-gap: 18px; }
	.pckf-half { grid-column: 1 / -1; }
	.pckf-spacer { display: none; }
	.pckf-label, .pckf-input, .pckf-consent-text { font-size: 16px; } /* 16px verhindert iOS-Zoom */
}
