/*!
 * Feuerwerksstand – Gestaltung
 * Alle Regeln sind auf .fws bzw. die eine Shortcode-Seite (body.fws-page-dark) begrenzt.
 */

/* ---------- Dunkle Seite (nur auf der Seite mit dem Shortcode, abschaltbar) ---------- */
body.fws-page-dark {
	background: #050608 !important;
	color: #f3eee4;
	color-scheme: dark;
	/* Block-Themes (z. B. Twenty Twenty-Five) übernehmen damit Kopf- und Fußbereich dunkel. */
	--wp--preset--color--base: #050608;
	--wp--preset--color--contrast: #f3eee4;
}
body.fws-page-dark .wp-block-post-title,
body.fws-page-dark .entry-title { color: #f3eee4; }
/* Optional: Fußzeile des Themes auf dieser Seite ausblenden (Block-Themes und gängige klassische Themes). */
body.fws-hide-footer .wp-site-blocks > footer,
body.fws-hide-footer footer.wp-block-template-part,
body.fws-hide-footer #colophon,
body.fws-hide-footer footer.site-footer,
body.fws-hide-footer .site-footer,
body.fws-hide-footer #footer { display: none !important; }

/* Optional: Seitentitel des Themes ausblenden – der Startbereich trägt den Namen bereits. */
body.fws-hide-title .wp-block-post-title,
body.fws-hide-title .entry-header .entry-title,
body.fws-hide-title h1.entry-title,
body.fws-hide-title .page-title { display: none !important; }

.fws {
	--fws-bg: #050608;
	--fws-bg-2: #0d0f15;
	--fws-surface: #13161e;
	--fws-surface-2: #1b1f2a;
	--fws-line: rgba(255, 236, 200, 0.12);
	--fws-line-strong: rgba(255, 236, 200, 0.24);
	--fws-text: #f6f1e7;
	--fws-muted: #c3baa9;
	--fws-gold: #f4b740;
	--fws-gold-2: #ffd27a;
	--fws-ember: #ff7b3a;
	--fws-violet: #b066ff;
	--fws-red: #d42f25;
	--fws-on-gold: #1b1206;
	--fws-radius: 18px;
	--fws-radius-sm: 12px;
	--fws-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
	--fws-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
	--fws-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--fws-gutter: clamp(16px, 4vw, 40px);
	--fws-sticky-top: 0px;

	position: relative;
	container-type: inline-size;
	container-name: fws;
	isolation: isolate;
	overflow: clip;
	margin-block: 0;
	background: var(--fws-bg);
	color: var(--fws-text);
	font-family: var(--fws-sans);
	font-size: 17px;
	line-height: 1.6;
	border-radius: var(--fws-radius);
	-webkit-font-smoothing: antialiased;
	text-align: left;
}

body.admin-bar .fws { --fws-sticky-top: 32px; }
@media (max-width: 782px) { body.admin-bar .fws { --fws-sticky-top: 0px; } }

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

.fws.fws.fws--wide {
	width: calc(100vw - var(--fws-sbw, 0px));
	max-width: none;
	margin-left: calc(50% - (100vw - var(--fws-sbw, 0px)) / 2) !important;
	margin-right: 0 !important;
	border-radius: 0;
}

/* ---------- Basistypografie (erhöhte Spezifität gegen Theme-Regeln) ---------- */
.fws .fws-section__title,
.fws .fws-hero__title,
.fws .fws-group__title,
.fws .fws-cal__title,
.fws .fws-loc__name,
.fws .fws-detail__title,
.fws .fws-detail__subtitle,
.fws .fws-card__title {
	font-family: var(--fws-serif);
	color: var(--fws-text);
	font-weight: 600;
	letter-spacing: 0.005em;
	margin: 0;
	padding: 0;
	text-transform: none;
	border: 0;
	background: none;
	line-height: 1.15;
}
.fws .fws-section__title,
.fws .fws-hero__title,
.fws .fws-detail__title { text-wrap: balance; }
.fws p,
.fws ul,
.fws ol,
.fws dl,
.fws dd,
.fws figure,
.fws address { margin: 0; padding: 0; }
.fws ul, .fws ol { list-style: none; }
.fws li { margin: 0; padding: 0; }
.fws li::before, .fws li::marker { content: none; }
.fws address { font-style: normal; }
.fws img { max-width: 100%; height: auto; border: 0; box-shadow: none; border-radius: 0; }
.fws a { color: inherit; }
/* Manche Themes unterstreichen alle Inhaltslinks mit hoher Spezifität – für Schaltflächen & Navigation zurücksetzen. */
.fws a.fws-btn,
.fws a.fws-nav__link,
.fws a.fws-catnav__link,
.fws a.fws-card__link,
.fws a.fws-detail__close,
.fws a.fws-skip { text-decoration: none !important; box-shadow: none; }
.fws .fws-svg { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

.fws .fws-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Fokus gut sichtbar */
.fws a:focus-visible,
.fws button:focus-visible,
.fws summary:focus-visible,
.fws [tabindex]:focus-visible {
	outline: 3px solid var(--fws-gold-2);
	outline-offset: 3px;
	border-radius: 6px;
	box-shadow: 0 0 0 6px rgba(5, 6, 8, 0.9);
}

.fws .fws-skip {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 50;
	padding: 10px 16px;
	background: var(--fws-gold);
	color: var(--fws-on-gold);
	font-weight: 700;
	border-radius: 10px;
}
.fws .fws-skip:focus { top: 12px; }

/* ---------- Schaltflächen & Links ---------- */
.fws .fws-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 48px;
	padding: 12px 22px;
	border-radius: 999px;
	border: 1px solid transparent;
	font: 600 16px/1.2 var(--fws-sans);
	letter-spacing: 0.01em;
	text-transform: none;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	box-shadow: none;
	text-shadow: none;
	width: auto;
	margin: 0;
}
.fws .fws-btn--primary {
	background: linear-gradient(180deg, var(--fws-gold-2), var(--fws-gold));
	color: var(--fws-on-gold);
	box-shadow: 0 8px 24px rgba(244, 183, 64, 0.25);
}
.fws .fws-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(244, 183, 64, 0.35); color: var(--fws-on-gold); }
.fws .fws-btn--ghost {
	background: rgba(255, 255, 255, 0.05);
	color: var(--fws-text);
	border-color: var(--fws-line-strong);
}
.fws .fws-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--fws-gold); color: var(--fws-text); }
.fws .fws-btn--small { min-height: 42px; padding: 9px 18px; font-size: 15px; }

