/* Eberstädter Honig – ergänzende Stile zu theme.json */

:root {
	--eh-creme: var(--wp--preset--color--creme, #FBF6E6);
	--eh-honig: var(--wp--preset--color--honig, #F6C31C);
	--eh-nacht: var(--wp--preset--color--nacht, #1B1712);
	--eh-keiler: var(--wp--preset--color--keiler, #5B3A22);
	--eh-text: var(--wp--preset--color--text-warm, #3A2E22);
	--eh-wabe: var(--wp--preset--color--wabe, #EADBA8);
	--eh-sand: var(--wp--preset--color--sand, #E8DFC8);
	--eh-linie: #CDB98A;
}

/* ---------- Allgemein ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.wp-element-button:focus-visible {
	outline: 3px solid var(--eh-honig);
	outline-offset: 2px;
}

.wp-element-button,
.wp-block-button__link {
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
	transform: translate(-1px, -1px);
	box-shadow: 5px 5px 0 var(--eh-nacht);
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: #fff;
	color: var(--eh-nacht);
	border: 2px solid var(--eh-nacht);
	box-shadow: none;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	box-shadow: 3px 3px 0 var(--eh-nacht);
}

/* ---------- Schwarmzeit-Banner ---------- */

.eh-schwarm-banner {
	background: var(--eh-nacht);
	color: var(--eh-creme);
	text-align: center;
	padding: 10px 24px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}

.eh-schwarm-banner a {
	color: var(--eh-honig);
	font-weight: 800;
	text-decoration: none;
	margin-left: 8px;
	white-space: nowrap;
}

/* ---------- Kopfzeile ---------- */

.eh-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(251, 246, 230, 0.94);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--eh-wabe);
}

body.admin-bar .eh-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .eh-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	body.admin-bar .eh-header {
		top: 0;
	}
}

.eh-kopf {
	padding-top: 10px;
	padding-bottom: 10px;
	gap: 12px 32px;
}

.eh-marke {
	gap: 12px;
}

.eh-marke .wp-block-image,
.eh-marke figure {
	margin: 0;
}

.eh-marke img {
	width: 64px;
	height: auto;
	border-radius: 0;
}

.eh-marke .wp-block-site-title,
.eh-marke .eh-marke-name {
	font-family: var(--wp--preset--font-family--fredoka);
	font-weight: 700;
	font-size: 22px;
	line-height: 1.1;
	margin: 0;
}

.eh-marke .eh-marke-name a,
.eh-marke .wp-block-site-title a {
	color: var(--eh-nacht);
	text-decoration: none;
}

.eh-nav .wp-block-navigation-item__content {
	padding: 10px 12px;
	text-decoration: none;
	border-radius: 999px;
}

.eh-nav .wp-block-navigation-item__content:hover {
	background: var(--eh-wabe);
}

.eh-nav .eh-nav-cta > .wp-block-navigation-item__content {
	background: var(--eh-nacht);
	color: var(--eh-creme);
	padding: 10px 18px;
}

.eh-nav .eh-nav-cta > .wp-block-navigation-item__content:hover {
	background: var(--eh-keiler);
}

.wp-block-navigation__responsive-container.is-menu-open .eh-nav-cta > .wp-block-navigation-item__content {
	margin-top: 8px;
}

/* ---------- Abschnitte ---------- */

.eh-section {
	padding-top: var(--wp--preset--spacing--70);
	padding-bottom: var(--wp--preset--spacing--70);
}

.is-style-waben {
	background-image: url(../images/waben.svg);
	background-size: 42px 75px;
}

.is-style-dunkel {
	background-color: var(--eh-nacht);
	color: var(--eh-creme);
}

.is-style-honig {
	background-color: var(--eh-honig);
	color: var(--eh-nacht);
	border-top: 3px solid var(--eh-nacht);
	border-bottom: 3px solid var(--eh-nacht);
}

.is-style-honig.is-style-waben,
.eh-schwarm {
	background-color: var(--eh-honig);
	background-blend-mode: multiply;
}

.eh-sorten {
	background-color: #fff;
	border-top: 3px solid var(--eh-nacht);
	border-bottom: 3px solid var(--eh-nacht);
}

.eh-kicker {
	margin-bottom: 0;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--eh-keiler);
}

.is-style-dunkel .eh-kicker {
	color: var(--eh-honig);
}

.eh-schwarm .eh-kicker,
.is-style-honig .eh-kicker {
	color: var(--eh-nacht);
}

.eh-lead {
	font-size: var(--wp--preset--font-size--large);
	color: var(--eh-text);
}

.is-style-dunkel .eh-lead,
.is-style-dunkel p {
	color: var(--eh-sand);
}

.eh-schwarm .eh-lead {
	color: var(--eh-nacht);
}

.eh-titelblock > * + * {
	margin-top: 16px;
}

/* ---------- Hero ---------- */

.eh-hero {
	padding-top: clamp(48px, 6vw, 72px);
	padding-bottom: clamp(64px, 8vw, 96px);
	overflow: hidden;
}

.eh-hero .wp-block-columns {
	align-items: center;
	gap: clamp(32px, 5vw, 56px);
}

.eh-chips {
	gap: 10px;
}

.eh-chip {
	margin: 0;
	padding: 8px 14px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--eh-wabe);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

.eh-chip::before {
	content: "\2713";
	margin-right: 8px;
	color: #2E7D32;
	font-weight: 800;
}

.eh-chip.eh-chip-gold::before {
	content: "\2605";
	color: #B9770E;
}

.eh-hero-bild {
	position: relative;
	padding: 24px;
}

.eh-hero-bild::before {
	content: "";
	position: absolute;
	inset: 0 8% 6% 0;
	background: var(--eh-honig);
	border-radius: 36px;
	transform: rotate(-4deg);
}

.eh-hero-bild .wp-block-image {
	position: relative;
	margin: 0;
}

.eh-hero-bild .wp-block-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 28px;
	border: 3px solid var(--eh-nacht);
	box-shadow: 8px 8px 0 var(--eh-nacht);
}

.eh-gold-siegel {
	position: absolute;
	left: -4px;
	bottom: -8px;
	width: 132px;
	height: 132px;
	border-radius: 50%;
	background: var(--eh-nacht);
	color: var(--eh-creme);
	border: 3px solid var(--eh-honig);
	transform: rotate(-8deg);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 2px;
	z-index: 2;
}

.eh-gold-siegel > * {
	margin: 0 !important;
}

.eh-gold-siegel .eh-gold {
	font-family: var(--wp--preset--font-family--fredoka);
	font-weight: 700;
	font-size: 30px;
	line-height: 1;
	color: var(--eh-honig);
}

.eh-gold-siegel .eh-gold-text {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
	padding: 0 12px;
}

/* ---------- Karten ---------- */

.is-style-karte,
.is-style-karte-creme {
	position: relative;
	border: 2px solid var(--eh-nacht);
	border-radius: 24px;
	padding: clamp(24px, 3vw, 32px);
}

.is-style-karte {
	background-color: #fff;
}

.is-style-karte-creme {
	background-color: var(--eh-creme);
}

.is-style-karte > :first-child,
.is-style-karte-creme > :first-child {
	margin-top: 0;
}

.eh-wabe-icon {
	margin: 0;
	line-height: 0;
}

.eh-steckbrief {
	border-top: 1px dashed var(--eh-linie);
	padding-top: 18px;
}

.eh-steckbrief p {
	display: grid;
	grid-template-columns: 6.5em minmax(0, 1fr);
	column-gap: 12px;
	margin: 0 0 8px;
	font-size: 16px;
}

.eh-badge {
	position: absolute;
	top: 24px;
	right: 24px;
	margin: 0 !important;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--eh-nacht);
	color: var(--eh-honig);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.3;
}

/* ---------- Bilder ---------- */

.wp-block-image.is-style-rahmen img,
.wp-block-image.is-style-rahmen-schatten img {
	border: 2px solid var(--eh-nacht);
	border-radius: 24px;
}

.wp-block-image.is-style-rahmen-schatten img {
	box-shadow: 8px 8px 0 var(--eh-nacht);
}

.eh-flyer img {
	transform: rotate(1.5deg);
}

.eh-collage {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.eh-collage > * {
	margin: 0 !important;
}

.eh-collage > .wp-block-image:first-child {
	grid-row: span 2;
}

.eh-collage .wp-block-image {
	display: flex;
	flex-direction: column;
}

.eh-collage .wp-block-image img {
	width: 100%;
	height: 100%;
	min-height: 180px;
	object-fit: cover;
}

.eh-collage > .wp-block-image:not(:first-child) img {
	aspect-ratio: 1 / 1;
}

.eh-wiese {
	position: relative;
}

.eh-wiese img {
	width: 100%;
	height: clamp(240px, 32vw, 380px);
	object-fit: cover;
	border-radius: 28px;
}

.eh-wiese figcaption {
	position: absolute;
	left: 20px;
	bottom: 20px;
	margin: 0;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--eh-creme);
	border: 2px solid var(--eh-nacht);
	color: var(--eh-nacht);
	font-weight: 800;
	font-size: 15px;
	max-width: calc(100% - 40px);
}

/* ---------- Listen ---------- */

.is-style-waben-punkte {
	list-style: none;
	padding-left: 0;
}

.is-style-waben-punkte li {
	position: relative;
	padding-left: 48px;
	margin-bottom: 14px;
}

.is-style-waben-punkte li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 30px;
	height: 34px;
	background: var(--eh-honig);
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* ---------- Stockwaage ---------- */

.eh-infoboxen {
	gap: 12px;
}

.eh-infobox {
	flex: 1 1 200px;
	padding: 18px 20px;
	border-radius: 18px;
	border: 1px solid #4A4035;
	background: #241F18;
}

.eh-infobox > * {
	margin: 0 !important;
}

.eh-infobox strong {
	color: var(--eh-honig);
}

.eh-waage iframe {
	display: block;
	width: 100%;
	min-height: 400px;
	border: 0;
	border-radius: 20px;
	background: #fff;
}

.eh-waage .embed-privacy-container {
	border-radius: 20px;
	overflow: hidden;
}

/* ---------- Kontaktformular (Contact Form 7) ---------- */

.wpcf7 form > p,
.wpcf7 form .eh-feld {
	margin: 0 0 16px;
}

.wpcf7 label {
	display: block;
	font-weight: 800;
	font-size: 15px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	min-height: 48px;
	margin-top: 6px;
	padding: 10px 14px;
	border: 2px solid var(--eh-linie);
	border-radius: 12px;
	background: var(--eh-creme);
	color: var(--eh-nacht);
	font: inherit;
	font-size: 16px;
}

.wpcf7 textarea {
	min-height: 140px;
	resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
	border-color: var(--eh-nacht);
	outline: 3px solid var(--eh-honig);
	outline-offset: 0;
}

.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
	min-height: 52px;
	padding: 0 28px;
	border-radius: 999px;
	background: var(--eh-honig);
	color: var(--eh-nacht);
	border: 2px solid var(--eh-nacht);
	box-shadow: 4px 4px 0 var(--eh-nacht);
	font: inherit;
	font-weight: 800;
	font-size: 17px;
	cursor: pointer;
}

