/*
Theme Name: Goldwabe
Theme URI: https://example.com/goldwabe
Author: Imkerei
Description: Schlichtes, modernes WordPress-Theme fuer Imkereien und Honigverkauf. Mit Waben-Startseite, Zeitstrahl fuer die Honig-Geschichte, Honigsorten-Verwaltung, Kontaktformular und dezenten Animationen. Alle Schriften werden lokal ausgeliefert (DSGVO-freundlich, keine Google-Fonts-Verbindung).
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: goldwabe
Tags: blog, e-commerce, custom-menu, custom-logo, featured-images, translation-ready, block-styles, wide-blocks, right-sidebar, two-columns
*/

/* =========================================================
   1. Schriften (lokal, kein externer Aufruf)
   ========================================================= */

@font-face {
	font-family: "Fraunces";
	src: url("assets/fonts/fraunces-variable.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-stretch: 100%;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Karla";
	src: url("assets/fonts/karla-variable.woff2") format("woff2-variations");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Karla";
	src: url("assets/fonts/karla-variable-italic.woff2") format("woff2-variations");
	font-weight: 200 800;
	font-style: italic;
	font-display: swap;
}

/* =========================================================
   2. Tokens
   ========================================================= */

:root {
	/* Farben */
	--gw-wachs: #fffcf4;
	--gw-wabe: #f7efdd;
	--gw-wabe-tief: #efe1c6;
	--gw-gold: #f0a81c;
	--gw-gold-tief: #b87708;
	--gw-propolis: #2b1d0e;
	--gw-propolis-weich: #55402b;
	--gw-phacelia: #3f5c74;
	--gw-linde: #8d9f63;
	--gw-linie: rgba(43, 29, 14, 0.14);

	/* Schrift */
	--gw-display: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
	--gw-text: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	/* Masse */
	--gw-breite: 1180px;
	--gw-schmal: 720px;
	--gw-rand: clamp(1.25rem, 5vw, 4rem);
	--gw-sektion: clamp(4.5rem, 9vw, 8.5rem);
	--gw-radius: 4px;

	/* Schatten */
	--gw-schatten: 0 18px 50px -28px rgba(43, 29, 14, 0.45);
	--gw-schatten-tief: 0 30px 70px -35px rgba(43, 29, 14, 0.6);
}

/* =========================================================
   3. Basis
   ========================================================= */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background-color: var(--gw-wachs);
	color: var(--gw-propolis);
	font-family: var(--gw-text);
	font-size: clamp(1rem, 0.97rem + 0.18vw, 1.09rem);
	line-height: 1.65;
	font-variant-numeric: oldstyle-nums;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--gw-gold-tief);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	transition: color 0.25s ease;
}

a:hover,
a:focus {
	color: var(--gw-phacelia);
}

:focus-visible {
	outline: 2px solid var(--gw-phacelia);
	outline-offset: 3px;
	border-radius: 2px;
}

h1,
h2,
h3,
h4 {
	font-family: var(--gw-display);
	font-variation-settings: "SOFT" 28, "WONK" 1, "opsz" 100;
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.6rem, 1.7rem + 4.2vw, 5rem);
}

h2 {
	font-size: clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
}

h3 {
	font-size: clamp(1.35rem, 1.2rem + 0.8vw, 1.8rem);
	font-variation-settings: "SOFT" 24, "WONK" 0, "opsz" 30;
}

h4 {
	font-size: 1.15rem;
	font-variation-settings: "SOFT" 24, "WONK" 0, "opsz" 20;
}

p {
	margin: 0 0 1.2em;
}

blockquote {
	margin: 2.5rem 0;
	padding: 0 0 0 1.6rem;
	border-left: 3px solid var(--gw-gold);
	font-family: var(--gw-display);
	font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 40;
	font-size: 1.4rem;
	line-height: 1.35;
	font-style: italic;
	color: var(--gw-propolis-weich);
}

hr {
	border: 0;
	border-top: 1px solid var(--gw-linie);
	margin: 3rem 0;
}

code,
pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.9em;
	background: var(--gw-wabe);
	border-radius: var(--gw-radius);
}

code {
	padding: 0.15em 0.4em;
}

pre {
	padding: 1.2rem;
	overflow-x: auto;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5rem;
}

th,
td {
	padding: 0.7rem 0.6rem;
	border-bottom: 1px solid var(--gw-linie);
	text-align: left;
}

/* =========================================================
   4. Hilfsklassen
   ========================================================= */

