/* ============================================================
   CHAOTENRUDEL AGENTUR — Custom Stylesheet
   Colors: #A100FF | #FF00AA | #39FF14 | #FF3B3B
   ============================================================ */

:root {
  --purple:  #A100FF;
  --pink:    #FF00AA;
  --green:   #39FF14;
  --red:     #FF3B3B;
  --bg:      #05050a;
  --bg2:     #0a0a14;
  --glass:   rgba(255, 255, 255, 0.04);
  --glass2:  rgba(161, 0, 255, 0.08);
  --border:  rgba(161, 0, 255, 0.25);
  --text:    #e8e8f0;
  --muted:   #8888aa;
}

/* ── Reset & Base ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Rajdhani', 'Orbitron', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ── Scrollbar ─────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--purple), var(--pink));
  border-radius: 3px;
}

/* ── Selection ─────────────────────────────────── */
::selection {
  background: var(--purple);
  color: #fff;
}

/* ── Typography Helpers ────────────────────────── */
.font-orbitron { font-family: 'Orbitron', sans-serif; }
.font-rajdhani { font-family: 'Rajdhani', sans-serif; }
.font-inter    { font-family: 'Inter', sans-serif; }

/* ── Neon Text Glows ───────────────────────────── */
.glow-purple {
  text-shadow:
    0 0 10px var(--purple),
    0 0 30px var(--purple),
    0 0 60px rgba(161,0,255,0.5);
}
.glow-pink {
  text-shadow:
    0 0 10px var(--pink),
    0 0 30px var(--pink),
    0 0 60px rgba(255,0,170,0.5);
}
.glow-green {
  text-shadow:
    0 0 10px var(--green),
    0 0 30px var(--green),
    0 0 60px rgba(57,255,20,0.5);
}

/* ── Gradient Text ─────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 50%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-pink {
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Glassmorphism Cards ───────────────────────── */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.glass-card-purple {
  background: var(--glass2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(161,0,255,0.3);
  border-radius: 20px;
}

/* ── Neon Box Glow ─────────────────────────────── */
.box-glow-purple {
  box-shadow:
    0 0 20px rgba(161,0,255,0.3),
    0 0 60px rgba(161,0,255,0.1),
    inset 0 0 20px rgba(161,0,255,0.05);
}
.box-glow-pink {
  box-shadow:
    0 0 20px rgba(255,0,170,0.3),
    0 0 60px rgba(255,0,170,0.1),
    inset 0 0 20px rgba(255,0,170,0.05);
}
.box-glow-green {
  box-shadow:
    0 0 20px rgba(57,255,20,0.3),
    0 0 60px rgba(57,255,20,0.1),
    inset 0 0 20px rgba(57,255,20,0.05);
}

/* ── Buttons ───────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border: none;
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(161,0,255,0.4), 0 0 60px rgba(255,0,170,0.2);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 50px rgba(161,0,255,0.6), 0 0 80px rgba(255,0,170,0.3); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--green);
  background: transparent;
  border: 2px solid var(--green);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(57,255,20,0.2), inset 0 0 20px rgba(57,255,20,0.05);
}
.btn-outline:hover {
  background: var(--green);
  color: #000;
  box-shadow: 0 0 50px rgba(57,255,20,0.5), 0 0 100px rgba(57,255,20,0.2);
  transform: translateY(-3px);
}

/* ── Neon Divider ──────────────────────────────── */
.neon-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--pink), var(--green), transparent);
  border: none;
  margin: 0;
}

/* ── Section Title ─────────────────────────────── */
.section-tag {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--pink);
  padding: 6px 16px;
  border: 1px solid rgba(255,0,170,0.3);
  border-radius: 20px;
  background: rgba(255,0,170,0.07);
  margin-bottom: 16px;
}

/* ── Animated Background Orbs ──────────────────── */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
  animation: orb-drift 8s ease-in-out infinite alternate;
}
.bg-orb-1 { width: 600px; height: 600px; background: var(--purple); top: -100px; left: -200px; animation-duration: 10s; }
.bg-orb-2 { width: 500px; height: 500px; background: var(--pink); top: 200px; right: -150px; animation-duration: 8s; animation-delay: -3s; }
.bg-orb-3 { width: 400px; height: 400px; background: var(--green); bottom: 0; left: 30%; animation-duration: 12s; animation-delay: -5s; opacity: 0.08; }

/* ── Animations ────────────────────────────────── */
@keyframes orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.1); }
}

@keyframes neon-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

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

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glitch {
  0%   { clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%); transform: translate(-4px, 0); }
  20%  { clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%); transform: translate(4px, 0); }
  40%  { clip-path: polygon(0 45%, 100% 45%, 100% 55%, 0 55%); transform: translate(0, 0); }
  60%  { clip-path: polygon(0 20%, 100% 20%, 100% 30%, 0 30%); transform: translate(-2px, 0); }
  80%  { clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%); transform: translate(2px, 0); }
  100% { clip-path: polygon(0 0, 0 0, 0 0, 0 0); transform: translate(0, 0); }
}

