/*
 * highrizz-korrekturen.css, 17.09.2026
 * Behebt gemessene Fehler auf allen Seiten, bis der Umbau nach "Paper & Stickers" kommt.
 * Gemessen am 17.09. im Browser: Blocksys Standardblau #2872FA an Suchknopf, Sprunglink und
 * allem, was die Linkfarbe erbt; Kategorie-Pille "MAIN CHARACTER ENERGY" 339 px breit und
 * zweizeilig bei 390 px Fensterbreite; Sortier-Auswahl im Shop 34 x 34 px.
 * Alle Farbpaare hier liegen bei mindestens 4,5:1 gegen ihren Grund.
 */

:root,
body {
	/* Blocksy-Palette auf die Marke ziehen. Farbe 1 ist bei Blocksy die Akzentfarbe,
	   aus der Links, Knoepfe und Fokusrahmen kommen. */
	--theme-palette-color-1: #992014;
	--theme-palette-color-2: #6E150E;
	--theme-palette-color-3: #161512;
	--theme-palette-color-4: #524B3D;
	--theme-palette-color-5: #E3DCC8;
	--theme-palette-color-6: #EDE7D8;
	--theme-palette-color-7: #F7F3EA;
	--theme-palette-color-8: #FBF7EE;
	--theme-link-initial-color: #992014;
	--theme-link-hover-color: #6E150E;
	--theme-button-background-initial-color: #992014;
	--theme-button-background-hover-color: #6E150E;
	--theme-button-text-initial-color: #FBF7EE;
	--theme-button-text-hover-color: #FBF7EE;
	--theme-form-selected-border-color: #992014;
	--theme-form-field-border-focus-color: #992014;
}

/* WordPress-Blockknoepfe und WooCommerce-Blockknoepfe, die sonst blau bleiben */
.wp-element-button,
.wp-block-button__link,
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
button.components-button.is-primary {
	background-color: #992014;
	color: #FBF7EE;
	border-color: #992014;
}

.wp-element-button:hover,
.wp-block-button__link:hover,
.wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover,
button.components-button.is-primary:hover {
	background-color: #6E150E;
	color: #FBF7EE;
}

.wc-block-components-product-name,
.wc-block-components-totals-item__label a,
.wc-block-grid__product-title,
.woocommerce-loop-product__title a {
	color: #161512;
}

/* Suchknopf im Kopfbereich */
.ct-search-form button[type="submit"],
.search-submit,
input.submit {
	background-color: #992014;
	color: #FBF7EE;
	border-color: #992014;
}

/* Sprunglink: unsichtbar bis Tastaturfokus, dann in Markenfarben und lesbar */
.skip-link:focus {
	background: #161512;
	color: #EDE7D8;
	outline: 3px solid #992014;
}

