/* ============================================================
   BENTENKAMP — Industrial Intelligence
   Design System v2 · Editorial / Technical / "Open File"
   ============================================================ */

:root {
  --ink: #14130f;
  --ink-2: #1c1b16;
  --paper: #f4f2ec;
  --sand: #eae7dd;
  --sand-2: #e2ded2;
  --signal: #00c853;
  --signal-ink: #00a344;
  --steel: #6f6c61;
  --steel-2: #8b887c;
  --line: #d8d4c6;
  --line-ink: #2c2b25;
  --alert: #c8462c;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 9vw, 128px);
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--signal); color: var(--ink); }

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--signal); color: var(--ink);
  padding: 10px 16px; z-index: 200; font-family: var(--font-mono); font-size: 12px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Typografie ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--signal);
  margin-right: 10px;
}
.eyebrow-light { color: var(--steel-2); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.display-xl {
  font-size: clamp(40px, 6.4vw, 84px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.98;
}
.display-lg {
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 850;
  letter-spacing: -0.015em;
}
.display-md {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
}
.lead {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
  color: var(--ink);
  max-width: 62ch;
}
.lead-dim { color: var(--steel); }
.mono { font-family: var(--font-mono); }

/* ---------- Layout ---------- */

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section-tight { padding-top: calc(var(--section-y) * 0.6); padding-bottom: calc(var(--section-y) * 0.6); }
.theme-ink { background: var(--ink); color: var(--paper); }
.theme-ink .lead { color: var(--paper); }
.theme-ink .eyebrow { color: var(--steel-2); }
.theme-sand { background: var(--sand); }
.theme-line { border-top: 1px solid var(--line); }

.section-head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center .lead { margin-left: auto; margin-right: auto; }
.section-head .lead { margin-top: 20px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cell-paper { background: var(--paper); padding: clamp(22px, 3vw, 36px); }
.theme-ink .cell-paper { background: var(--ink); }
.theme-ink .grid-2, .theme-ink .grid-3, .theme-ink .grid-4 { background: var(--line-ink); border-color: var(--line-ink); }
.theme-ink .cell-paper { border-color: var(--line-ink); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 14px 26px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn::after { content: "→"; font-family: var(--font-body); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.btn-signal { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.btn-signal:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-ghost-light:hover { background: var(--paper); color: var(--ink); }
.btn-nav { padding: 10px 18px; }

.text-link {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-bottom: 2px solid var(--signal);
  padding-bottom: 3px;
  transition: background 0.15s ease;
}
.text-link:hover { background: var(--signal); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: stretch; height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  padding-right: 24px;
  border-right: 1px solid var(--line);
}
.brand-mark {
  width: 30px; height: 30px;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 17px;
  position: relative; flex: none;
}
.brand-mark::after {
  content: ""; position: absolute; top: 3px; right: 3px;
  width: 6px; height: 6px; background: var(--signal);
}
.brand-word { font-family: var(--font-display); font-weight: 900; font-size: 17px; letter-spacing: 0.04em; }
.brand-dot { color: var(--signal); }
.brand-division {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--steel);
  border: 1px solid var(--line); padding: 3px 7px;
}
.main-nav { display: flex; align-items: stretch; flex: 1; }
.nav-item { display: flex; align-items: stretch; position: relative; }
.nav-link {
  display: flex; align-items: center;
  padding: 0 16px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(20, 19, 15, 0.78);
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-link:hover { color: var(--ink); border-bottom-color: var(--signal); }
.nav-item.is-current > .nav-link { color: var(--ink); border-bottom-color: var(--signal); font-weight: 700; }

/* Mega-Menü */
.has-mega .mega {
  position: absolute; left: 0; top: 100%;
  width: 720px;
  background: var(--paper);
  border: 1px solid var(--line); border-top: 2px solid var(--signal);
  box-shadow: 0 24px 48px rgba(20, 19, 15, 0.14);
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.has-mega .mega-small { width: 380px; }
.has-mega:hover .mega,
.has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.mega-grid.single { grid-template-columns: 1fr; }
.mega-item {
  display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto;
  column-gap: 10px;
  background: var(--paper); padding: 13px 16px;
  transition: background 0.13s ease;
}
.mega-item:hover { background: var(--sand); }
.mega-num { grid-row: 1 / 3; font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: var(--signal-ink); padding-top: 3px; }
.mega-name { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.mega-item:hover .mega-name { color: var(--signal-ink); }
.mega-desc { font-size: 11.5px; color: var(--steel); line-height: 1.4; margin-top: 2px; }
.mega-foot {
  display: flex; gap: 24px; padding: 10px 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.mega-foot a { color: var(--steel); }
.mega-foot a:hover { color: var(--signal-ink); }

.header-actions { display: flex; align-items: center; gap: 12px; padding-left: 20px; border-left: 1px solid var(--line); }
.icon-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line);
  cursor: pointer; color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 16px; height: 16px; }
.lang-switch { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; }
.lang { color: var(--steel); font-weight: 500; }
.lang.is-active { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--signal); }
.lang-sep { color: var(--line); }
.nav-burger { display: none; }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed; inset: 64px 0 0 0; z-index: 95;
  background: var(--paper);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.24s ease;
  border-top: 1px solid var(--line);
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-nav { padding: 20px var(--gutter) 60px; }
.mobile-link {
  display: block; padding: 14px 0;
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  border-bottom: 1px solid var(--line);
}
.mobile-sub { padding: 6px 0 10px 16px; border-bottom: 1px solid var(--line); }
.mobile-sub a { display: block; padding: 7px 0; font-size: 14px; color: var(--steel); }
.mobile-sub a:hover { color: var(--signal-ink); }
.mobile-cta { color: var(--signal-ink); }
.mobile-lang { padding-top: 24px; font-family: var(--font-mono); font-size: 13px; display: flex; gap: 8px; }

/* Suche */
.search-overlay {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(20, 19, 15, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  padding: 10vh var(--gutter) 0;
}
.search-overlay.is-open { display: block; }
.search-box {
  max-width: 720px; margin: 0 auto;
  background: var(--paper); border-top: 3px solid var(--signal);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}
.search-row { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.search-icon { width: 18px; height: 18px; flex: none; color: var(--steel); }
#searchInput {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-family: var(--font-body); font-size: 18px; color: var(--ink);
}
.search-results { max-height: 50vh; overflow-y: auto; }
.search-result { display: block; padding: 13px 20px; border-bottom: 1px solid var(--line); }
.search-result:hover { background: var(--sand); }
.search-result-kind { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal-ink); }
.search-result-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-top: 3px; }
.search-result-desc { font-size: 12.5px; color: var(--steel); margin-top: 2px; }
.search-hint { padding: 12px 20px; font-size: 12px; color: var(--steel); font-family: var(--font-mono); }
.search-empty { padding: 24px 20px; color: var(--steel); font-size: 14px; }

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

.hero {
  background: var(--ink); color: var(--paper);
  padding: clamp(64px, 9vw, 130px) 0 clamp(56px, 7vw, 96px);
  position: relative; overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, var(--ink) 0%, rgba(20, 19, 15, 0.55) 45%, rgba(20, 19, 15, 0.35) 100%);
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(244, 242, 236, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 236, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 3; }
@media (prefers-reduced-motion: reduce) {
  .hero-media { display: none; }
}
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--signal);
  display: flex; align-items: center; gap: 12px; margin-bottom: 28px;
}
.hero-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--signal); }
.hero-title {
  font-size: clamp(42px, 7vw, 96px);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.02em; line-height: 0.96;
  max-width: 15ch;
}
.hero-title .accent { color: var(--signal); }
.hero-sub { margin-top: 30px; max-width: 60ch; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: rgba(244, 242, 236, 0.82); }
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-strip {
  margin-top: clamp(44px, 6vw, 72px);
  border-top: 1px solid var(--line-ink);
  padding-top: 26px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.hero-stat-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(26px, 3vw, 40px); color: var(--signal); line-height: 1; }
.hero-stat-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-2); margin-top: 8px; line-height: 1.5; }

