:root {
  --bg: #0a0d14;
  --bg-alt: #0d1119;
  --surface: #10141d;
  --surface-2: #161b27;
  --surface-hover: #1a2030;
  --border: #212837;
  --text: #f2f5fa;
  --text-muted: #8b93a7;
  --cyan: #00f0ff;
  --violet: #a12cff;
  --gradient: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --glow: 0 0 30px rgba(0, 240, 255, 0.25), 0 0 60px rgba(161, 44, 255, 0.15);
  --transition: 0.25s ease;

  --font-display: "Big Shoulders Display", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

img, .placeholder-box {
  max-width: 100%;
}

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

/* Display face for page-level statements only — used with restraint */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.005em;
}

h3 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.3;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  text-align: center;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--gradient);
  margin-right: 10px;
}

.eyebrow.center {
  justify-content: center;
}

.section {
  padding: 100px 0;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(10, 13, 20, 0.85);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}

.logo-wordmark {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.logo-x,
.logo-brand {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  overflow: hidden;
  flex-shrink: 0;
  background: #05070c;
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4), 0 0 34px rgba(161, 44, 255, 0.22);
  align-self: center;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Logo icon sits in the top 57% of the square source image (verified via pixel scan);
     translate recenters it, then scale zooms in without cropping any of it. */
  transform: scale(2.1) translate(0%, 12.8%);
  filter: brightness(1.2) saturate(1.15);
}

.logo-tagline {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 560px) {
  .logo-tagline {
    display: none;
  }
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 20px;
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .nav-links {
    display: none;
  }
}

/* BUTTONS — pill-shaped: the one soft, human shape against an otherwise square system */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: #05070c;
  box-shadow: 0 8px 24px rgba(0, 240, 255, 0.2), 0 8px 24px rgba(161, 44, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 240, 255, 0.35), 0 12px 32px rgba(161, 44, 255, 0.25);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
  margin-top: 24px;
}

/* HERO */
.hero {
  padding: 140px 0 100px;
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 240, 255, 0.1), transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(161, 44, 255, 0.12), transparent 40%);
}

/* Signature: a large-format tile grid with spacer crosses at every joint —
   lifted from the real spacer crosses on Dennis's jobsite floor. Doubles as a data grid. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80'%3E%3Cline x1='0' y1='0' x2='160' y2='0' stroke='%2300f0ff' stroke-opacity='0.09' stroke-width='1'/%3E%3Cline x1='0' y1='0' x2='0' y2='80' stroke='%2300f0ff' stroke-opacity='0.09' stroke-width='1'/%3E%3Cg stroke='%23a12cff' stroke-opacity='0.55' stroke-width='1.6' stroke-linecap='round'%3E%3Cline x1='0' y1='0' x2='7' y2='0'/%3E%3Cline x1='0' y1='0' x2='0' y2='7'/%3E%3Cline x1='160' y1='0' x2='153' y2='0'/%3E%3Cline x1='160' y1='0' x2='160' y2='7'/%3E%3Cline x1='0' y1='80' x2='7' y2='80'/%3E%3Cline x1='0' y1='80' x2='0' y2='73'/%3E%3Cline x1='160' y1='80' x2='153' y2='80'/%3E%3Cline x1='160' y1='80' x2='160' y2='73'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 160px 80px;
  background-repeat: repeat;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 40%, transparent 85%);
  opacity: 0.6;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

/* Watermark: colored smoke drifting above the eyebrow, with the logo's "N" icon
   materializing out of it. Anchored to .hero-text (not .hero-inner) so its
   position is measured from the eyebrow line itself, regardless of how the
   grid row centers hero-text against the (taller) chat widget column. */
.hero-text {
  position: relative;
}

.hero-watermark {
  position: absolute;
  top: -180px;
  left: -12px;
  width: 180px;
  height: 180px;
  pointer-events: none;
  z-index: 0;
}

.smoke-blob {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  filter: blur(22px);
  mix-blend-mode: screen;
  opacity: 0.55;
}

.smoke-blob.cyan-a {
  width: 132px;
  height: 132px;
  top: 0;
  left: 0;
  background: radial-gradient(circle at 40% 40%, rgba(0, 240, 255, 0.85), rgba(0, 240, 255, 0) 70%);
  animation: smokeDrift1 17s ease-in-out infinite;
}

.smoke-blob.violet-a {
  width: 120px;
  height: 120px;
  top: 36px;
  left: 46px;
  background: radial-gradient(circle at 60% 45%, rgba(161, 44, 255, 0.8), rgba(161, 44, 255, 0) 70%);
  animation: smokeDrift2 20s ease-in-out infinite;
  animation-delay: -5s;
}

