/**
 * Komponenten nach CD Graubünden. Reihenfolge wie in den Spec-Dokumenten.
 * Alles eckig (Radius 0) ausser Pills.
 */

/* =========================================================================
   Icons
   ========================================================================= */
.icon {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.icon--16 { width: 16px; height: 16px; }
.icon--20 { width: 20px; height: 20px; }
.icon--32 { width: 32px; height: 32px; }
.icon--40 { width: 40px; height: 40px; }
.icon--48 { width: 48px; height: 48px; }

/* =========================================================================
   Buttons (Large 56 / Small 38, Eudoxus Bold 16/24)
   ========================================================================= */
.btn,
.button,
button.button,
a.button,
input.button,
.wp-element-button,
.wp-block-button__link {
	--btn-bg: var(--black);
	--btn-bg-hover: var(--neutral-750);
	--btn-bg-pressed: var(--neutral-800);
	--btn-color: var(--white);
	--btn-border: transparent;
	--btn-ring: var(--black);

	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	min-height: 56px;
	padding: 0 16px;
	border: 0;
	border-radius: 0;
	background: var(--btn-bg);
	box-shadow: inset 0 0 0 1px var(--btn-border);
	color: var(--btn-color);
	font-size: var(--fs-body-s);
	font-weight: 700;
	line-height: 24px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.12s ease;
}

.btn__label {
	padding-inline: 8px;
}

.btn .icon {
	width: 24px;
	height: 24px;
}

.btn:hover,
.button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
	background: var(--btn-bg-hover);
	color: var(--btn-color);
}

.btn:active,
.button:active {
	background: var(--btn-bg-pressed);
}

/* Fokus: Doppelrahmen (Outline aussen + Ring) */
.btn:focus-visible,
.button:focus-visible,
.wp-element-button:focus-visible {
	background: var(--btn-bg-hover);
	outline: 2px solid var(--white);
	outline-offset: 0;
	box-shadow: inset 0 0 0 1px var(--btn-border), 0 0 0 4px var(--btn-ring);
}

.btn[disabled],
.btn.is-disabled,
.button:disabled,
.button.disabled {
	--btn-bg: var(--neutral-75);
	--btn-bg-hover: var(--neutral-75);
	--btn-color: var(--neutral-600);
	--btn-border: transparent;
	cursor: not-allowed;
}

.btn--small,
.button.btn--small {
	min-height: 38px;
	padding: 7px 8px;
}

.btn--small .icon {
	width: 16px;
	height: 16px;
}

.btn--secondary {
	--btn-bg: var(--white);
	--btn-bg-hover: rgba(0, 0, 0, 0.1);
	--btn-bg-pressed: rgba(0, 0, 0, 0.2);
	--btn-color: var(--neutral-900);
	--btn-border: var(--neutral-500);
}

.btn--tertiary {
	--btn-bg: transparent;
	--btn-bg-hover: var(--neutral-50);
	--btn-bg-pressed: var(--neutral-100);
	--btn-color: var(--neutral-700);
}

.btn--tertiary.btn--small {
	--btn-bg-hover: rgba(0, 0, 0, 0.05);
	--btn-bg-pressed: rgba(0, 0, 0, 0.1);
}

.btn--warning {
	--btn-bg: var(--error-text);
	--btn-bg-hover: var(--error-hover);
	--btn-bg-pressed: var(--error-pressed);
	--btn-color: var(--white);
	--btn-ring: var(--error-text);
}

.btn--inverted {
	--btn-bg: var(--white);
	--btn-bg-hover: var(--neutral-200);
	--btn-bg-pressed: var(--neutral-300);
	--btn-color: var(--neutral-900);
	--btn-ring: var(--white);
}

.btn--inverted-secondary {
	--btn-bg: transparent;
	--btn-bg-hover: rgba(0, 0, 0, 0.1);
	--btn-bg-pressed: rgba(0, 0, 0, 0.2);
	--btn-color: var(--white);
	--btn-border: var(--white);
	--btn-ring: var(--white);
}

.btn--link {
	--btn-bg: transparent;
	--btn-bg-hover: transparent;
	--btn-bg-pressed: transparent;
	--btn-color: var(--blue-700);
	--btn-ring: var(--color-focus-ring);
	min-height: 0;
	padding: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.btn--link:hover {
	--btn-color: var(--blue-800);
}

.btn--block {
	width: 100%;
}

/* Icon-only: Large 56×56 (Icon 32), Small 40×40 */
.btn--icon {
	width: 56px;
	min-width: 56px;
	height: 56px;
	padding: 0;
}

.btn--icon .icon {
	width: 32px;
	height: 32px;
}

.btn--icon.btn--small {
	width: 40px;
	min-width: 40px;
	height: 40px;
	min-height: 40px;
}

.btn--icon.btn--small .icon {
	width: 24px;
	height: 24px;
}

/* =========================================================================
   Header Subdomain (88 / 72 / 64, sticky, hide on scroll)
   ========================================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--white);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-hidden {
	transform: translateY(-100%);
}

.site-header.is-scrolled {
	box-shadow: var(--elevation-header);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-xs);
	height: var(--header-height);
	padding: 16px var(--page-gutter);
}

.wordmark {
	display: inline-flex;
	align-items: center;
	height: 56px;
	padding: 16px;
	background: var(--blue-800);
	color: var(--white);
	font-size: 16px;
	line-height: 24px;
	text-decoration: none;
	white-space: nowrap;
}

.wordmark:hover {
	color: var(--white);
	background: var(--blue-700);
}

/* Logo: Standard = SVGs des Themes in Originalgrösse (72×81, ab Tablet 48×54) */
.site-logo {
	display: inline-flex;
	align-items: center;
}

.site-logo--default .site-logo__img {
	width: 72px;
	height: 81px;
	max-width: none;
}

/* Logo aus dem Customizer: Höhe der Wortmarken-Box */
.site-logo--custom {
	height: 56px;
}

.site-logo--custom .site-logo__img {
	width: auto;
	height: 100%;
	max-width: none;
}

.site-header__right {
	display: flex;
	align-items: center;
	gap: 16px;
}

.site-nav {
	display: none;
}

.site-nav ul {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 12px;
	color: var(--neutral-900);
	font-size: var(--fs-body-s);
	text-decoration: none;
}

.site-nav a:hover {
	background: rgba(0, 0, 0, 0.05);
}

.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a,
.site-nav a[aria-current="page"] {
	font-weight: 700;
}

/* Dropdown «Alle Produktkategorien»: Panel volle Breite unter dem Header */
.site-nav__toggle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 40px;
	padding: 8px 12px;
	border: 0;
	background: none;
	color: var(--neutral-900);
	font: inherit;
	font-size: var(--fs-body-s);
	cursor: pointer;
}

