/* ========================================
   WA-Digitalpartner Agency Design
   Modern, Clean, Professional
   ======================================== */

/* CSS Variables */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #0f172a;
  --accent: #06b6d4;
  --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  --gradient-2: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #0f172a;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Gradient Text */
.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   Header
   ======================================== */
.agency-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.agency-header.scrolled {
  padding: 0;
  background: rgba(15, 23, 42, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.agency-header .header-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-radius: 0;
  border: none;
  backdrop-filter: none;
  transition: var(--transition);
}

.agency-header.scrolled .header-content {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
}

.agency-header .logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agency-header .logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.agency-header .logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.agency-header .logo-accent {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.agency-header nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.agency-header nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.agency-header nav ul a {
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  white-space: nowrap;
}

.agency-header nav ul a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.agency-header nav ul a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.agency-header .nav-cta {
  background: var(--gradient-1);
  color: white !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: var(--transition);
}

.agency-header .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

.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 Section
   ======================================== */
.hero-agency {
  min-height: 100vh;
  background: var(--gradient-2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 32px 100px;
}

/* Radial glow behind hero content */
.hero-agency::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
}

.hero-content-wrapper {
  max-width: 1100px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 28px;
  border-radius: 50px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  backdrop-filter: blur(12px);
  animation: fadeInUp 0.8s ease forwards;
}

.hero-badge i {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 18px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  color: white;
  margin-bottom: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease 0.1s forwards;
  opacity: 0;
}

.hero-tagline {
  display: block;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 600;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.95);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.7);
  max-width: 720px;
  margin: 0 auto 48px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero-buttons .btn-primary-agency {
  padding: 18px 40px;
  font-size: 17px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.3);
}

.hero-buttons .btn-primary-agency:hover {
  box-shadow: 0 8px 40px rgba(99, 102, 241, 0.45);
}

.hero-buttons .btn-ghost {
  padding: 18px 36px;
  font-size: 17px;
  border-radius: var(--radius-md);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

.hero-stat .stat-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* ========================================
   Buttons
   ======================================== */
.btn-agency {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary-agency {
  background: var(--gradient-1);
  color: white;
}

.btn-primary-agency:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-white {
  background: white;
  color: var(--text-primary);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn-ghost-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ========================================
   Section Styles
   ======================================== */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 16px;
}

.section-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   Services Section - Ultra Cool Animations
   ======================================== */
.services-agency {
  padding: 120px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.services-grid-agency {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}

.service-card-agency {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  overflow: hidden;
  border: 2px solid rgba(99, 102, 241, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 450px;
  width: 100%;
}

/* Animated gradient border on hover */
.service-card-agency::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4, #6366f1);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: gradientBorderMove 4s ease infinite;
}

@keyframes gradientBorderMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Shimmer/Shine effect overlay */
.service-card-agency::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 60%,
    transparent 100%
  );
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.service-card-agency:hover::after {
  transform: rotate(30deg) translateX(100%);
}

.service-card-agency.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Staggered animation delays */
.service-card-agency:nth-child(1) { transition-delay: 0s; }
.service-card-agency:nth-child(2) { transition-delay: 0.1s; }
.service-card-agency:nth-child(3) { transition-delay: 0.2s; }
.service-card-agency:nth-child(4) { transition-delay: 0.3s; }

.service-card-agency:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 25px 50px -12px rgba(99, 102, 241, 0.25),
    0 0 40px rgba(99, 102, 241, 0.1);
  background: var(--bg-primary);
  border-color: rgba(99, 102, 241, 0.4);
}

.service-card-agency:hover::before {
  opacity: 1;
}

.service-icon-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
}

/* Icon glow effect */
.service-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: var(--gradient-1);
  border-radius: calc(var(--radius-md) + 4px);
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.4s ease;
  z-index: -1;
}

/* Icon pulse animation on hover */
.service-card-agency:hover .service-icon {
  transform: scale(1.15) rotate(8deg);
  animation: iconPulse 1.5s ease-in-out infinite;
}

.service-card-agency:hover .service-icon::before {
  opacity: 0.6;
  animation: iconGlow 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1.15) rotate(8deg); }
  50% { transform: scale(1.2) rotate(8deg); }
}

@keyframes iconGlow {
  0%, 100% { opacity: 0.4; filter: blur(12px); }
  50% { opacity: 0.7; filter: blur(16px); }
}

/* Icon inner animation */
.service-icon i {
  transition: transform 0.3s ease;
}

.service-card-agency:hover .service-icon i {
  animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-3px); }
  50% { transform: translateY(0); }
  75% { transform: translateY(-1px); }
}

.service-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: rgba(99, 102, 241, 0.1);
  transition: all 0.4s ease;
  position: relative;
}

/* Floating number animation */
.service-card-agency:hover .service-number {
  color: rgba(99, 102, 241, 0.2);
  animation: numberFloat 2s ease-in-out infinite;
  text-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}

@keyframes numberFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.service-card-agency h3 {
  font-size: 22px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  position: relative;
}

/* Desktop: Gleiche Höhe für Titel */
@media (min-width: 1200px) {
  .service-card-agency h3 {
    min-height: 52px;
  }
}

/* Title underline animation */
.service-card-agency h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card-agency:hover h3::after {
  width: 60px;
}

.service-card-agency:hover h3 {
  color: var(--primary);
}

.service-card-agency > p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

/* Desktop: Gleiche Höhe für Beschreibungen, damit Häkchen aligned sind */
@media (min-width: 1200px) {
  .service-card-agency > p {
    min-height: 120px;
  }
}

.service-card-agency:hover > p {
  color: var(--text-primary);
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  transform: translateX(0);
}

/* Staggered feature animation */
.service-card-agency:hover .service-features li:nth-child(1) {
  transform: translateX(8px);
  transition-delay: 0s;
}
.service-card-agency:hover .service-features li:nth-child(2) {
  transform: translateX(8px);
  transition-delay: 0.05s;
}
.service-card-agency:hover .service-features li:nth-child(3) {
  transform: translateX(8px);
  transition-delay: 0.1s;
}

.service-features i {
  color: var(--primary);
  font-size: 12px;
  transition: all 0.3s ease;
}

/* Checkmark pop animation */
.service-card-agency:hover .service-features i {
  transform: scale(1.3);
  text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-top: auto;
}

/* Link underline animation */
.service-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.service-link:hover {
  gap: 14px;
}

/* Arrow animation */
.service-link i {
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(4px);
  animation: arrowBounce 1s ease infinite;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateX(4px); }
  50% { transform: translateX(8px); }
}

/* ========================================
   USP Section - Warum WA Digitalpartner
   ======================================== */
.usp-section {
  padding: 120px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}

.usp-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  overflow: hidden;
  border: 2px solid rgba(99, 102, 241, 0.2);
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  max-width: 450px;
  width: 100%;
}

.usp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4, #6366f1);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: gradientBorderMove 4s ease infinite;
}

