/*
 * Landleben Gestaltung
 * Dezente Effekte und rustikale Stile für daslandleben.de (Astra).
 */

:root {
	--ll-braun: #7f5f41;
	--ll-braun-dunkel: #5e4430;
	--ll-holz: #c4a07a;
	--ll-dunkel: #3b2a1e;
	--ll-papier: #f7f2ea;
	--ll-linie: #e7dccb;
	--ll-weich: cubic-bezier(.22, .61, .36, 1);
	--ll-dauer: .9s;
	--ll-weg: 28px;
	--ll-zaun: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 220 40%27%3E%3Cpath fill=%27%237f5f41%27 d=%27M4.0 40V12L8.0 6L12.0 12V40ZM20.5 40V9L24.5 3L28.5 9V40ZM37.0 40V13L41.0 7L45.0 13V40ZM53.5 40V8L57.5 2L61.5 8V40ZM70.0 40V11L74.0 5L78.0 11V40ZM86.5 40V9L90.5 3L94.5 9V40ZM103.0 40V12L107.0 6L111.0 12V40ZM119.5 40V8L123.5 2L127.5 8V40ZM136.0 40V11L140.0 5L144.0 11V40ZM152.5 40V10L156.5 4L160.5 10V40ZM169.0 40V13L173.0 7L177.0 13V40ZM185.5 40V9L189.5 3L193.5 9V40ZM202.0 40V12L206.0 6L210.0 12V40ZM0 17h220v3H0zM0 31h220v3H0z%27/%3E%3C/svg%3E");
	--ll-rauschen: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27180%27 height=%27180%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.85%27 numOctaves=%272%27 stitchTiles=%27stitch%27/%3E%3CfeColorMatrix values=%270 0 0 0 .23 0 0 0 0 .16 0 0 0 0 .1 0 0 0 .07 0%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23n)%27/%3E%3C/svg%3E");
}

@media (max-width: 768px) {
	:root {
		--ll-dauer: .7s;
		--ll-weg: 16px;
	}
}

/* ------------------------------------------------------------------
 * 1. Effekte beim Erscheinen
 *    Versteckt wird nur, wenn JavaScript läuft (Klasse ll-js am <html>).
 * ------------------------------------------------------------------ */

.ll-fx-spaeter-1 { --ll-basis: 160ms; }
.ll-fx-spaeter-2 { --ll-basis: 320ms; }

.ll-js .ll-fx-einblenden,
.ll-js .ll-fx-links,
.ll-js .ll-fx-rechts,
.ll-js .ll-fx-zoom {
	opacity: 0;
	transition:
		opacity var(--ll-dauer) var(--ll-weich) var(--ll-basis, 0ms),
		transform var(--ll-dauer) var(--ll-weich) var(--ll-basis, 0ms),
		translate .5s var(--ll-weich),
		box-shadow .5s var(--ll-weich);
}

.ll-js .ll-fx-einblenden { transform: translate3d(0, var(--ll-weg), 0); }
.ll-js .ll-fx-links { transform: translate3d(calc(var(--ll-weg) * -1.5), 0, 0); }
.ll-js .ll-fx-rechts { transform: translate3d(calc(var(--ll-weg) * 1.5), 0, 0); }
.ll-js .ll-fx-zoom { transform: scale(.95); }

/* Kadence-Blöcke haben eine Hülle dazwischen: dann zählen deren Kinder. */
.ll-js .ll-fx-nacheinander > :not(.kt-row-column-wrap, .kt-row-layout-overlay, .kb-gallery-ul, .kt-inside-inner-col),
.ll-js .ll-fx-nacheinander > :is(.kt-row-column-wrap, .kb-gallery-ul, .kt-inside-inner-col) > * {
	opacity: 0;
	transform: translate3d(0, var(--ll-weg), 0);
	transition:
		opacity var(--ll-dauer) var(--ll-weich) calc(var(--ll-i, 0) * 120ms + var(--ll-basis, 0ms)),
		transform var(--ll-dauer) var(--ll-weich) calc(var(--ll-i, 0) * 120ms + var(--ll-basis, 0ms)),
		translate .5s var(--ll-weich),
		box-shadow .5s var(--ll-weich);
}

