/* ==========================================================================
   GabelPro Theme
   ========================================================================== */

/* Schriften (lokal, SIL Open Font License – siehe assets/fonts/LICENSE.txt) */
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Barlow";
	src: url("../fonts/barlow-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Barlow";
	src: url("../fonts/barlow-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--gp-yellow: #f5a800;
	--gp-yellow-dark: #d99400;
	--gp-yellow-soft: #fff4d6;
	--gp-anthracite: #1e2328;
	--gp-anthracite-2: #2a3036;
	--gp-steel: #5f6b76;
	--gp-light: #f2f4f6;
	--gp-border: #dde1e5;
	--gp-green: #1f9d55;
	--gp-red: #c62828;
	--gp-white: #fff;

	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-head: "Barlow", "Inter", system-ui, sans-serif;

	--radius: 6px;
	--radius-lg: 10px;
	--shadow: 0 8px 24px rgba(30, 35, 40, 0.1);
	--container: 1240px;
	--gap: clamp(1rem, 3vw, 2rem);
	--header-h: 76px;
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--gp-anthracite);
	background: var(--gp-white);
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--gp-anthracite);
	text-decoration-color: var(--gp-yellow);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--gp-steel);
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 0.6em;
	letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p {
	margin: 0 0 1em;
}

:focus-visible {
	outline: 3px solid var(--gp-yellow);
	outline-offset: 2px;
}

.icon {
	width: 1.15em;
	height: 1.15em;
	flex-shrink: 0;
	vertical-align: -0.2em;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	background: var(--gp-yellow);
	color: var(--gp-anthracite);
	font-weight: 700;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gap);
}

.container--narrow {
	max-width: 820px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.button,
.gp-button,
.gp-form button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.4rem;
	border: 2px solid transparent;
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.button:active,
.gp-button:active {
	transform: translateY(1px);
}

.button--primary,
.gp-button {
	background: var(--gp-yellow);
	color: var(--gp-anthracite);
}

.button--primary:hover,
.gp-button:hover {
	background: var(--gp-yellow-dark);
	color: var(--gp-anthracite);
}

.button--dark {
	background: var(--gp-anthracite);
	color: var(--gp-white);
}

.button--dark:hover {
	background: var(--gp-anthracite-2);
	color: var(--gp-white);
}

.button--outline {
	border-color: var(--gp-anthracite);
	color: var(--gp-anthracite);
	background: transparent;
}

.button--outline:hover {
	background: var(--gp-anthracite);
	color: var(--gp-white);
}

.button--outline-light {
	border-color: rgba(255, 255, 255, 0.7);
	color: var(--gp-white);
	background: transparent;
}

.button--outline-light:hover {
	background: var(--gp-white);
	color: var(--gp-anthracite);
}

.button--large {
	padding: 0.95rem 1.7rem;
	font-size: 1.05rem;
}

.gp-button--small {
	padding: 0.45rem 0.9rem;
	font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Topbar & Header
   -------------------------------------------------------------------------- */
.topbar {
	background: var(--gp-anthracite);
	color: #c9d0d6;
	font-size: 0.875rem;
}

.topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	min-height: 38px;
}

.topbar__left,
.topbar__right {
	display: flex;
	gap: 1.5rem;
}

.topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: inherit;
	text-decoration: none;
}

.topbar__item .icon {
	color: var(--gp-yellow);
}

a.topbar__item:hover {
	color: var(--gp-white);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--gp-white);
	border-bottom: 1px solid var(--gp-border);
	transition: box-shadow 0.2s;
}

.site-header.is-scrolled {
	box-shadow: 0 4px 16px rgba(30, 35, 40, 0.08);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--header-h);
}

.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	text-decoration: none;
	color: var(--gp-anthracite);
}

.site-logo__icon {
	width: 38px;
	height: 38px;
	padding: 6px;
	border-radius: var(--radius);
	background: var(--gp-yellow);
	color: var(--gp-anthracite);
}