.usp-card.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.usp-card:nth-child(1) { transition-delay: 0s; }
.usp-card:nth-child(2) { transition-delay: 0.1s; }
.usp-card:nth-child(3) { transition-delay: 0.2s; }
.usp-card:nth-child(4) { transition-delay: 0.3s; }

.usp-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 25px 50px -12px rgba(99, 102, 241, 0.25),
    0 0 40px rgba(99, 102, 241, 0.1);
  background: var(--bg-primary);
  border-color: rgba(99, 102, 241, 0.4);
}

.usp-card:hover::before {
  opacity: 1;
}

.usp-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.usp-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
}

.usp-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: var(--gradient-1);
  border-radius: calc(var(--radius-md) + 4px);
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.4s ease;
  z-index: -1;
}

.usp-card:hover .usp-icon {
  transform: scale(1.15) rotate(8deg);
  animation: iconPulse 1.5s ease-in-out infinite;
}

.usp-card:hover .usp-icon::before {
  opacity: 0.6;
  animation: iconGlow 2s ease-in-out infinite;
}

.usp-card:hover .usp-icon i {
  animation: iconBounce 0.6s ease;
}

.usp-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.usp-card:hover h3 {
  color: var(--primary);
}

.usp-card > p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
}

.usp-card:hover > p {
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .usp-section {
    padding: 80px 0;
  }
  .usp-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ========================================
   Process Section - Ultra Interactive
   ======================================== */
.process-section {
  padding: 120px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
  justify-items: center;
}

/* Animated connection line with glow */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: linear-gradient(90deg,
    rgba(99, 102, 241, 0.2) 0%,
    rgba(168, 85, 247, 0.2) 100%);
  border-radius: 3px;
}

.process-timeline::after {
  content: '';
  position: absolute;
  top: 60px;
  left: 12.5%;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6), 0 0 40px rgba(168, 85, 247, 0.4);
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-timeline.animate-line::after {
  width: 75%;
}

.process-step {
  text-align: center;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 350px;
  width: 100%;
}

.process-step.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Step number badge with pulse and glow */
.process-step::before {
  content: attr(data-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--gradient-1);
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Outer ring animation */
.process-step::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(#ffffff, #ffffff) padding-box,
              var(--gradient-1) border-box;
  animation: stepRingPulse 2s ease-in-out infinite;
  animation-play-state: paused;
}

.process-step:hover::after {
  animation-play-state: running;
}

@keyframes stepRingPulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) scale(1.3);
    opacity: 0;
  }
}

.process-step:hover::before {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6), 0 0 50px rgba(168, 85, 247, 0.3);
}

/* Card with glassmorphism and 3D effect */
.step-content {
  background: #ffffff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 36px 28px;
  border: 1px solid rgba(230, 230, 235, 0.8);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

/* Shimmer effect on cards */
.step-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.8s ease;
}

.process-step:hover .step-content::before {
  left: 100%;
}

/* Glowing border on hover */
.step-content::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.process-step:hover .step-content::after {
  opacity: 1;
}

/* Hover-Transform wird jetzt vom JavaScript Spotlight-Effekt übernommen */
.process-step:hover .step-content {
  /* transform wird dynamisch per JS gesetzt */
}

/* Icon container with animations */
.step-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
  color: var(--primary);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

/* Icon glow effect */
.step-icon::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: var(--gradient-1);
  opacity: 0;
  z-index: -1;
  filter: blur(8px);
  transition: opacity 0.4s ease;
}

.process-step:hover .step-icon {
  transform: scale(1.1) rotate(-5deg);
  background: var(--gradient-1);
  color: white;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.process-step:hover .step-icon::before {
  opacity: 0.6;
}

.process-step:hover .step-icon i {
  animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(0.9); }
  50% { transform: scale(1.2); }
  75% { transform: scale(0.95); }
}

.step-content h3 {
  font-size: 22px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--text-primary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.process-step:hover .step-content h3 {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
}

.step-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  transition: color 0.3s ease;
}

.process-step:hover .step-content p {
  color: var(--text-primary);
}

/* ============================================
   Smooth Cursor-Effekt für Timeline
   Ultra-smooth spotlight + subtle 3D tilt
   ============================================ */

/* Haupt-Spotlight - Weicher Gradient der der Maus folgt */
.smooth-spotlight {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle,
    rgba(99, 102, 241, 0.35) 0%,
    rgba(139, 92, 246, 0.2) 30%,
    rgba(6, 182, 212, 0.1) 50%,
    transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translate(-50%, -50%);
  filter: blur(30px);
  will-change: left, top, opacity;
}

/* Äußerer Glow-Ring - Subtiler Halo-Effekt */
.smooth-glow-ring {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle,
    rgba(99, 102, 241, 0.08) 0%,
    rgba(168, 85, 247, 0.05) 40%,
    transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  will-change: left, top, opacity;
}

/* Step Content Base - Vorbereitung für 3D */
.step-content {
  --spotlight-x: 50%;
  --spotlight-y: 50%;
  --spotlight-opacity: 0;
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Aktiver Spotlight-Zustand */
.step-content.spotlight-active {
  box-shadow:
    0 25px 60px rgba(99, 102, 241, 0.15),
    0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Shimmer-Overlay basierend auf Spotlight-Position */
.step-content.spotlight-active::before {
  background: radial-gradient(
    circle at var(--spotlight-x) var(--spotlight-y),
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.05) 30%,
    transparent 60%
  );
  opacity: var(--spotlight-opacity);
  left: 0;
  transition: none;
}

/* Glowing Border beim Hover */
.step-content.spotlight-active::after {
  opacity: calc(var(--spotlight-opacity) * 0.8);
}

/* Titel-Enhancement bei Spotlight */
.step-content.spotlight-active h3 {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.3));
}

/* Text-Brightness bei Spotlight */
.step-content.spotlight-active p {
  color: var(--text-primary);
}

/* Icon-Enhancement bei Spotlight */
.step-content.spotlight-active .step-icon {
  background: var(--gradient-1);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
}

/* Active step indicator animation */
.process-step[data-step="1"].active::before,
.process-step[data-step="2"].active::before,
.process-step[data-step="3"].active::before,
.process-step[data-step="4"].active::before {
  animation: activeStepPulse 1.5s ease-in-out infinite;
}

@keyframes activeStepPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4); }
  50% { box-shadow: 0 4px 40px rgba(99, 102, 241, 0.8), 0 0 60px rgba(168, 85, 247, 0.5); }
}

/* Smooth idle animation for cards - deaktiviert da Spotlight-Effekt das Transform übernimmt */
/* Die Cards werden jetzt durch den Spotlight-Effekt animiert */

/* Ripple effect on click */
.step-ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  transform: scale(0);
  animation: stepRipple 0.6s ease-out forwards;
  pointer-events: none;
  z-index: 100;
}

