/* ==================================================================
   MakerBoard-Onlineshop — Oberfläche "Werkstattbogen"
   seit 2.0.0: vollständig neu. Grund: die Fassungen bis 1.7.0 sahen
   aus wie ein Standardbaukasten (runde Karten, Schatten, drei
   gleiche Kacheln). Gestaltungsprinzip ist jetzt das technische
   Datenblatt: schmale Mono-Beschriftungen, Haarlinien statt Kästen,
   keine Rundungen, keine Schatten, zwei Akzente.

   Aufbau dieser Datei
     1. Grundwerte (Farben, Schrift, Abstände)
     2. Grundgerüst und Wiederholungen (Band, Bahn, Knopf, Hinweis)
     3. Kopf: Marke, Suche, Mega-Menü, Mini-Warenkorb
     4. Startseite
     5. Liste: Filter, Sortierung, Artikelkachel
     6. Artikelseite
     7. Warenkorb, Kasse, Bestätigung
     8. Konto, Bestellungen, Rechnungen, Adressen
     9. Rechtstexte, Einrichtung, Fehlerseiten
    10. Vertrauensband und Fuß
    11. Hilfsklassen, Tabellen, Formulare
    12. Druck und Rücksichtnahme (reduzierte Bewegung)

   Farben kommen aus den Grundwerten, nie aus der Regel. Die
   Akzentfarbe des Betreibers (--accent, gesetzt im Kopf der Seite)
   ersetzt den Rostton, wenn sie gepflegt ist.
   ================================================================== */

/* ------------------------------------------------- 1. Grundwerte */
:root {
	--papier: #f4f1ea;        /* Grundfläche, warmes Papier */
	--papier-tief: #eae5da;   /* abgesetzte Flächen, Bänder */
	--weiss: #ffffff;         /* Karten, Eingabefelder */
	--tinte: #1c1a17;         /* Text und starke Linien */
	--tinte-matt: #6a655c;    /* Nebentext und Beschriftungen */
	--linie: #cfc8b9;         /* Haarlinien */
	--rost: #b4451f;          /* Akzent 1: Preis, Aktion */
	--moos: #3f6b43;          /* Akzent 2: auf Lager, Erfolg */
	--warn: #8a5a00;          /* Warnung, dritter Ton nur für Meldungen */

	/*
	 * Der Betreiber kann in MakerBoard eine Akzentfarbe hinterlegen; sie steht dann als --accent
	 * im Kopf der Seite. Ohne Angabe bleibt es beim Rostton des Entwurfs.
	 */
	--accent: #b4451f;

	--mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
	--sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--s1: 4px;
	--s2: 8px;
	--s3: 12px;
	--s4: 16px;
	--s5: 24px;
	--s6: 32px;
	--s7: 48px;
	--s8: 72px;
	--rand: 16px;             /* Seitenrand auf dem Telefon */
	--bahn: 1180px;           /* Breite des Satzspiegels */

	/* Linien der Bildfläche; in der dunklen Fassung hell statt dunkel */
	--textur: rgba(28, 26, 23, .06);

	/* Höhe des Logos im Kopf, seit 2.0.1 */
	--logo: 72px;
	--logo-klein: 52px;
}

/*
 * Dunkles Erscheinungsbild. Es gab es seit 1.5.0 und bleibt: dasselbe Blatt, nur in dunklem Papier
 * mit heller Tinte. Gesetzt werden ausschließlich die Grundwerte — keine Regel kennt zwei Farben.
 * Eine vom Betreiber gepflegte Akzentfarbe gilt auch hier, sie wird im Kopf der Seite gesetzt.
 */
@media (prefers-color-scheme: dark) {
	:root {
		--papier: #1a1816;
		--papier-tief: #232019;
		--weiss: #221f1b;
		--tinte: #ece7dc;
		--tinte-matt: #a7a096;
		--linie: #3d382f;
		--rost: #e0693c;
		--moos: #83b47a;
		--warn: #d6a24a;
		--accent: #e0693c;
		--textur: rgba(236, 231, 220, .05);
	}

	.flag {
		background: var(--tinte);
		color: var(--papier);
	}

	.button.primary,
	.quickBuy,
	.schnellkauf {
		background: var(--tinte);
		color: var(--papier);
	}

	.colorDot,
	.swatches li,
	.swatches i {
		border-color: rgba(236, 231, 220, .35);
	}

	.drawerBack {
		background: rgba(0, 0, 0, .6);
	}
}

* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--papier);
	color: var(--tinte);
	font: 16px/1.55 var(--sans);
}

img {
	max-width: 100%;
	display: block;
	height: auto;
}

a {
	color: inherit;
}

main a:not(.button):not(.linkButton):not(.brand) {
	text-decoration-color: var(--linie);
	text-underline-offset: 2px;
}

main a:not(.button):not(.linkButton):hover {
	text-decoration-color: var(--accent);
}

h1, h2, h3, h4 {
	letter-spacing: -.01em;
	line-height: 1.2;
}

h1 {
	font-size: clamp(25px, 4.4vw, 34px);
	margin: 0 0 var(--s4);
	max-width: 24ch;
}

h2 {
	font-size: 21px;
	margin: var(--s7) 0 var(--s4);
}

h3 {
	font-size: 17px;
	margin: var(--s5) 0 var(--s2);
}

/* Erster Abschnitt nach der Überschrift soll nicht doppelt Luft bekommen */
h1 + h2,
h1 + section > h2:first-child {
	margin-top: var(--s5);
}

/* Sichtbarer Fokus überall — Tastatur ist gleichwertig zur Maus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* ------------------------- 2. Grundgerüst und Wiederholungen */

/* Satzspiegel. Eine Klasse, überall dieselbe Breite. */
.wrap {
	max-width: var(--bahn);
	margin: 0 auto;
	padding: 0 var(--rand);
}

/*
 * Mono-Beschriftung: das wiederkehrende Motiv. Steht an Datenfeldern, Bändern und Knöpfen und
 * ersetzt die sonst üblichen Symbole — Zeichen statt Bild.
 */
.label,
.sku,
.vatNote,
.basePrice {
	font: 500 11px/1.5 var(--mono);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--tinte-matt);
}

.sku,
.vatNote,
.basePrice {
	letter-spacing: .06em;
	text-transform: none;
}

main {
	padding-bottom: var(--s8);
}

main > h1:first-child,
main > .intro:first-child {
	margin-top: var(--s6);
}

