/*
Theme Name:        Hello Luchs
Description:       A custom child theme for Hello Elementor.
Author:            Sowas-Von Marketing
Template:          hello-elementor
Version:           1.0.21
Text Domain:       hello-luchs
License:           GNU General Public License v2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   LUCHS CUSTOM PRODUCT ARCHIVE & AJAX FILTER
   ========================================================================== */

.luchs-archive-wrapper {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 45px;
	width: 100%;
	max-width: 1240px;
	margin: 40px auto;
	box-sizing: border-box;
}

@media (max-width: 991px) {
	.luchs-archive-wrapper {
		grid-template-columns: 200px 1fr;
		gap: 30px;
	}
}

@media (max-width: 767px) {
	.luchs-archive-wrapper {
		grid-template-columns: 1fr;
		gap: 30px;
		padding: 0 20px;
	}
}

/* Pagination / filter scroll target: stop just below the fixed header.
   --luchs-header-offset is kept up to date by luchs-ajax-filter.js. */
.luchs-archive-wrapper {
	scroll-margin-top: calc(var(--luchs-header-offset, 110px) + 24px);
}

/* Sidebar Styles */
.luchs-archive-sidebar {
	font-family: inherit;
}

@media (min-width: 768px) {
	.luchs-archive-sidebar {
		position: sticky;
		top: calc(var(--luchs-header-offset, 110px) + 24px);
		align-self: start;
		max-height: calc(100vh - var(--luchs-header-offset, 110px) - 48px);
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
		/* room for the link hover shift and the toggle focus ring */
		padding: 2px 6px 2px 2px;
		margin: -2px -6px -2px -2px;
		transition: top 0.2s ease;
	}
}

/* Collapsible sub-categories */
.luchs-filter-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.luchs-archive-wrapper .luchs-filter-toggle,
.luchs-archive-wrapper .luchs-filter-toggle:hover,
.luchs-archive-wrapper .luchs-filter-toggle:focus {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #000A23;
	box-shadow: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
}

.luchs-archive-wrapper .luchs-filter-toggle:hover {
	background: rgba(0, 10, 35, 0.06);
}

.luchs-archive-wrapper .luchs-filter-toggle:focus-visible {
	outline: 2px solid #33A1FD;
	outline-offset: 1px;
}

.luchs-filter-toggle-icon {
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	opacity: 0.6;
	transition: transform 0.25s ease, opacity 0.2s ease;
}

.luchs-filter-toggle:hover .luchs-filter-toggle-icon {
	opacity: 1;
}

.luchs-filter-item.is-open > .luchs-filter-row .luchs-filter-toggle-icon {
	transform: translateY(2px) rotate(-135deg);
}

.luchs-filter-item.has-children:not(.is-open) > .luchs-filter-sublinks {
	display: none;
}

/* two classes: must beat Site Settings typography (.elementor-kit-6 h2) */
.luchs-archive-sidebar .luchs-sidebar-title {
	font-size: 20px;
	font-weight: 700;
	color: #000A23;
	margin: 0 0 25px 0;
	letter-spacing: -0.3px;
}

.luchs-filter-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.luchs-filter-links li {
	margin-bottom: 14px;
}

.luchs-filter-sublinks {
	list-style: none;
	margin: 10px 0 0;
	padding: 0 0 0 14px;
}

.luchs-filter-sublinks li {
	margin-bottom: 10px;
}

.luchs-filter-sublinks .luchs-filter-link {
	font-size: 14px;
}

.luchs-filter-link {
	font-size: 15px;
	font-weight: 500;
	color: #000A23;
	text-decoration: none;
	opacity: 0.7;
	transition: opacity 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
	display: inline-block;
}

.luchs-filter-link:hover {
	opacity: 1;
	padding-left: 4px;
}

.luchs-filter-link.active {
	opacity: 1;
	font-weight: 700;
	color: #000A23;
}

/* Mobile filter bar + bottom sheet */
.luchs-mobile-filter-bar,
.luchs-mobile-filter-modal {
	display: none;
}

