/* ═══════════════════════════════════════
   LEONAS — styles.css
   Dark · Powerful · Premium
═══════════════════════════════════════ */

/* ══════════════════════════════════════
   PRELOADER
══════════════════════════════════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader__curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: #080808;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.preloader__curtain--left  { left: 0; transform-origin: left; }
.preloader__curtain--right { right: 0; transform-origin: right; }

.preloader.done .preloader__curtain--left  { transform: translateX(-100%); }
.preloader.done .preloader__curtain--right { transform: translateX(100%); }

.preloader__center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.preloader.done .preloader__center { opacity: 0; }

.preloader__logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  overflow: hidden;
}

.preloader__l {
  display: inline-block;
  color: #ffffff;
  transform: translateY(100%);
  animation: pre-rise 0.6s cubic-bezier(0.16,1,0.3,1) 0.1s forwards;
}

.preloader__eonas {
  display: inline-block;
  transform: translateY(100%);
  animation: pre-rise 0.6s cubic-bezier(0.16,1,0.3,1) 0.22s forwards;
}

.preloader__dot {
  display: inline-block;
  color: #C9A84C;
  transform: translateY(100%);
  animation: pre-rise 0.6s cubic-bezier(0.16,1,0.3,1) 0.34s forwards;
}

@keyframes pre-rise {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

/* Loading bar */
.preloader__bar {
  width: 120px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: 1px;
  overflow: hidden;
  opacity: 0;
  animation: pre-fade-in 0.4s ease 0.6s forwards;
}

@keyframes pre-fade-in {
  to { opacity: 1; }
}

.preloader__bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #C9A84C, #f0d880);
  border-radius: 1px;
  transition: width 0.05s linear;
}

/* ── Scroll Progress ─────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #C9A84C, #f0d880, #C9A84C);
  background-size: 200% 100%;
  z-index: 1001;
  pointer-events: none;
  animation: shimmer-bar 3s linear infinite;
  box-shadow: 0 0 8px rgba(201,168,76,0.5);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.scroll-progress.visible { opacity: 1; }

@keyframes shimmer-bar {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Variables ───────────────────────── */
:root {
  --bg:        #080808;
  --bg-2:      #0f0f0f;
  --bg-card:   #111111;
  --border:    rgba(255,255,255,0.07);
  --gold:      #C9A84C;
  --gold-light:#E2C06A;
  --gold-dim:  rgba(201,168,76,0.12);
  --white:     #ffffff;
  --gray-1:    #a0a0a0;
  --gray-2:    #555555;
  --font-main: 'Inter', sans-serif;
  --font-alt:  'Space Grotesk', sans-serif;
  --radius:    12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.16,1,0.3,1);
}

/* ── Reset & Base ─────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(1200px, 90vw);
  margin-inline: auto;
}

.section {
  padding: 120px 0;
}

/* ── Custom Cursor ────────────────────── */
.cursor,
.cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--gold);
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201,168,76,0.5);
  transition: transform 0.12s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

body:has(a:hover) .cursor-follower,
body:has(button:hover) .cursor-follower {
  width: 56px;
  height: 56px;
  border-color: var(--gold);
}

/* ── Navigation ───────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px min(80px, 5vw);
  transition: background var(--transition), backdrop-filter var(--transition), padding var(--transition);
}

.nav.scrolled {
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(20px);
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-alt);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: none;
}

.logo-dot { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-1);
  letter-spacing: 0.03em;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--gold-dim) !important;
  border: 1px solid rgba(201,168,76,0.3) !important;
  color: var(--gold) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.875rem !important;
  transition: background var(--transition), border-color var(--transition) !important;
}

.nav-cta:hover {
  background: rgba(201,168,76,0.2) !important;
  border-color: var(--gold) !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform var(--transition);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: center;
}

.mobile-link {
  font-family: var(--font-alt);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-1);
  transition: color var(--transition);
}

.mobile-link:hover { color: var(--gold); }

/* ── Buttons ──────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::after { opacity: 0.05; }

.btn--primary {
  background: var(--gold);
  color: #000;
}

.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(201,168,76,0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.btn--large {
  padding: 18px 44px;
  font-size: 1.0625rem;
}

/* ── Gradient Text ────────────────────── */
.grad-text {
  background: linear-gradient(135deg, var(--gold), var(--gold-light) 50%, #f0d880);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section Labels & Titles ──────────── */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-alt);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.section-header {
  max-width: 700px;
  margin-bottom: 72px;
}

/* ── Reveal Animations ────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays via JS data-index or nth-child */
.service-card:nth-child(1) { transition-delay: 0.05s; }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.15s; }
.service-card:nth-child(4) { transition-delay: 0.2s; }
.service-card:nth-child(5) { transition-delay: 0.25s; }
.service-card:nth-child(6) { transition-delay: 0.3s; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 0 min(80px, 5vw);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.18) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation: orb-float 8s ease-in-out infinite;
}

