/* ==========================================================================
   A-Intdesign – Designsystem
   Farben aus dem Logo: Dunkelgrün #19452C auf Creme.
   ========================================================================== */

:root {
  /* Farben */
  --bg: #f4f0e8;
  --bg-deep: #ebe4d8;
  --surface: #fbf9f5;
  --ink: #1b1c1a;
  --ink-2: #44463f;
  --muted: #6d6f67;
  --line: #d8d0c2;
  --line-soft: #e5dfd3;
  --green: #19452c;
  --green-hover: #22583a;
  --green-tint: #e2e7dd;
  --green-ink: #f4f0e8;
  --danger: #9b2c1f;
  --danger-tint: #f6e3df;
  --ok: #19452c;

  /* Typografie */
  --font-sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-h2: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem);
  --fs-h1: clamp(2.6rem, 1.4rem + 5.2vw, 5.4rem);

  /* Abstände */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --gutter: clamp(1.25rem, 0.8rem + 2.2vw, 2.5rem);
  --container: 76rem;

  --radius: 6px;
  --radius-lg: 10px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 4.5rem;
}

/* --- Basis ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: var(--fs-h1); letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.03em; }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
h4 { font-size: 1.0625rem; line-height: 1.35; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--green); }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; }
::selection { background: var(--green); color: var(--green-ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--green); color: var(--green-ink); padding: 0.6rem 1rem; border-radius: var(--radius);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; color: var(--green-ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --- Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--surface { background: var(--surface); }
.section--deep { background: var(--bg-deep); }
.section--green { background: var(--green); color: var(--green-ink); }
.section--green h2, .section--green h3 { color: var(--green-ink); }
.section + .section:not(.section--surface):not(.section--deep):not(.section--green) { border-top: 1px solid var(--line-soft); }

.grid { display: grid; gap: var(--space-6); }
.grid-2 { display: grid; gap: var(--space-6); }
.grid-3 { display: grid; gap: var(--space-6); }
@media (min-width: 48rem) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.split { display: grid; gap: var(--space-7); }
@media (min-width: 64rem) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--sticky > :first-child { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

/* --- Typo-Bausteine -------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); margin-bottom: var(--space-5);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; }
.section--green .eyebrow { color: #c9d4c4; }
.lead { font-size: var(--fs-lg); color: var(--ink-2); line-height: 1.55; max-width: 40rem; }
.section--green .lead { color: #d6ddd1; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.mono { font-family: var(--font-mono); }
.section-head { max-width: 46rem; margin-bottom: var(--space-7); }
.section-head h2 + .lead, .section-head h2 + p { margin-top: var(--space-5); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: end; justify-content: space-between; }
.section-head--row > div { max-width: 46rem; }
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 2.5rem 0 1rem; }
.prose h3 { margin: 2rem 0 0.75rem; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.35em; }
.prose a { color: var(--green); }

/* --- Buttons --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--green); --btn-fg: var(--green-ink); --btn-bd: var(--green);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.75rem 1.4rem;
  font: 600 var(--fs-sm)/1.2 var(--font-sans); letter-spacing: 0.005em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { --btn-bg: var(--green-hover); --btn-bd: var(--green-hover); color: var(--btn-fg); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bg: transparent; --btn-fg: var(--green); --btn-bd: var(--green); }
.btn--light { --btn-bg: var(--green-ink); --btn-fg: var(--green); --btn-bd: var(--green-ink); }
.btn--light:hover { --btn-bg: #fff; --btn-bd: #fff; --btn-fg: var(--green); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--green-ink); --btn-bd: rgba(244, 240, 232, 0.4); }
.btn--ghost-light:hover { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: #fff; }
.btn--sm { min-height: 2.5rem; padding: 0.5rem 1rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: var(--fs-sm); color: var(--green); text-decoration: none;
}
.link-arrow .arrow { transition: transform 0.25s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(3px); }
.section--green .link-arrow { color: var(--green-ink); }

/* --- Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--space-5); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--green); }
.brand img { width: auto; height: 2.1rem; }
.brand span { font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--green); }

.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 0.25rem; }
.nav a {
  display: block; padding: 0.5rem 0.8rem; border-radius: var(--radius);
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); text-decoration: none;
}
.nav a:hover { color: var(--green); }
.nav a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.header-cta { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  min-height: 2.75rem; padding: 0 0.9rem; font: 600 var(--fs-sm) var(--font-sans); color: var(--ink); cursor: pointer;
}
.menu-toggle .bars { width: 18px; height: 10px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.25s var(--ease), top 0.25s var(--ease); }
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 8px; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--bg); border-top: 1px solid var(--line);
  padding: var(--space-6) var(--gutter) var(--space-7);
  overflow-y: auto;
}
.mobile-nav ul { list-style: none; border-top: 1px solid var(--line-soft); }
.mobile-nav li { border-bottom: 1px solid var(--line-soft); }
.mobile-nav a.mobile-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; color: var(--ink);
}
.mobile-nav a.mobile-link[aria-current="page"] { color: var(--green); }
.mobile-nav .btn { width: 100%; margin-top: var(--space-6); }
.mobile-nav .mobile-meta { margin-top: var(--space-6); color: var(--muted); font-size: var(--fs-sm); }
body.menu-open { overflow: hidden; }

@media (min-width: 64rem) {
  .nav, .header-cta { display: block; }
  .menu-toggle, .mobile-nav { display: none !important; }
}

/* --- Hero ------------------------------------------------------------------ */
.hero { padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) var(--section); }
.hero-grid { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 64rem) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--space-7); } }
.hero h1 { max-width: 11ch; }
.hero .lead { margin-top: var(--space-5); }
.hero .btn-row { margin-top: var(--space-6); }
.hero-claim {
  margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); align-items: baseline;
  font-size: var(--fs-sm); color: var(--muted);
}
.hero-claim strong { font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }

.page-hero { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); border-bottom: 1px solid var(--line-soft); }
.page-hero h1 { font-size: clamp(2.3rem, 1.4rem + 4vw, 4.4rem); max-width: 18ch; }
.page-hero .lead { margin-top: var(--space-5); }
.page-hero .btn-row { margin-top: var(--space-6); }
.breadcrumb { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-5); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line); }
.breadcrumb a { text-decoration: none; }

/* --- System-Board (Hero-Simulation) ---------------------------------------- */
.system {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 rgba(27, 28, 26, 0.03), 0 24px 48px -32px rgba(25, 69, 44, 0.35);
  overflow: hidden;
}
.system-bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--muted);
}
.system-bar { flex-wrap: wrap; }
.system-controls button { white-space: nowrap; }
.system-bar .live { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.5rem; color: var(--green); text-transform: uppercase; }
.system-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.system.is-paused .system-bar .live::before { background: var(--muted); }
.system-body { padding: 1.1rem; display: grid; gap: 1rem; }
.request-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1rem; background: #fff;
  display: grid; gap: 0.35rem;
}
.request-card .meta { display: flex; justify-content: space-between; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.request-card .from { font-weight: 600; font-size: var(--fs-sm); }
.request-card .text { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.45; }
.tag { display: inline-flex; align-items: center; gap: 0.35rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 3px; background: var(--green-tint); color: var(--green); white-space: nowrap; }
.tag--neutral { background: var(--bg-deep); color: var(--ink-2); }
.tag--warn { background: #f3e6cf; color: #7a4b0c; }

.steps-live { list-style: none; display: grid; gap: 0; }
.steps-live li {
  display: grid; grid-template-columns: 1.5rem 1fr auto; gap: 0.75rem; align-items: center;
  padding: 0.6rem 0; border-top: 1px dashed var(--line-soft); font-size: var(--fs-sm); color: var(--muted);
  transition: color 0.3s var(--ease);
}
.steps-live li:first-child { border-top: 0; }
.steps-live .dot { width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease); }
.steps-live .dot svg { width: 12px; height: 12px; opacity: 0; color: var(--green-ink); transition: opacity 0.3s var(--ease); }
.steps-live .time { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); opacity: 0; transition: opacity 0.3s var(--ease); }
.steps-live li.is-active { color: var(--ink); }
.steps-live li.is-active .dot { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
.steps-live li.is-done { color: var(--ink); }
.steps-live li.is-done .dot { background: var(--green); border-color: var(--green); }
.steps-live li.is-done .dot svg, .steps-live li.is-done .time { opacity: 1; }
.system-foot {
  display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-soft);
}
.system-foot div { padding: 0.8rem 1.1rem; border-left: 1px solid var(--line-soft); }
.system-foot div:first-child { border-left: 0; }
.system-foot dt { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.system-foot dd { margin: 0.2rem 0 0; font-weight: 600; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.system-controls { display: flex; gap: 0.5rem; }
.system-controls button {
  background: none; border: 1px solid var(--line); border-radius: 4px; padding: 0.25rem 0.6rem;
  font: 500 0.72rem var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); cursor: pointer;
}
.system-controls button:hover { border-color: var(--green); color: var(--green); }
.system-caption { margin-top: var(--space-3); font-size: var(--fs-xs); color: var(--muted); }

/* --- Problem/Statement ----------------------------------------------------- */
.compare { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 48rem) { .compare { grid-template-columns: 1fr 1fr; } }
.compare > div { background: var(--surface); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.compare > div:last-child { background: var(--green); color: var(--green-ink); }
.compare h3 { margin-bottom: var(--space-4); }
.compare > div:last-child h3 { color: var(--green-ink); }
.compare ul { list-style: none; display: grid; gap: 0.65rem; }
.compare li { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.6rem; font-size: var(--fs-sm); line-height: 1.5; }
.compare li::before { content: "–"; color: var(--muted); }
.compare > div:last-child li::before { content: "→"; color: #b9c8b5; }
.compare .label { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-3); color: var(--muted); }
.compare > div:last-child .label { color: #b9c8b5; }

/* --- Leistungsübersicht (Index-Liste) -------------------------------------- */
.service-index { list-style: none; border-top: 1px solid var(--line); }
.service-index > li { border-bottom: 1px solid var(--line); }
.service-index a {
  display: grid; gap: 0.5rem var(--space-6); padding: clamp(1.25rem, 1rem + 1vw, 2rem) 0;
  text-decoration: none; color: var(--ink);
  grid-template-columns: 3rem 1fr; align-items: baseline;
}
@media (min-width: 64rem) { .service-index a { grid-template-columns: 4rem 1.1fr 1.4fr auto; } }
.service-index .num { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--green); }
.service-index h3 { transition: color 0.2s var(--ease); }
.service-index p { color: var(--muted); font-size: var(--fs-sm); grid-column: 2; margin: 0; }
@media (min-width: 64rem) { .service-index p { grid-column: auto; } }
.service-index .go { display: none; color: var(--green); }
@media (min-width: 64rem) { .service-index .go { display: block; transition: transform 0.25s var(--ease); } }
.service-index a:hover h3 { color: var(--green); }
.service-index a:hover .go { transform: translateX(4px); }

/* --- Leistungskategorie (Detailseite) -------------------------------------- */
.service-block { display: grid; gap: var(--space-6); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; }
@media (min-width: 64rem) { .service-block { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); } }
.service-block .num, .case .num { text-transform: uppercase; }
.service-block .num { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--green); letter-spacing: 0.08em; display: block; margin-bottom: var(--space-4); }
.service-block h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); }
.service-block .problem { margin-top: var(--space-5); padding-left: var(--space-4); border-left: 2px solid var(--green); color: var(--ink-2); }
.service-block .problem strong { display: block; font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 0.25rem; }
.feature-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
@media (min-width: 40rem) { .feature-list { grid-template-columns: 1fr 1fr; column-gap: var(--space-6); } }
.feature-list li { padding: 0.8rem 0 0.8rem 1.6rem; border-bottom: 1px solid var(--line-soft); position: relative; font-size: var(--fs-sm); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 1.3rem; width: 0.6rem; height: 1px; background: var(--green); }
.note { font-size: var(--fs-sm); color: var(--ink-2); background: var(--green-tint); border-radius: var(--radius); padding: 0.9rem 1rem; margin-top: var(--space-5); }
.note strong { color: var(--green); }

