:root {
  --bg: #000000;
  --ink: #ffffff;
  --muted: #c9cfda;
  --accent: #2a8a95;
  --accent-strong: #206e77;
  --accent-ink: #ffffff;
  --panel: #08090d;
  --panel-card-1: rgb(23, 26, 35);
  --panel-card-2: rgb(14, 16, 24);
  --panel-text: #f2f6ff;
  --panel-subtle: #b2bdd1;
  --nav-bg: linear-gradient(180deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.78));
  --nav-border: rgba(255, 255, 255, 0.1);
  --nav-link: #e9edf8;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: Syne, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  position: relative;
}

body.is-loading {
  overflow: hidden;
}

body.light-mode {
  --bg: #f3f4f7;
  --ink: #12151f;
  --muted: #4e5564;
  --panel: #eceef3;
  --panel-card-1: rgb(248, 248, 251);
  --panel-card-2: rgb(236, 238, 244);
  --panel-text: #131821;
  --panel-subtle: #424a58;
  --nav-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 248, 251, 0.86));
  --nav-border: rgba(16, 20, 31, 0.14);
  --nav-link: #171c27;
  background:
    radial-gradient(circle at 78% 16%, rgba(139, 233, 247, 0.34), transparent 16%),
    radial-gradient(circle at 74% 44%, rgba(139, 233, 247, 0.2), transparent 22%),
    radial-gradient(circle at 88% 72%, rgba(139, 233, 247, 0.12), transparent 22%),
    linear-gradient(180deg, #f6f7fa 0%, #eef2f7 100%);
}

