@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;700&family=Inter:wght@400;500;600;700;900&display=swap");

:root {
  --paper: #e4e4e4;
  --black: #0a0a0a;
  --ink: #1a1a1a;
  --gray: #3a3a3a;
  --line: #c1c1c1;
  --muted: #888888;
  --red: #d0021b;
  --red-dark: #a60216;
  --white: #ffffff;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --sans: Inter, Arial, Helvetica, sans-serif;
  --wrap: min(1312px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--black);
  font-family: var(--sans);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.reveal-item {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance, 42px), 0);
  transition:
    opacity 1200ms cubic-bezier(0.19, 1, 0.22, 1),
    transform 1200ms cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.site-header {
  --header-bg-opacity: 0.46;
  --header-darkness: 0;
  --header-shadow-opacity: 0;
  position: fixed;
  z-index: 20;
  top: 20px;
  left: 50%;
  display: flex;
  justify-content: space-between;
  width: var(--wrap);
  height: 56px;
  transform: translateX(-50%);
  border: 0;
  background: rgba(255, 255, 255, var(--header-bg-opacity));
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  box-shadow: 0 18px 62px rgba(10, 10, 10, var(--header-shadow-opacity));
  isolation: isolate;
  transition:
    background 420ms ease,
    box-shadow 420ms ease,
    backdrop-filter 420ms ease;
}

.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(10, 10, 10, var(--header-darkness));
  content: "";
  pointer-events: none;
  transition: background 420ms ease;
}

.site-header.is-scrolled {
  backdrop-filter: blur(26px) saturate(155%);
  -webkit-backdrop-filter: blur(26px) saturate(155%);
}

.brand {
  display: flex;
  align-items: center;
  width: 250px;
  padding: 0 24px;
  border-right: 0;
}

.brand img {
  width: 202px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  margin-left: auto;
}

.nav-links a,
.lang-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 0 clamp(12px, 1.5vw, 22px);
  white-space: nowrap;
  border: 0;
  background: transparent;
  color: var(--black);
  font-family: var(--mono);
  font-size: 14px;
  cursor: pointer;
  transition:
    background 300ms ease,
    color 300ms ease;
}

.nav-links a {
  transition:
    background 300ms ease,
    color 300ms ease;
}

.nav-links a:first-child {
  border-left: 0;
}

.nav-links a::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--black);
  content: "";
  opacity: 0;
  transition: opacity 300ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--black);
  color: var(--white);
}

.nav-links a:hover::before,
.nav-links a:focus-visible::before {
  opacity: 1;
}

.nav-links a:hover span,
.nav-links a:focus-visible span {
  color: var(--white);
}

.nav-links span {
  color: var(--gray);
}

.current-language {
  color: var(--black);
}

.language-switcher {
  position: relative;
  height: 100%;
}

.lang-arrow-icon {
  width: 16px;
  height: 24px;
  object-fit: contain;
  transition: transform 300ms ease;
}

.language-switcher.is-open .lang-arrow-icon {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  min-width: 144px;
  border: 1px solid rgba(10, 10, 10, 0.18);
  background: #ffffff;
  backdrop-filter: blur(16px);
}

.language-switcher.is-open .language-menu {
  display: grid;
}

.language-menu button {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-top: 1px solid rgba(10, 10, 10, 0.12);
  background: transparent;
  color: var(--black);
  font-family: var(--mono);
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  transition:
    background 300ms ease,
    color 300ms ease;
}

.language-menu button:hover,
.language-menu button:focus-visible {
  background: var(--black);
  color: var(--white);
}

.language-menu button:first-child {
  border-top: 0;
}

.language-menu button::after {
  content: none;
}

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--black);
  transition:
    transform 300ms ease,
    opacity 300ms ease;
}

.menu-button span:nth-child(1) {
  transform: translateY(-7px);
}

.menu-button span:nth-child(3) {
  transform: translateY(7px);
}

.site-header.is-menu-open .menu-button span:nth-child(1) {
  transform: rotate(45deg);
}

.site-header.is-menu-open .menu-button span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-button span:nth-child(3) {
  transform: rotate(-45deg);
}

.hero {
  --hero-size: clamp(104px, 11.65vw, 160px);
  --hero-side: clamp(24px, 4.88vw, 64px);
  --hero-digital-width: min(calc(var(--hero-size) * 3.19375), 100%);
  --hero-stroke: calc(var(--hero-size) / 80);
  position: relative;
  display: grid;
  place-items: center;
  width: var(--wrap);
  min-height: clamp(560px, 52.44vw, 688px);
  margin: 112px auto 0;
  text-align: center;
}