.site-logo__text {
	font-family: var(--font-head);
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.site-logo__text span {
	color: var(--gp-yellow-dark);
}

.custom-logo {
	display: block;
	max-height: 56px;
	width: auto;
}

.primary-nav {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.primary-nav .menu {
	display: flex;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav .menu > li {
	position: relative;
}

.primary-nav .menu a {
	display: block;
	padding: 0.5rem 0.8rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--radius);
}

.primary-nav .menu a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current_page_item > a {
	background: var(--gp-light);
	color: var(--gp-anthracite);
}

.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
	box-shadow: inset 0 -3px 0 var(--gp-yellow);
}

.primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	margin: 0;
	padding: 0.5rem;
	list-style: none;
	background: var(--gp-white);
	border: 1px solid var(--gp-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.nav-toggle {
	display: none;
	padding: 0.5rem;
	border: 0;
	background: transparent;
	color: var(--gp-anthracite);
	cursor: pointer;
}

.nav-toggle .icon {
	width: 28px;
	height: 28px;
}

.nav-toggle__close {
	display: none;
}

/* --------------------------------------------------------------------------
   Hero (Startseite) & Seitenkopf
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	padding: clamp(4rem, 10vw, 7.5rem) 0;
	color: var(--gp-white);
	background:
		linear-gradient(115deg, rgba(30, 35, 40, 0.97) 0%, rgba(30, 35, 40, 0.88) 55%, rgba(30, 35, 40, 0.55) 100%),
		var(--hero-image, none) center / cover no-repeat,
		var(--gp-anthracite);
	overflow: hidden;
}

.hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 8px;
	background: repeating-linear-gradient(-45deg, var(--gp-yellow) 0 18px, var(--gp-anthracite) 18px 36px);
}

.hero__inner {
	position: relative;
	max-width: var(--container);
}

.hero__title {
	max-width: 15em;
	margin-bottom: 0.4em;
}

.hero__title::before {
	content: "";
	display: block;
	width: 64px;
	height: 5px;
	margin-bottom: 1.25rem;
	background: var(--gp-yellow);
	border-radius: 3px;
}

.hero__text {
	max-width: 36em;
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	color: #d5dbe0;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
}

.page-hero {
	padding: 2rem 0 2.25rem;
	background: var(--gp-light);
	border-bottom: 1px solid var(--gp-border);
}

.page-hero__title {
	margin-bottom: 0.25em;
}

.page-hero__intro {
	max-width: 48em;
	color: var(--gp-steel);
	font-size: 1.075rem;
}

.page-hero__intro p:last-child {
	margin-bottom: 0;
}

.page-hero__meta {
	color: var(--gp-steel);
	margin: 0;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	color: var(--gp-steel);
}

.breadcrumbs li:not(:last-child)::after {
	content: "›";
	margin-left: 0.35rem;
}

.breadcrumbs a {
	color: var(--gp-steel);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--gp-anthracite);
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Startseiten-Bereiche
   -------------------------------------------------------------------------- */
.usps {
	background: var(--gp-white);
	border-bottom: 1px solid var(--gp-border);
}

.usps__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 1.5rem 2rem;
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.usp {
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
}

.usp__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border-radius: var(--radius);
	background: var(--gp-yellow-soft);
	color: var(--gp-anthracite);
}

.usp__icon .icon {
	width: 24px;
	height: 24px;
}

.usp__title {
	margin: 0 0 0.15rem;
	font-size: 1.1rem;
}

.usp__text {
	margin: 0;
	font-size: 0.925rem;
	color: var(--gp-steel);
}

.section {
	padding: clamp(3rem, 6vw, 5rem) 0;
}

.section--light {
	background: var(--gp-light);
}

.section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.75rem;
}

.section__title {
	margin: 0;
}

.section__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 700;
	text-decoration: none;
}

.section__link:hover .icon {
	transform: translateX(3px);
}

.section__link .icon {
	transition: transform 0.2s;
	color: var(--gp-yellow-dark);
}

.categories {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
}

.category {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.75rem;
	border-radius: var(--radius-lg);
	background: var(--gp-anthracite);
	color: var(--gp-white);
	text-decoration: none;
	transition: transform 0.2s, box-shadow 0.2s;
}

