/* ==========================================================================
   Calisoft — Design-System & Styles (v3, August 2026)
   Marke: Ink #14181F, Akzentblau #1B6BFF, Weiss. Schrift: Space Grotesk.
   Aufbau: 1) Fonts  2) Tokens  3) Basis  4) Layout  5) Komponenten
           6) Navigation  7) Startseite  8) ERP-Oberflaechen (CSS-Baukasten)
           9) ERP-Seite  10) KI-Agenten  11) Projekte  12) Unterseiten
           13) Footer  14) Responsive  15) Reduced Motion
   ========================================================================== */

/* ---------- 1) Schriften (lokal gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("../fonts/space-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2) Design-Tokens ---------- */
:root {
  --ink:        #0b0e13;
  --ink-1:      #0f131a;
  --ink-2:      #151a23;
  --ink-3:      #1c222d;
  --blue:       #1b6bff;
  --blue-soft:  #5b93ff;
  --blue-deep:  #0a47c2;
  --white:      #ffffff;
  --mist:       #aeb7c6;
  --mist-dim:   #6f7888;
  --line:       rgba(255, 255, 255, 0.09);
  --line-strong:rgba(255, 255, 255, 0.18);
  --glow:       rgba(27, 107, 255, 0.35);

  /* ERP-Oberflaeche (helles Petrol, wie das echte System) */
  --ui-bg:      #f7f6f3;
  --ui-panel:   #ffffff;
  --ui-line:    #e6e4df;
  --ui-ink:     #1a1f26;
  --ui-muted:   #6b7280;
  --ui-petrol:  #0f6a5e;
  --ui-petrol-2:#2f8b7d;
  --ui-amber:   #f59e0b;
  --ui-green:   #16a34a;
  --ui-red:     #dc2626;

  --font:      "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Space Mono", "SFMono-Regular", Consolas, monospace;

  --container: 1200px;
  --container-wide: 1440px;
  --pad: clamp(1.25rem, 5vw, 3.5rem);
  --section-y: clamp(5rem, 12vh, 10rem);
  --radius: 14px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.45s;
}

/* ---------- 3) Basis & Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font);
  background: var(--ink-1);
  color: var(--white);
  line-height: 1.65;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.075rem);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Feines Korn ueber allem, gibt dem Dunkel Tiefe */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='1'/></svg>");
  mix-blend-mode: overlay;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.06; letter-spacing: -0.035em; }
.h-display { font-size: clamp(2.8rem, 8vw, 7rem); line-height: 0.98; }
h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
p  { color: var(--mist); }
strong { color: var(--white); font-weight: 600; }

.mono { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--mist-dim); }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue-soft); display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--blue); display: inline-block; }

/* ---------- 4) Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.container-wide { max-width: var(--container-wide); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 7vh, 5rem); }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.35rem); color: var(--mist); max-width: 60ch; line-height: 1.55; }
.measure { max-width: 66ch; }
.center { text-align: center; }
.center .eyebrow, .center .lead { margin-inline: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split > * { min-width: 0; }
.sec-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.sec-head h2 { margin: 1rem 0 1rem; }
.stack { display: grid; gap: 1.1rem; }
.hr { height: 1px; background: var(--line); border: 0; }

/* ---------- 5) Komponenten ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  letter-spacing: -0.01em; border: 1px solid transparent; position: relative; overflow: hidden;
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease),
              border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease), color var(--speed) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 30px -8px var(--glow); }
.btn-primary:hover { background: var(--blue-soft); box-shadow: 0 14px 40px -8px var(--glow); }
.btn-ghost { border-color: var(--line-strong); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
.btn-light { background: #fff; color: var(--ink-1); }
.btn-light:hover { background: #e9efff; }
.btn .arrow { transition: transform var(--speed) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-lg { padding: 1.15rem 2rem; font-size: 1.05rem; }

.card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease), background var(--speed) var(--ease);
}
.card:hover { border-color: var(--line-strong); background: var(--ink-3); transform: translateY(-4px); }
.card--flat:hover { transform: none; }

.badge {
  display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--mist);
}
.badge::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--mist-dim); }
.badge.live::before { background: #36d399; box-shadow: 0 0 8px #36d399; }
.badge.beta::before { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.badge.dev::before  { background: #f5a623; box-shadow: 0 0 8px #f5a623; }
.badge.paused::before { background: var(--mist-dim); }

.chip { font-family: var(--font-mono); font-size: 0.72rem; color: var(--mist); border: 1px solid var(--line); padding: 0.25rem 0.6rem; border-radius: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.mark-bars { display: inline-grid; gap: 0.28em; width: 1.5em; }
.mark-bars span { height: 0.28em; border-radius: 999px; background: var(--white); }
.mark-bars span:nth-child(1) { width: 100%; }
.mark-bars span:nth-child(2) { width: 72%; }
.mark-bars span:nth-child(3) { width: 46%; background: var(--blue); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

.glow-bg { position: relative; }
.glow-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 0%, rgba(27,107,255,0.14), transparent 70%);
}

.callout { border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: var(--radius); padding: 1.4rem 1.6rem; background: var(--ink-2); margin-block: 1.6rem; }
.callout__label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-soft); display: block; margin-bottom: 0.5rem; }
.callout p { margin: 0; }

.timeline { display: grid; gap: 0; margin-top: 1rem; }
.timeline li { padding: 1.1rem 0 1.1rem 1.5rem; border-left: 1px solid var(--line-strong); position: relative; color: var(--mist); }
.timeline li::before { content:""; position:absolute; left:-5px; top:1.5rem; width:9px; height:9px; border-radius:50%; background:var(--blue); box-shadow: 0 0 10px var(--glow); }
.timeline b { color: var(--white); }
.timeline span { font-family: var(--font-mono); font-size: 0.78rem; color: var(--mist-dim); display:block; margin-bottom:0.2rem; }

.metrics { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; }
.metric strong { display: block; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.04em; color: var(--white); line-height: 1; }
.metric > span { font-size: 0.78rem; color: var(--mist-dim); font-family: var(--font-mono); display: block; margin-top: 0.5rem; }

/* Nummerierte Liste mit grosser Ziffer */
.numlist { display: grid; gap: 0; }
.numlist li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.numlist li:last-child { border-bottom: 1px solid var(--line); }
.numlist .n { font-family: var(--font-mono); color: var(--blue-soft); font-size: 0.85rem; padding-top: 0.4rem; }
.numlist h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.numlist p { font-size: 0.98rem; }

