/* CS Industrietechnik – B2B, Markenfarben aus dem CS-Logo */
:root {
  --blue: #1873A2;
  --blue-dark: #125A80;
  --blue-deeper: #0E3F58;
  --charcoal: #2C2C2C;
  --ink: #1c2127;
  --muted: #5a6570;
  --line: #d4dbe2;
  --light: #eef3f7;
  --bg: #f3f5f7;
  --white: #fff;
  --max: 1120px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, Helvetica, sans-serif;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; border: 0; display: block; }
.wrap { width: min(100% - 36px, var(--max)); margin-inline: auto; }

.top-strip {
  background: var(--charcoal);
  color: #c8c8c8;
  font-size: 13px;
  padding: 8px 0;
  letter-spacing: 0.01em;
}
.top-strip .wrap {
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  justify-content: space-between; align-items: center;
}
.top-strip a { color: #e8e8e8; text-decoration: none; }
.top-strip a:hover { color: #fff; text-decoration: underline; }
.top-strip .phone { color: #b0b0b0; }
.top-strip .dot { margin: 0 8px; color: #7a7a7a; }

.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--blue);
  box-shadow: 0 1px 0 rgba(28,33,39,.04), 0 8px 18px rgba(28,33,39,.04);
  position: sticky; top: 0; z-index: 40;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px 24px; padding: 14px 0;
}
.brand {
  display: flex; align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 200px;
  height: auto;
}
.nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.nav a {
  color: var(--charcoal); text-decoration: none;
  padding: 8px 14px; font-size: 14px; font-weight: 600;
  border-radius: 6px;
}
.nav a:hover { background: var(--light); color: var(--blue-dark); text-decoration: none; }
.nav a.active { background: var(--blue); color: #fff; }
.menu-toggle {
  display: none; background: var(--blue); border: 1px solid var(--blue-dark);
  color: #fff; border-radius: 6px; padding: 8px 14px; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 700;
}

.hero {
  background:
    linear-gradient(160deg, var(--blue-deeper) 0%, var(--blue-dark) 48%, var(--blue) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(255,255,255,.08), transparent 42%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding: 64px 0 56px; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #e8f3f8;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 999px; margin: 0 0 18px;
}
.hero h1 {
  margin: 0 0 16px; font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 700; letter-spacing: -.025em; line-height: 1.15;
  max-width: 18ch;
}
.hero-lead {
  margin: 0 0 26px; font-size: 17px; max-width: 620px;
  color: #e4eef3; line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-meta {
  margin-top: 36px; display: flex; flex-wrap: wrap; gap: 22px 36px;
  font-size: 14px; color: #c5d8e3;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero-meta strong { color: #fff; display: block; font-size: 15px; margin-bottom: 2px; }
.hero-meta span { display: block; }

.btn {
  display: inline-block; padding: 11px 18px; font: inherit; font-size: 14px;
  font-weight: 700; text-decoration: none !important; border-radius: 6px;
  cursor: pointer; border: 1px solid transparent;
}
.btn-primary {
  background: var(--blue); border-color: var(--blue-dark); color: #fff !important;
}
.btn-primary:hover { background: #1b82b6; color: #fff !important; }
.hero .btn-primary {
  background: #fff; border-color: #fff; color: var(--blue-deeper) !important;
}
.hero .btn-primary:hover { background: #eef6fa; }
.btn-secondary {
  background: transparent; border-color: rgba(255,255,255,.45); color: #fff !important;
}
.btn-secondary:hover { background: rgba(255,255,255,.12); }
.btn-ghost {
  background: #fff; border-color: var(--line); color: var(--charcoal) !important;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark) !important; }
.btn-sm { padding: 7px 13px; font-size: 13px; }

.band {
  background: var(--white); border-bottom: 1px solid var(--line); padding: 16px 0;
}
.band-inner {
  display: flex; flex-wrap: wrap; gap: 10px 20px;
  justify-content: space-between; align-items: center;
}
.band p { margin: 0; font-size: 14px; color: var(--ink); }
.band strong { color: var(--charcoal); }

.content { padding: 36px 0 48px; }
.box {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px; margin-bottom: 22px;
  box-shadow: 0 1px 2px rgba(28,33,39,.04);
}
.box h2 {
  margin: 0 0 18px; font-size: 22px; color: var(--charcoal);
  letter-spacing: -.02em;
  border-bottom: 2px solid var(--blue); padding-bottom: 10px;
}
.box h3 { margin: 0 0 6px; font-size: 16px; color: var(--charcoal); }
.box p { margin: 0 0 10px; }
.box ul { margin: 0 0 10px; padding-left: 18px; }
.box li { margin: 4px 0; }
.box-link { margin-top: 18px !important; margin-bottom: 0 !important; }
.plain-list { margin: 0; padding-left: 18px; color: var(--ink); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 18px 20px;
  display: flex; flex-direction: column;
}
.box .card { background: #fbfcfd; }
.card h3 { margin: 0 0 8px; font-size: 16px; color: var(--charcoal); line-height: 1.35; }
.card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.card .sku {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px; color: var(--blue); font-weight: 700; margin-bottom: 6px;
}
.card-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 8px;
}
.badge {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 999px;
  background: var(--light); color: var(--blue-dark); border: 1px solid var(--line);
  white-space: nowrap;
}
.badge-stock { background: #e8f6ee; color: #1b6b3a; border-color: #b7e0c6; }
.badge-order { background: #f4f6f8; color: #4a5560; border-color: #d0d7de; }
.card-actions { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }

.cat-icon {
  width: 44px; height: 44px; border-radius: 8px;
  display: grid; place-items: center;
  background: #e8f3f8;
  border: 1px solid #cde3ed;
  margin-bottom: 12px;
}
.ico {
  display: block; width: 20px; height: 20px;
  background: var(--blue);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.ico-drive {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='3' y='7' width='18' height='10' rx='2' fill='black'/><rect x='7' y='10' width='4' height='4' fill='white'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='3' y='7' width='18' height='10' rx='2' fill='black'/><rect x='7' y='10' width='4' height='4' fill='white'/></svg>");
}
.ico-sensor {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='3.2' fill='black'/><circle cx='12' cy='12' r='7' fill='none' stroke='black' stroke-width='2'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='3.2' fill='black'/><circle cx='12' cy='12' r='7' fill='none' stroke='black' stroke-width='2'/></svg>");
}
.ico-bearing {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='8' fill='none' stroke='black' stroke-width='3'/><circle cx='12' cy='12' r='3' fill='black'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='8' fill='none' stroke='black' stroke-width='3'/><circle cx='12' cy='12' r='3' fill='black'/></svg>");
}
.ico-pneumatic {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='5' y='5' width='14' height='14' rx='2' fill='none' stroke='black' stroke-width='2.4'/><path d='M8 12h8' stroke='black' stroke-width='2.4'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='5' y='5' width='14' height='14' rx='2' fill='none' stroke='black' stroke-width='2.4'/><path d='M8 12h8' stroke='black' stroke-width='2.4'/></svg>");
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  display: inline-block; padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--charcoal);
  font-size: 13px; font-weight: 600; text-decoration: none;
}
.chip:hover, .chip.active {
  background: var(--blue); color: #fff; border-color: var(--blue); text-decoration: none;
}

.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.step-num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 6px;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 13px;
  display: grid; place-items: center;
}

.page-title {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  border-bottom: 3px solid var(--blue); padding: 22px 26px; margin-bottom: 22px;
}
.page-title h1 { margin: 0; font-size: 28px; color: var(--charcoal); letter-spacing: -.02em; }
.page-title p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; }
.contact-form label {
  display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin: 14px 0 5px;
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font: inherit; border-radius: 6px;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,115,162,.15);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .form-actions { margin-top: 16px; }
.form-note { color: var(--muted); font-size: 14px; }
.contact-meta dt {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--muted); margin-top: 16px;
}
.contact-meta dt:first-child { margin-top: 0; }
.contact-meta dd { margin: 4px 0 0; }
.contact-meta a { font-weight: 700; }

.legal-box h2 {
  margin: 22px 0 8px; font-size: 16px; color: var(--charcoal);
  border-bottom: 1px solid var(--line); padding-bottom: 6px;
}
.legal-box h2:first-child { margin-top: 0; }
.legal-note {
  margin-top: 16px; padding: 12px 14px; background: var(--light);
  border: 1px solid var(--line); border-radius: 6px; font-size: 13px; color: var(--muted);
}

.site-footer {
  background: #1b1b1b;
  color: #b8b8b8;
  font-size: 14px;
  padding: 36px 0 0;
  margin-top: 8px;
  border-top: 3px solid var(--blue);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 28px 36px;
  padding-bottom: 28px;
}
.footer-brand img {
  width: 160px; height: auto;
  /* logo is dark-on-transparent: invert onto the dark footer via a light plate */
  background: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.footer-brand p { margin: 0; max-width: 32ch; line-height: 1.55; }
.footer-col h2 {
  margin: 0 0 10px; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: #f0f0f0; font-weight: 700;
  border: 0; padding: 0;
}
.footer-col p { margin: 0 0 12px; }
.footer-col a { color: #d8d8d8; }
.footer-col a:hover { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px;
  border-top: 1px solid #333; padding: 14px 0 18px;
  font-size: 12px; color: #8a8a8a;
}

.product-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.product-table th, .product-table td {
  text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top;
}
.product-table th {
  font-size: 11px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--muted); background: var(--light);
}
.product-table tr:hover td { background: #f6fafc; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .grid-2, .grid-3, .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .top-strip .wrap { justify-content: flex-start; }
  .brand img { width: 168px; }
  .hero-inner { padding: 40px 0 36px; }
  .footer-grid { grid-template-columns: 1fr; }
  .box { padding: 20px 18px; }
}
