/* ==========================================================================
   MSD Pricing Section — Kategorie-Filter + Slider
   Dark/Light-Mode, WCAG AA, Verkaufspsychologie
   ========================================================================== */

/* ── Section ─────────────────────────────────────────────── */
.msd-pricing { overflow: hidden; }
.msd-pricing__sub {
	color: var(--opt-text-muted, rgba(245,240,232,.6));
	font-size: 1rem;
	max-width: 520px;
	margin: .75rem auto 0;
	text-align: center;
}

/* ── Filter Buttons ─────────────────────────────────────── */
.msd-pricing__filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem;
	margin: 2.5rem 0;
}
.msd-pricing__filter {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .55rem 1.15rem;
	border: 1px solid rgba(201,168,76,.25);
	border-radius: 50px;
	background: rgba(201,168,76,.06);
	color: rgba(245,240,232,.65);
	font-size: .82rem;
	font-weight: 500;
	cursor: pointer;
	transition: all .2s ease;
	white-space: nowrap;
}
.msd-pricing__filter:hover {
	border-color: rgba(201,168,76,.5);
	color: #c9a84c;
	background: rgba(201,168,76,.12);
}
.msd-pricing__filter.is-active {
	background: linear-gradient(135deg, #c9a84c, #e8c97a);
	border-color: transparent;
	color: #0a1428;
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(201,168,76,.35);
}
[data-theme="light"] .msd-pricing__filter { color: rgba(22,32,58,.65); border-color: rgba(156,125,46,.3); }
[data-theme="light"] .msd-pricing__filter:hover { color: #9c7d2e; }
[data-theme="light"] .msd-pricing__filter.is-active { color: #fff; }

/* ── Slider Viewport ────────────────────────────────────── */
.msd-pricing__slider {
	position: relative;
	overflow: hidden;
}
.msd-pricing__track {
	display: flex;
	gap: 1.25rem;
	transition: transform .45s cubic-bezier(.4,0,.2,1);
	will-change: transform;
	align-items: stretch;
	padding-top: 1.5rem;
}

/* ── Card ───────────────────────────────────────────────── */
.msd-pricing__card {
	position: relative;
	flex: 0 0 calc(33.333% - .85rem);
	max-width: calc(33.333% - .85rem);
	background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 16px;
	padding: 2rem 1.5rem 1.75rem;
	display: flex;
	flex-direction: column;
	transition: transform .2s ease, border-color .2s ease;
}
.msd-pricing__card:hover {
	transform: translateY(-4px);
	border-color: rgba(201,168,76,.35);
}
.msd-pricing__card--popular {
	border-color: rgba(201,168,76,.45);
	background: rgba(201,168,76,.05);
	transform: scale(1.02);
}
.msd-pricing__card--popular:hover { transform: scale(1.02) translateY(-4px); }

[data-theme="light"] .msd-pricing__card { background: #fff; border-color: rgba(0,0,0,.1); }
[data-theme="light"] .msd-pricing__card--popular { border-color: rgba(156,125,46,.45); background: rgba(156,125,46,.05); }

/* Badge — innerhalb der Karte, kein absolutes Herausragen */
.msd-pricing__badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: linear-gradient(135deg,#c9a84c,#e8c97a);
	color: #0a1428;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 4px 14px;
	border-radius: 20px;
	white-space: nowrap;
	margin-bottom: .5rem;
}

/* Cat Icon */
.msd-pricing__cat-icon {
	font-size: 1.75rem;
	margin-bottom: .75rem;
	line-height: 1;
}

/* Name & Desc */
.msd-pricing__name {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--opt-cream, #f5f0e8);
	margin: 0 0 .4rem;
}
[data-theme="light"] .msd-pricing__name { color: #16203a; }
.msd-pricing__desc {
	font-size: .82rem;
	color: rgba(245,240,232,.5);
	line-height: 1.55;
	margin: 0 0 1.25rem;
	flex-shrink: 0;
}
[data-theme="light"] .msd-pricing__desc { color: rgba(22,32,58,.55); }

/* Price */
.msd-pricing__price-wrap {
	margin-bottom: 1.25rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid rgba(255,255,255,.07);
}
[data-theme="light"] .msd-pricing__price-wrap { border-bottom-color: rgba(0,0,0,.08); }
.msd-pricing__price {
	display: block;
	font-size: 2rem;
	font-weight: 700;
	color: #c9a84c;
	line-height: 1.1;
}
[data-theme="light"] .msd-pricing__price { color: #9c7d2e; }
.msd-pricing__unit {
	font-size: .75rem;
	color: rgba(245,240,232,.4);
	margin-top: 2px;
	display: block;
}
[data-theme="light"] .msd-pricing__unit { color: rgba(22,32,58,.45); }

/* Features List */
.msd-pricing__features {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
	flex: 1;
}
.msd-pricing__features li {
	display: flex;
	align-items: flex-start;
	gap: .5rem;
	font-size: .82rem;
	color: rgba(245,240,232,.75);
	padding: .35rem 0;
	border-bottom: 1px solid rgba(255,255,255,.04);
	line-height: 1.4;
}
[data-theme="light"] .msd-pricing__features li { color: rgba(22,32,58,.8); border-bottom-color: rgba(0,0,0,.05); }
.msd-pricing__check {
	color: #c9a84c;
	font-size: .75rem;
	flex-shrink: 0;
	margin-top: 2px;
}
[data-theme="light"] .msd-pricing__check { color: #9c7d2e; }

/* CTA Button */
.msd-pricing__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: .85rem 1.25rem;
	border: 1px solid rgba(201,168,76,.35);
	border-radius: 10px;
	background: transparent;
	color: rgba(245,240,232,.8);
	font-size: .85rem;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	transition: all .2s ease;
	cursor: pointer;
	margin-top: auto;
}
.msd-pricing__btn:hover {
	border-color: #c9a84c;
	color: #c9a84c;
	background: rgba(201,168,76,.08);
}
.msd-pricing__btn--primary {
	background: linear-gradient(135deg,#c9a84c,#e8c97a);
	border-color: transparent;
	color: #0a1428;
	font-weight: 700;
	box-shadow: 0 4px 18px rgba(201,168,76,.35);
}
.msd-pricing__btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(201,168,76,.5);
	color: #0a1428;
}
[data-theme="light"] .msd-pricing__btn { border-color: rgba(156,125,46,.4); color: rgba(22,32,58,.75); }
[data-theme="light"] .msd-pricing__btn:hover { color: #9c7d2e; border-color: #9c7d2e; }

/* ── Slider Controls ────────────────────────────────────── */
.msd-pricing__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}
.msd-pricing__arrow {
	width: 42px; height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(201,168,76,.3);
	background: rgba(201,168,76,.08);
	color: #c9a84c;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	transition: all .2s ease;
}
.msd-pricing__arrow:hover:not(:disabled) {
	background: rgba(201,168,76,.18);
	border-color: rgba(201,168,76,.6);
}
.msd-pricing__arrow:disabled { opacity: .3; cursor: not-allowed; }
[data-theme="light"] .msd-pricing__arrow { border-color: rgba(156,125,46,.35); color: #9c7d2e; }

/* Dots */
.msd-pricing__dots { display: flex; gap: 6px; }
.msd-pricing__dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: rgba(201,168,76,.25);
	cursor: pointer;
	transition: all .25s ease;
	border: none;
}
.msd-pricing__dot.is-active {
	background: #c9a84c;
	width: 22px;
	border-radius: 4px;
}

/* ── Trust Signals ──────────────────────────────────────── */
.msd-pricing__trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.25rem 2.5rem;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255,255,255,.07);
}
[data-theme="light"] .msd-pricing__trust { border-top-color: rgba(0,0,0,.08); }
.msd-pricing__trust-item {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: .82rem;
	color: rgba(245,240,232,.55);
}
[data-theme="light"] .msd-pricing__trust-item { color: rgba(22,32,58,.6); }
.msd-pricing__trust-icon { font-size: 1rem; }

/* ── Cards hidden by filter ─────────────────────────────── */
.msd-pricing__card[hidden] { display: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
	.msd-pricing__card { flex: 0 0 calc(50% - .65rem); max-width: calc(50% - .65rem); }
}
@media (max-width: 600px) {
	.msd-pricing__card { flex: 0 0 calc(100% - 0rem); max-width: 100%; transform: none !important; }
	.msd-pricing__card--popular { transform: none; }
	.msd-pricing__filters { gap: .35rem; }
	.msd-pricing__filter { font-size: .78rem; padding: .45rem .85rem; }
	.msd-pricing__trust { gap: .85rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
	.msd-pricing__track { transition: none; }
	.msd-pricing__card { transition: border-color .2s; }
}

/* Netto Label unter Preis */
.msd-pricing__unit-wrap { display: flex; flex-direction: column; gap: 2px; }
.msd-pricing__netto {
	display: block;
	font-size: .65rem;
	color: rgba(245,240,232,.35);
	font-weight: 400;
	font-style: italic;
}
[data-theme="light"] .msd-pricing__netto { color: rgba(22,32,58,.38); }

/* ── KI Dual Pricing ───────────────────────────────────────── */
.msd-pricing__price-main {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .35rem;
	margin-bottom: .4rem;
}
.msd-pricing__rent-row {
	display: flex;
	align-items: center;
	gap: .4rem;
	padding: .35rem .65rem;
	background: rgba(201,168,76,.05);
	border-left: 2px solid rgba(201,168,76,.35);
	border-radius: 0 6px 6px 0;
	margin-bottom: .4rem;
}
.msd-pricing__rent-or {
	font-size: .65rem;
	color: rgba(245,240,232,.35);
	font-style: italic;
	flex-shrink: 0;
}
.msd-pricing__rent {
	font-size: .88rem;
	font-weight: 600;
	color: rgba(201,168,76,.8);
}
.msd-pricing__token {
	display: flex;
	align-items: center;
	gap: .3rem;
	font-size: .67rem;
	color: rgba(245,240,232,.3);
	font-style: italic;
	margin-bottom: .75rem;
	line-height: 1.4;
}
[data-theme="light"] .msd-pricing__rent-or { color: rgba(22,32,58,.35); }
[data-theme="light"] .msd-pricing__rent { color: rgba(156,125,46,.85); }
[data-theme="light"] .msd-pricing__token { color: rgba(22,32,58,.35); }
[data-theme="light"] .msd-pricing__rent-row { background: rgba(156,125,46,.05); border-left-color: rgba(156,125,46,.35); }