body.luchs-filter-modal-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.luchs-mobile-filter-bar {
		display: block;
		grid-column: 1 / -1;
		margin-bottom: 4px;
	}

	.luchs-archive-sidebar {
		display: none;
	}

	.luchs-mobile-filter-trigger {
		width: 100%;
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 14px 18px;
		border: 1px solid rgba(0, 10, 35, 0.12);
		border-radius: 999px;
		background: #fff;
		box-shadow: 0 4px 14px rgba(0, 7, 44, 0.08);
		font-family: inherit;
		cursor: pointer;
		text-align: left;
		transition: box-shadow 0.2s ease, border-color 0.2s ease;
	}

	.luchs-mobile-filter-trigger:hover,
	.luchs-mobile-filter-trigger:focus-visible {
		border-color: rgba(0, 10, 35, 0.22);
		box-shadow: 0 6px 18px rgba(0, 7, 44, 0.12);
		outline: none;
	}

	.luchs-mobile-filter-trigger-label {
		font-size: 13px;
		font-weight: 600;
		color: #666;
		flex-shrink: 0;
	}

	.luchs-mobile-filter-trigger-value {
		font-size: 15px;
		font-weight: 700;
		color: #000A23;
		flex: 1;
		min-width: 0;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.luchs-mobile-filter-trigger-icon {
		width: 10px;
		height: 10px;
		border-right: 2px solid #000A23;
		border-bottom: 2px solid #000A23;
		transform: rotate(45deg) translateY(-2px);
		flex-shrink: 0;
		transition: transform 0.25s ease;
	}

	.luchs-mobile-filter-trigger[aria-expanded="true"] .luchs-mobile-filter-trigger-icon {
		transform: rotate(-135deg) translateY(2px);
	}

	.luchs-mobile-filter-modal {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 99999;
		pointer-events: none;
	}

	.luchs-mobile-filter-modal.is-open {
		pointer-events: auto;
	}

	.luchs-mobile-filter-backdrop {
		position: absolute;
		inset: 0;
		border: 0;
		padding: 0;
		background: rgba(0, 10, 35, 0.45);
		opacity: 0;
		transition: opacity 0.3s ease;
		cursor: pointer;
	}

	.luchs-mobile-filter-modal.is-open .luchs-mobile-filter-backdrop {
		opacity: 1;
	}

	.luchs-mobile-filter-panel {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		max-height: min(78vh, 620px);
		background: #fff;
		border-radius: 24px 24px 0 0;
		box-shadow: 0 -8px 40px rgba(0, 7, 44, 0.18);
		transform: translateY(100%);
		/* hidden while closed (not only moved below the screen): no peeking on
		   iOS overscroll, not read by screen readers; visibility switches after
		   the slide-out animation */
		visibility: hidden;
		transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.35s;
		display: flex;
		flex-direction: column;
	}

	.luchs-mobile-filter-modal.is-open .luchs-mobile-filter-panel {
		transform: translateY(0);
		visibility: visible;
		transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
	}

	.luchs-mobile-filter-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 20px 20px 12px;
		border-bottom: 1px solid rgba(0, 10, 35, 0.08);
		flex-shrink: 0;
	}

	.luchs-mobile-filter-header .luchs-mobile-filter-title {
		margin: 0;
		font-size: 18px;
		font-weight: 700;
		color: #000A23;
	}

	.luchs-mobile-filter-close {
		width: 40px;
		height: 40px;
		border: 0;
		border-radius: 50%;
		background: rgba(0, 10, 35, 0.06);
		color: #000A23;
		font-size: 28px;
		line-height: 1;
		cursor: pointer;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 0;
	}

	.luchs-mobile-filter-body {
		overflow-y: auto;
		padding: 8px 20px 16px;
		flex: 1;
	}

	.luchs-mobile-filter-body .luchs-filter-links li {
		margin-bottom: 0;
		border-bottom: 1px solid rgba(0, 10, 35, 0.06);
	}

	.luchs-mobile-filter-body .luchs-filter-link {
		display: block;
		width: 100%;
		padding: 14px 0;
		opacity: 1;
		font-size: 16px;
	}

	.luchs-mobile-filter-body .luchs-filter-link:hover {
		padding-left: 0;
		color: #33A1FD;
	}

	.luchs-mobile-filter-body .luchs-filter-link.active {
		color: #33A1FD;
	}

	.luchs-mobile-filter-body .luchs-filter-sublinks {
		margin: 0;
		padding-left: 16px;
	}

	.luchs-mobile-filter-body .luchs-filter-sublinks li:last-child {
		border-bottom: 0;
	}

	.luchs-mobile-filter-body .luchs-filter-sublinks .luchs-filter-link {
		font-size: 15px;
	}

	.luchs-mobile-filter-body .luchs-filter-row .luchs-filter-link {
		flex: 1;
		min-width: 0;
	}

	.luchs-archive-wrapper .luchs-mobile-filter-body .luchs-filter-toggle {
		width: 40px;
		height: 40px;
	}

	.luchs-mobile-filter-footer {
		padding: 12px 20px calc(16px + env(safe-area-inset-bottom, 0px));
		border-top: 1px solid rgba(0, 10, 35, 0.08);
		flex-shrink: 0;
	}

	.luchs-mobile-filter-reset {
		width: 100%;
		padding: 14px 18px;
		border: 1px solid rgba(0, 10, 35, 0.14);
		border-radius: 999px;
		background: #fff;
		color: #000A23;
		font-size: 15px;
		font-weight: 600;
		font-family: inherit;
		cursor: pointer;
		transition: background-color 0.2s ease, border-color 0.2s ease;
	}

	.luchs-mobile-filter-reset:hover,
	.luchs-mobile-filter-reset:focus-visible {
		background: #f5f8fc;
		border-color: rgba(0, 10, 35, 0.24);
		outline: none;
	}
}

