/* ============================================================
   CLM Bearing — International Site
   Design system: clean industrial B2B (igus / SKF style)
   Deep navy + cool slate + white, generous whitespace,
   Latin-optimized sans-serif, subtle motion only.
   ============================================================ */

:root {
  --navy:      #0A2540;
  --navy-700:  #12315A;
  --navy-900:  #071A30;
  --slate:     #5B6B7B;
  --ink:       #1B2533;
  --muted:     #6B7886;
  --bg:        #FFFFFF;
  --bg-soft:   #F4F7FA;
  --bg-tint:   #EEF3F8;
  --line:      #E2E8EF;
  --accent:    #1C6FB5;   /* confident azure, used sparingly */
  --accent-50: #E8F1F9;
  --radius:    14px;
  --radius-sm: 10px;
  --shadow:    0 10px 30px rgba(10,37,64,.08);
  --shadow-sm: 0 4px 14px rgba(10,37,64,.06);
  --maxw:      1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4 { color: var(--navy); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 .5em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }
p  { margin: 0 0 1em; color: var(--slate); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  font-weight: 700; color: var(--accent); margin: 0 0 .8em;
}
.lead { font-size: 1.12rem; color: var(--slate); max-width: 60ch; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 28px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; font-size: 1.05rem; }
.brand .mark { width: 30px; height: 30px; }
.brand small { display:block; font-weight:500; font-size:.66rem; color:var(--muted); letter-spacing:.04em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.lang-switch {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden; margin-left: 8px;
}
.lang-switch button {
  border: 0; background: transparent; padding: 7px 13px; cursor: pointer;
  font: inherit; font-size: .82rem; font-weight: 600; color: var(--slate);
}
.lang-switch button.active { background: var(--navy); color: #fff; }
.lang-switch button:hover { color: var(--navy); }
.lang-switch button.active:hover { color:#fff; }
.nav-toggle { display:none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .96rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-700); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-soft); }
.hero .container {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding-top: 84px; padding-bottom: 84px;
}
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 1.8em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  position: relative; aspect-ratio: 1/1; border-radius: 24px;
  background: radial-gradient(120% 120% at 70% 20%, #14365f 0%, var(--navy) 45%, var(--navy-900) 100%);
  box-shadow: var(--shadow); display: grid; place-items: center; overflow: hidden;
}
.hero-visual svg { width: 86%; height: 86%; }
.hero-glow { position:absolute; width:240px; height:240px; border-radius:50%; background: radial-gradient(circle, rgba(28,111,181,.55), transparent 70%); filter: blur(20px); top:-40px; right:-30px; }

/* ---------- Trust bar ---------- */
.trust {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg); padding: 22px 0;
}
.trust .container { display:flex; align-items:center; gap: 26px; flex-wrap: wrap; }
.trust .label { font-size:.8rem; color:var(--muted); text-transform:uppercase; letter-spacing:.1em; font-weight:700; }
.trust .names { display:flex; gap: 26px; flex-wrap: wrap; color: var(--navy); font-weight: 700; }
.trust .names span { opacity:.85; }

/* ---------- Sections ---------- */
.section { padding: 86px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { margin-top: .4em; }

/* industry / product grid */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cdd9e6; }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-50); color: var(--accent); display:grid; place-items:center; margin-bottom: 16px; }
.card h3 { margin-bottom: .35em; }
.card p { font-size: .94rem; margin: 0; }

.product {
  display:flex; flex-direction:column; gap:14px;
}
.product .thumb {
  aspect-ratio: 4/3; border-radius: var(--radius-sm); background: var(--bg-tint);
  display:grid; place-items:center; border:1px solid var(--line); overflow:hidden;
}
.product .thumb svg { width: 62%; height:62%; }
.product .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product h3 { margin: 0; }
.product .spec { font-size:.85rem; color:var(--muted); }
.tag { display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--accent); background:var(--accent-50); padding:4px 10px; border-radius:999px; }