.hero-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  bottom: 10%;
  left: 5%;
  animation: orb-float 11s ease-in-out infinite reverse;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-alt);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
}

.hero-headline .line {
  display: block;
  overflow: hidden;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--gray-1);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: min(80px, 5vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-2);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ══════════════════════════════════════
   TICKER
══════════════════════════════════════ */
.ticker-wrap {
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.ticker {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.ticker span {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-1);
  white-space: nowrap;
}

.ticker .sep {
  color: var(--gold);
  font-size: 0.6rem;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--bg-card);
  padding: 48px 36px;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(201,168,76,0.06), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover { background: #161616; }
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 40px;
  height: 40px;
  color: rgba(201,168,76,0.7);
  margin-bottom: 24px;
  transition: color var(--transition);
}

.service-card:hover .service-card__icon {
  color: var(--gold);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-alt);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-1);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-card__tags span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-2);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: 4px;
  transition: color var(--transition), border-color var(--transition);
}

.service-card:hover .service-card__tags span {
  color: var(--gray-1);
  border-color: rgba(255,255,255,0.14);
}

/* ══════════════════════════════════════
   STATS
══════════════════════════════════════ */
.stats {
  position: relative;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 24px 24px;
  position: relative;
  transition: background var(--transition);
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

.stat-item:hover {
  background: rgba(201,168,76,0.03);
}

.stat-item__top {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 12px;
}

.stat-item p {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stat-number {
  font-family: var(--font-alt);
  font-size: clamp(3.2rem, 5vw, 5rem);
  font-weight: 700;
  background: linear-gradient(160deg, var(--gold-light) 0%, var(--gold) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-alt);
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 700;
  background: linear-gradient(160deg, var(--gold-light) 0%, var(--gold) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text .section-title {
  margin-bottom: 24px;
}

.about-body {
  color: var(--gray-1);
  line-height: 1.75;
  margin-bottom: 20px;
  font-size: 1rem;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.value-pill {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--gray-1);
  transition: border-color var(--transition), color var(--transition);
}

.value-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.about-contrast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}

.contrast-row {
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.contrast-row:last-child { border-bottom: none; }

.contrast-row:hover { background: rgba(201,168,76,0.04); }

.contrast-no {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--gray-2);
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.15);
}

.contrast-arrow {
  font-size: 0.875rem;
  color: var(--gold);
  opacity: 0.6;
  text-align: center;
  transition: opacity var(--transition), transform var(--transition);
}

.contrast-row:hover .contrast-arrow {
  opacity: 1;
  transform: translateX(3px);
}

.contrast-yes {
  font-family: var(--font-alt);
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.about-quote {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  overflow: hidden;
}

.about-quote::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: var(--font-alt);
  font-size: 9rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}

.about-quote::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

.about-quote blockquote {
  font-family: var(--font-alt);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--white);
  font-style: normal;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.about-quote cite {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-style: normal;
  position: relative;
  z-index: 1;
}

.about-quote cite::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

/* ══════════════════════════════════════
   APPROACH
══════════════════════════════════════ */
.approach-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.approach-step {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 40px 48px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.approach-step:last-child { border-bottom: none; }
.approach-step:hover { background: var(--bg-card); }

.step-number {
  font-family: var(--font-alt);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  min-width: 32px;
  padding-top: 4px;
}

.step-content h3 {
  font-family: var(--font-alt);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--gray-1);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 560px;
}

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonials {
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.testi-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.testi-orb {
  position: absolute;
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.06) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
}

.testi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
}

.testi-stars-row {
  display: flex;
  gap: 6px;
}

.testi-stars-row span {
  color: var(--gold);
  font-size: 1.1rem;
  opacity: 0;
  animation: star-pop 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.testi-stars-row span:nth-child(1) { animation-delay: 0.1s; }
.testi-stars-row span:nth-child(2) { animation-delay: 0.2s; }
.testi-stars-row span:nth-child(3) { animation-delay: 0.3s; }
.testi-stars-row span:nth-child(4) { animation-delay: 0.4s; }
.testi-stars-row span:nth-child(5) { animation-delay: 0.5s; }

@keyframes star-pop {
  from { opacity: 0; transform: scale(0.5) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Slider */
.testi-slider {
  position: relative;
  min-height: 320px;
}

.testi-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1),
              transform 0.6s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}

.testi-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testi-slide.exit {
  opacity: 0;
  transform: translateX(-40px);
}

.testi-quote-mark {
  font-family: var(--font-alt);
  font-size: 8rem;
  font-weight: 900;
  line-height: 0.7;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
  margin-bottom: 8px;
  user-select: none;
}

.testi-text {
  font-family: var(--font-alt);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--white);
  letter-spacing: -0.02em;
  max-width: 860px;
  margin-bottom: 48px;
  font-style: normal;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.testi-author span {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-2);
  margin-top: 2px;
  letter-spacing: 0.04em;
}

/* Controls */
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.testi-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-2);
  border: none;
  cursor: none;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}