.gw-huelle {
	width: 100%;
	max-width: var(--gw-breite);
	margin-inline: auto;
	padding-inline: var(--gw-rand);
}

.gw-huelle--schmal {
	max-width: var(--gw-schmal);
}

.gw-sektion {
	padding-block: var(--gw-sektion);
	position: relative;
}

.gw-sektion--knapp {
	padding-block: calc(var(--gw-sektion) * 0.6);
}

.gw-marke {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--gw-text);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gw-phacelia);
	margin: 0 0 1.2rem;
}

.gw-marke::before {
	content: "";
	width: 26px;
	height: 1px;
	background: var(--gw-gold);
}

.gw-vorspann {
	font-size: 1.2rem;
	line-height: 1.6;
	color: var(--gw-propolis-weich);
	max-width: 56ch;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.gw-sprung {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--gw-propolis);
	color: var(--gw-wachs);
	padding: 0.8rem 1.2rem;
	z-index: 999;
}

.gw-sprung:focus {
	left: 1rem;
	top: 1rem;
}

/* =========================================================
   5. Buttons
   ========================================================= */

.gw-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.95rem 1.7rem;
	background: var(--gw-gold);
	color: var(--gw-propolis);
	font-family: var(--gw-text);
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	border: 1px solid var(--gw-gold);
	border-radius: 100px;
	cursor: pointer;
	transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1), background-color 0.25s ease, box-shadow 0.25s ease;
}

.gw-btn:hover,
.gw-btn:focus {
	background: var(--gw-propolis);
	border-color: var(--gw-propolis);
	color: var(--gw-wachs);
	transform: translateY(-2px);
	box-shadow: var(--gw-schatten);
}

.gw-btn--geist {
	background: transparent;
	border-color: currentColor;
	color: var(--gw-propolis);
}

.gw-btn--geist:hover,
.gw-btn--geist:focus {
	background: var(--gw-propolis);
	color: var(--gw-wachs);
}

.gw-dunkel .gw-btn--geist {
	color: var(--gw-wachs);
}

.gw-dunkel .gw-btn--geist:hover,
.gw-dunkel .gw-btn--geist:focus {
	background: var(--gw-wachs);
	color: var(--gw-propolis);
	border-color: var(--gw-wachs);
}

.gw-btn__pfeil {
	transition: transform 0.25s ease;
}

.gw-btn:hover .gw-btn__pfeil {
	transform: translateX(4px);
}

/* =========================================================
   6. Kopfzeile
   ========================================================= */

.gw-kopf {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 252, 244, 0.86);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.gw-kopf.ist-geklebt {
	border-bottom-color: var(--gw-linie);
	box-shadow: 0 10px 30px -26px rgba(43, 29, 14, 0.8);
}

.gw-kopf__innen {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 84px;
	transition: min-height 0.3s ease;
}

.gw-kopf.ist-geklebt .gw-kopf__innen {
	min-height: 68px;
}

.gw-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: var(--gw-propolis);
}

.gw-logo img {
	max-height: 52px;
	width: auto;
}

.gw-logo__zeichen {
	width: auto;
	height: 46px;
	flex: none;
	color: var(--gw-gold);
	transition: height 0.3s ease;
}

.ist-geklebt .gw-logo__zeichen {
	height: 38px;
}

.gw-logo__name {
	font-family: var(--gw-display);
	font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 40;
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1;
}

.gw-logo__zusatz {
	display: block;
	font-family: var(--gw-text);
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gw-phacelia);
	margin-top: 0.3rem;
}

