/*
Theme Name: Hot Flesh Tattoo
Description: A custom block theme scaffolded by Studio Code.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hot-flesh
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, accessibility-ready, style-variations
*/

/* WordPress inserts margin-block-start: var(--wp--style--block-gap) between the
   template's top-level sections (header part, main, footer part) — a gap that
   exists even when no markup asks for it. Zero it so sections butt edge-to-edge
   and own their vertical rhythm via padding; this does not affect block gaps
   inside nested layouts. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* With that gap gone, main carries its own vertical padding so templates this
   theme does not author (WooCommerce shop, product, cart…) still clear the
   header and footer. A descendant selector, not a child one: WooCommerce wraps
   the single-product main in an extra group. Templates built from full-bleed
   sections opt out with is-flush and let the sections own the rhythm. */
.wp-site-blocks main {
	padding-block: calc(var(--wp--preset--spacing--xxl) + var(--wp--preset--spacing--sm)) var(--wp--preset--spacing--xxl);
}
.wp-site-blocks main.is-flush {
	padding-block: 0;
}

/* === tokens === */
:root {
	/* Bandabstand: 96px auf dem Desktop, 56px mobil. */
	--hf-band: clamp(3.5rem, 7vw, 6rem);
	/* Die goldene Haarlinie ist das Ornament des CD. */
	--hf-linie: color-mix(in srgb, var(--wp--preset--color--accent) 30%, transparent);
	--hf-linie-tief: color-mix(in srgb, var(--wp--preset--color--accent-strong) 34%, transparent);
}

html:root {
	/* Mobil schrumpft die Skala, bleibt aber über 24px — darunter brechen die
	   Haarlinien von Bodoni Moda weg. */
}

/* === header === */
/* Der Kopf schwebt transparent ueber dem ersten Band. Er ist absolut gesetzt
   und hat keine eigene Flaeche — deshalb beginnt jede Seite oben mit einem
   dunklen Band, das ihn traegt. */
.site-head {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 20;
	padding-block: 20px;
}
.wp-block-group.hf-lockup {
	gap: 2px;
}
.hf-lockup .wp-block-site-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--bodoni-moda);
	font-size: 26px;
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: 0.01em;
}
.hf-lockup .wp-block-site-title a {
	color: var(--wp--preset--color--accent);
	text-decoration: none;
}
.hf-since {
	margin: 0;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--offwhite);
	opacity: 0.7;
}
.site-head .wp-block-navigation a,
.hf-tel a {
	color: var(--wp--preset--color--offwhite);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
}
.site-head .wp-block-navigation a:hover {
	color: var(--wp--preset--color--accent);
}
.hf-tel {
	margin: 0;
}

/* === bands === */
/* Jedes Band traegt seine eigene Flaeche und seinen eigenen Rhythmus. */
.hf-band {
	padding-block: var(--hf-band);
}
/* Auf gebauten Seiten sind die direkten Kinder des Inhaltsbereiches Baender.
   Der Standard-Blockabstand wuerde zwischen zwei hellen Baendern eine dunkle
   Naht zeigen; Baender stossen deshalb stumpf aneinander. */
.wp-site-blocks main.is-flush .wp-block-post-content.is-layout-constrained > * + * {
	margin-block-start: 0;
}
.hf-tight {
	padding-block: calc(var(--hf-band) * 0.6);
}
/* Die Kopfzeile liegt transparent und absolut ueber der ersten Sektion. Jede
   Seite, die mit einem Textband beginnt, braucht diesen Freiraum nach oben. */
.hf-first {
	padding-block-start: calc(var(--hf-band) + var(--wp--preset--spacing--lg));
}
/* Kopfzeile eines Bandes: Titel links, Verweis oder Notiz rechts. */
.hf-bandtop {
	padding-bottom: 18px;
	border-bottom: 1px solid var(--hf-linie);
}
/* Helle Baender tragen ihren Text als textColor primary im Block — die Farbe
   steht damit in der Palette und bleibt im Editor sichtbar. Diese Zeile ist
   nur das Netz darunter, falls ein helles Band ohne gesetzte Textfarbe
   gebaut wird. Der Palette-Slug hiess frueher „text“ und belegte damit
   WordPress' eigene Klasse .has-text-color: siehe DESIGN.md, Don'ts. */