/* FAQ / Aufklapper */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--blue-soft); transition: transform var(--speed) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.4rem; max-width: 70ch; }

/* ---------- 6) Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad); border-bottom: 1px solid transparent;
  transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease), padding var(--speed) var(--ease);
}
.nav.scrolled {
  background: rgba(11, 14, 19, 0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line); padding-block: 0.75rem;
}
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-size: 0.95rem; color: var(--mist); transition: color var(--speed) var(--ease); position: relative; }
.nav__links a::after { content:""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--white); transition: right var(--speed) var(--ease); }
.nav__links a:hover::after, .nav__links a.active::after { right: 0; }
.nav__links a:hover, .nav__links a.active { color: var(--white); }
.nav__cta { display: inline-flex; padding: 0.7rem 1.2rem; font-size: 0.9rem; }
.nav__toggle { display: none; background: none; border: 0; color: #fff; width: 30px; height: 30px; }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--blue); z-index: 101; box-shadow: 0 0 12px var(--glow); }
.nav__panel {
  position: fixed; inset: 0; z-index: 99; background: rgba(11,14,19,0.97); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; padding: var(--pad);
  transform: translateX(100%); transition: transform 0.5s var(--ease);
}
.nav__panel.open { transform: none; }
.nav__panel a { font-size: 1.8rem; font-weight: 600; color: var(--white); letter-spacing: -0.03em; }
.nav__panel .mono { margin-top: 2rem; }

/* ---------- 7) Startseite ---------- */

/* HERO: Text links, ERP-Fenster rechts, schwebend */
.hero { min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 6rem; padding-bottom: 5rem; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0; opacity: 0.45;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 0%, transparent 70%);
}
.hero__glow {
  position: absolute; left: 70%; top: 45%; transform: translate(-50%,-50%);
  width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px;
  background: radial-gradient(circle, var(--glow), transparent 62%); filter: blur(30px); opacity: 0.6;
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__copy h1 { margin: 1.4rem 0 1.4rem; max-width: 14ch; font-size: clamp(2.6rem, 5.6vw, 5rem); }
.hero__copy h1 .accent { color: var(--blue-soft); }
.hero__copy .lead { max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero__proof div { display: grid; gap: 0.2rem; }
.hero__proof b { font-size: 1.4rem; letter-spacing: -0.03em; color: var(--white); line-height: 1; }
.hero__proof span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--mist-dim); letter-spacing: 0.04em; }
.hero__scroll { position: absolute; bottom: 1.8rem; left: var(--pad); z-index: 2; display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--mist-dim); }
.hero__scroll .dot { width: 22px; height: 36px; border: 1px solid var(--line-strong); border-radius: 999px; position: relative; }
.hero__scroll .dot::after { content:""; position: absolute; left: 50%; top: 7px; transform: translateX(-50%); width: 3px; height: 7px; border-radius: 999px; background: var(--blue); animation: scrolldot 1.6s var(--ease) infinite; }
@keyframes scrolldot { 0%{opacity:0;transform:translate(-50%,0)} 30%{opacity:1} 100%{opacity:0;transform:translate(-50%,12px)} }

/* Das schwebende ERP-Fenster im Hero */
.hero__visual { position: relative; perspective: 1600px; }
.hero__visual .ui { transform: rotateY(-10deg) rotateX(4deg); transform-origin: 40% 50%; box-shadow: 0 60px 120px -40px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.06); }
.hero__float {
  position: absolute; background: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 14px;
  padding: 0.8rem 1rem; display: flex; gap: 0.8rem; align-items: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7);
  font-size: 0.85rem; z-index: 3; backdrop-filter: blur(8px);
}
.hero__float b { display: block; font-size: 0.95rem; }
.hero__float span { font-family: var(--font-mono); font-size: 0.7rem; color: var(--mist-dim); }
.hero__float .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(27,107,255,0.18); color: var(--blue-soft); font-family: var(--font-mono); font-size: 0.8rem; }
.hero__float--a { right: -1.5rem; top: 4%; }
.hero__float--b { left: -2.5rem; bottom: 14%; }