/* Erster Tabulatorsprung geht an Suche und Navigation vorbei */
.skipLink {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--tinte);
	color: var(--papier);
	padding: var(--s2) var(--s4);
	z-index: 40;
	font: 500 12px var(--mono);
}

.skipLink:focus {
	left: 0;
}

/* Knopf. Kantig, Mono, zwei Stufen: gefüllt (Hauptweg) und hohl. */
.button,
button[type="submit"]:not(.linkButton):not(.quickBuy):not(.searchForm button),
.linkButton {
	font: 500 12px/1 var(--mono);
	letter-spacing: .1em;
	text-transform: uppercase;
}

.button {
	display: inline-block;
	text-decoration: none;
	padding: 12px var(--s5);
	border: 1px solid var(--tinte);
	background: none;
	color: var(--tinte);
	cursor: pointer;
	text-align: center;
}

.button:hover {
	background: var(--tinte);
	color: var(--papier);
}

.button.primary {
	background: var(--tinte);
	color: var(--papier);
}

.button.primary:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--weiss);
}

.button.big {
	padding: 15px var(--s6);
	font-size: 13px;
	width: 100%;
}

@media (min-width: 620px) {
	.button.big {
		width: auto;
	}
}

.button[disabled],
.button.isDisabled {
	border-color: var(--linie);
	color: var(--tinte-matt);
	cursor: not-allowed;
}

/* Textknopf in Tabellen ("entfernen"): sieht aus wie ein Verweis, ist ein Formularknopf */
.linkButton {
	border: 0;
	background: none;
	padding: 0;
	color: var(--tinte-matt);
	cursor: pointer;
	border-bottom: 1px solid var(--linie);
}

.linkButton:hover {
	color: var(--accent);
	border-bottom-color: var(--accent);
}

.buttonRow,
.cartActions,
.addressActions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s3);
	align-items: center;
	margin: var(--s4) 0;
}

.backLink {
	margin: var(--s5) 0 0;
	font: 500 11px var(--mono);
	letter-spacing: .1em;
	text-transform: uppercase;
}

.more {
	margin: var(--s6) 0 0;
}

/* Hinweise. Linke Kante in der Farbe, sonst Papier — keine bunten Kästen. */
.notice {
	margin: var(--s4) 0;
	padding: var(--s3) var(--s4);
	background: var(--weiss);
	border: 1px solid var(--linie);
	border-left: 3px solid var(--tinte-matt);
	font-size: 15px;
}

.noticeInfo {
	border-left-color: var(--tinte);
}

.noticeSuccess {
	border-left-color: var(--moos);
}

.noticeWarning {
	border-left-color: var(--warn);
}

.noticeError {
	border-left-color: var(--rost);
}

.hint {
	margin: var(--s2) 0;
	font-size: 13.5px;
	color: var(--tinte-matt);
}

.hint.warning {
	color: var(--rost);
}

.empty {
	margin: var(--s5) 0;
	padding: var(--s6) var(--s4);
	border: 1px dashed var(--linie);
	text-align: center;
	color: var(--tinte-matt);
}

/* --------------------------------------------------------- 3. Kopf */

/* Meldeband über dem Kopf: Versand, Zahlung, Herkunft — die Trust-Leiste */
.topBar {
	border-bottom: 1px solid var(--linie);
	background: var(--papier-tief);
	font: 500 11px/1.6 var(--mono);
	letter-spacing: .08em;
	color: var(--tinte-matt);
}

.topBar .wrap {
	display: flex;
	gap: var(--s5);
	justify-content: space-between;
	padding-top: 7px;
	padding-bottom: 7px;
	overflow-x: auto;
	scrollbar-width: none;
}

.topBar .wrap::-webkit-scrollbar {
	display: none;
}

.topBar p {
	margin: 0;
	white-space: nowrap;
}

.siteHeader {
	background: var(--papier);
	border-bottom: 1px solid var(--tinte);
}

.headerRow {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: var(--s3) var(--s4);
	padding-top: var(--s3);
	padding-bottom: var(--s3);
}

@media (min-width: 860px) {
	.headerRow {
		grid-template-columns: auto minmax(220px, 1fr) auto;
		padding-top: var(--s4);
		padding-bottom: var(--s4);
	}
}

.brand {
	display: flex;
	align-items: baseline;
	gap: var(--s2);
	text-decoration: none;
	flex-wrap: wrap;
}

/*
 * seit 2.0.1: Das Logo war mit 38 px zu klein (Marcus, 25.11.2026). Die Höhe steht als Grundwert
 * --logo, damit sie an einer Stelle zu ändern ist; auf dem Telefon bleibt sie kleiner, sonst
 * drückt sie die Suche aus der Zeile.
 */
.brand img {
	max-height: var(--logo-klein);
	width: auto;
}

@media (min-width: 860px) {
	.brand img {
		max-height: var(--logo);
	}
}

.brandName {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -.01em;
}

.brandClaim {
	font: 500 10px/1 var(--mono);
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--tinte-matt);
}

/* Suche: ein Kasten mit harter Kante, Knopf als Mono-Wort */
.searchForm {
	display: flex;
	border: 1px solid var(--tinte);
	background: var(--weiss);
	position: relative;
	grid-column: 1 / -1;
	order: 3;
}

@media (min-width: 860px) {
	.searchForm {
		grid-column: auto;
		order: 0;
	}
}

.searchForm input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 0;
	background: none;
	padding: 10px var(--s3);
	font: 15px var(--sans);
}

.searchForm input[type="search"]:focus {
	outline: 2px solid var(--accent);
	outline-offset: -2px;
}

.searchForm button {
	border: 0;
	border-left: 1px solid var(--linie);
	background: none;
	padding: 0 var(--s4);
	cursor: pointer;
	font: 500 11px var(--mono);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--tinte);
}

.searchForm button:hover {
	background: var(--tinte);
	color: var(--papier);
}

/*
 * Vorschläge zur Suche (seit 2.0.0). Sie kommen aus demselben Shop über p=suggest; ohne
 * JavaScript bleibt die Suche ein gewöhnliches Formular und diese Liste erscheint nie.
 */
.suggestBox {
	position: absolute;
	top: 100%;
	left: -1px;
	right: -1px;
	z-index: 30;
	background: var(--weiss);
	border: 1px solid var(--tinte);
	border-top: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	max-height: 60vh;
	overflow-y: auto;
}

.suggestBox:empty,
.suggestBox[hidden] {
	display: none;
}

.suggestBox li + li {
	border-top: 1px dotted var(--linie);
}