.gw-nav ul {
	display: flex;
	align-items: center;
	gap: 1.9rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.gw-nav li {
	position: relative;
}

.gw-nav a {
	position: relative;
	display: block;
	padding: 0.35rem 0;
	font-size: 0.94rem;
	font-weight: 500;
	color: var(--gw-propolis);
	text-decoration: none;
}

.gw-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: var(--gw-gold);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.gw-nav a:hover::after,
.gw-nav a:focus::after,
.gw-nav .current-menu-item > a::after,
.gw-nav .current_page_item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

/* Untermenues */
.gw-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -1rem;
	min-width: 220px;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	padding: 0.6rem 0;
	background: var(--gw-wachs);
	border: 1px solid var(--gw-linie);
	border-radius: var(--gw-radius);
	box-shadow: var(--gw-schatten);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.gw-nav li:hover > .sub-menu,
.gw-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.gw-nav .sub-menu a {
	padding: 0.5rem 1rem;
}

.gw-nav .sub-menu a::after {
	display: none;
}

.gw-nav .sub-menu a:hover {
	background: var(--gw-wabe);
}

.gw-kopf__aktion {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.gw-burger {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: 1px solid var(--gw-linie);
	border-radius: 50%;
	cursor: pointer;
	position: relative;
}

.gw-burger span {
	position: absolute;
	left: 12px;
	width: 18px;
	height: 1.5px;
	background: var(--gw-propolis);
	transition: transform 0.3s ease, opacity 0.2s ease;
}

.gw-burger span:nth-child(1) {
	top: 17px;
}

.gw-burger span:nth-child(2) {
	top: 22px;
}

.gw-burger span:nth-child(3) {
	top: 27px;
}

.gw-burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(5px) rotate(45deg);
}

.gw-burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.gw-burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 900px) {
	.gw-burger {
		display: block;
	}

	.gw-kopf__aktion .gw-btn {
		display: none;
	}

	.gw-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--gw-wachs);
		border-bottom: 1px solid var(--gw-linie);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
	}

	.gw-nav.ist-offen {
		max-height: calc(100vh - 90px);
		overflow-y: auto;
	}

	.gw-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 1rem var(--gw-rand) 2rem;
	}

	.gw-nav li {
		border-bottom: 1px solid var(--gw-linie);
	}

	.gw-nav a {
		padding: 1rem 0;
		font-size: 1.1rem;
	}

	.gw-nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		padding: 0 0 0.5rem 1rem;
		background: transparent;
	}
}

/* =========================================================
   7. Held (Hero) mit Wabe
   ========================================================= */

.gw-held {
	position: relative;
	padding-block: clamp(3.5rem, 7vw, 7rem) clamp(5rem, 9vw, 9rem);
	overflow: hidden;
}

.gw-held__raster {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
	gap: clamp(2.5rem, 5vw, 5rem);
	align-items: center;
}

.gw-held__titel {
	margin-bottom: 1.4rem;
}

.gw-held__titel em {
	font-style: italic;
	font-variation-settings: "SOFT" 60, "WONK" 1, "opsz" 120;
	color: var(--gw-gold-tief);
}

.gw-held__aktionen {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin-top: 2.2rem;
}

.gw-held__fakten {
	display: flex;
	flex-wrap: wrap;
	gap: 2.2rem;
	margin-top: 3.2rem;
	padding-top: 1.8rem;
	border-top: 1px solid var(--gw-linie);
}

.gw-fakt__wert {
	display: block;
	font-family: var(--gw-display);
	font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 60;
	font-size: 2.1rem;
	font-weight: 600;
	line-height: 1;
	color: var(--gw-gold-tief);
	font-variant-numeric: lining-nums;
}

.gw-fakt__label {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gw-propolis-weich);
}

/* Waben-Bildcluster */
.gw-wabencluster {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.9rem;
	max-width: 460px;
	margin-inline: auto;
}

.gw-zelle {
	position: relative;
	aspect-ratio: 1 / 1.1547;
	clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
	background: var(--gw-wabe);
	overflow: hidden;
}

.gw-zelle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.gw-zelle:hover img {
	transform: scale(1.06);
}

.gw-zelle--gross {
	grid-row: span 2;
	align-self: center;
}

.gw-zelle--versetzt {
	transform: translateY(-14%);
}

.gw-zelle--leer {
	display: grid;
	place-items: center;
	background: linear-gradient(150deg, var(--gw-gold) 0%, #f8cf6b 100%);
	color: var(--gw-propolis);
	text-align: center;
	padding: 1rem;
}

.gw-zelle--leer span {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.75;
}

/* Ein großes Foto statt der Wabe */
.gw-heldbild {
	position: relative;
	margin: 0;
	max-width: 520px;
	margin-inline: auto;
}

.gw-heldbild::before {
	content: "";
	position: absolute;
	inset: 22px -22px -22px 22px;
	border: 1px solid var(--gw-gold);
	border-radius: var(--gw-radius);
	z-index: 0;
}

.gw-heldbild img,
.gw-heldbild__leer {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--gw-radius);
	box-shadow: var(--gw-schatten-tief);
}

.gw-heldbild__leer {
	display: grid;
	place-items: center;
	padding: 2rem;
	text-align: center;
	background: linear-gradient(150deg, var(--gw-gold) 0%, #f8cf6b 100%);
	color: var(--gw-propolis);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.6;
	box-shadow: none;
}

.gw-heldbild figcaption {
	position: relative;
	z-index: 1;
	margin-top: 1.6rem;
	padding-left: 2.6rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gw-phacelia);
}

