/* ============================================================
   OrchestrAIgent — styles
   Performance notes:
   - Single stylesheet, no preprocessor.
   - Hardware-accelerated transforms only (transform/opacity).
   - prefers-reduced-motion respected.
   - Fonts self-hosted (DSGVO: keine Google-Fonts-Requests).
   ============================================================ */

/* Self-hosted variable fonts — DSGVO-konform, keine externen Requests */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/spacegrotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/spacegrotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #07091a;
  --bg-2: #0f172a;
  --surface: rgba(15, 23, 42, 0.72);
  --surface-2: rgba(255, 255, 255, 0.04);
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);
  --fg: #f8fafc;
  --fg-muted: #94a3b8;
  --fg-dim: #7c8aa0;
  --amber: #d97706;
  --amber-2: #f59e0b;
  --cyan: #38bdf8;
  --violet: #8b5cf6;
  --ok: #22c55e;

  --grad-hero: linear-gradient(135deg, #f59e0b 0%, #d97706 35%, #38bdf8 100%);
  --grad-card: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow-amber: 0 0 0 1px rgba(217, 119, 6, 0.4), 0 20px 60px -20px rgba(217, 119, 6, 0.55);

  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

/* ----- Accessibility: skip link + visible keyboard focus ----- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--amber-2);
  color: #1a1207;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transform: translateY(-150%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Background canvas */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at top, rgba(15, 23, 42, 0.95) 0%, var(--bg) 60%);
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}
.bg-orb {
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  will-change: transform;
  animation: drift 22s ease-in-out infinite;
}
.bg-orb--amber {
  background: radial-gradient(circle, #d97706 0%, transparent 70%);
  top: -120px; left: -120px;
}
.bg-orb--cyan {
  background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
  top: 30%; right: -180px;
  animation-delay: -7s;
  animation-duration: 28s;
}
.bg-orb--violet {
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  bottom: -200px; left: 30%;
  animation-delay: -14s;
  animation-duration: 32s;
  opacity: 0.3;
}
.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  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.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(60px, -40px) scale(1.05); }
  66%      { transform: translate(-40px, 50px) scale(0.95); }
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(7, 9, 26, 0.6);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(7, 9, 26, 0.82);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand__mark { width: 34px; height: 34px; flex: 0 0 34px; }
.brand__accent { color: var(--amber); }
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  color: var(--fg-muted);
}
.nav a {
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav a:not(.btn):hover { color: var(--fg); }
.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--grad-hero);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.005em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn--sm { padding: 9px 16px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: linear-gradient(135deg, var(--amber-2), var(--amber));
  color: #1a1207;
  box-shadow: 0 10px 30px -10px rgba(217, 119, 6, 0.7), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(217, 119, 6, 0.9), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn--ghost {
  background: var(--surface-2);
  color: var(--fg);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--fg-muted);
  background: rgba(255,255,255,0.08);
}

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--fg-muted);
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
}
.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.2);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.2); }
  50%      { box-shadow: 0 0 0 7px rgba(217, 119, 6, 0); }
}
.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.85rem);
  margin-bottom: 22px;
}
.grad-text {
  background: var(--grad-hero);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}
.hero__lead {
  font-size: 1.12rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 0 36px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--grad-hero);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat__label {
  color: var(--fg-muted);
  font-size: 0.9rem;
}

