@import url("/design-tokens.css");

/* ═══════════════════════════════════════════
   Swisstechnologies – Base
   ═══════════════════════════════════════════ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--st-font-sans);
  font-size: var(--st-font-size-base);
  line-height: var(--st-line-height);
  color: var(--st-text);
  background: var(--st-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--st-royal); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--st-royal-hover); }
h1, h2, h3, h4 {
  font-family: var(--st-font-display);
  color: var(--st-heading);
  line-height: var(--st-line-height-tight);
  letter-spacing: var(--st-letter-spacing-brand);
  margin: 0 0 0.6em;
  font-weight: var(--st-font-weight-bold);
}
h1 { font-size: var(--st-font-size-hero); }
h2 { font-size: clamp(1.65rem, 3vw, 2.15rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(100% - (var(--st-gutter) * 2), var(--st-max-width));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - (var(--st-gutter) * 2), var(--st-max-width-narrow));
}

/* Reveal on scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--st-transition-reveal), transform var(--st-transition-reveal);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* Cursor glow */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 50;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14) 0%, transparent 68%);
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}
.cursor-glow.is-active { opacity: 1; }

@media (max-width: 1023px), (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none; }
}

/* ═══════════════════════════════════════════
   Header / Navigation
   ═══════════════════════════════════════════ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--st-header-height);
  background: rgba(6, 11, 24, 0.55);
  border-bottom: 1px solid transparent;
  transition: background var(--st-transition-base), border-color var(--st-transition-base), backdrop-filter var(--st-transition-base);
}

.header.is-scrolled {
  background: var(--st-navy);
  border-bottom-color: var(--st-border-dark);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Helle Seiten ohne dunklen Hero */
body:not(:has(.hero)):not(:has(.page-hero)) .header {
  background: var(--st-navy);
  border-bottom-color: var(--st-border-dark);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--st-header-height);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--st-text-inverse);
  text-decoration: none;
  font-weight: var(--st-font-weight-semibold);
  letter-spacing: var(--st-letter-spacing-brand);
  flex-shrink: 0;
  line-height: 0;
}
.logo:hover { color: #fff; opacity: 0.92; }
.logo__img {
  display: block;
  height: 2.15rem;
  width: auto;
  max-width: min(200px, 52vw);
}
.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.45rem;
  background: linear-gradient(145deg, var(--st-royal), #1e40af);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 0 18px var(--st-royal-glow);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.logo__text {
  font-size: 0.98rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin-inline: auto;
  background: var(--st-text-inverse);
  border-radius: 1px;
  transition: transform var(--st-transition-fast), opacity var(--st-transition-fast);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: flex;
  align-items: stretch;
  gap: 1.75rem;
  height: 100%;
}
.nav__list {
  display: flex;
  align-items: stretch;
  gap: 0.15rem;
  list-style: none;
  height: 100%;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0.45rem 0.7rem;
  color: var(--st-text-inverse-muted);
  text-decoration: none;
  font-size: var(--st-font-size-sm);
  font-weight: var(--st-font-weight-medium);
  border-radius: var(--st-radius-sm);
  transition: color var(--st-transition-fast), background var(--st-transition-fast);
}
.nav__link:hover {
  color: #fff;
  background: transparent;
}
.nav__link[aria-current="page"],
.nav__item.is-active > .nav__link {
  color: #fff;
  position: relative;
}
.nav__link[aria-current="page"]::after,
.nav__item.is-active > .nav__link::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.55rem;
  height: 2px;
  border-radius: 1px;
  background: var(--st-royal);
  box-shadow: 0 0 10px var(--st-royal-glow);
}

.nav__item {
  display: flex;
  align-items: center;
}
.nav__item--has-sub { position: relative; }
.nav__item--mega { position: static; }