/* Page Hero (Unterseiten) */
.page-hero { background: var(--ink); color: var(--paper); padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 72px); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(244,242,236,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(244,242,236,0.04) 1px, transparent 1px);
  background-size: 56px 56px; pointer-events: none;
}
.page-hero-inner { position: relative; }
.page-hero .display-lg { max-width: 22ch; }
.page-hero .lead { margin-top: 22px; color: rgba(244, 242, 236, 0.82); }
.breadcrumb { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-2); margin-bottom: 26px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--signal); }
.breadcrumb .sep { color: var(--line-ink); }
.hero-meta { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 30px; }
.hero-meta-item { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-2); }
.hero-meta-item strong { color: var(--paper); font-weight: 700; display: block; margin-bottom: 4px; }

/* ---------- Karten / Listen ---------- */

.cap-card { background: var(--paper); border: 1px solid var(--line); padding: clamp(20px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 14px; position: relative; transition: border-color 0.15s ease; height: 100%; }
.cap-card:hover { border-color: var(--ink); }
.cap-num { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--signal-ink); letter-spacing: 0.14em; }
.cap-name { font-family: var(--font-display); font-size: 19px; font-weight: 800; line-height: 1.2; }
.cap-name a:hover { color: var(--signal-ink); }
.cap-desc { font-size: 13.5px; color: var(--steel); line-height: 1.6; flex: 1; }
.cap-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--line); padding: 3px 8px; color: var(--steel); }
.cap-link { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin-top: 4px; }
.cap-card:hover .cap-link { color: var(--signal-ink); }
.cap-card.is-dark { background: var(--ink); border-color: var(--line-ink); color: var(--paper); }
.cap-card.is-dark .cap-desc { color: var(--steel-2); }
.cap-card.is-dark .cap-link { color: var(--paper); }
.cap-card.is-dark:hover { border-color: var(--signal); }
.cap-card.is-dark:hover .cap-link { color: var(--signal); }

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

