:root {
  --ink: #111513;
  --muted: #5a625e;
  --soft: #f4f7f4;
  --paper: #ffffff;
  --line: #dbe3dc;
  --charcoal: #171b18;
  --teal: #087f73;
  --green: #3fb071;
  --coral: #e7563d;
  --amber: #f0aa2c;
  --mint: #dff4e8;
  --shadow: 0 18px 55px rgba(17, 21, 19, 0.13);
  --shadow-soft: 0 12px 35px rgba(17, 21, 19, 0.08);
}

html[data-theme="dark"] {
  --ink: #f3f8f4;
  --muted: #aebbb4;
  --soft: #151b18;
  --paper: #0f1411;
  --line: rgba(255, 255, 255, 0.13);
  --charcoal: #070a08;
  --mint: #143b2a;
  --shadow: 0 22px 65px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::selection {
  background: var(--mint);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(17, 21, 19, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(8, 127, 115, 0.14);
}

textarea {
  resize: vertical;
}

:focus-visible {
  outline: 3px solid rgba(231, 86, 61, 0.45);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.cursor-trace {
  position: fixed;
  left: -18px;
  top: -18px;
  z-index: 80;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(8, 127, 115, 0.42);
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity 180ms ease;
  mix-blend-mode: multiply;
}

.cursor-trace::before,
.cursor-trace::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(231, 86, 61, 0.34);
  border-radius: 4px;
  transform: rotate(45deg);
}

.cursor-trace::after {
  inset: 14px;
  border-color: rgba(240, 170, 44, 0.7);
  animation: cursorPulse 1100ms ease-in-out infinite alternate;
}

.cursor-trace.is-active {
  opacity: 1;
}

@keyframes cursorPulse {
  from {
    transform: rotate(45deg) scale(0.7);
  }
  to {
    transform: rotate(45deg) scale(1.12);
  }
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 227, 220, 0.88);
  box-shadow: 0 8px 30px rgba(17, 21, 19, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1240px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 82px;
}

.brand img {
  width: 82px;
  height: auto;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.site-nav a {
  border-radius: 8px;
  color: rgba(17, 21, 19, 0.78);
  font-weight: 700;
  padding: 0.65rem 0.85rem;
  transition: background-color 160ms ease, color 160ms ease;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(8, 127, 115, 0.1);
  color: var(--teal);
}

.nav-login {
  color: var(--coral) !important;
}

.control-cluster {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.2rem;
}

.language-toggle,
.theme-toggle {
  width: 44px;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  border: 1px solid rgba(17, 21, 19, 0.14);
  background: rgba(255, 255, 255, 0.72);
  padding: 0;
  backdrop-filter: blur(14px);
}

.language-toggle:hover,
.theme-toggle:hover {
  transform: translateY(-2px);
}

.flag {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 2px 10px rgba(17, 21, 19, 0.18);
}

.flag-de {
  background: linear-gradient(#111 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66% 100%);
}

.flag-en {
  background:
    linear-gradient(0deg, transparent 38%, #fff 38% 46%, #c8102e 46% 54%, #fff 54% 62%, transparent 62%),
    linear-gradient(90deg, transparent 34%, #fff 34% 44%, #c8102e 44% 56%, #fff 56% 66%, transparent 66%),
    linear-gradient(32deg, transparent 41%, #fff 41% 48%, #c8102e 48% 52%, #fff 52% 59%, transparent 59%),
    linear-gradient(-32deg, transparent 41%, #fff 41% 48%, #c8102e 48% 52%, #fff 52% 59%, transparent 59%),
    #012169;
}

.theme-symbol {
  position: relative;
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
}

.sun-icon,
.moon-icon {
  position: absolute;
  transition: opacity 200ms ease, transform 240ms ease;
}

.sun-icon {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #f6b332;
  box-shadow:
    0 -12px 0 -6px #f6b332,
    0 12px 0 -6px #f6b332,
    12px 0 0 -6px #f6b332,
    -12px 0 0 -6px #f6b332,
    8px 8px 0 -6px #f6b332,
    -8px -8px 0 -6px #f6b332,
    8px -8px 0 -6px #f6b332,
    -8px 8px 0 -6px #f6b332;
}

.moon-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dce7ef;
  transform: scale(0.7) rotate(-18deg);
  opacity: 0;
}

.moon-icon::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: -2px;
  right: -5px;
  border-radius: 50%;
  background: var(--paper);
}

html[data-theme="dark"] .sun-icon {
  opacity: 0;
  transform: scale(0.7) rotate(45deg);
}

html[data-theme="dark"] .moon-icon {
  opacity: 1;
  transform: scale(1) rotate(-18deg);
}

.header-cta,
.button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 0.85rem 1.05rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.header-cta {
  background: var(--ink);
  color: #fff;
  margin-left: 0.3rem;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  position: relative;
  overflow: hidden;
  background: var(--coral);
  color: #fff;
  box-shadow: 0 14px 30px rgba(231, 86, 61, 0.26);
}

.button-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 42%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.button-primary:hover::before {
  transform: translateX(120%);
}

.button-primary::after {
  content: "\2192";
  font-weight: 900;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: #fff;
  backdrop-filter: blur(10px);
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17, 21, 19, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 160ms ease, opacity 160ms ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(17, 21, 19, 0.88), rgba(17, 21, 19, 0.56) 52%, rgba(17, 21, 19, 0.24)), url("assets/services/strategy.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
  overflow: hidden;
  padding: 7rem 0 5rem;
}

.hero-canvas,
.hero-scan,
.hero-wire {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-canvas {
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.58;
  mix-blend-mode: screen;
}

.hero-scan {
  z-index: 1;
  opacity: 0.18;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.14) 1px, transparent 1px, transparent 8px),
    linear-gradient(90deg, transparent, rgba(144, 240, 196, 0.24), transparent);
  background-size: 100% 100%, 38% 100%;
  animation: scanTravel 4.8s linear infinite;
}

.hero-wire {
  z-index: 1;
  opacity: 0.72;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 10px rgba(144, 240, 196, 0.4));
}

.hero-wire-one {
  background-image:
    linear-gradient(90deg, transparent, rgba(144, 240, 196, 0.85), rgba(240, 170, 44, 0.85), transparent),
    linear-gradient(90deg, transparent, rgba(231, 86, 61, 0.8), transparent);
  background-position: 64% 29%, 82% 62%;
  background-size: 260px 2px, 180px 2px;
  animation: wireFloat 5s ease-in-out infinite;
}

.hero-wire-two {
  background-image:
    linear-gradient(180deg, transparent, rgba(63, 176, 113, 0.88), transparent),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  background-position: 72% 18%, 91% 39%;
  background-size: 2px 230px, 2px 170px;
  animation: wireFloat 6.5s ease-in-out infinite reverse;
}

@keyframes scanTravel {
  from {
    background-position: 0 0, -38% 0;
  }
  to {
    background-position: 0 20px, 138% 0;
  }
}

@keyframes wireFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -14px, 0);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 9px;
  background: linear-gradient(90deg, var(--teal), var(--green), var(--amber), var(--coral));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-left: max(20px, calc((100vw - 1180px) / 2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.9rem;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #90f0c4;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  position: relative;
  margin-bottom: 1rem;
  font-size: 5rem;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.36);
}

.hero h1::before,
.hero h1::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero h1::before {
  color: rgba(144, 240, 196, 0.35);
  clip-path: inset(0 0 58% 0);
  transform: translate3d(3px, -2px, 0);
  animation: titleGlitch 4.8s steps(1) infinite;
}

.hero h1::after {
  color: rgba(231, 86, 61, 0.25);
  clip-path: inset(58% 0 0 0);
  transform: translate3d(-3px, 2px, 0);
  animation: titleGlitch 5.6s steps(1) infinite reverse;
}

@keyframes titleGlitch {
  0%,
  84%,
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
  85% {
    opacity: 1;
    transform: translate3d(8px, -3px, 0);
  }
  87% {
    transform: translate3d(-5px, 3px, 0);
  }
  89% {
    opacity: 0.7;
    transform: translate3d(3px, 0, 0);
  }
  91% {
    opacity: 0;
  }
}

h2 {
  font-size: 3rem;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.18;
  letter-spacing: 0;
}

h4 {
  font-size: 1.03rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  max-width: min(690px, calc(100vw - 28px));
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.28rem;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 690px;
  gap: 0.8rem;
  margin: 0;
}

.hero-metrics div {
  min-height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  backdrop-filter: blur(14px);
}

.hero-metrics dt {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.logo-band {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 1.3rem 0;
}

.logo-band .container {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.logo-band .section-kicker {
  margin: 0;
  color: var(--muted);
}

.logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: marquee 28s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-card {
  width: 158px;
  height: 88px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.28rem;
  background: #fff;
  padding: 0.75rem;
}

.logo-card-dark {
  background: #171b18;
  border-color: rgba(255, 255, 255, 0.14);
}

.logo-card-dental {
  padding: 0.45rem;
}

.logo-track img {
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
}

.logo-card-dental img {
  width: 132px;
  max-height: 72px;
  filter: invert(1) brightness(0.38) saturate(0.7);
}

.logo-card-dental figcaption {
  display: none;
}

.logo-card figcaption {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.logo-card-dark figcaption {
  color: rgba(255, 255, 255, 0.84);
}

.logo-word {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1;
}

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

.section {
  padding: 6rem 0;
}

.intro-section {
  background: var(--soft);
}

.split-copy {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.growth-section {
  position: relative;
  background:
    linear-gradient(135deg, rgba(8, 127, 115, 0.1), transparent 34%),
    linear-gradient(315deg, rgba(231, 86, 61, 0.08), transparent 36%),
    var(--paper);
  overflow: hidden;
}

.growth-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 3rem;
  align-items: center;
}

.growth-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.08rem;
}

.growth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.growth-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
  padding: 1rem;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.growth-orbit {
  position: absolute;
  inset: 50%;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(8, 127, 115, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: growthSpin 18s linear infinite;
}

.growth-orbit::before,
.growth-orbit::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 26px rgba(231, 86, 61, 0.6);
}

.growth-orbit::before {
  left: 24px;
  top: 48px;
}

.growth-orbit::after {
  right: 38px;
  bottom: 28px;
  background: var(--green);
  box-shadow: 0 0 26px rgba(63, 176, 113, 0.6);
}

@keyframes growthSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.growth-board article {
  position: relative;
  z-index: 1;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  padding: 1.2rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.growth-board article:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-5px);
}

.growth-board span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 900;
  margin-bottom: 1.4rem;
}

.growth-board p {
  color: var(--muted);
}

.munich-it-section {
  position: relative;
  background: var(--charcoal);
  color: #fff;
  overflow: hidden;
}

.munich-it-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background:
    linear-gradient(90deg, transparent 0 24%, rgba(144, 240, 196, 0.18) 24.1% 24.3%, transparent 24.4% 100%),
    linear-gradient(0deg, transparent 0 28%, rgba(255, 255, 255, 0.1) 28.1% 28.3%, transparent 28.4% 100%);
  background-size: 118px 118px;
  animation: panelGrid 12s linear infinite;
}

.munich-it-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.munich-map {
  position: relative;
  min-height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 48%, rgba(144, 240, 196, 0.2), transparent 31%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.munich-map::before,
.munich-map::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 44% 56% 48% 52%;
  animation: bavariaMorph 8s ease-in-out infinite alternate;
}

.munich-map::after {
  inset: 24%;
  border-color: rgba(240, 170, 44, 0.3);
  animation-duration: 10s;
  animation-direction: alternate-reverse;
}

.bavaria-ring {
  position: absolute;
  inset: 50%;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(144, 240, 196, 0.38);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: growthSpin 16s linear infinite;
}

.bavaria-ring::before,
.bavaria-ring::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 24px rgba(144, 240, 196, 0.8);
}

.bavaria-ring::before {
  left: 34px;
  top: 44px;
}

.bavaria-ring::after {
  right: 32px;
  bottom: 50px;
  background: var(--coral);
}

.munich-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  background: rgba(8, 127, 115, 0.64);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 950;
  box-shadow: 0 0 44px rgba(144, 240, 196, 0.36);
}

