:root {
  color-scheme: dark;
  --bg: #101113;
  --bg2: #191b1e;
  --bg3: #22252a;
  --bg4: #2a2e34;
  --red: #ff6670;
  --red2: #c90020;
  --text: #f5f4f2;
  --muted: #bec1c8;
  --border: #41454d;
  --green: #83dfac;
  --radius: .65rem;
  --space: clamp(1.2rem, 3vw, 2rem);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); line-height: 1.55; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid #ff929a; outline-offset: 4px; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
h1, h2, h3, p { margin: 0 0 .65rem; }
h1, h2, h3 { line-height: 1.12; }
h1 { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.05em; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.35rem, 3vw, 2.15rem); letter-spacing: -.03em; }
h3 { font-size: 1.12rem; }
small, .muted, .page-hdr p { color: var(--muted); }
ul { padding-inline-start: 1.4rem; }
code, .mono { font-family: ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.wrap { width: min(100% - 2rem, 78rem); margin-inline: auto; }
.page { flex: 1; padding-block: clamp(1.5rem, 4vw, 3.25rem); }
.page-hdr { margin-bottom: var(--space); }
.stack > * + * { margin-top: 1rem; }
.section { margin-top: clamp(2.5rem, 7vw, 5.5rem); }
.section-title { margin-bottom: 1.1rem; }
.narrow { max-width: 43rem; margin-inline: auto; }
.cluster, .header-actions, .footer-row, .search-bar, .crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; }
.spread, .footer-row { justify-content: space-between; }
.site-header { border-bottom: 1px solid var(--border); background: var(--bg2); }
.header-top, .header-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-top { min-height: 4.5rem; }
.header-nav { padding-block: .6rem 1rem; }
.wordmark { color: var(--text); text-decoration: none; font-weight: 850; font-size: clamp(1.05rem, 3vw, 1.55rem); letter-spacing: -.055em; }
.wordmark span { color: var(--red); }
.nav-links { display: flex; gap: clamp(.65rem, 1.4vw, 1.4rem); align-items: center; flex-wrap: wrap; }
.nav-links a { text-decoration: none; font-weight: 650; }
[aria-current="page"], .price-strip [aria-current="true"] { color: var(--red); text-decoration: underline; }
.price-strip { background: var(--bg); border-bottom: 1px solid var(--border); color: var(--muted); font-size: .82rem; }
.price-strip .wrap { display: flex; justify-content: end; gap: 1rem; flex-wrap: wrap; padding-block: .5rem; }
.site-footer { padding-block: 1.75rem; background: var(--bg2); border-top: 1px solid var(--border); color: var(--muted); }
.footer-row + .footer-row { margin-top: .8rem; }
.drawer-toggle { display: none !important; }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { z-index: 20; clip-path: none; width: auto; height: auto; padding: .6rem; background: var(--bg2); }
.cookie-banner { position: fixed; z-index: 15; inset: auto 0 0; border-top: 1px solid var(--border); padding: 1rem max(1rem, (100vw - 78rem) / 2); background: var(--bg2); box-shadow: 0 -12px 40px #0007; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .7rem; }
.cookie-banner p { margin: 0; }
.btn { min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .55rem 1rem; border: 1px solid transparent; border-radius: .4rem; text-decoration: none; font-weight: 700; line-height: 1.2; text-align: center; }
.btn-primary { background: var(--red2); color: white; }
.btn-primary:hover { background: #e01231; color: white; }
.btn-ghost { background: var(--bg2); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--bg4); color: var(--text); }
.btn-sm { padding: .4rem .65rem; font-size: .85rem; min-height: 2.4rem; }
.btn:disabled { opacity: .55; cursor: default; }
.badge { display: inline-block; padding: .13rem .5rem; border: 1px solid var(--border); background: var(--bg3); border-radius: 2rem; font-size: .78rem; font-weight: 650; }
.badge-red, .alert-error { color: #ffb4ba; border-color: #9c3d4a; background: #351c23; }
.badge-green, .alert-success { color: var(--green); border-color: #417859; background: #192e24; }
.alert-warning { color: #ffdf97; border-color: #80683c; background: #33291b; }
.alert { border-width: 1px; border-style: solid; padding: .8rem 1rem; border-radius: .4rem; margin-bottom: 1rem; }
.alert:not(.alert-success, .alert-error, .alert-warning) { border-color: var(--border); }
.alert ul { margin-block: 0; }
fieldset:has(input[name=kundentyp][value=privat]:checked) + [data-company-fields], .field-status:empty { display: none; }
.field-status { margin-top: .5rem; }
.maintenance { text-align: center; }
.maintenance svg { width: 3rem; margin: 0 auto 1rem; color: var(--red); }
.maintenance strong { color: var(--red); }
.panel, .tile, .product-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg2); min-width: 0; }
.panel, .tile { padding: var(--space); }
a.tile { text-decoration: none; display: block; }
a.tile.cluster { display: flex; }
a.tile:hover, .product-card:hover { border-color: var(--red); }
.form-group { margin-bottom: 1rem; min-width: 0; }
.form-label { display: block; font-weight: 650; margin-bottom: .3rem; }
.form-input { background: var(--bg); border: 1px solid var(--border); color: var(--text); border-radius: .4rem; min-height: 2.75rem; width: 100%; min-width: 0; padding: .55rem .7rem; }
.form-input::placeholder { color: var(--muted); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 0 1rem; }
.form-check, .choice { display: flex; align-items: flex-start; gap: .65rem; }
input[type=checkbox], input[type=radio] { accent-color: var(--red2); flex: 0 0 auto; margin: .28rem 0 0; width: 1.1rem; height: 1.1rem; }
fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
legend { font-weight: 750; margin-bottom: .65rem; }
.search-bar { flex-wrap: nowrap; gap: .45rem; }
.search-small { flex: 1 1 13rem; max-width: 23rem; }
.search-panel { margin-block: var(--space); }
.search-panel .search-bar { max-width: 52rem; }
.hero { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); min-height: clamp(24rem, 46vw, 35rem); display: grid; align-items: end; background: #18181b url('/img/dimsport/mygenius-einsatz.webp') center 53% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0d0e10 0%, #0d0e10df 31%, #0d0e1044 74%), linear-gradient(0deg, #0d0e10b0, transparent 75%); }
.hero-copy { padding: clamp(1.4rem, 6vw, 4.5rem); max-width: 43rem; }
.hero-copy p { max-width: 32rem; margin-bottom: 1.25rem; }
.hero h1 { font-size: clamp(2.6rem, 7.5vw, 6rem); }
.grid { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.vehicle-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)); }
.vehicle-grid .tile { padding: 1rem; }
.vehicle-icon { width: 2.25rem; height: 2.25rem; margin-bottom: .6rem; color: var(--red); }
.product-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.pro-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-picture { background: #e4e4e4; color: #434a51; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; }
.product-picture img { width: 100%; height: 100%; object-fit: contain; }
.product-picture svg { width: 24%; }
.product-copy { padding: 1rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.product-copy h3 { margin: 0; }
.product-copy form { margin-top: auto; }
.price { font-size: 1.35rem; font-weight: 780; font-variant-numeric: tabular-nums; }
.tax-note { display: block; font-size: .8rem; }
.partner img { width: 10rem; height: 2.6rem; object-fit: contain; object-position: left center; margin-bottom: 1rem; background: #fff; padding: .35rem; border-radius: .25rem; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg2); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .7rem 1rem; text-align: left; }
th { color: var(--muted); background: var(--bg3); }
tbody tr + tr { border-top: 1px solid var(--border); }
tbody tr:hover { background: var(--bg3); }
.split { display: grid; gap: var(--space); }
.purchase { align-self: start; }
.summary-lines { padding: 0; margin: .8rem 0; list-style: none; }
.summary-line, .total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: .45rem; overflow-wrap: anywhere; }
.summary-line > :last-child, .total > :last-child { flex-shrink: 0; }
.total { border-top: 1px solid var(--border); margin-top: .7rem; padding-top: .8rem; font-weight: 750; }
.choice { padding: .65rem .75rem; border: 1px solid var(--border); border-radius: .4rem; margin-bottom: .5rem; background: var(--bg); }
.choice:has(input:checked) { border-color: var(--red); }
.choice img { width: 3.5rem; border-radius: .25rem; }
.choice-content { flex: 1; min-width: 0; }
.choice-content small { display: block; }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: .75rem; margin-bottom: 1.5rem; }
.specs dt { font-size: .85rem; color: var(--muted); }
.specs dd { margin: 0; font-weight: 650; }
.pagination { display: flex; list-style: none; gap: .35rem; padding: 0; flex-wrap: wrap; }
.qty { max-width: 6rem; }
.description { white-space: pre-line; }
.error-page { display: grid; min-height: 100vh; place-items: center; }
.error-page main { width: min(100% - 2rem, 38rem); }
@media (min-width: 56rem) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(18rem, .68fr); }
  .purchase { position: sticky; top: 1rem; }
}
@media (max-width: 64rem) {
  .drawer-toggle { display: inline-flex !important; }
  .header-nav { display: none; border-top: 1px solid var(--border); padding-top: 1rem; }
  .header-nav.is-open { display: grid; justify-content: stretch; }
  .header-nav .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-nav .nav-links a { padding-block: .35rem; }
  .header-nav .search-small { max-width: none; }
}
@media (max-width: 32rem) {
  .header-top { flex-wrap: wrap; padding-block: .65rem; min-height: auto; gap: .5rem; }
  .header-actions { gap: .35rem; }
  .hero { background-image: url('/img/dimsport/mygenius-einsatz-800.webp'); background-position: 63% center; }
  .hero::before { background: linear-gradient(0deg, #0d0e10 0%, #0d0e10ce 38%, #0d0e1033 100%); }
}

/* === Startseite unten, Fusszeile (v2) === */
.home-section-title {
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.tool-stage {
  display: grid;
  gap: .25rem;
  border-radius: var(--radius);
  overflow: clip;
}
.tool-stage-panel {
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  min-height: clamp(17rem, 33vw, 25rem);
  background: var(--bg2);
}
.tool-stage-panel img, .tool-stage-panel::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.tool-stage-panel img { object-fit: cover; z-index: -2; }
.tool-stage-panel::before {
  content: "";
  z-index: -1;
  background: linear-gradient(0deg, #101113 0%, #101113e8 23%, #10111300 76%);
}
.tool-stage-copy { padding: clamp(1.25rem, 3vw, 2.25rem); }
.tool-stage-copy h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: .85rem; }
.tool-strip {
  display: grid;
  margin: 0;
  padding: .55rem 0 0;
  list-style: none;
  border-bottom: 1px solid var(--border);
}
.tool-strip li { min-width: 0; border-top: 1px solid var(--border); }
.tool-strip a {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
  height: 100%;
  padding: .85rem .5rem;
  text-decoration: none;
}
.tool-strip img {
  width: 100%;
  height: 4.5rem;
  object-fit: contain;
  background: #e4e4e4;
  border-radius: .25rem;
}
.tool-strip a:hover strong, .partner-banner:hover h3 { text-decoration: underline; }
.tool-catalog-link { display: inline-block; margin-top: .9rem; font-weight: 700; }
.mygenius-steps {
  --step-line: 3.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.mygenius-steps::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 calc(var(--step-line) / 2);
  border-left: 1px solid var(--border);
}
.mygenius-steps li {
  display: grid;
  grid-template-columns: var(--step-line) minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  padding-bottom: 1.5rem;
}
.mygenius-steps li:last-child { padding-bottom: 0; }
.mygenius-step-number {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--step-line);
  height: var(--step-line);
  background: var(--bg);
  color: var(--red);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.mygenius-steps p, .partner-banner p { margin-bottom: 0; }
.partner-banners { border-top: 1px solid var(--border); }
.partner-banner {
  display: grid;
  align-items: center;
  gap: .8rem clamp(1rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--border);
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--bg2);
  text-decoration: none;
}
.partner-banner:hover { background: var(--bg3); }
.partner-banner img { width: 10rem; height: 3.25rem; object-fit: contain; object-position: left center; }
.partner-banner h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); margin-bottom: .35rem; }
.partner-banner span { color: var(--red); font-weight: 700; }
.shop-footer { padding-block: clamp(1.75rem, 5vw, 3.5rem) 1.25rem; }
.shop-footer-columns { display: grid; gap: 1.6rem; }
.shop-footer-columns h2 { color: var(--text); font-size: 1rem; letter-spacing: normal; }
.shop-footer-columns ul { list-style: none; margin: 0; padding: 0; }
.shop-footer-columns li + li { margin-top: .3rem; }
.shop-footer-columns p { margin: .45rem 0 0; }
.shop-footer-meta {
  margin-top: 1.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  font-size: .85rem;
}
.shop-footer-meta small { flex-basis: 100%; font-size: inherit; }
@media (min-width: 38rem) {
  .tool-strip, .shop-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-banner { grid-template-columns: 10rem minmax(0, 1fr) max-content; }
}
@media (min-width: 56rem) {
  .tool-stage { grid-template-columns: 1fr 1fr; }
  .tool-strip { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
  .tool-strip li + li { border-left: 1px solid var(--border); }
  .mygenius-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
  .mygenius-steps::before {
    inset: calc(var(--step-line) / 2) 0 auto 0;
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .mygenius-steps li { display: block; padding-bottom: 0; }
  .mygenius-step-number { margin-bottom: .75rem; }
  .shop-footer-columns { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
}

.partner-wordmark { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.partner-banner .partner-wordmark { color: var(--text); }
.partner-banner .partner-wordmark > span { color: var(--red); }
.product-picture { position: relative; }
.symbol-note { position: absolute; right: .5rem; bottom: .5rem; font-size: .68rem; line-height: 1; padding: .25rem .45rem; border-radius: .25rem; background: rgba(0,0,0,.65); color: #d7dbe0; letter-spacing: .02em; }

/* ===== 02.12.2026 motor-tuner-Stil (tuning-tool.com): schwarz, #990000 / #e30000, Oswald + Open Sans ===== */
:root {
  --bg: #000; --bg2: #0d0d0d; --bg3: #1a1a1a; --bg4: #262626;
  --red: #ff2b2b; --red2: #990000; --text: #e6e6e6; --muted: #a3a3a3; --border: #2e2e2e;
  --radius: .15rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
body { font-size: 15px; line-height: 1.7; }
h1, h2, h3, .wordmark, .nav-links a, .btn, .site-footer h2, .home-section-title, .badge {
  font-family: 'Oswald', Arial, sans-serif; text-transform: uppercase; letter-spacing: .04em;
}
h1, h2, h3 { color: #fff; font-weight: 600; line-height: 1.2; }
h1 { letter-spacing: .03em; } h2 { letter-spacing: .04em; }
.wordmark { font-weight: 700; letter-spacing: .05em; color: #fff; }
.wordmark span { color: #e30000; }
.marke { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.marke img { height: 44px; width: auto; }
.site-header { background: #000; border-bottom: 3px solid #990000; }
.nav-links a { font-weight: 600; font-size: .95rem; color: #ddd; }
.nav-links a:hover, a:hover { color: #e30000; }
[aria-current="page"] { color: #ff4a4a; }
.price-strip [aria-current="true"] { color: #ff4a4a; }
.btn { border-radius: 0; font-weight: 600; letter-spacing: .06em; }
.btn-primary { background: #990000; color: #fff; }
.btn-primary:hover { background: #e30000; color: #fff; }
.btn-ghost { background: #1a1a1a; border-color: #333; }
.btn-ghost:hover { background: #262626; border-color: #990000; }
.site-footer { background: #0d0d0d; border-top: 3px solid #990000; }
.partner-banner img { background: none; height: 4rem; }
.partner-banner span { color: #ff4a4a; }
:focus-visible { outline-color: #e30000; }
@media (max-width: 640px) { .marke img { height: 34px; } .marke .wordmark { font-size: 1rem; } }
.partner-wordmark { font-size: 1.05rem; white-space: normal; line-height: 1.25; }

/* ===== 02.12.2026 Live-Suche ===== */
.live-anker { position: relative; }
.live-treffer { position: absolute; z-index: 30; top: calc(100% + .3rem); left: 0; right: 0; min-width: min(22rem, 92vw); max-height: 70vh; overflow: auto;
  background: #0d0d0d; border: 1px solid #333; border-top: 2px solid #990000; box-shadow: 0 14px 40px #000c; }
.live-treffer a { display: block; padding: .55rem .8rem; text-decoration: none; border-bottom: 1px solid #1f1f1f; color: var(--text); }
.live-treffer a strong { display: block; font-size: .95rem; color: #fff; }
.live-treffer a small { color: var(--muted); font-size: .8rem; }
.live-treffer a:hover, .live-treffer a.ist-aktiv { background: #1a1a1a; color: var(--text); }
.live-treffer a:hover strong, .live-treffer a.ist-aktiv strong { color: #e30000; }
.live-treffer .live-alle { color: #e30000; font-weight: 600; border-bottom: 0; }
.live-treffer .live-leer { margin: 0; padding: .7rem .8rem; color: var(--muted); }
#artikel-treffer.laedt { opacity: .5; transition: opacity .15s; }

/* ===== 02.12.2026 Shop-Logo (Variante 2) ===== */
.marke img { height: 68px; width: auto; }
.header-top { min-height: 5.6rem; }
.site-footer .marke img { height: 84px; }
@media (max-width: 640px) { .marke img { height: 48px; } .header-top { min-height: 4.2rem; } }

/* ===== 02.12.2026 Rabatte ===== */
.rabatt-zeile { color: #83dfac; font-weight: 600; }
.gutschein-form .search-bar { max-width: 22rem; }

/* ===== 02.12.2026 Rabatt überall sichtbar ===== */
.preis-alt { color: var(--muted); font-weight: 400; font-size: .82em; text-decoration-thickness: 1px; }
.preis-neu { color: #fff; }
.badge-aktion { background: #990000; border-color: #990000; color: #fff; font-size: .72rem; letter-spacing: .03em; vertical-align: middle; white-space: nowrap; }
.aktion-streifen { background: #990000; color: #fff; font-family: 'Oswald', Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase; font-size: .9rem; }
.aktion-streifen .wrap { padding-block: .5rem; text-align: center; }
