/*
 * SH IWAG Shop — Grundstile.
 * Masse 1:1 vom WoodMart-Stand (vircom, 23.10.2026) gemessen; Haltepunkte wie
 * WoodMart: Desktop-Kopfzeile ab 1025 px, Handy bis 768 px.
 */

/* ========== Schriften (selbst gehostet, nur Latin) ========== */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/lato-400.woff2) format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 600 700; font-display: swap; src: url(../fonts/lato-700.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500 900; font-display: swap; src: url(../fonts/montserrat-var.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600 700; font-display: swap; src: url(../fonts/poppins-600.woff2) format("woff2"); }

/* ========== Variablen ========== */
:root {
	--sht-primary: #f70000;
	--sht-primary-hover: #d90000;
	--sht-topbar-bg: #f72100;
	--sht-header-bg: #1f2025;
	--sht-footer-bg: #000;
	--sht-title-bg: #0a0a0a;
	--sht-text: #767676;
	--sht-title: #242424;
	--sht-link: #333;
	--sht-link-hover: #242424;
	--sht-entities: #333;
	--sht-muted: #a5a5a5;
	--sht-gray-100: #f7f7f7;
	--sht-gray-300: #f1f1f1;
	--sht-border: rgba(0, 0, 0, .105);
	--sht-form-border: rgba(0, 0, 0, .1);
	--sht-form-border-focus: rgba(0, 0, 0, .15);
	--sht-font-text: "Lato", Arial, Helvetica, sans-serif;
	--sht-font-title: "Montserrat", Arial, Helvetica, sans-serif;
	--sht-font-entities: "Poppins", Arial, Helvetica, sans-serif;
	--sht-container: 1222px;
	--sht-gutter: 15px;
	--sht-topbar-h: 42px;
	--sht-mainbar-h: 105px;
	/* Logo-Höchstbreiten, im Customizer änderbar (0.5.0) */
	--sht-logo-w: 245px;
	--sht-logo-w-m: 176px;
	--sht-logo-w-f: 260px;
	--sht-sticky-h: 60px;
	--sht-radius-btn: 35px;
	--sht-ease: cubic-bezier(.19, 1, .22, 1);
	/* Brücke für Core-Bausteine, die noch WoodMart-Variablen lesen (Knöpfe, Etiketten). */
	--wd-primary-color: var(--sht-primary);
}
@media (max-width: 1024px) {
	:root { --sht-topbar-h: 38px; --sht-mainbar-h: 60px; }
}

/* ========== Grundlage ========== */
*, *::before, *::after { box-sizing: border-box; }
/* 15 px wie WoodMart (--wd-text-font-size): die Core-Bausteine (Liste, Filter, Top-3) rechnen in rem. */
html { font-size: 15px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body {
	margin: 0;
	background: #fff;
	color: var(--sht-text);
	font-family: var(--sht-font-text);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
body.sht-locked { overflow: hidden; }
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 20px;
	color: var(--sht-title);
	font-family: var(--sht-font-title);
	font-weight: 700;
	line-height: 1.4;
}
h1 { font-size: 28px; } h2 { font-size: 24px; } h3 { font-size: 22px; } h4 { font-size: 18px; } h5 { font-size: 16px; } h6 { font-size: 12px; }
p { margin: 0 0 20px; }
a { color: var(--sht-link); text-decoration: none; transition: color .25s ease, opacity .25s ease, background-color .25s ease; }
a:hover { color: var(--sht-link-hover); }
img, svg, video { max-width: 100%; height: auto; vertical-align: middle; }
.sht-icon { display: inline-block; flex: 0 0 auto; height: auto; }
/* Listen wie WoodMart: 17 px Einzug, 10 px zwischen den Punkten, letzter ohne. Die
   Theme-eigenen Listen (Klasse sht-…) setzen ihre Abstände selbst. */
:is(ul, ol) { --list-mb: 20px; --li-mb: 10px; --li-pl: 17px; margin: 0 0 var(--list-mb); padding-inline-start: var(--li-pl); }
:is(ul, ol):where(:not([class*="sht-"])) li { margin-bottom: var(--li-mb); }
:is(ul, ol):where(:not([class*="sht-"])) li:last-child { margin-bottom: 0; }
li > :is(ul, ol):where(:not([class*="sht-"])) { margin-top: var(--li-mb); margin-bottom: 0; }
strong, b { font-weight: 600; }
small { font-size: 80%; }
hr { border: 0; border-top: 1px solid var(--sht-border); margin: 30px 0; }
table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
th, td { padding: 15px 12px; border-bottom: 1px solid var(--sht-border); text-align: start; }
th { color: var(--sht-title); font-weight: 600; font-family: var(--sht-font-title); font-size: 14px; text-transform: uppercase; }
:focus-visible { outline: 2px solid var(--sht-primary); outline-offset: 2px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.screen-reader-text, .sht-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.sht-skip { position: absolute; left: -9999px; top: 10px; z-index: 1000; padding: 10px 20px; background: #fff; color: var(--sht-title); font-weight: 700; }
.sht-skip:focus { left: 10px; }
.sht-main:focus { outline: none; }

/* Formulare (WoodMart: 42 px hoch, 2 px Rahmen) */
button, input, optgroup, select, textarea { margin: 0; color: inherit; font: inherit; }
input:not([type="range"]):not([type="hidden"]), select, textarea { vertical-align: middle; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="date"], select, textarea {
	width: 100%;
	max-width: 100%;
	height: 42px;
	padding: 0 15px;
	border: 2px solid var(--sht-form-border);
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 14px;
	line-height: 1.6;
	box-shadow: none;
	transition: border-color .4s ease;
	-webkit-appearance: none;
	appearance: none;
}
textarea { height: auto; min-height: 190px; padding: 10px 15px; }
select {
	padding-right: 30px;
	background: no-repeat right 10px top 50% / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' fill='none' stroke-width='2' stroke='%23bbb'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
select option { background-color: #fff; }
/* Core-Bausteine setzen bei Auswahlfeldern «background:#fff» und löschen damit den Pfeil; WoodMart setzte ihn
   über «.wd select» wieder — das Theme übernimmt das (Pneusuche der Startseite). */
body .sh-iwag-hero__field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' fill='none' stroke-width='2' stroke='%23bbb'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px top 50%;
	background-size: 18px;
}
input:focus, select:focus, textarea:focus { border-color: var(--sht-form-border-focus); outline: none; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; margin-top: 0; padding: 0; vertical-align: middle; margin-inline-end: 5px; cursor: pointer; accent-color: var(--sht-primary); }
label { display: block; margin-bottom: 5px; color: var(--sht-title); font-weight: 400; vertical-align: middle; }

/* Knöpfe ohne eigene Theme-Klasse — Grundstil wie WoodMart (Standard-Knopf). Die Bausteine
   aus sh-iwag-core (Filter, Berater, Vergleich …) sind darauf gebaut und überschreiben nur,
   was sie brauchen. Theme-eigene Knöpfe (Klasse sht-…) bleiben nackt (Reset oben). */
:is(.btn, button, [type="submit"], [type="button"]):where(:not([class*="sht-"])) {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-height: 42px;
	padding: 5px 20px;
	border: 0 solid #e9e9e9;
	border-radius: 0;
	outline: 0;
	background-color: #f3f3f3;
	color: #3e3e3e;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	text-shadow: none;
	text-transform: uppercase;
	vertical-align: middle;
	cursor: pointer;
	transition: all .25s ease;
}
:is(.btn, button, [type="submit"], [type="button"]):where(:not([class*="sht-"])):hover { background-color: #e0e0e0; border-color: #e0e0e0; color: #3e3e3e; }

/* Knöpfe */
.sht-btn, .button, button.button, input[type="submit"], .wp-element-button, .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-height: 42px;
	padding: 5px 20px;
	border: 0;
	border-radius: var(--sht-radius-btn);
	background: var(--sht-primary);
	color: #fff;
	font-family: var(--sht-font-title);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .6px;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
	transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.sht-btn:hover, .button:hover, input[type="submit"]:hover, .wp-element-button:hover, .wp-block-button__link:hover { background: var(--sht-primary-hover); color: #fff; }
.sht-btn--ghost { background: transparent; color: var(--sht-title); box-shadow: inset 0 0 0 2px var(--sht-form-border); }
.sht-btn--ghost:hover { background: var(--sht-gray-100); color: var(--sht-title); }
.sht-btn--dark { background: #1f2a24; }
.sht-btn--dark:hover { background: #111; }

/* ========== Raster ========== */
.sht-container {
	width: 100%;
	max-width: var(--sht-container);
	margin-inline: auto;
	padding-inline: var(--sht-gutter);
}
/* Kopfzeile volle Breite wie WoodMart: clamp(Container, 95 %, 100 %) */
.sht-hcontainer {
	width: clamp(var(--sht-container), 95%, 100%);
	max-width: 100%;
	margin-inline: auto;
	padding-inline: var(--sht-gutter);
}
.sht-content { padding-block: 40px; }
/* Abstand vor der Fusszeile wie WoodMart (.wd-prefooter, 40 px) — auf allen Seiten ausser der Startseite. */
.sht-main { padding-bottom: 40px; }
.home .sht-main { padding-bottom: 0; }
.sht-content--narrow { max-width: 900px; }

/* ========== Leiste oben ========== */
.sht-topbar { position: relative; z-index: 391; background: var(--sht-topbar-bg); color: rgba(255, 255, 255, .8); font-size: 12px; line-height: 1.2; }
.sht-topbar__inner { display: flex; align-items: center; justify-content: space-between; height: var(--sht-topbar-h); }
.sht-topbar__left, .sht-topbar__right { display: flex; align-items: center; height: 100%; min-width: 0; }
.sht-topbar__divider { display: block; align-self: stretch; width: 1px; background: rgba(255, 255, 255, .25); }
.sht-topbar__text { padding-inline: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sht-topbar__text strong { font-weight: 600; }
.sht-topbar a, .sht-topbar a:hover { color: rgba(255, 255, 255, .9); text-decoration: none !important; }
.sht-topbar a:hover { color: #fff; }
.sht-topbar__vehicle { overflow: visible; }

/* Sprachumschalter (Leiste oben) */
.sht-lang { position: relative; display: flex; align-items: center; height: 100%; margin-right: 10px; }
.sht-lang__current { display: flex; align-items: center; gap: 7px; min-height: 42px; padding: 5px 0; color: #fff !important; font-size: 12px; text-transform: uppercase; }
.sht-lang__flag { width: 18px; height: 12px; object-fit: cover; }
.sht-lang .sht-dropdown { top: 100%; margin-top: 0; }
/* Aufklappmenü der Sprache: weisser Grund — nicht die weisse Schrift der roten Leiste (.sht-topbar a) erben. */
.sht-topbar .sht-dropdown a.sht-nav__sublink { color: #838383; }
.sht-topbar .sht-dropdown a.sht-nav__sublink:hover,
.sht-topbar .sht-dropdown a.sht-nav__sublink:focus-visible { color: #333; }

/* Fahrzeug-Anzeige aus sh-iwag-core ([sh_iwag_fahrzeug_header]) */
.sht-topbar .sh-fzg__cta { display: flex; align-items: center; gap: 7px; font-weight: 600; opacity: .92; }
.sht-topbar .sh-fzg__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ========== Hauptzeile ========== */
.sht-header { position: relative; z-index: 390; }
.sht-mainbar { position: relative; z-index: 390; background: var(--sht-header-bg); color: #fff; }
.sht-mainbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: var(--sht-mainbar-h); }
.sht-mainbar__left { display: flex; align-items: center; flex: 0 0 auto; margin-inline-start: -10px; }
.sht-mainbar__nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; padding-inline: 10px; }
.sht-mainbar__tools { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex: 0 0 auto; }

.sht-logo { display: inline-flex; align-items: center; padding: 5px 10px; color: #fff; }
/* Zielbreite statt nur Obergrenze (0.5.0): so wird das Logo auch grösser als seine Datei. object-fit hält das
   Seitenverhältnis, wenn die Höhe an die Kopfzeile stösst. */
/* 0.5.1: höchstens so breit, wie das Logo bei der Höhengrenze sichtbar ist (--sht-logo-ar aus sh_iwag_theme_logo()). */
.sht-logo__img { display: block; width: min(var(--sht-logo-w), calc((var(--sht-mainbar-h) - 10px) * var(--sht-logo-ar, 1000))); height: auto; max-width: 100%; max-height: calc(var(--sht-mainbar-h) - 10px); object-fit: contain; object-position: left center; }
.sht-logo__text { font-family: var(--sht-font-title); font-weight: 800; font-size: 26px; color: #fff; }

/* Werkzeuge (Konto, Warenkorb, Menü-Knopf) */
.sht-tool { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-family: var(--sht-font-text); font-size: 13px; font-weight: 700; line-height: 1; text-transform: uppercase; }
.sht-tool:hover { color: rgba(255, 255, 255, .7); }
.sht-tool__icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; }
.sht-account-link { width: 40px; height: 40px; justify-content: center; }
.sht-cart-link .sht-tool__icon { margin-right: 6px; }
.sht-cart-link .sht-tool__text { color: #fff; }
.sht-cart-count {
	position: absolute; top: -5px; right: -9px; z-index: 1;
	display: block; width: 15px; height: 15px; border-radius: 50%;
	background: var(--sht-primary); color: #fff;
	font-family: var(--sht-font-text); font-size: 9px; font-weight: 400; line-height: 15px; text-align: center;
}
.sht-cart-subtotal .woocommerce-Price-amount { color: inherit; }
.sht-burger { display: none; }

/* Hauptmenü Desktop */
.sht-nav { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 5px 20px; margin: 0; padding: 0; list-style: none; }
.sht-nav__item { position: relative; list-style: none; }
.sht-nav--main > .sht-nav__item > .sht-nav__link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 4px;
	min-height: 42px;
	padding: 5px 0;
	color: #fff;
	font-family: var(--sht-font-text);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .02em;
	text-transform: uppercase;
	cursor: pointer;
}
/* Menü immer einzeilig (0.4.3): Mit «Motorradpneus» und «Aktionen» brach «Aktionen» zwischen
   1025 und 1439 px in eine zweite Zeile (live gemessen bei 1366 px), mit Betrag im Warenkorb
   auch darüber. Schrift und Abstand richten sich deshalb nach dem Platz, der neben Logo und
   Warenkorb bleibt (Container-Abfrage). Gemessen: Platzbedarf ≈ 235 px + 33,5 × Schriftgrösse
   + 6 × Abstand; die Formeln lassen rund 4 % Reserve. Ab ~950 px freier Breite 16 px. */
@media (min-width: 1025px) {
	.sht-mainbar__nav { container-type: inline-size; }
	.sht-nav--main { column-gap: clamp(10px, 1.6cqi, 20px); }
	.sht-nav--main > .sht-nav__item > .sht-nav__link { font-size: clamp(11px, calc(2.58cqi - 7px), 16px); }
}
/* Schmalere Desktops: Logo etwas kleiner, unter 1280 px Warenkorb nur als Symbol mit Zahl —
   so bleibt die Menüschrift bei 1280/1366 px bei 14–16 px und darunter bei mindestens 12 px. */
@media (min-width: 1025px) and (max-width: 1439px) {
	.sht-logo__img { width: min(calc(var(--sht-logo-w) * .776), calc((var(--sht-mainbar-h) - 10px) * var(--sht-logo-ar, 1000))); }
}
@media (min-width: 1025px) and (max-width: 1279px) {
	.sht-cart-link .sht-cart-subtotal { display: none; }
}
.sht-nav--main > .sht-nav__item > .sht-nav__link:hover,
.sht-nav--main > .sht-nav__item.is-active > .sht-nav__link,
.sht-nav--main > .sht-nav__item:focus-within > .sht-nav__link { color: rgba(255, 255, 255, .7); }
.sht-nav__chev { width: 8px; height: 8px; color: rgba(255, 255, 255, .6); stroke-width: 2; }
/* Harte S&H-Regel: Navigation nie unterstrichen */
.sht-nav__link, .sht-nav__sublink, .sht-footer a, .sht-topbar a, .sht-pagetitle__crumbs a, .sht-crumbs a, .sht-steps a { text-decoration: none !important; border-bottom: 0 !important; }

/* Aufklappmenü (WoodMart «simple dropdown») */
.sht-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 380;
	width: 220px;
	margin-top: 15px;
	margin-left: -10px;
	padding: 12px 20px;
	background: #fff;
	box-shadow: 0 0 3px rgba(0, 0, 0, .15);
	text-align: start;
	visibility: hidden;
	opacity: 0;
	transform: translateY(15px);
	pointer-events: none;
	transition: opacity .4s var(--sht-ease), visibility .4s var(--sht-ease), transform .4s var(--sht-ease);
}
.sht-dropdown::after { content: ""; position: absolute; inset-inline: 0; bottom: 100%; height: 15px; }
.sht-nav__item--parent:hover > .sht-dropdown,
.sht-nav__item--parent:focus-within > .sht-dropdown,
.sht-nav__item--parent.is-open > .sht-dropdown {
	visibility: visible;
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
.sht-dropdown__list { margin: 0; padding: 0; list-style: none; }
.sht-dropdown__list li { list-style: none; }
.sht-nav__sublink {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 8px 0;
	color: #838383;
	font-size: 14px;
	line-height: 1.3;
}
.sht-nav__sublink:hover { color: #333; }
.sht-dropdown .sht-nav__item.is-active > .sht-nav__sublink { color: #333; }

/* ========== Kopfzeile über der Bühne (Startseite) ========== */
.sht-has-overlap .sht-header { position: absolute; top: 0; left: 0; right: 0; }
.sht-has-overlap .sht-mainbar:not(.is-sticky) { background: transparent; }

/* ========== Angeheftete Kopfzeile ========== */
.sht-mainbar.is-sticky {
	position: fixed;
	top: 0; left: 0; right: 0;
	background: var(--sht-header-bg);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
	animation: sht-slide-down .35s var(--sht-ease);
}
.sht-mainbar.is-sticky .sht-mainbar__inner { height: var(--sht-sticky-h); }
.sht-mainbar.is-sticky .sht-logo__img { width: auto; max-width: var(--sht-logo-w); max-height: 50px; }  /* kein Leerraum vor dem Menü bei grossem Logo */
@media (min-width: 1025px) and (max-width: 1439px) {
	.sht-mainbar.is-sticky .sht-logo__img { max-width: calc(var(--sht-logo-w) * .776); }
}
.admin-bar .sht-mainbar.is-sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar .sht-mainbar.is-sticky { top: 0; } }
@keyframes sht-slide-down { from { transform: translateY(-100%); } to { transform: none; } }
/* Platzhalter, damit der Inhalt beim Anheften nicht springt */
.sht-header.has-sticky { padding-bottom: var(--sht-mainbar-h); }
.sht-has-overlap .sht-header.has-sticky { padding-bottom: 0; }

/* ========== Handy/Tablet-Kopfzeile ========== */
@media (max-width: 1024px) {
	.sht-topbar__left { display: none; }
	.sht-topbar__inner { justify-content: flex-start; }
	.sht-topbar__right .sht-topbar__divider { display: none; }
	.sht-topbar__vehicle { padding-inline: 0; }
	.sht-mainbar__inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; }
	.sht-mainbar__left { display: contents; }
	.sht-burger { display: inline-flex; grid-column: 1; justify-self: start; }
	.sht-mainbar__logo { grid-column: 2; }
	.sht-mainbar__nav { display: none; }
	.sht-mainbar__tools { grid-column: 3; }
	.sht-mainbar__left { margin-inline-start: 0; }
	.sht-logo { padding-inline: 0; }
	.sht-account-link { display: none; }
	.sht-cart-link .sht-tool__text { display: none; }
	.sht-cart-link .sht-tool__icon { margin-right: 0; }
	/* Handy: zusätzlich höchstens so breit, dass das Logo mittig bleibt und links (Menü) wie rechts (Warenkorb)
	   90 px frei bleiben (Menü-Knopf 66 px + Rand + Luft) — sonst stösst ein grosses Logo an «Menü» bzw. den Warenkorb (gemessen 0.5.2). */
	.sht-logo__img { width: min(var(--sht-logo-w-m), calc((var(--sht-mainbar-h) - 10px) * var(--sht-logo-ar, 1000)), calc(100vw - 180px)); max-height: calc(var(--sht-mainbar-h) - 10px); object-position: center; }
	/* Angeheftet (Release-Prüfung 0.5.2): dieselbe Seitengrenze, sonst wird ein breites Logo bei 50 px Höhe ~215 px breit
	   und stösst auf schmalen Handys (360 px) an «Menü»/Warenkorb. Ab ~395 px Bildschirmbreite unverändert. */
	.sht-mainbar.is-sticky .sht-logo__img { max-width: min(var(--sht-logo-w), calc(100vw - 180px)); }
}

/* ========== Seitentitel-Band ========== */
.sht-pagetitle { position: relative; padding-block: 15px; background: var(--sht-title-bg); color: rgba(255, 255, 255, .8); }
.sht-pagetitle__bg { position: absolute; inset: 0; overflow: hidden; }
.sht-pagetitle__bg img { width: 100%; height: 100%; object-fit: cover; }
.sht-pagetitle__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
/* Schatten hinter der Schrift, damit Titel und Bestellschritte auf hellen Stellen des Titelbilds lesbar bleiben (Meeting IWAG 28.10.2026). */
.sht-pagetitle__title { margin: 0; color: #fff; font-size: 36px; line-height: 1.2; text-shadow: 0 1px 3px rgba(0, 0, 0, .5), 0 3px 16px rgba(0, 0, 0, .55); }
/* Brotkrumen auf dunkler Pille: der Schatten allein reichte über dem hellen Rennwagen nicht (Julian 29.10.2026). */
.sht-pagetitle__crumbs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0; padding: 4px 16px; border-radius: 16px; background: rgba(17, 17, 17, .65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 15px; line-height: 1.6; }
.sht-steps { text-shadow: 0 1px 2px rgba(0, 0, 0, .95), 0 0 6px rgba(0, 0, 0, .75), 0 0 14px rgba(0, 0, 0, .5); }
.sht-pagetitle__crumbs a { color: rgba(255, 255, 255, .88); }
.sht-pagetitle__crumbs a:hover { color: #fff; }
.sht-crumbs__sep { margin-inline: 8px; opacity: .7; }
.sht-crumbs__last { color: #fff; font-weight: 600; }
@media (min-width: 1025px) {
	.sht-pagetitle { padding-block: 60px; }
	.sht-pagetitle__title { font-size: 68px; }
	.sht-pagetitle__crumbs { padding: 5px 18px; border-radius: 18px; font-size: 16px; }
}
/* Bestellschritte (Warenkorb/Kasse) */
.sht-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 15px; margin: 0; padding: 0; list-style: none; color: #fff; font-family: var(--sht-font-title); font-size: 22px; font-weight: 700; line-height: 1.4; text-transform: uppercase; }
.sht-steps__item { display: flex; align-items: center; gap: 15px; }
.sht-steps__item a { color: inherit; }
@media (min-width: 769px) {
	.sht-steps__item > a, .sht-steps__item > span { opacity: .7; }
	.sht-steps__item > a:hover { opacity: 1; }
	.sht-steps__item:not(:last-child)::after { content: "\2192"; font-weight: 400; font-size: 85%; opacity: .7; }
	/* Aktiver Schritt als Pille statt Unterstrich (S&H-Regel: Navigation/Brotkrumen nie unterstrichen). */
	.sht-steps__item.is-active > a, .sht-steps__item.is-active > span { opacity: 1; padding: 2px 16px; border-radius: 999px; background: var(--sht-primary); color: #fff; }
}
@media (max-width: 768px) { .sht-steps__item:not(.is-active) { display: none; } }

/* Brotkrumen (WooCommerce, im Inhalt) */
.sht-crumbs, .woocommerce-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; color: var(--sht-text); font-size: 15px; }
.sht-crumbs a, .woocommerce-breadcrumb a { color: var(--sht-text); }
.sht-crumbs a:hover, .woocommerce-breadcrumb a:hover { color: var(--sht-title); }
.sht-crumbs > :last-child { color: var(--sht-title); font-weight: 600; }

/* ========== Inhalt ========== */
.sht-entry > :last-child { margin-bottom: 0; }
/* :where hält die Spezifität niedrig — Bausteine (Kasse, Plugin) setzen ihre Linkfarben selbst. */
:where(.sht-entry) a:where(:not(.sht-btn, .button, .wp-block-button__link)) { color: var(--sht-link); }
.sht-entry--full > .alignfull, .sht-entry > .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.sht-entry .alignwide { max-width: var(--sht-container); }
.sht-entry .aligncenter { margin-inline: auto; }
.sht-entry .alignleft { float: left; margin: 0 20px 20px 0; }
.sht-entry .alignright { float: right; margin: 0 0 20px 20px; }
.sht-entry .wp-block-details { margin-bottom: 10px; border: 1px solid var(--sht-border); border-radius: 6px; background: #fff; }
.sht-entry .wp-block-details > summary { position: relative; padding: 20px 50px 20px 18px; color: var(--sht-title); font-weight: 600; cursor: pointer; list-style: none; }
.sht-entry .wp-block-details > summary::-webkit-details-marker { display: none; }
.sht-entry .wp-block-details > summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--sht-title); font-size: 20px; font-weight: 400; }
.sht-entry .wp-block-details[open] > summary::after { content: "\2212"; }
.sht-entry .wp-block-details > :not(summary) { padding: 0 18px 18px; }

.sht-empty { padding: 40px 0; text-align: center; }
.sht-404 { text-align: center; }
.sht-404__code { margin: 0; color: var(--sht-gray-300); font-family: var(--sht-font-title); font-size: 140px; font-weight: 800; line-height: 1; }
.sht-404__title { font-size: 28px; }
.sht-postlist { display: grid; gap: 30px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.sht-postlist__title { font-size: 20px; margin: 15px 0 10px; }
.sht-pagination, .navigation.pagination { margin-top: 40px; text-align: center; }
.sht-pagination .page-numbers, .navigation .page-numbers, .woocommerce-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; margin: 0 2px; padding: 0 5px; color: var(--sht-title); font-weight: 600; }
:is(.sht-pagination, .navigation, .woocommerce-pagination) .page-numbers:is(.current, :hover) { background: var(--sht-primary); color: #fff; border-radius: 50%; }
.sht-search { position: relative; display: flex; }
.sht-search__btn { position: absolute; right: 0; top: 0; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; color: var(--sht-title); }

/* ========== Suchseiten Pneus/Felgen (templates/shop-suche.php) ========== */
/* Raster wie die Elementor-Seiten auf vircom: Top-3 und Felgen-Überschrift über die
   volle Breite, darunter 10 px Rand + 10 px Spaltenrand → Filter ⅓ | Liste ⅔ mit 20 px Lücke. */
.sht-suche__kopf { padding: 10px; }
.sht-suche__titel { margin: 0; font-size: 36px; line-height: 1; }
.sht-suche__titel span { color: var(--sht-primary); }
.sht-suche__raster { display: flex; align-items: flex-start; padding: 10px; }
.sht-suche__filter { flex: 0 0 33.3333%; max-width: 33.3333%; min-width: 0; padding: 10px; }
.sht-suche__liste { flex: 1 1 66.6667%; min-width: 0; padding: 10px; }
.sht-suche__raster--ohne-filter .sht-suche__liste { flex-basis: 100%; }
.sht-suche__text { padding: 30px 20px 0; }
@media (max-width: 767px) {
	.sht-suche__raster { flex-direction: column; align-items: stretch; }
	.sht-suche__filter { flex-basis: auto; max-width: none; }
	.sht-suche__titel { font-size: 26px; }
}

/* ========== Fusszeile ========== */
.sht-footer { background: var(--sht-footer-bg); color: rgba(255, 255, 255, .8); font-size: 15px; line-height: 1.4; }
.sht-footer__main { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 30px; padding-block: 40px; }
.sht-footer__col--1, .sht-footer__col--2 { grid-column: span 3; }
.sht-footer__col--3, .sht-footer__col--4, .sht-footer__col--5 { grid-column: span 2; }
.sht-footer a { color: rgba(255, 255, 255, .7); }
.sht-footer a:hover { color: #fff; }
.sht-footer__title { margin: 0 0 20px; color: #fff; font-family: var(--sht-font-entities); font-size: 16px; font-weight: 600; line-height: 1.4; text-transform: uppercase; }
.sht-footer__brand { margin-bottom: 20px; line-height: 0; }
.sht-footer__brand .sht-logo { padding: 0; }
.sht-footer__brand .sht-logo__img { width: var(--sht-logo-w-f); max-height: none; }
.sht-footer__about { margin: 0 0 20px; line-height: 1.4; }
.sht-footer__contact { display: flex; flex-direction: column; gap: 6.5px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.sht-footer__contact li { display: flex; align-items: center; gap: 10px; margin: 0; line-height: 20px; }
.sht-footer__contact .sht-icon { color: #777; width: 14px; height: 14px; }
.sht-footer__contact a { color: rgba(255, 255, 255, .8); }
.sht-footer__links { margin: 0; padding: 0; list-style: none; }
.sht-footer__links li { margin-bottom: 15px; line-height: 1.4; }
.sht-footer__links li:last-child { margin-bottom: 0; }
.sht-footer__links a { display: inline-block; }
.sht-footer__widget { margin-bottom: 30px; }
.sht-footer__widget:last-child { margin-bottom: 0; }
.sht-footer__widget img { height: auto; }
.sht-footer__widget ul { margin: 0; padding: 0; list-style: none; }
.sht-footer__widget li { margin-bottom: 15px; }
.sht-footer__widget figure { margin: 0; }
/* ausgezeichnet.org-Abzeichen nicht riesig (Feedback GL 22.10.; Werte wie sh-iwag-core 1.18.3 auf
   vircom: 150 px, Handy 120 px). Spezifischer als .wp-block-image img aus dem Block-CSS. */
.sht-footer a[href*="ausgezeichnet.org"] img, .sht-footer img[src*="ausgezeichnet"] { width: auto; max-width: 150px; height: auto; }
@media (max-width: 767px) { .sht-footer a[href*="ausgezeichnet.org"] img, .sht-footer img[src*="ausgezeichnet"] { max-width: 120px; } }
.sht-footer__copy { border-top: 1px solid rgba(255, 255, 255, .15); padding-block: 20px; line-height: 1.6; }
.sht-footer__copyinner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; min-height: 34px; }
.sht-footer__copyleft strong, .sht-footer__copyleft a { color: #fff; }
.sht-footer__copyright { text-align: end; }
.sht-footer__copyright a { color: rgba(255, 255, 255, .8); }
/* Kontaktseite (tools/rechtstexte.php, 0.6.1): Anliegen als klickbare Felder (öffnen eine E-Mail mit Vorlage). */
.sht-kontakt-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin: 24px 0; padding: 0; list-style: none; }
.sht-kontakt-liste li { margin: 0; padding: 0; }
.sht-kontakt-liste li::before { content: none; display: none; }
.sht-kontakt-liste li::marker { content: ""; }
.sht-kontakt-liste a { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; padding: 14px 18px; border: 1px solid #e3e3e3; border-radius: 8px; background: #fff; color: #242424; font-weight: 600; line-height: 1.35; text-decoration: none; transition: border-color .2s ease, color .2s ease; }
.sht-kontakt-liste a::after { content: "→"; flex: none; color: var(--wd-primary-color, #f70000); font-weight: 400; }
.sht-kontakt-liste a:hover, .sht-kontakt-liste a:focus-visible { border-color: var(--wd-primary-color, #f70000); color: #d40000; text-decoration: none; }
/* Rechtliches unter dem Copyright (0.6.1): nur Farbwechsel, kein Strich (Nav-Regel). */
.sht-footer__legal { margin-top: 6px; }
.sht-footer__legallinks { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.sht-footer__legallinks li { margin: 0; }
.sht-footer__copyleft .sht-footer__legallinks a { color: rgba(255, 255, 255, .7); }
.sht-footer__copyleft .sht-footer__legallinks a:hover, .sht-footer__copyleft .sht-footer__legallinks a:focus-visible { color: #fff; }
/* Zahlungsarten in Originalgrösse wie live (39 × 27, Twint 85 × 34). */
.sht-footer__copyright img { width: auto; height: auto; vertical-align: middle; }
@media (max-width: 1024px) {
	.sht-footer__main { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
	.sht-footer__col--1, .sht-footer__col--2 { grid-column: span 6; }
	.sht-footer__col--3, .sht-footer__col--4, .sht-footer__col--5 { grid-column: span 4; }
}
@media (max-width: 768px) {
	.sht-footer__main > * { grid-column: 1 / -1 !important; }
	.sht-footer__copyinner { grid-template-columns: 1fr; text-align: center; }
	.sht-footer__copyright { text-align: center; }
	.sht-footer__legallinks { justify-content: center; }
	/* Link-Menü als Aufklapper (WoodMart «widget collapse») */
	.sht-footer__col--4 .sht-footer__title { position: relative; margin: 0; cursor: pointer; }
	.sht-footer__col--4 .sht-footer__title::after { content: ""; position: absolute; right: 2px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: translateY(-75%) rotate(45deg); transition: transform .3s ease; }
	.sht-footer__col--4.is-open .sht-footer__title::after { transform: translateY(-25%) rotate(-135deg); }
	.sht-footer__col--4 .sht-footer__nav { display: none; padding-top: 20px; }
	.sht-footer__col--4.is-open .sht-footer__nav { display: block; }
}

/* ========== Seitenpanels ========== */
.sht-overlay { position: fixed; inset: 0; z-index: 400; background: rgba(0, 0, 0, .7); opacity: 0; transition: opacity .5s var(--sht-ease); }
.sht-overlay.is-visible { opacity: 1; }
.sht-panel {
	position: fixed;
	top: 0;
	bottom: 0;
	z-index: 500;
	display: flex;
	flex-direction: column;
	width: 340px;
	max-width: 100%;
	background: #fff;
	color: var(--sht-text);
	transition: transform .5s var(--sht-ease);
	overflow: hidden;
}
.sht-panel[hidden] { display: flex; visibility: hidden; }
.sht-panel--left { left: 0; transform: translateX(-100%); }
.sht-panel--right { right: 0; transform: translateX(100%); }
.sht-panel.is-open { transform: none; visibility: visible; }
.admin-bar .sht-panel { top: 32px; }
@media (max-width: 782px) { .admin-bar .sht-panel { top: 46px; } }
@media (max-width: 768px) { .sht-panel { width: 300px; } }
.sht-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 66px; padding: 20px 15px; border-bottom: 1px solid var(--sht-border); }
.sht-panel--left .sht-panel__head { justify-content: flex-end; }
.sht-panel__title { color: var(--sht-title); font-family: var(--sht-font-title); font-size: 20px; font-weight: 700; }
.sht-panel__close { display: inline-flex; align-items: center; gap: 7px; color: var(--sht-title); font-size: 13px; font-weight: 600; text-transform: uppercase; }
.sht-panel__close:hover { color: var(--sht-text); }
.sht-panel__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; }
.sht-panel__body--pad { padding: 20px 15px; }
.sht-panel__register { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--sht-border); text-align: center; }
.sht-panel__regicon { display: inline-flex; color: var(--sht-muted); margin-bottom: 10px; }

/* Handy-Menü */
.sht-nav--mobile { display: block; margin: 0; padding: 0; }
.sht-nav--mobile .sht-nav__item { position: relative; display: flex; flex-wrap: wrap; align-items: stretch; border-bottom: 1px solid var(--sht-border); }
.sht-nav--mobile .sht-nav__link, .sht-nav--mobile .sht-nav__sublink {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	padding: 5px 20px;
	color: #333;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-transform: uppercase;
}
.sht-nav--mobile .sht-nav__link:hover, .sht-nav--mobile .sht-nav__item.is-active > .sht-nav__link { color: rgba(51, 51, 51, .7); }
.sht-nav--mobile .sht-nav__toggle { display: flex; align-items: center; justify-content: center; width: 50px; border-left: 1px solid var(--sht-border); color: #333; }
.sht-nav--mobile .sht-nav__toggle .sht-icon { transition: transform .3s ease; }
.sht-nav--mobile .sht-nav__toggle[aria-expanded="true"] .sht-icon { transform: rotate(90deg); }
.sht-nav--mobile .sht-nav__sub { display: none; flex: 0 0 100%; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--sht-border); }
.sht-nav--mobile .is-open > .sht-nav__sub { display: block; }
.sht-nav--mobile .sht-nav__sub .sht-nav__item:last-child { border-bottom: 0; }
.sht-nav--mobile .sht-nav__sublink { padding-left: 35px; text-transform: none; font-size: 14px; font-weight: 400; }
.sht-nav--mobile .sht-nav__sub .sht-nav__sub .sht-nav__sublink { padding-left: 50px; }
.sht-nav--mobile .sht-nav__item--account .sht-icon { width: 16px; }

/* Schwebende Knöpfe (Beratung aus sh-iwag-core, Siegel) hinter offenen Panels verstecken.
   Ganz .sh-bt, nicht nur den Knopf: sein leerer Rahmen (fixed, z-index 99990) lag sonst über «Kasse»
   im Mini-Warenkorb und fing den Klick ab (Julian 02.11.2026). */
body.sht-locked .sh-bt, body.sht-locked .sh-bt *, body.sht-locked .shpb-fab, body.sht-locked .auorg_sealWrapper { visibility: hidden !important; pointer-events: none !important; }

/* ========== Handy-Leiste unten + Nach-oben ========== */
.sht-toolbar { display: none; }
@media (max-width: 1024px) {
	.sht-has-toolbar { padding-bottom: 55px; }
	.sht-toolbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 350;
		display: flex; align-items: center; justify-content: space-around;
		height: 55px; padding: 5px;
		background: #fff; box-shadow: 0 0 9px rgba(0, 0, 0, .12);
	}
	.sht-toolbar__item { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; height: 45px; color: #333; }
	.sht-toolbar__item .sht-cart-count { right: -7px; }
	.sht-toolbar__label { color: #333; font-size: 11px; font-weight: 600; line-height: 1; }
}
.sht-totop {
	position: fixed; right: 20px; bottom: 20px; z-index: 350;
	display: flex; align-items: center; justify-content: center;
	width: 50px; height: 50px; border-radius: 50%;
	background: rgba(255, 255, 255, .9); color: #333;
	box-shadow: 0 0 5px rgba(0, 0, 0, .17);
	opacity: 0; pointer-events: none; transform: scale(.8);
	transition: opacity .3s ease, transform .3s ease;
}
.sht-totop.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.sht-totop:hover { color: #000; background: #fff; }
@media (max-width: 1024px) { .sht-totop { bottom: 75px; right: 12px; width: 40px; height: 40px; } }

/* Fahrzeug-Kasten der Suchseite: zuerst, volle Breite */
.sht-suche__fahrzeug { margin: 0 0 30px; }
.sht-suche__fahrzeug .sh-fzw, .sht-suche__fahrzeug .sh-fzcta { margin: 0; }

/* ========== Fahrzeug-Knopf + Panel (Meeting 23.10.2026: «auffällig») ========== */
/* Unten rechts über «Beratung» (Julian 27.10.2026: «unten rechts als Floating Button, auch auf der Startseite»).
   «Beratung» (sh-iwag-core) sitzt bei right 20 / bottom 20, 52 px hoch, neben dem Siegel bei right 112 px.
   Ohne :has() (ältere Browser) bleibt bottom 84 px — liegt dann trotzdem über «Beratung». */
.sht-fzb { position: fixed; right: 20px; bottom: 84px; z-index: 350; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 14px; }
body:not(:has(#sh-bt)) .sht-fzb { bottom: 20px; }
body:has(.auorg_sealWrapper) .sht-fzb { right: 112px; }
body:has(.sh-bt.is-offen) .sht-fzb { visibility: hidden; }
/* Vergleichsleiste offen (sh-iwag-core): «Beratung» rückt auf Leiste + 14 px — der Knopf bleibt darüber (52 + 12 px). */
html body.sh-vgl-aktiv .sht-fzb { bottom: calc(var(--sh-vgl-unten, 0px) + var(--sh-vgl-h, 0px) + 78px); }
html body.sh-vgl-aktiv:has(#sh-bt) .sht-fzb { bottom: calc(var(--sh-vgl-unten, 0px) + var(--sh-vgl-h, 0px) + 78px); }
html body.sh-vgl-aktiv:not(:has(#sh-bt)) .sht-fzb { bottom: calc(var(--sh-vgl-unten, 0px) + var(--sh-vgl-h, 0px) + 14px); }
.sht-fzb__knopf {
	position: relative; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px 0 11px;
	border: 0; border-radius: 999px; background: var(--sht-primary); color: #fff;
	font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .01em; cursor: pointer;
	box-shadow: 0 10px 28px rgba(247, 0, 0, .35), 0 2px 6px rgba(0, 0, 0, .15);
	transition: transform .2s var(--sht-ease), background-color .2s ease;
}
.sht-fzb__knopf:hover { transform: translateY(-2px); background: var(--sht-primary-hover); }
.sht-fzb__knopf:focus-visible { outline: 3px solid #fff; outline-offset: 0; box-shadow: 0 0 0 6px var(--sht-primary); }
.sht-fzb__icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.sht-fzb--leer .sht-fzb__knopf::after {
	content: ""; position: absolute; inset: -5px; border: 2px solid var(--sht-primary); border-radius: 999px;
	opacity: 0; pointer-events: none; animation: sht-fzb-puls 2.4s ease-out 2s 4;
}
@keyframes sht-fzb-puls { 0% { opacity: .75; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12, 1.45); } }
/* Erinnerung ohne Fahrzeug (theme.js setzt .is-stupser nach 20/45/75 s): eigener Name, damit die Animation neu startet. */
@keyframes sht-fzb-puls2 { 0% { opacity: .75; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12, 1.45); } }
@keyframes sht-fzb-wackel { 0%, 100% { transform: none; } 20% { transform: rotate(-12deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(3deg); } }
.sht-fzb.is-stupser .sht-fzb__knopf::after { animation: sht-fzb-puls2 2.4s ease-out 0s 2; }
.sht-fzb.is-stupser .sht-fzb__icon { animation: sht-fzb-wackel .8s ease 2; }
.sht-fzb--gesetzt .sht-fzb__knopf { height: 46px; padding: 0 18px 0 8px; background: #fff; color: var(--sht-title); font-size: 14px; font-weight: 600; box-shadow: 0 6px 20px rgba(0, 0, 0, .16); }
.sht-fzb--gesetzt .sht-fzb__knopf:hover { background: #fff; color: var(--sht-primary); }
.sht-fzb--gesetzt .sht-fzb__icon { width: 30px; height: 30px; background: #16a34a; color: #fff; }
/* Werbekarte: gleicher Auftritt wie der Fahrzeug-Kasten der Suchseiten (roter Rahmen, drei Vorteile). */
.sht-fzb__karte {
	position: relative; width: 340px; max-width: calc(100vw - 24px); margin: 0; padding: 18px 18px 16px;
	border: 2px solid var(--sht-primary); border-radius: 16px; background: #fff; color: var(--sht-text);
	box-shadow: 0 0 0 6px rgba(247, 0, 0, .12), 0 18px 40px rgba(16, 24, 40, .24); animation: sht-fzb-ein .5s var(--sht-ease) both;
}
.sht-fzb__karte[hidden] { display: none; }
.sht-fzb__karte::after {
	content: ""; position: absolute; right: 44px; bottom: -9px; width: 14px; height: 14px; background: #fff;
	border-right: 2px solid var(--sht-primary); border-bottom: 2px solid var(--sht-primary); transform: rotate(45deg);
}
.sht-fzb__zu { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: var(--sht-text); cursor: pointer; }
.sht-fzb__zu:hover, .sht-fzb__zu:focus-visible { color: var(--sht-title); background: #f3f4f6; }
.sht-fzb__zu:focus-visible { outline: 2px solid var(--sht-title); outline-offset: 1px; }
.sht-fzb__kopf { display: flex; align-items: flex-start; gap: 12px; margin: 0 28px 14px 0; }
.sht-fzb__auto { flex: 0 0 46px; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--sht-primary); color: #fff; overflow: hidden; }
.sht-fzb__auto svg { animation: sht-fzb-fahrt 1.2s cubic-bezier(.2, .8, .2, 1) .25s both; }
@keyframes sht-fzb-fahrt { from { transform: translateX(-44px); } 70% { transform: translateX(3px); } to { transform: none; } }
.sht-fzb__titel { margin: 0; color: var(--sht-title); font-family: var(--sht-font-title); font-size: 16px; font-weight: 700; line-height: 1.3; }
.sht-fzb__unter { margin: 3px 0 0; font-size: 13px; line-height: 1.4; }
.sht-fz-vorteile { display: grid; gap: 7px; margin: 0 0 14px; padding: 0; list-style: none; }
.sht-fz-vorteile li { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 0; color: var(--sht-title); font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.sht-fz-vorteile li::before { content: none; }
.sht-fz-vorteile__haken { flex: 0 0 18px; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: #16a34a; color: #fff; }
.sht-fz-vorteile__haken svg { width: 11px; height: 11px; stroke-width: 3; }
.sht-fzb__los {
	display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 44px; padding: 0 16px;
	border: 0; border-radius: 999px; background: var(--sht-primary); color: #fff; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer;
	transition: background-color .2s ease;
}
.sht-fzb__los:hover { background: var(--sht-primary-hover); }
.sht-fzb__los:focus-visible { outline: 3px solid var(--sht-title); outline-offset: 2px; }
@keyframes sht-fzb-ein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sht-panel .sht-fz-vorteile { margin: -4px 0 18px; }
body.sht-locked .sht-fzb { visibility: hidden; }
.sht-panel--fahrzeug { width: 380px; }
.sht-fz-intro { margin: 0 0 16px; color: var(--sht-text); line-height: 1.5; }
.sht-fz-aktiv { display: grid; gap: 4px; margin: 0 0 18px; padding: 12px 14px; border: 1px solid #bbf7d0; border-radius: 12px; background: #f0fdf4; }
.sht-fz-aktiv__label { display: inline-flex; align-items: center; gap: 6px; color: #15803d; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.sht-fz-aktiv__auto { color: var(--sht-title); line-height: 1.35; }
.sht-fz-aktiv__weg { justify-self: start; margin-top: 4px; padding: 0; border: 0; background: none; color: var(--sht-text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.sht-fz-aktiv__weg:hover { color: var(--sht-primary); }
.sht-fz-aktiv__weg:focus-visible { color: var(--sht-primary); outline: 2px solid var(--sht-primary); outline-offset: 3px; border-radius: 4px; }
.sht-fz-weg { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--sht-title); font-weight: 600; text-decoration: none !important; border-bottom: 0 !important; }
.sht-fz-weg:hover, .sht-fz-weg:focus-visible { color: var(--sht-primary); }
@media (max-width: 1024px) {
	/* Ohne Handy-Leiste (Customizer) bleibt der Knopf schwebend über «Beratung»: bis 1024 px wie am Desktop, bis 600 px s. unten. */
	/* Mit Handy-Leiste: Knopf sitzt in der Leiste, nur die Werbekarte schwebt — über «Beratung» (48 px + 12 px). */
	.sht-has-toolbar .sht-fzb { left: 12px; right: 12px; bottom: calc(55px + 12px + env(safe-area-inset-bottom, 0px)); align-items: stretch; pointer-events: none; }
	body.sht-has-toolbar:not(:has(#sh-bt)) .sht-fzb { bottom: calc(55px + 12px + env(safe-area-inset-bottom, 0px)); }
	body.sht-has-toolbar:has(#sh-bt) .sht-fzb { bottom: calc(55px + 12px + 48px + 12px + env(safe-area-inset-bottom, 0px)); }
	.sht-has-toolbar .sht-fzb > * { pointer-events: auto; }
	.sht-has-toolbar .sht-fzb__knopf { display: none; }
	.sht-has-toolbar .sht-fzb__karte { width: auto; max-width: 440px; margin-left: auto; }
	.sht-has-toolbar .sht-fzb__karte::after { display: none; }
	.sht-toolbar__item--fz { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; }
	.sht-toolbar__fz {
		position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 26px;
		border-radius: 999px; background: var(--sht-primary); color: #fff; box-shadow: 0 4px 12px rgba(247, 0, 0, .35);
	}
	.sht-toolbar__item--fz .sht-toolbar__label { color: var(--sht-primary); font-weight: 700; }
	.sht-toolbar__item--fz:not(.is-gesetzt) .sht-toolbar__fz::after {
		content: ""; position: absolute; inset: -4px; border: 2px solid var(--sht-primary); border-radius: 999px;
		opacity: 0; pointer-events: none; animation: sht-fzb-puls 2.4s ease-out 2s 4;
	}
	.sht-toolbar__item--fz.is-gesetzt .sht-toolbar__fz { background: #16a34a; box-shadow: none; }
	.sht-toolbar__item--fz.is-stupser:not(.is-gesetzt) .sht-toolbar__fz::after { animation: sht-fzb-puls2 2.4s ease-out 0s 2; }
	.sht-toolbar__item--fz.is-stupser:not(.is-gesetzt) .sht-toolbar__fz svg { animation: sht-fzb-wackel .8s ease 2; }
	.sht-toolbar__item--fz.is-gesetzt .sht-toolbar__label { color: #333; font-weight: 600; }
}
/* Bis 600 px sitzt «Beratung» bei right/bottom 12 px, 48 px hoch (sh-iwag-core). */
@media (max-width: 600px) { .sht-fzb { right: 12px; bottom: 72px; } }
/* Niedrige Fenster (Handy quer): Karte passt nicht unter die Kopfzeile, × wäre verdeckt — dann nur Knopf/Leiste. */
@media (max-height: 540px) { .sht-fzb__karte { display: none; } }
@media (max-width: 768px) { .sht-panel--fahrzeug { width: 100%; max-width: 380px; } }
@media (prefers-reduced-motion: reduce) {
	.sht-fzb__knopf::after, .sht-toolbar__fz::after { display: none; animation: none; }
	.sht-fzb__icon, .sht-toolbar__fz svg { animation: none !important; }
	.sht-fzb__karte, .sht-fzb__auto svg { animation: none; }
}