.scan-frame::before,
.scan-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.scan-frame::before {
  background:
    linear-gradient(var(--red), var(--red)) left top / 40px 1px no-repeat,
    linear-gradient(var(--red), var(--red)) left top / 1px 40px no-repeat,
    linear-gradient(var(--red), var(--red)) right top / 40px 1px no-repeat,
    linear-gradient(var(--red), var(--red)) right top / 1px 40px no-repeat,
    linear-gradient(var(--red), var(--red)) left bottom / 40px 1px no-repeat,
    linear-gradient(var(--red), var(--red)) left bottom / 1px 40px no-repeat,
    linear-gradient(var(--red), var(--red)) right bottom / 40px 1px no-repeat,
    linear-gradient(var(--red), var(--red)) right bottom / 1px 40px no-repeat;
}

.scan-frame::after {
  background: linear-gradient(var(--red), var(--red)) 50% 0 / 1px 32px no-repeat;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 34px);
  padding: clamp(24px, 4vw, 56px) var(--hero-side);
  text-align: center;
}

.hero-copy::before {
  position: absolute;
  inset: 8%;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0.03;
  background:
    linear-gradient(var(--black), var(--black)) 50% 50% / 1px 100% no-repeat,
    linear-gradient(90deg, var(--black), var(--black)) 50% 50% / 100% 1px no-repeat,
    repeating-linear-gradient(0deg, transparent 0 31px, var(--black) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, var(--black) 31px 32px);
  transform: translate3d(0, -8px, 0);
  animation: hero-grid-bounce 12s ease-in-out infinite;
}

@keyframes hero-grid-bounce {
  0%,
  100% {
    transform: translate3d(0, -8px, 0);
  }

  50% {
    transform: translate3d(0, 10px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy::before {
    animation: none;
    transform: none;
  }
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 20ch;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(38px, 5.6vw, 78px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--black);
}

.hero h1 span {
  display: block;
}

.hero h1 .hero-accent {
  color: transparent;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}

.hero p,
.section-title p,
.statement p,
.cta p {
  font-family: var(--mono);
}

.hero p {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin: 0;
  color: var(--gray);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
}

.scroll-cue {
  position: absolute;
  bottom: 72px;
  left: 50%;
  width: 32px;
  height: 35px;
  transform: translateX(-50%);
}

.scroll-cue-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: scroll-cue-bounce 2.8s ease-in-out infinite;
  will-change: transform;
}

@keyframes scroll-cue-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  45% {
    transform: translateY(8px);
  }

  70% {
    transform: translateY(2px);
  }
}

.signal-row {
  display: flex;
  justify-content: center;
  gap: clamp(32px, 8vw, 128px);
  width: min(var(--wrap), 1060px);
  margin: 38px auto 63px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 17px;
  text-transform: uppercase;
}

.signal-row span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-block: 10px;
  cursor: default;
  transition:
    color 520ms cubic-bezier(0.2, 1, 0.22, 1),
    transform 520ms cubic-bezier(0.2, 1, 0.22, 1);
}

.signal-row span::before,
.signal-row span::after {
  position: absolute;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  content: "";
  transform: translate(-50%, 0) scale(0.45);
  transition:
    opacity 520ms cubic-bezier(0.2, 1, 0.22, 1),
    transform 520ms cubic-bezier(0.2, 1, 0.22, 1);
}

.signal-row span::before {
  top: 0;
}

.signal-row span::after {
  bottom: 0;
}

.signal-row span:hover,
.signal-row span:focus-visible {
  color: var(--red-dark);
  transform: translateY(-2px);
}

.signal-row span:hover::before,
.signal-row span:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, -4px) scale(1);
}

.signal-row span:hover::after,
.signal-row span:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 4px) scale(1);
}

.dark {
  background: var(--ink);
  color: var(--white);
}

.product {
  padding: 64px 0 80px;
}

#weighing {
  background:
    linear-gradient(rgba(18, 18, 21, 0.94), rgba(18, 18, 21, 0.98)),
    repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(255, 255, 255, 0.04) 31px, rgba(255, 255, 255, 0.04) 32px),
    repeating-linear-gradient(90deg, transparent, transparent 31px, rgba(255, 255, 255, 0.04) 31px, rgba(255, 255, 255, 0.04) 32px);
}