/* Laufband: die Module, die schon laufen */
.marquee { border-block: 1px solid var(--line); padding: 1.2rem 0; overflow: hidden; background: var(--ink); }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist-dim); display: inline-flex; align-items: center; gap: 3rem; white-space: nowrap; }
.marquee span::after { content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Manifest: grosse Zeilen, die beim Scrollen einfärben */
.manifest { padding-block: clamp(7rem, 18vh, 14rem); }
.manifest__line { font-size: clamp(1.8rem, 4.4vw, 3.6rem); line-height: 1.18; letter-spacing: -0.03em; font-weight: 500; max-width: 26ch; margin-block: clamp(1.6rem, 5vh, 3.2rem); color: var(--white); }
.manifest .w { opacity: 0.16; transition: opacity 0.35s var(--ease); }
.manifest .w.on { opacity: 1; }
.manifest .hl { color: var(--blue-soft); }
.manifest__line--lead-in { font-family: var(--font-mono); font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-soft); font-weight: 400; max-width: none; margin-top: clamp(4rem, 12vh, 8rem); }
.manifest__line--lead-in .w { opacity: 1; }

/* Sticky-Stepper: links bleibt der Text stehen, rechts wechseln die Bildschirme */
.stepper { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.stepper__steps { display: grid; gap: clamp(8rem, 30vh, 16rem); padding-block: 20vh; }
.stepper__step { opacity: 0.28; transition: opacity 0.5s var(--ease); max-width: 44ch; }
.stepper__step.is-active { opacity: 1; }
.stepper__step .n { font-family: var(--font-mono); color: var(--blue-soft); font-size: 0.85rem; display: block; margin-bottom: 1rem; }
.stepper__step h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: 1rem; }
.stepper__visual { position: sticky; top: 14vh; height: 72vh; display: grid; place-items: center; }
.stepper__screens { position: relative; width: 100%; }
.stepper__screen { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(30px) scale(0.96); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); pointer-events: none; }
.stepper__screen.is-active { opacity: 1; transform: none; pointer-events: auto; }
.stepper__screen:first-child { position: relative; }

/* Gepinnte Bildschirm-Galerie (horizontal) */
.gallery { position: relative; background: var(--ink); overflow: hidden; }
.gallery__head { padding-top: var(--section-y); }
.gallery__track { display: flex; gap: clamp(1.5rem, 3vw, 3rem); padding: 3rem var(--pad) var(--section-y); will-change: transform; }
.gallery__item { flex: 0 0 auto; width: min(78vw, 900px); }
.gallery__item--intro { width: min(70vw, 380px); display: flex; flex-direction: column; justify-content: center; }
.gallery__caption { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-top: 1.2rem; }
.gallery__caption b { font-size: 1.1rem; }
.gallery__caption span { font-family: var(--font-mono); font-size: 0.75rem; color: var(--mist-dim); }
.gallery:not(.pinned) .gallery__track { overflow-x: auto; scroll-snap-type: x proximity; }
.gallery:not(.pinned) .gallery__item { scroll-snap-align: center; }

/* Fallstudien (zwei Betriebe) */
.cases { display: grid; gap: 1.4rem; }
.case {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  padding: clamp(1.6rem, 3.5vw, 3rem); border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1)); position: relative; overflow: hidden;
}
.case::before { content: attr(data-no); position: absolute; right: 2rem; top: 1.4rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--mist-dim); }
.case__kicker { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 1rem; display: block; }
.case h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); max-width: 18ch; margin-bottom: 1rem; }
.case p { max-width: 54ch; }
.case__facts { display: grid; grid-template-columns: repeat(3, auto); gap: 1.2rem 2rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.case__facts b { display: block; font-size: 1.5rem; letter-spacing: -0.03em; line-height: 1; }
.case__facts span { font-family: var(--font-mono); font-size: 0.7rem; color: var(--mist-dim); display: block; margin-top: 0.4rem; }
.case__visual { position: relative; }
.case__visual .ui { box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8); }
.case--flip .case__visual { order: -1; }

/* Agenten-Pipeline */
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; margin-top: 3rem; position: relative; }
.pipeline::before { content:""; position: absolute; left: 6%; right: 6%; top: 2.2rem; height: 1px; background: linear-gradient(90deg, transparent, var(--blue), transparent); }
.pipe { position: relative; text-align: center; padding: 0 0.4rem; }
.pipe__ico { width: 4.4rem; height: 4.4rem; margin: 0 auto 1.2rem; border-radius: 18px; border: 1px solid var(--line-strong); background: var(--ink-2); display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.8rem; color: var(--blue-soft); position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--ink-1); }
.pipe--agent .pipe__ico { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 0 0 8px var(--ink-1), 0 0 40px var(--glow); }
.pipe b { display: block; font-size: 1rem; margin-bottom: 0.3rem; }
.pipe span { font-size: 0.85rem; color: var(--mist); }

.agents { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; margin-top: 3rem; }
.agent { display: grid; gap: 0.8rem; }
.agent__top { display: flex; justify-content: space-between; align-items: center; }
.agent__ico { font-family: var(--font-mono); font-size: 0.8rem; color: var(--blue-soft); }
.agent h3 { font-size: 1.2rem; }
.agent p { font-size: 0.96rem; }
.agent .badge { align-self: start; }