/* --- Karten (sparsam) ------------------------------------------------------ */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); display: flex; flex-direction: column; gap: var(--space-4);
}
.card h3 { font-size: 1.25rem; }
.card p { color: var(--ink-2); font-size: var(--fs-sm); }
.card .link-arrow { margin-top: auto; }
.card--link { text-decoration: none; color: inherit; transition: border-color 0.2s var(--ease); }
.card--link:hover { border-color: var(--green); color: inherit; }
.card-kicker { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 0.5rem; }

/* --- Lösungsbeispiele ------------------------------------------------------ */
.case { display: grid; gap: var(--space-6); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 64rem) { .case { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-8); } }
.case .num { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--green); letter-spacing: 0.08em; display: block; margin-bottom: var(--space-4); }
.case h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.case-cols { display: grid; gap: var(--space-5); }
@media (min-width: 48rem) { .case-cols { grid-template-columns: 1fr 1fr; } }
.case-col h3 { font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: var(--space-3); }
.case-col p, .case-col li { font-size: var(--fs-sm); color: var(--ink-2); }
.flow { list-style: none; counter-reset: flow; display: grid; gap: 0; }
.flow li { counter-increment: flow; display: grid; grid-template-columns: 2rem 1fr; gap: 0.5rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line-soft); }
.flow li::before { content: counter(flow, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.72rem; color: var(--green); padding-top: 0.2rem; }
.benefit { list-style: none; display: grid; gap: 0.5rem; }
.benefit li { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.5rem; }
.benefit li::before { content: "✓"; color: var(--green); font-weight: 700; }
.case-actions { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); }

