/* ============================================================
   BIRENTI DORA-RACI Karte v3
   CI-Farben: dunkelblau (#0f1b3d), hellblau (#4b97c3), orange (#e39a1e)
   Corporate Sans-Serif — konsistent mit birenti.de + tools.birenti.de
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* BIRENTI-Palette */
  --brand-dark: #0f1b3d;
  --brand-deep: #0a1128;
  --brand-mid: #2a4369;
  --brand-navy: #1a2547;
  --brand-blue: #4b97c3;
  --brand-blue-light: #6ab7ff;
  --brand-btn: #4f74c8;
  --brand-orange: #e39a1e;
  --brand-orange-hover: #f5ae35;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f6f7f9;
  --gray-100: #eceef2;
  --gray-200: #dde1e8;
  --gray-300: #c5cbd4;
  --gray-500: #7a8296;
  --gray-700: #3f4557;
  --gray-900: #1a1e2b;

  /* RACI-Farben — bewahrt aus v2, an neue CI angepasst */
  --raci-r: #4b97c3;        /* Responsible — hellblau */
  --raci-a: #e39a1e;        /* Accountable — orange */
  --raci-c: #7a8296;        /* Consulted — grau */
  --raci-i: #a8b5c9;        /* Informed — hellgrau */

  /* Typo */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.75rem;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radius — sehr subtil, corporate */
  --radius-sm: 3px;
  --radius: 6px;
  --radius-lg: 10px;

  /* Layout */
  --container: 1200px;
  --container-wide: 1360px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15,27,61,0.06);
  --shadow: 0 4px 12px rgba(15,27,61,0.08);
  --shadow-lg: 0 12px 32px rgba(15,27,61,0.12);
}

/* ============================================================ RESET */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ============================================================ TYPO */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-dark);
  margin: 0;
  line-height: 1.15;
}
h1 { font-size: var(--text-5xl); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-lg); letter-spacing: -0.01em; }

p { margin: 0 0 var(--sp-4); }
.mono, code { font-family: var(--font-mono); font-size: 0.9em; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.section-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: var(--sp-3);
  display: block;
}

/* ============================================================ LAYOUT */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
section { padding: var(--sp-20) 0; }
.section-dark { background: var(--brand-dark); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark .eyebrow, .section-dark .section-eyebrow { color: var(--brand-blue-light); }
.section-gray { background: var(--gray-50); }

/* ============================================================ HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: saturate(1.1) blur(6px);
}
.site-header .container-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--brand-dark);
}
.brand-logo svg { width: 36px; height: 36px; }
.brand-logo-img { height: 40px; width: auto; display: block; }
.footer-brand-logo .brand-logo-img { height: 48px; }
@media (max-width: 640px) {
  .brand-logo-img { height: 32px; }
  .footer-brand-logo .brand-logo-img { height: 40px; }
}
.brand-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-logo-text .brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.brand-logo-text .brand-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--brand-mid);
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}
.site-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--brand-dark); }
.site-nav a.active { color: var(--brand-dark); font-weight: 600; }

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

/* ============================================================ BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-orange);
  color: var(--white);
  border-color: var(--brand-orange);
}
.btn-primary:hover { background: var(--brand-orange-hover); border-color: var(--brand-orange-hover); }
.btn-secondary {
  background: var(--brand-btn);
  color: var(--white);
  border-color: var(--brand-btn);
}
.btn-secondary:hover { background: #6789d4; border-color: #6789d4; }
.btn-outline {
  background: transparent;
  color: var(--brand-dark);
  border-color: var(--gray-300);
}
.btn-outline:hover { border-color: var(--brand-dark); background: var(--gray-50); }
.section-dark .btn-outline,
.hero .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.03);
}
.section-dark .btn-outline:hover,
.hero .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn-sm { padding: 0.45rem 0.85rem; font-size: var(--text-xs); }
.btn-icon {
  padding: 0.55rem;
  min-width: 38px;
  justify-content: center;
}

/* ============================================================ HERO */
.hero {
  background: linear-gradient(160deg, var(--brand-deep) 0%, var(--brand-dark) 50%, var(--brand-navy) 100%);
  color: var(--white);
  padding: var(--sp-24) 0 var(--sp-20);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 55%; height: 100%;
  background-image: radial-gradient(circle at 30% 40%, rgba(75,151,195,0.15) 0%, transparent 60%),
                    linear-gradient(115deg, transparent 50%, rgba(75,151,195,0.08) 100%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: 20%; right: 5%;
  width: 400px; height: 400px;
  background-image:
    linear-gradient(90deg, rgba(75,151,195,0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(75,151,195,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, black 30%, transparent 70%);
  pointer-events: none;
}
.hero .container-wide { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}
.hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  background: rgba(75,151,195,0.15);
  border: 1px solid rgba(75,151,195,0.35);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue-light);
  margin-bottom: var(--sp-6);
}
.hero-eyebrow-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-blue-light);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: var(--sp-6);
}
.hero h1 .accent { color: var(--brand-blue-light); }
.hero-lede {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--sp-8);
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}
.hero-meta {
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
}
.hero-meta span {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Hero-Visual: schematisches DORA-RACI-Grid */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin-left: auto;
}
.hero-visual svg { width: 100%; height: 100%; }

