/*
 * Frontend-Styles com_workshop - gleiche Formensprache wie com_reservierung:
 * Weinrot #9b1b1b, Gold #c9a24b / #e8c87a, Papier-Karte, Serifen-Titel.
 * Keine externen Fonts (DSGVO).
 */

.ws-wrap {
	--ws-wine: #9b1b1b;
	--ws-wine-dark: #7d1414;
	--ws-gold: #c9a24b;
	--ws-gold-light: #e8c87a;
	--ws-ink: #2b2b2b;
	--ws-muted: #8a8070;
	--ws-label: #6d6353;
	--ws-paper: #fcfaf6;
	--ws-line: #ddd3c0;
	--ws-line-soft: #f0ebe0;
	--ws-green: #3d8b40;
	--ws-green-bg: #eaf4ea;
	--ws-amber: #b7791f;
	--ws-amber-bg: #fdf3dc;
	--ws-serif: Georgia, 'Palatino Linotype', 'Book Antiqua', 'Times New Roman', serif;

	max-width: 820px;
	margin: 0 auto;
	padding: 10px 0 40px;
	color: var(--ws-ink);
	font-size: 16px;
	line-height: 1.55;
}

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

/* Eingebettet in einen Beitrag (mod_workshop) */
.ws-embed {
	padding-top: 0;
	scroll-margin-top: 90px;
}

.ws-embed .ws-title {
	font-size: 1.7em;
	margin-top: 10px;
}

/* ---------- Titel & Intro ---------- */

.ws-title {
	font-family: var(--ws-serif);
	font-weight: 400;
	letter-spacing: 0.04em;
	color: var(--ws-wine);
	text-align: center;
	margin-bottom: 6px;
}

.ws-title::after {
	content: '';
	display: block;
	width: 72px;
	height: 2px;
	margin: 14px auto 0;
	background: linear-gradient(90deg, transparent, var(--ws-gold), transparent);
}

.ws-intro {
	text-align: center;
	max-width: 680px;
	margin: 12px auto 0;
	color: var(--ws-label);
}

.ws-subtitle {
	font-family: var(--ws-serif);
	font-weight: 400;
	letter-spacing: 0.03em;
	color: var(--ws-wine);
	margin: 6px 0 14px;
	font-size: 1.3em;
}

.ws-step .ws-subtitle + .ws-dates,
.ws-step .ws-subtitle + .ws-courses {
	margin-top: 0;
}

/* ---------- Meldungen ---------- */

.ws-notice,
.ws-error,
.ws-success {
	padding: 14px 18px;
	margin: 18px 0;
	border-radius: 0 6px 6px 0;
}

.ws-notice {
	background: #f7f4ef;
	border-left: 4px solid var(--ws-gold);
}

.ws-error {
	background: #fdf0f0;
	border-left: 4px solid var(--ws-wine);
	color: #7a1515;
}

.ws-success {
	background: #f0f7f0;
	border-left: 4px solid var(--ws-green);
	color: #285c2a;
}

.ws-gift {
	margin-top: 24px;
	font-size: 15px;
}

/* ---------- Schritt-Anzeige ---------- */

.ws-steps {
	display: none;
	list-style: none;
	margin: 26px 0 0;
	padding: 0;
	counter-reset: none;
}

.ws-js .ws-steps {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.ws-steps-item {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: #b0a58f;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-family: var(--ws-serif);
}

.ws-steps-item + .ws-steps-item::before {
	content: '';
	width: 34px;
	height: 1px;
	background: var(--ws-line);
	margin-right: 4px;
}

.ws-steps-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid var(--ws-line);
	background: #fff;
	font-family: inherit;
	font-size: 14px;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ws-steps-item.is-active {
	color: var(--ws-wine);
}

.ws-steps-item.is-active .ws-steps-num {
	background: var(--ws-wine);
	border-color: var(--ws-wine);
	color: #fff;
}

.ws-steps-item.is-done {
	color: var(--ws-label);
}

.ws-steps-item.is-done .ws-steps-num {
	background: var(--ws-gold-light);
	border-color: var(--ws-gold);
	color: var(--ws-ink);
}

/* ---------- Formular-Karte ---------- */

.ws-form {
	background: var(--ws-paper);
	border: 1px solid var(--ws-line);
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(40, 25, 10, 0.08);
	padding: 28px clamp(18px, 4vw, 36px) 30px;
	margin-top: 18px;
}

.ws-step + .ws-step {
	margin-top: 34px;
	padding-top: 26px;
	border-top: 1px solid var(--ws-line-soft);
}

/* Assistent (nur mit JS): immer nur ein Schritt sichtbar. */
.ws-js .ws-step {
	display: none;
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.ws-js .ws-step.is-active {
	display: block;
	animation: wsFadeUp 0.35s ease-out;
}

.ws-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 22px;
	margin-bottom: 8px;
}

.ws-grid-persons {
	margin-top: 22px;
	align-items: end;
}

.ws-field {
	display: flex;
	flex-direction: column;
	position: relative;
	min-width: 0;
}

.ws-field-wide {
	grid-column: 1 / -1;
}

.ws-field > label {
	font-family: var(--ws-serif);
	font-size: 15px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--ws-label);
	margin-bottom: 6px;
}