@keyframes stepRipple {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Dark mode support - keep process boxes white */
@media (prefers-color-scheme: dark) {
  .step-content {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    color: #1a1a2e;
  }

  .step-content h3 {
    color: #1a1a2e;
  }

  .step-content p {
    color: #4a4a5a;
  }

  .step-content::after {
    background: linear-gradient(135deg, var(--primary), var(--accent));
  }
}

/* ========================================
   Portfolio Section - HOLOGRAPHIC AURORA
   Completely Redesigned with Modern Effects
   ======================================== */
.portfolio-agency {
  padding: 120px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.portfolio-grid-agency {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
  justify-items: center;
}

/* Portfolio Item - Holographic Card Design */
.portfolio-item-agency {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 250, 252, 0.95) 100%
  );
  opacity: 0;
  transform: translateY(80px) scale(0.9);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  transform-style: preserve-3d;
  perspective: 1000px;
  cursor: pointer;
  max-width: 450px;
  width: 100%;

  /* Custom properties for dynamic effects */
  --mouse-x: 50%;
  --mouse-y: 50%;
  --rotation-x: 0deg;
  --rotation-y: 0deg;
  --glow-opacity: 0;
  --holo-angle: 0deg;
}

/* Holographic Iridescent Overlay */
.portfolio-item-agency::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(
    var(--holo-angle),
    rgba(255, 0, 128, 0.03) 0%,
    rgba(255, 128, 0, 0.03) 14%,
    rgba(255, 255, 0, 0.03) 28%,
    rgba(0, 255, 128, 0.03) 42%,
    rgba(0, 128, 255, 0.03) 56%,
    rgba(128, 0, 255, 0.03) 70%,
    rgba(255, 0, 128, 0.03) 84%,
    rgba(255, 128, 0, 0.03) 100%
  );
  opacity: 0;
  z-index: 20;
  pointer-events: none;
  mix-blend-mode: color-dodge;
  transition: opacity 0.5s ease;
}

.portfolio-item-agency:hover::before {
  opacity: 1;
  animation: holoShift 3s linear infinite;
}

@keyframes holoShift {
  0% { --holo-angle: 0deg; filter: hue-rotate(0deg); }
  100% { --holo-angle: 360deg; filter: hue-rotate(360deg); }
}

/* Animated Gradient Border */
.portfolio-item-agency::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 27px;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    #6366f1,
    #8b5cf6,
    #06b6d4,
    #10b981,
    #f59e0b,
    #ef4444,
    #ec4899,
    #6366f1
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: borderSpin 4s linear infinite paused;
}

.portfolio-item-agency:hover::after {
  opacity: 1;
  animation-play-state: running;
}

@keyframes borderSpin {
  0% { --border-angle: 0deg; }
  100% { --border-angle: 360deg; }
}

/* Entrance Animation - Elastic Spring */
.portfolio-item-agency.animate-in {
  animation: cardSpringIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.portfolio-item-agency:nth-child(1).animate-in { animation-delay: 0s; }
.portfolio-item-agency:nth-child(2).animate-in { animation-delay: 0.12s; }
.portfolio-item-agency:nth-child(3).animate-in { animation-delay: 0.24s; }

@keyframes cardSpringIn {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.8) rotateX(20deg);
    filter: blur(8px);
  }
  50% {
    opacity: 1;
    transform: translateY(-15px) scale(1.02) rotateX(-3deg);
    filter: blur(0);
  }
  70% {
    transform: translateY(8px) scale(0.99) rotateX(1deg);
  }
  85% {
    transform: translateY(-4px) scale(1.005) rotateX(-0.5deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0);
    filter: blur(0);
  }
}

/* Magnetic Hover Effect with 3D Tilt */
.portfolio-item-agency.is-hovering {
  z-index: 10;
  transition: box-shadow 0.3s ease, transform 0.1s ease-out;
  transform:
    perspective(1000px)
    rotateX(var(--rotation-x))
    rotateY(var(--rotation-y))
    scale(1.02);
  box-shadow:
    0 30px 60px rgba(99, 102, 241, 0.25),
    0 15px 35px rgba(0, 0, 0, 0.15),
    0 0 100px rgba(99, 102, 241, 0.1);
}

/* Inner Spotlight Glow - Follows Cursor */
.portfolio-item-agency .spotlight-glow {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(
    400px circle at var(--mouse-x) var(--mouse-y),
    rgba(99, 102, 241, 0.2) 0%,
    rgba(139, 92, 246, 0.1) 25%,
    rgba(6, 182, 212, 0.05) 50%,
    transparent 70%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 15;
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}

.portfolio-item-agency:hover .spotlight-glow {
  opacity: 1;
}

/* Image Container */
.portfolio-image-agency {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 24px;
}

/* Image with Parallax & Zoom Effect */
.portfolio-image-agency img {
  width: 120%;
  height: 120%;
  object-fit: cover;
  position: absolute;
  top: -10%;
  left: -10%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
  will-change: transform;
}

.portfolio-item-agency:hover .portfolio-image-agency img {
  transform: scale(1.08);
  filter: brightness(1.1) saturate(1.1);
}

/* Overlay with Frosted Glass Effect */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.7) 30%,
    rgba(15, 23, 42, 0.2) 60%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 32px;
  opacity: 0;
  transition:
    opacity 0.4s ease,
    backdrop-filter 0.6s ease;
  backdrop-filter: blur(0px) saturate(100%);
  border-radius: 24px;
}

.portfolio-item-agency:hover .portfolio-overlay {
  opacity: 1;
  backdrop-filter: blur(12px) saturate(150%);
}

/* Content Container */
.portfolio-overlay-content {
  width: 100%;
  transform: translateY(40px);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item-agency:hover .portfolio-overlay-content {
  transform: translateY(0);
}

/* Category Badge - Neon Glow Style */
.portfolio-overlay .portfolio-category {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateX(-30px) scale(0.8);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: 0.1s;
  box-shadow:
    0 4px 20px rgba(99, 102, 241, 0.5),
    0 0 40px rgba(99, 102, 241, 0.2);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.portfolio-item-agency:hover .portfolio-category {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Title - Animated Underline Reveal */
.portfolio-overlay h3 {
  font-size: 26px;
  margin-bottom: 14px;
  color: #fff;
  font-weight: 700;
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.5s ease;
  transition-delay: 0.15s;
  position: relative;
  display: inline-block;
}

.portfolio-overlay h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.4s;
}

.portfolio-item-agency:hover .portfolio-overlay h3 {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-item-agency:hover .portfolio-overlay h3::after {
  width: 100%;
}

/* Description Text - Fade In */
.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  transition-delay: 0.2s;
}

.portfolio-item-agency:hover .portfolio-overlay p {
  opacity: 1;
  transform: translateY(0);
}

/* Tags - Staggered Pop-In Animation */
.portfolio-overlay .portfolio-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.portfolio-overlay .portfolio-tags span {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  opacity: 0;
  transform: translateY(20px) rotate(-5deg);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
}

.portfolio-overlay .portfolio-tags span:nth-child(1) { transition-delay: 0.3s; }
.portfolio-overlay .portfolio-tags span:nth-child(2) { transition-delay: 0.38s; }
.portfolio-overlay .portfolio-tags span:nth-child(3) { transition-delay: 0.46s; }

.portfolio-item-agency:hover .portfolio-tags span {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

.portfolio-overlay .portfolio-tags span:hover {
  background: rgba(99, 102, 241, 0.4);
  border-color: var(--primary);
  transform: scale(1.1) !important;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

/* Floating Accent Elements */
.portfolio-item-agency .floating-accent {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.portfolio-item-agency .floating-accent--1 {
  top: 10%;
  right: 10%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  animation: floatAccent1 4s ease-in-out infinite;
}

.portfolio-item-agency .floating-accent--2 {
  bottom: 20%;
  left: 5%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
  animation: floatAccent2 5s ease-in-out infinite;
  animation-delay: -2s;
}

.portfolio-item-agency:hover .floating-accent {
  opacity: 1;
}

@keyframes floatAccent1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10px, 15px) scale(1.2); }
}

@keyframes floatAccent2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(15px, -10px) scale(1.1); }
}