.ll-js .ll-sichtbar.ll-fx-einblenden,
.ll-js .ll-sichtbar.ll-fx-links,
.ll-js .ll-sichtbar.ll-fx-rechts,
.ll-js .ll-sichtbar.ll-fx-zoom,
.ll-js .ll-fx-nacheinander.ll-sichtbar > :not(.kt-row-column-wrap, .kt-row-layout-overlay, .kb-gallery-ul, .kt-inside-inner-col),
.ll-js .ll-fx-nacheinander.ll-sichtbar > :is(.kt-row-column-wrap, .kb-gallery-ul, .kt-inside-inner-col) > * {
	opacity: 1;
	transform: none;
}

/* Am Handy nichts seitlich hereinschieben (verhindert seitliches Wackeln). */
@media (max-width: 768px) {
	.ll-js .ll-fx-links,
	.ll-js .ll-fx-rechts {
		transform: translate3d(0, var(--ll-weg), 0);
	}
}

/* ------------------------------------------------------------------
 * 2. Effekte beim Drüberfahren (nur mit Maus)
 * ------------------------------------------------------------------ */

.ll-hover-heben {
	transition: translate .5s var(--ll-weich), box-shadow .5s var(--ll-weich);
}

.ll-hover-bildzoom,
.ll-hover-bildzoom figure,
.ll-hover-bildzoom .wp-block-image {
	overflow: hidden;
}

.ll-hover-bildzoom img,
.ll-hover-bildzoom .wp-block-cover__image-background {
	transition: scale 1.4s var(--ll-weich);
}

@media (hover: hover) {
	.ll-hover-heben:hover {
		translate: 0 -6px;
		box-shadow: 0 18px 36px -18px rgba(59, 42, 30, .45);
	}

	.ll-hover-bildzoom:hover img,
	.ll-hover-bildzoom:hover .wp-block-cover__image-background {
		scale: 1.05;
	}
}

/* ------------------------------------------------------------------
 * 3. Titelbild: Langsamer Zoom und Tiefenwirkung
 * ------------------------------------------------------------------ */

.wp-block-cover.is-style-ll-langsam-zoom,
.wp-block-cover.ll-parallax {
	overflow: hidden;
}

.is-style-ll-langsam-zoom .wp-block-cover__image-background,
.is-style-ll-langsam-zoom .wp-block-cover__video-background {
	animation: ll-langsam-zoom 16s cubic-bezier(.2, .6, .3, 1) both;
}

.ll-parallax .wp-block-cover__image-background:not(.has-parallax) {
	scale: 1.15;
	will-change: translate;
}

.ll-parallax.is-style-ll-langsam-zoom .wp-block-cover__image-background {
	animation-name: ll-langsam-zoom-tief;
}

@keyframes ll-langsam-zoom {
	from { scale: 1.09; }
	to { scale: 1; }
}

@keyframes ll-langsam-zoom-tief {
	from { scale: 1.24; }
	to { scale: 1.15; }
}

/* ------------------------------------------------------------------
 * 4. Rustikale Stile (rechts im Editor unter "Stile")
 * ------------------------------------------------------------------ */

/* Bild: Fotorahmen */
.wp-block-image.is-style-ll-holzrahmen img {
	background: #fff;
	padding: 10px;
	box-shadow: 0 14px 30px -14px rgba(59, 42, 30, .45), 0 2px 6px rgba(59, 42, 30, .08);
	rotate: -1.2deg;
	transition: rotate .6s var(--ll-weich), scale .6s var(--ll-weich);
}

.wp-block-image.is-style-ll-holzrahmen:nth-of-type(even) img {
	rotate: 1.2deg;
}

@media (hover: hover) {
	.wp-block-image.is-style-ll-holzrahmen:hover img {
		rotate: 0deg;
		scale: 1.02;
	}
}

/* Bild: Weiche Ecken */
.wp-block-image.is-style-ll-ecken img {
	border-radius: 14px;
}

/* Gruppe / Spalte: Papier */
.is-style-ll-papier {
	background-color: var(--ll-papier);
	background-image: var(--ll-rauschen);
	border-radius: 6px;
	padding: clamp(24px, 4vw, 48px);
}