/* Terminal-Kachel (zeigt einen Agenten-Lauf) */
.term { background: #0a0d12; border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden; font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.7; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8); }
.term__bar { display: flex; gap: 0.45rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); }
.term__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a313d; }
.term__bar i:nth-child(1){ background:#ff5f57 } .term__bar i:nth-child(2){ background:#febc2e } .term__bar i:nth-child(3){ background:#28c840 }
.term__body { padding: 1.2rem 1.3rem; color: var(--mist); min-height: 280px; }
.term__body .p { color: var(--blue-soft); }
.term__body .ok { color: #36d399; }
.term__body .dim { color: var(--mist-dim); }
.term__body .ln { opacity: 0; transform: translateY(4px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); display: block; }
.term__body .ln.on { opacity: 1; transform: none; }
.term__body .cursor::after { content: "▍"; animation: blink 1s steps(1) infinite; color: var(--blue-soft); }
@keyframes blink { 50% { opacity: 0; } }

/* Gruender-Kachel (Startseite) */
.founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.founder__portrait { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); border: 1px solid var(--line); background: radial-gradient(120% 80% at 30% 20%, rgba(27,107,255,0.25), transparent 60%), var(--ink-2); position: relative; overflow: hidden; display: grid; place-items: end start; padding: 1.6rem; }
.founder__portrait img { width: 72%; opacity: 0.9; }
.founder__portrait .mark { position: absolute; right: 1.6rem; top: 1.6rem; }
.founder__portrait .mark-bars { width: 3em; }
.founder__portrait .mark-bars span { height: 0.5em; }
.founder__quote { font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.4; letter-spacing: -0.02em; color: var(--white); font-weight: 500; }
.founder__quote::before { content: "\201E"; color: var(--blue-soft); }
.founder__quote::after { content: "\201C"; color: var(--blue-soft); }
.founder__sig { margin-top: 1.4rem; display: grid; gap: 0.2rem; }
.founder__sig b { font-size: 1rem; }

/* CTA-Block */
.cta { position: relative; overflow: hidden; }
.cta__box {
  position: relative; border-radius: var(--radius-lg); padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem); text-align: center;
  background: radial-gradient(80% 120% at 50% 120%, var(--blue-deep), var(--blue) 55%, #3d84ff); overflow: hidden;
}
.cta__box::before { content:""; position:absolute; inset:-40%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 45%); pointer-events:none; }
.cta__box h2 { position: relative; color: #fff; max-width: 20ch; margin-inline: auto; }
.cta__box p { position: relative; color: rgba(255,255,255,0.86); margin: 1rem auto 2rem; max-width: 50ch; }
.cta__box .btn-primary { background: #fff; color: var(--ink-1); box-shadow: none; }
.cta__box .btn-primary:hover { background: #e9efff; }
.cta__box .btn-ghost { border-color: rgba(255,255,255,0.5); }
.cta__actions { position: relative; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- 8) ERP-Oberflaechen: CSS-Baukasten (helles System auf dunkler Seite) ---------- */
.ui {
  background: var(--ui-bg); color: var(--ui-ink); border-radius: 14px; overflow: hidden;
  font-family: var(--font); font-size: 0.72rem; line-height: 1.35; letter-spacing: 0;
  border: 1px solid rgba(255,255,255,0.08); width: 100%;
}
.ui p, .ui span, .ui b { color: inherit; }
.ui__bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.8rem; background: #fff; border-bottom: 1px solid var(--ui-line); }
.ui__bar i { width: 9px; height: 9px; border-radius: 50%; background: #e5e7eb; }
.ui__bar i:nth-child(1){ background:#ff5f57 } .ui__bar i:nth-child(2){ background:#febc2e } .ui__bar i:nth-child(3){ background:#28c840 }
.ui__url { margin-left: 0.6rem; font-family: var(--font-mono); font-size: 0.62rem; color: var(--ui-muted); background: var(--ui-bg); border: 1px solid var(--ui-line); padding: 0.2rem 0.6rem; border-radius: 6px; flex: 1; max-width: 360px; }
.ui__body { display: grid; grid-template-columns: 132px 1fr; min-height: 330px; }
.ui__side { background: #fff; border-right: 1px solid var(--ui-line); padding: 0.8rem 0.6rem; display: grid; align-content: start; gap: 0.15rem; }
.ui__brand { font-weight: 700; font-size: 0.78rem; color: var(--ui-petrol); padding: 0.3rem 0.5rem 0.7rem; letter-spacing: -0.01em; display: flex; gap: 0.4rem; align-items: center; }
.ui__brand i { width: 10px; height: 10px; border-radius: 3px; background: var(--ui-petrol); }
.ui__nav { padding: 0.32rem 0.5rem; border-radius: 6px; color: #374151; display: flex; align-items: center; gap: 0.45rem; }
.ui__nav::before { content:""; width: 6px; height: 6px; border-radius: 2px; background: #d1d5db; }
.ui__nav.on { background: rgba(15,106,94,0.1); color: var(--ui-petrol); font-weight: 600; }
.ui__nav.on::before { background: var(--ui-petrol); }
.ui__nav .cnt { margin-left: auto; font-size: 0.6rem; background: var(--ui-amber); color: #fff; border-radius: 999px; padding: 0 0.35rem; }
.ui__main { padding: 0.9rem 1rem; display: grid; align-content: start; gap: 0.8rem; }
.ui__head { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; }
.ui__head h4 { font-size: 0.95rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ui-ink); }
.ui__head small { color: var(--ui-muted); font-size: 0.64rem; display: block; }
.ui__btn { background: var(--ui-petrol); color: #fff; border-radius: 6px; padding: 0.32rem 0.6rem; font-weight: 600; font-size: 0.66rem; white-space: nowrap; }
.ui__btn--ghost { background: #fff; color: var(--ui-ink); border: 1px solid var(--ui-line); }
.ui__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.ui__kpi { background: #fff; border: 1px solid var(--ui-line); border-radius: 8px; padding: 0.6rem 0.7rem; }
.ui__kpi span { color: var(--ui-muted); font-size: 0.62rem; display: block; }
.ui__kpi b { font-size: 1rem; letter-spacing: -0.02em; display: block; margin-top: 0.15rem; }
.ui__kpi em { font-style: normal; font-size: 0.6rem; color: var(--ui-green); }
.ui__kpi em.down { color: var(--ui-red); }
.ui__panel { background: #fff; border: 1px solid var(--ui-line); border-radius: 8px; padding: 0.7rem 0.8rem; }
.ui__panel h5 { font-size: 0.72rem; font-weight: 600; margin-bottom: 0.5rem; display: flex; justify-content: space-between; gap: 0.5rem; align-items: baseline; }
.ui__panel h5 small { color: var(--ui-muted); font-weight: 400; white-space: nowrap; font-size: 0.6rem; }
.ui__cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.6rem; }
.ui__table { width: 100%; border-collapse: collapse; font-size: 0.66rem; }
.ui__table th { text-align: left; color: var(--ui-muted); font-weight: 500; padding: 0.3rem 0.4rem; border-bottom: 1px solid var(--ui-line); }
.ui__table td { padding: 0.38rem 0.4rem; border-bottom: 1px solid #f0efeb; white-space: nowrap; }
.ui__table tr:last-child td { border-bottom: 0; }
.ui__table .r { text-align: right; font-variant-numeric: tabular-nums; }
.ui__tag { display: inline-block; padding: 0.1rem 0.45rem; border-radius: 999px; font-size: 0.6rem; font-weight: 600; background: #eef2f1; color: #374151; }
.ui__tag.ok { background: #dcfce7; color: #166534; }
.ui__tag.warn { background: #fef3c7; color: #92400e; }
.ui__tag.info { background: rgba(15,106,94,0.12); color: var(--ui-petrol); }
.ui__tag.bad { background: #fee2e2; color: #991b1b; }
.ui__bars { display: flex; align-items: flex-end; gap: 0.35rem; height: 64px; padding-top: 0.3rem; }
.ui__bars i { flex: 1; background: var(--ui-petrol-2); border-radius: 3px 3px 0 0; opacity: 0.85; transform-origin: bottom; }
.ui__bars i:nth-child(even) { background: var(--ui-petrol); }
/* Kanban */
.ui__kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.ui__col { background: #f1f0ec; border-radius: 8px; padding: 0.5rem; }
.ui__col h6 { font-size: 0.62rem; font-weight: 600; color: #4b5563; text-transform: uppercase; letter-spacing: 0.06em; display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
.ui__cardx { background: #fff; border: 1px solid var(--ui-line); border-radius: 6px; padding: 0.45rem 0.5rem; margin-bottom: 0.4rem; font-size: 0.62rem; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.ui__cardx b { display: block; font-size: 0.66rem; }
.ui__cardx span { color: var(--ui-muted); }
.ui__cardx .bar { height: 3px; background: #e5e7eb; border-radius: 2px; margin-top: 0.35rem; overflow: hidden; }
.ui__cardx .bar i { display: block; height: 100%; background: var(--ui-petrol); }
/* Beleg-Ansicht */
.ui__doc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0.6rem; }
.ui__paper { background: #fff; border: 1px solid var(--ui-line); border-radius: 6px; padding: 0.7rem; font-size: 0.58rem; color: #6b7280; min-height: 180px; position: relative; }
.ui__paper .h { width: 45%; height: 6px; background: #d1d5db; border-radius: 2px; margin-bottom: 0.5rem; }
.ui__paper .l { height: 4px; background: #e5e7eb; border-radius: 2px; margin-bottom: 0.3rem; }
.ui__paper .l.s { width: 60%; } .ui__paper .l.m { width: 80%; }
.ui__paper .scan { position: absolute; left: 0; right: 0; height: 2px; background: var(--ui-petrol); box-shadow: 0 0 12px var(--ui-petrol); top: 20%; animation: scan 3s ease-in-out infinite; }
@keyframes scan { 0%,100% { top: 12%; } 50% { top: 88%; } }
.ui__fields { display: grid; gap: 0.4rem; }
.ui__field { display: grid; grid-template-columns: 80px 1fr; gap: 0.4rem; align-items: center; font-size: 0.64rem; }
.ui__field span { color: var(--ui-muted); }
.ui__field b { background: #fff; border: 1px solid var(--ui-line); border-radius: 5px; padding: 0.25rem 0.45rem; font-weight: 500; display: flex; justify-content: space-between; }
.ui__field b em { font-style: normal; color: var(--ui-green); font-size: 0.58rem; }
/* Tablet: Pruefprotokoll */
.ui--tablet .ui__body { grid-template-columns: 1fr; }
.ui__check { display: grid; gap: 0.35rem; }
.ui__check li { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--ui-line); border-radius: 6px; padding: 0.4rem 0.6rem; font-size: 0.66rem; }
.ui__check .tick { width: 14px; height: 14px; border-radius: 4px; background: var(--ui-green); color: #fff; display: grid; place-items: center; font-size: 0.6rem; }
.ui__check .tick.warn { background: var(--ui-amber); }
.ui__sign { background: #fff; border: 1px dashed #cbd5e1; border-radius: 8px; height: 64px; position: relative; display: grid; place-items: center; color: var(--ui-muted); font-size: 0.6rem; overflow: hidden; }
.ui__sign svg { position: absolute; left: 10%; top: 10%; width: 60%; height: 80%; }
.ui__sign path { fill: none; stroke: #1f2937; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 300; animation: sign 4s ease-in-out infinite; }
@keyframes sign { 0% { stroke-dashoffset: 300; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
/* Plantafel */
.ui__plan { display: grid; grid-template-columns: 70px repeat(5, 1fr); gap: 2px; font-size: 0.6rem; }
.ui__plan > div { background: #fff; padding: 0.3rem 0.4rem; border: 1px solid var(--ui-line); border-radius: 4px; min-height: 26px; }
.ui__plan .hd { background: transparent; border: 0; color: var(--ui-muted); text-align: center; }
.ui__plan .nm { font-weight: 600; color: #374151; }
.ui__plan .ev { color: #fff; font-weight: 600; background: var(--ui-petrol-2); border-color: var(--ui-petrol-2); }
.ui__plan .ev.b { background: var(--ui-petrol); border-color: var(--ui-petrol); }
.ui__plan .ev.c { background: var(--ui-amber); border-color: var(--ui-amber); }
.ui__plan .ev.span2 { grid-column: span 2; }
/* KI-Hinweis innerhalb der Oberflaeche */
.ui__ai { display: flex; gap: 0.5rem; align-items: flex-start; background: linear-gradient(90deg, rgba(27,107,255,0.08), rgba(15,106,94,0.08)); border: 1px solid rgba(27,107,255,0.25); border-radius: 8px; padding: 0.55rem 0.7rem; font-size: 0.64rem; }
.ui__ai i { flex: 0 0 auto; width: 16px; height: 16px; border-radius: 5px; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--font-mono); font-style: normal; font-size: 0.55rem; }
.ui__ai b { display: block; }

/* ---------- 9) ERP-Seite ---------- */
.erp-hero { padding-top: clamp(8rem, 16vh, 11rem); padding-bottom: 3rem; }
.erp-hero h1 { max-width: 16ch; }
.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; margin-top: 3rem; }
.module { display: grid; gap: 0.7rem; }
.module__no { font-family: var(--font-mono); font-size: 0.8rem; color: var(--blue-soft); }
.module h3 { font-size: 1.25rem; }
.module p { font-size: 0.96rem; }
.module ul { display: grid; gap: 0.35rem; margin-top: 0.4rem; }
.module li { font-size: 0.88rem; color: var(--mist); display: flex; gap: 0.5rem; }
.module li::before { content: "+"; color: var(--blue-soft); font-family: var(--font-mono); }

/* Tabs mit Bildschirmen */
.screens { display: grid; grid-template-columns: 280px 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; margin-top: 3rem; }
.screens__tabs { display: grid; gap: 0.3rem; position: sticky; top: 6rem; }
.screens__tab { text-align: left; background: none; border: 1px solid transparent; border-radius: 12px; padding: 0.9rem 1rem; color: var(--mist); transition: all var(--speed) var(--ease); display: grid; gap: 0.15rem; }
.screens__tab b { color: var(--white); font-size: 1rem; }
.screens__tab span { font-size: 0.82rem; }
.screens__tab:hover { background: var(--ink-2); }
.screens__tab.is-active { background: var(--ink-2); border-color: var(--line-strong); }
.screens__tab.is-active b { color: var(--blue-soft); }
.screens__stage { position: relative; }
.screens__pane { display: none; }
.screens__pane.is-active { display: block; animation: panein 0.6s var(--ease); }
@keyframes panein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.screens__note { margin-top: 1.2rem; display: flex; gap: 1rem; align-items: flex-start; font-size: 0.95rem; }
.screens__note .n { font-family: var(--font-mono); color: var(--blue-soft); font-size: 0.8rem; padding-top: 0.2rem; }

.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.2rem; margin-top: 2.5rem; }
.price { display: flex; flex-direction: column; }
.price.featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 30px 60px -30px var(--glow); }
.price__name { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-soft); }
.price__amount { font-size: 2.4rem; font-weight: 600; letter-spacing: -0.04em; margin: 0.8rem 0 0.2rem; }
.price__amount small { font-size: 0.9rem; color: var(--mist-dim); font-weight: 400; letter-spacing: 0; }
.price__desc { color: var(--mist); font-size: 0.95rem; margin-bottom: 1.4rem; }
.price ul { display: grid; gap: 0.7rem; margin-bottom: 1.8rem; flex: 1; }
.price li { display: flex; gap: 0.6rem; font-size: 0.95rem; color: var(--mist); }
.price li::before { content:"+"; color: var(--blue-soft); font-family: var(--font-mono); }
.price .btn { width: 100%; justify-content: center; }
.form-note { font-size: 0.85rem; color: var(--mist-dim); }

/* Vergleich */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 3rem; }
.compare > div { background: var(--ink-1); padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; align-content: start; gap: 0.8rem; }
.compare > div.is-us { background: var(--ink-2); }
.compare h3 { font-size: 1.2rem; }
.compare .k { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist-dim); }
.compare .is-us .k { color: var(--blue-soft); }
.compare ul { display: grid; gap: 0.5rem; }
.compare li { font-size: 0.92rem; color: var(--mist); display: flex; gap: 0.6rem; }
.compare li::before { content: "·"; color: var(--mist-dim); }
.compare .is-us li::before { content: "+"; color: var(--blue-soft); font-family: var(--font-mono); }

/* ---------- 10) KI-Agenten-Seite ---------- */
.vault { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 2.5rem; }
.vault > div { background: var(--ink-1); padding: clamp(1.4rem, 3vw, 2rem); }
.vault h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.vault .k { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-soft); display: block; margin-bottom: 0.8rem; }
.vault p { font-size: 0.92rem; }
.tree { font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.8; color: var(--mist); background: #0a0d12; border: 1px solid var(--line-strong); border-radius: 16px; padding: 1.4rem 1.6rem; overflow-x: auto; }
.tree b { color: var(--white); font-weight: 400; }
.tree .c { color: var(--mist-dim); }
.tree .a { color: var(--blue-soft); }

/* ---------- 11) Projekte-Seite ---------- */
.projects { display: grid; gap: 1.2rem; margin-top: 3rem; }
.project { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; padding: clamp(1.4rem, 3vw, 2.2rem); }
.project__no { font-family: var(--font-mono); color: var(--mist-dim); font-size: 0.85rem; }
.project h3 { margin-bottom: 0.4rem; font-size: 1.35rem; }
.project p { font-size: 0.96rem; max-width: 62ch; }
.project__side { text-align: right; display: grid; gap: 0.6rem; justify-items: end; }

.study { padding-block: clamp(4rem, 10vh, 7rem); border-top: 1px solid var(--line); }
.study__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.study h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin: 1rem 0 1.2rem; }
.study__side { position: sticky; top: 6rem; display: grid; gap: 1.4rem; }
.study dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.2rem; font-size: 0.92rem; }
.study dt { font-family: var(--font-mono); font-size: 0.72rem; color: var(--mist-dim); text-transform: uppercase; letter-spacing: 0.1em; padding-top: 0.2rem; }
.study dd { color: var(--mist); }
.study__body h3 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.study__body p + p { margin-top: 0.9rem; }
.study__body ul { display: grid; gap: 0.5rem; margin-top: 0.6rem; }
.study__body li { display: flex; gap: 0.7rem; color: var(--mist); }
.study__body li::before { content:""; flex: 0 0 auto; width: 7px; height: 7px; margin-top: 0.65rem; border-radius: 2px; background: var(--blue); }

/* ---------- 12) Unterseiten ---------- */
.page-hero { padding-top: clamp(8rem, 18vh, 12rem); padding-bottom: clamp(3rem, 8vh, 6rem); }
.page-hero h1 { margin: 1.2rem 0 1.2rem; max-width: 18ch; }

/* Wissen */
.kb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; margin-top: 2.5rem; }
.kb-card { display: grid; gap: 0.7rem; align-content: start; }
.kb-card.featured { grid-column: 1 / -1; border-color: var(--line-strong); }
.kb-kicker { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-soft); }
.kb-card h3 { font-size: 1.25rem; }
.kb-card p { font-size: 0.96rem; }
.kb-more { color: var(--white); font-weight: 600; display: inline-flex; gap: 0.5rem; margin-top: 0.3rem; }
.kb-more .arrow { transition: transform var(--speed) var(--ease); }
.kb-card:hover .kb-more .arrow { transform: translateX(4px); }

.article { max-width: 72ch; margin-inline: auto; }
.article__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0; font-family: var(--font-mono); font-size: 0.76rem; color: var(--mist-dim); margin-bottom: 2.4rem; }
.dot-sep::before { content: "·"; margin-inline: 0.6rem; }
.article__lead { font-size: 1.25rem; color: var(--white); line-height: 1.5; margin-bottom: 2rem; }
.article__body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2.4rem 0 0.9rem; }
.article__body h3 { font-size: 1.25rem; margin: 1.8rem 0 0.6rem; }
.article__body p { margin-bottom: 1.1rem; }
.article__body p a, .legal a { color: var(--blue-soft); text-decoration: underline; text-underline-offset: 3px; }
.article__body ul, .article__body ol { display: grid; gap: 0.5rem; margin: 0 0 1.2rem 1.2rem; list-style: disc; color: var(--mist); }
.article__body ol { list-style: decimal; }
.article__foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-weight: 600; }

/* Ueber */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about-portrait { border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--ink-2); padding: 2rem; position: sticky; top: 6rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 1.2rem; margin-top: 2.5rem; }
.fact strong { display:block; font-size: 1.8rem; letter-spacing: -0.03em; }
.fact span { color: var(--mist-dim); font-size: 0.82rem; font-family: var(--font-mono); }
.cv { display: grid; gap: 0; margin-top: 2rem; }
.cv li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); color: var(--mist); font-size: 0.96rem; }
.cv li:last-child { border-bottom: 1px solid var(--line); }
.cv span { font-family: var(--font-mono); font-size: 0.76rem; color: var(--mist-dim); padding-top: 0.25rem; }
.cv b { color: var(--white); display: block; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); }
.contact-info { display: grid; gap: 1.6rem; align-content: start; }
.contact-info a.big { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.03em; color: var(--white); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 6px; }
.field { display: grid; gap: 0.45rem; margin-bottom: 1.1rem; }
.field label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist-dim); }
.field input, .field textarea, .field select {
  width: 100%; background: var(--ink-2); border: 1px solid var(--line); border-radius: 10px; color: var(--white);
  padding: 0.9rem 1rem; font: inherit; transition: border-color var(--speed) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-soft); }
.field textarea { min-height: 160px; resize: vertical; }
.form-status { margin-top: 1rem; font-size: 0.9rem; color: var(--mist); min-height: 1.4em; }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 0.6rem; }
.legal p, .legal li { color: var(--mist); }
.legal ul { list-style: disc; margin-left: 1.2rem; display: grid; gap: 0.3rem; }

/* ---------- 13) Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(3rem, 8vh, 5rem) 0 2rem; background: var(--ink); position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand img { height: 26px; width: auto; margin-bottom: 1.2rem; }
.footer__brand p { font-size: 0.95rem; max-width: 38ch; }
.footer__col h4 { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist-dim); margin-bottom: 1rem; font-weight: 400; }
.footer__col a { display: block; color: var(--mist); padding: 0.3rem 0; font-size: 0.95rem; transition: color var(--speed) var(--ease); }
.footer__col a:hover { color: var(--white); }
.footer__word { font-size: clamp(4rem, 18vw, 16rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.85; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.12); user-select: none; text-align: center; margin-top: 1rem; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--mist-dim); }
.footer__bottom a:hover { color: var(--white); }

/* ---------- 14) Responsive ---------- */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 760px; margin-top: 1rem; }
  .hero__visual .ui { transform: none; }
  .hero__float--b { left: 0; bottom: -1rem; }
  .hero__float--a { right: 0; top: -1rem; }
  .pipeline { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; padding-bottom: 1rem; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .split, .stepper, .case, .founder, .about-grid, .contact-grid, .study__grid, .screens { grid-template-columns: 1fr; }
  .stepper__visual { position: relative; top: auto; height: auto; display: none; }
  .stepper__steps { padding-block: 0; gap: 2rem; }
  .stepper__step { opacity: 1; }
  .stepper__step .ui-inline { display: block; margin-top: 1.4rem; }
  .case--flip .case__visual { order: 0; }
  .case::before { display: none; }
  .screens__tabs { position: static; display: flex; overflow-x: auto; gap: 0.4rem; padding-bottom: 0.5rem; }
  .screens__tab { flex: 0 0 auto; min-width: 200px; }
  .compare, .vault { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .about-portrait, .study__side { position: static; }
  .ui__body { grid-template-columns: 100px 1fr; }
  .ui__kpis { grid-template-columns: repeat(2, 1fr); }
  .ui__cols, .ui__doc { grid-template-columns: 1fr; }
  .ui__kanban { grid-template-columns: repeat(2, 1fr); }
  .ui__plan { grid-template-columns: 60px repeat(5, 1fr); }
  .pipeline::before { display: none; }
  .pipe__ico { box-shadow: none; }
  .project { grid-template-columns: 1fr; }
  .project__side { justify-items: start; text-align: left; }
  .numlist li { grid-template-columns: 3rem 1fr; }
}
@media (min-width: 901px) { .stepper__step .ui-inline { display: none; } }
@media (max-width: 560px) {
  .hero__proof { gap: 1rem 1.4rem; }
  .case__facts { grid-template-columns: repeat(2, auto); }
  .footer__top { grid-template-columns: 1fr; }
  .ui__side { display: none; }
  .ui__body { grid-template-columns: 1fr; min-height: 0; }
  .hero__float { display: none; }
  .marquee span { font-size: 0.72rem; }
  .metrics { gap: 1.2rem 1.6rem; }
  .cv li { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ---------- 15) Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .manifest .w { opacity: 1; }
  .stepper__step { opacity: 1; }
  .term__body .ln { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* QA-Modus (?static): Hero nicht bildschirmhoch, damit Ganzseiten-Screenshots gehen */
html.static .hero { min-height: 0; }
html.static .stepper__visual { display: none; }
html.static .stepper__step .ui-inline { display: block; margin-top: 1.4rem; }
html.static .stepper { grid-template-columns: 1fr; }
html.static .stepper__steps { padding-block: 0; gap: 3rem; }
html.static .stepper__step { opacity: 1; }

/* Ueberlauf-Schutz: Grid-Kinder duerfen schrumpfen, Fenster klippen innen */
.hero__copy, .hero__visual, .ui__main, .ui__main > *, .ui__cols > *, .ui__doc > *, .ui__kanban > *, .stepper__steps, .stepper__step, .case > *, .study__side, .study__body, .gallery__item, .screens__stage, .contact-grid > *, .about-grid > * { min-width: 0; }
.ui__panel, .ui__main { overflow: hidden; }
@media (max-width: 560px) {
  .ui__table td { white-space: normal; }
  .ui__table { font-size: 0.6rem; }
  .ui__url { max-width: 100%; }
}
@media (max-width: 900px) {
  .manifest { padding-block: clamp(4rem, 10vh, 7rem); }
  .manifest__line { margin-block: 1.6rem; }
}
