/*
Theme Name: Prior Design
Theme URI: https://prior-design.de
Author: M&D exclusive cardesign für PRIOR Design GmbH
Description: WooCommerce-Theme für Prior Design – Marke › Modell › Kit › Teil, im Look der bisherigen Seite mit überarbeiteter Typografie, Navigation und Kit-Seiten.
Version: 0.7.7
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: prior
WC requires at least: 9.0
*/

/* ==========================================================================
   Design-Token
   Konzept: schwarze Bühne für die Fahrzeuge, weiße Arbeitsflächen für Teile
   und Preise, Rot nur als Signal (Slash-Marken, Hauptaktion, Fokus).
   ========================================================================== */
:root {
	/* Flächen, von tief nach hell: Header/Hero/Footer › dunkler Block › Grundfläche › abgesetzter Block › Karten */
	--black: #050506;
	--deep: #0a0a0c;
	--white: #121215;      /* Grundfläche (ehemals Weiß) */
	--stone: #1b1b20;      /* abgesetzter Block (ehemals Hellgrau) */
	--card: #1a1a1e;       /* Karten auf der Grundfläche */
	--card-2: #24242a;     /* Karten auf abgesetzten Blöcken, Eingabefelder */
	--graphite: #1f1f24;
	--ink: #f2f2f3;        /* Haupttext */
	--line: #2b2b31;
	--line-dark: #2b2b31;
	--line-strong: #3d3d45;
	--mute: #a6a6ae;
	--mute-dark: #a6a6ae;
	--red: #e30613;
	--red-deep: #b8050f;
	--red-text: #ff4f5a;   /* Rot für Links auf dunklem Grund */
	--ok: #3fbf7f;

	--f-display: "Saira Condensed", "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
	--f-body: "Figtree", "Segoe UI", Helvetica, Arial, sans-serif;
	--f-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

	--fs-hero: clamp(2.6rem, 1.4rem + 5.2vw, 5.6rem);
	--fs-h1: clamp(2.2rem, 1.4rem + 3.2vw, 4rem);
	--fs-h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
	--fs-h3: clamp(1.2rem, 1.05rem + .5vw, 1.45rem);
	--fs-lead: clamp(1.05rem, 1rem + .3vw, 1.25rem);

	--gutter: clamp(16px, 4vw, 48px);
	--max: 1360px;
	--header-h: 76px;
	--radius: 2px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	color-scheme: dark;
}

