:root {
  --blue: #e4edf8;
  --blue-soft: #f5f8fc;
  --ink: #0f172a;
  --muted: #475569;
  --line: #d8e0ea;
  --paper: #f8fafc;
  --surface: #ffffff;
  --green-soft: #f2f7f5;
  --tan-soft: #f4f6f8;
  --accent: #1d4ed8;
  --accent-soft: #dbeafe;
  --max: 1440px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 18px 42px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(16px, 0.35vw + 15px, 18px);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 92px;
  padding: 18px clamp(20px, 4vw, 56px);
  display: flex;
  justify-content: center;
  background: rgba(248, 250, 252, 0.94);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.section-indicator {
  position: fixed;
  top: 50%;
  right: clamp(10px, 1.4vw, 28px);
  z-index: 18;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #8a95a6;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.section-indicator.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

.section-indicator::before,
.section-indicator::after {
  content: "";
  width: 10px;
  height: 38px;
  opacity: 0.72;
}

.section-indicator::before {
  background:
    radial-gradient(circle, currentColor 0 2px, transparent 2.4px) 50% 3px / 10px 10px no-repeat,
    radial-gradient(circle, currentColor 0 2.8px, transparent 3.2px) 50% 16px / 10px 10px no-repeat,
    radial-gradient(circle, currentColor 0 3.6px, transparent 4px) 50% 31px / 10px 10px no-repeat;
}

.section-indicator::after {
  background:
    radial-gradient(circle, currentColor 0 3.6px, transparent 4px) 50% 3px / 10px 10px no-repeat,
    radial-gradient(circle, currentColor 0 2.8px, transparent 3.2px) 50% 18px / 10px 10px no-repeat,
    radial-gradient(circle, currentColor 0 2px, transparent 2.4px) 50% 32px / 10px 10px no-repeat;
}

.section-indicator strong {
  color: currentColor;
  font-size: clamp(12px, 0.18vw + 11px, 14px);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.header-inner {
  width: 100%;
  max-width: var(--max);
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(0, auto) minmax(190px, 1fr);
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand span { max-width: 130px; line-height: 1.12; }

.site-nav {
  display: flex;
  gap: clamp(16px, 2.1vw, 34px);
  align-items: center;
  justify-content: center;
  font-size: clamp(14px, 0.2vw + 13px, 16px);
}

.site-nav a,
.nav-dropdown-toggle {
  position: relative;
  padding: 8px 0;
  color: var(--ink);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  line-height: inherit;
}

.nav-dropdown-toggle span {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle span,
.nav-dropdown:hover .nav-dropdown-toggle span,
.nav-dropdown:focus-within .nav-dropdown-toggle span {
  transform: translateY(2px) rotate(225deg);
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  left: -18px;
  right: -18px;
  height: 18px;
}

.site-nav a::after,
.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after,
.nav-dropdown-toggle:hover::after,
.nav-dropdown-toggle.active::after { transform: scaleX(1); }

.nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 30;
  min-width: 286px;
  padding: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  background: rgba(248, 250, 252, 0.98);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.is-open .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-submenu a {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  white-space: nowrap;
}

.nav-submenu a::after {
  display: none;
}

.nav-submenu a:hover,
.nav-submenu a.active {
  background: var(--blue);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: clamp(14px, 0.15vw + 13px, 16px);
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-cta:hover,
.button:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

.button.secondary {
  background: var(--ink);
  color: var(--paper);
}

.text-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.text-button {
  color: var(--muted);
  font-weight: 600;
}

.text-button:hover {
  color: var(--ink);
}

.cta-band .button {
  background: var(--paper);
  color: var(--ink);
}

.cta-band .button:hover {
  background: var(--paper);
  color: var(--ink);
}

.header-cta {
  justify-self: end;
}

.menu-toggle { display: none; border-radius: 999px; }

.section {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 72px);
}

#loesungen {
  scroll-margin-top: 112px;
}

.section.blue { background: var(--blue); }
.section.soft { background: var(--blue-soft); }
.section.green { background: var(--green-soft); }
.section.tan { background: var(--tan-soft); }
.inner { max-width: var(--max); margin: 0 auto; }

.section.blue p,
.section.tan p,
.hero p,
.page-hero p {
  color: var(--ink);
}

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 704px) minmax(320px, 664px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  align-content: center;
  justify-content: center;
  background: var(--blue);
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: clamp(12px, 0.15vw + 12px, 14px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  margin: 24px 0 0;
  max-width: 42rem;
  font-size: clamp(20px, 1.3vw, 30px);
  line-height: 1.35;
  color: var(--ink);
}

.hero-copy { align-self: start; padding-bottom: 0; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.system-visual {
  min-height: 520px;
  padding: clamp(22px, 4vw, 42px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 252, 0.92)),
    radial-gradient(circle at 80% 12%, rgba(37, 99, 235, 0.16), transparent 34%);
  box-shadow: var(--shadow-soft);
  display: grid;
  align-content: space-between;
  gap: 28px;
  overflow: hidden;
  position: relative;
}

.system-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: calc(var(--radius-lg) - 10px);
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(135deg, #000, transparent 78%);
  pointer-events: none;
}

.system-topline,
.system-grid,
.system-bars,
.system-image {
  position: relative;
  z-index: 1;
}

.system-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

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

.system-node {
  min-height: 82px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-weight: 700;
}

.system-node.primary {
  background: var(--ink);
  color: var(--surface);
}

.system-bars {
  display: grid;
  gap: 12px;
}

.system-bars span {
  height: 10px;
  width: var(--w);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #7aa7ff);
}

.system-image {
  width: 100%;
  height: 138px;
  object-fit: cover;
  border-radius: var(--radius-md);
  filter: saturate(0.75) contrast(0.95);
  opacity: 0.78;
}

.strategy-visual {
  grid-template-rows: auto 1fr auto;
  align-content: stretch;
}

.strategy-topline,
.strategy-map,
.strategy-decisions {
  position: relative;
  z-index: 1;
}

.strategy-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.strategy-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.strategy-column {
  min-width: 0;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 12px;
  align-content: start;
}

.strategy-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.strategy-card {
  min-height: 54px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: clamp(15px, 0.18vw + 14px, 17px);
  font-weight: 700;
  line-height: 1.25;
}

.strategy-card.primary {
  background: var(--ink);
  color: var(--surface);
}

.strategy-roadmap {
  position: relative;
  display: grid;
  place-items: center;
  gap: 12px;
}

.strategy-roadmap::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, rgba(29, 78, 216, 0.18), var(--accent), rgba(29, 78, 216, 0.18));
  transform: translateX(-50%);
}

.strategy-roadmap span {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.strategy-decisions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.strategy-decisions article {
  min-width: 0;
  min-height: 94px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.strategy-decisions strong,
.strategy-decisions span {
  display: block;
}

.strategy-decisions strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(15px, 0.18vw + 14px, 17px);
  line-height: 1.2;
}

.strategy-decisions span {
  color: var(--muted);
  font-size: clamp(13px, 0.15vw + 12px, 15px);
  line-height: 1.35;
}

.automation-hero {
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(228, 237, 248, 0.96), rgba(218, 232, 248, 0.96)),
    var(--blue);
  overflow: hidden;
}

.automation-hero-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1fr);
  gap: clamp(34px, 5vw, 82px);
  align-items: center;
  position: relative;
}

