.gg-cf7-multistep {
	--gg-cf7-min-height: 844px;
	--gg-cf7-overlay-bg: rgba(0, 0, 0, 0.42);
	--gg-cf7-card-bg: var(--weissgrau, #f7f7f7);
	--gg-cf7-card-border: var(--white, #ffffff);
	--gg-cf7-text-color: currentColor;
	--gg-cf7-muted-color: #8d949e;
	--gg-cf7-divider-color: #caccd0;
	--gg-cf7-button-bg: var(--dunkelgrau, #000000);
	--gg-cf7-button-color: var(--white, #ffffff);
	--gg-cf7-radius-card: 15px;
	--gg-cf7-radius-button: 5px;
	--gg-cf7-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
	--gg-cf7-title-size: 20px;
	--gg-cf7-copy-size: 14px;
	--gg-cf7-field-size: 20px;
	--gg-cf7-label-size: 14px;
	--gg-cf7-button-size: 14px;
	position: relative;
	min-height: 0;
	font-family: inherit;
	color: var(--gg-cf7-text-color);
}

.gg-cf7-multistep__overlay {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	background: var(--gg-cf7-overlay-bg);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.gg-cf7-multistep__intro-card,
.gg-cf7-multistep__form-shell .wpcf7 form {
	position: fixed;
	z-index: 2147483001;
	left: auto;
	right: 20px;
	bottom: 20px;
	width: min(350px, calc(100% - 40px));
	max-width: calc(100% - 40px);
	margin: 0;
	padding: 30px 20px 20px;
	border: 1px solid var(--gg-cf7-card-border);
	border-radius: var(--gg-cf7-radius-card);
	background: var(--gg-cf7-card-bg);
	box-shadow: var(--gg-cf7-shadow);
}

.gg-cf7-multistep__intro-card {
	position: fixed;
	opacity: 0;
	pointer-events: none;
	transform: translateY(16px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.gg-cf7-multistep.is-scroll-eligible .gg-cf7-multistep__intro-card,
.gg-cf7-multistep.is-form-active .gg-cf7-multistep__intro-card {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.gg-cf7-multistep__form-shell .wpcf7 {
	margin: 0;
}

.gg-cf7-multistep button.gg-cf7-multistep__close {
	position: absolute;
	top: 4px;
	right: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font-family: inherit !important;
	font-weight: 400 !important;
	font-style: normal !important;
	font-size: 14px !important;
	line-height: 1;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, background-color 0.2s ease;
}

.gg-cf7-multistep.is-close-eligible .gg-cf7-multistep__close {
	opacity: 0.55;
	pointer-events: auto;
}

.gg-cf7-multistep__close:hover {
	opacity: 1;
	background: rgba(0, 0, 0, 0.04);
}

.gg-cf7-multistep button.gg-cf7-multistep__reopen {
	position: fixed;
	z-index: 2147483001;
	right: 20px;
	bottom: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 18px;
	border: 0;
	border-radius: var(--gg-cf7-radius-button);
	background: var(--gg-cf7-button-bg);
	color: var(--gg-cf7-button-color);
	box-shadow: var(--gg-cf7-shadow);
	font-family: inherit !important;
	font-size: var(--gg-cf7-button-size) !important;
	font-weight: 700 !important;
	font-style: normal !important;
	line-height: 1.2;
	text-transform: none !important;
	letter-spacing: 0 !important;
	opacity: 0;
	pointer-events: none;
	transform: translateY(16px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	cursor: pointer;
}

.gg-cf7-multistep.is-dismissed.is-scroll-eligible .gg-cf7-multistep__reopen {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.gg-cf7-multistep.is-dismissed .gg-cf7-multistep__intro-card {
	opacity: 0;
	pointer-events: none;
	transform: translateY(16px);
}

.gg-cf7-multistep__form-shell .wpcf7 form {
	max-height: 70vh;
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 16px;
	scroll-padding-top: 15px;
	scroll-padding-bottom: 15px;
	scrollbar-width: thin;
	scrollbar-color: rgba(0, 0, 0, 0.28) transparent;
}

.gg-cf7-multistep__form-shell .wpcf7 form::-webkit-scrollbar {
	width: 10px;
}

.gg-cf7-multistep__form-shell .wpcf7 form::-webkit-scrollbar-track {
	margin-block: 15px;
	background: transparent;
}

.gg-cf7-multistep__form-shell .wpcf7 form::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.22);
	border: 3px solid transparent;
	border-radius: 999px;
	background-clip: padding-box;
}

.gg-cf7-multistep__form-shell .wpcf7 form::-webkit-scrollbar-thumb:hover {
	background: rgba(0, 0, 0, 0.34);
	border: 3px solid transparent;
	background-clip: padding-box;
}

.gg-cf7-multistep__form-shell[hidden] {
	display: none !important;
}

.gg-cf7-multistep__intro-title,
.gg-cf7-step__title {
	margin: 0 0 24px;
	font-family: inherit;
	font-size: var(--gg-cf7-title-size);
	font-weight: 700;
	line-height: 1.15;
	color: inherit;
	letter-spacing: 0;
}

.gg-cf7-multistep__intro-text p,
.gg-cf7-step__text,
.gg-cf7-step__text p {
	margin: 0;
	font-family: inherit;
	font-size: var(--gg-cf7-copy-size);
	font-weight: 400;
	line-height: 1.65;
	color: inherit;
	letter-spacing: 0;
}

.gg-cf7-step {
	display: none;
}

.gg-cf7-step.is-active {
	display: block;
}

.gg-cf7-step > p,
.gg-cf7-step__fields > p,
.gg-cf7-step__acceptance > p {
	margin: 0;
}

.gg-cf7-step__fields {
	display: grid;
	gap: 32px;
	margin-top: 32px;
}

.gg-cf7-field {
	display: block;
}

.gg-cf7-field__label {
	display: block;
	margin: 0 0 23px;
	font-family: inherit;
	font-size: var(--gg-cf7-label-size);
	font-weight: 700;
	line-height: 1.2;
	color: var(--gg-cf7-muted-color);
	letter-spacing: 0;
}

.gg-cf7-multistep .gg-cf7-field br,
.gg-cf7-multistep .gg-cf7-step > p > br,
.gg-cf7-multistep .gg-cf7-step__text > br,
.gg-cf7-multistep .gg-cf7-step__acceptance > p > br {
	display: none;
}

.gg-cf7-multistep .wpcf7-form-control-wrap {
	display: block;
}

.gg-cf7-multistep .wpcf7-form-control-wrap .wpcf7-form-control {
	margin-bottom: 0;
}

.gg-cf7-multistep .wpcf7-spinner {
	display: none;
	margin: 0;
	width: 0;
	min-width: 0;
	height: 0;
	min-height: 0;
	overflow: hidden;
}

.gg-cf7-multistep input[type="text"],
.gg-cf7-multistep input[type="email"],
.gg-cf7-multistep input[type="tel"],
.gg-cf7-multistep textarea,
.gg-cf7-multistep select {
	width: 100%;
	margin: 0;
	padding: 0 0 11px;
	border: 0;
	border-bottom: 1px solid var(--gg-cf7-divider-color);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-family: inherit;
	font-size: var(--gg-cf7-field-size);
	font-weight: 700;
	line-height: 1.3;
	color: inherit;
}

.gg-cf7-multistep input::placeholder,
.gg-cf7-multistep textarea::placeholder {
	color: var(--gg-cf7-muted-color);
	opacity: 1;
}

.gg-cf7-multistep input:focus,
.gg-cf7-multistep textarea:focus,
.gg-cf7-multistep select:focus {
	outline: none;
	border-bottom-color: currentColor;
}

.gg-cf7-multistep__button,
.gg-cf7-multistep button[type="submit"],
.gg-cf7-multistep input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	margin: 34px 0 0;
	padding: 12px 18px;
	border: 0;
	border-radius: var(--gg-cf7-radius-button);
	background: var(--gg-cf7-button-bg);
	color: var(--gg-cf7-button-color);
	font-family: inherit;
	font-size: var(--gg-cf7-button-size) !important;
	font-weight: 700 !important;
	line-height: 1.2;
	text-align: center;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.gg-cf7-multistep__button:hover,
.gg-cf7-multistep button[type="submit"]:hover,
.gg-cf7-multistep input[type="submit"]:hover {
	opacity: 0.92;
	transform: translateY(-1px);
}

.gg-cf7-multistep.is-form-active .gg-cf7-multistep__overlay {
	opacity: 1;
	pointer-events: auto;
}

.gg-cf7-multistep.is-form-active .gg-cf7-multistep__intro-card {
	opacity: 0;
	pointer-events: none;
}

.gg-cf7-multistep.is-form-active .gg-cf7-multistep__reopen {
	opacity: 0;
	pointer-events: none;
}

.gg-cf7-step__acceptance {
	margin-top: 24px;
}

.gg-cf7-step__acceptance input[type="checkbox"] {
	width: auto;
	margin: 0 10px 0 0;
	padding: 0;
	border: 0;
}

.gg-cf7-step__acceptance .wpcf7-list-item {
	margin: 0;
}

.gg-cf7-step__acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.gg-cf7-step__acceptance .wpcf7-list-item-label {
	font-family: inherit;
	font-size: var(--gg-cf7-copy-size);
	font-weight: 400;
	line-height: 1.65;
	color: inherit;
}

.gg-cf7-step__acceptance a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.gg-cf7-multistep .wpcf7-not-valid-tip,
.gg-cf7-multistep .wpcf7-response-output {
	margin: 12px 0 0;
	font-family: inherit;
	font-size: 12px;
	line-height: 1.5;
}

.gg-cf7-multistep .wpcf7-response-output {
	display: none;
	padding: 0;
	border: 0;
	background: transparent;
}

.gg-cf7-multistep .wpcf7 form.sent .wpcf7-response-output,
.gg-cf7-multistep .wpcf7 form.invalid .wpcf7-response-output,
.gg-cf7-multistep .wpcf7 form.unaccepted .wpcf7-response-output,
.gg-cf7-multistep .wpcf7 form.failed .wpcf7-response-output,
.gg-cf7-multistep .wpcf7 form.aborted .wpcf7-response-output,
.gg-cf7-multistep .wpcf7 form.spam .wpcf7-response-output {
	display: block;
}

.gg-cf7-multistep .wpcf7 form.sent .wpcf7-response-output {
	color: inherit;
}

@media (max-width: 767px) {
	.gg-cf7-multistep__intro-card,
	.gg-cf7-multistep__form-shell .wpcf7 form,
	.gg-cf7-multistep__reopen {
		left: 20px;
		right: 20px;
		bottom: 20px;
		width: auto;
		max-width: none;
	}

	.gg-cf7-multistep__intro-card,
	.gg-cf7-multistep__form-shell .wpcf7 form {
		padding: 30px 20px 20px;
	}

	.gg-cf7-multistep__form-shell .wpcf7 form {
		max-height: 70svh;
	}

	.gg-cf7-step__fields {
		gap: 32px;
		margin-top: 32px;
	}
}


/* Custom CSS für Kunden */


/* M-Studio */
body.grve-open-safebutton-area .gg-cf7-multistep__overlay {
	z-index: 8;
}

body.grve-open-safebutton-area .gg-cf7-multistep__intro-card,
body.grve-open-safebutton-area .gg-cf7-multistep__form-shell .wpcf7 form {
	z-index: 9;
}