.smoke-blob.magenta-a {
  width: 89px;
  height: 89px;
  top: 26px;
  left: 31px;
  background: radial-gradient(circle at 50% 50%, rgba(214, 50, 220, 0.55), rgba(214, 50, 220, 0) 70%);
  animation: smokeDrift3 14s ease-in-out infinite;
  animation-delay: -8s;
}

.smoke-blob.cyan-b {
  width: 103px;
  height: 103px;
  top: 55px;
  left: 10px;
  background: radial-gradient(circle at 45% 55%, rgba(0, 240, 255, 0.55), rgba(0, 240, 255, 0) 70%);
  animation: smokeDrift4 22s ease-in-out infinite;
  animation-delay: -11s;
}

@keyframes smokeDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  33% { transform: translate(16px, -12px) scale(1.08); border-radius: 40% 60% 70% 30% / 50% 60% 40% 50%; }
  66% { transform: translate(-12px, 10px) scale(0.94); border-radius: 55% 45% 65% 35% / 40% 55% 45% 60%; }
}

@keyframes smokeDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); border-radius: 45% 55% 65% 35% / 55% 40% 60% 45%; }
  40% { transform: translate(-18px, 14px) scale(0.92); border-radius: 65% 35% 40% 60% / 45% 60% 35% 55%; }
  70% { transform: translate(10px, -8px) scale(1.06); border-radius: 35% 65% 55% 45% / 60% 45% 55% 40%; }
}

@keyframes smokeDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(14px, 16px) scale(1.15); }
}

@keyframes smokeDrift4 {
  0%, 100% { transform: translate(0, 0) scale(1); border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%; }
  50% { transform: translate(-14px, -14px) scale(1.1); border-radius: 60% 40% 55% 45% / 40% 60% 40% 60%; }
}

.hero-n-icon {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 120px;
  height: 120px;
  background-image: url("assets/logo.png");
  background-size: 208% 208%;
  background-position: 50% 25%;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  /* Fades the crop's own rectangular edge to transparent so no box outline
     is visible — only the glowing icon lines near the center read through. */
  mask-image: radial-gradient(circle at 50% 50%, #000 42%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 42%, transparent 72%);
  animation:
    heroNEmerge 1.8s cubic-bezier(0.2, 0.7, 0.3, 1) forwards,
    heroNPulse 4.5s ease-in-out 1.8s infinite;
}

@keyframes heroNEmerge {
  0% { opacity: 0; transform: scale(0.7); filter: blur(20px); }
  60% { opacity: 0.9; filter: blur(2px); }
  100% { opacity: 0.85; transform: scale(1); filter: blur(0); }
}

@keyframes heroNPulse {
  0%, 100% { opacity: 0.75; filter: blur(0) brightness(1); }
  50% { opacity: 0.95; filter: blur(0) brightness(1.3); }
}

@media (max-width: 900px) {
  /* Single-column layout: hero-text sits flush at the top of hero-inner
     (no more vertical-centering bonus from the taller chat-widget column),
     so clearance above the eyebrow shrinks to ~hero's own top padding.
     Scale the whole group down from its fixed top-left corner to keep it
     clear of the eyebrow without needing separate child overrides. */
  .hero-watermark {
    transform: scale(0.58);
    transform-origin: top left;
  }
}

@media (max-width: 520px) {
  .hero-watermark {
    transform: scale(0.45);
  }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4rem);
  margin-bottom: 22px;
}

.highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
  padding-bottom: 40px;
}

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

/* CHAT WIDGET */
.chat-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow), var(--glow);
  overflow: hidden;
  position: relative;
}

.chat-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 20px;
  background: var(--gradient);
  opacity: 0.35;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #05070c;
  border: 1px solid var(--border);
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(2.1) translate(0%, 12.8%);
  filter: brightness(1.2) saturate(1.15);
}

.chat-title {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  font-size: 0.88rem;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: #5ef2a3;
  margin-top: 4px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5ef2a3;
  box-shadow: 0 0 0 rgba(94, 242, 163, 0.6);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(94, 242, 163, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(94, 242, 163, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 242, 163, 0); }
}

.chat-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 340px;
}

.msg {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(10px);
  animation: msgIn 0.4s ease forwards;
}

@keyframes msgIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.msg.bot {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 4px;
  color: var(--text);
}

.msg.user {
  align-self: flex-end;
  background: var(--gradient);
  color: #05070c;
  font-weight: 500;
  border-radius: 16px 16px 4px 16px;
}