.nav__mega {
  position: fixed;
  top: var(--st-header-height);
  left: 50%;
  z-index: 120;
  width: min(46rem, calc(100vw - 2rem));
  margin: 0;
  padding: 1.35rem 1.5rem 1.5rem;
  border: 1px solid var(--st-border);
  border-radius: 0 0 var(--st-radius-lg) var(--st-radius-lg);
  background: #fff;
  box-shadow: var(--st-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%);
  transition: opacity var(--st-transition-fast), visibility var(--st-transition-fast);
}
.nav__item--mega.is-open .nav__mega,
.nav__item--mega:hover .nav__mega,
.nav__item--mega:focus-within .nav__mega {
  opacity: 1;
  visibility: visible;
}
.nav__mega-label {
  margin: 0 0 0.85rem;
  color: var(--st-text-muted);
  font-size: var(--st-font-size-xs);
  font-weight: var(--st-font-weight-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav__mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__mega-link {
  display: block;
  padding: 0.7rem 0.75rem;
  border-radius: var(--st-radius-md);
  text-decoration: none;
  transition: background var(--st-transition-fast);
}
.nav__mega-link:hover,
.nav__mega-link:focus-visible {
  background: var(--st-bg-alt);
  text-decoration: none;
}
.nav__mega-title {
  display: block;
  color: var(--st-heading);
  font-size: var(--st-font-size-sm);
  font-weight: var(--st-font-weight-semibold);
  line-height: 1.3;
}
.nav__mega-desc {
  display: block;
  margin-top: 0.2rem;
  color: var(--st-text-muted);
  font-size: 0.8125rem;
  font-weight: var(--st-font-weight-normal);
  line-height: 1.4;
}
.nav__mega-link:hover .nav__mega-title,
.nav__mega-link:focus-visible .nav__mega-title {
  color: var(--st-royal);
}

/* Legacy simple dropdown (unused, kept for safety) */
.nav__sub {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  min-width: 17.5rem;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.45rem;
  list-style: none;
  background: rgba(12, 20, 36, 0.95);
  border: 1px solid var(--st-border-dark);
  border-radius: var(--st-radius-md);
  box-shadow: var(--st-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--st-transition-fast), transform var(--st-transition-fast), visibility var(--st-transition-fast);
  backdrop-filter: blur(12px);
  z-index: 30;
}
.nav__item--has-sub:not(.nav__item--mega):hover .nav__sub,
.nav__item--has-sub:not(.nav__item--mega):focus-within .nav__sub,
.nav__item--has-sub:not(.nav__item--mega).is-open .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__sub a {
  display: block;
  padding: 0.55rem 0.75rem;
  color: var(--st-text-inverse-muted);
  text-decoration: none;
  font-size: var(--st-font-size-sm);
  border-radius: var(--st-radius-sm);
}
.nav__sub a:hover,
.nav__sub a[aria-current="page"] {
  color: #fff;
  background: var(--st-royal-muted);
}

.nav__cta {
  display: flex;
  align-items: center;
  align-self: center;
  flex-shrink: 0;
}

/* Header-CTA: kompakt, zweizeilig – passt in die Header-Höhe auf allen Viewports */
.nav__cta .btn {
  max-width: 8.75rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  hyphens: manual;
}

/* Breite Desktop: einzeilig, etwas luftiger */
@media (min-width: 1280px) {
  .nav__cta .btn {
    max-width: none;
    padding: 0.55rem 1.15rem;
    font-size: var(--st-font-size-sm);
    white-space: nowrap;
  }
}

/* Schmale Desktop-/iPad-Pro-Landscape-Leiste: Nav verdichten */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav {
    gap: 0.85rem;
  }
  .nav__list {
    gap: 0;
  }
  .nav__link {
    padding: 0.4rem 0.45rem;
    font-size: 0.8125rem;
  }
  .nav__link[aria-current="page"]::after,
  .nav__item.is-active > .nav__link::after {
    left: 0.45rem;
    right: 0.45rem;
  }
  .nav__cta .btn {
    max-width: 7.75rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
  }
}

/* Tablet / Phone / iPad (inkl. Landscape bis 1023px): Hamburger-Menü */
@media (max-width: 1023px) {
  .logo__img { height: 1.85rem; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: var(--st-header-height) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    height: auto;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(6, 11, 24, 0.97);
    border-bottom: 1px solid var(--st-border-dark);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--st-transition-base), opacity var(--st-transition-base), visibility var(--st-transition-base);
    backdrop-filter: blur(16px);
    max-height: calc(100dvh - var(--st-header-height));
    overflow-y: auto;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    height: auto;
  }
  .nav__item {
    display: block;
  }
  .nav__link {
    display: block;
    height: auto;
    padding: 0.75rem 0.85rem;
  }
  .nav__link[aria-current="page"]::after,
  .nav__item.is-active > .nav__link::after {
    bottom: 0.2rem;
  }
  .nav__item--has-sub .nav__sub,
  .nav__item--mega .nav__mega {
    position: static;
    left: auto;
    width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin: 0.15rem 0 0.5rem;
  }
  .nav__item--has-sub .nav__sub {
    background: transparent;
    border: 0;
    padding: 0 0 0 0.85rem;
    box-shadow: none;
  }
  .nav__item--mega .nav__mega {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--st-border-dark);
    border-radius: var(--st-radius-md);
    padding: 0.75rem;
    box-shadow: none;
  }
  .nav__item--has-sub.is-open .nav__sub,
  .nav__item--mega.is-open .nav__mega {
    display: block;
  }
  .nav__mega-label {
    color: rgba(241, 245, 249, 0.55);
    margin-bottom: 0.5rem;
  }
  .nav__mega-grid {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
  .nav__mega-link {
    padding: 0.65rem 0.7rem;
  }
  .nav__mega-title { color: #fff; }
  .nav__mega-desc { color: var(--st-text-inverse-muted); }
  .nav__mega-link:hover,
  .nav__mega-link:focus-visible {
    background: var(--st-royal-muted);
  }
  .nav__mega-link:hover .nav__mega-title,
  .nav__mega-link:focus-visible .nav__mega-title {
    color: #fff;
  }
  .nav__cta {
    margin-top: 0.65rem;
    align-self: flex-start;
  }
  .nav__cta .btn {
    width: auto;
    max-width: 100%;
    justify-content: center;
    padding: 0.7rem 1.15rem;
    font-size: var(--st-font-size-sm);
    white-space: nowrap;
  }
}

/* ═══════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: var(--st-btn-radius);
  border: 1px solid transparent;
  font-size: var(--st-font-size-sm);
  font-weight: var(--st-font-weight-semibold);
  text-decoration: none;
  cursor: pointer;
  transform: none;
  transition: box-shadow var(--st-transition-fast), background var(--st-transition-fast), border-color var(--st-transition-fast), color var(--st-transition-fast), filter var(--st-transition-fast);
}
.btn:hover { text-decoration: none; transform: none; }
.btn:active { transform: none; filter: brightness(0.94); }
.btn--primary {
  background: var(--st-royal);
  color: #fff;
  box-shadow: 0 0 0 0 transparent;
}
.btn--primary:hover {
  background: var(--st-royal-hover);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 0 0 1px rgba(37, 99, 235, 0.35),
    0 0 28px rgba(37, 99, 235, 0.4);
  filter: brightness(1.05);
  transform: none;
}
.btn--secondary {
  background: #fff;
  color: var(--st-heading);
  border-color: var(--st-border);
}
.btn--secondary:hover {
  border-color: #cbd5e1;
  color: var(--st-heading);
  box-shadow: var(--st-shadow-sm);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(37, 99, 235, 0.55);
}
.btn--ghost:hover {
  color: #fff;
  border-color: #93c5fd;
  background: rgba(37, 99, 235, 0.2);
  box-shadow: 0 0 0 1px rgba(147, 197, 253, 0.25);
  transform: none;
}
.btn--ghost-light {
  background: transparent;
  color: var(--st-heading);
  border-color: var(--st-border);
}
.btn--ghost-light:hover {
  color: var(--st-royal);
  border-color: rgba(37, 99, 235, 0.4);
  background: var(--st-royal-soft);
}
.btn--block {
  width: 100%;
}
.btn[disabled],
.btn[aria-busy="true"] {
  opacity: 0.65;
  cursor: wait;
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   Hero
   ═══════════════════════════════════════════ */

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - var(--st-header-height));
  min-height: calc(100dvh - var(--st-header-height));
  display: flex;
  align-items: center;
  padding: clamp(3rem, 8vh, 5.5rem) 0;
  background:
    radial-gradient(ellipse 70% 55% at 75% 40%, rgba(37, 99, 235, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(37, 99, 235, 0.08), transparent 55%),
    var(--st-navy);
  color: var(--st-text-inverse);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 20%, transparent 75%);
  animation: hero-grid-drift 48s linear infinite;
  opacity: 0.7;
}

.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(147, 197, 253, 0.55);
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
  animation: particle-float 14s ease-in-out infinite;
}
.hero__particle:nth-child(1) { top: 18%; left: 12%; animation-delay: 0s; }
.hero__particle:nth-child(2) { top: 62%; left: 22%; animation-delay: -3s; width: 2px; height: 2px; }
.hero__particle:nth-child(3) { top: 28%; left: 78%; animation-delay: -6s; }
.hero__particle:nth-child(4) { top: 74%; left: 68%; animation-delay: -9s; width: 2px; height: 2px; }
.hero__particle:nth-child(5) { top: 44%; left: 48%; animation-delay: -2s; }

@keyframes hero-grid-drift {
  from { transform: translateY(0); }
  to { transform: translateY(56px); }
}
@keyframes particle-float {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50% { transform: translateY(-14px); opacity: 0.85; }
}

.hero .container { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
  }
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 0.7rem;
  color: #93c5fd;
  font-size: 0.75rem;
  font-weight: var(--st-font-weight-semibold);
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.4;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
  max-width: 14ch;
}

.hero__subtitle {
  color: var(--st-text-inverse-muted);
  font-size: var(--st-font-size-base);
  line-height: var(--st-line-height);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  list-style: none;
  color: var(--st-text-inverse-muted);
  font-size: var(--st-font-size-sm);
}
.hero__checks li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero__checks li::before {
  content: "";
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2393c5fd' d='M6.5 11.2 3.4 8.1l1.1-1.1 2 2 4.6-4.6 1.1 1.1z'/%3E%3C/svg%3E") center / contain no-repeat,
    rgba(37, 99, 235, 0.25);
}

/* Hero Hub */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Publikationen: Seite bleibt unter /unternehmen/publikationen/ erreichbar,
   ist aber vorübergehend aus Navigation und Footer entfernt. */

.hero-hub {
  position: relative;
  width: min(100%, 30rem);
  margin-inline: auto;
  --hub-x: 0px;
  --hub-y: 0px;
}

.hero-hub__canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  transform: translate3d(calc(var(--hub-x) * 0.2), calc(var(--hub-y) * 0.2), 0);
  transition: transform 0.35s var(--st-ease);
}

.hero-hub__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-hub__lines line {
  stroke: rgba(37, 99, 235, 0.4);
  stroke-width: 1.25;
  stroke-opacity: 0.55;
  transition: stroke 0.25s ease, stroke-opacity 0.25s ease, stroke-width 0.25s ease;
}
.hero-hub__lines line.is-hot,
.hero-hub__lines line.is-active {
  stroke: rgba(96, 165, 250, 0.95);
  stroke-opacity: 1;
  stroke-width: 1.75;
}

.hero-hub__core {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.75rem;
  height: 4.75rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 0.85rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #2563eb, #1e3a8a);
  border: 1px solid rgba(147, 197, 253, 0.4);
  box-shadow: 0 0 36px rgba(37, 99, 235, 0.45), 0 12px 28px rgba(0, 0, 0, 0.35);
  animation: hub-float 5.5s ease-in-out infinite;
  z-index: 2;
}

@keyframes hub-float {
  0%, 100% { transform: translate(-50%, calc(-50% - 2px)); }
  50% { transform: translate(-50%, calc(-50% + 2px)); }
}

.hero-hub__nodes {
  position: absolute;
  inset: 0;
}