.site-nav__toggle:hover {
	background: rgba(0, 0, 0, 0.05);
}

.site-nav__toggle.is-current {
	font-weight: 700;
}

/* Platz für die fette Variante reservieren: Hover/aktiv Bold verschiebt so keine Nachbarn. */
.site-nav__label {
	display: inline-flex;
	flex-direction: column;
}

.site-nav__label::after {
	content: attr(data-label);
	height: 0;
	overflow: hidden;
	visibility: hidden;
	font-weight: 700;
}

.site-nav__toggle .icon {
	transition: transform 0.2s ease;
}

.site-nav__toggle[aria-expanded="true"] .icon {
	transform: rotate(180deg);
}

.nav-categories {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	max-height: calc(100vh - var(--header-height));
	overflow-y: auto;
	border-top: 1px solid var(--color-border);
	background: var(--white);
	box-shadow: var(--elevation-header);
}

.site-nav .nav-categories__columns ul {
	display: block;
}

.nav-categories__inner {
	max-width: calc(var(--content-max) + 2 * var(--page-gutter));
	margin-inline: auto;
	padding: var(--space-s) var(--page-gutter) var(--space-m);
}

.site-nav .nav-categories__all {
	gap: 8px;
	margin-bottom: var(--space-xs);
	padding-inline: 0;
	font-weight: 700;
}

.site-nav .nav-categories__columns {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: var(--space-xs) var(--space-s);
}

.site-nav .nav-categories__columns a {
	display: flex;
	min-height: 0;
	padding: 6px 0;
}

.site-nav .nav-categories__columns a:hover {
	background: none;
	text-decoration: underline;
}

.site-nav .nav-categories__lang {
	margin-bottom: 4px;
	border-bottom: 1px solid var(--color-border);
	font-weight: 700;
}

@media (min-width: 1200px) {
	.site-nav {
		display: block;
	}
}

/* Zeilen des Headers: unter 1200 px aufgelöst (eine Zeile), ab 1200 px zweizeilig (siehe unten) */
.site-header__meta,
.site-header__main {
	display: contents;
}

.lang-switch { order: 1; }
.header-action--search { order: 2; }
.header-action--account { order: 3; }
.header-action--cart { order: 4; }
.header-action--menu { order: 5; }

.site-header__right .btn--icon:hover {
	--btn-bg-hover: rgba(0, 0, 0, 0.05);
}

/* Sprachen als Textlinks (nur Desktop, Zeile 1) */
.lang-list {
	display: none;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lang-list a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px;
	color: var(--neutral-900);
	font-size: var(--fs-body-s);
	text-decoration: none;
}

.lang-list a:hover {
	background: rgba(0, 0, 0, 0.05);
}

.lang-list a[aria-current="true"] {
	font-weight: 700;
}

/*
 * Desktop: zweizeilig nach Header gr.ch (CD-Web-Specs Tokens/Komponenten, Abschnitt 2): Höhe 172,
 * Padding 24/56/16/56, Zeile 1 Sprachen (Abstand 16), Zeile 2 Navigation Body L 20 (Hover/aktiv Bold),
 * Items Padding 16/8 (o-u/l-r), Abstand 33. Zeile 1 40 hoch (Screenshot). Tablet/Mobile: Subdomain-Werte.
 */
@media (min-width: 1200px) {
	.site-header__inner {
		padding-block: 24px 16px;
	}

	.site-header__right {
		flex-direction: column;
		align-items: flex-end;
		justify-content: space-between;
		align-self: stretch;
		gap: 0;
	}

	.site-header__meta,
	.site-header__main {
		display: flex;
		align-items: center;
	}

	.site-header__meta {
		height: 40px;
		gap: 16px;
	}

	.site-header__main {
		min-height: 48px;
		gap: 24px;
	}

	.lang-list {
		display: flex;
	}

	.lang-switch {
		display: none;
	}

	.site-header__meta .btn--icon {
		width: 40px;
		min-width: 40px;
		height: 40px;
		min-height: 40px;
	}

	.site-header__meta .btn--icon .icon {
		width: 24px;
		height: 24px;
	}

	.site-header__meta .cart-count {
		top: -4px;
		right: -8px;
	}

	.site-header__main .btn--icon {
		width: 48px;
		min-width: 48px;
		height: 48px;
		min-height: 48px;
	}

	.site-nav > ul {
		gap: 33px;
	}

	.site-nav > ul > li > a,
	.site-nav__toggle {
		padding: 16px 8px;
		font-size: var(--fs-body-l);
	}

	.site-nav > ul > li > a:hover,
	.site-nav__toggle:hover {
		background: none;
		font-weight: 700;
	}
}

/* Warenkorb-Zähler */
.cart-link {
	position: relative;
}