/* ==========================================================================
   Grundlagen
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.6 var(--f-body); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: 1; letter-spacing: .005em; text-transform: uppercase; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--red); color: #fff; padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.mono { font-family: var(--f-mono); font-size: .92em; letter-spacing: .02em; }
.muted { color: var(--mute); }
.center { text-align: center; margin-top: 2rem; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Slash-Marke aus dem bisherigen Auftritt */
.slash { color: var(--red); font-style: italic; margin-right: .1em; letter-spacing: -.08em; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font: 600 .78rem/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); text-decoration: none; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); }
.eyebrow--light { color: rgba(255, 255, 255, .78); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 46px; padding: .7em 1.35em; border: 2px solid transparent; border-radius: var(--radius); font: 700 .95rem/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); white-space: nowrap; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); }
.btn--dark { background: var(--card-2); color: #fff; border-color: var(--line-strong); }
.btn--dark:hover { background: #2e2e35; border-color: var(--mute); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--black); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(10, 10, 11, .15); backdrop-filter: blur(4px); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn--lg { min-height: 54px; padding-inline: 1.6em; font-size: 1rem; }
.btn--sm { min-height: 38px; padding: .5em 1em; font-size: .82rem; }
.btn--block { width: 100%; }
.btn.is-added { background: var(--ok); }
.btn.loading { opacity: .7; pointer-events: none; }
.added_to_cart { display: none !important; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.link-arrow .icon { color: var(--red); transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.tool { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; position: relative; border-radius: var(--radius); }
.tool:hover { color: var(--red); }
.tool[disabled] { opacity: .3; cursor: default; }
.tool--round { border: 1.5px solid currentColor; border-radius: 50%; }

/* ==========================================================================
   Header, Mega-Menü, Drawer
   ========================================================================== */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--black); color: #fff; transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.has-overlay-header .site-header { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(10, 10, 11, .75), rgba(10, 10, 11, 0)); }
.has-overlay-header .site-header.is-scrolled, .has-overlay-header .site-header.mega-open { background: var(--black); box-shadow: 0 1px 0 var(--line-dark); }
.site-header__bar { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.site-header__logo { display: block; color: #fff; }
.logo svg { width: 132px; height: auto; }
.site-header__logo:hover { color: #fff; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link { display: inline-flex; align-items: center; gap: .35em; height: var(--header-h); padding: 0 14px; border: 0; background: none; color: #fff; font: 600 .86rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 22px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__link:hover::after, .nav__link[aria-expanded="true"]::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link .icon { width: 14px; height: 14px; transition: transform .2s; }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.site-header__tools { display: flex; align-items: center; gap: 4px; }
.cart-link { color: #fff; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font: 700 .7rem/18px var(--f-body); text-align: center; }
.cart-count.is-empty { display: none; }
.cart-link.bump .cart-count { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.4); } }
.burger { display: none; color: #fff; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--black); border-top: 1px solid var(--line-dark); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mega__inner { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding-block: 36px 44px; }
.mega__intro { display: grid; gap: 14px; align-content: start; }
.mega__title { font: 800 1.9rem/1 var(--f-display); text-transform: uppercase; margin: 0; }
.mega__intro .btn { justify-self: start; }
.mega__brands { list-style: none; margin: 0; padding: 0; columns: 4 170px; column-gap: 32px; }
.mega__brand { break-inside: avoid; padding-bottom: 18px; }
.mega__brand-link { font: 700 1.05rem/1.2 var(--f-display); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: #fff; }
.mega__brand-link:hover { color: var(--red); }
.mega__models { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.mega__models a { color: var(--mute-dark); font-size: .92rem; text-decoration: none; }
.mega__models a:hover { color: #fff; }

.drawer { position: fixed; inset: 0; z-index: 90; background: var(--black); color: #fff; overflow-y: auto; padding: calc(env(safe-area-inset-top, 0px) + 10px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 32px); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.drawer__nav { margin-top: 18px; display: grid; gap: 8px; }
.drawer__group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font: 800 1.6rem/1 var(--f-display); text-transform: uppercase; cursor: pointer; }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group[open] summary .icon { transform: rotate(180deg); }
.drawer__brands { list-style: none; margin: 10px 0 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
.drawer__brands a { display: block; padding: 8px 0; color: var(--mute-dark); text-decoration: none; }
.drawer__links { list-style: none; margin: 0; padding: 0; }
.drawer__links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font: 800 1.6rem/1 var(--f-display); text-transform: uppercase; text-decoration: none; }

@media (max-width: 1080px) {
	.nav { display: none; }
	.burger { display: inline-grid; }
	.site-header__tools { margin-left: auto; }
	:root { --header-h: 64px; }
	.logo svg { width: 112px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; isolation: isolate; background: var(--black); color: #fff; display: flex; align-items: flex-end; overflow: hidden; }
.hero--home { min-height: min(92vh, 900px); }
.hero--lg { min-height: min(78vh, 760px); }
.hero--md { min-height: min(62vh, 600px); }
.hero--sm { min-height: 0; }
.has-overlay-header .hero { padding-top: var(--header-h); }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero--home .hero__slide.is-active img { animation: drift 9s var(--ease) both; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 11, .82) 0%, rgba(10, 10, 11, .45) 45%, rgba(10, 10, 11, .05) 75%), linear-gradient(0deg, rgba(10, 10, 11, .75) 0%, rgba(10, 10, 11, 0) 45%); }
.hero__content { position: relative; display: grid; gap: 18px; padding-block: 56px 64px; }
.hero--sm .hero__content { padding-block: 44px 40px; }
.hero__title { font-size: var(--fs-hero); max-width: 16ch; }
.hero--md .hero__title, .hero--lg .hero__title { font-size: var(--fs-h1); max-width: 22ch; }
.hero--sm .hero__title { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); max-width: none; }
.hero__lead { max-width: 60ch; font-size: var(--fs-lead); color: rgba(255, 255, 255, .86); }
.hero__lead p { margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0; margin: 6px 0 0; }
.hero__facts div { padding: 4px 28px 4px 0; margin-right: 28px; border-right: 1px solid rgba(255, 255, 255, .25); }
.hero__facts div:last-child { border: 0; margin: 0; }
.hero__facts dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.hero__facts dd { margin: 2px 0 0; font: 700 1.5rem/1.1 var(--f-display); }
.hero__facts .amount { white-space: nowrap; }
.hero__pager { display: flex; align-items: center; gap: 14px; margin-top: 26px; color: rgba(255, 255, 255, .75); font-size: .85rem; }
.hero__progress { width: 120px; height: 2px; background: rgba(255, 255, 255, .25); }
.hero__progress span { display: block; height: 100%; width: 0; background: var(--red); }
.hero--plain { background: var(--black) radial-gradient(120% 140% at 100% 0%, #1f1f25 0%, var(--black) 60%); border-bottom: 1px solid var(--line); }

.crumbbar { background: var(--white); border-bottom: 1px solid var(--line); }
.crumbbar--solid { background: var(--stone); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 14px 0; font-size: .86rem; color: var(--mute); }
.breadcrumbs li + li::before { content: "/"; margin: 0 .6em; color: var(--red); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Abschnitte
   ========================================================================== */
.section { padding-block: clamp(56px, 7vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--deep); color: #fff; }
/* Startseite „Neuste Projekte“: reines Schwarz wie der Bildhintergrund der Projektfotos, damit kein Kasten sichtbar ist */
.section--black { background: #000; color: #fff; }
.section--black .project-card__media { background: #000; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.section-title { font-size: var(--fs-h2); }
.section-lead { max-width: 62ch; margin-top: 12px; color: var(--mute); font-size: 1.05rem; }
.section-lead p { margin: 0; }
.section--dark .section-lead { color: var(--mute-dark); }
.h-sub { font-size: 1.35rem; margin: 1.8em 0 .6em; }
.prose > :first-child, .prose > .lede:first-child > :first-child { margin-top: 0; }
.prose { max-width: 70ch; }
.prose--page h2 { font-size: 1.6rem; margin: 1.8em 0 .5em; }
.prose--page h3 { font-size: 1.25rem; margin: 1.5em 0 .4em; }
.prose a { color: var(--red-text); }
.lede { font-size: var(--fs-lead); line-height: 1.55; }
.lede strong, .lede b { font-weight: 700; }

/* Schnellsuche unter dem Slider */
.finder-bar { background: var(--stone); color: #fff; border-top: 3px solid var(--red); border-bottom: 1px solid var(--line); }
.finder { display: grid; grid-template-columns: auto 1fr 1fr auto; align-items: end; gap: 16px 20px; padding: 26px 0; }
.finder__label { margin: 0 0 12px; font: 800 1.35rem/1 var(--f-display); text-transform: uppercase; }
.finder__field { display: grid; gap: 6px; }
.finder__field label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute-dark); }
.finder select { appearance: none; width: 100%; min-height: 50px; padding: 0 44px 0 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--card-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e30613' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; color: #fff; font-weight: 600; cursor: pointer; }
.finder select:disabled { opacity: .5; cursor: not-allowed; }
.finder .btn { min-height: 50px; }
.finder .btn[disabled] { opacity: .45; cursor: not-allowed; }
.section:not(.section--dark) .finder:not(.finder--compact) { background: var(--stone); color: #fff; border-top: 3px solid var(--red); padding: 28px clamp(20px, 3vw, 36px); }
@media (max-width: 900px) {
	.finder { grid-template-columns: 1fr 1fr; }
	.finder__label { grid-column: 1 / -1; margin: 0; }
	.finder .btn { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .finder { grid-template-columns: 1fr; } }

/* Karussell */
.rail { position: relative; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((100% - 48px) / 3)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
@media (max-width: 700px) { .rail__track { grid-auto-columns: 84%; gap: 16px; } }

.project-card a { display: block; text-decoration: none; }
.project-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card a:hover img { transform: scale(1.05); }
.project-card__body { display: grid; gap: 4px; padding: 16px 0 0; border-top: 3px solid transparent; }
.project-card__title { font: 800 1.45rem/1.05 var(--f-display); text-transform: uppercase; }
.project-card__sub { display: inline-flex; align-items: center; gap: 6px; color: var(--mute); font-size: .95rem; }
.project-card__sub .icon { width: 16px; color: var(--red); transition: transform .2s; }
.project-card a:hover .project-card__sub .icon { transform: translateX(4px); }

/* Marken-Kacheln */
.brand-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.brand-tile { position: relative; display: flex; align-items: flex-end; aspect-ratio: 16 / 10; overflow: hidden; background: var(--graphite); text-decoration: none; color: #fff; isolation: isolate; }
.brand-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .6; filter: grayscale(.35); transition: transform .6s var(--ease), opacity .4s, filter .4s; }
.brand-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 10, 11, .85), rgba(10, 10, 11, 0) 60%); }
.brand-tile:hover img { transform: scale(1.06); opacity: .9; filter: none; }
.brand-tile__name { padding: 16px 18px; font: 800 1.7rem/1 var(--f-display); text-transform: uppercase; }
.brand-tile__go { position: absolute; right: 14px; bottom: 16px; color: var(--red); transform: translateX(-6px); opacity: 0; transition: .25s var(--ease); }
.brand-tile:hover .brand-tile__go { transform: none; opacity: 1; }
.brand-tile .img-placeholder { position: absolute; inset: 0; z-index: -2; }

/* USP-Leiste */
.usp { background: var(--stone); border-block: 1px solid var(--line); }
.usp__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.usp__item { display: flex; gap: 14px; align-items: flex-start; padding: 28px 24px 28px 0; }
.usp__item + .usp__item { padding-left: 24px; border-left: 1px solid var(--line); }
.usp__item .icon { width: 30px; height: 30px; color: var(--red); }
.usp__item strong { display: block; font: 800 1.15rem/1.1 var(--f-display); text-transform: uppercase; }
.usp__item span { display: block; margin-top: 4px; color: var(--mute); font-size: .92rem; line-height: 1.4; }
@media (max-width: 960px) { .usp__grid { grid-template-columns: 1fr 1fr; } .usp__item:nth-child(3) { border-left: 0; padding-left: 0; } .usp__item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .usp__grid { grid-template-columns: 1fr; } .usp__item + .usp__item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

/* Ausgewählte Projekte */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 12px; }
.feature { position: relative; display: flex; align-items: flex-end; overflow: hidden; color: #fff; text-decoration: none; background: var(--graphite); isolation: isolate; }
.feature--lead { grid-column: span 2; grid-row: span 2; }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 10, 11, .88), rgba(10, 10, 11, 0) 55%); }
.feature:hover img { transform: scale(1.05); }
.feature__body { display: grid; gap: 8px; padding: 20px; }
.feature__title { font: 800 1.35rem/1.05 var(--f-display); text-transform: uppercase; }
.feature--lead .feature__title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); max-width: 18ch; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } .feature--lead { grid-column: auto; grid-row: span 2; } }

/* Zwei Spalten Bild/Text */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img, .split__media .img-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__body { display: grid; gap: 18px; justify-items: start; }
.split__text { font-size: 1.08rem; color: var(--mute-dark); margin: 0 0 12px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

/* ==========================================================================
   Karten (Kits)
   ========================================================================== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card-grid--lg { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
@media (max-width: 440px) { .card-grid, .card-grid--lg { grid-template-columns: 1fr; } }
.kit-card__link { display: flex; flex-direction: column; height: 100%; background: var(--card); color: var(--ink); text-decoration: none; border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.section--stone .kit-card__link { background: var(--card-2); border-color: transparent; }
.kit-card__link:hover { border-color: var(--line-strong); box-shadow: 0 22px 44px -24px rgba(0, 0, 0, .9); transform: translateY(-2px); }
.kit-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); position: relative; }
.kit-card__media::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.kit-card__link:hover .kit-card__media::after { transform: scaleX(1); }
.kit-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.kit-card__link:hover .kit-card__media img { transform: scale(1.04); }
.kit-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 18px; flex: 1; }
.kit-card__eyebrow { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.kit-card__title { font-size: 1.5rem; line-height: 1.02; }
.kit-card__sub { color: var(--mute); font-size: .95rem; line-height: 1.45; }
.kit-card__meta { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .88rem; font-weight: 600; }
.kit-card__go { margin-left: auto; color: var(--red); transition: transform .2s; }
.kit-card__link:hover .kit-card__go { transform: translateX(4px); }

.img-placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px; background: var(--graphite); color: #3a3a40; }
.placeholder-logo svg { width: 96px; }
.img-placeholder { color: #34343b; }

/* Modell-Chips auf Markenseite */
.chipnav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(18, 18, 21, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.chipnav__inner { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.chipnav__inner::-webkit-scrollbar { display: none; }
.chipnav__label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-right: 6px; flex: none; }
.chip { flex: none; padding: 7px 14px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-weight: 700; font-size: .9rem; text-decoration: none; transition: .2s; }
.chip:hover { border-color: var(--red); background: var(--red); color: #fff; }
.has-overlay-header .chipnav { top: var(--header-h); }

.callout { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.callout__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); margin-bottom: 8px; }
.callout p { margin: 0; color: var(--mute); max-width: 60ch; }
.empty-state { max-width: 720px; display: grid; gap: 16px; justify-items: start; }

/* ==========================================================================
   Kit-Seite
   ========================================================================== */
.kit-intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .9fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.kit-box { position: sticky; top: calc(var(--header-h) + 24px); background: var(--deep); border: 1px solid var(--line); color: #fff; padding: 30px 28px; border-top: 4px solid var(--red); }
.kit-box__title { font-size: 1.45rem; line-height: 1.05; margin-bottom: 18px; }
.checklist { list-style: none; margin: 0 0 18px; padding: 0; display: grid; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line-dark); font-size: .95rem; line-height: 1.35; }
.checklist .icon { width: 18px; height: 18px; color: var(--red); margin-top: 1px; }
.checklist a { text-decoration: none; }
.checklist a:hover { text-decoration: underline; }
.kit-box__hint { color: var(--mute-dark); font-size: .9rem; }
/* Ausführung wählen (Facelift / Vor-Facelift) */
.variant-switch { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.variant-switch legend { padding: 0; margin-bottom: 10px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.variant-switch__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-switch label { flex: 1 1 140px; position: relative; cursor: pointer; }
.variant-switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.variant-switch span { display: block; padding: 12px 14px; border: 1.5px solid var(--line-strong); text-align: center; font-weight: 600; transition: border-color .2s, background .2s; }
.variant-switch input:checked + span { border-color: var(--red); background: rgba(227, 6, 19, .12); color: #fff; }
.variant-switch input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.checklist li[hidden] { display: none; }
.note-box { margin-top: 28px; padding: 18px 20px; background: var(--stone); border-left: 4px solid var(--red); }
.note-box strong { display: block; font: 800 1.05rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.note-box p:last-child { margin: 0; }
@media (max-width: 900px) { .kit-intro { grid-template-columns: 1fr; } .kit-box { position: static; } }

.parts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.part { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 24px; align-items: center; background: var(--card-2); padding: 14px 24px 14px 14px; border: 1px solid transparent; transition: box-shadow .25s var(--ease); }
.part:target { box-shadow: 0 0 0 2px var(--red); }
.part:hover { border-color: var(--line-strong); box-shadow: 0 20px 40px -26px rgba(0, 0, 0, .9); }
.part__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); }
.part__media img { width: 100%; height: 100%; object-fit: cover; }
.part__info { display: grid; gap: 4px; min-width: 0; }
.part__no { color: var(--red); font-size: .8rem; }
.part__name { font-size: 1.35rem; line-height: 1.05; }
.part__name a { text-decoration: none; }
.part__name a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); }
.part__fit { margin: 0; color: var(--mute); font-size: .95rem; }
.part__sku { margin: 0; font-size: .85rem; color: var(--mute); }
.part__sku span:first-child { margin-right: 6px; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }
.part__buy { display: grid; gap: 12px; justify-items: end; text-align: right; }
.part__price .amount, .product__price .amount { font: 800 1.7rem/1 var(--f-display); letter-spacing: .01em; }
.price-note { display: block; margin-top: 4px; font-size: .78rem; color: var(--mute); }
.price-note a { color: inherit; }
.price-request { font: 800 1.3rem/1 var(--f-display); text-transform: uppercase; }
@media (max-width: 860px) {
	.part { grid-template-columns: 120px minmax(0, 1fr); padding: 12px; gap: 14px 16px; }
	.part__buy { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; text-align: left; justify-items: stretch; border-top: 1px solid var(--line); padding-top: 12px; }
	.part__name { font-size: 1.15rem; }
}

.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery__item a { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--graphite); }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.gallery__item--wide a { aspect-ratio: auto; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.gallery a:hover img { transform: scale(1.05); opacity: .85; }
.gallery__zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 38px; height: 38px; background: rgba(10, 10, 11, .7); color: #fff; opacity: 0; transition: opacity .25s; }
a:hover > .gallery__zoom { opacity: 1; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Produktseite
   ========================================================================== */
.product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.product__gallery { display: grid; gap: 10px; position: sticky; top: calc(var(--header-h) + 20px); }
.product__main { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--stone); overflow: hidden; }
.product__main img { width: 100%; height: 100%; object-fit: cover; }
.product__thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.product__thumb { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 2px solid transparent; background: var(--stone); cursor: pointer; overflow: hidden; }
.product__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__thumb.is-active { border-color: var(--red); }
.product__summary { display: grid; gap: 18px; align-content: start; }
.product__kit .icon { width: 16px; }
.product__kit::before { display: none; }
.product__kit:hover { color: var(--red); }
.product__title { font-size: var(--fs-h1); line-height: .98; }
.product__fit { display: flex; gap: 8px; align-items: center; margin: 0; font-weight: 600; }
.product__fit .icon { color: var(--ok); }
.specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.specs div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs div:nth-child(odd) { padding-right: 16px; }
.specs dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.specs dd { margin: 3px 0 0; font-weight: 600; }
.product__buy { display: grid; gap: 16px; padding: 22px; background: var(--stone); }
.product__buy form.cart { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.product__buy .quantity input { width: 76px; height: 54px; text-align: center; border: 1.5px solid var(--line-strong); background: var(--card-2); color: var(--ink); font-weight: 700; }
.product__buy .single_add_to_cart_button { flex: 1; min-height: 54px; border: 0; background: var(--red); color: #fff; font: 700 1rem/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; border-radius: var(--radius); }
.product__buy .single_add_to_cart_button:hover { background: var(--red-deep); }
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .92rem; color: var(--mute); }
.trust li { display: flex; gap: 10px; align-items: flex-start; }
.trust .icon { color: var(--ink); width: 20px; }
.product-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px 64px; }
.product-details .h-sub:first-child { margin-top: 0; }
.mini-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.mini a { display: grid; gap: 8px; text-decoration: none; }
.mini__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); }
.mini__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mini a:hover img { transform: scale(1.05); }
.mini__name { font: 700 1.1rem/1.1 var(--f-display); text-transform: uppercase; }
.mini__price .amount { font-weight: 700; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } .product__gallery { position: static; } }

/* ==========================================================================
   Body-Kit-Finder-Seite
   ========================================================================== */
.brand-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; }
.brand-list__item { padding: 18px 0; border-top: 1px solid var(--line); }
.brand-list__name { display: flex; justify-content: space-between; align-items: center; font: 800 1.5rem/1 var(--f-display); text-transform: uppercase; text-decoration: none; }
.brand-list__name .icon { color: var(--red); width: 18px; }
.brand-list__models { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.brand-list__models a { display: inline-block; padding: 4px 10px; background: var(--stone); font-size: .88rem; font-weight: 600; text-decoration: none; }
.brand-list__models a:hover { background: var(--red); color: #fff; }

/* ==========================================================================
   Über uns
   ========================================================================== */
.story { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 64px; }
.story__item { display: grid; gap: 12px; align-content: start; padding-top: 20px; border-top: 3px solid var(--line-strong); }
.story__no { color: var(--red); }
.story__title { font-size: var(--fs-h3); line-height: 1.05; }
.story__item p { margin: 0; color: var(--mute); }
.area { display: grid; background: var(--stone); }
.area__media img, .area__media .img-placeholder { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.area__body { padding: 24px; display: grid; gap: 8px; }
.area__title { font-size: 1.8rem; }
.area__body p { margin: 0; color: var(--mute); }
.quote { margin: 0; padding-left: 28px; border-left: 4px solid var(--red); }
.quote blockquote { margin: 0; font: 600 clamp(1.3rem, 1.1rem + .8vw, 1.8rem)/1.35 var(--f-body); }
.quote figcaption { margin-top: 16px; color: var(--mute); }

/* ==========================================================================
   Kontakt & Formulare
   ========================================================================== */
.contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact__form .section-title { margin-bottom: 24px; }
.contact__card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--stone); border: 1px solid var(--line); color: #fff; padding: 32px 28px; display: grid; gap: 22px; border-top: 4px solid var(--red); }
.contact__card .logo svg { width: 150px; }
.contact__card address { font-style: normal; line-height: 1.6; color: var(--mute-dark); }
.contact__card address strong { color: #fff; }
.contact__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact__lines li { display: flex; gap: 12px; align-items: center; }
.contact__lines .icon { color: var(--red); }
.contact__lines a { text-decoration: none; font-weight: 600; }
.contact__lines a:hover { text-decoration: underline; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact__card { position: static; } }

.form { display: grid; gap: 22px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 6px; margin: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--mute); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--card-2); color: var(--ink); transition: border-color .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--mute); }
.field input::placeholder, .field textarea::placeholder { color: #6f6f78; }
.field--check { display: flex; gap: 12px; align-items: flex-start; }
.field--check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--red); flex: none; }
.field--check label { text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 400; }
.field--hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
.form__context { display: grid; gap: 4px; padding: 16px 18px; background: var(--stone); border-left: 4px solid var(--red); }
.form__context strong { font: 800 1.3rem/1.1 var(--f-display); text-transform: uppercase; }
.form__context .mono { color: var(--mute); }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } }
.notice { display: flex; gap: 12px; padding: 16px 18px; margin-bottom: 20px; border-left: 4px solid; }
.notice--ok { background: #10251a; border-color: var(--ok); }
.notice--ok .icon { color: var(--ok); }
.notice--error { background: #2a0e11; border-color: var(--red); }

/* WooCommerce-Hinweise (klassisch) */
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 20px; padding: 14px 18px; background: var(--stone); border-left: 4px solid var(--ok); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.woocommerce-error { border-color: var(--red); }
.woocommerce-message .button { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }

/* Warenkorb & Kasse (Blöcke) */
.shop-page { max-width: var(--max); }
.wc-blocks .wc-block-components-button:not(.is-link), .wc-blocks .wc-block-cart__submit-button, .wc-blocks .wc-block-components-checkout-place-order-button { background: var(--red) !important; color: #fff !important; border-radius: var(--radius) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; min-height: 54px; }
.wc-blocks .wc-block-components-button:not(.is-link):hover { background: var(--red-deep) !important; }
.wc-blocks .wc-block-components-product-name { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.15rem; text-decoration: none; }
.wc-blocks .wc-block-components-title, .wc-blocks .wc-block-cart__totals-title { font-family: var(--f-display) !important; font-weight: 800 !important; text-transform: uppercase; }
.wc-blocks .wc-block-components-text-input input, .wc-blocks .wc-block-components-combobox input, .wc-blocks .wc-blocks-components-select select { border-radius: var(--radius) !important; }
.wc-blocks a { color: inherit; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--black); color: #fff; padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.site-footer__cta { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-dark); }
.site-footer__claim { margin: 10px 0 0; font: 800 clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem)/1.02 var(--f-display); text-transform: uppercase; max-width: 22ch; }
.site-footer__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer__grid { display: grid; grid-template-columns: 1.1fr 1.4fr .8fr; gap: 40px 56px; padding-block: 48px; }
.site-footer__brand { display: grid; gap: 18px; align-content: start; }
.site-footer__brand .logo svg { width: 150px; }
.site-footer address { font-style: normal; color: var(--mute-dark); line-height: 1.6; }
.site-footer__contact { display: grid; gap: 8px; margin: 0; }
.site-footer__contact a { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; }
.site-footer__contact .icon { color: var(--red); width: 18px; }
.site-footer__contact a:hover { text-decoration: underline; }
.site-footer__h { font-size: 1.05rem; letter-spacing: .12em; margin-bottom: 16px; color: var(--mute-dark); }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__list--cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 20px; }
.site-footer__list a { text-decoration: none; color: #fff; opacity: .88; }
.site-footer__list a:hover { opacity: 1; color: var(--red); }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-dark); border-radius: 50%; }
.social a:hover { border-color: var(--red); color: var(--red); }
.social .icon { width: 20px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-dark); color: var(--mute-dark); font-size: .88rem; }
.site-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer__legal a { text-decoration: none; }
.site-footer__legal a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } .site-footer__list--cols { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; background: rgba(10, 10, 11, .96); color: #fff; padding: calc(env(safe-area-inset-top, 0px) + 56px) 8px calc(env(safe-area-inset-bottom, 0px) + 48px); }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 12px; justify-items: center; min-width: 0; }
.lightbox__figure img { max-width: 100%; max-height: 100%; object-fit: contain; align-self: center; }
.lightbox__figure figcaption { color: var(--mute-dark); font-size: .9rem; text-align: center; }
.lightbox__close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 8px); right: 8px; }
.lightbox__count { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 20px); left: 20px; color: var(--mute-dark); }
@media (max-width: 600px) { .lightbox { grid-template-columns: 1fr; } .lightbox__nav { position: absolute; bottom: calc(env(safe-area-inset-bottom, 0px) + 6px); } .lightbox__nav--prev { left: 12px; } .lightbox__nav--next { right: 12px; } }