.signal-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44%;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(144, 240, 196, 0.95), transparent);
  animation: signalPulse 2.8s ease-in-out infinite;
}

.signal-line-one {
  transform: rotate(28deg);
}

.signal-line-two {
  transform: rotate(152deg);
  animation-delay: 0.45s;
}

.signal-line-three {
  transform: rotate(274deg);
  animation-delay: 0.9s;
}

@keyframes bavariaMorph {
  from {
    border-radius: 44% 56% 48% 52%;
    transform: rotate(-4deg) scale(1);
  }
  to {
    border-radius: 54% 46% 58% 42%;
    transform: rotate(6deg) scale(1.04);
  }
}

@keyframes signalPulse {
  0%,
  100% {
    opacity: 0.35;
    filter: drop-shadow(0 0 4px rgba(144, 240, 196, 0.4));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 16px rgba(144, 240, 196, 0.8));
  }
}

.munich-copy .section-kicker {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
  padding: 0.48rem 0.72rem;
  text-transform: none;
}

.munich-lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.75;
}

.munich-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.munich-service-grid article {
  min-height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 1.1rem;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.munich-service-grid article:hover {
  border-color: rgba(144, 240, 196, 0.46);
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-5px);
}

.munich-service-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 34px;
  border-radius: 8px;
  background: #95f0c2;
  color: #0f1411;
  font-weight: 950;
  margin-bottom: 1.2rem;
}

