/*
Theme Name: Won't Walk
Theme URI: https://wont-walk.de
Author: Won't Walk
Description: Block-Theme für wont-walk.de – Merch-Shop und Podcast von Flo & Sebi.
Requires at least: 6.9
Tested up to: 7.1
Requires PHP: 8.1
Version: 0.1.4
License: Proprietär
Text Domain: wontwalk
*/

/* ---------------------------------------------------------------
   Grundwerte, die je nach Breakpoint wechseln
   --------------------------------------------------------------- */
:root {
	--ww-gutter: 40px;
	--ww-section: 104px;
	--ww-ease: cubic-bezier(.2, .7, .2, 1);
	--ww-focus: #E6FF3D;
}

@media (max-width: 760px) {
	:root {
		--ww-gutter: 20px;
		--ww-section: 52px;
	}
}

/* Header, Inhalt und Footer liegen bündig aneinander (kein globaler Blockabstand) */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* ---------------------------------------------------------------
   Fokus: immer sichtbar bei Tastatur
   --------------------------------------------------------------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
.wp-element-button:focus-visible {
	outline: 2px solid var(--ww-focus);
	outline-offset: 3px;
}

/* ---------------------------------------------------------------
   Links und Buttons
   --------------------------------------------------------------- */
a {
	transition: color .2s ease, text-decoration-color .2s ease;
}

.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	box-sizing: border-box;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.wp-element-button svg,
.wp-block-button__link svg {
	transition: transform .3s var(--ww-ease);
}

.wp-element-button:hover svg,
.wp-block-button__link:hover svg {
	transform: translateX(4px);
}

/* Konturbutton: 2 px weiß → Hover weiß gefüllt, Schrift schwarz */
.wp-block-button.is-style-outline > .wp-block-button__link {
	min-height: 48px;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	background-color: var(--wp--preset--color--white);
	border-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--black);
}

/* Textlink (z. B. „Neue Folge hören“, „Alle Produkte“) */
.ww-tlink {
	color: var(--wp--preset--color--white);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.3;
	text-transform: uppercase;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
	transition: color .2s ease, text-decoration-color .2s ease;
}

.ww-tlink:hover {
	color: var(--wp--preset--color--white);
	text-decoration-color: #2BA59A;
}

/* Konturbutton als Link (2 px weiß → Hover weiß gefüllt) */
.ww-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 48px;
	padding: 0 24px;
	border: 2px solid var(--wp--preset--color--white);
	border-radius: 8px;
	color: var(--wp--preset--color--white);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.1;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .25s ease, color .25s ease;
}

.ww-btn-outline:hover {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--black);
}

/* Button als Link außerhalb des Button-Blocks; mobil volle Breite */
@media (max-width: 760px) {
	.ww-btn-block {
		width: 100%;
		font-size: 16px;
	}
}

/* ---------------------------------------------------------------
   Blockstile: Overline, Badge, Statement
   --------------------------------------------------------------- */
.is-style-overline {
	font-size: var(--wp--preset--font-size--overline);
	font-weight: 700;
	letter-spacing: .18em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}

.is-style-badge {
	display: inline-block;
	width: fit-content;
	padding: 5px 10px;
	border-radius: 6px;
	background: var(--wp--preset--color--signal);
	color: var(--wp--preset--color--black);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.2;
	text-transform: uppercase;
}

.is-style-statement {
	font-style: italic;
}

/* ---------------------------------------------------------------
   Gestaltungselemente: Höhenlinien und Filmkörnung
   --------------------------------------------------------------- */
.is-style-contour {
	background-image: url("assets/img/contour-lines.svg");
	background-size: cover;
	background-position: center;
}

.is-style-grain {
	position: relative;
}

.is-style-grain::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
	background-image: url("assets/img/grain.png");
	background-repeat: repeat;
	opacity: .10;
	mix-blend-mode: overlay;
	pointer-events: none;
}

.wp-block-image.is-style-grain {
	overflow: hidden;
	border-radius: 8px;
}

/* ---------------------------------------------------------------
   Layout-Bausteine
   --------------------------------------------------------------- */
.ww-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: 1360px;
	margin-inline: auto;
	padding-inline: var(--ww-gutter);
}

.ww-section {
	padding-block: var(--ww-section);
}

