/* ============================================================
   Ahmed Consultant — Design System
   1. Tokens
   2. Reset & Base
   3. Typography
   4. Layout primitives
   5. Buttons & micro-interactions
   6. Header / Navigation
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Surfaces */
  --ink-900: #0a0a0a;
  --ink-800: #111;
  --ink-700: #181818;
  --ink-600: #202020;
  --ink-500: #2a2a2a;

  --paper: #f5f5f2;
  --paper-alt: #edede8;
  --paper-pure: #fcfcfa;

  /* Accents — sparsam einsetzen */
  --lime: #b7ff3c;
  --lime-dim: #9be01f;
  --violet: #7c5cff;

  /* Text */
  --on-dark: #f5f5f2;
  --on-dark-muted: rgb(245 245 242 / 72%);
  --on-dark-faint: rgb(245 245 242 / 58%);
  --on-light: #0a0a0a;
  --on-light-muted: rgb(10 10 10 / 68%);
  --on-light-faint: rgb(10 10 10 / 58%);

  /* Lines */
  --line-dark: rgb(245 245 242 / 10%);
  --line-dark-2: rgb(245 245 242 / 18%);
  --line-light: rgb(10 10 10 / 10%);
  --line-light-2: rgb(10 10 10 / 16%);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows — sehr dezent */
  --shadow-sm: 0 1px 2px rgb(10 10 10 / 4%), 0 2px 8px rgb(10 10 10 / 4%);
  --shadow-md: 0 2px 4px rgb(10 10 10 / 4%), 0 12px 32px rgb(10 10 10 / 7%);
  --shadow-lg: 0 4px 8px rgb(10 10 10 / 5%), 0 24px 64px rgb(10 10 10 / 10%);
  --shadow-dark: 0 24px 64px rgb(0 0 0 / 55%);

  /* Rhythm */
  --shell: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-y: clamp(5.5rem, 11vw, 11rem);

  /* Motion */
  --e-out: cubic-bezier(0.22, 1, 0.36, 1);
  --e-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 0.18s var(--e-out);
  --t-base: 0.32s var(--e-out);
  --t-slow: 0.6s var(--e-out);

  --font-sans:
    "Inter", "Manrope", -apple-system, blinkmacsystemfont, "Segoe UI", "Helvetica Neue", arial,
    sans-serif;
}

/* ---------- 2. Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--on-light);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.35vw + 0.95rem, 1.125rem);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--lime);
  color: var(--ink-900);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--lime);
  color: var(--ink-900);
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: top var(--t-base);
}
.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- 3. Typography ---------- */
.h-display {
  font-size: clamp(2.6rem, 5.4vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: balance;
}
.h-display--wide {
  font-size: clamp(2.75rem, 7vw, 7rem);
  line-height: 0.95;
}

.h1 {
  font-size: clamp(2.15rem, 4.6vw, 4.25rem);
  line-height: 1.03;
  letter-spacing: -0.038em;
  font-weight: 600;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(1.15rem, 1.35vw, 1.4rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.lead {
  font-size: clamp(1.075rem, 0.55vw + 0.95rem, 1.375rem);
  line-height: 1.62;
  letter-spacing: -0.014em;
  color: var(--on-light-muted);
  max-width: 62ch;
}
.dark .lead,
.section--dark .lead {
  color: var(--on-dark-muted);
}

.mono {
  font-family: SFMono-Regular, ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Gradient-Highlight — sehr sparsam */
.grad {
  background: linear-gradient(96deg, var(--lime) 0%, #e7ffb0 42%, var(--violet) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-soft {
  background: linear-gradient(96deg, #fff 0%, rgb(183 255 60 / 92%) 68%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Eyebrow / Kicker */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-light-faint);
}
.section--dark .eyebrow {
  color: var(--on-dark-faint);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgb(183 255 60 / 18%);
  flex: none;
}

.num {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  color: var(--lime-dim);
}
.section--dark .num {
  color: var(--lime);
}

/* ---------- 4. Layout primitives ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow {
  max-width: 980px;
}

.section {
  position: relative;
  padding-block: var(--section-y);
}
.section--light {
  background: var(--paper);
  color: var(--on-light);
}
.section--alt {
  background: var(--paper-alt);
  color: var(--on-light);
}
.section--dark {
  background: var(--ink-900);
  color: var(--on-dark);
}
.section--dark-2 {
  background: var(--ink-800);
  color: var(--on-dark);
}
.section--tight {
  padding-block: clamp(3.5rem, 6vw, 6rem);
}
.section--hairline-top {
  border-top: 1px solid var(--line-dark);
}
.section--hairline-top-l {
  border-top: 1px solid var(--line-light);
}

.section-head {
  max-width: 56ch;
}
.section-head .h1,
.section-head .h2 {
  margin-top: 1.5rem;
}
.section-head .lead {
  margin-top: 1.5rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .split--head {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: end;
  }
  .split--2 {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }
}

.stack-sm > * + * {
  margin-top: 0.75rem;
}
.stack > * + * {
  margin-top: 1.25rem;
}
.stack-lg > * + * {
  margin-top: 2.5rem;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 1.6vw, 1.5rem);
}
@media (min-width: 720px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 720px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1040px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 720px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1040px) {
  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Dezente Muster */
.pattern-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(245 245 242 / 4.5%) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(245 245 242 / 4.5%) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 78%);
  pointer-events: none;
}
.pattern-dots::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(10 10 10 / 10%) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 0%, transparent 76%);
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 0%, transparent 76%);
  pointer-events: none;
  opacity: 0.55;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.5;
}

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--lime);
  --btn-fg: var(--ink-900);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.95rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform var(--t-fast),
    background var(--t-base),
    border-color var(--t-base),
    box-shadow var(--t-base),
    color var(--t-base);
}
.btn .arw {
  transition: transform var(--t-base);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:hover .arw {
  transform: translateX(4px);
}
.btn:active {
  transform: translateY(0);
}

.btn--primary:hover {
  box-shadow: 0 10px 30px rgb(183 255 60 / 28%);
  background: #c6ff5c;
}

.btn--ghost-dark {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--line-dark-2);
}
.btn--ghost-dark:hover {
  background: rgb(245 245 242 / 6%);
  border-color: rgb(245 245 242 / 34%);
}