.category:hover {
	color: var(--gp-white);
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.category--batterie {
	background: linear-gradient(135deg, var(--gp-anthracite) 0%, #1d3a2b 100%);
}

.category__icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	flex-shrink: 0;
	border-radius: var(--radius-lg);
	background: var(--gp-yellow);
	color: var(--gp-anthracite);
}

.category--batterie .category__icon {
	background: var(--gp-green);
	color: var(--gp-white);
}

.category__icon .icon {
	width: 38px;
	height: 38px;
}

.category__body {
	flex: 1;
}

.category__title {
	display: block;
	font-family: var(--font-head);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
}

.category__meta {
	color: #b9c1c8;
}

.category__arrow {
	width: 28px;
	height: 28px;
	color: var(--gp-yellow);
	transition: transform 0.2s;
}

.category:hover .category__arrow {
	transform: translateX(4px);
}

.ankauf {
	background: var(--gp-yellow);
	color: var(--gp-anthracite);
}

.ankauf__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 3rem;
	flex-wrap: wrap;
	padding-top: 2.75rem;
	padding-bottom: 2.75rem;
}

.ankauf__title {
	margin-bottom: 0.25rem;
}

.ankauf__text {
	margin: 0;
	max-width: 40em;
	font-size: 1.075rem;
}

.contact-section__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.contact-section__info .section__title {
	margin-bottom: 0.75rem;
}

.contact-section__info > p {
	color: var(--gp-steel);
	font-size: 1.05rem;
}

.contact-section .gp-inquiry {
	margin: 0;
}

/* Kontaktlisten */
.contact-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin-bottom: 0.6rem;
}

.contact-list .icon {
	margin-top: 0.25em;
	color: var(--gp-yellow-dark);
}

.contact-list a {
	text-decoration: none;
}

.contact-list a:hover {
	text-decoration: underline;
}

.contact-list--large {
	margin-top: 1.5rem;
	font-size: 1.1rem;
}

.contact-list--large li {
	margin-bottom: 0.9rem;
}

/* --------------------------------------------------------------------------
   Produktkarten & Raster
   -------------------------------------------------------------------------- */
.gp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 1.5rem;
}

.gp-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--gp-white);
	border: 1px solid var(--gp-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.gp-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	border-color: transparent;
}

.gp-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--gp-light);
	overflow: hidden;
}

.gp-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.gp-card:hover .gp-card__media img {
	transform: scale(1.04);
}

.gp-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: #b7bfc6;
}

.gp-card__placeholder .icon {
	width: 64px;
	height: 64px;
}

.gp-card__media .gp-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
}

.gp-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1rem 1.15rem 1.15rem;
}

.gp-card__brand {
	margin: 0 0 0.15rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gp-steel);
}

.gp-card__title {
	margin: 0 0 0.75rem;
	font-size: 1.2rem;
}

.gp-card__title a {
	text-decoration: none;
}

/* Ganze Karte klickbar */
.gp-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.gp-card__specs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem 1rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
}

.gp-card__specs span {
	display: block;
	font-size: 0.78rem;
	color: var(--gp-steel);
}

.gp-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 0.85rem;
	border-top: 1px solid var(--gp-border);
}

.gp-card__more {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--gp-light);
	transition: background 0.2s;
}

.gp-card:hover .gp-card__more {
	background: var(--gp-yellow);
}

/* Preis & Status */
.gp-price__value {
	font-family: var(--font-head);
	font-size: 1.35rem;
	font-weight: 700;
}

.gp-price__value--request {
	font-family: var(--font-body);
	font-size: 0.975rem;
}

.gp-price__tax {
	font-size: 0.8rem;
	color: var(--gp-steel);
}

.gp-badge {
	display: inline-block;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gp-white);
	background: var(--gp-steel);
}

.gp-badge--verfuegbar { background: var(--gp-green); }
.gp-badge--reserviert { background: var(--gp-yellow); color: var(--gp-anthracite); }
.gp-badge--verkauft { background: var(--gp-red); }

/* --------------------------------------------------------------------------
   Katalog & Filter
   -------------------------------------------------------------------------- */
.catalog {
	padding-top: 2rem;
	padding-bottom: 4rem;
}

.catalog__count {
	margin: 0 0 1rem;
	color: var(--gp-steel);
	font-size: 0.925rem;
}

.gp-filter {
	margin-bottom: 1.75rem;
	padding: 1.25rem;
	background: var(--gp-white);
	border: 1px solid var(--gp-border);
	border-radius: var(--radius-lg);
	box-shadow: 0 2px 8px rgba(30, 35, 40, 0.04);
}

