/*
 * Kraut & Rüben Studio – Page-Specific Styles
 * Startseite (index.html)
 */


/* ============================================================
   CUSTOM CURSOR
   ============================================================ */

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--color-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.35s ease,
              opacity 0.25s ease;
  will-change: left, top;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.25s ease;
  will-change: left, top;
}

.cursor-ring.hover {
  width: 60px;
  height: 60px;
  border-color: rgba(255, 87, 72, 0.5);
}

.cursor-dot.hover {
  width: 10px;
  height: 10px;
}

/* Hide on touch devices */
@media (hover: none), (pointer: coarse) {
  .cursor-ring,
  .cursor-dot {
    display: none;
  }
}


/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: var(--spacing-sm) 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.nav.scrolled {
  background: rgba(3, 25, 27, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 0.6rem 0;
}

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

.nav-logo img {
  height: 1.6rem;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-wide);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--color-text-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

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

/* Nav CTA Profile Button */
.nav-cta-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: var(--spacing-sm);
  padding: 0.35rem 1.1rem 0.35rem 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.nav-cta-profile:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

.nav-cta-avatar {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nav-cta-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.nav-cta-online {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  background: #22C55E;
  border-radius: 50%;
  border: 2px solid var(--color-bg-dark);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-light);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(30, 181, 156, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Split layout */
.hero-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.hero-content {
  position: relative;
}

.hero-badge {
  margin-bottom: var(--spacing-lg);
}

.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  font-weight: var(--font-weight-black);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--spacing-lg);
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--line-height-relaxed);
  max-width: 520px;
  margin-bottom: var(--spacing-xl);
}

.hero-actions {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-2xl);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.hero-stat-number {
  display: block;
  font-family: var(--font-family-heading);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-light);
  line-height: 1;
}

.hero-stat-label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
}

/* Hero Video / Visual Right Column */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-dark-alt);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 25, 27, 0.35);
  transition: background 0.4s ease;
  cursor: pointer;
}

.hero-video-overlay:hover {
  background: rgba(3, 25, 27, 0.2);
}

.hero-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.hero-play-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(255, 87, 72, 0.4);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.3);
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}


/* ============================================================
   SECTION HEADERS
   ============================================================ */

.section-header {
  margin-bottom: var(--spacing-3xl);
}

.section-label {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--spacing-sm);
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: var(--font-weight-black);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: var(--font-size-lg);
  max-width: 560px;
  margin-top: var(--spacing-sm);
  line-height: var(--line-height-relaxed);
}


/* ============================================================
   SERVICES
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.service-card {
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: var(--color-bg-light);
}

.service-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 30px rgba(255, 87, 72, 0.08);
  transform: translateY(-4px);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-primary);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
}

.service-desc {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}


/* ============================================================
   FITNESS SPEZIALISIERUNG
   ============================================================ */

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.split-content {
  max-width: 560px;
}

.fitness-points {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.fitness-point {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.fitness-point-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.fitness-point-icon svg {
  width: 100%;
  height: 100%;
}

.fitness-point strong {
  display: block;
  margin-bottom: 2px;
}

/* Fitness image stack */
.fitness-image-stack {
  position: relative;
}

.fitness-img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.fitness-img-float {
  position: absolute;
  bottom: -2rem;
  right: -1.5rem;
  width: 35%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 3px solid var(--color-bg-dark);
}


/* ============================================================
   PROJEKTE / PORTFOLIO – Horizontal Scroll
   ============================================================ */

/* Outer wrapper: tall enough to give scroll room */
.projects-wrapper {
  position: relative;
  height: 300vh;
  background: var(--color-bg-dark);
}

/* Sticky inner section: pins to viewport while scrolling */
.projects-section {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Header inside sticky */
.projects-header {
  padding-top: var(--spacing-2xl);
  padding-bottom: var(--spacing-xl);
}

/* Track container – full width, no overflow clip */
.projects-track-container {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* The sliding track */
.projects-track {
  display: flex;
  gap: var(--spacing-lg);
  padding-left: var(--spacing-md);
  padding-right: 10vw;
  will-change: transform;
}

/* Each project slide */
.project-slide {
  position: relative;
  flex-shrink: 0;
  width: 44vw;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  cursor: pointer;
}

.project-slide-image {
  position: absolute;
  inset: 0;
}

.project-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-slide:hover .project-slide-image img {
  transform: scale(1.05);
}

.project-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--spacing-xl);
  transition: background 0.4s ease;
}

.project-slide:hover .project-slide-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.project-slide-tag {
  font-size: var(--font-size-xs);
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.project-slide-name {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-light);
  margin-bottom: 4px;
  line-height: 1.15;
}

.project-slide-desc {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.55);
}

/* Progress bar */
.projects-progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: var(--spacing-xl);
  border-radius: 1px;
  overflow: hidden;
}