/* Kategorie-Pillen auf der Produktseite: nie mitten im Namen umbrechen */
.product_meta .posted_in,
.product_meta .tagged_as {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.product_meta .posted_in a,
.product_meta .tagged_as a {
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Sortier-Auswahl im Shop: vorher 34 x 34 px und unlesbar. Gestylt wird nur das
   Auswahlfeld selbst, das Formular drumherum bleibt schmucklos, sonst liegen zwei
   Rahmen und zwei Pfeile uebereinander (gemessen am 17.09.). */
.woocommerce-ordering {
	border: 0;
	background: none;
	padding: 0;
	margin: 0 0 20px 0;
	display: flex;
	justify-content: flex-end;
}

.woocommerce-ordering select,
select.orderby {
	width: auto;
	min-width: 210px;
	height: 44px;
	line-height: 1.2;
	padding: 0 38px 0 14px;
	font-size: 14px;
	background-color: #F7F3EA;
	color: #161512;
	border: 2px solid #161512;
	border-radius: 10px;
	appearance: none;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23161512' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

/* Kopfband der Shop- und Archivseiten: war 250 px leere Flaeche mit Systemschrift.
   Jetzt kompakt, in Markenfarbe und mit der Displayschrift. */
.hero-section {
	background: #161512;
	padding: 28px 20px;
	min-height: 0;
	height: auto;
}

.hero-section h1,
.hero-section .page-title {
	color: #EDE7D8;
	font-family: 'Archivo Black', 'Archivo', sans-serif;
	font-size: clamp(30px, 8vw, 44px);
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	margin: 0;
}

.hero-section .ct-breadcrumbs,
.hero-section .ct-breadcrumbs a {
	color: #C9C0AC;
}

.hero-section .ct-breadcrumbs a:hover {
	color: #F5B700;
}

/* Fussbereich: Menue und Logo sichtbar und mittig, auch am Handy */
.site-footer .ct-menu-link {
	color: #EDE7D8;
}

.site-footer .ct-menu-link:hover,
.site-footer .ct-menu-link:focus {
	color: #F5B700;
}

.site-footer .site-logo-container,
.site-footer [data-id="logo"] {
	display: flex;
	justify-content: center;
	width: 100%;
}

/* Sichtbarer Fokus ueberall, Tastaturbedienung war vorher kaum erkennbar */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid #992014;
	outline-offset: 2px;
}

/* Touchflaechen mindestens 44 px, gemessen waren Mengen- und Loeschknoepfe kleiner */
.wc-block-components-quantity-selector__button,
.wc-block-cart-item__remove-link,
.ct-header-cart .ct-cart-item button {
	min-width: 44px;
	min-height: 44px;
}

/*
 * Kasse lesbar machen (17.09.2026, nach Rueckmeldung von Maho).
 * Vorher: Eingabefelder ohne erkennbaren Rahmen, Kaestchen fast unsichtbar auf dem
 * Papiergrund, Beschriftungen zu hell.
 */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout .select2-selection {
	background: #FBF7EE;
	border: 2px solid #161512;
	border-radius: 10px;
	color: #161512;
	min-height: 48px;
	padding: 10px 12px;
}

.woocommerce form .form-row label,
.woocommerce-checkout label {
	color: #161512;
	font-weight: 600;
}

.woocommerce form .form-row input.input-text::placeholder,
.woocommerce form .form-row textarea::placeholder {
	color: #6B6353;
}

/* Kaestchen: sichtbar, gross genug zum Treffen */
.woocommerce-checkout input[type="checkbox"],
.woocommerce input[type="checkbox"],
.woocommerce input[type="radio"] {
	width: 22px;
	height: 22px;
	accent-color: #992014;
	border: 2px solid #161512;
	flex-shrink: 0;
}

.woocommerce-checkout .woocommerce-form__label-for-checkbox,
.woocommerce-terms-and-conditions-wrapper label {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	color: #161512;
}

/* Bestellübersicht und Zahlungsbereich klar abgegrenzt */
.woocommerce-checkout #payment,
.woocommerce-checkout .woocommerce-checkout-review-order-table {
	background: #F7F3EA;
	border: 2px solid #161512;
	border-radius: 14px;
}

.woocommerce-checkout #payment ul.payment_methods li label {
	color: #161512;
	font-weight: 600;
}

#place_order {
	background: #992014;
	color: #FBF7EE;
	font-weight: 800;
	letter-spacing: 0.03em;
	min-height: 56px;
	border-radius: 12px;
	box-shadow: 4px 4px 0 #161512;
}

#place_order:hover {
	background: #6E150E;
}

/*
 * Kasse, dritter Durchgang nach Rueckmeldung mit Screenshot (17.09.2026):
 * Laenderfeld ohne Rahmen, Kaestchen "Deliver to a different address" unsichtbar,
 * Kaesten rechts mit unterschiedlichen Kanten.
 */
.woocommerce-checkout select,
.woocommerce-checkout .country_select,
.woocommerce-checkout .state_select,
.woocommerce-checkout .select2-container .select2-selection--single {
	background-color: #FBF7EE !important;
	border: 2px solid #161512 !important;
	border-radius: 10px !important;
	color: #161512 !important;
	min-height: 48px !important;
	height: 48px !important;
	line-height: 44px !important;
	padding: 0 40px 0 12px !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23161512' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
}

.woocommerce-checkout .select2-container .select2-selection__arrow {
	display: none !important;
}

/* Kaestchen sichtbar machen: Theme zeichnet sie ohne Rahmen auf hellem Grund */
.woocommerce-checkout input[type="checkbox"],
.woocommerce form input[type="checkbox"] {
	appearance: auto !important;
	-webkit-appearance: checkbox !important;
	width: 22px !important;
	height: 22px !important;
	min-width: 22px;
	accent-color: #992014;
	outline: 2px solid #161512;
	outline-offset: 0;
	border-radius: 3px;
	opacity: 1 !important;
	position: static !important;
}