.gp-filter__fields {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 0.85rem 1rem;
}

.gp-filter__field {
	margin: 0;
}

.gp-filter__field label {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--gp-steel);
}

.gp-filter__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 1rem;
}

.gp-filter__reset {
	font-size: 0.925rem;
	color: var(--gp-steel);
}

.empty-state {
	padding: 3rem 1.5rem;
	text-align: center;
	background: var(--gp-light);
	border-radius: var(--radius-lg);
}

.empty-state p {
	max-width: 34em;
	margin-left: auto;
	margin-right: auto;
	color: var(--gp-steel);
}

.empty-state--404 {
	background: none;
}

.empty-state__code {
	margin: 0;
	font-family: var(--font-head);
	font-size: clamp(5rem, 15vw, 9rem);
	font-weight: 700;
	line-height: 1;
	color: var(--gp-yellow);
}

.empty-state__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.5rem;
}

.pagination {
	margin-top: 2.5rem;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 0.75rem;
	border: 1px solid var(--gp-border);
	border-radius: var(--radius);
	font-weight: 600;
	text-decoration: none;
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
	background: var(--gp-anthracite);
	border-color: var(--gp-anthracite);
	color: var(--gp-white);
}

/* --------------------------------------------------------------------------
   Produkt-Detailseite
   -------------------------------------------------------------------------- */
.product {
	padding-top: 1.5rem;
	padding-bottom: 4rem;
}

.product__top {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: start;
}

.product__image {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--gp-light);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.product__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.product__image .gp-badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
}

.product__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	color: #b7bfc6;
}

.product__placeholder .icon {
	width: 96px;
	height: 96px;
}

.product__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
	gap: 0.6rem;
	margin: 0.75rem 0 0;
	padding: 0;
	list-style: none;
}

.product__thumb {
	display: block;
	width: 100%;
	padding: 0;
	aspect-ratio: 4 / 3;
	border: 2px solid transparent;
	border-radius: var(--radius);
	background: var(--gp-light);
	overflow: hidden;
	cursor: pointer;
	opacity: 0.75;
	transition: opacity 0.2s, border-color 0.2s;
}

.product__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product__thumb:hover,
.product__thumb[aria-current="true"] {
	opacity: 1;
	border-color: var(--gp-yellow);
}

.product__summary {
	position: sticky;
	top: calc(var(--header-h) + 1.5rem);
}

.product__summary > .gp-badge {
	margin-bottom: 0.75rem;
}

.product__title {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	margin-bottom: 0.25rem;
}

.product__sku {
	margin-bottom: 1rem;
	color: var(--gp-steel);
	font-size: 0.925rem;
}

.product__price {
	padding: 1rem 0;
	margin-bottom: 1.25rem;
	border-top: 1px solid var(--gp-border);
	border-bottom: 1px solid var(--gp-border);
}

.product__price .gp-price__value {
	font-size: 2.1rem;
}

.product__price .gp-price__value--request {
	font-family: var(--font-head);
	font-size: 1.6rem;
}

.product__keyfacts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
	margin: 0 0 1.5rem;
}

.product__keyfacts div {
	padding: 0.75rem 0.9rem;
	background: var(--gp-light);
	border-radius: var(--radius);
}

.product__keyfacts dt {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--gp-steel);
}

.product__keyfacts dd {
	margin: 0;
	font-family: var(--font-head);
	font-size: 1.2rem;
	font-weight: 700;
}

.product__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
}

.product__actions .button {
	flex: 1 1 200px;
}

.product__trust {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.925rem;
	color: var(--gp-steel);
}

.product__trust li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.35rem;
}

.product__trust .icon {
	color: var(--gp-green);
}

.product__body {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	margin-top: clamp(2.5rem, 5vw, 4rem);
	align-items: start;
}

.product__description {
	margin-bottom: 2.5rem;
}

.product__aside .gp-inquiry {
	position: sticky;
	top: calc(var(--header-h) + 1.5rem);
	margin: 0;
}

.product__related {
	margin-top: 4rem;
	padding-top: 3rem;
	border-top: 1px solid var(--gp-border);
}