.wpcf7 .wpcf7-not-valid-tip {
	font-size: 14px;
	font-weight: 700;
	color: #A8321F;
}

.wpcf7 form .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 16px;
	border-radius: 12px;
}

/* ---------- Schwarm-Hotline ---------- */

.eh-anruf .wp-block-button__link {
	display: block;
	padding: 18px 28px;
	background: var(--eh-nacht);
	color: var(--eh-creme);
	border-color: var(--eh-nacht);
	border-radius: 20px;
	box-shadow: 6px 6px 0 rgba(27, 23, 18, 0.25);
	font-family: var(--wp--preset--font-family--fredoka);
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 700;
	text-align: left;
}

.eh-anruf .wp-block-button__link:hover {
	background: var(--eh-keiler);
	color: var(--eh-creme);
	box-shadow: 7px 7px 0 rgba(27, 23, 18, 0.3);
}

.eh-anruf .wp-block-button {
	width: 100%;
}

/* ---------- Seitenkopf (Unterseiten) ---------- */

.eh-seitenkopf {
	border-bottom: 3px solid var(--eh-nacht);
	padding-top: clamp(48px, 6vw, 72px);
	padding-bottom: clamp(40px, 5vw, 56px);
}

.eh-seitenkopf .wp-block-post-title {
	margin: 0;
}