.hf-light {
	color: var(--wp--preset--color--primary);
}
.hf-light a:not(.wp-element-button):not(.wp-block-button__link) {
	color: var(--wp--preset--color--accent-strong);
}
/* Nur der Kasten hat eine eigene dunkle Flaeche und traegt deshalb weiterhin
   helle Schrift. Schritt und Fakt malen keine Flaeche — sie erben die Farbe
   des Bandes und bleiben auf hellem Grund dunkel. */
.hf-light .is-style-card {
	color: var(--wp--preset--color--offwhite);
}
.hf-light .hf-label,
.hf-light .hf-zahl,
.hf-light .hf-nr,
.hf-light .hf-quelle {
	color: var(--wp--preset--color--accent-strong);
}
.hf-light .hf-bandtop {
	border-bottom-color: var(--hf-linie-tief);
}
.hf-light .is-style-schritt {
	border-top-color: var(--hf-linie-tief);
}

/* === cover === */
.hf-cover {
	min-height: 70vh;
	/* Das Cover bringt 1rem Eigenabstand mit; der Text saesse damit 17px
	   weiter innen als Kopfzeile und Baender. Der Gutter kommt allein vom
	   Innencontainer, damit alles auf derselben Kante steht. */
	padding-inline: 0;
}
/* Das Band liefert die Abdunklung als flache Tiefgruen-Flaeche, nie als
   Filter ueber dem Foto. Text braucht denselben Gutter wie der Rest. */
.hf-cover .wp-block-cover__inner-container {
	padding-inline: var(--wp--style--root--padding-left) var(--wp--style--root--padding-right);
}
.hf-cover h1 {
	max-width: 20ch;
}
.hf-cover .hf-lead {
	max-width: 34ch;
	margin-block: var(--wp--preset--spacing--md) 0;
	font-size: 19px;
	line-height: 1.6;
	opacity: 0.92;
}
.hf-cover .wp-block-buttons {
	margin-block-start: var(--wp--preset--spacing--lg);
}
/* Startseite: das Teamfoto fuellt die ganze Flaeche hinter der Headline,
   die Tiefgruen-Flaeche liegt halbtransparent darueber. Die Gesichter sitzen
   im oberen Bilddrittel und bleiben so sichtbar. */
.hf-cover-home {
	padding-block: 140px var(--hf-band);
}
.hf-cover-home .wp-block-cover__image-background {
	object-position: 50% 35%;
}
.hf-cover-home h1 {
	max-width: 14ch;
}

/* === label + fakten === */
.hf-label {
	margin: 0;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}
.hf-zahl {
	margin: 0;
	font-family: var(--wp--preset--font-family--bodoni-moda);
	font-size: 40px;
	font-weight: 500;
	line-height: 1.15;
	color: var(--wp--preset--color--accent);
}
.hf-fakt { }
.hf-faktnotiz {
	margin: 0;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.7;
}
/* Warum Hot Flesh: Bild und letzter Absatz enden auf derselben Kante.
   Keine Inline-Bild-Baseline und kein Absatz-/Figure-Nachlauf. */
.hf-why-row .wp-block-image,
.hf-why-row .wp-block-column > p:last-child {
	margin-block-end: 0;
}
.hf-why-row img {
	display: block;
	height: auto;
}
/* Startseite: Faktenreihe und "Zwei Studios" lesen als zusammenhaengende
   Folge, ohne doppelte Bandluft dazwischen. */
.hf-band.hf-band-why {
	padding-bottom: var(--wp--preset--spacing--md, 32px);
}
.hf-band.hf-band-studios {
	padding-top: var(--wp--preset--spacing--md, 32px);
}