.cart-count {
	position: absolute;
	top: 6px;
	right: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: var(--radius-round);
	background: var(--black);
	color: var(--white);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.cart-count[data-count="0"] {
	display: none;
}

/* Sprachwahl als Dropdown-Item */
.lang-switch {
	position: relative;
}

.lang-switch > summary {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 40px;
	padding: 8px;
	font-size: var(--fs-body-s);
	font-weight: 700;
	list-style: none;
	cursor: pointer;
	text-transform: uppercase;
}

.lang-switch > summary::-webkit-details-marker {
	display: none;
}

.lang-switch > summary:hover {
	background: rgba(0, 0, 0, 0.05);
}

.lang-switch[open] > summary .icon {
	transform: rotate(180deg);
}

.lang-switch__list {
	position: absolute;
	top: calc(100% + 2px);
	right: 0;
	z-index: 10;
	min-width: 200px;
	margin: 0;
	padding: 0;
	background: var(--white);
	box-shadow: var(--elevation-header);
	list-style: none;
}

.lang-switch__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 56px;
	padding: 16px;
	color: var(--neutral-900);
	text-decoration: none;
}

.lang-switch__list a:hover {
	background: var(--blue-100);
}

.lang-switch__list a[aria-current="true"] {
	background: var(--blue-200);
	font-weight: 700;
}

/* Header-Suche (aufklappbar) */
.header-search {
	border-top: 1px solid var(--color-border);
	background: var(--white);
}

.header-search[hidden] {
	display: none;
}

.header-search .container {
	padding-block: var(--space-xs);
}

/* Header in der Kasse: reduziert */
.is-checkout-header .site-nav,
.is-checkout-header .header-action--search,
.is-checkout-header .header-action--account,
.is-checkout-header .header-action--menu {
	display: none;
}

@media (max-width: 1199px) {
	.site-header__inner {
		padding: 8px var(--page-gutter);
	}

	.wordmark {
		height: 40px;
		padding: 8px;
	}

	.site-logo--custom {
		height: 40px;
	}

	.site-logo--default .site-logo__img {
		width: 48px;
		height: 54px;
	}
}

@media (max-width: 699px) {
	.site-header__inner {
		padding: 4px var(--page-gutter);
		gap: 8px;
	}

	.site-header__right {
		gap: 0;
	}

	.site-header__right .btn--icon {
		width: 48px;
		min-width: 48px;
		height: 48px;
		min-height: 48px;
	}

	.site-header__right .btn--icon .icon {
		width: 24px;
		height: 24px;
	}

	.header-action--search,
	.header-action--account {
		display: none;
	}

	.wordmark {
		font-size: 14px;
	}
}

/* =========================================================================
   Mobile-Menü (Overlay, 2 Ebenen)
   ========================================================================= */
.menu-overlay {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	background: var(--blue-500);
	color: var(--white);
}

.menu-overlay[hidden] {
	display: none;
}

.menu-overlay__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-height);
	padding: 4px var(--page-gutter);
}

.menu-overlay__title {
	font-size: var(--fs-body-m);
	font-weight: 700;
}

.menu-panel {
	flex: 1;
	padding: 16px 0 40px;
}

.menu-panel[hidden] {
	display: none;
}

.menu-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu-list__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-height: 56px;
	padding: 8px 20px 8px 24px;
	border: 0;
	background: transparent;
	color: var(--white);
	font-size: var(--fs-body-m);
	text-align: left;
	text-decoration: none;
}

.menu-list__item:hover {
	background: var(--blue-600);
	color: var(--white);
}

.menu-list__item:active,
.menu-list__item[aria-current="page"] {
	background: var(--blue-700);
	font-weight: 700;
}

.menu-list__divider {
	height: 1px;
	margin: 16px 24px;
	background: rgba(255, 255, 255, 0.4);
}

.menu-langs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 32px 24px 0;
	padding: 0;
	list-style: none;
}

.menu-langs a {
	color: var(--white);
	text-decoration: none;
}

.menu-langs a[aria-current="true"] {
	font-weight: 700;
	text-decoration: underline;
}

/* Ebene 2: heller Grund */
.menu-panel--sub {
	padding-top: 0;
	background: var(--white);
	color: var(--neutral-900);
}

.menu-panel--sub .menu-overlay__sub-head {
	padding: 16px 20px 24px;
}

.menu-panel--sub .menu-overlay__sub-head h2 {
	margin-top: 16px;
	font-size: var(--fs-heading-xs);
	line-height: var(--lh-heading-xs);
}

.menu-sublist {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--color-border);
}

.menu-sublist a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--color-border);
	color: var(--neutral-900);
	text-decoration: none;
}

.menu-sublist a:hover {
	background: var(--blue-200);
}

.menu-sublist a:active {
	background: var(--blue-100);
}

.menu-sublist__title {
	display: block;
	font-size: var(--fs-body-l);
	font-weight: 700;
	line-height: 1.4;
}

.menu-sublist__sub {
	display: block;
	color: var(--neutral-700);
	font-size: 16px;
}

@media (min-width: 700px) {
	.menu-overlay {
		left: auto;
		width: min(480px, 100%);
		box-shadow: var(--elevation-header);
	}
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
	background: var(--blue-500);
	color: var(--white);
}

.hero a {
	color: var(--white);
}

/* --- Hero Startseite mit Suche (360er-Raster, volle Breite: Spalten wachsen, Zeilen bleiben 360) --- */
.hero-home {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(0, 360px));
	background-color: var(--blue-300);
	background-size: cover;
	background-position: center;
	color: var(--white);
}

.hero-home__title {
	grid-column: 1 / span 2;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 32px;
	padding: 80px 56px 56px;
	background: var(--blue-500);
}

