/* ==========================================================================
   MOMA DIGITAL STUDIO - DESIGN SYSTEM & STYLES
   Sophisticated Dark-Luxury Titanium & Realistic Business Solutions
   ========================================================================== */

:root {
  /* Colors */
  --bg-primary: #07080c;
  --bg-secondary: #0d0f17;
  --bg-tertiary: #141724;
  --card-bg: rgba(18, 21, 32, 0.7);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-glow: rgba(56, 189, 248, 0.4);

  --accent-cyan: #38bdf8;
  --accent-indigo: #6366f1;
  --accent-purple: #a855f7;
  --accent-gold: #f59e0b;
  --accent-emerald: #10b981;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --metal-gradient: linear-gradient(135deg, #1e2029 0%, #333846 50%, #64748b 80%, #cbd5e1 100%);
  --glow-gradient: linear-gradient(135deg, #38bdf8 0%, #6366f1 50%, #a855f7 100%);

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & GLOBAL BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-primary);
  font-family: var(--font-body);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e2538;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* Custom Glow Cursor */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  background: rgba(56, 189, 248, 0.35);
  border: 1.5px solid rgba(56, 189, 248, 0.9);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out, width 0.2s ease, height 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(2px);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

#custom-cursor.active {
  width: 48px;
  height: 48px;
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(168, 85, 247, 0.95);
  box-shadow: 0 0 35px rgba(99, 102, 241, 0.8);
}

#cursor-trail-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99998;
}

/* Background Grids & Ambient Glows */
.bg-grid-pattern {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
}

.glow-1 {
  top: -100px;
  left: 20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(56, 189, 248, 0.1) 60%, transparent 80%);
}

.glow-2 {
  top: 40%;
  right: -100px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(99, 102, 241, 0.08) 60%, transparent 80%);
}

.glow-3 {
  bottom: 10%;
  left: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(99, 102, 241, 0.05) 60%, transparent 80%);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(7, 8, 12, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.7rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

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

.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.75rem;
}

.brand-logo-img {
  height: 68px;
  width: auto;
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.5));
  transition: transform var(--transition-normal), height var(--transition-normal);
}

.site-header.scrolled .brand-logo-img {
  height: 56px;
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 24px rgba(56, 189, 248, 0.7));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--glow-gradient);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Sound Effect Button */
.sound-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
}

.sound-toggle-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.12);
}

.sound-wave-icon {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 16px;
}

.sound-wave-icon span {
  display: inline-block;
  width: 2.5px;
  background: currentColor;
  border-radius: 1px;
  height: 6px;
  transition: height 0.2s ease;
}

.sound-toggle-btn.active .sound-wave-icon span:nth-child(1) { animation: soundAnim 0.7s infinite alternate ease-in-out; height: 14px; }
.sound-toggle-btn.active .sound-wave-icon span:nth-child(2) { animation: soundAnim 0.9s infinite alternate 0.2s ease-in-out; height: 8px; }
.sound-toggle-btn.active .sound-wave-icon span:nth-child(3) { animation: soundAnim 0.6s infinite alternate 0.4s ease-in-out; height: 16px; }

@keyframes soundAnim {
  0% { height: 4px; }
  100% { height: 16px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: 0 4px 25px rgba(99, 102, 241, 0.45);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.6);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO & GLOBAL 3D EARTH CANVAS (SCROLL-DRIVEN)
   ========================================================================== */

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

#hero-3d-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  pointer-events: none;
}

.hero-content * {
  pointer-events: auto;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
}