/* Hero visual */
.hero__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-left: auto;
}
.orb-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.orb-stage__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: spin 40s linear infinite;
}
.orb-stage__ring--1 { width: 90%; height: 90%; }
.orb-stage__ring--2 { width: 70%; height: 70%; border-color: rgba(56, 189, 248, 0.18); animation-duration: 28s; animation-direction: reverse; }
.orb-stage__ring--3 { width: 50%; height: 50%; border-color: rgba(217, 119, 6, 0.22); animation-duration: 20s; }
@keyframes spin { to { transform: rotate(360deg); } }
.hexnet {
  position: relative;
  width: 85%;
  height: 85%;
  filter: drop-shadow(0 20px 60px rgba(217, 119, 6, 0.3));
}
.hexnet__nodes circle { animation: nodeBlink 3s ease-in-out infinite; }
.hexnet__nodes circle:nth-child(2) { animation-delay: 0.4s; }
.hexnet__nodes circle:nth-child(3) { animation-delay: 0.8s; }
.hexnet__nodes circle:nth-child(4) { animation-delay: 1.2s; }
.hexnet__nodes circle:nth-child(5) { animation-delay: 1.6s; }
.hexnet__nodes circle:nth-child(6) { animation-delay: 2.0s; }
.hexnet__nodes circle:nth-child(7) { animation-delay: 0s; }
@keyframes nodeBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}
.float-card__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.28), rgba(56, 189, 248, 0.22));
  border: 1px solid rgba(248, 250, 252, 0.08);
  color: #F8FAFC;
  flex-shrink: 0;
}
.float-card__icon--amber {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.45), rgba(217, 119, 6, 0.15));
  border-color: rgba(217, 119, 6, 0.55);
  color: #FBBF24;
}
.float-card__icon--cyan {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.4), rgba(56, 189, 248, 0.12));
  border-color: rgba(56, 189, 248, 0.55);
  color: #7DD3FC;
}
.float-card__icon--mix {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.35), rgba(56, 189, 248, 0.35));
  border-color: rgba(248, 250, 252, 0.2);
  color: #F8FAFC;
}
.float-card__title { font-size: 0.92rem; font-weight: 600; }
.float-card__sub { font-size: 0.78rem; color: var(--fg-muted); }
.float-card--1 { top: 8%; left: -8%; animation-delay: 0s; }
.float-card--2 { top: 42%; right: -10%; animation-delay: -2s; }
.float-card--3 { bottom: 10%; left: 5%; animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Trust strip */
.trust {
  padding: 14px 0 56px;
  text-align: center;
}
.trust__label {
  color: var(--fg-dim);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.trust__row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--fg-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Section */
.section {
  padding: 110px 0;
  position: relative;
}
.section--alt {
  background:
    linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.5) 20%, rgba(15, 23, 42, 0.5) 80%, transparent);
}
.section--cta {
  padding: 90px 0 130px;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  margin-bottom: 16px;
}
.section-head p {
  color: var(--fg-muted);
  font-size: 1.08rem;
  margin: 0;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  padding: 32px 28px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  pointer-events: none;
}
.card__glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(217, 119, 6, 0.18), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.card:hover .card__glow { opacity: 1; }
.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.18), rgba(56, 189, 248, 0.12));
  color: var(--amber-2);
  margin-bottom: 22px;
  position: relative;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  position: relative;
}
.card > p {
  color: var(--fg-muted);
  margin: 0 0 18px;
  position: relative;
}
.card__list {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--fg-muted);
  position: relative;
}
.card__list li {
  padding-left: 22px;
  position: relative;
}
.card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 2px;
  background: var(--amber);
  border-radius: 2px;
}

/* Toolchain (KI-Werkzeuge) */
.toolchain {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: tool;
  margin-bottom: 28px;
}
.tool {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tool:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
/* Connector arrow to the next chain link (hidden at row ends) */
.tool:not(:nth-child(3n))::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -19px;
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), rgba(217, 119, 6, 0.2));
  border-radius: 2px;
  z-index: 1;
}
.tool__num {
  flex: 0 0 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #1a1207;
  background: linear-gradient(135deg, var(--amber-2), var(--amber));
  box-shadow: 0 6px 18px -6px rgba(217, 119, 6, 0.6);
}
.tool__body h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}
.tool__body p {
  color: var(--fg-muted);
  font-size: 0.93rem;
  margin: 0 0 14px;
}
.tool__outputs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.08);
  color: #7dd3fc;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.toolchain-extra {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}
