/* =====================================================================
   GLOBALIST LEISTUNGEN — Tabbed Showcase (alt5-style, single-column)
   Visual parity with the homepage `.alt5-wrap` tabs (sys-products),
   adapted for leistung pages: no SVG visual side, variable tab counts,
   responsive at 1199 / 991 / 767 / 480.
   ===================================================================== */

.lstg-tabs-section{
  position: relative;
  overflow: hidden;
  --hair: rgba(255,255,255,.06);
  padding: clamp(64px, 8vw, 120px) 0;
}
.lstg-tabs-section::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 40% at 80% 20%, rgba(0,237,179,.07), transparent 55%),
    radial-gradient(ellipse 60% 40% at 15% 85%, rgba(0,237,179,.05), transparent 55%);
}
.lstg-tabs-section > *{ position: relative; z-index: 1; }

.lstg-intro{
  max-width: 880px;
  margin: 0 auto clamp(28px, 4vw, 48px);
  text-align: center;
  padding: 0 24px;
}
.lstg-intro .eyebrow{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--primary, #00edb3);
  margin-bottom: 18px;
  text-shadow: 0 0 18px rgba(0,237,179,.3);
}
.lstg-intro h2{
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.05;
  color: #fff;
  text-transform: none !important;
  margin: 0;
  text-wrap: balance;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}
.lstg-intro p{
  margin: 18px auto 0;
  color: rgba(224,231,229,.78);
  font-size: 16px;
  line-height: 1.6;
  max-width: 680px;
}