.eh-inhalt {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--70);
}

.eh-auf-einen-blick {
	background: var(--eh-honig);
	border: 2px solid var(--eh-nacht);
	border-radius: 24px;
	padding: 28px 32px;
}

.eh-auf-einen-blick ul {
	list-style: none;
	padding-left: 0;
	font-weight: 700;
}

.eh-auf-einen-blick li {
	position: relative;
	padding-left: 32px;
	margin-bottom: 8px;
}

.eh-auf-einen-blick li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	font-weight: 800;
}

.eh-rechtstext h2 {
	font-size: 24px;
	margin-top: 32px;
	padding-top: 28px;
	border-top: 1px dashed var(--eh-linie);
}

.eh-rechtstext h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.eh-rechtstext p,
.eh-rechtstext li {
	color: var(--eh-text);
}

/* ---------- Fußzeile ---------- */

.eh-footer {
	background: var(--eh-nacht);
	color: var(--eh-sand);
	padding-top: 64px;
	padding-bottom: 32px;
}

.eh-footer a {
	color: var(--eh-creme);
	text-decoration: none;
	font-weight: 700;
}

.eh-footer a:hover {
	color: var(--eh-honig);
}

.eh-footer .eh-footer-logo img {
	width: 150px;
	height: auto;
	border-radius: 0;
}