/* Pulse Ring Effect on Hover */
.portfolio-item-agency .pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  border: 2px solid rgba(99, 102, 241, 0.5);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 25;
}

.portfolio-item-agency:hover .pulse-ring {
  animation: pulseExpand 1.5s ease-out infinite;
}

@keyframes pulseExpand {
  0% {
    width: 0;
    height: 0;
    opacity: 0.8;
  }
  100% {
    width: 400px;
    height: 400px;
    opacity: 0;
  }
}

/* Responsive Portfolio Grid */
@media (max-width: 1024px) {
  .portfolio-grid-agency {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .portfolio-item-agency:nth-child(3).animate-in {
    animation-delay: 0s;
  }
}

@media (max-width: 640px) {
  .portfolio-grid-agency {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .portfolio-image-agency {
    aspect-ratio: 16/10;
  }

  /* Always show overlay on mobile */
  .portfolio-overlay {
    opacity: 1;
    backdrop-filter: blur(8px) saturate(130%);
    background: linear-gradient(
      to top,
      rgba(15, 23, 42, 0.92) 0%,
      rgba(15, 23, 42, 0.5) 50%,
      transparent 100%
    );
  }

  .portfolio-overlay-content {
    transform: translateY(0);
  }

  .portfolio-overlay .portfolio-category,
  .portfolio-overlay h3,
  .portfolio-overlay p,
  .portfolio-overlay .portfolio-tags span {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }

  .portfolio-overlay h3::after {
    width: 60px;
  }

  .portfolio-item-agency.animate-in {
    animation: cardSpringInMobile 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }

  @keyframes cardSpringInMobile {
    0% {
      opacity: 0;
      transform: translateY(50px) scale(0.95);
    }
    60% {
      transform: translateY(-5px) scale(1.01);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  /* Disable heavy effects on mobile */
  .portfolio-item-agency::before,
  .portfolio-item-agency::after,
  .portfolio-item-agency .floating-accent,
  .portfolio-item-agency .pulse-ring {
    display: none;
  }
}

/* ========================================
   Before/After Slider - Transformation Showcase
   ======================================== */
.before-after-showcase {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.showcase-header {
  text-align: center;
  margin-bottom: 48px;
}

.showcase-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.showcase-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.before-after-container {
  max-width: 1000px;  /* größer = mehr vom Bild sichtbar */
  margin: 0 auto;
}

.before-after-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/12;
  border-radius: 24px;
  overflow: hidden;
  cursor: ew-resize;
  box-shadow:
    0 25px 80px rgba(99, 102, 241, 0.15),
    0 10px 40px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.before-after-slider .before-image,
.before-after-slider .after-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.before-after-slider .before-image {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.before-after-slider .after-image {
  z-index: 1;
}

.before-after-slider .before-image img,
.before-after-slider .after-image img {
  right: 100px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}

/* Placeholder Mockups */
.ba-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px;
}

.ba-before {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.ba-after {
  background: linear-gradient(135deg, #faf5ff 0%, #ede9fe 50%, #dbeafe 100%);
}

.ba-label {
  position: absolute;
  top: 20px;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ba-before .ba-label {
  left: 20px;
  background: rgba(100, 116, 139, 0.9);
  color: white;
}

.ba-after .ba-label {
  right: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

/* Old Website Mockup */
.old-website-mockup {
  width: 100%;
  max-width: 500px;
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.old-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.old-logo {
  width: 80px;
  height: 20px;
  background: #94a3b8;
  border-radius: 4px;
}

.old-nav {
  display: flex;
  gap: 15px;
}

.old-nav span {
  width: 50px;
  height: 10px;
  background: #cbd5e1;
  border-radius: 3px;
}

.old-hero {
  margin-bottom: 30px;
}

.old-title {
  width: 70%;
  height: 24px;
  background: #64748b;
  border-radius: 4px;
  margin-bottom: 15px;
}

.old-text {
  width: 90%;
  height: 10px;
  background: #cbd5e1;
  border-radius: 3px;
  margin-bottom: 8px;
}

.old-text.short {
  width: 60%;
}

.old-button {
  width: 100px;
  height: 30px;
  background: #94a3b8;
  border-radius: 4px;
  margin-top: 15px;
}

.old-grid {
  display: flex;
  gap: 10px;
}

.old-card {
  flex: 1;
  height: 60px;
  background: #f1f5f9;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

/* New Website Mockup */
.new-website-mockup {
  width: 100%;
  max-width: 500px;
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow:
    0 20px 60px rgba(99, 102, 241, 0.15),
    0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.new-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.new-logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 10px;
}

.new-nav {
  display: flex;
  gap: 20px;
}

.new-nav span {
  width: 45px;
  height: 8px;
  background: #cbd5e1;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.new-nav span:first-child {
  background: var(--primary);
}

.new-cta {
  width: 80px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 8px;
}

.new-hero {
  margin-bottom: 24px;
}

.new-badge {
  width: 100px;
  height: 22px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.new-title {
  height: 20px;
  background: #1e293b;
  border-radius: 4px;
  margin-bottom: 10px;
}

.new-title:first-of-type {
  width: 60%;
}

.new-title.accent {
  width: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.new-text {
  width: 85%;
  height: 8px;
  background: #94a3b8;
  border-radius: 4px;
  margin-bottom: 20px;
}

.new-buttons {
  display: flex;
  gap: 12px;
}

.new-btn {
  height: 36px;
  border-radius: 10px;
}

.new-btn.primary {
  width: 110px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.new-btn.secondary {
  width: 90px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.new-features {
  display: flex;
  gap: 12px;
}

.new-feature {
  flex: 1;
  padding: 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.feature-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 8px;
  margin-bottom: 10px;
}

.feature-text {
  width: 80%;
  height: 6px;
  background: #94a3b8;
  border-radius: 3px;
}

/* Slider Handle */
.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.handle-line {
  flex: 1;
  width: 4px;
  background: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.handle-circle {
  width: 56px;
  height: 56px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.2),
    0 0 0 4px rgba(255, 255, 255, 0.5);
  color: var(--primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto;
  cursor: ew-resize;
}

.handle-circle svg {
  width: 28px;
  height: 28px;
}

.before-after-slider:hover .handle-circle {
  transform: scale(1.1);
  box-shadow:
    0 8px 30px rgba(99, 102, 241, 0.3),
    0 0 0 4px rgba(99, 102, 241, 0.2);
}

.before-after-slider.dragging .handle-circle {
  transform: scale(1.15);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
}

/* Transformation Stats */
.transformation-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding: 48px 24px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-radius: 0;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  width: 100%;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .before-after-showcase {
    margin-top: 60px;
    padding-top: 40px;
  }

  .before-after-slider {
    aspect-ratio: 4/3;
  }

  .showcase-title {
    font-size: 1.5rem;
  }

  .ba-placeholder {
    padding: 20px;
  }

  .old-website-mockup,
  .new-website-mockup {
    padding: 16px;
  }

  .old-nav,
  .new-nav {
    display: none;
  }

  .new-cta {
    display: none;
  }

  .handle-circle {
    width: 44px;
    height: 44px;
  }

  .handle-circle svg {
    width: 22px;
    height: 22px;
  }

  .transformation-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 24px 16px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-suffix {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
  padding: 120px 0;
  background: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  justify-items: center;
}

.testimonial-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
  max-width: 450px;
  width: 100%;
}

.testimonial-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-rating i {
  color: #fbbf24;
  font-size: 16px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.author-info strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.author-info span {
  font-size: 14px;
  color: var(--text-muted);
}

/* ========================================
   Service-Abo Section
   ======================================== */
.service-abo-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

.service-abo-section .section-tag {
  color: var(--accent);
  border-color: rgba(6, 182, 212, 0.3);
}

.service-abo-section .section-title {
  color: #fff;
}

.service-abo-section .section-description {
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
  margin: 0 auto;
}

.abo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}

.abo-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.abo-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.15);
  transform: translateY(-4px);
}

.abo-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-1);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 20px;
  border-radius: 20px;
}

.abo-icon {
  width: 72px;
  height: 72px;
  margin: 16px auto 20px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
}

.abo-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.abo-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  margin-bottom: 24px;
}

.abo-features {
  text-align: left;
  margin-bottom: 28px;
}

.abo-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.abo-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.abo-features li:last-child {
  border-bottom: none;
}

.abo-features li i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.abo-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}

.price-from {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
}

.price-amount {
  font-size: 48px;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.price-period {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
}

.abo-price-note {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  margin-bottom: 24px;
}

.abo-card .btn-agency {
  width: 100%;
}

/* Abo Benefits Grid */
.abo-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.abo-benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.abo-benefit:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateX(4px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-light);
}

.benefit-text h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.benefit-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  padding: 120px 0;
  background: var(--gradient-2);
  position: relative;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.cta-shape-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
  top: -200px;
  right: -200px;
}

.cta-shape-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #06b6d4, #6366f1, #8b5cf6);
  bottom: -150px;
  left: -100px;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(32px, 5vw, 48px);
  color: white;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-agency {
  padding: 120px 0;
  background: #ffffff;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info-agency .section-tag {
  text-align: left;
}

.contact-info-agency .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.contact-info-agency > p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.detail-icon {
  width: 52px;
  height: 52px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.detail-content span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.detail-content a,
.detail-content p {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
}

.detail-content a:hover {
  color: var(--primary);
}


/* Contact Form */
.contact-form-agency {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group-agency {
  margin-bottom: 20px;
}

.form-group-agency label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group-agency input,
.form-group-agency select,
.form-group-agency textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  transition: var(--transition);
}

.form-group-agency input:focus,
.form-group-agency select:focus,
.form-group-agency textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group-agency textarea {
  resize: vertical;
  min-height: 140px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-group input {
  width: auto;
  margin-top: 4px;
  accent-color: var(--primary);
}

.checkbox-group label {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  margin: 0;
}

.checkbox-group a {
  color: var(--primary);
  font-weight: 500;
}

/* ========================================
   Footer
   ======================================== */
.footer-agency {
  background: var(--bg-dark);
  color: white;
  padding: 80px 0 0;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand .logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.footer-brand .logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.footer-brand .logo-accent {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.7;
  max-width: 320px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  margin: 0;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Animation delays for process steps */
.process-step:nth-child(1) { transition-delay: 0s; }
.process-step:nth-child(2) { transition-delay: 0.1s; }
.process-step:nth-child(3) { transition-delay: 0.2s; }
.process-step:nth-child(4) { transition-delay: 0.3s; }

/* Animation delays for service cards */
.service-card-agency:nth-child(1) { transition-delay: 0s; }
.service-card-agency:nth-child(2) { transition-delay: 0.1s; }
.service-card-agency:nth-child(3) { transition-delay: 0.2s; }
.service-card-agency:nth-child(4) { transition-delay: 0.3s; }

/* Animation delays for testimonials */
.testimonial-card:nth-child(1) { transition-delay: 0s; }
.testimonial-card:nth-child(2) { transition-delay: 0.1s; }
.testimonial-card:nth-child(3) { transition-delay: 0.2s; }

/* Stats value counter animation trigger */
.hero-stat .stat-value {
  position: relative;
}

.hero-stat .stat-value::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.hero-stat:hover .stat-value::after {
  transform: scaleX(1);
}

/* Mouse trail effect container */
.mouse-trail {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.trail-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-1);
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
  .services-grid-agency {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-timeline::before,
  .process-timeline::after {
    display: none;
  }

  .process-step::after {
    display: none;
  }

  /* Vertical connector for 2-column layout */
  .process-step:nth-child(1)::before,
  .process-step:nth-child(2)::before {
    position: relative;
  }
}

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .abo-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .abo-benefits {
    grid-template-columns: 1fr 1fr;
  }
}

/* Navigation mobile breakpoint - pill needs more space */
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
    z-index: 1002;
    position: relative;
  }

  .nav-toggle.active span {
    background: white;
  }

  .agency-header nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    background-color: #0f172a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition);
    z-index: 1001;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .agency-header nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Mobile Menu Background Decoration */
  .agency-header nav::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
  }

  .agency-header nav::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 50px,
      rgba(255, 255, 255, 0.01) 50px,
      rgba(255, 255, 255, 0.01) 51px
    );
    pointer-events: none;
    z-index: -1;
  }

  .agency-header nav ul {
    display: flex !important;
    flex-direction: column;
    gap: 24px;
    text-align: center;
    padding: 0 !important;
    margin: 0;
    list-style: none;
    position: static !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .agency-header nav li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .agency-header nav.open li {
    opacity: 1;
    transform: translateY(0);
  }

  .agency-header nav.open li:nth-child(1) { transition-delay: 0.1s; }
  .agency-header nav.open li:nth-child(2) { transition-delay: 0.15s; }
  .agency-header nav.open li:nth-child(3) { transition-delay: 0.2s; }
  .agency-header nav.open li:nth-child(4) { transition-delay: 0.25s; }
  .agency-header nav.open li:nth-child(5) { transition-delay: 0.3s; }

  .agency-header nav ul a {
    font-size: 24px;
    color: white !important;
    padding: 12px 24px;
    display: block;
    border-radius: var(--radius-sm);
  }

  .agency-header nav ul a:hover,
  .agency-header nav ul a.active {
    color: var(--primary) !important;
    background: rgba(99, 102, 241, 0.2);
  }

  .agency-header nav .nav-cta {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease 0.35s, transform 0.3s ease 0.35s;
    font-size: 18px;
    padding: 14px 32px;
  }

  .agency-header nav.open .nav-cta {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .services-grid-agency,
  .process-timeline,
  .portfolio-grid-agency,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .services-grid-agency {
    max-width: 500px;
  }

  .portfolio-item-agency.large {
    grid-column: span 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-agency {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-agency {
    padding: 110px 20px 70px;
  }

  .section-container {
    padding: 0 16px;
  }

  .services-agency,
  .process-section,
  .portfolio-agency,
  .testimonials-section,
  .cta-section,
  .contact-agency {
    padding: 80px 0;
  }

  .contact-form-agency {
    padding: 24px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ========================================
   Local Services Section
   ======================================== */
.local-services-section {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.local-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.local-service-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.local-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.local-service-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.local-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.local-service-card:hover .local-service-image img {
  transform: scale(1.05);
}

.local-service-content {
  padding: 28px;
}

.local-service-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.local-service-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing-section {
  padding: 120px 0;
  background: var(--bg-primary);
  overflow-x: clip;
}

/* Pricing Carousel */
.pricing-carousel {
  position: relative;
  overflow: hidden;
  padding: 40px 100px 60px;
  outline: none;
}

/* Focus indicator for keyboard navigation */
.pricing-carousel:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: var(--radius-lg);
}

.pricing-carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  gap: 60px;
  user-select: none;
}

.pricing-carousel-track .pricing-card {
  flex: 0 0 calc(33.333% - 40px);
  min-width: calc(33.333% - 40px);
  transition: transform 0.35s ease, opacity 0.35s ease;
  will-change: transform, opacity;
}

/* All cards visible by default */
.pricing-carousel-track .pricing-card {
  transform: scale(1);
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

/* Active card - subtle highlight */
.pricing-carousel-track .pricing-card.active {
  z-index: 1;
}

/* Inactive cards - still visible */
.pricing-carousel-track .pricing-card.inactive {
  z-index: 0;
}

/* Carousel Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
  left: 30px;
}

.carousel-btn-next {
  right: 30px;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.carousel-dot:hover {
  background: var(--primary-light);
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* Carousel Navigation Container */
.carousel-navigation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Carousel Hint - navigation indicator */
.carousel-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 1;
  transition: opacity 0.3s ease;
  margin: 0;
}

.carousel-hint i {
  font-size: 14px;
}

/* Show desktop hint, hide mobile hint by default */
.carousel-hint-desktop {
  display: flex;
}

.carousel-hint-mobile {
  display: none;
}

/* On mobile: hide desktop hint, show mobile hint */
@media (max-width: 768px) {
  .carousel-hint-desktop {
    display: none;
  }

  .carousel-hint-mobile {
    display: flex;
  }
}

/* Hide hint on larger screens where it's more obvious */
@media (min-width: 1200px) {
  .carousel-hint {
    opacity: 0.8;
  }
}

/* Pricing Add-on (Digital-Support integrated) */
.pricing-addon {
  margin-top: 48px;
  background: rgba(99, 102, 241, 0.04);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  position: relative;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.pricing-addon:hover {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.1);
}

.pricing-addon-badge {
  position: absolute;
  top: -14px;
  left: 36px;
  background: var(--gradient-1);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-addon-badge i {
  font-size: 13px;
}

.pricing-addon-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.pricing-addon-info {
  flex: 0 0 auto;
  max-width: 300px;
}

.pricing-addon-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary, #0f172a);
  margin-bottom: 6px;
}

.pricing-addon-info p {
  color: rgba(15, 23, 42, 0.6);
  font-size: 14px;
  line-height: 1.5;
}

.pricing-addon-features {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.pricing-addon-features span {
  color: rgba(15, 23, 42, 0.85);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.pricing-addon-features span i {
  color: var(--accent);
  font-size: 12px;
}

.pricing-addon-price {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.pricing-addon-price .price-from {
  color: rgba(15, 23, 42, 0.5);
  font-size: 14px;
}

.pricing-addon-price .price-amount {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.pricing-addon-price .price-period {
  color: rgba(15, 23, 42, 0.5);
  font-size: 14px;
}

@media (max-width: 1024px) {
  .pricing-addon-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .pricing-addon-info {
    max-width: none;
  }

  .pricing-addon-features {
    gap: 10px 20px;
  }
}

@media (max-width: 768px) {
  .pricing-addon {
    padding: 28px 24px;
    margin-top: 32px;
  }

  .pricing-addon-badge {
    left: 24px;
  }

  .pricing-addon-features {
    flex-direction: column;
    gap: 8px;
  }

  .pricing-addon-features span {
    white-space: normal;
  }

  .pricing-addon-price .price-amount {
    font-size: 30px;
  }
}

/* Desktop: Static grid layout - no carousel */
@media (min-width: 1025px) {
  .pricing-carousel {
    padding: 40px 0;
    overflow: visible;
  }

  .pricing-carousel-track {
    justify-content: center;
    gap: 32px;
    transform: none !important;
    transition: none !important;
  }

  /* All cards equal and visible */
  .pricing-carousel-track .pricing-card {
    flex: 0 0 340px;
    min-width: 340px;
    max-width: 340px;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* Hide cloned cards on desktop */
  .pricing-carousel-track .pricing-card.clone {
    display: none !important;
  }

  /* Remove carousel state classes on desktop */
  .pricing-carousel-track .pricing-card.active,
  .pricing-carousel-track .pricing-card.inactive,
  .pricing-carousel-track .pricing-card.adjacent,
  .pricing-carousel-track .pricing-card.hidden {
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* Featured card styling */
  .pricing-carousel-track .pricing-card.featured {
    transform: scale(1.02) !important;
  }

  /* Hover effect for all cards */
  .pricing-carousel-track .pricing-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-glow);
  }

  .pricing-carousel-track .pricing-card.featured:hover {
    transform: scale(1.02) translateY(-8px) !important;
  }

  /* Hide navigation buttons on desktop */
  .carousel-btn {
    display: none !important;
  }

  /* Hide navigation dots and hints on desktop */
  .carousel-navigation {
    display: none !important;
  }
}

/* Responsive Carousel */
@media (max-width: 1024px) {
  .pricing-carousel-track .pricing-card {
    flex: 0 0 calc(50% - 16px);
    min-width: calc(50% - 16px);
  }
}

@media (max-width: 768px) {
  .pricing-section {
    padding: 80px 0;
    overflow-x: hidden;
  }

  /* Make carousel full-width on mobile */
  .pricing-section .section-container {
    padding: 0;
    max-width: 100%;
  }

  .pricing-section .section-header {
    padding: 0 16px;
  }

  .pricing-carousel {
    padding: 16px 24px 50px;
    margin: 0;
    overflow: hidden;
  }

  .pricing-carousel-track {
    gap: 24px;
    padding: 0;
  }

  .pricing-carousel-track .pricing-card {
    flex: 0 0 calc(100vw - 48px);
    min-width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    margin: 0;
  }

  /* Remove scale effects on mobile - cleaner look */
  .pricing-carousel-track .pricing-card.active {
    transform: none;
    z-index: 1;
    box-shadow: var(--shadow-glow), 0 12px 24px -8px rgba(99, 102, 241, 0.3);
    opacity: 1;
    pointer-events: auto;
  }

  .pricing-carousel-track .pricing-card.inactive {
    transform: none;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
  }

  /* Smaller nav buttons on mobile */
  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .carousel-btn-prev {
    left: 4px;
  }

  .carousel-btn-next {
    right: 4px;
  }

  .carousel-hint {
    font-size: 11px;
  }

  .carousel-dots {
    margin-top: 20px;
    gap: 10px;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
  }
}

/* Extra small screens (max-width: 480px) */
@media (max-width: 480px) {
  .pricing-section {
    padding: 60px 0;
  }

  .pricing-carousel {
    padding: 12px 16px 45px;
  }

  .pricing-carousel-track .pricing-card {
    flex: 0 0 calc(100vw - 32px);
    min-width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .carousel-btn-prev {
    left: 2px;
  }

  .carousel-btn-next {
    right: 2px;
  }
}

.pricing-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border: 2px solid transparent;
  cursor: grab;
  display: flex;
  flex-direction: column;
}

.pricing-card:active {
  cursor: grabbing;
}

/* Inactive cards are hidden - no hover/click styling needed */

.pricing-card.featured {
  background: var(--bg-primary);
  border: 2px solid var(--primary);
}

.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-1);
  color: white;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-header {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
}

.pricing-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.pricing-header h3 {
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-name {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.pricing-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 16px 0 0 0;
  background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-price span {
  font-size: 18px;
  font-weight: 500;
}

.pricing-card.featured .pricing-price {
  background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-features {
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features i {
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}

.btn-outline-pricing {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  width: 100%;
  justify-content: center;
}

.btn-outline-pricing:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Ensure all buttons in pricing cards are full width and centered */
.pricing-card .btn-agency {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* ========================================
   Before & After Section
   ======================================== */
.before-after-section {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.before-after-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.before-after-grid .before-after-card {
  max-width: 700px;
  width: 100%;
}

.before-after-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.before-after-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.before-after-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.before-image,
.after-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.image-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.before-image .image-label {
  background: rgba(239, 68, 68, 0.9);
}

.after-image .image-label {
  background: rgba(34, 197, 94, 0.9);
}

.placeholder-old {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.85);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  box-sizing: border-box;
}

.placeholder-old i {
  font-size: 64px;
  opacity: 0.9;
}

.placeholder-old span {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.before-image img,
.after-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after-content {
  padding: 28px;
}

.before-after-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.before-after-content > p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* transformation-stats grid defined above at line ~2087 */

.transformation-stats .stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

.transformation-stats .stat i {
  font-size: 16px;
}

/* ========================================
   Responsive for New Sections
   ======================================== */
@media (max-width: 992px) {
  .local-services-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .local-services-section,
  .pricing-section,
  .before-after-section {
    padding: 80px 0;
  }

  .before-after-images {
    grid-template-columns: 1fr;
  }

  .transformation-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

/* Mobile pricing card optimizations */
@media (max-width: 768px) {
  .pricing-card {
    padding: 28px 20px;
  }

  .pricing-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .pricing-header h3 {
    font-size: 22px;
  }

  .pricing-name {
    font-size: 14px;
  }

  .pricing-price {
    font-size: 28px;
    margin-top: 12px;
  }

  .pricing-price span {
    font-size: 14px;
  }

  .pricing-badge {
    padding: 4px 10px;
    font-size: 10px;
    margin-bottom: 12px;
  }

  .pricing-popular {
    top: -12px;
    padding: 6px 16px;
    font-size: 10px;
  }

  .pricing-features {
    margin-bottom: 20px;
  }

  .pricing-features li {
    padding: 10px 0;
    font-size: 13px;
    gap: 10px;
  }

  .pricing-features i {
    font-size: 12px;
  }

  .pricing-card .btn-agency {
    padding: 12px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .pricing-card {
    padding: 24px 16px;
  }

  .pricing-header {
    margin-bottom: 16px;
    padding-bottom: 16px;
  }

  .pricing-header h3 {
    font-size: 20px;
  }

  .pricing-name {
    font-size: 13px;
  }

  .pricing-price {
    font-size: 24px;
  }

  .pricing-price span {
    font-size: 13px;
  }

  .pricing-features li {
    padding: 8px 0;
    font-size: 12px;
  }

  .pricing-card .btn-agency {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* Mobile Stats Optimization */
@media (max-width: 480px) {
  .transformation-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 20px 12px;
    margin-top: 24px;
  }

  .transformation-stats .stat-item {
    padding: 8px 4px;
  }

  .transformation-stats .stat-number {
    font-size: 1.25rem;
  }

  .transformation-stats .stat-suffix {
    font-size: 0.85rem;
  }

  .transformation-stats .stat-label {
    font-size: 0.65rem;
    line-height: 1.3;
    word-wrap: break-word;
    hyphens: auto;
  }
}

@media (max-width: 380px) {
  .transformation-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 16px;
  }

  .transformation-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
  }

  .transformation-stats .stat-number {
    font-size: 1.75rem;
  }

  .transformation-stats .stat-suffix {
    font-size: 1rem;
  }

  .transformation-stats .stat-label {
    font-size: 0.75rem;
    margin-top: 4px;
  }
}

/* ========================================
   ULTRA ANIMATED RECTANGLE - Digital Pulse
   ======================================== */

/* Main Wrapper */
.digital-rectangle-wrapper {
  position: relative;
  display: inline-block;
  padding: 16px 40px;
  margin: 10px 0;
  isolation: isolate;
}

/* Base Layer Styles */
.rectangle-layer {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  pointer-events: none;
}


/* Layer 2: Static Border with Gradient */
.rectangle-border {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--gradient-2), var(--gradient-2)) padding-box,
    linear-gradient(90deg,
      #6366f1 0%,
      #8b5cf6 25%,
      #06b6d4 50%,
      #8b5cf6 75%,
      #6366f1 100%
    ) border-box;
  background-size: 100% 100%, 100% 100%;
}


/* Gradient Text inside wrapper */
.digital-rectangle-wrapper .gradient-text {
  position: relative;
  z-index: 10;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
  .digital-rectangle-wrapper {
    padding: 10px 24px;
  }

  .service-abo-section {
    padding: 80px 0;
  }

  .abo-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .abo-benefits {
    grid-template-columns: 1fr;
  }

  .abo-card {
    padding: 32px 24px;
  }

  .price-amount {
    font-size: 40px;
  }

  .abo-benefit {
    padding: 20px;
  }
}

/* ========================================
   Section Scroll Transitions
   Coole Übergänge für jeden Bereich
   ======================================== */

/* Base state for animated sections */
.section-animate {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section Headers - Elegant Reveal */
.section-header-animate {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section-header-animate.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Services Section - Staggered Cards Entrance */
.services-agency .service-card-agency {
  opacity: 0;
  transform: translateY(80px) rotateX(15deg);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--delay, 0s);
}

.services-agency.is-visible .service-card-agency {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

.services-agency .service-card-agency:nth-child(1) { --delay: 0.1s; }
.services-agency .service-card-agency:nth-child(2) { --delay: 0.2s; }
.services-agency .service-card-agency:nth-child(3) { --delay: 0.3s; }
.services-agency .service-card-agency:nth-child(4) { --delay: 0.4s; }

/* Pricing Section - 3D Flip Entrance */
.pricing-section {
  perspective: 2000px;
}

.pricing-section .pricing-card {
  opacity: 0;
  transform: rotateY(-30deg) translateX(-50px);
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--delay, 0s);
}

.pricing-section.is-visible .pricing-card {
  opacity: 1;
  transform: rotateY(0) translateX(0);
}

.pricing-section .pricing-card[data-slide="0"] { --delay: 0.1s; }
.pricing-section .pricing-card[data-slide="1"] { --delay: 0.25s; }
.pricing-section .pricing-card[data-slide="2"] { --delay: 0.4s; }

/* Process Section - Timeline Reveal */
.process-section .process-step {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--delay, 0s);
}

.process-section .process-step:nth-child(even) {
  transform: translateX(100px);
}

.process-section.is-visible .process-step {
  opacity: 1;
  transform: translateX(0);
}

.process-section .process-step:nth-child(1) { --delay: 0.1s; }
.process-section .process-step:nth-child(2) { --delay: 0.2s; }
.process-section .process-step:nth-child(3) { --delay: 0.3s; }
.process-section .process-step:nth-child(4) { --delay: 0.4s; }

/* Portfolio Section - Scale & Blur Entrance */
.portfolio-agency .portfolio-item-agency {
  opacity: 0;
  transform: scale(0.8) translateY(60px);
  filter: blur(10px);
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--delay, 0s);
}

.portfolio-agency.is-visible .portfolio-item-agency {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
}

.portfolio-agency .portfolio-item-agency:nth-child(1) { --delay: 0.15s; }
.portfolio-agency .portfolio-item-agency:nth-child(2) { --delay: 0.3s; }
.portfolio-agency .portfolio-item-agency:nth-child(3) { --delay: 0.45s; }

/* Testimonials Section - Slide Up with Bounce */
.testimonials-section .testimonial-card {
  opacity: 0;
  transform: translateY(100px) scale(0.9);
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--delay, 0s);
}

.testimonials-section.is-visible .testimonial-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.testimonials-section .testimonial-card:nth-child(1) { --delay: 0.1s; }
.testimonials-section .testimonial-card:nth-child(2) { --delay: 0.2s; }
.testimonials-section .testimonial-card:nth-child(3) { --delay: 0.3s; }

/* Service-Abo Section - Staggered Entrance */
.service-abo-section .abo-card {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-abo-section.is-visible .abo-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.service-abo-section .abo-benefit {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--delay, 0s);
}

.service-abo-section.is-visible .abo-benefit {
  opacity: 1;
  transform: translateX(0);
}

.service-abo-section .abo-benefit:nth-child(1) { --delay: 0.1s; }
.service-abo-section .abo-benefit:nth-child(2) { --delay: 0.2s; }
.service-abo-section .abo-benefit:nth-child(3) { --delay: 0.3s; }
.service-abo-section .abo-benefit:nth-child(4) { --delay: 0.4s; }

/* CTA Section - Dramatic Entrance */
.cta-section .cta-content {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-section.is-visible .cta-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cta-section .cta-shape {
  opacity: 0;
  transform: scale(0.5);
  transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-section.is-visible .cta-shape {
  opacity: 1;
  transform: scale(1);
}

.cta-section.is-visible .cta-shape-1 {
  transition-delay: 0.2s;
}

.cta-section.is-visible .cta-shape-2 {
  transition-delay: 0.4s;
}

/* Contact Section - Form bleibt professionell & ernst */
.contact-agency .contact-info-agency {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-agency.is-visible .contact-info-agency {
  opacity: 1;
  transform: translateX(0);
}

/* Formular - Dezenter, professioneller Eingang */
.contact-agency .contact-form-agency {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.2s;
}

.contact-agency.is-visible .contact-form-agency {
  opacity: 1;
  transform: translateY(0);
}

/* Footer - Clean Reveal */
.footer-agency {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-agency.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animated Gradient Border for Section Titles */
@keyframes gradientShine {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.section-header .section-tag {
  position: relative;
  overflow: hidden;
}

.section-header .section-tag::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,
    var(--primary) 0%,
    var(--accent) 50%,
    var(--primary) 100%
  );
  background-size: 200% 100%;
  animation: gradientShine 3s ease infinite;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.is-visible .section-header .section-tag::after,
.section-header-animate.is-visible .section-tag::after {
  transform: scaleX(1);
}

/* Floating Animation for Background Elements */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-15px) rotate(2deg);
  }
  66% {
    transform: translateY(10px) rotate(-1deg);
  }
}

/* Pulse Glow Effect */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.5), 0 0 60px rgba(6, 182, 212, 0.3);
  }
}

/* Apply floating to background shapes */
.cta-section.is-visible .cta-shape-1 {
  animation: floatGentle 8s ease-in-out infinite;
}

.cta-section.is-visible .cta-shape-2 {
  animation: floatGentle 10s ease-in-out infinite reverse;
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .section-animate,
  .section-header-animate,
  .services-agency .service-card-agency,
  .pricing-section .pricing-card,
  .process-section .process-step,
  .portfolio-agency .portfolio-item-agency,
  .testimonials-section .testimonial-card,
  .cta-section .cta-content,
  .cta-section .cta-shape,
  .contact-agency .contact-info-agency,
  .contact-agency .contact-form-agency,
  .footer-agency {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
    animation: none;
  }
}
