/**
 * GW Event Form – Frontend-Styles
 *
 * Sämtliche Farben, Schriftarten, Schriftgrößen, Button-Form und Breite werden
 * über CSS-Variablen gesteuert, die serverseitig aus den Backend-Einstellungen
 * erzeugt und via wp_add_inline_style() auf ".gw-eventform-wrap" gesetzt werden
 * (siehe inline_css() in der Frontend-Klasse). Dadurch greifen Farbänderungen im
 * Backend zuverlässig – die Werte hier dienen nur als Rückfall-Defaults.
 *
 * Das Formular hat standardmäßig KEINEN eigenen Hintergrund und passt sich der
 * Breite des umgebenden Containers automatisch an.
 *
 * @package GW_Event_Form
 */

/* -------------------------------------------------------------------------
 * Grundgerüst
 * ---------------------------------------------------------------------- */
.gw-eventform-wrap {
	/* Nur strukturelle (nicht konfigurierbare) Variablen als Fallback. */
	--gw-radius: 12px;
	--gw-radius-sm: 8px;

	box-sizing: border-box;
	width: 100%;
	max-width: var(--gw-max-width, 100%);
	margin: 0 auto;
	color: var(--gw-text, #222);
	font-family: var(--gw-font-body, inherit);
	font-size: var(--gw-fs-body, 18px);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

.gw-eventform-wrap *,
.gw-eventform-wrap *::before,
.gw-eventform-wrap *::after {
	box-sizing: border-box;
}

/* Container: transparent, randlos – wird im WordPress-Layout selbst gestaltet. */
.gw-eventform {
	background: var(--gw-form-bg, transparent);
	padding: 0;
}

/* -------------------------------------------------------------------------
 * Titel / Einleitung (Überschriften: Heading-Font + responsive Größen)
 * ---------------------------------------------------------------------- */
.gw-ef-title {
	margin: 0 0 10px;
	font-family: var(--gw-font-heading, inherit);
	font-size: var(--gw-fs-heading, 40px);
	font-weight: var(--gw-fw-heading, 500);
	line-height: 1.12;
	color: var(--gw-heading, #1c1c1c);
}

.gw-ef-intro {
	margin: 0 0 30px;
	max-width: 60ch;
	color: var(--gw-help, #777);
	line-height: 1.55;
}

/* -------------------------------------------------------------------------
 * Layout: links Formular / rechts Vorschau
 * ---------------------------------------------------------------------- */
.gw-ef-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(20px, 3vw, 40px);
	align-items: start;
}

.gw-ef-left { min-width: 0; }

.gw-ef-right {
	min-width: 0;
	position: sticky;
	top: 24px;
}

/* -------------------------------------------------------------------------
 * Fortschrittsanzeige
 * ---------------------------------------------------------------------- */
.gw-ef-progress {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-bottom: 26px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--gw-field-border, #ddd);
}

.gw-ef-progress-step {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 0.82em;
	color: var(--gw-progress, #999);
	opacity: 0.85;
	transition: opacity 0.25s ease, color 0.25s ease;
}

.gw-ef-progress-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1.5px solid var(--gw-field-border, #ddd);
	font-size: 0.8em;
	font-weight: 600;
	color: var(--gw-progress, #999);
	background-color: transparent;
	transition: all 0.25s ease;
	flex: none;
}

.gw-ef-progress-step.is-active,
.gw-ef-progress-step.is-done {
	opacity: 1;
	color: var(--gw-heading, #1c1c1c);
}

.gw-ef-progress-step.is-active .gw-ef-progress-num {
	color: var(--gw-button-text, #fff);
	background: var(--gw-progress-active, #8b6b1e);
	border-color: var(--gw-progress-active, #8b6b1e);
}

.gw-ef-progress-step.is-done .gw-ef-progress-num {
	color: var(--gw-progress-active, #8b6b1e);
	border-color: var(--gw-progress-active, #8b6b1e);
}

/* -------------------------------------------------------------------------
 * Schritte & Felder
 * ---------------------------------------------------------------------- */
.gw-ef-step {
	display: none;
	animation: gw-ef-fade 0.3s ease;
}

.gw-ef-step.is-active { display: block; }

@keyframes gw-ef-fade {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: translateY(0); }
}

.gw-ef-step-title {
	margin: 0 0 4px;
	font-family: var(--gw-font-heading, inherit);
	font-size: 1.55em;
	font-weight: var(--gw-fw-heading, 500);
	line-height: 1.2;
	color: var(--gw-heading, #1c1c1c);
}

.gw-ef-step-desc {
	margin: 0 0 20px;
	color: var(--gw-help, #777);
	font-size: 0.92em;
	line-height: 1.5;
}

.gw-ef-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 20px;
}

.gw-ef-type-textarea,
.gw-ef-type-radio,
.gw-ef-type-checkbox_group,
.gw-ef-type-seating,
.gw-ef-type-consent,
.gw-ef-type-checkbox,
.gw-ef-field.is-full {
	grid-column: 1 / -1;
}

.gw-ef-field {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.gw-ef-label {
	display: block;
	margin-bottom: 7px;
	font-size: 0.9em;
	font-weight: 600;
	color: var(--gw-label, #1c1c1c);
	letter-spacing: 0.01em;
}

.gw-ef-req { color: var(--gw-accent, #8b6b1e); }

.gw-ef-help {
	margin: 6px 0 0;
	font-size: 0.82em;
	color: var(--gw-help, #777);
	line-height: 1.45;
}

/* Eingabefelder */
.gw-ef-field input[type="text"],
.gw-ef-field input[type="email"],
.gw-ef-field input[type="tel"],
.gw-ef-field input[type="number"],
.gw-ef-field input[type="date"],
.gw-ef-field select,
.gw-ef-field textarea {
	width: 100%;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 1em;
	line-height: 1.4;
	height: auto;
	color: var(--gw-field-text, #222);
	background: var(--gw-field-bg, #f7f7f5);
	border: 1px solid var(--gw-field-border, #ddd);
	border-radius: var(--gw-radius-sm);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.gw-ef-field select {
	/* line-height:normal verhindert das Abschneiden des Werttextes in Chrome/Safari */
	line-height: normal;
	min-height: 48px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 38px;
}

.gw-ef-field textarea {
	resize: vertical;
	min-height: 110px;
	line-height: 1.5;
}

.gw-ef-field input:focus,
.gw-ef-field select:focus,
.gw-ef-field textarea:focus {
	outline: none;
	border-color: var(--gw-accent, #8b6b1e);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--gw-accent, #8b6b1e) 22%, transparent);
}

/* Fehlerzustand */
.gw-ef-field.has-error input,
.gw-ef-field.has-error select,
.gw-ef-field.has-error textarea,
.gw-ef-field.has-error .gw-ef-radio-group,
.gw-ef-field.has-error .gw-ef-checkbox-group,
.gw-ef-field.has-error .gw-ef-seatings {
	border-color: #c0392b;
	box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.gw-ef-error {
	display: none;
	margin-top: 6px;
	font-size: 0.8em;
	color: #c0392b;
}

.gw-ef-field.has-error .gw-ef-error { display: block; }

/* -------------------------------------------------------------------------
 * Radio- / Checkbox-Gruppen
 * ---------------------------------------------------------------------- */
.gw-ef-radio-group,
.gw-ef-checkbox-group {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.gw-ef-radio,
.gw-ef-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 10px 16px;
	border: 1px solid var(--gw-field-border, #ddd);
	border-radius: 999px;
	cursor: pointer;
	font-size: 0.95em;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
	user-select: none;
	color: var(--gw-text, #222);
}

.gw-ef-radio input,
.gw-ef-checkbox input {
	accent-color: var(--gw-accent, #8b6b1e);
	margin: 0;
	width: 16px;
	height: 16px;
	flex: none;
}

.gw-ef-radio:hover,
.gw-ef-checkbox:hover { border-color: var(--gw-accent, #8b6b1e); }

.gw-ef-radio:has(input:checked),
.gw-ef-checkbox:has(input:checked) {
	border-color: var(--gw-accent, #8b6b1e);
	background: color-mix(in srgb, var(--gw-accent, #8b6b1e) 12%, transparent);
	color: var(--gw-heading, #1c1c1c);
}

/* Einzelne Checkbox (z. B. Datenschutz) */
.gw-ef-checkbox.gw-ef-single {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 0;
	border: none;
	border-radius: 0;
	font-size: 0.95em;
	line-height: 1.45;
	color: var(--gw-text, #222);
}

.gw-ef-checkbox.gw-ef-single input { margin-top: 3px; }

.gw-ef-checkbox.gw-ef-single a {
	color: var(--gw-accent, #8b6b1e);
	text-decoration: underline;
}

/* -------------------------------------------------------------------------
 * Bestuhlungs-Karten
 * ---------------------------------------------------------------------- */
.gw-ef-seatings {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 12px;
}

.gw-ef-seating {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 60px;
	padding: 14px 12px;
	border: 1px solid var(--gw-seat-border, #ddd);
	border-radius: var(--gw-radius-sm);
	cursor: pointer;
	background: var(--gw-seat-bg, #f7f7f5);
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.gw-ef-seating:hover {
	border-color: var(--gw-seat-sel-border, #8b6b1e);
	transform: translateY(-2px);
}

.gw-ef-seating input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.gw-ef-seating-name {
	font-size: 0.9em;
	font-weight: 600;
	color: var(--gw-seat-text, #1c1c1c);
	line-height: 1.25;
}

.gw-ef-seating:has(input:checked) {
	border-color: var(--gw-seat-sel-border, #8b6b1e);
	background: var(--gw-seat-sel-bg, #f3ecdb);
	box-shadow: 0 0 0 1px var(--gw-seat-sel-border, #8b6b1e) inset;
}

.gw-ef-seating:has(input:checked)::after {
	content: "✓";
	position: absolute;
	top: 6px;
	right: 9px;
	font-size: 0.78em;
	font-weight: 700;
	color: var(--gw-seat-sel-border, #8b6b1e);
}

/* -------------------------------------------------------------------------
 * Navigation / Buttons (Stil an f-dbau.com angelehnt)
 * ---------------------------------------------------------------------- */
.gw-ef-nav {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid var(--gw-field-border, #ddd);
}

.gw-ef-btn {
	appearance: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.95em;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: var(--gw-btn-transform, uppercase);
	padding: 15px 34px;
	border-radius: var(--gw-btn-radius, 0);
	border: 1px solid transparent;
	transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, opacity 0.2s ease;
}

.gw-ef-next,
.gw-ef-submit {
	margin-left: auto;
	color: var(--gw-button-text, #fff);
	background: var(--gw-button, #8b6b1e);
	border-color: var(--gw-button, #8b6b1e);
}

.gw-ef-next:hover,
.gw-ef-submit:hover {
	color: var(--gw-button-text-hover, #fff);
	background: var(--gw-button-hover, #7a5d18);
	border-color: var(--gw-button-hover, #7a5d18);
}

.gw-ef-prev {
	color: var(--gw-heading, #1c1c1c);
	background: transparent;
	border-color: var(--gw-field-border, #ddd);
}

.gw-ef-prev:hover {
	border-color: var(--gw-button, #8b6b1e);
	color: var(--gw-button, #8b6b1e);
}

.gw-ef-btn:disabled,
.gw-ef-btn.is-loading {
	opacity: 0.6;
	cursor: not-allowed;
}

.gw-ef-btn.is-loading {
	position: relative;
	color: transparent;
}

.gw-ef-btn.is-loading::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 18px;
	height: 18px;
	border: 2px solid color-mix(in srgb, var(--gw-button-text, #fff) 40%, transparent);
	border-top-color: var(--gw-button-text, #fff);
	border-radius: 50%;
	animation: gw-ef-spin 0.7s linear infinite;
}

@keyframes gw-ef-spin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------------------
 * Statusmeldung
 * ---------------------------------------------------------------------- */
.gw-ef-message {
	display: none;
	margin-top: 18px;
	padding: 14px 18px;
	border-radius: var(--gw-radius-sm);
	font-size: 0.95em;
	line-height: 1.5;
}

.gw-ef-message.is-success {
	display: block;
	background: color-mix(in srgb, #2e7d32 12%, transparent);
	border: 1px solid color-mix(in srgb, #2e7d32 45%, transparent);
	color: #1e5a22;
}

.gw-ef-message.is-error {
	display: block;
	background: color-mix(in srgb, #c0392b 10%, transparent);
	border: 1px solid color-mix(in srgb, #c0392b 40%, transparent);
	color: #97271c;
}

/* -------------------------------------------------------------------------
 * Live-Vorschau (rechtes Feld) – jede Farbe konfigurierbar
 * ---------------------------------------------------------------------- */
.gw-ef-preview {
	background: var(--gw-prev-bg, #1c1c1c);
	color: var(--gw-prev-text, #f4f1ea);
	border-radius: var(--gw-radius);
	padding: 26px;
	overflow: hidden;
	position: relative;
}

.gw-ef-preview-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 0.72em;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gw-prev-accent, #8b6b1e);
	margin-bottom: 18px;
}

.gw-ef-preview-badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--gw-prev-accent, #8b6b1e);
	animation: gw-ef-pulse 2s infinite;
}

@keyframes gw-ef-pulse {
	0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gw-prev-accent, #8b6b1e) 65%, transparent); }
	70%  { box-shadow: 0 0 0 9px transparent; }
	100% { box-shadow: 0 0 0 0 transparent; }
}

.gw-ef-preview-image {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: var(--gw-radius-sm);
	overflow: hidden;
	background: var(--gw-prev-img-bg, #262626);
	border: 1px solid var(--gw-prev-border, #3a3a3a);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.gw-ef-preview-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	padding: 0;
	animation: gw-ef-fade 0.4s ease;
}

.gw-ef-preview-placeholder {
	padding: 24px;
	text-align: center;
	font-size: 0.88em;
	color: var(--gw-prev-muted, #b9b4a8);
	line-height: 1.5;
}

.gw-ef-preview-name {
	margin: 0 0 6px;
	font-family: var(--gw-font-heading, inherit);
	font-size: 1.35em;
	font-weight: var(--gw-fw-heading, 500);
	color: var(--gw-prev-heading, #fff);
}

.gw-ef-preview-name:empty { display: none; }

.gw-ef-preview-desc {
	margin: 0 0 8px;
	font-size: 0.9em;
	line-height: 1.5;
	color: var(--gw-prev-muted, #b9b4a8);
}

.gw-ef-preview-desc:empty { display: none; }

.gw-ef-preview-hint {
	margin: 0;
	font-size: 0.84em;
	color: var(--gw-prev-accent, #8b6b1e);
	display: flex;
	align-items: flex-start;
	gap: 6px;
}

.gw-ef-preview-hint:empty { display: none; }

.gw-ef-preview-hint::before { content: "\2605"; flex: none; }

/* Zusammenfassung */
.gw-ef-preview-summary {
	margin-top: 24px;
	padding-top: 22px;
	border-top: 1px solid var(--gw-prev-border, #3a3a3a);
}

.gw-ef-summary-title {
	margin: 0 0 14px;
	font-size: 0.74em;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gw-prev-muted, #b9b4a8);
}

.gw-ef-summary-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.gw-ef-summary-list li {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	font-size: 0.9em;
	line-height: 1.4;
	padding-bottom: 10px;
	border-bottom: 1px dashed var(--gw-prev-border, #3a3a3a);
	animation: gw-ef-fade 0.3s ease;
}

.gw-ef-summary-list li:last-child { border-bottom: none; padding-bottom: 0; }

.gw-ef-summary-label {
	color: var(--gw-prev-muted, #b9b4a8);
	flex: none;
	max-width: 45%;
}

.gw-ef-summary-value {
	color: var(--gw-prev-heading, #fff);
	text-align: right;
	font-weight: 500;
	word-break: break-word;
}

.gw-ef-summary-empty {
	color: var(--gw-prev-muted, #b9b4a8) !important;
	border-bottom: none !important;
	justify-content: flex-start !important;
	opacity: 0.7;
}

/* -------------------------------------------------------------------------
 * Honeypot (verstecktes Anti-Spam-Feld)
 * ---------------------------------------------------------------------- */
.gw-ef-hp {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* -------------------------------------------------------------------------
 * Responsiv
 * ---------------------------------------------------------------------- */
@media (max-width: 860px) {
	.gw-ef-layout { grid-template-columns: 1fr; }
	.gw-ef-right { position: static; order: 2; }
	.gw-ef-left { order: 1; }
	.gw-ef-fields { grid-template-columns: 1fr; }
	.gw-ef-progress-label { display: none; }
	.gw-ef-progress { gap: 8px 10px; }
}

@media (max-width: 480px) {
	.gw-ef-nav { flex-direction: column-reverse; }
	.gw-ef-btn { width: 100%; }
	.gw-ef-next,
	.gw-ef-submit { margin-left: 0; }
	.gw-ef-seatings { grid-template-columns: repeat(2, 1fr); }
}

/* -------------------------------------------------------------------------
 * Stellplatzanfrage-Look
 *
 * Ausschließlich die linke Formularseite wird optisch angeglichen. Die
 * Live-Vorschau rechts und sämtliche funktionalen Selektoren bleiben bewusst
 * unverändert. Farben und Schriften kommen weiterhin aus den Backend-Optionen.
 * ---------------------------------------------------------------------- */
.gw-eventform-wrap {
	--gw-radius: 2px;
	--gw-radius-sm: 2px;
}

.gw-ef-left {
	line-height: 1.5;
}

.gw-ef-title {
	margin-bottom: 14px;
	letter-spacing: -0.02em;
}

.gw-ef-intro {
	margin-bottom: 36px;
}

.gw-ef-progress {
	gap: 10px 24px;
	margin-bottom: 36px;
	padding-bottom: 24px;
}

.gw-ef-progress-step {
	gap: 10px;
	font-size: 0.78em;
	font-weight: 600;
	letter-spacing: 0.055em;
	text-transform: uppercase;
}

.gw-ef-progress-num {
	width: 28px;
	height: 28px;
	border-radius: 2px;
}

.gw-ef-step-title {
	margin-bottom: 8px;
	font-size: 1.5em;
	letter-spacing: 0.045em;
	text-transform: uppercase;
}

.gw-ef-step-desc {
	margin-bottom: 26px;
}

.gw-ef-fields {
	gap: 24px;
}

.gw-ef-label {
	margin-bottom: 9px;
	font-size: 0.86em;
	letter-spacing: 0.025em;
}

.gw-ef-field input[type="text"],
.gw-ef-field input[type="email"],
.gw-ef-field input[type="tel"],
.gw-ef-field input[type="number"],
.gw-ef-field input[type="date"],
.gw-ef-field select,
.gw-ef-field textarea {
	min-height: 52px;
	padding: 13px 15px;
	color: #ffffff;
	caret-color: #ffffff;
	background-color: transparent;
	border-color: color-mix(in srgb, var(--gw-field-border, #dddddd) 72%, rgba(255, 255, 255, 0.32));
	border-radius: 2px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.04);
	-webkit-backdrop-filter: blur(14px) saturate(125%);
	backdrop-filter: blur(14px) saturate(125%);
}

.gw-ef-field input::placeholder,
.gw-ef-field textarea::placeholder {
	color: rgba(255, 255, 255, 0.58);
	opacity: 1;
}

/* Die geöffnete Browser-Auswahlliste bleibt lesbar; das geschlossene Feld ist transparent. */
.gw-ef-field select option {
	color: #222222;
	background: #ffffff;
}

.gw-ef-field textarea {
	min-height: 150px;
}

.gw-ef-radio-group,
.gw-ef-checkbox-group {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.gw-ef-radio,
.gw-ef-checkbox:not(.gw-ef-single) {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 10px 12px;
	background: color-mix(in srgb, var(--gw-field-bg, #ffffff) 8%, transparent);
	border-color: color-mix(in srgb, var(--gw-field-border, #dddddd) 72%, rgba(255, 255, 255, 0.32));
	border-radius: 0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
	-webkit-backdrop-filter: blur(14px) saturate(125%);
	backdrop-filter: blur(14px) saturate(125%);
	text-align: center;
}

.gw-ef-radio:has(input:checked),
.gw-ef-checkbox:not(.gw-ef-single):has(input:checked) {
	border-color: var(--gw-accent, #8b6b1e);
	background: var(--gw-accent, #8b6b1e);
	color: var(--gw-button-text, #fff);
	box-shadow: 0 8px 28px color-mix(in srgb, var(--gw-accent, #8b6b1e) 20%, transparent);
}

.gw-ef-checkbox.gw-ef-single {
	align-items: center;
	gap: 12px;
	margin-top: 6px;
	font-size: 1em;
	line-height: 1.35;
}

.gw-ef-checkbox.gw-ef-single input {
	width: 18px;
	height: 18px;
	margin: 0;
	flex: 0 0 18px;
}

.gw-ef-seatings {
	gap: 10px;
}

.gw-ef-seating {
	min-height: 64px;
	background: color-mix(in srgb, var(--gw-seat-bg, #ffffff) 9%, transparent);
	border-color: color-mix(in srgb, var(--gw-seat-border, #dddddd) 72%, rgba(255, 255, 255, 0.32));
	border-radius: 2px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
	-webkit-backdrop-filter: blur(14px) saturate(125%);
	backdrop-filter: blur(14px) saturate(125%);
	transform: none;
}

/* Nicht ausgewählte Glaskarten benötigen auf dem dunklen Hintergrund weißen Text. */
.gw-ef-seating:not(:has(input:checked)) .gw-ef-seating-name {
	color: #ffffff !important;
}

/* Auf der hellen aktiven Karte bleibt die Beschriftung kontrastreich dunkel. */
.gw-ef-seating:has(input:checked) .gw-ef-seating-name {
	color: var(--gw-seat-text, #1c1c1c) !important;
}

.gw-ef-seating:hover {
	transform: none;
}

.gw-ef-preview-maintenance {
	min-height: 320px;
	padding: 42px 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	border: 1px solid var(--gw-prev-border, #3a3a3a);
	background: color-mix(in srgb, var(--gw-prev-img-bg, #262626) 72%, transparent);
}

.gw-ef-preview-maintenance-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 18px;
	border: 1px solid var(--gw-prev-accent, #8b6b1e);
	color: var(--gw-prev-accent, #8b6b1e);
	font-size: 1.4em;
}

.gw-ef-preview-maintenance h4 {
	margin: 0 0 12px;
	font-family: var(--gw-font-heading, inherit);
	font-size: 1.45em;
	font-weight: var(--gw-fw-heading, 500);
	color: var(--gw-prev-heading, #ffffff);
}

.gw-ef-preview-maintenance p {
	max-width: 430px;
	margin: 0;
	color: var(--gw-prev-muted, #b9b4a8);
	line-height: 1.65;
}

.gw-ef-nav {
	margin-top: 36px;
	padding-top: 26px;
}

.gw-ef-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 190px;
	min-height: 56px;
	padding: 13px 22px;
	border-radius: 0 !important;
	font-size: 0.82em;
	letter-spacing: 0.08em;
	box-shadow: none;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gw-ef-next::after,
.gw-ef-submit::after {
	content: "\2192";
	margin-left: 22px;
	font-size: 1.25em;
	font-weight: 400;
	line-height: 1;
	transition: transform 0.2s ease;
}

.gw-ef-next:hover,
.gw-ef-submit:hover {
	transform: translateY(-1px);
}

.gw-ef-next:hover::after,
.gw-ef-submit:hover::after {
	transform: translateX(4px);
}

.gw-ef-prev::before {
	content: "\2190";
	margin-right: 14px;
	font-size: 1.15em;
	font-weight: 400;
	line-height: 1;
}

.gw-ef-prev {
	background: color-mix(in srgb, var(--gw-field-bg, #ffffff) 8%, transparent);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
	-webkit-backdrop-filter: blur(14px) saturate(125%);
	backdrop-filter: blur(14px) saturate(125%);
}

.gw-ef-field input:-webkit-autofill,
.gw-ef-field input:-webkit-autofill:hover,
.gw-ef-field input:-webkit-autofill:focus {
	color: #ffffff !important;
	caret-color: #ffffff;
	-webkit-text-fill-color: #ffffff !important;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-box-shadow: 0 0 0 1000px transparent inset !important;
	box-shadow: 0 0 0 1000px transparent inset !important;
	transition: background-color 9999s ease-out 0s;
}

.gw-ef-field input.gw-ef-filled,
.gw-ef-field select.gw-ef-filled,
.gw-ef-field textarea.gw-ef-filled {
	color: #ffffff !important;
	caret-color: #ffffff;
	background-color: transparent !important;
	border-color: color-mix(in srgb, var(--gw-field-border, #dddddd) 72%, rgba(255, 255, 255, 0.32));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.04);
	-webkit-backdrop-filter: blur(14px) saturate(125%);
	backdrop-filter: blur(14px) saturate(125%);
}

.gw-ef-seating[hidden] {
	display: none !important;
}

@media (max-width: 620px) {
	.gw-ef-radio-group,
	.gw-ef-checkbox-group {
		grid-template-columns: 1fr;
	}

	.gw-ef-step-title {
		font-size: 1.3em;
	}
}
.gw-ef-turnstile {
	margin: 20px 0 8px;
	min-height: 65px;
}
