/* ==========================================================================
   Gebrüder Kraus Handelshaus — Online-Shop der Gebrüder Kraus GbR
   Visueller Stil orientiert an Sachtleben Technology, Akzentfarbe Blau.
   ========================================================================== */

:root {
  --blue:      #2563eb;
  --blue-2:    #3b82f6;
  --blue-3:    #1d4ed8;
  --blue-soft: #dbeafe;
  --dark:      #0f172a;
  --dark-2:    #0b1220;
  --dark-3:    #060a14;
  --cream:     #f5f7fb;
  --cream-2:   #e7eef8;
  --paper:     #ffffff;
  --ink:       #111827;
  --ink-2:     #374151;
  --ink-3:     #6b7280;
  --rule:      #e5e7eb;
  --green:     #16a34a;
  --red:       #dc2626;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Menlo', monospace;

  --radius: 10px;
  --section-px: clamp(20px, 5vw, 80px);
  --max-w: 1200px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============== Top Nav ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px var(--section-px);
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.nav__logo-mark {
  flex: none;
  width: 32px;
  height: 32px;
  display: block;
}
.nav__logo-text { line-height: 1.05; }
.nav__links {
  margin-left: auto;
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  align-items: center;
}
.nav__links a {
  color: var(--ink-2);
  padding: 6px 0;
  position: relative;
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active {
  color: var(--ink);
}
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -18px;
  height: 2px;
  background: var(--blue);
}
.nav__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.12s ease;
}
.nav__cart:hover { border-color: var(--blue); transform: translateY(-1px); }
.nav__cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}
.nav__cart-count[data-empty="true"] { background: var(--ink-3); }

/* ============== Sprachumschalter ============== */
.nav__lang {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 34px; padding: 0 10px;
  border: 1px solid var(--rule); border-radius: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-2);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav__lang:hover { border-color: var(--blue); color: var(--blue); }

/* ============== Mobile-Navigation (Hamburger + Off-Canvas-Drawer) ============== */
.nav__burger { display: none; }
.nav__backdrop { display: none; }
@media (max-width: 800px) {
  /* backdrop-filter macht .nav zum Containing-Block für position:fixed-Kinder
     → würde Drawer/Backdrop an der ~60px-Leiste statt am Viewport verankern.
     Auf Mobil deshalb aus, damit das Off-Canvas-Menü volle Höhe bekommt. */
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,0.97); }
  .nav__inner { gap: 12px; }
  .nav__logo { font-size: 13px; gap: 8px; }
  .nav__logo-text { max-width: 8.2em; }
  .nav__cart { margin-left: auto; }   /* rechte Gruppe (Cart/Sprache/Burger) nach rechts */
}
@media (max-width: 460px) {
  .nav__cart-label { display: none; }
  .nav__cart { padding: 8px 11px; }
  .nav__logo-text { max-width: 7em; }
}
@media (max-width: 800px) {
  .nav__burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px;
    border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); cursor: pointer;
    position: relative; z-index: 65;
  }
  .nav__burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .22s ease, opacity .22s ease; }
  .nav--open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav--open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav--open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__links {
    position: fixed; top: 0; right: 0; bottom: 0; margin: 0;
    width: min(82vw, 330px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 84px 26px 28px;
    box-shadow: -24px 0 60px rgba(6, 10, 20, 0.28);
    transform: translateX(100%); transition: transform .28s ease; z-index: 60;
  }
  .nav--open .nav__links { transform: translateX(0); }
  .nav__links a { font-size: 18px; padding: 14px 4px; border-bottom: 1px solid var(--rule); }
  .nav__backdrop {
    display: block; position: fixed; inset: 0; z-index: 55;
    background: rgba(6, 10, 20, 0.45);
    opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s ease;
  }
  .nav--open .nav__backdrop { opacity: 1; visibility: visible; }
}

/* ============== FAQ ============== */
.faq-list { display: grid; gap: 0; max-width: 840px; margin-top: 10px; }
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { margin: 0 0 6px; }
.faq-item p { margin: 0; color: var(--ink-2); }