/* ============================================================ STATS BAND */
.stats-band {
  background: var(--brand-dark);
  padding: var(--sp-12) 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.stats-band .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.stat-value {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue-light);
  margin-top: var(--sp-2);
}
.stat-hint {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  margin-top: var(--sp-1);
}

/* ============================================================ SECTION HEADER (redaktionell, 2-Spalten auf breit) */
.section-header {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.35fr);
  gap: var(--sp-10);
  align-items: end;
  margin-bottom: var(--sp-10);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--gray-200);
}
.section-dark .section-header {
  border-bottom-color: rgba(255,255,255,0.12);
}
.section-header-title h2 {
  margin: var(--sp-2) 0 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-header-lede p {
  font-size: var(--text-base);
  color: var(--gray-700);
  line-height: 1.7;
  margin: 0;
}
.section-dark .section-header-lede p { color: rgba(255,255,255,0.72); }
@media (max-width: 900px) {
  .section-header {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
    align-items: start;
    padding-bottom: var(--sp-4);
    margin-bottom: var(--sp-8);
  }
}

/* ============================================================ RACI LEGEND */
.raci-legend {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-6);
}
.raci-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.35rem 0.75rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}
.raci-chip-badge {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
}
.raci-chip-badge.r { background: var(--raci-r); }
.raci-chip-badge.a { background: var(--raci-a); }
.raci-chip-badge.c { background: var(--raci-c); }
.raci-chip-badge.i { background: var(--raci-i); color: var(--brand-dark); }

/* Standard (light context) — im Rollen-Grid */
.raci-legend-light .raci-chip {
  background: var(--white);
  border-color: var(--gray-200);
  color: var(--gray-900);
}