.suggestBox a {
	display: flex;
	justify-content: space-between;
	gap: var(--s3);
	align-items: baseline;
	padding: var(--s2) var(--s3);
	text-decoration: none;
	font-size: 14.5px;
}

.suggestBox a:hover,
.suggestBox a:focus,
.suggestBox [aria-selected="true"] a {
	background: var(--papier-tief);
}

.suggestBox .price {
	font: 500 13px var(--mono);
	color: var(--accent);
	white-space: nowrap;
	margin: 0;
}

.headerNav {
	display: flex;
	align-items: center;
	gap: var(--s4);
	justify-self: end;
}

.headerNav > a {
	text-decoration: none;
	font: 500 11px var(--mono);
	letter-spacing: .1em;
	text-transform: uppercase;
	border-bottom: 1px solid transparent;
	padding-bottom: 2px;
}

.headerNav > a:hover {
	border-bottom-color: var(--accent);
}

.cartLink {
	display: inline-flex;
	align-items: center;
	gap: var(--s2);
	border: 1px solid var(--tinte);
	padding: 9px var(--s3);
}

.cartLink:hover {
	background: var(--tinte);
	color: var(--papier);
	border-bottom-color: var(--tinte) !important;
}

.badge {
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 600;
	min-width: 20px;
	text-align: center;
	background: var(--accent);
	color: var(--weiss);
	padding: 0 5px;
}

/* Kategorien als Reiterzeile, Mega-Menü als Klapptafel darunter */
.categoryNav {
	border-bottom: 1px solid var(--linie);
	background: var(--papier);
}

.categoryNav .wrap {
	display: flex;
	gap: var(--s5);
	overflow-x: auto;
	scrollbar-width: none;
}

.categoryNav .wrap::-webkit-scrollbar {
	display: none;
}

.categoryNav a {
	padding: 11px 0;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	font-size: 15px;
}

.categoryNav a:hover {
	border-bottom-color: var(--tinte);
}

.categoryNav a[aria-current] {
	border-bottom-color: var(--accent);
	font-weight: 600;
}

.megaWrap {
	position: relative;
}

.megaToggle {
	display: inline-flex;
	align-items: center;
	gap: var(--s2);
	padding: 11px 0;
	border: 0;
	background: none;
	cursor: pointer;
	font: 500 11px var(--mono);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--tinte);
	border-bottom: 2px solid transparent;
	white-space: nowrap;
}

.megaToggle[aria-expanded="true"] {
	border-bottom-color: var(--accent);
}

.megaPanel {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 25;
	min-width: min(680px, 94vw);
	background: var(--weiss);
	border: 1px solid var(--tinte);
	padding: var(--s5);
	display: grid;
	gap: var(--s4) var(--s5);
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.megaPanel[hidden] {
	display: none;
}

.megaPanel h4 {
	margin: 0 0 var(--s2);
	font: 500 10px var(--mono);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--tinte-matt);
	border-bottom: 1px solid var(--linie);
	padding-bottom: var(--s1);
}

.megaPanel ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.megaPanel li {
	padding: 3px 0;
}

.megaPanel a {
	text-decoration: none;
	font-size: 14.5px;
	border-bottom: 1px solid transparent;
}

.megaPanel a:hover {
	border-bottom-color: var(--accent);
}

/*
 * Mini-Warenkorb als Schublade von rechts (seit 2.0.0). Inhalt wird beim Öffnen geholt;
 * ohne JavaScript führt derselbe Knopf einfach auf die Warenkorbseite.
 */
.drawer {
	position: fixed;
	inset: 0;
	z-index: 50;
	display: none;
}

.drawer.isOpen {
	display: block;
}

.drawerBack {
	position: absolute;
	inset: 0;
	background: rgba(28, 26, 23, .45);
	border: 0;
	width: 100%;
	cursor: pointer;
}

.drawerPanel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(420px, 92vw);
	background: var(--papier);
	border-left: 1px solid var(--tinte);
	display: flex;
	flex-direction: column;
	padding: var(--s4);
	overflow-y: auto;
}

.drawerHead {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--s3);
	border-bottom: 1px solid var(--tinte);
	padding-bottom: var(--s3);
	margin-bottom: var(--s3);
}

.drawerHead h2 {
	margin: 0;
	font-size: 17px;
}

.drawerClose {
	border: 1px solid var(--linie);
	background: none;
	cursor: pointer;
	padding: 4px var(--s2);
	font: 500 11px var(--mono);
	letter-spacing: .1em;
	text-transform: uppercase;
}

.drawerClose:hover {
	border-color: var(--tinte);
}

.drawerList {
	list-style: none;
	margin: 0 0 var(--s4);
	padding: 0;
	flex: 1;
}

.drawerList li {
	display: grid;
	grid-template-columns: 48px 1fr auto;
	gap: var(--s3);
	align-items: start;
	padding: var(--s3) 0;
	border-bottom: 1px dotted var(--linie);
	font-size: 14px;
}

.drawerList img {
	border: 1px solid var(--linie);
}

.drawerList .qty {
	font: 500 11px var(--mono);
	color: var(--tinte-matt);
}

.drawerSum {
	display: flex;
	justify-content: space-between;
	gap: var(--s3);
	border-top: 1px solid var(--tinte);
	padding-top: var(--s3);
	font-weight: 600;
}

.drawerFoot {
	display: grid;
	gap: var(--s2);
	margin-top: var(--s3);
}

/* -------------------------------------------------- 4. Startseite */

/*
 * Aufmacher: 7/5 statt halbe/halbe. Links der Text, rechts ein Datenblatt mit den Angaben,
 * die der Shop wirklich kennt (Versand, Zahlung, Herkunft) — keine Werbekachel.
 */
.intro {
	border-bottom: 1px solid var(--linie);
	padding: var(--s6) 0 var(--s6);
	display: grid;
	gap: var(--s6);
	margin-bottom: var(--s6);
}

/*
 * seit 2.0.1: Zwei Spalten nur, wenn rechts wirklich etwas steht. Ohne das Datenblatt bliebe sonst
 * eine halbe leere Spalte, und die Überschrift stünde unnötig schmal.
 */
@media (min-width: 900px) {
	.intro:has(> * + *) {
		grid-template-columns: 7fr 5fr;
		align-items: end;
	}
}

.intro h1 {
	margin: var(--s3) 0 var(--s4);
	font-size: clamp(30px, 5.2vw, 46px);
	line-height: 1.08;
	letter-spacing: -.02em;
	max-width: 16ch;
}

.intro p {
	margin: 0 0 var(--s5);
	max-width: 48ch;
	color: #403c36;
}