/* Nummerierte Zeilen (Prozess etc.) */
.steps { counter-reset: step; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 90px 220px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.step-num { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--signal-ink); }
.step-title { font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.step-body { color: var(--steel); font-size: 15px; max-width: 64ch; }
.theme-ink .steps, .theme-ink .step { border-color: var(--line-ink); }
.theme-ink .step-body { color: var(--steel-2); }

/* Stats */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-ink); border: 1px solid var(--line-ink); }
.stat-cell { background: var(--ink); padding: clamp(22px, 3vw, 36px); }
.stat-value { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 46px); font-weight: 900; color: var(--signal); line-height: 1; }
.stat-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-2); margin-top: 10px; line-height: 1.55; }
.stat-note { border-top: 1px solid var(--line-ink); padding: 12px 4px 0; margin-top: 14px; font-size: 11.5px; color: var(--steel-2); }

/* Feature-Liste */
.check-list li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 12px; height: 7px; border-left: 2.5px solid var(--signal-ink); border-bottom: 2.5px solid var(--signal-ink); transform: rotate(-45deg); }
.check-list li:last-child { border-bottom: 0; }
.theme-ink .check-list li { border-color: var(--line-ink); }

.cross-list li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.cross-list li::before { content: "×"; position: absolute; left: 2px; top: 6px; font-size: 20px; font-weight: 700; color: var(--alert); }

