.efw-wizard {
	max-width: 820px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: #333;
	padding: 20px;
}

.efw-notice {
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 20px;
	font-size: 14px;
}

.efw-notice-success {
	background: #eaf6ea;
	border: 1px solid #8bc48b;
	color: #2c662d;
}

.efw-notice-error {
	background: #fdecea;
	border: 1px solid #f5b3ac;
	color: #a3271e;
}

/* Onglets SCHRITT 1 / 2 / 3 */
.efw-steps-nav {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-bottom: 30px;
}

.efw-step-btn {
	padding: 10px 22px;
	letter-spacing: 0.03em;
	border: 1px solid #cfcfcf;
	background: #fff;
	cursor: pointer;
	line-height: 28px;
    text-transform: uppercase;
    font-size: 14px;
	margin: 0;
    text-align: center;
	font-family: 'NeueFrutigerWorldThin';
}

.efw-step-btn-active {
	background: #a9925a;
	border-color: #a9925a;
	color: #fff;
}

/* Champs */
.efw-field {
	margin-bottom: 22px;
}

.efw-field label {
	margin-top: 10px;
    font-weight: 400;
    font-size: 16px;
    color: #333;
    font-family: 'NeueFrutigerWorldThin';
}

.efw-required {
	color: #000000;
}

.efw-field input[type="text"],
.efw-field input[type="email"],
.efw-field input[type="tel"],
.efw-field input[type="time"],
.efw-field input[type="datetime-local"],
.efw-field input[type="url"],
.efw-field select,
.efw-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0px 12px;
	font-size: 14px;
	border: 1px solid #c9c9c9;
	border-radius: 2px;
	background: #fff;
	color: #333;
	height:35px;
}

.efw-field textarea {
	resize: vertical;
}

.efw-field input:focus,
.efw-field select:focus,
.efw-field textarea:focus {
	outline: none;
	border-color: #2a5d84;
	box-shadow: 0 0 0 1px #2a5d84;
}

/* Boutons radio */
.efw-radio-group {
	display: flex;
	gap: 24px;
}

.efw-radio-option {
	display: flex !important;
	align-items: center;
	gap: 6px;
	color: #333 !important;
	font-size: 14px;
	cursor: pointer;
}

.efw-radio-option input {
	margin: 0;
}

/* Cases à cocher (Eintritt ermässigt für / Eintritt frei für) */
.efw-checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.efw-checkbox-option {
	display: flex !important;
	align-items: center;
	gap: 8px;
	color: #333 !important;
	font-size: 14px;
	cursor: pointer;
}

.efw-checkbox-option input {
	margin: 0;
}

.efw-checkbox-conditional-field {
	margin: -4px 0 4px 26px;
}

.efw-checkbox-conditional-field input {
	width: 100%;
	max-width: 220px;
}

/* Protagonistes dynamiques */
#efw-protagonisten-container .efw-field {
	margin-bottom: 16px;
}

/* Champs répétables (Flugblatt Vorderseite / Hinterseite) */
.efw-repeatable-items {
	margin-bottom: 6px;
}

.efw-repeatable-item {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.efw-repeatable-item input[type="file"] {
	flex: 1;
}

.efw-remove-image-btn {
	background: none;
	border: none;
	color: #999;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 8px;
}

.efw-remove-image-btn:hover {
	color: #a3271e;
}

.efw-add-image-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	color: #a9925a;
	font-size: 13px;
	cursor: pointer;
	padding: 0;
}

.efw-add-image-btn:hover {
	text-decoration: underline;
}

.efw-add-image-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border: 1px solid #a9925a;
	border-radius: 50%;
	font-size: 13px;
	line-height: 1;
}

.efw-field input[type="file"] {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 0;
	font-size: 14px;
	color: #333;
}

/* Aperçu de la photo recadrée (ratio 2400x600) */
.efw-photo-preview-wrap {
	margin-top: 10px;
}

.efw-photo-preview-wrap img {
	display: block;
	width: 100%;
	max-width: 480px;
	aspect-ratio: 4 / 1;
	object-fit: cover;
	border: 1px solid #c9c9c9;
	border-radius: 2px;
}

.efw-photo-change-btn {
	display: inline-block;
	margin-top: 8px;
	background: none;
	border: none;
	color: #a9925a;
	font-size: 13px;
	cursor: pointer;
	padding: 0;
}

.efw-photo-change-btn:hover {
	text-decoration: underline;
}

/* Texte d'aide affiché sous un champ image en mode édition
   ("Nur ausfüllen, um das aktuelle Foto zu ersetzen.") */
.efw-field-hint {
	margin-top: 6px;
	font-size: 12px;
	color: #777;
	font-style: italic;
}

/* Modale de recadrage */
.efw-crop-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 20px;
	box-sizing: border-box;
}

.efw-crop-modal[hidden] {
	display: none !important;
}

.efw-crop-modal-inner {
	background: #fff;
	border-radius: 4px;
	padding: 24px;
	width: 100%;
	max-width: 640px;
	box-sizing: border-box;
}

.efw-crop-modal-title {
	margin: 0 0 6px;
	font-size: 16px;
	color: #333;
}

.efw-crop-modal-hint {
	margin: 0 0 16px;
	font-size: 12px;
	color: #999;
	font-style: italic;
}

.efw-crop-viewport {
	width: 100%;
	background: #222;
	overflow: hidden;
	border-radius: 2px;
}

.efw-crop-viewport canvas {
	display: block;
	width: 100%;
	height: auto;
	touch-action: none;
	cursor: grab;
}

.efw-crop-viewport canvas:active {
	cursor: grabbing;
}

.efw-crop-controls {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
}

.efw-crop-controls label {
	font-size: 13px;
	color: #a9925a;
	white-space: nowrap;
}

.efw-crop-controls input[type="range"] {
	flex: 1;
}

.efw-crop-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 22px;
}

/* Etapes */
.efw-step[hidden] {
	display: none !important;
}

.efw-step-hint {
	font-size: 12px;
	color: #999;
	font-style: italic;
}

.efw-step-actions {
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.efw-btn {
	padding: 11px 26px;
	font-size: 14px;
	text-transform: uppercase;
	border-radius: 0;
	cursor: pointer;
	border: none;
	font-family: 'NeueFrutigerWorldThin';
}

.efw-btn-next,
.efw-btn-submit {
	background: #005150;
	color: #fff;
	margin-left: auto;
}

.efw-btn-next:hover,
.efw-btn-submit:hover {
	background: #8f7a48;
}

.efw-btn-prev {
	background: #f1f1f1;
	color: #333;
}

.efw-btn-prev:hover {
	background: #e2e2e2;
}