.ws-field input[type="text"],
.ws-field input[type="email"],
.ws-field input[type="tel"],
.ws-field input[type="number"],
.ws-field select,
.ws-field textarea {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 11px 14px;
	border: 1px solid var(--ws-line);
	border-radius: 6px;
	font-size: 16px;
	background: #fff;
	color: var(--ws-ink);
	box-shadow: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}

/* Selects gegen Template-Styles (rt_clarity) normalisieren. */
.ws-wrap .ws-field select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height: 48px;
	line-height: normal;
	padding: 0 40px 0 14px;
	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='%23c9a24b' d='M1.4 0 6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

.ws-field input:focus,
.ws-field select:focus,
.ws-field textarea:focus {
	border-color: var(--ws-gold);
	outline: none;
	box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.22);
}

.ws-field input.is-valid {
	border-color: var(--ws-green);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%233d8b40' d='M6.4 12.2 2.2 8l1.4-1.4 2.8 2.8 6-6L13.8 4.8z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 38px;
}

.ws-field input.is-invalid,
.ws-field select.is-invalid {
	border-color: var(--ws-wine);
	box-shadow: 0 0 0 3px rgba(155, 27, 27, 0.12);
}

.ws-field-hint,
.ws-field-msg {
	font-size: 13px;
	margin-top: 5px;
	color: var(--ws-wine);
}

.ws-field-msg:empty,
.ws-field-hint:empty {
	display: none;
}

.ws-field-msg.is-ok {
	color: var(--ws-green);
}

.ws-hint-muted {
	color: var(--ws-muted);
}

.ws-group-hint {
	margin: 0 0 12px;
	font-size: 14px;
	color: var(--ws-muted);
}

.ws-group-hint a {
	color: var(--ws-wine);
	font-weight: 600;
	white-space: nowrap;
}

/* ---------- Termin-Karten ---------- */

.ws-dates {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}

.ws-date-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 2px;
	padding: 16px 10px 14px;
	background: #fff;
	border: 1px solid var(--ws-line);
	border-top: 4px solid var(--ws-green);
	border-radius: 10px;
	cursor: pointer;
	color: var(--ws-ink);
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.ws-date-card.lvl-few {
	border-top-color: var(--ws-gold);
}

.ws-date-card.lvl-last {
	border-top-color: var(--ws-wine);
}

.ws-date-card.is-disabled {
	border-top-color: #c5bca9;
	background: repeating-linear-gradient(135deg, #fcfaf6, #fcfaf6 6px, #f5f0e6 6px, #f5f0e6 10px);
	cursor: not-allowed;
	color: #a3987f;
}

@media (hover: hover) {
	.ws-date-card:not(.is-disabled):hover {
		border-color: var(--ws-gold);
		transform: translateY(-2px);
		box-shadow: 0 6px 16px rgba(40, 25, 10, 0.1);
	}
}

.ws-date-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ws-date-card:has(input:focus-visible) {
	box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.45);
}

.ws-date-card:has(input:checked),
.ws-date-card.is-checked {
	border-color: var(--ws-wine);
	box-shadow: 0 0 0 1px var(--ws-wine), 0 6px 18px rgba(155, 27, 27, 0.16);
	background: #fffdf8;
}

.ws-date-card.is-checked::after,
.ws-date-card:has(input:checked)::after {
	content: '✓';
	position: absolute;
	top: 8px;
	right: 8px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--ws-wine);
	color: #fff;
	font-size: 13px;
	line-height: 22px;
	animation: wsPop 0.28s ease-out;
}