/* === karten + schritte === */
/* Karte: Flaeche in Gruen hell, goldene Haarlinie, Radius nur am inneren
   Element. Wiederholt sich in Artist-Karten und Standort-Karten. */
.is-style-card {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--hf-linie);
	border-radius: var(--wp--custom--rounded--md);
	padding: 26px;
}
.is-style-card .wp-block-image,
.is-style-card figure {
	margin-block: 0 var(--wp--preset--spacing--sm);
}
.is-style-card img {
	width: 100%;
	height: auto;
	object-fit: contain;
}
.hf-light .is-style-card a:not(.wp-element-button):not(.wp-block-button__link) {
	color: var(--wp--preset--color--accent);
}
/* Instagram-Snippet unter "Über …" auf den Artist-Seiten: Logo links,
   Label, Handle und ein Satz rechts. Abstand nach oben trennt es vom Text. */
.hf-ig {
	margin-block-start: var(--wp--preset--spacing--md, 32px);
	gap: var(--wp--preset--spacing--sm, 20px);
	padding: var(--wp--preset--spacing--sm, 20px) 26px;
}
.hf-ig .wp-block-social-links {
	margin: 0;
	flex-shrink: 0;
}
.hf-ig p {
	margin: 0;
}
.hf-ig .hf-label {
	margin-block-end: 4px;
}
.hf-ig .has-subhead-font-size {
	line-height: 1.25;
	overflow-wrap: anywhere;
}
.hf-ig .has-subhead-font-size a {
	color: var(--wp--preset--color--accent);
	text-decoration: none;
}
.hf-ig .has-subhead-font-size a:hover,
.hf-ig .has-subhead-font-size a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.hf-ig .has-subhead-font-size + p {
	margin-block-start: 6px;
	font-size: var(--wp--preset--font-size--body);
	opacity: .85;
}

/* Startseite: vier gleich hohe Artist-Karten bis zur Viewport-Kante.
   Nur diese Reihe wird verbreitert; Standortkarten bleiben unveraendert. */
.hf-home-artist-row .is-style-card,
.hf-home-studio-row .is-style-card {
	height: 100%;
	padding: var(--wp--preset--spacing--sm);
	border-radius: 0;
}
.hf-home-artist-row .is-style-card img,
.hf-home-studio-row .is-style-card img {
	aspect-ratio: 3 / 2;
	object-fit: contain;
}
.hf-home-artist-row .hf-cardstil {
	min-height: 5em;
}
/* Kundenfreigabe: Soest fuellt das 3:2-Feld durch seitlichen Beschnitt.
   Nur die Startseiten-Karte; Originaldatei und Standortseite unveraendert. */
.hf-home-studio-row img.wp-image-162,
 .hf-home-studio-row img.wp-image-427 {
	object-fit: cover;
	object-position: center;
}
/* Gleicher Textraum haelt auch mobil beide Kaesten gleich. */
.hf-home-studio-row .hf-cardname {
	min-height: 3.3em;
}
.hf-home-studio-row .hf-cardtext {
	min-height: 6em;
}
/* Standortübersicht: gleich große Karten und 3:2-Fotos wie auf der Startseite. */
.page-id-22 .is-style-card {
	height: 100%;
}
.page-id-22 .is-style-card img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	height: auto;
	object-fit: contain;
}
.page-id-22 .is-style-card img.wp-image-162 {
	object-fit: cover;
	object-position: center;
}
.page-id-22 .is-style-card .hf-cardname {
	min-height: 3.3em;
}
.page-id-22 .is-style-card .hf-cardtext {
	min-height: 6em;
}

/* Der Kartenname erbt seine Farbe: auf dunklem Band ist sie off-white, im
   dunklen Kasten eines hellen Bandes ebenfalls (siehe .hf-light .is-style-card),
   und in einem hellen Band ohne Kasten — etwa den Fragen im Ablauf — bleibt sie
   dunkel. Eine feste Farbe an dieser Stelle macht genau diese Fragen unsichtbar. */