.intro .buttonRow {
	margin-bottom: 0;
}

.sectionHead {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s3);
	align-items: baseline;
	justify-content: space-between;
	border-bottom: 1px solid var(--tinte);
	padding-bottom: var(--s3);
	margin: var(--s7) 0 var(--s5);
}

.sectionHead h2 {
	margin: 0;
}

.sectionHead a {
	font: 500 11px var(--mono);
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 1px solid var(--linie);
}

.sectionHead a:hover {
	border-bottom-color: var(--accent);
}

/* ------------------------------- 5. Liste, Filter, Artikelkachel */

.breadcrumb {
	margin: var(--s5) 0 var(--s4);
	font-size: 13.5px;
	color: var(--tinte-matt);
}

.breadcrumb ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--s2);
}

.breadcrumb li + li::before {
	content: "/";
	margin-right: var(--s2);
	color: var(--linie);
}

.breadcrumb a {
	text-decoration: none;
	border-bottom: 1px solid var(--linie);
}

.breadcrumb a:hover {
	border-bottom-color: var(--accent);
}

/* Listenseite: Filterspalte links, Ergebnis rechts. Auf dem Telefon klappt der Filter zu. */
.listing {
	display: grid;
	gap: var(--s6);
	align-items: start;
}

@media (min-width: 900px) {
	.listing {
		grid-template-columns: 220px 1fr;
	}
}

.filterSidebar section {
	padding-bottom: var(--s4);
	margin-bottom: var(--s4);
	border-bottom: 1px solid var(--linie);
}

.filterSidebar section:last-child {
	border-bottom: 0;
}

.filterSidebar h2,
.filterSidebar h3 {
	margin: 0 0 var(--s3);
	font: 500 11px var(--mono);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--tinte-matt);
}

.filterSidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.filterSidebar li {
	padding: 3px 0;
}

.filterSidebar a,
.filterSidebar label {
	display: flex;
	gap: var(--s2);
	align-items: center;
	text-decoration: none;
	font-size: 14.5px;
	cursor: pointer;
}

.filterSidebar a[aria-current] {
	font-weight: 600;
	color: var(--accent);
}

.filterSidebar .count {
	margin-left: auto;
	font: 400 12px var(--mono);
	color: var(--tinte-matt);
}

.filterSidebar input[type="number"] {
	width: 100%;
}

/* Auf dem Telefon ist der Filter ein Aufklapper, am Rechner immer offen */
.filterSidebar > details {
	border: 1px solid var(--linie);
	background: var(--weiss);
	padding: var(--s3) var(--s4);
}

.filterSidebar > details > summary {
	cursor: pointer;
	font: 500 11px var(--mono);
	letter-spacing: .12em;
	text-transform: uppercase;
	list-style: none;
}

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

.filterSidebar > details > summary::after {
	content: " +";
}

.filterSidebar > details[open] > summary::after {
	content: " –";
}

@media (min-width: 900px) {
	.filterSidebar > details {
		border: 0;
		background: none;
		padding: 0;
	}

	.filterSidebar > details > summary {
		display: none;
	}
}

.listingHead {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s3);
	align-items: baseline;
	justify-content: space-between;
	padding-bottom: var(--s3);
	border-bottom: 1px solid var(--tinte);
	margin-bottom: var(--s5);
}

.listingHead h1 {
	margin: 0;
	font-size: clamp(22px, 3.4vw, 28px);
}

.resultCount {
	margin: 0;
	font: 500 11px var(--mono);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tinte-matt);
}

.sortForm {
	margin: 0;
	display: flex;
	align-items: center;
	gap: var(--s2);
}

.sortForm label {
	display: flex;
	align-items: center;
	gap: var(--s2);
	font: 500 11px var(--mono);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tinte-matt);
}

/* Artikelkachel: Bauteilkarte mit Feldtabelle. Kein Schatten, keine Rundung. */
.productGrid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--s4);
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.productCard {
	position: relative;
	border: 1px solid var(--linie);
	background: var(--weiss);
	display: flex;
	flex-direction: column;
}

.productCard:hover,
.productCard:focus-within {
	border-color: var(--tinte);
}

.productCard:hover .quickBuy,
.productCard:focus-within .quickBuy {
	opacity: 1;
	transform: translateY(0);
}

.cardImage {
	display: block;
	aspect-ratio: 4 / 3;
	border-bottom: 1px solid var(--linie);
	position: relative;
	overflow: hidden;
	/* Schichtlinien: erinnert an den Druck, ohne Bild zu sein */
	background:
		repeating-linear-gradient(0deg, var(--textur) 0 1px, transparent 1px 9px),
		var(--papier-tief);
}

.cardImage img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: var(--s3);
}

.noImage {
	position: absolute;
	left: var(--s3);
	bottom: var(--s3);
	font: 500 10px var(--mono);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--tinte-matt);
}

.noImage.big {
	position: static;
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	border: 1px solid var(--linie);
	background:
		repeating-linear-gradient(0deg, var(--textur) 0 1px, transparent 1px 9px),
		var(--papier-tief);
}

/* Auszeichnung oben links: Angebot, neu, Ausführungen */
.flags {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.flag {
	background: var(--tinte);
	color: var(--papier);
	padding: 4px var(--s2);
	font: 500 10px/1.4 var(--mono);
	letter-spacing: .12em;
	text-transform: uppercase;
}

.flag.deal {
	background: var(--accent);
	color: var(--weiss);
}

.flag.fresh {
	background: var(--moos);
	color: var(--weiss);
}

.cardBody {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.productCard h3 {
	margin: 0;
	padding: var(--s3) var(--s3) var(--s2);
	font-size: 16px;
	line-height: 1.3;
}

.productCard h3 a {
	text-decoration: none;
}

.productCard h3 a:hover {
	color: var(--accent);
}

.teaser {
	margin: 0;
	padding: 0 var(--s3) var(--s2);
	font-size: 13.5px;
	color: var(--tinte-matt);
}

/* Felder der Kachel: Beschriftung in Mono, Wert daneben */
.fieldList {
	margin: 0;
	padding: 0 var(--s3) var(--s3);
	font-size: 13px;
}

.fieldList .row {
	display: flex;
	gap: var(--s2);
	padding: 2px 0;
}

.fieldList dt {
	margin: 0;
	width: 8.5ch;
	flex: none;
	font: 500 10px/1.7 var(--mono);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tinte-matt);
}

.fieldList dd {
	margin: 0;
}

/* Lagerstatus: der zweite Akzent, nie als bunter Kasten */
.availability {
	margin: 0;
	font-size: 13.5px;
	font-weight: 500;
}

.availability.ok {
	color: var(--moos);
}

.availability.low {
	color: var(--warn);
}

.availability.no {
	color: var(--rost);
}

.fieldList .availability {
	font-size: 13px;
}

/* Farbtupfer als Vorschau der Ausführungen */
.swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	padding: 0 var(--s3) var(--s3);
	margin: 0;
	list-style: none;
}