.product__related .section__title {
	margin-bottom: 1.5rem;
}

/* Datenblatt */
.gp-specs__title {
	margin-bottom: 1rem;
}

.gp-specs__table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--gp-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	font-size: 0.975rem;
}

.gp-specs__table th,
.gp-specs__table td {
	padding: 0.7rem 1rem;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--gp-border);
}

.gp-specs__table tr:last-child th,
.gp-specs__table tr:last-child td {
	border-bottom: 0;
}

.gp-specs__table tr:nth-child(odd) {
	background: var(--gp-light);
}

.gp-specs__table th {
	width: 45%;
	font-weight: 600;
	color: var(--gp-steel);
}

.gp-specs__table td {
	font-weight: 600;
}

.gp-specs__subtitle {
	margin-top: 2rem;
}

.gp-specs__list {
	columns: 2 220px;
	column-gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gp-specs__list li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.4rem;
	break-inside: avoid;
}

.gp-specs__list li::before {
	content: "";
	position: absolute;
	left: 0.2rem;
	top: 0.45em;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 2px;
	background: var(--gp-yellow);
}

/* --------------------------------------------------------------------------
   Anfrageformular
   -------------------------------------------------------------------------- */
.gp-inquiry {
	padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--gp-white);
	border: 1px solid var(--gp-border);
	border-top: 5px solid var(--gp-yellow);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

.gp-inquiry__title {
	font-size: 1.6rem;
	margin-bottom: 0.5rem;
}

.gp-inquiry__product {
	padding: 0.6rem 0.8rem;
	margin-bottom: 1rem;
	background: var(--gp-yellow-soft);
	border-radius: var(--radius);
	font-size: 0.925rem;
}

.gp-inquiry__sku {
	color: var(--gp-steel);
}

.gp-form__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 0 1rem;
}

.gp-form__field {
	margin: 0 0 1rem;
}

.gp-form__field--wide {
	grid-column: 1 / -1;
}

.gp-form__field label {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.9rem;
	font-weight: 600;
}

.gp-form input[type="text"],
.gp-form input[type="email"],
.gp-form input[type="tel"],
.gp-form textarea,
.gp-filter select,
.search-form .search-field {
	width: 100%;
	padding: 0.7rem 0.8rem;
	border: 1px solid #c8ced4;
	border-radius: var(--radius);
	background: var(--gp-white);
	color: var(--gp-anthracite);
	font: inherit;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.gp-form input:focus,
.gp-form textarea:focus,
.gp-filter select:focus,
.search-form .search-field:focus {
	outline: none;
	border-color: var(--gp-yellow-dark);
	box-shadow: 0 0 0 3px rgba(245, 168, 0, 0.25);
}

.gp-form textarea {
	resize: vertical;
	min-height: 130px;
}

.gp-form__privacy {
	font-size: 0.875rem;
	color: var(--gp-steel);
}

.gp-form__privacy label {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
}

.gp-form__privacy input {
	width: 1.1rem;
	height: 1.1rem;
	margin-top: 0.15rem;
	flex-shrink: 0;
	accent-color: var(--gp-yellow-dark);
}

.gp-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.gp-form__submit {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0;
}

.gp-form button[type="submit"] {
	background: var(--gp-yellow);
	color: var(--gp-anthracite);
	padding: 0.9rem 1.8rem;
}

.gp-form button[type="submit"]:hover {
	background: var(--gp-yellow-dark);
}

.gp-form__note {
	font-size: 0.85rem;
	color: var(--gp-steel);
}

.gp-required {
	color: var(--gp-red);
}

.gp-notice {
	padding: 0.9rem 1rem;
	margin-bottom: 1rem;
	border-radius: var(--radius);
	font-weight: 600;
}

.gp-notice--success { background: #e3f4ea; color: #145c33; }
.gp-notice--error { background: #fdeaea; color: #8e1c1c; }

/* --------------------------------------------------------------------------
   Inhalte (Seiten, Beiträge)
   -------------------------------------------------------------------------- */
.entry-content > * + * {
	margin-top: 1em;
}

.entry-content h2 { margin-top: 1.8em; }
.entry-content h3 { margin-top: 1.5em; }

.entry-content ul,
.entry-content ol {
	padding-left: 1.4rem;
}

.entry-content blockquote {
	margin: 1.5em 0;
	padding: 0.5em 0 0.5em 1.25em;
	border-left: 4px solid var(--gp-yellow);
	font-size: 1.1rem;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 0.6rem 0.8rem;
	border: 1px solid var(--gp-border);
	text-align: left;
}

.entry-content img {
	border-radius: var(--radius);
}

.entry-thumbnail {
	margin-bottom: 1.5rem;
	border-radius: var(--radius-lg);
}

.alignwide {
	margin-left: calc(-1 * min(8vw, 120px));
	margin-right: calc(-1 * min(8vw, 120px));
}

.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
}

.post-list {
	display: grid;
	gap: 1.5rem;
}

.post-teaser {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--gp-border);
}

.post-teaser:not(:has(.post-teaser__media)) {
	grid-template-columns: 1fr;
}

.post-teaser__media img {
	display: block;
	border-radius: var(--radius);
}

.post-teaser__title {
	margin-bottom: 0.2rem;
}

.post-teaser__title a {
	text-decoration: none;
}

.post-teaser__meta {
	font-size: 0.875rem;
	color: var(--gp-steel);
}

.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 480px;
	margin: 1rem auto 0;
}