/* Gruppe / Spalte: Holzkarte (wie die Kontakt-Kästen) */
.is-style-ll-holzkarte {
	background-color: var(--ll-braun);
	background-image:
		var(--ll-rauschen),
		repeating-linear-gradient(92deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 9px, rgba(0, 0, 0, .03) 9px 11px, transparent 11px 23px);
	color: #fff;
	border-radius: 10px;
	padding: clamp(24px, 4vw, 40px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 12px 28px -18px rgba(59, 42, 30, .7);
}

.is-style-ll-holzkarte :where(h1, h2, h3, h4, h5, h6, p, a, li, strong) {
	color: inherit;
}

/* Trennlinie: Zaunlatten */
hr.wp-block-separator.is-style-ll-zaun {
	border: 0 !important;
	height: 34px;
	width: 200px;
	max-width: 70%;
	margin-left: auto;
	margin-right: auto;
	background: var(--ll-zaun) center / contain no-repeat !important;
	opacity: .7;
}

/* Button: Holzknopf */
.wp-block-button.is-style-ll-holzknopf .wp-block-button__link {
	background-color: var(--ll-braun);
	background-image: var(--ll-rauschen);
	color: #fff;
	border: 0;
	border-radius: 4px;
	padding: .85em 1.6em;
	letter-spacing: .08em;
	text-transform: uppercase;
	font-weight: 600;
	box-shadow: 0 3px 0 var(--ll-braun-dunkel);
	transition: translate .3s var(--ll-weich), box-shadow .3s var(--ll-weich), background-color .3s;
}

.wp-block-button.is-style-ll-holzknopf .wp-block-button__link::after {
	content: "→";
	display: inline-block;
	margin-left: .6em;
	transition: translate .3s var(--ll-weich);
}

@media (hover: hover) {
	.wp-block-button.is-style-ll-holzknopf .wp-block-button__link:hover {
		background-color: var(--ll-braun-dunkel);
		translate: 0 -2px;
		box-shadow: 0 5px 0 var(--ll-dunkel), 0 12px 20px -10px rgba(59, 42, 30, .6);
	}

	.wp-block-button.is-style-ll-holzknopf .wp-block-button__link:hover::after {
		translate: 4px 0;
	}
}

/* Überschrift: Mit Pinselstrich */
.is-style-ll-pinsel::after {
	content: "";
	display: block;
	width: 96px;
	height: 12px;
	margin-top: .35em;
	background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 120 12%27%3E%3Cpath fill=%27%23c4a07a%27 d=%27M3 7.5C28 3 62 2.2 117 4.6c1.6.1 1.8 1.6.2 1.9C86 8.7 52 10 6 10.2 1.7 10.2 1 8 3 7.5z%27/%3E%3C/svg%3E") left center / contain no-repeat;
}

.is-style-ll-pinsel.has-text-align-center::after {
	margin-left: auto;
	margin-right: auto;
	background-position: center;
}

.is-style-ll-pinsel.has-text-align-right::after {
	margin-left: auto;
	background-position: right center;
}

/* Zitat: Rustikal */
.wp-block-quote.is-style-ll-zitat {
	position: relative;
	border-left: 3px solid var(--ll-holz);
	background-color: var(--ll-papier);
	background-image: var(--ll-rauschen);
	padding: 1.6em 1.8em 1.4em 2.4em;
	font-style: italic;
	border-radius: 0 6px 6px 0;
}

.wp-block-quote.is-style-ll-zitat::before {
	content: "„";
	position: absolute;
	top: -.15em;
	left: .25em;
	font-size: 4em;
	line-height: 1;
	font-style: normal;
	color: var(--ll-holz);
	opacity: .55;
}

.wp-block-quote.is-style-ll-zitat cite {
	display: block;
	margin-top: .8em;
	font-style: normal;
	font-size: .75em;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ll-braun);
}

/* ------------------------------------------------------------------
 * 5. Mitlaufende Kopfzeile (Astra, transparente Kopfzeile)
 * ------------------------------------------------------------------ */

.ll-kopfzeile-mitlaufen.ast-theme-transparent-header.ll-kopf-fest #masthead {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	animation: ll-kopf-rein .45s var(--ll-weich) both;
	box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .45);
}

.ll-kopfzeile-mitlaufen.ast-theme-transparent-header.ll-kopf-fest #masthead .main-header-bar,
.ll-kopfzeile-mitlaufen.ast-theme-transparent-header.ll-kopf-fest #masthead .ast-primary-header-bar,
.ll-kopfzeile-mitlaufen.ast-theme-transparent-header.ll-kopf-fest #masthead .ast-above-header-bar,
.ll-kopfzeile-mitlaufen.ast-theme-transparent-header.ll-kopf-fest #masthead .ast-below-header-bar {
	background-color: rgba(52, 37, 26, .94) !important;
	background-image: var(--ll-rauschen) !important;
	border-bottom-color: transparent !important;
}