.hero-hub__node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 3.25rem;
  height: 3.25rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  border-radius: 0.85rem;
  background: linear-gradient(160deg, #16203a, #0c1424);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #e2e8f0;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: translate3d(calc(var(--hub-x) * var(--px, 0.35)), calc(var(--hub-y) * var(--py, 0.35)), 0);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.35s var(--st-ease);
  z-index: 3;
}
.hero-hub__node:hover,
.hero-hub__node:focus-visible {
  border-color: rgba(147, 197, 253, 0.55);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25), 0 10px 24px rgba(0, 0, 0, 0.3);
  outline: none;
}
.hero-hub__node:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 3px;
}
.hero-hub__node[aria-pressed="true"] {
  border-color: rgba(147, 197, 253, 0.7);
  background: linear-gradient(160deg, #1a2a4a, #102038);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35), 0 10px 26px rgba(0, 0, 0, 0.32);
}
.hero-hub__icon {
  display: inline-flex;
  color: #93c5fd;
}
.hero-hub__node[aria-pressed="true"] .hero-hub__icon {
  color: #bfdbfe;
}

.hero-hub__node--1 { left: 10%; top: 14%; --px: 0.5; --py: 0.3; }
.hero-hub__node--2 { right: 8%; top: 14%; left: auto; --px: -0.4; --py: 0.35; }
.hero-hub__node--3 { left: 10%; bottom: 12%; top: auto; --px: 0.4; --py: -0.35; }
.hero-hub__node--4 { right: 8%; bottom: 12%; top: auto; left: auto; --px: -0.4; --py: -0.35; }

.hero-hub__label {
  position: absolute;
  font-size: 0.78rem;
  line-height: 1.25;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.88);
  white-space: normal;
  max-width: 8.5rem;
  letter-spacing: 0.01em;
  pointer-events: none;
}
.hero-hub__node--1 .hero-hub__label,
.hero-hub__node--3 .hero-hub__label {
  left: calc(100% + 0.5rem);
  top: 50%;
  transform: translateY(-50%);
}
.hero-hub__node--2 .hero-hub__label,
.hero-hub__node--4 .hero-hub__label {
  right: calc(100% + 0.5rem);
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
}

.hero-hub__panel {
  margin-top: 1.15rem;
  border-radius: var(--st-radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(12, 20, 36, 0.88);
  color: var(--st-text-inverse);
}
.hero-hub__panel[hidden] { display: none; }
.hero-hub__panel-inner {
  position: relative;
  padding: 1.15rem 1.2rem 1.25rem;
}
.hero-hub__panel-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: var(--st-radius-sm);
  background: transparent;
  color: var(--st-text-inverse-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.hero-hub__panel-close:hover,
.hero-hub__panel-close:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}
.hero-hub__panel-close:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}
.hero-hub__panel-title {
  margin: 0 2rem 0.5rem 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
}
.hero-hub__panel-problem {
  margin: 0 0 0.65rem;
  color: #bfdbfe;
  font-size: var(--st-font-size-sm);
  line-height: 1.5;
}
.hero-hub__panel-text {
  margin: 0 0 0.85rem;
  color: var(--st-text-inverse-muted);
  font-size: var(--st-font-size-sm);
  line-height: 1.55;
}
.hero-hub__panel-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.hero-hub__panel-list li {
  position: relative;
  padding-left: 0.95rem;
  color: #e2e8f0;
  font-size: var(--st-font-size-sm);
}
.hero-hub__panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--st-royal);
}
.hero-hub__panel-cta {
  width: auto;
}

@media (max-width: 900px) {
  .hero-hub {
    width: 100%;
    max-width: 28rem;
  }
  .hero-hub__canvas {
    aspect-ratio: auto;
    transform: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .hero-hub__lines { display: none; }
  .hero-hub__core {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    animation: none;
    margin: 0.25rem 0 0.35rem;
  }
  .hero-hub__nodes {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    width: 100%;
  }
  .hero-hub__node,
  .hero-hub__node.hero-hub__node--1,
  .hero-hub__node.hero-hub__node--2,
  .hero-hub__node.hero-hub__node--3,
  .hero-hub__node.hero-hub__node--4 {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    min-height: 2.85rem;
    padding: 0.7rem 0.8rem;
    transform: none !important;
    justify-content: flex-start;
    gap: 0.55rem;
  }
  .hero-hub__label,
  .hero-hub__node--1 .hero-hub__label,
  .hero-hub__node--2 .hero-hub__label,
  .hero-hub__node--3 .hero-hub__label,
  .hero-hub__node--4 .hero-hub__label {
    position: static;
    transform: none;
    text-align: left;
    white-space: normal;
    max-width: none;
    font-size: 0.8125rem;
    color: #f1f5f9;
  }
}

@media (max-width: 360px) {
  .hero-hub__nodes { grid-template-columns: 1fr; }
}

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

/* Reference cards */
.reference-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .reference-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
}
.reference-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 1.15rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.03),
    0 18px 40px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition: transform var(--st-transition-base), box-shadow var(--st-transition-base), border-color var(--st-transition-base);
}
.reference-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.03),
    0 24px 48px rgba(15, 23, 42, 0.08);
}
.reference-card__media {
  aspect-ratio: 16 / 10;
  margin: 0;
  border-radius: 0;
  background: #0b1220;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
.reference-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.reference-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.55s var(--st-ease);
}
.reference-card:hover .reference-card__media img {
  transform: scale(1.02);
}
.reference-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.35rem 1.45rem 1.5rem;
  flex: 1;
}
.reference-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  margin: 0;
  font-size: 0.7rem;
  font-weight: var(--st-font-weight-semibold);
  color: #94a3b8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.reference-card__meta span:not(:last-child)::after {
  content: "·";
  margin-left: 0.55rem;
  margin-right: 0.55rem;
  color: #cbd5e1;
  font-weight: 400;
}
.reference-card h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--st-heading);
}
.reference-card__lead {
  margin: 0;
  color: var(--st-heading);
  font-size: 0.98rem;
  font-weight: var(--st-font-weight-medium);
  line-height: 1.45;
}
.reference-card__result {
  margin: 0;
  font-size: var(--st-font-size-sm);
  color: var(--st-text-muted);
  line-height: 1.6;
}
.reference-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
}
.reference-card__tags li {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  font-size: 0.72rem;
  font-weight: var(--st-font-weight-medium);
  letter-spacing: 0.02em;
  color: #64748b;
}
.reference-card__scope {
  margin: 0.55rem 0 0;
  font-size: 0.7rem;
  font-weight: var(--st-font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}
.reference-card .service-offerings {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0.15rem 0 0.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.reference-card .service-offerings li {
  position: relative;
  margin: 0;
  padding: 0.72rem 0.15rem 0.72rem 1.15rem;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 0;
  background: transparent;
  color: #334155;
  font-size: 0.9rem;
  font-weight: var(--st-font-weight-medium);
  line-height: 1.4;
  box-shadow: none;
}
.reference-card .service-offerings li:last-child {
  border-bottom: 0;
}
.reference-card .service-offerings li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 1px;
  background: var(--st-navy);
  box-shadow: none;
  transform: rotate(45deg);
}
.reference-card .service-tile__link,
.reference-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.85rem;
  color: var(--st-royal);
  font-size: var(--st-font-size-sm);
  font-weight: var(--st-font-weight-semibold);
  text-decoration: none;
}
.reference-card__cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.85rem;
}
.reference-card__cta-group .reference-card__cta {
  margin-top: 0;
  padding-top: 0;
}
.reference-card .service-tile__link:hover,
.reference-card__cta:hover {
  text-decoration: underline;
}
.reference-card--own {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
.reference-card--own .reference-card__body,
.reference-card--text .reference-card__body {
  padding-top: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .reference-card,
  .reference-card__media img {
    transition: none;
  }
  .reference-card:hover {
    transform: none;
  }
  .reference-card:hover .reference-card__media img {
    transform: none;
  }
}

/* ═══════════════════════════════════════════
   Sections / Trust / Services
   ═══════════════════════════════════════════ */

.section {
  padding: var(--st-space-2xl) 0;
}
.section--alt { background: var(--st-bg-alt); }
.section--dark {
  background: var(--st-navy);
  color: var(--st-text-inverse);
}
.section--dark h2,
.section--dark h3 { color: #fff; }

.section__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--st-royal);
  font-size: 0.75rem;
  font-weight: var(--st-font-weight-semibold);
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.4;
}
.section__intro {
  margin-bottom: var(--st-space-lg);
  max-width: 40rem;
}
.section__intro p { color: var(--st-text-muted); }