.hf-cardname {
	margin: 0;
	font-family: var(--wp--preset--font-family--bodoni-moda);
	font-size: 24px;
	font-weight: 500;
}
.hf-cardstil {
	margin: 4px 0 0;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}
.hf-cardtext {
	margin-block: var(--wp--preset--spacing--sm) 0;
	font-size: 15px;
	line-height: 1.6;
	opacity: 0.85;
}
/* Ein Verweis am Satzende bricht sonst mitten in der Phrase um („Arbeiten“ /
   „ansehen“). Er steht deshalb als eigene Zeile in der Karte. */
.is-style-card .hf-cardtext a {
	display: block;
	margin-block-start: var(--wp--preset--spacing--xs);
	white-space: nowrap;
}
.is-style-schritt {
	border-top: 1px solid var(--hf-linie);
	padding-top: 20px;
}
.hf-nr {
	margin: 0 0 var(--wp--preset--spacing--sm);
	font-family: var(--wp--preset--font-family--bodoni-moda);
	font-size: 24px;
	font-weight: 500;
	color: var(--wp--preset--color--accent);
}
.hf-schritttext {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	opacity: 0.88;
}
.is-style-fakt {
	border-top: 1px solid var(--hf-linie);
	padding-top: 18px;
}
/* Die Zahlenreihe steht als eigener Beleg unter dem Fliesstext. */
.hf-fakten {
	margin-block-start: var(--wp--preset--spacing--xl);
}

/* === portfolio === */
/* Arbeiten bleiben farbecht: kein Filter, kein Tint, keine goldene
   Ueberlagerung — auch nicht als Teilton. */
.hf-portfolio {
	margin-block-start: var(--wp--preset--spacing--lg);
}
.hf-portfolio img {
	width: 100%;
	object-fit: contain;
}
.wp-block-gallery.has-nested-images.hf-portfolio figure.wp-block-image {
	align-self: flex-start;
	justify-content: flex-start;
	height: auto;
}
.wp-block-gallery.has-nested-images.hf-portfolio figure.wp-block-image img {
	width: 100%;
	height: auto;
	object-fit: contain;
	contain-intrinsic-size: none;
}
.wp-block-gallery.has-nested-images.hf-portfolio figure.wp-block-image figcaption {
	position: static;
	background: none;
	color: inherit;
	text-shadow: none;
	padding: var(--wp--preset--spacing--xs) 0 0;
	text-align: left;
	max-height: none;
	overflow: visible;
	will-change: auto;
}
.wp-block-gallery.has-nested-images.hf-portfolio figure.wp-block-image:has(figcaption)::before {
	content: none;
}
.hf-photo-head .wp-block-columns {
	align-items: center;
}
.hf-photo-head .wp-block-image img {
	width: 100%;
	height: auto;
	object-fit: contain;
}
.hf-bildnotiz {
	margin-block: var(--wp--preset--spacing--sm) 0;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}

/* === steckbrief === */
/* Die Faktenliste im Ueber-Band: Label, Wert, goldene Haarlinie dazwischen.
   Die Linie traegt das Label, nicht der Wert — deshalb sitzt sie oben. */
.hf-steckbrief p {
	margin: 0;
}
.hf-steckbrief .hf-label {
	margin-block-start: var(--wp--preset--spacing--sm);
	padding-block-start: var(--wp--preset--spacing--sm);
	border-top: 1px solid var(--hf-linie);
}
.hf-steckbrief .hf-label:first-child {
	margin-block-start: 0;
	padding-block-start: 0;
	border-top: 0;
}
.hf-steckbrief .hf-label + p {
	margin-block-start: 2px;
}

/* === zitat === */
/* Der Satz, den ein Artist Kundinnen und Kunden mitgibt — in seinen Worten.
   Bodoni Moda erst ab 24px, darunter brechen die Haarlinien der Schrift weg.
   Die Groesse ist deshalb nach unten gedeckelt. */