.section-title {
  width: var(--wrap);
  margin: 0 auto;
  text-align: center;
}

.section-title.align-left {
  text-align: left;
}

.section-title h2 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.2;
}

.align-left h2 {
  margin-left: 0;
}

.section-title p {
  width: min(100%, 850px);
  margin: 0;
  color: var(--gray);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.35;
}

.section-intro {
  display: grid;
  grid-template-columns: 81px minmax(0, 850px);
  align-items: start;
  gap: 36px;
  margin-top: 34px;
}

/* Das zweispaltige Raster oben setzt eine Eck-Illustration als erstes Kind
   voraus, die die 81px-Spalte fuellt. Der About-Intro hat keine — ohne diese
   Korrektur landet sein Absatz in der schmalen Spalte und bricht nach jedem
   Wort um. */
.about .section-intro {
  grid-template-columns: minmax(0, 850px);
}

.section-intro p {
  font-family: var(--mono);
  font-weight: 400;
}

#weighing .section-intro p {
  font-size: clamp(18px, 1.75vw, 24px);
  line-height: 1.35;
}

.corner-illustration {
  width: 81px;
  height: 37px;
  margin-top: 8px;
  object-fit: contain;
}

.dark .section-title p {
  color: var(--muted);
}

.software-stage {
  height: auto;
  background: var(--black);
}

.software-viewport {
  position: relative;
  display: grid;
  gap: 24px;
  height: auto;
  min-height: 0;
  padding: 36px 0 44px;
  overflow: hidden;
  background:
    linear-gradient(rgba(18, 18, 21, 0.94), rgba(18, 18, 21, 0.98)),
    repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(255, 255, 255, 0.04) 31px, rgba(255, 255, 255, 0.04) 32px),
    repeating-linear-gradient(90deg, transparent, transparent 31px, rgba(255, 255, 255, 0.04) 31px, rgba(255, 255, 255, 0.04) 32px);
}

.software-label {
  position: absolute;
  z-index: 2;
  top: 96px;
  left: 50%;
  width: min(640px, calc(100vw - 48px));
  transform: translateX(-50%);
  text-align: center;
}

.software-label span {
  display: block;
  color: var(--red);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.software-label h2 {
  margin: 8px 0 10px;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1;
}

.software-label p {
  margin: 0 auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.45;
}

.software-scene {
  position: relative;
  top: auto;
  left: auto;
  width: min(1120px, calc(100vw - 72px));
  aspect-ratio: 12 / 7;
  margin: 0 auto;
  transform: none;
  filter: brightness(1);
  transition:
    transform 680ms cubic-bezier(0.2, 1, 0.22, 1),
    filter 680ms cubic-bezier(0.2, 1, 0.22, 1);
}

.software-scene:hover {
  transform: translate3d(0, -6px, 0) scale(1.012);
  filter: brightness(1.07) contrast(1.04);
}

.software-scene::before {
  position: absolute;
  inset: 16% 18%;
  border: 1px solid rgba(231, 0, 11, 0.16);
  opacity: 0.65;
  pointer-events: none;
  content: "";
  transform: translate3d(0, 0, 0);
  animation: process-signal-pulse 4.8s ease-in-out infinite;
}

.process-ticker {
  position: absolute;
  left: 50%;
  z-index: 3;
  width: min(620px, 72%);
  overflow: hidden;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(26, 26, 30, 0.72);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  mix-blend-mode: screen;
}

.process-ticker--top {
  top: 5%;
}

.process-ticker--bottom {
  bottom: 6%;
}

.process-ticker-track {
  display: inline-flex;
  min-width: max-content;
  animation: process-ticker-left 18s linear infinite;
}

.process-ticker--bottom .process-ticker-track {
  animation-duration: 22s;
}

.process-ticker span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 18px;
  white-space: nowrap;
}

.process-ticker span::after {
  width: 4px;
  height: 4px;
  margin-left: 18px;
  background: var(--red);
  content: "";
}