.section-split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .section-split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem;
  }
}

/* Editorial service offer (Dienstleistungen) */
.offer-intro__lead {
  color: var(--st-text-muted);
  max-width: 34rem;
}
.offer-intro__cta {
  margin-top: 1.25rem;
}

.offer-menu__title {
  margin: 0 0 0.15rem;
  font-size: 0.75rem;
  font-weight: var(--st-font-weight-semibold);
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.4;
  color: var(--st-royal);
}
.offer-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.offer-menu__item {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--st-border-light);
}
.offer-menu__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.offer-menu__name {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: var(--st-font-weight-semibold);
  color: var(--st-heading);
  line-height: var(--st-line-height-tight);
}
.offer-menu__desc {
  margin: 0.35rem 0 0;
  max-width: 36rem;
  font-size: var(--st-font-size-sm);
  color: var(--st-text-muted);
  line-height: 1.55;
}
.offer-menu__extra {
  margin: 1.5rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--st-border-light);
  font-size: var(--st-font-size-sm);
  color: var(--st-text-muted);
  line-height: 1.55;
}
.offer-menu__extra span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  font-weight: var(--st-font-weight-semibold);
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.4;
  color: var(--st-text-muted);
}

.offer-proof {
  margin: 0;
  min-width: 0;
  border-radius: var(--st-radius-md);
  overflow: hidden;
  border: 1px solid var(--st-border);
  background: var(--st-bg-alt);
}
.offer-proof picture {
  display: block;
}
.offer-proof img {
  display: block;
  width: 100%;
  height: auto;
}
.offer-proof__caption {
  margin: 0;
  padding: 0.65rem 0.85rem;
  font-size: var(--st-font-size-xs);
  color: var(--st-text-muted);
  border-top: 1px solid var(--st-border-light);
  background: #fff;
}

.section-split--with-proof {
  grid-template-areas:
    "intro"
    "proof"
    "menu";
}
.section-split--with-proof .offer-intro { grid-area: intro; }
.section-split--with-proof .offer-proof { grid-area: proof; }
.section-split--with-proof .offer-menu { grid-area: menu; }

@media (min-width: 900px) {
  .section-split--with-proof {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas:
      "intro menu"
      "intro proof";
    column-gap: 3rem;
    row-gap: 2rem;
    align-items: start;
  }
}

.trust-bar {
  padding: 1.5rem 0;
  border-block: 1px solid var(--st-border-light);
  background: #fff;
}
.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}
.trust-bar__intro {
  flex: 1 1 14rem;
  min-width: 0;
}
.trust-bar__label {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: var(--st-font-weight-semibold);
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.4;
  color: #94a3b8;
}
.trust-bar__text {
  margin: 0;
  max-width: 28rem;
  font-size: var(--st-font-size-sm);
  color: var(--st-text-muted);
  line-height: 1.45;
}
.trust-bar__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 2 1 20rem;
}
.trust-bar__logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  opacity: 0.85;
  filter: grayscale(0.35);
  transition: opacity var(--st-transition-base), filter var(--st-transition-base);
}
.trust-bar__logos li:hover,
.trust-bar__logos li:focus-within {
  opacity: 1;
  filter: none;
}
.trust-bar__logos picture {
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-bar__logos img {
  width: auto;
  max-width: 8.5rem;
  max-height: 2.25rem;
  height: auto;
  object-fit: contain;
}

.service-tiles {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .service-tiles { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .service-tiles--4 { grid-template-columns: repeat(4, 1fr); }
}
.service-tiles--2 {
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .service-tiles--2 { grid-template-columns: 1fr 1fr; }
}

.service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-lg);
  box-shadow: var(--st-shadow-sm);
  overflow: hidden;
  transition: transform var(--st-transition-base), box-shadow var(--st-transition-base), border-color var(--st-transition-base);
}
.service-tile::after {
  content: none;
}
.service-tile:hover {
  transform: translateY(var(--st-hover-lift));
  box-shadow: var(--st-hover-shadow);
  border-color: var(--st-hover-border);
}
.service-tile:hover::after { opacity: 0; }
.service-tile:hover .service-tile__icon {
  transform: none;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}
.service-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 0.7rem;
  background: linear-gradient(145deg, #2563eb, #1e40af);
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
  transition: transform var(--st-transition-base), box-shadow var(--st-transition-base);
}
.service-tile h3 { margin-bottom: 0.45rem; }
.service-tile > p {
  margin: 0;
  color: var(--st-text-muted);
  font-size: var(--st-font-size-sm);
  flex: 1;
}
.service-tile__examples {
  margin: 0.75rem 0 0;
  color: var(--st-text);
  font-size: var(--st-font-size-sm);
  font-weight: 500;
}
.service-tile__link {
  display: inline-flex;
  margin-top: 1rem;
  font-size: var(--st-font-size-sm);
  font-weight: var(--st-font-weight-semibold);
  text-decoration: none;
}
.service-tile__link:hover { text-decoration: underline; }
.service-tile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.btn--sm {
  padding: 0.45rem 0.9rem;
  font-size: var(--st-font-size-sm);
  line-height: 1.3;
}
.service-section__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.service-offerings {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 0;
}
.service-offerings li {
  position: relative;
  padding: 0.55rem 0.75rem 0.55rem 1.85rem;
  border-radius: var(--st-radius-md);
  background: #fff;
  border: 1px solid var(--st-border);
  color: var(--st-text);
  font-size: var(--st-font-size-sm);
  font-weight: var(--st-font-weight-medium);
}
.service-offerings li::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--st-royal);
  transform: translateY(-50%);
  box-shadow: 0 0 8px var(--st-royal-glow);
}
@media (min-width: 640px) {
  .service-offerings { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════
   Case features / Project grid / Stats / Process
   ═══════════════════════════════════════════ */

.case-feature {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}
@media (min-width: 900px) {
  .case-feature {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2.75rem;
  }
}
.case-feature__content h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  max-width: 18ch;
}
.case-feature__subtitle {
  margin: 0 0 1rem;
  font-size: var(--st-font-size-lg);
  color: var(--st-text-muted);
  max-width: 28rem;
}
.case-feature__content > p {
  max-width: 34rem;
  color: var(--st-text-muted);
}
.case-feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Tech marquee (Velixar-style) */
.tech-marquee {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.25rem;
}
.tech-marquee__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.tech-marquee__track {
  display: flex;
  width: max-content;
  gap: 0.75rem;
  will-change: transform;
}
.tech-marquee__track--left {
  animation: tech-marquee-left 55s linear infinite;
}
.tech-marquee__track--right {
  animation: tech-marquee-right 60s linear infinite;
}
.tech-marquee:hover .tech-marquee__track {
  animation-play-state: paused;
}
.tech-marquee__list {
  display: flex;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}
.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 9.5rem;
  padding: 0.7rem 1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.04);
  border-radius: 0.85rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  white-space: nowrap;
  transition: box-shadow var(--st-transition-fast), transform var(--st-transition-fast), border-color var(--st-transition-fast);
}
.tech-pill:hover {
  box-shadow: var(--st-hover-shadow);
  border-color: var(--st-hover-border);
  transform: translateY(var(--st-hover-lift));
}
.tech-pill__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  opacity: 0.72;
  filter: grayscale(0.35);
  transition: opacity var(--st-transition-fast), filter var(--st-transition-fast);
}
.tech-pill__icon svg,
.tech-pill__icon img {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  object-fit: contain;
}
.tech-pill__icon--brand img {
  width: 1.2rem;
  height: auto;
}
.tech-pill:hover .tech-pill__icon {
  opacity: 1;
  filter: none;
}
.tech-pill__label {
  font-size: var(--st-font-size-sm);
  font-weight: var(--st-font-weight-medium);
  color: var(--st-text-muted);
  transition: color var(--st-transition-fast);
}
.tech-pill:hover .tech-pill__label {
  color: var(--st-heading);
}