.ww-section h2,
.ww-section h3,
.ww-section p {
	margin: 0;
}

/* ---------------------------------------------------------------
   Produktraster und Produktkarte
   --------------------------------------------------------------- */
.ww-products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 80px 40px;
}

.ww-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ww-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	border-radius: 8px;
	/* Produktfotos (Printful) haben weißen Grund – Rand um das verkleinerte Foto nahtlos */
	background: #fff;
}

/* doppelte Klasse: schlägt „.woocommerce img { height: auto }“.
   Ganzes Foto zeigen (contain) auf 80 % der Fläche, damit nichts angeschnitten wird. */
.ww-card .ww-card__img {
	position: absolute;
	inset: 10%;
	display: block;
	width: 80%;
	height: 80%;
	object-fit: contain;
	transition: transform .7s var(--ww-ease), opacity .45s ease;
}

/* Echte Fotos (kein heller Freisteller-Grund) füllen die Karte */
.ww-card .ww-card__img--fill {
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ww-card .ww-card__img--alt {
	opacity: 0;
}

.ww-card:hover .ww-card__img {
	transform: scale(1.04);
}

.ww-card:hover .ww-card__img--alt {
	opacity: 1;
}

.ww-badge--lg {
	top: 20px;
	left: 20px;
	z-index: 4;
	padding: 6px 12px;
}

.ww-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 5px 10px;
	border-radius: 6px;
	background: var(--wp--preset--color--signal);
	color: var(--wp--preset--color--black);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ww-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ww-card__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	color: var(--wp--preset--color--white);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.ww-card .ww-card__name {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	letter-spacing: 0;
	text-transform: none;
}

.ww-card__name a {
	color: inherit;
	text-decoration: none;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

/* Gestreckter Link: die ganze Karte ist klickbar */
.ww-card__name a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.ww-card:hover .ww-card__name a {
	text-decoration-line: underline;
}

.ww-card:has(.ww-card__name a:focus-visible) {
	outline: 2px solid var(--ww-focus);
	outline-offset: 3px;
	border-radius: 8px;
}

.ww-card__name a:focus-visible {
	outline: none;
}

.ww-card__price {
	white-space: nowrap;
}

.ww-card__price del {
	color: var(--wp--preset--color--text-3);
	font-weight: 300;
}

.ww-card__price ins {
	text-decoration: none;
}

.ww-card .ww-card__meta {
	margin: 0;
	color: var(--wp--preset--color--text-4);
	font-size: 13px;
	line-height: 1.4;
}

.ww-card__meta a {
	position: relative;
	z-index: 2;
	color: inherit;
	text-underline-offset: 3px;
}

.ww-card__meta a:hover {
	color: var(--wp--preset--color--white);
}

/* Kategorie-Navigation */
.ww-cats {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px 28px;
	padding-top: 32px;
	border-top: 1px solid var(--wp--preset--color--line);
}

.ww-cats__link {
	color: var(--wp--preset--color--white);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	transition: color .2s ease;
}

.ww-cats__link:hover {
	color: #2BA59A;
}

.ww-cats__link.is-brand {
	color: var(--wp--preset--color--accent);
	font-style: italic;
}

.ww-cats__link sup {
	margin-left: 4px;
	color: var(--wp--preset--color--text-4);
	font-size: 13px;
	font-style: normal;
}

@media (max-width: 1060px) {
	.ww-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.ww-products {
		gap: 24px 12px;
	}

	.ww-card {
		gap: 10px;
	}

	.ww-card__body {
		gap: 3px;
	}

	.ww-card__row {
		flex-direction: column;
		gap: 3px;
		font-size: 15px;
	}

	.ww-card__price {
		font-weight: 300;
	}

	.ww-badge {
		top: 8px;
		left: 8px;
		padding: 4px 8px;
		font-size: 11px;
	}

	.ww-card .ww-card__meta {
		font-size: 11px;
	}

	.ww-card__cat,
	.ww-card__long {
		display: none;
	}

	.ww-cats {
		gap: 6px 18px;
		padding-top: 20px;
	}

	.ww-cats__link {
		font-size: 22px;
		line-height: 1.3;
	}

	.ww-cats__link sup {
		margin-left: 3px;
		font-size: 11px;
	}
}

/* ---------------------------------------------------------------
   WooCommerce: Variantenauswahl (Add to Cart + Options)
   --------------------------------------------------------------- */
.wp-block-woocommerce-add-to-cart-with-options-variation-selector-attribute-name {
	color: var(--wp--preset--color--text-3);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.wc-block-product-filter-chips__items {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.wc-block-product-filter-chips .wc-block-product-filter-chips__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 56px;
	min-height: 48px;
	margin: 0;
	padding: 0 14px;
	border: 2px solid #3A4A47;
	border-radius: 8px;
	background: transparent;
	color: var(--wp--preset--color--white);
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.1;
	cursor: pointer;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.wc-block-product-filter-chips .wc-block-product-filter-chips__item:hover {
	border-color: var(--wp--preset--color--white);
}

.wc-block-product-filter-chips .wc-block-product-filter-chips__item[aria-checked="true"] {
	border-color: var(--wp--preset--color--white);
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--black);
}

.wc-block-product-filter-chips .wc-block-product-filter-chips__item:disabled {
	opacity: .35;
	cursor: not-allowed;
	text-decoration: line-through;
}

.wc-block-product-filter-chips__fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.wc-block-add-to-cart-with-options .wc-block-components-product-button__button {
	min-height: 56px;
	padding-inline: 30px;
}

@media (max-width: 760px) {
	.wc-block-product-filter-chips .wc-block-product-filter-chips__item {
		min-width: 48px;
		padding: 0 10px;
	}
}

.wc-block-add-to-cart-with-options .wc-block-components-product-button__button.disabled {
	opacity: .5;
	cursor: not-allowed;
}

/* ---------------------------------------------------------------
   Seitenkopf (Archive, Shop, Watch List …)
   --------------------------------------------------------------- */
.ww-pagehead {
	padding: 72px 0 64px;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.ww-pagehead__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}

.ww-pagehead__text {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 760px;
}

.ww-pagehead h1,
.ww-pagehead p {
	margin: 0;
}

.ww-pagehead h1 {
	line-height: .88;
}

.ww-pagehead__lead {
	font-size: 19px;
}

.ww-pagehead__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ww-pagehead__links .ww-btn-outline {
	padding-inline: 20px;
	letter-spacing: 0;
	text-transform: none;
}

@media (max-width: 760px) {
	.ww-pagehead {
		padding: 40px 0 36px;
	}

	.ww-pagehead__inner {
		gap: 24px;
	}

	.ww-pagehead__text {
		gap: 14px;
	}

	.ww-pagehead__lead {
		font-size: 16px;
	}
}

/* Brotkrumen */
.ww-breadcrumbs {
	color: var(--wp--preset--color--text-3);
	font-size: 13px;
}

.ww-breadcrumbs a {
	color: var(--wp--preset--color--text-3);
	text-underline-offset: 3px;
}

.ww-breadcrumbs a:hover {
	color: var(--wp--preset--color--white);
}

.ww-breadcrumbs [aria-current] {
	color: var(--wp--preset--color--white);
}

/* Schlagwort-Rahmen (z. B. Sportart) */
.ww-tag {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 2px 9px;
	border: 1px solid var(--wp--preset--color--accent);
	border-radius: 6px;
	color: var(--wp--preset--color--accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-decoration: none;
	text-transform: uppercase;
}

.ww-tag:hover {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--black);
}

/* Aufklappbare Abschnitte (<details>): Transkript, FAQ, Produktinfos */
.ww-details {
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: 8px;
	background: var(--wp--preset--color--surface-1);
}

.ww-details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
	padding: 0 24px;
	color: var(--wp--preset--color--white);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	list-style: none;
	cursor: pointer;
}

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

.ww-details summary::after {
	content: "+";
	color: var(--wp--preset--color--accent);
	font-size: 22px;
	font-weight: 400;
}

.ww-details[open] summary::after {
	content: "–";
}

.ww-details__body {
	padding: 0 24px 24px;
	font-size: 16px;
	line-height: 1.7;
}

/* Gefilterte Listen (filter-list.js) */
[data-ww-item][hidden] {
	display: none !important;
}

/* Badge im Textfluss */
.ww-badge.ww-badge--inline {
	position: static;
	display: inline-block;
}

/* Filter-Chips und Suchfeld */
.ww-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ww-chip {
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: 8px;
	background: transparent;
	color: var(--wp--preset--color--white);
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.ww-chip:hover {
	border-color: var(--wp--preset--color--white);
}

.ww-chip[aria-pressed="true"] {
	border-color: var(--wp--preset--color--white);
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--black);
}

.ww-search-field {
	position: relative;
	width: 300px;
	max-width: 100%;
}

.ww-search-field svg {
	position: absolute;
	top: 50%;
	left: 14px;
	color: var(--wp--preset--color--text-4);
	transform: translateY(-50%);
	pointer-events: none;
}

.ww-search-field input {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 0 16px 0 42px;
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: 8px;
	background: var(--wp--preset--color--surface-1);
	color: var(--wp--preset--color--white);
	font-family: inherit;
	font-size: 15px;
}

.ww-search-field input::placeholder {
	color: var(--wp--preset--color--text-4);
	opacity: 1;
}

.ww-search-field input:focus {
	border-color: var(--wp--preset--color--white);
}

/* ---------------------------------------------------------------
   WooCommerce: Hinweise und Mini-Cart-Seitenleiste (seitenweit)
   --------------------------------------------------------------- */
/* WooCommerce setzt hier #2F2F2F mit !important – gleich spezifisch überschreiben */
body .wc-block-components-notice-banner > .wc-block-components-notice-banner__content .wc-forward {
	color: var(--wp--preset--color--white) !important;
	opacity: 1 !important;
}

.wc-block-components-notice-banner {
	gap: 12px;
	padding: 14px 16px !important;
	border: 1px solid var(--wp--preset--color--line-strong) !important;
	border-radius: 8px !important;
	background: var(--wp--preset--color--surface-1) !important;
	color: var(--wp--preset--color--white) !important;
	font-size: 15px;
}

.wc-block-components-notice-banner.is-success {
	border-color: var(--wp--preset--color--accent) !important;
	background: rgba(0, 179, 166, .12) !important;
}

.wc-block-components-notice-banner.is-error {
	border-color: #FF8A80 !important;
	background: rgba(255, 138, 128, .1) !important;
}

.wc-block-components-notice-banner > svg {
	border-radius: 50%;
	background: var(--wp--preset--color--accent) !important;
	fill: var(--wp--preset--color--black) !important;
}

.wc-block-components-notice-banner.is-error > svg {
	background: #FF8A80 !important;
}

.wc-block-components-notice-banner a,
.wc-block-components-notice-banner .button,
.wc-block-components-notice-banner .wc-forward,
.wc-block-components-notice-banner .wc-forward.wp-element-button {
	min-height: 0;
	padding: 0 !important;
	border: 0;
	background: transparent !important;
	color: var(--wp--preset--color--white) !important;
	letter-spacing: .04em;
	text-decoration: underline;
	font-weight: 700;
	text-underline-offset: 4px;
	opacity: 1 !important;
}

.wc-block-mini-cart__drawer .components-modal__content,
.wc-block-mini-cart__drawer {
	background: var(--wp--preset--color--black) !important;
	color: var(--wp--preset--color--white);
}

.wc-block-mini-cart__drawer .wc-block-components-drawer__content,
.wc-block-mini-cart__template-part {
	background: var(--wp--preset--color--black);
}

.wc-block-mini-cart__title {
	color: var(--wp--preset--color--white);
	font-size: 22px !important;
	text-transform: uppercase;
}

.wc-block-mini-cart__footer {
	border-top: 1px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--surface-1);
}

.wc-block-mini-cart__drawer .wc-block-components-product-name {
	color: var(--wp--preset--color--white) !important;
	font-weight: 700;
	text-decoration: none;
}

.wc-block-components-drawer__close {
	color: var(--wp--preset--color--white) !important;
}

.wc-block-mini-cart__footer-actions .wp-block-button__link:not(.wp-element-button),
.wc-block-mini-cart__footer-actions .wc-block-mini-cart__footer-cart {
	border: 2px solid var(--wp--preset--color--white) !important;
	background: transparent !important;
	color: var(--wp--preset--color--white) !important;
}

/* ---------------------------------------------------------------
   Header
   --------------------------------------------------------------- */
.ww-header {
	position: relative;
	z-index: 50;
	background: var(--wp--preset--color--black);
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.ww-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	box-sizing: border-box;
	max-width: 1360px;
	height: 76px;
	margin: 0 auto;
	padding: 0 var(--ww-gutter);
}

.ww-header__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	/* Tippfläche mind. 44 px, Signet bleibt bündig */
	min-width: 44px;
	min-height: 44px;
	margin-left: -2px;
}

