.hypershapeforms-form {
	max-width: 1080px;
	margin: 0 auto 2rem;
	color: #222;
	font-size: 15px;
	line-height: 1.4;
}

body:has(.hypershapeforms-form) .wp-block-post-title,
body:has(.hypershapeforms-form) .entry-title {
	display: none;
}

.hypershapeforms-card {
	background: #e9e9e9;
	padding: 1.4rem 1.6rem 1.5rem;
	margin: 0 0 1.15rem;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.hypershapeforms-card__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 0.85rem 1rem;
	align-items: start;
}

.hypershapeforms-card__grid--columns,
.hypershapeforms-card__columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 3rem;
	align-items: start;
}

.hypershapeforms-card__column {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	min-width: 0;
}

.hypershapeforms-break {
	text-align: center;
	color: #777;
	margin: 0.15rem 0 1rem;
}

.hypershapeforms-field--span-1 { grid-column: span 1; }
.hypershapeforms-field--span-2 { grid-column: span 2; }
.hypershapeforms-field--span-3 { grid-column: span 3; }
.hypershapeforms-field--span-4 { grid-column: span 4; }
.hypershapeforms-field--span-5 { grid-column: span 5; }
.hypershapeforms-field--span-6 { grid-column: span 6; }
.hypershapeforms-field--span-7 { grid-column: span 7; }
.hypershapeforms-field--span-8 { grid-column: span 8; }
.hypershapeforms-field--span-9 { grid-column: span 9; }
.hypershapeforms-field--span-10 { grid-column: span 10; }
.hypershapeforms-field--span-11 { grid-column: span 11; }
.hypershapeforms-field--span-12,
.hypershapeforms-html,
.hypershapeforms-heading {
	grid-column: span 12;
}

.hypershapeforms-card__grid--columns > .hypershapeforms-field--col-1 {
	grid-column: 1;
}

.hypershapeforms-card__grid--columns > .hypershapeforms-field--col-2 {
	grid-column: 2;
}

.hypershapeforms-field__label {
	display: block;
	font-weight: 600;
	font-size: calc(0.95rem - 2px);
	color: #3f4b5b;
	margin-bottom: 0.35rem;
}

.hypershapeforms-field .required {
	color: #c0392b;
	margin-left: 0.25em;
}

.hypershapeforms-field__label--mark .required {
	margin-left: 0;
}

.hypershapeforms-field input,
.hypershapeforms-field select,
.hypershapeforms-field textarea {
	width: 100%;
	min-height: 38px;
	padding: 0.45rem 0.65rem;
	border: 1px solid #dedede;
	border-radius: 2px;
	background: #fff;
	color: #222;
	font: inherit;
	box-sizing: border-box;
}

.hypershapeforms-field textarea {
	min-height: 7.5rem;
	resize: vertical;
}

.hypershapeforms-field select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height: 38px;
	padding-right: 2rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0h8L4 5z' fill='%23666'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.7rem center;
	background-size: 8px 5px;
	line-height: 1.4;
	cursor: pointer;
}

.hypershapeforms-field select::-ms-expand {
	display: none;
}

.hypershapeforms-html h2,
.hypershapeforms-heading {
	font-size: calc(1.45rem - 1px);
	font-weight: 700;
	margin: 0 0 0.9rem;
	color: #111;
}

