/* =========================================================================
   GZ BIKES · Gestaltungssystem
   Rahmen: Schwarz, Creme, Chrom. Wärme: Kraftpapier. Farbe bringen die Bikes.
   Feste Regeln: keine Pillen-Buttons, Textkästen mit Rahmen,
   genug Zeilenabstand für Umlaute in Headlines, DUO immer größer.
   ========================================================================= */

:root {
	--gz-schwarz: #141414;
	--gz-creme: #F4EFE4;
	--gz-chrom: #A8A59D;
	--gz-kraft: #CBAE84;
	--gz-grau: #55524C;
	--gz-weiss: #FFFDF8;

	--gz-radius: 4px;                 /* nie rund wie eine Pille */
	--gz-rahmen: 2px solid var(--gz-schwarz);
	--gz-schatten: 0 10px 24px -12px rgba(20, 20, 20, .45);

	--gz-font-head: "Barlow", "Arial Narrow", Arial, sans-serif;
	--gz-font-body: "Barlow", Arial, sans-serif;
	--gz-font-mono: "Courier Prime", "Courier New", monospace;

	/* Kadence-Variablen überschreiben */
	--global-body-font-family: var(--gz-font-body);
	--global-heading-font-family: var(--gz-font-head);
	--global-primary-nav-font-family: var(--gz-font-head);
	--global-fallback-font: Arial, sans-serif;

	--global-content-width: 1240px;
}

/* -------------------------------------------------------------------------
   Grundlagen
   ---------------------------------------------------------------------- */

body {
	font-family: var(--gz-font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--global-palette4, #26241F);
	background-color: var(--gz-creme);
	background-image: url("../img/papier.svg");
	-webkit-font-smoothing: antialiased;
}

/* Die Inhaltsfläche von Kadence ist sonst weiß: Creme mit Papier durchscheinen lassen */
.site,
.content-bg,
body.content-style-unboxed .site,
.entry.single-entry,
.content-wrap .entry {
	background: transparent;
	box-shadow: none;
}

h1, h2, h3, h4,
.wp-block-heading,
.entry-title {
	font-family: var(--gz-font-head);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .005em;
	color: var(--gz-schwarz);
	/* Umlaute: Ü-Punkte dürfen nicht in die Zeile darüber hängen */
	line-height: 1.14;
	padding-top: .06em;
}

h1, .gz-h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
h2         { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3         { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.2; }
h4         { font-size: 1.15rem; line-height: 1.25; }
/* Kleine Zwischenüberschrift: semantisch h2/h3 (richtige Gliederung), optisch wie h4 */
body :is(h2, h3).gz-h4 { font-size: 1.15rem; line-height: 1.25; }

a { color: var(--gz-schwarz); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--gz-grau); }

::selection { background: var(--gz-kraft); color: var(--gz-schwarz); }

/* -------------------------------------------------------------------------
   Labels, Notizen, Platzhalter
   ---------------------------------------------------------------------- */

.is-style-gz-label,
.gz-label {
	font-family: var(--gz-font-head);
	font-weight: 700;
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .24em;
	line-height: 1.4;
	padding-top: 0;
	color: var(--gz-grau);
}

.is-style-gz-mono,
.gz-mono,
code, kbd {
	font-family: var(--gz-font-mono);
}

/* Noch nicht freigegebene Angaben (lokal sichtbar, vor Livegang klären) */
mark.gz-offen,
.gz-offen {
	background: #FFE58A;
	color: var(--gz-schwarz);
	padding: 0 .25em;
	border-bottom: 2px dashed #B8860B;
	border-radius: 2px;
	font-family: var(--gz-font-mono);
	font-size: .92em;
}

/* -------------------------------------------------------------------------
   Buttons: leicht abgerundet, nie Pille
   ---------------------------------------------------------------------- */

body .wp-block-button__link,
body .wp-element-button,
body .button,
body button,
body input[type="submit"],
body input[type="button"],
body .header-button,
body .kb-button {
	border-radius: var(--gz-radius) !important;
	font-family: var(--gz-font-head);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .14em;
	font-size: .9rem;
}

body .wp-block-button__link {
	background: var(--gz-schwarz);
	color: var(--gz-creme);
	padding: 1em 1.6em;
	border: 2px solid var(--gz-schwarz);
	transition: background .15s, color .15s, transform .15s;
}
body .wp-block-button__link:hover,
body .wp-block-button__link:focus {
	background: var(--global-palette2, #2E2C29);
	color: var(--gz-weiss);
	transform: translateY(-1px);
}

body .is-style-gz-outline .wp-block-button__link,
body .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--gz-schwarz);
	border: 2px solid var(--gz-schwarz);
}
body .is-style-gz-outline .wp-block-button__link:hover,
body .is-style-outline .wp-block-button__link:hover {
	background: var(--gz-schwarz);
	color: var(--gz-creme);
}

/* Auf schwarzem Grund umkehren */
.is-style-gz-schwarz .wp-block-button__link { background: var(--gz-creme); color: var(--gz-schwarz); border-color: var(--gz-creme); }
.is-style-gz-schwarz .wp-block-button__link:hover { background: var(--gz-weiss); color: var(--gz-schwarz); }
.is-style-gz-schwarz .is-style-gz-outline .wp-block-button__link { background: transparent; color: var(--gz-creme); border-color: var(--gz-creme); }

/* -------------------------------------------------------------------------
   Kopfzeile (Kadence Header Builder)
   ---------------------------------------------------------------------- */

#masthead,
.site-header-row-container-inner {
	background: var(--gz-creme);
}
.site-header-row-container-inner { border-bottom: 1px solid rgba(20, 20, 20, .12); }

.site-branding .site-title {
	font-family: var(--gz-font-head);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: 1.6rem;
}

.header-navigation .menu > li > a,
.main-navigation .primary-menu-container > ul > li.menu-item > a,
.mobile-navigation ul li > a {
	font-family: var(--gz-font-head);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .18em;
	font-size: .82rem;
	color: var(--gz-schwarz);
}

/* "Für Händler" oben rechts (Kadence Header-Button) */
.header-button-wrap .header-button {
	background: var(--gz-schwarz);
	color: var(--gz-creme);
	border: 2px solid var(--gz-schwarz);
	padding: .7em 1.2em;
	font-size: .78rem;
}
.header-button-wrap .header-button:hover { background: transparent; color: var(--gz-schwarz); }

/* -------------------------------------------------------------------------
   Fußzeile
   ---------------------------------------------------------------------- */

.site-footer,
.site-footer-row-container-inner {
	background: var(--gz-schwarz);
	color: #D9D4C8;
}
.site-footer a { color: var(--gz-creme); }
.site-footer .widget-title,
.site-footer h2, .site-footer h3, .site-footer h4 {
	color: var(--gz-creme);
	font-size: .85rem;
	letter-spacing: .22em;
	font-weight: 700;
}

/* -------------------------------------------------------------------------
   Flächen (Blockstile für "Gruppe")
   ---------------------------------------------------------------------- */

/* Papier: Creme mit Struktur */
.is-style-gz-papier {
	background-color: var(--gz-creme);
	background-image: url("../img/papier.svg");
}

/* Kraftpapier mit gerissenen Kanten oben und unten */
.is-style-gz-kraft {
	position: relative;
	background-color: var(--gz-kraft);
	background-image: url("../img/kraft.svg");
	margin-top: 28px;
	margin-bottom: 28px;
}
.is-style-gz-kraft::before,
.is-style-gz-kraft::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 28px;
	background: url("../img/riss-kraft.svg") center / 100% 100% no-repeat;
	pointer-events: none;
}
.is-style-gz-kraft::before { top: -27px; }
.is-style-gz-kraft::after  { bottom: -27px; transform: scaleY(-1) scaleX(-1); }