@media (max-width: 760px) {
	.ww-header__logo {
		margin-left: -5px;
	}
}

.ww-header__logo img {
	display: block;
	width: 40px;
	height: 40px;
}

.ww-nav {
	display: flex;
	align-items: center;
	gap: 36px;
}

.ww-nav__link {
	padding: 6px 0;
	color: var(--wp--preset--color--white);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat;
	transition: background-size .35s var(--ww-ease), color .2s ease;
}

.ww-nav__link:hover {
	color: var(--wp--preset--color--white);
	background-size: 100% 2px;
}

.ww-nav__link.is-active {
	color: var(--wp--preset--color--accent);
	background-size: 100% 2px;
}

.ww-header__actions {
	display: flex;
	align-items: center;
	gap: 4px;
}

.ww-icon-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: none;
	color: var(--wp--preset--color--white);
	cursor: pointer;
	transition: background-color .2s ease;
}

.ww-icon-btn:hover {
	color: var(--wp--preset--color--white);
	background: rgba(255, 255, 255, .08);
}

.ww-menu-btn {
	display: none;
}

/* Warenkorb (WooCommerce Mini-Cart) im Stil der Icon-Buttons */
.ww-header .wc-block-mini-cart {
	display: flex;
}

.ww-header .wc-block-mini-cart__button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 8px;
	color: var(--wp--preset--color--white);
	transition: background-color .2s ease;
}