.search-form .search-submit {
	padding: 0.7rem 1.2rem;
	border: 0;
	border-radius: var(--radius);
	background: var(--gp-yellow);
	font-weight: 700;
	cursor: pointer;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
	background: var(--gp-anthracite);
	color: #b9c1c8;
	font-size: 0.95rem;
}

.site-footer a {
	color: #dfe4e8;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--gp-yellow);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
	gap: 2rem;
	padding-top: 3.5rem;
	padding-bottom: 3rem;
}

.site-footer .site-logo {
	color: var(--gp-white);
	margin-bottom: 1rem;
}

.site-footer .site-logo__text span {
	color: var(--gp-yellow);
}

.site-footer__title {
	margin-bottom: 1rem;
	font-size: 1.05rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gp-white);
}

.site-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__links li {
	margin-bottom: 0.5rem;
}

.contact-list--footer .icon {
	color: var(--gp-yellow);
}

.site-footer__bottom {
	padding: 1.1rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Responsiv
   -------------------------------------------------------------------------- */
@media (max-width: 1020px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.product__top,
	.product__body,
	.contact-section__grid {
		grid-template-columns: 1fr;
	}

	.product__summary,
	.product__aside .gp-inquiry {
		position: static;
	}
}

@media (max-width: 900px) {
	:root {
		--header-h: 64px;
	}

	.nav-toggle {
		display: block;
	}

	.primary-nav {
		position: fixed;
		inset: var(--nav-top, var(--header-h)) 0 0 0;
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		padding: 1.25rem var(--gap) 2rem;
		background: var(--gp-white);
		border-top: 1px solid var(--gp-border);
		overflow-y: auto;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform 0.25s ease, visibility 0.25s;
	}

	.nav-open .primary-nav {
		transform: none;
		visibility: visible;
	}

	.nav-open .nav-toggle__open {
		display: none;
	}

	.nav-open .nav-toggle__close {
		display: inline;
	}

	.nav-open {
		overflow: hidden;
	}

	.primary-nav .menu {
		flex-direction: column;
	}

	.primary-nav .menu a {
		padding: 0.85rem 0.75rem;
		font-size: 1.1rem;
		border-bottom: 1px solid var(--gp-light);
	}

	.primary-nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		box-shadow: none;
		padding: 0 0 0 1rem;
	}

	.topbar__left {
		display: none;
	}

	.topbar__inner {
		justify-content: center;
	}

	.post-teaser {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.topbar__right {
		gap: 1rem;
	}

	.topbar__item:nth-child(2) {
		display: none;
	}

	.hero__actions .button {
		width: 100%;
	}

	.category {
		padding: 1.25rem;
	}

	.category__icon {
		width: 56px;
		height: 56px;
	}

	.gp-specs__table th {
		width: 50%;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 0;
	}
}

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

@media print {
	.topbar,
	.site-header,
	.site-footer,
	.gp-inquiry,
	.product__actions,
	.product__related,
	.product__thumbs {
		display: none !important;
	}
}

/* --------------------------------------------------------------------------
   Formulare: Ankauf & Suchauftrag
   -------------------------------------------------------------------------- */
.gp-form__section {
	margin: 0 0 1.25rem;
	padding: 0;
	border: 0;
}

.gp-form__section legend {
	width: 100%;
	margin-bottom: 0.9rem;
	padding-bottom: 0.4rem;
	border-bottom: 2px solid var(--gp-light);
	font-family: var(--font-head);
	font-size: 1.2rem;
	font-weight: 700;
}

.gp-form select,
.gp-form input[type="number"] {
	width: 100%;
	padding: 0.7rem 0.8rem;
	border: 1px solid #c8ced4;
	border-radius: var(--radius);
	background: var(--gp-white);
	color: var(--gp-anthracite);
	font: inherit;
}

.gp-form select:focus,
.gp-form input[type="number"]:focus {
	outline: none;
	border-color: var(--gp-yellow-dark);
	box-shadow: 0 0 0 3px rgba(245, 168, 0, 0.25);
}

.gp-form input[type="file"] {
	display: block;
	width: 100%;
	padding: 1.25rem;
	border: 2px dashed #c8ced4;
	border-radius: var(--radius);
	background: var(--gp-light);
	font: inherit;
	cursor: pointer;
}

.gp-form input[type="file"]:hover {
	border-color: var(--gp-yellow-dark);
}

.gp-form__hint {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.85rem;
	color: var(--gp-steel);
}

.gp-form__unit {
	font-weight: 400;
	color: var(--gp-steel);
}

.gp-form__field[hidden] {
	display: none;
}

.gp-inquiry__intro {
	color: var(--gp-steel);
}

.gp-inquiry--ankauf {
	max-width: 900px;
}

/* Suchauftrag unter dem Katalog */
.search-request {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
	margin-top: 4rem;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background: var(--gp-anthracite);
	border-radius: var(--radius-lg);
	color: #d5dbe0;
}

.search-request__intro {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.search-request__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: var(--radius-lg);
	background: var(--gp-yellow);
	color: var(--gp-anthracite);
}

.search-request__icon .icon {
	width: 34px;
	height: 34px;
}

.search-request__title {
	color: var(--gp-white);
}

.search-request .gp-inquiry {
	margin: 0;
	color: var(--gp-anthracite);
}

@media (max-width: 1020px) {
	.search-request {
		grid-template-columns: 1fr;
	}
}

/* Cookie-Link im Footer */
.site-footer .gp-consent-open {
	color: #b9c1c8;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   Kontaktseite
   -------------------------------------------------------------------------- */
.contact-page {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: start;
	padding-top: 2.5rem;
	padding-bottom: 4rem;
}

.contact-page__info {
	display: grid;
	gap: 0.85rem;
	position: sticky;
	top: calc(var(--header-h) + 1.5rem);
}

.contact-card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.1rem 1.25rem;
	background: var(--gp-white);
	border: 1px solid var(--gp-border);
	border-radius: var(--radius-lg);
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

a.contact-card:hover {
	border-color: var(--gp-yellow);
	box-shadow: var(--shadow);
	color: var(--gp-anthracite);
}

.contact-card__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: var(--radius);
	background: var(--gp-yellow-soft);
}

.contact-card__label {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gp-steel);
}

