.kilf-wrap {
	--kilf-accent: #2563eb;
	--kilf-radius: 12px;
	background: #fff;
	border: 1px solid #f3f4f6;
	border-radius: 16px;
	padding: 2rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
	max-width: 520px;
	font-family: inherit;
	box-sizing: border-box;
}

.kilf-wrap *,
.kilf-wrap *::before,
.kilf-wrap *::after {
	box-sizing: border-box;
}

.kilf-headline {
	font-size: 1.25rem;
	font-weight: 700;
	color: #111827;
	margin: 0 0 .5rem;
	line-height: 1.3;
}

.kilf-subline {
	font-size: .875rem;
	color: #6b7280;
	margin: 0 0 1.75rem;
	line-height: 1.5;
}

.kilf-field {
	margin-bottom: 1.25rem;
}

.kilf-field label {
	display: block;
	font-size: .875rem;
	font-weight: 500;
	color: #374151;
	margin-bottom: .375rem;
}

.kilf-field input,
.kilf-field select {
	width: 100%;
	padding: .75rem 1rem;
	border: 1px solid #e5e7eb;
	border-radius: var(--kilf-radius);
	font-size: .875rem;
	font-family: inherit;
	color: #111827;
	background: #fff;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
}

.kilf-field input::placeholder {
	color: #9ca3af;
}

.kilf-field input:focus,
.kilf-field select:focus {
	border-color: var(--kilf-accent);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

.kilf-field select {
	appearance: none;
	background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 18px;
	padding-right: 2.5rem;
}

.kilf-consent {
	display: flex;
	align-items: flex-start;
	gap: .625rem;
	margin: 0 0 1.25rem;
}

.kilf-consent input {
	margin-top: .2rem;
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	accent-color: var(--kilf-accent);
}

.kilf-consent label {
	font-size: .75rem;
	color: #6b7280;
	line-height: 1.6;
}

.kilf-consent a {
	color: var(--kilf-accent);
	text-decoration: underline;
}

/* Honeypot: fuer Menschen unsichtbar, fuer Bots ausfuellbar. */
.kilf-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.kilf-error {
	font-size: .875rem;
	color: #b91c1c;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: var(--kilf-radius);
	padding: .75rem 1rem;
	margin: 0 0 1rem;
	line-height: 1.5;
}

.kilf-submit {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	background: var(--kilf-accent);
	color: #fff;
	border: none;
	border-radius: var(--kilf-radius);
	padding: 1rem 1.5rem;
	font-size: 1rem;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: filter .2s, box-shadow .2s;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.kilf-submit:hover:not(:disabled) {
	filter: brightness(.92);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.kilf-submit:disabled {
	opacity: .7;
	cursor: not-allowed;
}

.kilf-spinner {
	width: 1.125rem;
	height: 1.125rem;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: kilf-spin .7s linear infinite;
	flex-shrink: 0;
}

@keyframes kilf-spin {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.kilf-spinner { animation-duration: 2s; }
}

.kilf-success {
	text-align: center;
	padding: 2rem 0;
}

.kilf-check {
	width: 4rem;
	height: 4rem;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: #f0fdf4;
	color: #22c55e;
	display: flex;
	align-items: center;
	justify-content: center;
}

.kilf-check svg {
	width: 2rem;
	height: 2rem;
}

.kilf-success h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #111827;
	margin: 0 0 .5rem;
}

.kilf-success p {
	font-size: .875rem;
	color: #4b5563;
	margin: 0;
	line-height: 1.6;
}

@media (max-width: 480px) {
	.kilf-wrap {
		padding: 1.5rem;
	}
}