/* Product Content Grid */
.luchs-archive-content {
	display: flex;
	flex-direction: column;
}

.luchs-grid-container {
	position: relative;
	transition: opacity 0.25s ease;
}

.luchs-products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

@media (max-width: 1199px) {
	.luchs-products-grid {
		gap: 20px;
	}
}

@media (max-width: 991px) {
	.luchs-products-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 575px) {
	.luchs-products-grid {
		grid-template-columns: 1fr;
	}
}

/* Card Styling */
.luchs-product-card {
	border-radius: 30px;
	background: #FFF;
	box-shadow: 0 4px 4px 0 rgba(0, 7, 44, 0.25);
	padding: 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	box-sizing: border-box;
}

.luchs-product-card:hover {}

.luchs-card-image-link {
	display: block;
	width: 100%;
	margin-bottom: 20px;
	text-decoration: none;
}

/* Every card gets the same 4:3 image stage. Product images are trimmed to
   their content (see image-optimizer.php), so object-fit: contain scales
   every product to the same visual size inside this frame. */
.luchs-card-image-wrapper {
	width: 100%;
	aspect-ratio: 4 / 3;
	position: relative;
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
}

.luchs-product-card .luchs-card-img {
	position: absolute;
	top: 6%;
	left: 6%;
	width: 88%;
	height: 88%;
	max-width: none;
	object-fit: contain;
	object-position: center;
	transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.luchs-card-img-placeholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fcfcfc;
	display: flex;
	align-items: center;
	justify-content: center;
}

.luchs-card-img-placeholder i {
	font-size: 48px;
	color: #dddddd;
}

.luchs-card-content {
	width: 100%;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.luchs-product-card .luchs-card-title {
	font-size: 18px;
	font-weight: 700;
	color: #000A23;
	margin: 0 0 8px 0;
	line-height: 1.35;
	letter-spacing: -0.2px;
}

.luchs-card-title a {
	color: #000A23;
	text-decoration: none;
	transition: color 0.2s ease;
}

.luchs-card-title a:hover {
	color: rgb(0, 0, 0);
}

.luchs-card-description {
	font-size: 14px;
	color: #666666;
	margin: 0 0 18px 0;
	line-height: 1.5;
	flex-grow: 1;
}

.luchs-card-category-wrapper {
	margin-top: auto;
}

.luchs-card-category {
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	color: #33A1FD;
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

.luchs-card-category:hover {
	color: #000A23;
	transform: translateY(-1px);
}

/* Pagination Section */
.luchs-pagination-container {
	transition: opacity 0.25s ease;
}

.luchs-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-top: 50px;
}

.luchs-page-num,
.luchs-page-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	font-size: 15px;
	font-weight: 500;
	color: #000A23;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
	box-sizing: border-box;
}

.luchs-page-num:hover,
.luchs-page-arrow:not(.disabled):hover {
	background-color: #f0f7ff;
	color: #33A1FD;
}

.luchs-page-num.active {
	font-weight: 700;
}

.luchs-page-arrow.disabled {
	color: #cccccc;
	cursor: not-allowed;
	opacity: 0.6;
}

/* Loading States */
.luchs-loading {
	opacity: 0.5;
	pointer-events: none;
}