.ww-header .wc-block-mini-cart__button:hover {
	background: rgba(255, 255, 255, .08);
	opacity: 1;
}

.ww-header .wc-block-mini-cart__quantity-badge {
	position: static;
}

.ww-header .wc-block-mini-cart__icon {
	width: 24px;
	height: 24px;
	margin: 0;
}

.ww-header .wc-block-mini-cart__badge {
	position: absolute;
	top: 4px;
	right: 2px;
	left: auto;
	transform: none;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	box-sizing: border-box;
	border: 0;
	border-radius: 9px;
	/* !important: Woo setzt Farben per Inline-Style (Interactivity API) */
	background-color: var(--wp--preset--color--signal) !important;
	color: var(--wp--preset--color--black) !important;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
}

@media (max-width: 760px) {
	.ww-header__inner {
		height: 60px;
		padding: 0 12px 0 20px;
	}

	.ww-header__logo img {
		width: 34px;
		height: 34px;
	}

	.ww-nav,
	.ww-header__account {
		display: none;
	}

	.ww-header__actions {
		gap: 0;
	}

	.ww-menu-btn {
		display: flex;
	}
}

/* ---------------------------------------------------------------
   Mobiles Menü (Vollbild-Overlay)
   --------------------------------------------------------------- */
.ww-menu {
	position: fixed;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--wp--preset--color--black);
	color: var(--wp--preset--color--white);
	overflow-y: auto;
}