.fws .fws-link {
	color: var(--fws-gold-2);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.fws .fws-link:hover { color: #fff; }

/* ---------- Startbereich mit Feuerwerk ---------- */
.fws .fws-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: #07060f;
}
.fws.fws:not(.fws--wide) .fws-hero { border-radius: var(--fws-radius) var(--fws-radius) 0 0; }
.fws .fws-hero__sky {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-color: #07060f;
	background-image: url("../img/fotos/feuerwerk-1200.webp");
	background-image: image-set(url("../img/fotos/feuerwerk-1200.webp") 1x, url("../img/fotos/feuerwerk-2400.webp") 2x);
	background-size: cover;
	background-position: 70% 0%;
	background-repeat: no-repeat;
}
@media (min-width: 1000px) {
	.fws .fws-hero__sky { background-image: url("../img/fotos/feuerwerk-2400.webp"); }
}
.fws .fws-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(5, 6, 8, 0.72) 0%, rgba(5, 6, 8, 0.25) 50%, rgba(5, 6, 8, 0) 100%),
		linear-gradient(180deg, rgba(5, 6, 8, 0) 55%, var(--fws-bg) 100%);
	pointer-events: none;
}
.fws .fws-hero__inner {
	display: grid;
	gap: clamp(28px, 5vw, 56px);
	align-items: center;
	max-width: 1320px;
	margin: 0 auto;
	padding: clamp(40px, 8vw, 110px) var(--fws-gutter) clamp(40px, 7vw, 90px);
}
@container fws (min-width: 900px) {
	.fws .fws-hero__inner { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); }
}
.fws .fws-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(5, 6, 8, 0.7);
	border: 1px solid var(--fws-line-strong);
	color: var(--fws-gold-2);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.fws .fws-hero__eyebrow::before { content: "✦"; color: var(--fws-gold); letter-spacing: 0; }
