/* Bluhm Metalltechnik — design tokens per handoff README.
   Dark industrial look: no border-radius, no shadows, clamp()-based responsiveness. */

:root {
  --bg: #101214;
  --surface: #16191c;
  --surface-hover: #1b1f23;
  --text: #dfe3e6;
  --accent: #8fb3c9;
  --accent-hover: #a7c5d8;
  --hairline: rgba(223, 227, 230, 0.14);
  --cond: 'Barlow Condensed', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  font-family: 'Barlow', sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

a:hover { color: var(--accent); }

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(16, 18, 20, 0.72) 0%,
    rgba(16, 18, 20, 0.25) 34%,
    rgba(16, 18, 20, 0.35) 60%,
    rgba(16, 18, 20, 0.92) 100%);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px clamp(24px, 4vw, 56px);
}

.wordmark {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.08em;
  color: #fff;
}

.wordmark:hover { color: #fff; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  font-family: var(--cond);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.14em;
}

.nav-btn {
  border: 1px solid rgba(223, 227, 230, 0.4);
  padding: 9px 22px;
  color: #fff;
}

.nav-btn:hover {
  background: rgba(143, 179, 201, 0.15);
  border-color: var(--accent);
  color: #fff;
}

.hero-copy-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 clamp(24px, 4vw, 56px) clamp(48px, 8vh, 84px);
}

.hero-copy { max-width: 840px; }

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.eyebrow-bar {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--accent);
}

.eyebrow {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3em;
  color: var(--accent);
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 0.96;
  letter-spacing: 0.01em;
  color: #fff;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-copy p {
  margin: 0 0 34px;
  max-width: 560px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: rgba(223, 227, 230, 0.85);
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.12em;
  padding: 15px 34px;
}

.btn-filled {
  background: var(--accent);
  color: var(--bg);
}

.btn-filled:hover {
  background: var(--accent-hover);
  color: var(--bg);
}

.btn-outline {
  border: 1px solid rgba(223, 227, 230, 0.45);
  color: #fff;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* ---------- Sections ---------- */

.section {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 120px) clamp(24px, 4vw, 56px);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section h2 {
  margin: 0;
  font-family: var(--cond);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
}

.section-eyebrow {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.28em;
  color: var(--accent);
}

/* ---------- Leistungen ---------- */

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}

.service-card {
  flex: 1 1 280px;
  background: var(--surface);
  padding: 38px 32px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 150ms ease;
}

.service-card:hover { background: var(--surface-hover); }

.service-num {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.service-card h3 {
  margin: 0;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(223, 227, 230, 0.72);
  text-wrap: pretty;
}

.service-detail {
  margin-top: auto;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: rgba(223, 227, 230, 0.5);
}

/* ---------- Zertifizierung ---------- */

.cert-strip {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
}

.cert-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cert-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cert-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--accent);
  font-family: var(--cond);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-align: center;
}

.cert-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cert-title {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: #fff;
}

.cert-sub {
  font-size: 15px;
  color: rgba(223, 227, 230, 0.65);
}

.cert-machines {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: rgba(223, 227, 230, 0.5);
}

/* ---------- Branchen ---------- */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}

.industry-item {
  border-top: 2px solid var(--accent);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.industry-item h3 {
  margin: 0;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 24px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.industry-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(223, 227, 230, 0.7);
  text-wrap: pretty;
}

/* ---------- Kontakt ---------- */

.contact { border-top: 1px solid var(--hairline); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact h2 { margin: 14px 0 24px; }

.contact-lead {
  margin: 0;
  max-width: 460px;
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(223, 227, 230, 0.75);
  text-wrap: pretty;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: rgba(223, 227, 230, 0.5);
}

.contact-value {
  font-size: 18px;
  line-height: 1.5;
  color: #fff;
}

a.contact-value:hover { color: var(--accent); }

.contact-mail {
  border-bottom: 1px solid var(--accent);
  align-self: flex-start;
}

/* ---------- Legal pages ---------- */

.header-static {
  position: static;
  border-bottom: 1px solid var(--hairline);
}

.legal { max-width: 880px; }

.legal h1 {
  margin: 14px 0 40px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
}

.legal-block { margin-bottom: 44px; }

.legal-block h2 {
  margin: 0 0 14px;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 24px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal-block h3 {
  margin: 28px 0 10px;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 19px;
  color: #fff;
  letter-spacing: 0.03em;
}

.legal-block p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(223, 227, 230, 0.75);
  text-wrap: pretty;
}

.legal-block a {
  color: #fff;
  border-bottom: 1px solid var(--accent);
}

.legal-block a:hover { color: var(--accent); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 28px clamp(24px, 4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.08em;
  color: #fff;
}

.footer-brand span {
  font-weight: 500;
  color: rgba(223, 227, 230, 0.6);
}

.footer-copy {
  font-size: 14px;
  color: rgba(223, 227, 230, 0.5);
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.footer-links a { color: rgba(223, 227, 230, 0.6); }
.footer-links a:hover { color: #fff; }