.toolchain-note {
  text-align: center;
  color: var(--fg-muted);
  font-size: 0.98rem;
  margin: 36px 0 0;
}
.toolchain-note a {
  color: var(--amber-2);
  font-weight: 600;
  border-bottom: 1px dashed var(--amber);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease);
}
.toolchain-note a:hover { color: var(--fg); }
.card__link {
  color: var(--cyan);
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.card__link:hover { color: var(--fg); }

/* Workshops */
.workshops {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.ws-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.ws-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  pointer-events: none;
}
.ws-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.ws-card__head,
.ws-card .check-list,
.ws-card__foot { position: relative; }
.ws-card__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(217, 119, 6, 0.4);
  background: rgba(217, 119, 6, 0.1);
  color: var(--amber-2);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.ws-card__head h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.ws-card__head p {
  color: var(--fg-muted);
  margin: 0;
}
.ws-card .check-list { flex: 1; }
.ws-card .check-list li { font-size: 0.95rem; }
.ws-card__foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.ws-card__price {
  font-size: 0.88rem;
  color: var(--fg-muted);
}
.ws-card__foot .btn { align-self: flex-start; }

/* Industries */
.industries {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}
.industry {
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.25s var(--ease);
}
.industry:hover {
  color: var(--fg);
  border-color: var(--border-strong);
}
.industry.is-active {
  color: #1a1207;
  background: linear-gradient(135deg, var(--amber-2), var(--amber));
  border-color: transparent;
  box-shadow: 0 6px 20px -6px rgba(217, 119, 6, 0.6);
}
.industry-panels { position: relative; }
.industry-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  animation: fadeUp 0.5s var(--ease);
}
.industry-panel.is-active { display: grid; }
.industry-panel.is-switching { animation: fadeUp 0.45s var(--ease); }
.industry-panel h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  margin-bottom: 18px;
}
.industry-panel p {
  color: var(--fg-muted);
  margin: 0 0 22px;
}
.check-list { display: grid; gap: 10px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--fg);
}
.check-list li::before {
  content: '';
  flex: 0 0 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-2), var(--amber));
  position: relative;
  margin-top: 2px;
  background-image:
    linear-gradient(135deg, var(--amber-2), var(--amber)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10l3 3 7-7' fill='none' stroke='%23120903' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-blend-mode: normal;
  background-size: cover;
}

.mock-window {
  background: linear-gradient(180deg, rgba(15,23,42,0.95), rgba(7,9,26,0.95));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(217,119,6,0.08);
  position: relative;
}
.mock-window::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(217,119,6,0.2), transparent 40%, rgba(56,189,248,0.15));
  pointer-events: none;
  z-index: 0;
}
.mock-window__bar {
  display: flex;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.mock-window__bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(148,163,184,0.3);
}
.mock-window__bar span:nth-child(1) { background: #ef4444; }
.mock-window__bar span:nth-child(2) { background: #f59e0b; }
.mock-window__bar span:nth-child(3) { background: #22c55e; }
.mock-window__body {
  padding: 22px;
  display: grid;
  gap: 12px;
  position: relative;
}
.mock-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  font-size: 0.92rem;
}
.mock-line strong {
  color: var(--fg-muted);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.mock-line span:not(.ok) { color: var(--fg); }
.mock-line .ok { color: var(--ok); font-weight: 500; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.step__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 16px;
}
.step h3 { font-size: 1.18rem; margin-bottom: 10px; }
.step p { color: var(--fg-muted); margin: 0; font-size: 0.95rem; }

/* Quotes */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.quote {
  margin: 0;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(10px);
  position: relative;
}
.quote::before {
  content: '“';
  position: absolute;
  top: 8px; left: 24px;
  font-family: 'Space Grotesk', serif;
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(217, 119, 6, 0.3);
}
.quote blockquote {
  margin: 22px 0 22px;
  color: var(--fg);
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
}
.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
}
.quote figcaption strong { color: var(--fg); }
.quote figcaption span { color: var(--fg-muted); }

/* Placeholder quotes — deliberately marked as "reserved", no fake reviews */
.quote--placeholder {
  border-style: dashed;
  background: rgba(15, 23, 42, 0.4);
}
.quote--placeholder::before { color: rgba(148, 163, 184, 0.25); }
.quote--placeholder blockquote {
  color: var(--fg-muted);
  font-style: italic;
}
.quote--placeholder figcaption a {
  color: var(--amber-2);
  font-weight: 600;
  transition: color 0.2s var(--ease);
}
.quote--placeholder figcaption a:hover { color: var(--fg); }

/* CTA */
.cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 56px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(217, 119, 6, 0.08), rgba(56, 189, 248, 0.06)),
    rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.18), transparent 60%);
  pointer-events: none;
}
.cta__text { position: relative; }
.cta__text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.cta__text p { color: var(--fg-muted); margin: 0 0 24px; }
.cta__bullets { display: grid; gap: 10px; }
.cta__bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
}
.cta__bullets .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}
.cta__phone {
  margin: 20px 0 0;
  font-size: 0.95rem;
  color: var(--fg-muted);
}
.cta__phone a {
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed var(--amber);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease);
}
.cta__phone a:hover { color: var(--amber-2); }