.gw-heldbild figcaption::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 26px;
	height: 1px;
	background: var(--gw-gold);
}

/* Sechseckiger Zuschnitt */
.gw-heldbild--wabe::before {
	display: none;
}

.gw-heldbild--wabe img,
.gw-heldbild--wabe .gw-heldbild__leer {
	aspect-ratio: 1 / 1.1547;
	border-radius: 0;
	box-shadow: none;
	clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.gw-heldbild--wabe figcaption {
	text-align: center;
	padding-left: 0;
}

.gw-heldbild--wabe figcaption::before {
	display: none;
}

/* Fliegende Biene */
.gw-biene {
	position: absolute;
	width: 42px;
	height: 42px;
	top: 12%;
	left: -6%;
	z-index: 3;
	pointer-events: none;
	offset-path: path("M0,0 C120,-60 240,80 380,10 C520,-60 640,60 780,-10");
	animation: gw-flug 22s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.gw-biene__fluegel {
	transform-origin: 50% 60%;
	animation: gw-fluegel 0.16s ease-in-out infinite alternate;
}

@keyframes gw-flug {
	0% {
		offset-distance: 0%;
		opacity: 0;
	}
	6% {
		opacity: 1;
	}
	94% {
		opacity: 1;
	}
	100% {
		offset-distance: 100%;
		opacity: 0;
	}
}

@keyframes gw-fluegel {
	from {
		transform: rotate(-14deg) scaleY(1);
	}
	to {
		transform: rotate(14deg) scaleY(0.8);
	}
}

/* Wabenmuster im Hintergrund */
.gw-muster {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: url("assets/img/wabenmuster.svg");
	background-size: 92px;
	opacity: 0.5;
	z-index: 0;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 78% 40%, #000 0%, transparent 70%);
	mask-image: radial-gradient(ellipse 70% 60% at 78% 40%, #000 0%, transparent 70%);
}

.gw-held > .gw-huelle {
	position: relative;
	z-index: 1;
}

@media (max-width: 860px) {
	.gw-held__raster {
		grid-template-columns: 1fr;
	}

	.gw-wabencluster,
	.gw-heldbild {
		order: -1;
		max-width: 330px;
	}

	.gw-heldbild::before {
		inset: 14px -14px -14px 14px;
	}

	.gw-held__fakten {
		gap: 1.6rem;
	}
}

/* =========================================================
   8. Honigtropfen-Trenner
   ========================================================= */

.gw-tropfen {
	display: block;
	width: 100%;
	height: clamp(30px, 5vw, 58px);
	color: var(--gw-wachs);
	background: var(--gw-propolis);
	margin-block: -1px;
}

/* Farbe = Fläche darüber, Hintergrund = Fläche darunter. */
.gw-tropfen--wabe-zu-dunkel {
	color: var(--gw-wabe);
	background: var(--gw-propolis);
}

.gw-tropfen--dunkel-zu-wachs {
	color: var(--gw-propolis);
	background: var(--gw-wachs);
}

.gw-tropfen--dunkel-zu-wabe {
	color: var(--gw-propolis);
	background: var(--gw-wabe);
}

.gw-tropfen--wachs-zu-dunkel {
	color: var(--gw-wachs);
	background: var(--gw-propolis);
}

.gw-tropfen--wabe-zu-wachs {
	color: var(--gw-wabe);
	background: var(--gw-wachs);
}

/* =========================================================
   9. Flaechen
   ========================================================= */

.gw-flaeche--wabe {
	background: var(--gw-wabe);
}

.gw-dunkel {
	background: var(--gw-propolis);
	color: var(--gw-wabe);
}

.gw-dunkel h1,
.gw-dunkel h2,
.gw-dunkel h3,
.gw-dunkel h4 {
	color: var(--gw-wachs);
}

.gw-dunkel .gw-marke {
	color: var(--gw-gold);
}

.gw-dunkel .gw-vorspann {
	color: rgba(247, 239, 221, 0.78);
}

.gw-dunkel a {
	color: var(--gw-gold);
}

/* =========================================================
   10. Zeitstrahl (Geschichte)
   ========================================================= */

.gw-zeitstrahl {
	position: relative;
	margin-top: 3.5rem;
	padding-left: 2.6rem;
}

.gw-zeitstrahl::before {
	content: "";
	position: absolute;
	left: 7px;
	top: 6px;
	bottom: 6px;
	width: 2px;
	background: linear-gradient(to bottom, var(--gw-gold), rgba(240, 168, 28, 0.15));
	transform-origin: top;
	transform: scaleY(var(--gw-fortschritt, 0));
	transition: transform 0.2s linear;
}

.gw-etappe {
	position: relative;
	padding-bottom: 3rem;
}

.gw-etappe:last-child {
	padding-bottom: 0;
}

.gw-etappe::before {
	content: "";
	position: absolute;
	left: -2.6rem;
	top: 0.55rem;
	width: 16px;
	height: 16px;
	background: var(--gw-wachs);
	border: 2px solid var(--gw-gold);
	clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
	border-radius: 1px;
}

.gw-flaeche--wabe .gw-etappe::before {
	background: var(--gw-wabe);
}

.gw-etappe__jahr {
	display: inline-block;
	font-family: var(--gw-text);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #e2dcd3;
	margin-bottom: 0.5rem;
	font-variant-numeric: lining-nums;
}

/* Auf hellen Flächen bleibt die Jahreszahl lesbar */
.gw-flaeche--wabe .gw-etappe__jahr,
.gw-flaeche--wachs .gw-etappe__jahr {
	color: var(--gw-phacelia);
}

.gw-etappe__titel {
	margin-bottom: 0.5rem;
}

.gw-etappe p {
	color: var(--gw-propolis-weich);
	max-width: 60ch;
	margin-bottom: 0;
}

.gw-dunkel .gw-etappe p {
	color: rgba(247, 239, 221, 0.75);
}

.gw-dunkel .gw-etappe::before {
	background: var(--gw-propolis);
}

/* =========================================================
   11. Honigsorten
   ========================================================= */

.gw-sorten {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: clamp(1.5rem, 3vw, 2.4rem);
	margin-top: 3.5rem;
}

.gw-sorte {
	display: flex;
	flex-direction: column;
	background: var(--gw-wachs);
	border: 1px solid var(--gw-linie);
	border-radius: var(--gw-radius);
	overflow: hidden;
	transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.gw-sorte:hover {
	transform: translateY(-6px);
	box-shadow: var(--gw-schatten);
	border-color: var(--gw-gold);
}

.gw-sorte__bild {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--gw-wabe);
	overflow: hidden;
}

.gw-sorte__bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.gw-sorte:hover .gw-sorte__bild img {
	transform: scale(1.05);
}

.gw-sorte__tracht {
	position: absolute;
	left: 0.9rem;
	top: 0.9rem;
	padding: 0.3rem 0.8rem;
	background: var(--gw-wachs);
	border-radius: 100px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gw-phacelia);
}

.gw-sorte__inhalt {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.5rem 1.5rem 1.7rem;
}

.gw-sorte__titel {
	font-size: 1.4rem;
	margin-bottom: 0.6rem;
}

.gw-sorte__titel a {
	color: inherit;
	text-decoration: none;
}

.gw-sorte__text {
	color: var(--gw-propolis-weich);
	font-size: 0.97rem;
	margin-bottom: 1.2rem;
}

.gw-sorte__fuss {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--gw-linie);
}

.gw-sorte__preis {
	font-family: var(--gw-display);
	font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 30;
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--gw-gold-tief);
	font-variant-numeric: lining-nums;
}