@keyframes tech-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes tech-marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (min-width: 900px) {
  .tech-marquee {
    gap: 1rem;
  }
  .tech-marquee__track,
  .tech-marquee__list {
    gap: 1rem;
  }
  .tech-pill {
    min-width: 11.25rem;
    padding: 0.8rem 1.15rem;
  }
  .tech-pill__icon {
    width: 1.35rem;
    height: 1.35rem;
  }
  .tech-pill__icon svg,
  .tech-pill__icon img {
    width: 1.25rem;
    height: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-marquee__track--left,
  .tech-marquee__track--right {
    animation: none;
  }
  .tech-marquee__viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    padding-inline: 1.25rem;
  }
  .tech-marquee__track {
    width: auto;
  }
  .tech-marquee__list[aria-hidden="true"] {
    display: none;
  }
  .tech-pill {
    transition: none;
  }
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
}
.case-tags li {
  padding: 0.22rem 0.6rem;
  border-radius: var(--st-radius-full);
  border: 1px solid var(--st-border);
  background: #fff;
  font-size: var(--st-font-size-xs);
  color: var(--st-text-muted);
}
.case-tags--compact li {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  font-size: 0.72rem;
  font-weight: var(--st-font-weight-medium);
  letter-spacing: 0.02em;
  color: #64748b;
}

.device-stack {
  position: relative;
  padding-bottom: 2.5rem;
}
.device-frame {
  margin: 0;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #0b1220;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 22px 48px rgba(6, 11, 24, 0.2);
  opacity: 0.94;
  transform: translateY(10px);
  transition: transform 0.55s var(--st-ease), opacity 0.55s var(--st-ease);
}
.device-frame.is-inview {
  opacity: 1;
  transform: translateY(0);
}
.device-frame picture {
  display: block;
}
.device-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.device-frame__chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
  background: #111827;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.device-frame__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #334155;
}
.device-frame__dot:nth-child(1) { background: #f87171; }
.device-frame__dot:nth-child(2) { background: #fbbf24; }
.device-frame__dot:nth-child(3) { background: #4ade80; }
.device-frame__url {
  flex: 1;
  margin-left: 0.4rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  font-size: 0.68rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.device-frame--desktop img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}
.device-frame--mobile {
  width: min(34%, 9rem);
  border-radius: 1.15rem;
  border: 3px solid #0f172a;
  box-shadow: 0 18px 36px rgba(6, 11, 24, 0.28);
  background: #0f172a;
}
.device-stack .device-frame--mobile {
  position: absolute;
  right: 3%;
  bottom: 0;
  z-index: 2;
}
.device-frame--mobile img {
  aspect-ratio: 390 / 718;
  object-fit: cover;
  object-position: top center;
}

.case-wide {
  display: grid;
  gap: 1.75rem;
}
.case-wide__visual {
  position: relative;
  padding: 0 0 0.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
}
.case-wide .device-frame--wide {
  width: 100%;
  min-width: 0;
}
.case-wide .device-frame--overlap {
  position: static;
  width: clamp(7.5rem, 18vw, 10.5rem);
  margin: 0;
  z-index: 2;
  flex-shrink: 0;
}
.case-wide__body {
  max-width: 42rem;
}
.case-wide__body h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
}

.project-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
@media (min-width: 1100px) {
  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.project-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.15rem;
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.03),
    0 18px 40px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition: transform var(--st-transition-base), box-shadow var(--st-transition-base), border-color var(--st-transition-base);
}
.project-card:hover,
.project-card:focus-within {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.03),
    0 24px 48px rgba(15, 23, 42, 0.08);
  border-color: rgba(37, 99, 235, 0.18);
}
.project-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.project-card__link:focus-visible {
  outline: 2px solid var(--st-royal);
  outline-offset: 3px;
}
.project-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
  border-bottom: 1px solid var(--st-border-light);
}
.project-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.project-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s var(--st-ease);
}
.project-card:hover .project-card__media img,
.project-card:focus-within .project-card__media img {
  transform: scale(1.025);
}
.project-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
}
.project-card__site {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--st-text-muted);
  font-size: var(--st-font-size-sm);
  font-weight: var(--st-font-weight-medium);
}
.project-card__site svg {
  flex-shrink: 0;
  opacity: 0.7;
}
.project-card__site img {
  width: 1.1rem;
  height: 1.1rem;
  object-fit: contain;
  border-radius: 0.2rem;
  background: #fff;
}
.project-card__industry {
  margin: 0;
  font-size: var(--st-font-size-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--st-text-muted);
}
.project-card__body h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.project-card__body > p {
  margin: 0;
  color: var(--st-text-muted);
  font-size: var(--st-font-size-sm);
  line-height: 1.55;
}
.project-card__body .case-tags {
  margin-top: 0.35rem;
}
.project-card__cta {
  margin-top: auto;
  padding-top: 0.95rem;
  color: var(--st-royal);
  font-weight: var(--st-font-weight-semibold);
  font-size: var(--st-font-size-sm);
}

@media (max-width: 699px) {
  .device-stack {
    padding-bottom: 0;
  }
  .device-stack .device-frame--mobile {
    position: static;
    width: min(52%, 11rem);
    margin-top: 1rem;
  }
  .case-wide__visual {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }
  .case-wide .device-frame--overlap {
    width: min(48%, 10.5rem);
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-card,
  .project-card__media img,
  .trust-bar__logos li,
  .device-frame {
    transition: none;
  }
  .device-frame {
    opacity: 1;
    transform: none;
  }
  .project-card:hover,
  .project-card:focus-within {
    transform: none;
  }
  .project-card:hover .project-card__media img,
  .project-card:focus-within .project-card__media img {
    transform: none;
  }
}

.stats-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  min-width: 0;
}
@media (max-width: 360px) {
  .stats-grid { grid-template-columns: 1fr; }
}
@media (min-width: 800px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat {
  min-width: 0;
  max-width: 100%;
  padding: 1.35rem 1.1rem;
  border-radius: var(--st-radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--st-border-dark);
  text-align: center;
}
.stat__value {
  display: block;
  margin-bottom: 0.55rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.25;
  font-weight: var(--st-font-weight-bold);
  color: #fff;
  letter-spacing: var(--st-letter-spacing-brand);
  overflow-wrap: break-word;
}
.stat__label {
  color: var(--st-text-inverse-muted);
  font-size: var(--st-font-size-sm);
  line-height: 1.45;
  overflow-wrap: break-word;
}

.process-steps {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .process-steps { grid-template-columns: repeat(4, 1fr); }
}
.process-step {
  position: relative;
  padding: 1.35rem;
  border-radius: var(--st-radius-lg);
  border: 1px solid var(--st-border);
  background: #fff;
}
.process-step__num {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--st-royal);
  font-size: var(--st-font-size-xs);
  font-weight: var(--st-font-weight-bold);
  letter-spacing: 0.08em;
}
.process-step p {
  margin: 0;
  color: var(--st-text-muted);
  font-size: var(--st-font-size-sm);
}

/* Process methodik (digitalwahl-inspired) */
.process-methodik__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.process-methodik__mark {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 0.15rem;
  background: var(--st-navy);
  box-shadow: 0 0 0 3px var(--st-royal-muted);
}
.process-methodik {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .process-methodik {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .process-methodik {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.process-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.6rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: transform var(--st-transition-base), box-shadow var(--st-transition-base), border-color var(--st-transition-base);
}
.process-card:hover {
  transform: translateY(var(--st-hover-lift));
  box-shadow: var(--st-hover-shadow);
  border-color: var(--st-hover-border);
}
.process-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.9rem;
  border-radius: var(--st-btn-radius);
  background: var(--st-royal-soft);
  color: var(--st-royal);
  font-family: var(--st-font-sans);
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: var(--st-font-weight-bold);
  line-height: 1;
  letter-spacing: 0.02em;
}
.process-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.125rem;
}
.process-card p {
  margin: 0;
  color: var(--st-text-muted);
  font-size: var(--st-font-size-sm);
  line-height: 1.6;
}

