/* TM KI Consulting UG (haftungsbeschränkt) — gemeinsame Gestaltung der Website.
   Ausgelagert aus index.html am 29.09.2026; gilt für die Startseite und die Leistungsseiten. */
:root {
  --navy-900: #0a1628;    /* tiefes Dunkelblau */
  --navy-800: #0f1d33;
  --navy-700: #152540;
  --navy-600: #1c3050;
  --navy-500: #2a4163;
  --black:    #050a14;
  --white:    #ffffff;
  --off-white: #f4f6fa;
  --gray-300: #b8c2d0;
  --gray-400: #8a96a8;
  --gray-500: #5a6578;
  --line:     rgba(255, 255, 255, .1);
  --line-light: rgba(255, 255, 255, .06);

  /* Die beiden einzigen abgestimmten Orb-Größen (thinking-orbs).
     Als Token, damit reservierter Platz und Zeichnung nie auseinanderlaufen. */
  --orb-64: 64px;
  --orb-20: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--navy-900);
  color: var(--off-white);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 16px;
}
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

/* Background, sehr ruhig, kein wildes Effekt */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(28, 48, 80, .4), transparent 60%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(15, 29, 51, .6), transparent 60%);
  pointer-events: none;
}
body > * { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
}
.serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
a { color: var(--white); text-decoration: none; transition: opacity .2s; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ============ HEADER ============ */
header.site {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 22, 40, .8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-light);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
  max-width: 1280px; margin: 0 auto;
  padding-left: 48px; padding-right: 48px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  color: var(--white);
}
.brand-logo {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.18);
  background: var(--white);
  display: grid; place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.brand-text .title {
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.01em;
}
.brand-text .sub {
  font-size: 11px; color: var(--gray-400);
  letter-spacing: .14em; text-transform: uppercase;
  margin-top: 2px;
}

nav.primary ul {
  list-style: none; display: flex; gap: 36px; align-items: center;
}
nav.primary a {
  color: var(--off-white); font-size: 14px; font-weight: 400;
  opacity: .75; transition: opacity .2s;
}
nav.primary a:hover { opacity: 1; }
.nav-cta {
  margin-left: 8px;
  background: var(--white); color: var(--navy-900) !important;
  padding: 10px 22px; font-size: 13px; font-weight: 500;
  opacity: 1 !important;
  transition: background .2s;
}
.nav-cta:hover { background: var(--off-white); }

/* Interner Zugang zum Cockpit. Bewusst zurueckhaltender als .nav-cta:
   Kontakt bleibt die Handlung, die die Seite von Besuchern will --
   Anmelden richtet sich an die, die schon einen Zugang haben.
   Der Rahmen ist absichtlich nicht var(--line-light): .06 Deckung ist
   als Trennlinie richtig, als Schaltflaechenrand aber nicht lesbar. */
.nav-login {
  margin-left: 8px;
  border: 1px solid rgba(255, 255, 255, .22);
  padding: 9px 18px; font-size: 13px; font-weight: 500;
  opacity: 1 !important;
  transition: border-color .2s, background .2s;
}
.nav-login:hover {
  border-color: var(--gray-300);
  background: rgba(255, 255, 255, .06);
}

/* ============ MOBILE NAV TOGGLE ============ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 80px;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-300); margin-bottom: 36px;
}
.hero-eyebrow::before {
  content: ""; width: 32px; height: 1px; background: var(--gray-400);
}
.hero h1 {
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 300;
  margin-bottom: 36px;
  max-width: 18ch;
}
.hero h1 .serif { color: var(--white); }
.hero-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--gray-300);
  max-width: 56ch;
  margin-bottom: 56px;
  font-weight: 300;
}
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-proof {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--gray-300);
  max-width: 620px;
}
.hero-proof span {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-400);
  white-space: nowrap;
}
.hero-proof strong {
  font-size: 14px;
  color: var(--off-white);
  font-weight: 400;
  letter-spacing: -.01em;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; font-size: 14px; font-weight: 500;
  cursor: pointer; border: 1px solid transparent;
  text-decoration: none; transition: all .25s;
  letter-spacing: .01em;
  font-family: inherit;
}
.btn-primary {
  background: var(--white); color: var(--navy-900);
}
.btn-primary:hover { background: var(--off-white); color: var(--navy-900); }
.btn-ghost {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.25);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.05); color: var(--white); }
.btn .arrow { transition: transform .25s; font-size: 16px; }
.btn:hover .arrow { transform: translateX(4px); }

.hero-meta {
  margin-top: 96px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.hero-meta-item .label {
  font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gray-400);
  margin-bottom: 8px;
}
.hero-meta-item .value {
  font-size: 16px; color: var(--white); font-weight: 400;
}


/* ============ HERO THREE.JS VISUAL ============ */
.hero {
  overflow: hidden;
  isolation: isolate;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-3d {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-3d::before {
  content: "";
  position: absolute;
  top: 11%;
  right: -8%;
  width: min(60vw, 780px);
  height: min(60vw, 780px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.09), transparent 0 2px, transparent 3px),
    radial-gradient(circle at 50% 50%, rgba(42, 65, 99, .42), rgba(21, 37, 64, .12) 45%, transparent 70%);
  filter: blur(.2px);
  opacity: .72;
}
.hero-3d canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: .78;
}
.hero-3d-label {
  position: absolute;
  right: clamp(32px, 7vw, 116px);
  bottom: clamp(96px, 14vh, 164px);
  min-width: 214px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(10, 22, 40, .48);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px -42px rgba(0,0,0,.9);
}
.hero-3d-label span {
  display: block;
  margin-bottom: 7px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.hero-3d-label strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--white);
}
html.no-webgl .hero-3d canvas,
html.reduced-motion .hero-3d canvas {
  display: none;
}
html.no-webgl .hero-3d::after,
html.reduced-motion .hero-3d::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 7%;
  width: min(46vw, 560px);
  height: min(46vw, 560px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.08) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, rgba(255,255,255,.08) 50%, transparent 50.2%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.10) 0 3px, transparent 4px),
    radial-gradient(circle at 28% 38%, rgba(184,194,208,.35) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 32%, rgba(184,194,208,.30) 0 2px, transparent 3px),
    radial-gradient(circle at 62% 72%, rgba(184,194,208,.28) 0 2px, transparent 3px),
    radial-gradient(circle at 35% 68%, rgba(184,194,208,.24) 0 2px, transparent 3px);
  opacity: .55;
}