.munich-service-grid p {
  color: rgba(255, 255, 255, 0.74);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 3rem;
}

.section-heading p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.08rem;
}

.services-section {
  background: #fff;
}

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

.coverage-card,
.project-card,
.plugin-features article,
.process-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.coverage-card,
.project-card,
.plugin-preview,
.code-window {
  position: relative;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(0);
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.coverage-card::after,
.project-card::after,
.plugin-preview::after,
.code-window::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-100%);
  transition: opacity 180ms ease, transform 420ms ease;
}

.coverage-card:hover,
.project-card:hover,
.plugin-preview:hover,
.code-window:hover {
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px);
}

.coverage-card:hover::after,
.project-card:hover::after,
.plugin-preview:hover::after,
.code-window:hover::after {
  opacity: 1;
  transform: translateX(100%);
}

.coverage-card {
  overflow: hidden;
}

.coverage-card img {
  width: 100%;
  height: 190px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 550ms ease;
}

.coverage-card:hover img,
.project-card:hover img,
.plugin-preview:hover img {
  transform: scale(1.045);
}

.card-body {
  padding: 1.1rem;
}

.meter-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.meter-label span {
  font-weight: 900;
}

.meter-label strong {
  color: var(--coral);
}

.meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9eee9;
  margin-bottom: 1rem;
}

.meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--green), var(--amber));
  background-size: 220% 100%;
  transition: width 900ms ease;
  animation: meterFlow 1.8s linear infinite;
}

@keyframes meterFlow {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 220% 0;
  }
}

.coverage-card p,
.project-card p,
.plugin-features p,
.process-list p {
  color: var(--muted);
}

.automation-panel {
  position: relative;
  margin-top: 1.2rem;
  border-radius: 8px;
  background: var(--charcoal);
  color: #fff;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  padding: 2rem;
  overflow: hidden;
}

.automation-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(255, 255, 255, 0.18) 12% 12.4%, transparent 12.4% 100%),
    linear-gradient(0deg, transparent 0 18%, rgba(255, 255, 255, 0.14) 18% 18.3%, transparent 18.3% 100%);
  background-size: 92px 92px;
  animation: panelGrid 9s linear infinite;
}

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

@keyframes panelGrid {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 92px 92px;
  }
}

.automation-panel .section-kicker {
  color: #95f0c2;
}

.automation-panel p {
  color: rgba(255, 255, 255, 0.74);
}

.panel-copy {
  max-width: 430px;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.capability-list article {
  min-height: 142px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 1.1rem;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 0.8rem;
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.capability-list article:hover {
  border-color: rgba(144, 240, 196, 0.5);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.capability-list span {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--teal);
  font-weight: 900;
}

.capability-list h4 {
  margin-bottom: 0.35rem;
}

.capability-list p {
  margin: 0;
  font-size: 0.95rem;
}

.ai-section {
  background: #f9fbf8;
}

.ai-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.ai-layout p {
  color: var(--muted);
  font-size: 1.08rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.chip-row span {
  border: 1px solid rgba(8, 127, 115, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--teal);
  font-weight: 800;
  padding: 0.55rem 0.8rem;
}

.code-window {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #111513;
  color: #f5fbf7;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.code-window pre {
  position: relative;
}

.code-window pre::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(144, 240, 196, 0.08), transparent);
  transform: translateY(-100%);
  animation: codeScan 4.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes codeScan {
  0%,
  15% {
    transform: translateY(-100%);
  }
  60%,
  100% {
    transform: translateY(100%);
  }
}

.code-toolbar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-toolbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--coral);
}

.code-toolbar span:nth-child(2) {
  background: var(--amber);
}

.code-toolbar span:nth-child(3) {
  background: var(--green);
}

pre {
  margin: 0;
  overflow-x: auto;
  padding: 1.4rem;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.94rem;
  line-height: 1.8;
}

.projects-section {
  background: #fff;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 230px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  transition: transform 550ms ease;
}

.project-content {
  padding: 1.25rem;
}

.project-type {
  margin-bottom: 0.6rem;
  color: var(--teal) !important;
  font-size: 0.83rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink);
  font-weight: 700;
}

.plugins-section {
  background: var(--soft);
}

.plugin-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 3rem;
  align-items: center;
}

.plugin-layout p {
  color: var(--muted);
}