.testi-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

.testi-arrows {
  display: flex;
  gap: 12px;
}

.testi-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gray-1);
  font-size: 1.1rem;
  cursor: none;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testi-arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.testimonial-card cite span {
  color: var(--gray-2);
  font-weight: 400;
}

/* ══════════════════════════════════════
   CONTACT / CTA
══════════════════════════════════════ */
.contact {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact-title {
  font-family: var(--font-alt);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.contact-sub {
  color: var(--gray-1);
  font-size: 1.0625rem;
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.65;
}

.contact-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.contact-info {
  font-size: 0.8125rem;
  color: var(--gray-2);
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer-left .nav-logo {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-left p {
  color: var(--gray-2);
  font-size: 0.875rem;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-2);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-2);
}

/* Active Nav Link */
.nav-links a.active-link {
  color: var(--gold) !important;
}

/* Cursor hover on interactive elements */
a, button { cursor: none; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }

  .nav-burger { display: flex; }

  .nav {
    padding: 20px 24px;
  }

  .hero {
    padding: 0 24px;
    padding-top: 100px;
  }

  .hero-headline {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .section { padding: 80px 0; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card { padding: 36px 28px; }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .approach-step {
    padding: 28px 24px;
    gap: 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-scroll-hint { display: none; }

  .cursor, .cursor-follower { display: none; }
  body { cursor: auto; }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .contact-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ══════════════════════════════════════
   CONTACT TAKEOVER
══════════════════════════════════════ */
.ct {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

/* Ripple – der schwarze Kreis der sich ausdehnt */
.ct-ripple {
  position: absolute;
  border-radius: 50%;
  background: #080808;
  transform: scale(0);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 0;
}

.ct.active .ct-ripple {
  transform: scale(1);
}

/* Particle Canvas */
.ct-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease 0.5s;
}
.ct.active .ct-canvas { opacity: 1; }

/* Spotlight */
.ct-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(circle 300px at 50% 50%, rgba(201,168,76,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease 0.8s;
}
.ct.active .ct-spotlight { opacity: 1; }

/* Scan Line */
.ct-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,168,76,0.8) 20%, rgba(255,220,100,1) 50%, rgba(201,168,76,0.8) 80%, transparent 100%);
  box-shadow: 0 0 20px rgba(201,168,76,0.6), 0 0 60px rgba(201,168,76,0.2);
  top: -2px;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
}
.ct-scanline.sweep {
  animation: scanline-sweep 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes scanline-sweep {
  0%   { top: -2px; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Film-Korn Textur */
.ct-noise {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
  pointer-events: none;
  transition: opacity 0.4s ease 0.5s;
}

.ct.active .ct-noise { opacity: 1; }

/* Schließen-Button */
.ct-close {
  position: absolute;
  top: 32px;
  right: 40px;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  cursor: none;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: rotate(-90deg);
  transition: opacity 0.4s ease 0.7s,
              transform 0.4s ease 0.7s,
              border-color var(--transition),
              background var(--transition);
}

.ct.active .ct-close {
  opacity: 1;
  transform: rotate(0deg);
  pointer-events: auto;
}

.ct-close:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
}

.ct-close span {
  position: absolute;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  border-radius: 1px;
  transition: background var(--transition);
}

.ct-close:hover span { background: var(--gold); }
.ct-close span:nth-child(1) { transform: rotate(45deg); }
.ct-close span:nth-child(2) { transform: rotate(-45deg); }

/* Inner Content */
.ct-inner {
  position: relative;
  z-index: 5;
  width: min(820px, 90vw);
  pointer-events: none;
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
  will-change: transform;
}

.ct.active .ct-inner { pointer-events: auto; }

/* Eyebrow */
.ct-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.55s, transform 0.5s ease 0.55s;
  margin-bottom: 16px;
}

.ct.active .ct-eyebrow { opacity: 1; transform: translateY(0); }

/* Typewriter cursor */
.ct-type::after {
  content: '|';
  color: var(--gold);
  animation: blink 0.8s step-end infinite;
}
@keyframes blink {
  0%,100% { opacity:1; } 50% { opacity:0; }
}

/* Headline */
.ct-headline {
  font-family: var(--font-alt);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.25em;
  perspective: 800px;
}

.ct-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(80px) rotateX(40deg);
  transform-origin: top center;
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
  position: relative;
}

/* Glitch pseudo-elements */
.ct-word::before,
.ct-word::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
}
.ct-word::before { color: #ff004d; clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%); }
.ct-word::after  { color: #00ffff; clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%); }

.ct-word.glitch::before { animation: glitch-r 0.3s steps(2) forwards; }
.ct-word.glitch::after  { animation: glitch-b 0.3s steps(2) forwards 0.05s; }

@keyframes glitch-r {
  0%  { opacity:0.8; transform:translateX(-4px); }
  50% { transform:translateX(4px); }
  100%{ opacity:0; transform:translateX(0); }
}
@keyframes glitch-b {
  0%  { opacity:0.8; transform:translateX(4px); }
  50% { transform:translateX(-4px); }
  100%{ opacity:0; transform:translateX(0); }
}

.ct-word--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ct.active .ct-word:nth-child(1) { opacity:1; transform:none; transition-delay: 0.72s; }
.ct.active .ct-word:nth-child(2) { opacity:1; transform:none; transition-delay: 0.84s; }
.ct.active .ct-word:nth-child(3) { opacity:1; transform:none; transition-delay: 0.96s; }

/* Options */
.ct-options {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease 0.95s, transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.95s;
}

.ct.active .ct-options { opacity: 1; transform: translateY(0); }

.ct-option {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: rgba(255,255,255,0.03);
  transition: background var(--transition), padding-left var(--transition);
  cursor: none;
}

a.ct-option:hover {
  background: rgba(201,168,76,0.07);
  padding-left: 36px;
}

a.ct-option:hover .ct-option__arrow {
  color: var(--gold);
  transform: translateX(4px);
}

.ct-option--info { cursor: default; }

.ct-option__icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
  transition: opacity var(--transition);
}

a.ct-option:hover .ct-option__icon { opacity: 1; }

.ct-option__icon svg { width: 100%; height: 100%; }

.ct-option__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ct-option__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-2);
}

.ct-option__value {
  font-family: var(--font-alt);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.ct-option__arrow {
  font-size: 1.2rem;
  color: var(--gray-2);
  transition: color var(--transition), transform var(--transition);
  flex-shrink: 0;
}

/* Footer */
.ct-footer {
  margin-top: 28px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-2);
  opacity: 0;
  transition: opacity 0.5s ease 1.1s;
}

.ct.active .ct-footer { opacity: 1; }

/* Keyboard close support */
.ct:not(.active) { pointer-events: none; }

/* ══════════════════════════════════════
   DRAWER
══════════════════════════════════════ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16,1,0.3,1);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(560px, 100vw);
  background: #0f0f0f;
  border-left: 1px solid var(--border);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
  overflow: hidden;
}

.drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  background: #0f0f0f;
  z-index: 1;
}

.drawer-title {
  font-family: var(--font-alt);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gray-1);
  font-size: 0.875rem;
  cursor: none;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.drawer-close:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.drawer-body {
  overflow-y: auto;
  padding: 36px;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.drawer-body::-webkit-scrollbar {
  width: 4px;
}

.drawer-body::-webkit-scrollbar-track {
  background: transparent;
}

.drawer-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.drawer-section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.drawer-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.drawer-section h3 {
  font-family: var(--font-alt);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 12px;
}

.drawer-section p {
  font-size: 0.9rem;
  color: var(--gray-1);
  line-height: 1.75;
}

.drawer-section a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(201,168,76,0.3);
  transition: text-decoration-color var(--transition);
}

.drawer-section a:hover {
  text-decoration-color: var(--gold);
}
