/**
 * Raster, Kopf- und Fußbereich, Inhaltsbereich.
 */

/* ------------------------------------------------------------------ */
/* Container und Abschnitte                                           */
/* ------------------------------------------------------------------ */

.zel-container {
	width: 100%;
	max-width: var(--zel-container);
	margin-inline: auto;
	padding-inline: var(--zel-gutter);
}

.zel-container--wide {
	max-width: calc(var(--zel-wide) + 2 * var(--zel-gutter));
}

.zel-container--narrow {
	max-width: calc(var(--zel-narrow) + 2 * var(--zel-gutter));
}

.zel-section {
	margin-block: var(--zel-section);
}

.zel-main {
	display: block;
	min-height: 40vh;
	padding-bottom: var(--zel-section);
}

.zel-main:focus {
	outline: none;
}

/* ------------------------------------------------------------------ */
/* Hinweisleiste über der Kopfzeile                                   */
/* ------------------------------------------------------------------ */

.zel-notice-bar {
	background: var(--zel-anthrazit);
	color: var(--zel-weiss);
	font-size: var(--zel-fs-small);
	text-align: center;
}

.zel-notice-bar__inner {
	padding: 0.625rem var(--zel-gutter);
}

.zel-notice-bar a {
	color: inherit;
}

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

.zel-site-header {
	position: relative;
	z-index: 50;
	color: var(--zel-weiss);
}

.zel-page-light .zel-site-header {
	color: var(--zel-schwarz);
}

.zel-site-header__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 2rem;
	padding-top: clamp(1.5rem, 3.5vw, 3.125rem);
	padding-bottom: 1rem;
}

.zel-logo {
	position: relative;
	z-index: 60;
	display: block;
	flex: 0 0 auto;
	line-height: 0;
}

.zel-logo img {
	width: auto;
	height: clamp(5.5rem, 11vw, 10rem);
}

.zel-logo__dark {
	display: none;
}

.zel-page-light .zel-logo__light {
	display: none;
}

.zel-page-light .zel-logo__dark {
	display: block;
}

.zel-site-header__right {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.5vw, 3.125rem);
}