.ll-kopfzeile-mitlaufen.ast-theme-transparent-header.ll-kopf-fest #masthead .site-logo-img img,
.ll-kopfzeile-mitlaufen.ast-theme-transparent-header.ll-kopf-fest #masthead .custom-logo {
	max-height: 58px;
	width: auto;
}

.admin-bar.ll-kopfzeile-mitlaufen.ll-kopf-fest #masthead { top: 32px; }

@media (max-width: 782px) {
	.admin-bar.ll-kopfzeile-mitlaufen.ll-kopf-fest #masthead { top: 46px; }
}

@media (max-width: 600px) {
	.admin-bar.ll-kopfzeile-mitlaufen.ll-kopf-fest #masthead { top: 0; }
}

@keyframes ll-kopf-rein {
	from { transform: translateY(-100%); }
	to { transform: none; }
}

/* ------------------------------------------------------------------
 * 6. Ein-Seiten-Shop [landleben_shop]
 * ------------------------------------------------------------------ */

.ll-shop {
	--ll-nav-hoehe: 64px;
}

.ll-shop-nav {
	position: sticky;
	top: var(--ll-nav-oben, 0px);
	z-index: 50;
	margin: 0 0 48px;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--ll-linie);
	transition: top .3s var(--ll-weich);
}

.ll-shop-nav ul {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 12px 4px;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.ll-shop-nav ul::-webkit-scrollbar { display: none; }

.ll-shop-nav li { margin: 0; flex: none; }

.ll-shop-nav a {
	display: inline-block;
	padding: 8px 18px;
	border: 1px solid var(--ll-holz);
	border-radius: 999px;
	color: var(--ll-braun);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .3s, color .3s, border-color .3s;
}

.ll-shop-nav a:hover,
.ll-shop-nav a:focus-visible,
.ll-shop-nav a.ist-aktiv {
	background-color: var(--ll-braun);
	border-color: var(--ll-braun);
	color: #fff;
}

@media (max-width: 768px) {
	.ll-shop-nav ul { justify-content: flex-start; padding-left: 16px; padding-right: 16px; }
}

.ll-shop-abschnitt {
	margin-bottom: 72px;
}

.ll-shop-abschnitt,
.ll-shop-anker {
	scroll-margin-top: calc(var(--ll-nav-oben, 0px) + var(--ll-nav-hoehe) + 16px);
}

/* Unser Sortiment (ab 1.6.5): alle Produkte als ein Raster */
.ll-sortiment { margin: 0 0 80px; }

.ll-sortiment-kopf {
	margin: 0 0 36px;
	text-align: center;
}

.ll-sortiment-titel,
.ll-hoelzer-titel {
	margin: 0;
	color: var(--ll-dunkel);
	font-size: clamp(30px, 4vw, 42px);
	line-height: 1.15;
	text-wrap: balance;
}

.ll-sortiment-unterzeile {
	margin: 10px 0 0;
	color: #7a6552;
	font-size: 17px;
}

.ll-sortiment-raster {
	display: grid;
	grid-template-columns: repeat(var(--ll-spalten, 3), minmax(0, 1fr));
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 1024px) {
	.ll-sortiment-raster { grid-template-columns: repeat(min(2, var(--ll-spalten, 3)), minmax(0, 1fr)); gap: 24px; }
}

@media (max-width: 640px) {
	.ll-sortiment-raster { grid-template-columns: minmax(0, 1fr); }
}

.ll-karte {
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: hidden;
	background-color: var(--ll-papier);
	background-image: var(--ll-rauschen);
	border-radius: 8px;
	box-shadow: 0 14px 30px -22px rgba(59, 42, 30, .55);
}

.ll-karte-foto {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #ece3d6;
}

.ll-karte-foto img.ll-karte-bild {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	margin: 0 !important;
	transition: scale 1.2s var(--ll-weich);
}

.ll-karte-text {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 24px 24px 28px;
}

.ll-karte-titel {
	margin: 0;
	font-size: 24px;
	line-height: 1.2;
}

.ll-karte-titel a {
	color: var(--ll-dunkel);
	text-decoration: none;
}

.ll-karte-titel a:hover,
.ll-karte-titel a:focus-visible { color: var(--ll-braun); }

.ll-karte-zeile {
	margin: 0;
	color: #7a6552;
	font-size: 15px;
	line-height: 1.45;
}

.ll-karte-preis {
	margin: 4px 0 0;
	color: var(--ll-dunkel);
	font-size: 18px;
	font-weight: 700;
}

.ll-karte-preis del { opacity: .55; font-weight: 400; }
.ll-karte-preis ins { text-decoration: none; }

.ll-karte-knopf { margin-top: auto !important; }
/* Der Shortcode-Block legt ein <p> um den Knopf; dann rückt dieses <p> nach unten, damit die Knöpfe auf einer Linie stehen */
.ll-karte-text > p:has(> .ll-karte-knopf) { margin: auto 0 0 !important; padding: 0 !important; }
/* Pflichtangaben unter dem Preis (Germanized: Grundpreis, MwSt., Versand, Lieferzeit) */
.ll-karte-angaben { margin: -2px 0 4px; color: #7a6552; font-size: 14px; line-height: 1.45; }
.ll-karte-angaben p { margin: 0 !important; padding: 0 !important; font-size: inherit !important; }
.ll-karte-angaben a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ll-karte-angaben .price-unit { font-weight: 600; }
.ll-karte-text > :nth-last-child(2) { margin-bottom: 14px; }

@media (hover: hover) {
	.ll-karte:hover .ll-karte-bild { scale: 1.04; }
}

/* Mehr über unsere Hölzer: flache Streifen, Text klappt auf */
.ll-hoelzer { margin: 0 0 64px; }

.ll-hoelzer-titel {
	margin-bottom: 28px;
	font-size: clamp(24px, 3vw, 30px);
	text-align: center;
}

.ll-streifen {
	margin: 0 0 20px;
	overflow: hidden;
	border-radius: 8px;
	background-color: #3b2a1e;
	background-image: var(--ll-rauschen);
	color: #fff;
}

.ll-streifen--bild {
	background:
		linear-gradient(90deg, rgba(34, 24, 16, .9), rgba(34, 24, 16, .72) 60%, rgba(34, 24, 16, .6)),
		var(--ll-streifen-bild) center / cover no-repeat,
		#3b2a1e;
}

.ll-streifen-kopf {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	box-sizing: border-box;
	min-height: 150px;
	padding: 24px 40px;
	cursor: pointer;
	list-style: none;
}

.ll-streifen-kopf::-webkit-details-marker { display: none; }
.ll-streifen-kopf::marker { content: ""; }

.ll-streifen-kopf:focus-visible { outline: 2px solid #f2d6a0; outline-offset: -4px; }

.ll-streifen-text {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.ll-streifen-titel {
	font-family: var(--ll-f-titel, inherit);
	font-size: clamp(22px, 2.6vw, 30px);
	line-height: 1.2;
	color: #fff;
}

.ll-streifen-zeile {
	color: rgba(255, 255, 255, .88);
	font-size: 16px;
}

.ll-streifen-knopf {
	flex: none;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 24px;
	border: 1.5px solid rgba(255, 255, 255, .85);
	border-radius: 999px;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	transition: background-color .3s, color .3s;
}

.ll-streifen-kopf:hover .ll-streifen-knopf,
.ll-streifen-kopf:focus-visible .ll-streifen-knopf { background-color: #fff; color: var(--ll-dunkel); }

.ll-streifen .ll-auf,
.ll-streifen[open] .ll-zu { display: none; }
.ll-streifen[open] .ll-auf { display: inline; }

.ll-streifen-mehr {
	padding: 0 40px 32px;
	color: rgba(255, 255, 255, .92);
}

.ll-streifen-beschreibung { max-width: 720px; }
.ll-streifen-beschreibung p { margin: 0 0 .8em; }

.ll-streifen-link {
	display: inline-block;
	margin-top: 6px;
	color: #f2d6a0;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ll-streifen .ll-shop-leer { color: rgba(255, 255, 255, .8); text-align: left; }

@media (max-width: 640px) {
	.ll-streifen-kopf { flex-direction: column; align-items: flex-start; min-height: 0; padding: 24px 20px; }
	.ll-streifen-mehr { padding: 0 20px 24px; }
}

.ll-shop-kopf {
	position: relative;
	margin-bottom: 36px;
	padding: 40px 16px 8px;
	text-align: center;
}

.ll-shop-titel {
	margin: .25em 0 0;
	color: var(--ll-dunkel);
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.15;
}

.ll-shop-titel::after {
	content: "";
	display: block;
	width: 110px;
	height: 22px;
	margin: 14px auto 0;
	background: var(--ll-zaun) center / contain no-repeat;
	opacity: .8;
}

.ll-shop-text {
	max-width: 640px;
	margin: 14px auto 0;
	color: #6b5a4b;
}

.ll-shop-text p:last-child { margin-bottom: 0; }

/* Kopfbereich mit Kategorie-Bild, im Stil der Seiten-Titelbilder */
.ll-shop-kopf--bild {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 260px;
	padding: 48px 24px;
	border-radius: 6px;
	overflow: hidden;
	background:
		linear-gradient(rgba(34, 24, 16, .58), rgba(34, 24, 16, .58)),
		var(--ll-kopf-bild) center / cover no-repeat;
}

.ll-shop-kopf--bild .ll-shop-titel { color: #fff; }
.ll-shop-kopf--bild .ll-shop-titel::after { filter: brightness(0) invert(1); opacity: .75; }
.ll-shop-kopf--bild .ll-shop-text { color: rgba(255, 255, 255, .9); }

.ll-shop-leer {
	text-align: center;
	color: #8a7968;
	font-style: italic;
}

/* Produktkarten etwas lebendiger */
.ll-shop ul.products li.product {
	border-radius: 6px;
	transition:
		opacity var(--ll-dauer) var(--ll-weich) var(--ll-basis, 0ms),
		transform var(--ll-dauer) var(--ll-weich) var(--ll-basis, 0ms),
		translate .5s var(--ll-weich),
		box-shadow .5s var(--ll-weich);
}

.ll-shop ul.products li.product .astra-shop-thumbnail-wrap,
.ll-shop ul.products li.product a.woocommerce-LoopProduct-link {
	display: block;
	overflow: hidden;
	border-radius: 6px;
}

.ll-shop ul.products li.product img {
	transition: scale 1.2s var(--ll-weich);
}

@media (hover: hover) {
	.ll-shop ul.products li.product:hover {
		translate: 0 -4px;
	}

	.ll-shop ul.products li.product:hover img {
		scale: 1.04;
	}
}

.ll-hinweis {
	padding: 12px 16px;
	border-left: 4px solid var(--ll-holz);
	background: var(--ll-papier);
}

/* ------------------------------------------------------------------
 * 7. Shop-Helfer
 * ------------------------------------------------------------------ */

/* Symbole */
.ll-symbol {
	flex: none;
	color: var(--ll-braun);
}

/* Vorteile-Leiste */
.ll-vorteile {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
	margin: 0 0 56px;
	padding: 0;
	list-style: none;
}

.ll-vorteile li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 14px 18px;
	background-color: var(--ll-papier);
	background-image: var(--ll-rauschen);
	border-radius: 6px;
	color: var(--ll-dunkel);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

/* Hinweis-Schild auf Produktbildern */
.ll-shop ul.products li.product .astra-shop-thumbnail-wrap,
ul.products li.product .astra-shop-thumbnail-wrap,
ul.products li.product > a.woocommerce-LoopProduct-link {
	position: relative;
}

.ll-schild {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 5px 12px;
	background-color: var(--ll-braun);
	background-image: var(--ll-rauschen);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.4;
	text-transform: uppercase;
	border-radius: 3px;
	box-shadow: 0 4px 10px -4px rgba(59, 42, 30, .5);
	pointer-events: none;
}

.ll-schild--einzeln {
	position: static;
	display: inline-block;
	margin-bottom: 10px;
}

/* Nur auf Anfrage */
.ll-preis-anfrage {
	color: var(--ll-braun);
	font-style: italic;
}

.ll-anfrage {
	margin: 18px 0 8px;
}

.ll-anfrage-text {
	margin: 10px 0 0;
	color: #6b5a4b;
	font-size: .93em;
}

/* Einfacher brauner Knopf. Mit „Shop-Knöpfe im Landleben-Look“ übernimmt design.css (Stempel). */
body:not(.ll-shop-knoepfe) .button.ll-anfrage-knopf,
body:not(.ll-shop-knoepfe) .ll-rechner .button.ll-rechner-knopf,
body:not(.ll-shop-knoepfe) .ll-kaufleiste .button {
	background-color: var(--ll-braun);
	border-color: var(--ll-braun);
	color: #fff;
	border-radius: 4px;
}

body:not(.ll-shop-knoepfe) .button.ll-anfrage-knopf:hover,
body:not(.ll-shop-knoepfe) .ll-rechner .button.ll-rechner-knopf:hover:not(:disabled),
body:not(.ll-shop-knoepfe) .ll-kaufleiste .button:hover {
	background-color: var(--ll-braun-dunkel);
	border-color: var(--ll-braun-dunkel);
}

/* Info-Kasten auf der Produktseite */
.ll-infobox {
	margin: 22px 0;
	padding: 16px 18px;
	list-style: none;
	background-color: var(--ll-papier);
	background-image: var(--ll-rauschen);
	border-left: 3px solid var(--ll-holz);
	border-radius: 0 6px 6px 0;
}

.ll-infobox li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 7px 0;
	font-size: .93em;
	line-height: 1.45;
	color: var(--ll-dunkel);
}

.ll-infobox li + li {
	border-top: 1px dashed var(--ll-linie);
}

.ll-infobox a,
.ll-rechner a,
.ll-warenkorb-hinweis a {
	color: var(--ll-braun);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Zaunrechner */
.ll-rechner,
.ll-produkt-rechner,
.ll-shop-rechner,
.ll-dazu,
.ll-feld {
	min-width: 0;
	max-width: 100%;
}

.ll-rechner {
	margin: 0 0 48px;
	padding: clamp(24px, 4vw, 44px);
	background-color: var(--ll-papier);
	background-image: var(--ll-rauschen);
	border: 1px solid var(--ll-linie);
	border-radius: 8px;
	color: var(--ll-dunkel);
}

.ll-produkt-rechner {
	clear: both;
	padding-top: 32px;
}

.ll-shop-rechner {
	margin-top: 48px;
}

.ll-rechner-kopf {
	text-align: center;
	margin-bottom: 26px;
}

.ll-rechner-titel {
	margin: .25em 0 .35em;
	color: var(--ll-dunkel);
	font-size: clamp(24px, 3vw, 32px);
}

.ll-rechner-kopf p {
	max-width: 560px;
	margin: 0 auto;
	color: #6b5a4b;
}

.ll-rechner-felder {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	max-width: 900px;
	margin: 0 auto 26px;
}

.ll-feld {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ll-braun);
}

.ll-feld input,
.ll-feld select {
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 1px solid #d8c8b3;
	border-radius: 4px;
	background: #fff;
	color: var(--ll-dunkel);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	box-sizing: border-box;
}

.ll-feld select:disabled { opacity: .5; }

.ll-rechner-fehlt {
	grid-column: 1 / -1;
	margin: -4px 0 0;
	color: #9a3412;
	font-size: 15px;
}

.ll-feld input:focus,
.ll-feld select:focus {
	outline: 2px solid var(--ll-holz);
	outline-offset: 1px;
	border-color: var(--ll-holz);
}

.ll-rechner-ergebnis {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	max-width: 900px;
	margin: 0 auto 18px;
}

.ll-rechner-zahl {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 18px 12px;
	background: #fff;
	border-radius: 6px;
	text-align: center;
	box-shadow: 0 10px 24px -20px rgba(59, 42, 30, .6);
}

.ll-rechner-zahl strong {
	color: var(--ll-braun);
	font-size: clamp(28px, 3.4vw, 38px);
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.ll-rechner-zahl span {
	margin-top: 4px;
	font-size: 13px;
	color: #6b5a4b;
}

.ll-rechner-zahl--summe {
	background-color: var(--ll-braun);
	background-image: var(--ll-rauschen);
}

.ll-rechner-zahl--summe strong,
.ll-rechner-zahl--summe span,
.ll-rechner-zahl--summe a {
	color: #fff;
}

.ll-rechner-hinweis {
	max-width: 900px;
	margin: 0 auto 22px;
	font-size: 14px;
	color: #6b5a4b;
	text-align: center;
}

.ll-rechner-aktion {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px;
}

.ll-rechner .button.ll-rechner-knopf {
	padding: 14px 28px;
	font-size: 15px;
	letter-spacing: .06em;
	text-transform: uppercase;
	cursor: pointer;
}

.ll-rechner .button.ll-rechner-knopf:disabled {
	opacity: .5;
	cursor: not-allowed;
}

.ll-rechner .ll-rechner-knopf.ist-laden {
	opacity: .7;
	cursor: progress;
}

.ll-rechner-meldung {
	font-weight: 600;
	color: var(--ll-dunkel);
}

.ll-rechner-meldung a {
	margin-left: 4px;
}

@media (max-width: 900px) {
	.ll-rechner-felder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ll-feld--breit { grid-column: 1 / -1; }
	.ll-rechner-ergebnis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ll-rechner-zahl--summe { grid-column: 1 / -1; }
}

/* Das brauchst du dazu */
.ll-dazu {
	clear: both;
	margin: 40px 0 24px;
	padding-top: 32px;
	border-top: 1px solid var(--ll-linie);
}

.ll-dazu-titel {
	margin: .25em 0 24px;
	color: var(--ll-dunkel);
	font-size: clamp(22px, 3vw, 28px);
}

/* Warenkorb-Hinweise */
.ll-warenkorb-hinweise {
	margin: 0 0 24px;
}

.ll-warenkorb-hinweis {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 10px;
	padding: 14px 18px;
	background-color: var(--ll-papier);
	background-image: var(--ll-rauschen);
	border-left: 3px solid var(--ll-holz);
	border-radius: 0 6px 6px 0;
	color: var(--ll-dunkel);
}

/* Mengen-Knöpfe */
.quantity.ll-menge {
	display: inline-flex;
	align-items: stretch;
}

.quantity.ll-menge input.qty {
	width: 3.2em;
	text-align: center;
	border-radius: 0;
	-moz-appearance: textfield;
}

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

.ll-menge-knopf {
	min-width: 40px;
	padding: 0 10px;
	border: 1px solid #d8c8b3;
	background: var(--ll-papier);
	color: var(--ll-braun);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}

.ll-menge-knopf:first-child { border-radius: 4px 0 0 4px; border-right: 0; }
.ll-menge-knopf:last-child { border-radius: 0 4px 4px 0; border-left: 0; }

.ll-menge-knopf:hover,
.ll-menge-knopf:focus-visible {
	background: var(--ll-braun);
	color: #fff;
}

/* Mitlaufende Kaufleiste (nur Handy) */
.ll-kaufleiste {
	display: none;
}

@media (max-width: 768px) {
	.ll-kaufleiste {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 998;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .97);
		border-top: 1px solid var(--ll-linie);
		box-shadow: 0 -10px 24px -16px rgba(59, 42, 30, .5);
		transform: translateY(110%);
		visibility: hidden;
		transition: transform .35s var(--ll-weich), visibility 0s linear .35s;
	}

	.ll-kaufleiste.ist-sichtbar {
		transform: none;
		visibility: visible;
		transition: transform .35s var(--ll-weich), visibility 0s;
	}

	.ll-kaufleiste-text {
		flex: 1;
		min-width: 0;
		display: flex;
		flex-direction: column;
		line-height: 1.3;
	}

	.ll-kaufleiste-text strong {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		font-size: 14px;
		color: var(--ll-dunkel);
	}

	.ll-kaufleiste-text span {
		font-size: 14px;
		color: var(--ll-braun);
	}

	.ll-kaufleiste-text .woocommerce-price-suffix,
	.ll-kaufleiste-text del { display: none; }

	.ll-kaufleiste .button {
		flex: none;
		padding: 12px 16px;
		font-size: 14px;
		white-space: nowrap;
	}
}

/* ------------------------------------------------------------------
 * 8. Bewegung reduzieren: alles sofort sichtbar, nichts bewegt sich
 * ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	.ll-js .ll-fx-einblenden,
	.ll-js .ll-fx-links,
	.ll-js .ll-fx-rechts,
	.ll-js .ll-fx-zoom,
	.ll-js .ll-fx-nacheinander > *,
	.ll-js .ll-fx-nacheinander > :is(.kt-row-column-wrap, .kb-gallery-ul, .kt-inside-inner-col) > * {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.is-style-ll-langsam-zoom .wp-block-cover__image-background,
	.is-style-ll-langsam-zoom .wp-block-cover__video-background,
	.ll-kopfzeile-mitlaufen.ll-kopf-fest #masthead {
		animation: none !important;
	}

	.ll-parallax .wp-block-cover__image-background { scale: 1 !important; translate: none !important; }
	.ll-shop-nav { transition: none !important; }

	.ll-hover-heben:hover,
	.ll-shop ul.products li.product:hover,
	.wp-block-button.is-style-ll-holzknopf .wp-block-button__link:hover { translate: none !important; }

	.ll-kaufleiste { transition: none !important; }

	.ll-hover-bildzoom:hover img,
	.ll-hover-bildzoom:hover .wp-block-cover__image-background,
	.ll-shop ul.products li.product:hover img,
	.wp-block-image.is-style-ll-holzrahmen:hover img { scale: 1 !important; }
}

/* Platzhalter in Feldern (z. B. Gutscheincode im Warenkorb) in Holzbraun statt Theme-Grün */
body input::placeholder,
body textarea::placeholder { color: #9a8572 !important; opacity: 1; }