.swatches li,
.swatches i {
	width: 17px;
	height: 17px;
	display: block;
	border: 1px solid rgba(28, 26, 23, .35);
}

.swatches .rest {
	width: auto;
	height: auto;
	border: 0;
	font: 500 10px/17px var(--mono);
	color: var(--tinte-matt);
}

.priceRow {
	margin-top: auto;
	padding: var(--s3);
	border-top: 1px dotted var(--linie);
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--s2);
	flex-wrap: wrap;
}

.price {
	margin: 0;
	font-size: 19px;
	font-weight: 600;
	color: var(--accent);
	white-space: nowrap;
}

.price del {
	font: 400 13px var(--mono);
	color: var(--tinte-matt);
	margin-left: var(--s2);
}

.price.big {
	font-size: 28px;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--s3);
	margin: var(--s4) 0 var(--s2);
}

.price.big strong {
	font-weight: 600;
}

.price.big del {
	font-size: 15px;
	margin: 0;
}

.vatNote {
	display: block;
	width: 100%;
	font-size: 11.5px;
	line-height: 1.5;
}

.price.big .vatNote {
	font-size: 12.5px;
}

/*
 * seit 2.1.0: Mass, Gewicht und Versandhinweis der gewaehlten Ausfuehrung. Leer bleibt die Zeile
 * unsichtbar, weil :empty keine Hoehe bekommt - sonst stand eine Luecke unter der Auswahl.
 */
.variantNote {
	margin: calc(var(--s1) * -1) 0 var(--s3);
	font-size: 12.5px;
	color: var(--tinte-matt);
	font-family: var(--mono);
}

.variantNote:empty {
	display: none;
}

.basePrice,
.freeShipping {
	margin: var(--s1) 0;
	font-size: 12.5px;
}

.freeShipping {
	font-family: var(--mono);
	color: var(--moos);
	letter-spacing: .04em;
}

/* Schnellkauf: erscheint auf der Kachel beim Überfahren, am Telefon immer sichtbar */
.quickBuy {
	opacity: 0;
	transform: translateY(4px);
	transition: opacity .12s ease, transform .12s ease;
	border: 0;
	border-top: 1px solid var(--tinte);
	background: var(--tinte);
	color: var(--papier);
	padding: 11px;
	cursor: pointer;
	width: 100%;
	font: 500 11px var(--mono);
	letter-spacing: .12em;
	text-transform: uppercase;
}

/* Derselbe Knopf als Verweis, wenn erst auf der Artikelseite gewählt wird */
a.quickBuy {
	display: block;
	text-align: center;
	text-decoration: none;
}

.quickBuy:hover {
	background: var(--accent);
	color: var(--weiss);
}

@media (hover: none) {
	.quickBuy {
		opacity: 1;
		transform: none;
	}
}

/* Blättern: Zahlen in Kästchen, aktuelle Seite gefüllt */
.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s2);
	margin: var(--s6) 0 0;
}

.pagination a,
.pagination .current {
	min-width: 38px;
	padding: 8px var(--s2);
	text-align: center;
	text-decoration: none;
	border: 1px solid var(--linie);
	font: 500 13px var(--mono);
}

.pagination a:hover {
	border-color: var(--tinte);
}

.pagination .current {
	background: var(--tinte);
	color: var(--papier);
	border-color: var(--tinte);
}

/* ---------------------------------------------- 6. Artikelseite */

.productDetail {
	display: grid;
	gap: var(--s6);
	align-items: start;
	margin-top: var(--s4);
}

@media (min-width: 900px) {
	.productDetail {
		/* Asymmetrisch: Bild etwas schmaler als der Text, nicht halbe/halbe */
		grid-template-columns: 5fr 6fr;
		gap: var(--s7);
	}
}

@media (min-width: 900px) {
	/* Die Bilder bleiben stehen, während der Text läuft — nur dort, wo zwei Spalten sind */
	.gallery {
		position: sticky;
		top: var(--s4);
	}
}

.mainImage {
	width: 100%;
	border: 1px solid var(--linie);
	background: var(--weiss);
	aspect-ratio: 1 / 1;
	object-fit: contain;
	padding: var(--s4);
}

.thumbs {
	list-style: none;
	margin: var(--s2) 0 0;
	padding: 0;
	display: grid;
	gap: var(--s2);
	grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
}

.thumbs img {
	border: 1px solid var(--linie);
	background: var(--weiss);
	aspect-ratio: 1 / 1;
	object-fit: contain;
	padding: var(--s1);
	cursor: pointer;
	width: 100%;
}

.thumbs img:hover {
	border-color: var(--tinte);
}

.productInfo h1 {
	font-size: clamp(24px, 3.6vw, 32px);
	margin-bottom: var(--s2);
	max-width: 28ch;
}

.productInfo .sku {
	margin: 0 0 var(--s4);
}

/* Kaufen: Auswahl und Menge als Datenblattzeilen, Knopf über die ganze Breite */
.buyForm {
	border: 1px solid var(--tinte);
	background: var(--weiss);
	padding: var(--s4);
	margin: var(--s5) 0;
	display: grid;
	gap: var(--s3);
}

.buyForm label {
	display: grid;
	gap: var(--s1);
	font: 500 11px var(--mono);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tinte-matt);
}

.buyForm label .hint {
	text-transform: none;
	letter-spacing: 0;
	font-family: var(--sans);
}

.buyForm select,
.buyForm input[type="number"] {
	font: 15px var(--sans);
	color: var(--tinte);
}

.buyForm input[type="number"] {
	max-width: 7em;
}

.buyForm button[type="submit"] {
	margin-top: var(--s2);
}

/* Farbwahl: echte Farbwerte aus MakerBoard als Feld neben dem Namen (seit 2.0.0) */
.colorPart {
	border: 0;
	border-top: 1px dotted var(--linie);
	padding: var(--s3) 0 0;
	margin: 0;
}

.colorPart legend {
	padding: 0;
	font: 500 11px var(--mono);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tinte-matt);
}

.colorChoices {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s2);
	margin-top: var(--s2);
}