.projects-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--color-primary);
  border-radius: 1px;
  transition: width 0.05s linear;
}


/* ============================================================
   ÜBER MICH / ABOUT
   ============================================================ */

.about-layout {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  grid-template-rows: 1fr;
  gap: var(--spacing-3xl);
}

.about-image-col {
  position: relative;
  min-height: 0;
}

.about-image-wrapper {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

/* Badge overlay on image */
.about-badge {
  position: absolute;
  bottom: var(--spacing-lg);
  left: var(--spacing-lg);
  background: var(--color-primary);
  color: var(--color-text-light);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  box-shadow: 0 8px 32px rgba(255, 87, 72, 0.35);
}

.about-badge-number {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  line-height: 1;
}

.about-badge-text {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
}

/* Feature boxes 2x2 grid */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.about-feature:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.about-feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 87, 72, 0.12);
  color: var(--color-primary);
}

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

.about-feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-feature-text strong {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-light);
}

.about-feature-text span {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  line-height: 1.4;
}


/* ============================================================
   TEAM
   ============================================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.team-card {
  text-align: center;
}

.team-image {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--spacing-md);
  position: relative;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(20%);
}

.team-card:hover .team-image img {
  transform: scale(1.05);
  filter: grayscale(0);
}

.team-card-highlight .team-image {
  border: 2px solid var(--color-primary);
}

.team-name {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.team-role {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}


/* ============================================================
   PROCESS / SO ARBEITEN WIR
   ============================================================ */

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
  position: relative;
  margin-top: var(--spacing-3xl);
  text-align: center;
}

/* Horizontal connecting line */
.process-line {
  position: absolute;
  top: 24px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

/* Filled progress over the line */
.process-line-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--color-primary);
  border-radius: 1px;
}

/* The traveling ball */
.process-ball {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(255, 87, 72, 0.6);
  opacity: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.process-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-heading);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  background: var(--color-bg-dark);
  margin-bottom: var(--spacing-lg);
  transition: background 0.3s ease, color 0.3s ease;
}

.process-step:hover .process-circle {
  background: var(--color-primary);
  color: var(--color-text-light);
}

/* Filled state (set by JS animation) */
.process-circle.filled {
  background: var(--color-primary);
  color: var(--color-text-light);
  box-shadow: 0 0 20px rgba(255, 87, 72, 0.4);
}

.process-title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-light);
  margin-bottom: var(--spacing-xs);
}

.process-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  max-width: 280px;
}


/* ============================================================
   CTA / KONTAKT – NEW DESIGN
   ============================================================ */

.cta-new {
  background: var(--color-bg-dark-alt);
  padding-top: var(--spacing-3xl);
  padding-bottom: 0;
  overflow: hidden;
}

.cta-new-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.cta-new-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: var(--font-weight-black);
  color: var(--color-text-light);
  line-height: 1.15;
  max-width: 650px;
}

/* Contact Person */
.cta-new-contact {
  flex-shrink: 0;
}

.cta-new-person {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--color-text-light);
  transition: opacity 0.3s ease;
}

.cta-new-person:hover {
  opacity: 0.85;
}

.cta-new-avatar {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.cta-new-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Radar / Pulse Animation */
.cta-new-radar {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-new-radar-dot {
  width: 10px;
  height: 10px;
  background: #22C55E;
  border-radius: 50%;
  border: 2px solid var(--color-bg-dark-alt);
  position: relative;
  z-index: 2;
}

.cta-new-radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 1.5px solid #22C55E;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: radarPulse 2.4s ease-out infinite;
  opacity: 0;
}

.cta-new-radar-ring--delayed {
  animation-delay: 0.8s;
}

@keyframes radarPulse {
  0% {
    width: 10px;
    height: 10px;
    opacity: 0.7;
  }
  100% {
    width: 36px;
    height: 36px;
    opacity: 0;
  }
}

.cta-new-person-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cta-new-person-name {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-light);
}

.cta-new-person-role {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.cta-new-contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.cta-new-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.cta-new-contact-link:hover {
  color: var(--color-text-light);
}

.cta-new-contact-link svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* Marquee */
.cta-new-marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--spacing-lg) 0;
}

.cta-new-marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.cta-new-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: var(--font-weight-black);
  color: rgba(255, 87, 72, 0.35);
  padding-right: 0.8em;
  text-transform: none;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.cta-new-marquee-item:hover {
  color: var(--color-primary);
}