.ws-date-day {
	font-family: var(--ws-serif);
	font-size: 38px;
	line-height: 1;
	color: var(--ws-wine);
}

.ws-date-card.is-disabled .ws-date-day {
	color: #b8ae98;
	text-decoration: line-through;
}

.ws-date-month {
	font-family: var(--ws-serif);
	font-size: 15px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ws-label);
}

.ws-date-weekday {
	font-size: 14px;
	font-weight: 600;
	margin-top: 4px;
}

.ws-date-time {
	font-size: 13px;
	color: var(--ws-muted);
}

.ws-date-note {
	font-size: 12px;
	color: var(--ws-wine);
	margin-top: 4px;
}

/* Terminliste (mod_workshop, Variante Termine): ganze Karte ist ein Link. */
a.ws-date-card,
a.ws-date-card:hover,
a.ws-date-card:focus {
	text-decoration: none;
	color: var(--ws-ink);
}

.ws-date-cta {
	margin-top: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ws-wine);
}

/* Ampel-Badges */
.ws-badge {
	display: inline-block;
	margin-top: 10px;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.3;
	background: var(--ws-green-bg);
	color: #2c6a2f;
}

.ws-badge::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 6px;
	border-radius: 50%;
	background: var(--ws-green);
	vertical-align: 0;
}

.ws-badge.lvl-few {
	background: var(--ws-amber-bg);
	color: #8a5a10;
}

.ws-badge.lvl-few::before {
	background: var(--ws-gold);
}

.ws-badge.lvl-last {
	background: var(--ws-wine);
	color: #fff;
	animation: wsPulse 2.4s ease-in-out infinite;
}

.ws-badge.lvl-last::before {
	background: var(--ws-gold-light);
}

.ws-badge.lvl-full,
.ws-badge.lvl-closed,
.ws-badge.lvl-cancelled {
	background: #ebe5d8;
	color: #7d7361;
}

.ws-badge.lvl-full::before,
.ws-badge.lvl-closed::before,
.ws-badge.lvl-cancelled::before {
	background: #b8ae98;
}

/* ---------- Kurs-Karten ---------- */

.ws-courses {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.ws-course-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 18px 18px 14px;
	background: #fff;
	border: 1px solid var(--ws-line);
	border-radius: 10px;
	cursor: pointer;
	color: var(--ws-ink);
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

@media (hover: hover) {
	.ws-course-card:hover {
		border-color: var(--ws-gold);
		transform: translateY(-1px);
		box-shadow: 0 4px 12px rgba(40, 25, 10, 0.08);
	}
}

.ws-course-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ws-course-card:has(input:focus-visible) {
	box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.45);
}

.ws-course-card:has(input:checked),
.ws-course-card.is-checked {
	border-color: var(--ws-gold);
	box-shadow: 0 0 0 1px var(--ws-gold), 0 4px 14px rgba(201, 162, 75, 0.22);
	background: #fffdf8;
}

.ws-course-card.is-checked::after,
.ws-course-card:has(input:checked)::after {
	content: '✓';
	position: absolute;
	top: 14px;
	right: 14px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--ws-wine);
	color: #fff;
	font-size: 14px;
	line-height: 24px;
	text-align: center;
	animation: wsPop 0.28s ease-out;
}

.ws-course-head {
	display: flex;
	flex-direction: column;
	padding-right: 30px;
}

.ws-course-kicker {
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ws-gold);
	font-weight: 700;
}

.ws-course-title {
	font-family: var(--ws-serif);
	font-size: 20px;
	letter-spacing: 0.02em;
	line-height: 1.25;
	margin-top: 2px;
}

.ws-course-card:has(input:checked) .ws-course-title,
.ws-course-card.is-checked .ws-course-title {
	color: var(--ws-wine);
}

.ws-course-price {
	font-family: var(--ws-serif);
	font-size: 26px;
	color: var(--ws-wine);
	margin-top: 6px;
}

.ws-course-price small {
	font-family: inherit;
	font-size: 14px;
	color: var(--ws-muted);
	margin-left: 4px;
}

.ws-course-sub {
	font-size: 14px;
	color: var(--ws-label);
	margin-top: 6px;
}