.hero-home__title h1 {
	font-size: var(--fs-heading-xxl);
	line-height: var(--lh-heading);
}

.hero-home__title p {
	font-size: var(--fs-heading-s);
	font-weight: 700;
	line-height: var(--lh-heading-s);
}

.hero-home__square {
	grid-column: 1;
	grid-row: 2;
	background: var(--blue-200);
}

.hero-home__search {
	grid-column: 2 / span 2;
	grid-row: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 32px;
	padding: 56px;
	background: var(--blue-500);
}

.hero-home__chips-label {
	margin-bottom: 12px;
	font-size: 16px;
	font-weight: 700;
}

.chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Variante reduziert (Subdomain): Box unten links über Bild */
.hero-home--reduced {
	grid-template-rows: 360px 360px;
}

.hero-home--reduced .hero-home__title {
	grid-row: 2;
	padding: 56px;
}

@media (max-width: 1199px) {
	.hero-home {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto;
	}

	.hero-home__title {
		grid-column: 1 / -1;
		grid-row: auto;
		padding: 40px 48px;
		min-height: 300px;
	}

	.hero-home__square {
		display: none;
	}

	.hero-home__search {
		grid-column: 1 / -1;
		grid-row: auto;
		padding: 40px 48px;
	}

	.hero-home--reduced {
		grid-template-rows: 265px auto;
	}

	.hero-home--reduced .hero-home__title {
		grid-row: 2;
	}
}

@media (max-width: 699px) {
	.hero-home__title,
	.hero-home__search {
		padding: 32px 20px;
	}

	.hero-home__title {
		min-height: 194px;
		gap: 16px;
	}

	.hero-home--reduced {
		grid-template-rows: 239px auto;
	}
}

/* --- Hero Allgemein (Kategorie, Inhaltsseiten) --- */
.hero-general {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	min-height: 420px;
}

.hero-general--no-intro {
	min-height: 210px;
}

.hero-general__text {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 40px var(--page-gutter);
}

.hero-general__inner {
	max-width: var(--content-small);
}

.hero-general__title {
	margin-top: 40px;
	font-size: var(--fs-heading-l);
	line-height: var(--lh-heading);
	overflow-wrap: anywhere;
}

.hero-general__lead {
	margin-top: 24px;
	font-size: var(--fs-body-l);
	line-height: 1.5;
}

.hero-general__media {
	display: flex;
	align-items: flex-end;
	padding: 32px;
	background: var(--blue-300);
	background-size: cover;
	background-position: center;
	color: var(--blue-800);
}

.hero-general__media-label {
	font-size: var(--fs-heading-s);
	font-weight: 700;
	line-height: var(--lh-heading-s);
}

.hero-general--no-intro .hero-general__media {
	display: none;
}

.hero-general--no-intro {
	grid-template-columns: 1fr;
}

@media (max-width: 1199px) {
	.hero-general {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.hero-general__text {
		min-height: 320px;
	}

	.hero-general__media {
		min-height: 260px;
	}
}

@media (max-width: 699px) {
	.hero-general__text {
		min-height: 0;
		padding-block: 40px;
	}

	.hero-general__lead {
		margin-top: 16px;
	}

	.hero-general__media {
		min-height: 160px;
	}
}

/* =========================================================================
   Breadcrumb (Detail 14, Trenner ChevronRight 16, aktuell Bold)
   ========================================================================= */
.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--fs-detail);
}

.breadcrumb li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.breadcrumb a:hover {
	text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
	font-weight: 700;
}

.breadcrumb__back {
	display: none;
}

@media (max-width: 699px) {
	/* Mobil nur ein Element («zurück») */
	.breadcrumb ol {
		display: none;
	}

	.breadcrumb__back {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		font-size: var(--fs-detail);
		font-weight: 700;
		color: inherit;
		text-decoration: none;
	}
}

.breadcrumb--dark {
	padding-block: 24px;
	color: var(--neutral-900);
}

/* =========================================================================
   Suchfeld (Input/Search): Unterlinie, Lupe 32 rechts
   ========================================================================= */
.search-field {
	position: relative;
	display: flex;
	align-items: center;
	max-width: var(--content-small);
	height: 64px;
	border-bottom: 1px solid var(--neutral-700);
}

.search-field input {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0 8px;
	border: 0;
	background: transparent;
	font-size: var(--fs-body-m);
}

.search-field input::placeholder {
	color: var(--neutral-700);
	opacity: 1;
}

.search-field input:focus {
	outline: none;
}

.search-field:focus-within {
	outline: 2px solid var(--black);
	outline-offset: 2px;
}

.search-field button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
}

.search-field button:hover {
	background: rgba(0, 0, 0, 0.05);
}

.search-field--inverted {
	border-bottom: 2px solid var(--white);
	color: var(--white);
}

.search-field--inverted input::placeholder {
	color: rgba(255, 255, 255, 0.8);
}

.search-field--inverted:focus-within {
	outline-color: var(--white);
}

.search-field--inverted button:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* =========================================================================
   Pills (Navigation 48 / Filter 36) – voll gerundet
   ========================================================================= */
.pill-list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pill-list--scroll {
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: thin;
	padding-bottom: 4px;
}

@media (min-width: 700px) {
	.pill-list--scroll {
		flex-wrap: wrap;
		overflow: visible;
	}
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 16px;
	border: 1px solid var(--neutral-500);
	border-radius: var(--radius-round);
	background: var(--white);
	color: var(--neutral-700);
	font-size: var(--fs-body-s);
	font-weight: 700;
	line-height: 24px;
	text-decoration: none;
	white-space: nowrap;
}

.pill:hover {
	background: var(--neutral-200);
	color: var(--neutral-700);
}

.pill:active {
	background: var(--neutral-300);
}

