.ag-filter {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-width: 0;
	max-width: 1280px;
	margin: 0 auto 30px;
}

/* Hohe Spezifität, damit die globalen Button-Stile des Elementor-Kits nicht greifen */
body .ag-filter button.ag-filter__btn,
body .ag-filter button.ag-filter__btn:focus {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 18px;
	border: 2px solid #C61503;
	border-radius: 8px;
	background: transparent;
	box-shadow: none;
	color: #1E1C1F;
	font-family: "Noto Sans", sans-serif;
	font-size: clamp(0.8125rem, 0.7636rem + 0.2174vw, 0.9375rem);
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body .ag-filter button.ag-filter__btn:hover {
	background: #067B12;
	border-color: #067B12;
	color: #FEFEFE;
}

body .ag-filter button.ag-filter__btn:focus-visible {
	outline: 3px solid #FF9331;
	outline-offset: 2px;
}

body .ag-filter button.ag-filter__btn.is-active,
body .ag-filter button.ag-filter__btn.is-active:focus,
body .ag-filter button.ag-filter__btn.is-active:hover {
	background: #C61503;
	border-color: #C61503;
	color: #FEFEFE;
}

.ag-filter .ag-filter__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 11px;
	background: #FEF4EC;
	color: #1E1C1F;
	font-size: 12px;
	font-weight: 600;
}

.ag-filter__card--hidden {
	display: none !important;
}

.ag-filter__card {
	animation: ag-filter-fade-2454 0.3s ease;
}

@keyframes ag-filter-fade-2454 {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.ag-filter__card { animation: none; }
	body .ag-filter button.ag-filter__btn { transition: none; }
}

@media (max-width: 767px) {
	.ag-filter {
		gap: 8px;
	}
	body .ag-filter button.ag-filter__btn,
	body .ag-filter button.ag-filter__btn:focus {
		gap: 6px;
		padding: 8px 12px;
	}
}
