/* HW Landingpages 1.49.1 – Einkaufswelt auf Kategorieseiten (Seite 1).
   Lädt nach hw-landing (Karten, Knöpfe, Farben). Die Bereiche sind Flächen; ab 1240 px wird die
   Einkaufswelt breiter als die Inhaltsspalte des Themes (bis 1680 px, mittig), Kopfbereich und
   Raster darunter bleiben im Theme-Layout. Die Seitenleiste steht erst neben dem Raster. */

body.hw-welt-on .hw-welt { margin: 8px 0 clamp(20px, 3vw, 32px); }
/* Atomion stellt die Hauptspalte am Handy auf eine Flex-Spalte mit Reihenfolgen um (Kopfzeile order 1):
   gleiche Reihenfolge wie die Kopfzeile, damit H1 und Vorteile oben bleiben. */
body.hw-welt-on .hw-welt,
body.hw-welt-on .hw-welt-alle { order: 1; }
/* In der Kopfzeile (am Handy ebenfalls Flex, H1 order 1): Vorteile erst nach der H1 */
body.hw-welt-on .woocommerce-products-header .hw-plp-info { order: 2; }
@media (min-width: 1240px) {
	body.hw-welt-on .hw-welt {
		--hw-welt-w: min(1680px, calc(100vw - 64px));
		width: var(--hw-welt-w);
		max-width: none;
		margin-right: calc(50% - var(--hw-welt-w) / 2);
		margin-left: calc(50% - var(--hw-welt-w) / 2);
	}
}
.hw-welt .hw-lp ul, .hw-welt .hw-lp li { list-style: none; margin: 0; padding: 0; }
.hw-welt .hw-lp li::marker { content: none; }