.btn--ghost-light {
  background: transparent;
  color: var(--on-light);
  border-color: var(--line-light-2);
}
.btn--ghost-light:hover {
  background: rgb(10 10 10 / 4%);
  border-color: rgb(10 10 10 / 34%);
}

.btn--dark {
  background: var(--ink-900);
  color: var(--on-dark);
}
.btn--dark:hover {
  background: var(--ink-700);
  box-shadow: var(--shadow-md);
}

.btn--sm {
  padding: 0.68rem 1.15rem;
  font-size: 0.875rem;
}
.btn--lg {
  padding: 1.1rem 1.9rem;
  font-size: 1rem;
}
.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}
@media (max-width: 560px) {
  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-row .btn {
    width: 100%;
  }
  /* Auf schmalen Geräten darf der Button umbrechen, statt den Pfeil zu verlieren. */
  .btn {
    white-space: normal;
    text-align: center;
  }
  .btn--lg {
    padding: 1rem 1.35rem;
    font-size: 0.95rem;
  }
}
@media (max-width: 420px) {
  .eyebrow {
    letter-spacing: 0.12em;
    font-size: 0.66rem;
  }
}

/* Textlink mit Pfeil */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid currentcolor;
  padding-bottom: 2px;
  transition:
    gap var(--t-base),
    opacity var(--t-base);
}
.link-arrow:hover {
  gap: 0.8rem;
  opacity: 0.75;
}

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--on-dark);
  transition:
    background var(--t-base),
    border-color var(--t-base),
    backdrop-filter var(--t-base),
    box-shadow var(--t-base);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 82px;
  transition: height var(--t-base);
}
.site-header.is-stuck {
  background: rgb(10 10 10 / 72%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line-dark);
}
.site-header.is-stuck .site-header__inner {
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--on-dark);
  flex: none;
}
.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex: none;
  background: linear-gradient(150deg, var(--lime), #7fe01a 55%, var(--violet) 175%);
  display: grid;
  place-items: center;
  color: var(--ink-900);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.04em;
  box-shadow: 0 4px 16px rgb(183 255 60 / 22%);
}
.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand__name b {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.brand__name span {
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  margin-top: 4px;
  font-weight: 500;
}

.nav {
  display: none;
}
@media (min-width: 1080px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}
.nav a {
  position: relative;
  padding: 0.55rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--on-dark-muted);
  border-radius: var(--r-sm);
  transition: color var(--t-base);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.28rem;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.nav a:hover,
.nav a[aria-current="true"] {
  color: var(--on-dark);
}
.nav a:hover::after,
.nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.header-cta {
  display: none;
}
@media (min-width: 720px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Burger */
.burger {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-dark-2);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition:
    border-color var(--t-base),
    background var(--t-base);
}
@media (min-width: 1080px) {
  .burger {
    display: none;
  }
}
.burger:hover {
  border-color: rgb(245 245 242 / 40%);
}
.burger span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--on-dark);
  border-radius: 2px;
  transition:
    transform var(--t-base),
    opacity var(--t-fast);
}
.burger span + span {
  margin-top: 5px;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile-Menü */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgb(10 10 10 / 96%);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  padding: 104px var(--gutter) calc(var(--gutter) + env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity var(--t-base),
    transform var(--t-base),
    visibility var(--t-base);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mobile-menu ul {
  border-top: 1px solid var(--line-dark);
}
.mobile-menu li {
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  transition:
    color var(--t-base),
    padding-left var(--t-base);
}
.mobile-menu a:hover {
  color: var(--lime);
  padding-left: 0.5rem;
}
.mobile-menu a i {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--on-dark-faint);
}
.mobile-menu__foot {
  margin-top: auto;
  padding-top: 2.5rem;
}
.mobile-menu__foot .btn {
  width: 100%;
}
.mobile-menu__phone {
  display: block;
  margin-top: 1.25rem;
  text-align: center;
  color: var(--on-dark-muted);
  font-size: 0.9rem;
}
body.nav-open {
  overflow: hidden;
}

/* ============================================================
   7. Hero
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink-900);
  color: var(--on-dark);
  padding-top: clamp(7.5rem, 12vw, 9.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__glow-a {
  width: 620px;
  height: 620px;
  top: -240px;
  right: -160px;
  background: radial-gradient(circle, rgb(183 255 60 / 20%), transparent 66%);
}
.hero__glow-b {
  width: 560px;
  height: 560px;
  bottom: -280px;
  left: -180px;
  background: radial-gradient(circle, rgb(124 92 255 / 18%), transparent 66%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(3rem, 5vw, 4.5rem);
}
@media (min-width: 1080px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
    align-items: center;
  }
}
.hero__title {
  margin-top: 1.75rem;
}
.hero__title span {
  display: block;
}
.hero__lead {
  margin-top: 2rem;
}
.hero__cta {
  margin-top: 2.75rem;
}
.hero__meta {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.25rem;
}
.hero__meta div {
  min-width: 120px;
}
.hero__meta dt {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  font-weight: 600;
}
.hero__meta dd {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
  color: var(--on-dark);
  font-weight: 500;
}

/* ---------- Automation-Flow-Visual ---------- */
.flow {
  position: relative;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgb(245 245 242 / 5%), rgb(245 245 242 / 1.5%));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: clamp(1.25rem, 2.4vw, 1.9rem);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}