/* ============================================================ CARDS: Rollen */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-5);
}
.role-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}
.role-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow);
}
.role-card[data-typ="human"] { --role-accent: var(--brand-blue); }
.role-card[data-typ="hybrid"] { --role-accent: var(--brand-orange); }
.role-card[data-typ="ki"] { --role-accent: #8b5cf6; }
.role-card[data-typ="gremium"] { --role-accent: var(--brand-dark); }

.role-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.role-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: -0.01em;
  flex: 1;
}
.role-typ-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}
.role-typ-badge.human { background: rgba(75,151,195,0.12); color: var(--brand-blue); }
.role-typ-badge.hybrid { background: rgba(227,154,30,0.12); color: var(--brand-orange); }
.role-typ-badge.ki { background: rgba(139,92,246,0.12); color: #8b5cf6; }

.role-desc {
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: 1.55;
  margin-bottom: var(--sp-4);
}
.role-attribute {
  display: flex;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  padding: var(--sp-2) 0;
  border-top: 1px dashed var(--gray-200);
}
.role-attribute-label {
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 10px;
  min-width: 90px;
  padding-top: 2px;
}
.role-attribute-value {
  color: var(--gray-900);
  line-height: 1.5;
  flex: 1;
}

/* ============================================================ MATRIX (nummeriert R1..Rn) */
.matrix-scroll {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.matrix-table thead th {
  background: var(--gray-50);
  color: var(--brand-dark);
  font-weight: 600;
  padding: var(--sp-3) var(--sp-2);
  text-align: center;
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-100);
  vertical-align: middle;
  position: sticky;
  top: 0;
}
.matrix-corner {
  text-align: left !important;
  padding-left: var(--sp-4) !important;
  min-width: 260px;
  text-transform: uppercase;
  font-size: 11px !important;
  color: var(--gray-500) !important;
  letter-spacing: 0.1em !important;
}
.matrix-col-head {
  width: 46px;
  min-width: 46px;
}
.matrix-col-code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-dark);
  letter-spacing: 0.02em;
}
.matrix-table tbody td {
  padding: var(--sp-3) var(--sp-2);
  border-bottom: 1px solid var(--gray-100);
  border-right: 1px solid var(--gray-100);
  text-align: center;
  vertical-align: middle;
}
.matrix-row-head {
  text-align: left !important;
  padding: var(--sp-3) var(--sp-4) !important;
  background: var(--white);
  position: sticky;
  left: 0;
  z-index: 1;
  border-right: 1px solid var(--gray-200) !important;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 260px;
}
.matrix-row-code {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.06em;
}
.matrix-row-name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--brand-dark);
  line-height: 1.35;
}
.matrix-table tbody tr:hover td {
  background: rgba(75,151,195,0.04);
}
.matrix-table tbody tr:hover .matrix-row-head {
  background: rgba(75,151,195,0.06);
}
.raci-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
}
.raci-badge.r { background: var(--raci-r); }
.raci-badge.a { background: var(--raci-a); }
.raci-badge.c { background: var(--raci-c); }
.raci-badge.i { background: var(--raci-i); color: var(--brand-dark); }

/* ============================================================ MATRIX LEGEND */
.matrix-legend {
  margin-top: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: var(--sp-6);
}
.matrix-legend-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: var(--sp-4);
}
.matrix-legend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-6);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--gray-100);
}
.matrix-legend-group-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-2);
  padding-bottom: var(--sp-2);
  border-bottom: 1px dashed var(--gray-200);
}
.matrix-legend-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.matrix-legend-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--sp-3);
  padding: var(--sp-1) 0;
  align-items: baseline;
}
.matrix-legend-code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-blue);
}
.matrix-legend-group[data-typ="hybrid"] .matrix-legend-code { color: var(--brand-orange); }
.matrix-legend-group[data-typ="ki"] .matrix-legend-code { color: #8b5cf6; }
.matrix-legend-group[data-typ="gremium"] .matrix-legend-code { color: var(--brand-dark); }
.matrix-legend-name {
  font-size: var(--text-sm);
  color: var(--gray-900);
  line-height: 1.4;
}
.matrix-legend-raci {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  font-size: var(--text-sm);
  color: var(--gray-700);
}
.matrix-legend-raci > span {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

/* ============================================================ PROZESS-CARDS (2-Spalten redaktionell) */
.processes-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.process-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.process-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
}
.process-card-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-5);
  align-items: baseline;
  padding-bottom: var(--sp-5);
  margin-bottom: var(--sp-6);
  border-bottom: 1px solid var(--gray-100);
}
.process-number {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.06em;
  padding-top: 4px;
}
.process-heading {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.process-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}
.process-domain {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.process-body {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(280px, 1fr);
  gap: var(--sp-10);
  align-items: start;
}
.process-desc {
  font-size: var(--text-base);
  color: var(--gray-800);
  line-height: 1.7;
  margin: 0 0 var(--sp-5);
}
.process-ki-delegation {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-5);
  border-left: 2px solid var(--brand-blue);
}
.process-ki-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: var(--sp-2);
}
.process-ki-delegation p {
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: 1.65;
  margin: 0;
}
.process-dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-dl-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--sp-4);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: baseline;
}
.process-dl-row:first-child { padding-top: 0; }
.process-dl-row:last-child { border-bottom: none; padding-bottom: 0; }
.process-dl-row dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 0;
}
.process-dl-row dd {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--gray-900);
  line-height: 1.55;
}
.dl-chip {
  display: inline-block;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 12px;
  color: var(--gray-800);
  margin: 2px 4px 2px 0;
  line-height: 1.35;
}
.process-refs {
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px dashed var(--gray-200);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-500);
  line-height: 1.7;
  letter-spacing: 0.01em;
}
@media (max-width: 900px) {
  .process-card { padding: var(--sp-6); }
  .process-body { grid-template-columns: 1fr; gap: var(--sp-6); }
  .process-dl-row { grid-template-columns: 1fr; gap: var(--sp-1); padding: var(--sp-2) 0; }
  .process-dl-row dt { font-size: 10px; }
  .matrix-legend-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .process-title {
    font-size: var(--text-xl);
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }
  .process-card-header { grid-template-columns: 1fr; gap: var(--sp-2); }
  .process-number { padding-top: 0; }
}

