/* simpleBAU – Entwurf. Farben und Abstände zentral als Variablen (WP: theme.json / style.css). */
:root {
  --ink: #17172a;
  --muted: #5b5b70;
  --line: #dcdbd3;
  --paper: #f4f3ee;
  --white: #fff;
  --indigo: #3f3d7f;      /* Streifen vom Etikett / Datenblatt */
  --indigo-2: #6a6bb5;
  --indigo-dark: #2a2959;
  --signal: #d8f24a;
  --sale: #b3261e;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --display: "Outfit", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--indigo-2); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.eyebrow { font: 500 13px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--indigo); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; margin-top: 10px; max-width: 18ch; }
.link-more { font-weight: 600; text-underline-offset: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border: 2px solid var(--indigo); border-radius: var(--radius); background: var(--indigo); color: #fff; font: 600 16px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--indigo-dark); border-color: var(--indigo-dark); }
.btn--ghost { background: transparent; color: var(--indigo); }
.btn--ghost:hover { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.btn--signal { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.btn--signal:hover { background: #fff; border-color: #fff; }
.btn[disabled] { background: var(--line); border-color: var(--line); color: var(--muted); cursor: not-allowed; }

/* Kopfbereich */
.topbar { background: var(--ink); color: #e9e9f2; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.topbar a { text-decoration: none; font-weight: 500; }
.topbar a:hover { text-decoration: underline; }
.topbar__hours { color: #b9b9cc; }

.header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.header__main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(16px, 3vw, 40px); padding-block: 14px; }
.logo { display: inline-flex; align-items: stretch; font: 800 29px/1 var(--display); letter-spacing: -.03em; text-decoration: none; color: var(--ink); }
.logo span { padding-block: 5px; }
.logo b { font-weight: 800; color: #fff; background: var(--indigo); padding: 5px 7px; margin-left: 3px; border-radius: 2px; }
form.search { display: flex; min-width: 0; max-width: 560px; width: 100%; justify-self: center; }
form.search input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); background: var(--paper); font: inherit; font-size: 16px; color: var(--ink); }
form.search button { height: 46px; padding: 0 18px; border: 0; border-radius: 0 var(--radius) var(--radius) 0; background: var(--indigo); color: #fff; font: 600 15px var(--body); cursor: pointer; }
.header__actions { display: flex; align-items: center; gap: 18px; font-weight: 600; font-size: 15px; }
.header__actions a { text-decoration: none; white-space: nowrap; }
.header__actions a:hover { color: var(--indigo); }
.cart-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; margin-left: 6px; padding-inline: 6px; border-radius: 12px; background: var(--signal); font: 500 13px var(--mono); }
.menu-toggle { display: none; height: 44px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: none; font: 600 15px var(--body); color: var(--ink); cursor: pointer; }

.nav { border-top: 1px solid var(--line); }
.nav ul { display: flex; justify-content: space-between; gap: 4px; }
.nav a { display: block; padding: 13px 4px; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--indigo); border-bottom-color: var(--indigo); }

/* Hero */
.hero { position: relative; background: var(--paper); overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: 2; inset: 0 auto 0 0; width: clamp(10px, 2.2vw, 34px); background: linear-gradient(90deg, var(--indigo) 50%, var(--indigo-2) 50%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: end; gap: clamp(24px, 4vw, 56px); padding-block: clamp(40px, 5vw, 72px) clamp(28px, 3.4vw, 48px); }
.hero h1 { font-size: clamp(2.8rem, 5.9vw, 4.6rem); font-weight: 800; margin-block: 14px 0; }
.hero h1 mark { background: linear-gradient(transparent 62%, var(--signal) 62%, var(--signal) 94%, transparent 94%); color: inherit; }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); max-width: 34em; color: #33334a; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__lineup { position: relative; z-index: 1; max-width: var(--wrap); margin-inline: auto; padding: 0 var(--gutter) clamp(14px, 2vw, 26px); }
.hero__lineup img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 16px rgba(23, 23, 42, .16)); }

.facts { background: var(--indigo-dark); color: #fff; border-top: 1px solid rgba(255,255,255,.14); }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 22px clamp(12px, 2vw, 26px); border-left: 1px solid rgba(255,255,255,.18); font-size: 15px; line-height: 1.35; color: #d5d5ec; }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font: 700 18px/1.2 var(--display); color: #fff; margin-bottom: 3px; }

/* Slider */
.hero-slider { position: relative; }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.hero-track:focus-visible { outline-offset: -3px; }
.hero-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-slide > .wrap { width: 100%; }
.hero--set { background: var(--indigo-dark); color: #fff; justify-content: center; }
.hero--set .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.hero--set .eyebrow { color: var(--signal); }
.hero--set h2 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 800; margin-block: 14px 18px; }
.hero--set em { font-style: normal; color: var(--signal); }
.hero--set .hero__lead { color: #dcdcf0; }
.hero__price { margin-top: 18px; }
.hero__price strong { font: 800 2rem/1 var(--display); letter-spacing: -.02em; }
.hero__price span { margin-left: 8px; font-size: 14px; color: #c3c3de; }
.hero--set .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero--set .btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.hero__set { display: flex; align-items: flex-end; justify-content: center; max-width: 560px; margin-inline: auto; }
.hero__set img:first-child { flex: 0 0 76%; width: 76%; min-width: 0; }
.hero__set img:last-child { flex: 0 0 38%; width: 38%; min-width: 0; margin-left: -14%; }
.hero-controls { position: relative; display: flex; align-items: center; justify-content: center; gap: 4px; padding-block: 6px; background: var(--paper); transition: background .25s; }
.hero-controls::before { content: ""; position: absolute; inset: 0 auto 0 0; width: clamp(10px, 2.2vw, 34px); background: linear-gradient(90deg, var(--indigo) 50%, var(--indigo-2) 50%); }
.hero-slider.on-dark .hero-controls { background: var(--indigo-dark); }
.hero-arrow { width: 44px; height: 44px; border: 0; background: none; color: var(--ink); font: 500 30px/1 var(--body); cursor: pointer; }
.hero-arrow:hover { color: var(--indigo); }
.hero-slider.on-dark .hero-arrow { color: #fff; }
.hero-slider.on-dark .hero-arrow:hover { color: var(--signal); }
.hero-dot { position: relative; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.hero-dot::after { content: ""; position: absolute; left: 8px; right: 8px; top: 20px; height: 4px; border-radius: 2px; background: rgba(23,23,42,.22); }
.hero-dot:hover::after { background: rgba(23,23,42,.5); }
.hero-dot.is-active::after { background: var(--indigo); }
.hero-slider.on-dark .hero-dot::after { background: rgba(255,255,255,.35); }
.hero-slider.on-dark .hero-dot:hover::after { background: rgba(255,255,255,.7); }
.hero-slider.on-dark .hero-dot.is-active::after { background: var(--signal); }

/* Kategorien */
.tasks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.task { position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 3.6; overflow: hidden; border-radius: var(--radius); background: var(--indigo-dark); color: #fff; text-decoration: none; }
.task img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.task::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,23,42,0) 22%, rgba(23,23,42,.94) 76%); }
.task:hover img { transform: scale(1.05); }
.task__text { position: relative; z-index: 1; padding: 16px; }
.task__text small { display: block; font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--signal); margin-bottom: 5px; }
.task__text strong { font: 700 clamp(1.1rem, 1.7vw, 1.4rem)/1.12 var(--display); }
.task__flag { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 3px 8px; background: var(--white); color: var(--ink); border-radius: 2px; font: 500 12px var(--mono); }

/* Produktkarten */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.card__img { display: block; aspect-ratio: 1; margin-bottom: 12px; }
.card__img img { width: 100%; height: 100%; object-fit: contain; }
.card__cat { font: 500 12px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 1.28rem; font-weight: 700; line-height: 1.12; margin-block: 5px 6px; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--indigo); }
.card__desc { font-size: 15px; line-height: 1.4; color: var(--muted); margin-bottom: 12px; }
.card__buy { margin-top: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip { min-width: 46px; min-height: 36px; padding: 7px 9px; border: 1.5px solid var(--line); border-radius: 3px; background: none; font: 500 13px/1.3 var(--mono); text-align: center; text-decoration: none; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--indigo); }
.chip.is-active { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.price { font: 800 1.65rem/1 var(--display); letter-spacing: -.02em; }
.price-note { display: block; font-size: 13px; line-height: 1.35; color: var(--muted); margin-block: 5px 12px; }
.card .btn { width: 100%; min-height: 46px; }
.card--out { background: #fbfaf7; }
.card--out .card__img { opacity: .55; }
.stock-out { color: var(--sale); font-weight: 600; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { min-height: 42px; padding: 8px 15px; border: 1.5px solid var(--line); border-radius: 21px; background: var(--white); font: 500 15px var(--body); color: var(--ink); cursor: pointer; }
.filter:hover { border-color: var(--indigo); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-title { padding-block: clamp(36px, 5vw, 60px) 0; }
.page-title h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; margin-top: 8px; }
.page-title p { margin-top: 10px; color: var(--muted); max-width: 44em; }

/* System-Block */
.system { background: var(--indigo); color: #fff; }
.system .eyebrow { color: var(--signal); }
.system__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.system h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; margin-block: 10px 30px; }
.steps { counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding-block: 18px; border-top: 1px solid rgba(255,255,255,.26); }
.steps li::before { content: counter(s); font: 800 2.5rem/1 var(--display); color: var(--signal); }
.steps strong { display: block; font: 700 1.25rem/1.2 var(--display); margin-bottom: 4px; }
.steps span { color: #e1e1f4; font-size: 16px; line-height: 1.45; }

.calc { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.calc h3 { font-size: 1.55rem; font-weight: 800; margin-block: 6px 16px; }
.calc .eyebrow { color: var(--indigo); }
.calc label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.calc__input { display: flex; align-items: center; border: 1.5px solid var(--ink); border-radius: var(--radius); }
.calc__input input { flex: 1; min-width: 0; height: 54px; padding: 0 14px; border: 0; background: none; font: 800 1.6rem var(--display); color: var(--ink); }
.calc__input span { padding-inline: 14px; font: 500 15px var(--mono); }
.calc__out { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.calc__row { display: flex; justify-content: space-between; gap: 16px; padding-block: 4px; font-size: 16px; }
.calc__row b { font-family: var(--mono); font-weight: 500; text-align: right; }
.calc__row--total { align-items: baseline; margin-top: 6px; font-weight: 600; }
.calc__row--total b { font: 800 1.5rem var(--display); }
.calc small { display: block; margin-block: 8px 16px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.calc .btn { width: 100%; }

/* Marke */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.about h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; margin-top: 10px; }
.about p + p { margin-top: 14px; }
.shops { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.shops a { padding: 11px 18px; border: 1.5px solid var(--ink); border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.shops a:hover { background: var(--ink); color: #fff; }

/* Produktseite */
.crumbs { padding-top: 20px; font-size: 14px; color: var(--muted); }
.crumbs a { text-underline-offset: 3px; }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); padding-block: 24px clamp(48px, 7vw, 80px); align-items: start; }
.product__media { position: sticky; top: 150px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(14px, 3vw, 36px); }
.product__media img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.product h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); font-weight: 800; margin-block: 8px 12px; }
.product__lead { font-size: 1.12rem; color: #33334a; }
.product__buy { margin-block: 24px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.product__buy .label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.product__buy .chip { min-width: 62px; min-height: 44px; font-size: 15px; padding-block: 10px; }
.product__buy .price { font-size: 2.5rem; }
.buy-row { display: grid; grid-template-columns: 92px 1fr; gap: 10px; }
.buy-row input { height: 52px; width: 100%; text-align: center; border: 1.5px solid var(--line); border-radius: var(--radius); font: 600 18px var(--body); color: var(--ink); background: none; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 18px; font-size: 16px; }
.checks li { position: relative; padding-left: 24px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid var(--indigo); border-bottom: 2.5px solid var(--indigo); transform: rotate(-45deg); }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.detail h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 18px; }
.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec th, .spec td { padding: 10px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec th { width: 52%; padding-right: 14px; font-weight: 500; color: var(--muted); }
.spec td { font: 500 15px/1.45 var(--mono); }
.detail .steps li { border-top-color: var(--line); }
.detail .steps li::before { color: var(--indigo); }
.detail .steps span { color: var(--muted); }
.hazard { margin-top: 26px; padding: 16px 18px; border-left: 4px solid var(--sale); background: var(--white); font-size: 15px; }
.hazard strong { display: block; margin-bottom: 4px; }
.doc-link { display: inline-block; margin-top: 18px; font-weight: 600; text-underline-offset: 4px; }

/* Ratgeber */
.guides-section { background: var(--white); }
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guide { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s; }
.guide:hover { border-color: var(--indigo); }
.guide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.guide__body { display: block; padding: 18px; }
.guide__body small { display: block; font: 500 12px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--indigo); margin-bottom: 7px; }
.guide__body strong { display: block; font: 700 1.4rem/1.14 var(--display); letter-spacing: -.02em; margin-bottom: 8px; }
.guide__body span { display: block; font-size: 16px; line-height: 1.45; color: var(--muted); }
.search-note { margin-bottom: 18px; font-weight: 600; }
.product__guides { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.product__guides .label { display: block; font: 500 13px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.product__guides a { font-weight: 600; text-underline-offset: 4px; }
.article__head { max-width: 860px; padding-block: 20px 32px; }
.article__head h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; margin-block: 10px 16px; }
.article__lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: #33334a; }
.article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 6vw, 80px); align-items: start; padding-bottom: clamp(48px, 7vw, 88px); }
.article__img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 8px; }
.article__text h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; margin-block: 34px 14px; }
.article__text .steps li { border-top-color: var(--line); }
.article__text .steps li::before { color: var(--indigo); }
.article__text .steps span { color: var(--muted); }
.checks--one { grid-template-columns: 1fr; }
.tip { margin-top: 24px; padding: 16px 18px; border-left: 4px solid var(--signal); background: var(--white); }
.article__source { margin-top: 28px; color: var(--muted); font-size: 15px; }
.article__aside { position: sticky; top: 150px; display: grid; gap: 12px; }
.article__aside h2 { font-size: 1.4rem; font-weight: 800; }
.article__aside .card__desc { display: none; }
.table-scroll { overflow-x: auto; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; background: var(--white); }
.compare th, .compare td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font: 500 13px var(--mono); background: var(--paper); }

/* Warenkorb und Kasse */
.cart-page { padding-block: clamp(32px, 5vw, 64px) clamp(56px, 8vw, 104px); }
.cart-page h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; margin-bottom: 24px; }
.cart-empty { padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.cart-empty p { margin-bottom: 18px; }
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(20px, 4vw, 48px); align-items: start; }
.cart-line { display: grid; grid-template-columns: 76px minmax(0, 1fr) 72px 96px auto; align-items: center; gap: 14px; padding: 12px; margin-bottom: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.cart-line__img img { width: 76px; height: 76px; object-fit: contain; }
.cart-line__name { display: block; font: 700 1.1rem/1.15 var(--display); text-decoration: none; }
.cart-line__info span { font-size: 14px; color: var(--muted); }
.cart-line__qty input { width: 64px; height: 42px; text-align: center; border: 1.5px solid var(--line); border-radius: var(--radius); font: 600 16px var(--body); color: var(--ink); background: none; }
.cart-line__sum { text-align: right; font-family: var(--display); }
.cart-line__rm { min-height: 40px; padding: 0 4px; border: 0; background: none; font: 500 14px var(--body); color: var(--muted); text-decoration: underline; cursor: pointer; }
.cart-line__rm:hover { color: var(--sale); }
.cart-lines .link-more { display: inline-block; margin-top: 12px; }
.summary { position: sticky; top: 150px; display: grid; gap: 6px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.summary h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.summary .btn { margin-top: 12px; width: 100%; }
.summary .link-more { justify-self: center; margin-top: 6px; font-size: 15px; }
.summary .calc__row b { white-space: nowrap; }
.demo-note { margin-top: 6px; font-size: 14px; color: var(--muted); text-align: center; }
.demo-banner { margin-bottom: 24px; padding: 14px 18px; border-left: 4px solid var(--sale); background: var(--white); }
.checkout h2 { font-size: 1.5rem; font-weight: 800; margin-block: 8px 14px; }
.checkout h2 + .pay-note { margin-bottom: 8px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.fields .full { grid-column: 1 / -1; }
.fields label { font-size: 15px; font-weight: 600; }
.fields input { display: block; width: 100%; height: 48px; margin-top: 5px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--radius); font: inherit; font-weight: 400; background: var(--white); color: var(--ink); }
.pay-note { padding: 16px; background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* Produktdetails */
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 14px; }
.thumb { padding: 2px; border: 1.5px solid var(--line); border-radius: 3px; background: var(--white); cursor: pointer; }
.thumb:hover, .thumb.is-active { border-color: var(--indigo); }
.thumb img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.delivery { margin-bottom: 12px; font-size: 14px; font-weight: 600; color: #2c6e3f; }
.rich-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(32px, 6vw, 80px); align-items: start; }
.rich-block h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; margin-bottom: 14px; }
.rich { font-size: 16px; line-height: 1.55; color: #33334a; overflow-wrap: anywhere; }
.rich p + p { margin-top: 10px; }
.rich ul, .rich ol { padding-left: 20px; list-style: disc; }
.rich li { margin-bottom: 4px; }
.rich h3, .rich h4 { margin-block: 16px 6px; font: 700 1.1rem var(--display); }
.rich table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rich td, .rich th { padding: 9px 8px 9px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.rich tr:first-child td, .rich tr:first-child th { border-top: 0; }
.rich td:nth-child(2) { font-family: var(--mono); font-size: 14px; }
.product__media .doc-link { display: block; }
.doc-link { display: block; margin-top: 10px; }
.rich-grid .hazard { grid-column: 1 / -1; margin-top: 0; }

/* Produktseite: Werkzeuge und Reiter */
.product__buy form { margin-bottom: 0; }
.pd-jump { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 15px; font-weight: 600; }
.pd-jump a { text-underline-offset: 4px; color: var(--indigo); }
.pd-tools { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: clamp(36px, 5vw, 64px); }
.pd-tools__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.pd-tools__grid--one { grid-template-columns: minmax(0, 620px); }
.pd-tools .calc { background: var(--paper); border: 1px solid var(--line); scroll-margin-top: 160px; }
.calc__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.calc__more { margin-top: 8px; }
.docs { scroll-margin-top: 160px; }
.docs h3 { font-size: 1.55rem; font-weight: 800; margin-block: 6px 16px; }
.doc { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px; margin-bottom: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s; }
.doc:hover { border-color: var(--indigo); }
.doc__type { display: grid; place-items: center; height: 42px; background: var(--indigo); color: #fff; border-radius: 3px; font: 500 13px var(--mono); }
.doc__type--sds { background: var(--ink); }
.doc__name { font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.doc__name small { display: block; margin-top: 3px; font-size: 14px; font-weight: 400; color: var(--muted); }
.doc__act { font-size: 15px; font-weight: 600; color: var(--indigo); text-decoration: underline; text-underline-offset: 4px; }
.pd-details { padding-block: clamp(40px, 6vw, 72px); }
.pd-tabs { max-width: 860px; }
.pd-tabs__nav { display: none; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; border-bottom: 2px solid var(--line); }
.pd-tabs.is-ready .pd-tabs__nav { display: flex; }
.pd-tab { padding: 12px 14px; margin-bottom: -2px; border: 0; border-bottom: 3px solid transparent; background: none; font: 600 16px var(--body); color: var(--muted); cursor: pointer; }
.pd-tab:hover { color: var(--ink); }
.pd-tab.is-active { color: var(--indigo); border-bottom-color: var(--indigo); }
.pd-panel h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; margin-block: 24px 12px; }
.pd-tabs.is-ready .pd-panel h2 { display: none; }
.pd-details .hazard { max-width: 860px; }
.rich td:first-child b, .rich td:first-child strong { font-weight: 600; }
.rich p { margin: 0; }

/* Fußbereich */
.footer { background: var(--ink); color: #d2d2e0; font-size: 16px; }
.footer .wrap { padding-block: clamp(44px, 6vw, 72px) 26px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer h3 { font: 500 13px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #9d9db4; margin-bottom: 12px; }
.footer li { margin-bottom: 7px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer address { font-style: normal; }
.footer__end { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); font-size: 14px; color: #9d9db4; }

/* Einwilligungs-Banner (inc/consent.php, assets/js/consent.js) – beide Buttons gleich gewichtet */
.sb-consent { position: fixed; z-index: 1000; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) var(--gutter); pointer-events: none; }
.sb-consent[hidden] { display: none; }
.sb-consent__inner { pointer-events: auto; max-width: 760px; margin: 0 auto; padding: 20px 22px; background: var(--white); color: var(--ink); border: 2px solid var(--indigo); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(23,23,42,.25); max-height: calc(100vh - 32px); overflow-y: auto; }
.sb-consent__title { font: 700 1.15rem/1.25 var(--display); margin: 0 0 8px; }
.sb-consent__text { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.sb-consent__text a { color: var(--indigo); }
.sb-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sb-consent__actions .btn { min-height: 48px; }
.sb-consent-open { display: inline; padding: 0; margin: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.sb-consent-open:hover { color: #fff; text-decoration: underline; }
@media (max-width: 420px) {
  .sb-consent { padding: 0 8px 8px; }
  .sb-consent__inner { padding: 16px; }
  .sb-consent__actions { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .guides { grid-template-columns: repeat(2, 1fr); }
  .article__grid { grid-template-columns: minmax(0, 1fr); }
  .article__aside { position: static; grid-template-columns: repeat(2, 1fr); }
  .article__aside h2 { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .header__main { grid-template-columns: auto 1fr auto auto; }
  .menu-toggle { display: block; }
  .nav { display: none; }
  .nav.is-open { display: block; }
  .nav ul { display: block; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .topbar__hours { display: none; }
  .header__main { grid-template-columns: 1fr auto auto; gap: 10px; }
  form.search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .header__actions a.account { display: none; }
  .hero .wrap, .system__grid, .about, .product, .detail { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { padding-left: calc(var(--gutter) + 12px); }
  .hero__set { max-width: 340px; }
  .hero__lineup { padding-right: 0; padding-left: calc(var(--gutter) + 12px); overflow: hidden; }
  .hero__lineup img { width: auto; max-width: none; height: clamp(220px, 58vw, 340px); }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { border-left: 0; padding: 16px 12px 16px 0; }
  .grid, .tasks { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product__media { position: static; }
  .rich-grid { grid-template-columns: minmax(0, 1fr); }
  .pd-tools__grid { grid-template-columns: minmax(0, 1fr); }
  .doc { grid-template-columns: 50px minmax(0, 1fr); }
  .doc__act { grid-column: 2; }
  .pd-tab { padding: 10px; font-size: 15px; }
  .thumbs { grid-template-columns: repeat(5, 1fr); }
  .cart-grid { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .cart-line { grid-template-columns: 60px minmax(0, 1fr) auto; }
  .cart-line__img img { width: 60px; height: 60px; }
  .cart-line__sum { grid-column: 3; grid-row: 1; }
  .cart-line__qty { grid-column: 2; grid-row: 2; }
  .cart-line > form:last-child { grid-column: 3; grid-row: 2; justify-self: end; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .guides { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 10px; }
  .card h3 { font-size: 1.1rem; }
  .card__desc { display: none; }
  .chip { min-width: 40px; padding-inline: 6px; font-size: 12px; }
  .price { font-size: 1.4rem; }
}
@media (max-width: 420px) {
  .checks { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .topbar a:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