.flow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    150deg,
    rgb(183 255 60 / 36%),
    transparent 38%,
    transparent 68%,
    rgb(124 92 255 / 28%)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.flow__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--line-dark);
}
.flow__title {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  font-weight: 600;
}
.flow__live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 600;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  flex: none;
  animation: pulse 2.2s var(--e-io) infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgb(183 255 60 / 50%);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 7px rgb(183 255 60 / 0%);
    opacity: 0.65;
  }
}

.flow__steps {
  position: relative;
}
.flow__step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  background: rgb(245 245 242 / 2.8%);
  transition:
    border-color var(--t-base),
    background var(--t-base),
    transform var(--t-base);
}
.flow__step + .flow__step {
  margin-top: 28px;
}
.flow__step + .flow__step::before {
  content: "";
  position: absolute;
  left: 30px;
  top: -28px;
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgb(245 245 242 / 5%), rgb(245 245 242 / 22%));
}
.flow__step + .flow__step::after {
  content: "";
  position: absolute;
  left: 27.5px;
  top: -28px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0;
  box-shadow: 0 0 10px rgb(183 255 60 / 90%);
}
.flow__step.is-active {
  border-color: rgb(183 255 60 / 42%);
  background: rgb(183 255 60 / 7%);
  transform: translateX(3px);
}
.flow__step.is-flowing::after {
  animation: travel 1s var(--e-io) forwards;
}
@keyframes travel {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(25px);
  }
}

.flow__icon {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line-dark-2);
  background: rgb(245 245 242 / 5%);
  color: var(--on-dark-muted);
  transition:
    color var(--t-base),
    border-color var(--t-base),
    background var(--t-base);
}
.flow__icon svg {
  width: 18px;
  height: 18px;
}
.flow__step.is-active .flow__icon {
  color: var(--lime);
  border-color: rgb(183 255 60 / 38%);
  background: rgb(183 255 60 / 10%);
}
.flow__body {
  min-width: 0;
  flex: 1;
}
.flow__label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.flow__note {
  display: block;
  font-size: 0.78rem;
  color: var(--on-dark-faint);
  line-height: 1.45;
  margin-top: 3px;
}
.flow__state {
  font-family: SFMono-Regular, ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-pill);
  padding: 0.28rem 0.55rem;
  flex: none;
  transition:
    color var(--t-base),
    border-color var(--t-base),
    background var(--t-base);
}
.flow__step.is-active .flow__state {
  color: var(--ink-900);
  background: var(--lime);
  border-color: var(--lime);
}
.flow__step.is-done .flow__state {
  color: rgb(183 255 60 / 80%);
  border-color: rgb(183 255 60 / 30%);
}
@media (max-width: 420px) {
  .flow__note,
  .flow__state {
    display: none;
  }
}

.flow__foot {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.72rem;
  color: var(--on-dark-faint);
}
.flow__foot b {
  color: var(--lime);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   8. Trust Bar
   ============================================================ */
.trustbar {
  background: var(--ink-800);
  color: var(--on-dark);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding-block: clamp(2.25rem, 4vw, 3.25rem);
}
.trustbar__head {
  font-size: clamp(0.78rem, 0.9vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--on-dark);
  text-align: center;
}
.trustbar__list {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 0.5rem;
}
.trustbar__list li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  color: var(--on-dark-muted);
  background: rgb(245 245 242 / 2%);
  transition:
    border-color var(--t-base),
    color var(--t-base);
}
.trustbar__list li:hover {
  border-color: var(--line-dark-2);
  color: var(--on-dark);
}
.trustbar__list i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  flex: none;
  opacity: 0.35;
  animation: blip 4s var(--e-io) infinite;
}
@keyframes blip {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}

/* ============================================================
   9. Cards
   ============================================================ */
.card {
  position: relative;
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  background: var(--paper-pure);
  transition:
    transform var(--t-base),
    border-color var(--t-base),
    box-shadow var(--t-base);
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-light-2);
  box-shadow: var(--shadow-md);
}
.card__num {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--on-light-faint);
  margin-bottom: 1.75rem;
}
.card .h3 {
  margin-bottom: 0.65rem;
}
.card p {
  color: var(--on-light-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.card--dark {
  border-color: var(--line-dark);
  background: linear-gradient(180deg, rgb(245 245 242 / 4.5%), rgb(245 245 242 / 1.2%));
  color: var(--on-dark);
}
.card--dark:hover {
  border-color: rgb(183 255 60 / 32%);
  box-shadow:
    0 0 0 1px rgb(183 255 60 / 8%),
    0 24px 56px rgb(0 0 0 / 50%);
}
.card--dark p {
  color: var(--on-dark-muted);
}
.card--dark .card__num {
  color: var(--on-dark-faint);
}

.card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  border: 1px solid var(--line-light);
  background: var(--paper-alt);
  color: var(--on-light);
  margin-bottom: 1.5rem;
  transition:
    background var(--t-base),
    color var(--t-base),
    border-color var(--t-base);
}
.card__icon svg {
  width: 21px;
  height: 21px;
}
.card:hover .card__icon {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink-900);
}
.card--dark .card__icon {
  border-color: var(--line-dark-2);
  background: rgb(245 245 242 / 5%);
  color: var(--lime);
}
.card--dark:hover .card__icon {
  background: var(--lime);
  color: var(--ink-900);
}