@keyframes glitch-2 {
  0%   { clip-path: polygon(0 60%, 100% 60%, 100% 70%, 0 70%); transform: translate(4px, 0); }
  20%  { clip-path: polygon(0 0, 100% 0, 100% 20%, 0 20%); transform: translate(-4px, 0); }
  40%  { clip-path: polygon(0 80%, 100% 80%, 100% 100%, 0 100%); transform: translate(0, 0); }
  100% { clip-path: polygon(0 0, 0 0, 0 0, 0 0); transform: translate(0, 0); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes slide-right {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes border-pulse {
  0%, 100% { border-color: rgba(161,0,255,0.3); box-shadow: 0 0 20px rgba(161,0,255,0.15); }
  50%       { border-color: rgba(255,0,170,0.5); box-shadow: 0 0 40px rgba(255,0,170,0.25); }
}

/* ── Glitch Title Effect ───────────────────────── */
.glitch-wrapper { position: relative; display: inline-block; }
.glitch-wrapper::before,
.glitch-wrapper::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  display: block;
}
.glitch-wrapper::before {
  color: var(--pink);
  animation: glitch 4s infinite linear;
  z-index: -1;
}
.glitch-wrapper::after {
  color: var(--green);
  animation: glitch-2 4s infinite linear;
  z-index: -1;
  animation-delay: 0.5s;
}

/* ── Navigation ────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s ease;
}
#navbar.scrolled {
  background: rgba(5,5,10,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(161,0,255,0.2);
  padding: 10px 0;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 0 8px var(--purple)); }
.nav-logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}
.nav-logo-text span { display: block; color: var(--pink); font-size: 0.55rem; letter-spacing: 3px; }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: transparent;
  border: none;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span { display: block; width: 26px; height: 2px; background: var(--purple); border-radius: 2px; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,5,10,0.97);
  backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--pink); text-shadow: 0 0 20px var(--pink); }

/* ── Hero Section ──────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 20px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(161,0,255,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(255,0,170,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(57,255,20,0.06) 0%, transparent 60%);
  animation: gradient-shift 8s ease infinite;
  background-size: 200% 200%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(161,0,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(161,0,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(161,0,255,0.6)) drop-shadow(0 0 60px rgba(255,0,170,0.3));
  animation: float 4s ease-in-out infinite;
  margin-bottom: 32px;
}

.hero-eyebrow {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 20px;
  animation: fade-up 0.8s ease both;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 16px;
  animation: fade-up 0.8s ease 0.2s both;
}

.hero-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  margin-bottom: 28px;
  animation: fade-up 0.8s ease 0.35s both;
}

.hero-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--muted);
  text-align: center;
  max-width: 680px;
  line-height: 1.8;
  margin-bottom: 48px;
  animation: fade-up 0.8s ease 0.5s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  animation: fade-up 0.8s ease 0.65s both;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fade-up 1s ease 1s both;
}
.hero-scroll-indicator span {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
}
.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(161,0,255,0.5);
  border-radius: 12px;
  position: relative;
}
.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--purple);
  border-radius: 2px;
  animation: float 1.5s ease-in-out infinite;
}

/* ── Ticker Banner ─────────────────────────────── */
.ticker-wrap {
  overflow: hidden;
  padding: 18px 0;
  background: linear-gradient(135deg, rgba(161,0,255,0.08), rgba(255,0,170,0.08));
  border-top: 1px solid rgba(161,0,255,0.2);
  border-bottom: 1px solid rgba(161,0,255,0.2);
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 40px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.ticker-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink);
  flex-shrink: 0;
}

/* ── Stats Bar ─────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(161,0,255,0.15);
  border: 1px solid rgba(161,0,255,0.15);
  border-radius: 16px;
  overflow: hidden;
}
.stat-item {
  padding: 32px 24px;
  text-align: center;
  background: var(--bg);
}
.stat-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Service Cards ─────────────────────────────── */
.service-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(161,0,255,0.2);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--pink), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(161,0,255,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(161,0,255,0.5);
  box-shadow: 0 20px 60px rgba(161,0,255,0.15), 0 0 0 1px rgba(255,0,170,0.1);
}
.service-card:hover::before,
.service-card:hover::after { opacity: 1; }

.service-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.service-card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.service-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid;
}