.post-row { padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-row h2 { font-size: 1.6rem; margin-bottom: 8px; }
.post-row h2 a { text-decoration: none; }
.section--dark .split__media img[src$=".png"] { object-fit: contain; padding: 8%; background: var(--graphite); }
.section--dark .prose { color: var(--mute-dark); }

/* ==========================================================================
   Warenkorb & Kasse auf dunklem Grund (WooCommerce-Blöcke)
   ========================================================================== */
.wc-blocks, .wc-blocks .wc-block-components-product-metadata, .wc-blocks .wc-block-components-totals-item { color: var(--ink); }
.wc-blocks input[type="text"], .wc-blocks input[type="email"], .wc-blocks input[type="tel"], .wc-blocks input[type="number"], .wc-blocks input[type="password"], .wc-blocks select, .wc-blocks textarea,
.wc-blocks .wc-block-components-text-input input, .wc-blocks .wc-block-components-combobox .components-combobox-control input, .wc-blocks .wc-blocks-components-select .wc-blocks-components-select__select { background: var(--card-2) !important; color: var(--ink) !important; border-color: var(--line-strong) !important; }
.wc-blocks .wc-block-components-text-input label, .wc-blocks .wc-blocks-components-select__label, .wc-blocks .wc-block-components-combobox label { color: var(--mute) !important; }
.wc-blocks .wc-block-components-quantity-selector { border-color: var(--line-strong) !important; background: var(--card-2); }
.wc-blocks .wc-block-components-quantity-selector input, .wc-blocks .wc-block-components-quantity-selector button { color: var(--ink) !important; background: transparent !important; }
.wc-blocks .wc-block-cart .wc-block-components-sidebar, .wc-blocks .wp-block-woocommerce-checkout-order-summary-block { background: var(--stone); padding: 20px; border: 1px solid var(--line); }
.wc-blocks .wc-block-components-panel__button, .wc-blocks .wc-block-components-totals-coupon-link { color: var(--ink) !important; }
.wc-blocks .wc-block-components-radio-control__option, .wc-blocks .wc-block-components-radio-control-accordion-option { border-color: var(--line-strong) !important; }
.wc-blocks .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { background: var(--card-2); border-color: var(--line-strong); }
.wc-blocks .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--red); border-color: var(--red); }
.wc-blocks .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff; }
.wc-blocks .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:focus-visible { outline: 2px solid var(--red-text); outline-offset: 2px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--red); }
/* Express-Kasse aus, wenn nur Vorkasse (außerhalb EU) oder Angebot möglich – siehe assets/js/express.js */
.prior-no-express .wp-block-woocommerce-checkout-express-payment-block, .prior-no-express .wp-block-woocommerce-cart-express-payment-block,
.prior-no-express .wc-block-components-express-payment, .prior-no-express .wc-block-components-express-payment-continue-rule { display: none !important; }
.wc-blocks .wc-block-components-notice-banner { background: var(--stone); color: var(--ink); }
.wc-blocks table, .wc-blocks th, .wc-blocks td, .wc-blocks .wc-block-cart-items__row, .wc-blocks .wc-block-components-totals-wrapper { border-color: var(--line) !important; }