/* Daten-Tabellen */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; text-align: left;
  color: var(--steel); padding: 12px 14px;
  border-bottom: 2px solid var(--ink);
}
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tr:hover td { background: var(--sand); }
.data-table .num { font-family: var(--font-mono); font-size: 13px; }
.data-table .strong { font-weight: 600; }
.theme-ink .data-table th { color: var(--steel-2); border-bottom-color: var(--paper); }
.theme-ink .data-table td { border-color: var(--line-ink); }
.theme-ink .data-table tr:hover td { background: var(--ink-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.theme-ink .table-wrap { border-color: var(--line-ink); }

/* Key-Insight-Box */
.insight-box {
  background: var(--ink); color: var(--paper);
  border-left: 4px solid var(--signal);
  padding: clamp(24px, 3.4vw, 44px);
  margin: clamp(28px, 4vw, 44px) 0;
}
.insight-label { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--signal); margin-bottom: 14px; }
.insight-text { font-family: var(--font-display); font-size: clamp(18px, 2vw, 24px); font-weight: 700; line-height: 1.4; }

/* Info- / Warnboxen */
.note-box { border: 1px solid var(--line); border-left: 4px solid var(--steel); padding: 18px 22px; margin: 24px 0; font-size: 14.5px; background: var(--paper); }
.note-box strong { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.note-box-note { border-left-color: var(--signal-ink); }
.note-box-warn { border-left-color: var(--alert); }

/* Artikel (Prose) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 48px 0 18px; padding-top: 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 32px 0 12px; }
.prose p { margin-bottom: 18px; font-size: 16.5px; line-height: 1.75; color: #2e2d28; }
.prose ul { margin: 0 0 18px; }
.prose ul li { padding: 6px 0 6px 26px; position: relative; font-size: 15.5px; line-height: 1.65; color: #2e2d28; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 9px; height: 9px; background: var(--signal); }
.prose ol { margin: 0 0 18px 22px; list-style: decimal; }
.prose ol li { padding: 5px 0; font-size: 15.5px; line-height: 1.65; color: #2e2d28; }
.prose blockquote { border-left: 3px solid var(--signal); padding: 6px 0 6px 22px; margin: 26px 0; font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.5; }
.prose a { text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 3px; }
.prose a:hover { background: var(--signal); }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.prose table th { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--ink); }
.prose table td { padding: 10px 12px; border-bottom: 1px solid var(--line); }

/* Takeaways */
.takeaways { border: 1px solid var(--line); margin: 40px 0; }
.takeaways-head { background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 12px 20px; }
.takeaways ul { padding: 8px 20px; }
.takeaways li { padding: 12px 0 12px 30px; position: relative; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.takeaways li:last-child { border-bottom: 0; }
.takeaways li::before { content: "→"; position: absolute; left: 0; color: var(--signal-ink); font-weight: 700; }

/* Quellen */
.source-list { margin-top: 40px; border-top: 2px solid var(--ink); padding-top: 20px; }
.source-list h3 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); margin-bottom: 14px; }
.source-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; display: flex; gap: 14px; justify-content: space-between; flex-wrap: wrap; }
.source-kind { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); white-space: nowrap; }
.source-list a { text-decoration: underline; text-underline-offset: 3px; }
.source-list a:hover { background: var(--signal); }

/* Artikel-Metabar */
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.meta-chip { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--line-ink); color: var(--steel-2); padding: 5px 10px; }

/* Analyse-Liste (MI-Hub etc.) */
.post-list { border-top: 1px solid var(--line); }
.post-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.post-date { font-family: var(--font-mono); font-size: 11px; color: var(--steel); line-height: 1.6; }
.post-date .post-num { display: block; font-size: 22px; font-weight: 700; color: var(--ink); }
.post-cats { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal-ink); margin-bottom: 10px; }
.post-title { font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 25px); font-weight: 800; line-height: 1.25; }
.post-title a:hover { color: var(--signal-ink); }
.post-dek { margin-top: 10px; color: var(--steel); font-size: 14.5px; max-width: 68ch; }
.post-source { margin-top: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-2); }
.post-arrow { font-family: var(--font-mono); font-size: 20px; color: var(--steel); padding-top: 6px; }
.post-item:hover .post-arrow { color: var(--signal-ink); }

/* FAQ / Accordion */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 20px 0;
  font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink);
}
.acc-button .acc-icon { font-family: var(--font-mono); font-size: 18px; color: var(--signal-ink); transition: transform 0.2s ease; flex: none; }
.acc-item.is-open .acc-icon { transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.acc-content { padding: 0 0 22px; color: var(--steel); font-size: 15px; max-width: 75ch; line-height: 1.7; }

/* CTA-Band */
.cta-band { background: var(--ink); color: var(--paper); padding: clamp(48px, 7vw, 88px) 0; border-top: 3px solid var(--signal); }
.cta-band-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 44px); max-width: 20ch; }
.cta-band p { margin-top: 14px; color: var(--steel-2); max-width: 58ch; }