.fws .fws-hero__title {
	font-size: clamp(30px, 6vw, 64px);
	font-size: clamp(30px, 6.4cqi, 64px);
	line-height: 1.04;
	overflow-wrap: break-word;
	hyphens: auto;
	text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
}
.fws .fws-hero__tagline {
	margin-top: 16px;
	max-width: 44ch;
	font-size: clamp(17px, 2vw, 20px);
	color: #efe7d8;
}
.fws .fws-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fws .fws-hero__photo {
	position: relative;
	margin: 0;
	border-radius: var(--fws-radius);
	overflow: hidden;
	border: 1px solid var(--fws-line-strong);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 6px rgba(255, 255, 255, 0.03);
	background: var(--fws-surface);
}
.fws .fws-hero__photo img,
.fws .fws-hero__photo-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.fws .fws-hero__caption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 36px 16px 12px;
	background: linear-gradient(transparent, rgba(5, 6, 8, 0.92));
	font-size: 14px;
	font-weight: 600;
	color: var(--fws-text);
}

/* Heute-geöffnet-Hinweis */
.fws .fws-today[hidden] { display: none; }
.fws .fws-today {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 14px;
	font-weight: 600;
	font-size: 15px;
	color: var(--fws-text);
}
.fws .fws-today::before {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	margin-top: 0.45em;
	border-radius: 50%;
	background: var(--fws-muted);
}
.fws .fws-today[data-state="open"]::before { background: #7fd68c; box-shadow: 0 0 0 4px rgba(127, 214, 140, 0.18); }
.fws .fws-today[data-state="later"]::before { background: var(--fws-gold); }

/* ---------- Navigation ---------- */
.fws .fws-nav {
	position: sticky;
	top: var(--fws-sticky-top);
	z-index: 20;
	background: rgba(5, 6, 8, 0.88);
	backdrop-filter: blur(10px);
	border-block: 1px solid var(--fws-line);
}
.fws .fws-nav__list {
	display: flex;
	gap: 4px;
	overflow-x: auto;
	max-width: 1320px;
	margin: 0 auto;
	padding: 8px var(--fws-gutter);
	scrollbar-width: none;
}
.fws .fws-nav__list::-webkit-scrollbar { display: none; }
.fws .fws-nav__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 16px;
	border-radius: 999px;
	color: var(--fws-muted);
	font-weight: 600;
	font-size: 15px;
	white-space: nowrap;
	transition: color 0.2s ease, background-color 0.2s ease;
}
.fws .fws-nav__link:hover,
.fws .fws-nav__link[aria-current="true"] { color: var(--fws-text); background: rgba(255, 255, 255, 0.07); }
.fws a.fws-nav__link[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--fws-gold); }

/* ---------- Abschnitte ---------- */
.fws .fws-main { display: block; }
.fws .fws-section {
	position: relative;
	padding: clamp(44px, 7vw, 88px) var(--fws-gutter);
	max-width: 1320px;
	margin: 0 auto;
}
.fws .fws-section + .fws-section { border-top: 1px solid var(--fws-line); }
.fws .fws-section__head { margin-bottom: clamp(22px, 4vw, 36px); max-width: 760px; }
.fws .fws-section__title {
	font-size: clamp(28px, 4.2vw, 44px);
	position: relative;
	padding-top: 22px;
}
.fws .fws-section__title::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 56px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--fws-gold), var(--fws-violet));
}
.fws .fws-section__lead { margin-top: 14px; color: var(--fws-muted); font-size: 18px; }
.fws [id] { scroll-margin-top: calc(var(--fws-sticky-top) + 72px); }