.gw-sorte__menge {
	font-size: 0.8rem;
	color: var(--gw-propolis-weich);
}

.gw-sorte__mehr {
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: 0.03em;
}

/* Einzelansicht Sorte */
.gw-sortenblatt {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.gw-sortenblatt__bild img {
	width: 100%;
	border-radius: var(--gw-radius);
}

.gw-daten {
	list-style: none;
	margin: 2rem 0;
	padding: 0;
	border-top: 1px solid var(--gw-linie);
}

.gw-daten li {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--gw-linie);
	font-size: 0.95rem;
}

.gw-daten__label {
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 0.76rem;
	color: var(--gw-propolis-weich);
	padding-top: 0.15rem;
}

@media (max-width: 780px) {
	.gw-sortenblatt {
		grid-template-columns: 1fr;
	}
}

/* =========================================================
   12. Bild-Text-Bloecke
   ========================================================= */

.gw-duo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.gw-duo--gedreht .gw-duo__bild {
	order: 2;
}

.gw-duo__bild {
	position: relative;
}

.gw-duo__bild img {
	width: 100%;
	border-radius: var(--gw-radius);
	box-shadow: var(--gw-schatten);
}

.gw-duo__bild--wabe img {
	clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
	aspect-ratio: 1 / 1.1547;
	object-fit: cover;
	border-radius: 0;
	box-shadow: none;
}