/* Form */
.form {
  display: grid;
  gap: 14px;
  position: relative;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--fg-muted);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.97rem;
  color: var(--fg);
  background: rgba(7, 9, 26, 0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  outline: none;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; font-family: inherit; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--amber);
  background: rgba(7, 9, 26, 0.85);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.15);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2394a3b8'><path d='M5 8l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 38px;
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}
.field.is-invalid > span {
  color: #fca5a5;
}
/* Honeypot — hidden from sighted users and assistive tech via aria-hidden + tabindex=-1.
   Kept in normal flow but visually removed; bots that auto-fill all inputs will trip it. */
.field--hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field--check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.5;
  cursor: pointer;
}
.field--check input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--amber);
  cursor: pointer;
}
.field--check.is-invalid {
  color: #fca5a5;
}
.field--check a { color: var(--cyan); text-decoration: underline; }
.form__hint {
  font-size: 0.82rem;
  color: var(--fg-dim);
  margin: 6px 0 0;
}
.form__hint a { color: var(--fg-muted); text-decoration: underline; }
.form__success a { color: #86efac; text-decoration: underline; }

/* Per-field validation messages + form-level error summary */
.field__error {
  display: none;
  font-size: 0.8rem;
  font-weight: 500;
  color: #fca5a5;
  margin-top: 2px;
}
.field.is-invalid .field__error { display: block; }
.field--check { flex-wrap: wrap; }
.field--check .field__error { flex-basis: 100%; margin-top: 4px; }
.form__error-summary {
  margin: 2px 0 0;
  padding: 12px 16px;
  border: 1px solid #ef4444;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.1);
  color: #fecaca;
  font-size: 0.9rem;
}
.form__error-summary:empty { display: none; }

/* Visible TODO banner for legal pages — must be removed before go-live */
.legal__todo {
  margin: 0 0 28px;
  padding: 14px 18px;
  border: 1px solid #ef4444;
  border-left-width: 4px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.1);
  color: #fecaca;
  font-size: 0.92rem;
}
.legal__todo strong { color: #fff; }
.form__success {
  margin-top: 4px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
  font-size: 0.95rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  background: rgba(7, 9, 26, 0.6);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand .brand__mark { width: 38px; height: 38px; }
.footer__name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.footer__claim { font-size: 0.85rem; color: var(--fg-muted); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; color: var(--fg-muted); font-size: 0.92rem; }
.footer__nav a:hover { color: var(--fg); }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--fg-dim);
}
.footer__legal a:hover { color: var(--fg-muted); }

