/* ============================================================
   Sovaro Desk — Produktseite
   Ergänzt style.css (Design-Tokens, Header, .service-card usw.
   werden von dort übernommen). Nur produktspezifische Bausteine
   hier, damit sich Sovaro-weite Änderungen an style.css automatisch
   auf diese Seite übertragen.
   ============================================================ */

/* ---------- Intro: Logo-Reveal beim Öffnen der Produktseite ---------- */
#intro {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  overflow: hidden;
}
#intro::before {
  content: ''; position: absolute; inset: -20%;
  background: radial-gradient(ellipse at 50% 50%, #28351b88, transparent 55%);
  animation: intro-glow 3.4s ease-in-out infinite;
}
#intro .rings { position: absolute; inset: 0; display: grid; place-items: center; opacity: .55; }
#intro .rings svg { width: min(78vw, 640px); height: min(78vw, 640px); overflow: visible; }
#intro .ring { fill: none; stroke: #6f9a4a55; stroke-width: 1; stroke-dasharray: 3 11; transform-origin: 250px 250px; animation: orbit 26s linear infinite; }
#intro .ring.b { stroke: #9fc46a55; stroke-dasharray: none; animation-duration: 16s; animation-direction: reverse; }
#intro .pulse { fill: var(--accent); filter: drop-shadow(0 0 8px #c9f76c); }

/* ---------- Boom: Schockwelle + Partikel beim Logo-Reveal ---------- */
#intro .boom { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 1; }
#intro .flash {
  position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: radial-gradient(circle, #f3ffd9 0%, #c9f76c 40%, transparent 72%);
  opacity: 0; filter: blur(.5px);
  animation: flash-pop .55s cubic-bezier(.1,.8,.3,1) .12s forwards;
}
#intro .shock {
  position: absolute; left: 0; top: 0; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
  border: 1.5px solid var(--accent); opacity: 0;
  animation: shock-out 1.15s cubic-bezier(.15,.7,.25,1) .14s forwards;
}
#intro .shock-b { border-color: #76f3da; animation-delay: .22s; animation-duration: 1.35s; }
#intro .p {
  position: absolute; left: 0; top: 0; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 7px 1px #c9f76c99;
  opacity: 0; transform: rotate(var(--a)) translateX(0) scale(1);
  animation: particle-fly 1.05s cubic-bezier(.12,.65,.25,1) .13s forwards;
}
#intro .p.c { background: #76f3da; box-shadow: 0 0 7px 1px #76f3da99; }
@keyframes flash-pop { 0% { transform: scale(0); opacity: 0; } 18% { transform: scale(1); opacity: 1; } 100% { transform: scale(11); opacity: 0; } }
@keyframes shock-out { 0% { transform: scale(0); opacity: .95; } 55% { opacity: .3; } 100% { transform: scale(24); opacity: 0; border-width: .5px; } }
@keyframes particle-fly {
  0% { opacity: 0; transform: rotate(var(--a)) translateX(0) scale(.4); }
  10% { opacity: 1; }
  65% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a)) translateX(var(--d)) scale(.2); }
}
@media (prefers-reduced-motion: reduce) {
  #intro .boom { display: none; }
}

#intro .wordmark {
  position: relative; z-index: 2; text-align: center;
  font-family: 'Space Grotesk', sans-serif; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
#intro .wordmark b {
  font-size: clamp(46px, 9vw, 108px); font-weight: 600; letter-spacing: -5px; line-height: 1;
  opacity: 0; filter: blur(10px); transform: translateY(24px);
  animation: intro-in 1s cubic-bezier(.2,.7,.2,1) .15s forwards;
}
#intro .wordmark b span { color: var(--accent); }
#intro .wordmark em {
  font-style: normal; font-family: 'DM Sans', sans-serif; font-size: 13px;
  letter-spacing: 4px; color: #9ca6b6; text-transform: uppercase;
  opacity: 0; animation: intro-in .9s ease .55s forwards;
}
#intro .bar { position: relative; z-index: 2; width: 220px; height: 2px; background: #2a3128; border-radius: 2px; margin-top: 34px; overflow: hidden; opacity: 0; animation: intro-in .6s ease .8s forwards; }
#intro .bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), #76f3da); transform-origin: left; animation: intro-load 2.6s cubic-bezier(.5,0,.2,1) 1s forwards; }

#intro.leaving { animation: intro-out .85s cubic-bezier(.6,0,.2,1) forwards; pointer-events: none; }
#intro.gone { display: none; }
body.intro-active { overflow: hidden; height: 100vh; }