.gw-signatur {
	font-family: var(--gw-display);
	font-variation-settings: "SOFT" 70, "WONK" 1, "opsz" 90;
	font-style: italic;
	font-size: 1.7rem;
	color: var(--gw-gold-tief);
	margin-top: 1.8rem;
}

@media (max-width: 820px) {
	.gw-duo {
		grid-template-columns: 1fr;
	}

	.gw-duo--gedreht .gw-duo__bild {
		order: 0;
	}
}

/* Abschluss-Aufruf */
.gw-aufruf {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: clamp(2rem, 4vw, 3.4rem);
	border: 1px solid var(--gw-gold);
	border-radius: var(--gw-radius);
	background:
		url("assets/img/wabenmuster.svg") right -20px top -30px / 88px,
		var(--gw-wachs);
	position: relative;
	overflow: hidden;
}

.gw-aufruf h2 {
	margin-bottom: 0.4rem;
}

.gw-aufruf > div:first-child {
	max-width: 46ch;
}

/* Freier Fließtext ohne zentrierte Spalte */
.gw-inhalt-frei > *:first-child {
	margin-top: 0;
}

.gw-inhalt-frei img {
	border-radius: var(--gw-radius);
}

/* =========================================================
   13. Galerie
   ========================================================= */

.gw-galerie {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin-top: 3rem;
}

.gw-galerie img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--gw-radius);
	transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1), filter 0.5s ease;
}

.gw-galerie img:hover {
	transform: scale(1.03);
	filter: saturate(1.15);
}

/* =========================================================
   13a. Bienenjahr
   ========================================================= */

.gw-jahreszeiten {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: clamp(1.2rem, 2.5vw, 2rem);
	margin-top: 3.5rem;
}

.gw-jahreszeit {
	position: relative;
	padding: 2rem 1.6rem 1.8rem;
	border: 1px solid rgba(247, 239, 221, 0.18);
	border-radius: var(--gw-radius);
	overflow: hidden;
	transition: border-color 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.gw-jahreszeit:hover {
	border-color: var(--gw-gold);
	transform: translateY(-4px);
}

.gw-jahreszeit__zahl {
	position: absolute;
	right: 0.9rem;
	top: 0.4rem;
	font-family: var(--gw-display);
	font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 100;
	font-size: 3.4rem;
	font-weight: 600;
	line-height: 1;
	color: var(--gw-gold);
	opacity: 0.18;
	font-variant-numeric: lining-nums;
}

.gw-jahreszeit__zeit {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gw-gold);
	margin-bottom: 0.7rem;
}

.gw-jahreszeit h3 {
	font-size: 1.4rem;
	margin-bottom: 0.6rem;
}

.gw-jahreszeit p {
	margin-bottom: 0;
	font-size: 0.97rem;
	color: rgba(247, 239, 221, 0.78);
}

/* =========================================================
   13b. Fragen und Antworten
   ========================================================= */

.gw-fragen {
	margin-top: 2.5rem;
	border-top: 1px solid var(--gw-linie);
}

.gw-frage {
	border-bottom: 1px solid var(--gw-linie);
}

.gw-frage summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.3rem 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--gw-display);
	font-variation-settings: "SOFT" 24, "WONK" 0, "opsz" 30;
	font-size: 1.22rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
	transition: color 0.25s ease;
}

.gw-frage summary::-webkit-details-marker {
	display: none;
}

.gw-frage summary:hover {
	color: var(--gw-gold-tief);
}

.gw-frage__zeichen {
	position: relative;
	flex: none;
	width: 26px;
	height: 26px;
	border: 1px solid var(--gw-linie);
	border-radius: 50%;
	transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease;
}

.gw-frage__zeichen::before,
.gw-frage__zeichen::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 11px;
	height: 1.5px;
	background: var(--gw-propolis);
	transform: translate(-50%, -50%);
	transition: opacity 0.25s ease, background-color 0.3s ease;
}

.gw-frage__zeichen::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.gw-frage[open] .gw-frage__zeichen {
	background: var(--gw-gold);
	border-color: var(--gw-gold);
	transform: rotate(180deg);
}

.gw-frage[open] .gw-frage__zeichen::after {
	opacity: 0;
}