#ship-to-different-address label,
.woocommerce-form__label-for-checkbox {
	display: flex !important;
	align-items: center;
	gap: 12px;
	color: #161512;
	font-weight: 600;
}

/* Rechte Spalte: gleiche Kanten fuer Bestelluebersicht und Zahlungsbereich */
.woocommerce-checkout .woocommerce-checkout-review-order-table,
.woocommerce-checkout #payment {
	border-width: 2px !important;
	border-style: solid !important;
	border-color: #161512 !important;
	border-radius: 14px !important;
	background: #F7F3EA !important;
	overflow: hidden;
}

.woocommerce-checkout #payment .payment_box {
	background: #EDE7D8 !important;
	border-radius: 10px !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .validate-required > label {
	align-items: flex-start;
	gap: 12px;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper abbr.required {
	margin-left: 4px;
	text-decoration: none;
}

/* Der Rahmen der Bestelluebersicht kam aus `.woocommerce table.shop_table` mit !important
   (hoehere Spezifitaet als meine Regel oben). Deshalb hier ausdruecklich staerker. */
.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table {
	border-color: #161512 !important;
	border-width: 2px !important;
	border-style: solid !important;
	border-radius: 14px !important;
}

/* Bestelluebersicht und Zahlungsbereich als Paar behandeln (17.09.2026, Rueckmeldung Maho:
   "beide uebereinander und kaputt und unterschiedlich"). Gleicher Grund, gleicher Rahmen,
   gleiche Rundung, gleicher Innenabstand. */
.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table,
.woocommerce-checkout #payment {
	background: #F7F3EA !important;
	border: 2px solid #161512 !important;
	border-radius: 14px !important;
	padding: 6px 14px !important;
	margin-bottom: 16px !important;
}

.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table th,
.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table td {
	border-color: #16151233 !important;
	background: transparent !important;
}

.woocommerce-checkout #payment ul.payment_methods {
	background: transparent !important;
	border-bottom: 1px solid #16151233 !important;
	padding: 8px 0 !important;
}

.woocommerce-checkout #payment div.form-row.place-order {
	background: transparent !important;
	padding: 12px 0 !important;
}

/* Die Bestelluebersicht ist eine Tabelle mit border-collapse:collapse. Dabei uebernehmen die
   Zellen den Rahmen und der aeussere verschwindet, deshalb sahen die beiden Kaesten
   unterschiedlich aus (17.09.2026). */
.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table {
	border-collapse: separate !important;
	border-spacing: 0 !important;
	overflow: hidden;
}

/* Der Zahlarten-Bereich im Footer (`[data-column="widget-area-2"]`) hat einen weissen
   Kasten aus der Customizer-Einstellung, die frueher das weisse Zahlungsbild getragen hat.
   Cremefarbener Text auf Weiss war unlesbar (17.09.2026). */
.ct-footer [data-column="widget-area-2"] {
	background: transparent !important;
	padding: 4px 0 !important;
}

.hrz-zahlarten {
	color: #C9C0AC;
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	letter-spacing: 0.02em;
	text-align: center;
	margin: 0;
}

/* Leerer Absatz aus dem Widget, der nur Platz frisst */
.hrz-zahlarten-widget:empty {
	display: none;
}

/* Steuerhinweis unter dem Preis */
.hrz-steuerhinweis {
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	color: #524B3D;
	margin: 6px 0 14px 0;
}

/* GPSR-Block unter der Vertrauenszeile (20.09.2026): etwas mehr Abstand nach der Randlinie
   der Liste darueber, sonst kleben Pflegehinweis und letzter Listenpunkt aneinander. */
.hrz-gpsr {
	margin-top: 10px;
}

/* Steuerhinweis in der Kassentabelle (Aufgabe 308, 20.09.2026): eigene Zeile ohne Rahmen und
   ohne die Zellenpolsterung der Summenzeile darueber, sonst wirkt sie wie eine zweite Summe. */
.hrz-steuerhinweis-zeile td {
	border-top: none !important;
	padding-top: 0 !important;
}

.hrz-steuerhinweis-zeile .hrz-steuerhinweis {
	margin: 0;
}

/* Papierhintergrund auf allen Seiten (17.09.2026). Vorher hatten nur Shop, Warenkorb und
   Kasse das Papier mit Punktraster, alle anderen Seiten standen auf fast weissem #F7F3EA,
   darunter die neuen Rechtsseiten, About und Contact. */