.luchs-no-products {
	font-size: 16px;
	color: #666666;
	text-align: center;
	grid-column: 1 / -1;
	padding: 50px 0;
	border: 1px dashed #eaeaea;
	border-radius: 20px;
	background: #fafafa;
}

.blau-btn svg path {
	stroke: #fff;
}

.elementor-button-icon svg {
	width: 15px;
}

/* Sticky header scroll compaction (JS: luchs-header-scroll.js) */
.elementor-location-header > .e-con.e-parent,
.elementor-location-header > .elementor-element {
	will-change: transform;
}

/* ==========================================================================
   RELATED PRODUCTS CAROUSEL (shortcode: luchs_related_products)
   ========================================================================== */

.luchs-related-products-wrap {
	position: relative;
}

/* Align with the column, bleed to the viewport's right edge.
   luchs-related-products.js sets the exact width (viewport without scrollbar)
   and a left gutter, so the clipping box leaves room for the card shadows
   and the last card is never cut by the scrollbar. */
.luchs-related-products-wrap--bleed-right {
	overflow: visible;
}

.luchs-related-products-wrap--bleed-right .luchs-related-products-carousel {
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	/* until the JS has measured: stay inside the column (no horizontal scroll) */
	width: var(--luchs-carousel-width, 100%);
	/* extra room for shadows (incl. hover), cancelled out by negative margins */
	padding: 24px 0 40px var(--luchs-carousel-gutter, 0px);
	margin: -9px 0 -25px calc(-1 * var(--luchs-carousel-gutter, 0px));
}

/* Homepage / full-width: align to 1240px site grid */
.luchs-related-products-wrap--site-align {
	position: relative;
	padding-left: max(20px, calc((100vw - 1240px) / 2));
	overflow: hidden;
	padding-bottom: 115px;
}

.luchs-related-products-wrap--site-align::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: max(20px, calc((100vw - 1240px) / 2));
	z-index: 5;
	pointer-events: none;
}

.luchs-related-products-carousel .swiper {
	z-index: 1;
	overflow: visible;
}

.luchs-related-products-carousel .swiper-slide {
	width: 320px;
	height: auto;
	box-sizing: border-box;
}

.luchs-related-products-carousel .luchs-product-card {
	height: 100%;
}

.luchs-related-products-carousel .luchs-card-image-wrapper {
	padding-top: 0;
	aspect-ratio: 3 / 2;
}

.luchs-related-products-carousel .luchs-card-img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	object-position: center center;
}

.luchs-related-products-carousel .luchs-related-products-prev,
.luchs-related-products-carousel .luchs-related-products-next {
	z-index: 10 !important;
}

@media (max-width: 767px) {
	.luchs-related-products-wrap--site-align {
		padding-left: 20px;
		padding-bottom: 60px;
	}

	.luchs-related-products-wrap--site-align::before {
		width: 20px;
	}

	.luchs-related-products-carousel .swiper-slide {
		width: 280px;
	}
}
/* ==========================================================================
   POPUPS: Schließen-Button mit Text (laut Design: "✕ Schließen" oben links)
   ========================================================================== */

/* Dunkle Pille (Korrektur 03.11.2026): bei hellen Bildern oben links (z. B. Schlafapnoe)
   waren weißes X und "Schließen" kaum sichtbar. */
.elementor-popup-modal .dialog-close-button {
	right: auto !important;
	left: 40px !important;
	align-items: center;
	gap: 10px;
	padding: 9px 18px 9px 14px;
	border-radius: 999px;
	background-color: rgba(0, 7, 44, 0.88);
	transition: background-color 0.2s ease;
}

.elementor-popup-modal .dialog-close-button:hover,
.elementor-popup-modal .dialog-close-button:focus-visible {
	background-color: #00072c;
}

.elementor-popup-modal .dialog-close-button i {
	color: #fff;
}

.elementor-popup-modal .dialog-close-button svg {
	fill: #fff;
}

.elementor-popup-modal .dialog-close-button::after {
	content: "Schließen";
	font-family: "Inter", sans-serif;
	font-size: 15px;
	line-height: 1;
	color: #fff;
}

/* Mobil: Text der Popups beginnt 55 px unter der Oberkante -> kleinere Pille weiter oben */
@media (max-width: 767px) {
	.elementor-popup-modal .dialog-close-button {
		top: 12px !important;
		left: 15px !important;
		padding: 7px 12px 7px 10px;
		gap: 6px;
		font-size: 14px !important;
	}

	.elementor-popup-modal .dialog-close-button svg {
		width: 14px;
		height: 14px;
	}

	.elementor-popup-modal .dialog-close-button::after {
		font-size: 13px;
	}
}