/* ---------- Termine & Standorte (kompakt) ---------- */
.fws .fws-info__grid { display: grid; gap: clamp(18px, 3vw, 28px); }
@container fws (min-width: 900px) {
	.fws .fws-info__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
}
.fws .fws-info__cal,
.fws .fws-hours,
.fws .fws-loc {
	border-radius: var(--fws-radius);
	background:
		radial-gradient(90% 70% at 100% 0%, rgba(176, 102, 255, 0.10), transparent 60%),
		var(--fws-surface);
	border: 1px solid var(--fws-line);
}
.fws .fws-info__cal { padding: clamp(14px, 2.5vw, 24px); }
.fws .fws-info__side { display: grid; gap: 14px; }
.fws .fws-cal__title { font-size: 22px; margin-bottom: 10px; }
.fws .fws-cal__table {
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 5px;
	margin: -5px;
	width: calc(100% + 10px);
	border: 0;
	background: none;
	font-size: 15px;
}
.fws .fws-cal__table th,
.fws .fws-cal__table td { border: 0; background: none; padding: 0; text-align: center; vertical-align: top; }
.fws .fws-cal__table th { padding-bottom: 4px; color: var(--fws-muted); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.fws .fws-cal__table abbr { text-decoration: none; border: 0; cursor: default; }
.fws .fws-cal__cell {
	position: relative;
	height: 58px;
	border-radius: 10px !important;
	background: rgba(255, 255, 255, 0.025) !important;
	border: 1px solid transparent !important;
	color: #8f8778;
}
.fws .fws-cal__cell:not(.fws-cal__cell--simple) { height: 78px; }
.fws .fws-cal__cell--empty { background: transparent !important; }
.fws .fws-cal__num { display: block; padding-top: 7px; font-weight: 700; font-size: 16px; }
.fws .fws-cal__closed { display: block; font-size: 13px; line-height: 1; }
.fws .fws-cal__cell--open {
	color: var(--fws-text);
	background: linear-gradient(180deg, rgba(244, 183, 64, 0.26), rgba(176, 102, 255, 0.14)) !important;
	border-color: rgba(244, 183, 64, 0.6) !important;
}
.fws .fws-cal__cell--open .fws-cal__num { color: var(--fws-gold-2); }
.fws .fws-cal__mark { display: block; color: var(--fws-gold); font-size: 12px; line-height: 1.2; }
.fws .fws-cal__cell:not(.fws-cal__cell--simple) .fws-cal__mark { position: absolute; top: 4px; right: 6px; }
.fws .fws-cal__info { display: flex; flex-direction: column; gap: 1px; padding: 2px 4px 6px; }
.fws .fws-cal__time { font-size: 12px; font-weight: 700; line-height: 1.25; }
.fws .fws-cal__cell.is-today { outline: 2px solid #fff; outline-offset: 1px; }
.fws .fws-cal__cell.is-past { opacity: 0.55; }
@container fws (max-width: 560px) {
	.fws .fws-cal__table { border-spacing: 3px; margin: -3px; width: calc(100% + 6px); }
	.fws .fws-cal__cell, .fws .fws-cal__cell:not(.fws-cal__cell--simple) { height: 50px; border-radius: 8px !important; }
	.fws .fws-cal__num { padding-top: 5px; font-size: 15px; }
	.fws .fws-cal__info { display: none; }
	.fws .fws-cal__cell:not(.fws-cal__cell--simple) .fws-cal__mark { position: static; }
}
.fws .fws-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; color: var(--fws-muted); font-size: 14px; }
.fws .fws-legend__item { display: inline-flex; align-items: center; gap: 8px; }
.fws .fws-legend__swatch {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 22px;
	border-radius: 6px;
	font-size: 12px;
}
.fws .fws-legend__swatch--open { background: rgba(244, 183, 64, 0.24); border: 1px solid rgba(244, 183, 64, 0.6); color: var(--fws-gold); }
.fws .fws-legend__swatch--closed { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--fws-line); }