/* Split (Text + Box) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.sticky-side { position: sticky; top: 96px; }

/* Fact-Sheet (Kompetenz-Seiten) */
.fact-sheet { border: 1px solid var(--line); background: var(--paper); }
.fact-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.fact-row:last-child { border-bottom: 0; }
.fact-key { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); padding-top: 3px; }

/* Inhaltsverzeichnis */
.toc { border-left: 2px solid var(--line); }
.toc a { display: block; padding: 8px 0 8px 18px; font-size: 13.5px; color: var(--steel); border-left: 2px solid transparent; margin-left: -2px; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--signal); }

/* Badges / Labels */
.badge { display: inline-block; font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 9px; background: var(--signal); color: var(--ink); }
.badge-outline { background: transparent; border: 1px solid var(--line); color: var(--steel); }

/* Filter */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filter-btn {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--line); background: transparent; color: var(--steel);
  padding: 8px 14px; cursor: pointer; transition: all 0.14s ease;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* Charts (SVG) */
.chart { margin: 28px 0; }
.chart-title { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.chart-sub { font-size: 12.5px; color: var(--steel); margin-bottom: 16px; }
.chart-frame { border: 1px solid var(--line); background: var(--paper); padding: 20px; }
.chart-note { font-size: 11.5px; color: var(--steel); margin-top: 10px; font-family: var(--font-mono); line-height: 1.6; }
.chart-bar-label { font-family: var(--font-mono); font-size: 10px; fill: var(--steel); }
.chart-bar-value { font-family: var(--font-mono); font-size: 11px; font-weight: 700; fill: var(--ink); }
.chart-axis { font-family: var(--font-mono); font-size: 9.5px; fill: var(--steel-2); }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); }
.footer-cta { padding: clamp(56px, 8vw, 100px) var(--gutter); max-width: var(--container); margin: 0 auto; border-bottom: 1px solid var(--line-ink); }
.footer-cta-title { font-size: clamp(30px, 4.4vw, 54px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.015em; max-width: 18ch; }
.footer-cta-text { margin: 18px 0 30px; color: var(--steel-2); max-width: 62ch; font-size: 16px; }
.footer-grid {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) var(--gutter);
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.6fr; gap: 40px;
}
.footer-logo { font-family: var(--font-display); font-weight: 900; font-size: 24px; letter-spacing: 0.03em; }
.footer-claim { margin-top: 16px; font-size: 13.5px; color: var(--steel-2); max-width: 34ch; line-height: 1.7; }
.footer-motto { margin-top: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--signal); line-height: 1.8; }
.footer-mail { display: inline-block; margin-top: 18px; font-family: var(--font-mono); font-size: 13px; border-bottom: 2px solid var(--signal); padding-bottom: 3px; }
.footer-mail:hover { background: var(--signal); color: var(--ink); }
.footer-col h3 { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel-2); margin-bottom: 18px; }
.footer-col a { display: block; padding: 6px 0; font-size: 13.5px; color: rgba(244, 242, 236, 0.85); }
.footer-col a:hover { color: var(--signal); }
.footer-col p { font-size: 13px; color: var(--steel-2); line-height: 1.65; margin-bottom: 14px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1; min-width: 0; background: var(--ink-2); border: 1px solid var(--line-ink);
  color: var(--paper); padding: 12px 14px; font-family: var(--font-mono); font-size: 12px; outline: none;
}
.newsletter-form input:focus { border-color: var(--signal); }
.newsletter-form .btn { padding: 12px 18px; background: var(--signal); border-color: var(--signal); color: var(--ink); }
.newsletter-form .btn:hover { background: var(--paper); border-color: var(--paper); }
.newsletter-note { font-size: 11px; color: var(--steel-2); margin-top: 10px; font-family: var(--font-mono); }
.footer-bottom {
  max-width: var(--container); margin: 0 auto;
  padding: 22px var(--gutter) 34px;
  border-top: 1px solid var(--line-ink);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--steel-2);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: var(--signal); }