/* ── Why Us Cards ──────────────────────────────── */
.why-card {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  animation: border-pulse 3s ease-in-out infinite;
}
.why-card:nth-child(2) { animation-delay: 0.75s; }
.why-card:nth-child(3) { animation-delay: 1.5s; }
.why-card:nth-child(4) { animation-delay: 2.25s; }
.why-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--purple) !important;
  box-shadow: 0 30px 80px rgba(161,0,255,0.2);
  animation: none;
}
.why-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 0 10px currentColor);
}
.why-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.why-text {
  font-family: 'Inter', sans-serif;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Process Steps ─────────────────────────────── */
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 32px;
  background: var(--glass);
  border: 1px solid rgba(161,0,255,0.15);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
}
.step-item:hover {
  border-color: rgba(161,0,255,0.4);
  background: rgba(161,0,255,0.06);
  transform: translateX(8px);
}
.step-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 0 20px rgba(161,0,255,0.4);
}
.step-content-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.step-content-desc {
  font-family: 'Inter', sans-serif;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── References Section ────────────────────────── */
.ref-card {
  background: var(--glass2);
  border: 1px solid rgba(161,0,255,0.2);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ref-card::before {
  content: '"';
  position: absolute;
  top: 10px; left: 24px;
  font-size: 8rem;
  font-family: serif;
  color: var(--purple);
  opacity: 0.15;
  line-height: 1;
}

/* ── CTA Section ───────────────────────────────── */
#cta {
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(161,0,255,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(255,0,170,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(57,255,20,0.05) 0%, transparent 60%);
}

/* ── Contact Form ──────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(161,0,255,0.25);
  border-radius: 12px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}
/* Select dropdown — explizite dunkle Hintergrundfarbe damit Optionstext lesbar */
select.form-input {
  background-color: #1a1a2e;
  color: #fff;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A100FF' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  appearance: none;
  -webkit-appearance: none;
}
select.form-input option {
  background-color: #1a1a2e;
  color: #fff;
  padding: 10px;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--purple);
  background: rgba(161,0,255,0.06);
  box-shadow: 0 0 20px rgba(161,0,255,0.2);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(136,136,170,0.5); }

/* ── Footer ────────────────────────────────────── */
footer {
  background: rgba(0,0,0,0.5);
  border-top: 1px solid rgba(161,0,255,0.15);
}
.footer-logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(161,0,255,0.2);
  color: var(--muted);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}
.social-btn:hover {
  background: rgba(161,0,255,0.12);
  border-color: var(--purple);
  color: #fff;
  box-shadow: 0 0 20px rgba(161,0,255,0.3);
  transform: translateY(-3px);
}