.contact-card strong {
	font-size: 1.05rem;
}

.contact-page__links {
	margin-top: 0.75rem;
	padding: 1.25rem;
	background: var(--gp-anthracite);
	border-radius: var(--radius-lg);
}

.contact-page__links h2 {
	margin-bottom: 0.75rem;
	font-size: 1.1rem;
	color: var(--gp-white);
}

.contact-page__links a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.55rem 0;
	color: #dfe4e8;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-page__links a:last-child {
	border-bottom: 0;
}

.contact-page__links a:hover {
	color: var(--gp-yellow);
}

.contact-page__links .icon {
	color: var(--gp-yellow);
}

.contact-page__main .gp-inquiry {
	margin-top: 0;
}

@media (max-width: 1020px) {
	.contact-page {
		grid-template-columns: 1fr;
	}

	.contact-page__info {
		position: static;
	}
}

/* Hinweis Gewerbekunden */
.site-footer__bottom .container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
}

.site-footer__b2b {
	max-width: 62ch;
	font-size: 0.82rem;
	opacity: 0.8;
}

.product__b2b {
	margin: 0.35rem 0 0;
	font-size: 0.85rem;
	color: var(--gp-steel);
}

/* Batterie-Grafik (Platzhalter ohne Foto) */
.gp-placeholder--illustration {
	display: block;
	width: 100%;
	height: 100%;
}

