/* Algorithmics MK – Workshop-Buchung */
.amkws, .amkws-modal {
	--w-t: #F5ECFB; --w-mu: #E4D4F0; --w-ink: #170B22; --w-y: #FFB606; --w-yd: #C48A00;
	--w-p: #61277C; --w-a: #A05AC5; --w-a2: #C78EF0; --w-bg2: #170B22; --w-red: #FF8A8A;
	font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.amkws { color: var(--w-t); }
.amkws-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .amkws-grid { grid-template-columns: 1fr; } }

.amkws-card {
	display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 20px;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(199, 142, 240, .45);
	border-radius: 20px; transition: transform .2s, border-color .2s, background .2s;
}
.amkws-card:hover { transform: translateY(-3px); border-color: var(--w-y); background: rgba(255, 255, 255, .11); }
.amkws-card.is-sold { opacity: .72; }
.amkws-card.is-sold:hover { transform: none; border-color: rgba(199, 142, 240, .45); }
.amkws-date { color: var(--w-y); font-weight: 800; font-size: 14px; letter-spacing: .2px; }
.amkws-title { margin: 0 !important; font-family: Manrope, sans-serif; font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -.3px; color: #fff !important; }
.amkws-age { color: var(--w-mu); font-size: 15px; font-weight: 600; }
.amkws-teaser { color: #fff; font-size: 15px; line-height: 1.5; margin: 4px 0 0 !important; flex: 1; }

.amkws-seats, .amkws-seatline { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.amkws-pill { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; background: rgba(160, 90, 197, .35); color: #fff; }
.amkws-pill.is-low { background: var(--w-y); color: var(--w-ink); }
.amkws-pill.is-out { background: rgba(255, 255, 255, .14); color: #fff; }
.amkws-dots { display: inline-flex; gap: 4px; }
.amkws-dots i { width: 10px; height: 10px; border-radius: 3px; background: rgba(255, 255, 255, .85); }
.amkws-dots i.on { background: rgba(255, 255, 255, .2); }

.amkws-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 12px; }
.amkws-btn {
	appearance: none; border: 0; cursor: pointer; font-family: inherit; font-weight: 800; font-size: 16px;
	padding: 13px 24px; border-radius: 999px; background: var(--w-y); color: var(--w-ink);
	box-shadow: inset 0 -4px 0 var(--w-yd); transition: transform .15s, box-shadow .15s;
}
.amkws-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: inset 0 -4px 0 var(--w-yd), 0 5px 0 var(--w-p); }
.amkws-btn:disabled { background: rgba(255, 255, 255, .2); color: #fff; box-shadow: none; cursor: not-allowed; }
.amkws-btn-wide { width: 100%; }
.amkws-btn-ghost { background: transparent; color: #fff; border: 2px solid var(--w-a2); box-shadow: none; }
.amkws-btn-ghost:hover:not(:disabled) { background: rgba(160, 90, 197, .25); box-shadow: none; }
.amkws-link { appearance: none; background: none; border: 0; padding: 0; cursor: pointer; color: var(--w-a2); font: inherit; font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.amkws-link:hover { color: #fff; }

/* Modal */
html.amkws-lock { overflow: hidden; }
.amkws-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-start; justify-content: center; padding: 24px 16px; overflow-y: auto; }
.amkws-modal[hidden] { display: none; }
.amkws-backdrop { position: fixed; inset: 0; background: rgba(15, 7, 21, .78); backdrop-filter: blur(3px); }
.amkws-dialog {
	position: relative; width: 100%; max-width: 620px; margin: auto; background: var(--w-bg2); color: #fff;
	border: 1px solid rgba(199, 142, 240, .4); border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); outline: none;
}
.amkws-dialog.is-busy { pointer-events: none; }
.amkws-dialog.is-busy::after { content: "Einen Moment …"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(23, 11, 34, .82); border-radius: 22px; font-weight: 800; font-size: 18px; color: #fff; }
.amkws-x { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.amkws-x:hover { background: rgba(255, 255, 255, .2); }
.amkws-body { padding: 28px 28px 26px; }
@media (max-width: 520px) { .amkws-body { padding: 24px 18px 20px; } .amkws-modal { padding: 10px 8px; } }
.amkws-mhead { padding-right: 44px; margin-bottom: 16px; }
.amkws-mhead h3 { margin: 6px 0 4px; font-family: Manrope, sans-serif; font-weight: 800; font-size: 26px; line-height: 1.12; letter-spacing: -.5px; color: #fff; }
.amkws-mhead .amkws-age { color: var(--w-mu); }
.amkws-desc p { color: #fff; font-size: 16px; line-height: 1.6; margin: 0 0 12px; }
.amkws-facts { margin: 6px 0 16px; padding: 0; list-style: none; }
.amkws-facts li { position: relative; padding-left: 24px; margin: 6px 0; color: #fff; }
.amkws-facts li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 3px; background: var(--w-y); }
.amkws-seatline { margin: 0 0 18px; }

.amkws-form fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.amkws-form legend { font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--w-a2); margin-bottom: 8px; padding: 0; }
.amkws-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.amkws-row-zip { grid-template-columns: 120px 1fr; }
.amkws-form fieldset > .amkws-row:first-of-type:has([name="child_age"]) { grid-template-columns: 1fr 110px; }
@media (max-width: 520px) { .amkws-row { grid-template-columns: 1fr; } .amkws-row-zip, .amkws-form fieldset > .amkws-row:first-of-type:has([name="child_age"]) { grid-template-columns: 110px 1fr; } }
.amkws-f { display: block; margin: 0 0 10px; }
.amkws-f span { display: block; font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.amkws-f input, .amkws-f textarea {
	width: 100%; box-sizing: border-box; padding: 11px 13px; border-radius: 12px; font: inherit; font-size: 16px;
	background: rgba(255, 255, 255, .07); color: #fff; border: 1.5px solid rgba(199, 142, 240, .45); outline: none;
}
.amkws-f input:focus, .amkws-f textarea:focus { border-color: var(--w-y); background: rgba(255, 255, 255, .1); }
.amkws-f.is-bad input, .amkws-check.is-bad span { border-color: var(--w-red); color: #fff; }
.amkws-check.is-bad { outline: 1.5px solid var(--w-red); outline-offset: 4px; border-radius: 8px; }

.amkws-addon { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 4px 0 12px; border-radius: 14px; background: rgba(255, 182, 6, .12); border: 1.5px solid rgba(255, 182, 6, .55); cursor: pointer; }
.amkws-addon strong { display: block; color: #fff; font-size: 15px; }
.amkws-addon small { display: block; color: #fff; opacity: .9; font-size: 13px; margin-top: 3px; line-height: 1.45; }
.amkws-addon input, .amkws-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 20px; accent-color: var(--w-y); }
.amkws-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; margin: 4px 0 10px; border-top: 1px solid rgba(199, 142, 240, .3); border-bottom: 1px solid rgba(199, 142, 240, .3); }
.amkws-total span { font-weight: 700; color: #fff; }
.amkws-total strong { font-size: 28px; font-weight: 800; color: var(--w-y); }
.amkws-check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: 14px; line-height: 1.45; color: #fff; cursor: pointer; }
.amkws-check a { color: var(--w-y); }
.amkws-msg { margin: 12px 0; padding: 11px 14px; border-radius: 12px; background: rgba(255, 138, 138, .16); border: 1px solid var(--w-red); color: #fff; font-weight: 700; font-size: 14px; }
.amkws-pay { margin-top: 16px; }
.amkws-paytitle { font-weight: 800; font-size: 14px; margin-bottom: 10px; color: #fff; }
.amkws-ppbtns { background: #fff; border-radius: 16px; padding: 14px 14px 4px; min-height: 60px; }
.amkws-loading { color: var(--w-ink); font-weight: 700; font-size: 14px; padding: 8px 0 14px; text-align: center; }
.amkws-or { text-align: center; color: #fff; font-weight: 700; margin: 14px 0 10px; font-size: 14px; }
.amkws-small { color: #fff; opacity: .85; font-size: 13px; line-height: 1.5; margin: 8px 0 0; }

.amkws-done { text-align: center; padding-top: 8px; }
.amkws-check-ico { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; background: var(--w-y); color: var(--w-ink); font-size: 34px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.amkws-done h3 { font-family: Manrope, sans-serif; font-weight: 800; font-size: 26px; margin: 4px 0 8px; color: #fff; }
.amkws-done p { color: #fff; }
.amkws-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; text-align: left; margin: 18px 0; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.amkws-dl dt { color: var(--w-a2); font-weight: 700; font-size: 14px; }
.amkws-dl dd { margin: 0; color: #fff; font-weight: 700; }
.amkws-bank { text-align: left; padding: 14px 18px; border-radius: 14px; background: rgba(255, 182, 6, .14); border: 1.5px solid rgba(255, 182, 6, .55); color: #fff; line-height: 1.6; margin-bottom: 12px; }
.amkws-ok { font-weight: 800; color: var(--w-y) !important; }
.amkws-done .amkws-btn { margin-top: 14px; }