/* ============================================================ KI-AGENTEN */
.ki-intro {
  background: var(--brand-dark);
  color: var(--white);
  padding: var(--sp-8) var(--sp-8);
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-10);
  position: relative;
  overflow: hidden;
}
.ki-intro::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 320px; height: 100%;
  background-image:
    linear-gradient(90deg, rgba(75,151,195,0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(75,151,195,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, transparent, black);
  -webkit-mask-image: linear-gradient(90deg, transparent, black);
  pointer-events: none;
}
.ki-intro-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.ki-intro-content h3 {
  color: var(--white);
  margin-bottom: var(--sp-3);
}
.ki-intro-content p {
  color: rgba(255,255,255,0.8);
  font-size: var(--text-base);
  line-height: 1.65;
}
.ki-prinzip {
  margin-top: var(--sp-6);
  padding: var(--sp-4) var(--sp-5);
  background: rgba(227,154,30,0.12);
  border-left: 3px solid var(--brand-orange);
  border-radius: var(--radius);
}
.ki-prinzip strong { color: var(--brand-orange-hover); }

.ki-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}
.ki-control-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  position: relative;
}
.ki-control-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: rgba(75,151,195,0.12);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 14px;
}
.ki-control-card h4 {
  font-size: var(--text-base);
  margin-bottom: var(--sp-2);
}
.ki-control-card p {
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: 1.55;
  margin: 0;
}
.ki-control-ref {
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px dashed var(--gray-200);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-500);
}

.ki-agents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-10);
  max-width: 1200px;
}
@media (max-width: 900px) {
  .ki-agents-grid { grid-template-columns: 1fr; }
}
.ki-agent-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  position: relative;
  border-top: 3px solid var(--gray-300);
}
.ki-agent-card[data-typ="orchestrator"] { border-top-color: var(--brand-blue); }
.ki-agent-card[data-typ="reasoning"] { border-top-color: var(--brand-orange); }
.ki-agent-card[data-typ="recherche"] { border-top-color: #7a8b5e; }
.ki-agent-card[data-typ="multimodal"] { border-top-color: #8b5cf6; }

.ki-agent-typ {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: var(--sp-2);
}
.ki-agent-name {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: var(--sp-4);
  letter-spacing: -0.015em;
}
.ki-agent-section {
  padding: var(--sp-3) 0;
  border-top: 1px dashed var(--gray-200);
}
.ki-agent-section:first-of-type { border-top: 0; padding-top: 0; }
.ki-agent-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: var(--sp-2);
}
.ki-agent-value {
  font-size: var(--text-sm);
  color: var(--gray-900);
  line-height: 1.55;
}
.ki-agent-owner {
  font-weight: 600;
  color: var(--brand-dark);
}
.ki-agent-list {
  margin: 0;
  padding-left: var(--sp-5);
  font-size: var(--text-sm);
  color: var(--gray-900);
  line-height: 1.6;
}
.ki-agent-list li { margin-bottom: var(--sp-1); }
.ki-agent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.ki-agent-chip {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  color: var(--gray-700);
}
.ki-agent-chip.control-active {
  background: rgba(75,151,195,0.12);
  color: var(--brand-blue);
  font-weight: 600;
}
.ki-agent-grenze {
  padding: var(--sp-3);
  background: rgba(227,154,30,0.08);
  border-left: 3px solid var(--brand-orange);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--gray-900);
  line-height: 1.55;
}
.ki-agent-ref {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-500);
  line-height: 1.6;
}