/* Schwarz mit Risskante oben (Übergang Creme zu Schwarz, z. B. Händlerbereich) */
.is-style-gz-schwarz {
	position: relative;
	background-color: var(--gz-schwarz);
	color: #E4DED1;
	margin-top: 28px;
}
.is-style-gz-schwarz::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -27px;
	height: 28px;
	background: url("../img/riss-schwarz.svg") center / 100% 100% no-repeat;
	pointer-events: none;
}
.is-style-gz-schwarz h1, .is-style-gz-schwarz h2,
.is-style-gz-schwarz h3, .is-style-gz-schwarz h4 { color: var(--gz-creme); }
.is-style-gz-schwarz a:not(.wp-block-button__link) { color: var(--gz-creme); }
.is-style-gz-schwarz .is-style-gz-label,
.is-style-gz-schwarz .gz-label { color: var(--gz-kraft); }

/* Textkasten mit Rahmen (Regel: Textkästen bekommen einen Rahmen) */
.is-style-gz-kasten {
	background: var(--gz-weiss);
	border: var(--gz-rahmen);
	border-radius: var(--gz-radius);
	padding: clamp(1.25rem, 3vw, 2.25rem);
}
.is-style-gz-schwarz .is-style-gz-kasten { color: var(--global-palette4); }
.is-style-gz-schwarz .is-style-gz-kasten h2,
.is-style-gz-schwarz .is-style-gz-kasten h3,
.is-style-gz-schwarz .is-style-gz-kasten h4 { color: var(--gz-schwarz); }

/* Papierzettel für Hinweise und Stempel */
.is-style-gz-zettel {
	position: relative;
	background: var(--gz-weiss);
	border: 1px solid rgba(20, 20, 20, .25);
	padding: 1.4rem 1.6rem;
	box-shadow: var(--gz-schatten);
	transform: rotate(-1.2deg);
	font-family: var(--gz-font-mono);
	font-size: .95rem;
}
.is-style-gz-zettel::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 50%;
	width: 90px;
	height: 24px;
	margin-left: -45px;
	background: rgba(234, 222, 190, .82);
	border-left: 1px dashed rgba(0, 0, 0, .08);
	border-right: 1px dashed rgba(0, 0, 0, .08);
	transform: rotate(2deg);
}

/* Lackkante: waagerechte Zweifarben-Teilung mit Chromlinie und Zierstreifen.
   Farben über --gz-lack-oben / --gz-lack-unten (Standard: Schwarz über Creme). */
.is-style-gz-lackkante {
	--gz-lack-oben: var(--gz-schwarz);
	--gz-lack-unten: var(--gz-creme);
	--gz-teilung: 58%;
	background:
		linear-gradient(to bottom,
			var(--gz-lack-oben) 0,
			var(--gz-lack-oben) calc(var(--gz-teilung) - 14px),
			var(--gz-kraft) calc(var(--gz-teilung) - 14px),
			var(--gz-kraft) calc(var(--gz-teilung) - 11px),
			var(--gz-lack-oben) calc(var(--gz-teilung) - 11px),
			var(--gz-lack-oben) calc(var(--gz-teilung) - 4px),
			#E9E7E1 calc(var(--gz-teilung) - 4px),
			var(--gz-chrom) calc(var(--gz-teilung) - 1px),
			#6E6B64 var(--gz-teilung),
			var(--gz-lack-unten) var(--gz-teilung),
			var(--gz-lack-unten) 100%);
}

/* Chromlinie als Trenner */
.wp-block-separator.is-style-gz-chrom {
	border: 0;
	height: 9px;
	max-width: none;
	opacity: 1;
	background:
		linear-gradient(to bottom,
			var(--gz-kraft) 0, var(--gz-kraft) 2px,
			transparent 2px, transparent 4px,
			#ECEAE4 4px, var(--gz-chrom) 6.5px, #6E6B64 9px);
}

/* -------------------------------------------------------------------------
   Foto auf Kraftpapier: weißer Rand, leicht schräg, Klebestreifen
   ---------------------------------------------------------------------- */

.wp-block-image.is-style-gz-foto {
	position: relative;
	display: block;
	background: var(--gz-weiss);
	padding: 10px 10px 34px;
	box-shadow: var(--gz-schatten);
	transform: rotate(-2deg);
	transition: transform .25s ease;
}
.wp-block-image.is-style-gz-foto:nth-of-type(2n) { transform: rotate(1.6deg); }
.wp-block-image.is-style-gz-foto:hover { transform: rotate(0); }
.wp-block-image.is-style-gz-foto img { display: block; width: 100%; border-radius: 0; }
.wp-block-image.is-style-gz-foto::before {
	content: "";
	position: absolute;
	z-index: 2;
	top: -14px;
	left: 50%;
	width: 110px;
	height: 28px;
	margin-left: -55px;
	background: rgba(234, 222, 190, .85);
	border-left: 1px dashed rgba(0, 0, 0, .1);
	border-right: 1px dashed rgba(0, 0, 0, .1);
	transform: rotate(-3deg);
}
.wp-block-image.is-style-gz-foto figcaption {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 6px;
	margin: 0;
	font-family: var(--gz-font-mono);
	font-size: .85rem;
	color: var(--gz-grau);
	text-align: left;
}

/* -------------------------------------------------------------------------
   Hero mit Filmschleife
   ---------------------------------------------------------------------- */

.gz-hero.wp-block-cover {
	min-height: min(88vh, 820px);
	align-items: flex-end;
	padding-bottom: clamp(3rem, 8vw, 6rem);
}
.gz-hero h1 { color: var(--gz-creme); max-width: 12ch; }
.gz-hero .gz-kernsatz {
	font-family: var(--gz-font-head);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .2em;
	color: var(--gz-kraft);
	/* Barrierefreiheit: als Etikett auf Schwarz, damit die Zeile auch auf hellem Himmel lesbar bleibt (8,7:1) */
	display: inline-block;
	background: var(--gz-schwarz);
	padding: .5em .85em .45em;
	border-radius: 4px;
}
.gz-hero p { color: #EDE7DA; }
.gz-hero p:not(.gz-kernsatz) { text-shadow: 0 1px 3px rgba(20, 20, 20, .55); }
.gz-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(20,20,20,.1) 0%, rgba(20,20,20,.75) 100%) !important; opacity: 1 !important; }

/* -------------------------------------------------------------------------
   Modellfamilie: DUO immer größer
   ---------------------------------------------------------------------- */

.gz-gz-hintergrund { position: relative; overflow: hidden; isolation: isolate; }
.gz-gz-hintergrund::before {
	content: "GZ";
	position: absolute;
	z-index: -1;
	right: -2vw;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--gz-font-head);
	font-weight: 900;
	font-size: clamp(16rem, 42vw, 38rem);
	line-height: .8;
	color: transparent;
	-webkit-text-stroke: 2px rgba(20, 20, 20, .1);
	pointer-events: none;
}

.gz-modellfamilie { align-items: stretch !important; }
.gz-modellfamilie > .wp-block-column:first-child { flex-basis: 58% !important; }
.gz-modellfamilie > .wp-block-column:not(:first-child) { flex-basis: 21% !important; }

.gz-modell-karte {
	height: 100%;
	display: flex;
	flex-direction: column;
	background: var(--gz-weiss);
	border: var(--gz-rahmen);
	border-radius: var(--gz-radius);
	padding: 1.25rem;
}
.gz-modell-karte .wp-block-buttons { margin-top: auto; padding-top: 1rem; }
.gz-modell-karte.gz-held h3 { font-size: clamp(2rem, 3.6vw, 3rem); }
.gz-modell-karte .gz-preis { font-family: var(--gz-font-mono); font-size: 1.05rem; }
.gz-modell-karte figure { margin: 0 0 1rem; }

@media (max-width: 781px) {
	.gz-modellfamilie { flex-wrap: wrap !important; flex-direction: column !important; }
	.gz-modellfamilie > .wp-block-column { flex-basis: 100% !important; width: 100% !important; }
}