.tag-list {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tag-list li {
  font-size: 0.76rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-light);
  color: var(--on-light-muted);
  background: var(--paper-alt);
}
.card--dark .tag-list li {
  border-color: var(--line-dark);
  color: var(--on-dark-muted);
  background: rgb(245 245 242 / 3%);
}

/* ============================================================
   10. Automation Pipeline (Herzstück)
   ============================================================ */
.pipeline {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2rem);
}
/* Die Prozesskette nutzt die volle Breite, die Statusleiste sitzt darunter. */

.pipe {
  position: relative;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgb(245 245 242 / 4%), rgb(245 245 242 / 1%));
  padding: clamp(1.5rem, 3vw, 2.75rem);
  overflow: hidden;
}
.pipe__track {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
}
@media (min-width: 1040px) {
  .pipe__track {
    display: flex;
    align-items: stretch;
  }
  .pipe__node {
    flex: 1 1 0;
    min-width: 0;
  }
  .pipe__seg {
    flex: 0 0 38px;
  }
}
.pipe__node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem 1rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  background: rgb(10 10 10 / 50%);
  text-align: left;
  transition:
    border-color var(--t-base),
    background var(--t-base),
    transform var(--t-base),
    box-shadow var(--t-base);
}
.pipe__node.is-active {
  border-color: rgb(183 255 60 / 45%);
  background: rgb(183 255 60 / 6%);
  box-shadow:
    0 0 0 1px rgb(183 255 60 / 10%),
    0 16px 40px rgb(0 0 0 / 40%);
  transform: translateY(-3px);
}
/* Connector: vertikal (mobil) */
.pipe__seg {
  display: grid;
  place-items: center;
  padding: 12px 0;
}
.pipe__seg svg {
  width: 14px;
  height: 26px;
  color: var(--on-dark-faint);
}
.pipe__seg-line {
  width: 1px;
  height: 26px;
  background: linear-gradient(to bottom, rgb(245 245 242 / 8%), rgb(245 245 242 / 28%));
  position: relative;
  overflow: visible;
}
.pipe__seg-line::after {
  content: "";
  position: absolute;
  left: -2.5px;
  top: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgb(183 255 60 / 80%);
  opacity: 0;
}
.pipe__seg.is-flowing .pipe__seg-line::after {
  animation: travel-y 900ms var(--e-io) forwards;
}
@keyframes travel-y {
  0% {
    opacity: 0;
    transform: translateY(-2px);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(24px);
  }
}
@media (min-width: 1040px) {
  .pipe__seg {
    padding: 0 10px;
  }
  .pipe__seg-line {
    width: 100%;
    height: 1px;
    min-width: 24px;
    background: linear-gradient(to right, rgb(245 245 242 / 8%), rgb(245 245 242 / 28%));
  }
  .pipe__seg-line::after {
    left: 0;
    top: -2.5px;
  }
  .pipe__seg.is-flowing .pipe__seg-line::after {
    animation: travel-x 900ms var(--e-io) forwards;
  }
}
@keyframes travel-x {
  0% {
    opacity: 0;
    transform: translateX(-4px);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

.pipe__node .pipe__ico {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line-dark-2);
  background: rgb(245 245 242 / 4%);
  color: var(--on-dark-muted);
  transition:
    color var(--t-base),
    background var(--t-base),
    border-color var(--t-base);
}
.pipe__ico svg {
  width: 19px;
  height: 19px;
}
.pipe__node.is-active .pipe__ico {
  color: var(--ink-900);
  background: var(--lime);
  border-color: var(--lime);
}
.pipe__name {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.pipe__desc {
  display: block;
  font-size: 0.82rem;
  color: var(--on-dark-faint);
  line-height: 1.5;
  margin-top: 0.3rem;
}
.pipe__meter {
  margin-top: auto;
  height: 3px;
  border-radius: 3px;
  background: rgb(245 245 242 / 9%);
  overflow: hidden;
}
.pipe__meter i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--lime);
  border-radius: inherit;
  transition: width 0.85s var(--e-io);
}
.pipe__node.is-active .pipe__meter i,
.pipe__node.is-done .pipe__meter i {
  width: 100%;
}
.pipe__node.is-done .pipe__meter i {
  background: rgb(183 255 60 / 40%);
}

/* Konsole */
.console {
  border: 1px solid var(--line-dark);
  border-radius: var(--r-xl);
  background: rgb(245 245 242 / 2.5%);
  padding: 1.35rem clamp(1.35rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
}
.console__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 0.9rem;
}
.console__title {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  font-weight: 600;
}
.console__log {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
@media (min-width: 1040px) {
  .console__log {
    flex-direction: row;
    gap: 1rem;
  }
  .console__log li {
    flex: 1 1 0;
    min-width: 0;
  }
}
.console__log li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: SFMono-Regular, ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.74rem;
  letter-spacing: -0.01em;
  color: var(--on-dark-faint);
  opacity: 0.55;
  transition:
    opacity var(--t-base),
    color var(--t-base);
}
.console__log li i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentcolor;
  flex: none;
}
.console__log li.is-on {
  opacity: 1;
  color: var(--lime);
}
.console__log li.is-past {
  opacity: 0.85;
  color: var(--on-dark-muted);
}
.console__foot {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.72rem;
  color: var(--on-dark-faint);
  line-height: 1.5;
}