.pill.is-active,
.pill[aria-current="page"],
.pill[aria-pressed="true"] {
	border-color: var(--black);
	background: var(--black);
	color: var(--white);
}

.pill__count {
	font-weight: 400;
	opacity: 0.75;
}

.pill--filter {
	min-height: 36px;
	padding: 6px 16px;
	font-weight: 400;
}

/* Chips im Hero = Button Small Inverted Secondary */
.chip {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 7px 16px;
	box-shadow: inset 0 0 0 1px var(--white);
	color: var(--white);
	font-size: var(--fs-body-s);
	font-weight: 700;
	text-decoration: none;
}

.chip:hover {
	background: rgba(0, 0, 0, 0.1);
	color: var(--white);
}

/* =========================================================================
   Formularfelder (Input 56, Label Bold 16 #404040, Rahmen 1px #dcdcdc)
   ========================================================================= */
.field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.field__label,
.form-row > label,
.woocommerce-form-row > label {
	padding-left: 8px;
	color: var(--neutral-700);
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
}

.input,
.form-row input.input-text,
.form-row textarea,
.form-row select,
.woocommerce-Input,
.field select,
.field input[type="text"],
.field input[type="email"],
.field input[type="search"],
select.orderby {
	width: 100%;
	height: 56px;
	padding: 0 16px;
	border: 0;
	border-radius: 0;
	background: var(--white);
	box-shadow: inset 0 0 0 1px var(--neutral-200);
	color: var(--neutral-900);
	font-size: var(--fs-body-s);
	line-height: 24px;
	appearance: none;
}

.form-row textarea {
	height: 128px;
	padding: 16px;
	resize: vertical;
}

.form-row select,
.field select,
select.orderby {
	padding-right: 52px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 15.4l-6-6L7.4 8l4.6 4.6L16.6 8 18 9.4z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 32px 32px;
}

.input:hover,
.form-row input.input-text:hover,
.form-row textarea:hover,
.form-row select:hover,
.field select:hover {
	background-color: var(--neutral-50);
}

.input:focus,
.form-row input.input-text:focus,
.form-row textarea:focus,
.form-row select:focus,
.field select:focus,
.field input:focus,
select.orderby:focus {
	outline: none;
	box-shadow: inset 0 0 0 1px var(--black);
}

.form-row textarea:focus {
	box-shadow: inset 0 0 0 1.6px var(--black);
}

::placeholder {
	color: var(--neutral-700);
	opacity: 1;
}

.field__hint,
.form-row .description {
	display: block;
	padding-left: 16px;
	color: var(--neutral-700);
	font-size: 16px;
}

/* Fehler */
.form-row.woocommerce-invalid input.input-text,
.form-row.woocommerce-invalid select,
.form-row.woocommerce-invalid textarea,
.field.has-error .input {
	box-shadow: inset 0 0 0 1px var(--error-text);
}

.field__error,
.form-row .checkout-inline-error-message {
	display: flex;
	gap: 8px;
	color: var(--error-text);
	font-size: 16px;
}

.form-row abbr.required,
.form-row .required {
	color: var(--error-text);
	text-decoration: none;
	border: 0;
}

.form-row .optional {
	color: var(--neutral-600);
	font-weight: 400;
}

/* Checkbox / Radio (16×16 in 20er-Feld) */
.check,
.form-row label.checkbox,
.woocommerce-form__label-for-checkbox {
	display: inline-flex;
	align-items: flex-start;
	gap: 12px;
	padding: 0;
	color: var(--neutral-900);
	font-size: var(--fs-detail);
	font-weight: 700;
	line-height: 20px;
	cursor: pointer;
}

input[type="checkbox"],
input[type="radio"] {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin: 2px;
	border: 1px solid var(--neutral-500);
	border-radius: 0;
	background: var(--white);
	appearance: none;
	cursor: pointer;
	display: inline-grid;
	place-content: center;
}

input[type="radio"] {
	border-radius: 50%;
}

input[type="checkbox"]:hover,
input[type="radio"]:hover {
	background: var(--neutral-200);
}

input[type="checkbox"]:checked {
	border-color: var(--black);
	background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9.6 18 3.9 12.3l1.4-1.4 4.3 4.3 9.2-9.2 1.4 1.4z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

input[type="radio"]:checked {
	border-color: var(--black);
	background: radial-gradient(circle, var(--black) 0 4px, var(--white) 4.5px);
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
	outline: 2px solid var(--black);
	outline-offset: 2px;
}

input[type="checkbox"]:disabled {
	background: var(--neutral-75);
}

/* Segmented Button */
.segmented {
	display: inline-flex;
}

.segmented > * + * {
	margin-left: -1px;
}

.segmented__item {
	display: inline-flex;
	align-items: center;
	min-height: 56px;
	padding: 0 12px;
	border: 1px solid var(--neutral-200);
	background: var(--white);
	font-weight: 700;
}

.segmented__item:hover {
	background: var(--neutral-200);
}

.segmented__item.is-active {
	background: var(--black);
	color: var(--white);
}

/* Mengenwahl (abgeleitet: Icon-Buttons + schmales Feld) */
.qty {
	display: inline-flex;
	align-items: stretch;
	height: 56px;
	box-shadow: inset 0 0 0 1px var(--neutral-200);
}

.qty__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	border: 0;
	background: transparent;
	color: var(--neutral-900);
}

.qty__btn:hover {
	background: var(--neutral-50);
}

.qty input.qty__input,
.qty input.qty {
	width: 56px;
	height: 56px;
	padding: 0;
	border: 0;
	border-inline: 1px solid var(--neutral-200);
	background: var(--white);
	box-shadow: none;
	text-align: center;
	-moz-appearance: textfield;
}

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

/* =========================================================================
   Alerts (Info / Erfolg / Warnung / Fehler)
   ========================================================================= */
