/* CE-Doc — gemeinsame Styles für alle Unterseiten */
:root {
  --c-text: #0f1923;
  --c-muted: #475260;
  --c-line: #c5cdd6;
  --c-soft: #eef2f7;
  --c-accent: #1e5a8a;
  --c-accent-soft: #e0ecf6;
  --c-accent-dark: #0e3a62;
  --c-warn: #b04210;
  --c-ok: #15672f;
  --c-bg: #fafbfc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--c-text);
  line-height: 1.55;
  margin: 0;
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--c-accent); line-height: 1.25; }
h1 { font-size: 2.4em; margin: 0 0 .3em; letter-spacing: -0.01em; }
h2 { font-size: 1.9em; margin: 0 0 .6em; letter-spacing: -0.005em; }
h3 { font-size: 1.25em; margin: 1.5em 0 .5em; }
.lead { font-size: 1.12em; }
.subtitle { font-size: 1.15em; color: var(--c-muted); margin: 0 0 1.5em; font-weight: 400; }

section.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 60px 60px;
  background: #ffffff;
  border-bottom: 1px solid var(--c-line);
}
section.page:nth-of-type(even) { background: #fbfcfd; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
  padding: 14px 24px; z-index: 50;
  font-size: 0.92em;
  display: flex; align-items: center; gap: 28px;
}
.nav .brand { display: flex; align-items: center; gap: 10px; color: var(--c-accent); font-weight: 700; }
.nav .brand-mark {
  width: 30px; height: 30px; border-radius: 6px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 0.78em; font-weight: 700; letter-spacing: 0.04em;
}
.nav-links { display: flex; gap: 22px; flex: 1; }
.nav-links a { color: var(--c-text); font-weight: 500; }
.nav-links a:hover { color: var(--c-accent); text-decoration: none; }
.nav-links a.active { color: var(--c-accent); font-weight: 600; }
.nav .cta {
  padding: 8px 16px; border-radius: 5px;
  background: var(--c-accent); color: #fff !important;
  font-weight: 600;
}
.nav .cta:hover { background: var(--c-accent-dark); text-decoration: none; }