/* Produkte ohne Datenblatt (z. B. H850, Stroller): Button ohne Link ausblenden */
body.single-luchs_product .elementor-widget-button:has(.elementor-button:not([href])) {
	display: none;
}

/* ==========================================================================
   PRODUKTSEITE: Technische Daten (laut Design "Product Page-1")
   ========================================================================== */

.luchs-techdata-stammdaten {
	margin: 0 0 24px;
	line-height: 1.6;
}

.luchs-techdata table {
	width: 100%;
	max-width: 640px;
	margin: 0 0 24px;
	border-collapse: collapse;
	font-size: 14px;
}

.luchs-techdata th,
.luchs-techdata td {
	border: 1px solid #000A23;
	padding: 6px 14px;
	text-align: left;
	vertical-align: top;
}

.luchs-techdata th {
	font-weight: 700;
}

.luchs-techdata td:first-child {
	width: 45%;
}

/* Produktkarte: Kategorie kursiv, Platzhalterbild dezent */
.luchs-card-category {
	font-style: italic;
}

.luchs-card-img--placeholder {
	object-fit: cover;
}

/* Produktseite: dunkle Header-Variante (Design "Product Page") */
@media (min-width: 1025px) {
	body.single-luchs_product .elementor-location-header .elementor-element-2179a1b {
		background-color: #000A23 !important;
	}

	body.single-luchs_product .elementor-location-header .elementor-widget-theme-site-logo img {
		filter: brightness(0) invert(1);
	}

	body.single-luchs_product .elementor-location-header .elementor-element-a6eab15 {
		--n-menu-title-color-normal: #fff;
		--n-menu-title-color-hover: #fff;
		--n-menu-title-color-active: #fff;
	}

	body.single-luchs_product .elementor-location-header .e-n-menu-title-text {
		color: #fff;
	}

	body.single-luchs_product #menu-kontakt,
	body.single-luchs_product #menu-service {
		background: #fff;
	}

	body.single-luchs_product #menu-kontakt a span,
	body.single-luchs_product #menu-service a span {
		color: #000A23;
	}

	body.single-luchs_product #menu-kontakt svg path {
		stroke: #000A23;
	}
}

/* ==========================================================================
   KARUSSELL "UNSERE PRODUKTE" (shortcode: luchs_product_carousel)
   ========================================================================== */

.luchs-product-carousel--categories .swiper-slide {
	width: 560px;
}

.luchs-product-carousel .luchs-cat-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 22px 24px 26px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 4px 12px rgba(0, 7, 44, 0.12);
	color: #000A23;
	text-decoration: none;
	box-sizing: border-box;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.luchs-product-carousel .luchs-cat-card:hover {
	color: #000A23;
	box-shadow: 0 8px 22px rgba(0, 7, 44, 0.18);
	transform: translateY(-2px);
}

.luchs-cat-card-images {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	height: 170px;
	margin-bottom: 20px;
}

.luchs-cat-card-images .luchs-cat-card-img {
	flex: 1 1 0;
	min-width: 0;
	height: 100%;
	object-fit: contain;
	object-position: center bottom;
}

.luchs-cat-card-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.luchs-cat-card-subtitle {
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.4;
}

.luchs-product-carousel .swiper {
	cursor: grab;
}

@media (max-width: 767px) {
	.luchs-product-carousel--categories .swiper-slide {
		width: 300px;
	}

	.luchs-cat-card-images {
		height: 110px;
		gap: 10px;
	}
}

/* ==========================================================================
   BEDIENUNGSANLEITUNGEN (shortcode: luchs_anleitungen)
   ========================================================================== */

.luchs-manuals-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 32px;
}

.luchs-manuals .luchs-manuals-pill {
	padding: 7px 22px;
	border: 1px solid #00072C;
	border-radius: 999px;
	background: #fff;
	color: #00072C;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.3;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.luchs-manuals .luchs-manuals-pill:hover,
.luchs-manuals .luchs-manuals-pill:focus-visible,
.luchs-manuals .luchs-manuals-pill.is-active {
	background: #00072C;
	color: #fff;
}

.luchs-manuals-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: 2px solid #00072C;
}