/* ── AOS: GLOBAL OVERRIDE — alle Elemente immer sichtbar ── */
/* AOS setzt initial opacity:0 — das blockiert Cards auf allen Screens  */
/* Wir erzwingen Sichtbarkeit; CSS-Transitions sorgen für sanftes Einblenden */
[data-aos],
[data-aos][data-aos][data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
/* Service- und Why-Cards mit eigener sanfter Einblend-Animation */
.service-card,
.why-card,
.step-item,
.ref-card {
  animation: card-reveal 0.5s ease both;
}
@keyframes card-reveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Mobile Touch UX ───────────────────────────── */
/* Prevent iOS input zoom (must stay 16px) */
.form-input,
.form-textarea {
  font-size: 16px !important;
}

/* Tap highlight removal */
a, button, [role="button"] {
  -webkit-tap-highlight-color: transparent;
}

/* Min touch target size */
.social-btn,
.hamburger,
.nav-links a,
.btn-primary,
.btn-outline {
  min-height: 44px;
}

/* Prevent glitch effect causing horizontal overflow */
.glitch-wrapper {
  overflow: hidden;
  max-width: 100%;
}
.hero-title {
  overflow: hidden;
}

/* About logo wrap: clip overflow from decorative rings */
.about-logo-wrap {
  overflow: visible; /* rings visible on desktop */
}
.about-logo { max-width: 100%; height: auto; }

/* ── Utility ───────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }

/* ── Layout Grid Classes (CSS-controlled, overrideable) ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}
.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
/* Services: 2×2 grid – alle 4 Cards immer sichtbar */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.services-grid > * { min-width: 0; }

/* Why: 2×2 grid – robust auf allen Breiten */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.why-grid > * { min-width: 0; }
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* ── ████ RESPONSIVE ████ ──────────────────────── */

/* ── Tablet landscape ──────────────────────────── */
@media (max-width: 1100px) {
  .about-grid   { gap: 48px; }
  .process-grid { gap: 48px; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ── Tablet portrait ───────────────────────────── */
@media (max-width: 900px) {
  section { padding: 80px 0; }

  .about-grid   { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .about-grid > div:first-child { display: flex; flex-direction: column; align-items: center; }
  .about-grid .stats-bar { max-width: 440px; width: 100%; }

  .process-grid { grid-template-columns: 1fr; gap: 40px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid  { grid-template-columns: 1fr; gap: 32px; }

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

  /* Both grids: already 2×2, stay the same on tablet */

  .hero-logo { width: 130px; height: 130px; }
}

/* ── Mobile ────────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .container { padding: 0 20px; }

  /* Navigation */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  #navCta    { display: none !important; }

  /* Hero */
  #hero { padding: 100px 20px 80px; }
  .hero-logo { width: 110px; height: 110px; margin-bottom: 24px !important; }
  .hero-eyebrow { font-size: 0.68rem; letter-spacing: 3px; }
  .hero-text { font-size: 0.95rem; padding: 0 4px; }
  .hero-scroll-indicator { display: none; }
  .hero-buttons { flex-direction: column; align-items: center; gap: 14px; }
  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    text-align: center;
  }

  /* Ticker */
  .ticker-item { font-size: 0.65rem; padding: 0 24px; gap: 16px; }

  /* About */
  .about-grid { grid-template-columns: 1fr !important; gap: 36px !important; text-align: center; }
  .about-grid > div:first-child { display: flex; flex-direction: column; align-items: center; }
  .stats-bar { grid-template-columns: repeat(3, 1fr); }
  .stat-num  { font-size: 2rem; }

  /* Services — 1 column on mobile */
  .service-card { padding: 28px 22px; }

  /* Why — 2 columns on mobile tablet, 1 on small */
  .why-card { padding: 28px 20px; }

  /* Process */
  .process-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
  .step-item    { gap: 14px; }

  /* Contact */
  .contact-grid  { grid-template-columns: 1fr !important; gap: 36px !important; }
  .form-row-grid { grid-template-columns: 1fr; }

  /* Refs */
  .ref-card { padding: 28px 22px; }

  /* CTA */
  #cta { padding: 80px 0 !important; }

  /* Footer */
  .footer-grid   { grid-template-columns: 1fr !important; gap: 32px !important; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }

  /* Both grids: 1 column on mobile */
  .services-grid { grid-template-columns: 1fr !important; }
  .why-grid      { grid-template-columns: 1fr !important; }
}

/* ── Small Mobile ──────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  section { padding: 56px 0; }

  /* Hero */
  #hero { padding: 90px 16px 70px; }
  .hero-title { font-size: 2rem !important; letter-spacing: -0.5px; }
  .hero-subtitle { font-size: 1.1rem !important; }
  .hero-agentur-sub { font-size: 0.85em !important; letter-spacing: 3px !important; }

  /* Nav */
  .nav-logo-text { font-size: 0.65rem; letter-spacing: 1px; }
  .nav-logo img  { width: 36px; height: 36px; }

  /* Stats */
  .stats-bar  { gap: 0; }
  .stat-item  { padding: 20px 10px; }
  .stat-num   { font-size: 1.7rem; }
  .stat-label { font-size: 0.68rem; }

  /* About logo rings hidden — prevent overflow */
  .about-ring { display: none; }
  .about-logo-wrap { overflow: hidden; border-radius: 50%; }
  .about-logo { max-width: 260px; }

  /* Both grids: already 1 col from 768px breakpoint above */

  /* Cards */
  .service-card { padding: 22px 18px; border-radius: 16px; }
  .why-card     { padding: 24px 18px; border-radius: 16px; }
  .step-item    { padding: 20px 18px; }
  .step-num     { width: 40px; height: 40px; font-size: 0.8rem; flex-shrink: 0; }

  /* Contact form */
  #contactForm  { padding: 22px !important; border-radius: 18px !important; }

  /* Ticker */
  .ticker-item  { padding: 0 16px; font-size: 0.6rem; gap: 12px; }

  /* Footer */
  .footer-logo-text { font-size: 0.85rem; letter-spacing: 2px; }
  .social-btn  { width: 42px; height: 42px; border-radius: 10px; font-size: 1rem; }

  /* Section tag */
  .section-tag { font-size: 0.62rem; letter-spacing: 2.5px; padding: 5px 12px; }

  /* Buttons */
  .btn-primary,
  .btn-outline { padding: 14px 24px; font-size: 0.78rem; letter-spacing: 1.5px; }

  /* Ref badge text */
  .ref-coming-text { font-size: 0.6rem !important; letter-spacing: 1.5px !important; }

  /* CTA trust badges */
  .trust-badge { font-size: 0.82rem; }
}

/* ── Extra small ───────────────────────────────── */
@media (max-width: 380px) {
  .hero-title { font-size: 1.65rem !important; }
  .hero-agentur-sub { letter-spacing: 2px !important; }
  .stat-num   { font-size: 1.4rem; }
  .container  { padding: 0 12px; }
  .btn-primary,
  .btn-outline { font-size: 0.75rem; padding: 13px 20px; }
  .about-logo { max-width: 220px; }
  .stats-bar  { grid-template-columns: repeat(3,1fr); }
  .stat-label { font-size: 0.6rem; letter-spacing: 1px; }
}

/* AOS global override already above — no need to repeat here */

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