
/* cad-retter — Design System v2: seriös, technisch, IT/Maschinenbau */

:root {
  --ink-900: #0b1520;
  --ink-800: #101d2b;
  --ink-700: #17293b;
  --ink-600: #26445c;
  --steel-500: #3d6a86;
  --steel-300: #7fa8bf;
  --accent: #ff6b1a;
  --accent-dark: #d9530e;
  --bg: #f5f7f9;
  --surface: #ffffff;
  --line: #dde3e8;
  --text-primary: #16232f;
  --text-secondary: #4c5c68;
  --text-muted: #7c8b96;
  --radius: 4px;
  --font-head: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Consolas', monospace;
  --shadow-sm: 0 1px 2px rgba(11,21,32,0.06);
  --shadow-md: 0 4px 16px rgba(11,21,32,0.08);
  --shadow-lg: 0 12px 32px rgba(11,21,32,0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.01em; color: var(--ink-900); }
h1 { font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; }
h3 { font-size: 1.15rem; line-height: 1.35; }

a { color: var(--steel-500); text-decoration: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }

/* Top identification bar */
.topbar {
  background: var(--ink-900);
  color: var(--steel-300);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 2rem;
}
.topbar span { color: var(--text-muted); }

/* Header */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.logo .mark {
  width: 30px; height: 30px;
  background: var(--ink-900);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
}
.logo .accent-dot { color: var(--accent); }
nav { display: flex; align-items: center; gap: 2rem; }
nav a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
nav a:hover, nav a.active { color: var(--ink-900); border-bottom-color: var(--accent); }
nav .btn-nav {
  background: var(--ink-900);
  color: #fff;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius);
  border-bottom: none;
}
nav .btn-nav:hover { background: var(--ink-700); color: #fff; }
.nav-toggle { display: none; }

/* Hero */
.hero {
  background: var(--ink-900);
  background-image:
    linear-gradient(180deg, rgba(11,21,32,0.97), rgba(16,29,43,0.99)),
    repeating-linear-gradient(90deg, rgba(127,168,191,0.05) 0px, rgba(127,168,191,0.05) 1px, transparent 1px, transparent 80px);
  color: #fff;
  padding: 5rem 0 4.5rem;
  position: relative;
  border-bottom: 3px solid var(--accent);
}
.hero .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
}
.hero h1 { color: #fff; max-width: 780px; }
.hero .lead {
  color: #c3d1db;
  font-size: 1.1rem;
  max-width: 620px;
  margin-top: 1.2rem;
  margin-bottom: 2.2rem;
}
.hero-page { padding: 3.2rem 0; }
.hero-page h1 { color: #fff; }
.hero-page .lead { color: #c3d1db; margin-top: 0.8rem; max-width: 700px; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--accent);
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
.btn-dark {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #fff;
}
.btn-dark:hover { background: var(--ink-700); }

/* Trust strip */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 1.3rem 0;
}
.trust-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.trust-item .num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--ink-900);
  font-size: 1.1rem;
}

/* Sections */
section { padding: 4.5rem 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 2.8rem; }
.section-head .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-500);
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: block;
}
.section-head p { color: var(--text-secondary); margin-top: 0.7rem; font-size: 1.02rem; }

/* Grid & Cards */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--steel-300); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card .card-index {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  display: block;
}
.card h3 { color: var(--ink-900); margin-bottom: 0.55rem; }
.card p { color: var(--text-secondary); font-size: 0.94rem; }
.card .tags { margin-top: 0.9rem; }

.tag {
  display: inline-block;
  background: var(--ink-900);
  color: #cfe1ec;
  padding: 0.22rem 0.65rem;
  border-radius: 3px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  margin: 0.15rem 0.25rem 0.15rem 0;
  letter-spacing: 0.02em;
}

.card-severity {
  border-left: 3px solid var(--accent);
}

/* Steps / Process */
.steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.6rem;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--line);
  line-height: 1;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--text-secondary); font-size: 0.95rem; max-width: 600px; }
.step .duration {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--steel-500);
  margin-top: 0.5rem;
  display: inline-block;
  background: #eef3f6;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

/* CTA band */
.cta-band {
  background: var(--ink-900);
  background-image: linear-gradient(120deg, var(--ink-900) 0%, var(--ink-700) 100%);
  color: #fff;
  padding: 3.6rem 0;
  text-align: center;
  border-top: 3px solid var(--accent);
}
.cta-band h2 { color: #fff; margin-bottom: 0.6rem; }
.cta-band p { color: #c3d1db; margin-bottom: 1.8rem; font-size: 1.02rem; }

/* Footer */
footer {
  background: var(--ink-900);
  color: #8fa3b0;
  padding: 2.8rem 0 1.6rem;
  font-size: 0.88rem;
}
footer .footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}
footer .logo { color: #fff; }
footer .footer-links { display: flex; gap: 1.8rem; flex-wrap: wrap; }
footer a { color: #a9bac5; }
footer a:hover { color: #fff; }
footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: #6c8291;
  font-size: 0.82rem;
}

/* Quote / testimonial */
blockquote {
  font-size: 1.15rem;
  font-style: normal;
  color: var(--ink-900);
  border-left: 3px solid var(--accent);
  padding: 0.3rem 0 0.3rem 1.6rem;
  margin: 1.8rem 0;
  font-weight: 500;
}
blockquote cite {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 0.7rem;
  font-style: normal;
}

/* Two-column content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.split h2 { text-align: left; }
.split-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }

/* Form */
form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
label { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-secondary); font-weight: 600; display: block; margin-bottom: 0.4rem; }
input, textarea, select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--surface);
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--steel-500);
}
.form-note { font-size: 0.82rem; color: var(--text-muted); }
.field { display: flex; flex-direction: column; }

.faq-item { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--ink-900); }
.faq-item p { color: var(--text-secondary); font-size: 0.93rem; }

.contact-detail { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-detail:last-child { border-bottom: none; }
.contact-detail .label { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; min-width: 110px; }
.contact-detail .value { color: var(--ink-900); font-weight: 500; }

.placeholder-note {
  background: #fff4ec;
  border: 1px dashed var(--accent);
  color: #8a4415;
  font-size: 0.82rem;
  padding: 0.5rem 0.8rem;
  border-radius: 3px;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  nav { display: none; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 0.5rem; }
  .trust-strip .container { justify-content: flex-start; }
  .topbar .container { font-size: 0.68rem; }
}