.fws .fws-hours { padding: clamp(16px, 2.5vw, 22px); }
.fws .fws-hours__time {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--fws-serif);
	font-size: clamp(26px, 3.4vw, 34px);
	font-weight: 600;
	color: var(--fws-gold-2);
	line-height: 1.1;
	white-space: nowrap;
}
.fws .fws-hours__time .fws-svg { color: var(--fws-gold); }
.fws .fws-hours__days { margin-top: 8px; color: var(--fws-muted); }
.fws .fws-hours__days strong { color: var(--fws-text); font-weight: 700; }
.fws .fws-nowrap { white-space: nowrap; }
.fws .fws-hours__closed { margin-top: 8px; color: var(--fws-muted); font-size: 15px; }
.fws .fws-hours__list { display: grid; gap: 4px; margin-top: 6px; font-size: 15px; }
.fws .fws-hours__list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 4px 0; border-bottom: 1px dashed var(--fws-line); }

.fws .fws-locs { display: grid; gap: 14px; }
@container fws (min-width: 600px) and (max-width: 899px) {
	.fws .fws-locs { grid-template-columns: 1fr 1fr; }
}
.fws .fws-loc {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(16px, 2.5vw, 22px);
}
.fws .fws-loc__name { display: flex; align-items: center; gap: 8px; font-size: 24px; }
.fws .fws-loc__name .fws-svg { color: var(--fws-gold); width: 22px; height: 22px; }
.fws .fws-loc__address { display: grid; font-size: 16px; color: var(--fws-text); }
.fws .fws-loc__extra { color: var(--fws-gold-2); font-weight: 700; }
.fws .fws-loc__note { color: var(--fws-muted); font-size: 15px; }
.fws .fws-loc__route { align-self: flex-start; margin-top: 4px; }

/* ---------- Katalog ---------- */
.fws .fws-catnav { margin: 0 0 32px; }
.fws .fws-catnav__list { display: flex; flex-wrap: wrap; gap: 8px; }
.fws .fws-catnav__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid var(--fws-line-strong);
	color: var(--fws-text);
	font-weight: 600;
	font-size: 15px;
	white-space: nowrap;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}
.fws .fws-catnav__link:hover { border-color: var(--fws-gold); background: rgba(244, 183, 64, 0.08); color: var(--fws-text); }
.fws .fws-catnav__count {
	min-width: 1.8em;
	padding: 1px 7px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	font-size: 13px;
	text-align: center;
}
@container fws (max-width: 640px) {
	.fws .fws-catnav__list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: calc(-1 * var(--fws-gutter)); padding-inline: var(--fws-gutter); scrollbar-width: thin; }
}

.fws .fws-group + .fws-group { margin-top: clamp(40px, 6vw, 64px); }
.fws .fws-group__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 16px;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--fws-line);
}
.fws .fws-group__title { font-size: clamp(22px, 3vw, 30px); }
.fws .fws-group__desc { color: var(--fws-muted); font-size: 15px; font-weight: 600; }

.fws .fws-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
	gap: 18px;
}
@container fws (max-width: 520px) {
	.fws .fws-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.fws .fws-card__summary { display: none; }
	.fws .fws-card__body { padding: 12px 12px 14px; }
	.fws .fws-card__title { font-size: 17px; }
	.fws .fws-card__more { font-size: 14px; }
}
.fws .fws-card__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: var(--fws-radius);
	background: linear-gradient(180deg, var(--fws-surface-2), var(--fws-surface));
	border: 1px solid var(--fws-line);
	overflow: hidden;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.fws .fws-card__inner:hover,