.hypershapeforms-form[data-form-id="kontraindikatoren"] .hypershapeforms-html:has(> h2) {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.hypershapeforms-form[data-form-id="kontraindikatoren"] .hypershapeforms-html:has(> h2) h2 {
	flex: 1 1 auto;
	margin-bottom: 0.9rem;
}

.hypershapeforms-section-reset {
	display: none;
	flex: 0 0 auto;
	margin-top: 2px;
	background: #ff4b1f;
	color: #fff;
	border: 0;
	border-radius: 2px;
	padding: 6px 15px 7px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
}

.hypershapeforms-section-reset.is-visible {
	display: inline-block;
}

.hypershapeforms-html h3 {
	font-size: 16px;
	font-weight: 700;
	margin: 0.85rem 0 0.35rem;
	color: #111;
	line-height: 1.3;
}

.hypershapeforms-html h4 {
	font-size: 13px;
	font-weight: 400;
	margin: calc(0.1rem - 5px) 0 0.35rem;
	line-height: 1.35;
}

.hypershapeforms-html strong {
	font-size: calc(1em - 1px);
	font-weight: 700;
	color: #333333;
}

.hypershapeforms-html p {
	margin: 0 0 0.75rem;
	font-size: calc(1em - 2px);
	color: #666666;
	line-height: 1.55;
}

.hypershapeforms-html p strong {
	color: #222;
	font-size: 15px;
}

.hypershapeforms-html[data-field="bank_details_infos"] {
	margin-top: 0.35rem;
}

.hypershapeforms-html[data-field="ayy7w"] {
	margin-top: calc(30px - 0.85rem);
}

.hypershapeforms-form[data-form-id="registrierung"] .hypershapeforms-card:has([data-field="agb_hypershape"]) {
	background: transparent;
	padding: 0;
	margin-top: 70px;
}

.hypershapeforms-html[data-field="agb_hypershape"] {
	color: #000;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
}

.hypershapeforms-html[data-field="agb_hypershape"] h2 {
	margin: 0 0 0.6em;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
	color: #000;
}

.hypershapeforms-html[data-field="agb_hypershape"] h3 {
	margin: 1.5em 0 0.7em;
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.3;
	color: #000;
}

.hypershapeforms-html[data-field="agb_hypershape"] h2 + h3 {
	margin-top: 0;
}

.hypershapeforms-html[data-field="agb_hypershape"] p {
	margin: 0 0 1.35em;
	font-size: 16px;
	font-weight: 400;
	color: #000;
	line-height: 1.7;
}

.hypershapeforms-html[data-field="agb_hypershape"] a {
	color: #0000ee;
	text-decoration: underline;
}

.hypershapeforms-html[data-field="bank_details_infos"] p {
	margin: 0;
	font-size: 14px;
	color: #666666;
	line-height: 1.45;
}

.hypershapeforms-html[data-field="bank_details_infos"] p strong {
	display: inline-block;
	margin-top: 10px;
	margin-bottom: 18px;
	font-size: 14px;
	font-weight: 700;
	color: #666666;
}

.hypershapeforms-html p.hypershapeforms-center {
	text-align: center;
	margin-top: 1.4rem;
	margin-bottom: 0.25rem;
}

.hypershapeforms-input-group {
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid #dedede;
	border-radius: 2px;
	min-height: 38px;
	box-sizing: border-box;
}

.hypershapeforms-input-group__prepend {
	padding: 0 0.15rem 0 0.65rem;
	color: #222;
	white-space: nowrap;
}

.hypershapeforms-field .hypershapeforms-input-group input {
	border: 0;
	background: transparent;
	min-height: 36px;
	width: auto;
	flex: 1 1 auto;
	padding-left: 0.25rem;
}

.hypershapeforms-signature__image {
	display: block;
	width: 100%;
	height: 118px;
	object-fit: contain;
	background: #fff;
}

.hypershapeforms-signature__pad {
	position: relative;
	height: 118px;
	background: #fff;
	border: 1px solid #dedede;
	border-radius: 2px;
	overflow: hidden;
}

.hypershapeforms-signature__canvas {
	display: block;
	width: 100%;
	height: 100%;
	touch-action: none;
	cursor: crosshair;
}

.hypershapeforms-field .hypershapeforms-signature__typed {
	position: absolute;
	left: 12px;
	right: 58px;
	top: 8px;
	bottom: 32px;
	width: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: #fff;
	font-family: "Segoe Script", "Brush Script MT", cursive;
	font-size: 28px;
	line-height: 1.2;
	color: #1a1a1a;
}

.hypershapeforms-signature__modes {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-58%);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.hypershapeforms-signature__mode {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	padding: 0;
	display: grid;
	place-items: center;
	background: #f3f3f3;
	color: #b5b5b5;
	cursor: pointer;
}

.hypershapeforms-signature__mode.is-active {
	background: #ff4b1f;
	color: #fff;
}

.hypershapeforms-signature__clear {
	position: absolute;
	left: 12px;
	bottom: 8px;
	border: 0;
	background: transparent;
	padding: 0;
	color: #ff4b1f;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
}

.hypershapeforms-html .inline-header-content {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin-bottom: 0.85rem;
}

.hypershapeforms-html .inline-header-content h2 {
	margin: 0;
	font-size: 1.35rem;
}

.hypershapeforms-html .inline-header-content span {
	color: #6b6b6b;
	font-size: 14px;
}

.hypershapeforms-choices {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.hypershapeforms-choices--inline {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.35rem 1.35rem;
}

.hypershapeforms-field .hypershapeforms-choices label {
	font-weight: 400;
	font-size: calc(1em - 1px);
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	color: #3f4b5b;
}

.hypershapeforms-field input[type="radio"],
.hypershapeforms-field input[type="checkbox"] {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	min-height: 0;
	margin: 1px 0 0;
	padding: 0;
	accent-color: #ff4b1f;
	cursor: pointer;
}

.hypershapeforms-field--buttons .hypershapeforms-choices {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.hypershapeforms-field--buttons:not(.hypershapeforms-field--label-left):not(.hypershapeforms-field--label-right) .hypershapeforms-choices label {
	flex: 1 1 0;
	justify-content: center;
	text-align: center;
}

.hypershapeforms-field--buttons .hypershapeforms-choices--compact {
	justify-content: flex-start;
}

.hypershapeforms-field--buttons:not(.hypershapeforms-field--label-left):not(.hypershapeforms-field--label-right) .hypershapeforms-choices--compact label {
	flex: 0 0 2.55rem;
	width: 2.55rem;
	min-width: 2.55rem;
	padding-left: 0;
	padding-right: 0;
}

.hypershapeforms-field--buttons .hypershapeforms-choices label {
	position: relative;
	margin: 0;
	padding: calc(0.48rem - 2px) 0.85rem;
	background: #fff;
	border: 1px solid #e3e3e3;
	color: #4a4a4a;
	font-weight: 600;
	font-size: calc(0.86rem - 2px);
	line-height: 1.2;
	cursor: pointer;
	align-items: center;
}

.hypershapeforms-field--buttons .hypershapeforms-choices input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	pointer-events: none;
}

.hypershapeforms-field--buttons .hypershapeforms-choices label:hover {
	border-color: #ff4b1f;
}

.hypershapeforms-field--buttons .hypershapeforms-choices label:has(input:checked) {
	background: #ff4b1f;
	border-color: #ff4b1f;
	color: #fff;
}

.hypershapeforms-field--buttons .hypershapeforms-choices label:has(input:focus-visible) {
	outline: 2px solid #222;
	outline-offset: 2px;
}

.hypershapeforms-field--label-left,
.hypershapeforms-field--label-right {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.hypershapeforms-field--label-left,
.hypershapeforms-field--label-right {
	flex-wrap: wrap;
	min-width: 0;
}

.hypershapeforms-field--label-left {
	align-items: flex-start;
}

.hypershapeforms-field--label-left > .hypershapeforms-field__label,
.hypershapeforms-field--label-right > .hypershapeforms-field__label {
	margin: 0;
	flex: 1 1 0;
	min-width: 0;
	overflow-wrap: break-word;
	font-size: calc(0.95rem - 3px);
	font-weight: 400;
	color: #666666;
	line-height: 1.35;
}

.hypershapeforms-field--label-left > .hypershapeforms-field__label {
	flex: 0 0 calc(9.5rem - 40px);
	width: calc(9.5rem - 40px);
	padding-top: 0.5rem;
}

.hypershapeforms-field--label-right > .hypershapeforms-field__label {
	order: 2;
}

.hypershapeforms-field--label-right > .hypershapeforms-field__description,
.hypershapeforms-field--label-right > .hypershapeforms-field__error {
	order: 3;
}

.hypershapeforms-field--buttons.hypershapeforms-field--label-right > .hypershapeforms-field__label {
	font-weight: 700;
}

.hypershapeforms-field--label-left .hypershapeforms-choices,
.hypershapeforms-field--label-right .hypershapeforms-choices {
	flex: 0 0 auto;
}

.hypershapeforms-field--label-right.hypershapeforms-field--buttons .hypershapeforms-choices {
	flex-wrap: nowrap;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 4.6rem;
}

.hypershapeforms-field--label-left.hypershapeforms-field--buttons .hypershapeforms-choices {
	display: flex;
	flex: 1 1 0;
	flex-flow: row wrap;
	gap: 0.4rem;
	min-width: 0;
	max-width: 100%;
}

.hypershapeforms-field--label-right.hypershapeforms-field--buttons .hypershapeforms-choices label {
	width: 4.6rem;
	box-sizing: border-box;
	justify-content: center;
	text-align: center;
}

.hypershapeforms-field--label-left.hypershapeforms-field--buttons .hypershapeforms-choices label {
	width: auto;
	padding: calc(0.48rem - 2px) 1rem;
	font-size: 12px;
	font-weight: 400;
	white-space: nowrap;
	justify-content: center;
	text-align: center;
}

.hypershapeforms-field__description {
	margin-top: 0.35rem;
	color: #555;
	font-size: 0.85rem;
}

.hypershapeforms-field--label-left .hypershapeforms-field__description,
.hypershapeforms-field--label-right .hypershapeforms-field__description,
.hypershapeforms-field--label-left .hypershapeforms-field__error,
.hypershapeforms-field--label-right .hypershapeforms-field__error {
	flex: 1 0 100%;
}

.hypershapeforms-field--label-left .hypershapeforms-field__description {
	width: 100%;
	margin-left: 0;
	margin-top: 0.15rem;
	padding-left: calc(9.5rem - 40px + 0.85rem);
	box-sizing: border-box;
	color: #777;
	font-size: 13px;
	white-space: normal;
}

.hypershapeforms-field[data-field="bindung"] .hypershapeforms-field__description {
	margin-top: -0.85rem;
}

.hypershapeforms-field--total {
	align-self: center;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: nowrap;
	gap: 0.35rem;
	min-width: 12.5rem;
}

.hypershapeforms-field--total > .hypershapeforms-field__label {
	flex: 0 0 auto;
	width: auto;
	padding-top: 0;
	font-weight: 700;
	color: #3f4b5b;
	font-size: 12px;
	white-space: nowrap;
}

.hypershapeforms-field--total input {
	width: auto;
	min-width: 3.2rem;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #3f4b5b;
	font-weight: 700;
	font-size: 12px;
	white-space: nowrap;
	pointer-events: none;
}

.hypershapeforms-form[data-form-id="registrierung"] .hypershapeforms-field--checkbox:not(.hypershapeforms-field--buttons) .hypershapeforms-choices label {
	color: #4a4a4a;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
}

.hypershapeforms-form[data-form-id="registrierung"] .hypershapeforms-break {
	margin: 0.75rem 0 1.4rem;
	color: #8a8a8a;
	font-size: 14px;
}

.hypershapeforms-form__actions {
	margin-top: 1.75rem;
	text-align: center;
}

.hypershapeforms-submit {
	background: #ff4b1f;
	color: #fff;
	border: 0;
	border-radius: 4px;
	padding: 0.7rem 1.35rem;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
}

.hypershapeforms-submit:hover {
	background: #e84318;
}

.hypershapeforms-submit:disabled {
	opacity: 0.6;
	cursor: wait;
}

.hypershapeforms-form__message {
	margin-top: 1rem;
	padding: 0.75rem 1rem;
	border-radius: 4px;
}

.hypershapeforms-form__message.is-success {
	background: #edfaef;
	color: #1e4620;
}

.hypershapeforms-form__message.is-error,
.hypershapeforms-form__alert {
	background: #f2dede;
	color: #b94a48;
	border: 1px solid #ebccd1;
	text-align: center;
}

.hypershapeforms-form__alert {
	margin: 0 0 1.35rem;
	padding: 0.85rem 1rem;
	border-radius: 2px;
	font-size: 15px;
}

.hypershapeforms-field--hidden {
	display: none;
}

.hypershapeforms-field.has-error input,
.hypershapeforms-field.has-error select,
.hypershapeforms-field.has-error textarea,
.hypershapeforms-field.has-error .hypershapeforms-signature__pad,
.hypershapeforms-field.has-error .hypershapeforms-input-group,
.hypershapeforms-field.has-error .hypershapeforms-phone {
	border-color: #b32d2e;
}

.hypershapeforms-phone {
	display: flex;
	align-items: stretch;
	position: relative;
	width: 100%;
	min-height: 38px;
	border: 1px solid #dedede;
	border-radius: 2px;
	background: #fff;
}

.hypershapeforms-phone__toggle {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	flex: 0 0 auto;
	margin: 0;
	padding: 0 0.55rem 0 0.7rem;
	border: 0;
	border-right: 1px solid #e4e4e4;
	background: transparent;
	cursor: pointer;
	line-height: 1;
}

.hypershapeforms-phone__toggle::after {
	content: "";
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid #666;
}

.hypershapeforms-phone__flag {
	font-size: 16px;
	line-height: 1;
}

.hypershapeforms-phone__menu {
	position: absolute;
	z-index: 5;
	top: calc(100% + 2px);
	left: 0;
	min-width: 220px;
	max-height: 220px;
	margin: 0;
	padding: 0.25rem 0;
	overflow: auto;
	list-style: none;
	background: #fff;
	border: 1px solid #dedede;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.hypershapeforms-phone__menu button {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0.35rem 0.7rem;
	border: 0;
	background: transparent;
	text-align: left;
	font-size: 14px;
	color: #3f4b5b;
	cursor: pointer;
}

.hypershapeforms-phone__menu button:hover,
.hypershapeforms-phone__menu button[aria-selected="true"] {
	background: #f6f6f6;
}

.hypershapeforms-field .hypershapeforms-phone input {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	min-height: 0;
	margin: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.hypershapeforms-field__error {
	color: #b32d2e;
	font-size: 0.875rem;
	margin-top: 0.35rem;
}

.hypershapeforms-form[data-form-id="kundenumfrage"] .hypershapeforms-field__label {
	font-weight: 700;
	font-size: 14px;
	color: #3f4b5b;
	line-height: 1.35;
}

.hypershapeforms-form[data-form-id="kundenumfrage"] .hypershapeforms-field:not(.hypershapeforms-field--buttons) .hypershapeforms-choices label {
	font-weight: 400;
	font-size: 14px;
	color: #4a4a4a;
	line-height: 1.35;
}

@media (max-width: 800px) {
	.hypershapeforms-card__grid,
	.hypershapeforms-card__grid--columns,
	.hypershapeforms-card__columns {
		grid-template-columns: 1fr;
	}

	.hypershapeforms-card__grid > * {
		grid-column: 1 / -1 !important;
	}

	.hypershapeforms-field--label-left,
	.hypershapeforms-field--label-right {
		flex-wrap: wrap;
	}
}