.subsection-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--sp-6);
  color: var(--white);
}
.dritt-intro {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-base);
  margin-bottom: var(--sp-6);
  max-width: 720px;
}
.dritt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-4);
}
.dritt-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}
.dritt-index {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--brand-blue-light);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-2);
}
.dritt-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.01em;
}
.dritt-body {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: var(--sp-3);
}
.dritt-ref {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(75,151,195,0.9);
  padding-top: var(--sp-3);
  border-top: 1px dashed rgba(255,255,255,0.1);
}

/* ============================================================ HINWEISE */
.hinweise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-4);
}
.hinweis-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  border-left: 3px solid var(--brand-blue);
}
.hinweis-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: var(--sp-2);
}
.hinweis-body {
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: var(--sp-3);
}
.hinweis-ref {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-500);
}

/* ============================================================ FOOTER */
.site-footer {
  background: var(--brand-deep);
  color: rgba(255,255,255,0.7);
  padding: var(--sp-16) 0 var(--sp-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}
.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  max-width: 380px;
  margin-top: var(--sp-4);
}
.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue-light);
  margin-bottom: var(--sp-4);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.footer-col a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--brand-blue-light); }
.footer-bottom {
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}

/* ============================================================ RESPONSIVE */
@media (max-width: 900px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.85rem; }
  section { padding: var(--sp-12) 0; }
  .hero { padding: var(--sp-16) 0 var(--sp-12); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-10); }
  .hero-visual { display: none; }
  .stats-band .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
  .stat-value { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .site-nav { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container, .container-wide { padding: 0 var(--sp-4); }
  .header-cta .btn:not(.btn-icon) { display: none; }
  .hero-eyebrow-pill { font-size: 10px; }
  .hero h1 { font-size: 2rem; }
  .stats-band .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 1.75rem; }
}

/* ============================================================ CTA — Karte zuschneiden */
.cta-section {
  padding: var(--sp-16) 0;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-10);
  align-items: center;
}
.cta-content h2 {
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-4);
  color: var(--white);
  max-width: 640px;
}
.cta-content p {
  color: rgba(255,255,255,0.78);
  font-size: var(--text-base);
  line-height: 1.65;
  max-width: 640px;
  margin: 0;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: stretch;
  min-width: 220px;
}
.cta-actions .btn {
  justify-content: center;
  white-space: nowrap;
}
.cta-section .btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.cta-section .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .cta-actions { flex-direction: column; }
}

/* Print / PDF */
@media print {
  .site-header, .site-footer, .hero-actions, .btn, .cta-section { display: none !important; }
  body { background: white; }
  section, .hero { padding: 20px 0 !important; break-inside: avoid; }
  .hero { background: white !important; color: var(--brand-dark) !important; }
  .hero h1, .hero .accent { color: var(--brand-dark) !important; }
  .hero-lede { color: var(--gray-700) !important; }
  .ki-intro { background: var(--gray-100) !important; color: var(--gray-900) !important; }
  .ki-intro h3, .ki-intro p { color: var(--gray-900) !important; }
  .section-dark { background: white !important; color: var(--gray-900) !important; }
  .section-dark h2, .section-dark h3, .subsection-title { color: var(--brand-dark) !important; }
  .role-card, .process-card, .ki-agent-card, .hinweis-card, .ki-control-card {
    break-inside: avoid;
    box-shadow: none !important;
    border-color: #ccc !important;
  }
  .dritt-card { background: var(--gray-100) !important; color: var(--gray-900) !important; }
  .dritt-title, .subsection-title { color: var(--brand-dark) !important; }
  .dritt-body { color: var(--gray-900) !important; }
  .dritt-ref { color: var(--gray-500) !important; }
}