.plugin-features {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.plugin-features article {
  padding: 1rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.plugin-features article:hover {
  border-color: rgba(8, 127, 115, 0.28);
  box-shadow: var(--shadow-soft);
  transform: translateX(5px);
}

.plugin-features h3 {
  font-size: 1.08rem;
  margin-bottom: 0.35rem;
}

.plugin-features p {
  margin-bottom: 0;
}

.plugin-preview {
  margin: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.plugin-preview img {
  width: 100%;
  aspect-ratio: 1024 / 445;
  object-fit: cover;
  transition: transform 550ms ease;
}

.plugin-preview figcaption {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0.9rem 1rem;
}

.process-section {
  background: #fff;
}

.process-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.process-list li {
  min-height: 230px;
  padding: 1.25rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.process-list li:hover {
  border-color: rgba(8, 127, 115, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.process-list span {
  color: var(--coral);
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 900;
  margin-bottom: 2.2rem;
}

.contact-section {
  background: var(--charcoal);
  color: #fff;
  padding: 6rem 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: start;
}

.contact-section .section-kicker {
  color: #95f0c2;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.contact-links {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact-links a {
  width: fit-content;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 800;
}

.quote-form {
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

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

.field-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.quote-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.captcha-slot {
  min-height: 0;
  margin: 0.8rem 0;
}

.captcha-slot:empty {
  display: none;
}

.form-note {
  color: var(--muted);
  font-size: 0.86rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.9rem 0 0;
  color: var(--teal);
  font-weight: 800;
}

button:disabled,
.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.legal-section {
  background: var(--soft);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  padding: 1.25rem;
}

.legal-card dl {
  display: grid;
  gap: 0.8rem;
  margin: 0 0 1rem;
}

.legal-card dt {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-card dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.legal-card p {
  color: var(--muted);
}

.legal-card a {
  color: var(--teal);
  font-weight: 800;
}

[data-lang-panel="de"] {
  display: none;
}

html[data-language="de"] [data-lang-panel="en"] {
  display: none;
}

html[data-language="de"] [data-lang-panel="de"],
html[data-language="en"] [data-lang-panel="en"] {
  display: block;
}

.legal-page-main {
  min-height: 100svh;
  background: var(--soft);
}

.legal-page-hero {
  position: relative;
  overflow: hidden;
  padding: 8.5rem 0 4.5rem;
}

.legal-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(8, 127, 115, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 127, 115, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 72%);
  animation: legalGridDrift 18s linear infinite;
}

.legal-page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8, 127, 115, 0.55), rgba(231, 86, 61, 0.55), transparent);
}

@keyframes legalGridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 44px 44px, 44px 44px;
  }
}

.legal-page-shell {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.legal-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-breadcrumb::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.legal-document {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 4vw, 3rem);
  backdrop-filter: blur(18px);
}

.legal-document * {
  min-width: 0;
}

.legal-document::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--coral), var(--amber));
}

.legal-document h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 7vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: none;
}

.legal-document h2 {
  margin: 2rem 0 0.6rem;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.15;
  text-shadow: none;
}

.legal-document h3 {
  margin: 1.4rem 0 0.5rem;
  color: var(--ink);
  font-size: 1.1rem;
}

.legal-document p,
.legal-document li,
.legal-document dd {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.legal-document p {
  max-width: 72ch;
}

.legal-document ul {
  display: grid;
  gap: 0.55rem;
  margin: 0.9rem 0 1.4rem;
  padding-left: 1.15rem;
}

.legal-document a {
  color: var(--teal);
  font-weight: 800;
}

.legal-document .button-primary {
  color: #fff;
}

.legal-document .button-ghost {
  background: rgba(8, 127, 115, 0.08);
  border-color: rgba(8, 127, 115, 0.24);
  color: var(--teal);
}

.legal-updated {
  margin: 0.9rem 0 1.6rem;
  color: var(--muted);
  font-weight: 800;
}

.legal-alert {
  border-left: 4px solid var(--coral);
  border-radius: 8px;
  background: rgba(231, 86, 61, 0.08);
  padding: 1rem 1rem 1rem 1.1rem;
}

.legal-document dl {
  display: grid;
  gap: 0;
  margin: 1.2rem 0 1.5rem;
}

.legal-document dl div {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}

.legal-document dt {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-document dd {
  margin: 0;
}

.legal-storage-table {
  overflow: hidden;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-storage-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.45fr) minmax(0, 1fr);
  border-top: 1px solid var(--line);
}

.legal-storage-row:first-child {
  border-top: 0;
  background: var(--mint);
  color: var(--ink);
  font-weight: 900;
}

.legal-storage-row span {
  padding: 0.85rem 1rem;
  overflow-wrap: anywhere;
}

.legal-storage-row span + span {
  border-left: 1px solid var(--line);
}

.legal-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 1.3rem 0;
}

.lead-chat {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 76;
  width: min(382px, calc(100vw - 28px));
  opacity: 0;
  pointer-events: none;
  transform: translate3d(18px, 18px, 0) scale(0.96);
  transition: opacity 260ms ease, transform 260ms ease;
}