.badge-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 20px var(--accent-cyan); }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.text-gradient-neon {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(99, 102, 241, 0.4));
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.metric-value span.highlight {
  color: var(--accent-cyan);
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.earth-control-hint {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(12, 14, 21, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  color: var(--accent-cyan);
  backdrop-filter: blur(12px);
}

/* Marquee / Live Ticker */
.marquee-bar {
  background: rgba(12, 14, 21, 0.9);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.marquee-content {
  display: inline-flex;
  gap: 3rem;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.marquee-item .spark {
  color: var(--accent-cyan);
}

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

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

.section-padding {
  padding: 6.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   PRAXIS & MITTELSTAND SECTION (REALISTISCHE KUNDEN-LÖSUNGEN)
   ========================================================================== */

.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.business-card {
  background: rgba(18, 21, 32, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.2rem;
  backdrop-filter: blur(20px);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.business-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.business-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}

.business-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.business-card-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  flex-grow: 1;
}

.business-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--card-border);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

/* Praxis Case Studies Grid */
.praxis-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.praxis-case-card {
  background: linear-gradient(145deg, rgba(14, 17, 26, 0.9) 0%, rgba(20, 24, 38, 0.9) 100%);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.praxis-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.praxis-stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.3rem;
}

.praxis-stat-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   SPOTLIGHT 3D GLASS CARDS & SERVICES
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.spotlight-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 2.5rem;
  overflow: hidden;
  backdrop-filter: blur(24px);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
  transform-style: preserve-3d;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, -100px);
  left: var(--mouse-x, -100px);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(99, 102, 241, 0.25) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  color: var(--accent-cyan);
  transition: transform var(--transition-normal);
}

.spotlight-card:hover .service-icon-box {
  transform: scale(1.08);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.28rem 0.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

/* ==========================================================================
   GLOBAL PERFORMANCE & 3D MATRIX SECTION
   ========================================================================== */

.global-network-wrapper {
  background: linear-gradient(145deg, rgba(12, 14, 21, 0.8) 0%, rgba(18, 21, 32, 0.9) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 28px;
  padding: 3rem;
  backdrop-filter: blur(24px);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.network-stats-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.network-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.network-stat-card:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: var(--accent-cyan);
  transform: translateX(4px);
}

.ping-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ==========================================================================
   PORTFOLIO & SHOWCASE WITH INTERACTIVE DEVICE PREVIEW
   ========================================================================== */

.portfolio-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.filter-pill {
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover, .filter-pill.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
  color: var(--text-primary);
  border-color: var(--accent-cyan);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
}

.portfolio-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(24px);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.portfolio-preview-box {
  position: relative;
  height: 240px;
  background: #0d0f14;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 7, 10, 0.9) 0%, rgba(6, 7, 10, 0.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.5rem;
}

.portfolio-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-client {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 0.4rem;
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.portfolio-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.portfolio-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--card-border);
}

.metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

/* Interactive Before-After Slider */
.comparison-container {
  margin-top: 5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 2.5rem;
  backdrop-filter: blur(24px);
}

.comparison-header {
  text-align: center;
  margin-bottom: 2rem;
}

.comparison-box {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  user-select: none;
}

.comparison-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.comparison-before {
  background: linear-gradient(135deg, #181b24 0%, #0d0f15 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-after {
  background: linear-gradient(135deg, #060912 0%, #111a36 50%, #035388 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.comparison-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #ffffff;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.8);
  cursor: ew-resize;
  transform: translateX(-50%);
  z-index: 10;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  color: #08090c;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.badge-overlay-before, .badge-overlay-after {
  position: absolute;
  bottom: 1.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.badge-overlay-before {
  left: 1.5rem;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.badge-overlay-after {
  right: 1.5rem;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

/* ==========================================================================
   INTERACTIVE PROJECT & PRICE CALCULATOR (WITH 3D REACTOR)
   ========================================================================== */

.calculator-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.calc-options-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 2.5rem;
  backdrop-filter: blur(24px);
}

.calc-step {
  margin-bottom: 2.5rem;
}

.calc-step:last-child {
  margin-bottom: 0;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

/* Option Cards */
.options-grid-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.option-type-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.option-type-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.option-type-card.selected {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18) 0%, rgba(99, 102, 241, 0.18) 100%);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.option-name {
  font-weight: 700;
  font-size: 1rem;
}

.option-price-hint {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Slider Controls */
.slider-group {
  margin-top: 1rem;
}

.slider-val-display {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.range-slider {
  width: 100%;
  height: 8px;
  background: #151824;
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Feature Checkboxes */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.feature-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.feature-checkbox-label:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-checkbox-label.checked {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--accent-cyan);
  color: #fff;
}

.custom-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.feature-checkbox-label.checked .custom-checkbox {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #08090c;
}

/* Calculator Summary Box */
.calc-summary-panel {
  position: sticky;
  top: 6rem;
  background: linear-gradient(145deg, rgba(18, 21, 32, 0.95) 0%, rgba(12, 14, 21, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 28px;
  padding: 2.5rem;
  backdrop-filter: blur(24px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.summary-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--card-border);
}

.summary-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.summary-item .item-val {
  font-weight: 600;
  color: var(--text-primary);
}

.price-total-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.price-total-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.price-total-amount {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  background: var(--glow-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.timeline-estimate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-top: 0.5rem;
}

/* ==========================================================================
   BOOKING & APPOINTMENT SCHEDULER (KUNDEN-BUCHUNG)
   ========================================================================== */

.booking-card-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 3.5rem;
  backdrop-filter: blur(24px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
}

.calendar-widget {
  background: rgba(12, 14, 21, 0.8);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.calendar-month-label {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.cal-nav-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cal-nav-btn:hover {
  background: var(--accent-cyan);
  color: #08090c;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.cal-day:not(.disabled):not(.empty):hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--accent-cyan);
}

.cal-day.selected {
  background: var(--glow-gradient) !important;
  color: #ffffff !important;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.7);
  font-weight: 800;
}

.cal-day.disabled {
  color: #272a38;
  cursor: not-allowed;
}

.cal-day.today {
  border-color: rgba(56, 189, 248, 0.5);
  color: var(--accent-cyan);
}

/* Time Slots */
.time-slots-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
}

.time-slots-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
  gap: 0.6rem;
}

.time-slot-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  padding: 0.6rem 0.4rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.time-slot-btn:hover {
  border-color: var(--accent-cyan);
}

.time-slot-btn.selected {
  background: var(--accent-cyan);
  color: #08090c;
  border-color: var(--accent-cyan);
  font-weight: 700;
}

/* Booking Form Elements */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  background: rgba(12, 14, 21, 0.8);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

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

/* ==========================================================================
   WHY US / MATRIX COMPARISON
   ========================================================================== */

.comparison-table-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
}

.matrix-table th, .matrix-table td {
  padding: 1.4rem 1.75rem;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}

.matrix-table th {
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.matrix-table th.moma-col {
  background: rgba(56, 189, 248, 0.08);
  color: var(--accent-cyan);
  border-left: 1px solid rgba(56, 189, 248, 0.3);
  border-right: 1px solid rgba(56, 189, 248, 0.3);
}

.matrix-table td.moma-col {
  background: rgba(56, 189, 248, 0.04);
  font-weight: 700;
  color: #fff;
  border-left: 1px solid rgba(56, 189, 248, 0.2);
  border-right: 1px solid rgba(56, 189, 248, 0.2);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-list {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(56, 189, 248, 0.4);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent-cyan);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding: 0 1.75rem 1.5rem;
  max-height: 300px;
}

/* ==========================================================================
   MODAL DIALOGS
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.88);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #0d0f17;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 28px;
  width: 100%;
  max-width: 600px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}

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

.site-footer {
  background: #040507;
  border-top: 1px solid var(--card-border);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.4));
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 1.2rem;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS & MOBILE OPTIMIZATIONS
   ========================================================================== */

/* Mobile Navigation Overlay Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 8, 14, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(2rem + env(safe-area-inset-top)) 2rem calc(2.5rem + env(safe-area-inset-bottom));
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.25rem;
}

.mobile-drawer-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.mobile-drawer-link {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.mobile-drawer-link:hover, .mobile-drawer-link:active {
  color: var(--accent-cyan);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Tablet Breakpoint (max-width: 1024px) */
@media (max-width: 1024px) {
  .global-network-wrapper {
    grid-template-columns: 1fr;
  }
  .calculator-wrapper {
    grid-template-columns: 1fr;
  }
  .calc-summary-panel {
    position: static;
  }
  .booking-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile Breakpoint (max-width: 768px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  body {
    -webkit-tap-highlight-color: transparent;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .site-header {
    padding: 0.6rem 0;
  }

  .brand-logo-img {
    height: 52px;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-primary);
  }

  .nav-actions .btn-primary {
    display: none; /* In header on mobile; accessible in mobile drawer & hero */
  }

  /* Hero Mobile */
  .hero-section {
    padding-top: calc(5.5rem + env(safe-area-inset-top));
    padding-bottom: 3rem;
    min-height: auto;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .badge-pill {
    font-size: 0.78rem;
    padding: 0.4rem 0.9rem;
    margin-bottom: 1.2rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8.5vw, 2.7rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
    padding: 0.95rem 1.5rem;
    font-size: 1rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 2.5rem;
  }

  .metric-item {
    padding: 0.9rem 0.75rem;
  }

  .metric-value {
    font-size: 1.65rem;
  }

  .metric-label {
    font-size: 0.75rem;
  }

  /* Section Padding */
  .section-padding {
    padding: 4.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  /* Mittelstand Grid Mobile */
  .business-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .business-card {
    padding: 1.6rem;
  }

  .praxis-cases-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
  }

  /* Services Grid Mobile */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Quantum Torus Knot Banner Mobile */
  div[style*="grid-template-columns: 1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
    padding: 1.6rem !important;
    gap: 1.5rem !important;
  }

  /* Showcase Grid Mobile */
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-filter-tabs {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .filter-pill {
    white-space: nowrap;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
  }

  /* Before / After Comparison Slider Mobile */
  .comparison-container {
    padding: 1.5rem 1rem;
    margin-top: 3rem;
  }

  .comparison-box {
    height: 280px;
  }

  /* Calculator Mobile */
  .calc-options-panel {
    padding: 1.5rem;
  }

  .options-grid-types {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .option-type-card {
    padding: 1rem 0.75rem;
  }

  .option-name {
    font-size: 0.88rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .calc-summary-panel {
    padding: 1.5rem;
  }

  .price-total-amount {
    font-size: 2.2rem;
  }

  /* Booking Mobile */
  .booking-card-wrapper {
    padding: 1.5rem 1.2rem;
  }

  .calendar-widget {
    padding: 1.25rem;
  }

  .calendar-days-grid {
    gap: 4px;
  }

  .calendar-day-btn {
    height: 38px;
    font-size: 0.85rem;
  }

  .time-slots-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .form-group[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .form-input, .form-select, .form-textarea {
    font-size: 16px; /* Prevents iOS Safari auto-zoom on input focus */
    padding: 0.85rem 1rem;
  }

  /* Comparison Matrix Table Mobile */
  .comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
  }

  .matrix-table th, .matrix-table td {
    padding: 0.9rem 0.85rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  /* FAQ Mobile */
  .faq-question {
    padding: 1.2rem;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 1.2rem 1.2rem;
    font-size: 0.88rem;
  }

  /* Footer Mobile */
  .site-footer {
    padding-top: 3.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Hide Desktop Custom Cursor & Controls on Touch Devices */
  #custom-cursor, #cursor-trail-canvas, .earth-control-hint {
    display: none !important;
  }

  /* Modals Mobile */
  .modal-box {
    padding: 1.5rem;
    max-height: 88vh;
    overflow-y: auto;
    width: 95%;
  }

  #demo-preview-frame {
    height: 340px !important;
  }
}

/* Extra Small Phones (max-width: 380px) */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .options-grid-types {
    grid-template-columns: 1fr;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