.automation-hero-copy {
  position: relative;
  z-index: 3;
}

.automation-hero-copy .eyebrow {
  margin-bottom: 16px;
}

.automation-hero-copy h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: 0;
}

.automation-hero-copy p {
  margin: 24px 0 0;
  max-width: 42rem;
  color: var(--ink);
  font-size: clamp(20px, 1.15vw, 28px);
  line-height: 1.35;
}

.automation-layered-visual {
  min-height: clamp(520px, 43vw, 680px);
  position: relative;
  isolation: isolate;
}

.layered-scene {
  min-height: inherit;
  position: relative;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.layered-scene::before {
  content: "";
  position: absolute;
  inset: 7% 0 4%;
  z-index: 0;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 46%, rgba(96, 165, 250, 0.22), transparent 38%),
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  mask-image: linear-gradient(120deg, transparent, #000 16%, #000 84%, transparent);
  pointer-events: none;
}

.layer-plate {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: var(--z);
  width: var(--w);
  aspect-ratio: 1.68;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 24px;
  background: linear-gradient(145deg, var(--plate-a), var(--plate-b));
  box-shadow:
    0 26px 52px rgba(15, 23, 42, var(--shadow-alpha, 0.14)),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  overflow: hidden;
  transform:
    translate(-50%, -50%)
    translateY(var(--lift))
    rotateX(58deg)
    rotateZ(-35deg);
  transform-style: preserve-3d;
  animation: layeredFloat 6s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.layer-plate::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.layer-foundation {
  --z: 1;
  --w: min(86%, 660px);
  --lift: 132px;
  --plate-a: #10243f;
  --plate-b: #1d4f73;
  --shadow-alpha: 0.22;
  --delay: -1.4s;
}

.layer-process {
  --z: 3;
  --w: min(76%, 590px);
  --lift: 28px;
  --plate-a: #0f172a;
  --plate-b: #17365f;
  --shadow-alpha: 0.24;
  --delay: -0.7s;
}

.layer-intelligence {
  --z: 5;
  --w: min(64%, 500px);
  --lift: -64px;
  --plate-a: rgba(234, 242, 251, 0.96);
  --plate-b: rgba(166, 203, 240, 0.88);
  --shadow-alpha: 0.16;
  --delay: -2s;
}

.layer-outcomes {
  --z: 7;
  --w: min(52%, 420px);
  --lift: -150px;
  --plate-a: rgba(255, 255, 255, 0.92);
  --plate-b: rgba(207, 225, 240, 0.9);
  --shadow-alpha: 0.14;
  --delay: -0.2s;
}

.plate-title {
  position: absolute;
  top: 18%;
  left: 12%;
  z-index: 2;
  color: rgba(248, 250, 252, 0.9);
  font-size: clamp(13px, 0.22vw + 12px, 16px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.layer-intelligence .plate-title,
.layer-outcomes .plate-title {
  color: var(--ink);
}

.tile-grid,
.outcome-modules,
.rule-chips {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.tile-grid {
  right: 10%;
  bottom: 14%;
  width: 54%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tile-grid span,
.outcome-modules span,
.rule-chips span {
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(248, 250, 252, 0.92);
  display: grid;
  place-items: center;
  font-size: clamp(11px, 0.18vw + 10px, 13px);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.layer-intelligence .rule-chips span,
.outcome-modules span {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.network-map {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.network-node {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #bfdbfe;
  box-shadow: 0 0 0 10px rgba(96, 165, 250, 0.16), 0 0 26px rgba(147, 197, 253, 0.8);
  animation: nodeGlow 3.4s ease-in-out infinite;
}

.node-a { top: 27%; left: 26%; }
.node-b { top: 46%; left: 43%; animation-delay: -0.8s; }
.node-c { top: 35%; right: 26%; animation-delay: -1.5s; }
.node-d { bottom: 24%; left: 58%; animation-delay: -2.1s; }

.network-line {
  position: absolute;
  z-index: 1;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(191, 219, 254, 0.9), transparent);
  transform-origin: left center;
}

.line-a { top: 38%; left: 28%; width: 35%; transform: rotate(18deg); }
.line-b { top: 48%; left: 43%; width: 30%; transform: rotate(-24deg); }
.line-c { top: 57%; left: 32%; width: 38%; transform: rotate(8deg); }

.ai-core {
  position: absolute;
  z-index: 3;
  top: 48%;
  left: 50%;
  width: clamp(60px, 5vw, 82px);
  height: clamp(60px, 5vw, 82px);
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  display: grid;
  place-items: center;
  font-size: clamp(22px, 1.2vw + 18px, 34px);
  font-weight: 800;
  box-shadow: 0 0 0 14px rgba(29, 78, 216, 0.14), 0 18px 42px rgba(15, 23, 42, 0.18);
  transform: translate(-50%, -50%);
}

.rule-chips {
  left: 16%;
  right: 16%;
  bottom: 14%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.outcome-modules {
  right: 10%;
  bottom: 18%;
  width: 58%;
}

.signal-rail {
  position: absolute;
  left: var(--x);
  top: 18%;
  z-index: 2;
  width: 2px;
  height: 64%;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.18), rgba(29, 78, 216, 0.5), transparent);
  transform: rotate(var(--r));
  transform-origin: center;
}

.rail-one { --x: 31%; --r: -9deg; }
.rail-two { --x: 50%; --r: 0deg; }
.rail-three { --x: 68%; --r: 9deg; }

.signal-dot {
  position: absolute;
  left: var(--x);
  top: 78%;
  z-index: 8;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(29, 78, 216, 0.14), 0 0 24px rgba(29, 78, 216, 0.52);
  animation: signalRise 4.2s ease-in-out infinite;
}

.dot-one { --x: 30%; animation-delay: -0.2s; }
.dot-two { --x: 50%; animation-delay: -1.4s; }
.dot-three { --x: 69%; animation-delay: -2.5s; }

.layer-callout {
  display: none;
}

.layer-callout strong,
.layer-callout span {
  display: block;
}

.layer-callout strong {
  margin-bottom: 5px;
  font-size: clamp(13px, 0.2vw + 12px, 15px);
  line-height: 1.1;
}

.layer-callout span {
  color: var(--muted);
  font-size: clamp(12px, 0.18vw + 11px, 14px);
  line-height: 1.35;
}

.callout-left {
  left: 0;
  bottom: 18%;
}

.callout-right {
  right: 0;
  top: 24%;
}

@keyframes layeredFloat {
  0%, 100% {
    transform:
      translate(-50%, -50%)
      translateY(var(--lift))
      rotateX(58deg)
      rotateZ(-35deg);
  }
  50% {
    transform:
      translate(-50%, -50%)
      translateY(calc(var(--lift) - 8px))
      rotateX(58deg)
      rotateZ(-35deg);
  }
}

@keyframes nodeGlow {
  0%, 100% { opacity: 0.7; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes signalRise {
  0% { top: 78%; opacity: 0; transform: translateX(-50%) scale(0.7); }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { top: 20%; opacity: 0; transform: translateX(-50%) scale(1.08); }
}

.automation-stack-page {
  position: relative;
  min-height: 620vh;
  background:
    radial-gradient(circle at 72% 18%, rgba(96, 165, 250, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(228, 237, 248, 0.98), rgba(242, 247, 252, 0.98));
  overflow: clip;
}

.automation-stack-sticky {
  position: sticky;
  top: 92px;
  z-index: 1;
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.automation-stack-sticky-inner,
.automation-stack-sections {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1fr);
  gap: clamp(34px, 5vw, 82px);
  align-items: center;
}

.automation-stack-sections {
  position: sticky;
  top: 92px;
  z-index: 2;
  min-height: calc(100vh - 92px);
  margin-top: calc(-1 * (100vh - 92px));
  pointer-events: none;
}

.automation-stack-section {
  grid-column: 1;
  grid-row: 1;
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: auto;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity 190ms cubic-bezier(0.4, 0, 1, 1),
    transform 190ms cubic-bezier(0.4, 0, 1, 1),
    visibility 0s linear 190ms;
}

.automation-stack-section.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 300ms cubic-bezier(0, 0, 0.2, 1) 170ms,
    transform 300ms cubic-bezier(0, 0, 0.2, 1) 170ms,
    visibility 0s linear 0s;
}

.automation-stack-section > div {
  max-width: 620px;
}

.automation-stack-section h1,
.automation-stack-section h2 {
  margin: 0;
  max-width: 12ch;
  font-weight: 500;
  letter-spacing: 0;
}

.automation-stack-section h1 {
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.04;
}

.automation-stack-section h2 {
  font-size: clamp(36px, 3.5vw, 58px);
  line-height: 1.08;
}

.automation-stack-section p {
  margin: 24px 0 0;
  max-width: 46rem;
  color: var(--ink);
  font-size: clamp(20px, 1.05vw, 27px);
  line-height: 1.42;
}

.automation-section-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.automation-section-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
  font-size: clamp(13px, 0.18vw + 12px, 15px);
  font-weight: 700;
  line-height: 1;
}

.scroll-stack-visual {
  grid-column: 2;
  position: relative;
  min-height: min(72vh, 720px);
  pointer-events: auto;
}

.scroll-stack-scene {
  position: absolute;
  inset: 0;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.scroll-stack-scene::before {
  content: "";
  position: absolute;
  inset: 5% 0 2%;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 48%, rgba(96, 165, 250, 0.22), transparent 36%),
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  mask-image: linear-gradient(120deg, transparent, #000 14%, #000 86%, transparent);
}

.scroll-stack-layer {
  --layer-x: 0px;
  --layer-y: 0px;
  --layer-scale: 1;
  --layer-opacity: 0.72;
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(86%, 720px);
  aspect-ratio: 1.7;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--layer-color) 24%, #0f172a), #10233f 72%),
    var(--ink);
  box-shadow:
    0 24px 58px rgba(15, 23, 42, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  opacity: var(--layer-opacity);
  overflow: hidden;
  transform:
    translate(-50%, -50%)
    translateX(var(--layer-x))
    translateY(var(--layer-y))
    rotateX(58deg)
    rotateZ(-35deg)
    scale(var(--layer-scale));
  transform-style: preserve-3d;
  transition:
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 420ms cubic-bezier(0.4, 0, 0.2, 1),
    filter 220ms ease,
    box-shadow 220ms ease;
  will-change: transform, opacity;
}

.scroll-stack-layer::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 20px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 32px 32px;
}

.scroll-stack-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 35%, color-mix(in srgb, var(--layer-color) 46%, transparent), transparent 34%);
  opacity: 0.7;
}

.scroll-stack-layer.is-active {
  filter: saturate(1.12);
  box-shadow:
    0 30px 76px rgba(15, 23, 42, 0.24),
    0 0 0 1px color-mix(in srgb, var(--layer-color) 65%, transparent),
    0 0 44px color-mix(in srgb, var(--layer-color) 24%, transparent);
}

.scroll-stack-layer.is-leaving {
  filter: saturate(1.02) brightness(1.04);
}

.scroll-stack-layer.is-dismissed {
  pointer-events: none;
}

.scroll-layer-topline {
  position: absolute;
  top: 13%;
  left: 11%;
  right: 11%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(248, 250, 252, 0.92);
  font-size: clamp(12px, 0.22vw + 11px, 15px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.scroll-layer-copy {
  position: absolute;
  left: 11%;
  bottom: 14%;
  z-index: 2;
  width: 42%;
  color: rgba(248, 250, 252, 0.9);
}

.scroll-layer-copy h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(18px, 0.55vw + 16px, 24px);
  line-height: 1.08;
}

.scroll-layer-copy p {
  display: -webkit-box;
  margin: 10px 0 0;
  max-width: none;
  color: rgba(226, 232, 240, 0.76);
  font-size: clamp(11px, 0.12vw + 10px, 13px);
  font-weight: 600;
  line-height: 1.35;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.scroll-layer-grid {
  position: absolute;
  right: 10%;
  bottom: 14%;
  z-index: 2;
  width: 39%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.scroll-layer-grid span {
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(248, 250, 252, 0.92);
  display: grid;
  place-items: center;
  font-size: clamp(11px, 0.18vw + 10px, 13px);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.security-visual {
  grid-template-rows: auto 1fr auto;
  align-content: stretch;
}

.security-topline,
.security-layout,
.security-checks {
  position: relative;
  z-index: 2;
}

.security-topline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.security-topline span:nth-child(2) {
  text-align: center;
}

.security-topline span:last-child {
  text-align: right;
}

.security-layer,
.security-checks span {
  min-height: 54px;
  padding: 15px 17px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: clamp(15px, 0.18vw + 14px, 17px);
  font-weight: 700;
  line-height: 1.25;
  min-width: 0;
  position: relative;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: normal;
}

.security-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: center;
}

.security-ring {
  aspect-ratio: 1;
  min-height: 260px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(15, 23, 42, 0.96) 0 34%, transparent 35%),
    conic-gradient(from 28deg, rgba(29, 78, 216, 0.14), rgba(29, 78, 216, 0.48), rgba(15, 23, 42, 0.14), rgba(29, 78, 216, 0.14));
  position: relative;
  box-shadow: var(--shadow-soft);
}

.security-ring strong {
  position: absolute;
  inset: 50% auto auto 50%;
  color: var(--surface);
  font-size: clamp(19px, 0.8vw + 17px, 28px);
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  transform: translate(-50%, -50%);
}

.security-ring span {
  position: absolute;
  min-width: 86px;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.security-ring span:nth-of-type(1) { top: 6%; left: 50%; transform: translateX(-50%); }
.security-ring span:nth-of-type(2) { top: 34%; right: -2%; }
.security-ring span:nth-of-type(3) { right: 10%; bottom: 7%; }
.security-ring span:nth-of-type(4) { left: 9%; bottom: 7%; }
.security-ring span:nth-of-type(5) { top: 34%; left: -2%; }

.security-stack {
  display: grid;
  gap: 12px;
}

.security-layer.primary {
  background: var(--ink);
  color: var(--surface);
}

.security-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.image-mosaic {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  grid-template-rows: 1fr 0.75fr 0.72fr;
  gap: 16px;
  transform: translateX(5%);
}

.image-mosaic img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.image-mosaic img,
.feature-image img,
.team-card img,
.testimonial img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-mosaic img:nth-child(1) { grid-row: 1 / 3; }
.image-mosaic img:nth-child(2) { grid-column: 2; grid-row: 1; }
.image-mosaic img:nth-child(3) { grid-column: 2; grid-row: 2 / 4; }
.image-mosaic img:nth-child(4) { grid-column: 1; grid-row: 3; }

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

h2 {
  margin: 0 0 24px;
  max-width: 15ch;
  font-size: clamp(32px, 3.2vw, 52px);
  line-height: 1.12;
  font-weight: 500;
}

h3 {
  margin: 0 0 14px;
  font-size: clamp(22px, 1.7vw, 32px);
  line-height: 1.2;
  font-weight: 500;
}

p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
}

.lead {
  max-width: 60ch;
  font-size: clamp(18px, 0.7vw + 16px, 22px);
  line-height: 1.55;
  color: var(--ink);
}

.split > div > .stats:first-child {
  margin-top: 0;
}

.card h3,
.service-item h3,
.panel h3,
.step h3,
.value h3,
.contact-card h3 {
  margin-bottom: 12px;
  font-size: clamp(20px, 0.55vw + 18px, 25px);
  line-height: 1.24;
}

.card p,
.service-item p,
.panel p,
.step p,
.value p,
.contact-card p {
  font-size: clamp(15px, 0.18vw + 14px, 17px);
  line-height: 1.58;
}

.system-node,
.stack-grid span {
  font-size: clamp(15px, 0.18vw + 14px, 17px);
  line-height: 1.3;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.stat {
  min-height: 126px;
  padding: 24px 26px;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.stat strong {
  display: block;
  font-size: clamp(20px, 0.55vw + 18px, 25px);
  line-height: 1.24;
  font-weight: 500;
}

.stat span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: clamp(15px, 0.18vw + 14px, 17px);
  line-height: 1.58;
}

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

.card {
  min-height: 300px;
  padding: clamp(24px, 3vw, 42px);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card p { margin-top: 16px; }
.card .button { align-self: flex-start; margin-top: 28px; }

.approach {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}

.steps {
  display: grid;
  gap: 18px;
}

.step {
  padding: clamp(24px, 3.5vw, 46px);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.step-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.feature-image {
  min-height: 520px;
  background: #e7ebf0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.team-grid,
.testimonial-grid,
.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(22px, 3vw, 34px);
}

.team-card {
  display: grid;
  grid-template-rows: minmax(300px, 430px) auto;
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.team-card div { padding: 28px; }
.team-card small { display: block; color: var(--muted); margin-bottom: 8px; }

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 677px) minmax(300px, 677px);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
  align-content: center;
  justify-content: center;
  min-height: 650px;
  background: var(--blue);
  overflow: hidden;
}

.page-hero .feature-image {
  min-height: 520px;
  margin-bottom: 0;
}

.page-hero .system-visual {
  min-height: 500px;
  margin-bottom: 0;
}

.contact-hero {
  grid-template-columns: minmax(0, var(--max));
  justify-content: center;
}

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

.service-item {
  min-height: 290px;
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.panel {
  padding: clamp(28px, 4vw, 54px);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.tech-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

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

.stack-grid span {
  min-height: 68px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  color: var(--ink);
  font-weight: 700;
}

.solution-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.solution-logo-card {
  min-height: 112px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-rows: 54px auto;
  gap: 14px;
  align-items: center;
}

.solution-logo-card img {
  display: block;
  max-width: min(100%, 160px);
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.solution-logo-card .halo-logo {
  max-width: 44px;
  max-height: 44px;
}

.solution-logo-card .servicenow-logo {
  max-width: 150px;
  max-height: 36px;
}

.solution-logo-card .armis-logo {
  max-width: 132px;
  max-height: 42px;
}

.solution-logo-card .unifi-logo {
  max-width: 138px;
  max-height: 42px;
}

.solution-logo-card span {
  display: block;
}

.solution-wordmark {
  align-self: center;
  justify-self: start;
  color: var(--ink);
  font-size: clamp(22px, 1.1vw + 18px, 34px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.solution-logo-card span {
  color: var(--muted);
  font-size: clamp(13px, 0.2vw + 12px, 15px);
  line-height: 1.3;
}

.solution-logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.solution-logo-card.more-platforms {
  grid-column: 1 / -1;
  min-height: 88px;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr;
  align-items: center;
}

.logo-grid {
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  margin-top: 34px;
}

.logo-grid img {
  width: 100%;
  height: 82px;
  object-fit: contain;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

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

.testimonial {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.testimonial img { height: 230px; }
.testimonial div { padding: 24px; }

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(32px, 5vw, 62px);
  border-radius: var(--radius-lg);
}

.cta-band p { color: #d8d8d8; max-width: 620px; }

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

.value {
  background: var(--surface);
  padding: 28px;
  min-height: 250px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}

.contact-booking-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2.5vw, 34px);
}

.contact-booking-layout > div:first-child {
  max-width: 760px;
}

.contact-card {
  padding: clamp(28px, 4vw, 52px);
  background: var(--blue-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.booking-panel {
  position: relative;
  min-height: 0;
  overflow: visible;
  background: transparent;
}

.booking-frame {
  width: min(100%, 1080px);
  height: clamp(440px, 52vh, 560px) !important;
  min-height: 0 !important;
  max-height: 560px !important;
  overflow: hidden !important;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

.booking-frame > * {
  margin-left: 0 !important;
  margin-right: auto !important;
  margin-top: 0 !important;
}

.booking-frame .cal-inline-container,
.booking-frame iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.booking-frame iframe {
  display: block !important;
  border: 0 !important;
}

.legal-hero {
  grid-template-columns: minmax(0, var(--max));
  justify-content: center;
  min-height: 520px;
}

.legal-hero h1 {
  max-width: none;
}

.legal-content {
  max-width: var(--max);
}

.legal-section {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.legal-section + .legal-section {
  margin-top: clamp(34px, 5vw, 72px);
}

.legal-section h2 {
  max-width: none;
  margin-bottom: 18px;
  font-size: clamp(24px, 1.4vw, 32px);
}

.legal-section p + p {
  margin-top: 12px;
}

.legal-section p {
  max-width: none;
}

.legal-section a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  max-width: none;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(14px, 0.2vw + 13px, 16px);
}

.site-footer {
  padding: clamp(28px, 4vw, 48px) clamp(20px, 5vw, 72px) 22px;
  background: var(--blue);
  font-size: clamp(14px, 0.2vw + 13px, 16px);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(140px, 0.7fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  line-height: 1.12;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer-brand span {
  max-width: 140px;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--ink);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-links {
  padding-top: 2px;
}

.footer-links h3,
.footer-contact h3 {
  margin: 0 0 8px;
  font-size: clamp(16px, 0.45vw + 14px, 20px);
  line-height: 1.2;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-weight: 600;
}

.linkedin-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #0a66c2;
  color: #ffffff;
  display: inline-grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  font-family: Arial, sans-serif;
}

.footer-bottom {
  max-width: var(--max);
  margin: 26px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
}

.footer-bottom .legal-links {
  grid-column: 1;
  justify-self: start;
}

.footer-bottom > p {
  grid-column: 2;
  justify-self: end;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.consent-float-button {
  appearance: none;
  position: fixed;
  right: clamp(18px, 2vw, 36px);
  bottom: clamp(18px, 2vw, 36px);
  z-index: 45;
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transform: translateY(0);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.consent-float-button:hover {
  border-color: var(--ink);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.14);
  transform: translateY(-3px);
}

.consent-float-button.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.96);
}

.consent-float-button svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.consent-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(15, 23, 42, 0.32);
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.consent-layer.is-open {
  display: flex;
}

.consent-panel {
  position: relative;
  width: min(100%, 980px);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
  display: grid;
  gap: 24px;
}

.consent-close {
  appearance: none;
  position: absolute;
  top: 22px;
  right: 24px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.consent-close:hover {
  color: var(--accent);
}

.consent-copy h2 {
  max-width: none;
  margin-bottom: 14px;
  font-size: clamp(26px, 1.8vw + 18px, 42px);
}

.consent-copy p,
.consent-note {
  max-width: 78ch;
  font-size: clamp(15px, 0.18vw + 14px, 17px);
  line-height: 1.58;
}

.consent-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.consent-option {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--blue-soft);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.consent-option input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--ink);
}

.consent-option strong {
  display: block;
  color: var(--ink);
  font-size: clamp(17px, 0.35vw + 16px, 21px);
  line-height: 1.25;
}

.consent-option small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: clamp(14px, 0.16vw + 13px, 16px);
  line-height: 1.45;
}

.consent-option.is-essential {
  background: var(--paper);
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.consent-note {
  color: var(--muted);
}

@media (max-width: 1280px) {
  .section-indicator {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .layer-plate,
  .scroll-stack-layer,
  .network-node,
  .signal-dot {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1180px) {
  .header-inner {
    gap: 18px;
  }

  .site-nav {
    gap: 18px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  }

  .automation-hero-inner {
    grid-template-columns: minmax(0, 0.74fr) minmax(420px, 1fr);
  }

  .automation-stack-sticky-inner,
  .automation-stack-sections {
    grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
    gap: 40px;
  }

  .image-mosaic {
    min-height: 540px;
  }

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

@media (max-width: 1000px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: inline-grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid var(--ink);
    background: var(--paper);
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: stretch;
    font-size: clamp(18px, 4vw, 22px);
  }

  .site-nav.open { display: flex; }
  .site-nav a,
  .nav-dropdown-toggle {
    width: 100%;
    padding: 10px 2px;
    justify-content: space-between;
    text-align: left;
  }
  .nav-dropdown {
    width: 100%;
    display: block;
  }
  .nav-dropdown::before {
    display: none;
  }
  .nav-submenu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    padding: 8px 0 8px 14px;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    gap: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: none;
  }
  .nav-dropdown.is-open .nav-submenu,
  .nav-dropdown:focus-within .nav-submenu {
    display: grid;
    transform: none;
  }
  .nav-submenu a {
    padding: 10px 12px;
    white-space: normal;
  }
  .header-cta { display: none; }
  .hero, .page-hero, .split, .approach, .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero { min-height: auto; }
  .automation-hero {
    min-height: auto;
  }
  .automation-stack-page {
    min-height: auto;
  }
  .automation-stack-sticky {
    position: relative;
    top: auto;
    min-height: auto;
    padding: 72px 0 12px;
  }
  .automation-stack-sticky-inner,
  .automation-stack-sections {
    grid-template-columns: 1fr;
  }
  .automation-stack-sticky-inner > div:first-child {
    display: none;
  }
  .scroll-stack-visual {
    grid-column: 1;
    min-height: min(70vh, 650px);
  }
  .automation-stack-sections {
    position: relative;
    top: auto;
    min-height: auto;
    margin-top: 0;
  }
  .automation-stack-section {
    grid-row: auto;
    min-height: auto;
    padding: 46px 0;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .automation-hero-inner {
    grid-template-columns: 1fr;
  }
  .automation-hero-copy p {
    max-width: 46rem;
  }
  .automation-layered-visual {
    min-height: 540px;
  }

  .hero-copy { padding-bottom: 0; }
  .image-mosaic { min-height: 470px; transform: none; }
  .page-hero { min-height: auto; }
  .page-hero .feature-image { margin-bottom: 0; }
  .page-hero .system-visual { margin-bottom: 0; }
  .tech-panel { grid-template-columns: 1fr; }
  .service-grid, .values { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-bottom {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .footer-bottom .legal-links,
  .footer-bottom > p {
    grid-column: 1;
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .hero,
  .page-hero {
    gap: 34px;
  }

  .image-mosaic,
  .feature-image,
  .page-hero .feature-image,
  .system-visual,
  .page-hero .system-visual {
    min-height: 420px;
  }

  .automation-layered-visual {
    min-height: 540px;
  }

  .cards,
  .team-grid,
  .testimonial-grid,
  .two-columns,
  .stats,
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .consent-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header { min-height: 76px; padding: 12px 18px; }
  .brand img { width: 42px; height: 42px; }
  .brand span { font-size: 14px; }
  .consent-float-button {
    right: 12px;
    bottom: 12px;
    width: 50px;
    height: 50px;
  }
  .consent-float-button svg {
    width: 26px;
    height: 26px;
  }
  .section { padding: 58px 18px; }
  .booking-frame {
    width: 100%;
    height: 460px !important;
    max-height: 460px !important;
  }
  .hero h1,
  .page-hero h1,
  .automation-hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(38px, 11vw, 54px);
    line-height: 1.06;
  }
  .hero p,
  .page-hero p,
  .automation-hero-copy p {
    font-size: clamp(18px, 4.8vw, 22px);
  }
  .automation-stack-sticky {
    padding-top: 58px;
  }
  .automation-stack-sticky-inner,
  .automation-stack-sections {
    padding-inline: 18px;
  }
  .scroll-stack-visual {
    min-height: 470px;
  }
  .automation-stack-section {
    padding: 38px 0;
  }
  .automation-stack-section h1 {
    max-width: 11ch;
    font-size: clamp(38px, 11vw, 54px);
    line-height: 1.06;
  }
  .automation-stack-section h2 {
    max-width: 12ch;
    font-size: clamp(30px, 8vw, 40px);
  }
  .automation-stack-section p {
    font-size: clamp(18px, 4.8vw, 22px);
  }
  .scroll-stack-layer {
    width: min(96%, 460px);
    border-radius: 18px;
  }
  .scroll-layer-topline {
    font-size: 10px;
  }
  .scroll-layer-grid {
    gap: 6px;
  }
  .scroll-layer-grid span {
    min-height: 26px;
    padding: 6px;
    border-radius: 8px;
    font-size: 9px;
  }
  h2 {
    max-width: 13ch;
    font-size: clamp(30px, 8vw, 40px);
  }
  h3 {
    font-size: clamp(21px, 5.6vw, 27px);
  }
  .image-mosaic { grid-template-columns: 1fr 1fr; min-height: 360px; gap: 10px; }
  .hero-actions { flex-direction: column; }
  .system-grid,
  .stack-grid,
  .solution-logo-grid {
    grid-template-columns: 1fr;
  }
  .strategy-map,
  .strategy-decisions,
  .automation-flow,
  .automation-lanes,
  .security-layout,
  .security-checks {
    grid-template-columns: 1fr;
  }
  .automation-topline,
  .security-topline {
    grid-template-columns: 1fr;
  }
  .automation-topline {
    display: none;
  }
  .automation-topline span,
  .automation-topline span:nth-child(2),
  .automation-topline span:last-child,
  .security-topline span,
  .security-topline span:nth-child(2),
  .security-topline span:last-child {
    text-align: left;
  }
  .automation-core {
    min-height: 178px;
  }
  .automation-layered-visual {
    min-height: 430px;
    margin-top: 6px;
  }
  .layered-scene {
    min-height: inherit;
  }
  .layered-scene::before {
    inset: 3% 0 0;
    border-radius: 28px;
    mask-image: linear-gradient(180deg, transparent, #000 10%, #000 88%, transparent);
  }
  .layer-callout {
    display: none;
  }
  .layer-plate {
    border-radius: 18px;
  }
  .layer-foundation {
    --w: min(94%, 420px);
    --lift: 110px;
  }
  .layer-process {
    --w: min(84%, 370px);
    --lift: 24px;
  }
  .layer-intelligence {
    --w: min(72%, 320px);
    --lift: -56px;
  }
  .layer-outcomes {
    --w: min(62%, 280px);
    --lift: -132px;
  }
  .plate-title {
    font-size: 10px;
  }
  .tile-grid span,
  .outcome-modules span,
  .rule-chips span {
    min-height: 26px;
    padding: 6px;
    border-radius: 8px;
    font-size: 9px;
  }
  .rule-chips {
    gap: 6px;
  }
  .ai-core {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }
  .signal-rail {
    height: 56%;
    top: 22%;
  }
  .signal-dot {
    width: 8px;
    height: 8px;
  }
  .automation-stage {
    min-height: auto;
    padding-top: 12px;
    overflow: visible;
  }
  .automation-stage::before {
    inset: 0;
    mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  }
  .automation-stack {
    min-height: auto;
    gap: 22px;
    justify-items: center;
  }
  .automation-sources::before,
  .automation-outputs::before {
    display: none;
  }
  .automation-sources .automation-card:nth-child(n),
  .automation-outputs .automation-card:nth-child(n) {
    justify-self: center;
    transform: none;
  }
  .automation-card,
  .automation-outputs .automation-card {
    min-width: 128px;
    max-width: min(72vw, 260px);
  }
  .security-ring {
    width: min(100%, 300px);
    min-height: auto;
    justify-self: center;
  }
  .strategy-roadmap {
    min-height: 54px;
    grid-template-columns: repeat(3, 38px);
    justify-content: center;
  }
  .strategy-roadmap::before {
    top: 50%;
    bottom: auto;
    left: 50%;
    width: min(220px, 72%);
    height: 2px;
    transform: translate(-50%, -50%);
  }
  .stats, .cards, .service-grid, .values, .team-grid, .testimonial-grid, .two-columns, .logo-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-brand-block {
    grid-column: auto;
  }
  .stat, .card, .service-item, .value { min-height: auto; }
  .button,
  .header-cta {
    width: 100%;
    white-space: normal;
  }
  .page-hero .feature-image,
  .feature-image,
  .system-visual,
  .page-hero .system-visual {
    min-height: 320px;
  }
  .card,
  .service-item,
  .panel,
  .step,
  .value,
  .contact-card,
  .cta-band {
    border-radius: var(--radius-md);
  }
}