.hf-zitat {
	margin: 0;
	padding: 0;
	border: 0;
}
.hf-zitat p {
	margin: 0;
	font-family: var(--wp--preset--font-family--bodoni-moda);
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.35;
}
.hf-quelle {
	margin-block-start: var(--wp--preset--spacing--md);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}

/* === formular === */
.hf-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.hf-form textarea,
.hf-form select {
	width: 100%;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--accent-strong);
	border-radius: var(--wp--custom--rounded--sm);
	color: var(--wp--preset--color--offwhite);
	font-family: var(--wp--preset--font-family--inter);
	font-size: 16px;
	line-height: 1.5;
	padding: 14px 16px;
}
.hf-form input:focus,
.hf-form textarea:focus,
.hf-form select:focus {
	border-color: var(--wp--preset--color--accent);
	outline: none;
}
.hf-form label,
.hf-form .wp-block-jetpack-label {
	margin-block-end: 6px;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.85;
}
.hf-form .wp-block-jetpack-contact-form {
	gap: var(--wp--preset--spacing--md);
}
/* Jetpack haengt jedem Label einen Erforderlich-Hinweis an. Die Sprache ist
   inzwischen deutsch (de_DE ist installiert), der Hinweis bleibt aber aus:
   alle Felder sind erforderlich, und der Satz steht einmal ueber dem Formular. */
.hf-form .grunion-label-required {
	display: none;
}

/* === footer === */
.hf-foot {
	padding-block: var(--hf-band) calc(var(--hf-band) * 0.8);
	border-top: 1px solid var(--hf-linie);
}
/* Der Leitsatz traegt den Grund der Marke — deshalb Bodoni, und deshalb
   nicht unter 24px. */
.hf-claim {
	margin: 0;
	max-width: 30ch;
	font-family: var(--wp--preset--font-family--bodoni-moda);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--wp--preset--color--offwhite);
}
.hf-foot .wp-block-navigation a {
	color: var(--wp--preset--color--offwhite);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
}
.hf-foot .wp-block-navigation a:hover {
	color: var(--wp--preset--color--accent);
}
.hf-foot-mark {
	margin: 0;
	font-family: var(--wp--preset--font-family--bodoni-moda);
	font-size: 28px;
	font-weight: 500;
	color: var(--wp--preset--color--accent);
}
.hf-foot .wp-block-paragraph {
	margin-block: 0;
}

/* === location-map === */
.hf-map-consent {
	width: 100%;
	max-width: 600px;
	box-sizing: border-box;
}
.hf-map-consent [hidden] {
	display: none !important;
}
.hf-map-placeholder {
	padding: var(--wp--preset--spacing--md);
	border: 1px solid var(--wp--preset--color--accent-strong);
	border-radius: 4px;
}
.hf-map-placeholder > p {
	margin: 0;
}
.hf-map-placeholder > p + p {
	margin-block-start: 12px;
}
.hf-map-title {
	font-weight: 600;
}
.hf-map-load {
	margin-block-start: var(--wp--preset--spacing--md);
}
.hf-map-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-block-start: 16px;
}
.hf-map-status {
	margin: 0;
}
.hf-map-status:not(:empty) {
	margin-block-start: 12px;
}
.hf-map-frame iframe {
	display: block;
	width: 100%;
	max-width: 600px;
	height: auto;
	aspect-ratio: 4 / 3;
	border: 0;
}
.hf-map iframe {
	display: block;
	width: 100%;
	max-width: 600px;
	height: auto;
	aspect-ratio: 4 / 3;
	border: 0;
}

/* === artist-hub === */
/* Der Artists-Hub listet die Eintraege untereinander in derselben Box: links
   Name, Stil-Label, ein Satz, die Faktenzeile und der Knopf, rechts das
   Portraet. Die Portraets bleiben in ihren eigenen Massen und werden nicht
   beschnitten. Die Spalten sind vertikal zentriert — sonst klebt der Text bei
   der Hoehe eines 4:5-Portraets oben und darunter bleibt eine leere Flaeche. */