/* html davor, weil Blocksy sein dynamisches CSS teils direkt im Seitenkopf ausgibt und
   damit nach dieser Datei steht (gemessen 17.09.2026). */
html body {
	background-color: #EDE7D8 !important;
	background-image: radial-gradient(#00000018 1px, transparent 1px) !important;
	background-size: 22px 22px !important;
	background-attachment: fixed;
}

body #main,
body .site-main,
body .content-area {
	background-color: transparent;
}

/* Fliesstext der Rechtsseiten lesbar und nicht zu breit.
   17.09.2026, zweiter Anlauf: gilt ausdruecklich NICHT fuer Warenkorb, Kasse, Konto und
   Startseite. Die 72 Zeichen haben dort die Tabellen zusammengequetscht, im Warenkorb stand
   "Subtot al" und "€ 37,8 0" untereinander. */
.page:not(.woocommerce-page):not(.home) .entry-content {
	color: #161512;
	max-width: 72ch;
}

.page:not(.woocommerce-page):not(.home) .entry-content h2 {
	font-family: 'Archivo Black', 'Archivo', sans-serif;
	font-size: clamp(20px, 3vw, 26px);
	margin-top: 1.8em;
}

.page:not(.woocommerce-page):not(.home) .entry-content a {
	color: #992014;
}

/* Inhalt der Seiten hatte keinen Rand, der Text klebte am linken Fensterrand (17.09.2026). */
.page:not(.woocommerce-page):not(.home) .entry-content {
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

/* Footer-Menue bricht am Handy um, statt seitlich aus dem Bild zu laufen (17.09.2026).
   Mit acht Eintraegen passte es sonst nicht mehr in 390 px. */
.ct-footer .footer-menu-inline > ul,
.ct-footer [data-id="menu"] ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	row-gap: 4px;
}

@media (max-width: 800px) {
	.ct-footer [data-id="menu"] .ct-menu-link {
		padding: 8px 10px;
	}
}

/* Footer am Handy: die obere Zeile stand mit 861 px in drei Spalten nebeneinander und lief
   aus dem 390 px breiten Bild (17.09.2026). Jetzt untereinander und mittig. */
@media (max-width: 800px) {
	.ct-footer [data-row] > .ct-container {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		gap: 16px !important;
		width: 100%;
		max-width: 100%;
	}

	.ct-footer [data-column] {
		width: 100% !important;
		max-width: 100%;
		display: flex;
		justify-content: center;
	}

	.ct-footer .menu {
		flex-wrap: wrap !important;
		justify-content: center !important;
		max-width: 100%;
	}
}

/* Brotkrumen auf dem dunklen Band der Produktseite waren grau auf schwarz (17.09.2026). */
.hero-section .ct-breadcrumbs,
.hero-section .ct-breadcrumbs a,
.hero-section .ct-breadcrumbs span {
	color: #C9C0AC;
}

.hero-section .ct-breadcrumbs a:hover {
	color: #F5B700;
}

/* Suche: Eingabefeld und Platzhalter auf dem dunklen Overlay lesbar */
.ct-search-form input[type="search"],
#search-modal input[type="search"] {
	background: #FBF7EE;
	color: #161512;
	border: 2px solid #161512;
	border-radius: 10px;
	min-height: 52px;
}

.ct-search-form input[type="search"]::placeholder,
#search-modal input[type="search"]::placeholder {
	color: #6B6353;
}

/* Warenkorb und Kasse brauchen die volle Breite (17.09.2026). Blocksy gibt Seiteninhalten eine
   Spalte von 640 px; beim Blockwarenkorb fiel das nicht auf, beim klassischen quetscht es die
   Tabelle so zusammen, dass "Subtotal" und "€ 37,80" mitten im Wort umbrechen. */
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-account .entry-content,
body.woocommerce-page .entry-content {
	max-width: 1290px !important;
	width: 100%;
}

body.woocommerce-cart .entry-content > .woocommerce,
body.woocommerce-checkout .entry-content > .woocommerce {
	max-width: 100%;
}

/* Produktname im Warenkorb nicht Buchstabe für Buchstabe umbrechen */
.woocommerce table.shop_table td.product-name,
.woocommerce table.shop_table th {
	word-break: normal;
	overflow-wrap: anywhere;
	min-width: 0;
}