/* Legal pages */
.legal {
  max-width: 760px;
  margin: 0 auto;
  color: var(--fg);
}
.legal h1 {
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  margin: 12px 0 32px;
}
.legal h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.18rem;
  margin: 36px 0 12px;
  color: var(--fg);
}
.legal p {
  color: var(--fg-muted);
  margin: 0 0 14px;
  line-height: 1.7;
}
.legal a { color: var(--cyan); text-decoration: underline; }
.legal__list {
  display: grid;
  gap: 6px;
  color: var(--fg-muted);
  margin: 0 0 18px;
  padding-left: 22px;
  list-style: disc;
}
.legal__note {
  margin-top: 36px;
  padding: 16px 18px;
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  background: rgba(217, 119, 6, 0.06);
  color: var(--fg-muted);
  font-size: 0.92rem;
}

/* Reveal animation
   Note: no will-change — the animation is one-shot, and reserving a GPU
   layer on dozens of elements indefinitely wastes memory. */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { padding: 56px 0 72px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { width: 100%; max-width: 440px; margin: 0 auto; }
  .hero__stats { gap: 24px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .industry-panel.is-active { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; gap: 32px; padding: 36px 28px; }
  .toolchain { grid-template-columns: repeat(2, 1fr); }
  .tool:not(:nth-child(3n))::after { content: none; }
  .tool:not(:nth-child(2n))::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -19px;
    width: 16px;
    height: 2px;
    background: linear-gradient(90deg, var(--amber), rgba(217, 119, 6, 0.2));
    border-radius: 2px;
    z-index: 1;
  }
  .toolchain-extra { grid-template-columns: 1fr; }
  .workshops { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .header__inner { height: 64px; }
  .nav {
    position: absolute;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 18px;
    background: rgba(7, 9, 26, 0.96);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 10px; align-self: flex-start; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .section { padding: 80px 0; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .toolchain { grid-template-columns: 1fr; }
  .tool::after { content: none !important; }
  .ws-card { padding: 28px 22px; }
  .hero__stats { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .form__row { grid-template-columns: 1fr; }
  .float-card--1 { left: -2%; }
  .float-card--2 { right: -2%; }
  .brand__name { font-size: 1rem; }
}

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

/* ============================================================
   Webseite_Visual — Brand-Hero (logo_neu.svg) + Live-Beispiel
   ============================================================ */

/* ---------- Brand-forward Hero ---------- */
.hero--brand { padding: 64px 0 88px; }
.hero--brand .hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}
.hero__brand {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.hero__logo {
  width: min(820px, 94%);
  height: auto;
  /* Feather all four edges so the JPEG-rectangle dissolves into the page bg.
     Content sits at 2%-99% horizontally / 8%-92% vertically, so left/right
     fade is kept modest (reads as glow), top/bottom fade is generous. */
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0, #000 3.2%, #000 98%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image:
    linear-gradient(to right,  transparent 0, #000 3.2%, #000 98%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
  filter: drop-shadow(0 22px 50px rgba(0, 0, 0, 0.5));
}
/* Soft navy "cloud" behind the logo, matching the logo's own lit-navy
   backdrop (~#171f30) and extending past its edges so the rectangular
   JPEG background dissolves into a halo instead of showing a hard box. */
.hero__glow {
  position: absolute;
  top: -28px; left: 50%;
  transform: translateX(-50%);
  width: min(1040px, 108%);
  height: 340px;
  border-radius: 80px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.92;
  background:
    radial-gradient(46% 62% at 30% 42%, rgba(217, 119, 6, 0.26), transparent 72%),
    radial-gradient(46% 68% at 70% 52%, rgba(56, 189, 248, 0.18), transparent 74%),
    radial-gradient(72% 80% at 50% 48%, #19233480, #161f30 45%, transparent 86%);
  filter: blur(54px);
}
.hero--brand .pill { margin-bottom: 26px; }
.hero--brand .hero__lead { margin-left: auto; margin-right: auto; }
.hero--brand .hero__cta { justify-content: center; }
.hero--brand .hero__stats {
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  text-align: center;
}

/* ---------- Live-Beispiel / Showcase ---------- */
.showcase .section-head { margin-bottom: 44px; }
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
}
.flow__step {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.flow__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.flow__badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad-hero);
  color: #07091a;
  font-weight: 700;
  font-size: 0.82rem;
}
.panel {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.panel svg { width: 100%; height: auto; display: block; }
.panel--sketch { background: linear-gradient(180deg, #11182b, #0c1120); }
.panel--draft  { background: linear-gradient(180deg, #0e1626, #0a1019); border-color: rgba(56,189,248,0.20); }
.flow__step figcaption {
  margin-top: 14px;
}
.flow__step figcaption strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--fg);
  font-size: 1rem;
}
.flow__step figcaption span {
  display: block;
  color: var(--fg-muted);
  font-size: 0.86rem;
  margin-top: 2px;
}

/* horizontal connector between sketch + drawing */
.flow__arrow {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--amber-2);
  padding-top: 80px;
}
.flow__arrow span {
  font-size: 0.72rem;
  color: var(--fg-muted);
  text-align: center;
  max-width: 70px;
  line-height: 1.25;
}
/* vertical connector down to the sheet */
.flow__down {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--amber-2);
  margin: 26px 0 4px;
}
.flow__down span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* Rückfragen list under the drawing */
.queries {
  margin-top: 14px;
  display: grid;
  gap: 7px;
}
.queries li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.4;
}
.q-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
}

/* Step 3 — Stückliste sheet */
.flow__step--sheet {
  max-width: 920px;
  margin: 0 auto;
}
.panel--sheet { background: linear-gradient(180deg, #0f1729, #0b1018); }
.sheet { padding: 4px; }
.sheet__head {
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--border);
}
.sheet__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fg);
  font-size: 0.98rem;
}
.sheet__meta {
  color: var(--fg-dim);
  font-size: 0.8rem;
  margin-top: 3px;
}
.sheet__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.sheet__table th,
.sheet__table td {
  padding: 7px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(148,163,184,0.08);
  white-space: nowrap;
}
.sheet__table thead th {
  color: var(--fg-muted);
  font-weight: 600;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.02);
}
.sheet__table .num { text-align: right; font-variant-numeric: tabular-nums; }
.sheet__table tbody td:nth-child(2) { white-space: normal; color: var(--fg); }
.sheet__table tbody td { color: var(--fg-muted); }
.sheet__table tr.grp td {
  background: rgba(56,189,248,0.06);
  color: #7dd3fc;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.sheet__table tr.warn td {
  background: rgba(245,158,11,0.08);
}
.sheet__table tr.warn td:nth-child(2) { color: #fbbf24; }
.warn-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(245,158,11,0.18);
  color: #fbbf24;
  font-size: 0.68rem;
  font-weight: 600;
}
.sheet__table tfoot td {
  padding: 11px 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--fg);
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--border-strong);
  border-bottom: none;
}
.sheet__table tfoot .num { color: var(--amber-2); }

.showcase__outputs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.showcase__outputs .chip { padding: 6px 14px; font-size: 0.82rem; }
.chip--warn {
  border-color: rgba(245,158,11,0.4);
  background: rgba(245,158,11,0.10);
  color: #fbbf24;
}
.chip--ok {
  border-color: rgba(34,197,94,0.4);
  background: rgba(34,197,94,0.10);
  color: #4ade80;
}

/* ---------- Showcase responsive ---------- */
@media (max-width: 820px) {
  .flow {
    grid-template-columns: 1fr;
    max-width: 460px;
    gap: 10px;
  }
  .flow__arrow {
    flex-direction: row;
    padding-top: 0;
    margin: 4px 0;
  }
  .flow__arrow svg { transform: rotate(90deg); }
  .flow__arrow span { max-width: none; }
  .sheet__table { font-size: 0.76rem; }
  .sheet__table th, .sheet__table td { padding: 6px 8px; }
}
@media (max-width: 560px) {
  .panel--sheet { overflow-x: auto; }
  .sheet { min-width: 480px; }
}