.alert {
	--alert-bg: var(--info-bg);
	--alert-title: var(--info-title);
	--alert-text: var(--info-text);

	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	background: var(--alert-bg);
	color: var(--alert-text);
	font-size: var(--fs-body-s);
	line-height: 1.5;
}

.alert > .icon {
	width: 24px;
	height: 24px;
	color: var(--alert-title);
}

.alert__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.alert__title {
	color: var(--alert-title);
	font-size: var(--fs-body-m);
	font-weight: 700;
}

.alert a {
	color: inherit;
	font-weight: 700;
}

.alert .button,
.alert .btn {
	order: 2;
	margin-left: auto;
}

.alert--success {
	--alert-bg: var(--success-bg);
	--alert-title: var(--success-title);
	--alert-text: var(--success-text);
}

.alert--warning {
	--alert-bg: var(--warning-bg);
	--alert-title: var(--warning-title);
	--alert-text: var(--warning-text);
}

.alert--error {
	--alert-bg: var(--error-bg);
	--alert-title: var(--error-title);
	--alert-text: var(--error-text);
}

.alert ul {
	margin: 0;
	padding-left: 1.1em;
}

.alert-stack {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.alert-stack:empty {
	display: none;
}

/* Block-Styles im Editor-Inhalt */
.is-style-lmv-alert-info,
.is-style-lmv-alert-warning,
.is-style-lmv-alert-success,
.is-style-lmv-alert-error {
	padding: 16px;
	background: var(--info-bg);
	color: var(--info-text);
	font-size: var(--fs-body-s);
}

.is-style-lmv-alert-warning {
	background-color: var(--warning-bg);
	color: var(--warning-text);
}

.is-style-lmv-alert-success {
	background-color: var(--success-bg);
	color: var(--success-text);
}

.is-style-lmv-alert-error {
	background-color: var(--error-bg);
	color: var(--error-text);
}

/* =========================================================================
   Feedback-Boxen: Success (Bestellbestätigung) und Empty State
   ========================================================================= */
.feedback {
	position: relative;
	max-width: 640px;
	padding: 56px;
	background: var(--success-bg);
}

.feedback__status {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: var(--success-strong);
	color: var(--white);
}

.feedback__status .icon {
	width: 40px;
	height: 40px;
}

.feedback__title {
	margin-top: 40px;
	font-size: var(--fs-heading-xs);
	line-height: var(--lh-heading-xs);
}

.feedback__text {
	margin-top: 16px;
	color: var(--neutral-700);
}

.feedback__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 32px;
}

.feedback--empty {
	background: var(--white);
	box-shadow: inset 0 0 0 1px var(--neutral-200);
}

.feedback--empty .feedback__status {
	top: 24px;
	right: 24px;
	width: auto;
	height: auto;
	background: transparent;
	color: var(--neutral-700);
}

.feedback--empty .feedback__status .icon {
	width: 48px;
	height: 48px;
}

@media (max-width: 699px) {
	.feedback {
		padding: 32px 20px;
	}
}

/* =========================================================================
   Karten: Produktkarte (aus «Veranstaltung Card»), Service Card, Subseiten-Item
   ========================================================================= */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: var(--space-s);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Ab 1200 px feste Spaltenzahl aus dem Customizer (--card-cols, inline gesetzt in assets.php). */
@media (min-width: 1200px) {
	.card-grid {
		grid-template-columns: repeat(var(--card-cols, 4), minmax(0, 1fr));
	}
}

/* Karussell auf Mobile: wischbar */
@media (max-width: 699px) {
	.card-grid--carousel {
		display: flex;
		gap: 16px;
		margin-inline: calc(-1 * var(--page-gutter));
		padding-inline: var(--page-gutter);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--page-gutter);
	}

	.card-grid--carousel > li {
		flex: 0 0 78%;
		scroll-snap-align: start;
	}
}

.product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--blue-200);
	color: var(--neutral-900);
	transition: background-color 0.12s ease;
}

.product-card:hover {
	background: var(--blue-100);
}

.product-card:focus-within {
	outline: 4px solid var(--white);
	box-shadow: 0 0 0 6px var(--black);
}

.product-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 2 / 1; /* Veranstaltung Card: Bild 360×180 */
	min-height: 0; /* sonst dehnt ein Hochformat-Cover die Fläche über 2:1 hinaus */
	padding: 16px;
	background: var(--blue-50);
}

.product-card__media img {
	/* Nie grösser als das Original (Inline-Style max-width), sonst unscharf. */
	width: auto;
	height: auto;
	max-height: 100%;
	object-fit: contain;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.product-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 3 / 4;
	height: 100%;
	background: var(--blue-100);
	color: var(--blue-700);
	font-size: var(--fs-detail);
}

.product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 16px;
	padding: 24px 16px;
}

.product-card__meta {
	font-size: var(--fs-detail);
	font-weight: 700;
	line-height: 1.5;
}

.product-card__title {
	font-size: var(--fs-heading-xs);
	line-height: var(--lh-heading-xs);
}

.product-card__title a {
	color: inherit;
	text-decoration: none;
}

/* ganze Karte klickbar, Button bleibt eigenständig */
.product-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.product-card__title a:focus-visible {
	outline: none;
}

.product-card__footer {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
}

.product-card__price {
	font-size: var(--fs-body-m);
	font-weight: 700;
}

.product-card__note {
	font-size: var(--fs-detail);
	color: var(--neutral-700);
}

.product-card .added_to_cart {
	font-size: var(--fs-detail);
	font-weight: 700;
}

/* Service Card (gelb) */
.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--space-s);
	margin: 0;
	padding: 0;
	list-style: none;
}