.fws .fws-card__inner:focus-within {
	transform: translateY(-3px);
	border-color: rgba(244, 183, 64, 0.5);
	box-shadow: var(--fws-shadow), 0 0 0 1px rgba(244, 183, 64, 0.15);
}
.fws .fws-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background:
		radial-gradient(60% 55% at 50% 55%, rgba(176, 102, 255, 0.16), transparent 70%),
		radial-gradient(120% 90% at 50% 0%, #252838, #111319 70%);
}
.fws .fws-card__media .fws-product__img,
.fws .fws-card__media .fws-product__noimg {
	position: absolute;
	inset: 18px;
	width: calc(100% - 36px);
	height: calc(100% - 36px);
	max-width: none;
	object-fit: contain;
	filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.5));
	transition: transform 0.35s ease;
}
.fws .fws-card__inner:hover .fws-product__img { transform: scale(1.04); }
.fws .fws-product__noimg {
	display: grid;
	place-items: center;
	color: var(--fws-muted);
	font-size: 14px;
	border: 1px dashed var(--fws-line-strong);
	border-radius: 12px;
}
.fws .fws-badges {
	position: absolute;
	top: 10px;
	left: 10px;
	right: 10px;
	display: flex;
	justify-content: space-between;
	gap: 6px;
	pointer-events: none;
}
.fws .fws-badges--inline { position: static; justify-content: flex-start; flex-wrap: wrap; margin-bottom: 10px; }
.fws .fws-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.6;
}
.fws .fws-badge--new { background: var(--fws-red); color: #fff; }
.fws .fws-badge--class { margin-left: auto; background: rgba(5, 6, 8, 0.82); color: var(--fws-gold-2); border: 1px solid var(--fws-line-strong); }
.fws .fws-badges--inline .fws-badge--class { margin-left: 0; text-transform: none; letter-spacing: 0.02em; font-size: 13px; }
.fws .fws-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.fws .fws-card__brand { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fws-gold); }
.fws .fws-card__title { margin-top: 4px; font-size: 21px; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
.fws .fws-card__link { color: var(--fws-text); }
.fws .fws-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--fws-radius); }
.fws .fws-card__link:focus-visible { outline: none; box-shadow: none; }
.fws .fws-card__link:focus-visible::after { outline: 3px solid var(--fws-gold-2); outline-offset: -3px; }
.fws .fws-card__summary { margin-top: 8px; color: var(--fws-muted); font-size: 15px; line-height: 1.5; }
.fws .fws-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 14px;
}
.fws .fws-card__more { color: var(--fws-gold-2); font-weight: 700; font-size: 15px; }
.fws .fws-arrow { display: inline-block; transition: transform 0.2s ease; }
.fws .fws-card__inner:hover .fws-arrow { transform: translateX(3px); }
.fws .fws-card__video {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	border: 1px solid var(--fws-line-strong);
	font-size: 13px;
	font-weight: 700;
	color: var(--fws-text);
}
.fws .fws-card__video span { color: var(--fws-ember); font-size: 11px; }
.fws .fws-empty {
	padding: 28px;
	border-radius: var(--fws-radius);
	border: 1px dashed var(--fws-line-strong);
	text-align: center;
	color: var(--fws-muted);
}