/* ============ INTERAKTIVES PUNKTFELD (Canvas, selbst gehostet) ============ */
.has-field { position: relative; overflow: hidden; isolation: isolate; }
.field-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.field-layer canvas { display: block; width: 100%; height: 100%; }
.has-field > .container { position: relative; z-index: 1; }
.field-continuum {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.field-continuum > .field-layer {
  z-index: 0;
}
.field-continuum > section {
  position: relative;
  z-index: 1;
}

/* ============ SECTION BASIS ============ */
section.block {
  padding: 140px 0;
  position: relative;
}
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-300); margin-bottom: 24px;
}
.section-eyebrow::before {
  content: ""; width: 32px; height: 1px; background: var(--gray-400);
}
.section-head {
  margin-bottom: 80px; max-width: 900px;
}
.section-head :is(h1, h2) {
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.section-head p {
  font-size: 17px; line-height: 1.65;
  color: var(--gray-300);
  max-width: 60ch;
  font-weight: 300;
}

/* ============ SEKTOREN ============ */
.sectors-section { background: var(--navy-800); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.sectors {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.sector {
  background: var(--navy-700);
  border: 1px solid var(--line);
  padding: 56px 48px;
  transition: border-color .25s, background .25s;
  position: relative;
}
.sector:hover {
  border-color: rgba(255, 255, 255, .25);
  background: var(--navy-600);
}
.sector-num {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 32px;
}
.sector h3 {
  font-size: 32px;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.sector p {
  color: var(--gray-300);
  font-size: 16px; line-height: 1.65;
  margin-bottom: 36px;
  font-weight: 300;
}
.sector-list {
  list-style: none; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.sector-list li {
  padding: 12px 0;
  font-size: 14px; color: var(--off-white);
  display: flex; align-items: start; gap: 14px;
  border-bottom: 1px solid var(--line-light);
}
.sector-list li:last-child { border-bottom: 0; }
.sector-list li::before {
  content: ""; width: 14px; height: 1px;
  background: var(--gray-400); margin-top: 11px; flex-shrink: 0;
}

/* ============ LEISTUNGEN ============ */
.services {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.service {
  border-top: 1px solid var(--white);
  padding-top: 36px;
}
.service-num {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 32px;
}
.service h3 {
  font-size: 26px; font-weight: 400;
  margin-bottom: 18px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.service p {
  color: var(--gray-300); font-size: 15.5px;
  line-height: 1.65; font-weight: 300;
  margin-bottom: 28px;
}
.service-tag {
  font-size: 12px; color: var(--gray-400);
  letter-spacing: .04em;
}

.study-note {
  display: grid;
  grid-template-columns: minmax(150px, .32fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  margin-top: 72px;
  padding: 36px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.study-stat strong {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(52px, 6vw, 78px);
  font-weight: 400;
  line-height: .95;
  color: var(--white);
}
.study-stat span {
  display: block;
  margin-top: 14px;
  color: var(--gray-400);
  font-size: 11px;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}
.study-copy .section-eyebrow { margin-bottom: 14px; }
.study-copy h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.study-copy p {
  max-width: 66ch;
  color: var(--gray-300);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}
.study-copy p + p { margin-top: 14px; }
.study-source {
  display: inline-block;
  margin-top: 20px;
  color: var(--off-white);
  border-bottom: 1px solid rgba(255,255,255,.35);
  font-size: 13px;
  line-height: 1.5;
  transition: border-color .2s;
}
.study-source:hover { border-color: var(--white); }
@media (max-width: 768px) {
  .study-note { grid-template-columns: 1fr; gap: 26px; padding: 28px 22px; margin-top: 52px; }
}

.service-case-link {
  display: block;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  padding: 18px 20px;
  margin: -6px 0 26px;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.service-case-link:hover {
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  transform: translateY(-2px);
}
.service-case-link span {
  display: block;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 7px;
}
.service-case-link strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 8px;
}
.service-case-link em {
  color: var(--gray-300);
  font-size: 13px;
  font-style: normal;
}

/* ============ KI-AGENTEN, PORTFOLIO (aufklappbare Kacheln) ============ */
.agent-head { margin-bottom: 40px; }
.agent-head .section-eyebrow { margin-bottom: 0; }

/* Orb-Anker: der einzige animierte Blickfang dieser Sektion.
   Der Platz für die Zeichnung ist fest reserviert (--orb-64), damit beim
   Nachladen des ES-Moduls kein Layoutsprung entsteht. Lädt das Modul nicht,
   bleibt die Textzeile unverändert stehen, die Aussage hängt nicht am Bild. */
.agent-anchor {
  display: flex; align-items: center; gap: 22px;
  margin-top: 22px;
}
.agent-anchor-orb {
  flex: 0 0 var(--orb-64); width: var(--orb-64); height: var(--orb-64);
}
.agent-anchor-text {
  font-size: 16px; line-height: 1.65; font-weight: 300;
  color: var(--gray-300); max-width: 54ch;
}
.agent-anchor-text strong { color: var(--off-white); font-weight: 400; }
@media (max-width: 560px) {
  .agent-anchor { flex-direction: column; align-items: flex-start; gap: 14px; }
}
.agent-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  align-items: start;
}
.agent-card {
  background: var(--navy-800);
  border: 1px solid var(--line);
  transition: border-color .25s, background .25s;
}
.agent-card:hover { border-color: rgba(255,255,255,.25); }
.agent-card[open] { border-color: rgba(255,255,255,.28); background: var(--navy-700); }
.agent-card > summary {
  display: block; list-style: none; cursor: pointer;
  padding: 32px 30px; position: relative;
}
.agent-card > summary::-webkit-details-marker { display: none; }
.agent-card > summary::marker { content: ""; }
.agent-card > summary:focus-visible { outline: 2px solid var(--white); outline-offset: -4px; }
.agent-num {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 22px; min-height: 22px;
  padding-right: 36px;
}
.agent-card h3 {
  font-size: 22px; font-weight: 400; letter-spacing: -.02em;
  line-height: 1.2; margin-bottom: 12px; padding-right: 36px;
}
.agent-claim {
  color: var(--gray-300); font-size: 14.5px; line-height: 1.6; font-weight: 300;
}
.agent-status {
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray-300); border: 1px solid var(--line); padding: 3px 9px;
}
.agent-toggle {
  position: absolute; top: 30px; right: 28px;
  width: 20px; height: 20px; flex-shrink: 0;
}
.agent-toggle::before, .agent-toggle::after {
  content: ""; position: absolute; background: var(--gray-300);
  transition: transform .25s ease, background .25s ease;
}
.agent-toggle::before { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.agent-toggle::after { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.agent-card[open] .agent-toggle::after { transform: translateX(-50%) scaleY(0); }
.agent-card[open] .agent-toggle::before { background: var(--white); }
.agent-body { padding: 0 30px 32px; }
.agent-body-inner { padding-top: 24px; border-top: 1px solid var(--line); }
.agent-body p {
  color: var(--gray-300); font-size: 15px; line-height: 1.65;
  font-weight: 300; margin-bottom: 18px;
}
.agent-body p:last-of-type { margin-bottom: 0; }
.agent-body a {
  color: var(--white); border-bottom: 1px solid rgba(255,255,255,.35);
  transition: border-color .2s;
}
.agent-body a:hover { border-color: var(--white); }
.agent-body a.btn-primary, .agent-body a.btn-primary:hover { color: var(--navy-900); border-bottom: 1px solid transparent; }
.agent-tag {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-light);
  font-size: 12px; color: var(--gray-400); letter-spacing: .04em;
}

/* ============ KI-AGENTEN, AUSGEKLAPPTES EINZEL-INTERFACE ============ */
/* Eine geöffnete Kachel breitet sich über die volle Rasterbreite aus und zeigt
   ein agentenspezifisches Bedien-Interface. Jeder Agent hat ein eigenes
   Farb- und Formklima, die Fenster sollen wie sechs unterschiedliche
   Produkte wirken, nicht wie sechs Ausschnitte dieser Website.
   Ohne JavaScript bleibt das native <details>-Verhalten erhalten. */

/* --- Basiswerte, werden je Agent überschrieben --- */
.agent-card {
  --ac: var(--gray-300);                 /* Akzent auf dunklem Seitenhintergrund */
  --ac-soft: rgba(255, 255, 255, .3);
}
.agent-ui {
  --ui-bg: #101a2c;
  --ui-bar: rgba(255, 255, 255, .04);
  --ui-surface: rgba(255, 255, 255, .03);
  --ui-line: rgba(255, 255, 255, .14);
  --ui-line-soft: rgba(255, 255, 255, .08);
  --ui-ink: #ffffff;
  --ui-ink-2: #c6cedb;
  --ui-mute: #8a96a8;
  --ui-accent: #ffffff;
  --ui-accent-soft: rgba(255, 255, 255, .3);
  --ui-on-accent: #0a1628;
  --ui-ok: #4ade80;
  --ui-warn: #eab308;
  --ui-bad: #ef4444;
  --ui-msg-u: rgba(255, 255, 255, .07);
  --ui-msg-a: rgba(0, 0, 0, .22);
  --ui-code-bg: rgba(0, 0, 0, .3);
  --ui-radius: 0px;
  --ui-shadow: 0 26px 54px -34px rgba(0, 0, 0, .8);
}

.agent-card[open] {
  grid-column: 1 / -1;
  border-top: 2px solid var(--ac);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .85);
}
.agent-card[open] > summary { padding: 32px 34px 26px; }
.agent-card[open] .agent-num { margin-bottom: 16px; color: var(--ac); }
.agent-card[open] h3 { font-size: 26px; }
.agent-card[open] .agent-claim { font-size: 15.5px; max-width: 80ch; }
.agent-card[open] .agent-body { padding: 0 34px 34px; }
.agent-card[open] .agent-toggle { top: 32px; right: 32px; }
.agent-card[open] .agent-toggle::before { background: var(--ac); }

.agent-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr);
  gap: 34px;
  align-items: start;
}
.agent-copy p { color: var(--gray-300); font-size: 15px; line-height: 1.65; font-weight: 300; margin-bottom: 18px; }
.agent-copy p:last-of-type { margin-bottom: 0; }

/* --- Rahmen der Interface-Vorschau --- */
.agent-ui {
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  background: var(--ui-bg);
  color: var(--ui-ink-2);
  box-shadow: var(--ui-shadow);
  min-width: 0;
  overflow: hidden;
}
.aui-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  padding: 13px 18px;
  border-bottom: 1px solid var(--ui-line);
  background: var(--ui-bar);
}
.aui-bar-l { display: flex; align-items: center; gap: 11px; min-width: 0; flex-wrap: wrap; }
.aui-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: var(--ui-ok);
  animation: aui-pulse 2.4s ease-out infinite;
}
@keyframes aui-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(127, 127, 127, .0); opacity: 1; }
  50%  { opacity: .45; }
  100% { opacity: 1; }
}
.aui-name { color: var(--ui-ink); font-size: 13.5px; font-weight: 500; }
.aui-meta { color: var(--ui-mute); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.aui-note {
  font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ui-mute); border: 1px solid var(--ui-line); padding: 4px 8px;
  border-radius: var(--ui-radius); white-space: nowrap;
}
.aui-body { padding: 18px; display: grid; gap: 14px; }
.aui-foot {
  border-top: 1px solid var(--ui-line);
  padding: 12px 18px;
  font-size: 11.5px; line-height: 1.55; color: var(--ui-mute); font-weight: 300;
}

/* --- Bausteine --- */
.aui-panel {
  border: 1px solid var(--ui-line-soft);
  border-radius: var(--ui-radius);
  background: var(--ui-surface);
  padding: 14px 16px; min-width: 0;
}
.aui-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.aui-k {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ui-mute); margin-bottom: 13px;
}
.aui-k b { color: var(--ui-ink-2); font-weight: 400; white-space: nowrap; }
.aui-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.aui-chip {
  font-size: 11.5px; color: var(--ui-ink-2); letter-spacing: .01em;
  border: 1px solid var(--ui-line); border-radius: var(--ui-radius);
  background: var(--ui-bar); padding: 5px 9px;
}
.aui-t { color: var(--ui-ink); font-size: 13px; line-height: 1.4; }
/* Doppelselektor: sonst gewinnen die globalen .agent-body p / a-Regeln der Seite */
.agent-ui p { margin: 0; }
.agent-ui .aui-hint { color: var(--ui-mute); font-size: 11.5px; line-height: 1.55; font-weight: 300; margin-top: 10px; }
.agent-ui .aui-p { color: var(--ui-ink-2); font-size: 12.5px; line-height: 1.6; font-weight: 300; }

/* Trefferzeile mit Bewertung */
.aui-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 14px; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--ui-line-soft);
}
.aui-row:first-of-type { border-top: 0; padding-top: 0; }
.aui-row:last-child { padding-bottom: 0; }
.aui-s { grid-column: 1 / -1; color: var(--ui-mute); font-size: 11.5px; line-height: 1.55; font-weight: 300; }
.aui-score { display: flex; align-items: center; gap: 9px; }
.aui-meter { width: 62px; height: 3px; background: var(--ui-line); position: relative; overflow: hidden; }
.aui-meter i { position: absolute; top: 0; bottom: 0; left: 0; width: 0; background: var(--ui-accent); transition: width .95s cubic-bezier(.2, .7, .2, 1) .15s; }
.agent-card[open] .aui-meter i { width: var(--v, 0%); }
.aui-num { font-variant-numeric: tabular-nums; font-size: 12.5px; color: var(--ui-ink); min-width: 20px; text-align: right; }

/* Nachrichten */
.aui-msg {
  border: 1px solid var(--ui-line); border-radius: var(--ui-radius);
  padding: 12px 14px; font-size: 13px; line-height: 1.6;
}
.aui-msg.u { background: var(--ui-msg-u); color: var(--ui-ink); }
.aui-msg.a { background: var(--ui-msg-a); color: var(--ui-ink-2); font-weight: 300; }
.aui-msg sup {
  font-size: 9.5px; color: var(--ui-accent); border: 1px solid var(--ui-accent-soft);
  padding: 0 4px; margin-left: 3px; vertical-align: super;
}
.aui-cites { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.aui-cites span {
  font-size: 10.5px; letter-spacing: .05em; color: var(--ui-accent);
  border: 1px solid var(--ui-accent-soft); border-radius: var(--ui-radius); padding: 3px 7px;
}

/* Status-Marker */
.aui-list { display: grid; gap: 9px; }
.aui-flag { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; line-height: 1.5; }
.aui-flag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.aui-flag.ok   { color: var(--ui-ok); }   .aui-flag.ok::before   { background: var(--ui-ok); }
.aui-flag.warn { color: var(--ui-warn); } .aui-flag.warn::before { background: var(--ui-warn); }
.aui-flag.bad  { color: var(--ui-bad); }  .aui-flag.bad::before  { background: var(--ui-bad); }

/* Kennzahlen */
.aui-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.aui-kpis.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aui-kpi {
  border: 1px solid var(--ui-line-soft); border-radius: var(--ui-radius);
  background: var(--ui-bar); padding: 12px 13px;
}
.aui-kpi span { display: block; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ui-mute); margin-bottom: 8px; }
.aui-kpi strong { display: block; font-size: 21px; font-weight: 400; line-height: 1; color: var(--ui-ink); }
.aui-kpi em { display: block; font-style: normal; font-size: 11px; color: var(--ui-mute); margin-top: 6px; font-weight: 300; }

/* Code-Diff */
.aui-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px; line-height: 1.75; color: var(--ui-mute);
  background: var(--ui-code-bg); border: 1px solid var(--ui-line-soft);
  border-radius: var(--ui-radius);
  padding: 12px 14px; overflow-x: auto; white-space: pre;
}
.aui-code .add { color: var(--ui-ok); display: block; }
.aui-code .del { color: var(--ui-bad); display: block; }

/* Fundstellen */
.aui-src { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--ui-line-soft); font-size: 12.5px; color: var(--ui-ink-2); font-weight: 300; line-height: 1.5; }
.aui-src:first-of-type { border-top: 0; padding-top: 0; }
.aui-src b { flex-shrink: 0; font-size: 10px; font-weight: 500; color: var(--ui-accent); border: 1px solid var(--ui-accent-soft); padding: 1px 6px; margin-top: 1px; }

/* Digest-Eintrag */
.aui-item { padding: 14px 0; border-top: 1px solid var(--ui-line-soft); }
.aui-item:first-of-type { border-top: 0; padding-top: 0; }
.aui-item:last-child { padding-bottom: 0; }
.aui-item-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 11px; }
.aui-tag { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ui-mute); border: 1px solid var(--ui-line); border-radius: var(--ui-radius); padding: 3px 7px; white-space: nowrap; }
.aui-tag.hi { color: var(--ui-accent); border-color: var(--ui-accent-soft); }
.aui-dl { display: grid; gap: 7px; }
.aui-dl > div { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.aui-dl dt { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ui-mute); }
.aui-dl dd { font-size: 12.5px; line-height: 1.55; color: var(--ui-ink-2); font-weight: 300; }
.aui-srcline { margin-top: 11px; font-size: 11px; color: var(--ui-mute); letter-spacing: .02em; }