/* --- Prozess --------------------------------------------------------------- */
.process { list-style: none; display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
@media (min-width: 48rem) { .process { grid-template-columns: repeat(2, 1fr); column-gap: var(--space-7); } }
@media (min-width: 72rem) { .process { grid-template-columns: repeat(3, 1fr); } }
.process li { counter-increment: step; padding: var(--space-6) 0; border-bottom: 1px solid var(--line); }
.process li::before { content: "Schritt " counter(step); display: block; font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: var(--space-3); }
.process h3 { font-size: 1.25rem; margin-bottom: var(--space-2); }
.process p { color: var(--ink-2); font-size: var(--fs-sm); }
.section--green .process, .section--green .process li { border-color: rgba(244, 240, 232, 0.18); }
.section--green .process li::before { color: #b9c8b5; }
.section--green .process p { color: #d6ddd1; }

/* --- Kennzeichnungen ------------------------------------------------------- */
.badge-demo {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.3rem 0.6rem; border: 1px solid var(--line); border-radius: 3px; color: var(--ink-2); background: var(--surface);
}
.badge-demo::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #b07a1e; }
.disclaimer { font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }

/* --- CTA-Band -------------------------------------------------------------- */
.cta-band { display: grid; gap: var(--space-6); align-items: end; }
@media (min-width: 64rem) { .cta-band { grid-template-columns: 1.4fr 1fr; } .cta-band .btn-row { justify-content: flex-end; } }
.cta-band h2 { max-width: 18ch; }
.cta-band .lead { margin-top: var(--space-5); }

/* --- Demos: gemeinsame Hülle ----------------------------------------------- */
.demo-nav { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
.demo-nav a { font-size: var(--fs-sm); text-decoration: none; padding: 0.45rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.demo-nav a:hover { border-color: var(--green); color: var(--green); }
.demo { padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem); border-top: 1px solid var(--line); }
.demo:first-of-type { border-top: 0; }
.demo-head { display: grid; gap: var(--space-5); margin-bottom: var(--space-6); }
@media (min-width: 64rem) { .demo-head { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.demo-head h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); }
.demo-head .eyebrow { margin-bottom: var(--space-4); }
.demo-frame { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.demo-frame-bar {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.1rem; border-bottom: 1px solid var(--line-soft); background: var(--bg);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted);
}

/* Demo A: Chat */
.chat { display: grid; grid-template-rows: 1fr auto; height: min(36rem, 75vh); }
@media (min-width: 64rem) { .chat-wrap { display: grid; grid-template-columns: 1fr 18rem; } .chat-side { border-left: 1px solid var(--line-soft); } }
.chat-log { overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.9rem; }
.msg { max-width: 85%; padding: 0.75rem 0.95rem; border-radius: 10px; font-size: var(--fs-sm); line-height: 1.5; }
.msg--bot { background: #fff; border: 1px solid var(--line-soft); border-top-left-radius: 2px; align-self: flex-start; }
.msg--user { background: var(--green); color: var(--green-ink); border-top-right-radius: 2px; align-self: flex-end; }
.msg .src { display: block; margin-top: 0.5rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.msg--handover { border-color: #e2c79a; background: #fbf4e7; }
.msg .typing { display: inline-flex; gap: 4px; }
.msg .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.msg .typing i:nth-child(2) { animation-delay: 0.15s; }
.msg .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.chat-form { display: flex; gap: 0.5rem; padding: 0.9rem; border-top: 1px solid var(--line-soft); background: var(--bg); }
.chat-form input { flex: 1; min-width: 0; }
.chat-side { padding: 1.1rem; display: grid; gap: 1rem; align-content: start; }
.chat-side h3 { font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.chip-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  font: 500 0.8125rem/1.3 var(--font-sans); text-align: left;
  padding: 0.45rem 0.7rem; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink-2); cursor: pointer;
}
.chip:hover { border-color: var(--green); color: var(--green); }
.kb-list { list-style: none; font-size: 0.8125rem; color: var(--ink-2); display: grid; gap: 0.3rem; }

/* Demo B: Rechner */
.calc { display: grid; }
@media (min-width: 64rem) { .calc { grid-template-columns: 1.5fr 1fr; } }
.calc-main { padding: clamp(1.25rem, 1rem + 1vw, 2rem); display: grid; gap: var(--space-6); }
.calc-side { padding: clamp(1.25rem, 1rem + 1vw, 2rem); background: var(--green); color: var(--green-ink); display: flex; flex-direction: column; gap: var(--space-4); }
@media (min-width: 64rem) { .calc-side { position: sticky; top: var(--header-h); align-self: start; min-height: 100%; } }
.calc-side h3 { color: var(--green-ink); font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; }
.calc-total { font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-lines { list-style: none; font-size: var(--fs-sm); display: grid; gap: 0.4rem; border-top: 1px solid rgba(244, 240, 232, 0.2); padding-top: var(--space-4); }
.calc-lines li { display: flex; justify-content: space-between; gap: 1rem; color: #d6ddd1; }
.calc-lines li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc-side .disclaimer { color: #c3cdbf; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 600; font-size: 1.0625rem; margin-bottom: var(--space-3); padding: 0; }
.option-grid { display: grid; gap: 0.6rem; }
@media (min-width: 40rem) { .option-grid { grid-template-columns: 1fr 1fr; } }
.option {
  position: relative; display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.75rem; align-items: start;
  padding: 0.85rem 0.95rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.option:hover { border-color: var(--green); }
.option input { margin: 0.2rem 0 0; accent-color: var(--green); width: 1.05rem; height: 1.05rem; }
.option strong { display: block; font-size: var(--fs-sm); }
.option small { display: block; color: var(--muted); font-size: 0.8125rem; line-height: 1.4; margin-top: 0.15rem; }
.option:has(input:checked) { border-color: var(--green); background: var(--green-tint); }
.option:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.range-row { display: grid; gap: 0.5rem; }
.range-row output { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--green); }
input[type="range"] { width: 100%; accent-color: var(--green); }

/* Demo C: Dashboard */
.dash { display: grid; }
@media (min-width: 64rem) { .dash { grid-template-columns: 1fr 20rem; } }
.dash-main { padding: 1.1rem; display: grid; gap: 1rem; align-content: start; }
.dash-controls { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.dash-controls select { width: auto; min-width: 14rem; }
.kanban { display: grid; gap: 0.75rem; }
@media (min-width: 40rem) { .kanban { grid-template-columns: repeat(3, 1fr); } }
.lane { background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 0.75rem; min-height: 11rem; display: flex; flex-direction: column; gap: 0.5rem; }
.lane h3 { font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.lane .request-card { animation: pop 0.35s var(--ease); }
.lane .request-card .text { font-size: 0.8125rem; }
.lane-empty { font-size: 0.8125rem; color: var(--muted); padding: 0.5rem 0; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.dash-log { border-top: 1px solid var(--line-soft); padding: 1.1rem; font-family: var(--font-mono); font-size: 0.75rem; display: flex; flex-direction: column; gap: 0.35rem; max-height: 30rem; overflow-y: auto; }
@media (min-width: 64rem) { .dash-log { border-top: 0; border-left: 1px solid var(--line-soft); } }
.dash-log h3 { font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.log-line { display: grid; grid-template-columns: 4.2rem 1fr; gap: 0.5rem; color: var(--ink-2); animation: pop 0.3s var(--ease); }
.log-line time { color: var(--muted); }
.log-line.is-ok span::before { content: "✓ "; color: var(--green); }
.log-line.is-warn span::before { content: "! "; color: #b07a1e; font-weight: 700; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 48rem) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpis div { background: #fff; padding: 0.7rem 0.85rem; }
.kpis dt { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.kpis dd { margin: 0.15rem 0 0; font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Demo D: Potenzial-Check */
.check { padding: clamp(1.25rem, 1rem + 1vw, 2rem); }
.check-progress { height: 3px; background: var(--line-soft); border-radius: 2px; overflow: hidden; margin-bottom: var(--space-6); }
.check-progress span { display: block; height: 100%; width: 0; background: var(--green); transition: width 0.35s var(--ease); }
.check-q h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); margin-bottom: var(--space-5); max-width: 36ch; }
.check-q .option-grid { max-width: 44rem; }
.check-step { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-3); }
.check-nav { display: flex; gap: 0.5rem; margin-top: var(--space-6); }
.result-score { display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: center; margin-bottom: var(--space-6); }
.result-score > div { flex: 1 1 16rem; }
.score-ring { width: 7.5rem; height: 7.5rem; flex: none; }
.score-ring circle { fill: none; stroke-width: 8; }
.score-ring .bg { stroke: var(--line-soft); }
.score-ring .fg { stroke: var(--green); stroke-linecap: round; transition: stroke-dashoffset 0.8s var(--ease); transform: rotate(-90deg); transform-origin: 50% 50%; }
.score-ring text { font: 600 1.6rem var(--font-display); fill: var(--ink); }
.result-list { list-style: none; display: grid; gap: 0.75rem; }
.result-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; background: #fff; display: grid; gap: 0.35rem; }
.result-item .prio { justify-self: start; }
.result-item h4 { font-size: 1.0625rem; }
.result-item p { font-size: var(--fs-sm); color: var(--ink-2); }

/* --- Formulare ------------------------------------------------------------- */
label, .label { display: block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: 0.4rem; }
.optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.75rem 0.9rem; min-height: 3rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2319452c' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.5rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
.field { display: grid; gap: 0; }
.field-hint { font-size: 0.8125rem; color: var(--muted); margin-top: 0.35rem; }
.field-error { font-size: 0.8125rem; color: var(--danger); margin-top: 0.35rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .option-grid .option { border-color: #d9a59c; }
.form-grid { display: grid; gap: var(--space-5); }
@media (min-width: 48rem) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } }
.consent { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.75rem; align-items: start; font-weight: 400; font-size: var(--fs-sm); color: var(--ink-2); }
.consent input { margin-top: 0.2rem; accent-color: var(--green); width: 1.05rem; height: 1.05rem; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius); padding: 1rem 1.1rem; font-size: var(--fs-sm); }
.form-status--ok { background: var(--green-tint); color: var(--green); border: 1px solid #c2cfbd; }
.form-status--error { background: var(--danger-tint); color: var(--danger); border: 1px solid #e7bfb7; }
.form-status h3 { font-size: 1.125rem; color: inherit; margin-bottom: 0.35rem; }
.spinner { width: 1rem; height: 1rem; border: 2px solid rgba(244, 240, 232, 0.4); border-top-color: var(--green-ink); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.contact-aside { display: grid; gap: var(--space-6); align-content: start; }
.contact-aside dl { display: grid; gap: var(--space-4); }
.contact-aside dt { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.contact-aside dd { margin: 0.2rem 0 0; font-weight: 600; }
.contact-aside dd a { text-decoration: none; color: var(--green); }

/* --- Team ------------------------------------------------------------------ */
.people { list-style: none; display: grid; gap: var(--space-5); }
@media (min-width: 40rem) { .people { grid-template-columns: 1fr 1fr; } }
.person { border-top: 1px solid var(--line); padding-top: var(--space-4); }
.person h3 { font-size: 1.25rem; }
.person p { color: var(--muted); font-size: var(--fs-sm); }

.principles { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 48rem) { .principles { grid-template-columns: 1fr 1fr; column-gap: var(--space-7); } }
.principles li { padding: var(--space-5) 0; border-bottom: 1px solid var(--line); }
.principles h3 { font-size: 1.125rem; margin-bottom: var(--space-2); }
.principles p { font-size: var(--fs-sm); color: var(--ink-2); }

/* --- Platzhalter (Rechtstexte) --------------------------------------------- */
.placeholder { background: #f3e6cf; color: #6b420a; padding: 0.05em 0.35em; border-radius: 3px; font-family: var(--font-mono); font-size: 0.9em; }
.legal-warning { border: 1px solid #e2c79a; background: #fbf4e7; border-radius: var(--radius); padding: 1rem 1.1rem; font-size: var(--fs-sm); color: #6b420a; margin-bottom: var(--space-6); }

/* --- Footer ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #c9c7bf; padding-block: clamp(3.5rem, 2.5rem + 4vw, 5.5rem) var(--space-6); font-size: var(--fs-sm); }
.site-footer a { color: #e9e5dc; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: var(--space-7); }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand img { height: 4.75rem; width: auto; filter: brightness(0) invert(0.93) sepia(0.1); }
.footer-brand p { margin-top: var(--space-4); max-width: 22rem; color: #a9a79f; }
.footer-claim { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: #9fb49c; margin-top: var(--space-4); }
.site-footer h2 { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #8d8b84; margin-bottom: var(--space-4); }
.site-footer ul { list-style: none; display: grid; gap: 0.5rem; }
.footer-bottom { margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid #34352f; display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); justify-content: space-between; color: #8d8b84; font-size: var(--fs-xs); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--space-5); }

/* --- Reveal-Animation (dezent) --------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .mobile-nav, .btn, .demo-frame { display: none !important; }
  body { background: #fff; }
}

/* --- Hilfsklassen --- */
.mt-3 { margin-top: var(--space-3); }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }

.mb-3 { margin-bottom: var(--space-3); }
.check-result h4.mb-3 { margin-top: var(--space-2); }

.h2-size { font-size: var(--fs-h2); }