.luchs-manuals-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 10px 0;
	border-top: 2px solid #00072C;
}

.luchs-manuals-item[hidden] {
	display: none;
}

.luchs-manuals-title {
	font-size: 18px;
	font-weight: 700;
	color: #00072C;
}

.luchs-manuals .luchs-manuals-btn {
	flex-shrink: 0;
	padding: 12px 24px;
	border-radius: 52px;
	background: #009DE4;
	color: #fff;
	font-size: 20px;
	line-height: 22px;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.luchs-manuals .luchs-manuals-btn:hover,
.luchs-manuals .luchs-manuals-btn:focus-visible {
	background: #00072C;
	color: #fff;
}

@media (max-width: 767px) {
	.luchs-manuals-title {
		font-size: 15px;
	}

	.luchs-manuals .luchs-manuals-btn {
		padding: 9px 16px;
		font-size: 15px;
	}
}

/* ==========================================================================
   PRODUKT-GALERIE (Elementor Image Carousel auf der Produktseite)
   Every slide gets the same square stage and the image is shown whole and
   centred inside it. Without this the carousel takes the height of its
   tallest (portrait) photo and landscape product shots float above a big gap.
   ========================================================================== */

body.single-luchs_product .elementor-widget-image-carousel .swiper-slide {
	height: auto;
}

body.single-luchs_product .elementor-widget-image-carousel .swiper-slide-inner {
	aspect-ratio: 1 / 1;
	width: 100%;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	overflow: hidden;
}

body.single-luchs_product .elementor-widget-image-carousel .swiper-slide-image {
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
	object-position: center;
}

/* ==========================================================================
   PRODUKT-DOWNLOADS (shortcode: luchs_tab_downloads) – same look as
   the Bedienungsanleitungen list above.
   ========================================================================== */

.luchs-downloads-list {
	list-style: none;
	margin: 0;
	/* !important: the product template (Elementor) indents all tab lists by 15px */
	padding: 0 !important;
	border-bottom: 2px solid #00072C;
}

.luchs-downloads-list .luchs-downloads-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 0;
	padding: 10px 0;
	border-top: 2px solid #00072C;
}

.luchs-download-name {
	font-size: 18px;
	font-weight: 700;
	color: #00072C;
}