/* Ampel-Befund */
.aui-verdict { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.aui-lamp { display: flex; gap: 7px; flex-shrink: 0; }
.aui-lamp i { width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--ui-line); background: var(--ui-bar); }
.aui-lamp i.on.red { background: var(--ui-bad); border-color: var(--ui-bad); box-shadow: 0 0 14px rgba(220, 38, 38, .45); }
.aui-verdict strong { display: block; color: var(--ui-ink); font-size: 14.5px; font-weight: 600; }
.aui-verdict em { display: block; font-style: normal; font-size: 12px; color: var(--ui-mute); margin-top: 4px; font-weight: 400; }
.aui-steps { list-style: none; counter-reset: s; display: grid; gap: 10px; }
.aui-steps li { counter-increment: s; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 11px; font-size: 12.5px; line-height: 1.55; color: var(--ui-ink-2); font-weight: 300; }
.aui-steps li::before {
  content: counter(s); font-size: 10px; color: var(--ui-accent);
  border: 1px solid var(--ui-accent-soft); width: 21px; height: 21px;
  border-radius: var(--ui-radius);
  display: grid; place-items: center; margin-top: -1px;
}
.aui-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.aui-btn {
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 13px; border: 1px solid var(--ui-line); color: var(--ui-ink-2);
  border-radius: var(--ui-radius);
}
.aui-btn.primary { background: var(--ui-accent); border-color: var(--ui-accent); color: var(--ui-on-accent); }

/* ---------------------------------------------------------------
   Eigenes Klima je Agent, jedes Fenster ist ein eigenes Produkt
   --------------------------------------------------------------- */

/* 01 · Akquise, helles Vertriebswerkzeug, Pflaume */
.agent-card[data-agent="akquise"] { --ac: #e18ab8; --ac-soft: rgba(225, 138, 184, .38); }
.agent-card[data-agent="akquise"] .agent-ui {
  --ui-bg: #f6f4f1; --ui-bar: rgba(124, 45, 90, .05);
  --ui-surface: #ffffff; --ui-line: rgba(38, 22, 32, .16);
  --ui-line-soft: rgba(38, 22, 32, .1);
  --ui-ink: #24151d; --ui-ink-2: #4d3c45; --ui-mute: #6e5f69;
  --ui-accent: #8e2f63; --ui-accent-soft: rgba(142, 47, 99, .35); --ui-on-accent: #ffffff;
  --ui-ok: #15803d; --ui-warn: #a16207; --ui-bad: #b91c1c;
  --ui-msg-u: rgba(142, 47, 99, .09); --ui-msg-a: #ffffff;
  --ui-radius: 2px; --ui-shadow: 0 26px 54px -30px rgba(0, 0, 0, .55);
}
.agent-card[data-agent="akquise"] .aui-kpi strong,
.agent-card[data-agent="akquise"] .aui-num { font-variant-numeric: tabular-nums; }

/* 02 · Webdesign, dunkle Entwicklerumgebung, Violett, technische Labels */
.agent-card[data-agent="webdesign"] { --ac: #a78bfa; --ac-soft: rgba(167, 139, 250, .4); }
.agent-card[data-agent="webdesign"] .agent-ui {
  --ui-bg: #101116; --ui-bar: rgba(167, 139, 250, .07);
  --ui-surface: rgba(255, 255, 255, .028); --ui-line: rgba(167, 139, 250, .2);
  --ui-line-soft: rgba(255, 255, 255, .08);
  --ui-ink: #eceaf6; --ui-ink-2: #b6b2ca; --ui-mute: #8d89a6;
  --ui-accent: #a78bfa; --ui-accent-soft: rgba(167, 139, 250, .42); --ui-on-accent: #14101f;
  --ui-ok: #5fdba0; --ui-warn: #e3b341; --ui-bad: #f47268;
  --ui-msg-u: rgba(167, 139, 250, .12); --ui-msg-a: rgba(0, 0, 0, .3);
  --ui-code-bg: #0a0b0f;
  --ui-radius: 0px;
}
.agent-card[data-agent="webdesign"] .aui-k,
.agent-card[data-agent="webdesign"] .aui-meta,
.agent-card[data-agent="webdesign"] .aui-kpi span,
.agent-card[data-agent="webdesign"] .aui-btn {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .04em;
}
.agent-card[data-agent="webdesign"] .aui-kpi strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 19px;
}

/* 03 · Gefahrgut, heller Industrieton, Warnorange, Gefahrgutstreifen */
.agent-card[data-agent="gefahrgut"] { --ac: #f0a35c; --ac-soft: rgba(240, 163, 92, .4); }
.agent-card[data-agent="gefahrgut"] .agent-ui {
  --ui-bg: #f4f1ea; --ui-bar: rgba(31, 27, 20, .045);
  --ui-surface: #fffdf8; --ui-line: rgba(31, 27, 20, .18);
  --ui-line-soft: rgba(31, 27, 20, .1);
  --ui-ink: #1f1b14; --ui-ink-2: #4a4238; --ui-mute: #6a6053;
  --ui-accent: #b0530a; --ui-accent-soft: rgba(176, 83, 10, .4); --ui-on-accent: #ffffff;
  --ui-ok: #15803d; --ui-warn: #9a6400; --ui-bad: #b91c1c;
  --ui-msg-u: rgba(191, 90, 8, .1); --ui-msg-a: #fffdf8;
  --ui-radius: 0px; --ui-shadow: 0 26px 54px -30px rgba(0, 0, 0, .55);
}
.agent-card[data-agent="gefahrgut"] .aui-bar {
  border-bottom: 0;
  box-shadow: inset 0 -6px 0 -3px transparent;
}
.agent-card[data-agent="gefahrgut"] .aui-bar::after {
  content: ""; display: block; height: 5px; width: 100%;
  order: 9; flex: 0 0 100%; margin: 11px -18px -13px;
  width: calc(100% + 36px);
  background: repeating-linear-gradient(
    -45deg, #d9760f 0 9px, #1f1b14 9px 18px
  );
  opacity: .85;
}
.agent-card[data-agent="gefahrgut"] .aui-k { font-weight: 500; }

/* 04 · News-Radar, dunkles Redaktionsgrün, Mint, Serifentitel */
.agent-card[data-agent="news"] { --ac: #5eead4; --ac-soft: rgba(94, 234, 212, .38); }
.agent-card[data-agent="news"] .agent-ui {
  --ui-bg: #0c1a17; --ui-bar: rgba(94, 234, 212, .06);
  --ui-surface: rgba(255, 255, 255, .03); --ui-line: rgba(94, 234, 212, .18);
  --ui-line-soft: rgba(255, 255, 255, .08);
  --ui-ink: #e8f4f0; --ui-ink-2: #a9c4bd; --ui-mute: #7fa099;
  --ui-accent: #4fd1a5; --ui-accent-soft: rgba(79, 209, 165, .4); --ui-on-accent: #06231c;
  --ui-ok: #4fd1a5; --ui-warn: #e0b64a; --ui-bad: #f1786c;
  --ui-msg-u: rgba(94, 234, 212, .1); --ui-msg-a: rgba(0, 0, 0, .25);
  --ui-radius: 0px;
}
.agent-card[data-agent="news"] .aui-item .aui-t {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px; line-height: 1.3; letter-spacing: -.01em;
}
.agent-card[data-agent="news"] .aui-kpi strong {
  font-family: 'Playfair Display', Georgia, serif; font-size: 26px;
}

/* 05 · Betrugsmaschen, helle Bürgeroberfläche, kontraststark, größere Schrift */
.agent-card[data-agent="betrug"] { --ac: #8fb3ff; --ac-soft: rgba(143, 179, 255, .4); }
.agent-card[data-agent="betrug"] .agent-ui {
  --ui-bg: #ffffff; --ui-bar: #eef2f8;
  --ui-surface: #f7f9fc; --ui-line: rgba(16, 24, 40, .18);
  --ui-line-soft: rgba(16, 24, 40, .1);
  --ui-ink: #101828; --ui-ink-2: #344054; --ui-mute: #5b6675;
  --ui-accent: #1d4ed8; --ui-accent-soft: rgba(29, 78, 216, .35); --ui-on-accent: #ffffff;
  --ui-ok: #15803d; --ui-warn: #a15c00; --ui-bad: #c81e1e;
  --ui-msg-u: #f2f4f7; --ui-msg-a: #ffffff;
  --ui-radius: 10px; --ui-shadow: 0 26px 54px -28px rgba(0, 0, 0, .6);
}
/* Zielgruppe 60+: bewusst größere, ruhigere Typografie */
.agent-card[data-agent="betrug"] .aui-msg,
.agent-card[data-agent="betrug"] .aui-flag,
.agent-card[data-agent="betrug"] .aui-steps li { font-size: 14.5px; line-height: 1.65; font-weight: 400; }
.agent-card[data-agent="betrug"] .aui-verdict strong { font-size: 17px; }
.agent-card[data-agent="betrug"] .aui-verdict em { font-size: 13.5px; }
.agent-card[data-agent="betrug"] .aui-lamp i { width: 16px; height: 16px; }
.agent-card[data-agent="betrug"] .aui-steps li::before { border-radius: 50%; }

/* 06 · Wissens-Agent, dunkles Archivbraun, Gold, Serifenantwort */
.agent-card[data-agent="wissen"] { --ac: #e0be74; --ac-soft: rgba(224, 190, 116, .38); }
.agent-card[data-agent="wissen"] .agent-ui {
  --ui-bg: #191614; --ui-bar: rgba(217, 164, 65, .06);
  --ui-surface: rgba(255, 255, 255, .028); --ui-line: rgba(217, 164, 65, .2);
  --ui-line-soft: rgba(255, 255, 255, .08);
  --ui-ink: #f2ece1; --ui-ink-2: #c2b7a6; --ui-mute: #998d7c;
  --ui-accent: #d9a441; --ui-accent-soft: rgba(217, 164, 65, .4); --ui-on-accent: #1a1508;
  --ui-ok: #7cc98f; --ui-warn: #d9a441; --ui-bad: #e58b7f;
  --ui-msg-u: rgba(217, 164, 65, .1); --ui-msg-a: rgba(0, 0, 0, .28);
  --ui-radius: 3px;
}
.agent-card[data-agent="wissen"] .aui-msg.a {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px; line-height: 1.7; font-weight: 400;
}

/* Ablauf im Textteil, nimmt den Akzent des jeweiligen Agenten auf */
.agent-flow { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-light); }
.agent-flow > .aui-k { margin-bottom: 15px; color: var(--gray-400); }

/* Referenz im Webdesign-Agenten: DJ Foxy mit Scroll-Frame-Beispiel */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.agent-ref {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr); gap: 34px;
  margin-top: 6px; padding-top: 28px; border-top: 1px solid var(--line-light);
}
.ref-film {
  position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden;
  background: #07080b; border: 1px solid var(--ui-line, rgba(167, 139, 250, .2));
}
.ref-film-poster, .ref-film-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.ref-film-canvas { opacity: 0; transition: opacity .4s; }
.ref-film.bereit .ref-film-canvas { opacity: 1; }
.ref-film-hint {
  position: absolute; left: 14px; bottom: 16px; padding: 6px 10px;
  font: 500 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em;
  color: #eceaf6; background: rgba(10, 11, 15, .72); border: 1px solid rgba(167, 139, 250, .35);
}
.ref-film-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); }
.ref-film-bar i { display: block; height: 100%; width: 0; background: #a78bfa; }
.ref-copy h4 { color: var(--white); font-size: 20px; font-weight: 500; margin: 12px 0 14px; }
.ref-copy .aui-k { color: #c4b5fd; }
.ref-points { list-style: none; margin: 16px 0 20px; display: grid; gap: 10px; }
.ref-points li {
  position: relative; padding-left: 18px; color: var(--gray-400);
  font-size: 13px; line-height: 1.55; font-weight: 300;
}
.ref-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 1px; background: #a78bfa; }
.agent-body a.ref-link { font-size: 14px; font-weight: 500; }
@media (max-width: 1100px) { .agent-ref { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
@media (prefers-reduced-motion: reduce) { .ref-film-hint, .ref-film-bar { display: none; } }
.agent-flow ol { list-style: none; display: grid; gap: 16px; counter-reset: fl; }
.agent-flow li {
  counter-increment: fl;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  column-gap: 13px; row-gap: 3px;
}
.agent-flow li::before {
  content: counter(fl, decimal-leading-zero);
  grid-column: 1; grid-row: 1 / span 2;
  font-size: 9.5px; letter-spacing: .08em; color: var(--ac);
  border: 1px solid var(--ac-soft); width: 26px; height: 26px;
  display: grid; place-items: center; align-self: start; margin-top: 1px;
}
.agent-flow li b { grid-column: 2; grid-row: 1; color: var(--white); font-size: 13px; font-weight: 500; }
.agent-flow li em { grid-column: 2; grid-row: 2; font-style: normal; color: var(--gray-400); font-size: 12.5px; line-height: 1.55; font-weight: 300; }

/* Einblenden beim Öffnen */
.agent-card[open] .agent-ui   { animation: aui-in .52s cubic-bezier(.2, .7, .2, 1) both; }
.agent-card[open] .agent-copy { animation: aui-in .52s .07s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes aui-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .agent-card[open] .agent-ui,
  .agent-card[open] .agent-copy { animation: none; }
  .aui-meter i { transition: none; }
  .aui-dot { animation: none; }
}

@media (max-width: 1100px) {
  .agent-detail { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 720px) {
  .agent-card[open] > summary { padding: 28px 24px 22px; }
  .agent-card[open] .agent-body { padding: 0 24px 28px; }
  .agent-card[open] .agent-toggle { top: 26px; right: 22px; }
  .agent-card[open] h3 { font-size: 23px; }
  .aui-body { padding: 14px; gap: 12px; }
  .aui-split { grid-template-columns: minmax(0, 1fr); }
  .aui-kpis, .aui-kpis.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aui-note { white-space: normal; }
  .aui-dl > div { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .aui-item-h { flex-direction: column; gap: 8px; align-items: flex-start; }
  .aui-verdict { align-items: flex-start; }
  .agent-card[data-agent="gefahrgut"] .aui-bar::after { margin: 11px -14px -13px; width: calc(100% + 28px); }
}

.agent-arch-link {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 18px;
  margin-top: 28px; padding: 24px 30px;
  border: 1px solid var(--line); background: rgba(255,255,255,.035);
  transition: border-color .25s, background .25s, transform .25s;
}
.agent-arch-link:hover {
  border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06);
  transform: translateY(-2px);
}
.agent-arch-link .aal-text { max-width: 68ch; }
.agent-arch-link .aal-k {
  display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 8px;
}
.agent-arch-link .aal-t {
  display: block; color: var(--white); font-size: 16px; font-weight: 500; margin-bottom: 6px;
}
.agent-arch-link .aal-d { display: block; color: var(--gray-300); font-size: 14px; font-weight: 300; line-height: 1.6; }
.agent-arch-link .aal-a { color: var(--gray-300); font-size: 14px; white-space: nowrap; }

/* Preisblock */
.agent-pricing {
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--navy-800);
  padding: 44px 44px 36px;
}
.agent-pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 56px;
}
.agent-price .apk {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 18px;
}
.agent-price .apv {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 38px; line-height: 1.1; color: var(--white); margin-bottom: 14px;
}
.agent-price .apv small {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px; color: var(--gray-400);
}
.agent-price p { color: var(--gray-300); font-size: 14.5px; line-height: 1.6; font-weight: 300; }
.agent-pricing-note {
  margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--gray-400); line-height: 1.65; font-weight: 300;
}
.agent-pricing-note a { color: var(--gray-300); text-decoration: underline; text-underline-offset: 3px; }
.agent-pricing-note a:hover { color: var(--white); }

/* ---- KI-Kompetenz-Schulung (Art. 4 KI-VO) ---- */
.kk-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.kk-step { background: var(--navy-800); padding: 36px 32px 34px; }
.kk-step .kk-num {
  display: block; font-family: 'Playfair Display', Georgia, serif; font-style: italic;
  font-size: 30px; line-height: 1; color: var(--gray-300); margin-bottom: 18px;
}
.kk-step h3 { font-size: 20px; font-weight: 400; letter-spacing: -.01em; margin-bottom: 10px; }
.kk-step p { color: var(--gray-300); font-size: 15px; line-height: 1.65; font-weight: 300; }
.kk-detail {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px;
  margin-top: 64px; align-items: start;
}
.kk-detail .kk-k {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 18px;
}
.kk-list { list-style: none; display: grid; gap: 12px; }
.kk-list li {
  position: relative; padding-left: 24px; color: var(--off-white);
  font-size: 16px; line-height: 1.55; font-weight: 300;
}
.kk-list li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--gray-300);
}
.kk-aside p { color: var(--gray-300); font-size: 15px; line-height: 1.65; font-weight: 300; }
.kk-aside p + p { margin-top: 14px; }
.kk-aside strong { color: var(--white); font-weight: 500; }
.kk-pricing { margin-top: 64px; }
.kk-cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .kk-steps, .kk-detail { grid-template-columns: 1fr; }
  .kk-detail { gap: 40px; margin-top: 48px; }
  .kk-step { padding: 28px 24px; }
  .kk-pricing { margin-top: 48px; }
}