@keyframes process-ticker-left {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes process-signal-pulse {
  0%,
  100% {
    opacity: 0.16;
    transform: scale(0.98);
  }

  50% {
    opacity: 0.46;
    transform: scale(1.02);
  }
}

@keyframes consulting-gear-spin {
  from {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.025);
  }

  to {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes statement-count-drift {
  from {
    transform: translate3d(0, -16%, 0);
  }

  to {
    transform: translate3d(0, 16%, 0);
  }
}

@keyframes statement-scale-pulse {
  0%,
  100% {
    opacity: 0.025;
    transform: translate3d(0, 0, 0) scaleY(0.96);
  }

  50% {
    opacity: 0.04;
    transform: translate3d(0, -8px, 0) scaleY(1.02);
  }
}

.software-scene svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.software-node {
  opacity: var(--node-opacity, 0);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

.sw-line,
.sw-fill,
.sw-monitor {
  fill: none;
  stroke: var(--white);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sw-fill {
  fill: rgba(255, 255, 255, 0.035);
}

.sw-soft {
  fill: rgba(255, 255, 255, 0.01);
}

.sw-dim {
  fill: none;
  stroke: var(--muted);
  stroke-width: 0.75;
  stroke-dasharray: 4 3;
}

.sw-dim-fill {
  fill: rgba(255, 255, 255, 0.18);
}

.sw-red-line {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.2;
}

.sw-cable {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.6;
  stroke-dasharray: 520;
  stroke-dashoffset: calc(520 * (1 - var(--cable-progress, 0)));
}

.sw-caption,
.sw-chip-text,
.sw-brand-text,
.sw-table {
  fill: var(--muted);
  font-family: var(--mono);
}

.sw-caption {
  font-size: 8px;
  letter-spacing: 1px;
}

.sw-chip {
  fill: rgba(255, 255, 255, 0.08);
  stroke: var(--muted);
  stroke-width: 0.6;
}

.sw-chip-text {
  fill: var(--white);
  font-size: 7px;
  font-weight: 700;
}

.sw-monitor {
  stroke-width: 2;
}

.sw-screen,
.sw-panel {
  fill: rgba(10, 10, 10, 0.66);
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 0.8;
}

.sw-titlebar {
  fill: rgba(255, 255, 255, 0.1);
}

.sw-brand-text {
  fill: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

.sw-weight {
  fill: var(--red);
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
}

.sw-red-text {
  fill: var(--red);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
}

.sw-adapter {
  fill: rgba(10, 10, 10, 0.7);
  stroke: var(--red);
  stroke-width: 0.8;
}

.sw-ok {
  fill: #4caf50;
}

.sw-bar {
  fill: var(--red);
  opacity: 0.82;
  transform-box: fill-box;
  transform-origin: bottom;
  transform: scaleY(var(--bars-progress, 0));
}

.sw-table {
  fill: var(--white);
  font-size: 7px;
}

.software-feature-grid {
  position: relative;
  top: auto;
  left: auto;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: min(1240px, calc(100vw - 64px));
  margin: 0 auto;
  transform: none;
}

.software-feature-grid .feature-card {
  min-height: 236px;
  padding: 28px 24px;
  background: rgba(26, 26, 30, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: none;
}

.software-feature-grid .feature-card:hover,
.software-feature-grid .feature-card:focus-within {
  border-color: rgba(255, 255, 255, 0.1);
}

.software-feature-grid .count {
  margin-bottom: 16px;
  font-size: 14px;
}

.software-feature-grid .tag {
  margin-bottom: 18px;
  padding: 4px 10px;
  font-size: 14px;
}

.software-feature-grid .feature-card h3 {
  margin-bottom: 16px;
  font-size: 24px;
}

.software-feature-grid .feature-card p {
  font-size: 15px;
  line-height: 1.42;
}

.software-feature-grid--after {
  top: auto;
  bottom: auto;
}

.statement {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 0;
  place-items: center;
  padding: 96px 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  background: #d8dadd;
}

.statement::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(10, 10, 10, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}

.statement::after {
  content: none;
}

.statement p {
  position: relative;
  z-index: 1;
  width: var(--wrap);
  margin: 0;
  color: var(--black);
  font-size: clamp(18px, 1.75vw, 25px);
  font-weight: 400;
  line-height: 1.45;
}

.statement strong {
  color: var(--red);
  font-weight: 400;
}

.capabilities {
  padding: 0 0 84px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 400px));
  gap: 56px 20px;
  width: var(--wrap);
  margin: 0 auto;
  padding-top: 40px;
}

.feature-card,
.consult-card {
  border: 1px solid var(--muted);
  background: rgba(26, 26, 30, 0.82);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition:
    transform 580ms cubic-bezier(0.2, 1, 0.22, 1),
    box-shadow 580ms cubic-bezier(0.2, 1, 0.22, 1),
    filter 580ms cubic-bezier(0.2, 1, 0.22, 1),
    border-color 580ms cubic-bezier(0.2, 1, 0.22, 1),
    background 580ms cubic-bezier(0.2, 1, 0.22, 1);
  will-change: transform, filter;
}

.feature-card {
  min-height: 284px;
  padding: 20px;
  backdrop-filter: blur(2px);
}

.feature-card:hover,
.feature-card:focus-within,
.consult-card:hover,
.consult-card:focus-within {
  transform: translate3d(0, -5px, 0) scale(1.018);
  border-color: rgba(255, 255, 255, 0.84);
  background: rgba(32, 32, 38, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  filter: brightness(1.06) contrast(1.03);
}

.count,
.consult-card > span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--white);
  font-family: var(--mono);
  font-size: 14px;
}

.tag {
  display: table;
  margin-bottom: 18px;
  padding: 4px 10px;
  border: 1px solid var(--red);
  color: var(--red);
  font-family: var(--mono);
  font-size: 14px;
}

.feature-card h3,
.consult-card h3 {
  margin: 0 0 16px;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 24px;
  line-height: 1.18;
}

.feature-card p,
.consult-card p,
.accordion-panel,
.footer {
  font-family: var(--mono);
}

.feature-card p,
.consult-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.automation {
  padding: 64px 0 56px;
}

.automation .section-title p {
  width: min(100%, 1312px);
  margin-top: 44px;
  font-size: clamp(18px, 1.75vw, 24px);
  line-height: 1.35;
}

.accordion {
  width: var(--wrap);
  margin: 60px auto 0;
  border-bottom: 1px solid var(--line);
}

.accordion-item {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  transition:
    background 540ms cubic-bezier(0.2, 1, 0.22, 1),
    box-shadow 540ms cubic-bezier(0.2, 1, 0.22, 1),
    transform 540ms cubic-bezier(0.2, 1, 0.22, 1);
}

.accordion-item:hover,
.accordion-item:focus-within {
  transform: translate3d(0, -3px, 0) scale(1.006);
  background: transparent;
  box-shadow: none;
}

.accordion-item button {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 72px 1fr 40px;
  align-items: center;
  width: 100%;
  min-height: 130px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--black);
  text-align: left;
  cursor: pointer;
  transition:
    filter 540ms cubic-bezier(0.2, 1, 0.22, 1),
    transform 540ms cubic-bezier(0.2, 1, 0.22, 1);
}

.accordion-item button:hover,
.accordion-item button:focus-visible {
  filter: brightness(1.06) contrast(1.02);
}

.accordion-item strong {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
}

.num {
  font-family: var(--mono);
  font-size: 32px;
}

.num span {
  color: var(--red);
}

.toggle {
  position: relative;
  justify-self: end;
  width: 32px;
  height: 32px;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.toggle::before,
.toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--black);
  content: "";
  transition:
    opacity 280ms ease,
    transform 280ms ease;
}

.toggle::before {
  width: 24px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.toggle::after {
  width: 1px;
  height: 24px;
  transform: translate(-50%, -50%);
}

.accordion-item.is-open .toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.accordion-panel {
  position: relative;
  z-index: 1;
  display: none;
  max-width: 720px;
  margin: -38px 0 34px 72px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.5;
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

.accordion-panel ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding-left: 18px;
}

.consulting {
  position: relative;
  overflow: hidden;
  padding: 75px 0 88px;
  background: var(--black);
}

.consulting::before,
.consulting::after {
  position: absolute;
  z-index: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  opacity: 0.038;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at center, transparent 0 7%, var(--white) 7.4% 8.4%, transparent 8.8% 17%, var(--white) 17.4% 18.4%, transparent 18.8% 30%, var(--white) 30.4% 31.5%, transparent 32% 44%, var(--white) 44.4% 45.5%, transparent 46% 58%, var(--white) 58.4% 59.5%, transparent 60%),
    repeating-conic-gradient(from 0deg, transparent 0deg 5.4deg, var(--white) 5.4deg 6.6deg, transparent 6.6deg 11deg),
    repeating-conic-gradient(from 3deg, transparent 0deg 14deg, var(--white) 14deg 15.2deg, transparent 15.2deg 30deg),
    repeating-conic-gradient(from 7deg, transparent 0deg 24deg, var(--white) 24deg 25deg, transparent 25deg 45deg);
  filter: blur(0.2px);
  animation: consulting-gear-spin 28s linear infinite;
  mask-image: radial-gradient(circle at center, transparent 0 6.5%, #000 7.2% 71%, transparent 72%);
}

.consulting::before {
  top: 40px;
  right: max(-28px, calc((100vw - 1312px) / 2 - 34px));
}

.consulting::after {
  bottom: 36px;
  left: max(-22px, calc((100vw - 1312px) / 2 - 112px));
  width: 330px;
  height: 330px;
  opacity: 0.032;
  animation-direction: reverse;
  animation-duration: 34s;
}

.consulting > * {
  position: relative;
  z-index: 1;
}

.consulting .section-title p {
  width: min(100%, 560px);
  font-weight: 400;
  font-size: clamp(18px, 1.75vw, 24px);
  line-height: 1.35;
}

.consulting .section-intro {
  grid-template-columns: 81px minmax(0, 560px);
  margin-left: 0;
}

.consulting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: var(--wrap);
  margin: 75px auto 0;
}

.consult-card {
  border: 0;
  min-height: 391px;
  padding: 34px 32px;
}

.consult-card:hover,
.consult-card:focus-within {
  border-color: transparent;
}

.consult-card .quote {
  margin-bottom: 14px;
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
}

.cta {
  position: relative;
  overflow: hidden;
  min-height: 464px;
  padding: 72px max(24px, calc((100vw - 1312px) / 2)) 48px;
}

.cta::before,
.cta::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: clamp(72px, 11vw, 176px);
  pointer-events: none;
  content: "";
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.cta::before {
  left: 0;
  background: linear-gradient(
    90deg,
    var(--paper) 0%,
    rgba(228, 228, 228, 0.9) 38%,
    rgba(228, 228, 228, 0.42) 72%,
    rgba(228, 228, 228, 0) 100%
  );
}

.cta::after {
  right: 0;
  background: linear-gradient(
    270deg,
    var(--paper) 0%,
    rgba(228, 228, 228, 0.9) 38%,
    rgba(228, 228, 228, 0.42) 72%,
    rgba(228, 228, 228, 0) 100%
  );
}

.cta h2 {
  position: relative;
  z-index: 1;
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  color: var(--gray);
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.ticker-title {
  overflow: hidden;
}

.ticker-track {
  display: inline-flex;
  gap: 0.28em;
  min-width: max-content;
  animation: ticker-left 24s linear infinite;
}

.ticker-track span {
  display: block;
  padding-block: 0.04em;
  padding-right: 0.28em;
}

@keyframes ticker-left {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item,
  .reveal-item.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ticker-track {
    animation: none;
  }

  .process-ticker-track,
  .software-scene::before,
  .statement::before,
  .statement::after,
  .consulting::before,
  .consulting::after {
    animation: none;
  }

  .feature-card,
  .consult-card,
  .accordion-item,
  .accordion-item button,
  .software-scene {
    transition: none;
  }

  .feature-card:hover,
  .feature-card:focus-within,
  .consult-card:hover,
  .consult-card:focus-within,
  .accordion-item:hover,
  .accordion-item:focus-within,
  .accordion-item button:hover,
  .accordion-item button:focus-visible,
  .software-scene:hover {
    transform: none;
    filter: none;
  }
}

.cta p {
  position: relative;
  z-index: 3;
  width: min(100%, 1312px);
  margin: 80px auto 0;
  color: var(--gray);
  font-size: 20px;
  line-height: 1.55;
  text-align: center;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 310px 310px;
  gap: 64px;
  min-height: 301px;
  padding: 50px max(24px, calc((100vw - 1312px) / 2));
  background: var(--black);
  color: var(--white);
}

.footer h2 {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 16px;
  text-transform: uppercase;
}

.footer p,
.footer a,
.legal {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer p.footer-tagline {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

.footer nav {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer nav a {
  transition: color 300ms ease;
}

.footer nav a:hover,
.footer nav a:focus-visible {
  color: var(--red);
}

/* Kontaktspalte — stapelt wie die Footer-Navigation. Die Anschrift steht als
   Absatz darueber, darunter die direkten Wege (Telefon, E-Mail, WhatsApp,
   LinkedIn). */
.footer-contact {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-contact p {
  margin: 0 0 6px;
}

.footer-contact a {
  transition: color 300ms ease;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--red);
}

.legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer .legal,
.footer .legal.is-visible {
  opacity: 1;
  transform: none;
}

.legal a {
  transition: color 300ms ease;
}

.legal a:hover,
.legal a:focus-visible {
  color: var(--red);
}

.legal-page {
  padding-top: 140px;
  background: var(--paper);
}

.legal-hero,
.legal-content {
  width: var(--wrap);
  margin: 0 auto;
}

.legal-hero {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--line);
}

.legal-hero .statement-kicker {
  display: block;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 0 22px;
  margin-bottom: 22px;
  border: 0;
  background: #e4e4e4;
  color: var(--red);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  transition:
    background 300ms ease,
    border-color 300ms ease,
    color 300ms ease,
    transform 300ms ease;
}

.back-link::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  content: "<";
}

.back-link:hover,
.back-link:focus-visible {
  background: var(--black);
  color: var(--white);
  transform: translateX(-4px);
}

.legal-hero h1 {
  margin: 18px 0 24px;
  font-size: clamp(64px, 10vw, 140px);
  font-weight: 900;
  line-height: 1;
}

.legal-hero p,
.legal-content p {
  color: var(--gray);
  font-family: var(--mono);
}

.legal-hero p {
  max-width: 760px;
  margin: 0;
  font-size: 24px;
  line-height: 1.45;
}

.legal-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.legal-content article {
  min-height: 260px;
  padding: 34px 32px;
  border-right: 1px solid var(--line);
}

.legal-content article:first-child {
  border-left: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.legal-content p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .site-header {
    height: 56px;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: -1px;
    display: none;
    width: min(340px, calc(100vw - 32px));
    margin-left: 0;
    border: 1px solid rgba(10, 10, 10, 0.18);
    background: #ffffff;
    backdrop-filter: blur(16px);
  }

  .site-header.is-menu-open .nav-links {
    display: flex;
    flex-direction: column;
  }

  .nav-links a {
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    border-left: 0;
    border-top: 1px solid rgba(10, 10, 10, 0.12);
  }

  .nav-links a:first-child {
    border-top: 0;
  }

  .language-switcher {
    margin-left: auto;
  }

  .menu-button {
    position: relative;
    display: flex;
  }
}

@media (max-width: 900px) {
  :root {
    --wrap: min(100vw - 32px, 720px);
  }

  .site-header {
    top: 12px;
  }

  .hero {
    margin-top: 90px;
  }

  .hero h1 {
    font-size: clamp(30px, 8vw, 52px);
  }

  .hero p {
    width: min(760px, 88vw);
  }

  .scroll-cue {
    bottom: 48px;
  }

  .hero p,
  .section-title p {
    font-size: 18px;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
  }

  .corner-illustration {
    margin-top: 0;
  }

  .signal-row {
    flex-wrap: wrap;
    gap: 18px 48px;
    width: min(360px, var(--wrap));
  }

  .dark .section-title p {
    margin-left: 0;
  }

  .legal-content {
    grid-template-columns: 1fr;
  }

  .legal-content article,
  .legal-content article:first-child {
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .capability-grid,
  .consulting-grid {
    grid-template-columns: 1fr;
  }

  .software-stage {
    height: auto;
  }

  .software-viewport {
    position: relative;
    min-height: 0;
    height: auto;
    padding: 32px 16px;
  }

  .software-scene {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    transform: none;
  }

  .software-feature-grid {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr;
    width: 100%;
    margin-bottom: 24px;
    transform: none;
  }

  .software-feature-grid--after {
    margin-top: 24px;
    margin-bottom: 0;
  }

  .accordion-item button {
    grid-template-columns: 58px 1fr 32px;
    min-height: 112px;
  }

  .num {
    font-size: 24px;
  }

  .accordion-panel {
    margin: -22px 0 32px 58px;
  }

  .cta h2 {
    width: auto;
    white-space: normal;
  }

  .footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand {
    width: 150px;
    padding-left: 16px;
  }

  .hero {
    min-height: 480px;
  }

  .hero h1 {
    font-size: clamp(26px, 7.5vw, 40px);
  }

  .section-title h2 {
    font-size: 38px;
  }

  .statement {
    min-height: 320px;
  }

  .accordion-item button {
    grid-template-columns: 1fr 32px;
    gap: 14px;
    padding: 28px 0;
  }

  .accordion-item .num {
    grid-column: 1 / -1;
  }

  .accordion-panel {
    margin-left: 0;
  }

}