/* Hauptmenü (Desktop) */
.zel-nav__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 clamp(1.25rem, 3.5vw, 3.125rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.zel-nav__list > li {
	position: relative;
}

.zel-nav a,
.zel-nav__toggle {
	display: inline-block;
	padding: 0.375rem 0 0.25rem;
	border: 0;
	border-bottom: var(--zel-dot) solid transparent;
	background: none;
	color: inherit;
	font-family: var(--zel-font-display);
	font-size: var(--zel-fs-menu);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}

.zel-nav a:hover,
.zel-nav__toggle:hover,
.zel-nav .current-menu-item > a,
.zel-nav .current-menu-ancestor > a,
.zel-nav .current-menu-ancestor > .zel-nav__toggle,
.zel-nav .current_page_item > a {
	border-bottom-style: dotted;
	border-bottom-color: currentColor;
}

.zel-nav__toggle .zel-icon {
	width: 1rem;
	height: 1rem;
	margin-left: 0.25rem;
	vertical-align: 0.05em;
	transition: transform 0.2s ease;
}

.zel-nav__toggle[aria-expanded="true"] .zel-icon {
	transform: rotate(180deg);
}

/* Untermenü als weißer Kasten mit Spitze (wie im Entwurf „Entdecken“) */
.zel-nav .sub-menu {
	position: absolute;
	top: calc(100% + 1.25rem);
	left: 50%;
	z-index: 70;
	display: none;
	min-width: 13.5rem;
	margin: 0;
	padding: 1.75rem 2rem;
	list-style: none;
	background: #fff;
	box-shadow: var(--zel-shadow);
	text-align: center;
	transform: translateX(-50%);
}

.zel-nav .sub-menu::before {
	content: "";
	position: absolute;
	top: -0.45rem;
	left: calc(50% - 0.5rem);
	width: 1rem;
	height: 1rem;
	background: #fff;
	transform: rotate(45deg);
}

.zel-nav .is-open > .sub-menu {
	display: block;
}

.zel-nav .sub-menu a {
	color: var(--zel-schwarz);
	font-size: 1.25rem;
	letter-spacing: 0.04em;
}

.zel-nav .sub-menu li + li {
	margin-top: 0.25rem;
}

/* Symbole Konto / Warenkorb */
.zel-header-icons {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zel-header-icons a,
.zel-header-icons button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.zel-header-icons .zel-icon {
	width: 1.625rem;
	height: 1.625rem;
}

.zel-cart-count {
	position: absolute;
	top: 0.125rem;
	right: -0.125rem;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.3rem;
	border-radius: 0.625rem;
	background: var(--zel-schwarz);
	color: var(--zel-weiss);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.25rem;
	text-align: center;
}

.zel-cart-count[data-count="0"] {
	display: none;
}

.zel-page-light .zel-cart-count {
	background: var(--zel-braun);
}

/* Burger (mobil) */
.zel-menu-button {
	display: none;
	position: relative;
	z-index: 60;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.zel-menu-button .zel-icon {
	width: 2rem;
	height: 2rem;
}

.zel-menu-button .zel-icon--schliessen {
	display: none;
}

@media (max-width: 991.98px) {
	.zel-menu-button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.zel-nav {
		position: fixed;
		inset: 0;
		z-index: 55;
		display: none;
		overflow-y: auto;
		padding: calc(clamp(5.5rem, 11vw, 10rem) + 3rem) var(--zel-gutter) 3rem;
		background: rgba(0, 0, 0, 0.94);
		color: var(--zel-weiss);
	}

	.zel-menu-open .zel-nav {
		display: block;
	}

	.zel-menu-open .zel-site-header {
		color: var(--zel-weiss);
	}

	.zel-menu-open .zel-logo__light {
		display: block;
	}

	.zel-menu-open .zel-logo__dark {
		display: none;
	}

	.zel-menu-open .zel-menu-button .zel-icon--menue {
		display: none;
	}

	.zel-menu-open .zel-menu-button .zel-icon--schliessen {
		display: inline;
	}

	.zel-menu-open {
		overflow: hidden;
	}

	.zel-nav__list {
		flex-direction: column;
		align-items: center;
		gap: 0.75rem;
	}

	.zel-nav a,
	.zel-nav__toggle {
		font-size: clamp(1.875rem, 7vw, 2.75rem);
	}

	.zel-nav .sub-menu {
		position: static;
		min-width: 0;
		margin-top: 0.5rem;
		padding: 1.25rem 1.5rem;
		transform: none;
	}

	.zel-nav .sub-menu::before {
		display: none;
	}

	.zel-nav .sub-menu a {
		font-size: 1.375rem;
	}
}

/* ------------------------------------------------------------------ */
/* Seitenkopf normaler Seiten                                         */
/* ------------------------------------------------------------------ */

.zel-page-head {
	padding-top: clamp(1rem, 4vw, 3rem);
	padding-bottom: clamp(1.5rem, 4vw, 3.5rem);
}

.zel-page-head__title {
	margin-bottom: 1rem;
}

.zel-breadcrumbs {
	margin-bottom: 1.5rem;
	color: #6b6b6b;
	font-family: var(--zel-font-display);
	font-size: 1.375rem;
	font-weight: 500;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.zel-breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.zel-breadcrumbs a:hover {
	text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* Inhalt aus dem Editor                                              */
/* ------------------------------------------------------------------ */

.zel-content > * {
	max-width: var(--zel-narrow);
	margin-left: auto;
	margin-right: auto;
}

.zel-content > .alignwide {
	max-width: var(--zel-wide);
}

.zel-content > .alignfull,
.zel-content > [class*="wp-block-zelenka-"] {
	max-width: none;
}

.zel-content > p,
.zel-content > ul,
.zel-content > ol {
	font-size: 1.0625rem;
	line-height: 1.75;
}

.zel-content > h2,
.zel-content > h3 {
	margin-top: 3rem;
}

.zel-content .wp-block-image img {
	height: auto;
}

/* ------------------------------------------------------------------ */
/* Fußbereich                                                         */
/* ------------------------------------------------------------------ */

.zel-site-footer {
	background: var(--zel-anthrazit);
	color: var(--zel-weiss);
	font-size: var(--zel-fs-small);
	line-height: 1.55;
}

.zel-site-footer a {
	color: var(--zel-weiss);
	text-decoration: none;
}

.zel-site-footer a:hover {
	text-decoration: underline;
}

.zel-site-footer__inner {
	display: grid;
	grid-template-columns: auto 1.6fr 1fr 1fr auto;
	gap: 2rem clamp(1.5rem, 4vw, 4rem);
	align-items: start;
	padding-top: clamp(2.5rem, 5vw, 3.75rem);
	padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.zel-site-footer__logo img {
	width: 7.5rem;
	height: auto;
}

.zel-site-footer__title {
	margin: 0 0 0.75rem;
	color: var(--zel-weiss);
	font-size: 1.375rem;
	letter-spacing: 0.02em;
}

.zel-site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.zel-site-footer address {
	font-style: normal;
}

.zel-site-footer__social {
	display: flex;
	align-items: center;
	gap: 1rem;
	align-self: end;
}

.zel-site-footer__social a {
	display: inline-flex;
	width: 2.75rem;
	height: 2.75rem;
	align-items: center;
	justify-content: center;
}

.zel-site-footer__social .zel-icon {
	width: 2.25rem;
	height: 2.25rem;
}

.zel-site-footer__bio img {
	width: 2.5rem;
	height: 2.5rem;
}

.zel-site-footer__legal {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	align-items: center;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 254, 0.25);
}

/* Widerrufsbutton: hervorgehoben, wie vom Gesetz verlangt */
.zel-withdraw-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	border: 2px solid var(--zel-weiss);
	font-weight: 700;
}

@media (max-width: 991.98px) {
	.zel-site-footer__inner {
		grid-template-columns: 1fr 1fr;
	}

	.zel-site-footer__logo {
		grid-column: 1 / -1;
	}
}

@media (max-width: 575.98px) {
	.zel-site-footer__inner {
		grid-template-columns: 1fr;
	}
}

/* Klickflächen im Fußbereich mindestens 24 px hoch (WCAG 2.5.8) */
.zel-site-footer address a,
.zel-site-footer li a {
	display: inline-block;
	min-height: 1.5rem;
	padding-block: 0.1875rem;
}