.ws-course-desc {
	display: block;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed var(--ws-line);
	font-size: 13.5px;
	line-height: 1.5;
	color: #4a4338;
}

.ws-course-desc ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ws-course-desc li {
	position: relative;
	padding-left: 16px;
	margin: 0 0 5px;
}

.ws-course-desc li::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 0.6em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ws-gold);
}

.ws-course-desc strong {
	color: var(--ws-ink);
}

/* ---------- Personen je Kurs (Kurse mischbar) ---------- */

.ws-subtitle-courses {
	margin-top: 28px;
}

.ws-course-intro {
	margin: -6px 0 14px;
	font-size: 14px;
	color: var(--ws-muted);
}

.ws-course-card {
	cursor: default;
}

.ws-qty {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--ws-line-soft);
}

.ws-course-desc + .ws-qty {
	margin-top: 12px;
}

.ws-qty-label {
	font-family: var(--ws-serif);
	font-size: 14px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--ws-label);
}

.ws-qty-ctrl {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--ws-line);
	border-radius: 24px;
	overflow: hidden;
	background: #fff;
}

.ws-course-card .ws-qty-input {
	position: static;
	opacity: 1;
	pointer-events: auto;
	width: 52px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 0;
	border-left: 1px solid var(--ws-line-soft);
	border-right: 1px solid var(--ws-line-soft);
	border-radius: 0;
	box-shadow: none;
	background: #fff;
	text-align: center;
	font-size: 18px;
	font-weight: 700;
	color: var(--ws-ink);
	-moz-appearance: textfield;
}

.ws-qty-input::-webkit-outer-spin-button,
.ws-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.ws-qty-input:focus {
	outline: none;
	background: #fffdf8;
}

.ws-qty-btn {
	appearance: none;
	width: 44px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 0;
	background: #fff;
	color: var(--ws-wine);
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background 0.12s, color 0.12s;
}

.ws-qty-btn:hover:not(:disabled) {
	background: var(--ws-wine);
	color: #fff;
}

.ws-qty-btn:disabled {
	color: #cfc6b4;
	cursor: not-allowed;
}

.ws-course-card.is-checked .ws-qty-ctrl {
	border-color: var(--ws-gold);
}

.ws-qty-summary {
	margin-top: 12px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ws-qty-summary .ws-field-hint {
	font-weight: 600;
}

.ws-price-row.is-total {
	border-top: 1px solid var(--ws-line-soft);
	margin-top: 4px;
	padding-top: 8px;
	font-weight: 700;
}

/* ---------- Preisbox ---------- */

.ws-price {
	margin: 22px 0 0;
	padding: 14px 18px;
	background: #fff;
	border: 2px dashed var(--ws-gold);
	border-radius: 10px;
}

.ws-price[hidden] {
	display: none;
}

.ws-price-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 4px 0;
}

.ws-price-row strong {
	white-space: nowrap;
}

.ws-price-row.is-deposit {
	color: var(--ws-wine);
	border-top: 1px solid var(--ws-line-soft);
	margin-top: 4px;
	padding-top: 8px;
}

.ws-price-row.is-deposit strong {
	font-size: 18px;
}

.ws-price-row.is-rest {
	color: var(--ws-muted);
	font-size: 14px;
}

/* ---------- Adress-Vorschlaege ---------- */

.ws-suggest-box {
	position: relative;
}

.ws-suggest {
	position: absolute;
	z-index: 60;
	top: 100%;
	left: 0;
	right: 0;
	margin: 4px 0 0;
	padding: 4px 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--ws-line);
	border-top: 3px solid var(--ws-gold);
	border-radius: 8px;
	box-shadow: 0 16px 40px rgba(40, 25, 10, 0.18);
	max-height: 260px;
	overflow-y: auto;
}

.ws-suggest[hidden] {
	display: none;
}

.ws-suggest li {
	margin: 0;
	padding: 10px 14px;
	cursor: pointer;
	font-size: 15px;
}

.ws-suggest li mark {
	background: none;
	color: var(--ws-wine);
	font-weight: 700;
}

.ws-suggest li.is-active,
.ws-suggest li:hover {
	background: #faf6ee;
}

.ws-field-zip {
	max-width: none;
}

/* ---------- Uebersicht (Schritt 3) ---------- */