@media (max-width: 699px) {
  .process-methodik {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.35rem;
    margin-inline: calc(var(--st-gutter) * -1);
    padding-inline: var(--st-gutter);
    -webkit-overflow-scrolling: touch;
  }
  .process-card {
    flex: 0 0 min(86vw, 20rem);
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-card {
    transition: none;
  }
}

/* Use cases / Schlüsselverkaufsgründe (Velixar-inspired) */
.use-cases {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 700px) {
  .use-cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}
@media (min-width: 1100px) {
  .use-cases {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.use-case {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem 1.35rem 1.4rem;
  background: var(--st-bg-alt);
  border-radius: 0.9rem;
  text-decoration: none;
  color: inherit;
  transition: background var(--st-transition-fast), transform var(--st-transition-fast), box-shadow var(--st-transition-fast), border-color var(--st-transition-fast);
}
.use-case:hover {
  background: #eef2f7;
  transform: translateY(var(--st-hover-lift));
  box-shadow: var(--st-hover-shadow);
  text-decoration: none;
  color: inherit;
}
.use-case__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.use-case h3 {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding-right: 0;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.use-case p {
  margin: 0.7rem 0 0;
  color: var(--st-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.use-case__arrow {
  position: static;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  color: #94a3b8;
  transition: color var(--st-transition-fast), transform var(--st-transition-fast);
}
.use-case:hover .use-case__arrow {
  color: var(--st-royal);
  transform: translateX(2px);
}
.use-cases__cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

@media (prefers-reduced-motion: reduce) {
  .use-case {
    transition: none;
  }
  .use-case:hover {
    transform: none;
  }
}

/* ═══════════════════════════════════════════
   Page hero / CTA / Footer
   ═══════════════════════════════════════════ */

.section[id] {
  scroll-margin-top: calc(var(--st-header-height) + 1rem);
}
.page-hero {
  padding: calc(var(--st-header-height) + 50px) 0 2.75rem;
  background:
    radial-gradient(ellipse 60% 80% at 85% 0%, rgba(37, 99, 235, 0.22), transparent 55%),
    var(--st-navy);
  color: var(--st-text-inverse);
}
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero--wide h1 { max-width: 28ch; }
.page-hero__subtitle {
  max-width: 36rem;
  color: var(--st-text-inverse-muted);
  font-size: var(--st-font-size-lg);
}
.page-hero .section__eyebrow { color: #93c5fd; }
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cta-band {
  padding: var(--st-space-2xl) 0;
  background:
    radial-gradient(ellipse 50% 80% at 50% 0%, rgba(37, 99, 235, 0.25), transparent 60%),
    var(--st-navy);
  color: var(--st-text-inverse);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p {
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  color: var(--st-text-inverse-muted);
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Next-step CTA (homepage) */
.cta-next {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  color: var(--st-text-inverse);
}
.cta-next__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 90% at 12% 0%, rgba(37, 99, 235, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 100%, rgba(37, 99, 235, 0.12), transparent 50%),
    linear-gradient(165deg, #0c1424 0%, #060b18 48%, #121c32 100%);
}
.cta-next__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-next__inner {
  max-width: 36rem;
}
.cta-next__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.7rem;
  color: #93c5fd;
  font-size: 0.75rem;
  font-weight: var(--st-font-weight-semibold);
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.4;
}
.cta-next__eyebrow svg {
  flex-shrink: 0;
  opacity: 0.9;
}
.cta-next h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.cta-next__lead {
  margin: 0 0 2rem;
  max-width: 34rem;
  color: var(--st-text-inverse-muted);
  font-size: var(--st-font-size-base);
  line-height: 1.7;
}
.cta-next__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.cta-next__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--st-btn-radius);
  background: #fff;
  color: var(--st-royal);
  font-size: var(--st-font-size-sm);
  font-weight: var(--st-font-weight-semibold);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(6, 11, 24, 0.18);
  transition:
    transform var(--st-transition-fast),
    box-shadow var(--st-transition-fast),
    background var(--st-transition-fast),
    color var(--st-transition-fast);
}
.cta-next__btn svg {
  flex-shrink: 0;
}
.cta-next__btn:hover {
  background: #f8fafc;
  color: var(--st-royal-hover);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(6, 11, 24, 0.28);
}
.cta-next__btn:active {
  transform: translateY(0);
}
.cta-next__trust {
  margin: 0;
  max-width: 36rem;
  color: rgba(241, 245, 249, 0.55);
  font-size: var(--st-font-size-xs);
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.footer {
  padding: 2.75rem 0 1.75rem;
  background: #030712;
  color: var(--st-text-inverse-muted);
  border-top: 1px solid var(--st-border-dark);
}
.footer a { color: var(--st-text-inverse-muted); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__inner {
  display: grid;
  gap: 1.75rem;
}
.footer__cols {
  display: grid;
  gap: 1.75rem 2rem;
}
@media (min-width: 768px) {
  .footer__cols {
    grid-template-columns: 1.4fr 1fr 0.85fr;
    align-items: start;
  }
}
.footer__brand {
  margin: 0 0 0.35rem;
  color: #fff;
  font-weight: var(--st-font-weight-semibold);
  letter-spacing: var(--st-letter-spacing-brand);
}
.footer__tagline {
  margin: 0 0 1rem;
  font-size: var(--st-font-size-sm);
  max-width: 22rem;
  line-height: 1.5;
}
.footer__heading {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: var(--st-font-size-xs);
  font-weight: var(--st-font-weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--st-font-size-sm);
  line-height: 1.5;
}
.footer__contact li {
  margin: 0 0 0.55rem;
}
.footer__contact li:last-child {
  margin-bottom: 0;
}
.footer__contact-label {
  display: block;
  margin-bottom: 0.1rem;
  color: rgba(226, 232, 240, 0.55);
  font-size: 0.75rem;
}
.footer__nav,
.footer__links {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--st-font-size-sm);
}
.footer__copy {
  margin: 0.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--st-border-dark);
  font-size: var(--st-font-size-xs);
}

/* ═══════════════════════════════════════════
   Pricing / About / Refs / Forms / Legal
   ═══════════════════════════════════════════ */

.price-cards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .price-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .price-cards { grid-template-columns: repeat(3, 1fr); }
}
.price-card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--st-radius-xl);
  border: 1px solid var(--st-border);
  background: #fff;
  box-shadow: var(--st-shadow-sm);
}
.price-card--featured {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15), var(--st-shadow-md);
}
.price-card__badge {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--st-radius-full);
  background: var(--st-royal-muted);
  color: var(--st-royal);
  font-size: var(--st-font-size-xs);
  font-weight: var(--st-font-weight-semibold);
}
.price-card__price {
  margin: 0.35rem 0 1rem;
  font-size: 1.65rem;
  font-weight: var(--st-font-weight-bold);
  color: var(--st-heading);
}
.price-card ul {
  list-style: none;
  margin: 0 0 1.35rem;
}
.price-card li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.25rem;
  color: var(--st-text-muted);
  font-size: var(--st-font-size-sm);
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--st-royal);
}

.note-box {
  padding: 1.25rem 1.35rem;
  border-radius: var(--st-radius-lg);
  border: 1px solid rgba(37, 99, 235, 0.2);
  background: var(--st-royal-soft);
  color: var(--st-text);
  font-size: var(--st-font-size-sm);
}

.empty-state,
.reference-own {
  padding: 1.75rem;
  border-radius: var(--st-radius-lg);
  border: 1px solid var(--st-border);
  background: #fff;
  margin-bottom: 1rem;
}
.reference-own__category {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--st-royal);
  font-size: 0.75rem;
  font-weight: var(--st-font-weight-semibold);
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.4;
}

