/* ======================================================
   KIRVX GLOBAL SPHERE — COMPACT, PREMIUM VERSION
====================================================== */

.kirvx-global-sphere {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 6%;
  background: #05070a;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

/* ===========================
   LEFT TEXT + SHAPE WRAP
=========================== */

.sphere-left {
  flex: 0 0 46%;
  max-width: 550px;
  position: relative;
}

/* Wrap-Shape für kugelförmig eingeschnittenen Text */
.shape-circle {
  float: right;
  width: 280px;
  height: 280px;
  shape-outside: circle(50%);
  shape-margin: 16px;
  border-radius: 50%;
  pointer-events: none;
}

/* Headline */
.sphere-left h2 {
  font-size: 52px;
  font-weight: 600;
  color: #47F138;
  line-height: 1.05;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

/* Body text */
.sphere-left p {
  font-size: 18px;
  color: #e5e5e5;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 520px;
}

/* ===========================
   RIGHT SPHERE
=========================== */

.sphere-right {
  flex: unset;                   /* erlaubt volle Breite */
  width: auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

  overflow: visible !important;  /* wichtig! */     /* verhindert seitliches clipping */
}

#kirvxSphere {
  overflow: visible !important; /* Canvas darf nicht maskiert werden */
}
/* Sphere Canvas */
#kirvxSphere {
  width: 820px;
  height: 820px;
  border-radius: 50%;
  display: block;
  filter: drop-shadow(0 0 35px rgba(71,241,56,0.35));
  transition: 0.3s ease;
}

#kirvxSphere:hover {
  filter: drop-shadow(0 0 55px rgba(71,241,56,0.6));
  transform: scale(1.01);
}

/* ===========================
   OPTIONAL: Hintergrund (Van Gogh)
=========================== */

.kirvx-global-sphere.bg-van {
  background: url('/assets/images/van.jpeg') center/cover no-repeat;
}

.kirvx-global-sphere.bg-van::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 10, 0.68);
  backdrop-filter: blur(2px);
  z-index: 0;
}

.kirvx-global-sphere.bg-van .sphere-left,
.kirvx-global-sphere.bg-van .sphere-right {
  position: relative;
  z-index: 2;
}

/* ============================================
   ≤ 1200px — Tablet Landscape
============================================ */
@media(max-width: 1200px) {

  .shape-circle {
    width: 220px;
    height: 220px;
  }

  .sphere-right {
    overflow: visible !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #kirvxSphere {
    width: 560px;
    height: 560px;
    margin: 0 auto;
    overflow: visible !important;
  }
}

/* ============================================
   ≤ 900px — Tablet Portrait
============================================ */
@media(max-width: 900px) {

  .kirvx-global-sphere {
    flex-direction: column;
    padding: 80px 4%;
    text-align: center;
    gap: 40px;
    overflow: visible !important;
  }

  .shape-circle {
    display: none;
  }

  .sphere-left {
    flex: unset;
    max-width: 100%;
    text-align: center;
  }

  .sphere-right {
    flex: unset;
    width: 100%;
    overflow: visible !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #kirvxSphere {
    width: 360px;
    height: 360px;
    margin: 0 auto;
  }
}

/* ============================================
   ≤ 600px — MOBILE — SPHERE AUSBLENDEN
============================================ */
@media(max-width: 600px) {

  .kirvx-global-sphere {
    padding: 60px 4%;
  }

  /* Sphere komplett weg */
  .sphere-right,
  #kirvxSphere {
    display: none !important;
  }

  /* Text mobile optimiert */
  .sphere-left h2 {
    font-size: 38px;
    text-align: center;
  }

  .sphere-left p {
    font-size: 16px;
    text-align: center;
  }
}