.eh-footer-spalten {
	gap: 40px;
}

.eh-footer-links {
	gap: 10px;
}

.eh-footer-links > * {
	margin: 0 !important;
}

.eh-copyright {
	margin-top: 40px !important;
	padding-top: 20px;
	border-top: 1px solid #3A3228;
	font-size: 14px;
	color: #B3A68C;
}

/* ---------- Beiträge (News) ---------- */

.eh-beitrag-liste .wp-block-post {
	padding-bottom: 24px;
	border-bottom: 1px dashed var(--eh-linie);
}

.eh-beitrag-liste .wp-block-post-featured-image img {
	border-radius: 18px;
	border: 2px solid var(--eh-nacht);
}

/* ---------- Mobil ---------- */

@media (max-width: 781px) {
	.eh-hero-bild {
		margin-top: 16px;
	}

	.eh-gold-siegel {
		width: 108px;
		height: 108px;
	}

	.eh-gold-siegel .eh-gold {
		font-size: 24px;
	}

	.eh-gold-siegel .eh-gold-text {
		font-size: 11px;
	}

	.eh-collage > .wp-block-image:first-child img {
		min-height: 300px;
	}
}

/* ---------- Abstände zwischen Hauptbereichen ---------- */

.wp-site-blocks > * + * {
	margin-block-start: 0;
}

.eh-seiteninhalt > .alignfull {
	margin-top: 0;
	margin-bottom: 0;
}

.eh-seiteninhalt.eh-inhalt:has(> .alignfull:first-child) {
	padding-top: 0;
}

.eh-seiteninhalt.eh-inhalt:has(> .alignfull:last-child) {
	padding-bottom: 0;
}
