/**
 * Grünwerk Kontakt Modul
 * Bootstrap-5-/WPBakery-kompatibles Styling ohne Tailwind-Abhängigkeit.
 */

.maple-gruenwerk-kontakt {
	--mgk-bg: var(--color-emerald-500, #8d921b);
	--mgk-bg-dark: var(--color-emerald-900, #41460b);
	--mgk-field-bg: var(--color-emerald-800, #54590f);
	--mgk-accent: var(--color-emerald-400, #8d921b);
	--mgk-accent-light: var(--color-emerald-300, #cbd162);
	--mgk-white: var(--white, #fff);
	--mgk-zinc-700: var(--color-zinc-700, #3f3f46);
	--mgk-spacing-y: 6rem;
	position: relative;
	overflow: hidden;
	background: var(--mgk-bg);
	padding-top: var(--mgk-spacing-y);
	padding-bottom: var(--mgk-spacing-y);
}

.maple-gruenwerk-kontakt--spacing-compact { --mgk-spacing-y: 4rem; }
.maple-gruenwerk-kontakt--spacing-large { --mgk-spacing-y: 7.5rem; }

.maple-gruenwerk-kontakt__container {
	position: relative;
	z-index: 2;
}

.maple-gruenwerk-kontakt__grid {
	row-gap: 4rem;
}

.maple-gruenwerk-kontakt__label {
	display: inline-block;
	color: var(--mgk-accent-light);
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .16em;
	line-height: 1.2;
	margin-bottom: 1rem;
	text-transform: uppercase;
}

.maple-gruenwerk-kontakt__title {
	color: var(--mgk-white);
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: 1.05;
	margin: 0 0 1.5rem;
}

.maple-gruenwerk-kontakt__intro {
	color: var(--mgk-white);
	font-size: 1.125rem;
	line-height: 1.7;
	margin: 0 0 2.5rem;
	max-width: 40rem;
}

.maple-gruenwerk-kontakt__items {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.maple-gruenwerk-kontakt__item {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.maple-gruenwerk-kontakt__icon {
	align-items: center;
	background: color-mix(in srgb, var(--mgk-bg-dark) 72%, transparent);
	border-radius: .5rem;
	color: var(--mgk-white);
	display: inline-flex;
	flex: 0 0 3rem;
	height: 3rem;
	justify-content: center;
	width: 3rem;
}

.maple-gruenwerk-kontakt__icon svg {
	display: block;
	height: 1.5rem;
	width: 1.5rem;
}

.maple-gruenwerk-kontakt__item-label {
	color: var(--mgk-bg-dark);
	font-size: .875rem;
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: .125rem;
}

.maple-gruenwerk-kontakt__item-value,
.maple-gruenwerk-kontakt__item-value a {
	color: var(--mgk-white);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	transition: color .2s ease;
}

.maple-gruenwerk-kontakt__item-value a:hover,
.maple-gruenwerk-kontakt__item-value a:focus {
	color: var(--mgk-accent-light);
}

.maple-gruenwerk-kontakt__form-wrap {
	background: var(--mgk-bg-dark);
	border-radius: .5rem;
	padding: 2rem;
}

.maple-gruenwerk-kontakt__form-empty {
	border: 1px dashed rgba(255,255,255,.32);
	border-radius: .5rem;
	color: var(--mgk-white);
	font-weight: 600;
	padding: 1.5rem;
	text-align: center;
}

.maple-gruenwerk-kontakt__form-wrap .wpcf7,
.maple-gruenwerk-kontakt__form-wrap .wpcf7 form {
	margin: 0;
}

.maple-gruenwerk-kontakt__form-wrap .wpcf7 p {
	margin-bottom: 1.25rem;
}

.maple-gruenwerk-kontakt__form-wrap label {
	color: var(--mgk-white);
	display: block;
	font-size: .875rem;
	font-weight: 600;
	margin-bottom: .5rem;
}

.maple-gruenwerk-kontakt__form-wrap .wpcf7-form-control-wrap {
	display: block;
}

.maple-gruenwerk-kontakt__form-wrap input[type="text"],
.maple-gruenwerk-kontakt__form-wrap input[type="email"],
.maple-gruenwerk-kontakt__form-wrap input[type="tel"],
.maple-gruenwerk-kontakt__form-wrap input[type="url"],
.maple-gruenwerk-kontakt__form-wrap input[type="number"],
.maple-gruenwerk-kontakt__form-wrap input[type="date"],
.maple-gruenwerk-kontakt__form-wrap select,
.maple-gruenwerk-kontakt__form-wrap textarea {
	background: var(--mgk-field-bg);
	border: 1px solid color-mix(in srgb, var(--mgk-white) 20%, transparent);
	border-radius: .25rem;
	box-shadow: none;
	color: var(--mgk-white);
	display: block;
	font-size: 1rem;
	line-height: 1.5;
	padding: .875rem 1rem;
	transition: border-color .2s ease, box-shadow .2s ease;
	width: 100%;
}

.maple-gruenwerk-kontakt__form-wrap textarea {
	min-height: 9rem;
	resize: vertical;
}

.maple-gruenwerk-kontakt__form-wrap input::placeholder,
.maple-gruenwerk-kontakt__form-wrap textarea::placeholder {
	color: rgba(255,255,255,.78);
	opacity: 1;
}

.maple-gruenwerk-kontakt__form-wrap input:focus,
.maple-gruenwerk-kontakt__form-wrap select:focus,
.maple-gruenwerk-kontakt__form-wrap textarea:focus {
	border-color: var(--mgk-accent-light);
	box-shadow: 0 0 0 .2rem rgba(255,255,255,.12);
	outline: 0;
}

.maple-gruenwerk-kontakt__form-wrap select option {
	background: var(--mgk-field-bg);
	color: var(--mgk-white);
}

.maple-gruenwerk-kontakt__form-wrap input[type="submit"],
.maple-gruenwerk-kontakt__form-wrap button[type="submit"],
.maple-gruenwerk-kontakt__form-wrap .wpcf7-submit {
	background: var(--mgk-field-bg);
	border: 0;
	border-radius: .25rem;
	color: var(--mgk-white);
	cursor: pointer;
	display: inline-flex;
	font-size: 1rem;
	font-weight: 800;
	justify-content: center;
	line-height: 1.5;
	padding: 1rem 1.5rem;
	transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
	width: 100%;
}

.maple-gruenwerk-kontakt__form-wrap input[type="submit"]:hover,
.maple-gruenwerk-kontakt__form-wrap button[type="submit"]:hover,
.maple-gruenwerk-kontakt__form-wrap .wpcf7-submit:hover {
	background: var(--mgk-accent);
	box-shadow: 0 1rem 2rem rgba(0,0,0,.18);
	transform: translateY(-1px);
}

.maple-gruenwerk-kontakt__form-wrap .wpcf7-not-valid-tip {
	color: #fff3cd;
	font-size: .875rem;
	font-weight: 600;
	margin-top: .45rem;
}

.maple-gruenwerk-kontakt__form-wrap .wpcf7-response-output {
	border-color: rgba(255,255,255,.35) !important;
	border-radius: .25rem;
	color: var(--mgk-white);
	margin: 1.25rem 0 0 !important;
	padding: .875rem 1rem !important;
}

@supports not (background: color-mix(in srgb, #000 50%, transparent)) {
	.maple-gruenwerk-kontakt__icon { background: rgba(65,70,11,.5); }
	.maple-gruenwerk-kontakt__form-wrap input,
	.maple-gruenwerk-kontakt__form-wrap select,
	.maple-gruenwerk-kontakt__form-wrap textarea { border-color: rgba(255,255,255,.22); }
}

@media (max-width: 991.98px) {
	.maple-gruenwerk-kontakt {
		--mgk-spacing-y: 5rem;
	}
}

@media (max-width: 575.98px) {
	.maple-gruenwerk-kontakt {
		--mgk-spacing-y: 4rem;
	}
	.maple-gruenwerk-kontakt__form-wrap {
		padding: 1.25rem;
	}
	.maple-gruenwerk-kontakt__item {
		align-items: flex-start;
	}
}