.ws-summary {
	background: #fff;
	border: 2px dashed var(--ws-gold);
	border-radius: 10px;
	padding: 18px 22px;
	margin-bottom: 20px;
}

.ws-summary[hidden] {
	display: none;
}

.ws-summary-list {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 7px 22px;
	margin: 0 0 8px;
}

.ws-summary-list dt {
	color: var(--ws-muted);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ws-summary-list dd {
	margin: 0;
	font-weight: 600;
}

.ws-summary-list dd.is-deposit {
	color: var(--ws-wine);
	font-size: 18px;
}

.ws-link {
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	color: var(--ws-wine);
	text-decoration: underline;
	cursor: pointer;
	font-size: 14px;
}

/* ---------- Zahlart ---------- */

.ws-paymethods-wrap {
	margin-bottom: 18px;
}

.ws-paymethods {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.ws-paymethod {
	position: relative;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid var(--ws-line);
	border-radius: 10px;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.ws-paymethod input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ws-paymethod:has(input:focus-visible) {
	box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.45);
}

.ws-paymethod.is-checked,
.ws-paymethod:has(input:checked) {
	border-color: var(--ws-gold);
	box-shadow: 0 0 0 1px var(--ws-gold), 0 4px 14px rgba(201, 162, 75, 0.22);
	background: #fffdf8;
}

.ws-paymethod.is-disabled {
	opacity: 0.55;
	cursor: not-allowed;
	box-shadow: none;
}

.ws-paymethod-icon {
	flex: 0 0 auto;
	font-size: 26px;
	line-height: 1;
}

.ws-paymethod-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.ws-paymethod-text strong {
	font-family: var(--ws-serif);
	font-weight: 400;
	font-size: 17px;
	color: var(--ws-ink);
}

.ws-paymethod.is-checked strong,
.ws-paymethod:has(input:checked) strong {
	color: var(--ws-wine);
}

.ws-paymethod-text small {
	font-size: 13px;
	color: var(--ws-muted);
	line-height: 1.45;
}

.ws-paymethod-text small[hidden] {
	display: none;
}

/* Ueberweisungsdaten + GiroCode auf der Abschluss-Seite */
.ws-transfer {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 26px;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 2px solid var(--ws-gold);
	border-radius: 10px;
	padding: 18px 22px;
	margin: 6px 0 18px;
}

.ws-girocode {
	margin: 0;
	text-align: center;
}

.ws-girocode img {
	display: block;
	width: 200px;
	height: 200px;
	margin: 0 auto;
	image-rendering: pixelated;
}

.ws-girocode figcaption {
	font-size: 12px;
	color: var(--ws-muted);
	max-width: 220px;
	margin-top: 6px;
}

.ws-transfer-data {
	flex: 1 1 260px;
}

.ws-mono {
	font-family: Consolas, 'Courier New', monospace;
	letter-spacing: 0.02em;
}

/* ---------- Captcha / Checkboxen ---------- */

.ws-captcha {
	margin-bottom: 16px;
}

.ws-captcha input {
	max-width: 200px;
}

.ws-checks {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 8px 0 12px;
}

.ws-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	font-size: 14px;
	line-height: 1.5;
}

.ws-check input[type="checkbox"] {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin: 1px 0 0;
	accent-color: var(--ws-wine);
}

.ws-check a {
	color: var(--ws-wine);
}

.ws-check-box {
	border: 1px solid var(--ws-gold);
	background: #fdfaf3;
	border-radius: 8px;
	padding: 12px 14px;
}

.ws-check.is-invalid {
	border-color: var(--ws-wine);
	background: #fdf2f2;
	border-radius: 8px;
	outline: 1px solid var(--ws-wine);
	outline-offset: 3px;
}

.ws-check-box.is-invalid {
	outline: none;
}

.ws-min-note,
.ws-secure-note {
	font-size: 13px;
	color: var(--ws-muted);
}

.ws-secure-note {
	text-align: right;
	margin: 8px 0 0;
}

/* Honeypot */
.ws-hp {
	position: absolute;
	left: -9999px;
	top: -9999px;
	height: 1px;
	overflow: hidden;
}

/* ---------- Buttons ---------- */

.ws-nav {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 26px;
}

.ws-js .ws-nav {
	display: flex;
}

.ws-nav:not(.ws-nav-final) {
	display: none;
}

.ws-js .ws-nav:not(.ws-nav-final) {
	display: flex;
}

.ws-js .ws-nav .ws-prev {
	margin-right: auto;
}

.ws-nav-final .ws-prev {
	display: none;
}

.ws-js .ws-nav-final .ws-prev {
	display: inline-block;
}

.ws-btn {
	display: inline-block;
	background: var(--ws-wine);
	color: #fff;
	border: 1px solid var(--ws-wine);
	border-radius: 6px;
	padding: 14px 32px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	text-decoration: none;
	line-height: 1.2;
	box-shadow: 0 4px 14px rgba(155, 27, 27, 0.25);
	transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.ws-btn:hover,
.ws-btn:focus {
	background: var(--ws-wine-dark);
	color: var(--ws-gold-light);
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(155, 27, 27, 0.3);
}

.ws-btn:disabled {
	opacity: 0.6;
	cursor: wait;
	transform: none;
}

.ws-btn-ghost {
	background: #fff;
	color: var(--ws-wine);
	box-shadow: none;
}

.ws-btn-ghost:hover,
.ws-btn-ghost:focus {
	background: #fdf5f5;
	color: var(--ws-wine-dark);
	box-shadow: none;
}

.ws-btn-danger {
	background: #6b6b6b;
	border-color: #6b6b6b;
	box-shadow: none;
}

.ws-btn-danger:hover,
.ws-btn-danger:focus {
	background: var(--ws-wine);
	border-color: var(--ws-wine);
	color: #fff;
}

/* ---------- Abschluss / Storno-Seite ---------- */

.ws-card {
	background: var(--ws-paper);
	border: 1px solid var(--ws-line);
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(40, 25, 10, 0.08);
	padding: 26px clamp(18px, 4vw, 34px);
	margin-top: 18px;
	animation: wsFadeUp 0.55s ease-out both;
}

.ws-done-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 10px;
	border-radius: 50%;
	background: var(--ws-green);
	color: #fff;
	font-size: 34px;
	line-height: 64px;
	text-align: center;
	animation: wsPop 0.45s ease-out;
}

.ws-done-icon.is-wait {
	background: var(--ws-gold);
}

.ws-done-icon.is-off {
	background: #9b9180;
}

.ws-card h2 {
	font-family: var(--ws-serif);
	font-weight: 400;
	color: var(--ws-wine);
	text-align: center;
	margin: 0 0 10px;
}

.ws-card-lead {
	text-align: center;
	color: var(--ws-label);
	max-width: 560px;
	margin: 0 auto 18px;
}

.ws-cancel-box {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--ws-line);
}

