/* Farben und Schriften kommen vom Theme „Hobby und Garten“; die Werte dahinter greifen bei jedem anderen Theme. */
.hug-main {
	--c-green: var(--hg-green, #14392e);
	--c-green-2: var(--hg-green-2, #1f5443);
	--c-leaf: var(--hg-leaf, #cfe3b4);
	--c-paper: var(--hg-paper, #f5f2ea);
	--c-card: var(--hg-card, #fff);
	--c-ink: var(--hg-ink, #18211d);
	--c-mute: var(--hg-mute, #5a6861);
	--c-line: var(--hg-line, #e0dbcd);
	--c-accent: var(--hg-accent, #c2441f);
	--c-ok: var(--hg-ok, #1d7a3e);
	--f-serif: var(--hg-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif);
	display: block;
	color: var(--c-ink);
	background: var(--c-paper);
	font-family: var(--hg-sans, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
	line-height: 1.5;
}
.hug-main *, .hug-main *::before { box-sizing: border-box; }
.hug-wrap { width: 100%; max-width: var(--hg-wide, 1240px); margin: 0 auto; padding: 0 1.25rem; }
.hug-body { padding-top: 1.5rem; padding-bottom: 4rem; }
.hug-main a:focus-visible, .hug-main button:focus-visible, .hug-main input:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.hug-main .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Kopfbereich jeder Katalogseite */
.hug-hero { color: #fff; background: var(--c-green); background-image: radial-gradient(60rem 22rem at 85% -20%, color-mix(in srgb, var(--c-leaf) 22%, transparent), transparent 70%); padding: 2rem 0 2.5rem; }
.hug-hero a { color: #fff; }
.hug-eyebrow { margin: 0 0 .6rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c-leaf); }
.hug-h1 { margin: 0; font-family: var(--f-serif); font-weight: 600; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.9rem); line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
.hug-h1--big { max-width: 18ch; font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); }
.hug-h1 small { font-family: var(--hg-sans, system-ui, sans-serif); font-size: .4em; font-weight: 500; letter-spacing: 0; color: var(--c-leaf); white-space: nowrap; }
.hug-intro { max-width: 62ch; margin-top: .9rem; color: rgba(255,255,255,.86); font-size: 1.05rem; }
.hug-intro p { margin: 0 0 .8rem; }
.hug-intro p:last-child { margin-bottom: 0; }

.hug-crumbs ol { display: flex; flex-wrap: wrap; gap: .2rem .5rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: .85rem; color: rgba(255,255,255,.75); }
.hug-crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.hug-crumbs a { color: inherit; text-decoration: none; }
.hug-crumbs a:hover { color: #fff; text-decoration: underline; }

.hug-search { display: flex; max-width: 36rem; margin-top: 1.5rem; padding: .3rem; background: #fff; border-radius: 999px; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.hug-search input { flex: 1; min-width: 0; padding: .7rem 1rem; font: inherit; color: var(--c-ink); background: transparent; border: 0; border-radius: 999px; }
.hug-search input:focus-visible { outline: none; }
.hug-search:focus-within { outline: 2px solid var(--c-leaf); outline-offset: 2px; }
.hug-search button { padding: .7rem 1.4rem; font: inherit; font-weight: 600; color: #fff; background: var(--c-accent); border: 0; border-radius: 999px; cursor: pointer; }
.hug-search button:hover { filter: brightness(.92); }

.hug-stats { display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; margin: 1.75rem 0 0; padding: 0; list-style: none; font-size: .92rem; color: rgba(255,255,255,.8); }
.hug-stats b { display: block; font-family: var(--f-serif); font-size: 1.6rem; font-weight: 600; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }

/* Inhalte */
.hug-h2 { margin: 2.75rem 0 1.1rem; font-family: var(--f-serif); font-weight: 600; font-size: 1.6rem; line-height: 1.2; scroll-margin-top: 6rem; }
.hug-h2:first-child { margin-top: 1rem; }
.hug-count { margin: 0 0 1rem; font-size: .9rem; color: var(--c-mute); }

.hug-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.hug-tiles a { display: grid; grid-template-columns: 4.5rem 1fr; grid-template-rows: auto auto; column-gap: .9rem; align-content: center; height: 100%; padding: .75rem; color: var(--c-ink); text-decoration: none; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 14px; transition: border-color .15s ease, transform .15s ease; }
.hug-tiles a:hover { border-color: var(--c-green-2); transform: translateY(-2px); }
.hug-tiles__img { grid-row: 1 / 3; width: 4.5rem; aspect-ratio: 1; overflow: hidden; background: #fff; border-radius: 10px; }
.hug-tiles__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hug-tiles__name { align-self: end; font-weight: 600; line-height: 1.25; }
.hug-tiles__n { align-self: start; font-size: .82rem; color: var(--c-mute); }

.hug-links { columns: 15rem auto; column-gap: 2rem; margin: 0; padding: 0; list-style: none; }
.hug-links li { break-inside: avoid; }
.hug-links a { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding: .5rem 0; color: var(--c-ink); text-decoration: none; border-bottom: 1px solid var(--c-line); }
.hug-links a:hover { color: var(--c-accent); }
.hug-links span { font-size: .8rem; color: var(--c-mute); font-variant-numeric: tabular-nums; }

.hug-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.hug-card a { display: flex; flex-direction: column; gap: .25rem; height: 100%; padding: .8rem; color: var(--c-ink); text-decoration: none; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 14px; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.hug-card a:hover { border-color: var(--c-green-2); box-shadow: 0 8px 22px rgba(20,57,46,.10); transform: translateY(-2px); }
.hug-card__img { display: block; aspect-ratio: 1; margin-bottom: .5rem; overflow: hidden; background: #fff; border-radius: 8px; }
.hug-card__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hug-card__vendor { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-green-2); }
.hug-card__title { font-size: .93rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hug-card__price { margin-top: auto; padding-top: .5rem; font-size: 1.1rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hug-card__price s { font-weight: 400; font-size: .78em; color: var(--c-mute); }
.hug-card__from { font-weight: 400; font-size: .8em; color: var(--c-mute); }
.hug-card__foot { display: flex; justify-content: space-between; gap: .5rem; font-size: .78rem; }
.hug-card__stock { color: var(--c-ok); }
.hug-card__stock::before { content: ""; display: inline-block; width: .45rem; height: .45rem; margin-right: .35rem; border-radius: 50%; background: currentColor; vertical-align: .05em; }
.hug-card__go { font-weight: 600; color: var(--c-accent); opacity: 0; transition: opacity .15s ease; }
.hug-card a:hover .hug-card__go, .hug-card a:focus-visible .hug-card__go { opacity: 1; }
.hug-card.is-out .hug-card__stock { color: var(--c-mute); }
.hug-card.is-out .hug-card__img img { opacity: .5; }

.hug-pages { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin: 2.5rem 0 0; }
.hug-pages a, .hug-pages span { min-width: 2.6rem; padding: .5rem .85rem; text-align: center; color: var(--c-ink); text-decoration: none; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 999px; font-variant-numeric: tabular-nums; }
.hug-pages a:hover { border-color: var(--c-green-2); }
.hug-pages [aria-current] { font-weight: 700; color: #fff; background: var(--c-green); border-color: var(--c-green); }
.hug-pages .hug-pages__gap { background: none; border-color: transparent; }

.hug-note { max-width: 80ch; margin: 3rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--c-line); font-size: .8rem; color: var(--c-mute); }
.hug-note a { color: inherit; }

@media (max-width: 520px) {
	.hug-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
	.hug-card a { padding: .6rem; }
	.hug-card__go { display: none; }
	.hug-tiles { grid-template-columns: 1fr; gap: .6rem; }
	.hug-search button { padding-inline: 1rem; }
}
@media (hover: none) { .hug-card__go { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.hug-card a, .hug-tiles a, .hug-card__go { transition: none; }
	.hug-card a:hover, .hug-tiles a:hover { transform: none; }
}

/* Produktreihe auf der Übersicht: auf dem Handy gerade Anzahl */
@media (min-width: 521px) and (max-width: 1100px) { .hug-grid--row li:nth-child(n+9) { display: none; } }

/* ---------- Startseite ---------- */
.hug-hero--home { padding: 3rem 0 3.5rem; background-image: radial-gradient(50rem 26rem at 100% 0%, color-mix(in srgb, var(--c-leaf) 30%, transparent), transparent 70%), radial-gradient(40rem 20rem at -10% 110%, color-mix(in srgb, var(--c-accent) 28%, transparent), transparent 70%); }
.hug-home { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: center; }
.hug-hero--home .hug-h1--big { max-width: 15ch; font-size: clamp(2.4rem, 1.2rem + 4.4vw, 4.6rem); line-height: 1.02; }
.hug-h1 em { font-style: italic; color: var(--c-leaf); }
.hug-hero--home .hug-intro { font-size: 1.15rem; }
.hug-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hug-collage a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #fff; border-radius: 22px; box-shadow: 0 18px 40px rgba(0,0,0,.28); transition: transform .2s ease; }
@media (min-width: 901px) {
	.hug-collage a:nth-child(1) { transform: rotate(-3deg); }
	.hug-collage a:nth-child(2) { transform: rotate(2deg) translateY(1.25rem); }
	.hug-collage a:nth-child(3) { transform: rotate(2.5deg); }
	.hug-collage a:nth-child(4) { transform: rotate(-2deg) translateY(1.25rem); }
	.hug-collage a:hover { transform: rotate(0) scale(1.03); z-index: 1; }
}
.hug-collage img { display: block; width: 100%; height: 100%; padding: .9rem .9rem 2.6rem; object-fit: contain; }
.hug-collage span { position: absolute; left: .6rem; right: .6rem; bottom: .6rem; padding: .4rem .7rem; font-size: .85rem; font-weight: 700; color: #fff; background: var(--c-green); border-radius: 999px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) {
	.hug-home { grid-template-columns: 1fr; gap: 2rem; }
	.hug-collage { grid-template-columns: repeat(4, 1fr); gap: .6rem; }
	.hug-collage a { border-radius: 14px; }
	.hug-collage img { padding: .4rem .4rem 1.9rem; }
	.hug-collage span { left: .25rem; right: .25rem; bottom: .25rem; padding: .2rem .35rem; font-size: .62rem; }
}

.hug-worlds { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.hug-world { display: flex; flex-direction: column; gap: 1.1rem; height: 100%; padding: 1.4rem; color: #fff; background: var(--c-green); border-radius: 18px; }
.hug-worlds > li { min-width: 0; }
.hug-worlds > li:nth-child(4n+2) .hug-world { background: var(--c-green-2); }
.hug-worlds > li:nth-child(4n+3) .hug-world { background: #7a3418; }
.hug-worlds > li:nth-child(4n+4) .hug-world { background: #2b3a55; }
.hug-world__head { display: grid; grid-template-columns: minmax(0, 1fr) 6rem; gap: 1rem; align-items: center; }
.hug-world h3 { margin: 0; font-family: var(--f-serif); font-size: 1.5rem; line-height: 1.15; overflow-wrap: break-word; }
.hug-world h3 a { color: #fff; text-decoration: none; }
.hug-world h3 a:hover { text-decoration: underline; }
.hug-world p { margin: .25rem 0 0; font-size: .85rem; color: rgba(255,255,255,.75); }
.hug-world img { display: block; width: 6rem; height: 6rem; padding: .4rem; object-fit: contain; background: #fff; border-radius: 14px; }
.hug-world ul { display: flex; flex-wrap: wrap; gap: .45rem; margin: auto 0 0; padding: 0; list-style: none; }
.hug-world li { max-width: 100%; }
.hug-world li a { display: block; padding: .35rem .8rem; color: #fff; font-size: .9rem; line-height: 1.3; text-decoration: none; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; overflow-wrap: anywhere; }
.hug-world li a:hover { background: #fff; color: var(--c-ink); }

.hug-band { margin: 3rem 0 0; padding: .5rem 0 2.5rem; background: #f3dccf; box-shadow: 0 0 0 100vmax #f3dccf; clip-path: inset(0 -100vmax); }
.hug-band .hug-h2 { margin-top: 2rem; margin-bottom: .2rem; color: #7a2a10; }
.hug-band__sub { margin: 0 0 1.2rem; color: #5e3a2c; }

.hug-card__img { position: relative; }
.hug-card__badge { position: absolute; top: .4rem; left: .4rem; z-index: 1; padding: .15rem .5rem; font-size: .78rem; font-weight: 700; color: #fff; background: var(--c-accent); border-radius: 999px; }

.hug-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: .75rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.hug-brands a { display: block; height: 100%; padding: .9rem 1rem; color: var(--c-ink); text-decoration: none; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 14px; }
.hug-brands a:hover { border-color: var(--c-green-2); }
.hug-brands b { display: block; font-family: var(--f-serif); font-size: 1.2rem; line-height: 1.2; }
.hug-brands span { font-size: .8rem; color: var(--c-mute); }

.hug-about { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 0 3rem; margin-top: 1.5rem; }
.hug-about p { max-width: 62ch; margin: 0 0 1rem; }
.hug-faq { border-bottom: 1px solid var(--c-line); }
.hug-faq summary { padding: .85rem 0; font-weight: 600; cursor: pointer; }
.hug-faq p { margin: 0 0 1rem; color: var(--c-mute); }

@media (max-width: 520px) {
	.hug-world { padding: 1.1rem; }
	.hug-world__head { grid-template-columns: minmax(0, 1fr) 4.5rem; }
	.hug-world img { width: 4.5rem; height: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) { .hug-collage a { transition: none; } }

.hug-note--legal { margin-top: .6rem; padding-top: 0; border-top: 0; }