.hf-portraits .wp-block-columns {
	align-items: center;
}

/* === shop === */
/* Der Shop ist eine Seite aus Baendern wie jede andere. WooCommerce bringt
   eigene Klassennamen mit; sie werden hier auf die Palette gelegt, statt die
   Vorlagen des Plugins zu ueberschreiben. */

/* Produktkarte: dieselbe Flaeche wie .is-style-card — Tiefgruen hell, goldene
   Haarlinie, 4px Radius. Ohne Produktfotos traegt die Karte die Schrift.
   border-box, weil WooCommerce die Karten sonst mit content-box anlegt: die
   Polsterung kommt auf die Zeilenhoehe drauf und die Zeilen ueberlappen. */
.wp-block-woocommerce-product-collection .wc-block-product {
	display: flex;
	flex-direction: column;
	row-gap: var(--wp--preset--spacing--sm);
	box-sizing: border-box;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--hf-linie);
	border-radius: 4px;
	padding: 20px;
	color: var(--wp--preset--color--offwhite);
}
/* Shop-Paar: helle Bandlinks duerfen dunkle Produktkarten nicht verdunkeln. */
.hf-shop-pair .wc-block-product .wp-block-post-title a {
	color: var(--wp--preset--color--offwhite);
}
.wp-site-blocks main.is-flush > .hf-band + .hf-band {
	margin-block-start: 0;
}
@media (max-width: 600px) {
	.hf-shop-pair .wp-block-woocommerce-product-template.columns-2 {
		grid-template-columns: minmax(0, 1fr);
	}
}
/* Das Platzhalterbild von WooCommerce ist kein Beleg. Solange keine echten
   Produktfotos da sind, bleibt die Karte eine Textkarte — sobald Fotos
   hochgeladen werden, erscheinen sie ohne Aenderung. */
.wp-block-woocommerce-product-collection .wc-block-components-product-image:has(img[src*="woocommerce-placeholder"]) {
	display: none;
}
.wp-block-woocommerce-product-collection .wc-block-components-product-image {
	margin-block-end: var(--wp--preset--spacing--sm);
}
/* Ein Produkt ohne Preis ist noch nicht kaufbar. Dann bleibt die Zeile leer
   statt als Luecke stehen. */
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-price:not(:has(.wc-block-components-product-price *)) {
	display: none;
}
.wp-block-woocommerce-product-collection .wc-block-components-product-image img {
	border-radius: 2px;
}
/* Bodoni erst ab 24px — darunter brechen die Haarlinien der Schrift weg. Die
   Produktkarte traegt den Titel als post-title-Block, deshalb beide Namen. */
.wp-block-woocommerce-product-collection .wc-block-components-product-title,
.wp-block-woocommerce-product-collection .wp-block-post-title,
.wp-block-woocommerce-product-collection .wc-block-components-product-title a,
.wp-block-woocommerce-product-collection .wp-block-post-title a {
	margin: 0;
	font-family: var(--wp--preset--font-family--bodoni-moda);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--wp--preset--color--offwhite);
	text-decoration: none;
}
.wp-block-woocommerce-product-collection .wc-block-components-product-title a:hover,
.wp-block-woocommerce-product-collection .wp-block-post-title a:hover {
	color: var(--wp--preset--color--accent);
}
.wp-block-woocommerce-product-collection .wc-block-components-product-price {
	margin-block: var(--wp--preset--spacing--xs) 0;
	font-size: 15px;
	color: var(--wp--preset--color--accent);
}
.wp-block-woocommerce-product-collection .wc-block-components-product-price del,
.wp-block-woocommerce-product-collection .wc-block-components-product-price ins {
	color: inherit;
}
/* Der Kartenknopf ist zweitrangig: Gold als Rahmen, nicht als Flaeche. So
   bleibt der eine gefuellte Knopf der Seite der Terminanfrage vorbehalten. */