.luchs-downloads-list .luchs-download-btn {
	flex-shrink: 0;
	padding: 12px 24px;
	border-radius: 52px;
	background: #009DE4;
	color: #fff;
	font-size: 20px;
	line-height: 22px;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.luchs-downloads-list .luchs-download-btn:hover,
.luchs-downloads-list .luchs-download-btn:focus-visible {
	background: #00072C;
	color: #fff;
}

@media (max-width: 767px) {
	.luchs-download-name {
		font-size: 15px;
	}

	.luchs-downloads-list .luchs-download-btn {
		padding: 9px 16px;
		font-size: 15px;
	}
}
/* ==========================================================================
   KARUSSELL-PFEILE (luchs_render_carousel_nav: Ähnliche Produkte + Unsere Produkte)
   ========================================================================== */

.luchs-carousel-nav {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}

.luchs-carousel-nav .luchs-carousel-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #000A23;
	border-radius: 50%;
	background: #fff;
	color: #000A23;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.luchs-carousel-nav .luchs-carousel-arrow:hover,
.luchs-carousel-nav .luchs-carousel-arrow:focus-visible {
	background: #000A23;
	color: #fff;
}

.luchs-carousel-nav .luchs-carousel-arrow--next svg {
	transform: rotate(180deg);
}

.luchs-carousel-nav .swiper-button-disabled {
	opacity: 0.3;
	cursor: default;
	pointer-events: none;
}

.luchs-carousel-nav .swiper-button-lock {
	display: none;
}

/* Elementor Nested Carousels without dots (e.g. Zweithaar reviews, "Ein neues
   Lebensgefühl"): Elementor puts navy arrows on top of the (navy) cards, where
   they were invisible. Move them below the carousel, left-aligned, with the
   same look as .luchs-carousel-nav under the product carousels. */
.elementor .elementor-widget-n-carousel:not(.elementor-pagination-type-bullets) {
	padding-bottom: 64px;
}

.elementor .elementor-widget-n-carousel:not(.elementor-pagination-type-bullets) .elementor-swiper-button {
	position: absolute;
	top: auto !important;
	bottom: 0 !important;
	right: auto !important;
	transform: none !important;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #000A23;
	border-radius: 50%;
	background: #fff;
	color: #000A23;
	fill: #000A23;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.elementor .elementor-widget-n-carousel:not(.elementor-pagination-type-bullets) .elementor-swiper-button-prev {
	left: 0 !important;
}

.elementor .elementor-widget-n-carousel:not(.elementor-pagination-type-bullets) .elementor-swiper-button-next {
	left: 56px !important;
}

.elementor .elementor-widget-n-carousel:not(.elementor-pagination-type-bullets) .elementor-swiper-button svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.elementor .elementor-widget-n-carousel:not(.elementor-pagination-type-bullets) .elementor-swiper-button:hover,
.elementor .elementor-widget-n-carousel:not(.elementor-pagination-type-bullets) .elementor-swiper-button:focus-visible {
	background: #000A23;
	color: #fff;
	fill: #fff;
}

.elementor .elementor-widget-n-carousel:not(.elementor-pagination-type-bullets) .elementor-swiper-button.swiper-button-disabled {
	opacity: 0.3;
	cursor: default;
	pointer-events: none;
}

/* Long German compound words in headings ("Verbraucherstreitbeilegung",
   "Sauerstofftherapie") overflow narrow boxes on phones/tablets. Hyphenate
   them correctly (lang="de"), but only long words (>= 12 letters), and break
   as a last resort where hyphenation is not supported. */
@media (max-width: 1024px) {
	h1, h2, h3, h4,
	.elementor-heading-title {
		overflow-wrap: break-word;
		-webkit-hyphens: auto;
		hyphens: auto;
		hyphenate-limit-chars: 12 5 5;
	}
}

/* Safety net: no element may make the whole page scroll sideways (e.g. the
   rotated "Friseur:in gesucht" badge on Zweithaar below ~1500px width).
   clip, unlike hidden, keeps position: sticky working. */
body {
	overflow-x: clip;
}

/* ==========================================================================
   TIMELINE-ANIMATION (Über uns → "Unsere Geschichte", assets/js/luchs-timeline.js)
   Klassen kommen aus Elementor; .is-animated setzt erst das JS.
   ========================================================================== */

.luchs-tl__fill,
.luchs-tl__head {
	position: absolute;
	left: var(--luchs-tl-x, 316px);
	pointer-events: none;
	z-index: 1;
}

.luchs-tl__fill {
	width: 2px;
	background: var(--e-global-color-primary, #00072C);
	transform: scaleY(0);
	transform-origin: top;
}

.luchs-tl__head {
	width: 10px;
	height: 10px;
	margin: -5px 0 0 1px;
	border-radius: 50%;
	background: #33A1FD;
	box-shadow: 0 0 0 4px rgba(51, 161, 253, 0.25), 0 0 14px rgba(51, 161, 253, 0.6);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.luchs-tl__head.is-moving {
	opacity: 1;
}

.luchs-tl.is-animated .luchs-tl-dot {
	z-index: 2;
	transition: box-shadow 0.25s ease;
}

.luchs-tl.is-animated .luchs-tl-dot.is-active {
	box-shadow: inset 0 0 0 9px var(--e-global-color-primary, #00072C), 0 0 0 6px rgba(51, 161, 253, 0.18);
	animation: luchs-tl-pop 0.45s ease-out;
}

/* Punkt, Jahreszahl und Inhalt einer Zeile wechseln gemeinsam mit .is-active (setzt das JS,
   sobald die Linie den Punkt erreicht). Gestaffelt nur beim Einblenden, ausblenden ohne Verzögerung. */
.luchs-tl.is-animated .luchs-tl-year {
	opacity: 0.25;
	transition: opacity 0.35s ease;
}

.luchs-tl.is-animated .luchs-tl-row.is-active .luchs-tl-year {
	opacity: 1;
}

.luchs-tl.is-animated .luchs-tl-content .elementor-widget {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.luchs-tl.is-animated .luchs-tl-content .elementor-widget-image {
	transform: translateY(24px) scale(0.94);
}

.luchs-tl.is-animated .luchs-tl-row.is-active .luchs-tl-content .elementor-widget {
	opacity: 1;
	transform: none;
	transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
	transition-delay: calc(var(--luchs-tl-i, 0) * 80ms);
}

@keyframes luchs-tl-pop {
	0% { transform: scale(1); }
	45% { transform: scale(1.35); }
	100% { transform: scale(1); }
}