.lead-chat.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.lead-chat-launcher,
.lead-chat-panel {
  border: 1px solid rgba(17, 21, 19, 0.13);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(17, 21, 19, 0.2);
  backdrop-filter: blur(18px);
}

.lead-chat-launcher {
  position: relative;
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  overflow: hidden;
  border: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 244, 0.88)),
    linear-gradient(90deg, var(--teal), var(--coral));
  color: var(--ink);
  cursor: pointer;
  padding: 0.75rem 0.85rem;
  text-align: left;
}

.lead-chat-launcher::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--green), var(--amber), var(--coral));
}

.lead-chat.is-teasing .lead-chat-launcher {
  animation: leadChatPop 520ms cubic-bezier(0.2, 1.4, 0.28, 1), leadChatPulse 2400ms ease-in-out 900ms infinite;
}

@keyframes leadChatPop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes leadChatPulse {
  0%,
  100% {
    box-shadow: 0 24px 70px rgba(17, 21, 19, 0.2);
  }
  50% {
    box-shadow: 0 26px 80px rgba(8, 127, 115, 0.28);
  }
}

.lead-chat-mark {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.lead-chat-mark::before,
.lead-chat-mark::after,
.lead-chat-mark span {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.lead-chat-mark::before {
  position: absolute;
  top: 14px;
}

.lead-chat-mark::after {
  position: absolute;
  bottom: 14px;
  width: 15px;
  transform: translateX(-4px);
}

.lead-chat-mark span {
  transform: translateX(3px);
}

.lead-chat-launcher-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.lead-chat-launcher-copy strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.15;
}

.lead-chat-launcher-copy span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.25;
}

.lead-chat-badge {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.lead-chat-panel {
  position: absolute;
  right: 0;
  bottom: 92px;
  width: 100%;
  max-height: min(650px, calc(100svh - 122px));
  display: grid;
  grid-template-rows: auto minmax(170px, 1fr) auto auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.lead-chat.is-open .lead-chat-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.lead-chat.is-open .lead-chat-launcher {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.lead-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(8, 127, 115, 0.11), rgba(231, 86, 61, 0.08));
  padding: 1rem;
}

.lead-chat-header p {
  margin: 0 0 0.18rem;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-chat-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.15;
}

.lead-chat-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  position: relative;
}

.lead-chat-close::before,
.lead-chat-close::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.lead-chat-close::before {
  transform: rotate(45deg);
}

.lead-chat-close::after {
  transform: rotate(-45deg);
}

.lead-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  overflow: auto;
  padding: 1rem;
  scrollbar-width: thin;
}

.lead-chat-message,
.lead-chat-typing {
  max-width: 86%;
  border-radius: 8px;
  padding: 0.78rem 0.9rem;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.lead-chat-message.is-bot,
.lead-chat-typing {
  align-self: flex-start;
  border: 1px solid var(--line);
  background: var(--soft);
}

.lead-chat-message.is-user {
  align-self: flex-end;
  background: var(--teal);
  color: #fff;
}

.lead-chat-typing {
  display: inline-flex;
  gap: 0.28rem;
  width: auto;
}

.lead-chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: leadChatTyping 780ms ease-in-out infinite alternate;
}

.lead-chat-typing span:nth-child(2) {
  animation-delay: 120ms;
}

.lead-chat-typing span:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes leadChatTyping {
  from {
    opacity: 0.35;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(-4px);
  }
}

.lead-chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
  padding: 0.8rem 1rem;
}

.lead-chat-option {
  border: 1px solid rgba(8, 127, 115, 0.2);
  border-radius: 8px;
  background: rgba(8, 127, 115, 0.08);
  color: var(--teal);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 900;
  padding: 0.62rem 0.72rem;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.lead-chat-option:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}

.lead-chat-form {
  display: grid;
  gap: 0.65rem;
  border-top: 1px solid var(--line);
  padding: 0.95rem 1rem 1rem;
}

.lead-chat-form[hidden] {
  display: none;
}

.lead-chat-form input,
.lead-chat-form textarea {
  min-height: 42px;
  font-size: 0.92rem;
  padding: 0.75rem 0.85rem;
}

.lead-chat-form .button-primary {
  width: 100%;
  color: #fff;
}

.lead-chat-form p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.lead-chat-form-status {
  color: var(--coral) !important;
  font-weight: 800;
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand img {
  width: 100px;
}

.footer-layout p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  background: #101612;
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--ink);
}