/* Farbpunkte (Modellfarben nur im Produktkontext) */
.gz-farbpunkte { display: flex; flex-wrap: wrap; gap: .55rem; margin: .5rem 0; padding: 0; list-style: none; }
.gz-farbpunkte li {
	width: 26px; height: 26px; border-radius: 50%;
	border: 2px solid var(--gz-schwarz);
	background: linear-gradient(to bottom, var(--o, #141414) 0 50%, var(--u, #F4EFE4) 50% 100%);
	position: relative;
	cursor: help;
}
.gz-farbpunkte li span {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.gz-farbpunkte li:hover span,
.gz-farbpunkte li:focus span {
	width: auto; height: auto; clip: auto; overflow: visible;
	top: 32px; left: 50%; transform: translateX(-50%);
	white-space: nowrap; font-family: var(--gz-font-mono); font-size: .75rem;
	background: var(--gz-schwarz); color: var(--gz-creme); padding: 2px 6px; border-radius: 2px; z-index: 5;
}

/* -------------------------------------------------------------------------
   Führerschein-Finder
   ---------------------------------------------------------------------- */

.gz-finder-karte {
	background: var(--gz-weiss);
	border: var(--gz-rahmen);
	border-radius: var(--gz-radius);
	padding: 1.5rem;
	height: 100%;
}
.gz-finder-karte .gz-klasse {
	display: inline-block;
	font-family: var(--gz-font-head);
	font-weight: 900;
	font-size: 2.6rem;
	line-height: 1.1;
	border: 3px solid var(--gz-schwarz);
	border-radius: var(--gz-radius);
	padding: .1em .35em;
	margin-bottom: .5rem;
}

/* -------------------------------------------------------------------------
   Stempel
   ---------------------------------------------------------------------- */

.gz-stempel { display: inline-block; transform: rotate(-9deg); opacity: .88; mix-blend-mode: multiply; }
.gz-stempel svg { display: block; width: clamp(130px, 16vw, 180px); height: auto; }
.is-style-gz-schwarz .gz-stempel { mix-blend-mode: normal; filter: invert(1); opacity: .8; }

/* -------------------------------------------------------------------------
   Datenblatt
   ---------------------------------------------------------------------- */

.wp-block-table.is-style-gz-datenblatt table {
	border-collapse: collapse;
	font-family: var(--gz-font-mono);
	font-size: .98rem;
	background: var(--gz-weiss);
	border: var(--gz-rahmen);
}
.wp-block-table.is-style-gz-datenblatt td,
.wp-block-table.is-style-gz-datenblatt th {
	border: 0;
	border-bottom: 1px dashed var(--gz-chrom);
	padding: .7em 1em;
	vertical-align: top;
	text-align: left;
}
.wp-block-table.is-style-gz-datenblatt td:first-child {
	font-family: var(--gz-font-head);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .14em;
	font-size: .78rem;
	color: var(--gz-grau);
	width: 38%;
}
.wp-block-table.is-style-gz-datenblatt thead th {
	background: var(--gz-schwarz);
	color: var(--gz-creme);
	font-family: var(--gz-font-head);
	letter-spacing: .2em;
	text-transform: uppercase;
	font-size: .8rem;
}

/* -------------------------------------------------------------------------
   FAQ (Details-Block)
   ---------------------------------------------------------------------- */

.wp-block-details {
	border: var(--gz-rahmen);
	border-radius: var(--gz-radius);
	background: var(--gz-weiss);
	padding: 0;
	margin-bottom: .75rem;
}
.wp-block-details summary {
	cursor: pointer;
	padding: 1rem 1.25rem;
	font-weight: 700;
	list-style: none;
	position: relative;
	padding-right: 3rem;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--gz-font-mono);
	font-size: 1.4rem;
}
.wp-block-details[open] summary::after { content: "−"; }
.wp-block-details > *:not(summary) { padding: 0 1.25rem; }
.wp-block-details > *:last-child { padding-bottom: 1.1rem; }

/* -------------------------------------------------------------------------
   Formulare (Händleranfrage)
   ---------------------------------------------------------------------- */

input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="number"], input[type="password"], select, textarea {
	border: 2px solid var(--gz-schwarz) !important;
	border-radius: var(--gz-radius) !important;
	background: var(--gz-weiss) !important;
	font-family: var(--gz-font-body);
}

/* -------------------------------------------------------------------------
   Hilfsklassen
   ---------------------------------------------------------------------- */

.gz-schmal { max-width: 720px; margin-left: auto; margin-right: auto; }
.gz-zahl {
	font-family: var(--gz-font-head);
	font-weight: 900;
	font-size: clamp(2.4rem, 4vw, 3.4rem);
	line-height: 1;
	padding-top: .06em;
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-image.is-style-gz-foto,
	body .wp-block-button__link { transition: none; }
}

/* Film-Overlay */
.gz-film-overlay {
	position: fixed; inset: 0; z-index: 99999;
	background: rgba(20, 20, 20, .92);
	display: flex; align-items: center; justify-content: center; padding: 4vw;
}
.gz-film-overlay video { width: 100%; max-width: 1280px; max-height: 86vh; background: #000; }
.gz-film-zu {
	position: absolute; top: 18px; right: 22px;
	background: transparent !important; border: 2px solid var(--gz-creme) !important;
	color: var(--gz-creme); font-size: 1.6rem; line-height: 1; width: 44px; height: 44px; padding: 0;
}

/* -------------------------------------------------------------------------
   Feinschliff nach erster Ansicht (12.11.2026)
   ---------------------------------------------------------------------- */

/* Label sitzt direkt über der Headline, Headlines ohne riesigen Abstand oben */
.entry-content :is(h1, h2, h3) { margin-top: .5em; margin-bottom: .45em; }
.entry-content .is-style-gz-label { margin-bottom: 0; }
.entry-content .is-style-gz-label + :is(h1, h2, h3, h4) { margin-top: .15em; }

/* Hero: Headline linksbündig, nicht zentriert */
.gz-hero .wp-block-cover__inner-container > * { margin-left: 0 !important; }
.gz-hero h1 { max-width: none; }

/* Farbpunkte ohne Listen-Einzug */
.entry-content ul.gz-farbpunkte { padding-left: 0; margin-left: 0; }

/* Buttons auf dem dunklen Hero umkehren */
.gz-hero .wp-block-button__link { background: var(--gz-creme); color: var(--gz-schwarz); border-color: var(--gz-creme); }
.gz-hero .wp-block-button__link:hover { background: var(--gz-weiss); color: var(--gz-schwarz); }
.gz-hero .is-style-gz-outline .wp-block-button__link { background: transparent; color: var(--gz-creme); border-color: var(--gz-creme); }
.gz-hero .is-style-gz-outline .wp-block-button__link:hover { background: var(--gz-creme); color: var(--gz-schwarz); }

/* Logo (Affe mit Helm + GZ BIKES), Hochformat */
.site-branding .gz-logo,
.site-branding a.brand img.gz-logo { height: 76px; width: auto; max-width: none; display: block; }
@media (max-width: 1024px) { .site-branding .gz-logo { height: 58px; } }
.site-footer .gz-footer-logo { height: 96px; width: auto; display: inline-block; margin-bottom: 1rem; }

/* -------------------------------------------------------------------------
   Farbwahl auf Modellseiten: Lackkante färbt sich in der gewählten Bikefarbe
   (Modellfarben nur im Produktkontext)
   ---------------------------------------------------------------------- */

@property --gz-lack-oben  { syntax: "<color>"; inherits: true; initial-value: #141414; }
@property --gz-lack-unten { syntax: "<color>"; inherits: true; initial-value: #F4EFE4; }

.is-style-gz-lackkante {
	transition: --gz-lack-oben .7s ease, --gz-lack-unten .7s ease;
}

body .gz-farbwahl { gap: .7rem; margin: .6rem 0 .3rem; }
body .gz-farbwahl li { width: auto; height: auto; border: 0; background: none; cursor: default; }
body .gz-farbwahl button {
	appearance: none;
	width: 34px;
	height: 34px;
	padding: 0;
	margin: 0;
	border: 2px solid var(--gz-schwarz) !important;
	border-radius: 50% !important;          /* Farbkreis, kein Button-Look */
	background: linear-gradient(to bottom, var(--o, #141414) 0 50%, var(--u, #F4EFE4) 50% 100%) !important;
	box-shadow: none;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease;
}
body .gz-farbwahl button:hover { transform: scale(1.08); }
body .gz-farbwahl button:focus-visible { outline: 2px dashed var(--gz-schwarz); outline-offset: 4px; }
body .gz-farbwahl button[aria-pressed="true"] {
	box-shadow: 0 0 0 3px var(--gz-weiss), 0 0 0 5px var(--gz-schwarz);
}
.gz-farbname {
	font-family: var(--gz-font-mono);
	font-size: .95rem;
	min-height: 1.5em;
	margin: .2rem 0 1rem;
}

/* Bildwechsel beim Farbwechsel */
.is-style-gz-lackkante .is-style-gz-foto img { transition: opacity .35s ease; }
.is-style-gz-lackkante .is-style-gz-foto img.gz-wechsel { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
	.is-style-gz-lackkante { transition: none; }
}

/* Mitlaufende Kopfzeile: Creme mit leichtem Schatten, Logo etwas kleiner */
#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start),
#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .site-header-row-container-inner {
	background: var(--gz-creme) !important;
}
#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) {
	box-shadow: 0 8px 20px -14px rgba(20, 20, 20, .55);
}
#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .gz-logo { height: 54px; }
.site-branding .gz-logo { transition: height .2s ease; }

/* -------------------------------------------------------------------------
   Blog "Erleben": Karten mit Rahmen, Kategorien als Label
   ---------------------------------------------------------------------- */
.loop-entry.entry {
	background: var(--gz-weiss);
	border: var(--gz-rahmen);
	border-radius: var(--gz-radius);
	box-shadow: none;
	overflow: hidden;
}
.loop-entry .entry-title { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }
.loop-entry .entry-title a { text-decoration: none; }
.entry-taxonomies a,
.loop-entry .entry-taxonomies a {
	font-family: var(--gz-font-head);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .2em;
	font-size: .72rem;
	color: var(--gz-grau);
	text-decoration: none;
}
.entry-meta, .loop-entry .entry-meta { font-family: var(--gz-font-mono); font-size: .85rem; color: var(--gz-grau); }
.loop-entry .post-more-link {
	font-family: var(--gz-font-head);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .16em;
	font-size: .8rem;
	color: var(--gz-schwarz);
}
.single-post .entry-content > p,
.single-post .entry-content > ul { max-width: 720px; }
.single-post .entry-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.4em; }
.single-post .post-thumbnail img { border: var(--gz-rahmen); border-radius: var(--gz-radius); }

/* Preiszusatz in Modellkarten */
.gz-preis-zusatz { display: block; font-size: .78rem; color: var(--gz-grau); }

/* -------------------------------------------------------------------------
   Händler finden: statische Karte + Liste
   ---------------------------------------------------------------------- */
.gz-haendler {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: start;
}
@media (max-width: 860px) { .gz-haendler { grid-template-columns: 1fr; } }

.gz-haendler-karte {
	border: var(--gz-rahmen);
	border-radius: var(--gz-radius);
	background: var(--gz-weiss);
	padding: 10px;
	box-shadow: var(--gz-schatten);
	position: sticky;
	top: 110px;
}
.gz-haendler-karte__bild { position: relative; }
.gz-haendler-karte img { display: block; width: 100%; height: auto; }
.gz-haendler-karte__bild .gz-pin { position: absolute; }
.gz-pin {
	transform: translate(-50%, -100%);
	margin-left: 0;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 2;
}
.gz-pin__nr {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	position: relative;
	background: var(--gz-schwarz);
	color: var(--gz-creme);
	font-family: var(--gz-font-head);
	font-weight: 900;
	font-size: .85rem;
	box-shadow: 0 3px 6px rgba(20, 20, 20, .35);
	transition: transform .15s ease, background .15s ease;
}
.gz-pin__nr,
.gz-haendler-nr {
	box-sizing: border-box;
	line-height: 1;
	padding: 1px 0 0;   /* Barlow-Ziffern optisch mittig */
	text-align: center;
}
.gz-pin--showroom .gz-pin__nr { background: var(--gz-creme); color: var(--gz-schwarz); border: 3px solid var(--gz-schwarz); }
.gz-pin__name {
	position: absolute;
	bottom: 100%;
	margin-bottom: 8px;
	white-space: nowrap;
	font-family: var(--gz-font-head);
	font-weight: 700;
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .12em;
	background: var(--gz-schwarz);
	color: var(--gz-creme);
	padding: .25em .6em;
	border-radius: 2px;
	opacity: 0;
	pointer-events: none;
	transition: opacity .15s ease;
}
.gz-pin:hover .gz-pin__name,
.gz-pin:focus .gz-pin__name,
.gz-pin.ist-aktiv .gz-pin__name { opacity: 1; }
.gz-pin__nr::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 100%;
	margin-left: -6px;
	border: 6px solid transparent;
	border-top: 9px solid var(--gz-schwarz);
	border-bottom: 0;
}
.gz-pin:hover .gz-pin__nr,
.gz-pin.ist-aktiv .gz-pin__nr { transform: scale(1.15); }
.gz-pin { padding-bottom: 9px; }

.gz-haendler-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.gz-haendler-eintrag {
	position: relative;
	background: var(--gz-weiss);
	border: var(--gz-rahmen);
	border-radius: var(--gz-radius);
	padding: 1.25rem 1.4rem 1.2rem 4rem;
	transition: box-shadow .15s ease, transform .15s ease;
	scroll-margin-top: 120px;
}
.gz-haendler-eintrag.ist-aktiv { box-shadow: 6px 6px 0 var(--gz-kraft); transform: translate(-2px, -2px); }
.gz-haendler-eintrag--showroom { background: var(--gz-creme); }
.gz-haendler-nr {
	position: absolute;
	left: 1.1rem;
	top: 1.25rem;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--gz-schwarz);
	color: var(--gz-creme);
	font-family: var(--gz-font-head);
	font-weight: 900;
}
.gz-haendler-eintrag--showroom .gz-haendler-nr { background: var(--gz-creme); color: var(--gz-schwarz); border: 3px solid var(--gz-schwarz); }
.gz-haendler-eintrag h3 { margin: .1em 0 .35em; font-size: 1.35rem; }
.gz-haendler-eintrag p { margin: 0 0 .4em; }
.gz-haendler-adresse, .gz-haendler-kontakt, .gz-haendler-zeiten { font-family: var(--gz-font-mono); font-size: .95rem; }


/* =========================================================
   Formulare (Fluent Forms) im GZ-Look
   ========================================================= */
.gz-haendleranfrage .fluentform .ff-el-group { margin-bottom: 1.4rem; }
.gz-haendleranfrage .fluentform .ff-el-input--label label,
.gz-haendleranfrage .fluentform .ff-el-input--label {
	font-family: "Barlow", sans-serif;
	font-weight: 700;
	font-size: .78rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #141414;
	line-height: 1.5;
}
.gz-haendleranfrage .fluentform .ff-el-is-required.asterisk-right label::after { color: #141414; }
.gz-haendleranfrage .fluentform .ff-el-form-control {
	background: #FFFDF8;
	border: 1.5px solid #141414;
	border-radius: 4px;
	color: #141414;
	font-family: "Barlow", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	padding: .7rem .85rem;
	box-shadow: none;
}
.gz-haendleranfrage .fluentform .ff-el-form-control::placeholder { color: #8B877E; }
.gz-haendleranfrage .fluentform .ff-el-form-control:focus {
	border-color: #141414;
	outline: 3px solid #CBAE84;
	outline-offset: 1px;
}
.gz-haendleranfrage .fluentform select.ff-el-form-control { height: auto; }
.gz-haendleranfrage .fluentform textarea.ff-el-form-control { min-height: 7rem; }
.gz-haendleranfrage .fluentform .ff-el-form-check { margin-bottom: .35rem; }
.gz-haendleranfrage .fluentform .ff-el-form-check-label { font-family: "Barlow", sans-serif; font-size: 1rem; color: #141414; }
.gz-haendleranfrage .fluentform input[type="radio"],
.gz-haendleranfrage .fluentform input[type="checkbox"] { accent-color: #141414; width: 1.05rem; height: 1.05rem; }
.gz-haendleranfrage .fluentform .error.text-danger,
.gz-haendleranfrage .fluentform .ff-el-is-error .text-danger { color: #A51E1A; font-size: .9rem; }
.gz-haendleranfrage .fluentform .ff-el-is-error .ff-el-form-control { border-color: #A51E1A; }
.gz-haendleranfrage .gz-form-hinweis { color: #55524C; font-size: .9rem; line-height: 1.6; margin: 0; }
.gz-haendleranfrage .gz-form-hinweis a { color: #141414; }
.gz-haendleranfrage .fluentform .ff_submit_btn_wrapper { margin-top: .5rem; }
.gz-haendleranfrage .fluentform .ff-btn-submit,
.gz-haendleranfrage .fluentform .ff-btn-submit:not(.ff_btn_no_style) {
	background: #141414 !important;
	color: #F4EFE4 !important;
	border: 2px solid #141414;
	border-radius: 4px;
	font-family: "Barlow", sans-serif;
	font-weight: 700;
	font-size: .85rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	padding: .95rem 1.6rem;
	line-height: 1.2;
}
.gz-haendleranfrage .fluentform .ff-btn-submit:hover { background: #F4EFE4 !important; color: #141414 !important; }
.gz-haendleranfrage .ff-message-success {
	border: 2px solid #141414;
	border-radius: 4px;
	background: #F4EFE4;
	box-shadow: none;
	padding: 1.2rem 1.4rem;
	font-family: "Barlow", sans-serif;
	color: #141414;
}
.gz-haendleranfrage .ff-message-success p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
	.gz-haendleranfrage .fluentform .ff-t-container { display: block; }
	.gz-haendleranfrage .fluentform .ff-t-cell { width: 100% !important; padding: 0 !important; }
}

/* Teamfoto auf „Über GZ“: groß, nur leicht gedreht */
.gz-teamfoto { max-width: 1040px; margin-left: auto; margin-right: auto; }
.wp-block-image.is-style-gz-foto.gz-teamfoto,
.wp-block-image.is-style-gz-foto.gz-teamfoto:nth-of-type(2n) { transform: rotate(-0.6deg); }
.wp-block-image.is-style-gz-foto.gz-teamfoto:hover { transform: rotate(0); }
.gz-teamfoto img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

/* Führerschein-Finder: mehrere Buttons in einer Karte gleich breit */
.gz-finder-karte .wp-block-buttons { gap: .75rem; }
.gz-finder-karte .wp-block-button__link { min-width: 12.5rem; text-align: center; }

/* =========================================================
   Videos im Blog: YouTube erst nach Klick
   ========================================================= */
.gz-video {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #141414;
	border: 2px solid #141414;
	border-radius: 4px;
	overflow: hidden;
	margin: 0 0 .75rem;
}
.gz-video img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .82; }
.gz-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gz-video__play {
	position: absolute;
	left: 50%; top: 50%;
	transform: translate(-50%, -50%);
	display: inline-flex; align-items: center; gap: .6rem;
	background: #F4EFE4; color: #141414;
	border: 2px solid #141414; border-radius: 4px;
	padding: .8rem 1.2rem;
	font-family: "Barlow", sans-serif; font-weight: 700; font-size: .8rem;
	letter-spacing: .14em; text-transform: uppercase; line-height: 1.2;
	cursor: pointer;
}
.gz-video__play::before {
	content: ""; width: 0; height: 0;
	border-left: 12px solid #141414; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.gz-video__play:hover { background: #141414; color: #F4EFE4; }
.gz-video__play:hover::before { border-left-color: #F4EFE4; }
.gz-video-hinweis { font-size: .8rem; color: #55524C; line-height: 1.5; margin: 0 0 2rem; }
.gz-video-titel { margin: 2.5rem 0 .75rem; }
.wp-block-video video { border: 2px solid #141414; border-radius: 4px; background: #141414; }

/* Blog-Karten: Innenabstand, Autor ausblenden (zeigt sonst den Benutzernamen) */
.loop-entry .entry-content-wrap,
.blog .loop-entry .entry-content-wrap,
.archive .loop-entry .entry-content-wrap { padding: 1.6rem 1.75rem 1.9rem; }
.loop-entry .entry-header { margin-bottom: .9rem; }
.loop-entry .entry-summary p { margin-bottom: 1.1rem; }
.loop-entry .entry-footer { margin-top: .4rem; }
.posted-by,
.entry-meta-divider-dot .posted-by + .posted-on::before { display: none !important; }
@media (max-width: 767px) {
	.loop-entry .entry-content-wrap,
	.blog .loop-entry .entry-content-wrap,
	.archive .loop-entry .entry-content-wrap { padding: 1.25rem 1.3rem 1.5rem; }
	.loop-entry .entry-title { font-size: 1.45rem; }
}

/* -------------------------------------------------------------------------
   Detailgalerie (Modellseiten): vier Hochformate, Rahmen, keine Schräglage
   ---------------------------------------------------------------------- */
.gz-detailgalerie {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}
.gz-detailgalerie > .wp-block-image { margin: 0; }
.gz-detailgalerie .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border: var(--gz-rahmen);
	border-radius: var(--gz-radius);
}
.gz-detailgalerie figcaption {
	margin: .6rem 0 0;
	font-family: var(--gz-font-mono);
	font-size: .85rem;
	color: var(--gz-grau);
	text-align: left;
}
/* Kadence legt in Gruppen einen inneren Container an: der darf das Raster nicht brechen */
.gz-detailgalerie > .wp-block-group__inner-container { display: contents; }
.gz-detailgalerie .wp-block-image { margin: 0; }
/* Schmale Bildschirme: Fotos nebeneinander zum Wischen statt untereinander */
@media (max-width: 900px) {
	.gz-detailgalerie {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: minmax(200px, 42%);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: .75rem;
		-webkit-overflow-scrolling: touch;
	}
	.gz-detailgalerie .wp-block-image { scroll-snap-align: start; }
}
@media (max-width: 560px) {
	.gz-detailgalerie { grid-auto-columns: 72%; }
}

/* Modellfamilie: Karten sauber ausrichten, Karte unter der Maus leicht hervorheben */
.gz-modell-karte > .wp-block-group__inner-container { display: flex; flex-direction: column; flex: 1 1 auto; }
.gz-modell-karte .wp-block-button__link { min-height: 3.4rem; display: inline-flex; align-items: center; }
.gz-modell-karte figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; max-height: clamp(12rem, 36vh, 23rem); }
.gz-modell-karte > .wp-block-group__inner-container > * { margin-top: 0; margin-bottom: 1rem; }
.gz-modell-karte > .wp-block-group__inner-container > h3 { margin-top: .3rem; margin-bottom: .6rem; }
.gz-modell-karte > .wp-block-group__inner-container > .wp-block-buttons { margin-top: auto; margin-bottom: 0; padding-top: .5rem; }
.gz-modell-karte { transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) {
	.gz-modellfamilie > .wp-block-column:hover .gz-modell-karte { transform: translateY(-6px) scale(1.02); box-shadow: 0 18px 32px -16px rgba(20, 20, 20, .45); }
}
@media (prefers-reduced-motion: reduce) { .gz-modell-karte { transition: none; } }
/* Weißer Fotohintergrund verschmilzt mit der Karte; DUO-Bild füllt die Breite */
.gz-modell-karte figure img { mix-blend-mode: multiply; }
.gz-modell-karte.gz-held figure img { aspect-ratio: auto; height: clamp(12rem, 36vh, 23rem); max-height: none; }
/* DUO-Karte: Farben und Preis nebeneinander, dafür mehr Platz fürs Bild */
@media (min-width: 782px) {
	.gz-modell-karte.gz-held > .wp-block-group__inner-container { display: grid; grid-template-columns: auto 1fr; column-gap: 2.5rem; align-items: center; align-content: start; }
	.gz-modell-karte.gz-held > .wp-block-group__inner-container > * { grid-column: 1 / -1; }
	.gz-modell-karte.gz-held > .wp-block-group__inner-container > .gz-farbpunkte { grid-column: 1; }
	.gz-modell-karte.gz-held > .wp-block-group__inner-container > .gz-preis { grid-column: 2; }
	.gz-modell-karte.gz-held figure img { height: clamp(14rem, calc(36vh + 2.6rem), 27rem); }
}
/* Führerschein-Finder: Buttons in allen Karten auf einer Linie */
.gz-finder-karte { display: flex; flex-direction: column; }
.gz-finder-karte > .wp-block-group__inner-container { display: flex; flex-direction: column; flex: 1 1 auto; align-items: flex-start; }
.gz-finder-karte > .wp-block-group__inner-container > .wp-block-buttons { margin-top: auto; padding-top: .5rem; }

/* Zeitleiste (Über GZ) */
.gz-zeitleiste-liste { list-style: none; margin: .5rem 0 0; padding: 0 0 0 1.25rem; border-left: 3px solid var(--gz-schwarz); }
.gz-zeitleiste-liste li { position: relative; margin: 0 0 1.25rem; line-height: 1.5; }
.gz-zeitleiste-liste li:last-child { margin-bottom: 0; }
.gz-zeitleiste-liste li::before { content: ""; position: absolute; left: calc(-1.25rem - 8px); top: .45em; width: 13px; height: 13px; background: var(--gz-weiss); border: 3px solid var(--gz-schwarz); border-radius: 50%; box-sizing: border-box; }
.gz-zeitleiste-liste strong { display: block; font-family: var(--gz-font-head); font-weight: 900; font-size: 1.5rem; line-height: 1.1; text-transform: uppercase; }
@media (min-width: 782px) { .gz-geschichte .gz-zeitleiste { position: sticky; top: 7rem; } }

/* -------------------------------------------------------------------------
   Shop
   ---------------------------------------------------------------------- */
.gz-shop-intro { font-size: 1.15rem; max-width: 46rem; margin: 0 0 1.5rem; }
.gz-shop-sprung { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 3rem; }
.gz-shop-sprung a {
	font-family: var(--gz-font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem;
	color: var(--gz-schwarz); text-decoration: none; border: var(--gz-rahmen); border-radius: var(--gz-radius); padding: .6rem 1.1rem;
}
.gz-shop-sprung a:hover { background: var(--gz-schwarz); color: var(--gz-creme); }
.gz-shop-bereich { margin: 0 0 4.5rem; scroll-margin-top: 7rem; }
.gz-shop-bereich h2 { margin: .2rem 0 .5rem; }
.gz-shop-bereich-text { max-width: 46rem; margin: 0 0 2rem; color: var(--gz-grau); }
.gz-shop .woocommerce-result-count, .gz-shop .woocommerce-ordering { display: none; }

/* Produktkarten */
.woocommerce ul.products li.product.loop-entry,
ul.products li.product.loop-entry {
	background: var(--gz-weiss);
	border: var(--gz-rahmen);
	border-radius: var(--gz-radius);
	overflow: hidden;
	display: flex; flex-direction: column;
	transition: box-shadow .2s ease;
}
/* Keine Bewegung beim Hovern: weder die Karte noch Kadences hochrutschender Textbereich */
ul.products li.product.loop-entry,
ul.products li.product.loop-entry:hover,
ul.products li.product.loop-entry .product-details,
ul.products li.product.loop-entry:hover .product-details,
ul.products li.product.loop-entry .product-action-wrap,
ul.products li.product.loop-entry:hover .product-action-wrap { transform: none !important; }
@media (hover: hover) {
	ul.products li.product.loop-entry:hover { box-shadow: 0 12px 24px -16px rgba(20, 20, 20, .4); }
}
ul.products li.product .woocommerce-loop-image-link { display: block; background: #fff; border-bottom: var(--gz-rahmen); }
ul.products li.product .woocommerce-loop-image-link img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: multiply; padding: .5rem; }
ul.products li.product .product-details { display: flex; flex-direction: column; flex: 1 1 auto; padding: 1.1rem 1.25rem 1.3rem !important; background: transparent; }
ul.products li.product .woocommerce-loop-product__title { font-family: var(--gz-font-head); font-weight: 900; text-transform: uppercase; font-size: 1.25rem; line-height: 1.15; margin: 0 0 .4rem; }
ul.products li.product .woocommerce-loop-product__title a { color: var(--gz-schwarz); text-decoration: none; }
ul.products li.product .product-excerpt { font-size: .95rem; color: var(--gz-grau); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: .25rem 0 .75rem; }
ul.products li.product .product-excerpt p { margin: 0; }
ul.products li.product .gz-farbpunkte-klein { margin: .3rem 0 .6rem; }
.gz-farbpunkte-klein li { width: 20px; height: 20px; }

/* Preis groß, Hinweis klein darunter */
ul.products li.product .price,
.single-product .summary .price {
	display: block; color: var(--gz-schwarz) !important;
	font-family: var(--gz-font-head); font-weight: 900; line-height: 1.1;
}
ul.products li.product .price { font-size: 1.6rem; margin: auto 0 .9rem; padding-top: .5rem; }
.single-product .summary .price { font-size: clamp(2rem, 3.5vw, 2.8rem); margin: .5rem 0 1.25rem; }
.price .gz-ab { font-size: .55em; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.price del { opacity: .5; font-size: .6em; }
.price ins { text-decoration: none; }
.gz-preis-hinweis { display: block; margin-top: .35rem; font-family: var(--gz-font-mono); font-weight: 400; font-size: .8rem; letter-spacing: 0; color: var(--gz-grau); }
.gz-preis-hinweis a { color: inherit; }
.single-product .summary .price .gz-preis-hinweis { font-size: .9rem; }

/* Buttons in Karten und auf der Produktseite im GZ-Stil */
ul.products li.product .product-action-wrap .button,
.single-product .summary .single_add_to_cart_button {
	background: var(--gz-schwarz) !important; color: var(--gz-creme) !important;
	border: 2px solid var(--gz-schwarz) !important; border-radius: var(--gz-radius) !important;
	font-family: var(--gz-font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem;
	padding: .9rem 1.4rem !important; box-shadow: none !important;
}
ul.products li.product .product-action-wrap .button:hover,
.single-product .summary .single_add_to_cart_button:hover { background: var(--gz-creme) !important; color: var(--gz-schwarz) !important; }
ul.products li.product .product-action-wrap .button .kadence-svg-iconset { display: none; }

/* Produktseite: Varianten als Farbpunkte und Kästchen */
.single-product table.variations { border: 0; margin-bottom: 1rem; }
.single-product table.variations th, .single-product table.variations td { display: block; padding: 0; border: 0; text-align: left; }
.single-product table.variations th.label label { font-family: var(--gz-font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; }
.single-product table.variations tr { display: block; margin-bottom: 1.25rem; }
.gz-wahl-select { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.gz-wahl { display: flex; flex-wrap: wrap; gap: .6rem; margin: .5rem 0 .25rem; }
.gz-wahl button {
	font-family: var(--gz-font-head); font-weight: 700; font-size: .95rem; text-transform: none; letter-spacing: 0;
	background: var(--gz-weiss); color: var(--gz-schwarz); border: var(--gz-rahmen); border-radius: var(--gz-radius);
	padding: .6rem 1rem; cursor: pointer; box-shadow: none;
}
.gz-wahl button.ist-aktiv { background: var(--gz-schwarz); color: var(--gz-creme); }
.gz-wahl-farbe button {
	width: 42px; height: 42px; padding: 0; border-radius: 50%;
	background: linear-gradient(to bottom, var(--o) 0 50%, var(--u) 50% 100%);
}
.gz-wahl-farbe button.ist-aktiv { outline: 3px solid var(--gz-schwarz); outline-offset: 3px; background: linear-gradient(to bottom, var(--o) 0 50%, var(--u) 50% 100%); }
.gz-wahl-name { font-family: var(--gz-font-mono); font-size: .9rem; margin: .3rem 0 0; min-height: 1.3em; }
.single-product .reset_variations { font-size: .85rem; }
.single-product .woocommerce-variation-price .price { font-size: 1.8rem; }
/* Shop-Karten: Kadence-Vorgaben übersteuern */
body ul.products li.product.loop-entry .woocommerce-loop-product__title { font-family: var(--gz-font-head); font-weight: 900; text-transform: uppercase; font-size: 1.35rem; line-height: 1.1; letter-spacing: .01em; margin: 0 0 .5rem; padding: 0; }
body ul.products li.product.loop-entry .woocommerce-loop-product__title a { color: var(--gz-schwarz); }
body ul.products li.product.loop-entry .product-excerpt { display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: .95rem; line-height: 1.45; color: var(--gz-grau); margin: 0 0 .6rem; }
body ul.products li.product.loop-entry .price { font-family: var(--gz-font-head); font-weight: 900; font-size: 1.7rem; line-height: 1.05; color: var(--gz-schwarz); margin: auto 0 1rem; padding-top: .6rem; }
body ul.products li.product.loop-entry .price .gz-ab { font-size: .5em; }
body ul.products li.product.loop-entry .product-action-wrap { position: static !important; opacity: 1 !important; transform: none !important; height: auto !important; margin: 0; }
body ul.products li.product.loop-entry .product-action-wrap .button { display: inline-flex; align-items: center; justify-content: center; width: 100%; }
/* Produktseite: Preis deutlich */
body.single-product .summary > p.price,
body.single-product .summary .woocommerce-variation-price .price { font-family: var(--gz-font-head); font-weight: 900; font-size: 2.4rem !important; line-height: 1.1; color: var(--gz-ink, #111); margin: .4rem 0 0; }
body.single-product .summary > p.price .woocommerce-Price-amount,
body.single-product .summary .woocommerce-variation-price .woocommerce-Price-amount { font-size: inherit !important; font-weight: 900; }
body.single-product .summary > p.price .gz-preis-hinweis,
body.single-product .summary .woocommerce-variation-price .gz-preis-hinweis { display: block; font-family: var(--gz-font-mono); font-weight: 400; font-size: .8rem; letter-spacing: 0; text-transform: none; margin-top: .35rem; }
body.single-product .summary .woocommerce-variation-price { margin: 1.2rem 0 1rem; }
body.single-product .summary > p.price .gz-ab { font-size: .45em; vertical-align: .35em; margin-right: .15em; }
/* Germanized: Pflichtangaben am Preis im GZ-Stil */
.wc-gzd-additional-info, .legal-price-info, .wc-gzd-additional-info-loop { font-family: var(--gz-font-mono); font-size: .78rem; font-weight: 400; color: var(--gz-grau); letter-spacing: 0; text-transform: none; margin: .2rem 0 0; line-height: 1.5; }
.wc-gzd-additional-info a, .legal-price-info a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.wc-gzd-additional-info:empty { display: none; }
body ul.products li.product.loop-entry .price { margin-bottom: 0; }
body ul.products li.product.loop-entry p.wc-gzd-additional-info-loop { margin: 0; }
body ul.products li.product.loop-entry p.wc-gzd-additional-info-loop.shipping-costs-info { margin-bottom: 1rem; }
body.single-product .summary .legal-price-info { margin: .3rem 0 1.4rem; }
body.single-product .summary .legal-price-info p { margin: 0; }
/* Warenkorb-Button auf der Produktseite */
body.single-product form.cart .single_add_to_cart_button { display: inline-flex !important; align-items: center; justify-content: center; height: auto !important; min-height: 3.2rem; line-height: 1.2 !important; padding: .9rem 2rem !important; }
body.single-product form.cart .quantity .qty { min-height: 3.2rem; }
body ul.products li.product.loop-entry p.wc-gzd-additional-info-loop { font-family: var(--gz-font-mono); font-size: .78rem !important; line-height: 1.45; color: var(--gz-grau); margin: 0 !important; padding: 0; display: inline; }
body ul.products li.product.loop-entry p.wc-gzd-additional-info-loop.tax-info::after { content: ", "; }
body ul.products li.product.loop-entry p.wc-gzd-additional-info-loop.shipping-costs-info::after { content: ""; display: block; margin-bottom: .9rem; }

/* Fußzeile: vier Spalten (Kontakt, Für Fahrer, Für Händler, Rechtliches) */
.gz-fuss { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; max-width: var(--global-content-width, 1290px); margin: 0 auto; padding: 4rem var(--global-content-edge-padding, 1.5rem) 2.5rem; color: #D9D4C8; font-size: .95rem; line-height: 1.6; }
.gz-fuss p { margin: 0 0 .9rem; }
.gz-fuss a { color: var(--gz-creme); text-decoration: none; }
.gz-fuss a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gz-fuss-titel { font-family: var(--gz-font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .22em; font-size: .78rem !important; color: var(--gz-kraft); margin-bottom: 1rem !important; }
.gz-fuss-liste { list-style: none; margin: 0; padding: 0; }
.gz-fuss-liste li { margin: 0 0 .45rem; }
.gz-fuss .gz-footer-logo { height: 84px; margin-bottom: 1.4rem; }
.site-footer .site-bottom-footer-wrap { border-top: 1px solid rgba(244, 239, 228, .15); font-size: .8rem; }
@media (max-width: 900px) { .gz-fuss { grid-template-columns: 1fr 1fr; gap: 2rem; padding-top: 3rem; } .gz-fuss-kontakt { grid-column: 1 / -1; } }
@media (max-width: 480px) { .gz-fuss { grid-template-columns: 1fr; } }

/* Germanized: EU-Hinweis zur gesetzlichen Gewährleistung als kleines Siegel unter der Fußzeile */
.wc-gzd-legal-guarantee-footer { background: var(--gz-schwarz); text-align: center; padding: 0 1rem 1.8rem; margin: 0; }
.wc-gzd-legal-guarantee-footer img.wc-gzd-legal-guarantee-image-preview { width: 120px !important; max-width: 120px !important; min-width: 0 !important; height: auto !important; display: inline-block; border-radius: 3px; }
.wc-gzd-legal-guarantee-footer a { display: inline-block; }

/* Volle Breite: Text nie am Bildschirmrand (vor allem am Handy) */
.entry-content .wp-block-group.alignfull,
.entry-content .wp-block-cover.alignfull {
	padding-left: var(--global-content-edge-padding, 1.5rem);
	padding-right: var(--global-content-edge-padding, 1.5rem);
}
@media (max-width: 767px) {
	.woocommerce div.product div.images .flex-control-thumbs { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 4px; }
	.woocommerce div.product div.images .flex-control-thumbs li { flex: 0 0 18%; width: auto !important; }
}
/* Volle-Breite-Seiten: auch normale Abschnitte bekommen seitlichen Abstand */
.content-width-fullwidth .entry-content > .wp-block-group:not(.alignfull):not(.alignwide),
.content-width-fullwidth .entry-content > .wp-block-columns:not(.alignfull),
.content-width-fullwidth .entry-content > .wp-block-table:not(.alignfull) {
	padding-left: var(--global-content-edge-padding, 1.5rem);
	padding-right: var(--global-content-edge-padding, 1.5rem);
	box-sizing: border-box;
}
/* Lange Wörter in Überschriften: lieber richtig mit Trennstrich trennen (Silbentrennung Deutsch)
   als mitten im Wort abschneiden. Kurze Wörter werden nie getrennt. */
h1, h2, h3, .entry-title {
	overflow-wrap: break-word;
	hyphens: auto; -webkit-hyphens: auto;
	hyphenate-limit-chars: 10 4 4;
	text-wrap: balance;
}
/* Beitragstitel: kleiner als Seitentitel, damit lange Wörter wie „Autoführerschein“ in eine Zeile passen */
.single-post .entry-header h1.entry-title { font-size: clamp(2.1rem, 4vw, 3.5rem); }
/* Produkttitel steht in der schmalen Spalte neben der Galerie */
.single-product .product_title.entry-title { font-size: clamp(2rem, 3.4vw, 3.2rem); }
@media (max-width: 600px) {
	.entry-hero .entry-title, h1.entry-title { font-size: clamp(1.9rem, 8.5vw, 3rem) !important; hyphens: auto; -webkit-hyphens: auto; }
}

/* Handy-Menü: alle Einträge hell auf dunklem Grund, Button "Für Händler" darunter */
#mobile-drawer .drawer-inner, .popup-drawer .drawer-inner { background: var(--gz-schwarz); }
#mobile-drawer .mobile-navigation a, #mobile-drawer .drawer-nav-drop-wrap > a, .popup-drawer .mobile-navigation ul li > a, .popup-drawer .mobile-navigation ul li .drawer-nav-drop-wrap > a { color: var(--gz-creme) !important; font-family: var(--gz-font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .95rem; }
#mobile-drawer .mobile-navigation ul ul a { text-transform: none; letter-spacing: 0; font-weight: 500; color: #D9D4C8 !important; }
#mobile-drawer .mobile-navigation li { border-color: rgba(244, 239, 228, .15) !important; }
#mobile-drawer .drawer-sub-toggle { color: var(--gz-creme) !important; }
#mobile-drawer .mobile-header-button-wrap { margin-top: 1.5rem; }
#mobile-drawer .mobile-header-button-wrap .button { background: var(--gz-creme) !important; color: var(--gz-schwarz) !important; border-radius: var(--gz-radius); width: 100%; justify-content: center; }
/* EU-Gewährleistungshinweis überall als kleines Siegel (Klick öffnet den vollen Hinweis) */
.wc-gzd-legal-guarantee img.wc-gzd-legal-guarantee-image-preview { width: 120px !important; max-width: 120px !important; min-width: 0 !important; height: auto !important; }

/* Sprachumschalter DE | EN in der Kopfzeile */
.gz-sprache { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--gz-font-head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; }
.gz-sprache a { color: #6b6963; text-decoration: none; }  /* Kontrast 4,8:1 auf Creme */
.gz-sprache a.aktiv, .gz-sprache a:hover { color: var(--gz-schwarz); }
.gz-sprache span { opacity: .35; }
#mobile-drawer .gz-sprache { margin-top: 1.5rem; font-size: .95rem; }
#mobile-drawer .gz-sprache span { color: var(--gz-creme); }
#mobile-drawer .gz-sprache a { color: #a8a49c; }
#mobile-drawer .gz-sprache a.aktiv, #mobile-drawer .gz-sprache a:hover { color: var(--gz-creme); }
#trp-floater-ls { display: none !important; }

/* Barrierefreiheit: Wer im System "Bewegung reduzieren" eingestellt hat, bekommt keine Animationen */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Barrierefreiheit: Menü-Knopf am Handy groß genug zum Antippen (mind. 44 × 44 px) */
#mobile-toggle { min-width: 44px; min-height: 44px; justify-content: center; }

/* Hinweis auf englischen Rechtsseiten */
.gz-rechtshinweis { margin-bottom: 2rem; }
.gz-rechtshinweis p { margin: 0; }

/* Über GZ: Team als Liste, bis das Gruppenfoto da ist */
.gz-teamliste { font-size: 1.05rem; line-height: 1.6; }
.gz-teamliste li + li { margin-top: .5rem; }

/* Footer: "Vertrag widerrufen" hervorgehoben (gesetzliche Widerrufsfunktion, § 356a BGB) */
.gz-fuss .gz-widerruf-link > a { font-weight: 700; }

/* Bild-Großansicht (PhotoSwipe) der Bewertungen: Markup steht auf jeder Seite, die Styles
   laden aber nur auf Produktseiten. Geschlossen immer unsichtbar. */
.pswp:not(.pswp--open) { display: none !important; }

/* Produktgalerie: alle Bilder im gleichen Format (4:3). Hochformat-Fotos werden ganz gezeigt
   (mit weißem Rand) statt die Galerie doppelt so hoch zu machen. */
.woocommerce-product-gallery__image > a > img,
.woocommerce-product-gallery__image > img {
	aspect-ratio: 4 / 3;
	width: 100%;
	height: auto;
	object-fit: contain;
	background: #fff;
}

/* Händlerportal */
.gz-portal { max-width: 1100px; }
.gz-portal-spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 2rem; align-items: start; }
.gz-portal .is-style-gz-kasten > :first-child { margin-top: 0; }
.gz-portal label { display: block; font-weight: 700; margin-bottom: .3rem; }
.gz-portal input[type="text"], .gz-portal input[type="email"], .gz-portal input[type="tel"], .gz-portal input[type="password"] { width: 100%; box-sizing: border-box; }
.gz-portal form p { margin: 0 0 1rem; }
.gz-portal .gz-portal-check { display: flex; flex-wrap: wrap; gap: .3rem .55rem; align-items: flex-start; }
.gz-portal .gz-portal-check label { flex: 1 1 0; min-width: 0; }
.gz-portal .gz-portal-check > a { flex-basis: 100%; padding-left: 1.6rem; font-size: .95rem; }
.gz-portal .gz-portal-check label, .gz-portal .login-remember label { display: inline; font-weight: 400; }
.gz-portal input[type="checkbox"] { accent-color: #141414; width: 1.05rem; height: 1.05rem; margin-top: .2rem; flex: none; }
.gz-portal .gz-portal-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gz-portal #wp-submit, .gz-portal button[type="submit"] { cursor: pointer; }
.gz-portal-fehler { border: 2px solid #A51E1A; background: #FBEBEB; padding: .75rem 1rem; margin: 0 0 1rem; border-radius: var(--gz-radius); }
.gz-portal-fehler ul { margin: 0; padding-left: 1.1rem; }
.gz-portal-hinweis { margin-bottom: 2rem; }
.gz-portal-dateien { list-style: none; padding: 0; margin: 0 0 2rem; }
.gz-portal-dateien li { border: var(--gz-rahmen); border-radius: var(--gz-radius); background: var(--gz-weiss); padding: .9rem 1.1rem; margin-bottom: .75rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; }
.gz-portal-dateien a { font-weight: 700; }
.gz-portal-meta, .gz-portal-pflicht { font-family: var(--gz-font-mono); font-size: .9rem; color: var(--gz-grau); }

/* Produktseite: Hinweis für Lieferungen auf Inseln */
.gz-insel-hinweis { margin: 1rem 0 0; font-family: var(--gz-font-mono); font-size: .9rem; color: var(--gz-grau); }
.gz-insel-hinweis a { color: inherit; }

/* Titelbild mit Video: Pause-Knopf unten rechts */
.wp-block-cover .gz-video-pause { position: absolute; right: 1.25rem; bottom: 1.25rem; z-index: 3; width: 44px; height: 44px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: rgba(0,0,0,.45); cursor: pointer; }
.wp-block-cover .gz-video-pause::before, .wp-block-cover .gz-video-pause::after { content: ""; position: absolute; top: 13px; width: 4px; height: 14px; background: #fff; }
.wp-block-cover .gz-video-pause::before { left: 14px; }
.wp-block-cover .gz-video-pause::after { left: 22px; }
.wp-block-cover .gz-video-pause.is-paused::after { display: none; }
.wp-block-cover .gz-video-pause.is-paused::before { left: 15px; top: 12px; width: 0; height: 0; background: none; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; }
.wp-block-cover .gz-video-pause:hover { background: rgba(0,0,0,.7); }
.wp-block-cover .gz-video-pause:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Vier Kästen im 2×2-Raster gleich groß (Startseite „Darauf kannst du dich verlassen“) */
@media (min-width: 782px) {
	.wp-block-columns.gz-kasten-raster { display: grid !important; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; grid-auto-flow: column; gap: 1.25rem; }
	.gz-kasten-raster > .wp-block-column { display: contents; }
	.gz-kasten-raster .is-style-gz-kasten { margin: 0 !important; height: 100%; box-sizing: border-box; }
}

/* Kästen nebeneinander (eine Reihe Spalten mit je einem Kasten) immer gleich hoch */
@media (min-width: 782px) {
	.wp-block-columns:not(.gz-kasten-raster) > .wp-block-column:has(> .is-style-gz-kasten:only-child) { align-self: stretch; display: flex; flex-direction: column; }
	.wp-block-columns:not(.gz-kasten-raster) > .wp-block-column > .is-style-gz-kasten:only-child { flex: 1 1 auto; box-sizing: border-box; }
}