.woocommerce table.shop_table td.product-name {
	min-width: 220px;
}

.woocommerce-cart table.cart td.product-thumbnail img {
	width: 72px;
	height: auto;
}

/* Auswahlpunkte und Kästchen im ganzen Shop in Markenrot, nicht im Browserblau (17.09.2026).
   Gemessen war der Punkt bei "Card, Klarna & wallets" blau. */
input[type="radio"],
input[type="checkbox"] {
	accent-color: #992014 !important;
}

/* Überschriften waren dunkelblau aus der Blocksy-Palette, jetzt Tinte */
h1, h2, h3, h4, h5, h6,
.woocommerce-billing-fields h3,
#order_review_heading,
.cart_totals h2 {
	color: #161512;
}

/* Das Theme zeichnet Auswahlpunkte und Kästchen selbst (appearance:none) und faerbt sie mit
   fest eingebautem #2872FA. accent-color allein reicht deshalb nicht (gemessen 17.09.2026). */
input[type="radio"]:checked,
input[type="checkbox"]:checked {
	background-color: #992014 !important;
	border-color: #992014 !important;
}

input[type="radio"]:not(:checked),
input[type="checkbox"]:not(:checked) {
	border-color: #161512 !important;
}

/* Brotkrumen auf dem dunklen Band hatten #524B3D auf #161512, also Kontrast 2,1:1
   (17.09.2026 gemessen). Jetzt 9,1:1. Stärkerer Selektor, weil eine Produktdatei die Farbe
   mit !important setzt. */
body .hero-section .ct-breadcrumbs,
body .hero-section .ct-breadcrumbs *,
body .hero-section nav[aria-label="Breadcrumbs"] * {
	color: #C9C0AC !important;
}

body .hero-section .ct-breadcrumbs a:hover,
body .hero-section .ct-breadcrumbs a:focus {
	color: #F5B700 !important;
}


/* Hinweis, wenn der Kaufknopf gesperrt ist, weil Farbe oder Groesse fehlt (20.09.2026).
   Ohne ihn passiert beim Tippen sichtbar nichts, am Handy der haeufigste stille Abbruch. */
.hrz-wahl-hinweis {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translate(-50%, 12px);
	z-index: 99999;
	max-width: calc(100vw - 32px);
	padding: 12px 18px;
	border-radius: 999px;
	background: #16150F;
	color: #FBF7EE;
	font-size: 15px;
	line-height: 1.3;
	box-shadow: 0 8px 24px rgba(22, 21, 18, 0.25);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.hrz-wahl-hinweis.ist-da {
	opacity: 1;
	transform: translate(-50%, 0);
}

.hrz-size-pills.hrz-blinkt .hrz-size-pill {
	animation: hrz-blinken 0.45s ease-in-out 3;
}

@keyframes hrz-blinken {
	50% { border-color: #992014; box-shadow: 0 0 0 3px rgba(153, 32, 20, 0.18); }
}

@media (prefers-reduced-motion: reduce) {
	.hrz-size-pills.hrz-blinkt .hrz-size-pill { animation: none; border-color: #992014; }
	.hrz-wahl-hinweis { transition: none; }
}

/* EU-Gewaehrleistungslabel (25.09.2026, Pflicht ab 27.09.2026): Satz als Aufklapper, das Label in
   voller Breite bis 560px, nie kleiner als die Spalte. Farben des Labels selbst bleiben unberuehrt. */
.hrz-gewaehr {
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	color: #524B3D;
	margin: 6px 0 14px 0;
}
.hrz-gewaehr summary {
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
	width: fit-content;
}
.hrz-gewaehr img {
	display: block;
	width: 100%;
	max-width: 560px;
	height: auto;
	margin: 10px 0 6px;
	background: #fff;
}
.hrz-gewaehr a {
	color: inherit;
}
.hrz-gewaehr-fuss {
	width: var(--hrz-weite, min(100%, 90vw));
	max-width: var(--hrz-breite, 1290px);
	margin: 28px auto 0;
	color: inherit;
}
/* Immer offene Fassung (25.09.2026 abends): Titel statt Aufklapper */
.hrz-gewaehr-titel {
	margin: 0 0 8px;
	font-weight: 700;
}
.hrz-gewaehr-kasse {
	margin-top: 24px;
}