.gp-illustration {
	display: block;
	width: 100%;
	height: 100%;
	transition: transform 0.4s;
}

.gp-card:hover .gp-illustration {
	transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   Produktkarten als Liste: Bild links, Daten rechts (spart Platz)
   -------------------------------------------------------------------------- */
.gp-grid {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr));
	gap: 1rem;
}

.gp-card {
	flex-direction: row;
}

.gp-card__media {
	flex: 0 0 42%;
	max-width: 250px;
	min-height: 150px;
	aspect-ratio: auto;
	align-self: stretch;
}

.gp-card__media img,
.gp-card__media .gp-placeholder--illustration {
	position: absolute;
	inset: 0;
}

.gp-card__body {
	min-width: 0;
	padding: 0.9rem 1rem 0.9rem;
}

.gp-card__title {
	margin-bottom: 0.55rem;
	font-size: 1.1rem;
	line-height: 1.25;
}

.gp-card__specs {
	gap: 0.35rem 0.85rem;
	margin-bottom: 0.7rem;
}

.gp-card__footer {
	padding-top: 0.6rem;
}

.gp-card__more {
	width: 34px;
	height: 34px;
}

.gp-card:hover {
	transform: none;
}

@media (max-width: 600px) {
	.gp-grid {
		gap: 0.75rem;
	}

	.gp-card__media {
		flex-basis: 36%;
		min-height: 128px;
	}

	.gp-card__media .gp-badge {
		top: 0.4rem;
		left: 0.4rem;
		padding: 0.15rem 0.45rem;
		font-size: 0.68rem;
	}

	.gp-card__body {
		padding: 0.65rem 0.75rem;
	}

	.gp-card__brand {
		font-size: 0.7rem;
	}

	.gp-card__title {
		margin-bottom: 0.4rem;
		font-size: 0.98rem;
	}

	.gp-card__specs {
		gap: 0.2rem 0.6rem;
		margin-bottom: 0.5rem;
		font-size: 0.8rem;
	}

	.gp-card__specs span {
		font-size: 0.68rem;
	}

	.gp-card__specs li:nth-child(n+5) {
		display: none;
	}

	.gp-card__footer {
		padding-top: 0.45rem;
	}

	.gp-card__footer .gp-price__value {
		font-size: 1rem;
	}

	.gp-card__footer .gp-price__tax {
		display: none;
	}

	.gp-card__more {
		width: 30px;
		height: 30px;
	}
}

/* --------------------------------------------------------------------------
   Schnellkontakt: Anrufen / WhatsApp
   -------------------------------------------------------------------------- */
.quick-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 0.75rem;
}

.quick-contact .button {
	flex: 1 1 140px;
	justify-content: center;
}

.quick-contact__wa {
	background: #25d366;
	border-color: #25d366;
	color: #fff;
}

.quick-contact__wa:hover {
	background: #1ebe5b;
	border-color: #1ebe5b;
	color: #fff;
}

.contact-card--wa .contact-card__icon {
	background: rgba(37, 211, 102, 0.15);
	color: #128c4b;
}

/* Nach oben */
.to-top {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 85;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--gp-anthracite);
	color: var(--gp-yellow);
	box-shadow: 0 6px 18px rgba(30, 35, 40, 0.25);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.to-top .icon {
	width: 22px;
	height: 22px;
	transform: rotate(-90deg);
}

.to-top:hover {
	background: var(--gp-yellow);
	color: var(--gp-anthracite);
}

@media (max-width: 768px) {
	.to-top {
		right: 0.75rem;
		bottom: calc(0.75rem + env(safe-area-inset-bottom));
		width: 42px;
		height: 42px;
	}
}

/* Checkbox-Text als ein Block (Link nicht als eigene Spalte) */
.gp-check-text {
	flex: 1;
	min-width: 0;
}