/* ---------- Detailansicht ---------- */
.fws .fws-dialog {
	width: min(1040px, calc(100vw - 24px));
	max-width: none;
	max-height: calc(100dvh - 24px);
	margin: auto;
	padding: 0;
	border: 1px solid var(--fws-line-strong);
	border-radius: var(--fws-radius);
	background: var(--fws-bg-2);
	color: var(--fws-text);
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
	overflow: auto;
	overscroll-behavior: contain;
}
.fws .fws-dialog:not([open]) { display: none; }
.fws .fws-dialog:focus { outline: none; }
.fws .fws-dialog::backdrop { background: rgba(3, 3, 6, 0.8); backdrop-filter: blur(4px); }
.fws .fws-dialog:not(:modal) {
	position: relative;
	inset: auto;
	width: 100%;
	max-height: none;
	margin: 0 0 32px;
	box-shadow: var(--fws-shadow);
}
.fws .fws-detail { padding: clamp(16px, 3vw, 32px); }
.fws .fws-detail__bar {
	position: sticky;
	top: calc(-1 * clamp(16px, 3vw, 32px));
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: calc(-1 * clamp(16px, 3vw, 32px)) calc(-1 * clamp(16px, 3vw, 32px)) 18px;
	padding: 12px clamp(16px, 3vw, 32px);
	background: rgba(13, 15, 21, 0.94);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--fws-line);
}
.fws .fws-detail__crumb { color: var(--fws-muted); font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.fws .fws-detail__close {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid var(--fws-line-strong);
	background: rgba(255, 255, 255, 0.05);
	color: var(--fws-text);
	font-size: 18px;
	cursor: pointer;
}
.fws .fws-detail__close:hover { border-color: var(--fws-gold); background: rgba(244, 183, 64, 0.12); color: var(--fws-text); }
.fws .fws-detail__grid { display: grid; gap: clamp(18px, 3vw, 36px); }
.fws .fws-detail__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	border-radius: var(--fws-radius);
	border: 1px solid var(--fws-line);
	background:
		radial-gradient(60% 55% at 50% 55%, rgba(176, 102, 255, 0.18), transparent 70%),
		radial-gradient(120% 90% at 50% 0%, #252838, #111319 70%);
}
@media (min-width: 760px) {
	.fws .fws-detail__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
	.fws .fws-detail__media { position: sticky; top: 76px; }
}
.fws .fws-detail__media .fws-product__img,
.fws .fws-detail__media .fws-product__noimg {
	position: absolute;
	inset: clamp(18px, 3vw, 32px);
	width: calc(100% - 2 * clamp(18px, 3vw, 32px));
	height: calc(100% - 2 * clamp(18px, 3vw, 32px));
	max-width: none;
	object-fit: contain;
	filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.55));
}
.fws .fws-detail__brand { color: var(--fws-gold); font-weight: 700; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
.fws .fws-detail__title { margin-top: 4px; font-size: clamp(30px, 4vw, 42px); }
.fws .fws-detail__title:focus,
.fws .fws-detail__title:focus-visible { outline: none; box-shadow: none; }
.fws .fws-detail__text { margin-top: 14px; color: #ebe4d6; }
.fws .fws-detail__text p + p { margin-top: 12px; }
.fws .fws-detail__subtitle { margin-top: 26px; margin-bottom: 10px; font-size: 20px; }
.fws .fws-specs { display: grid; border: 1px solid var(--fws-line); border-radius: var(--fws-radius-sm); overflow: hidden; }
.fws .fws-specs__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; padding: 10px 14px; font-size: 15px; }
.fws .fws-specs__row:nth-child(odd) { background: rgba(255, 255, 255, 0.035); }
.fws .fws-specs dt { color: var(--fws-muted); font-weight: 600; }
.fws .fws-specs dd { margin: 0; font-weight: 600; }
.fws .fws-detail__note {
	margin-top: 18px;
	padding: 12px 14px;
	border-left: 3px solid var(--fws-gold);
	background: rgba(244, 183, 64, 0.07);
	border-radius: 0 10px 10px 0;
	font-size: 15px;
}
.fws [data-fws-copy] { margin-top: 14px; }
.fws [data-fws-copy][hidden] { display: none; }

/* Video (Zwei-Klick) */
.fws .fws-video { margin-top: clamp(20px, 3vw, 32px); }
.fws .fws-video__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--fws-radius);
	overflow: hidden;
	border: 1px solid var(--fws-line);
	background:
		radial-gradient(80% 80% at 50% 40%, rgba(176, 102, 255, 0.16), transparent 70%),
		#08090d;
}
.fws .fws-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fws .fws-video__thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	z-index: 0;
}
.fws .fws-video__frame--thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(5, 6, 8, 0.1) 0%, rgba(5, 6, 8, 0.35) 55%, rgba(5, 6, 8, 0.85) 100%);
	pointer-events: none;
}
.fws .fws-video__consent {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 16px;
	text-align: center;
}
.fws .fws-video__playbtn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 6px 10px;
	border: 0;
	border-radius: 16px;
	background: none;
	box-shadow: none;
	color: var(--fws-text);
	font: 700 16px/1.2 var(--fws-sans);
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}
.fws .fws-video__play {
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	padding-left: 5px;
	border-radius: 50%;
	background: linear-gradient(180deg, var(--fws-gold-2), var(--fws-gold));
	color: var(--fws-on-gold);
	font-size: 26px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 0 8px rgba(244, 183, 64, 0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fws .fws-video__playbtn:hover .fws-video__play { transform: scale(1.06); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.6), 0 0 0 12px rgba(244, 183, 64, 0.22); }
.fws .fws-video__label { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8); }
.fws .fws-video__text {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	padding: 0 14px;
	font-size: 13px;
	color: #ddd5c6;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}
.fws .fws-video__meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--fws-muted); }
@media (max-width: 480px) {
	.fws .fws-video__play { width: 60px; height: 60px; font-size: 20px; }
	.fws .fws-video__text { font-size: 12px; bottom: 6px; }
}