/* ============================================================
   11. Before / After
   ============================================================ */
.ba {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  position: relative;
  border: 1px solid var(--line-light);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--paper-alt);
  --split: 50%;
  user-select: none;
  touch-action: pan-y;
}
.ba__panes {
  position: relative;
  min-height: 540px;
}
@media (min-width: 720px) {
  .ba__panes {
    min-height: 500px;
  }
}
.ba__pane {
  position: absolute;
  inset: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
}
.ba__pane--before {
  background: var(--paper-alt);
  color: var(--on-light);
}
.ba__pane--after {
  background: var(--ink-900);
  color: var(--on-dark);
  clip-path: inset(0 0 0 var(--split));
}
.ba__pane--after::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 80% at 80% 20%, rgb(183 255 60 / 12%), transparent 65%);
  pointer-events: none;
}
.ba__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-light-2);
  color: var(--on-light-muted);
}
.ba__pane--after .ba__label {
  border-color: rgb(183 255 60 / 40%);
  color: var(--lime);
  background: rgb(183 255 60 / 8%);
  align-self: flex-end;
}
.ba__pane--after .ba__inner {
  margin-left: auto;
  text-align: right;
  align-items: flex-end;
}
.ba__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.35rem;
  height: 100%;
  max-width: 46%;
}
@media (max-width: 720px) {
  .ba__inner {
    max-width: 62%;
  }
}
.ba__steps {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
  justify-content: center;
}
.ba__steps li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}
.ba__pane--after .ba__steps li {
  flex-direction: row-reverse;
}
.ba__steps li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--on-light-faint);
  flex: none;
}
.ba__pane--after .ba__steps li::before {
  background: var(--lime);
  border-radius: 50%;
}
.ba__steps li span {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-light-muted);
}
.ba__pane--after .ba__steps li span {
  color: var(--on-dark-muted);
}
.ba__sum {
  font-size: 0.8rem;
  color: var(--on-light-muted);
  line-height: 1.5;
}
.ba__pane--after .ba__sum {
  color: var(--on-dark-muted);
}

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--lime) 12%,
    var(--lime) 88%,
    transparent
  );
  transform: translateX(-1px);
  z-index: 5;
  pointer-events: none;
}
.ba__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink-900);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 28px rgb(0 0 0 / 35%);
  transition: transform var(--t-base);
}
.ba:hover .ba__grip {
  transform: translate(-50%, -50%) scale(1.06);
}
.ba__grip svg {
  width: 20px;
  height: 20px;
}

.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 6;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.ba__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 2px;
  height: 100%;
  background: transparent;
  cursor: ew-resize;
}
.ba__range::-moz-range-thumb {
  width: 2px;
  height: 480px;
  border: 0;
  background: transparent;
  cursor: ew-resize;
}
.ba__range:focus-visible {
  opacity: 1;
  outline-offset: -4px;
}

/* Unter 720px ist ein Vergleichsregler nicht lesbar: Vorher und Nachher
   werden gestapelt dargestellt, der Regler entfällt vollständig. */
@media (max-width: 719px) {
  .ba {
    --split: 0%;
    touch-action: auto;
    user-select: auto;
  }
  .ba__panes {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .ba__pane {
    position: static;
    clip-path: none !important;
  }
  .ba__pane--before {
    border-bottom: 1px solid var(--line-light-2);
  }
  .ba__inner {
    max-width: none;
    gap: 1.25rem;
  }
  .ba__pane--after .ba__inner {
    margin-left: 0;
    text-align: left;
    align-items: flex-start;
  }
  .ba__pane--after .ba__label {
    align-self: flex-start;
  }
  .ba__pane--after .ba__steps li {
    flex-direction: row;
  }
  .ba__steps {
    gap: 0.55rem;
    justify-content: flex-start;
  }
  .ba__steps li {
    white-space: normal;
    flex-wrap: wrap;
  }
  .ba__handle,
  .ba__range {
    display: none;
  }
  .ba__sum {
    margin-top: 0.5rem;
  }
}

.ba__caption {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin-top: 2rem;
}
.ba__caption p {
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.ba__caption p span {
  color: var(--on-light-faint);
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  margin-top: 0.35rem;
}

/* ============================================================
   12. KPI / Impact
   ============================================================ */
.kpi-grid {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}
.kpi {
  position: relative;
  padding: clamp(1.75rem, 2.6vw, 2.5rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgb(245 245 242 / 4%), rgb(245 245 242 / 1%));
  height: 100%;
  transition:
    border-color var(--t-base),
    transform var(--t-base);
}
.kpi:hover {
  border-color: rgb(183 255 60 / 30%);
  transform: translateY(-3px);
}
.kpi__badge {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--lime);
  border: 1px solid rgb(183 255 60 / 32%);
  background: rgb(183 255 60 / 7%);
  border-radius: var(--r-pill);
  padding: 0.28rem 0.65rem;
  margin-bottom: 1.5rem;
}
.kpi__value {
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.kpi__value small {
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-left: 0.15em;
}
.kpi__label {
  margin-top: 1rem;
  font-size: 0.98rem;
  font-weight: 600;
}
.kpi__note {
  margin-top: 0.5rem;
  font-size: 0.86rem;
  color: var(--on-dark-faint);
  line-height: 1.55;
}

.disclaimer {
  margin-top: 2rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--on-dark-faint);
  max-width: 78ch;
  border-left: 2px solid var(--line-dark-2);
  padding-left: 1rem;
}
.disclaimer--light {
  color: var(--on-light-faint);
  border-left-color: var(--line-light-2);
}

/* ============================================================
   13. Timeline / Vorgehen
   ============================================================ */
.timeline {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  position: relative;
}
.timeline__track {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 3vw, 2rem);
  position: relative;
}
@media (min-width: 940px) {
  .timeline__track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 2rem);
  }
  .timeline__track::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 27px;
    height: 1px;
    background: linear-gradient(to right, var(--line-light-2), var(--line-light-2));
  }
  .timeline__track::after {
    content: "";
    position: absolute;
    left: 0;
    top: 27px;
    height: 1px;
    width: var(--progress, 0%);
    background: var(--lime);
    transition: width 1.6s var(--e-io);
  }
}
.tstep {
  position: relative;
  padding-top: 0;
}
.tstep__dot {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light-2);
  background: var(--paper);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 2;
  transition:
    background var(--t-base),
    color var(--t-base),
    border-color var(--t-base),
    box-shadow var(--t-base);
}
.tstep:hover .tstep__dot,
.tstep.is-lit .tstep__dot {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink-900);
  box-shadow: 0 0 0 6px rgb(183 255 60 / 14%);
}
.tstep__title {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.tstep__text {
  margin-top: 0.55rem;
  font-size: 0.94rem;
  color: var(--on-light-muted);
  line-height: 1.6;
}
.tstep__items {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.tstep__items li {
  font-size: 0.84rem;
  color: var(--on-light-faint);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.tstep__items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 1px;
  background: var(--on-light-faint);
}
@media (max-width: 939px) {
  .timeline__track::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: var(--line-light-2);
  }
  .tstep {
    position: relative;
    padding-left: 4.25rem;
  }
  .tstep__dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 46px;
    height: 46px;
  }
  .tstep__title {
    margin-top: 0.25rem;
  }
}