.ww-menu::backdrop {
	background: var(--wp--preset--color--black);
}

html:has(.ww-menu[open]) {
	overflow: hidden;
}

.ww-menu[open] {
	display: flex;
	flex-direction: column;
	animation: ww-menu-in .35s var(--ww-ease);
}

@keyframes ww-menu-in {
	from {
		opacity: 0;
		transform: translateY(-12px);
	}
}

.ww-menu__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-shrink: 0;
	height: 60px;
	padding: 0 12px 0 20px;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.ww-menu__bar .ww-header__logo img {
	width: 34px;
	height: 34px;
}

.ww-menu__body {
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex: 1;
	padding: 40px 20px 32px;
	background-image: url("assets/img/contour-lines.svg");
	background-size: cover;
	background-position: center;
}

.ww-menu__body p {
	margin: 0;
}

.ww-menu__list,
.ww-menu__social {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ww-menu__link {
	display: block;
	padding: 8px 0;
	color: var(--wp--preset--color--white);
	font-size: clamp(34px, 10vw, 44px);
	font-weight: 700;
	line-height: 1.05;
	text-transform: uppercase;
	text-decoration: none;
}

.ww-menu__link:hover,
.ww-menu__link.is-active {
	color: var(--wp--preset--color--accent);
}

.ww-menu__link.is-active {
	text-decoration: underline;
	text-decoration-thickness: 3px;
	text-underline-offset: 8px;
}

.ww-menu__meta {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: auto;
	padding-top: 24px;
	border-top: 1px solid var(--wp--preset--color--line);
}

.ww-menu__account {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	color: var(--wp--preset--color--white);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
}

.ww-menu__social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ww-menu__social a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border: 2px solid var(--wp--preset--color--line-strong);
	border-radius: 8px;
	color: var(--wp--preset--color--white);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.ww-menu__social a:hover {
	border-color: var(--wp--preset--color--white);
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--black);
}

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
.ww-footer {
	border-top: 1px solid var(--wp--preset--color--line);
}