.section__intro--reasons {
  max-width: 48rem;
  margin-bottom: 3.25rem; /* 52px – Gewicht für das Versprechen */
}
.text-royal {
  color: var(--st-royal);
}

.why-list {
  display: grid;
  gap: 1rem;
  list-style: none;
}
@media (min-width: 700px) {
  .why-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .why-list--reasons { grid-template-columns: repeat(3, 1fr); }
}
.why-list li {
  padding: 1.35rem;
  border-radius: var(--st-radius-lg);
  border: 1px solid var(--st-border);
  background: #fff;
}
.why-list h3 { margin-bottom: 0.35rem; }
.why-list p { margin: 0; color: var(--st-text-muted); font-size: var(--st-font-size-sm); }
.why-list__lead {
  margin: 0 0 0.55rem !important;
  color: var(--st-heading) !important;
  font-weight: var(--st-font-weight-medium);
  line-height: 1.45;
}

.why-list--reasons {
  counter-reset: why-reason;
}
.why-list--reasons > li {
  counter-increment: why-reason;
}
.why-list--reasons > li::before {
  content: counter(why-reason, decimal-leading-zero);
  display: block;
  margin-bottom: 0.7rem;
  color: var(--st-text-muted);
  font-size: var(--st-font-size-xs);
  font-weight: var(--st-font-weight-semibold);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.why-list--reasons h3 {
  margin-bottom: 0.7rem; /* 11px – Titel klar vom Text trennen */
}

.why-close {
  margin-top: var(--st-space-lg);
  padding-top: var(--st-space-md);
  border-top: 1px solid var(--st-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}
.why-close__text {
  margin: 0;
  max-width: 28rem;
  color: var(--st-heading);
  font-size: var(--st-font-size-lg);
  font-weight: var(--st-font-weight-semibold);
  line-height: var(--st-line-height-tight);
}
.why-close__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
}
.why-close__link {
  color: var(--st-heading);
  font-size: var(--st-font-size-sm);
  font-weight: var(--st-font-weight-semibold);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.why-close__link:hover {
  color: var(--st-royal);
}

.about-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}
@media (min-width: 800px) {
  .about-grid { grid-template-columns: 1.45fr 0.7fr; }
}
.about-content p { color: var(--st-text-muted); }
.about-meta {
  margin: 0;
}
.about-points {
  list-style: none;
  margin: 0;
  padding: 0.85rem 1.1rem;
  border-radius: var(--st-radius-md);
  background: var(--st-bg-alt);
  border: 1px solid var(--st-border);
}
.about-points li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--st-border-light);
  font-size: var(--st-font-size-sm);
  line-height: 1.4;
  color: var(--st-heading);
}
.about-points li:last-child {
  border-bottom: 0;
  padding-bottom: 0.15rem;
}
.about-points li:first-child {
  padding-top: 0.15rem;
}

.team-photo {
  margin: 0 0 1.75rem;
  border-radius: var(--st-radius-lg);
  overflow: hidden;
  border: 1px solid var(--st-border);
  background: transparent;
}
.team-photo[hidden],
.team-profile__media[hidden] {
  display: none !important;
}
.team-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.team-profiles {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .team-profiles { grid-template-columns: 1fr 1fr; }
}
.team-profile {
  padding: 1.35rem;
  border-radius: var(--st-radius-lg);
  border: 1px solid var(--st-border);
  background: #fff;
}
.team-profile__media {
  margin: 0 0 1rem;
  border-radius: var(--st-radius-md);
  overflow: hidden;
  border: 1px solid var(--st-border-light);
  aspect-ratio: 1 / 1;
  max-width: 12rem;
}
.team-profile__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-profile h3 {
  margin: 0 0 0.25rem;
  font-size: var(--st-font-size-lg);
}
.team-profile__role {
  margin: 0 0 0.15rem;
  color: var(--st-text);
  font-size: var(--st-font-size-sm);
}
.team-profile__org {
  margin: 0;
  color: var(--st-text-muted);
  font-size: var(--st-font-size-sm);
}

.pub-list { list-style: none; display: grid; gap: 0.85rem; }
.pub-item {
  padding: 1.25rem 1.35rem;
  border-radius: var(--st-radius-lg);
  border: 1px solid var(--st-border);
  background: #fff;
}
.pub-item__meta {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--st-text-muted);
  font-size: var(--st-font-size-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
}
.contact-aside {
  padding: 1.5rem;
  border-radius: var(--st-radius-lg);
  border: 1px solid var(--st-border);
  background: var(--st-bg-alt);
}
.contact-aside__email {
  font-weight: var(--st-font-weight-semibold);
}
.contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.contact-quick a {
  display: inline-flex;
  padding: 0.4rem 0.7rem;
  border-radius: var(--st-radius-full);
  background: #fff;
  border: 1px solid var(--st-border);
  color: var(--st-text);
  text-decoration: none;
  font-size: var(--st-font-size-xs);
  font-weight: var(--st-font-weight-semibold);
}
.contact-quick a:hover {
  border-color: rgba(37, 99, 235, 0.4);
  color: var(--st-royal);
}

.form {
  padding: 1.75rem;
  border-radius: var(--st-radius-xl);
  border: 1px solid var(--st-border);
  background: #fff;
  box-shadow: var(--st-shadow-sm);
}
.form__intro {
  margin-bottom: 1.25rem;
  color: var(--st-text-muted);
  font-size: var(--st-font-size-sm);
}
.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.form-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
  .form-field--full { grid-column: 1 / -1; }
}
.form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: var(--st-font-size-sm);
  font-weight: var(--st-font-weight-medium);
  color: var(--st-heading);
}
.form-label--required::after {
  content: " *";
  color: var(--st-royal);
}

.need-choices {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}
.need-choices > .form-label {
  float: none;
  padding: 0;
}
.need-choices__hint {
  margin: 0 0 0.85rem;
  color: var(--st-text-muted);
  font-size: var(--st-font-size-sm);
}
.need-choices__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}
@media (min-width: 640px) {
  .need-choices__grid {
    grid-template-columns: 1fr 1fr;
  }
}
.need-choice {
  display: block;
  margin: 0;
  cursor: pointer;
}
.need-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.need-choice__card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.4rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-md);
  background: var(--st-bg-alt);
  color: var(--st-heading);
  transition:
    border-color var(--st-transition-fast),
    background var(--st-transition-fast),
    box-shadow var(--st-transition-fast);
}
.need-choice__label {
  flex: 1 1 auto;
  font-size: var(--st-font-size-sm);
  font-weight: var(--st-font-weight-semibold);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.need-choice__mark {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 0.28rem;
  border: 0;
  background: transparent;
  opacity: 0;
  position: relative;
  transition: opacity var(--st-transition-fast), background var(--st-transition-fast);
}
.need-choice__mark::after {
  content: "";
  position: absolute;
  left: 0.34rem;
  top: 0.12rem;
  width: 0.34rem;
  height: 0.62rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.need-choice:hover .need-choice__card {
  border-color: rgba(37, 99, 235, 0.5);
  background: #fff;
}
.need-choice input:focus-visible + .need-choice__card {
  border-color: var(--st-royal);
  box-shadow: 0 0 0 3px var(--st-royal-muted);
}
.need-choice input:checked + .need-choice__card {
  border-color: var(--st-royal);
  background: var(--st-royal-soft);
  box-shadow: inset 0 0 0 1px var(--st-royal);
  color: var(--st-heading);
}
.need-choice input:checked + .need-choice__card .need-choice__mark {
  opacity: 1;
  background: var(--st-royal);
}
.need-choice input:checked + .need-choice__card .need-choice__label {
  color: var(--st-heading);
}
#service-field.is-invalid .need-choice__card {
  border-color: rgba(185, 28, 28, 0.35);
}
#service-field.is-invalid .need-choices__hint {
  color: var(--st-error);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-md);
  background: #fff;
  color: var(--st-text);
  transition: border-color var(--st-transition-fast), box-shadow var(--st-transition-fast);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--st-royal);
  box-shadow: 0 0 0 3px var(--st-royal-muted);
}
.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: var(--st-error);
}
.form-textarea { min-height: 8rem; resize: vertical; }
.form-checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: var(--st-font-size-sm);
  color: var(--st-text-muted);
}
.form-checkbox input { margin-top: 0.2rem; }
.form-actions { margin-top: 1.25rem; }
.form-optional {
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-md);
  padding: 0.75rem 1rem;
  background: var(--st-bg-alt);
}
.form-optional summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--st-heading);
  font-size: var(--st-font-size-sm);
}