/* Utility */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-3 { margin-bottom: 40px; }
.text-steel { color: var(--steel); }
.small { font-size: 13px; }
.center { text-align: center; }
.reveal > * { opacity: 1; }

/* Zwei-Spalten Editorial */
.editorial-cols { columns: 2; column-gap: 48px; }
.editorial-cols p { break-inside: avoid; }

/* Industries */
.industry-card { border: 1px solid var(--line); padding: clamp(22px, 3vw, 34px); background: var(--paper); height: 100%; display: flex; flex-direction: column; gap: 14px; }
.industry-card h3 { font-size: 21px; }
.industry-card .cap-num { color: var(--signal-ink); }
.industry-facts { margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 8px; }
.industry-facts div { display: flex; justify-content: space-between; gap: 14px; font-size: 12.5px; }
.industry-facts dt { color: var(--steel); }
.industry-facts dd { font-family: var(--font-mono); font-size: 11.5px; text-align: right; }

/* Kontaktformular */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--line); background: var(--paper);
  padding: 13px 15px; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  outline: none; transition: border-color 0.15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--signal-ink); }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12px; color: var(--steel); font-family: var(--font-mono); line-height: 1.6; }
.form-success { display: none; border: 1px solid var(--signal-ink); background: rgba(0, 200, 83, 0.08); padding: 24px; margin-top: 20px; }
.form-success.is-visible { display: block; }
.form-success strong { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal-ink); display: block; margin-bottom: 8px; }

/* Case-Metablock */
.case-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-ink); border: 1px solid var(--line-ink); margin: 34px 0; }
.case-meta-cell { background: var(--ink); color: var(--paper); padding: 18px 20px; }
.case-meta-cell .k { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-2); }
.case-meta-cell .v { font-family: var(--font-display); font-weight: 800; font-size: 19px; margin-top: 6px; }

/* Timeline (Projektverlauf) */
.timeline { border-left: 2px solid var(--line); margin-left: 8px; }
.timeline-item { position: relative; padding: 0 0 28px 28px; }
.timeline-item::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; background: var(--signal); }
.timeline-item .t-date { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal-ink); }
.timeline-item h4 { font-size: 16.5px; margin: 6px 0 6px; }
.timeline-item p { font-size: 14px; color: var(--steel); max-width: 68ch; }

/* Quote / Princip */
.principle { border: 1px solid var(--line-ink); background: var(--ink-2); color: var(--paper); padding: clamp(22px, 3vw, 34px); height: 100%; }
.principle .p-num { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--signal); letter-spacing: 0.16em; }
.principle h3 { font-size: 19px; margin: 12px 0 10px; }
.principle p { font-size: 13.5px; color: var(--steel-2); line-height: 1.65; }

/* Print */
@media print {
  .site-header, .site-footer, .search-overlay, .mobile-drawer, .cta-band, .skip-link { display: none !important; }
  body { background: #fff; }
}

/* Responsive */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .nav-burger { display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand-division { display: none; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .step { grid-template-columns: 60px 1fr; }
  .step-body { grid-column: 2; }
}
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split-1-2 { grid-template-columns: 1fr; }
  .sticky-side { position: static; }
  .hero-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .case-meta { grid-template-columns: repeat(2, 1fr); }
  .cta-band-inner { grid-template-columns: 1fr; }
  .post-item { grid-template-columns: 1fr; gap: 10px; }
  .post-arrow { display: none; }
  .editorial-cols { columns: 1; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .card-grid, .card-grid-2, .card-grid-4 { grid-template-columns: 1fr; }
  .btn-nav { display: none; }
  .hero-title { max-width: 100%; font-size: clamp(30px, 8vw, 40px); overflow-wrap: normal; hyphens: none; }
  .hero-strip { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-actions .lang-switch { display: none; }
  .newsletter-form { flex-direction: column; }
}