/* ============== Sections ============== */
.section { padding: clamp(48px, 7vw, 96px) var(--section-px); }
.section--dark   { background: var(--dark); color: var(--cream); }
.section--cream  { background: var(--cream); }
.section__inner { max-width: var(--max-w); margin: 0 auto; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--blue-2); }
.h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}
.h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
}
.lead {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 70ch;
}
.section--dark .lead { color: rgba(245,247,251,0.78); }
.accent { color: var(--blue); }

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.15s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--blue);
  color: #fff;
}
.btn--primary:hover { background: var(--blue-3); }
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245,247,251,0.4);
}
.btn--ghost:hover { background: rgba(245,247,251,0.08); border-color: rgba(245,247,251,0.7); }
.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--block { display: flex; width: 100%; justify-content: center; }
.btn__arrow { transition: transform 0.12s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ============== Hero ============== */
.hero {
  position: relative;
  background: var(--dark-3);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(37,99,235,0.45) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(37,99,235,0.25) 0%, transparent 55%),
    linear-gradient(180deg, #060a14 0%, #0b1220 100%);
  z-index: 0;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(100px, 14vw, 170px) var(--section-px) clamp(70px, 10vw, 130px);
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(59,130,246,0.45);
  background: rgba(37,99,235,0.12);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--blue-2);
  margin-bottom: 24px;
}
.hero__pill .live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}
.hero h1 {
  font-size: clamp(44px, 7.5vw, 92px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  max-width: 18ch;
}
.hero__sub {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 500;
  color: rgba(245,247,251,0.78);
  max-width: 60ch;
  margin: 0 0 36px;
  line-height: 1.45;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============== Tagline strip ============== */
.tagline-strip {
  background: var(--dark-2);
  color: rgba(245,247,251,0.6);
  border-top: 1px solid rgba(59,130,246,0.18);
  border-bottom: 1px solid rgba(59,130,246,0.18);
  padding: 18px var(--section-px);
}
.tagline-strip__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.tagline-strip__item { display: inline-flex; align-items: center; gap: 12px; }
.tagline-strip__item .num {
  color: var(--blue-2);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0;
}

/* ============== Product cards ============== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
@media (max-width: 980px) { .products-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(15,23,42,0.08);
}
.product-card__image {
  background: linear-gradient(180deg, #f6f8fc 0%, #e7eef8 100%);
  border-bottom: 1px solid var(--rule);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.04); }
.product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.product-card__badge--limited {
  background: var(--red);
}
.product-card__body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.product-card__title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.product-card__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
}
.product-card__desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 18px;
  flex: 1 1 auto;
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.product-card__price {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.product-card__price .net {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.product-card__price .vat {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 2px;
}
.product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, transform 0.12s ease;
}
.product-card__cta:hover { background: var(--blue-3); transform: translateY(-1px); }

/* ============== USP grid ============== */
.usps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}
@media (max-width: 980px) { .usps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .usps { grid-template-columns: 1fr; } }
.usp {
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color 0.15s ease;
}
.section--dark .usp {
  background: rgba(255,255,255,0.04);
  border-color: rgba(59,130,246,0.18);
}
.usp:hover { border-color: var(--blue); }
.usp__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37,99,235,0.16) 0%, rgba(37,99,235,0.06) 100%);
  border: 1px solid rgba(37,99,235,0.25);
  color: var(--blue);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.section--dark .usp__icon { color: var(--blue-2); background: rgba(37,99,235,0.18); }
.usp__icon svg { width: 24px; height: 24px; stroke-width: 1.7; }
.usp__title {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
}
.usp__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.section--dark .usp__body { color: rgba(245,247,251,0.7); }

/* ============== CTA banner ============== */
.cta-banner {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37,99,235,0.35) 0%, transparent 55%),
    linear-gradient(135deg, #0b1220 0%, #1d4ed8 200%);
  color: var(--cream);
  border-radius: 16px;
  padding: clamp(36px, 5vw, 60px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 36px;
}
.cta-banner h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.cta-banner p {
  margin: 6px 0 0;
  color: rgba(245,247,251,0.78);
  max-width: 50ch;
}

/* ============== Footer ============== */
.footer {
  background: var(--dark-3);
  color: rgba(245,247,251,0.7);
  padding: clamp(48px, 6vw, 80px) var(--section-px) 36px;
  font-size: 14px;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 800px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__inner { grid-template-columns: 1fr; } }
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245,247,251,0.5);
  margin: 0 0 16px;
  font-weight: 600;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: rgba(245,247,251,0.7); transition: color 0.15s ease; }