/* ============================================================
   14. Automation Calculator
   ============================================================ */
.calc {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  border-radius: var(--r-xl);
  background: var(--ink-900);
  color: var(--on-dark);
  padding: clamp(1.5rem, 3.4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 940px) {
  .calc {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}
.calc::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -160px;
  top: -200px;
  background: radial-gradient(circle, rgb(183 255 60 / 14%), transparent 68%);
  pointer-events: none;
}
.calc__fields {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: relative;
  z-index: 2;
  min-width: 0;
}
.field__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.field__label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--on-dark);
}
.field__hint {
  display: block;
  font-size: 0.76rem;
  color: var(--on-dark-faint);
  margin-top: 0.15rem;
  font-weight: 400;
}
.field__val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
  flex: none;
}

input[type="range"].slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 22px;
  background: transparent;
  cursor: pointer;
  margin: 0;
}
input[type="range"].slider::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(
    to right,
    var(--lime) var(--fill, 0%),
    rgb(245 245 242 / 14%) var(--fill, 0%)
  );
}
input[type="range"].slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7.5px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--ink-900);
  box-shadow:
    0 0 0 1px rgb(245 245 242 / 40%),
    0 4px 12px rgb(0 0 0 / 50%);
  transition: transform var(--t-fast);
}
input[type="range"].slider:hover::-webkit-slider-thumb {
  transform: scale(1.12);
}
input[type="range"].slider::-moz-range-track {
  height: 3px;
  border-radius: 3px;
  background: rgb(245 245 242 / 14%);
}
input[type="range"].slider::-moz-range-progress {
  height: 3px;
  border-radius: 3px;
  background: var(--lime);
}
input[type="range"].slider::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--ink-900);
  box-shadow: 0 0 0 1px rgb(245 245 242 / 40%);
}

.calc__out {
  position: relative;
  z-index: 2;
  min-width: 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  background: rgb(245 245 242 / 3.5%);
  padding: clamp(1.5rem, 2.6vw, 2rem);
  display: flex;
  flex-direction: column;
}
.calc__out-label {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  font-weight: 600;
}
.calc__big {
  margin-top: 1rem;
  font-size: clamp(2.75rem, 5.4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.calc__big small {
  font-size: 0.3em;
  color: var(--on-dark-muted);
  font-weight: 500;
  letter-spacing: 0;
  display: block;
  margin-top: 0.6rem;
}
.calc__rows {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.calc__rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line-dark);
  font-size: 0.89rem;
  color: var(--on-dark-muted);
}
.calc__rows b {
  color: var(--on-dark);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.calc__cta {
  margin-top: 1.75rem;
}
.calc__note {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--on-dark-faint);
}

/* ============================================================
   15. Technologie
   ============================================================ */
.tech-cloud {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.tech-cloud li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--line-light);
  border-radius: var(--r-pill);
  background: var(--paper-pure);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--on-light);
  transition:
    transform var(--t-base),
    border-color var(--t-base),
    box-shadow var(--t-base);
}
.tech-cloud li:hover {
  transform: translateY(-3px);
  border-color: var(--line-light-2);
  box-shadow: var(--shadow-sm);
}
.tech-cloud li i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime-dim);
  flex: none;
}
.tech-cloud li[data-group="ai"] i {
  background: var(--violet);
}
.tech-cloud li[data-group="infra"] i {
  background: var(--on-light-faint);
}

.tech-legend {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.8rem;
  color: var(--on-light-faint);
}
.tech-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.tech-legend i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
}

/* ============================================================
   16. Use Cases
   ============================================================ */