.cta-new-arrow {
  width: 0.7em;
  height: 0.7em;
  fill: rgba(255, 87, 72, 0.35);
  transition: fill 0.3s ease;
}

.cta-new-marquee-item:hover .cta-new-arrow {
  fill: var(--color-primary);
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .cta-new-top {
    flex-direction: column;
    gap: var(--spacing-lg);
  }

  .cta-new-title {
    max-width: 100%;
  }
}


/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--color-bg-dark);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--spacing-xl);
  padding-bottom: var(--spacing-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  height: 1.4rem;
  width: auto;
  margin-bottom: var(--spacing-sm);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--font-size-sm);
}

.footer-heading {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-xs);
  transition: color var(--transition-fast);
}

a.footer-link:hover {
  color: var(--color-text-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-lg);
}

.footer-copy {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.3);
}

.footer-legal {
  display: flex;
  gap: var(--spacing-lg);
}

.footer-legal a {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.3);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--color-text-light);
}


/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  /* Hero split → stacked */
  .hero-split {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

  .hero-visual {
    order: -1;
  }

  .hero-video-wrapper {
    max-width: 100%;
  }

  /* Smaller buttons on tablet */
  .hero-actions .btn {
    padding: 0.875rem 1.75rem;
    font-size: var(--font-size-base);
  }

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

  .split-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

  .split-content {
    max-width: 100%;
  }

  /* Projects: smaller slides on tablet */
  .project-slide {
    width: 65vw;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

  .about-image-col {
    position: relative;
  }

  .about-image-wrapper {
    position: relative;
    inset: auto;
    max-width: 400px;
    aspect-ratio: 3 / 4;
  }

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

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
  }
}

@media (max-width: 768px) {
  /* Nav Mobile */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(3, 25, 27, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem var(--spacing-xl) var(--spacing-xl);
    gap: var(--spacing-lg);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-size: var(--font-size-lg);
  }

  .nav-cta-profile {
    margin-left: 0;
    margin-top: var(--spacing-sm);
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero-split {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .hero-visual {
    order: -1;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
    margin-bottom: var(--spacing-sm);
  }

  .hero-subtitle {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-md);
  }

  /* Even smaller buttons on mobile */
  .hero-actions .btn {
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-sm);
  }

  .hero-actions .btn .btn-arrow {
    width: 0.9em;
    height: 0.9em;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-lg);
  }

  .hero-stat-number {
    font-size: var(--font-size-2xl);
  }

  .hero-stat-divider {
    width: 1px;
    height: 32px;
  }

  .hero-scroll-indicator {
    display: none;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Projects: disable horizontal scroll on mobile */
  .projects-wrapper {
    height: auto !important;
  }

  .projects-section {
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
    display: block !important;
  }

  .projects-track-container {
    overflow: visible !important;
    display: block !important;
    flex: none !important;
  }

  .projects-track {
    display: flex !important;
    flex-direction: column !important;
    padding-left: var(--spacing-sm) !important;
    padding-right: var(--spacing-sm) !important;
    gap: var(--spacing-md) !important;
    transform: none !important;
    will-change: auto !important;
  }

  .project-slide {
    width: 100% !important;
    flex-shrink: 0 !important;
    aspect-ratio: 1 / 1;
    min-height: 280px;
    position: relative;
    display: block;
  }

  .project-slide-image {
    position: absolute;
    inset: 0;
  }

  .project-slide-overlay {
    position: absolute;
    inset: 0;
    padding: var(--spacing-md);
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.4) 45%,
      transparent 100%
    ) !important;
  }

  .project-slide-name {
    font-size: var(--font-size-xl);
  }

  .projects-progress {
    display: none;
  }

  /* About */
  .about-features {
    grid-template-columns: 1fr 1fr;
  }

  .about-badge {
    bottom: var(--spacing-md);
    left: var(--spacing-md);
  }

  /* Process steps */
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  .process-line {
    display: none;
  }

  /* Team */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
  }

  /* CTA */
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 5rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 7vw, 2.5rem);
  }

  .hero-actions {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.7rem 1.25rem;
    font-size: var(--font-size-sm);
    justify-content: center;
  }

  .hero-stats {
    gap: var(--spacing-md);
    justify-content: space-between;
    width: 100%;
  }

  .hero-stat-number {
    font-size: var(--font-size-xl);
  }

  .hero-stat-label {
    font-size: var(--font-size-xs);
  }

  .hero-stat-divider {
    height: 24px;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

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