/* ==========================================================================
   Mobile Optimierung
   ========================================================================== */
.mobilebar { display: none; }
@media (max-width: 860px) {
	/* Leiste unten mit den wichtigsten Aktionen */
	.mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; align-items: center; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(10, 10, 12, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
	.mobilebar .btn { flex: 1; min-height: 48px; padding-inline: .8em; font-size: .85rem; }
	.mobilebar__price { flex: none; display: grid; line-height: 1.1; }
	.mobilebar__price .amount { font: 800 1.35rem/1 var(--f-display); }
	.mobilebar__price .price-request { font-size: 1rem; }
	body:has(.mobilebar) .site-footer { padding-bottom: 72px; }

	/* Teileliste: Bild + Text, darunter Preis und Knopf in voller Breite */
	.part { grid-template-columns: 96px minmax(0, 1fr); padding: 12px; gap: 12px 14px; align-items: start; }
	.part__buy { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; gap: 10px; text-align: left; justify-items: stretch; border-top: 1px solid var(--line); padding-top: 12px; }
	.part__price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
	.part__price .price-note { margin: 0; }
	.part__buy .btn { width: 100%; }
	.part__name { font-size: 1.1rem; }
	.part__fit { font-size: .88rem; }

	/* Produktseite */
	.product__thumbs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.product__thumbs::-webkit-scrollbar { display: none; }
	.product__thumbs li { flex: 0 0 72px; scroll-snap-align: start; }
	.specs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.hero__actions .btn, .site-footer__cta-actions .btn, .callout .btn, .empty-state .btn { width: 100%; }
	.hero__facts div { padding-right: 16px; margin-right: 16px; }
	.hero__facts dd { font-size: 1.25rem; }
	.hero__content { padding-block: 40px 44px; }
	.brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.brand-tile__name { padding: 12px; font-size: 1.25rem; }
	.card-grid { gap: 16px; }
	.kit-card__body { padding: 16px; }
	.kit-card__title { font-size: 1.3rem; }
	.feature-grid { grid-auto-rows: 180px; }
	.section-head { margin-bottom: 20px; }
	.gallery { gap: 4px; }
	.kit-box { padding: 24px 20px; }
	.contact__card { padding: 24px 20px; }
	.site-footer__grid { padding-block: 36px; gap: 32px; }
	/* Brotkrumen in einer Zeile, seitlich wischbar */
	.breadcrumbs ol { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
	.breadcrumbs ol::-webkit-scrollbar { display: none; }
	/* Lange Wörter (z. B. Aerodynamikpaket/Karosseriepaket/…) sprengen sonst die Seitenbreite */
	.prose, .product-details, .kit-text, .checklist { overflow-wrap: anywhere; }
	.site-main { overflow-x: clip; }
}

/* ==========================================================================
   0.4 – Kit-Gesamtpreis, Komplettkit, Anfrage mit Teileauswahl
   ========================================================================== */
.hero__note { display: block; margin-top: 4px; font: 500 .72rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.hero__facts .price-request { font: 700 1.5rem/1.1 var(--f-display); }
.hero__actions .inline-form { display: contents; }
.inline-form { margin: 0; }
.kit-box__label { margin: 0; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.kit-box__price { margin: 4px 0 2px; font: 800 2.4rem/1 var(--f-display); }
.kit-box__price .price-request { font: 800 1.8rem/1 var(--f-display); text-transform: uppercase; }
.kit-box__note { margin: 0 0 20px; font-size: .85rem; color: var(--mute); }
.kit-box__note .price-note a { color: inherit; }
.kit-box .btn + .kit-box__alt, .kit-box form + .kit-box__alt { margin-top: 14px; }
.kit-box__alt { display: block; font-size: .88rem; color: var(--mute); text-align: center; }
.kit-box__alt:hover { color: #fff; }
.kit-box form .btn { width: 100%; }
.part--kit { background: var(--deep); border: 1px solid var(--line-strong); border-left: 4px solid var(--red); }
.part--kit .part__no { letter-spacing: .14em; }
.part__tag { margin: 2px 0 0; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.kit-card__price { color: var(--ink); }
.kit-hint { display: grid; gap: 2px; margin: 0 0 22px; padding: 14px 16px; background: var(--stone); border-left: 4px solid var(--red); text-decoration: none; }
.kit-hint span { font-size: .85rem; color: var(--mute); }
.kit-hint strong { font: 700 1.15rem/1.2 var(--f-display); text-transform: uppercase; }
.kit-hint:hover strong { text-decoration: underline; text-decoration-color: var(--red); }
.checklist--cols { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); column-gap: 32px; }

.inquiry { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.inquiry__head { position: sticky; top: calc(var(--header-h) + 24px); }
.inquiry__lines { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.inquiry__lines li { display: flex; gap: 10px; align-items: center; }
.inquiry__lines .icon { color: var(--red); }
.inquiry__lines a { text-decoration: none; font-weight: 600; }
.inquiry__form { background: var(--card); border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); }
.inq-parts { margin: 0; padding: 0; border: 0; min-width: 0; }
.inq-parts legend { padding: 0; margin-bottom: 8px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--mute); }
.inq-parts__tools { margin: 0 0 8px; font-size: .85rem; color: var(--mute); }
.inq-parts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 420px; overflow: auto; }
.inq-part { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; background: var(--card-2); border: 1.5px solid transparent; cursor: pointer; }
.inq-part:has(input:checked) { border-color: var(--red); }
.inq-part input { width: 20px; height: 20px; accent-color: var(--red); margin: 0; }
.inq-part__name { display: grid; gap: 2px; font-weight: 600; line-height: 1.3; }
.inq-part__name small { font-weight: 400; color: var(--mute); }
.inq-part__price { font-weight: 700; white-space: nowrap; text-align: right; }
.inq-part__price .price-request { font: 600 .82rem/1.2 var(--f-body); letter-spacing: .04em; text-transform: none; color: var(--mute); }
.inq-parts--single .inq-part { grid-template-columns: minmax(0, 1fr) auto; cursor: default; border-left: 4px solid var(--red); }
.tag { display: inline-block; margin-left: 6px; padding: 2px 6px; font: 700 .68rem/1.2 var(--f-body); font-style: normal; letter-spacing: .1em; text-transform: uppercase; background: var(--red); color: #fff; vertical-align: middle; }
.link-btn { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-decoration: underline; cursor: pointer; }
.form__hint { margin: -8px 0 0; font-size: .85rem; color: var(--mute); }
.mobilebar__price small { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.mobilebar .inline-form { flex: 1; display: flex; }
.mobilebar .inline-form .btn { flex: 1; }
@media (max-width: 900px) {
	.inquiry { grid-template-columns: 1fr; }
	.inquiry__head { position: static; }
}
@media (max-width: 560px) {
	.inq-part { grid-template-columns: auto minmax(0, 1fr); }
	.inq-part__price { grid-column: 2; text-align: left; }
	.kit-box__price { font-size: 2rem; }
}
@media (max-width: 560px) {
	.btn { white-space: normal; text-align: center; line-height: 1.2; }
	.hero__actions .btn, .hero__actions .inline-form { width: 100%; }
	.hero__actions .inline-form .btn { width: 100%; }
}

/* Hinweis zur Fahrzeugkompatibilität */
.compat { margin: 28px 0; padding: 22px 24px; background: var(--deep); border: 1px solid var(--line-strong); border-left: 4px solid var(--red); }
.compat__title { margin: 8px 0 8px; font: 800 clamp(1.4rem, 1.1rem + 1vw, 1.9rem)/1.05 var(--f-display); text-transform: uppercase; color: #fff; }
.compat__text p { margin: 0; color: var(--ink); }
.compat__text p + p { margin-top: .6em; }
.compat--compact { margin: 0 0 22px; padding: 16px 18px; }
.compat--compact .compat__title { font-size: 1.25rem; }
.compat--compact .compat__text { font-size: .92rem; }

.site-footer__role { font-size: .85em; color: var(--mute); }

/* Rechtstexte und Widerrufsfunktion */
.legal-draft { padding: 12px 16px; border-left: 4px solid #dba617; background: #2a2410; color: #f5e6b8; font-size: .92rem; }
.site-footer__withdraw { display: inline-block; padding: 4px 10px; border: 1px solid var(--line-strong); text-decoration: none; font-weight: 600; }
.site-footer__withdraw:hover { border-color: var(--red); color: #fff; }
.wr-confirm .form__context p { margin: 6px 0 0; }

/* Lieferzeit */
.delivery { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--mute); }
.delivery .icon { width: 16px; height: 16px; color: var(--ok); flex: none; }
.part__buy .delivery { justify-content: flex-end; }
.product__buy .delivery { margin: 2px 0 14px; }
@media (max-width: 560px) { .part__buy .delivery { justify-content: flex-start; } }

/* Versandkosten */
.ship-hint { display: block; font-size: .85rem; color: var(--mute); margin: -8px 0 14px; }
.kit-box__note .ship-hint { margin: 4px 0 0; display: inline; }
.ship-hint a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ship-request { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: .9rem; }
.ship-classes { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin: 20px 0; }
.ship-classes > div { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.ship-classes span { font-size: .85rem; color: var(--mute); }
.ship-classes small { font-size: .78rem; color: var(--mute); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0; }
.ship-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 600px; }
.ship-table th, .ship-table td { padding: 8px 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.ship-table th:first-child { text-align: left; font-weight: 500; }
.ship-table thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--mute); font-weight: 600; }
.ship-table__zone th { text-align: left !important; padding-top: 22px; font-weight: 700 !important; border-bottom-color: var(--line-strong); }
.ship-notes { font-size: .9rem; color: var(--mute); }

/* Startseite: Headline in festen Zeilen */
.hero__title--lines { max-width: none; }
.hero__title--lines span { display: block; }

/* Übernommene Sonderseiten (Akrapovič, Händler, Jobs, Messen) */
.usp__text { color: var(--ink) !important; font-size: .98rem !important; margin: 0 !important; }
a.area { text-decoration: none; color: inherit; transition: transform .25s var(--ease); }
a.area:hover { transform: translateY(-3px); }
a.area .area__title, div.area .area__title { font: 800 1.5rem/1.1 var(--f-display); text-transform: uppercase; }
.job-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.job { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 150px; padding: 22px; background: var(--red); color: #fff; text-decoration: none; transition: background .25s; }
.job:hover { background: var(--red-deep); }
.job__title { font: 800 1.6rem/1.1 var(--f-display); text-transform: uppercase; }
.job__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.job__go .icon { width: 16px; height: 16px; }
.yt { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000 linear-gradient(135deg, #1a1a1e, #050506); border: 1px solid var(--line); }
.yt__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease), opacity .3s; opacity: .92; }
.yt:hover .yt__img { transform: scale(1.02); opacity: 1; }
.yt__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); filter: drop-shadow(0 4px 14px rgba(0,0,0,.5)); }
.yt__play svg { width: 84px; height: auto; display: block; }
.yt__bg { fill: #212121; fill-opacity: .85; transition: fill .2s, fill-opacity .2s; }
.yt:hover .yt__bg, .yt:focus-visible .yt__bg { fill: #f00; fill-opacity: 1; }
.yt__note { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-size: .85rem; text-align: right; }
.video-link { display: flex; align-items: center; gap: 18px; padding: 22px; border: 1px solid var(--line-strong); color: inherit; text-decoration: none; }
.video-link:hover { border-color: var(--red); }
.video-link__play { display: grid; place-items: center; width: 56px; height: 56px; flex: none; background: var(--red); color: #fff; }
.video-link__play .icon { width: 22px; height: 22px; }
.video-link small { display: block; color: var(--mute); font-size: .82rem; margin-top: 2px; }
.contact__card address + address { margin-top: 14px; }

/* ---------- Checkout (Blocks) mit Germanized, 06.10.2026 ---------- */
.wc-blocks .wc-block-components-order-summary,
.wc-blocks .wc-block-components-order-summary.is-large { background: transparent !important; color: var(--ink) !important; }
.wc-blocks .wc-block-components-order-summary-item__quantity { background: var(--card-2) !important; color: var(--ink) !important; border-color: var(--line-strong) !important; box-shadow: none !important; }
.wc-blocks .wc-block-components-order-summary-item__image img { background: var(--card-2); }
.wc-blocks .wc-block-components-order-summary-item__description,
.wc-blocks .wc-block-components-order-summary-item__total-price,
.wc-blocks .wc-block-components-product-price { color: var(--ink) !important; }
.wc-blocks .wc-block-components-radio-control__label { color: var(--ink); }
/* EU-Hinweis gesetzliche Gewährleistung (Germanized): Größe bleibt wie von Germanized vorgegeben (mind. 250 px), nur eingepasst */
.wc-blocks .wc-gzd-block-checkout__legal-guarantee { margin: 8px 0 20px; }
.site-footer__bottom .wc-gzd-legal-guarantee { flex-basis: 100%; margin: 18px 0 0; text-align: left; }
.wc-gzd-legal-guarantee img { border-radius: 4px; }
.wc-gzd-popover img { max-width: 100%; height: auto; }

.cart-empty-link { margin: 18px 0 0; }
.wc-block-cart__main .cart-empty-link { margin: 14px 0 0; text-align: right; }

/* Versand „Preis berechnen wir“ (inc/angebot.php): kein „Kostenlos“, sondern „wird berechnet“ */
.wc-block-components-radio-control__input[value$=":anfrage"] ~ .wc-block-components-radio-control__option-layout .wc-block-components-radio-control__secondary-label,
.wc-block-components-radio-control__input[value$=":anfrage"] ~ .wc-block-components-radio-control__option-layout .wc-block-formatted-money-amount { display: none; }
.prior-versand-anfrage .wc-block-components-totals-shipping .wc-block-components-totals-item__value { font-size: 0; }
.prior-versand-anfrage .wc-block-components-totals-shipping .wc-block-components-totals-item__value::after { content: "folgt im Angebot"; font-size: .95rem; font-weight: 600; }
html[lang="en"] .prior-versand-anfrage .wc-block-components-totals-shipping .wc-block-components-totals-item__value::after { content: "to follow in the quote"; }
.prior-versand-anfrage .wc-block-components-totals-footer-item .wc-block-components-totals-item__label::after { content: " zzgl. Versand"; font-weight: 400; font-size: .85em; color: var(--mute); }
html[lang="en"] .prior-versand-anfrage .wc-block-components-totals-footer-item .wc-block-components-totals-item__label::after { content: " plus shipping"; }
.prior-versand-anfrage .wc-block-components-totals-footer-item { flex-wrap: wrap; }
.prior-versand-anfrage .wc-block-components-totals-footer-item::after { content: "Die Preise der Teile stehen fest. Den Versand berechnen wir für diese Lieferung individuell – Sie erhalten ein Angebot mit Gesamtpreis inkl. Versand und zahlen erst, wenn Sie es annehmen."; flex-basis: 100%; margin-top: 10px; padding: 10px 12px; border-left: 3px solid var(--red); background: var(--card-2); color: var(--ink); font-size: .85rem; font-weight: 400; line-height: 1.45; }
html[lang="en"] .prior-versand-anfrage .wc-block-components-totals-footer-item::after { content: "The prices of the parts are fixed. We calculate shipping individually for this delivery – you will receive a quote with the total price incl. shipping and only pay once you accept it."; }
/* Kasse: lange Bestellübersicht (viele Teile) scrollt in sich, damit der Bestell-Knopf nicht tausende Pixel tiefer steht */
.wc-block-checkout__sidebar .wc-block-components-order-summary { max-height: min(460px, 55vh); overflow-y: auto; overscroll-behavior: contain; padding-right: 8px; }
/* PayPal-Logo neben der Zahlart (wie die Kartenlogos) */
#radio-control-wc-payment-method-options-ppcp-gateway__label { display: flex; align-items: center; width: 100%; }
#radio-control-wc-payment-method-options-ppcp-gateway__label .wc-block-components-payment-method-icons { margin-left: auto; }
#radio-control-wc-payment-method-options-ppcp-gateway__label .wc-block-components-payment-method-icons::after { content: ""; display: inline-block; width: 38px; height: 24px; background: url("/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-settings/assets/images/icon-button-paypal.svg") no-repeat center / contain; }
.prior-anfrage-info { margin: 0; color: var(--mute); font-size: .92rem; }
.prior-anfrage-info p { margin: 0 0 .5em; }
.prior-anfrage-info .prior-anfrage-sum { color: var(--ink); }

/* Cookie-Einwilligung (inc/consent.php) */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; padding: 0 var(--gutter) calc(16px + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
.consent[hidden] { display: none; }
.consent__inner { pointer-events: auto; max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 8px 28px; align-items: center; padding: 20px 24px; background: var(--card-2); border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8); color: var(--ink); }
.consent__title { grid-column: 1; margin: 0; font: 700 1.05rem/1.2 var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
.consent__text { grid-column: 1; margin: 0; font-size: .88rem; line-height: 1.5; color: var(--mute); }
.consent__text a { color: var(--red-text); }
.consent__actions { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 10px; }
.consent__actions .btn { white-space: nowrap; }
@media (max-width: 760px) {
	.consent__inner { grid-template-columns: 1fr; padding: 16px; }
	.consent__actions { grid-column: 1; grid-row: auto; }
	.consent__actions .btn { flex: 1; justify-content: center; padding-left: 10px; padding-right: 10px; }
}

/* ==========================================================================
   Bestätigungsseite nach der Bestellung (woocommerce/checkout/thankyou.php)
   ========================================================================== */
.thanks { display: grid; gap: 28px; max-width: 980px; }
.thanks__hero { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: 28px; background: var(--stone); border: 1px solid var(--line); border-left: 4px solid var(--ok); }
.thanks__hero--failed { grid-template-columns: 1fr; border-left-color: var(--red); }
.thanks__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #0a0a0c; }
.thanks__icon .icon { width: 26px; height: 26px; stroke-width: 2.6; }
.thanks__eyebrow { margin: 0 0 6px; color: var(--mute); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.thanks__title { margin: 0 0 10px; font: 800 clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem)/1.05 var(--f-display); text-transform: uppercase; }
.thanks__lead { margin: 0; color: var(--ink); max-width: 62ch; line-height: 1.55; }
.thanks__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); }
.thanks__facts > div { padding: 16px 18px; background: var(--card); }
.thanks__facts dt { margin: 0 0 4px; color: var(--mute); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.thanks__facts dd { margin: 0; font-weight: 700; font-size: 1.05rem; }
.thanks__facts dd small { font-weight: 400; color: var(--mute); }
.thanks__h, .thanks .woocommerce-order-details__title, .thanks .woocommerce-column__title, .thanks .wc-bacs-bank-details-heading, .thanks h2:not(.thanks__title) { margin: 0 0 14px; font: 800 1.3rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.thanks__steps ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.thanks__steps li { position: relative; padding: 18px 18px 18px 58px; background: var(--card); border: 1px solid var(--line); counter-increment: s; }
.thanks__steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: .9rem; }
.thanks__steps strong { display: block; margin-bottom: 4px; }
.thanks__steps span { color: var(--mute); font-size: .92rem; line-height: 1.5; }
.thanks__company { padding: 14px 18px; background: var(--card); border: 1px dashed var(--line-strong); }
.thanks__company summary { cursor: pointer; font-weight: 600; }
.thanks__company-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.thanks__company-form label { flex-basis: 100%; color: var(--mute); font-size: .85rem; }
.thanks__company-form input[type="text"] { flex: 1 1 260px; min-height: 46px; padding: 0 12px; background: var(--card-2); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.thanks__company-form small { flex-basis: 100%; color: var(--mute); }
.thanks__saved { display: flex; gap: 10px; align-items: center; margin: 0; padding: 12px 16px; background: var(--card); border-left: 3px solid var(--ok); }
.thanks__saved .icon { width: 18px; height: 18px; color: var(--ok); }
.thanks__details { display: grid; gap: 28px; }
.thanks__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
/* Bestelldetails, Adressen und Bankdaten auf dunklem Grund (vorher weiße Tabelle mit weißer Schrift) */
.thanks table.shop_table, .thanks .woocommerce-table { width: 100%; border-collapse: collapse; background: var(--card) !important; color: var(--ink) !important; border: 1px solid var(--line); }
.thanks table.shop_table th, .thanks table.shop_table td { padding: 12px 16px; background: transparent !important; color: var(--ink) !important; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.thanks table.shop_table thead th { color: var(--mute) !important; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.thanks table.shop_table .product-total, .thanks table.shop_table tfoot td { text-align: right; white-space: nowrap; }
.thanks table.shop_table tfoot th { font-weight: 600; }
.thanks table.shop_table tfoot tr:last-child th, .thanks table.shop_table tfoot tr:last-child td { font-size: 1.1rem; font-weight: 800; border-bottom: 0; }
.thanks table.shop_table a { color: var(--ink); text-decoration: none; }
.thanks table.shop_table .wc-item-meta, .thanks table.shop_table small, .thanks .includes_tax { color: var(--mute); font-size: .85rem; }
.thanks .wc-item-meta { margin: 6px 0 0; padding: 0; list-style: none; }
.thanks .wc-item-meta p { display: inline; margin: 0; }
.thanks .woocommerce-customer-details .woocommerce-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.thanks .woocommerce-customer-details .col2-set::before, .thanks .woocommerce-customer-details .col2-set::after { display: none; }
.thanks .woocommerce-customer-details .woocommerce-column { float: none; width: auto; padding: 18px; background: var(--card); border: 1px solid var(--line); }
.thanks .woocommerce-customer-details address { margin: 0; padding: 0; border: 0; font-style: normal; line-height: 1.6; color: var(--ink); background: transparent; }
.thanks .woocommerce-customer-details address p { margin: 6px 0 0; color: var(--mute); }
.thanks .woocommerce-bacs-bank-details ul, .thanks .wc-bacs-bank-details { display: grid; gap: 4px; margin: 0; padding: 18px; list-style: none; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--red); }
.thanks .wc-bacs-bank-details li { margin: 0; color: var(--mute); }
.thanks .wc-bacs-bank-details li strong { color: var(--ink); }
.thanks .woocommerce-notice, .thanks .woocommerce-thankyou-order-received, .thanks .woocommerce-order-overview { display: none; } /* ersetzt durch Kopf und Kennzahlen oben */
.thanks .wc-payment-gateway-method-logo-wrapper img { max-height: 22px; background: #fff; padding: 2px 4px; border-radius: 3px; }
@media (max-width: 640px) {
	.thanks__hero { grid-template-columns: 1fr; padding: 20px; }
	.thanks table.shop_table th, .thanks table.shop_table td { padding: 10px 12px; }
}

/* Ausklappbare Abschnitte (mobil), 0.6.18 */
.fold > summary { list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: default; }
.fold--plain .fold__head .h-sub { margin: 0; }
.fold--plain { margin-top: 1.8em; }
.product-details > .fold--plain { margin-top: 0; }
.fold--plain .fold__body { margin-top: .6em; }
.fold__chev { display: none; flex: 0 0 auto; width: 10px; height: 10px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .2s; }
@media (max-width: 760px) {
	.fold__head { cursor: pointer; min-height: 44px; }
	.fold__chev { display: block; }
	.fold[open] .fold__chev { transform: rotate(-135deg); margin-top: 4px; }
	.compat.fold { padding-top: 10px; padding-bottom: 10px; }
	.compat.fold[open] { padding-bottom: 20px; }
	.compat.fold .compat__title { margin-top: 4px; }
	/* mobil wie die Kästen „Hinweis zur Fahrzeugkompatibilität“ und „Zulassung / TÜV“ */
	.fold--plain { margin: 28px 0; padding: 10px 24px; background: var(--deep); border: 1px solid var(--line-strong); border-left: 4px solid var(--red); }
	.product-details > .fold--plain { margin: 0; }
	.fold--plain[open] { padding-bottom: 20px; }
	.fold--plain .fold__head .h-sub { display: inline-flex; align-items: center; gap: .5em; font: 600 .78rem/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
	.fold--plain .fold__head .h-sub::before { content: ""; width: 22px; height: 2px; background: var(--red); }
	.fold--plain .fold__body { color: var(--ink); }
	.fold--plain .fold__body p:last-child { margin-bottom: 0; }
}

/* Hero mobil: Querformat-Bild komplett über dem Text (hero--fit), 0.6.22 */
@media (max-width: 760px) {
	.hero--fit { display: block; min-height: 0; }
	.hero--fit .hero__slides { position: relative; inset: auto; z-index: 0; aspect-ratio: var(--hero-ratio, 16 / 9); }
	.hero--fit .hero__slides::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(0deg, var(--black) 0%, rgba(10, 10, 11, 0) 100%); }
	.hero--fit .hero__shade { display: none; }
	.hero--fit .hero__content { padding-block: 8px 40px; }
}

/* Startseite mobil: freigestellte Querformat-Bilder weniger stark beschnitten (150 % Breite statt „cover“), 0.6.23 */
@media (max-width: 760px) {
	.hero--home .hero__slide img { position: absolute; top: 70px; left: 50%; width: 150%; height: auto; max-width: none; transform: translateX(-50%); object-fit: fill; }
	.hero--home .hero__slide.is-active img { animation: none; }
}

/* Sonderrabatt: Streichpreis und Hinweis, 0.7.4 */
.sale-badge { display: inline-block; padding: 5px 10px; background: var(--red); color: #fff; font: 700 .72rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.sale-badge--hero { display: table; margin-top: 8px; }
.sale-badge--box { margin-bottom: 10px; }
.sale-badge--product { margin-bottom: 8px; }
.kit-card__media { position: relative; }
.sale-badge--card { position: absolute; top: 12px; left: 12px; z-index: 1; }
del .amount, del .woocommerce-Price-amount, del { opacity: .55; font-weight: 500; text-decoration-thickness: 2px; text-decoration-color: var(--red); }
ins { text-decoration: none; }
.kit-box__price del { display: block; font-size: .55em; margin-bottom: 4px; }
.hero__facts dd del { font-size: .7em; margin-right: 6px; }
.kit-card__price del { margin-right: 4px; }

/* Cookie-Banner: Desktop übersichtlicher (Text oben über volle Breite, darunter Auswahl links und Knöpfe rechts), 0.7.5 */
.consent__inner { grid-template-columns: 1fr auto; gap: 10px 24px; max-width: 900px; }
.consent__title, .consent__text { grid-column: 1 / -1; }
.consent__text { max-width: 78ch; }
.consent .consent__opts { grid-column: 1; grid-row: auto; margin: 6px 0 0; }
.consent .consent__actions { grid-column: 2; grid-row: auto; margin-top: 6px; flex-wrap: nowrap; justify-content: flex-end; }
@media (max-width: 860px) {
	.consent__inner { grid-template-columns: 1fr; }
	.consent .consent__opts, .consent .consent__actions { grid-column: 1; }
	.consent .consent__actions { flex-wrap: wrap; }
}
@media (max-width: 760px) {
	.consent__inner { max-height: calc(100vh - 32px); overflow-y: auto; }
	.consent__text { font-size: .82rem; }
	.consent .consent__actions .btn { flex: 1 1 100%; padding-block: 12px; }
}

/* ==========================================================================
   0.7.7 – leerer Warenkorb, Sicherheit/SEO-Feinschliff
   ========================================================================== */
.wp-block-woocommerce-empty-cart-block { max-width: 560px; margin: 24px auto 56px; text-align: center; }
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title { font: 800 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--f-display); text-transform: uppercase; }
.wp-block-woocommerce-empty-cart-block .with-empty-cart-icon::before { background-color: var(--stone); }
.wp-block-woocommerce-empty-cart-block p { color: var(--mute); margin: 12px 0 24px; }
.wp-block-woocommerce-empty-cart-block .wp-block-button__link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 24px; background: var(--red); color: #fff; font: 700 .85rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-radius: 0; }
.wp-block-woocommerce-empty-cart-block .wp-block-button__link:hover { background: #c20511; }