/* ---------- Kontakt & Fuß ---------- */
.fws .fws-contact__list { display: grid; gap: 10px; font-size: 18px; }
.fws .fws-contact__label { display: inline-block; min-width: 7.5em; color: var(--fws-muted); font-weight: 600; }
.fws .fws-footer {
	padding: 26px var(--fws-gutter) 30px;
	border-top: 1px solid var(--fws-line);
	text-align: center;
	color: var(--fws-muted);
	font-size: 15px;
}
.fws .fws-footer__notice { color: var(--fws-text); font-weight: 600; }
.fws .fws-footer__links { display: flex; justify-content: center; gap: 24px; font-size: 15px; }
.fws .fws-footer__small { margin: 12px auto 0; max-width: 70ch; font-size: 13.5px; }

/* ---------- Dezente Animationen ---------- */
@media (prefers-reduced-motion: no-preference) {
	.fws.fws-js .fws-reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
	.fws.fws-js .fws-reveal.is-visible { opacity: 1; transform: none; }
	.fws .fws-hero__eyebrow::before { animation: fws-twinkle 3.2s ease-in-out infinite; }
	@keyframes fws-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
	.fws .fws-hero__sky { animation: fws-glow 9s ease-in-out infinite alternate; }
	@keyframes fws-glow { from { filter: brightness(0.92); } to { filter: brightness(1.08); } }
	.fws .fws-dialog:modal { animation: fws-pop 0.25s ease; }
	@keyframes fws-pop { from { opacity: 0; transform: translateY(10px) scale(0.99); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
	.fws *, .fws *::before, .fws *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Schmale Container (Smartphone, Theme mit Seitenleiste) */
@container fws (max-width: 640px) {
	.fws .fws-hero__actions .fws-btn { flex: 1 1 100%; }
	.fws .fws-contact__label { display: block; min-width: 0; }
	.fws .fws-hero::after {
		background:
			linear-gradient(180deg, rgba(5, 6, 8, 0.35) 0%, rgba(5, 6, 8, 0.65) 45%, var(--fws-bg) 100%);
	}
}

@media print {
	.fws { background: #fff; color: #000; }
	.fws .fws-nav, .fws .fws-catnav, .fws .fws-video, .fws .fws-hero__actions, .fws .fws-dialog, .fws template, .fws .fws-hero__sky { display: none !important; }
}