.colorChoice {
	display: flex !important;
	align-items: center;
	gap: var(--s2);
	border: 1px solid var(--linie);
	padding: 6px var(--s2);
	cursor: pointer;
	font: 400 13.5px var(--sans) !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: var(--tinte) !important;
}

.colorChoice:hover {
	border-color: var(--tinte);
}

.colorChoice:has(input:checked) {
	border-color: var(--tinte);
	box-shadow: inset 0 0 0 1px var(--tinte);
}

.colorChoice.isLocked {
	color: var(--tinte-matt) !important;
	border-style: dashed;
	cursor: not-allowed;
}

.colorChoice input {
	width: auto;
	min-height: 0;
	margin: 0;
	accent-color: var(--accent);
}

.colorDot {
	width: 18px;
	height: 18px;
	flex: none;
	border: 1px solid rgba(28, 26, 23, .35);
	background: var(--dot, var(--papier-tief));
}

/* Zweifarbiges Material: die zweite Farbe als Hälfte, keine Spielerei */
.colorDot[data-two] {
	background: linear-gradient(135deg, var(--dot) 0 50%, var(--dot2) 50% 100%);
}

.colorName {
	display: flex;
	align-items: baseline;
	gap: var(--s2);
	flex-wrap: wrap;
}

.colorName .hint {
	margin: 0;
	font-size: 11.5px;
}

/* Staffelpreise als Datenblatt, nicht als Werbung */
.tiers {
	border-collapse: collapse;
	width: 100%;
	max-width: 380px;
	margin: var(--s5) 0;
	border: 1px solid var(--linie);
	background: var(--weiss);
	font-size: 14px;
}

.tiers caption {
	text-align: left;
	padding: var(--s2) var(--s3);
	border: 1px solid var(--linie);
	border-bottom: 0;
	background: var(--papier-tief);
	font: 500 11px var(--mono);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--tinte-matt);
}

.tiers th,
.tiers td {
	padding: var(--s2) var(--s3);
	border-bottom: 1px dotted var(--linie);
	text-align: left;
}

.tiers th {
	font: 500 10px var(--mono);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tinte-matt);
}

.tiers td:last-child,
.tiers th:last-child {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.description {
	margin: var(--s5) 0;
	max-width: 64ch;
}

.description h2,
.description h3 {
	margin-top: var(--s5);
}

.description ul,
.description ol {
	padding-left: 1.3em;
}

.description blockquote {
	margin: var(--s4) 0;
	padding-left: var(--s4);
	border-left: 2px solid var(--linie);
	color: var(--tinte-matt);
}

/* Angaben zum Artikel, Pflichtangaben, Produktpflichten: alles dasselbe Datenblatt */
.productFacts,
.dutyBlock dl {
	margin: var(--s5) 0;
	padding: 0;
	border-top: 1px solid var(--tinte);
}

.productFacts dt,
.dutyBlock dl dt {
	float: left;
	clear: left;
	width: 16ch;
	padding: 8px 0;
	margin: 0;
	font: 500 11px/1.5 var(--mono);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tinte-matt);
}

.productFacts dd,
.dutyBlock dl dd {
	margin: 0 0 0 16ch;
	padding: 8px 0;
	border-bottom: 1px dotted var(--linie);
	font-size: 15px;
}

.productFacts:empty {
	display: none;
}

.productCompliance,
.productDuties {
	margin: var(--s6) 0;
	padding-top: var(--s5);
	border-top: 1px solid var(--linie);
	font-size: 14.5px;
}

.productCompliance h2,
.productDuties h2 {
	margin-top: 0;
	font-size: 17px;
}

.complianceWarning {
	border-left: 3px solid var(--warn);
	padding: var(--s2) var(--s3);
	background: var(--weiss);
}

.complianceOperator {
	margin: var(--s4) 0;
}

.complianceOperator h3 {
	margin: 0 0 var(--s1);
	font: 500 11px var(--mono);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tinte-matt);
}

.complianceOperator p {
	margin: 0;
}

.dutyBlock {
	margin: var(--s4) 0;
}

.dutyBlock h3 {
	margin: 0;
	font-size: 15px;
}

/*
 * Kaufleiste am unteren Rand des Telefons (seit 2.0.0). Sie erscheint, sobald das Formular
 * nach oben aus dem Bild gelaufen ist, und schickt dasselbe Formular ab.
 */
.buyBar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 20;
	display: none;
	gap: var(--s3);
	align-items: center;
	justify-content: space-between;
	padding: var(--s2) var(--rand);
	background: var(--papier);
	border-top: 1px solid var(--tinte);
}

.buyBar.isVisible {
	display: flex;
}

.buyBar .price {
	font-size: 17px;
}

.buyBar button {
	flex: none;
}

@media (min-width: 900px) {
	.buyBar {
		display: none !important;
	}
}

@media (max-width: 899px) {
	/* Platz für die Kaufleiste, damit sie nichts verdeckt */
	main {
		padding-bottom: var(--s8);
	}
}

/* ------------------------------ 7. Warenkorb, Kasse, Bestätigung */

.tableWrap {
	overflow-x: auto;
	border: 1px solid var(--linie);
	background: var(--weiss);
}

.cartTable,
.dataTable,
.methodTable {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
	min-width: 560px;
}

.cartTableTight,
.dataTable {
	min-width: 0;
}

.cartTable thead th,
.dataTable thead th,
.methodTable thead th {
	text-align: left;
	padding: var(--s3);
	border-bottom: 1px solid var(--tinte);
	background: var(--papier-tief);
	font: 500 10px var(--mono);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--tinte-matt);
	white-space: nowrap;
}

.cartTable td,
.dataTable td,
.methodTable td {
	padding: var(--s3);
	border-bottom: 1px dotted var(--linie);
	vertical-align: top;
}

.cartTable tbody tr:last-child td,
.dataTable tbody tr:last-child td {
	border-bottom: 0;
}

.num {
	text-align: right;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.qty {
	font: 500 13px var(--mono);
	color: var(--tinte-matt);
}

.lineProduct {
	display: flex;
	gap: var(--s3);
	align-items: flex-start;
}

.lineProduct img {
	width: 56px;
	height: 56px;
	object-fit: contain;
	border: 1px solid var(--linie);
	background: var(--papier-tief);
	flex: none;
}

.lineText {
	display: grid;
	gap: 2px;
}

.lineText a {
	text-decoration: none;
	font-weight: 500;
	border-bottom: 1px solid var(--linie);
	justify-self: start;
}

.cartTable input[type="number"] {
	width: 5.5em;
	text-align: right;
}

/* Summen: rechtsbündiges Datenblatt, Gesamtzeile mit starker Linie */
.totals {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0 var(--s4);
	margin: var(--s5) 0 var(--s3);
	max-width: 440px;
	margin-left: auto;
}

.totals dt,
.totals dd {
	margin: 0;
	padding: 7px 0;
	border-bottom: 1px dotted var(--linie);
}

.totals dt {
	font: 500 11px/1.6 var(--mono);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--tinte-matt);
}