.usecases {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}
.uc {
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgb(245 245 242 / 4%), rgb(245 245 242 / 1.2%));
  overflow: hidden;
  transition:
    border-color var(--t-base),
    transform var(--t-base),
    box-shadow var(--t-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.uc:hover,
.uc.is-open {
  border-color: rgb(183 255 60 / 34%);
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgb(0 0 0 / 45%);
}
.uc__toggle {
  all: unset;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  box-sizing: border-box;
}
.uc__toggle:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: -4px;
}
.uc__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.uc__kicker {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  font-weight: 600;
}
.uc__plus {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-dark-2);
  display: grid;
  place-items: center;
  color: var(--on-dark-muted);
  flex: none;
  transition:
    transform var(--t-base),
    background var(--t-base),
    color var(--t-base),
    border-color var(--t-base);
}
.uc__plus svg {
  width: 14px;
  height: 14px;
}
.uc.is-open .uc__plus {
  transform: rotate(45deg);
  background: var(--lime);
  color: var(--ink-900);
  border-color: var(--lime);
}
.uc__title {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.15;
}
.uc__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.uc__flow b {
  font-weight: 500;
  font-size: 0.76rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-dark);
  background: rgb(245 245 242 / 3%);
  color: var(--on-dark-muted);
  transition:
    border-color var(--t-base),
    color var(--t-base);
}
.uc:hover .uc__flow b:first-child {
  border-color: rgb(183 255 60 / 40%);
  color: var(--lime);
}
.uc__flow em {
  font-style: normal;
  color: var(--on-dark-faint);
  font-size: 0.8rem;
}

.uc__detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--e-out);
}
.uc.is-open .uc__detail {
  grid-template-rows: 1fr;
}
.uc__detail > div {
  overflow: hidden;
}
.uc__detail-in {
  padding: 0 clamp(1.5rem, 2.4vw, 2rem) clamp(1.5rem, 2.4vw, 2rem);
  border-top: 1px solid var(--line-dark);
  margin-top: 0.25rem;
  padding-top: 1.35rem;
}
.uc__detail p {
  font-size: 0.92rem;
  color: var(--on-dark-muted);
  line-height: 1.65;
}
.uc__facts {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.uc__facts li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--on-dark-muted);
  line-height: 1.5;
}
.uc__facts li svg {
  width: 15px;
  height: 15px;
  color: var(--lime);
  flex: none;
  margin-top: 0.25em;
}

/* ============================================================
   17. Prinzipien / Why
   ============================================================ */
.principles {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line-dark);
}
.principle {
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  transition: background var(--t-base);
}
@media (min-width: 860px) {
  .principle {
    grid-template-columns: 56px minmax(0, 260px) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
}
.principle:hover {
  background: rgb(245 245 242 / 2%);
}
.principle__ix {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--on-dark-faint);
  letter-spacing: 0.1em;
  padding-top: 0.3rem;
}
.principle__title {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.principle__text {
  color: var(--on-dark-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 60ch;
}

/* ============================================================
   18. Netzwerk-Visual
   ============================================================ */
.network {
  position: relative;
  background: var(--ink-900);
  color: var(--on-dark);
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 8rem);
}
.network__canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%);
}
#network-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.network__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.network__core {
  margin: clamp(2.5rem, 6vw, 5rem) auto 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 2.25rem;
  border: 1px solid rgb(183 255 60 / 30%);
  border-radius: var(--r-lg);
  background: rgb(10 10 10 / 72%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow:
    0 0 0 1px rgb(183 255 60 / 6%),
    0 30px 70px rgb(0 0 0 / 60%);
}
.network__core b {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.network__core span {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 600;
}
.network__nodes {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.network__nodes li {
  font-family: SFMono-Regular, ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  color: var(--on-dark-faint);
  background: rgb(10 10 10 / 50%);
  transition:
    color var(--t-base),
    border-color var(--t-base);
}
.network__nodes li:hover {
  color: var(--lime);
  border-color: rgb(183 255 60 / 35%);
}

/* ============================================================
   19. Partnerschaft (statt Fake-Testimonials)
   ============================================================ */
.partner-grid {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}
.partner-card {
  border: 1px dashed var(--line-dark-2);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 2.6vw, 2.25rem);
  background: rgb(245 245 242 / 2%);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.partner-card__mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-dark-2);
  display: grid;
  place-items: center;
  color: var(--on-dark-faint);
}
.partner-card__mark svg {
  width: 18px;
  height: 18px;
}
.partner-card p {
  color: var(--on-dark-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.partner-card cite {
  margin-top: auto;
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}

/* ============================================================
   20. About
   ============================================================ */
.about__portrait {
  border: 1px solid var(--line-light);
  border-radius: var(--r-xl);
  background: var(--paper-pure);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.about__portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(10 10 10 / 7%) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 62%);
  mask-image: linear-gradient(200deg, #000, transparent 62%);
  pointer-events: none;
}
.about__id {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.about__avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--ink-900);
  color: var(--lime);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.about__id b {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.about__id > span > span {
  display: block;
  font-size: 0.84rem;
  color: var(--on-light-muted);
  margin-top: 0.15rem;
}
.about__facts {
  position: relative;
  margin-top: 2rem;
  border-top: 1px solid var(--line-light);
}
.about__facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.9rem;
}
.about__facts dt,
.about__facts .k {
  color: var(--on-light-faint);
}
.about__facts b {
  font-weight: 600;
  text-align: right;
}

/* ============================================================
   21. CTA
   ============================================================ */
.cta {
  position: relative;
  background: var(--ink-900);
  color: var(--on-dark);
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.cta__glow {
  width: 720px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgb(183 255 60 / 14%), transparent 62%);
}
.cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta .h1 {
  margin-top: 1.75rem;
  max-width: 20ch;
}
.cta .lead {
  margin-top: 1.75rem;
  text-align: center;
}
.cta__actions {
  margin-top: 2.75rem;
}
.cta__phone {
  margin-top: 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--on-dark-muted);
  transition: color var(--t-base);
}
.cta__phone:hover {
  color: var(--lime);
}
.cta__phone svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   22. Kontakt / Form
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}
@media (min-width: 940px) {
  .contact {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}

.contact__aside {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact__block {
  border-top: 1px solid var(--line-light);
  padding-top: 1.25rem;
}
.contact__block dt {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-light-faint);
  font-weight: 600;
}
.contact__block dd {
  margin: 0.6rem 0 0;
  font-size: 1.05rem;
  font-weight: 500;
}
.contact__block dd small {
  display: block;
  font-size: 0.82rem;
  color: var(--on-light-faint);
  font-weight: 400;
  margin-top: 0.35rem;
  line-height: 1.5;
}
.contact__block a:hover {
  color: var(--lime-dim);
}

.form {
  border: 1px solid var(--line-light);
  border-radius: var(--r-xl);
  background: var(--paper-pure);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .form__grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form__field label {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.form__field label span {
  color: var(--on-light-faint);
  font-weight: 400;
}
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-light-2);
  border-radius: var(--r-md);
  background: var(--paper);
  font-size: 0.95rem;
  transition:
    border-color var(--t-base),
    box-shadow var(--t-base),
    background var(--t-base);
  -webkit-appearance: none;
  appearance: none;
}
.form__field textarea {
  resize: vertical;
  min-height: 118px;
  line-height: 1.6;
}
.form__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--ink-900);
  background: #fff;
  box-shadow: 0 0 0 3px rgb(183 255 60 / 28%);
}
.form__field input[aria-invalid="true"],
.form__field textarea[aria-invalid="true"],
.form__field select[aria-invalid="true"] {
  border-color: #c0392b;
}
.form__err {
  font-size: 0.78rem;
  color: #c0392b;
  min-height: 0;
}
.form__err:empty {
  display: none;
}