.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-height: 240px;
	height: 100%;
	padding: 24px;
	background: var(--yellow-200);
	color: var(--neutral-900);
	text-decoration: none;
}

.service-card:hover {
	background: var(--yellow-150);
	color: var(--neutral-900);
}

.service-card:active {
	background: var(--yellow-100);
}

.service-card__title {
	font-size: var(--fs-heading-xs);
	font-weight: 700;
	line-height: var(--lh-heading-xs);
	overflow-wrap: anywhere;
}

@media (min-width: 1200px) {
	.service-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.service-card__text {
	font-size: var(--fs-body-s);
}

.service-card .icon {
	margin-top: auto;
	align-self: flex-end;
}

/* Subseiten-Navigation */
.subnav__title {
	margin-bottom: 16px;
	font-size: var(--fs-heading-xs);
	line-height: var(--lh-heading-xs);
}

.subnav ul {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.subnav__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 16px;
	background: var(--white);
	box-shadow: inset 0 0 0 1px var(--neutral-200);
	color: var(--neutral-900);
	text-decoration: none;
}

.subnav__item:hover {
	background: var(--neutral-50);
	color: var(--neutral-900);
}

.subnav__item:active {
	background: var(--neutral-100);
}

.subnav__item-title {
	font-size: var(--fs-heading-xs);
	font-weight: 700;
	line-height: var(--lh-heading-xs);
}

.subnav__item-context {
	display: block;
	margin-top: 12px;
	color: var(--neutral-700);
	font-size: var(--fs-body-s);
}

/* =========================================================================
   Akkordeon (details/summary)
   ========================================================================= */
.accordion {
	max-width: var(--content-small);
}

.accordion__item + .accordion__item {
	margin-top: -1px;
}

.accordion__item {
	background: var(--white);
	box-shadow: inset 0 0 0 1px var(--neutral-200);
}

.accordion__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 16px;
	font-size: var(--fs-body-l);
	line-height: 1.5;
	list-style: none;
	cursor: pointer;
}

.accordion__summary::-webkit-details-marker {
	display: none;
}

.accordion__summary:hover {
	background: var(--neutral-50);
}

.accordion__summary:active {
	background: var(--neutral-100);
}

.accordion__summary:focus-visible {
	outline: 2px solid var(--black);
	outline-offset: -2px;
}

.accordion__summary .icon--minus,
.accordion__item[open] .accordion__summary .icon--plus {
	display: none;
}

.accordion__item[open] .accordion__summary .icon--minus {
	display: block;
}

.accordion__content {
	padding: 0 16px 24px 48px;
	font-size: var(--fs-body-m);
}

@media (max-width: 699px) {
	.accordion__content {
		padding-left: 16px;
	}
}

/* =========================================================================
   Tabelle (Rahmen 2px innen #dcdcdc)
   ========================================================================= */
/* relative: sonst ragen absolut positionierte Screenreader-Texte aus dem Scrollbereich */
.table-wrap {
	position: relative;
	max-width: 100%;
	overflow-x: auto;
}

.table {
	width: 100%;
	border-collapse: collapse;
	background: var(--white);
	font-size: var(--fs-body-s);
}

.table th,
.table td {
	border: 2px solid var(--neutral-200);
	text-align: left;
	vertical-align: middle;
}

.table th {
	padding: 16px 12px 16px 16px;
	font-size: var(--fs-heading-xxs);
	font-weight: 700;
	line-height: var(--lh-heading-xxs);
}

.table td {
	height: 64px;
	padding: 24px 16px 16px;
}

.table tr > :first-child {
	padding-left: 32px;
}

.table tbody tr:hover {
	background: var(--neutral-50);
}

.table .is-numeric {
	text-align: right;
	white-space: nowrap;
}

/* Definitionsliste (bibliografische Angaben) */
.deflist {
	display: grid;
	grid-template-columns: minmax(140px, max-content) 1fr;
	max-width: var(--content-small);
	border-top: 1px solid var(--neutral-200);
	font-size: var(--fs-body-s);
}

.deflist dt,
.deflist dd {
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid var(--neutral-200);
}

.deflist dt {
	padding-right: 24px;
	color: var(--neutral-700);
	font-weight: 700;
}

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

	.deflist dt {
		padding-bottom: 0;
		border-bottom: 0;
	}

	.deflist dd {
		padding-top: 4px;
	}
}

/* =========================================================================
   Tags / Badges (Status schwarz, Schulstufen hell)
   ========================================================================= */
.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 28px;
	padding: 2px 10px;
	background: var(--neutral-50);
	box-shadow: inset 0 0 0 1px var(--neutral-200);
	color: var(--neutral-900);
	font-size: var(--fs-detail);
	font-weight: 700;
}

.tag--status {
	background: var(--black);
	box-shadow: none;
	color: var(--white);
}

.tag--outline {
	background: var(--white);
}

/* =========================================================================
   Pagination (56×56)
   ========================================================================= */
.pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 32px;
	margin-top: var(--space-xl);
}

.pagination__pages {
	display: flex;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination__pages .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	color: var(--neutral-700);
	font-size: 16px;
	text-decoration: none;
}

.pagination__pages a.page-numbers:hover {
	color: var(--neutral-750);
	font-weight: 700;
}

.pagination__pages .page-numbers.current {
	box-shadow: inset 0 0 0 1px var(--neutral-700);
	font-weight: 700;
}

.pagination__pages .page-numbers.dots {
	width: 36px;
}

.pagination .btn.is-disabled {
	visibility: hidden;
}

@media (max-width: 699px) {
	.pagination {
		gap: 8px;
	}

	.pagination .btn__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.pagination__pages .page-numbers {
		width: 44px;
		height: 44px;
	}
}

/* =========================================================================
   Call-to-Action-Button gross (#b5d9ff, Pfeil 48)
   ========================================================================= */
.cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	max-width: 711px;
	min-height: 120px;
	padding: 24px 32px;
	border: 0;
	background: var(--blue-200);
	color: var(--neutral-900);
	text-align: left;
	text-decoration: none;
}

.cta:hover {
	background: var(--blue-100);
	color: var(--neutral-900);
}

.cta:active {
	background: var(--blue-50);
}

.cta:focus-visible {
	outline: 4px solid var(--black);
	outline-offset: 0;
}

.cta__title {
	display: block;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.cta__context {
	display: block;
	margin-top: 8px;
	font-size: var(--fs-body-m);
}

.cta .icon {
	width: 48px;
	height: 48px;
}

/* =========================================================================
   Filter (Kategorie-/Suchseite)
   ========================================================================= */
.filter {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding-block: var(--space-xl) var(--space-m);
}

.filter__selects {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 24px;
}

.filter__selects .field {
	flex: 0 1 280px;
	min-width: 200px;
}

.filter__active {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.filter__result {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 24px;
	border-top: 1px solid var(--neutral-200);
}

.filter__count {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	font-size: var(--fs-body-m);
	font-weight: 700;
}

.filter__sort {
	display: flex;
	align-items: center;
	gap: 8px;
}

.filter__sort label {
	font-size: var(--fs-body-s);
	white-space: nowrap;
}

.filter__sort select.orderby {
	width: auto;
	min-width: 220px;
	height: 38px;
	box-shadow: none;
	font-weight: 700;
}

.filter__sort select.orderby:hover {
	background-color: rgba(0, 0, 0, 0.05);
}

.filter__toggle {
	display: none;
}

.filter__panel-head,
.filter__panel-foot {
	display: none;
}

/* Filter-Overlay auf Mobile/Tablet */
@media (max-width: 939px) {
	.filter__toggle {
		display: inline-flex;
		align-self: flex-start;
	}

	.filter__panel {
		display: none;
	}

	.filter__panel.is-open {
		position: fixed;
		inset: 0;
		z-index: 200;
		display: flex;
		flex-direction: column;
		background: var(--white);
	}

	.filter__panel.is-open .filter__panel-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 8px var(--page-gutter);
		border-bottom: 1px solid var(--neutral-200);
	}

	.filter__panel.is-open .filter__panel-body {
		flex: 1;
		display: flex;
		flex-direction: column;
		gap: 32px;
		padding: 24px var(--page-gutter);
		overflow-y: auto;
	}

	.filter__panel.is-open .filter__selects {
		flex-direction: column;
		align-items: stretch;
	}

	.filter__panel.is-open .filter__selects .field {
		flex-basis: auto;
	}

	.filter__panel.is-open .filter__panel-foot {
		display: flex;
		gap: 16px;
		padding: 16px var(--page-gutter);
		border-top: 1px solid var(--neutral-200);
	}

	.filter__panel.is-open .filter__panel-foot > * {
		flex: 1;
	}
}

.filter__apply-noscript {
	align-self: flex-end;
}

.js .filter__apply-noscript {
	display: none;
}

/* =========================================================================
   Footer Subdomain
   ========================================================================= */
.site-footer__main {
	background: var(--blue-700);
	color: var(--white);
}

.site-footer__main .container {
	padding-block: 64px;
}

.footer-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(3, auto);
	grid-auto-flow: column;
	gap: 40px 80px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-links a {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	color: var(--white);
	font-size: var(--fs-heading-s);
	font-weight: 700;
	line-height: var(--lh-heading-s);
	text-decoration: none;
}

.footer-links a:hover {
	text-decoration: underline;
	text-underline-offset: 6px;
}

.footer-links .icon {
	width: 32px;
	height: 32px;
}

.site-footer__meta {
	background: var(--blue-200);
}

.site-footer__meta .container {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 40px;
	padding-block: 40px;
}

.meta-links {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.meta-links a,
.meta-links button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--neutral-900);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}

.meta-links a:hover,
.meta-links button:hover {
	text-decoration: underline;
}

.meta-links .icon {
	width: 20px;
	height: 20px;
}

.footer-brand {
	font-size: 16px;
}

@media (max-width: 699px) {
	.site-footer__main .container {
		padding-block: 40px;
	}

	.footer-links {
		grid-template-columns: 1fr;
		grid-template-rows: none;
		grid-auto-flow: row;
		gap: 32px;
	}

	.footer-links a {
		font-size: 24px;
	}

	.site-footer__meta .container {
		flex-direction: column;
		align-items: flex-start;
		padding-block: 24px;
	}

	.meta-links {
		flex-direction: column;
		gap: 16px;
	}
}

/* Back-to-top 64×64 */
.back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border: 0;
	background: var(--black);
	color: var(--white);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
}

.back-to-top:hover {
	background: var(--neutral-750);
}

.back-to-top:active {
	background: var(--neutral-800);
}

.back-to-top .icon {
	width: 48px;
	height: 48px;
}

@media (max-width: 699px) {
	.back-to-top {
		right: 16px;
		bottom: 16px;
		width: 48px;
		height: 48px;
	}

	.back-to-top .icon {
		width: 32px;
		height: 32px;
	}
}

/* Sortiment entdecken */
.discover {
	display: flex;
	flex-direction: column;
	gap: var(--space-m);
}

.discover__row {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 16px 32px;
	align-items: start;
}

/* Trenner zwischen den Zeilen (1px, wie Tabellenzeilen) */
.discover__row:not(:last-child) {
	padding-bottom: var(--space-m);
	border-bottom: 1px solid var(--color-border);
}

.discover__label {
	padding-top: 10px;
	font-size: var(--fs-heading-xxs);
	line-height: var(--lh-heading-xxs);
}

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

	.discover__label {
		padding-top: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