.ww-footer__inner {
	display: flex;
	flex-direction: column;
	gap: 64px;
	box-sizing: border-box;
	max-width: 1360px;
	margin: 0 auto;
	padding: 80px var(--ww-gutter) 40px;
}

.ww-footer__logo img {
	display: block;
	width: 100%;
	height: auto;
	opacity: .9;
}

.ww-footer__cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
}

.ww-footer__col ul {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ww-footer__title {
	margin: 0 0 14px;
	color: var(--wp--preset--color--accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .16em;
	line-height: 1.3;
}

.ww-footer__link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--white);
	font: inherit;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	text-decoration: none;
	cursor: pointer;
	transition: color .2s ease;
}

.ww-footer__link:hover {
	color: #2BA59A;
}

.ww-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-top: 24px;
	border-top: 1px solid var(--wp--preset--color--line);
	color: var(--wp--preset--color--text-4);
	font-size: 13px;
}

.ww-footer__bottom a {
	color: inherit;
}

.ww-footer__bottom a:hover {
	color: var(--wp--preset--color--white);
}

@media (max-width: 760px) {
	.ww-footer__inner {
		gap: 40px;
		padding: 48px var(--ww-gutter) 32px;
	}

	.ww-footer__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 20px;
	}

	.ww-footer__title {
		margin-bottom: 12px;
		font-size: 12px;
	}

	.ww-footer__col ul {
		gap: 0;
	}

	/* Tippflächen mind. 44 px */
	.ww-footer__link {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		font-size: 15px;
	}

	.ww-footer__bottom {
		flex-direction: column;
		gap: 8px;
		padding-top: 20px;
		font-size: 12px;
	}
}

/* ---------------------------------------------------------------
   Laufband
   --------------------------------------------------------------- */
.ww-marquee {
	position: relative;
	overflow: hidden;
	padding: 18px 0;
	border-top: 1px solid var(--wp--preset--color--line);
	border-bottom: 1px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--black);
}

.wp-site-blocks > .ww-marquee,
.is-layout-constrained > .ww-marquee {
	margin-block: 0;
}

.ww-marquee__track {
	display: flex;
	width: max-content;
	animation: ww-marquee 38s linear infinite;
}

.ww-marquee.is-paused .ww-marquee__track {
	animation-play-state: paused;
}