.gw-frage__antwort {
	padding-bottom: 1.5rem;
	max-width: 62ch;
	color: var(--gw-propolis-weich);
	animation: gw-aufklappen 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.gw-frage__antwort p:last-child {
	margin-bottom: 0;
}

@keyframes gw-aufklappen {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* =========================================================
   14. Formular
   ========================================================= */

.gw-formular {
	display: grid;
	gap: 1.2rem;
	margin-top: 2.5rem;
}

.gw-feld {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.gw-feld label {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gw-propolis-weich);
}

.gw-feld input,
.gw-feld textarea,
.gw-feld select {
	width: 100%;
	padding: 0.85rem 1rem;
	font-family: inherit;
	font-size: 1rem;
	color: var(--gw-propolis);
	background: var(--gw-wachs);
	border: 1px solid var(--gw-linie);
	border-radius: var(--gw-radius);
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.gw-feld input:focus,
.gw-feld textarea:focus {
	border-color: var(--gw-gold);
	box-shadow: 0 0 0 4px rgba(240, 168, 28, 0.16);
	outline: none;
}

.gw-feld textarea {
	min-height: 170px;
	resize: vertical;
}

.gw-feld--zeile {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.2rem;
}

.gw-einwilligung {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	font-size: 0.88rem;
	color: var(--gw-propolis-weich);
	line-height: 1.5;
}

.gw-einwilligung input {
	width: 18px;
	height: 18px;
	margin-top: 0.2rem;
	flex: none;
	accent-color: var(--gw-gold);
}

.gw-honigfalle {
	position: absolute !important;
	left: -9999px;
}

/* Bot-Prüfung: nur sichtbar, wenn kein JavaScript läuft */
.gw-botpruefung[hidden] {
	display: none;
}

.gw-absenden {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.gw-btn.ist-gesperrt {
	background: var(--gw-wabe-tief);
	border-color: var(--gw-wabe-tief);
	color: var(--gw-propolis-weich);
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.gw-wartehinweis {
	font-size: 0.85rem;
	color: var(--gw-propolis-weich);
}

.gw-formularblock {
	scroll-margin-top: 110px;
}

.gw-hinweis {
	padding: 1.1rem 1.3rem;
	border-radius: var(--gw-radius);
	border-left: 3px solid var(--gw-linde);
	background: rgba(141, 159, 99, 0.12);
	font-size: 0.95rem;
	margin-bottom: 1.5rem;
}

.gw-hinweis--erfolg {
	border-left-color: var(--gw-gold);
	background: rgba(240, 168, 28, 0.14);
}

.gw-hinweis--fehler {
	border-left-color: #b4472f;
	background: rgba(180, 71, 47, 0.1);
}

@media (max-width: 620px) {
	.gw-feld--zeile {
		grid-template-columns: 1fr;
	}
}

/* =========================================================
   15. Kontaktkarten
   ========================================================= */

.gw-karten {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
	margin-top: 2.5rem;
}

.gw-karte {
	padding: 1.6rem;
	background: var(--gw-wachs);
	border: 1px solid var(--gw-linie);
	border-radius: var(--gw-radius);
}

.gw-flaeche--wabe .gw-karte {
	background: var(--gw-wachs);
}

.gw-karte h3 {
	font-size: 1.15rem;
	margin-bottom: 0.5rem;
}

.gw-karte p {
	margin-bottom: 0;
	color: var(--gw-propolis-weich);
	font-size: 0.95rem;
}

/* =========================================================
   16. Beitraege / Archiv
   ========================================================= */

.gw-beitragskopf {
	padding-block: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem);
	background: var(--gw-wabe);
}

.gw-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gw-propolis-weich);
	margin-bottom: 1rem;
}

.gw-beitragsbild {
	margin-block: 0 3rem;
}

.gw-beitragsbild img {
	width: 100%;
	max-height: 560px;
	object-fit: cover;
	border-radius: var(--gw-radius);
}

.gw-inhalt > * {
	max-width: var(--gw-schmal);
	margin-inline: auto;
}

.gw-inhalt > .alignwide {
	max-width: 1080px;
}

.gw-inhalt > .alignfull {
	max-width: none;
	margin-inline: calc(50% - 50vw);
	width: 100vw;
}

.gw-inhalt img {
	border-radius: var(--gw-radius);
}

.gw-inhalt h2,
.gw-inhalt h3 {
	margin-top: 2.2em;
}

.gw-liste {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: clamp(1.8rem, 3vw, 3rem);
}

.gw-eintrag__bild {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: var(--gw-radius);
	background: var(--gw-wabe);
	margin-bottom: 1.2rem;
}

.gw-eintrag__bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.gw-eintrag:hover .gw-eintrag__bild img {
	transform: scale(1.05);
}

.gw-eintrag__titel {
	font-size: 1.5rem;
	margin-bottom: 0.6rem;
}

.gw-eintrag__titel a {
	color: inherit;
	text-decoration: none;
}

.gw-eintrag__titel a:hover {
	color: var(--gw-gold-tief);
}

.gw-blaettern {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 4rem;
}

.gw-blaettern .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding-inline: 0.6rem;
	border: 1px solid var(--gw-linie);
	border-radius: 100px;
	text-decoration: none;
	color: var(--gw-propolis);
	font-size: 0.9rem;
	font-weight: 600;
}

.gw-blaettern .page-numbers.current,
.gw-blaettern .page-numbers:hover {
	background: var(--gw-gold);
	border-color: var(--gw-gold);
	color: var(--gw-propolis);
}

/* Kommentare */
.gw-kommentare {
	margin-top: 4rem;
	padding-top: 3rem;
	border-top: 1px solid var(--gw-linie);
}

.gw-kommentare ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gw-kommentare .children {
	list-style: none;
	margin-left: 1.5rem;
	padding-left: 1.5rem;
	border-left: 1px solid var(--gw-linie);
}

.gw-kommentare .comment-body {
	padding: 1.4rem 0;
	border-bottom: 1px solid var(--gw-linie);
}

.gw-kommentare .comment-author img {
	border-radius: 50%;
	display: inline-block;
	vertical-align: middle;
	margin-right: 0.6rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.8rem 1rem;
	font-family: inherit;
	border: 1px solid var(--gw-linie);
	border-radius: var(--gw-radius);
	background: var(--gw-wachs);
}

.comment-form .submit {
	padding: 0.95rem 1.7rem;
	background: var(--gw-gold);
	border: 0;
	border-radius: 100px;
	font-family: inherit;
	font-weight: 700;
	cursor: pointer;
}

/* =========================================================
   17. Fusszeile
   ========================================================= */

.gw-fuss {
	background: var(--gw-propolis);
	color: rgba(247, 239, 221, 0.78);
	padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem;
}

.gw-fuss__raster {
	display: grid;
	grid-template-columns: 1.4fr repeat(2, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
}

.gw-fuss h3 {
	font-size: 1.05rem;
	font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 20;
	letter-spacing: 0.02em;
	color: var(--gw-wachs);
	margin-bottom: 1.1rem;
}

.gw-fuss a {
	color: rgba(247, 239, 221, 0.78);
	text-decoration: none;
}

.gw-fuss a:hover {
	color: var(--gw-gold);
}

.gw-fuss ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
	font-size: 0.95rem;
}

.gw-fuss__marke .gw-logo__name {
	color: var(--gw-wachs);
}

.gw-fuss__text {
	font-size: 0.95rem;
	max-width: 40ch;
	margin-top: 1.2rem;
}

.gw-fuss__unten {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 3.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(247, 239, 221, 0.16);
	font-size: 0.82rem;
}

@media (max-width: 760px) {
	.gw-fuss__raster {
		grid-template-columns: 1fr;
	}
}

/* =========================================================
   18. Bewegung
   ========================================================= */

.gw-auftauchen {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.8s cubic-bezier(0.2, 0.9, 0.3, 1);
	transition-delay: var(--gw-verzug, 0ms);
}

.gw-auftauchen.ist-sichtbar {
	opacity: 1;
	transform: none;
}

.js-zaehler {
	font-variant-numeric: lining-nums tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.gw-auftauchen {
		opacity: 1;
		transform: none;
	}

	.gw-biene {
		display: none;
	}
}

/* =========================================================
   19. WordPress-Standards
   ========================================================= */

.alignleft {
	float: left;
	margin: 0.4rem 1.6rem 1.2rem 0;
}

.alignright {
	float: right;
	margin: 0.4rem 0 1.2rem 1.6rem;
}

.aligncenter {
	margin-inline: auto;
}

.wp-caption-text,
.wp-block-image figcaption {
	font-size: 0.85rem;
	color: var(--gw-propolis-weich);
	text-align: center;
	margin-top: 0.6rem;
}

.sticky .gw-eintrag__titel::before {
	content: "★ ";
	color: var(--gw-gold);
}

.gw-inhalt ul,
.gw-inhalt ol {
	padding-left: 1.3rem;
}

.gw-inhalt li {
	margin-bottom: 0.4rem;
}

.wp-block-button__link {
	border-radius: 100px;
	font-weight: 700;
}

.admin-bar .gw-kopf {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .gw-kopf {
		top: 46px;
	}
}