.form__consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--on-light-muted);
  line-height: 1.55;
}
.form__consent input {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 0.18rem;
  accent-color: var(--ink-900);
}
.form__consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form__foot {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}
.form__hint {
  font-size: 0.78rem;
  color: var(--on-light-faint);
  max-width: 42ch;
  line-height: 1.5;
}

.form__status {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  border: 1px solid rgb(183 255 60 / 50%);
  background: rgb(183 255 60 / 14%);
  font-size: 0.9rem;
  line-height: 1.55;
  display: none;
}
.form__status.is-visible {
  display: block;
}
.form__status.is-error {
  border-color: rgb(192 57 43 / 40%);
  background: rgb(192 57 43 / 8%);
}

/* ============================================================
   23. Footer
   ============================================================ */
.site-footer {
  background: var(--ink-900);
  color: var(--on-dark);
  padding-block: clamp(3.5rem, 6vw, 5.5rem) clamp(2rem, 3vw, 2.75rem);
  border-top: 1px solid var(--line-dark);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
}
@media (min-width: 860px) {
  .footer__top {
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr));
  }
}
.footer__claim {
  margin-top: 1.5rem;
  color: var(--on-dark-muted);
  font-size: 0.95rem;
  max-width: 38ch;
  line-height: 1.65;
}
.footer__col h3 {
  margin: 0 0 1.25rem;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  font-weight: 600;
}
.footer__col li + li {
  margin-top: 0.7rem;
}
.footer__col a {
  font-size: 0.92rem;
  color: var(--on-dark-muted);
  transition:
    color var(--t-base),
    padding-left var(--t-base);
}
.footer__col a:hover {
  color: var(--lime);
  padding-left: 4px;
}
.footer__bottom {
  margin-top: clamp(3rem, 5vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--on-dark-faint);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer__legal a:hover {
  color: var(--on-dark);
}

/* ============================================================
   24. Scroll-Reveal & Motion
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--e-out),
    transform 0.7s var(--e-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal--still {
  transform: none;
}

/* Above-the-fold: rein per CSS, damit Inhalte nie von JS abhängen. */
@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.reveal--auto {
  animation: reveal-in 0.7s var(--e-out) both;
  animation-delay: var(--d, 0ms);
}

.parallax {
  transition: transform 0.1s linear;
  will-change: transform;
}

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

/* ============================================================
   25. Rechtliche Unterseiten
   ============================================================ */
.legal {
  padding-top: clamp(8rem, 13vw, 11rem);
  padding-bottom: var(--section-y);
}
.legal h1 {
  margin-bottom: 2.5rem;
}
.legal h2 {
  margin: 3rem 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.legal p,
.legal li {
  color: var(--on-light-muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 72ch;
}
.legal p + p {
  margin-top: 1rem;
}
.legal ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.legal ul li {
  padding-left: 1.15rem;
  position: relative;
}
.legal ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 1px;
  background: var(--on-light-faint);
}
.legal .note {
  margin-top: 2rem;
  padding: 1.15rem 1.35rem;
  border-left: 2px solid var(--lime-dim);
  background: var(--paper-alt);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 0.92rem;
  color: var(--on-light-muted);
}
.legal-back {
  margin-top: 3.5rem;
}
