/* web.css — Webdesign & SEO (seiten­spezifisch)
   Gemeinsame Bausteine (bg-marquee, footer-links, Basis-Reset,
   isometric-grid-Basis) liegen in shared.css und werden vorher geladen. */

html, body { overscroll-behavior: none; }
body {
  width: 100vw; height: 100vh;
  background-color: #000000;
  overflow: hidden;
  perspective: 1200px;
  display: flex; justify-content: center; align-items: center;
}

/* isometric-grid: web nutzt volle Deckkraft (Override der shared-Basis) */
.isometric-grid {
  opacity: 1;
  box-shadow: inset 0 0 200px rgb(0, 0, 0);
}

/* ---------- Linke Text-Spalte: Headline + Verkaufsargumente ---------- */
.hero-block {
  position: absolute;
  top: 12%; left: 7%;
  z-index: 10;
  pointer-events: none;
  max-width: 46vw;
  transform: translateZ(100px);
}
.hero-text h1 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 5.6vw, 5.2rem);
  line-height: .98; letter-spacing: -.025em; font-weight: 900;
  background: linear-gradient(90deg, #00ffff, #ff00ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text p {
  margin: 0;
  font-size: clamp(.75rem, 1.05vw, 1rem);
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(190, 230, 255, .58); font-weight: 600;
}

/* ---------- Kompaktes Pitch-Feld (max 3 gleichzeitig) ---------- */
.pitch-stack {
  margin-top: 44px;
  width: 32vw;
  padding-left: 90px;
  padding-top: 70px;
  min-width: 260px;
  max-width: 420px;
  height: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
}
.pitch-item {
  position: relative;
  padding-left: 16px;
  flex: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1),
              transform .8s cubic-bezier(.22,1,.36,1);
}
.pitch-item.show { opacity: 1; transform: translateY(0); }
.pitch-item.fade { opacity: 0; transform: translateY(-8px); }
.pitch-item::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, #00ffff, #ff00ff);
  box-shadow: 0 0 10px rgba(0, 200, 255, .55);
}
.pitch-tag {
  display: block;
  margin-bottom: 5px;
  font-size: clamp(.58rem, .72vw, .7rem);
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #00ffff, #ff00ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pitch-line {
  display: block;
  font-size: clamp(.82rem, 1.1vw, 1.02rem);
  line-height: 1.34;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: rgba(220, 240, 255, .9);
  text-shadow: 0 0 22px rgba(0, 180, 255, .22);
}

/* ---------- SEO-HUD ---------- */
.seo-hud {
  position: fixed;
  right: 34px; bottom: 34px;
  width: 262px;
  padding: 17px 19px 15px;
  border-radius: 18px;
  z-index: 9;
  color: #dff2ff;
  background: linear-gradient(150deg,
    rgba(255, 255, 255, 0.11) 0%,
    rgba(0, 170, 255, 0.06) 100%);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(160, 225, 255, 0.22);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .2);
  opacity: 0; transform: translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
}
.seo-hud.show { opacity: 1; transform: translateY(0); }
.seo-hud h4 {
  margin: 0 0 15px;
  font-size: .6rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: #7fe9ff;
}
.seo-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 11px; font-size: .68rem;
}
.seo-row:last-child { margin-bottom: 0; }
.seo-row > span {
  width: 84px; flex: none;
  color: rgba(200, 225, 255, .62); letter-spacing: .05em;
}
.seo-track {
  flex: 1; height: 5px; border-radius: 99px;
  background: rgba(255, 255, 255, .10); overflow: hidden;
}
.seo-track i {
  display: block; height: 100%; width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, #00ffff, #ff00ff);
  box-shadow: 0 0 10px rgba(0, 220, 255, .7);
  transition: width .65s cubic-bezier(.22, 1, .36, 1);
}
.seo-row b {
  width: 26px; flex: none; text-align: right;
  font-size: .7rem; font-weight: 700; color: #b9f0ff;
}

#robot-canvas {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  pointer-events: none; z-index: 5;
}

/* ---------- Mobile: Headline oben, Animation Mitte, Pitch unten ---------- */
@media (max-width: 900px) {
  /* transform:none wichtig, sonst wuerde position:fixed am Pitch
     sich am hero-block (oben) statt am Viewport (unten) orientieren */
  .hero-block { top: 3%; left: 6%; max-width: 88vw; transform: none; }
  .hero-text h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .pitch-stack {
    position: fixed; top: auto; bottom: 18px;
    left: 5%; right: 5%; width: auto; max-width: none;
    height: 188px; margin-top: 0;
    padding-left: 22px; padding-top: 10px; gap: 8px;
  }
  .pitch-line { font-size: .88rem; }
  /* SEO-HUD ist Desktop-Zusatzinfo; auf Mobile Platz fuer Pitch lassen */
  .seo-hud { display: none; }
}