/* ---- Agent-Access-Tool: Oberflaeche fuer den Zugriff auf einzelne Agenten ---- */
.agent-access {
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--navy-800);
  padding: 44px 44px 40px;
}
.agent-access-head {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 14px; margin-bottom: 24px;
}
.agent-access-head .section-eyebrow { margin-bottom: 0; }
.agent-access-flag {
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray-400); border: 1px solid var(--line-light);
  padding: 5px 10px;
}
.agent-access-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2;
  font-weight: 400; color: var(--white); margin-bottom: 16px;
}
.agent-access-lead {
  color: var(--gray-300); font-size: 15.5px; line-height: 1.7;
  font-weight: 300; max-width: 70ch;
}
.agent-access .capability-grid { margin-top: 36px; }
.agent-access-demo { margin-top: 26px; }
.access-demo-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #e3b341;
  box-shadow: 0 0 8px rgba(227,179,65,.55);
}
#accessFrame {
  width: 1400px; height: 880px; border: 0; display: block;
  transform-origin: 0 0;
}

/* ============ IM EINSATZ / LIVE-BEWEIS ============ */
.proof-section {
  background: var(--navy-800);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.proof-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 72px;
  align-items: center;
}
.proof-content h2 {
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.08;
  font-weight: 300;
  margin-bottom: 28px;
}
.proof-content p {
  color: var(--gray-300);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  max-width: 60ch;
  margin-bottom: 36px;
}
.proof-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
}
.tech-stack span {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  padding: 9px 12px;
  font-size: 12px;
  color: var(--gray-300);
  letter-spacing: .02em;
}
.agent-demo-card {
  border: 1px solid var(--line);
  background: var(--navy-700);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.agent-demo-card::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
.demo-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.demo-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.demo-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 5px;
}
.demo-brand span {
  display: block;
  color: var(--gray-400);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.demo-brand strong {
  display: block;
  color: var(--white);
  font-size: 17px;
  font-weight: 500;
  margin-top: 2px;
}
.demo-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, .4);
  padding: 8px 10px;
  background: rgba(74, 222, 128, .08);
}
.demo-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, .9);
  animation: status-pulse 2s ease-out infinite;
}
@keyframes status-pulse {
  0%   { box-shadow: 0 0 8px rgba(74, 222, 128, .9), 0 0 0 0 rgba(74, 222, 128, .45); }
  70%  { box-shadow: 0 0 8px rgba(74, 222, 128, .9), 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 8px rgba(74, 222, 128, .9), 0 0 0 0 rgba(74, 222, 128, 0); }
}
.chat-window {
  position: relative;
  z-index: 1;
  padding-top: 28px;
  display: grid;
  gap: 16px;
}
.chat-bubble {
  border: 1px solid var(--line);
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.55;
}
.chat-bubble.user {
  background: rgba(255,255,255,.08);
  color: var(--white);
  margin-left: 54px;
}
.chat-bubble.agent {
  background: rgba(10,22,40,.42);
  color: var(--gray-300);
  margin-right: 34px;
}
.chat-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
.chat-result-grid span {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  padding: 12px 14px;
  font-size: 12px;
  color: var(--off-white);
}
/* Live-Typing-Demo (nur mit JS aktiv, sonst bleibt der statische Text stehen) */
.caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 1px;
  background: var(--white);
  vertical-align: text-bottom;
  animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
.typing-dots { display: inline-flex; gap: 5px; align-items: center; padding: 3px 0; }
.typing-dots i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gray-400); display: inline-block;
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.typing-dots i:nth-child(2) { animation-delay: .15s; }
.typing-dots i:nth-child(3) { animation-delay: .30s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30% { transform: translateY(-5px); opacity: 1; }
}
.chat-result-grid span.chip-in { animation: chip-pop .45s ease-out both; }
@keyframes chip-pop {
  0%   { opacity: 0; transform: translateY(8px) scale(.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .caret, .typing-dots i, .chat-result-grid span.chip-in { animation: none; }
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.capability-grid article {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  padding: 26px 24px;
}
.capability-grid span {
  display: block;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 18px;
}
.capability-grid h3 {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.capability-grid p {
  color: var(--gray-300);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
}

/* ---- Data-Scan-Hover für die 01–04-Kacheln ---- */
.capability-scan article {
  --scan-x: 50%;
  --scan-y: 38%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    border-color .28s ease,
    background-color .28s ease,
    box-shadow .28s ease;
}
.capability-scan article::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(
      circle 170px at var(--scan-x) var(--scan-y),
      rgba(126, 167, 216, .20) 0,
      rgba(74, 111, 157, .10) 36%,
      rgba(28, 48, 80, .035) 58%,
      transparent 76%
    ),
    linear-gradient(rgba(184, 194, 208, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 194, 208, .045) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  transition: opacity .24s ease;
}
.capability-scan article::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  pointer-events: none;
  opacity: 0;
  transform: scaleX(.12);
  transform-origin: left center;
  background: linear-gradient(
    90deg,
    transparent 0,
    rgba(126, 167, 216, .28) 14%,
    rgba(214, 230, 249, .92) 50%,
    rgba(126, 167, 216, .28) 86%,
    transparent 100%
  );
  transition: opacity .2s ease, transform .48s cubic-bezier(.22, 1, .36, 1);
}
.capability-scan article > span,
.capability-scan article > h3,
.capability-scan article > p {
  position: relative;
  z-index: 1;
}
.capability-scan article > span {
  transition: color .24s ease, letter-spacing .32s ease;
}
.capability-scan article > span::before {
  content: "";
  position: absolute;
  top: calc(50% - 2px);
  left: 74px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  opacity: 0;
  background: rgba(214, 230, 249, .95);
  box-shadow:
    24px 0 0 rgba(126, 167, 216, .72),
    48px 0 0 rgba(126, 167, 216, .34);
  transform: translateX(-12px);
  transition: opacity .2s ease, transform .42s cubic-bezier(.22, 1, .36, 1);
}
.capability-scan article > span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 28px;
  width: 92px;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, rgba(126, 167, 216, .8), rgba(126, 167, 216, .08));
  transform: scaleX(.15);
  transform-origin: left center;
  transition: opacity .2s ease, transform .42s cubic-bezier(.22, 1, .36, 1);
}
.capability-scan article > h3 {
  transition: color .24s ease, transform .32s cubic-bezier(.22, 1, .36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .capability-scan article:hover {
    border-color: rgba(178, 204, 235, .34);
    background-color: rgba(255,255,255,.052);
    box-shadow:
      inset 0 0 0 1px rgba(126, 167, 216, .045),
      0 18px 44px rgba(2, 9, 20, .14);
  }
  .capability-scan article:hover::before { opacity: 1; }
  .capability-scan article:hover::after {
    opacity: 1;
    transform: scaleX(1);
  }
  .capability-scan article:hover > span {
    color: var(--white);
    letter-spacing: .18em;
  }
  .capability-scan article:hover > span::before,
  .capability-scan article:hover > span::after {
    opacity: 1;
    transform: translateX(0) scaleX(1);
  }
  .capability-scan article:hover > h3 {
    color: #f7fbff;
    transform: translateX(3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .capability-scan article,
  .capability-scan article::before,
  .capability-scan article::after,
  .capability-scan article > span,
  .capability-scan article > span::before,
  .capability-scan article > span::after,
  .capability-scan article > h3 {
    transition: none;
  }
  .capability-scan article:hover > h3 { transform: none; }
}

/* ============ PROJEKTE ============ */
.projects-section { background: var(--navy-800); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.projects {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.project {
  display: grid;
  grid-template-columns: 64px 200px 1fr 180px 40px;
  gap: 32px; align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding-left .3s, background .3s;
  color: inherit;
  text-decoration: none;
}
.project:hover {
  padding-left: 16px;
}
.project-logo {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: grid; place-items: center;
  overflow: hidden;
  background: var(--navy-700);
  border: 1px solid var(--line);
}
.project-logo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.project-logo.symbol-logo {
  background: #ffffff;
  border-color: rgba(255,255,255,.16);
  padding: 3px;
}
.project-logo.symbol-logo img {
  object-fit: contain;
  border-radius: 8px;
}
.project-logo.placeholder {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--white);
  opacity: .85;
}
.project-client {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-400);
}
.project-client strong {
  display: block; color: var(--white); font-size: 15px;
  margin-top: 8px; font-weight: 500;
  text-transform: none; letter-spacing: -0.01em;
}
.project-title {
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2;
  color: var(--white); margin-bottom: 10px;
  font-weight: 400; letter-spacing: -0.02em;
}
.project-desc {
  font-size: 15px; line-height: 1.6;
  color: var(--gray-300); font-weight: 300;
  max-width: 56ch;
}
.project-meta {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-400); text-align: right;
}
.project-meta strong {
  display: block; color: var(--white); font-size: 14px;
  margin-top: 6px; font-weight: 500;
  text-transform: none; letter-spacing: -0.01em;
}
.project-arrow {
  color: var(--gray-400); font-size: 20px; transition: all .3s;
  text-align: right;
}
.project:hover .project-arrow { color: var(--white); transform: translateX(6px); }

.project-featured {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 48px;
  align-items: stretch;
  padding: 46px;
  margin: 34px 0 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: var(--navy-700);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
  transition: transform .3s ease, border-color .25s ease, background .25s ease;
}
.project-featured:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.3);
  background: var(--navy-600);
}
.project-featured-kicker {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 24px;
}
.project-featured-logo {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 6px;
  margin-bottom: 28px;
}
.project-featured-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.project-featured h3 {
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.08;
  margin-bottom: 22px;
}
.project-featured p {
  color: var(--gray-300);
  font-size: 16px;
  line-height: 1.65;
  max-width: 60ch;
  font-weight: 300;
  margin-bottom: 28px;
}
.featured-functions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  list-style: none;
  margin-bottom: 30px;
}
.featured-functions li {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  padding: 12px 14px;
  color: var(--off-white);
  font-size: 13px;
}
.featured-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--gray-400);
  font-size: 13px;
}
.featured-meta strong {
  color: var(--white);
  font-weight: 500;
}
.project-featured-visual {
  display: grid;
  place-items: center;
  min-height: 360px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,.06), transparent 65%),
    var(--navy-800);
}
.mini-widget {
  width: min(100%, 360px);
  border: 1px solid var(--line);
  background: rgba(10,22,40,.72);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
}
.mini-widget-bar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.mini-widget-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-500);
}
.mini-widget-body {
  padding: 22px;
  display: grid;
  gap: 12px;
}
.mini-line {
  height: 10px;
  width: 62%;
  background: rgba(255,255,255,.08);
}
.mini-line.wide { width: 86%; }
.mini-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  padding: 13px 14px;
  color: var(--off-white);
  font-size: 13px;
}
.mini-card.muted { color: var(--gray-300); }