.totals dd {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.totals .grand {
	border-bottom: 0;
	border-top: 1px solid var(--tinte);
	font-size: 18px;
	font-weight: 600;
	color: var(--tinte);
	padding-top: var(--s3);
}

.totals dd.grand {
	color: var(--accent);
}

/* Kasse: Abschnitte als Bögen mit Nummer in der Beschriftung */
.checkoutForm > section,
.methodForm > section {
	margin: var(--s6) 0;
	padding-top: var(--s4);
	border-top: 1px solid var(--tinte);
}

.checkoutForm > section > h2,
.methodForm > section > h2 {
	margin: 0 0 var(--s4);
	font-size: 18px;
}

.choiceList {
	display: grid;
	gap: var(--s3);
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.methodChoice,
.addressChoice,
.orderChoice {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: var(--s3);
	align-items: start;
	border: 1px solid var(--linie);
	background: var(--weiss);
	padding: var(--s3) var(--s4);
	cursor: pointer;
	font-size: 14.5px;
}

.methodChoice:hover,
.addressChoice:hover {
	border-color: var(--tinte);
}

.methodChoice:focus-within,
.addressChoice:focus-within,
.methodChoice:has(input:checked),
.addressChoice:has(input:checked) {
	border-color: var(--tinte);
	box-shadow: inset 3px 0 0 var(--accent);
}

.methodChoice input,
.addressChoice input,
.orderChoice input,
.terms input {
	/* Auswahlknöpfe behalten ihre eigene Größe — die Regel für Eingabefelder gilt hier nicht */
	width: auto;
	min-height: 0;
	margin: 3px 0 0;
	accent-color: var(--accent);
}

.methodChoice > span,
.addressChoice > span {
	display: grid;
	gap: 2px;
}

.methodPrice {
	font: 500 13px var(--mono);
	color: var(--accent);
}

.shippingMethods,
.paymentMethods,
.methodList {
	display: grid;
	gap: var(--s3);
	margin: var(--s4) 0;
	padding: 0;
	list-style: none;
}

.terms {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: var(--s3);
	align-items: start;
	margin: var(--s5) 0;
	padding: var(--s4);
	border: 1px solid var(--tinte);
	background: var(--weiss);
	font-size: 14.5px;
}

.confirmText,
.paymentInstructions,
.orderNotes {
	margin: var(--s4) 0;
	padding: var(--s4);
	border: 1px solid var(--linie);
	background: var(--weiss);
	font-size: 14.5px;
}

.orderNumber {
	font: 500 13px var(--mono);
	letter-spacing: .06em;
	color: var(--tinte-matt);
	margin: 0 0 var(--s4);
}

.paymentState {
	display: inline-block;
	padding: 2px var(--s2);
	border: 1px solid var(--linie);
	font: 500 10px var(--mono);
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: nowrap;
}

.paymentState.paid,
.paymentState.ok {
	border-color: var(--moos);
	color: var(--moos);
}

.paymentState.pending,
.paymentState.busy {
	border-color: var(--warn);
	color: var(--warn);
}

.paymentState.failed,
.paymentState.refunded {
	border-color: var(--rost);
	color: var(--rost);
}

/* ------------------- 8. Konto, Bestellungen, Rechnungen, Adressen */

.accountNav {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s4);
	padding-bottom: var(--s3);
	border-bottom: 1px solid var(--tinte);
	margin: 0 0 var(--s5);
}

.accountNav a {
	text-decoration: none;
	font: 500 11px var(--mono);
	letter-spacing: .1em;
	text-transform: uppercase;
	border-bottom: 2px solid transparent;
	padding-bottom: var(--s1);
}

.accountNav a:hover {
	border-bottom-color: var(--accent);
}

.addressList {
	display: grid;
	gap: var(--s4);
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	list-style: none;
	margin: var(--s4) 0;
	padding: 0;
}

.addressList > li {
	border: 1px solid var(--linie);
	background: var(--weiss);
	padding: var(--s4);
	font-size: 14.5px;
}

.plainList,
.checkList {
	list-style: none;
	margin: var(--s4) 0;
	padding: 0;
}

.plainList li,
.checkList li {
	padding: var(--s2) 0;
	border-bottom: 1px dotted var(--linie);
}

/* ----------------- 9. Rechtstexte, Einrichtung, Fehlerseiten */

.legalText {
	max-width: 70ch;
	margin: var(--s5) 0;
}

.legalText h2 {
	font-size: 18px;
}

.setupSteps {
	max-width: 70ch;
	margin: var(--s5) 0;
	padding-left: 1.4em;
}

.setupSteps li {
	padding: var(--s2) 0;
}

.setupSteps code,
code {
	font: 13px var(--mono);
	background: var(--papier-tief);
	border: 1px solid var(--linie);
	padding: 1px 5px;
	word-break: break-all;
}

/* --------------------------------- 10. Vertrauensband und Fuß */

.trustBar {
	border-top: 1px solid var(--tinte);
	border-bottom: 1px solid var(--linie);
	background: var(--papier-tief);
}

.trustBar .wrap {
	display: grid;
	gap: var(--s4);
	padding-top: var(--s5);
	padding-bottom: var(--s5);
}

@media (min-width: 760px) {
	.trustBar .wrap {
		grid-template-columns: repeat(4, 1fr);
	}
}

.trustBar h2 {
	margin: 0 0 3px;
	font: 500 11px var(--mono);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--tinte-matt);
}

.trustBar p {
	margin: 0;
	font-size: 14px;
}

.siteFooter {
	padding: var(--s7) 0 var(--s5);
	border-top: 1px solid var(--linie);
	background: var(--papier);
}

.footerGrid {
	display: grid;
	gap: var(--s5);
}

@media (min-width: 760px) {
	.footerGrid {
		grid-template-columns: 2fr 1fr 1fr;
	}
}

.siteFooter h2 {
	margin: 0 0 var(--s3);
	font: 500 11px var(--mono);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--tinte-matt);
}

.footerText {
	margin: 0;
	max-width: 46ch;
	font-size: 14.5px;
}