.typing-bubble {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 4px;
  padding: 14px 18px;
  display: flex;
  gap: 5px;
  opacity: 0;
  transform: translateY(10px);
  animation: msgIn 0.3s ease forwards;
}

.typing-bubble span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingBounce 1s infinite ease-in-out;
}

.typing-bubble span:nth-child(2) { animation-delay: 0.15s; }
.typing-bubble span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* HERO FOUNDER BADGE */
.hero-founder-badge {
  position: absolute;
  left: 24px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 16px 10px 10px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-founder-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow), var(--glow);
}

.hero-founder-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 100% center;
  border: 2px solid var(--cyan);
}

.hero-founder-name {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-founder-role {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .hero-founder-badge {
    left: 50%;
    transform: translateX(-50%);
  }
  .hero-founder-badge:hover {
    transform: translateX(-50%) translateY(-4px);
  }
}

/* HERO STAT BADGE */
.hero-stat-badge {
  position: absolute;
  top: -18px;
  right: -14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 18px 12px 14px;
  box-shadow: var(--shadow), var(--glow);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: statFloat 4s ease-in-out infinite;
}

.hero-stat-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow), 0 0 40px rgba(0, 240, 255, 0.35), 0 0 70px rgba(161, 44, 255, 0.2);
}

.stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.stat-icon svg {
  width: 18px;
  height: 18px;
}

.stat-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 3px;
  white-space: nowrap;
}

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

@media (max-width: 900px) {
  .hero-stat-badge {
    top: -14px;
    right: 50%;
    transform: translateX(50%);
    animation: none;
  }
  .hero-stat-badge:hover {
    transform: translateX(50%) translateY(-4px);
  }
}

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

/* PLACEHOLDER BOXES */
.placeholder-box {
  background: repeating-linear-gradient(
    45deg,
    var(--surface),
    var(--surface) 12px,
    var(--surface-hover) 12px,
    var(--surface-hover) 24px
  );
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  min-height: 260px;
  transition: transform var(--transition), border-color var(--transition);
}

.placeholder-box:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
}

/* CARDS / GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.icon-tile {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform var(--transition), border-color var(--transition);
}

.icon-tile svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.problem {
  background: var(--bg-alt);
}

.problem h2 {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* HIGHLIGHT CARDS — glow-in on reveal + stronger hover.
   Explicit box-shadow:none baseline so every card rests in the identical,
   glow-free state outside of the reveal pulse and actual :hover. */
.highlight-card {
  position: relative;
  box-shadow: none;
}

.highlight-card.visible {
  animation: glowPulse 1.4s ease-out;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 0 rgba(0, 240, 255, 0), 0 0 0 rgba(161, 44, 255, 0); }
  35% { box-shadow: 0 0 40px rgba(0, 240, 255, 0.3), 0 0 70px rgba(161, 44, 255, 0.22); }
  100% { box-shadow: 0 0 0 rgba(0, 240, 255, 0), 0 0 0 rgba(161, 44, 255, 0); }
}

.highlight-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: var(--glow), var(--shadow);
}

.highlight-card:hover .icon-tile {
  transform: scale(1.12) rotate(-3deg);
  border-color: rgba(0, 240, 255, 0.5);
}

/* ABLAUF — a real sequence (demo -> setup -> go-live), styled like work-order tickets */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 0 16px;
}

.step-number {
  width: fit-content;
  margin: 0 auto 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.4rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.step-number span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
  margin-bottom: 2px;
}

.step:hover .step-number {
  transform: scale(1.08);
  box-shadow: var(--glow);
  border-color: rgba(0, 240, 255, 0.5);
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.step-connector {
  flex: 0 0 auto;
  width: 80px;
  height: 0;
  margin-top: 28px;
  border-top: 1px dashed var(--border);
  position: relative;
}

.step-connector::before,
.step-connector::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 1px;
  height: 6px;
  background: var(--border);
}

.step-connector::before { left: 0; }
.step-connector::after { right: 0; }

/* Sequential pop-in: each step visibly follows the last, not all at once */
.step.delay-1,
.step-connector.delay-1 {
  transition-delay: 0.18s;
}

.step.delay-2,
.step-connector.delay-2 {
  transition-delay: 0.36s;
}

@media (max-width: 800px) {
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }
  .step-connector {
    display: none;
  }
}

/* UEBER UNS */
.ueber-uns-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.ueber-uns {
  position: relative;
}