.footer__col a:hover { color: var(--blue-2); }
.footer__brand { font-weight: 800; color: var(--cream); font-size: 16px; letter-spacing: 0.04em; margin-bottom: 12px; }
.footer__copy {
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(245,247,251,0.5);
}

/* ============== Product detail page ============== */
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
@media (max-width: 880px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail__media {
  background: linear-gradient(180deg, #f6f8fc 0%, #e7eef8 100%);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
}
.product-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-detail__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.product-detail__thumbs button {
  width: 70px;
  height: 70px;
  background: linear-gradient(180deg, #f6f8fc 0%, #e7eef8 100%);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.product-detail__thumbs button.is-active,
.product-detail__thumbs button:hover { border-color: var(--blue); }
.product-detail__thumbs img { width: 100%; height: 100%; object-fit: contain; }

.product-detail__breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.product-detail__breadcrumb a:hover { color: var(--blue); }
.product-detail__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.05;
}
.product-detail__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.product-detail__pill--limited {
  background: #fee2e2;
  color: #b91c1c;
}
.product-detail__lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 24px;
}
.product-detail__price-card {
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 22px 24px;
  background: var(--cream);
  margin-bottom: 22px;
}
.product-detail__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.product-detail__price-net {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.product-detail__price-unit {
  font-size: 14px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}
.product-detail__price-vat {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.product-detail__price-vat strong { color: var(--ink-2); }
.product-detail__buy {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  overflow: hidden;
}
.qty button {
  width: 40px;
  height: 48px;
  background: transparent;
  border: 0;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
  font-family: inherit;
}
.qty button:hover { color: var(--blue); }
.qty input {
  width: 50px;
  height: 48px;
  border: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  background: transparent;
  font-family: inherit;
  color: var(--ink);
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.trust-row__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-row__item svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  stroke-width: 2;
}

/* Product specs ============== */
.specs-block { margin-top: clamp(48px, 6vw, 80px); }
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--rule);
}
@media (max-width: 700px) { .specs-grid { grid-template-columns: 1fr; } }
.spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
  font-size: 14.5px;
}
.spec-row__key {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  align-self: center;
}
.spec-row__value {
  color: var(--ink);
  font-weight: 500;
}

/* Description block */
.product-description {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}
@media (max-width: 880px) { .product-description { grid-template-columns: 1fr; } }
.product-description p { margin: 0 0 14px; line-height: 1.65; color: var(--ink-2); }
.product-description ul {
  margin: 0;
  padding: 0 0 0 20px;
  color: var(--ink-2);
  line-height: 1.65;
}
.product-description ul li { margin-bottom: 6px; }

/* ============== Cart page ============== */
.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-top: 32px;
  align-items: start;
}
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  align-items: center;
}
.cart-item__img {
  background: linear-gradient(180deg, #f6f8fc 0%, #e7eef8 100%);
  border-radius: 8px;
  aspect-ratio: 1/1;
  padding: 10px;
  display: grid;
  place-items: center;
}
.cart-item__img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item__title { font-weight: 800; font-size: 17px; margin: 0 0 4px; }
.cart-item__sub { font-size: 12px; font-family: var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.cart-item__line { font-weight: 700; font-size: 18px; color: var(--ink); margin-left: 18px; white-space: nowrap; }
.cart-item__remove {
  margin-top: 10px;
  background: none;
  border: 0;
  color: var(--ink-3);
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  padding: 0;
}
.cart-item__remove:hover { color: var(--red); }
.cart-item__controls {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-summary {
  position: sticky;
  top: 90px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px 26px;
  background: var(--cream);
}
.cart-summary h3 {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 800;
}
.cart-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14.5px;
  color: var(--ink-2);
}
.cart-summary__row--total {
  border-top: 1px solid var(--rule);
  margin-top: 10px;
  padding-top: 16px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.cart-summary__hint {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 12px;
  line-height: 1.5;
}

.cart-empty {
  text-align: center;
  padding: clamp(40px, 6vw, 80px) 24px;
  border: 1px dashed var(--rule);
  border-radius: var(--radius);
  background: var(--cream);
}
.cart-empty h3 { margin-top: 0; }

/* ---- Warenkorb mobil ---- */
@media (max-width: 900px) {
  .cart-summary { position: static; top: auto; }   /* nicht sticky auf Mobil */
}
@media (max-width: 560px) {
  .cart-item {
    grid-template-columns: 68px 1fr;   /* Bild links (spannt 2 Reihen), Inhalt + Preis rechts */
    column-gap: 14px; row-gap: 6px;
    padding: 14px;
    align-items: start;
  }
  .cart-item__img { grid-column: 1; grid-row: 1 / span 2; }
  .cart-item > div:nth-child(2) { grid-column: 2; grid-row: 1; min-width: 0; } /* Inhalt */
  .cart-item > div:nth-child(3) { grid-column: 2; grid-row: 2; }               /* Preis */
  .cart-item__title { font-size: 16px; }
  .cart-item__line { margin-left: 0; font-size: 16px; }
  .cart-item__controls { margin-top: 12px; gap: 10px; flex-wrap: wrap; }
}

/* ============== Checkout ============== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-top: 32px;
  align-items: start;
}
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } }
.form-card {
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 28px 30px;
  background: var(--paper);
  margin-bottom: 18px;
}
.form-card h3 {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-card h3 .num {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-mono);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.field input,
.field select,
.field textarea {
  padding: 11px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:hover:not(:focus),
.field select:hover:not(:focus),
.field textarea:hover:not(:focus) { border-color: #94a3b8; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.field textarea { min-height: 100px; resize: vertical; }

.payment-method {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--blue);
  border-radius: 10px;
  background: var(--blue-soft);
}
.payment-method svg { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.payment-method__title { font-weight: 800; margin: 0 0 4px; }
.payment-method__desc { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 10px;
}
.checkbox input { margin-top: 3px; flex-shrink: 0; }
.checkbox a { color: var(--blue); text-decoration: underline; }

.order-mini {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.order-mini__row {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}
.order-mini__img {
  width: 50px; height: 50px;
  background: linear-gradient(180deg, #f6f8fc 0%, #e7eef8 100%);
  border-radius: 6px;
  padding: 6px;
  display: grid;
  place-items: center;
}
.order-mini__img img { width: 100%; height: 100%; object-fit: contain; }
.order-mini__qty { color: var(--ink-3); font-family: var(--font-mono); font-size: 12px; }

/* ============== Confirmation ============== */
.confirm-card {
  max-width: 720px;
  margin: 60px auto;
  padding: 50px 40px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(15,23,42,0.06);
}
.confirm-card .check {
  width: 72px; height: 72px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid; place-items: center;
  margin: 0 auto 22px;
}
.confirm-card .check svg { width: 36px; height: 36px; stroke-width: 2.5; }
.confirm-card h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; }
.confirm-card p { color: var(--ink-2); margin: 0 0 12px; line-height: 1.6; }
.confirm-card .order-no {
  display: inline-block;
  padding: 8px 18px;
  margin-top: 8px;
  background: var(--cream);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ============== Legal pages ============== */
.legal {
  max-width: 800px;
  margin: 0 auto;
}
.legal h1 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 16px; font-weight: 800; letter-spacing: -0.02em; }
.legal h2 { font-size: 22px; margin: 32px 0 12px; font-weight: 800; }
.legal h3 { font-size: 17px; margin: 20px 0 8px; font-weight: 700; }
.legal p { color: var(--ink-2); margin: 0 0 12px; line-height: 1.65; }
.legal ul { color: var(--ink-2); line-height: 1.65; }

/* ============== Toast ============== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  transition: transform 0.3s ease;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.toast.is-visible {
  transform: translateX(-50%) translateY(0);
}
.toast svg { color: var(--blue-2); }

/* ============== Page header ============== */
.page-header {
  background: var(--cream);
  padding: clamp(50px, 6vw, 90px) var(--section-px) clamp(30px, 4vw, 50px);
  border-bottom: 1px solid var(--rule);
}
.page-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-header h1 {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  line-height: 1.05;
}
.page-header p {
  margin: 0;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 60ch;
}

/* ============== Vergleichsmatrix (Spalte pro Sensor) ============== */
.compare { margin-top: 32px; }
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
}
.compare-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table th,
.compare-table td {
  padding: 15px 18px;
  text-align: center;
  border-bottom: 1px solid var(--rule);
  vertical-align: middle;
}
/* Zeilen-Label-Spalte (sticky beim horizontalen Scrollen) */
.compare-table tbody th[scope="row"],
.compare-table tfoot th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  white-space: nowrap;
  background: var(--paper);
  position: sticky;
  left: 0;
  z-index: 2;
}
/* Kopf (Sensor-Spalten) */
.compare-table thead th { border-bottom: 2px solid var(--rule); background: var(--cream); }
.compare-corner {
  background: var(--cream) !important;
  position: sticky; left: 0; z-index: 3;
  border-bottom: 2px solid var(--rule);
}
.compare-head__link { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); }
.compare-head__img { display: flex; align-items: center; justify-content: center; height: 74px; }
.compare-head__img img { max-height: 74px; max-width: 140px; object-fit: contain; }
.compare-head__name { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.compare-head__sub { font-size: 12px; color: var(--ink-3); font-weight: 500; max-width: 150px; }
.compare-head__link:hover .compare-head__name { color: var(--blue); }
/* Werte + Zeilen-Hover */
.compare-table tbody td { color: var(--ink); font-weight: 500; }
.compare-table tbody tr:hover td { background: var(--cream); }
/* Preiszeile */
.compare-row--price td { font-size: 16px; }
.compare-row--price td strong { display: block; color: var(--blue-3); font-weight: 800; }
.compare-net { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
/* CTA-Fußzeile */
.compare-table tfoot td { border-bottom: 0; padding-top: 18px; padding-bottom: 20px; }
.compare-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 13px; color: var(--blue);
  border: 1px solid var(--blue-soft); border-radius: 999px; padding: 8px 18px;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.compare-cta:hover { background: var(--blue-soft); border-color: var(--blue); transform: translateY(-1px); }
@media (max-width: 720px) {
  .compare-table th, .compare-table td { padding: 12px 13px; }
  .compare-head__img { height: 56px; }
  .compare-head__img img { max-height: 56px; }
}

/* ============== Karten-Kaufzeile + kompakter Mengen-Stepper ============== */
.product-card__footer { flex-direction: column; align-items: stretch; justify-content: flex-start; }
.product-card__buy { display: flex; gap: 8px; align-items: center; }
.product-card__buy .product-card__cta { flex: 1; justify-content: center; }
.qty--sm { border-radius: 8px; }
.qty--sm button { width: 32px; height: 38px; font-size: 16px; }
.qty--sm input { width: 36px; height: 38px; font-size: 14px; }

/* ============== Add-on / Zubehör (Produktdetail) ============== */
.addons { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule); }
.addons__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.addon { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid var(--rule); border-radius: 10px; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.addon:hover { border-color: var(--blue-2); background: var(--cream); }
.addon input { width: 18px; height: 18px; accent-color: var(--blue); flex: 0 0 auto; cursor: pointer; }
.addon__info { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex: 1; }
.addon__name { font-weight: 600; font-size: 14px; }
.addon__price { font-family: var(--font-mono); font-size: 13px; color: var(--blue-3); font-weight: 700; white-space: nowrap; }

/* ============== Rückfrage-Formular (Kontakt) ============== */
.contact-form-card {
  margin-top: 28px;
  max-width: none;
  color: var(--ink-2);                 /* Dark-Section-Vererbung überschreiben → lesbar */
  border: 0;
  border-radius: 16px;
  padding: 34px 38px;
  box-shadow: 0 22px 55px rgba(6, 10, 20, 0.32);   /* hebt die Karte von der Dark-Section ab */
}
.contact-form-card h3 { color: var(--ink); margin: 0 0 6px; font-size: 21px; }
.contact-form-card__sub { color: var(--ink-3); font-size: 14px; margin: 0 0 22px; }
.contact-form-card .btn { margin-top: 4px; }
.contact-form-card__hint { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); min-height: 18px; }

/* ============== Mobile-Optimierung (gesamte Seite) ============== */
@media (max-width: 720px) {
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .tagline-strip__inner { flex-wrap: wrap; gap: 14px 20px; }
  .tagline-strip__item { flex: 1 1 42%; }
  .cta-banner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cta-banner > div:last-child { width: 100%; }
  .cta-banner .btn { width: 100%; justify-content: center; }
  .contact-form-card { padding: 24px 20px; }
  .contact-form-card .btn { width: 100%; justify-content: center; }
  .product-detail__buy { flex-wrap: wrap; }
  .product-detail__buy .btn { flex: 1 1 auto; justify-content: center; }
  .product-card__buy { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .tagline-strip__item { flex: 1 1 100%; }
}

/* ============== Misc utils ============== */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