#particles-js {
  position: fixed;
  inset: 0;
  z-index: -2;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(125, 226, 244, 0.18), transparent 20%),
    linear-gradient(180deg, rgba(248, 250, 253, 0.98), rgba(238, 243, 248, 0.98));
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader-inner {
  width: min(280px, calc(100vw - 3rem));
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.site-loader-mark {
  position: relative;
  padding: 1.1rem 1.4rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(205, 220, 233, 0.85);
  box-shadow:
    0 18px 40px rgba(143, 163, 185, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.site-loader-mark::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 1.9rem;
  background: radial-gradient(circle, rgba(122, 222, 240, 0.18), transparent 70%);
  filter: blur(14px);
  z-index: -1;
  animation: loaderGlow 1.8s ease-in-out infinite;
}

.site-loader-logo {
  width: min(200px, 52vw);
  height: auto;
  display: block;
  animation: loaderFloat 1.8s ease-in-out infinite;
}

.site-loader-bar {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(207, 217, 228, 0.75);
}

.site-loader-bar-fill {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2d7b88, #68d3e5);
  animation: loaderBar 1.2s ease-in-out infinite;
}

@keyframes loaderFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes loaderGlow {
  0%, 100% { opacity: 0.6; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes loaderBar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

.hero-intro-image {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
}

.hero-intro-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
}

.nav {
  width: 100%;
  margin: 0;
  min-height: 0;
  padding: 0.2rem 0;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--nav-border);
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.nav-inner {
  width: min(1560px, calc(100% - 1.1rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0.25rem 0.45rem;
  margin: 0;
  color: var(--ink);
  text-decoration: none;
  font-family: Syne, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.nav-brand-logo {
  width: 150px;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  padding: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-menu {
  display: none;
}

.mobile-menu.is-open {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  border-radius: 999px;
  color: var(--nav-link);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.nav-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 214, 255, 0.42);
  background: linear-gradient(120deg, rgba(124, 214, 255, 0.14), rgba(138, 107, 255, 0.1));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.nav-links .nav-cta {
  border-color: rgba(31, 111, 120, 0.65);
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: var(--accent-ink);
  box-shadow: 0 10px 24px rgba(31, 111, 120, 0.34);
}

.theme-toggle {
  min-height: 40px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--nav-link);
  font-family: Syne, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 214, 255, 0.42);
  background: linear-gradient(120deg, rgba(124, 214, 255, 0.14), rgba(138, 107, 255, 0.1));
}

main {
  min-height: 100vh;
  position: relative;
}

body.light-mode main::before,
body.light-mode main::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1100px;
  pointer-events: none;
  z-index: -1;
}

body.light-mode main::before {
  background:
    radial-gradient(circle at 70% 28%, rgba(255, 255, 255, 0.84) 0, rgba(255, 255, 255, 0) 24%),
    linear-gradient(120deg, rgba(255, 255, 255, 0) 52%, rgba(139, 236, 246, 0.18) 78%, rgba(255, 255, 255, 0) 100%);
}

body.light-mode main::after {
  opacity: 0.34;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 1px, transparent 1.5px),
    linear-gradient(rgba(121, 150, 174, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 150, 174, 0.08) 1px, transparent 1px);
  background-size: 22px 22px, 22px 22px, 22px 22px;
  background-position: 0 0, 74% 10%, 74% 10%;
  mask: linear-gradient(90deg, transparent 40%, rgba(0, 0, 0, 0.95) 58%);
}

[id] {
  scroll-margin-top: 96px;
}

.hero {
  width: min(1560px, calc(100% - 1.1rem));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: clamp(122px, 16vh, 152px) 0 64px;
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(620px, 1.25fr) clamp(3rem, 6vw, 7rem) minmax(520px, 0.85fr);
  align-items: center;
  gap: 0;
}

.hero-kicker {
  margin: 0 0 1rem;
  color: #eceff7;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-copy {
  grid-column: 1;
  transform: none;
  padding-right: 0;
}

.hero-title {
  margin: 0;
  font-family: Syne, sans-serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: .96;
  letter-spacing: -0.02em;
  max-width: 30ch;
}

.hero-stack {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: .98rem;
}

.hero-media {
  grid-column: 3;
  width: min(660px, 44vw);
  justify-self: end;
  margin-left: 0;
  border-radius: 0;
  overflow: visible;
  border: 0;
  box-shadow: none;
  transform: perspective(1200px) rotateY(-14deg) rotateX(2deg);
  transform-style: preserve-3d;
  will-change: auto;
  transition: none;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  will-change: auto;
}

.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.hero-scroll-indicator span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(45deg);
  animation: heroArrow 1.4s infinite;
}

.hero-scroll-indicator span:last-child {
  animation-delay: .24s;
  transform: translateY(-7px) rotate(45deg);
}

@keyframes heroArrow {
  0% { opacity: 0; transform: translateY(-8px) rotate(45deg); }
  45% { opacity: 1; }
  100% { opacity: 0; transform: translateY(7px) rotate(45deg); }
}

.services-stack {
  width: 100%;
  margin-top: 7rem;
  background:
    radial-gradient(circle at 82% 14%, rgba(124, 84, 255, 0.14), transparent 34%),
    radial-gradient(circle at 66% 74%, rgba(72, 207, 255, 0.12), transparent 30%),
    var(--panel);
  color: var(--panel-text);
  min-height: auto;
  padding-bottom: 4rem;
}

.services-inner {
  width: min(1560px, calc(100% - 1.1rem));
  margin: 0 auto;
  padding-top: 180px;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(520px, 1fr);
  gap: clamp(2.2rem, 5vw, 5rem);
  align-items: start;
}

.services-left {
  position: sticky;
  top: 200px;
  align-self: start;
  transform: none;
  padding: 0;
  min-height: calc(100vh - 178px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.services-left h2 {
  margin: 0;
  color: var(--panel-text);
  font-size: clamp(2rem, 4.2vw, 4.5rem);
  line-height: 0.96;
  max-width: 13ch;
}

.services-subline {
  margin: 1rem 0 0;
  max-width: 46ch;
  color: color-mix(in srgb, var(--panel-text) 78%, #8a90a0);
  font-size: clamp(0.98rem, 1.05vw, 1.12rem);
  line-height: 1.55;
}

.services-kicker {
  margin: 0 0 1rem;
  color: color-mix(in srgb, var(--panel-text) 55%, #8a90a0);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.services-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  grid-column: 1 / -1;
  justify-self: center;
  
  /* 1. ABSTAND ERHÖHEN */
  /* 2rem ist zu wenig, da die Cards "stacken". 
     Nutze 6rem (ca. 96px), damit der Button unter dem Stack landet. */
  margin-top: 6rem; 
  
  /* 2. EBENE ERHÖHEN */
  /* Zwingt den Button, über der (eventuell unsichtbaren) 
     Box der letzten Karte zu liegen */
  position: relative;
  z-index: 99;

  /* Rest bleibt exakt gleich */
  min-height: 46px;
  padding: 0 1.5rem; /* Etwas mehr seitliches Padding für die Optik */
  border-radius: 999px;
  border: 1px solid rgba(31, 111, 120, 0.72);
  color: var(--accent-ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  box-shadow: 0 10px 24px rgba(31, 111, 120, 0.32);
  backdrop-filter: blur(8px);
}

.services-cta:hover {
  background: linear-gradient(120deg, #2a828c, #1a6670);
  border-color: rgba(31, 111, 120, 0.9);
}

.services-cta span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

body.light-mode .services-cta {
  border-color: rgba(31, 111, 120, 0.66);
  color: var(--accent-ink);
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  box-shadow: 0 8px 20px rgba(31, 111, 120, 0.28);
}

body.light-mode .services-cta:hover {
  background: linear-gradient(120deg, #2a828c, #1a6670);
  border-color: rgba(31, 111, 120, 0.92);
}

.services-right {
  padding: 0;
}

.services-cards {
  position: sticky;
  top: 200px;
  transform: none;
  height: calc(100vh - 255px);
  padding-top: 0;
  width: min(92%, 780px);
  margin: 0 auto;
}

.service-card {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, var(--panel-card-1), var(--panel-card-2));
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(110, 214, 255, 0.07) inset;
  padding: 2.3rem 2.15rem;
  color: var(--panel-text);
  will-change: transform;
}

.service-card h3 {
  margin: 1.5rem 0 0.9rem;
  font-size: clamp(1.65rem, 2.2vw, 2.7rem);
  line-height: 1.04;
}

.service-card p {
  margin: 0;
  color: var(--panel-subtle);
  font-size: clamp(1.02rem, 1.22vw, 1.18rem);
  line-height: 1.56;
  max-width: 60ch;
}

.service-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  border-radius: 0 24px 0 24px;
  background: linear-gradient(120deg, #0c1018, #141b2c);
  color: #f4f7ff;
  font-size: 0.95rem;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.service-badge:hover {
  filter: brightness(1.16);
  transform: translateY(-1px);
}

.references {
  width: 100%;
  padding: 6.5rem 0 7rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(72, 207, 255, 0.08), transparent 35%),
    radial-gradient(circle at 85% 65%, rgba(124, 84, 255, 0.1), transparent 32%),
    var(--bg);
}

.references-inner {
  width: min(1560px, calc(100% - 1.1rem));
  margin: 0 auto;
  text-align: center;
}

.references-kicker {
  margin: 0 0 0.9rem;
  color: color-mix(in srgb, var(--ink) 52%, #8a90a0);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.references-title {
  margin: 0 0 2rem;
  font-size: clamp(1.9rem, 4vw, 3.5rem);
  line-height: 0.98;
  max-width: 18ch;
  margin-inline: auto;
}

.references-carousel {
  position: relative;
}

.references-viewport {
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.references-viewport::-webkit-scrollbar {
  display: none;
}

.references-track {
  display: flex;
  gap: 1rem;
  align-items: stretch;
}

.reference-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 2rem) / 3);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  scroll-snap-align: start;
}

.reference-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.reference-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem 1.2rem;
}

.reference-content h3 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  line-height: 1.05;
}

.reference-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.reference-more {
  margin-top: auto;
  align-self: flex-start;
  min-height: 42px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 111, 120, 0.68);
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: var(--accent-ink);
  font-family: Syne, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.reference-more:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 111, 120, 0.92);
  background: linear-gradient(120deg, #2a828c, #1a6670);
}

.references-nav {
  position: absolute;
  top: -3.1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(31, 111, 120, 0.65);
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

.references-nav.prev {
  right: 3rem;
}

.references-nav.next {
  right: 0;
}

.ref-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.ref-modal.is-open {
  display: block;
}

.ref-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 14, 0.66);
  backdrop-filter: blur(4px);
}

.ref-modal-dialog {
  position: relative;
  width: min(760px, calc(100% - 1rem));
  max-height: min(84vh, 760px);
  margin: min(10vh, 90px) auto 0;
  padding: 1.25rem 1.25rem 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(165deg, #111621, #0d111a);
  color: #f2f6ff;
  overflow: auto;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.ref-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.8rem;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.ref-modal-dialog h3 {
  margin: 0;
  padding-right: 2.3rem;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.04;
}

.ref-modal-dialog p {
  margin: 1rem 0 0;
  color: #c5cee0;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.6;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
}

.contact-modal.is-open {
  display: block;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 15, 0.7);
  backdrop-filter: blur(6px);
}

.contact-modal-dialog {
  position: relative;
  width: min(900px, calc(100% - 1rem));
  margin: min(8vh, 64px) auto 0;
  padding: 1rem 1rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(165deg, #0f1520, #0a1018);
  color: #eff4ff;
  box-shadow: 0 30px 64px rgba(0, 0, 0, 0.5);
}

.contact-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.contact-progress {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  overflow: hidden;
}

.contact-progress-bar {
  width: 20%;
  height: 100%;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  transition: width 0.25s ease;
}

#contact-form {
  margin-top: 1rem;
}

.contact-step {
  display: none;
}

.contact-step.is-active {
  display: block;
}

.contact-step-label {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aeb8cc;
}

.contact-step h3 {
  margin: 0.65rem 0 1rem;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.04;
}

.contact-step input,
.contact-step select,
.contact-step textarea {
  width: 100%;
  margin: 0 0 0.75rem;
  min-height: 54px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #f3f7ff;
  font-family: Syne, sans-serif;
  font-size: 1.02rem;
  padding: 0.8rem 0.9rem;
}

.contact-step textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-step input::placeholder,
.contact-step textarea::placeholder {
  color: #9ea9bf;
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #c2cbdd;
  font-size: 0.92rem;
  line-height: 1.45;
}

.contact-consent input {
  width: 18px;
  min-height: 18px;
  margin: 0.15rem 0 0;
}

.contact-error {
  min-height: 1.2rem;
  margin: 0.25rem 0 0;
  color: #ff8e8e;
  font-size: 0.9rem;
}

.contact-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 0.45rem;
}

.contact-back,
.contact-next,
.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 111, 120, 0.65);
  font-family: Syne, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.contact-back {
  background: rgba(255, 255, 255, 0.08);
  color: #d8e1f3;
}

.contact-next,
.contact-submit {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #fff;
}

.contact-submit {
  display: none;
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: none;
}

.success-modal.is-open {
  display: block;
}

.success-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 15, 0.55);
  backdrop-filter: blur(4px);
}

.success-modal-dialog {
  position: relative;
  width: min(520px, calc(100% - 1rem));
  margin: min(18vh, 120px) auto 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(165deg, #121a26, #0f1721);
  color: #eef4ff;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42);
  padding: 1.2rem 1rem 1rem;
  text-align: center;
}

.success-check {
  width: 78px;
  height: 78px;
  margin: 0 auto 0.65rem;
}

.success-check svg {
  width: 100%;
  height: 100%;
}

.success-check-circle {
  stroke: #2fbe72;
  stroke-width: 3;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: successCircle 0.55s ease forwards;
}

.success-check-mark {
  stroke: #2fbe72;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 38;
  stroke-dashoffset: 38;
  animation: successMark 0.42s ease 0.35s forwards;
}

.success-modal-dialog h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.success-modal-dialog p {
  margin: 0.6rem 0 0;
  color: #b7c3da;
}

.success-close-btn {
  margin-top: 1rem;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 111, 120, 0.7);
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-family: Syne, sans-serif;
  font-weight: 700;
  cursor: pointer;
}

@keyframes successCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes successMark {
  to { stroke-dashoffset: 0; }
}

.cta-section {
  position: relative;
  width: 100%;
  margin-top: 0;
  min-height: 78vh;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 22%, rgba(139, 233, 247, 0.18), transparent 24%),
    radial-gradient(circle at 82% 74%, rgba(139, 233, 247, 0.12), transparent 20%),
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.38), transparent 28%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 2rem));
  text-align: center;
  color: #172131;
}