@keyframes intro-in { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes intro-load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes intro-glow { 50% { opacity: .6; transform: scale(1.08); } }
@keyframes intro-out { to { opacity: 0; transform: scale(1.04); filter: blur(6px); } }

@media (prefers-reduced-motion: reduce) {
  #intro, #intro .wordmark b, #intro .wordmark em, #intro .bar { animation: none !important; opacity: 1 !important; filter: none !important; transform: none !important; }
}

/* ---------- Produkt-Hero ---------- */
.desk-hero { border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #0b1016, #0d151b 55%, #080a0f); }
.desk-hero .eyebrow { color: var(--accent); }
.desk-badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #38464b; background: #10151b; border-radius: 30px; padding: 9px 18px 9px 10px; font-size: 13px; color: #c7d0d9; margin-top: 28px; }
.desk-badge b { background: var(--accent); color: #10160a; font-family: 'Space Grotesk', sans-serif; font-weight: 600; border-radius: 20px; padding: 4px 12px; font-size: 12px; }
.desk-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 6%; align-items: center; margin-top: 40px; }
.desk-hero h1 { white-space: normal; font-size: clamp(46px,5.4vw,84px); }
.desk-hero .intro { max-width: 480px; }
.desk-cta-row { display: flex; align-items: center; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.desk-shot { position: relative; border-radius: 20px; border: 1px solid #3c524933; overflow: hidden; box-shadow: 0 30px 70px #0007, inset 0 1px 0 #c9f76c22; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .6s; }
.desk-shot:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(0); }
.desk-shot img { display: block; width: 100%; }

/* ---------- Kennzahlen-Leiste ---------- */
.desk-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; margin-top: 60px; }
.desk-stats div { background: #0e1118; padding: 26px 22px; }
.desk-stats strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 34px; letter-spacing: -1.5px; color: var(--accent); }
.desk-stats span { font-size: 13px; color: var(--muted); }

/* ---------- Feature-Kapitel: Bild + Text abwechselnd ---------- */
.desk-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: center; padding: 70px 0; border-top: 1px solid var(--border); }
.desk-feature:nth-child(even) .desk-feature-media { order: 2; }
.desk-feature-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 2px; color: var(--accent); margin-bottom: 20px; }
.desk-feature h3 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(28px,3vw,42px); letter-spacing: -1.4px; margin: 0 0 16px; }
.desk-feature p { font-size: 16px; line-height: 1.8; color: #a4afbc; max-width: 480px; }
.desk-feature ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; max-width: 480px; }
.desk-feature li { display: flex; gap: 12px; font-size: 15px; color: #c5cad3; line-height: 1.6; }
.desk-feature li::before { content: '✳'; color: var(--accent); flex-shrink: 0; }
.desk-feature-media { border-radius: 18px; overflow: hidden; border: 1px solid #3c524933; box-shadow: 0 25px 60px #0006; }
.desk-feature-media img { display: block; width: 100%; }

/* ---------- Modul-Baukasten ---------- */
.modul-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 14px; margin-top: 44px; }
.modul-card { border: 1px solid #3c524933; background: linear-gradient(135deg,#172029aa,#0b1118); border-radius: 16px; padding: 24px; transition: background .3s, transform .3s; }
.modul-card:hover { background: linear-gradient(135deg,#202e2d,#101922); transform: translateY(-3px); }
.modul-card b { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 18px; margin-bottom: 8px; }
.modul-card span { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.modul-card i { display: inline-flex; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg,#a6cf6b16,#080d13); border: 1px solid #acdc6444; margin-bottom: 14px; align-items: center; justify-content: center; color: var(--accent); font-style: normal; font-size: 16px; }
.modul-card.plus { border-style: dashed; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--muted); }

/* ---------- Aria-Showcase ---------- */
.aria-panel { background: #0d1218; border: 1px solid var(--border); border-radius: 20px; padding: 8px; margin-top: 40px; }
.aria-chat { display: grid; gap: 10px; padding: 26px; }
.aria-msg { max-width: 78%; padding: 13px 17px; border-radius: 14px; font-size: 14.5px; line-height: 1.6; }
.aria-msg.me { justify-self: end; background: var(--accent); color: #10160a; border-radius: 14px 4px 14px 14px; }
.aria-msg.aria { justify-self: start; background: #171d24; border: 1px solid var(--border); color: #d6dce4; border-radius: 4px 14px 14px 14px; }

/* ---------- Pakete / Preise ---------- */
.pakete-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; }
.paket-card { border: 1px solid var(--border); border-radius: 20px; padding: 34px; background: #0e1118; position: relative; }
.paket-card.pro { border-color: #809e4f88; background: linear-gradient(160deg,#151d0f,#0d1218 60%); box-shadow: 0 0 0 1px #c9f76c22, 0 30px 60px #0006; }
.paket-card .tag { position: absolute; top: -13px; right: 28px; background: var(--accent); color: #10160a; font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 20px; }
.paket-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 30px; letter-spacing: -1px; margin: 0 0 6px; }
.paket-card p.lead { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.paket-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.paket-card li { display: flex; gap: 10px; font-size: 14.5px; color: #c5cad3; }
.paket-card li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.paket-card li.off { color: #626a76; }
.paket-card li.off::before { content: '–'; color: #4a515c; }

/* ---------- Technologie-Grid (wie service-grid, drei Spalten) ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 44px; }
@media (max-width: 1000px) { .desk-hero-grid, .desk-feature { grid-template-columns: 1fr; } .desk-feature-media, .desk-feature:nth-child(even) .desk-feature-media { order: -1; } .desk-stats { grid-template-columns: repeat(2,1fr); } .tech-grid, .pakete-grid, .modul-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky Sub-Nav der Produktseite ---------- */
.desk-subnav { position: sticky; top: 96px; z-index: 8; display: flex; gap: 26px; padding: 16px 5%; background: #0a0c11ee; backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); font-size: 13.5px; overflow-x: auto; }
.desk-subnav a { color: #9299a7; white-space: nowrap; }
.desk-subnav a:hover { color: var(--accent); }
@media (max-width: 700px) { .desk-subnav { top: 80px; } }