.ueber-uns::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80'%3E%3Cline x1='0' y1='0' x2='160' y2='0' stroke='%2300f0ff' stroke-opacity='0.06' stroke-width='1'/%3E%3Cline x1='0' y1='0' x2='0' y2='80' stroke='%2300f0ff' stroke-opacity='0.06' stroke-width='1'/%3E%3Cg stroke='%23a12cff' stroke-opacity='0.35' stroke-width='1.6' stroke-linecap='round'%3E%3Cline x1='0' y1='0' x2='7' y2='0'/%3E%3Cline x1='0' y1='0' x2='0' y2='7'/%3E%3Cline x1='160' y1='0' x2='153' y2='0'/%3E%3Cline x1='160' y1='0' x2='160' y2='7'/%3E%3Cline x1='0' y1='80' x2='7' y2='80'/%3E%3Cline x1='0' y1='80' x2='0' y2='73'/%3E%3Cline x1='160' y1='80' x2='153' y2='80'/%3E%3Cline x1='160' y1='80' x2='160' y2='73'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 160px 80px;
  background-repeat: repeat;
  mask-image: radial-gradient(ellipse 60% 70% at 15% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 15% 50%, #000 30%, transparent 80%);
}

.ueber-uns-media {
  position: relative;
  padding-bottom: 30px;
  padding-right: 30px;
}

.ueber-uns-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  /* Dennis stands in the right ~half of the source photo; shift the crop right
     so the frame follows him instead of the empty office background. */
  object-position: 94% center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: block;
}

.ueber-uns-proof-photo {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 46%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 12px;
  border: 4px solid var(--bg);
  outline: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.ueber-uns-proof-photo:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: var(--shadow), var(--glow);
}

.ueber-uns-stamp {
  position: absolute;
  top: 10px;
  left: -14px;
}

.ueber-uns-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.ueber-uns-text h2 {
  text-align: left;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .ueber-uns-inner {
    grid-template-columns: 1fr;
  }
  .ueber-uns-media {
    max-width: 360px;
    margin: 0 auto;
  }
}

/* PREISE */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pricing-card.featured {
  border-color: rgba(0, 240, 255, 0.4);
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.07) 0%, rgba(161, 44, 255, 0.05) 40%, var(--surface) 100%);
}

/* Stamp — a hand-stamped "approved" mark, borrowed from a work-order ticket */
.stamp-tag {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--cyan);
  background: rgba(10, 13, 20, 0.9);
  border: 1.5px dashed var(--cyan);
  border-radius: 6px;
  padding: 7px 12px;
  text-align: center;
}

.badge.stamp-tag {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 4px;
}

.price-prefix {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.amount {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.currency {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-right: 4px;
}

.period {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.setup-fee {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.pricing-legal-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 32px;
}

.amount-inline {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--text);
  font-weight: 600;
}

.pricing-features {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  padding-left: 26px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-features li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--cyan);
}

/* CTA */
.cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(161, 44, 255, 0.08));
}

.cta h2 {
  margin-bottom: 16px;
}

.cta p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* CONTACT FORM */
.contact-form {
  text-align: left;
  max-width: 640px;
  margin: 40px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow), 0 0 40px rgba(0, 240, 255, 0.06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-field label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15);
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b93a7' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  color-scheme: dark;
}

.form-field select:invalid {
  color: var(--text-muted);
}

.form-field textarea {
  resize: vertical;
  min-height: 90px;
}

.form-consent {
  margin: 4px 0 20px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--cyan);
  flex-shrink: 0;
}

.consent-label a {
  color: var(--cyan);
  text-decoration: underline;
}

.contact-form .btn {
  margin-top: 4px;
}

.form-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 16px;
}

.form-alt-contact {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 20px;
}

.form-alt-contact a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 26px 22px;
  }
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-sub {
  margin-top: 6px;
  font-size: 0.85rem;
}

.footer-links {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--cyan);
}

/* LEGAL PAGES */
.legal-page {
  padding: 64px 0 100px;
}

.legal-page .container {
  max-width: 800px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
  margin-bottom: 32px;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-family: var(--font-body);
  text-align: left;
  font-size: 1.35rem;
  margin: 40px 0 14px;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin: 26px 0 10px;
  color: var(--cyan);
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.legal-content strong {
  color: var(--text);
}

.legal-content a {
  color: var(--cyan);
  text-decoration: underline;
}

.legal-content ul {
  margin: 0 0 14px 20px;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.92rem;
}

.legal-content table th,
.legal-content table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  color: var(--text-muted);
}

.legal-content table th {
  color: var(--text);
}

.legal-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* SCROLL ANIMATIONS */
.fade-in,
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible,
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

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