.cta-kicker {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.78rem;
  color: #4a5262;
}

.cta-inner h2 {
  margin: 0;
  max-width: 13ch;
  margin-inline: auto;
  font-size: clamp(2.3rem, 5.2vw, 4.9rem);
  line-height: 0.88;
  text-transform: uppercase;
  color: #131821;
  letter-spacing: -0.045em;
}

.cta-inner p {
  margin: 1.25rem auto 0;
  max-width: 40ch;
  color: #4a5262;
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  line-height: 1.45;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.9rem;
  min-height: 50px;
  padding: 0 1.7rem;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(31, 111, 120, 0.66);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.site-footer {
  width: 100%;
  background: linear-gradient(180deg, #0b0e15, #080b10);
  color: #f2f5ff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-inner {
  width: min(1560px, calc(100% - 1.1rem));
  margin: 0 auto;
  padding: 3rem 0 2rem;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand h3 {
  margin: 0;
  font-size: 0;
  display: inline-flex;
  align-items: center;
  padding: 0;
}

.footer-brand-logo {
  width: 220px;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  padding: 0;
}

.footer-brand p {
  margin: 0.9rem 0 0;
  max-width: 42ch;
  color: #b9c2d5;
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.footer-links h4,
.footer-contact h4 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d6deef;
}

.footer-links a,
.footer-contact a {
  color: #aeb8cc;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #ffffff;
}

.footer-contact p {
  margin: 0.3rem 0 0;
  color: #aeb8cc;
}

.footer-bottom {
  width: min(1560px, calc(100% - 1.1rem));
  margin: 0 auto;
  min-height: 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  color: #95a0b8;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-legal a {
  color: #dfe5f3;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-legal a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

body.light-mode .nav-links .nav-cta {
  border-color: rgba(31, 111, 120, 0.65);
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: var(--accent-ink);
}

body.light-mode .nav-toggle {
  border-color: rgba(16, 20, 31, 0.25);
  background: rgba(16, 20, 31, 0.06);
}

body.light-mode .nav-toggle span {
  background: #171c27;
}

body.light-mode .theme-toggle {
  border-color: rgba(16, 20, 31, 0.25);
  background: rgba(16, 20, 31, 0.06);
}

body.light-mode .hero-kicker {
  color: #384052;
}

body.light-mode .hero-media {
  border-color: transparent;
  box-shadow: none;
}

body.light-mode .service-card {
  border-color: rgba(16, 20, 31, 0.14);
  box-shadow: 0 16px 32px rgba(20, 22, 28, 0.14);
}

body.light-mode .service-badge {
  background: #0f131b;
  color: #f5f8ff;
}

body.light-mode .references {
  background:
    radial-gradient(circle at 20% 20%, rgba(20, 24, 34, 0.06), transparent 35%),
    radial-gradient(circle at 85% 65%, rgba(20, 24, 34, 0.08), transparent 32%),
    var(--bg);
}

body.light-mode .reference-card {
  border-color: rgba(16, 20, 31, 0.14);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(246, 248, 252, 0.95));
  box-shadow: 0 14px 28px rgba(16, 20, 31, 0.12);
}

body.light-mode .reference-content p {
  color: #4a5262;
}

body.light-mode .reference-more {
  border-color: rgba(31, 111, 120, 0.66);
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: var(--accent-ink);
}

body.light-mode .reference-more:hover {
  border-color: rgba(31, 111, 120, 0.92);
  background: linear-gradient(120deg, #2a828c, #1a6670);
}

body.light-mode .references-nav {
  border-color: rgba(31, 111, 120, 0.66);
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
}

body.light-mode .ref-modal-backdrop {
  background: rgba(22, 28, 40, 0.3);
}

body.light-mode .ref-modal-dialog {
  border-color: rgba(16, 20, 31, 0.16);
  background: linear-gradient(165deg, #ffffff, #f2f5fa);
  color: #121722;
  box-shadow: 0 24px 52px rgba(16, 20, 31, 0.24);
}

body.light-mode .ref-modal-close {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: var(--accent-ink);
}

body.light-mode .ref-modal-dialog p {
  color: #444d60;
}

body.light-mode .contact-modal-backdrop {
  background: rgba(23, 29, 42, 0.35);
}

body.light-mode .contact-modal-dialog {
  border-color: rgba(16, 20, 31, 0.16);
  background: linear-gradient(165deg, #ffffff, #f2f5fa);
  color: #121722;
  box-shadow: 0 24px 54px rgba(16, 20, 31, 0.26);
}

body.light-mode .contact-step-label {
  color: #5a6376;
}

body.light-mode .contact-step input,
body.light-mode .contact-step select,
body.light-mode .contact-step textarea {
  border-color: rgba(16, 20, 31, 0.18);
  background: rgba(16, 20, 31, 0.04);
  color: #131821;
}

body.light-mode .contact-step input::placeholder,
body.light-mode .contact-step textarea::placeholder,
body.light-mode .contact-consent {
  color: #566077;
}

body.light-mode .contact-back {
  background: rgba(16, 20, 31, 0.08);
  color: #1b2538;
}

body.light-mode .contact-error {
  color: #b43d3d;
}

body.light-mode .success-modal-backdrop {
  background: rgba(22, 30, 43, 0.28);
}

body.light-mode .success-modal-dialog {
  border-color: rgba(16, 20, 31, 0.16);
  background: linear-gradient(165deg, #ffffff, #f2f5fa);
  color: #121722;
}

body.light-mode .success-modal-dialog p {
  color: #4d586f;
}

body.light-mode .cta-section {
  background:
    radial-gradient(circle at 22% 22%, rgba(16, 20, 31, 0.04), transparent 44%),
    radial-gradient(circle at 80% 68%, rgba(16, 20, 31, 0.05), transparent 42%),
    linear-gradient(180deg, rgba(247, 248, 251, 0.3), rgba(238, 241, 246, 0.34));
  border-top: 1px solid rgba(16, 20, 31, 0.1);
  border-bottom: 1px solid rgba(16, 20, 31, 0.1);
}

body.light-mode .cta-overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.1));
}

body.light-mode .cta-inner {
  color: #121722;
}

body.light-mode .cta-kicker {
  color: #4a5262;
}

body.light-mode .cta-inner p {
  color: #333c4f;
}

body.light-mode .cta-button {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: var(--accent-ink);
  border-color: rgba(31, 111, 120, 0.66);
}

body.light-mode .cta-button:hover {
  filter: brightness(1.05);
}

/* Final hero alignment */
.hero,
.hero-grid,
.hero-copy {
  justify-items: center;
  justify-content: center;
}

.hero-copy {
  align-items: center;
  text-align: center;
}

.hero-kicker,
.hero-title,
.hero-description,
.hero-actions,
.hero-stats,
.hero-strip-claim {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body.light-mode .site-footer {
  background: linear-gradient(180deg, #f2f4f8, #e9edf4);
  color: #10151f;
  border-top: 1px solid rgba(16, 20, 31, 0.12);
}

body.light-mode .footer-brand p,
body.light-mode .footer-links a,
body.light-mode .footer-contact a,
body.light-mode .footer-contact p,
body.light-mode .footer-bottom p,
body.light-mode .footer-legal a {
  color: #4a5262;
}

body.light-mode .footer-links h4,
body.light-mode .footer-contact h4 {
  color: #1a2130;
}

body.light-mode .footer-bottom {
  border-top: 1px solid rgba(16, 20, 31, 0.1);
}

body.light-mode .footer-links a:hover,
body.light-mode .footer-contact a:hover,
body.light-mode .footer-legal a:hover {
  color: #10151f;
}

body.light-mode .footer-legal a {
  border-color: rgba(16, 21, 31, 0.16);
  background: rgba(16, 21, 31, 0.05);
}

body.light-mode .footer-legal a:hover {
  background: rgba(16, 21, 31, 0.1);
  border-color: rgba(16, 21, 31, 0.24);
}

@media (max-width: 1800px) {
  .nav-inner {
    width: min(1560px, calc(100% - 4.2rem));
  }

  .hero {
    width: min(1560px, calc(100% - 4.2rem));
  }

  .services-inner,
  .references-inner,
  .footer-inner,
  .footer-bottom {
    width: min(1560px, calc(100% - 4.2rem));
  }

  .hero-grid {
    grid-template-columns: minmax(460px, 1.08fr) clamp(2.4rem, 3.6vw, 4.2rem) minmax(640px, 820px) clamp(2.4rem, 3.6vw, 4.2rem);
  }

  .hero-title {
    font-size: clamp(1.9rem, 4.8vw, 4rem);
    max-width: 15ch;
  }

  .hero-media {
    width: min(820px, 52vw);
    transform: perspective(1200px) rotateY(-10deg) rotateX(1.4deg);
  }
}

@media (min-width: 901px) {
  .services-left h2 {
    max-width: 12ch;
  }

  .services-cards {
    max-height: none;
  }
}

@media (min-width: 901px) and (max-height: 860px) {
  .services-left {
    top: 166px;
    min-height: calc(100vh - 220px);
  }

  .services-cards {
    top: 166px;
    height: calc(100vh - 220px);
  }
}

@media (max-width: 1400px) {
  .nav-inner {
    width: min(1400px, calc(100% - 2.8rem));
  }

  .hero {
    width: min(1400px, calc(100% - 2.8rem));
    padding-top: clamp(112px, 13vh, 132px);
  }

  .services-inner,
  .references-inner,
  .footer-inner,
  .footer-bottom {
    width: min(1400px, calc(100% - 2.8rem));
  }

  .nav-links {
    gap: 0.4rem;
  }

  .nav-links a,
  .theme-toggle {
    min-height: 36px;
    padding-inline: 0.8rem;
    font-size: 0.76rem;
  }

  .hero-grid {
    grid-template-columns: minmax(430px, 1.1fr) clamp(2rem, 3vw, 3.4rem) minmax(520px, 720px) clamp(2rem, 3vw, 3.4rem);
  }

  .hero-copy {
    transform: none;
    padding-right: clamp(1.2rem, 2.4vw, 2.6rem);
  }

  .hero-title {
    font-size: clamp(1.9rem, 5vw, 4rem);
    max-width: 16ch;
  }

  .hero-media {
    width: min(720px, 50vw);
    transform: perspective(1200px) rotateY(-11deg) rotateX(1.6deg);
  }

}

@media (max-width: 1250px) {
  .services-inner {
    padding-top: 80px;
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .services-left {
    position: static;
    top: auto;
    transform: none;
    min-height: auto;
    display: block;
  }

  .services-left h2 {
    max-width: 14ch;
  }

  .services-right {
    padding: 0.2rem 0 0;
    min-height: auto;
  }

  .services-cards {
    position: relative;
    top: auto;
    transform: none;
    width: 100%;
    height: auto;
    max-height: none;
  }

  .service-card {
    position: relative;
    inset: auto;
    min-height: 320px;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 1200px) {
  .nav-inner {
    width: calc(100% - 3.4rem);
  }

  .hero {
    width: calc(100% - 3.4rem);
  }

  .services-inner,
  .references-inner,
  .footer-inner,
  .footer-bottom {
    width: calc(100% - 3.4rem);
  }

  .hero-title {
    font-size: clamp(1.7rem, 4.2vw, 3.3rem);
    max-width: 14ch;
  }

  .hero-media {
    width: min(500px, 38vw);
    transform: perspective(1200px) rotateY(-9deg) rotateX(1.2deg);
  }

  .reference-card {
    flex-basis: calc((100% - 1rem) / 2);
  }

  .cta-section {
    min-height: 64vh;
  }

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

@media (max-width: 900px) {
  .hero-intro-image {
    display: none;
  }

  .nav {
    width: calc(100% - 0.9rem);
    margin: 0.45rem auto 0;
    min-height: 58px;
    padding: 0.35rem 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  }

  .nav-links {
    display: none;
  }

  .nav-inner {
    width: calc(100% - 0.55rem);
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 50px;
  }

  .nav-toggle {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-menu {
    width: calc(100% - 0.6rem);
    margin: 0 auto;
    padding: 0.25rem 0.35rem 0.45rem;
    border-radius: 12px;
    background: rgba(9, 13, 20, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-menu.is-open {
    display: grid;
    gap: 0.5rem;
  }

  .mobile-menu a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    padding: 0 0.95rem;
    color: #e9edf8;
    text-decoration: none;
    text-transform: none;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.07);
    border-radius: 10px;
  }

  body.light-mode .mobile-menu a {
    color: #171c27;
    border-color: rgba(16, 20, 31, 0.2);
    background: rgba(16, 20, 31, 0.06);
  }

  body.light-mode .mobile-menu {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(16, 20, 31, 0.14);
  }

  body.light-mode .nav {
    border-color: rgba(16, 20, 31, 0.18);
    box-shadow: 0 8px 20px rgba(16, 20, 31, 0.1);
  }

  .theme-toggle.mobile {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .hero {
    width: calc(100% - 1rem);
    min-height: auto;
    padding-top: 122px;
    padding-bottom: 64px;
    align-items: flex-start;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
  }

  .hero-copy {
    grid-column: auto;
    transform: none;
    padding-right: 0;
    max-width: 100%;
    text-align: center;
    justify-self: center;
  }

  .hero-kicker {
    margin: 0 0 0.7rem;
    font-size: 0.72rem;
    letter-spacing: 0.09em;
  }

  .hero-title {
    font-size: clamp(2rem, 8.9vw, 3.1rem);
    line-height: 1;
    letter-spacing: -0.02em;
    max-width: 16ch;
    margin-inline: auto;
  }

  .hero-media {
    grid-column: auto;
    width: min(94vw, 620px);
    justify-self: center;
    margin-left: 0;
    border-radius: 14px;
    margin-top: 1.2rem;
    transform: perspective(1200px) rotateY(-12deg) rotateX(2deg);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  }

  .hero-scroll-indicator {
    bottom: -16px;
  }

  .services-stack {
    min-height: auto;
    margin-top: 2.4rem;
    padding: 2.8rem 0;
  }

  .services-inner {
    width: calc(100% - 1rem);
    padding-top: 0;
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .services-left {
    position: static;
    transform: none;
    padding: 0;
  }

  .services-left h2 {
    font-size: clamp(1.9rem, 8.5vw, 3rem);
    max-width: 16ch;
  }

  .services-subline {
    font-size: 0.98rem;
    max-width: 100%;
  }

  .services-left .services-kicker {
    display: none;
  }

  .services-right {
    padding: 0.4rem 0 0;
    min-height: 180vh;
  }

  .services-cards {
    position: sticky;
    top: 76px;
    transform: none;
    height: calc(100vh - 110px);
    max-height: 500px;
    padding-top: 0;
  }

  .service-card {
    position: absolute;
    inset: 0;
    min-height: auto;
    border-radius: 18px;
    padding: 1.05rem;
  }

  .service-badge {
    border-radius: 0 18px 0 18px;
    min-height: 40px;
    font-size: 0.82rem;
  }

  .references {
    padding: 3rem 0 1.2rem;
  }

  .references-inner {
    width: calc(100% - 1rem);
  }

  .references-viewport {
    padding: 0 0.6rem;
  }

  .references-track {
    gap: 0.75rem;
  }

  .reference-card {
    flex-basis: calc(100% - 3.2rem);
    scroll-snap-align: center;
  }

  .reference-card img {
    aspect-ratio: 16 / 9;
  }

  .references-nav {
    display: none;
  }

  .contact-modal-dialog {
    width: calc(100% - 0.75rem);
    margin-top: 56px;
    padding: 0.85rem 0.75rem 1rem;
  }

  .contact-step h3 {
    font-size: clamp(1.25rem, 7vw, 1.9rem);
  }

  .contact-step input,
  .contact-step select,
  .contact-step textarea {
    min-height: 50px;
    font-size: 0.96rem;
  }

  .contact-actions {
    flex-wrap: wrap;
  }

  .contact-back,
  .contact-next,
  .contact-submit {
    flex: 1;
  }

  .cta-section {
    min-height: 58vh;
    margin-top: 0;
  }

  .cta-inner {
    width: calc(100% - 1rem);
  }

  .cta-inner h2 {
    font-size: clamp(1.6rem, 9vw, 2.5rem);
  }

  .footer-inner {
    width: calc(100% - 1rem);
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding: 2rem 0 1.3rem;
  }

  .footer-bottom {
    width: calc(100% - 1rem);
    min-height: auto;
    padding: 0.85rem 0 1.2rem;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .nav-inner {
    width: calc(100% - 0.75rem);
  }

  .hero {
    width: calc(100% - 0.75rem);
    padding-top: 104px;
    padding-bottom: 58px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 10vw, 2.45rem);
    max-width: 15ch;
  }

  .hero-media {
    margin-top: 1.35rem;
  }

  .hero-scroll-indicator {
    bottom: -20px;
  }

  .services-inner {
    width: calc(100% - 0.75rem);
    padding-top: 0;
  }

  .references-inner {
    width: calc(100% - 0.75rem);
  }

  .cta-inner {
    width: calc(100% - 0.75rem);
  }

  .footer-inner,
  .footer-bottom {
    width: calc(100% - 0.75rem);
  }

}

.legal-page {
  min-height: 100vh;
  background: var(--bg-soft);
  color: var(--text-main);
}

.legal-main {
  width: min(940px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7rem 0 3rem;
}

.legal-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(18, 22, 33, 0.08);
  border-radius: 24px;
  padding: clamp(1.25rem, 3vw, 2.4rem);
  box-shadow: 0 20px 50px rgba(12, 22, 45, 0.08);
}

.legal-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.legal-card h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.85rem, 7vw, 3rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.legal-card h2 {
  margin: 1.4rem 0 0.45rem;
  font-size: 1.1rem;
}

.legal-card p {
  margin: 0;
  line-height: 1.65;
  color: var(--text-body);
}

.legal-card a {
  color: var(--accent);
  font-weight: 600;
}

.legal-back {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.legal-back:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(20, 30, 50, 0.18);
  filter: brightness(1.04);
}

/* Hero redesign */
.hero-intro-image {
  display: none;
}

.hero {
  width: min(1500px, calc(100% - 2rem));
  min-height: auto;
  margin: 0 auto 1rem;
  padding: 6.2rem 0 0.5rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
  justify-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 1120px;
  width: min(100%, 1120px);
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-inline: auto;
}

.hero-kicker {
  margin: 0 0 1.35rem;
  color: #627987;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero-title {
  margin: 0;
  max-width: 15.5ch;
  width: 100%;
  font-family: Syne, sans-serif;
  font-size: clamp(3.2rem, 4.8vw, 4.85rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-align: center;
}

.hero-title-line {
  display: block;
}

.hero-title-nobr {
  white-space: nowrap;
}

.hero-title-strong {
  color: #1a2331;
}

.hero-title-muted {
  color: #5f7283;
}

.hero-description {
  max-width: 52rem;
  width: 100%;
  margin: 1.2rem 0 0;
  color: #5d6f80;
  font-size: 1rem;
  line-height: 1.45;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.hero-primary,
.hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 1.55rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-primary {
  min-width: 196px;
  border: 1px solid rgba(42, 125, 137, 0.48);
  background: linear-gradient(135deg, #3493a3, #2c7584);
  color: #f6fdff;
  box-shadow: 0 18px 32px rgba(48, 124, 137, 0.22);
}

.hero-secondary {
  min-width: 174px;
  border: 1px solid rgba(216, 223, 232, 0.95);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 244, 248, 0.95));
  color: #283140;
  box-shadow: 0 12px 24px rgba(125, 138, 158, 0.12);
}

.hero-primary:hover,
.hero-secondary:hover {
  transform: translateY(-1px);
}

.hero-stats {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: center;
  gap: 0.95rem;
  width: auto;
  margin-top: 2rem;
  color: #586979;
  font-size: 0.95rem;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hero-stat strong {
  color: #253142;
}

.hero-stat-icon {
  color: #78a4bf;
  font-size: 1rem;
}

.hero-stat-divider {
  width: 1px;
  height: 1.3rem;
  background: rgba(179, 190, 205, 0.5);
}

.hero-media {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-width: 0;
  width: 100%;
  max-width: 1120px;
  padding-left: 0;
  padding-right: 0;
  margin-right: 0;
  overflow: visible;
  padding-top: 0;
  margin-top: 1.8rem;
}

.hero-media-mobile {
  display: none;
  min-height: 0;
  max-width: 420px;
}

.hero-mobile-shell {
  width: 100%;
  padding: 1rem;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 246, 250, 0.94));
  border: 1px solid rgba(225, 234, 243, 0.95);
  box-shadow:
    0 20px 40px rgba(146, 165, 187, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-mobile-viewport {
  overflow: hidden;
  border-radius: 1.1rem;
}

.hero-mobile-track {
  display: flex;
  width: 100%;
}

.hero-mobile-slide {
  flex: 0 0 100%;
}

.hero-mobile-topbar,
.hero-mobile-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-mobile-topbar {
  margin-bottom: 0.9rem;
}

.hero-mobile-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(237, 243, 247, 0.96);
  color: #5d7184;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero-mobile-dot {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #7dddee, #9bc6ee);
  box-shadow: 0 0 0 5px rgba(125, 221, 238, 0.15);
}

.hero-mobile-metrics {
  gap: 0.9rem;
}

.hero-mobile-metric {
  flex: 1;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(248, 250, 252, 0.98);
  border: 1px solid rgba(231, 238, 245, 0.98);
  text-align: left;
}

.hero-mobile-metric strong,
.hero-mobile-item strong {
  display: block;
  color: #223044;
}

.hero-mobile-metric strong {
  font-size: 1.7rem;
  line-height: 1;
}

.hero-mobile-metric span,
.hero-mobile-item span {
  color: #7f90a2;
  font-size: 0.74rem;
}

.hero-mobile-chart {
  position: relative;
  height: 104px;
  margin: 0.95rem 0;
  border-radius: 1rem;
  background:
    linear-gradient(rgba(220, 229, 238, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 229, 238, 0.55) 1px, transparent 1px);
  background-size: 100% 26px, 54px 100%;
  overflow: hidden;
}

.hero-mobile-chart-line {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='360' height='140' viewBox='0 0 360 140' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 104C42 110 58 72 84 76C108 80 118 54 144 58C170 61 190 28 216 34C246 40 260 18 286 24C310 29 329 14 348 20' stroke='%2360cfe2' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hero-mobile-chart-line-sales {
  background: url("data:image/svg+xml,%3Csvg width='360' height='140' viewBox='0 0 360 140' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 90C40 82 51 102 72 94C94 86 103 70 122 76C145 84 156 58 182 65C207 72 215 54 241 40C264 28 284 54 305 44C323 35 335 24 348 18' stroke='%2358c7da' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hero-mobile-chart-line-ops {
  background: url("data:image/svg+xml,%3Csvg width='360' height='140' viewBox='0 0 360 140' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 94C36 74 58 78 84 68C111 58 124 66 149 58C174 51 191 30 217 36C242 42 257 26 286 24C310 22 327 28 348 16' stroke='%2372c7d7' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hero-mobile-list {
  display: grid;
  gap: 0.7rem;
}

.hero-mobile-item {
  padding: 0.85rem 0.9rem;
  border-radius: 0.95rem;
  background: rgba(246, 249, 252, 0.95);
  border: 1px solid rgba(231, 238, 245, 0.96);
  text-align: left;
}

.hero-mobile-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.hero-mobile-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(117, 138, 163, 0.28);
  transition: transform 0.25s ease, background 0.25s ease;
}

.hero-mobile-dots span.is-active {
  background: rgba(73, 194, 219, 0.88);
  transform: scale(1.2);
}

.hero-visual-glow {
  position: absolute;
  inset: 8% 10% 14% 4%;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 48% 50%, rgba(130, 238, 246, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(118, 236, 245, 0.08));
  filter: blur(18px);
}

.hero-dashboard-shell {
  position: relative;
  width: min(100%, 920px);
  padding: 1rem;
  transform: none;
  border-radius: 1.9rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.45), rgba(208, 244, 248, 0.18));
  box-shadow:
    0 30px 60px rgba(122, 154, 180, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.hero-dashboard-viewport {
  overflow: hidden;
  border-radius: 1.45rem;
}

.hero-dashboard-track {
  display: flex;
  width: 100%;
}

.hero-dashboard-slide {
  flex: 0 0 100%;
}

.hero-dashboard-shell::before {
  content: "";
  position: absolute;
  inset: auto 4% -1.2rem;
  height: 1.4rem;
  border-radius: 999px;
  background: rgba(117, 235, 244, 0.42);
  filter: blur(20px);
}

.hero-dashboard-frame {
  position: relative;
  border-radius: 1.45rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(252, 253, 255, 0.96), rgba(239, 244, 249, 0.94));
  border: 1px solid rgba(232, 239, 246, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 28px rgba(149, 164, 183, 0.16);
}

.hero-dashboard-topbar,
.hero-dashboard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-dashboard-topbar {
  margin-bottom: 0.95rem;
  color: #69798b;
  font-size: 0.72rem;
}

.hero-dashboard-brand,
.hero-dashboard-user {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-dashboard-menu {
  width: 1.65rem;
  height: 1.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  background: rgba(241, 244, 248, 0.95);
}

.hero-dashboard-avatar {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9d6e4, #8ca3bd);
}

.hero-dashboard-avatar-alt {
  background: linear-gradient(135deg, #a6cfff, #7ce3ef);
}

.hero-dashboard-avatar-dark {
  background: linear-gradient(135deg, #7b8ca4, #45566d);
}

.hero-dashboard-body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(180px, 0.9fr);
  gap: 0.9rem;
}

.hero-panel {
  border-radius: 1rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 251, 0.92));
  border: 1px solid rgba(234, 240, 247, 0.98);
  box-shadow: 0 12px 24px rgba(175, 187, 203, 0.12);
}

.hero-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.hero-panel-head strong,
.hero-panel-projects h3 {
  display: block;
  color: #283245;
  font-size: 0.96rem;
}

.hero-panel-head span,
.hero-project-item span,
.hero-chart-stats span,
.hero-dashboard-footer {
  color: #8a98a9;
  font-size: 0.68rem;
}

.hero-panel-badge {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(237, 242, 247, 0.96);
}

.hero-chart {
  position: relative;
  height: 120px;
  margin: 1rem 0 0.85rem;
  border-radius: 0.85rem;
  background:
    linear-gradient(rgba(220, 229, 238, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 229, 238, 0.55) 1px, transparent 1px);
  background-size: 100% 28px, 62px 100%;
  overflow: hidden;
}

.hero-chart-line {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='360' height='140' viewBox='0 0 360 140' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 90C40 82 51 102 72 94C94 86 103 70 122 76C145 84 156 58 182 65C207 72 215 54 241 40C264 28 284 54 305 44C323 35 335 24 348 18' stroke='%2358c7da' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hero-chart-line-alt {
  background: url("data:image/svg+xml,%3Csvg width='360' height='140' viewBox='0 0 360 140' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 104C42 110 58 72 84 76C108 80 118 54 144 58C170 61 190 28 216 34C246 40 260 18 286 24C310 29 329 14 348 20' stroke='%2360cfe2' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hero-chart-line-soft {
  background: url("data:image/svg+xml,%3Csvg width='360' height='140' viewBox='0 0 360 140' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 94C36 74 58 78 84 68C111 58 124 66 149 58C174 51 191 30 217 36C242 42 257 26 286 24C310 22 327 28 348 16' stroke='%2372c7d7' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hero-chart-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.hero-chart-stats strong {
  display: block;
  margin-bottom: 0.18rem;
  color: #2a3345;
  font-size: 1.8rem;
  line-height: 1;
}

.hero-project-item + .hero-project-item {
  margin-top: 0.65rem;
}

.hero-project-item {
  padding: 0.75rem 0.8rem;
  border-radius: 0.8rem;
  background: rgba(246, 249, 252, 0.95);
  border: 1px solid rgba(231, 238, 245, 0.96);
}

.hero-project-item strong {
  display: block;
  margin-bottom: 0.22rem;
  color: #324053;
  font-size: 0.8rem;
}

.hero-dashboard-footer {
  margin-top: 0.9rem;
}

.hero-dashboard-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.hero-dashboard-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(117, 138, 163, 0.28);
  transition: transform 0.25s ease, background 0.25s ease;
}

.hero-dashboard-dots span.is-active {
  background: rgba(73, 194, 219, 0.88);
  transform: scale(1.2);
}

body.light-mode .hero-kicker {
  color: #667c8a;
}

body.light-mode .hero-title-strong {
  color: #172131;
}

body.light-mode .hero-title-muted {
  color: #607181;
}

body.light-mode .hero-description {
  color: #5d6f80;
}

@media (max-width: 1400px) {
  .hero {
    width: min(1400px, calc(100% - 1.2rem));
    padding-inline: 2.8rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
    gap: 0;
  }

  .hero-media {
    margin-right: -40px;
  }

  .hero-stats {
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .hero {
    min-height: auto;
    padding: 7.6rem 2rem 2.8rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }

  .hero-copy,
  .hero-description,
  .hero-stats {
    max-width: none;
    width: 100%;
  }

  .hero-title {
    max-width: 10.5ch;
    font-size: clamp(3.2rem, 7vw, 5rem);
  }

  .hero-media {
    min-height: 0;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-right: 0;
  }

  .hero-dashboard-shell {
    width: min(100%, 860px);
    transform: none;
  }
}

@media (max-width: 900px) {
  .hero {
    width: calc(100% - 0.75rem);
    min-height: auto;
    padding: 6.8rem 1rem 2rem;
  }

  .hero-title {
    max-width: 8.4ch;
    font-size: clamp(2.75rem, 12vw, 4.25rem);
  }

  .hero-actions {
    width: 100%;
    justify-content: center;
  }

  .hero-primary,
  .hero-secondary {
    width: auto;
  }

  .hero-media {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    margin-top: 1.5rem;
    padding: 0;
    justify-content: center;
    align-self: center;
  }

  .hero-media-desktop {
    display: none;
  }

  .hero-media-mobile {
    display: flex;
  }

  .hero-dashboard-shell {
    width: min(100%, 640px);
    padding: 0.75rem;
  }

  .hero-feature-grid {
    margin-top: 2.2rem;
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .hero-stat-divider {
    display: none;
  }
}

@media (min-width: 901px) {
  .hero-media-mobile {
    display: none;
  }

  .hero-media-desktop {
    display: flex;
  }
}

@media (max-width: 480px) {
  .hero-kicker {
    font-size: 0.76rem;
  }

  .hero-description {
    font-size: 0.96rem;
  }

  .hero-feature-card {
    padding: 1.1rem;
  }
}

@media (min-width: 901px) {
  .hero-copy {
    align-items: center;
    text-align: center;
  }

  .hero-media {
    width: 100%;
    max-width: 920px;
    min-height: 0;
    justify-content: center;
    align-self: center;
    padding: 0;
    margin: 0;
    margin-top: 1.8rem;
    transform: none;
  }
}

.hero-stats {
  grid-template-columns: repeat(7, auto);
}

.hero-strip-claim {
  margin: 1rem 0 0;
  color: #617486;
  font-size: 0.95rem;
  line-height: 1.45;
}

.trust-strip {
  width: min(1560px, calc(100% - 1.1rem));
  margin: 0 auto;
  padding: 0 0 2.5rem;
}

.trust-strip-inner {
  border-radius: 1.8rem;
  border: 1px solid rgba(204, 215, 227, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 248, 251, 0.94));
  box-shadow: 0 18px 40px rgba(130, 149, 170, 0.1);
  padding: 1.25rem 1.4rem;
}

.trust-strip-label {
  margin: 0 0 0.8rem;
  color: #637889;
  font-size: 0.9rem;
  text-align: center;
}

.trust-strip-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.trust-strip-items span {
  min-height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(213, 222, 232, 0.95);
  background: rgba(255, 255, 255, 0.82);
  color: #1a2331;
  font-size: 0.96rem;
  font-weight: 700;
}

.service-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.service-list li {
  position: relative;
  padding-left: 1.35rem;
  color: color-mix(in srgb, var(--panel-text) 84%, #8a90a0);
  font-size: 0.98rem;
  line-height: 1.45;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(120deg, #69d0e3, #2a8a95);
}

.content-section {
  width: 100%;
  padding: 6rem 0;
}

.content-inner {
  width: min(1560px, calc(100% - 1.1rem));
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-kicker {
  margin: 0 0 0.85rem;
  color: #657a8b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.section-heading h2 {
  margin: 0;
  color: #1a2331;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  max-width: 16ch;
}

.section-intro {
  margin: 1rem 0 0;
  max-width: 56ch;
  color: #5d6f80;
  font-size: 1.04rem;
  line-height: 1.6;
}

.about-section,
.why-section,
.faq-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(125, 226, 244, 0.08), transparent 26%),
    var(--bg);
}

.process-section,
.case-section {
  background:
    radial-gradient(circle at 86% 16%, rgba(125, 226, 244, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(242, 246, 250, 0.6));
}

.compare-section {
  background:
    radial-gradient(circle at 84% 70%, rgba(125, 226, 244, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(243, 246, 249, 0.88), rgba(239, 243, 248, 0.92));
}

.about-grid,
.case-grid,
.two-column-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem;
  align-items: start;
}

.about-copy p,
.two-column-copy p,
.case-copy p {
  margin: 0;
  color: #57697a;
  font-size: 1.04rem;
  line-height: 1.7;
}

.about-copy p + p,
.case-copy p + p {
  margin-top: 1rem;
}

.values-grid,
.steps-grid,
.compare-grid {
  display: grid;
  gap: 1rem;
}

.values-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compare-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.step-card,
.compare-card,
.case-stat,
.case-note,
.faq-item {
  border-radius: 1.4rem;
  border: 1px solid rgba(208, 218, 229, 0.95);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 251, 0.94));
  box-shadow: 0 16px 34px rgba(128, 147, 169, 0.1);
}

.info-card,
.step-card,
.compare-card,
.case-stat,
.case-note {
  padding: 1.35rem;
}

.info-card h3,
.step-card h3,
.compare-card h3 {
  margin: 0 0 0.7rem;
  color: #1a2331;
  font-size: 1.22rem;
}

.info-card p,
.step-card p,
.compare-card li,
.case-note,
.case-stat span {
  margin: 0;
  color: #5d6f80;
  line-height: 1.6;
}

.step-number {
  display: inline-flex;
  margin-bottom: 1rem;
  color: #2b7a86;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.result-list p {
  margin: 0 0 0.8rem;
  color: #1a2331;
  font-weight: 700;
}

.result-list ul,
.compare-card ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.compare-card-muted {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(240, 244, 248, 0.95));
}

.compare-card-accent {
  background:
    radial-gradient(circle at 100% 0, rgba(125, 226, 244, 0.16), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(239, 247, 249, 0.96));
}

.case-stats {
  display: grid;
  gap: 1rem;
}

.case-stat strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #1a2331;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1;
}

.case-note {
  margin-top: 1.2rem;
  font-size: 1rem;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.25rem;
  color: #1a2331;
  font-size: 1rem;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.2rem;
  color: #5d6f80;
  line-height: 1.65;
}

@media (max-width: 1200px) {
  .about-founders {
    grid-template-columns: 1fr;
  }

  .trust-strip-items,
  .values-grid,
  .steps-grid,
  .compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .case-grid,
  .two-column-copy {
    grid-template-columns: 1fr;
  }
}

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

  .trust-strip {
    width: calc(100% - 1rem);
  }

  .trust-strip-items,
  .values-grid,
  .steps-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .content-inner {
    width: calc(100% - 1rem);
  }

  .section-heading h2 {
    max-width: none;
  }
}

/* Refined Section Design */
body.light-mode {
  --surface-soft: rgba(255, 255, 255, 0.9);
  --surface-soft-2: rgba(246, 249, 252, 0.96);
  --border-soft: rgba(215, 224, 233, 0.95);
  --shadow-soft: 0 24px 48px rgba(117, 139, 165, 0.12);
}

.hero {
  padding-bottom: 0.75rem;
}

.hero-kicker {
  margin-bottom: 1.1rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(198, 212, 224, 0.95);
  background: rgba(255, 255, 255, 0.72);
  color: #2f6371;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  box-shadow: 0 16px 30px rgba(138, 157, 179, 0.08);
}

.hero-title {
  max-width: 12.6ch;
  font-size: clamp(2.6rem, 4.3vw, 4.45rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.hero-title-strong {
  color: #172131;
}

.hero-title-muted {
  color: #2d7b86;
  font-style: italic;
}

.hero-description {
  max-width: 48rem;
  margin-top: 1.45rem;
  font-size: 1.1rem;
  line-height: 1.72;
  color: #627385;
}

.hero-media {
  max-width: 980px;
  width: min(100%, 980px);
  margin-inline: auto;
  margin-top: 0.8rem;
}

.hero-dashboard-shell,
.hero-mobile-shell {
  border-radius: 2.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 247, 250, 0.96));
  border: 1px solid rgba(220, 229, 238, 0.98);
  box-shadow: 0 30px 60px rgba(122, 154, 180, 0.16);
}

.hero-actions {
  margin-top: 1.1rem;
  gap: 1rem;
  justify-content: center;
  margin-inline: auto;
}

.hero-primary,
.hero-secondary {
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-primary {
  border-color: rgba(31, 111, 120, 0.65);
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: var(--accent-ink);
  box-shadow: 0 10px 24px rgba(31, 111, 120, 0.34);
}

.hero-secondary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  color: var(--nav-link);
}

.hero-stats {
  margin-top: 1rem;
  gap: 0.7rem;
  justify-content: center;
  margin-inline: auto;
}

.hero-stat {
  min-height: 48px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 222, 232, 0.94);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 22px rgba(134, 150, 172, 0.08);
}

.hero-stat-divider {
  display: none;
}

.hero-strip-claim {
  margin-top: 1.15rem;
  color: #728394;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.trust-strip {
  display: none;
}

.services-stack {
  margin-top: 0;
  padding: 3.5rem 0 6rem;
  background:
    radial-gradient(circle at 14% 8%, rgba(139, 233, 247, 0.18), transparent 26%),
    radial-gradient(circle at 82% 42%, rgba(139, 233, 247, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(244, 247, 251, 0.95));
  color: #172131;
}

.services-inner {
  padding-top: 72px;
}

.services-left h2 {
  color: #172131;
  max-width: 10ch;
  font-size: clamp(2.3rem, 4.4vw, 4.8rem);
}

.services-kicker,
.section-kicker,
.references-kicker,
.cta-kicker {
  color: #2f7a86;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.18em;
}

.services-subline {
  color: #66788a;
  max-width: 50ch;
  font-size: 1.05rem;
}

.services-cards {
  width: min(100%, 860px);
}

.service-card {
  border-radius: 2.5rem;
  border: 1px solid var(--border-soft);
  background:
    radial-gradient(circle at 100% 0, rgba(139, 233, 247, 0.14), transparent 30%),
    linear-gradient(180deg, var(--surface-soft), var(--surface-soft-2));
  color: #172131;
  box-shadow: var(--shadow-soft);
  padding: 2.7rem 2.5rem;
}

.service-card:nth-child(2) {
  background:
    radial-gradient(circle at 100% 0, rgba(125, 226, 244, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(241, 248, 249, 0.96));
  border-color: rgba(42, 125, 137, 0.28);
}

.service-badge {
  min-height: 42px;
  padding: 0 1.1rem;
  border-radius: 0 2.1rem 0 1.5rem;
  background: linear-gradient(120deg, #edf4f6, #e1ebef);
  color: #2c7884;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-card h3 {
  margin-top: 1.9rem;
  color: #172131;
  font-size: clamp(2rem, 2.4vw, 2.9rem);
  line-height: 0.98;
}

.service-card p {
  color: #617284;
  max-width: 40ch;
  font-size: 1.03rem;
}

.service-list li {
  color: #2f7a86;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.content-section {
  padding: 7rem 0;
}

.section-heading {
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  max-width: 15ch;
  font-size: clamp(2.3rem, 4.5vw, 4.6rem);
  color: #172131;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.about-section,
.why-section,
.faq-section,
.references {
  background:
    radial-gradient(circle at 84% 16%, rgba(139, 233, 247, 0.2), transparent 22%),
    radial-gradient(circle at 18% 72%, rgba(139, 233, 247, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.7), rgba(243, 247, 250, 0.9));
}

.process-section,
.compare-section,
.case-section {
  background:
    radial-gradient(circle at 12% 14%, rgba(139, 233, 247, 0.18), transparent 22%),
    radial-gradient(circle at 88% 66%, rgba(139, 233, 247, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(245, 248, 251, 0.96));
}

.process-section .section-heading {
  text-align: center;
}

.process-section .section-heading h2,
.process-section .section-intro {
  margin-inline: auto;
}

.about-grid,
.case-grid,
.two-column-copy {
  gap: 1.6rem;
}

.about-shell {
  position: relative;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  text-align: center;
}

.about-shell h2 {
  margin: 0;
  max-width: 17ch;
  margin-inline: auto;
  color: #172131;
  font-size: clamp(2.3rem, 4.5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.about-lead {
  margin: 0;
  max-width: 42ch;
  margin-inline: auto;
  color: #5f7182;
  font-size: 1rem;
  line-height: 1.58;
}

.about-lead + .about-lead {
  margin-top: 1rem;
}

.about-founders {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.founder-card {
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(207, 217, 226, 0.95);
  background:
    radial-gradient(circle at 100% 0, rgba(139, 233, 247, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 248, 251, 0.96));
  box-shadow: 0 16px 34px rgba(126, 145, 166, 0.08);
}

.founder-photo {
  position: relative;
  min-height: 270px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1.15rem;
  background:
    radial-gradient(circle at 100% 0, rgba(124, 214, 255, 0.2), transparent 36%),
    linear-gradient(180deg, rgba(247, 251, 253, 0.98), rgba(233, 241, 245, 0.96));
}

.founder-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.founder-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, #3aa0b0, rgba(58, 160, 176, 0.08));
}

.founder-photo span {
  position: relative;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #43a7ba, #5cc7d8);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.founder-body {
  padding: 1.35rem 1.25rem 1.4rem;
}

.founder-role {
  margin: 0 0 0.4rem;
  color: #2f7a86;
  font-size: 0.76rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.founder-body h3 {
  margin: 0 0 0.55rem;
  color: #44515a;
  font-size: 1.34rem;
  font-style: italic;
  letter-spacing: -0.02em;
}

.founder-body p:last-child {
  margin: 0;
  color: #66788a;
  font-size: 0.95rem;
  line-height: 1.62;
}

.about-copy,
.result-list,
.case-copy {
  padding: 2rem 2.1rem;
  border-radius: 2.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 251, 0.95));
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.values-grid {
  gap: 1.1rem;
}

.info-card,
.step-card,
.compare-card,
.case-stat,
.case-note,
.faq-item {
  border-radius: 2rem;
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 251, 0.95));
  box-shadow: var(--shadow-soft);
}

.info-card,
.step-card,
.compare-card,
.case-stat,
.case-note {
  padding: 1.65rem;
}

.info-card h3,
.step-card h3,
.compare-card h3 {
  font-style: italic;
  letter-spacing: -0.02em;
}

.steps-grid {
  gap: 1.15rem;
}

.step-card {
  position: relative;
  overflow: hidden;
}

.step-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2a8a95, rgba(42, 138, 149, 0));
}

.step-number {
  width: 42px;
  height: 42px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a8a95, #60cfe2);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
}

.compare-grid {
  align-items: stretch;
}

.compare-card {
  padding: 2rem;
}

.compare-card-muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 250, 0.96));
}

.compare-card-accent {
  border-color: rgba(42, 125, 137, 0.3);
  background:
    radial-gradient(circle at 100% 0, rgba(125, 226, 244, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(239, 248, 250, 0.98));
}

.case-stats {
  align-content: start;
}

.case-stat {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.references {
  padding-top: 7rem;
}

.references-title {
  max-width: 14ch;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  letter-spacing: -0.04em;
}

.reference-card {
  border-radius: 2rem;
  border-color: var(--border-soft);
  background:
    radial-gradient(circle at 100% 0, rgba(139, 233, 247, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 251, 0.95));
  box-shadow: var(--shadow-soft);
}

.reference-content {
  padding: 1.2rem 1.2rem 1.4rem;
}

.faq-list {
  gap: 1rem;
}

.faq-section .section-heading {
  text-align: center;
}

.faq-section .section-heading h2 {
  margin-inline: auto;
}

.faq-item summary {
  padding: 1.35rem 1.45rem;
  font-size: 1.05rem;
  font-style: italic;
}

.cta-section {
  position: relative;
  width: 100%;
  min-height: 72vh;
  margin-top: 0;
  background: url("/assets/referenzen/eichtinger.jpg") center center / cover no-repeat;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 14, 0.72), rgba(7, 9, 14, 0.78)),
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.36));
}

.cta-inner {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.cta-kicker {
  margin: 0 0 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
}

.cta-inner h2 {
  margin: 0;
  margin-inline: auto;
  font-size: clamp(2rem, 5.6vw, 4.4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.cta-inner p {
  margin: 1.45rem auto 0;
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.55;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  margin-inline: auto;
  min-height: 52px;
  padding: 0 1.8rem;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: var(--accent-ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.site-footer {
  background: linear-gradient(180deg, #0d121a, #090d13);
}

@media (max-width: 1200px) {
  .services-left {
    min-height: auto;
  }

  .service-card {
    padding: 2.1rem 1.8rem;
  }
}

.services-left {
  align-items: center;
  text-align: center;
}

.services-left h2,
.services-subline {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.services-cta {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .content-inner {
    width: calc(100% - 0.4rem);
  }

  .about-shell h2 {
    max-width: 12ch;
    font-size: clamp(2rem, 8vw, 3.15rem);
    line-height: 0.98;
  }

  .about-lead {
    max-width: 34ch;
  }

  .about-founders {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .hero-title {
    font-size: clamp(2.1rem, 8.6vw, 3.35rem);
    max-width: 10ch;
  }

  .hero-kicker {
    padding: 0.6rem 0.95rem;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-primary,
  .hero-secondary {
    width: auto;
    min-width: 220px;
  }

  .trust-strip-items span {
    min-height: 54px;
    font-size: 0.82rem;
  }

  .services-stack,
  .content-section,
  .references,
  .cta-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .about-copy,
  .result-list,
  .case-copy,
  .cta-inner {
    padding: 1.5rem 1.2rem;
    border-radius: 2rem;
  }

  .about-intro,
  .about-shell {
    padding: 0;
    border-radius: 0;
  }

  .founder-photo {
    min-height: 220px;
  }

  .founder-card {
    min-height: 0;
  }

  .service-card,
  .info-card,
  .step-card,
  .compare-card,
  .case-stat,
  .case-note,
  .faq-item {
    border-radius: 1.6rem;
  }
}

@media (max-width: 640px) {
  .content-inner {
    width: calc(100% - 0.2rem);
  }

  .about-shell h2 {
    max-width: 12.5ch;
  }

  .about-lead {
    max-width: 36ch;
  }

  .about-founders {
    grid-template-columns: 1fr;
  }

  .founder-photo {
    min-height: 260px;
  }

  .founder-body {
    padding: 1.2rem 1.1rem 1.25rem;
  }
}

/* Final hero centering override */
.hero {
  display: flex !important;
  justify-content: center !important;
}

.hero-grid {
  width: 100% !important;
  grid-template-columns: 1fr !important;
  justify-items: center !important;
  align-items: center !important;
}

.hero-copy {
  width: min(100%, 1120px) !important;
  max-width: 1120px !important;
  margin-inline: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  transform: none !important;
  align-items: center !important;
  text-align: center !important;
}

.hero-kicker,
.hero-title,
.hero-description,
.hero-actions,
.hero-stats,
.hero-strip-claim,
.hero-media {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.hero-title,
.hero-description {
  width: 100% !important;
}

.hero-actions,
.hero-stats {
  justify-content: center !important;
}

.hero-media {
  width: min(100%, 1120px) !important;
  max-width: 1120px !important;
}
