/* =========================================================
   MOEBELFORMWERK - contact.css (Kontaktseite & Formular)
   ========================================================= */

.mfw-contact-grid {
	display: grid;
	gap: clamp(2.5rem, 6vw, 5rem);
	align-items: start;
}

@media (min-width: 940px) {
	.mfw-contact-grid {
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	}
}

/* ---------- Kontaktinformationen ---------- */
.mfw-contact-list {
	list-style: none;
	display: grid;
	gap: 1.8rem;
	margin-top: clamp(2rem, 4vw, 3rem);
}

.mfw-contact-list > li {
	border-top: 1px solid var(--mfw-line);
	padding-top: 1.1rem;
}

.mfw-contact-list__label {
	display: block;
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--mfw-muted);
	margin-bottom: 0.5rem;
}

.mfw-contact-list__value {
	font-family: var(--mfw-font-display);
	font-size: var(--mfw-step-1);
	line-height: 1.45;
	color: var(--mfw-ink);
}

.mfw-contact-list a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s var(--mfw-ease);
}

.mfw-contact-list a:hover {
	color: var(--mfw-gold);
}

/* ---------- Formular ---------- */
.mfw-form-panel {
	background: var(--mfw-white);
	border: 1px solid var(--mfw-line-soft);
	padding: clamp(1.5rem, 4vw, 3rem);
}

.mfw-form {
	display: grid;
	gap: 1.3rem;
}

.mfw-form__row {
	display: grid;
	gap: 1.3rem;
}

@media (min-width: 620px) {
	.mfw-form__row--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.mfw-field {
	display: grid;
	gap: 0.5rem;
}

.mfw-field label {
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--mfw-muted);
}

.mfw-field .mfw-required {
	color: var(--mfw-gold);
}

.mfw-field input,
.mfw-field select,
.mfw-field textarea {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	color: var(--mfw-ink);
	background: var(--mfw-ivory);
	border: 1px solid var(--mfw-line);
	border-radius: var(--mfw-radius);
	padding: 0.95rem 1.05rem;
	transition: border-color 0.3s var(--mfw-ease), background-color 0.3s var(--mfw-ease);
}

.mfw-field textarea {
	min-height: 170px;
	resize: vertical;
}

.mfw-field select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--mfw-muted) 50%),
		linear-gradient(135deg, var(--mfw-muted) 50%, transparent 50%);
	background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: 2.6rem;
}

.mfw-field input:focus,
.mfw-field select:focus,
.mfw-field textarea:focus {
	border-color: var(--mfw-gold);
	background: var(--mfw-white);
	outline: none;
}

.mfw-field.has-error input,
.mfw-field.has-error select,
.mfw-field.has-error textarea {
	border-color: #a3372c;
}

.mfw-field__error {
	font-size: 0.85rem;
	color: #a3372c;
	letter-spacing: 0;
	text-transform: none;
}

/* Checkbox */
.mfw-checkbox {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 0.9rem;
	align-items: start;
}

.mfw-checkbox input {
	width: 20px;
	height: 20px;
	margin-top: 3px;
	accent-color: var(--mfw-gold);
}

.mfw-checkbox label {
	font-size: 0.9rem;
	letter-spacing: 0;
	text-transform: none;
	color: var(--mfw-muted);
	line-height: 1.55;
}

.mfw-checkbox a {
	color: var(--mfw-ink);
	text-underline-offset: 3px;
}

/* Honeypot: fuer Menschen unsichtbar, fuer Bots erreichbar */
.mfw-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.mfw-form__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.4rem;
}

.mfw-form__note {
	font-size: 0.82rem;
	color: var(--mfw-muted);
}

/* Meldungen */
.mfw-notice {
	border-left: 2px solid var(--mfw-gold);
	background: var(--mfw-sand);
	padding: 1.1rem 1.3rem;
	margin-bottom: 1.8rem;
	font-size: 0.97rem;
}

.mfw-notice--success {
	border-left-color: #4a7a54;
}

.mfw-notice--error {
	border-left-color: #a3372c;
}

.mfw-notice strong {
	display: block;
	margin-bottom: 0.3rem;
	font-family: var(--mfw-font-display);
	font-size: var(--mfw-step-1);
	font-weight: 400;
}

.mfw-notice ul {
	margin: 0.6rem 0 0 1.1rem;
	list-style: disc;
}

/* Karte / Hinweisbox */
.mfw-contact-note {
	margin-top: clamp(2rem, 4vw, 3rem);
	padding-top: 1.4rem;
	border-top: 1px solid var(--mfw-line);
	font-size: 0.92rem;
	color: var(--mfw-muted);
}