/* Expand-Variante: Karte mit aufklappbarem Visual */
.project-expand {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.project-expand .project {
  border-bottom: none;
}
.project-expand .project-arrow {
  transition: transform .3s;
}
.project-expand[open] .project-arrow {
  transform: rotate(90deg);
  color: var(--white);
}
.project-expand summary {
  list-style: none;
  cursor: pointer;
}
.project-expand summary::-webkit-details-marker { display: none; }
.project-detail {
  padding: 0 0 48px 96px;
  animation: fadeIn .4s ease-out;
}
.project-detail-image {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  border: 1px solid var(--line);
  background: var(--navy-700);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.project-detail-caption {
  margin-top: 18px;
  font-size: 13px;
  color: var(--gray-400);
  letter-spacing: .02em;
  max-width: 56ch;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ TEAM ============ */
.team {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
.member {
  border: 1px solid var(--line);
  background: var(--navy-800);
  padding: 48px;
  display: flex; flex-direction: column;
}
.member-portrait {
  width: 100%; aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, var(--navy-700) 0%, var(--navy-600) 100%);
  border: 1px solid var(--line);
  margin-bottom: 36px;
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.member-portrait::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.04), transparent 50%);
}

.member-portrait .member-photo {
  position: relative;
  z-index: 1;
  width: min(72%, 305px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 50%;
  display: block;
  filter: drop-shadow(0 24px 42px rgba(0,0,0,.24));
}
.member-portrait .initials {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 88px; color: var(--white);
  opacity: .25;
}
.member-portrait .ph-label {
  position: absolute; bottom: 14px; left: 18px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-400);
}
.member-role {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 14px;
}
.member-name {
  font-size: 30px; font-weight: 400;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.member-bio {
  font-size: 15px; line-height: 1.7;
  color: var(--gray-300); font-weight: 300;
  margin-bottom: auto;
}
.member-foot {
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--gray-400);
}
.member-foot a {
  color: var(--white); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.member-foot a:hover { color: var(--gray-300); }

/* ============ KONTAKT CTA ============ */
.cta-section {
  padding: 160px 0;
  background: var(--black);
  border-top: 1px solid var(--line-light);
  text-align: center;
}
.cta-section > .container {
  perspective: 1400px;
}

/* Abgerundete Liquid-Glass-Scheibe */
.cta-glass {
  position: relative;
  padding: 84px 64px 72px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% -8%, rgba(126,167,216,.18), transparent 36%),
    radial-gradient(circle at 92% 112%, rgba(255,255,255,.09), transparent 38%),
    linear-gradient(
      145deg,
      rgba(255,255,255,.105) 0%,
      rgba(255,255,255,.045) 38%,
      rgba(10,22,40,.30) 100%
    );
  border: 1px solid rgba(214,230,249,.28);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  box-shadow:
    0 58px 110px -42px rgba(0,0,0,.92),
    0 22px 48px -30px rgba(126,167,216,.46),
    inset 0 1px 0 rgba(255,255,255,.34),
    inset 0 -1px 0 rgba(255,255,255,.055);
  transform: translate3d(0, -6px, 18px);
  overflow: hidden;
}
/* Flüssige Lichtbrechung innerhalb der Scheibe */
.cta-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 52% 38% at 18% 0%, rgba(255,255,255,.13), transparent 72%),
    radial-gradient(ellipse 40% 48% at 100% 100%, rgba(126,167,216,.08), transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 42%);
}
/* Innere Glaskante gibt der Fläche Materialstärke */
.cta-glass::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 32px;
  pointer-events: none;
}
.cta-glass > * { position: relative; z-index: 1; }
.cta-section h2 {
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.1;
  font-weight: 300;
  max-width: 22ch;
  margin: 0 auto 36px;
  letter-spacing: -0.025em;
}
.cta-lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
  color: var(--gray-300);
  max-width: 60ch;
  margin: 0 auto 48px;
  font-weight: 300;
}
.cta-row {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.cta-trust {
  margin-top: 40px;
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: var(--gray-400);
  letter-spacing: .01em;
}
.cta-trust .dot-sep { color: var(--gray-500); }

/* ============ FOOTER ============ */
footer {
  background: var(--black);
  padding: 80px 0 40px;
  border-top: 1px solid var(--line-light);
}
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px; padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.foot-brand .foot-name {
  font-size: 18px; font-weight: 500;
  margin-bottom: 6px;
}
.foot-brand .foot-sub {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 24px;
}
.foot-brand p {
  font-size: 14px; line-height: 1.65;
  color: var(--gray-300); max-width: 34ch; font-weight: 300;
}
footer h5 {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 18px; font-weight: 500;
}
footer ul { list-style: none; }
footer li { padding: 6px 0; }
footer a { color: var(--off-white); font-size: 14px; opacity: .8; }
footer a:hover { opacity: 1; }
.foot-bottom {
  padding-top: 32px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; letter-spacing: .04em;
  color: var(--gray-500);
}

/* Reveal animation, nur aktiv wenn JS geladen ist (Klasse wird von Script gesetzt) */
html.js-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(40px);
}
html.js-ready .reveal {
  transition: opacity .9s ease-out, transform .9s ease-out;
}
html.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ AUFDECK-EFFEKT FÜR ABSCHNITTSKÖPFE ============
   Baut auf derselben .reveal-Mechanik auf (Klasse .is-visible wird vom
   vorhandenen IntersectionObserver gesetzt, inklusive 2-Sekunden-
   Sicherheitsnetz). Statt eines reinen Ein-Fadens wandert ein weicher
   Maskenverlauf über Eyebrow, Überschrift und Absatz, leicht gestaffelt.

   Der Verlauf ist nur der Sichtbarkeitsschalter: Ohne Maskenunterstützung
   (@supports greift nicht), ohne JavaScript oder bei reduzierter Bewegung
   steht der Kopf sofort vollständig da.
   Der Orb-Anker (.agent-anchor) ist bewusst ausgenommen, an dessen
   Darstellung wird nichts geändert. */