/* ——— Tabbed wrapper ——— */
.lstg-tabs{
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(155deg, var(--card, #051a15) 0%, var(--bg, #020c09) 100%);
  border: 1px solid rgba(0,237,179,.18);
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 460px;
  box-shadow: 0 40px 120px -40px rgba(0,237,179,.25);
  max-width: 1180px;
  margin: 0 auto;
}

.lstg-tabs .alt5-tabs{
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--hair);
  background: linear-gradient(180deg, rgba(2,12,9,.4), rgba(2,12,9,0));
}
.lstg-tabs .alt5-tab{
  padding: 22px 22px;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  color: #fff;
  position: relative;
  transition: background .25s cubic-bezier(0.16,1,0.3,1),
              border-color .25s cubic-bezier(0.16,1,0.3,1);
  font-family: inherit;
  width: 100%;
}
.lstg-tabs .alt5-tab:last-child{ border-bottom: none; }
.lstg-tabs .alt5-tab:hover{ background: rgba(0,237,179,.04); }
.lstg-tabs .alt5-tab.is-active{ background: rgba(0,237,179,.08); }
.lstg-tabs .alt5-tab.is-active::before{
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary, #00edb3);
  box-shadow: 0 0 18px rgba(0,237,179,.7);
}
.lstg-tabs .alt5-t-n{
  font-family: 'IBM Plex Mono', 'SF Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--primary, #00edb3);
  letter-spacing: .24em;
  font-variant-numeric: tabular-nums;
}
.lstg-tabs .alt5-t-l{
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.012em;
  line-height: 1.25;
  margin: 0;
  text-transform: none;
}
.lstg-tabs .alt5-tab.is-active .alt5-t-l{
  text-shadow: 0 0 20px rgba(0,237,179,.25);
}

/* ——— Panels (single column, no SVG visual) ——— */
.lstg-tabs .alt5-panels{ position: relative; }
.lstg-tabs .alt5-panel{
  display: none;
  padding: clamp(28px, 3.5vw, 56px);
  height: 100%;
  align-items: center;
}
.lstg-tabs .alt5-panel.is-active{
  display: flex;
  animation: lstgPanelIn .55s cubic-bezier(0.16,1,0.3,1);
}
@keyframes lstgPanelIn{
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lstg-tabs .alt5-panel-body{
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 640px;
}
.lstg-tabs .alt5-panel-body h3{
  font-family: 'Inter', sans-serif;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.025em;
  line-height: 1.12;
  text-transform: none !important;
  margin: 0;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  text-wrap: balance;
}
.lstg-tabs .alt5-panel-body h3 strong{ font-weight: inherit; }
.lstg-tabs .alt5-panel-body p{
  font-size: 15px;
  color: rgba(224,231,229,.82);
  line-height: 1.65;
  margin: 0;
  max-width: 56ch;
}

.lstg-tabs .lstg-actions{
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.lstg-tabs .lstg-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
  text-decoration: none;
  transition: all .35s cubic-bezier(0.16,1,0.3,1);
}
.lstg-tabs .lstg-btn--primary{
  background: var(--primary, #00edb3);
  color: #011d17;
  box-shadow: 0 12px 32px -10px rgba(0,237,179,.5);
}
.lstg-tabs .lstg-btn--primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0,237,179,.55), 0 18px 44px -8px rgba(0,237,179,.6);
  color: #011d17;
}
.lstg-tabs .lstg-btn--ghost{
  background: rgba(255,255,255,.04);
  color: #fff;
  border: 1px solid rgba(0,237,179,.28);
}
.lstg-tabs .lstg-btn--ghost:hover{
  background: rgba(0,237,179,.1);
  border-color: rgba(0,237,179,.55);
  transform: translateY(-2px);
  color: #fff;
}

/* ——— 1199 (tablet landscape) ——— */
@media (max-width: 1199px){
  .lstg-tabs{ grid-template-columns: 280px 1fr; }
  .lstg-tabs .alt5-tab{ padding: 20px 20px; }
  .lstg-tabs .alt5-t-l{ font-size: 14.5px; }
}

/* ——— 991 (tablet portrait) — collapse to stacked layout ——— */
@media (max-width: 991px){
  .lstg-tabs{
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .lstg-tabs .alt5-tabs{
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    border-right: none;
    border-bottom: 1px solid var(--hair);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .lstg-tabs .alt5-tabs::-webkit-scrollbar{ height: 0; }
  .lstg-tabs .alt5-tab{
    min-width: 220px;
    flex-shrink: 0;
    border-bottom: none;
    border-right: 1px solid var(--hair);
    padding: 18px 18px;
    scroll-snap-align: start;
    width: auto;
  }
  .lstg-tabs .alt5-tab:last-child{ border-right: none; }
  .lstg-tabs .alt5-tab.is-active::before{
    top: auto; bottom: 0; left: 0; right: 0;
    width: 100%; height: 3px;
  }
  .lstg-tabs .alt5-panel{
    padding: 36px 32px;
  }
}

/* ——— 767 (mobile) ——— */
@media (max-width: 767px){
  .lstg-tabs-section{ padding: clamp(48px, 12vw, 72px) 0; }
  .lstg-tabs{ border-radius: 20px; }
  .lstg-tabs .alt5-tab{
    min-width: 200px;
    padding: 16px 16px;
  }
  .lstg-tabs .alt5-t-l{ font-size: 14px; }
  .lstg-tabs .alt5-panel{
    padding: 28px 22px;
  }
  .lstg-tabs .alt5-panel-body{ gap: 14px; }
  .lstg-tabs .alt5-panel-body h3{ font-size: clamp(22px, 6vw, 26px); }
  .lstg-tabs .alt5-panel-body p{ font-size: 14.5px; }
  .lstg-tabs .lstg-actions{ width: 100%; }
  .lstg-tabs .lstg-btn{
    padding: 12px 18px;
    font-size: 12.5px;
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* ——— 480 (small mobile) ——— */
@media (max-width: 480px){
  .lstg-tabs{ border-radius: 16px; }
  .lstg-tabs .alt5-tab{
    min-width: 180px;
    padding: 14px 14px;
  }
  .lstg-tabs .alt5-t-n{ font-size: 10px; }
  .lstg-tabs .alt5-t-l{ font-size: 13.5px; }
  .lstg-tabs .alt5-panel{
    padding: 24px 18px;
  }
  .lstg-tabs .alt5-panel-body p{ font-size: 14px; }
  .lstg-tabs .lstg-btn{
    width: 100%;
    flex: 1 1 100%;
  }
}

/* ——— Touch / reduced-motion ——— */
@media (hover: none){
  .lstg-tabs .alt5-tab:hover{ background: transparent; }
  .lstg-tabs .alt5-tab.is-active{ background: rgba(0,237,179,.08); }
  .lstg-tabs .lstg-btn--primary:hover,
  .lstg-tabs .lstg-btn--ghost:hover{ transform: none; }
}
@media (prefers-reduced-motion: reduce){
  .lstg-tabs .alt5-panel.is-active{ animation: none !important; }
  .lstg-tabs .lstg-btn{ transition: none !important; }
}