/* ── Cover ── */
.cover {
  background: linear-gradient(135deg, #1e5a8a 0%, #143b5e 100%);
  color: #fff;
  text-align: center;
  padding: 70px 60px 60px;
  position: relative; overflow: hidden;
  max-width: none;
}
.cover::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.cover > * { position: relative; z-index: 1; }
.cover-inner { max-width: 1100px; margin: 0 auto; }

.cover .eyebrow {
  font-size: 0.85em; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; font-weight: 700; margin: 0 0 1.2em; opacity: 0.92;
}
.cover .brand-row {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-bottom: 0.4em;
}
.cover .brand-logo {
  width: 78px; height: 78px; border-radius: 14px;
  background: #fff; color: var(--c-accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.7em; letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.cover .brand-name {
  font-size: 3.4em; font-weight: 800; color: #fff; letter-spacing: -0.02em;
  line-height: 1;
}
.cover .product-line {
  font-size: 1.2em; color: #fff; margin: 0.6em auto 0;
  max-width: 720px; font-weight: 500; opacity: 0.95;
}
.cover h1 { color: #fff; font-size: 2em; margin: 1.3em auto 0.5em; max-width: 820px; line-height: 1.25; font-weight: 700; }
.cover .subtitle { color: #fff; max-width: 720px; margin: 0 auto 1.5em; font-size: 1.05em; line-height: 1.55; opacity: 0.92; }
.cover .badges { display: flex; gap: 8px; justify-content: center; margin-top: 1.6em; flex-wrap: wrap; }
.cover .badge-cov {
  font-size: 0.85em; padding: 7px 16px; border-radius: 18px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.45);
  color: #fff; font-weight: 600;
}
.cover .cta-row { margin-top: 2em; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cover .cta-primary {
  padding: 14px 32px; border-radius: 6px; background: #fff; color: var(--c-accent);
  font-weight: 700; font-size: 1.02em;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.cover .cta-primary:hover { background: #f0f5fa; text-decoration: none; transform: translateY(-1px); }
.cover .cta-secondary {
  padding: 14px 32px; border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.85); color: #fff;
  font-weight: 600; background: rgba(255,255,255,0.05);
}
.cover .cta-secondary:hover { background: rgba(255,255,255,0.18); text-decoration: none; }

/* ── Content ── */
.kpi-row { display: flex; gap: 20px; margin: 2em 0; flex-wrap: wrap; }
.kpi { flex: 1; min-width: 200px; padding: 22px; background: var(--c-accent-soft); border-left: 4px solid var(--c-accent); border-radius: 4px; }
.kpi-value { font-size: 2em; font-weight: 600; color: var(--c-accent); line-height: 1; }
.kpi-label { font-size: 0.92em; color: var(--c-muted); margin-top: 6px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 1.5em 0; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

.pipeline-step { display: flex; align-items: flex-start; gap: 14px; padding: 14px 18px; margin: 8px 0; background: var(--c-soft); border-radius: 6px; border-left: 3px solid var(--c-accent); }
.pipeline-step .step-num { background: var(--c-accent); color: #fff; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.9em; flex-shrink: 0; }
.pipeline-step .step-title { font-weight: 600; }
.pipeline-step .step-desc { font-size: 0.92em; color: var(--c-muted); margin-top: 3px; }

.agent-card { background: #fff; border: 1px solid var(--c-line); border-radius: 6px; padding: 14px 16px; height: 100%; }
.agent-name { font-weight: 600; color: var(--c-accent); font-size: 0.95em; }
.agent-role { font-size: 0.85em; color: var(--c-muted); margin: 4px 0 8px; }
.agent-llm { font-size: 0.74em; padding: 2px 8px; background: var(--c-soft); border-radius: 12px; display: inline-block; color: var(--c-muted); font-family: ui-monospace, monospace; }
.grid-agents { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 1em 0; }

.doc-card { background: #fff; border: 1px solid var(--c-line); border-radius: 6px; padding: 18px 22px; margin: 1.2em 0; box-shadow: 0 2px 6px rgba(0,0,0,0.04); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.82em; line-height: 1.5; color: #2a3441; white-space: pre-wrap; overflow-x: auto; }
.doc-card-header { font-family: -apple-system, sans-serif; font-size: 0.78em; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--c-line); }
.doc-card-header strong { color: var(--c-accent); }

.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.5em 0; }
@media (max-width: 760px) { .scope-grid { grid-template-columns: 1fr; } }
.scope-col { padding: 16px 20px; border-radius: 6px; }
.scope-col.in  { background: #f0faf0; border-left: 4px solid var(--c-ok); }
.scope-col.out { background: #fcf3f3; border-left: 4px solid var(--c-warn); }
.scope-col h3 { margin-top: 0; }
.scope-col.in  h3 { color: var(--c-ok); }
.scope-col.out h3 { color: var(--c-warn); }

.pillar-card { background: #fff; border: 1px solid var(--c-line); border-radius: 6px; padding: 14px 18px; margin: 8px 0; }
.pillar-card .num { display: inline-block; font-size: 0.75em; padding: 1px 8px; border-radius: 10px; background: var(--c-accent-soft); color: var(--c-accent); font-weight: 600; margin-right: 8px; }
.pillar-card .title { font-weight: 600; color: var(--c-text); }
.pillar-card .desc { font-size: 0.92em; color: var(--c-muted); margin-top: 4px; }
.pillar-card .status { display: inline-block; font-size: 0.78em; padding: 2px 8px; border-radius: 12px; background: #d8efdf; color: var(--c-ok); margin-top: 6px; }
.pillar-card .status.partial { background: #fdf3da; color: #946a00; }
.pillar-card .status.roadmap { background: #ecedf0; color: var(--c-muted); }

ul.checked li { list-style: none; position: relative; padding-left: 24px; margin: 6px 0; }
ul.checked li::before { content: "✓"; position: absolute; left: 0; color: var(--c-ok); font-weight: 700; }

table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 0.95em; }
th, td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
th { background: var(--c-soft); font-weight: 600; }

.schema-container { background: #fff; border: 1px solid var(--c-line); border-radius: 8px; padding: 24px; margin: 1.5em 0; box-shadow: 0 2px 6px rgba(0,0,0,0.04); }
.schema-container svg { width: 100%; height: auto; display: block; }
.schema-caption { font-size: 0.85em; color: var(--c-muted); text-align: center; margin-top: 12px; font-style: italic; }

.cta-block { background: var(--c-accent-soft); border-left: 4px solid var(--c-accent); padding: 24px 28px; border-radius: 6px; margin: 1.5em 0; }
.cta-block strong { color: var(--c-accent); }

/* Value-Hightlight-Karten (Landing) */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 2em 0; }
.value-card { background: #fff; border: 1px solid var(--c-line); border-radius: 8px; padding: 22px 22px; box-shadow: 0 2px 6px rgba(0,0,0,0.04); }
.value-card .icon { font-size: 1.6em; margin-bottom: 8px; }
.value-card h3 { font-size: 1.1em; margin: 0 0 8px; color: var(--c-accent); }
.value-card p { font-size: 0.94em; color: var(--c-muted); margin: 0; }

/* ── Footer ── */
footer { background: #1a2332; color: #c8d0d8; padding: 40px 60px; }
footer a { color: #8eb4dc; }
footer a:hover { color: #fff; }
footer .foot-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { footer .foot-grid { grid-template-columns: 1fr; } }
footer .foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
footer .foot-brand-mark { width: 32px; height: 32px; border-radius: 6px; background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85em; }
footer .foot-brand-name { color: #fff; font-weight: 600; font-size: 1.1em; }
footer .foot-tag { font-size: 0.9em; color: #99a8b8; }
footer .foot-section { font-weight: 600; color: #fff; margin-bottom: 10px; font-size: 0.95em; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 4px 0; font-size: 0.92em; }
footer .legal { max-width: 1100px; margin: 28px auto 0; padding-top: 18px; border-top: 1px solid #2a3441; font-size: 0.83em; color: #788694; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