/* ---------- Animationen ---------- */

@keyframes wsFadeUp {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}

@keyframes wsPop {
	0% { opacity: 0; transform: scale(0.4); }
	70% { transform: scale(1.15); }
	100% { opacity: 1; transform: scale(1); }
}

@keyframes wsPulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(155, 27, 27, 0.35); }
	50% { box-shadow: 0 0 0 5px rgba(155, 27, 27, 0); }
}

.ws-title {
	animation: wsFadeUp 0.55s ease-out both;
}

.ws-form {
	animation: wsFadeUp 0.65s ease-out 0.15s both;
}

@media (prefers-reduced-motion: reduce) {
	.ws-wrap *,
	.ws-title,
	.ws-form {
		animation: none !important;
		transition: none !important;
	}
}

/* ---------- Responsive ---------- */

@media (max-width: 680px) {
	.ws-courses,
	.ws-paymethods {
		grid-template-columns: 1fr;
	}

	.ws-steps-label {
		display: none;
	}

	.ws-steps-item.is-active .ws-steps-label {
		display: inline;
	}
}

@media (max-width: 620px) {
	.ws-grid {
		grid-template-columns: 1fr;
	}

	.ws-field-zip {
		max-width: 180px;
	}

	.ws-form {
		padding: 20px 16px 24px;
	}

	.ws-dates {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.ws-date-day {
		font-size: 32px;
	}

	.ws-summary-list {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.ws-summary-list dd {
		margin-bottom: 8px;
	}

	.ws-nav {
		flex-wrap: wrap-reverse;
	}

	.ws-nav .ws-btn {
		flex: 1 1 auto;
		padding: 14px 18px;
		text-align: center;
	}

	.ws-js .ws-nav .ws-prev {
		margin-right: 0;
	}
}