/* stats */
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.stat { text-align:center; padding: 26px 14px; background:#fff; border:1px solid var(--line); border-radius: var(--radius); }
.stat .num { font-size: 2.4rem; font-weight: 800; color: var(--navy); line-height:1; }
.stat .cap { margin-top: 8px; font-size:.86rem; color: var(--slate); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%); color:#fff; border-radius: 20px; padding: 54px 48px; display:flex; align-items:center; justify-content:space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color:#fff; margin:0 0 .2em; }
.cta-band p { color: rgba(255,255,255,.8); margin:0; }
.cta-band .btn-primary { background:#fff; color:var(--navy); }
.cta-band .btn-primary:hover { background: var(--bg-soft); }

/* footer */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 56px 0 30px; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color:#fff; font-size:.95rem; margin:0 0 14px; }
.site-footer a { color: rgba(255,255,255,.72); display:block; padding: 4px 0; font-size:.92rem; }
.site-footer a:hover { color:#fff; }
.footer-brand p { font-size:.9rem; color: rgba(255,255,255,.6); max-width: 34ch; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; font-size:.82rem; color: rgba(255,255,255,.5); display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* language visibility */
html.lang-en .lang-de, html.lang-en .lang-fr { display: none; }
html.lang-de .lang-en, html.lang-de .lang-fr { display: none; }
html.lang-fr .lang-en, html.lang-fr .lang-de { display: none; }

/* ============================================================
   INNER PAGES (products / applications / technology / about /
   contact / faq) — shared building blocks
   ============================================================ */

/* page banner */
.page-header {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #fff; padding: 60px 0 52px; position: relative; overflow: hidden;
}
.page-header::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(28,111,181,.45), transparent 70%); filter: blur(8px);
}
.page-header .breadcrumb {
  position: relative; font-size: .82rem; color: rgba(255,255,255,.7); margin-bottom: 16px;
}
.page-header .breadcrumb a { color: rgba(255,255,255,.8); }
.page-header .breadcrumb a:hover { color: #fff; }
.page-header .eyebrow { color: var(--accent); }
.page-header h1 { color: #fff; margin: 0 0 .3em; }
.page-header .lead { color: rgba(255,255,255,.82); max-width: 72ch; margin: 0; }

.breadcrumb { font-size: .82rem; color: var(--muted); }
.breadcrumb a { color: var(--slate); }
.breadcrumb a:hover { color: var(--navy); }

/* section headings (left aligned) */
.section-head.left { text-align: left; max-width: none; margin-left: 0; }
.series-eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700;
  color: var(--accent); display: inline-block; margin-bottom: 10px;
}

/* pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-block; font-size: .77rem; font-weight: 600; color: var(--slate);
  background: var(--bg-soft); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px;
}
.pill-accent { color: #fff; background: var(--accent); border-color: var(--accent); }
.mt-5 { margin-top: 18px; }
.mt-6 { margin-top: 26px; }
.mt-7 { margin-top: 40px; }

/* spec / data tables */
.spec-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.spec-table caption { caption-side: top; text-align: left; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.spec-table th, .spec-table td {
  padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: top;
}
.spec-table thead th {
  background: var(--bg-tint); color: var(--navy); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
}
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:hover { background: var(--bg-soft); }
.spec-table tbody tr:nth-child(even) { background: rgba(244,247,250,.5); }
.spec-table tbody tr:nth-child(even):hover { background: var(--bg-soft); }
.material-table th.col-material { width: 18%; }
.material-table th.col-name { width: 30%; }
.material-table th.col-feature { width: 52%; }

/* card tag / series label */
.card-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-50); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}

/* brand cards */
.brand-card { text-align: center; padding: 34px 26px; }
.brand-card .brand-mark {
  height: 76px; width: auto; margin: 0 auto 14px; display: block;
}
.brand-card h3 { margin-bottom: .5em; }
.brand-card p { font-size: .94rem; margin: 0; }

/* split layout (text + media) */
.split { display: grid; gap: 26px; align-items: center; }
.split-3 { grid-template-columns: 1fr 1fr 1.2fr; }
.split img { width: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }

/* product thumbnail svg blocks */
.thumb-svg { aspect-ratio: 16/10; border-radius: var(--radius-sm); background: var(--bg-tint); display: grid; place-items: center; border: 1px solid var(--line); overflow: hidden; margin-bottom: 16px; }
.thumb-svg svg { width: 70%; height: 70%; }
.thumb-svg img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* gallery grid (for any imagery) */
.gallery { display: grid; gap: 16px; }
.gallery-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-4 { grid-template-columns: repeat(4, 1fr); }
.gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }

/* compact cards (more industries) */
.compact-cards .card { padding: 18px 20px; }
.compact-cards .card h3 { font-size: 1.02rem; margin-bottom: .35em; }
.compact-cards .card p { font-size: .84rem; margin: 0; }

/* contact layout */
.contact-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: 40px; align-items: start; }
.info-card {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px;
}
.info-card .ico {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-50); color: var(--accent);
  display: grid; place-items: center; font-size: 1.2rem;
}
.info-card strong { display: block; color: var(--navy); font-size: .92rem; margin-bottom: 4px; }
.info-card a { font-size: 1.02rem; font-weight: 600; }
.sales-list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sales-list li { font-size: .92rem; color: var(--slate); }

/* forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; padding: 11px 13px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-50);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* faq */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 920px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 20px 24px; font-weight: 600; color: var(--navy); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); font-weight: 700; line-height: 1; transition: transform .2s ease; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-a { padding: 18px 24px 22px; }
.faq-a p { margin: 0 0 .6em; font-size: .95rem; }
.faq-a p:last-child { margin: 0; }

/* stat strip (factory) */
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.stat-strip > div { text-align: center; padding: 18px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.stat-strip strong { display: block; font-size: 1.7rem; color: var(--accent); font-weight: 800; line-height: 1.1; }
.stat-strip span { font-size: .85rem; color: var(--slate); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
  .hero-visual { max-width: 420px; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-3 { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .gallery-3, .gallery-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .cta-band { padding: 36px 26px; }
  .stat-strip { grid-template-columns: 1fr; }
  .gallery-3, .gallery-4 { grid-template-columns: 1fr 1fr; }
  .page-header { padding: 44px 0 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