.wp-block-woocommerce-product-collection .wp-block-button__link,
.wp-block-woocommerce-product-collection .wc-block-components-product-button__button {
	margin-block-start: 0;
	padding: 13px 18px;
	background: transparent;
	border: 1px solid var(--wp--preset--color--accent);
	border-radius: 2px;
	color: var(--wp--preset--color--accent);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	width: 100%;
	text-align: center;
}
.wp-block-woocommerce-product-collection .wp-block-button__link:hover,
.wp-block-woocommerce-product-collection .wc-block-components-product-button__button:hover {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--primary);
}
/* Ungleich hohe Karten einer Zeile richten den Knopf trotzdem unten aus. */
.wp-block-woocommerce-product-collection .wc-block-components-product-button {
	margin-block-start: auto;
}
/* "Betrag waehlen" ist ein Hinweis, kein Kauf: kein Button, sondern eine
   goldene Zeile unter dem Preis. */
/* Hinweise von WooCommerce ("in den Warenkorb gelegt") liegen auf dem ersten
   dunklen Band und tragen dort dieselbe Flaeche wie eine Karte. Die Zustands-
   klassen des Plugins wiegen gleich viel wie die eigene Regel, deshalb steht
   der Seitenrahmen davor — sonst bleibt die helle Vorgabe des Plugins stehen
   und die Schrift verschwindet darin. */
.wp-site-blocks .wc-block-components-notice-banner.is-success,
.wp-site-blocks .wc-block-components-notice-banner.is-info,
.wp-site-blocks .wc-block-components-notice-banner.is-error,
.wp-site-blocks .wc-block-components-notice-banner.is-warning,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--hf-linie);
	border-radius: 4px;
	color: var(--wp--preset--color--offwhite);
}
.wc-block-components-notice-banner a,
.woocommerce-message a,
.woocommerce-info a {
	color: var(--wp--preset--color--accent);
}

/* Das Platzhalterbild von WooCommerce ist kein Beleg: es erscheint nirgends.
   Sobald echte Produktfotos hochgeladen sind, stehen sie ohne Aenderung da. */
img[src*="woocommerce-placeholder"] {
	display: none;
}

/* Warenkorb, Kasse und Produktseite erben vom Theme nur Schrift und Farben.
   Knoepfe und Felder brauchen die Werte des CD, weil ihre Klassen eigene
   Vorgaben aus dem Plugin mitbringen. */
.wc-block-components-button:not(.is-link),
.wp-block-woocommerce-add-to-cart-form .wp-element-button {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--primary);
	border: 1px solid var(--wp--preset--color--accent);
	border-radius: 2px;
	padding: 15px 28px;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.wc-block-components-button:not(.is-link):hover,
.wp-block-woocommerce-add-to-cart-form .wp-element-button:hover {
	background: var(--wp--preset--color--offwhite);
	border-color: var(--wp--preset--color--offwhite);
	color: var(--wp--preset--color--primary);
}
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-select select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--accent-strong);
	border-radius: 2px;
	color: var(--wp--preset--color--offwhite);
}
.wc-block-components-text-input input:focus,
.wc-block-components-textarea:focus {
	border-color: var(--wp--preset--color--accent);
	outline: none;
}
.wc-block-components-text-input label,
.wc-block-components-checkout-step__title,
.wc-block-components-totals-item__label {
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.wc-block-components-order-summary,
.wc-block-cart-items {
	border-color: var(--hf-linie);
}

/* Das Betragsfeld des Gutscheins. */
.hf-betragsfeld {
	margin-block: var(--wp--preset--spacing--md);
}
.hf-betragsfeld label {
	display: block;
	margin-block-end: var(--wp--preset--spacing--xs);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.hf-betragsfeld label span {
	letter-spacing: 0.02em;
	text-transform: none;
	opacity: 0.75;
}
form.cart .hf-betragsfeld input {
	box-sizing: border-box;
	font-family: var(--wp--preset--font-family--inter);
	line-height: 1.4;
	width: 100%;
	max-width: 220px;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--accent-strong);
	border-radius: 2px;
	color: var(--wp--preset--color--offwhite);
	padding: 14px 16px;
	font-size: 17px;
}

form.cart .hf-betragsfeld input#hf_empfaenger {
	max-width: 440px;
}