/* ---------- Bereiche als Flächen ---------- */
.hw-welt .hw-band {
	position: static;
	left: auto;
	width: auto;
	max-width: none;
	margin: 0 0 clamp(16px, 2.4vw, 28px);
	padding: clamp(28px, 4vw, 52px) 0;
	background: var(--hw-cream);
	border-radius: 22px 0 22px 0;
}
.hw-welt .hw-band--white { background: #fff; box-shadow: inset 0 0 0 1px var(--hw-line); }
.hw-welt .hw-band--dark { background: var(--hw-anth); color: var(--hw-cream); }
.hw-welt .hw-lp .hw-wrap { max-width: none; padding: 0 clamp(16px, 3vw, 36px); }
/* Faktenbox hat einen eigenen Rahmen: keine zweite Fläche drumherum, aber volle Breite */
.hw-welt .hw-band:has(.hw-fakten) { padding: 0; background: transparent; box-shadow: none; }
.hw-welt .hw-band:has(.hw-fakten) .hw-wrap { padding: 0; }
.hw-welt .hw-lp .hw-fakten { max-width: none; }
/* Fragen über die volle Breite, Antworttext gut lesbar */
.hw-welt .hw-lp .hw-faq { max-width: none; }
.hw-welt .hw-lp .hw-faq details > :not(summary) { max-width: 80ch; }
.hw-welt .hw-band--white .hw-product { box-shadow: inset 0 0 0 1px var(--hw-line); }
.hw-welt .hw-band--dark .hw-product { background: var(--hw-panel); }
.hw-welt .hw-band--dark h3.hw-product__title,
.hw-welt .hw-band--dark .hw-price { color: var(--hw-cream); }
.hw-welt .hw-band--dark a.hw-btn--outline { border-color: var(--hw-cream); color: var(--hw-cream); }
.hw-welt .hw-band--dark a.hw-btn--outline:hover { background: var(--hw-cream); color: var(--hw-anth); }
/* Das Theme setzt Absätzen, Listen und Preisen eigene dunkle Farben: im dunklen Bereich hell erzwingen */
body.hw-welt-on .hw-welt .hw-band--dark p,
body.hw-welt-on .hw-welt .hw-band--dark li,
body.hw-welt-on .hw-welt .hw-band--dark dd,
body.hw-welt-on .hw-welt .hw-band--dark .hw-welt-text,
body.hw-welt-on .hw-welt .hw-band--dark .hw-price,
body.hw-welt-on .hw-welt .hw-band--dark .hw-price .amount,
body.hw-welt-on .hw-welt .hw-band--dark .hw-price bdi,
body.hw-welt-on .hw-welt .hw-band--dark .hw-price .woocommerce-Price-currencySymbol,
body.hw-welt-on .hw-welt .hw-band--dark h3.hw-product__title,
body.hw-welt-on .hw-welt .hw-band--dark h3.hw-product__title a { color: #EFE6DF !important; }
body.hw-welt-on .hw-welt .hw-band--dark .hw-welt-text a { color: #DCC3AE !important; }
body.hw-welt-on .hw-welt .hw-band--dark .hw-welt-kicker { color: #CDB09A !important; }
body.hw-welt-on .hw-welt .hw-band--dark a.hw-btn--outline { color: #FBF2ED !important; }
body.hw-welt-on .hw-welt .hw-band--dark a.hw-btn--outline:hover { color: #263039 !important; }

/* Atomion: „.archive article { margin-bottom: 6.7em }“ und Absatzabstände 0 – in der Einkaufswelt zurücksetzen */
body.hw-welt-on .hw-welt article.hw-product { margin: 0; }
body.hw-welt-on .hw-welt p.hw-welt-kicker { margin: 0 0 6px; }
body.hw-welt-on .hw-welt .hw-welt-text { margin-top: 10px; }
body.hw-welt-on .hw-welt .hw-welt-text p { margin: 0; }
body.hw-welt-on .hw-welt .hw-welt-text p + p { margin-top: 10px; }
body.hw-welt-on .hw-welt p.hw-welt-more { margin: clamp(18px, 2.2vw, 26px) 0 0; }

/* ---------- Sprungleiste ---------- */
.hw-welt-nav {
	position: sticky;
	top: var(--hw-welt-top, 0px);
	z-index: 30;
	margin: 0 0 clamp(16px, 2.4vw, 28px);
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--hw-line);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.hw-welt-nav__inner { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 10px 2px; }
.hw-welt-nav__title {
	flex: none;
	font-family: var(--hw-display);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hw-brown-text);
}
.hw-welt .hw-welt-nav__list {
	display: flex;
	gap: 8px;
	min-width: 0;
	margin: 0;
	padding: 2px 28px 2px 2px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
	mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}
.hw-welt-nav__list::-webkit-scrollbar { display: none; }
.hw-welt .hw-welt-nav__list li { flex: none; scroll-snap-align: start; }
.hw-lp a.hw-welt-nav__chip {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--hw-line);
	border-radius: 10px 0 10px 0;
	background: #fff;
	color: var(--hw-anth);
	font-family: var(--hw-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.hw-lp a.hw-welt-nav__chip:hover { border-color: var(--hw-brown); color: var(--hw-anth); }
.hw-lp a.hw-welt-nav__chip:focus-visible { outline: 2px solid var(--hw-brown-text); outline-offset: 2px; }
.hw-lp a.hw-welt-nav__chip.is-active { background: var(--hw-anth); border-color: var(--hw-anth); color: #fff; }
@media (max-width: 640px) {
	.hw-welt-nav__title { display: none; }
}

/* ---------- Kopf eines Bereichs ---------- */
.hw-welt-bereich { scroll-margin-top: calc(var(--hw-welt-top, 0px) + 76px); }
#alle-motive { scroll-margin-top: calc(var(--hw-welt-top, 0px) + 76px); }
.hw-welt-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin: 0 0 clamp(16px, 2vw, 24px); }
.hw-welt-head__text { min-width: 0; }
.hw-welt-kicker {
	margin: 0 0 6px;
	font-family: var(--hw-display);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hw-brown-text);
}
.hw-band--dark .hw-welt-kicker { color: var(--hw-brown-light); }
.hw-welt-text { max-width: 70ch; margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--hw-ink2); }
.hw-band--dark .hw-welt-text { color: #E9DFD7; }
.hw-welt-text p + p { margin-top: 10px; }
.hw-welt-text a { color: var(--hw-brown-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hw-band--dark .hw-welt-text a { color: var(--hw-brown-light); }
.hw-welt-head__nav { flex: none; }

/* ---------- Karten ---------- */
.hw-welt .hw-welt-cards { display: grid; gap: clamp(12px, 1.6vw, 20px); }
.hw-welt .hw-welt-cards .hw-product { min-width: 0; }
.hw-welt .hw-welt-cards--raster { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hw-welt .hw-product__body { padding: 14px 16px 16px; gap: 4px; }
.hw-welt h3.hw-product__title { font-size: 19px; }
.hw-welt .hw-price { padding-top: 6px; font-size: 16px; }
@media (max-width: 1100px) {
	.hw-welt .hw-welt-cards--raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Reihe zum Wischen (Pfeile aus dem Slider der Landingpages) */
.hw-welt .hw-row--slider { margin-top: 0; }
@media (min-width: 900px) {
	.hw-welt .hw-row--slider .hw-product { flex-basis: calc((100% - 60px) / 3.6); }
}
@media (min-width: 1600px) {
	.hw-welt .hw-row--slider .hw-product { flex-basis: calc((100% - 80px) / 4.6); }
}

/* Leitbild: großes Motiv links, vier Karten rechts */
/* Leitbild: großes Motiv in festem 3:2-Feld (höchstens leicht beschnitten, nie auf die Höhe der Karten
   gestreckt und nie breiter als die Originaldatei), daneben vier kompakte Karten */
.hw-welt .hw-welt-leit { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(12px, 1.6vw, 20px); align-items: start; }
.hw-welt .hw-welt-leit .hw-welt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
.hw-welt .hw-welt-card--leit { position: relative; width: 100%; max-width: var(--hw-src-w, 100%); }
.hw-welt .hw-welt-card--leit .hw-media { flex: none; aspect-ratio: 3 / 2; }
.hw-welt .hw-welt-leit .hw-welt-cards h3.hw-product__title { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 17px; }
.hw-welt .hw-welt-leit .hw-welt-cards .hw-product__body { padding: 10px 12px 12px; }
.hw-welt .hw-welt-leit .hw-welt-cards .hw-price { font-size: 15px; }
.hw-welt .hw-welt-card--leit .hw-product__body {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 56px 20px 18px;
	background: linear-gradient(180deg, rgba(26, 34, 41, 0) 0%, rgba(26, 34, 41, 0.85) 70%);
	pointer-events: none;
}
.hw-welt .hw-welt-card--leit .hw-product__body a { pointer-events: auto; }
.hw-welt .hw-welt-card--leit h3.hw-product__title { font-size: clamp(22px, 2.2vw, 28px); color: #fff; }
.hw-welt .hw-welt-card--leit .hw-price { color: #fff; }
@media (max-width: 900px) {
	.hw-welt .hw-welt-leit { grid-template-columns: 1fr; }
}

/* Panorama: ein Motiv über die volle Breite im eigenen Seitenverhältnis, darunter breite Karten */
/* Panorama: im eigenen Seitenverhältnis über die volle Breite des Bereichs, aber nie breiter als die
   Originaldatei (--hw-src-w aus den Bildmetadaten; ab 2560-px-Originalen also immer volle Breite) */
.hw-welt .hw-welt-pano { display: grid; gap: clamp(12px, 1.6vw, 20px); }
.hw-welt .hw-welt-card--pano { width: 100%; max-width: var(--hw-src-w, 100%); margin-right: auto; margin-left: auto; }
.hw-welt .hw-welt-card--pano .hw-media { aspect-ratio: auto; }
.hw-welt .hw-welt-card--pano .hw-media img { position: static; height: auto; }
.hw-welt .hw-welt-pano .hw-welt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hw-welt .hw-welt-pano .hw-welt-cards--1 { grid-template-columns: 1fr; }
.hw-welt .hw-welt-card--breit .hw-media { aspect-ratio: 3 / 1; }
@media (max-width: 700px) {
	.hw-welt .hw-welt-pano .hw-welt-cards { grid-template-columns: 1fr; }
}

/* ---------- Links unter einem Bereich ---------- */
.hw-welt-more { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: clamp(18px, 2.2vw, 26px) 0 0; }
.hw-welt-more a.hw-btn--outline { margin-top: 0; }
.hw-lp a.hw-welt-more__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 12px;
	border-radius: 10px 0 10px 0;
	background: rgba(176, 142, 117, 0.14);
	color: var(--hw-anth);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.hw-lp a.hw-welt-more__chip:hover { background: rgba(176, 142, 117, 0.26); }
.hw-band--dark a.hw-welt-more__chip { background: rgba(251, 242, 237, 0.12); color: var(--hw-cream); }
.hw-welt-more__count { font-weight: 400; color: var(--hw-muted); }
.hw-band--dark .hw-welt-more__count { color: var(--hw-brown-light); }

/* ---------- Überschrift über dem normalen Raster ---------- */
.hw-welt-alle { margin: clamp(8px, 2vw, 16px) 0 clamp(14px, 2vw, 20px); padding-top: clamp(20px, 3vw, 32px); border-top: 1px solid #E5D6CA; }
h2.hw-welt-alle__title {
	margin: 0;
	font-family: "HW Barlow Condensed", "Barlow Condensed", "Arial Narrow", sans-serif;
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 600;
	line-height: 1.1;
	color: #263039;
}
p.hw-welt-alle__text { margin: 6px 0 0; font-size: 15px; color: #55606A; }

@media (prefers-reduced-motion: reduce) {
	.hw-lp a.hw-welt-nav__chip { transition: none; }
}
