.mx5-booking {
	max-width: 720px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.6;
	color: #1f2937;
}

.mx5-booking h2 {
	font-size: 28px;
	margin-bottom: 4px;
}

.mx5-booking h3 {
	font-size: 19px;
	margin-top: 28px;
	margin-bottom: 8px;
}

.mx5-booking h4 {
	font-size: 16px;
	margin-top: 20px;
	margin-bottom: 6px;
	color: #374151;
}

.mx5-notice {
	padding: 12px 16px;
	border-radius: 6px;
	margin: 16px 0;
	font-size: 15px;
}
.mx5-notice-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.mx5-notice-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.mx5-notice-info { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }

.mx5-form { margin-top: 16px; }

.mx5-section {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 20px 24px;
	margin-bottom: 20px;
	background: #fafafa;
}
.mx5-section legend {
	font-weight: 600;
	font-size: 17px;
	padding: 0 8px;
	color: #111827;
}

.mx5-section-divider {
	height: 1px;
	background: linear-gradient(to right, transparent, #d1d5db 15%, #d1d5db 85%, transparent);
	margin: 8px 0 28px;
}

.mx5-group {
	position: relative;
	margin: 0 0 28px;
	padding: 4px 0 4px 18px;
	border-left: 4px solid transparent;
}
.mx5-group .mx5-section { margin-bottom: 16px; }
.mx5-group .mx5-section:last-child { margin-bottom: 4px; }
.mx5-group-label {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 3px 12px;
	border-radius: 999px;
	margin-bottom: 12px;
}
.mx5-group-hotel { border-left-color: #2563eb; }
.mx5-group-hotel .mx5-group-label { background: #dbeafe; color: #1e40af; }
.mx5-group-tour { border-left-color: #16a34a; }
.mx5-group-tour .mx5-group-label { background: #dcfce7; color: #166534; }
.mx5-group-goodie { border-left-color: #d97706; }
.mx5-group-goodie .mx5-group-label { background: #fef3c7; color: #92400e; }

@media (max-width: 600px) {
	.mx5-group { padding-left: 12px; }
}

.mx5-row { margin-bottom: 14px; }
.mx5-row-split { display: flex; gap: 16px; }
.mx5-row-split label { flex: 1; }

.mx5-row-split-narrow-first { display: flex; gap: 16px; }
.mx5-row-split-narrow-first > *:first-child { flex: 0 0 110px; }
.mx5-row-split-narrow-first > *:not(:first-child) { flex: 1; }

.mx5-row label {
	display: block;
	font-weight: 500;
	font-size: 14px;
	color: #374151;
	margin-bottom: 4px;
}

.mx5-row input[type="text"],
.mx5-row input[type="email"],
.mx5-row input[type="tel"],
.mx5-row input[type="date"],
.mx5-row select,
.mx5-row textarea,
.mx5-code-input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 15px;
	box-sizing: border-box;
	background: #fff;
}

.mx5-goodie-article {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid #eef0f2;
}
.mx5-goodie-article:last-of-type { border-bottom: none; }
.mx5-goodie-article-name { font-weight: 600; flex: 0 0 140px; }
.mx5-goodie-article-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mx5-goodie-article-controls select { width: auto; min-width: 110px; }
.mx5-goodie-qty { width: 60px !important; }
.mx5-goodie-article-hint { flex-basis: 100%; font-size: 12px; margin-top: 2px; }

.mx5-goodie-cart { margin-top: 16px; padding-top: 12px; border-top: 2px solid #e5e7eb; }
.mx5-goodie-cart-title { font-weight: 600; margin-bottom: 8px; }
.mx5-goodie-cart-table { width: 100%; border-collapse: collapse; }
.mx5-goodie-cart-table th, .mx5-goodie-cart-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #f1f1f1; font-size: 14px; }
.mx5-goodie-remove-btn {
	background: none;
	border: none;
	color: #dc2626;
	cursor: pointer;
	font-size: 15px;
	padding: 2px 6px;
}
.mx5-goodie-remove-btn:hover { color: #991b1b; }

.mx5-tour-person-label { margin-bottom: 4px; }

.mx5-checkbox-row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	font-weight: 400 !important;
}
.mx5-checkbox-row input { margin-top: 3px; }

.mx5-privacy-text {
	font-size: 13px;
	color: #4b5563;
	max-height: 180px;
	overflow-y: auto;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 12px;
	margin-bottom: 12px;
	background: #fff;
}

.mx5-button {
	display: inline-block;
	padding: 12px 28px;
	background: #111827;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}
.mx5-button:hover { background: #000; color: #fff; }
.mx5-button-primary { background: #2563eb; }
.mx5-button-primary:hover { background: #1d4ed8; }
.mx5-button-danger { background: #dc2626; }
.mx5-button-danger:hover { background: #b91c1c; }

.mx5-submit { margin-top: 24px; }

.mx5-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	background: #e5e7eb;
	color: #374151;
}
.mx5-badge-confirmed { background: #dcfce7; color: #166534; }
.mx5-badge-pending { background: #fef3c7; color: #92400e; }
.mx5-badge-cancelled { background: #fee2e2; color: #991b1b; }

.mx5-code-gate,
.mx5-token-gate {
	text-align: center;
	padding: 40px 24px;
}
.mx5-code-gate form,
.mx5-token-gate form {
	display: flex;
	gap: 8px;
	max-width: 360px;
	margin: 16px auto 0;
}

.mx5-event-description { margin-bottom: 20px; }
.mx5-event-description-footer { margin-top: 24px; margin-bottom: 0; padding-top: 20px; border-top: 1px solid #e5e7eb; }
.mx5-reset-link { text-align: center; margin-top: 10px; }
.mx5-reset-link a { font-size: 13px; color: #6b7280; text-decoration: underline; }
.mx5-reset-link a:hover { color: #374151; }

.mx5-tour-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}
.mx5-tour-card {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 16px 18px;
	background: #fff;
}
.mx5-tour-card h4 { margin: 0 0 6px; font-size: 17px; }
.mx5-tour-meta { font-size: 13px; color: #6b7280; margin: 0 0 8px; }
.mx5-tour-badges { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mx5-gpx-download { margin-top: 20px; }

.mx5-tours-day {
	margin-bottom: 32px;
}
.mx5-tours-day h3 {
	margin: 0 0 12px;
	font-size: 19px;
	padding-bottom: 8px;
	border-bottom: 2px solid #e5e7eb;
}
.mx5-tours-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}
.mx5-tours-table th,
.mx5-tours-table td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid #e5e7eb;
	vertical-align: middle;
	font-size: 14px;
}
.mx5-tours-table th {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #6b7280;
	border-bottom: 2px solid #e5e7eb;
}
.mx5-tours-table img { display: block; border-radius: 4px; }
.mx5-tours-table tr:last-child td { border-bottom: none; }
.mx5-tours-table .mx5-button {
	padding: 6px 16px;
	font-size: 13px;
}

@media (max-width: 700px) {
	.mx5-tours-table thead { display: none; }
	.mx5-tours-table, .mx5-tours-table tbody, .mx5-tours-table tr, .mx5-tours-table td {
		display: block;
		width: 100%;
	}
	.mx5-tours-table tr {
		margin-bottom: 12px;
		border: 1px solid #e5e7eb;
		border-radius: 8px;
		padding: 8px 0;
	}
	.mx5-tours-table td {
		border-bottom: none;
		padding: 6px 14px;
	}
	.mx5-tours-table td:empty { display: none; }
}

.mx5-consent-item {
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e5e7eb;
}
.mx5-consent-item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}
.mx5-consent-link { margin: 0 0 8px; font-size: 14px; }

.mx5-price-box {
	margin-top: 16px;
	padding: 14px 18px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 6px;
}
.mx5-price-box p:first-child { margin-top: 0; font-weight: 600; }
.mx5-price-table { width: 100%; border-collapse: collapse; }
.mx5-price-table td { padding: 4px 0; font-size: 14px; }
.mx5-price-table td:last-child { text-align: right; font-weight: 500; }
.mx5-price-total td { border-top: 1px solid #bbf7d0; padding-top: 8px; font-weight: 700 !important; }

.mx5-combobox { position: relative; }
.mx5-combobox-list {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 40;
	max-height: 260px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #d1d5db;
	border-top: none;
	border-radius: 0 0 6px 6px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.mx5-combobox-group {
	padding: 6px 12px 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #9ca3af;
	background: #f9fafb;
}
.mx5-combobox-item {
	padding: 8px 12px;
	font-size: 14px;
	cursor: pointer;
}
.mx5-combobox-item:hover { background: #eff6ff; }
.mx5-combobox-empty { padding: 10px 12px; font-size: 13px; color: #9ca3af; }

@media (max-width: 600px) {
	.mx5-row-split { flex-direction: column; gap: 0; }
	.mx5-row-split-narrow-first { flex-direction: column; gap: 0; }
	.mx5-row-split-narrow-first > *:first-child { flex: 1; }

	.mx5-booking { font-size: 15px; }
	.mx5-booking h2 { font-size: 22px; }
	.mx5-section { padding: 16px; }
	.mx5-row input[type="text"],
	.mx5-row input[type="email"],
	.mx5-row input[type="tel"],
	.mx5-row input[type="date"],
	.mx5-row select,
	.mx5-row textarea,
	.mx5-code-input {
		font-size: 16px; /* verhindert automatisches Zoomen auf iOS */
	}
	.mx5-button { width: 100%; text-align: center; }
	.mx5-code-gate form,
	.mx5-token-gate form { flex-direction: column; max-width: 100%; }
	.mx5-goodie-article { flex-direction: column; align-items: flex-start; gap: 8px; }
	.mx5-goodie-article-controls { width: 100%; }
	.mx5-goodie-article-controls select { flex: 1; min-width: 0; }
}

@media (max-width: 400px) {
	.mx5-section { padding: 12px; }
	.mx5-booking h2 { font-size: 20px; }
}

.mx5-venue-map {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	margin: 20px 0;
	padding: 20px 24px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fafafa;
}
.mx5-venue-map-button { flex: 0 0 auto; white-space: nowrap; }
.mx5-venue-map-info { flex: 1 1 auto; min-width: 160px; }
.mx5-venue-name { margin: 0 0 2px; font-size: 16px; }
.mx5-venue-address { margin: 0; color: #4b5563; }

@media (max-width: 480px) {
	.mx5-venue-map { flex-direction: column; align-items: flex-start; }
	.mx5-venue-map-button { order: 2; }
	.mx5-venue-map-info { order: 1; }
}