.ww-marquee__run {
	display: flex;
	color: var(--wp--preset--color--white);
	font-size: 44px;
	font-style: italic;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.ww-marquee__run span {
	padding-right: 48px;
}

.ww-marquee__slash {
	color: var(--wp--preset--color--accent);
}

@keyframes ww-marquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.ww-marquee__toggle {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 88px;
	min-height: 44px;
	padding: 0 14px 0 0;
	border: 0;
	background: linear-gradient(90deg, rgba(2, 2, 2, 0) 0%, #020202 55%);
	color: var(--wp--preset--color--text-3);
	cursor: pointer;
	transition: color .2s ease;
}

.ww-marquee__toggle:hover {
	color: var(--wp--preset--color--white);
}

/* Pause-Knopf (WCAG 2.2.2) mit Maus erst bei Hover sichtbar; per Tastatur bei Fokus,
   pausiert immer. Touch-Geräte haben kein Hover – dort bleibt er sichtbar. */
@media (hover: hover) and (pointer: fine) {
	.ww-marquee__toggle {
		opacity: 0;
		transition: opacity .2s ease;
	}

	.ww-marquee:hover .ww-marquee__toggle,
	.ww-marquee__toggle:focus-visible,
	.ww-marquee.is-paused .ww-marquee__toggle {
		opacity: 1;
	}
}

.ww-marquee__play,
.ww-marquee.is-paused .ww-marquee__pause {
	display: none;
}

.ww-marquee.is-paused .ww-marquee__play {
	display: block;
}

@media (max-width: 760px) {
	.ww-marquee {
		padding: 14px 0;
	}

	.ww-marquee__track {
		animation-duration: 30s;
	}

	.ww-marquee__run {
		font-size: 28px;
	}

	.ww-marquee__run span {
		padding-right: 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ww-marquee__track {
		animation: none;
	}

	.ww-marquee__toggle {
		display: none;
	}
}

/* ---------------------------------------------------------------
   Kleinkram
   --------------------------------------------------------------- */
::selection {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--black);
}

.screen-reader-text:focus {
	background: var(--wp--preset--color--signal);
	color: var(--wp--preset--color--black);
}

/* ---------------------------------------------------------------
   Keine Bewegung bei prefers-reduced-motion
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Einfache Seiten (page.html): Titel trennen, Abstand zum Text */
.wp-block-post-title {
	hyphens: auto;
	overflow-wrap: break-word;
}

main > .wp-block-post-title + .ww-page-content {
	margin-block-start: clamp(32px, 4vw, 56px);
}

/* Formulare von Plugins in Seiteninhalten (z. B. „Vertrag widerrufen“) */
.ww-page-content .woocommerce-form .form-row {
	margin: 0 0 18px;
}

.ww-page-content .woocommerce-form label {
	display: block;
	margin-bottom: 8px;
	color: var(--wp--preset--color--text-2);
	font-size: 15px;
}

.ww-page-content .woocommerce-form .required {
	color: var(--wp--preset--color--accent);
	text-decoration: none;
	border: 0;
}

.ww-page-content .woocommerce-form :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
	box-sizing: border-box;
	width: 100%;
	min-height: 52px;
	padding: 0 16px;
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: 8px;
	background: var(--wp--preset--color--black);
	color: var(--wp--preset--color--white);
	font-family: inherit;
	font-size: 16px;
}

.ww-page-content .woocommerce-form :is(input, select, textarea):focus {
	border-color: var(--wp--preset--color--white);
}

@media (min-width: 761px) {
	.ww-page-content .woocommerce-form :is(.form-row-first, .form-row-last) {
		display: inline-block;
		width: calc(50% - 12px);
		vertical-align: top;
	}

	.ww-page-content .woocommerce-form .form-row-first {
		margin-right: 16px;
	}
}

/* Inaktiver Kaufen-Button (noch keine Größe gewählt): lesbar statt ausgegraut */
.wc-block-components-product-button__button:is(:disabled, .disabled, [aria-disabled="true"]) {
	opacity: 1 !important;
	background: var(--wp--preset--color--line-strong) !important;
	color: var(--wp--preset--color--text-2) !important;
	cursor: not-allowed;
}

/* Folgen-Cover: Einige Original-Cover haben am Rand eine hauchdünne helle Linie
   (sichtbar als weißer Blitzer links/unten). 1 % pro Seite wegschneiden. */
.ww-ep__img,
.ww-ep-mini__img,
.ww-ep-latest__cover img,
.ww-pod__cover,
.ww-ep-head__cover {
	scale: 1.02;
}

/* Großes Cover auf der Folgenseite hat keinen beschneidenden Rahmen:
   vergrößern und auf die ursprüngliche Fläche zurückschneiden. */
.ww-ep-head__cover {
	clip-path: inset(1% round 8px);
}

/* Editor: Über-uns-Sektionen in voller Breite wie auf der Website (Seiten-Editor begrenzt sonst auf Textbreite) */
.is-root-container > :is(.ww-about-head, .ww-about-hosts, .ww-about-cta).wp-block {
	max-width: none;
	margin-inline: 0;
}