html[data-theme="dark"] .site-header.is-scrolled,
html[data-theme="dark"] body.nav-open .site-header {
  background: rgba(12, 16, 13, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .language-toggle,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .nav-toggle {
  background: rgba(15, 20, 17, 0.82);
  border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .lead-chat-launcher,
html[data-theme="dark"] .lead-chat-panel {
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] .lead-chat-launcher {
  background:
    linear-gradient(135deg, rgba(19, 26, 22, 0.96), rgba(15, 20, 17, 0.92)),
    linear-gradient(90deg, var(--teal), var(--coral));
}

html[data-theme="dark"] .lead-chat-mark {
  background: #f3f8f4;
  color: #0f1411;
}

html[data-theme="dark"] .lead-chat-panel {
  background: rgba(19, 26, 22, 0.97);
}

html[data-theme="dark"] .lead-chat-header,
html[data-theme="dark"] .lead-chat-options,
html[data-theme="dark"] .lead-chat-form {
  border-color: rgba(255, 255, 255, 0.13);
}

html[data-theme="dark"] .lead-chat-close {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.13);
}

html[data-theme="dark"] .lead-chat-close::before,
html[data-theme="dark"] .lead-chat-close::after {
  background: var(--ink);
}

html[data-theme="dark"] .lead-chat-message.is-bot,
html[data-theme="dark"] .lead-chat-typing {
  background: #0f1411;
  border-color: rgba(255, 255, 255, 0.13);
}

html[data-theme="dark"] .site-nav a {
  color: rgba(243, 248, 244, 0.78);
}

html[data-theme="dark"] .site-nav a:hover,
html[data-theme="dark"] .site-nav a.is-active {
  background: rgba(144, 240, 196, 0.12);
  color: #90f0c4;
}

html[data-theme="dark"] .logo-band,
html[data-theme="dark"] .services-section,
html[data-theme="dark"] .projects-section,
html[data-theme="dark"] .process-section,
html[data-theme="dark"] .site-footer {
  background: var(--paper);
}

html[data-theme="dark"] .intro-section,
html[data-theme="dark"] .ai-section,
html[data-theme="dark"] .plugins-section,
html[data-theme="dark"] .legal-section {
  background: var(--soft);
}

html[data-theme="dark"] .legal-page-main {
  background: var(--paper);
}

html[data-theme="dark"] .legal-page-hero::before {
  background-image:
    linear-gradient(rgba(144, 240, 196, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(144, 240, 196, 0.08) 1px, transparent 1px);
}

html[data-theme="dark"] .coverage-card,
html[data-theme="dark"] .project-card,
html[data-theme="dark"] .plugin-features article,
html[data-theme="dark"] .process-list li,
html[data-theme="dark"] .quote-form,
html[data-theme="dark"] .legal-card,
html[data-theme="dark"] .logo-card:not(.logo-card-dark),
html[data-theme="dark"] .growth-board,
html[data-theme="dark"] .growth-board article,
html[data-theme="dark"] .chip-row span {
  background: #131a16;
  border-color: rgba(255, 255, 255, 0.13);
}

html[data-theme="dark"] .legal-document {
  background: rgba(19, 26, 22, 0.93);
  border-color: rgba(255, 255, 255, 0.13);
}

html[data-theme="dark"] .legal-alert {
  background: rgba(231, 86, 61, 0.12);
}

html[data-theme="dark"] .legal-document .button-ghost {
  background: rgba(144, 240, 196, 0.1);
  border-color: rgba(144, 240, 196, 0.24);
  color: #90f0c4;
}

html[data-theme="dark"] .legal-storage-row:first-child {
  background: #143b2a;
}

html[data-theme="dark"] .logo-card:not(.logo-card-dark) figcaption,
html[data-theme="dark"] .footer-layout p,
html[data-theme="dark"] .footer-links,
html[data-theme="dark"] .form-note,
html[data-theme="dark"] .quote-form label {
  color: var(--muted);
}

html[data-theme="dark"] .logo-card-dental img {
  filter: none;
}

html[data-theme="dark"] .button-dark,
html[data-theme="dark"] .growth-board span {
  background: #f3f8f4;
  color: #0f1411;
}

html[data-theme="dark"] .moon-icon::after {
  background: #0f1411;
}

html[data-theme="dark"] .project-card img,
html[data-theme="dark"] .plugin-preview figcaption {
  border-color: rgba(255, 255, 255, 0.13);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .coverage-grid,
  .process-list,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .project-card {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
  }

  .project-card img {
    height: 100%;
    min-height: 280px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .header-cta {
    display: none;
  }

  .nav-shell {
    gap: 0.55rem;
  }

  .brand {
    min-width: auto;
    margin-right: auto;
  }

  .control-cluster {
    order: 2;
    margin-left: 0;
    gap: 0.4rem;
  }

  .theme-toggle {
    width: 44px;
    min-width: 44px;
  }

  .nav-toggle {
    order: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex: 0 0 44px;
    margin-left: 0;
    background: var(--ink);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 10px 26px rgba(17, 21, 19, 0.28);
  }

  .nav-toggle span {
    background: #fff;
  }

  .site-nav {
    position: fixed;
    inset: 78px 16px auto;
    z-index: 60;
    margin-left: 0;
    display: grid;
    gap: 0.45rem;
    max-height: calc(100svh - 96px);
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 0.85rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease;
    backdrop-filter: blur(18px);
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    border: 1px solid rgba(17, 21, 19, 0.08);
    background: rgba(244, 247, 244, 0.86);
    color: #111513;
    padding: 0.9rem 1rem;
    font-weight: 850;
  }

  .site-nav a:hover,
  .site-nav a.is-active {
    background: rgba(8, 127, 115, 0.12);
    color: var(--teal);
  }

  .site-nav .nav-login {
    background: rgba(231, 86, 61, 0.1);
    border-color: rgba(231, 86, 61, 0.18);
    color: var(--coral) !important;
  }

  html[data-theme="dark"] .site-nav {
    background: rgba(15, 20, 17, 0.98);
    border-color: rgba(255, 255, 255, 0.13);
  }

  html[data-theme="dark"] .nav-toggle {
    background: #f3f8f4;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
  }

  html[data-theme="dark"] .nav-toggle span {
    background: #0f1411;
  }

  html[data-theme="dark"] .site-nav a {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.045);
    color: #f3f8f4;
  }

  html[data-theme="dark"] .site-nav a:hover,
  html[data-theme="dark"] .site-nav a.is-active {
    background: rgba(144, 240, 196, 0.12);
    color: #90f0c4;
  }

  html[data-theme="dark"] .site-nav .nav-login {
    background: rgba(231, 86, 61, 0.14);
    border-color: rgba(231, 86, 61, 0.24);
    color: #ff7b63 !important;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero {
    min-height: 78svh;
    padding: 6rem 0 4rem;
    background-position: 56% center;
  }

  .hero-content {
    margin-left: auto;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .logo-band .container,
  .split-copy,
  .growth-layout,
  .munich-it-layout,
  .automation-panel,
  .ai-layout,
  .plugin-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .logo-band .container {
    gap: 0.9rem;
  }

  .logo-track figure {
    width: 132px;
  }

  .section {
    padding: 4.5rem 0;
  }

  .legal-page-hero {
    padding-top: 6.5rem;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav-shell {
    width: min(100% - 24px, 1240px);
  }

  .brand img {
    width: 72px;
  }

  .hero {
    min-height: auto;
    padding: 5.8rem 0 3.4rem;
    background-image: linear-gradient(90deg, rgba(17, 21, 19, 0.9), rgba(17, 21, 19, 0.63)), url("assets/services/strategy.jpg");
  }

  .hero-content {
    width: calc(100% - 28px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy {
    width: min(100%, 350px);
    max-width: 350px;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .hero-actions,
  .quote-form .button {
    width: 100%;
    max-width: 100%;
  }

  .hero-actions .button,
  .quote-form .button {
    width: 100%;
    min-width: 0;
  }

  .hero-metrics,
  .coverage-grid,
  .growth-board,
  .munich-service-grid,
  .capability-list,
  .form-grid,
  .process-list,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    min-height: 78px;
  }

  .coverage-card img {
    height: 210px;
  }

  .automation-panel,
  .quote-form {
    padding: 1.1rem;
  }

  .capability-list article {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .project-card {
    display: block;
  }

  .project-card img {
    min-height: 0;
    height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .lead-chat {
    right: 14px;
    bottom: 14px;
    width: calc(100vw - 28px);
  }

  .lead-chat-launcher {
    min-height: 72px;
    grid-template-columns: 46px minmax(0, 1fr) auto;
  }

  .lead-chat-mark {
    width: 44px;
    height: 44px;
  }

  .lead-chat-panel {
    bottom: 84px;
    max-height: calc(100svh - 106px);
  }

  .lead-chat-message,
  .lead-chat-typing {
    max-width: 92%;
  }

  .legal-page-hero {
    padding: 5.7rem 0 3rem;
  }

  .legal-document dl div,
  .legal-storage-row {
    grid-template-columns: 1fr;
  }

  .legal-storage-row span + span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .legal-action-row .button {
    width: 100%;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cursor-trace,
  .hero-canvas,
  .hero-scan,
  .hero-wire {
    display: none;
  }

  .lead-chat.is-teasing .lead-chat-launcher,
  .lead-chat-typing span {
    animation: none;
  }
}