.footerNav {
	display: grid;
	gap: var(--s1);
}

.footerNav a {
	text-decoration: none;
	border-bottom: 1px solid transparent;
	justify-self: start;
	font-size: 14.5px;
}

.footerNav a:hover {
	border-bottom-color: var(--accent);
}

.footerNote {
	margin: var(--s6) 0 0;
	padding-top: var(--s4);
	border-top: 1px solid var(--linie);
	font-size: 12.5px;
	color: var(--tinte-matt);
}

/* --------------------- 11. Hilfsklassen, Tabellen, Formulare */

.narrowForm {
	max-width: 480px;
	margin: var(--s5) 0;
	display: grid;
	gap: var(--s4);
}

.narrowForm label,
.inlineForm label {
	display: grid;
	gap: var(--s1);
	font: 500 11px var(--mono);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tinte-matt);
}

.narrowForm label .hint {
	text-transform: none;
	letter-spacing: 0;
	font-family: var(--sans);
}

.inlineForm {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s3);
	align-items: flex-end;
	margin: var(--s4) 0;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="date"],
select,
textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px var(--s3);
	border: 1px solid var(--linie);
	background: var(--weiss);
	color: var(--tinte);
	font: 15px/1.4 var(--sans);
	border-radius: 0;
}

textarea {
	min-height: 96px;
	resize: vertical;
}

select {
	appearance: none;
	padding-right: var(--s6);
	/* Pfeil als Zeichnung, kein Bild und kein Symbolzeichen */
	background-image:
		linear-gradient(45deg, transparent 50%, var(--tinte-matt) 50%),
		linear-gradient(135deg, var(--tinte-matt) 50%, transparent 50%);
	background-position:
		calc(100% - 18px) calc(50% - 2px),
		calc(100% - 13px) calc(50% - 2px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--tinte);
}

input[aria-invalid="true"],
input:user-invalid {
	border-color: var(--rost);
}

fieldset {
	border: 1px solid var(--linie);
	padding: var(--s4);
	margin: var(--s4) 0;
}

legend {
	padding: 0 var(--s2);
	font: 500 11px var(--mono);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--tinte-matt);
}

/* Knöpfe in schmalen Formularen sollen nicht über die ganze Spalte laufen */
.narrowForm > button,
.narrowForm > .button {
	justify-self: start;
}

/* Hinweiszeile in der Schublade ist keine Warenkorbzeile */
.drawerList li.empty {
	display: block;
	border: 0;
	padding: var(--s5) 0;
	text-align: center;
}

.right {
	text-align: right;
}

.sum {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

/* ------------- 11a. Merkzettel, Vergleich, Kontakt (seit 2.2.0) */

.visuallyHidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.lead {
	max-width: 62ch;
	color: var(--tinte-matt);
}

.listButtons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s2) var(--s4);
	margin: var(--s3) 0;
	font-family: var(--mono);
	font-size: 13px;
}

.listButton.isOn {
	color: var(--moos);
}

.listRemoveRow {
	list-style: none;
	margin: var(--s5) 0;
	padding: 0;
	border-top: 1px solid var(--linie);
}

.listRemoveRow li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--s2);
	padding: var(--s2) 0;
	border-bottom: 1px solid var(--linie);
}

.listRemoveRow .listButtons {
	margin: 0;
}

.compareTable th[scope="col"] {
	vertical-align: top;
	min-width: 160px;
}

.compareTable th[scope="col"] img {
	display: block;
	width: 100%;
	max-width: 180px;
	aspect-ratio: 1;
	object-fit: cover;
	margin-bottom: var(--s2);
	background: var(--weiss);
}

.compareTable th[scope="row"] {
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 400;
	color: var(--tinte-matt);
	white-space: nowrap;
}

.relatedSection {
	margin-top: var(--s7);
}

.orderActions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s3);
	margin: var(--s4) 0;
}

/* Fangfeld des Kontaktformulars: für Menschen unsichtbar, für Robots ein gewöhnliches Feld */
.trapField {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---- 11b. Gutschein, Bewertungen, Newsletter, Anmeldecode (seit 2.3.0) */

.couponBox {
	margin: var(--s5) 0;
	padding: var(--s4);
	border: 1px solid var(--linie);
	background: var(--weiss);
	max-width: 760px;
}

.couponForm,
.notifyForm,
.newsletterForm {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: var(--s3);
}

.couponForm label,
.notifyForm label,
.newsletterForm label {
	flex: 1 1 220px;
}

.notifyForm {
	margin: var(--s4) 0;
	padding: var(--s4);
	border: 1px dashed var(--linie);
}

.notifyForm .hint,
.newsletterForm .hint {
	flex-basis: 100%;
	margin: 0;
}

.newsletterForm {
	margin: var(--s5) 0;
	padding-top: var(--s5);
	border-top: 1px solid var(--linie);
}

.inlineNotice {
	display: inline-block;
	margin: 0 0 0 var(--s2);
	padding: var(--s1) var(--s2);
}

.headerLogout {
	display: inline;
}

.checkboxLabel {
	display: flex;
	align-items: flex-start;
	gap: var(--s2);
}

.checkboxLabel input {
	width: auto;
	height: auto;
}

.reviewSection {
	margin-top: var(--s7);
}

.reviewSummary {
	font-size: 1.1em;
}

.stars {
	color: var(--rost);
	letter-spacing: 2px;
}

.review {
	padding: var(--s4) 0;
	border-bottom: 1px solid var(--linie);
}

.review p {
	margin: var(--s1) 0;
}

.reviewHead {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s3);
	align-items: baseline;
}

.ratingChoice {
	display: flex;
	flex-direction: column;
	gap: var(--s1);
	border: 0;
	padding: 0;
}

.ratingChoice label {
	display: flex;
	gap: var(--s2);
	align-items: center;
	color: var(--rost);
}

.ratingChoice input {
	width: auto;
	height: auto;
}

/* ------------------ 12. Druck und Rücksichtnahme auf Einstellungen */

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
		animation: none !important;
	}

	.quickBuy {
		opacity: 1;
		transform: none;
	}
}

@media print {
	.topBar,
	.searchForm,
	.categoryNav,
	.headerNav,
	.drawer,
	.buyBar,
	.quickBuy,
	.trustBar,
	.skipLink,
	.listButtons,
	.orderActions,
	.relatedSection,
	.siteFooter {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
		font-size: 12pt;
	}

	a {
		text-decoration: none;
	}

	.wrap {
		max-width: none;
		padding: 0;
	}
}