@supports ((-webkit-mask-image: linear-gradient(#000, #000)) or (mask-image: linear-gradient(#000, #000))) {
  /* Der Kopf selbst bewegt sich nicht mehr, die Maske übernimmt das Aufdecken. */
  html.js-ready .section-head.reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
  html.js-ready .section-head.reveal > .section-eyebrow,
  html.js-ready .section-head.reveal > :is(h1, h2),
  html.js-ready .section-head.reveal > p {
    --head-mask: linear-gradient(90deg, #000 0%, #000 42%, rgba(0, 0, 0, 0) 70%);
    -webkit-mask-image: var(--head-mask);
            mask-image: var(--head-mask);
    -webkit-mask-size: 320% 100%;
            mask-size: 320% 100%;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: 100% 0;
            mask-position: 100% 0;
    transition: -webkit-mask-position 1.05s cubic-bezier(.22, .61, .36, 1),
                        mask-position 1.05s cubic-bezier(.22, .61, .36, 1);
  }
  html.js-ready .section-head.reveal.is-visible > .section-eyebrow,
  html.js-ready .section-head.reveal.is-visible > :is(h1, h2),
  html.js-ready .section-head.reveal.is-visible > p {
    -webkit-mask-position: 0 0;
            mask-position: 0 0;
  }
  /* Staffelung über gut 200 ms, mehr wäre Zirkus. */
  html.js-ready .section-head.reveal > :is(h1, h2) { transition-delay: .11s; }
  html.js-ready .section-head.reveal > p  { transition-delay: .22s; }

  /* Nach dem Durchlauf wird die Maske wieder entfernt (Klasse kommt aus dem
     Reveal-Skript). Danach rendert der Text wieder ohne Zwischenebene. */
  html.js-ready .section-head.reveal.head-done > .section-eyebrow,
  html.js-ready .section-head.reveal.head-done > :is(h1, h2),
  html.js-ready .section-head.reveal.head-done > p {
    -webkit-mask-image: none;
            mask-image: none;
    transition: none;
  }

  @media (prefers-reduced-motion: reduce) {
    html.js-ready .section-head.reveal > .section-eyebrow,
    html.js-ready .section-head.reveal > :is(h1, h2),
    html.js-ready .section-head.reveal > p {
      -webkit-mask-image: none;
              mask-image: none;
      transition: none;
    }
  }
}

/* ============ HOCHLAUFENDE ZAHLEN ============
   Die Endwerte stehen im Markup und werden nur ausgelesen. Hier wird
   lediglich dafür gesorgt, dass beim Zählen nichts wackelt: Ziffern mit
   gleicher Laufweite, und die Kennzahl behält ihre Zeilenhöhe. */
.aui-kpi strong { font-variant-numeric: tabular-nums; min-height: 1em; }
/* .aui-num bringt tabular-nums, min-width und rechtsbündige Ausrichtung
   bereits mit, dort ist nichts zu ergänzen. */

/* ============ LEISTUNGSKATALOG ============ */
.catalog-section {
  background: var(--navy-800);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.catalog {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 72px;
  align-items: center;
}
.catalog-cover-link {
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy-700);
  transition: transform .4s ease, border-color .25s ease, box-shadow .4s ease;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.catalog-cover-link:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .25);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.catalog-cover-link img {
  display: block;
  width: 100%;
  height: auto;
}
.catalog-cover-badge {
  position: absolute;
  top: 18px; left: 18px;
  background: rgba(10, 22, 40, .85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 8px 12px;
  font-weight: 500;
}
.catalog-cover-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to top, rgba(5, 10, 20, .92), rgba(5, 10, 20, 0));
  color: var(--white);
  font-size: 13px;
  letter-spacing: .04em;
  opacity: 0;
  transition: opacity .3s ease;
}
.catalog-cover-link:hover .catalog-cover-overlay { opacity: 1; }
.catalog-cover-overlay .arrow { transition: transform .25s; font-size: 16px; }
.catalog-cover-link:hover .catalog-cover-overlay .arrow { transform: translateX(4px); }

.catalog-content h2 {
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.catalog-content p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-300);
  max-width: 56ch;
  font-weight: 300;
  margin-bottom: 20px;
}
.catalog-meta {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.catalog-meta .label {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 8px;
}
.catalog-meta .value {
  font-size: 15px; color: var(--white); font-weight: 400;
}

/* ============ IMPRESSUM MODAL ============ */
.impressum-link {
  font: inherit;
  color: var(--off-white);
  opacity: .8;
  cursor: pointer;
}
.impressum-link:hover { opacity: 1; }
.impressum-note {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  padding: 18px 20px;
  margin: 22px 0 8px;
  color: var(--off-white) !important;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}
.modal-close:hover { background: rgba(255,255,255,.08); }
.project-static { cursor: default; }
.project-static:hover { padding-left: 0; }
.project-static:hover .project-arrow { transform: none; color: var(--gray-400); }


@media (max-width: 1100px) {
  .proof-grid, .project-featured { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .project-featured-visual { min-height: 280px; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-3d { opacity: .58; }
  .hero-3d-label { display: none; }
  .nav { padding-left: 32px; padding-right: 32px; }
  .container { padding: 0 32px; }
  .services { grid-template-columns: 1fr; gap: 40px; }
  .agent-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .agent-pricing-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 28px; }
  .catalog { grid-template-columns: 1fr; gap: 48px; }
  .proof-grid { gap: 48px; }
  .catalog-cover-link { max-width: 480px; }
}
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  nav.primary {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10, 22, 40, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-light);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height .35s ease, visibility .35s ease;
  }
  nav.primary.is-open {
    max-height: calc(100vh - 80px);
    visibility: visible;
    overflow-y: auto;
  }
  nav.primary ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
  }
  nav.primary ul li { border-bottom: 1px solid var(--line-light); }
  nav.primary ul li:last-child { border-bottom: none; }
  nav.primary a {
    display: block;
    padding: 16px 4px;
    font-size: 16px;
    opacity: .9;
  }
  nav.primary .nav-cta {
    margin: 16px 0 0;
    text-align: center;
    padding: 14px 22px;
  }
  nav.primary .nav-login {
    margin: 16px 0 0;
    text-align: center;
    padding: 13px 22px;
  }
  header.site { overflow: visible; }
  .nav { position: relative; }
  .nav { padding: 18px 24px; }
  .container { padding: 0 24px; }
  section.block, .cta-section { padding: 80px 0; }
  .cta-glass {
    padding: 48px 28px 44px;
    border-radius: 26px;
    transform: translate3d(0, -4px, 12px);
  }
  .cta-glass::after { border-radius: 24px; }
  .hero { padding: 120px 0 60px; }
  .hero-3d { opacity: .42; }
  .hero-3d::before { top: 4%; right: -22%; width: min(120vw, 560px); height: min(120vw, 560px); }
  .sectors, .team { grid-template-columns: 1fr; gap: 24px; }
  .agent-grid { grid-template-columns: 1fr; gap: 18px; }
  .agent-card > summary { padding: 28px 24px; }
  .agent-toggle { top: 26px; right: 22px; }
  .agent-body { padding: 0 24px 28px; }
  .agent-pricing { padding: 32px 24px 28px; }
  .agent-access { padding: 32px 24px 28px; }
  .agent-arch-link { padding: 22px 24px; }
  .sector, .member { padding: 36px 28px; }
  .impressum-card { padding: 36px 28px; }
  .project { grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; }
  .hero-proof { align-items: flex-start; flex-direction: column; gap: 6px; }
  .project-featured { padding: 28px; gap: 28px; }
  .project-featured-visual { min-height: 240px; }
  .featured-functions, .chat-result-grid, .capability-grid { grid-template-columns: 1fr; }
  .featured-meta { flex-direction: column; align-items: flex-start; }
  .chat-bubble.user, .chat-bubble.agent { margin-left: 0; margin-right: 0; }
  .project-logo { width: 48px; height: 48px; }
  .project-client { grid-column: 1 / -1; }
  .project-meta { text-align: left; grid-column: 1 / -1; }
  .project > div:nth-child(3) { grid-column: 1 / -1; }
  .project-arrow { display: none; }
  .project-detail { padding: 0 0 32px 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; gap: 8px; }
  .hero-meta { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; margin-top: 56px; }
  .catalog-meta { grid-template-columns: 1fr; gap: 18px; }
  .btn, .nav-toggle, .service-case-link, .project-header, .insight-readmore,
  .agent-card > summary, .agent-arch-link { min-height: 44px; }
  .hero-cta-row, .proof-actions, .cta-row { align-items: stretch; }
  .hero-cta-row .btn, .proof-actions .btn, .cta-row .btn { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .nav { padding: 14px 16px; }
  .brand-name { font-size: 13px; }
  .brand-sub { font-size: 9px; }
  .container { padding: 0 16px; }
  section.block, .cta-section { padding: 64px 0; }
  .cta-glass {
    padding: 36px 20px 32px;
    border-radius: 22px;
    transform: translate3d(0, -2px, 8px);
  }
  .cta-glass::after { border-radius: 20px; }
  .hero { padding: 104px 0 48px; }
  .hero h1 { font-size: clamp(36px, 12vw, 50px); overflow-wrap:anywhere; }
  .section-head { margin-bottom: 48px; }
  .section-head :is(h1, h2), .catalog-content h2 { font-size: clamp(30px, 10vw, 42px); }
  .hero-lead, .section-head p, .catalog-content p { font-size: 16px; }
  .hero-cta-row, .proof-actions, .cta-row { flex-direction: column; }
  .hero-cta-row .btn, .proof-actions .btn, .cta-row .btn { width: 100%; }
  .service, .sector, .member, .project-featured, .insight-body { padding: 28px 22px; }
  .service h3, .capability-grid h3, .agent-card h3 { overflow-wrap:anywhere; }
  .agent-price .apv { font-size: 32px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cockpit-demo-bar { padding: 14px; }
  .cockpit-demo-bar a { width: 100%; text-align:center; white-space:normal; min-height:44px; display:grid; place-items:center; }
  .cockpit-demo-label { line-height:1.5; }
}

/* ============ INSIGHTS ============ */
.insight-card {
  display: grid; grid-template-columns: 1.05fr .95fr;
  background: var(--navy-800); border: 1px solid var(--line);
  overflow: hidden; color: var(--off-white);
  transition: border-color .25s, transform .25s;
}
.insight-card:hover { border-color: rgba(255,255,255,.28); transform: translateY(-2px); }
.insight-body { padding: 48px; }
.insight-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 20px;
}
.insight-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gray-500); }
.insight-card h3 {
  font-size: clamp(24px, 2.6vw, 34px); font-weight: 300;
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 16px; color: var(--white);
}
.insight-card p { color: var(--gray-300); font-size: 15px; line-height: 1.65; font-weight: 300; margin-bottom: 22px; max-width: 48ch; }
.insight-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: var(--gray-400); margin-bottom: 26px; }
.insight-readmore { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--white); }
.insight-readmore .arrow { transition: transform .25s; font-size: 16px; }
.insight-card:hover .insight-readmore .arrow { transform: translateX(4px); }
.insight-visual {
  position: relative; border-left: 1px solid var(--line);
  background:
    radial-gradient(ellipse 120% 100% at 100% 0%, rgba(28,48,80,.55), transparent 60%),
    linear-gradient(135deg, var(--navy-700), var(--navy-900));
  display: grid; place-items: center; padding: 32px; min-height: 260px;
}
.insight-visual svg { width: 100%; height: auto; max-width: 360px; display: block; }
.insight-visual img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.insight-card + .insight-card { margin-top: 24px; }
.insight-card + .insight-archive { margin-top: 24px; }
.insight-archive {
  background: var(--navy-800);
  border: 1px solid var(--line);
  color: var(--off-white);
  transition: border-color .25s;
}
.insight-archive + .insight-archive { margin-top: 12px; }
.insight-archive:hover, .insight-archive[open] { border-color: rgba(255,255,255,.28); }
.insight-archive > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 30px;
  cursor: pointer;
  list-style: none;
}
.insight-archive > summary::-webkit-details-marker { display: none; }
.insight-archive > summary::marker { content: ""; }
.insight-archive > summary:focus-visible { outline: 2px solid var(--white); outline-offset: -4px; }
.insight-archive > summary h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.insight-archive-toggle {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}
.insight-archive-toggle::before,
.insight-archive-toggle::after {
  content: "";
  position: absolute;
  background: var(--gray-300);
  transition: transform .25s ease, background .25s ease;
}
.insight-archive-toggle::before { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.insight-archive-toggle::after { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.insight-archive[open] .insight-archive-toggle::after { transform: translateX(-50%) scaleY(0); }
.insight-archive[open] .insight-archive-toggle::before { background: var(--white); }
.insight-archive .insight-card {
  border: 0;
  border-top: 1px solid var(--line);
  transform: none;
}
.insight-archive .insight-card h3 { display: none; }
@media (max-width: 768px) {
  .insight-card { grid-template-columns: 1fr; }
  .insight-body { padding: 32px 28px; }
  .insight-visual { min-height: 180px; border-left: none; border-top: 1px solid var(--line); order: -1; }
  .insight-archive > summary { padding: 22px; }
}

/* ============ KI-COCKPITS ============ */
.cockpit-section { background: var(--navy-800); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.cockpit-section .capability-grid { margin-bottom: 72px; }
.service-wide { grid-column: 1 / -1; }
.service-wide-grid {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 56px; align-items: center;
}
.service-wide-grid .service-case-link { margin: 0; }
.cockpit-demo-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 20px;
  background: var(--navy-700); border: 1px solid var(--line); border-bottom: none;
}
.cockpit-demo-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gray-300); font-weight: 500;
}
.cockpit-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #3fb950;
  box-shadow: 0 0 0 0 rgba(63,185,80,.5); animation: cockpitPulse 2s infinite;
}
@keyframes cockpitPulse {
  0% { box-shadow: 0 0 0 0 rgba(63,185,80,.5); }
  70% { box-shadow: 0 0 0 6px rgba(63,185,80,0); }
  100% { box-shadow: 0 0 0 0 rgba(63,185,80,0); }
}
.cockpit-demo-bar a {
  font-size: 13px; font-weight: 500; color: var(--white); white-space: nowrap;
  border: 1px solid var(--line); padding: 8px 16px;
  transition: border-color .25s, background .25s;
}
.cockpit-demo-bar a:hover { border-color: var(--white); background: rgba(255,255,255,.05); }
.cockpit-frame-wrap {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); background: var(--navy-900);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
#cockpitFrame {
  width: 1400px; height: 880px; border: 0; display: block;
  transform-origin: 0 0;
}
.cockpit-note {
  margin-top: 20px; font-size: 13.5px; line-height: 1.65;
  color: var(--gray-400); max-width: 78ch; font-weight: 300;
}
.cockpit-pricing {
  margin-top: 48px; padding: 44px;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 56px; align-items: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 0 0, rgba(255,255,255,.06), transparent 38%),
    var(--navy-700);
  box-shadow: 0 24px 54px -36px rgba(0,0,0,.72);
}
.cockpit-pricing-copy h3 {
  margin: 14px 0 16px; color: var(--white);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 4vw, 50px); line-height: 1.05; font-weight: 400;
}
.cockpit-pricing-copy > p {
  max-width: 62ch; color: var(--gray-300); font-size: 15px;
  line-height: 1.75; font-weight: 300;
}
.cockpit-pricing-scope {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px; margin: 26px 0 0; padding: 0; list-style: none;
}
.cockpit-pricing-scope li {
  position: relative; padding-left: 19px;
  color: var(--gray-300); font-size: 13px; line-height: 1.55;
}
.cockpit-pricing-scope li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%; background: #3fb950;
}
.cockpit-price-card {
  padding: 30px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(5,13,26,.42);
}
.cockpit-price-item + .cockpit-price-item {
  margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line);
}
.cockpit-price-label {
  display: block; margin-bottom: 8px; color: var(--gray-300);
  font-size: 11px; line-height: 1.4; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 600;
}
.cockpit-price-value {
  display: block; color: var(--white); font-size: clamp(30px, 4vw, 42px);
  line-height: 1; letter-spacing: -.035em; font-weight: 600;
}
.cockpit-price-cycle {
  display: block; margin-top: 7px; color: var(--gray-400);
  font-size: 12px; line-height: 1.4;
}
.cockpit-price-card .btn { width: 100%; justify-content: center; margin-top: 28px; }
.cockpit-price-terms {
  margin-top: 16px; color: var(--gray-400); font-size: 11px;
  line-height: 1.55; font-weight: 300;
}
@media (max-width: 1024px) {
  .service-wide-grid { grid-template-columns: 1fr; gap: 28px; }
  .cockpit-pricing { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .cockpit-demo-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cockpit-section .capability-grid { margin-bottom: 48px; }
  /* Mobil: verkleinerte Desktop-Vorschau statt 900 px hohem Rahmen.
     Bedienen lässt sich die Demo auf dem Handy ohnehin nur im Vollbild,
     deshalb öffnet Antippen der Vorschau genau das. */
  .cockpit-frame-wrap iframe { pointer-events: none; }
  .demo-vorschau-link { display: flex; }
  .cockpit-pricing { margin-top: 32px; padding: 30px 22px; }
  .cockpit-pricing-scope { grid-template-columns: 1fr; }
  .cockpit-price-card { padding: 24px 20px; }
}

/* ============ KI-ORCHESTRIERUNG ============
   Die Landkarte stammt aus der Präsentation „KI-Agenten im Unternehmen",
   Folie 4 (dokumente/konzepte/). Das SVG ist von Hand gesetzt: Wer Texte
   darin ändert, muss prüfen, dass nichts aus seiner Plakette läuft.
   Auf den Agenten sitzen Thinking-Orbs (20 px, die einzige kleine
   Orb-Größe). Ihre Lage steht als Prozentwert des viewBox (1180 × 596)
   direkt am Element; deshalb wandern sie beim Skalieren mit. */
.orch-map {
  --flow: #5f9bbd; --gate: #d99b4e; --ok: #7fa88a;
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
.orch-map-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 24px; border-bottom: 1px solid var(--line);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-300);
}
.orch-map-bar em { font-style: normal; letter-spacing: .04em; text-transform: none; color: var(--gray-400); }
.orch-map-hint { display: none; }
.orch-map-scroll { overflow-x: auto; padding: 28px 24px 8px; }
.orch-map-scroll:focus-visible { outline: 2px solid var(--white); outline-offset: -2px; }
.orch-map-canvas { position: relative; min-width: 940px; }
.orch-orbs { position: absolute; inset: 0; pointer-events: none; }
.orch-orb {
  position: absolute; width: var(--orb-20); height: var(--orb-20);
  margin: calc(var(--orb-20) / -2) 0 0 calc(var(--orb-20) / -2);
}
/* Die Würfel unter den Orbs nur ausblenden, wenn die Orbs wirklich laufen */
html.orbs-ready .landkarte .cube.unter-orb { opacity: 0; }