/* Brotkrumen stehen auf dem ersten Band: klein, gedaempft, Verweise in Gold. */
.woocommerce-breadcrumb {
	margin: 0;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.75;
}
.woocommerce-breadcrumb a {
	color: var(--wp--preset--color--accent);
	text-decoration: none;
}
.woocommerce-breadcrumb a:hover {
	color: var(--wp--preset--color--offwhite);
}

/* Der Preis traegt die zweite Zeile der Produktseite und steht deshalb in
   Bodoni Moda — mit 40px ueber der Grenze, unter der die Haarlinien wegbrechen. */
.wp-block-woocommerce-product-price {
	margin-block: var(--wp--preset--spacing--sm) 0;
	font-family: var(--wp--preset--font-family--bodoni-moda);
	font-weight: 500;
	color: var(--wp--preset--color--accent);
}
.wp-block-woocommerce-product-price .price,
.wp-block-woocommerce-product-price del,
.wp-block-woocommerce-product-price ins {
	font-family: inherit;
	color: inherit;
}

/* Ein Produkt ohne Foto soll keine leere Bildspalte stehen lassen. Die Spalte
   verschwindet mit dem Platzhalter und steht wieder, sobald ein Foto da ist. */
.wp-block-column:has(.woocommerce-product-gallery--without-images) {
	display: none;
}

/* Der leere Warenkorb zeigt sonst ein weinendes Gesicht aus dem Plugin. Das CD
   kennt ein Ornament, keine Illustration: die goldenen Linien tragen die
   Flaeche, die Ueberschrift sagt den Rest. */
.wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
	display: none;
	background-image: none;
}

/* === motion === */
/* Zurueckhaltend: kurze Uebergaenge, kein Bounce, kein Scale. */
a,
.wp-element-button {
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* Persönliche Artist-Seiten: kompakte, zusammenhängende Bereiche.
   Der Kopf behält oben den Platz für die Navigation; Fotos bleiben vollständig. */
body:is(.page-id-28, .page-id-29, .page-id-33, .page-id-34, .page-id-113) .hf-band:not(.hf-first) {
	padding-block: clamp(24px, 3vw, 40px);
}
body:is(.page-id-28, .page-id-29, .page-id-33, .page-id-34, .page-id-113) .hf-photo-head {
	padding-bottom: clamp(24px, 3vw, 40px);
}

/* Startseite: Janas Zitat vom vorausgehenden Fließtext absetzen. */
.page-id-23 .entry-content .wp-block-column > p + p.hf-claim {
	margin-block-start: var(--wp--preset--spacing--md, 24px);
}

/* === responsive === */
@media (max-width: 781px) {
	html:root {
		--wp--preset--font-size--display: 38px;
		--wp--preset--font-size--headline: 30px;
		--wp--preset--font-size--subhead: 21px;
	}
	.hf-band {
		padding-block: 56px;
	}
	/* Was unter der Kopfzeile beginnen muss, braucht ihren Platz: sie bricht
	   mobil in zwei Zeilen und misst rund 148px. Dieser Freiraum steht nach dem
	   Bandwert, sonst ueberschreibt .hf-band ihn; das Cover zentriert seinen
	   Inhalt und schiebt ihn damit ebenfalls unter die Kopfzeile. */
	.hf-first,
	.hf-cover {
		padding-block-start: 168px;
	}
	.site-head {
		padding-block: 14px;
	}
	.hf-lockup .wp-block-site-title {
		font-size: 22px;
	}
	.hf-zahl {
		font-size: 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
