/*
Theme Name: Harfli 2
Theme URI: https://harfli.de
Author: Harfli
Author URI: https://harfli.de
Description: Zweites Design für den Harfli-Shop: ruhige Farben, große Bilder, Mega-Menü mit allen Kategorien, Startseite mit Schriftzug-Vorschau, Vorlagen für WooCommerce. Alle Schriften liegen im Theme-Ordner, es werden keine Google-Dienste geladen.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 2.1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: harfli2
*/

/* ---------- Grundlagen ---------- */
body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
:where(h1, h2, h3) {
	text-wrap: balance;
}
:where(p, li) {
	text-wrap: pretty;
}
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid #2A2927;
	outline-offset: 3px;
}
.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
}
.wp-site-blocks > main,
.wp-site-blocks > .wp-block-group {
	flex: 1 0 auto;
}
.wp-site-blocks > * {
	margin-block-start: 0;
}
.h2-breite {
	box-sizing: border-box;
	width: 100%;
	max-width: 1344px;
	margin-inline: auto;
	padding-inline: clamp(16px, 4vw, 32px);
}
.h2-ueber {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #7A4E35;
}
.h2-knopf,
.h2-knopf--rand {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	box-sizing: border-box;
	padding: 0 26px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.h2-knopf {
	background: #2A2927;
	color: #F7F3EE;
}
.h2-knopf:hover,
.h2-knopf:focus-visible {
	background: #000000;
	color: #F7F3EE;
}
.h2-knopf--rand {
	border: 1px solid #2A2927;
	color: #2A2927;
}
.h2-knopf--rand:hover {
	background: #2A2927;
	color: #F7F3EE;
}
.h2-knopf--hell {
	background: #F7F3EE;
	color: #2A2927;
}
.h2-knopf--hell:hover,
.h2-knopf--hell:focus-visible {
	background: #FFFFFF;
	color: #2A2927;
}
.h2-textlink {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 15px;
	font-weight: 600;
	color: #2A2927;
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 1px;
}

/* Schriftzug-Flächen (Holzlamellen auf dunklem Filz) */
.h2-lamellen {
	background-color: #2E2C2A;
	background-image: repeating-linear-gradient(90deg, #2E2C2A 0 13px, #94704F 13px 15px, #AA8460 15px 34px, #97724F 34px 40px);
}
.h2-schrift-schwung {
	font-family: "Harfli Schwung", var(--wp--preset--font-family--lora), serif;
	font-weight: 400;
	font-synthesis: none;
}
.h2-lamellen .h2-schrift-schwung,
.h2-name__flaeche .harfli-vorschau__name {
	color: #F1EDE4;
	text-shadow: 2px 3px 0 #CFC6B8, 6px 12px 16px rgba(10, 8, 6, 0.55);
}

/* ---------- Leiste oben ---------- */
.h2-topbar {
	margin: 0;
	padding: 10px 16px;
	background: #2A2927;
	color: #ECE5DB;
	font-size: 13px;
	line-height: 1.4;
	letter-spacing: 0.02em;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 28px;
}
@media (max-width: 700px) {
	.h2-topbar span + span {
		display: none;
	}
}

/* ---------- Kopfbereich ---------- */
header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 60;
	margin: 0;
}
@media (max-width: 600px) {
	header.wp-block-template-part {
		top: 0;
	}
}
.h2-kopfbereich {
	position: relative;
	background: #F7F3EE;
	border-bottom: 1px solid #E2D9CC;
	margin: 0 !important;
}
.h2-kopf {
	box-sizing: border-box;
	max-width: 1344px;
	margin: 0 auto !important;
	padding: 0 clamp(16px, 4vw, 32px);
	display: flex;
	align-items: center;
	gap: 36px;
	min-height: 76px;
}
.h2-kopf > * {
	margin: 0 !important;
}
.h2-kopf__logo {
	flex: 0 0 auto;
	display: flex;
}
.h2-kopf__logo a {
	display: flex;
	align-items: center;
	min-height: 44px;
}
.h2-kopf__logo img {
	display: block;
	width: 104px;
	height: auto;
}
.h2-kopf__aktionen {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 2px;
	margin-left: auto !important;
}
.h2-kopf__aktionen > * {
	margin: 0 !important;
}
.h2-kopf .wp-block-search__button {
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	color: #2A2927;
	border: 0;
	border-radius: 999px;
}
.h2-kopf .wp-block-search__button:hover {
	background: #ECE5DB;
	color: #2A2927;
}
.h2-kopf .wp-block-search__button svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}
.h2-kopf .wp-block-search__input {
	border: 1px solid #857A6E;
	border-radius: 999px;
	padding: 9px 16px;
	font: inherit;
	font-size: 15px;
	background: #FFFFFF;
}
.h2-kopf .wp-block-woocommerce-customer-account a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	color: #2A2927;
	border-radius: 999px;
}
.h2-kopf .wc-block-mini-cart__button {
	min-width: 44px;
	min-height: 44px;
	padding: 0 6px;
	color: #2A2927;
	border-radius: 999px;
}