.orch-map .lk-fuss {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
  padding: 14px 24px 20px; font-size: 12px; color: var(--gray-500);
}
.orch-map .lk-leg { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.orch-map .lk-leg span { display: inline-flex; align-items: center; gap: 8px; color: var(--gray-400); }
.orch-map .lk-leg i { display: inline-block; width: 26px; height: 0; border-top: 2px dotted var(--flow); }
.orch-map .lk-leg i.gruen { border-top-color: #8ebd9c; }
.orch-map .lk-leg i.bernstein { border-top-color: var(--gate); }
.orch-map .lk-leg i.orb {
  width: 10px; height: 10px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%;
}

/* Landkarte, übernommen aus der Präsentation (Folie 4) */
.landkarte { display: block; width: 100%; height: auto; font-family: 'Inter', system-ui, sans-serif; }
.landkarte .p-top  { fill: #0c1a2e; stroke: rgba(255,255,255,0.20); stroke-width: 0.8; }
.landkarte .p-side { fill: #071120; stroke: rgba(255,255,255,0.14); stroke-width: 0.8; }
.landkarte .raster path { fill: none; stroke: rgba(255,255,255,0.055); stroke-width: 0.6; }
.landkarte .leitung { fill: none; stroke: rgba(255,255,255,0.16); stroke-width: 0.7; }
.landkarte .leitung.gate { stroke: rgba(217,155,78,0.30); }
.landkarte .leitung.weg  { stroke: rgba(95,155,189,0.38); stroke-width: 1; }
.landkarte .fluss {
  fill: none; stroke-width: 1.7; stroke-linecap: round;
  stroke-dasharray: 2 30; stroke-dashoffset: 32;
  animation: lk-fliessen 3.4s linear infinite;
}
@keyframes lk-fliessen { from { stroke-dashoffset: 32; } to { stroke-dashoffset: 0; } }
.landkarte .f-blau  { stroke: #7fb6d6; }
.landkarte .f-gruen { stroke: #8ebd9c; }
.landkarte .f-ok    { stroke: #7fa88a; }
.landkarte .f-gate  { stroke: #d99b4e; animation-duration: 4.2s; }
.landkarte .f-weg   { stroke: #a6cee4; stroke-dasharray: 2 22; stroke-dashoffset: 24;
                      animation: lk-fliessen-weg 2.8s linear infinite; }
@keyframes lk-fliessen-weg { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
.landkarte .t-oben { fill: var(--gray-400); font-size: 10.5px; font-weight: 500;
                     letter-spacing: 2.4px; text-anchor: middle; }
.landkarte .pill rect { fill: rgba(21,37,64,0.55); stroke: rgba(255,255,255,0.20); stroke-width: 0.8; }
.landkarte .pill text { fill: var(--gray-300); font-size: 10.5px; letter-spacing: 0.15px; }
.landkarte .pill .g   { fill: #5f9bbd; }
.landkarte .pill .g2  { fill: none; stroke: #5f9bbd; stroke-width: 1.1; }
.landkarte .plus      { fill: var(--gray-500); font-size: 13px; text-anchor: middle; }
.landkarte .t-ebene { fill: #dfe6ef; font-size: 13px; font-weight: 500;
                      letter-spacing: 1.7px; text-anchor: middle; }
.landkarte .fw    { fill: #0c1a2d; stroke: rgba(255,255,255,0.24); stroke-width: 0.8; }
.landkarte .fw-l  { fill: none; stroke: rgba(255,255,255,0.18); stroke-width: 0.7; }
.landkarte .fw-d  { fill: rgba(255,255,255,0.28); }
.landkarte .ln    { fill: rgba(255,255,255,0.22); }
.landkarte .ln.dim{ fill: rgba(255,255,255,0.10); }
.landkarte .kpi   { fill: rgba(255,255,255,0.04); stroke: rgba(255,255,255,0.14); stroke-width: 0.7; }
.landkarte .kpiv  { fill: rgba(95,155,189,0.75); }
.landkarte .bar   { fill: rgba(95,155,189,0.55); }
.landkarte .btn-prim { fill: #ffffff; }
.landkarte .btn-sek  { fill: none; stroke: rgba(255,255,255,0.28); stroke-width: 0.8; }
.landkarte .dot.ok   { fill: #7fa88a; }
.landkarte .dot.warn { fill: #d99b4e; }
.landkarte .bubble   { fill: rgba(95,155,189,0.10); stroke: rgba(95,155,189,0.50); stroke-width: 0.8; }
.landkarte .tl       { fill: none; stroke: rgba(255,255,255,0.20); stroke-width: 0.7; }
.landkarte .node-r   { fill: rgba(255,255,255,0.07); stroke: rgba(255,255,255,0.18); stroke-width: 0.7; }
.landkarte .mini-t   { fill: var(--white); font-size: 12px; font-weight: 500; text-anchor: middle; }
.landkarte .mini-s   { fill: var(--gray-400); font-size: 9px; text-anchor: middle; }
.landkarte .cube polygon { stroke: rgba(255,255,255,0.22); stroke-width: 0.5; }
.landkarte .cube .c-t { fill: #23405f; }
.landkarte .cube .c-l { fill: #0e1c30; }
.landkarte .cube .c-r { fill: #17293f; }
.landkarte .chip rect { fill: #13263f; stroke: rgba(95,155,189,0.60); stroke-width: 0.8; }
.landkarte .chip text { fill: #eaf1f8; font-weight: 500; letter-spacing: 0.2px; }
.landkarte .gate-chip rect { fill: rgba(217,155,78,0.14); stroke: rgba(217,155,78,0.65); }
.landkarte .gate-chip text { fill: #edcb98; font-weight: 600; }
.landkarte .gate-mini rect { fill: rgba(217,155,78,0.10); stroke: rgba(217,155,78,0.50); }
.landkarte .gate-mini text { fill: #d99b4e; font-weight: 500; }
.landkarte .neutral-mini rect { fill: #13263f; stroke: rgba(255,255,255,0.22); }
.landkarte .neutral-mini text { fill: var(--gray-300); font-weight: 500; }
.landkarte .rolle { fill: #7fb0cf; letter-spacing: 0.3px; }
.landkarte .verb path { fill: none; stroke: rgba(255,255,255,0.13);
                        stroke-width: 0.7; stroke-dasharray: 2 3; }
.landkarte .verb-gate { fill: none; stroke: rgba(217,155,78,0.40);
                        stroke-width: 0.7; stroke-dasharray: 2 3; }
.landkarte .karte   { fill: rgba(8,18,33,0.94); stroke: rgba(255,255,255,0.22); stroke-width: 0.8; }
.landkarte .karte-k { fill: var(--white); font-size: 10px; font-weight: 600; letter-spacing: 1.1px; }
.landkarte .karte-l { fill: none; stroke: rgba(255,255,255,0.18); stroke-width: 0.8; }
.landkarte .karte-l2{ fill: none; stroke: rgba(255,255,255,0.07); stroke-width: 0.7; }
.landkarte .karte-f { fill: var(--gray-400); font-size: 9.4px; }
.landkarte .karte-w { fill: var(--off-white); font-size: 9.4px; }
.landkarte .karte-p { fill: var(--gray-500); }
.landkarte .karte-p.ok   { fill: #7fa88a; }
.landkarte .karte-p.warn { fill: #d99b4e; }
.landkarte .platte   { fill: #10203a; stroke: rgba(255,255,255,0.30); stroke-width: 0.8; }
.landkarte .platte-g { fill: none; stroke: var(--flow); stroke-width: 1.1; }
.landkarte .platte-t { fill: var(--white); font-size: 12px; font-weight: 600;
                       letter-spacing: 0.9px; text-anchor: middle; }
.landkarte .platte-o { fill: var(--gray-400); font-size: 11px; font-weight: 500;
                       letter-spacing: 2.2px; text-anchor: middle; }
.landkarte .platte-o-bg { fill: #0a1628; stroke: none; }
.landkarte .kbox   { fill: #0d1b2f; stroke: rgba(255,255,255,0.16); stroke-width: 0.8; }
.landkarte .kbox-t { fill: var(--gray-300); font-size: 9.4px; text-anchor: middle; }
.landkarte .gly    { fill: none; stroke: rgba(184,194,208,0.75); stroke-width: 0.9; }
.landkarte .gly .thin { stroke-width: 0.7; }
.landkarte .gly .fill { fill: rgba(95,155,189,0.65); stroke: none; }
@media (prefers-reduced-motion: reduce) {
  .landkarte .fluss { animation: none; stroke-dashoffset: 16; }
}

.orch-points { margin-top: 24px; }

/* Kalkulation ohne Paketpreis */
.orch-offer {
  margin-top: 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .025);
  padding: 44px;
}
.orch-offer h3 { font-size: 30px; font-weight: 300; line-height: 1.2; margin-bottom: 18px; }
.orch-offer-copy p {
  color: var(--gray-300); font-size: 16px; line-height: 1.65; font-weight: 300;
  max-width: 52ch; margin-bottom: 28px;
}
.orch-offer-steps { list-style: none; }
.orch-offer-steps li {
  display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px;
  padding: 20px 0; border-top: 1px solid var(--line);
}
.orch-offer-steps li:last-child { border-bottom: 1px solid var(--line); }
.orch-offer-steps span {
  grid-row: span 2;
  font-size: 11px; letter-spacing: .14em; color: var(--gray-400); padding-top: 4px;
}
.orch-offer-steps strong { font-size: 17px; font-weight: 400; color: var(--white); }
.orch-offer-steps p { font-size: 14px; line-height: 1.6; color: var(--gray-300); font-weight: 300; }

@media (max-width: 1024px) {
  .orch-offer { grid-template-columns: 1fr; gap: 36px; padding: 32px; }
}
@media (max-width: 560px) {
  .orch-map-bar { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; }
  .orch-map-scroll { padding: 20px 16px 6px; }
  .orch-map .lk-fuss { padding: 12px 16px 18px; }
  .orch-offer { padding: 26px 20px; }
  .orch-offer h3 { font-size: 25px; }
}

/* ============ MOBILE STRAFFUNG (29.09.2026) ============
   1. Eingebettete Demos: Vorschau mit Tipp-Fläche statt 900 px Rahmen.
   2. Die 01–04-Kacheln laufen mobil als Wischreihe statt als Stapel.
   3. Landkarte: mobil als Gesamtbild, „Groß ansehen" öffnet sie bildschirmfüllend. */
.demo-vorschau-link {
  display: none;
  position: absolute; inset: 0; z-index: 1;
  align-items: flex-end; justify-content: center; padding: 14px;
  background: linear-gradient(to top, rgba(10, 22, 40, .9), rgba(10, 22, 40, 0) 60%);
}
.demo-vorschau-link span {
  background: var(--white); color: var(--navy-900);
  font-size: 13px; font-weight: 500; padding: 11px 18px; min-height: 44px;
  display: inline-flex; align-items: center;
}

.orch-map-gross, .orch-map-quer { display: none; }
.orch-map-gross {
  flex: 0 0 auto; min-height: 40px; padding: 8px 14px; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none;
  color: var(--white); background: transparent; border: 1px solid rgba(255, 255, 255, .28);
}
.orch-map-gross:hover { border-color: var(--white); }
.orch-map-gross:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

@media (max-width: 768px) {
  .capability-grid {
    --rand: 24px;
    display: flex; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--rand);
    margin-left: calc(-1 * var(--rand)); margin-right: calc(-1 * var(--rand));
    padding: 0 var(--rand) 4px;
    scrollbar-width: none;
  }
  .capability-grid::-webkit-scrollbar { display: none; }
  .capability-grid article { flex: 0 0 84%; scroll-snap-align: start; }
  .demo-vorschau-link { display: flex; }

  .orch-map-scroll { padding: 16px 12px 4px; }
  /* Im Gesamtbild wären die Orbs größer als die Agenten, dort bleiben die Würfel */
  .orch-map:not(.is-gross) .orch-orbs { display: none; }
  html.orbs-ready .orch-map:not(.is-gross) .landkarte .cube.unter-orb { opacity: 1; }
}
@media (max-width: 480px) {
  .capability-grid { --rand: 16px; }
}
/* Bis Tablet-Breite: Landkarte als Gesamtbild plus „Groß ansehen".
   Die Schwelle liegt bewusst bei 1024 px, damit ein ins Querformat
   gedrehtes Handy (ca. 850 px) die Großansicht nicht schließt. */
@media (max-width: 1024px) {
  .orch-map-bar { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .orch-map-bar em { display: none; }
  .orch-map-gross { display: inline-flex; align-items: center; margin-left: auto; }
  .orch-map:not(.is-gross) .orch-map-canvas { min-width: 0; }
}

/* Landkarte bildschirmfüllend. transform: none, weil die Reveal-Animation
   sonst den Bezugsrahmen für position: fixed verschiebt. */
.orch-map.is-gross {
  position: fixed; inset: 0; z-index: 300;
  display: flex; flex-direction: column;
  background: var(--navy-900); border: 0;
  transform: none !important; opacity: 1 !important;
}
.orch-map.is-gross .orch-map-scroll { flex: 1; overflow: auto; padding: 20px; }
.orch-map.is-gross .orch-map-canvas { min-width: 1000px; }
.orch-map.is-gross .orch-map-quer { display: inline; letter-spacing: .04em; text-transform: none; color: var(--gray-400); }
html.orch-gross-offen, html.orch-gross-offen body { overflow: hidden; }

html.orch-gross-offen header.site { display: none; }
@media (orientation: landscape) {
  .orch-map.is-gross .orch-map-quer { display: none; }
}

/* ============ LEISTUNGSSEITEN (29.09.2026) ============
   Seit dem 29.09.2026 haben Cockpits, Orchestrierung, Agenten und Schulung eigene
   Seiten. Die Startseite zeigt nur noch die Übersicht (.lst-*). */

/* Erster Abschnitt einer Leistungsseite: Platz für die feste Kopfzeile + Brotkrumen */
section.block.page-first { padding-top: 132px; }
.brotkrumen {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: 44px; font-size: 13px; color: var(--gray-400);
}
.brotkrumen a { color: var(--gray-300); border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.brotkrumen a:hover { color: var(--white); border-bottom-color: rgba(255, 255, 255, .4); }
.brotkrumen [aria-current="page"] { color: var(--off-white); }
.agent-title { margin: 8px 0 26px; }

/* Leistungsübersicht der Startseite */
.lst-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.lst-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .025);
  color: inherit; transition: border-color .3s, background .3s, transform .3s;
}
.lst-card:hover { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .045); }
.lst-card:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.lst-bild {
  aspect-ratio: 16 / 10; overflow: hidden;
  border-bottom: 1px solid var(--line); background: var(--navy-800);
}
.lst-bild img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: left top;
  transition: transform .6s cubic-bezier(.2, .6, .2, 1);
}
.lst-card:hover .lst-bild img { transform: scale(1.03); }
.lst-text { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 30px; }
.lst-kicker {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 14px;
}
.lst-text h3 { font-size: 26px; font-weight: 400; line-height: 1.15; margin-bottom: 12px; }
.lst-text p { font-size: 15px; line-height: 1.6; color: var(--gray-300); font-weight: 300; }
.lst-text .service-tag { margin-top: 18px; }
.lst-mehr {
  margin-top: auto; padding-top: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--white);
}
.lst-mehr .arrow { transition: transform .25s; }
.lst-card:hover .lst-mehr .arrow { transform: translateX(4px); }

/* Hauptleistung über die volle Breite, Bild rechts */
.lst-card--haupt {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
}
.lst-card--haupt .lst-bild { border-bottom: 0; border-left: 1px solid var(--line); aspect-ratio: auto; min-height: 340px; }
.lst-card--haupt .lst-text { padding: 44px; }
.lst-card--haupt h3 { font-size: clamp(30px, 3vw, 40px); font-weight: 300; }
.lst-card--haupt p { font-size: 16px; max-width: 46ch; }

/* Begleitende Leistungen */
.lst-begleitung {
  margin-top: 24px;
  display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 40px;
  padding: 36px 40px; border: 1px solid var(--line);
}
.lst-begleitung-kopf .section-eyebrow { margin-bottom: 14px; }
.lst-begleitung-kopf h3 { font-size: 24px; font-weight: 300; }
.lst-begleitung-punkt h4 { font-size: 17px; font-weight: 500; color: var(--white); margin-bottom: 10px; }
.lst-begleitung-punkt p { font-size: 14px; line-height: 1.6; color: var(--gray-300); font-weight: 300; }
.lst-begleitung-punkt .service-tag { margin-top: 14px; }
#leistungen .study-note { margin-top: 64px; }

@media (max-width: 1024px) {
  .lst-grid { grid-template-columns: 1fr 1fr; }
  .lst-card--haupt { grid-template-columns: 1fr; }
  .lst-card--haupt .lst-bild { order: -1; border-left: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 10; min-height: 0; }
  .lst-card--haupt .lst-text { padding: 32px; }
  .lst-begleitung { grid-template-columns: 1fr 1fr; }
  .lst-begleitung-kopf { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  section.block.page-first { padding-top: 112px; }
  .brotkrumen { margin-bottom: 28px; }
  .lst-grid { grid-template-columns: 1fr; gap: 16px; }
  .lst-text, .lst-card--haupt .lst-text { padding: 22px 20px 24px; }
  .lst-text h3 { font-size: 23px; }
  .lst-card--haupt h3 { font-size: 28px; }
  .lst-begleitung { grid-template-columns: 1fr; gap: 26px; padding: 26px 20px; }
  #leistungen .study-note { margin-top: 40px; }
}
@media (max-width: 480px) {
  section.block.page-first { padding-top: 96px; }
}

/* ============ MOBIL: TEAM UND FUSSZEILE (29.09.2026) ============ */
@media (min-width: 1025px) {
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  /* Porträt klein neben statt großer Kasten über dem Text */
  .team { gap: 16px; }
  .member-portrait {
    width: 104px; aspect-ratio: 1 / 1; margin-bottom: 22px;
    background: none; border: 0;
  }
  .member-portrait::before { display: none; }
  .member-portrait .member-photo { width: 104px; filter: none; }
  .member-name { font-size: 26px; margin-bottom: 16px; }
  .member-foot { flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot-brand, .foot-kontakt { grid-column: 1 / -1; }
}

/* Weitere Leistungen am Ende jeder Leistungsseite */
.weitere-leistungen { padding: 72px 0 96px; border-top: 1px solid var(--line-light); }
.weitere-leistungen .section-eyebrow { margin-bottom: 22px; }
.weitere-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.weitere-karte {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px 24px 22px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025); transition: border-color .25s, background .25s;
}
.weitere-karte:hover { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .045); }
.weitere-karte:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.weitere-karte span:first-child { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-400); }
.weitere-karte strong { font-size: 20px; font-weight: 400; color: var(--white); }
.weitere-karte em { font-style: normal; font-size: 14px; color: var(--gray-300); }
.weitere-karte .arrow { display: inline-block; transition: transform .25s; }
.weitere-karte:hover .arrow { transform: translateX(4px); }
@media (max-width: 768px) {
  .weitere-leistungen { padding: 48px 0 64px; }
  .weitere-grid { grid-template-columns: 1fr; gap: 10px; }
  .weitere-karte { padding: 18px 18px 16px; }
}
