/* unkreativ Kontaktformular – Look aus Slide 1a
 * Alle Regeln sind auf .ukf-card gescoped, um Theme-Konflikte zu vermeiden.
 */

.ukf-card {
	--ukf-ink: #333a45;
	--ukf-ink-soft: #7d8595;
	--ukf-label: #9aa3b5;
	--ukf-accent: #5a739e;
	--ukf-budget-ink: #5f677a;
	--ukf-line: rgba(51, 58, 69, 0.16);
	--ukf-chip-line: rgba(51, 58, 69, 0.18);
	--ukf-field-bg: #ffffff;
	--ukf-paper: #fdfdfc;

	box-sizing: border-box;
	width: 100%;
	max-width: 472px;
	margin: 0 auto;
	padding: 30px 32px;
	background: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 22px;
	box-shadow: 0 12px 40px rgba(51, 58, 69, 0.1);
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--ukf-ink);
	-webkit-font-smoothing: antialiased;
	text-align: left;
}

.ukf-card *,
.ukf-card *::before,
.ukf-card *::after {
	box-sizing: border-box;
}

/* --- Formular-Layout --- */
.ukf-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
}

.ukf-head {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ukf-title {
	font-family: "Taviraj", Georgia, "Times New Roman", serif;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.15;
	color: var(--ukf-ink);
}

.ukf-subtitle {
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--ukf-ink-soft);
}

/* --- Chips --- */
.ukf-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ukf-chip {
	font-family: "Montserrat", sans-serif;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1;
	padding: 8px 15px;
	border-radius: 999px;
	border: 1px solid var(--ukf-chip-line);
	background: #ffffff;
	color: var(--ukf-ink);
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

.ukf-chip:hover {
	transform: translateY(-1px);
}

.ukf-chip:focus-visible {
	outline: 2px solid var(--ukf-accent);
	outline-offset: 2px;
}

.ukf-chip.is-active {
	background: var(--ukf-ink);
	border-color: var(--ukf-ink);
	color: var(--ukf-paper);
}

/* Budget-Bereich */
.ukf-budget {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.ukf-label {
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 1.2px;
	color: var(--ukf-label);
}

.ukf-budgets {
	gap: 7px;
}

.ukf-chip--budget {
	font-size: 11.5px;
	font-weight: 500;
	padding: 6px 12px;
	color: var(--ukf-budget-ink);
}

.ukf-chip--budget.is-active {
	background: var(--ukf-accent);
	border-color: var(--ukf-accent);
	color: var(--ukf-paper);
}

/* --- Eingabefelder --- */
.ukf-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.ukf-input {
	font-family: "Montserrat", sans-serif;
	font-size: 13.5px;
	width: 100%;
	padding: 11px 14px;
	border-radius: 11px;
	border: 1px solid var(--ukf-line);
	background: var(--ukf-field-bg);
	color: var(--ukf-ink);
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.ukf-input::placeholder {
	color: #9aa3b5;
	opacity: 1;
}

.ukf-input:focus {
	border-color: var(--ukf-accent);
	box-shadow: 0 0 0 3px rgba(90, 115, 158, 0.14);
}

.ukf-input--full {
	grid-column: 1 / -1;
}

.ukf-textarea {
	resize: vertical;
	min-height: 92px;
}

/* Honeypot verstecken – für Menschen unsichtbar. */
.ukf-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Fehlermeldung */
.ukf-error {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: #b3384a;
}

/* --- Absende-Button --- */
.ukf-submit {
	font-family: "Taviraj", Georgia, serif;
	font-size: 17px;
	font-weight: 500;
	padding: 13px;
	border: none;
	border-radius: 13px;
	background: var(--ukf-ink);
	color: var(--ukf-paper);
	cursor: pointer;
	transition: background 0.25s, transform 0.2s;
}

.ukf-submit:hover:not(:disabled) {
	background: var(--ukf-accent);
	transform: translateY(-2px);
}

.ukf-submit:focus-visible {
	outline: 2px solid var(--ukf-accent);
	outline-offset: 2px;
}

.ukf-submit:disabled {
	opacity: 0.6;
	cursor: default;
}

/* --- Erfolgs-Ansicht --- */
.ukf-success {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 48px 8px;
	text-align: center;
}

.ukf-smiley {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #f8c73e;
	box-shadow: inset -3px -5px 0 rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
}

.ukf-smiley-eyes {
	display: flex;
	gap: 13px;
	margin-top: 4px;
}

.ukf-smiley-eyes i {
	width: 7px;
	height: 10px;
	background: #6b5320;
	border-radius: 3px;
}

.ukf-smiley-mouth {
	width: 26px;
	height: 14px;
	background: #6b5320;
	border-radius: 0 0 26px 26px;
}

.ukf-success-title {
	font-family: "Taviraj", Georgia, serif;
	font-size: 26px;
	font-weight: 500;
	color: var(--ukf-ink);
}

.ukf-success-text {
	font-size: 13px;
	line-height: 1.6;
	color: var(--ukf-ink-soft);
	max-width: 300px;
}

.ukf-reset {
	font-size: 12px;
	color: var(--ukf-accent);
	cursor: pointer;
	text-decoration: underline;
}

.ukf-reset:focus-visible {
	outline: 2px solid var(--ukf-accent);
	outline-offset: 2px;
}

/* --- Mobil --- */
@media (max-width: 480px) {
	.ukf-card {
		padding: 24px 20px;
		border-radius: 18px;
	}

	.ukf-title {
		font-size: 24px;
	}

	.ukf-grid {
		grid-template-columns: 1fr;
	}
}