/* Hauptmenü */
.h2-nav {
	flex: 1 1 auto;
	min-width: 0;
}
.h2-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.h2-nav__liste {
	display: flex;
	flex-wrap: wrap;
	gap: 0 26px;
}
.h2-nav__knopf {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 76px;
	padding: 0;
	border: 0;
	border-bottom: 3px solid transparent;
	background: none;
	color: #2A2927;
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
}
.h2-nav__pfeil {
	width: 12px;
	height: 12px;
	transition: transform 0.2s ease;
}
.h2-nav__knopf[aria-expanded="true"] {
	border-bottom-color: #2A2927;
}
.h2-nav__knopf[aria-expanded="true"] .h2-nav__pfeil {
	transform: rotate(180deg);
}
.h2-nav__oeffnen {
	display: none;
}
.h2-mega {
	display: none;
}
.h2-mega__haupt {
	min-width: 0;
}
.h2-mega__titel {
	margin: 0 0 22px;
	font-family: var(--wp--preset--font-family--lora);
	font-size: 30px;
	line-height: 1.15;
}
.h2-mega__titel a {
	color: #2A2927;
	text-decoration: none;
}
.h2-mega__alle {
	display: none;
}
.h2-mega__titel a:hover {
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-thickness: 1px;
}
.h2-mega__spalten {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 28px 32px;
}
.h2-mega__kopf {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #5A534C;
}
.h2-mega__spalte li a {
	display: block;
	padding: 6px 0;
	color: #2A2927;
	text-decoration: none;
	font-size: 15px;
}
.h2-mega__spalte li a:hover {
	color: #7A4E35;
	text-decoration: underline;
	text-underline-offset: 4px;
}
.h2-mega__karte {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: #2A2927;
	text-decoration: none;
}
.h2-mega__karte img,
.h2-mega__karte .h2-flaeche {
	display: flex;
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 14px;
	margin-bottom: 10px;
}
.h2-mega__karte strong {
	font-size: 16px;
	font-weight: 600;
}
.h2-mega__karte span:last-child {
	font-size: 14px;
	color: #5A534C;
}
.h2-mega__karte:hover strong {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Kleine gezeichnete Bilder (Menükarten, Kacheln) */
.h2-flaeche {
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-sizing: border-box;
}
.h2-flaeche--hell {
	background: #E9E1D5;
}
.h2-flaeche .h2-schrift-schwung {
	font-size: 54px;
	line-height: 1.2;
}
.h2-topper {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.h2-topper .h2-schrift-schwung {
	color: #2A2927;
	font-size: 58px;
	line-height: 1.15;
}
.h2-topper__staebe {
	display: block;
	width: 70px;
	height: 56px;
	border-inline: 5px solid #2A2927;
	margin-top: -6px;
}
.h2-topper__staebe::after {
	content: "";
	display: block;
}
.h2-bogen {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 170px;
	border-radius: 60px 60px 8px 8px;
	background: #2F2B27;
}
.h2-bogen svg {
	width: 52px;
	height: 52px;
}
.h2-tafel {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 180px;
	padding: 20px 22px;
	border-radius: 10px;
	background: #2F2B27;
	color: #EFE7DC;
	font-size: 12px;
	letter-spacing: 0.06em;
	box-shadow: 0 12px 24px rgba(40, 30, 20, 0.22);
}
.h2-tafel__titel {
	font-family: var(--wp--preset--font-family--lora);
	font-style: italic;
	font-size: 22px;
	letter-spacing: 0;
	padding-bottom: 6px;
	border-bottom: 1px solid #8A7F72;
}

/* Desktop: Mega-Menü unter dem Kopf */
@media (min-width: 1100px) {
	.h2-nav__punkt {
		position: static;
	}
	.h2-mega {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: #FBF8F4;
		border-top: 1px solid #E2D9CC;
		box-shadow: 0 24px 40px rgba(30, 24, 18, 0.18);
	}
	.h2-nav__knopf[aria-expanded="true"] + .h2-mega {
		display: block;
	}
	.h2-mega__innen {
		box-sizing: border-box;
		max-width: 1344px;
		margin: 0 auto;
		padding: 40px clamp(16px, 4vw, 32px) 44px;
		display: grid;
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 56px;
	}
}

/* Handy und Tablet: Klappmenü */
@media (max-width: 1099px) {
	.h2-kopf {
		gap: 12px;
		min-height: 64px;
	}
	.h2-kopf__logo img {
		width: 88px;
	}
	.h2-nav {
		order: 3;
		flex: 0 0 auto;
	}
	.h2-nav__oeffnen {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		min-height: 44px;
		padding: 0 12px;
		border: 1px solid #CFC6B8;
		border-radius: 999px;
		background: transparent;
		color: #2A2927;
		font: inherit;
		font-size: 14px;
		font-weight: 600;
		cursor: pointer;
	}
	.h2-nav__striche,
	.h2-nav__striche::before,
	.h2-nav__striche::after {
		display: block;
		width: 16px;
		height: 1.5px;
		background: currentColor;
		position: relative;
	}
	.h2-nav__striche::before,
	.h2-nav__striche::after {
		content: "";
		position: absolute;
		left: 0;
	}
	.h2-nav__striche::before {
		top: -5px;
	}
	.h2-nav__striche::after {
		top: 5px;
	}
	.h2-nav__oeffnen[aria-expanded="true"] .h2-nav__striche {
		background: transparent;
	}
	.h2-nav__oeffnen[aria-expanded="true"] .h2-nav__striche::before {
		top: 0;
		transform: rotate(45deg);
	}
	.h2-nav__oeffnen[aria-expanded="true"] .h2-nav__striche::after {
		top: 0;
		transform: rotate(-45deg);
	}
	.h2-nav .h2-nav__liste {
		display: none;
		flex-wrap: nowrap;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		max-height: calc(100vh - 140px);
		overflow-y: auto;
		box-sizing: border-box;
		padding: 8px clamp(16px, 4vw, 32px) 28px;
		background: #FBF8F4;
		border-top: 1px solid #E2D9CC;
		box-shadow: 0 24px 40px rgba(30, 24, 18, 0.18);
		flex-direction: column;
		gap: 0;
	}
	.h2-nav .h2-nav__oeffnen[aria-expanded="true"] + .h2-nav__liste {
		display: flex;
	}
	.h2-nav__punkt {
		border-bottom: 1px solid #E2D9CC;
	}
	.h2-nav__knopf {
		width: 100%;
		justify-content: space-between;
		min-height: 58px;
		border-bottom: 0;
		font-family: var(--wp--preset--font-family--lora);
		font-size: 22px;
		font-weight: 400;
	}
	.h2-nav__knopf[aria-expanded="true"] + .h2-mega {
		display: block;
		padding: 0 0 20px;
	}
	.h2-mega__titel-text {
		display: none;
	}
	.h2-mega__alle {
		display: inline;
		text-decoration: underline;
		text-underline-offset: 4px;
	}
	.h2-mega__titel {
		font-family: inherit;
		font-size: 15px;
		font-weight: 600;
		margin-bottom: 14px;
	}
	.h2-mega__spalten {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		gap: 18px 24px;
	}
	.h2-mega__karte {
		display: none;
	}
}

/* ---------- Bühne (Startseite) ---------- */
.h2-buehne {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: clamp(32px, 4vw, 56px);
	padding-block: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 48px);
}
.h2-buehne__text {
	display: flex;
	flex-direction: column;
	gap: 22px;
	align-items: flex-start;
}
.h2-buehne h1 {
	margin: 0;
	font-size: clamp(44px, 5.4vw, 72px);
	line-height: 1.04;
}
.h2-buehne h1 em {
	font-style: italic;
}
.h2-buehne__unterzeile {
	margin: 0;
	max-width: 470px;
	font-size: 18px;
	line-height: 1.6;
	color: #5A534C;
}
.h2-buehne__knoepfe {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 4px;
}
.h2-buehne__preis {
	margin: 0;
	font-size: 14px;
	color: #5A534C;
}
.h2-buehne__bild {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(300px, 36vw, 500px);
	border-radius: 20px;
	overflow: hidden;
	text-decoration: none;
}
.h2-buehne__bild .h2-schrift-schwung {
	font-size: clamp(64px, 9vw, 124px);
	line-height: 1.3;
}
.h2-buehne__marke {
	position: absolute;
	left: 18px;
	bottom: 18px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(247, 243, 238, 0.94);
	color: #2A2927;
	font-size: 13px;
	font-weight: 500;
}
@media (max-width: 860px) {
	.h2-buehne {
		grid-template-columns: minmax(0, 1fr);
	}
	.h2-buehne__bild {
		order: -1;
	}
}

/* ---------- Vorteile ---------- */
.h2-vorteile {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	padding-block: 8px clamp(48px, 6vw, 80px);
}
.h2-vorteil {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px;
	border-radius: 14px;
	background: #ECE5DB;
}
.h2-vorteil strong {
	font-size: 16px;
	font-weight: 600;
}
.h2-vorteil span {
	font-size: 14px;
	line-height: 1.55;
	color: #4A443E;
}
@media (max-width: 1000px) {
	.h2-vorteile {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 520px) {
	.h2-vorteile {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- Abschnitte ---------- */
.h2-abschnitt {
	padding-block: clamp(48px, 6vw, 88px);
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.h2-abschnitt__kopf {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 12px 24px;
}
.h2-abschnitt__kopf > div {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.h2-abschnitt h2 {
	margin: 0;
}

/* Kacheln (Welten) */
.h2-welten {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 20px;
}
.h2-welt {
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: #2A2927;
	text-decoration: none;
}
.h2-welt__bild {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 6 / 5;
	border-radius: 16px;
	overflow: hidden;
}
.h2-welt__bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.h2-welt:hover .h2-welt__bild img {
	transform: scale(1.035);
}
.h2-welt__zeile {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}
.h2-welt__zeile strong {
	font-size: 18px;
	font-weight: 600;
}
.h2-welt__zeile span {
	font-size: 14px;
	color: #5A534C;
	text-align: right;
}
.h2-welt:hover strong {
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-thickness: 1px;
}
.h2-welt .h2-schrift-schwung {
	font-size: clamp(30px, 2.8vw, 40px);
	line-height: 1.3;
	text-align: center;
	padding: 0 18px;
}
.h2-welt .h2-topper .h2-schrift-schwung {
	font-size: clamp(38px, 4vw, 56px);
}
.h2-welt .h2-tafel {
	width: 220px;
	font-size: 13px;
}
.h2-welt .h2-bogen {
	width: 140px;
	height: 200px;
	border-radius: 70px 70px 8px 8px;
}
.h2-welt .h2-flaeche--sand {
	background: #E4DACB;
}
.h2-welt .h2-flaeche--stein {
	background: #DCD3C6;
}
.h2-welt svg.h2-boegen {
	width: 62%;
	height: auto;
}
@media (max-width: 1000px) {
	.h2-welten {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 560px) {
	.h2-welten {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- Namensvorschau (dunkler Abschnitt) ---------- */
.h2-dunkel {
	background: #2A2927;
	color: #F7F3EE;
	margin: 0 !important;
}
.h2-dunkel h2 {
	color: #F7F3EE;
}
.h2-name {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: clamp(32px, 4vw, 56px);
	padding-block: clamp(56px, 7vw, 88px);
}
.h2-name__text {
	display: flex;
	flex-direction: column;
	gap: 18px;
	align-items: flex-start;
}
.h2-name__text > p {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: #D9D0C4;
}
.h2-name__feld {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	max-width: 400px;
}
.h2-name__feld label,
.h2-name legend {
	font-size: 13px;
	color: #CFC6B8;
	padding: 0;
}
.h2-name__feld input {
	height: 54px;
	box-sizing: border-box;
	padding: 0 18px;
	border: 1px solid #6A625A;
	border-radius: 12px;
	background: #36322E;
	color: #F7F3EE;
	font: inherit;
	font-size: 18px;
}
.h2-name fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}
.h2-name legend {
	margin-bottom: 8px;
}
.h2-name__schriften {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.h2-name__schriften button {
	min-height: 46px;
	padding: 0 18px;
	border: 1px solid #8A7F72;
	border-radius: 999px;
	background: transparent;
	color: #F7F3EE;
	font-size: 19px;
	cursor: pointer;
}
.h2-name__schriften button[aria-pressed="true"] {
	background: #F7F3EE;
	border-color: #F7F3EE;
	color: #2A2927;
}
.h2-name__flaeche {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(260px, 28vw, 380px);
	padding: 24px;
	box-sizing: border-box;
	border-radius: 18px;
	overflow: hidden;
}
.h2-name__flaeche .harfli-vorschau__name {
	font-size: min(120px, 16vw);
	line-height: 1.3;
	white-space: nowrap;
	padding: 0 0.08em;
}
.h2-name__hinweis {
	margin: 0;
	font-size: 13px;
	color: #CFC6B8;
}
@media (max-width: 860px) {
	.h2-name {
		grid-template-columns: minmax(0, 1fr);
	}
	.h2-name__flaeche {
		order: -1;
	}
}
.harfli-schrift--modern,
.harfli-schrift--rund,
.harfli-schrift--schwung,
.harfli-schrift--elegant {
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0;
	font-synthesis: none;
}
.harfli-schrift--modern {
	font-family: "Harfli Modern", var(--wp--preset--font-family--poppins), sans-serif;
}
.harfli-schrift--rund {
	font-family: "Harfli Rund", var(--wp--preset--font-family--poppins), sans-serif;
}
.harfli-schrift--schwung {
	font-family: "Harfli Schwung", var(--wp--preset--font-family--lora), serif;
}
.harfli-schrift--elegant {
	font-family: "Harfli Elegant", var(--wp--preset--font-family--lora), serif;
}

/* ---------- So geht's ---------- */
.h2-leinen {
	background: #ECE5DB;
	margin: 0 !important;
}
.h2-schritte {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}
.h2-schritt {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.h2-schritt__zahl {
	font-family: var(--wp--preset--font-family--lora);
	font-size: 40px;
	line-height: 1;
	color: #7A4E35;
}
.h2-schritt strong {
	font-size: 18px;
	font-weight: 600;
}
.h2-schritt span:last-child {
	font-size: 15px;
	line-height: 1.6;
	color: #4A443E;
}
@media (max-width: 760px) {
	.h2-schritte {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}

/* ---------- Produktlisten (Startseite, Kategorien, ähnliche Artikel) ---------- */
.wc-block-components-product-image {
	margin: 0 0 12px !important;
	overflow: hidden;
	border-radius: 14px;
	background: #E9E3DA;
}
.wc-block-components-product-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.wc-block-product:hover .wc-block-components-product-image img {
	transform: scale(1.035);
}
.wc-block-product .wp-block-post-title {
	margin: 0 0 4px !important;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 16px !important;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0;
}
.wc-block-product .wp-block-post-title a {
	color: #2A2927;
	text-decoration: none;
}
.wc-block-product:hover .wp-block-post-title a {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.wc-block-product .wc-block-components-product-price {
	font-size: 15px;
}
.wc-block-product .wp-block-woocommerce-product-price {
	margin-bottom: 4px !important;
}
.wc-block-product .wc-gzd-additional-info {
	display: inline;
	margin: 0 !important;
	font-size: 12px !important;
	line-height: 1.5;
	color: #5A534C;
}
.wc-block-product .wc-gzd-additional-info.tax-info::after {
	content: " · ";
}
.wc-block-product .wc-gzd-additional-info.delivery-time-info {
	display: block;
}
.wc-block-product-template {
	row-gap: 36px !important;
}
.wp-block-query-pagination {
	margin-top: 48px !important;
}

/* ---------- Kategorieseite ---------- */
.h2-katalog-kopf {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-block: 24px 8px;
}
.h2-katalog-kopf > * {
	margin: 0 !important;
}
.h2-katalog-kopf h1 {
	font-size: clamp(40px, 4.6vw, 60px);
}
.h2-katalog-kopf .wp-block-term-description {
	max-width: 680px;
	font-size: 17px;
	line-height: 1.65;
	color: #4A443E;
}
.h2-katalog-kopf .wp-block-term-description p {
	margin: 0 0 10px;
}
.h2-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}
.h2-chip {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid #CFC6B8;
	border-radius: 999px;
	color: #2A2927;
	font-size: 14px;
	text-decoration: none;
}
.h2-chip:hover {
	border-color: #2A2927;
}
.h2-chip.is-aktiv {
	background: #2A2927;
	border-color: #2A2927;
	color: #F7F3EE;
}
.h2-leiste {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px 24px;
	margin: 24px 0 28px !important;
	padding: 12px 0;
	border-block: 1px solid #E2D9CC;
}
.h2-leiste > * {
	margin: 0 !important;
}
.h2-leiste .woocommerce-result-count {
	font-size: 14px;
	color: #5A534C;
}
.h2-leiste select.orderby {
	min-height: 42px;
	padding: 0 36px 0 14px;
	border: 1px solid #CFC6B8;
	border-radius: 999px;
	background-color: #FBF8F4;
	font: inherit;
	font-size: 14px;
}

/* ---------- Produktseite ---------- */
.h2-produkt {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(32px, 4vw, 56px);
	align-items: start;
	margin-top: 18px !important;
}
.h2-produkt > * {
	margin: 0 !important;
	min-width: 0;
}
.h2-produkt__info {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
@media (min-width: 901px) {
	.h2-produkt > :first-child {
		position: sticky;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 100px);
	}
}
.h2-produkt__info > * {
	margin: 0 !important;
}
.h2-produkt .wp-block-woocommerce-product-image-gallery,
.h2-produkt .woocommerce-product-gallery,
.h2-produkt .wp-block-woocommerce-product-image-gallery .images {
	max-width: none !important;
	width: 100% !important;
	float: none !important;
}
.h2-produkt__info h1 {
	font-size: clamp(32px, 3.2vw, 44px);
	line-height: 1.1;
}
.h2-produkt__info .wp-block-woocommerce-product-price {
	font-size: 24px;
	font-weight: 600;
}
.h2-produkt__info .wp-block-post-excerpt {
	font-size: 16px;
	line-height: 1.65;
	color: #4A443E;
}
.h2-produkt__info .wp-block-post-excerpt p {
	margin: 0;
}
@media (max-width: 900px) {
	.h2-produkt {
		grid-template-columns: minmax(0, 1fr);
	}
}
.woocommerce-product-gallery,
.wc-block-components-product-image-gallery,
.wp-block-woocommerce-product-image-gallery {
	border-radius: 18px;
	overflow: hidden;
}
.woocommerce-product-gallery__image img {
	border-radius: 18px;
}
.flex-control-thumbs {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin-top: 10px !important;
}
.flex-control-thumbs li {
	width: auto !important;
	margin: 0 !important;
}
.flex-control-thumbs img {
	border-radius: 10px;
}
.h2-preisangaben {
	display: flex;
	flex-wrap: wrap;
	row-gap: 2px;
	font-size: 14px;
	line-height: 1.5;
	color: #5A534C;
	margin-top: -6px !important;
}
.h2-preisangaben > * {
	display: flex;
	margin: 0 !important;
}
.h2-preisangaben .wp-block-woocommerce-gzd-product-tax-info + .wp-block-woocommerce-gzd-product-shipping-costs-info::before {
	content: "·";
	margin: 0 8px;
}
.h2-preisangaben > .harfli-versandkosten {
	display: block;
	margin: 0 0 0 5px !important;
}
.h2-preisangaben .wp-block-woocommerce-gzd-product-delivery-time {
	flex-basis: 100%;
	color: #4A443E;
}
.h2-preisangaben a,
.wc-gzd-additional-info a {
	color: inherit;
}
.h2-produkt__info .wp-block-woocommerce-product-meta {
	font-size: 13px;
	color: #5A534C;
	padding-top: 14px;
	border-top: 1px solid #E2D9CC;
}
.h2-produkt__info .wp-block-woocommerce-product-meta a {
	color: inherit;
}
/* Warenkorb-Knopf */
.single_add_to_cart_button,
.wp-block-woocommerce-add-to-cart-form .button {
	min-height: 56px;
	padding: 0 32px !important;
	border-radius: 999px !important;
	background: #2A2927 !important;
	color: #F7F3EE !important;
	font-size: 16px !important;
	font-weight: 600 !important;
}
.single_add_to_cart_button:hover {
	background: #000000 !important;
}
.woocommerce .quantity .qty {
	height: 56px;
	min-width: 64px;
	padding: 0 8px;
	border: 1px solid #CFC6B8;
	border-radius: 999px;
	font: inherit;
	background: #FFFFFF;
	text-align: center;
}
.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}
.woocommerce div.product form.cart .variations {
	width: 100%;
}
.woocommerce div.product form.cart .variations select {
	min-height: 48px;
	border: 1px solid #CFC6B8;
	border-radius: 12px;
	padding: 0 12px;
	font: inherit;
	background: #FFFFFF;
}
/* Beschreibung und Details */
.h2-details {
	margin-top: clamp(48px, 6vw, 80px) !important;
	padding-top: 40px;
	border-top: 1px solid #E2D9CC;
}
.h2-details .wc-tabs,
.h2-details .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0 0 24px !important;
	padding: 0 !important;
	border: 0 !important;
}
.h2-details .woocommerce-tabs ul.tabs li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}
.h2-details .woocommerce-tabs ul.tabs li::before,
.h2-details .woocommerce-tabs ul.tabs li::after {
	display: none !important;
}
.h2-details .woocommerce-tabs ul.tabs li a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 18px !important;
	border: 1px solid #CFC6B8;
	border-radius: 999px;
	color: #2A2927;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}
.h2-details .woocommerce-tabs ul.tabs li.active a {
	background: #2A2927;
	border-color: #2A2927;
	color: #F7F3EE;
}
.h2-details .woocommerce-Tabs-panel {
	max-width: 760px;
	font-size: 16px;
	line-height: 1.7;
	color: #3F3A35;
}
.h2-details .woocommerce-Tabs-panel h2 {
	font-size: 26px;
	margin-top: 0;
}
.h2-aehnlich {
	margin-top: clamp(56px, 7vw, 96px) !important;
}
.h2-aehnlich > h2 {
	margin-bottom: 24px;
}

/* ---------- Konfigurator (Plugin harfli-konfigurator) im neuen Design ---------- */
.harfli2 .harfli-konf__buehne {
	border-radius: 16px;
	background-image: repeating-linear-gradient(90deg, #2E2C2A 0 13px, #94704F 13px 15px, #AA8460 15px 34px, #97724F 34px 40px);
}
.harfli2 .harfli-konf__buehne.harfli-fest__buehne,
.harfli2 .harfli-konf__buehne.harfli-wb__buehne {
	background-image: none;
	overflow: hidden;
}
.harfli2 .harfli-konf input[type="text"],
.harfli2 .harfli-konf input[type="email"],
.harfli2 .harfli-konf input[type="number"],
.harfli2 .harfli-konf input[type="url"],
.harfli2 .harfli-konf input[type="date"],
.harfli2 .harfli-konf input[type="time"],
.harfli2 .harfli-konf select,
.harfli2 .harfli-konf textarea {
	border-color: #CFC6B8;
	border-radius: 12px;
}
.harfli2 .harfli-konf__option {
	border-color: #CFC6B8;
	border-radius: 12px;
}
.harfli2 .harfli-konf__option.is-gewaehlt {
	border-color: #2A2927;
}
.harfli2 .harfli-farben__knopf {
	border-color: #CFC6B8;
	border-radius: 999px;
}
.harfli2 .harfli-farben__feld {
	border-radius: 12px;
}
.harfli2 .harfli-farben__muster {
	border-radius: 50%;
}
.harfli2 .harfli-konf__preis {
	border-radius: 16px;
	padding: 18px 20px;
}
.harfli2 .harfli-konf__teile {
	border-radius: 0 12px 12px 0;
}
.harfli2 .harfli-anfrage input[type="file"] {
	border-color: #CFC6B8;
	border-radius: 12px;
}
.harfli2 .harfli-anfrage__senden {
	border-radius: 999px;
}

/* ---------- Fußbereich ---------- */
.h2-fuss {
	background: #2A2927;
	color: #D9D0C4;
	margin: 0 !important;
	font-size: 15px;
}
.h2-fuss a {
	color: #D9D0C4;
	text-decoration: none;
}
.h2-fuss a:hover {
	color: #F7F3EE;
	text-decoration: underline;
	text-underline-offset: 4px;
}
.h2-fuss__oben {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-block: 64px 40px;
}
.h2-fuss__marke {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-start;
}
.h2-fuss__marke img {
	width: 104px;
	height: auto;
	display: block;
}
.h2-fuss__marke p {
	margin: 0;
	line-height: 1.6;
	color: #B5ADA2;
	max-width: 320px;
}
.h2-fuss__titel {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 600;
	color: #F7F3EE;
}
.h2-fuss ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.h2-fuss__recht {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 32px;
	padding-block: 20px;
	border-top: 1px solid #45413C;
}
.h2-fuss__recht > * {
	margin: 0 !important;
}
.h2-fuss__unten {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 18px 28px;
	border-top: 1px solid #45413C;
	font-size: 13px;
	color: #A39A8E;
}
.h2-fuss__unten a {
	color: #A39A8E;
}
@media (max-width: 900px) {
	.h2-fuss__oben {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.h2-fuss__marke {
		grid-column: 1 / -1;
	}
}
/* Widerrufsbutton (§ 356a BGB) */
.h2-fuss .eu-owb-order-withdraw-from-contract-button {
	margin: 0 !important;
	text-align: left !important;
}
.h2-fuss .eu-owb-order-withdraw-from-contract-button .wp-element-button {
	display: inline-block;
	padding: 10px 18px;
	border: 1px solid #8A7F72;
	border-radius: 999px;
	background: transparent;
	color: #F7F3EE;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}
.h2-fuss .eu-owb-order-withdraw-from-contract-button .wp-element-button:hover {
	background: #F7F3EE;
	color: #2A2927;
}
/* EU-Hinweis zur gesetzlichen Gewährleistung: klein, Klick vergrößert */
.h2-fuss .wc-gzd-legal-guarantee {
	margin: 0 !important;
}
.h2-fuss .wc-gzd-legal-guarantee-image-preview {
	display: block;
	width: 110px;
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}
.woocommerce-checkout .h2-fuss .wc-gzd-legal-guarantee {
	display: none;
}

/* ---------- Sonstiges ---------- */
.woocommerce-breadcrumb,
.wc-block-breadcrumbs {
	font-size: 13px;
	color: #5A534C;
}
.woocommerce-breadcrumb a,
.wc-block-breadcrumbs a {
	color: #5A534C;
	text-decoration: none;
}
.woocommerce-breadcrumb a:hover,
.wc-block-breadcrumbs a:hover {
	text-decoration: underline;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: 12px;
}
.h2-seite {
	padding-block: clamp(40px, 5vw, 64px) clamp(64px, 8vw, 104px);
}

/* ---------- 2.1.0: Logo-Muster (Startseite, Menü) ---------- */
.h2-logo-muster {
	font-family: var(--wp--preset--font-family--poppins);
	font-weight: 700;
	font-size: clamp(24px, 2.4vw, 34px);
	letter-spacing: -0.01em;
	color: #2E2D2B;
	text-align: center;
	padding: 0 18px;
}
.h2-mega__karte .h2-logo-muster {
	font-size: 22px;
}

/* ---------- 2.1.1: Reiter auf der Produktseite – Text mittig, gut lesbar ---------- */
.woocommerce div.product .h2-details .woocommerce-tabs ul.tabs li a,
.h2-details .woocommerce-tabs ul.tabs li a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 44px;
	min-height: 44px;
	padding: 0 20px !important;
	line-height: 1 !important;
	white-space: nowrap;
}
.woocommerce div.product .h2-details .woocommerce-tabs ul.tabs li.active a,
.h2-details .woocommerce-tabs ul.tabs li.active a {
	background: #2A2927 !important;
	border-color: #2A2927 !important;
	color: #F7F3EE !important;
}
.woocommerce div.product .h2-details .woocommerce-tabs ul.tabs::before {
	display: none !important;
}