.alert {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--st-radius-md);
  font-size: var(--st-font-size-sm);
}
.alert--success { background: var(--st-success-bg); color: var(--st-success); }
.alert--error { background: var(--st-error-bg); color: var(--st-error); }
.alert--info { background: var(--st-info-bg); color: var(--st-royal); }

.legal-page {
  padding: 50px 0 4rem;
}
.legal-page .container { max-width: 46rem; }
.legal-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: var(--st-font-size-sm);
  text-decoration: none;
}
.legal-page h2 {
  margin-top: 2rem;
  font-size: 1.2rem;
}
.legal-page p,
.legal-page li { color: var(--st-text-muted); }
.legal-disclaimer {
  margin-top: 2rem;
  font-size: var(--st-font-size-sm);
  color: #94a3b8 !important;
}

.error-page {
  padding: 50px 0 6rem;
  text-align: left;
}
.error-page__code {
  margin: 0 0 0.5rem;
  color: var(--st-royal);
  font-size: 3rem;
  font-weight: var(--st-font-weight-bold);
  letter-spacing: var(--st-letter-spacing-brand);
}

.faq-list { display: grid; gap: 0.65rem; }
.faq-item {
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-md);
  background: #fff;
  padding: 0 1rem;
}
.faq-item summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: var(--st-font-weight-semibold);
  color: var(--st-heading);
}
.faq-item__answer {
  padding: 0 0 1rem;
  color: var(--st-text-muted);
  font-size: var(--st-font-size-sm);
}

.payment-note,
.payment-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.payment-note__item {
  display: inline-flex;
  padding: 0.3rem 0.65rem;
  border-radius: var(--st-radius-full);
  border: 1px solid var(--st-border);
  background: #fff;
  font-size: var(--st-font-size-xs);
  color: var(--st-text-muted);
  font-weight: var(--st-font-weight-medium);
}
.cta-band .payment-note__item,
.section--dark .payment-note__item {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--st-border-dark);
  color: var(--st-text-inverse-muted);
}
.payment-strip {
  justify-content: center;
  margin-top: 1.5rem;
}

/* Header sits over dark hero */
body { padding-top: 0; }
body:has(.hero) .header,
body:has(.page-hero) .header {
  position: fixed;
  width: 100%;
}
body:has(.hero) { padding-top: 0; }
body:has(.page-hero) main { padding-top: 0; }
body:has(.hero) .hero {
  padding-top: calc(var(--st-header-height) + 50px);
}

@supports not selector(body:has(.hero)) {
  .header { position: sticky; }
}

/* Danke-Seite nach Kontaktformular */
.thanks {
  padding: calc(var(--st-header-height) + 2.75rem) 0 4rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(37, 99, 235, 0.06), transparent 60%),
    var(--st-bg);
}
.thanks__inner {
  max-width: 40rem;
  text-align: center;
}
.thanks__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--st-success-bg);
  color: var(--st-success);
  font-size: 1.15rem;
  font-weight: var(--st-font-weight-semibold);
  line-height: 1;
}
.thanks h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  line-height: var(--st-line-height-tight);
  color: var(--st-heading);
}
.thanks__lead {
  margin: 0 auto 2.25rem;
  max-width: 34rem;
  color: var(--st-text-muted);
  font-size: var(--st-font-size-base);
}
.thanks__next {
  text-align: left;
  margin-bottom: 1.75rem;
}
.thanks__next h2 {
  margin: 0 0 1rem;
  text-align: center;
  font-size: var(--st-font-size-lg);
  color: var(--st-heading);
}
.thanks-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .thanks-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}
.thanks-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
}
@media (min-width: 720px) {
  .thanks-steps li {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
}
.thanks-steps__num {
  font-size: var(--st-font-size-xs);
  font-weight: var(--st-font-weight-semibold);
  letter-spacing: 0.06em;
  color: var(--st-royal);
}
.thanks-steps__title {
  margin: 0 0 0.25rem;
  font-weight: var(--st-font-weight-semibold);
  color: var(--st-heading);
  font-size: var(--st-font-size-sm);
}
.thanks-steps p {
  margin: 0;
  font-size: var(--st-font-size-sm);
  color: var(--st-text-muted);
  line-height: 1.5;
}
.thanks__sla {
  margin: 0 auto 1.75rem;
  max-width: 30rem;
  font-weight: var(--st-font-weight-medium);
  color: var(--st-heading);
  font-size: var(--st-font-size-base);
}
.thanks__urgent {
  margin: 0 auto 2rem;
  max-width: 28rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--st-border);
}
.thanks__urgent-title {
  margin: 0 0 0.4rem;
  font-weight: var(--st-font-weight-semibold);
  color: var(--st-heading);
  font-size: var(--st-font-size-sm);
}
.thanks__urgent p {
  margin: 0;
  color: var(--st-text-muted);
  font-size: var(--st-font-size-sm);
}
.thanks__urgent a {
  color: var(--st-royal);
  text-decoration: none;
  font-weight: var(--st-font-weight-medium);
}
.thanks__urgent a:hover {
  text-decoration: underline;
}
.thanks__sep {
  margin: 0 0.35rem;
  color: var(--st-text-muted);
}
.thanks__cta {
  margin: 0;
}
.thanks__link {
  color: var(--st-royal);
  text-decoration: none;
  font-weight: var(--st-font-weight-semibold);
  font-size: var(--st-font-size-sm);
}
.thanks__link:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════
   Mobile & Tablet
   ═══════════════════════════════════════════ */

@media (max-width: 1023px) {
  .hero {
    min-height: 0;
    padding: 2.5rem 0 2.75rem;
  }

  .page-hero {
    padding: calc(var(--st-header-height) + 1.65rem) 0 2.15rem;
  }

  .hero__grid {
    gap: 2rem;
  }

  .hero__actions,
  .page-hero__actions,
  .service-tile__actions,
  .service-section__cta,
  .cta-band__actions,
  .cta-next__actions {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .hero__actions .btn,
  .page-hero__actions .btn,
  .service-tile__actions .btn,
  .service-section__cta .btn,
  .cta-band__actions .btn,
  .cta-next__actions .btn,
  .cta-next__btn,
  .header .btn,
  .nav__cta .btn {
    width: auto;
    max-width: 100%;
    flex: 0 1 auto;
  }

  .btn {
    min-height: 2.75rem;
    padding: 0.65rem 1.15rem;
  }

  .btn--sm {
    min-height: 2.35rem;
    padding: 0.45rem 0.9rem;
  }

  .btn--block {
    width: 100%;
  }

  .section {
    padding: 3rem 0;
  }

  .service-tile {
    padding: 1.25rem 1.2rem;
  }

  .nav {
    padding: 1rem var(--st-gutter) 1.5rem;
  }
}

@media (max-width: 699px) {
  .hero h1,
  .page-hero h1 {
    max-width: none;
  }

  .hero__subtitle {
    font-size: var(--st-font-size-base);
  }

  .page-hero__subtitle {
    font-size: 1.05rem;
  }

  .hero__actions,
  .page-hero__actions,
  .service-tile__actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .service-section__cta {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.5rem;
  }

  .service-section__cta .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding-inline: 0.7rem;
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .cta-next__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cta-next__btn {
    width: auto;
    border-radius: var(--st-btn-radius);
  }

  .process-card {
    flex-basis: min(18.75rem, 100%);
  }

  .footer__cols {
    gap: 1.5rem;
  }
}
