/* ═══════════════════════════════════════════════
   Easy UC – Shared Stylesheet
   ═══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  /* Backgrounds */
  --bg:    #07090f;
  --bg2:   #0b0f1a;
  --bg3:   #111828;
  --bg4:   #18202e;

  /* Borders */
  --border:  rgba(255,255,255,.06);
  --border2: rgba(255,255,255,.1);

  /* Text */
  --text:  #f0f4ff;
  --text2: #8899bb;
  --text3: #44536e;

  /* Radius */
  --r: 14px;
  --rs: 8px;

  /* Teams (Microsoft) */
  --t1: #7b5ea7;
  --t2: #00c3ff;
  --t3: #a78bfa;

  /* Cisco */
  --c1: #049fd9;
  --c2: #00bceb;
  --c3: #004d73;

  /* Accents */
  --green:  #00e676;
  --orange: #ff9800;
  --red:    #ff5252;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ─────────────── NAV ─────────────── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 64px; display: flex; align-items: center; padding: 0 48px;
  background: rgba(7,9,15,.9); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.05rem; font-weight: 800; letter-spacing: -.3px;
}
.nav-logo-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, #7b5ea7, #049fd9);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 900; color: #fff;
}
.nav-logo-img {
  height: 32px; width: auto; display: block;
}

/* Hamburger-Toggle: standardmäßig verborgen, nur Mobile aktiv */
.nav-toggle {
  display: none;
  background: transparent; border: none;
  width: 40px; height: 40px;
  cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  margin-left: auto;
  border-radius: 8px;
  transition: background .15s;
}
.nav-toggle:hover { background: var(--bg3); }
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
  transform-origin: center;
}
/* X-Animation wenn geöffnet */
nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-logo-text {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -.6px;
  background: linear-gradient(135deg, #7b5ea7 0%, #049fd9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
@media (max-width: 600px) {
  .nav-logo-img  { height: 26px; }
  .nav-logo-text { font-size: 1rem; }
}
.nav-links {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin-left: 32px;
}
.nav-links a {
  padding: 6px 14px; border-radius: var(--rs);
  font-size: .85rem; font-weight: 500; color: var(--text2);
  transition: all .2s;
}
.nav-links a:hover { color: var(--text); background: var(--border); }
.nav-links a.active { color: var(--text); font-weight: 600; }
.nav-teams { color: var(--t3) !important; }
.nav-teams:hover { background: rgba(123,94,167,.12) !important; }
.nav-teams.active { background: rgba(123,94,167,.14) !important; }
.nav-cisco { color: var(--c2) !important; }
.nav-cisco:hover { background: rgba(4,159,217,.1) !important; }
.nav-cisco.active { background: rgba(4,159,217,.12) !important; }
.nav-spacer { flex: 1; }
.nav-cta {
  padding: 8px 18px; border-radius: var(--r);
  font-size: .83rem; font-weight: 700;
  background: var(--text); color: var(--bg);
  transition: opacity .2s;
}
.nav-cta:hover { opacity: .85; }

/* Language Switcher */
.lang-switch { position: relative; margin-right: 10px; }
.lang-current {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: var(--rs);
  background: var(--bg3); border: 1px solid var(--border2);
  color: var(--text2); font-size: .8rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.lang-current:hover { background: var(--bg4); color: var(--text); border-color: var(--border); }
.lang-current .lang-flag { font-size: .95rem; line-height: 1; }
.lang-current .lang-caret { font-size: .68rem; opacity: .6; transition: transform .2s; }
.lang-switch.open .lang-current .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--rs); padding: 4px; min-width: 160px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  display: none; z-index: 600;
}
.lang-switch.open .lang-menu { display: block; }
.lang-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 6px;
  font-size: .85rem; color: var(--text2); transition: all .15s;
  cursor: pointer;
}
.lang-item:hover { background: var(--bg3); color: var(--text); }
.lang-item.active { background: var(--bg4); color: var(--text); font-weight: 600; }
.lang-item .lang-flag { font-size: 1.05rem; line-height: 1; }
.lang-item .lang-tick { margin-left: auto; color: var(--green); font-size: .85rem; }

/* Page content offset for fixed nav */
main { padding-top: 64px; }

/* ─────────────── COMMON: SECTIONS ─────────────── */
.section { padding: 96px 24px; }
.section-alt { background: var(--bg2); }
.container { max-width: 1180px; margin: 0 auto; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .68rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 14px;
}
.section-label::before {
  content: ''; display: block;
  width: 18px; height: 2px; border-radius: 1px;
}
.lbl-t { color: var(--t2); } .lbl-t::before { background: var(--t2); }
.lbl-c { color: var(--c1); } .lbl-c::before { background: var(--c1); }
.lbl-n { color: var(--text2); } .lbl-n::before { background: var(--text2); }

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 800; letter-spacing: -.5px; line-height: 1.12;
  margin-bottom: 14px;
}
.section-sub {
  font-size: .98rem; color: var(--text2);
  line-height: 1.8; max-width: 540px;
}
.sec-head { margin-bottom: 52px; }
.sec-head.center { text-align: center; }
.sec-head.center .section-sub { margin: 0 auto; }

/* ─────────────── BUTTONS ─────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r);
  font-size: .88rem; font-weight: 700; border: none;
  transition: all .25s; cursor: pointer; text-decoration: none;
}
.btn-t {
  background: linear-gradient(135deg, var(--t1), var(--t2));
  color: #fff; box-shadow: 0 4px 24px rgba(123,94,167,.25);
}
.btn-t:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(123,94,167,.38); }
.btn-c {
  background: linear-gradient(135deg, var(--c1), var(--c3));
  color: #fff; box-shadow: 0 4px 24px rgba(4,159,217,.25);
}
.btn-c:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(4,159,217,.38); }
.btn-ghost {
  background: var(--bg3); border: 1px solid var(--border2); color: var(--text2);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border); }
.btn-outline-t {
  background: rgba(0,195,255,.06); border: 1px solid rgba(0,195,255,.3); color: var(--t2);
}
.btn-outline-t:hover { background: rgba(0,195,255,.14); }
.btn-outline-c {
  background: rgba(4,159,217,.06); border: 1px solid rgba(4,159,217,.3); color: var(--c1);
}
.btn-outline-c:hover { background: rgba(4,159,217,.14); }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─────────────── HERO SLIDER (HOME) ─────────────── */
.slider {
  position: relative; overflow: hidden;
  height: calc(100vh - 64px); min-height: 600px;
  background: var(--bg);
}
.slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center; padding: 0 24px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
  pointer-events: none;
}
.slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.slide-bg-t {
  background:
    radial-gradient(ellipse 70% 50% at 30% 60%, rgba(123,94,167,.12), transparent),
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(0,195,255,.08), transparent);
}
.slide-bg-c {
  background:
    radial-gradient(ellipse 70% 50% at 30% 60%, rgba(4,159,217,.13), transparent),
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(0,77,115,.1), transparent);
}
.slide-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}
.slide-content { position: relative; z-index: 1; max-width: 820px; }
.slide-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid; border-radius: 40px; padding: 6px 16px;
  font-size: .72rem; font-weight: 600; letter-spacing: .6px;
  text-transform: uppercase; margin-bottom: 32px;
}
.slide-eyebrow.t { color: var(--t3); border-color: rgba(123,94,167,.3); background: rgba(123,94,167,.05); }
.slide-eyebrow.c { color: var(--c2); border-color: rgba(4,159,217,.3); background: rgba(4,159,217,.05); }
.slide-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  animation: pulse 2s infinite;
}
.slide-eyebrow.t .slide-eyebrow-dot { background: var(--t2); box-shadow: 0 0 8px var(--t2); }
.slide-eyebrow.c .slide-eyebrow-dot { background: var(--c2); box-shadow: 0 0 8px var(--c2); }
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .5; transform: scale(1.5); }
}
.slide h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900; letter-spacing: -1.8px; line-height: 1.05;
  margin-bottom: 22px;
}
.slide h1 .grad-t {
  background: linear-gradient(135deg, var(--t3) 0%, var(--t2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.slide h1 .grad-c {
  background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.slide p {
  font-size: 1.05rem; color: var(--text2);
  max-width: 580px; margin: 0 auto 36px; line-height: 1.8;
}

/* Slider controls */
.slider-controls {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px; z-index: 5;
}
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--text3); cursor: pointer;
  transition: all .3s; border: none;
}
.slider-dot.active { width: 28px; border-radius: 5px; }
.slider-dot.active.t { background: var(--t2); }
.slider-dot.active.c { background: var(--c1); }
.slider-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid var(--border2);
  color: var(--text2); cursor: pointer; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.slider-arrow:hover { background: rgba(255,255,255,.12); color: var(--text); }
.slider-progress {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--border);
}
.slider-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--t1), var(--t2));
  transition: background .5s;
}
.slider-progress-bar.c { background: linear-gradient(90deg, var(--c1), var(--c2)); }

/* ─────────────── PRODUCT FEATURE BLOCKS (HOME) ─────────────── */
.product-block { padding: 96px 24px; }
.product-block.alt { background: var(--bg2); }

.pb-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.pb-header h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.4px; line-height: 1.15; margin-bottom: 10px; }
.pb-header p { color: var(--text2); line-height: 1.75; max-width: 500px; }

.feat-grid-4 {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.feat-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px;
  transition: border-color .2s, transform .2s;
}
.feat-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.feat-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 16px;
}
.fi-t { background: rgba(123,94,167,.14); }
.fi-c { background: rgba(4,159,217,.12); }
.feat-card h3 { font-size: .93rem; font-weight: 700; margin-bottom: 8px; }
.feat-card p { font-size: .82rem; color: var(--text2); line-height: 1.65; }

/* ─────────────── FEATURE CARD CLICKABLE + INLINE DETAIL ─────────────── */
.feat-card.clickable {
  cursor: pointer; position: relative;
  transition: transform .2s, border-color .2s, background .2s;
}
.feat-card.clickable::after {
  content: '+';
  position: absolute;
  top: 22px; right: 24px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border2);
  color: var(--text2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 300;
  transition: all .2s;
}
.feat-card.clickable:hover {
  transform: translateY(-2px);
  border-color: rgba(123,94,167,.3);
}
.feat-card.clickable:hover::after {
  background: rgba(0,195,255,.1);
  border-color: var(--t2);
  color: var(--t2);
}
.feat-card.clickable.active {
  background: linear-gradient(180deg, rgba(123,94,167,.08), rgba(0,195,255,.04));
  border-color: rgba(0,195,255,.4);
  box-shadow: 0 0 0 1px rgba(0,195,255,.1);
  transform: translateY(-2px);
}
.feat-card.clickable.active::after {
  content: '−';
  background: var(--t2);
  border-color: var(--t2);
  color: #fff;
}
/* Pfeil/Indikator unter aktiver Karte */
.feat-card.clickable.active::before {
  content: '';
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px;
  background: linear-gradient(135deg, rgba(123,94,167,.12), rgba(0,195,255,.08));
  border-top: 1px solid rgba(0,195,255,.4);
  border-left: 1px solid rgba(0,195,255,.4);
  z-index: 2;
}

/* Inline Detail-Row */
.feat-detail {
  grid-column: 1 / -1;
  background: transparent;
  border: 0 solid rgba(0,195,255,.25);
  border-radius: 16px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0;
  margin: 0;
  transition: max-height .45s cubic-bezier(.16,1,.3,1), opacity .3s,
              padding .35s ease, margin .35s ease, border-width .2s, background .3s;
}
.feat-detail.open {
  max-height: 2000px;
  opacity: 1;
  padding: 36px;
  margin-top: 6px;
  border-width: 1px;
  background: linear-gradient(180deg, rgba(123,94,167,.08), rgba(0,195,255,.04));
}

.fd-header {
  display: flex; align-items: flex-start; gap: 18px;
  margin-bottom: 24px;
  position: relative;
}
.fd-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--t1), var(--t2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(123,94,167,.3);
}
.fd-head-text { flex: 1; min-width: 0; }
.fd-badge {
  display: inline-block;
  font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--t2);
  background: rgba(0,195,255,.1);
  border: 1px solid rgba(0,195,255,.25);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.fd-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.4px;
  line-height: 1.2;
  margin-bottom: 4px;
}
.fd-subtitle {
  font-size: .92rem;
  color: var(--text2);
  line-height: 1.55;
}
.fd-close {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--border2);
  color: var(--text2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .15s;
}
.fd-close:hover { background: var(--bg4); color: var(--text); border-color: var(--border); }

.fd-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.fd-left, .fd-right { width: 100%; min-width: 0; }
.fd-right { order: -1; } /* Slider zuerst, Text danach */

.fd-left p.fd-desc {
  font-size: .95rem;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 22px;
}
.fd-left h4 {
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--text3);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.fd-left h4::before {
  content: ''; width: 14px; height: 2px;
  background: var(--t2); border-radius: 1px;
}
.fd-bullets {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 22px;
}
.fd-bullet {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .87rem; color: var(--text2); line-height: 1.55;
}
.fd-bullet-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--t2);
  margin-top: 7px;
  flex-shrink: 0;
}
.fd-scenario {
  background: rgba(0,0,0,.18);
  border-left: 3px solid var(--t2);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
}
.fd-scenario-label {
  font-size: .62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--t2);
  margin-bottom: 6px;
}
.fd-scenario p {
  font-size: .87rem;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
  font-style: italic;
}

/* ─── Slider (volle Breite, oben) ── */
.fd-slider { position: relative; width: 100%; }
.fd-slider-stage {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 14px;
  overflow: hidden;
  min-height: 340px;
  transition: min-height .35s;
}
.fd-slider-stage.has-images { min-height: 700px; }
@media (max-width: 1100px) { .fd-slider-stage.has-images { min-height: 600px; } }
@media (max-width: 900px)  { .fd-slider-stage.has-images { min-height: 500px; } }
@media (max-width: 600px)  { .fd-slider-stage.has-images { min-height: 420px; } }
.fd-slide {
  position: absolute; inset: 0;
  padding: 28px;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateX(20px);
  transition: opacity .4s, transform .4s;
  pointer-events: none;
}
.fd-slide.active { opacity: 1; transform: translateX(0); pointer-events: auto; }

.fd-slide-mock {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: flex; align-items: center; gap: 16px;
  margin: 0 auto 18px;
  max-width: 520px;
  width: 100%;
}

/* Bild-Slide */
.fd-slide-image-type { padding: 18px 24px 24px; }
.fd-slide-img-wrap {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at top, rgba(0,195,255,.06), transparent 60%),
    var(--bg3);
  margin-bottom: 18px;
  cursor: zoom-in;
  transition: transform .25s, box-shadow .25s;
}
@media (max-width: 1100px) { .fd-slide-img-wrap { height: 460px; } }
@media (max-width: 900px)  { .fd-slide-img-wrap { height: 400px; } }
@media (max-width: 600px)  { .fd-slide-img-wrap { height: 320px; } }
.fd-slide-img-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
.fd-slide-img-wrap picture,
.fd-slide-img-wrap img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.fd-slide-img-wrap img {
  /* contain = ganzes Bild sichtbar; passt sich an Quer- UND Hochkant-Screenshots an. */
  object-fit: contain;
  object-position: center;
  padding: 12px;
  box-sizing: border-box;
}
/* Klein "Klick zum Vergrößern" Hint oben rechts */
.fd-slide-img-wrap::after {
  content: '🔍 ' attr(data-zoom-label);
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .72rem;
  padding: 6px 12px;
  border-radius: 20px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s, transform .2s;
  z-index: 2;
  pointer-events: none;
}
.fd-slide-img-wrap:hover::after { opacity: 1; transform: translateY(0); }
.fd-img-fallback {
  position: absolute; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(123,94,167,.2), rgba(0,195,255,.12));
  color: rgba(255,255,255,.7);
  font-size: 3rem;
  z-index: 1;
}
.fd-slide-img-wrap.fd-img-missing img,
.fd-slide-img-wrap.fd-img-missing picture { display: none; }
.fd-slide-img-wrap.fd-img-missing .fd-img-fallback { display: flex; }
.fd-slide-img-wrap.fd-img-missing { cursor: default; }
.fd-slide-img-wrap.fd-img-missing::after { display: none; }

/* ─── Lightbox / Zoom-Overlay ─── */
.fd-zoom-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  display: flex;
  align-items: center; justify-content: center;
  padding: 60px;
  cursor: zoom-out;
}
.fd-zoom-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.fd-zoom-img-wrap {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  transform: scale(.94);
  transition: transform .25s;
}
.fd-zoom-overlay.open .fd-zoom-img-wrap { transform: scale(1); }
.fd-zoom-img-wrap img {
  display: block;
  max-width: 95vw;
  max-height: 85vh;
  width: auto; height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  cursor: default;
}
.fd-zoom-caption {
  margin-top: 14px;
  text-align: center;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  max-width: 800px;
}
.fd-zoom-close {
  position: fixed;
  top: 22px; right: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-size: 1.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s;
  z-index: 2001;
}
.fd-zoom-close:hover { background: rgba(255,255,255,.22); }
.fd-zoom-nav {
  position: fixed;
  top: 50%;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-size: 1.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .15s;
  z-index: 2001;
}
.fd-zoom-nav:hover { background: rgba(255,255,255,.22); }
.fd-zoom-prev { left: 22px; }
.fd-zoom-next { right: 22px; }
.fd-zoom-nav.hidden { display: none; }
.fd-slide-mock-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--t1), var(--t2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 6px 22px rgba(0,195,255,.25);
}
.fd-slide-mock-text { min-width: 0; }
.fd-slide-mock-line1 {
  font-size: .65rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text3); margin-bottom: 4px;
}
.fd-slide-mock-line2 {
  font-size: 1.05rem; font-weight: 700; color: var(--text);
}

.fd-slide-num {
  font-size: .65rem; color: var(--text3);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 8px;
}
.fd-slide-num span { color: var(--t2); font-weight: 700; }
.fd-slide-title {
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.fd-slide-desc {
  font-size: .87rem;
  color: var(--text2);
  line-height: 1.7;
  flex: 1;
}

.fd-slider-ctrl {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px;
}
.fd-slider-dots { display: flex; gap: 7px; }
.fd-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--border2);
  border: none; cursor: pointer;
  transition: all .25s;
}
.fd-dot.active { width: 22px; border-radius: 4px; background: var(--t2); }
.fd-slider-arrows { display: flex; gap: 6px; }
.fd-arrow {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg3); border: 1px solid var(--border2);
  color: var(--text2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .15s;
  font-size: .9rem;
}
.fd-arrow:hover { background: var(--bg4); color: var(--text); border-color: var(--t2); }

/* ─── Cisco-Theme Variante ─── */
[data-theme="cisco"] .feat-card.clickable:hover {
  border-color: rgba(4,159,217,.3);
}
[data-theme="cisco"] .feat-card.clickable:hover::after {
  background: rgba(4,159,217,.1);
  border-color: var(--c1);
  color: var(--c1);
}
[data-theme="cisco"] .feat-card.clickable.active {
  background: linear-gradient(180deg, rgba(4,159,217,.08), rgba(0,77,115,.04));
  border-color: rgba(4,159,217,.4);
  box-shadow: 0 0 0 1px rgba(4,159,217,.1);
}
[data-theme="cisco"] .feat-card.clickable.active::after {
  background: var(--c1);
  border-color: var(--c1);
}
[data-theme="cisco"] .feat-card.clickable.active::before {
  background: linear-gradient(135deg, rgba(4,159,217,.12), rgba(0,77,115,.08));
  border-top-color: rgba(4,159,217,.4);
  border-left-color: rgba(4,159,217,.4);
}
[data-theme="cisco"] .feat-detail.open {
  background: linear-gradient(180deg, rgba(4,159,217,.08), rgba(0,77,115,.04));
  border-color: rgba(4,159,217,.25);
}
[data-theme="cisco"] .fd-icon {
  background: linear-gradient(135deg, var(--c1), var(--c3));
  box-shadow: 0 4px 18px rgba(4,159,217,.3);
}
[data-theme="cisco"] .fd-badge {
  color: var(--c1);
  background: rgba(4,159,217,.1);
  border-color: rgba(4,159,217,.25);
}
[data-theme="cisco"] .fd-left h4::before { background: var(--c1); }
[data-theme="cisco"] .fd-bullet-dot { background: var(--c1); }
[data-theme="cisco"] .fd-scenario { border-left-color: var(--c1); }
[data-theme="cisco"] .fd-scenario-label { color: var(--c1); }
[data-theme="cisco"] .fd-dot.active { background: var(--c1); }
[data-theme="cisco"] .fd-arrow:hover { border-color: var(--c1); }
[data-theme="cisco"] .fd-slide-mock-icon {
  background: linear-gradient(135deg, var(--c1), var(--c3));
  box-shadow: 0 6px 22px rgba(4,159,217,.25);
}
[data-theme="cisco"] .fd-img-fallback {
  background: linear-gradient(135deg, rgba(4,159,217,.2), rgba(0,77,115,.12));
}

@media (max-width: 900px) {
  .fd-body { grid-template-columns: 1fr; }
  .feat-detail.open { padding: 24px; }
}

/* ─────────────── TRUST BAR ─────────────── */
.trust-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 52px; }
.trust-pill {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 40px;
  border: 1px solid var(--border2); background: var(--bg3);
  font-size: .78rem; font-weight: 500; color: var(--text2);
}

/* ─────────────── HERO PRODUCT BANNER ─────────────── */
.prod-hero {
  border-radius: 20px; padding: 48px;
  display: flex; gap: 48px; align-items: center;
  margin-bottom: 60px; position: relative; overflow: hidden;
}
.prod-hero.t { background: linear-gradient(135deg, rgba(123,94,167,.09), rgba(0,195,255,.05)); border: 1px solid rgba(123,94,167,.22); }
.prod-hero.c { background: linear-gradient(135deg, rgba(4,159,217,.09), rgba(0,77,115,.05)); border: 1px solid rgba(4,159,217,.22); }
.prod-hero-glow { position: absolute; top: -80px; right: -80px; width: 280px; height: 280px; border-radius: 50%; opacity: .1; filter: blur(50px); }
.prod-hero.t .prod-hero-glow { background: radial-gradient(var(--t1), transparent); }
.prod-hero.c .prod-hero-glow { background: radial-gradient(var(--c1), transparent); }
.prod-hero-content { flex: 1; position: relative; }
.prod-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; letter-spacing: -.5px; line-height: 1.1; margin-bottom: 16px; }
.prod-hero.t h1 span { color: var(--t2); }
.prod-hero.c h1 span { color: var(--c1); }
.prod-hero p { color: var(--text2); line-height: 1.75; max-width: 500px; margin-bottom: 28px; font-size: .98rem; }
.prod-hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.phs-item .v { font-size: 1.6rem; font-weight: 900; line-height: 1; }
.phs-item .l { font-size: .63rem; color: var(--text3); text-transform: uppercase; letter-spacing: .5px; margin-top: 4px; }
.prod-hero.t .phs-item .v { color: var(--t2); }
.prod-hero.c .phs-item .v { color: var(--c1); }

/* ─────────────── STEPS GRID ─────────────── */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; margin-bottom: 52px;
}
.step-cell { padding: 28px; border-right: 1px solid var(--border); }
.step-cell:last-child { border-right: none; }
.step-num {
  width: 36px; height: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 800; color: #fff; margin-bottom: 14px;
}
.sn-t { background: linear-gradient(135deg, var(--t1), var(--t2)); }
.sn-c { background: linear-gradient(135deg, var(--c1), var(--c3)); }
.step-cell h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.step-cell p { font-size: .82rem; color: var(--text2); line-height: 1.65; }

/* ─────────────── PRICING ─────────────── */
.pricing-box {
  border-radius: var(--r); padding: 36px 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; margin-bottom: 52px;
}
.pb-t { background: linear-gradient(135deg, rgba(123,94,167,.09), rgba(0,195,255,.05)); border: 1px solid rgba(123,94,167,.22); }
.pb-c { background: linear-gradient(135deg, rgba(4,159,217,.09), rgba(0,77,115,.05)); border: 1px solid rgba(4,159,217,.22); }
.pricing-price { font-size: 2.2rem; font-weight: 900; line-height: 1; }
.pricing-period { font-size: .9rem; font-weight: 400; color: var(--text2); margin-left: 4px; }
.pricing-desc { font-size: .88rem; color: var(--text2); line-height: 1.7; max-width: 420px; margin-top: 10px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.badge { padding: 3px 11px; border-radius: 20px; font-size: .7rem; font-weight: 600; }
.badge-g { background: rgba(0,230,118,.1); color: var(--green); border: 1px solid rgba(0,230,118,.2); }
.badge-t { background: rgba(0,195,255,.1); color: var(--t2); border: 1px solid rgba(0,195,255,.2); }
.badge-c { background: rgba(4,159,217,.1); color: var(--c1); border: 1px solid rgba(4,159,217,.2); }

/* ─────────────── TWO COL ─────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 60px; }
.two-col.flip { direction: rtl; }
.two-col.flip > * { direction: ltr; }
.feat-list { display: flex; flex-direction: column; gap: 16px; }
.feat-item { display: flex; gap: 12px; align-items: flex-start; }
.fi-check {
  width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 800; color: #fff; margin-top: 2px;
}
.fc-t { background: linear-gradient(135deg, var(--t1), var(--t2)); }
.fc-c { background: linear-gradient(135deg, var(--c1), var(--c3)); }
.feat-item h4 { font-size: .9rem; font-weight: 700; margin-bottom: 4px; }
.feat-item p { font-size: .82rem; color: var(--text2); line-height: 1.6; }

/* ─────────────── CISCO UI PANEL (Mockups) ─────────────── */
.c-panel { border-radius: 12px; overflow: hidden; border: 1px solid rgba(4,159,217,.2); background: #07101a; }
.c-panel-hdr {
  background: linear-gradient(90deg, #002e4a, #004268);
  padding: 12px 16px; display: flex; align-items: center; gap: 10px;
}
.c-panel-ico { width: 28px; height: 28px; border-radius: 6px; background: rgba(4,159,217,.25); display: flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 900; color: #fff; }
.c-panel-ttl { font-size: .82rem; font-weight: 700; color: #fff; }
.c-panel-sub { font-size: .65rem; color: rgba(255,255,255,.45); }
.c-panel-body { padding: 16px; }
.c-log { border-radius: 7px; padding: 10px 14px; margin-bottom: 6px; border-left: 2px solid; }
.c-log-ok { background: rgba(0,230,118,.05); border-color: var(--green); }
.c-log-info { background: rgba(4,159,217,.06); border-color: var(--c1); }
.c-log-warn { background: rgba(255,152,0,.06); border-color: var(--orange); }
.c-log-title { font-size: .76rem; font-weight: 700; margin-bottom: 3px; }
.c-log-title.ok { color: var(--green); }
.c-log-title.info { color: var(--c2); }
.c-log-title.warn { color: var(--orange); }
.c-log-desc { font-size: .68rem; color: var(--text2); }
.c-tr { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-radius: 5px; margin-bottom: 3px; font-size: .72rem; }
.c-tr.hdr { background: rgba(4,159,217,.07); color: var(--text3); font-size: .62rem; text-transform: uppercase; letter-spacing: .5px; }
.c-tr.row { background: rgba(255,255,255,.03); color: var(--text2); }

/* ─────────────── TEAMS UI PANEL ─────────────── */
.t-panel { border-radius: 12px; overflow: hidden; border: 1px solid rgba(123,94,167,.3); background: #0c0a18; }
.t-panel-hdr {
  background: linear-gradient(90deg, #2a1b52, #3b2578);
  padding: 12px 16px; display: flex; align-items: center; gap: 10px;
}
.t-panel-ico { width: 28px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, var(--t1), var(--t2)); display: flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 900; color: #fff; }
.t-panel-ttl { font-size: .82rem; font-weight: 700; color: #fff; }
.t-panel-sub { font-size: .65rem; color: rgba(255,255,255,.45); }
.t-panel-body { padding: 16px; }
.t-row { background: rgba(123,94,167,.07); border: 1px solid rgba(123,94,167,.18); border-radius: 8px; padding: 10px 12px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.t-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--t1), var(--t2)); display: flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 800; color: #fff; flex-shrink: 0; }
.t-name { font-size: .77rem; font-weight: 600; color: var(--text); }
.t-num { font-size: .65rem; color: var(--t2); font-family: monospace; }

.chip { font-size: .6rem; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
.chip-ok    { background: rgba(0,230,118,.12); color: var(--green); }
.chip-warn  { background: rgba(255,152,0,.12); color: var(--orange); }
.chip-blue  { background: rgba(0,195,255,.1); color: var(--t2); }
.chip-cisco { background: rgba(4,159,217,.12); color: var(--c2); }

/* ─────────────── STATS BAND ─────────────── */
.stats-band {
  background: var(--bg3);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 40px 24px;
}
.stats-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px;
}
.stat-item { text-align: center; }
.si-val { font-size: 2rem; font-weight: 900; line-height: 1; }
.si-lbl { font-size: .66rem; color: var(--text3); text-transform: uppercase; letter-spacing: .5px; margin-top: 5px; }

/* ─────────────── CTA BLOCK ─────────────── */
.cta-block {
  border-radius: 20px; padding: 64px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-block.t { background: linear-gradient(135deg, rgba(123,94,167,.1), rgba(0,195,255,.05)); border: 1px solid rgba(123,94,167,.25); }
.cta-block.c { background: linear-gradient(135deg, rgba(4,159,217,.1), rgba(0,77,115,.05)); border: 1px solid rgba(4,159,217,.25); }
.cta-block h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.3px; margin-bottom: 14px; line-height: 1.2; }
.cta-block p { color: var(--text2); line-height: 1.75; max-width: 540px; margin: 0 auto 28px; }

/* ─────────────── DOCS (Accordion + KB) ─────────────── */
.docs-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.docs-panel { border-radius: 16px; overflow: hidden; border: 1px solid var(--border2); background: var(--bg3); }
.docs-panel-hdr { padding: 22px 26px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 14px; }
.dp-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: .95rem; }
.dpi-t { background: linear-gradient(135deg, var(--t1), var(--t2)); }
.dpi-c { background: linear-gradient(135deg, var(--c1), var(--c3)); }
.docs-panel-hdr h3 { font-size: 1rem; font-weight: 700; }
.docs-panel-hdr p { font-size: .76rem; color: var(--text2); }
.docs-body { padding: 14px; max-height: 580px; overflow-y: auto; }
.docs-body::-webkit-scrollbar { width: 4px; }
.docs-body::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }

.doc-acc { margin-bottom: 6px; border: 1px solid var(--border); border-radius: var(--rs); overflow: hidden; }
.doc-acc-hdr { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; cursor: pointer; font-size: .85rem; font-weight: 600; background: var(--bg4); transition: background .15s; user-select: none; }
.doc-acc-hdr:hover { background: var(--bg2); }
.doc-acc-arrow { font-size: .7rem; color: var(--text3); transition: transform .2s; }
.doc-acc.open .doc-acc-arrow { transform: rotate(90deg); }
.doc-acc-body { display: none; padding: 16px; background: var(--bg2); border-top: 1px solid var(--border); font-size: .82rem; color: var(--text2); line-height: 1.75; }
.doc-acc.open .doc-acc-body { display: block; }
.doc-acc-body strong { color: var(--text); }
.doc-acc-body ul { margin-top: 10px; margin-left: 18px; display: flex; flex-direction: column; gap: 5px; }

.kb-cat { margin-bottom: 6px; }
.kb-cat-hdr { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--bg4); border-radius: var(--rs); cursor: pointer; font-size: .84rem; font-weight: 700; border: 1px solid transparent; transition: all .2s; user-select: none; }
.kb-cat-hdr:hover { border-color: var(--border2); }
.kb-cat-hdr.open { border-color: rgba(4,159,217,.25); border-radius: var(--rs) var(--rs) 0 0; background: rgba(4,159,217,.07); color: var(--c2); }
.kb-arrow { margin-left: auto; font-size: .68rem; color: var(--text3); transition: transform .2s; }
.kb-cat-hdr.open .kb-arrow { transform: rotate(90deg); }
.kb-articles { display: none; border: 1px solid rgba(4,159,217,.2); border-top: none; border-radius: 0 0 var(--rs) var(--rs); overflow: hidden; }
.kb-articles.open { display: block; }
.kb-link { display: flex; align-items: center; gap: 8px; padding: 10px 18px; font-size: .79rem; color: var(--text2); border-bottom: 1px solid var(--border); transition: all .15s; }
.kb-link:last-child { border-bottom: none; }
.kb-link:hover { background: var(--bg3); color: var(--c2); }
.kb-link-icon { font-size: .68rem; opacity: .45; }

/* ─────────── DOC PAGE (Sidebar + Content) ─────────── */
.docpage {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 40px; max-width: 1280px; margin: 0 auto;
  padding: 40px 24px 80px;
}

.docpage-sidebar {
  position: sticky; top: 84px; height: fit-content;
  max-height: calc(100vh - 100px); overflow-y: auto;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 18px;
}
.docpage-sidebar::-webkit-scrollbar { width: 4px; }
.docpage-sidebar::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }

.docpage-sidebar h4 {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text3);
  margin: 14px 8px 6px;
}
.docpage-sidebar h4:first-child { margin-top: 0; }

.docpage-sidebar a {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: var(--rs);
  font-size: .82rem; color: var(--text2); transition: all .15s;
}
.docpage-sidebar a:hover { background: var(--bg3); color: var(--text); }
.docpage-sidebar a.active {
  background: var(--bg4); color: var(--text); font-weight: 600;
}
.docpage-sidebar a.active.t { border-left: 2px solid var(--t2); }
.docpage-sidebar a.active.c { border-left: 2px solid var(--c1); }
.docpage-sidebar a .ico { font-size: .85rem; opacity: .75; }

.docpage-main {
  min-width: 0;
}

.doc-hero {
  margin-bottom: 40px; padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.doc-hero .label { display: inline-flex; }
.doc-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800;
  letter-spacing: -.5px; line-height: 1.15; margin: 10px 0 12px;
}
.doc-hero p { color: var(--text2); line-height: 1.75; max-width: 640px; }

.doc-section { padding: 28px 0; border-bottom: 1px solid var(--border); }
.doc-section:last-of-type { border-bottom: none; }
.doc-figure {
  margin: 18px 0 26px;
  padding: 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.doc-figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
  margin: 0 auto;
  cursor: zoom-in;
  transition: transform .2s, box-shadow .2s;
}
.doc-figure img:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
}
.doc-figure figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: .78rem;
  color: var(--text3);
  font-style: italic;
}

/* ─── Doc-Lightbox (Klick auf .doc-figure img) ─── */
.doc-lightbox {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .92);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px 60px;
  z-index: 10000;
  opacity: 0;
  transition: opacity .2s;
}
.doc-lightbox.open { display: flex; opacity: 1; }
.dlb-figure {
  position: relative;
  margin: 0;
  max-width: 95vw;
  max-height: 90vh;
  display: flex; flex-direction: column; align-items: center;
}
.dlb-img {
  display: block;
  max-width: 95vw;
  max-height: 80vh;
  width: auto; height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .8);
  cursor: default;
}
.dlb-caption {
  margin-top: 18px;
  color: rgba(255, 255, 255, .85);
  font-size: .92rem;
  text-align: center;
  max-width: 720px;
  line-height: 1.5;
}
.dlb-counter {
  margin-top: 8px;
  color: rgba(255, 255, 255, .5);
  font-size: .72rem;
  letter-spacing: .5px;
}
.dlb-close,
.dlb-nav {
  position: absolute;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  cursor: pointer;
  transition: background .15s, transform .15s;
  font-family: inherit;
}
.dlb-close {
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.dlb-close:hover { background: rgba(255, 255, 255, .18); }
.dlb-nav {
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.dlb-nav.hidden { display: none; }
.dlb-prev { left: 20px; }
.dlb-next { right: 20px; }
.dlb-nav:hover { background: rgba(255, 255, 255, .18); }
.dlb-nav:active { transform: translateY(-50%) scale(.94); }

@media (max-width: 720px) {
  .doc-lightbox { padding: 12px; }
  .dlb-img { max-height: 70vh; }
  .dlb-nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .dlb-prev { left: 8px; }
  .dlb-next { right: 8px; }
  .dlb-close { top: 10px; right: 10px; width: 38px; height: 38px; font-size: 1.4rem; }
}
.doc-section h2 {
  font-size: 1.4rem; font-weight: 800; letter-spacing: -.3px;
  margin-bottom: 10px;
}
.doc-section .lead {
  font-size: .92rem; color: var(--text2); line-height: 1.8; margin-bottom: 18px;
}
.doc-section h3 {
  font-size: 1.05rem; font-weight: 700; margin: 22px 0 10px;
}
.doc-section p, .doc-section li {
  font-size: .9rem; color: var(--text2); line-height: 1.8;
}
.doc-section ul, .doc-section ol {
  margin: 10px 0 14px 20px; display: flex; flex-direction: column; gap: 6px;
}
.doc-section strong { color: var(--text); }
.doc-section code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .82rem;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 4px; padding: 1px 6px; color: var(--text);
}
.doc-section pre {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--rs); padding: 14px 16px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .8rem; color: var(--text);
  margin: 14px 0; overflow-x: auto; line-height: 1.7;
}
.doc-section pre code {
  background: none; border: none; padding: 0;
}
.doc-callout {
  border-radius: var(--rs); padding: 14px 18px;
  margin: 14px 0; display: flex; gap: 12px;
  font-size: .87rem; line-height: 1.7;
}
.doc-callout.info { background: rgba(0,195,255,.06); border: 1px solid rgba(0,195,255,.18); color: var(--text); }
.doc-callout.tip  { background: rgba(0,230,118,.05); border: 1px solid rgba(0,230,118,.18); color: var(--text); }
.doc-callout.warn { background: rgba(255,152,0,.05); border: 1px solid rgba(255,152,0,.2); color: var(--text); }
.doc-callout-icon { font-size: 1.1rem; flex-shrink: 0; }
.doc-callout strong { display: block; margin-bottom: 4px; }

/* Doc Sub-cards & tables */
.doc-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 14px 0;
}
.doc-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--rs); padding: 18px;
  transition: border-color .15s;
}
.doc-card:hover { border-color: var(--border2); }
.doc-card .ico { font-size: 1.1rem; margin-bottom: 8px; display: block; }
.doc-card h4 { font-size: .9rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.doc-card p { font-size: .82rem; color: var(--text2); line-height: 1.65; margin: 0; }

.doc-table {
  width: 100%; border-collapse: collapse;
  margin: 14px 0; font-size: .85rem;
  background: var(--bg2); border-radius: var(--rs); overflow: hidden;
}
.doc-table th {
  text-align: left; padding: 10px 14px;
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--text3); background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
.doc-table td {
  padding: 11px 14px; color: var(--text2);
  border-bottom: 1px solid var(--border);
}
.doc-table tr:last-child td { border-bottom: none; }
.doc-table strong { color: var(--text); }

.doc-tag {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: .68rem; font-weight: 600; letter-spacing: .3px;
  margin-right: 4px;
}
.tag-c { background: rgba(4,159,217,.12); color: var(--c2); }
.tag-t { background: rgba(123,94,167,.12); color: var(--t3); }
.tag-green { background: rgba(0,230,118,.12); color: var(--green); }
.tag-orange { background: rgba(255,152,0,.12); color: var(--orange); }
.tag-mute { background: var(--bg4); color: var(--text2); }

/* Numbered step block */
.doc-steps {
  counter-reset: dstep; margin: 14px 0;
}
.doc-stepbox {
  position: relative; padding: 14px 14px 14px 52px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--rs); margin-bottom: 8px;
  counter-increment: dstep;
}
.doc-stepbox::before {
  content: counter(dstep);
  position: absolute; left: 14px; top: 13px;
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(135deg, var(--c1), var(--c3));
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 800; color: #fff;
}
.doc-stepbox h4 { font-size: .9rem; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.doc-stepbox p { font-size: .85rem; color: var(--text2); line-height: 1.7; margin: 0; }

/* Two-col split for explainer text */
.doc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 14px 0; }

@media (max-width: 900px) {
  .docpage { grid-template-columns: 1fr; padding: 24px 20px; }
  .docpage-sidebar { position: static; max-height: none; }
  .doc-cards, .doc-split { grid-template-columns: 1fr; }
}


/* ─────────────── CONTACT FORM ─────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 1.8rem; font-weight: 800; letter-spacing: -.3px; line-height: 1.15; margin-bottom: 14px; }
.contact-info > p { color: var(--text2); line-height: 1.75; margin-bottom: 36px; font-size: .95rem; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.cd { display: flex; gap: 14px; align-items: flex-start; }
.cd-ico { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; background: var(--bg3); border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.cd-lbl { font-size: .66rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text3); margin-bottom: 3px; }
.cd-val { font-size: .9rem; font-weight: 600; }
.cd-val a:hover { text-decoration: underline; }

.contact-form { background: var(--bg3); border: 1px solid var(--border2); border-radius: 20px; padding: 36px; }
.form-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: .74rem; font-weight: 600; color: var(--text2); margin-bottom: 6px; }
.form-control { width: 100%; background: var(--bg2); border: 1px solid var(--border2); border-radius: var(--rs); padding: 11px 14px; font-size: .88rem; color: var(--text); font-family: inherit; outline: none; transition: border-color .2s; }
.form-control:focus { border-color: rgba(123,94,167,.5); }
.form-control::placeholder { color: var(--text3); }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2344536e'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; padding: 13px; border-radius: var(--r); font-size: .94rem; font-weight: 700; border: none; cursor: pointer; background: linear-gradient(135deg, var(--t1), var(--c1)); color: #fff; transition: all .25s; margin-top: 4px; }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(123,94,167,.28); }
.form-note { text-align: center; font-size: .72rem; color: var(--text3); margin-top: 12px; }
.alert { padding: 12px 16px; border-radius: var(--rs); font-size: .85rem; margin-bottom: 20px; }
.alert-success { background: rgba(0,230,118,.08); border: 1px solid rgba(0,230,118,.25); color: var(--green); }
.alert-error { background: rgba(255,82,82,.08); border: 1px solid rgba(255,82,82,.25); color: var(--red); }

/* ─────────────── FOOTER ─────────────── */
footer.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 60px 24px 28px; }
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.footer-brand-row .nav-logo-icon { width: 30px; height: 30px; font-size: .7rem; }
.footer-brand-row span { font-size: 1rem; font-weight: 800; }
.footer-logo-img { height: 36px; width: auto; display: block; }
.footer-logo-text {
  font-size: 1.2rem !important;
  font-weight: 900 !important;
  letter-spacing: -.6px;
  background: linear-gradient(135deg, #7b5ea7 0%, #049fd9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.footer-brand p { font-size: .83rem; color: var(--text2); line-height: 1.7; margin-top: 10px; max-width: 280px; }
.footer-brand-sub { font-size: .76rem; color: var(--text3); margin-top: 10px; line-height: 1.65; }
.footer-col h5 { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text3); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: .83rem; color: var(--text2); transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { max-width: 1180px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; font-size: .74rem; color: var(--text3); flex-wrap: wrap; gap: 10px; }

/* ─────────────── RESPONSIVE ─────────────── */
@media (max-width: 1024px) {
  .feat-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .prod-hero { flex-direction: column; }
  .docs-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav.site-nav { padding: 0 20px; }
  .feat-grid-4 { grid-template-columns: 1fr; }
  .two-col, .contact-layout, .steps-grid { grid-template-columns: 1fr; }
  .two-col.flip { direction: ltr; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

[id] { scroll-margin-top: 80px; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

/* ═══════════════════════ MOBILE / iPHONE OPTIMIERUNGEN ═══════════════════════ */

/* Zwischenstufe: Tablet & kleines Laptop (Hero-Image schon etwas schmaler) */
@media (max-width: 1024px) {
  .slide-hero-2col { gap: 32px !important; }
  .slide-hero-image  {
    flex: 0 1 380px !important;
    max-width: 380px !important;
  }
  .prod-hero-img {
    width: 380px !important;
  }
}

/* iPhone landscape & kleines Tablet (≤ 768px) */
@media (max-width: 768px) {
  /* Container/Section enger */
  .container { padding: 0 16px; }
  .section   { padding: 60px 0; }

  /* ─── HERO-SLIDER (index.php) ─── */
  /* Slides werden vertikal gestapelt, position:relative damit Slider mit Content wächst */
  .slider {
    height: auto;
    min-height: 0;
    padding-bottom: 70px;
  }
  .slide {
    position: relative;
    inset: auto;
    opacity: 1;
    transform: none;
    transition: none;
    padding: 40px 0 24px;
  }
  .slide:not(.active) { display: none; }

  /* 2-Spalten-Layout in slide 1: alles untereinander, zentriert */
  .slide-hero-2col {
    gap: 28px !important;
    padding: 0 16px !important;
    flex-direction: column !important;
  }
  .slide-content {
    text-align: center !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }
  .slide-content > p {
    margin: 0 auto 28px !important;
    max-width: 480px !important;
  }
  .slide .btn-group { justify-content: center !important; flex-wrap: wrap; }
  .slide-hero-image {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto;
  }
  .slide h1 {
    font-size: clamp(1.9rem, 7vw, 2.4rem) !important;
    margin-bottom: 16px;
  }
  .slide p { font-size: .92rem; max-width: 100%; }
  .slide-eyebrow { margin-bottom: 20px; }
  .slider-controls { bottom: 14px; }

  /* ─── PROD-HERO (teams.php / cisco.php) ─── */
  .prod-hero {
    padding: 28px 20px;
    gap: 24px;
    margin-bottom: 32px;
  }
  .prod-hero-img {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 480px !important;
    margin: 0 auto;
  }
  .prod-hero-stats { gap: 18px; }
  .phs-item .v { font-size: 1.3rem; }
  .phs-item .l { font-size: .58rem; }

  /* ─── HOW-IT-WORKS STEPS (3-col → 1-col mit unterer Border statt rechter) ─── */
  .steps-grid { grid-template-columns: 1fr; }
  .step-cell  { border-right: none; border-bottom: 1px solid var(--border); padding: 22px; }
  .step-cell:last-child { border-bottom: none; }

  /* ─── DEEP-DIVE GRID (teams.php) — Override inline repeat(3,1fr) ─── */
  #deepdive .doc-cards,
  .doc-cards[style*="repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* ─── CISCO FEAT-GRID (index.php) inline-Override ─── */
  .feat-grid-4[style*="repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  /* ─── PRICING-BOX (teams.php / cisco.php) ─── */
  .pricing-box {
    padding: 28px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .pricing-box .btn-group { flex-direction: column; width: 100%; }
  .pricing-box .btn { width: 100%; text-align: center; }
  .pricing-price { font-size: 1.9rem; }

  /* ─── CTA-BLOCK ─── */
  .cta-block { padding: 36px 20px; }
  .cta-block h2 { font-size: 1.5rem; }
  .cta-block p  { font-size: .92rem; margin-bottom: 22px; }
  .cta-block .btn-group { flex-direction: column; align-items: stretch; }
  .cta-block .btn { width: 100%; text-align: center; }

  /* ─── PB-HEADER (Product-Block-Header auf Home) ─── */
  .pb-header { flex-direction: column; align-items: flex-start; gap: 18px; }
  .pb-header .btn { align-self: stretch; text-align: center; }

  /* ─── Sektion-Headings kompakter ─── */
  .section-title { font-size: clamp(1.3rem, 5vw, 1.8rem); line-height: 1.2; }
  .section-sub   { font-size: .9rem; }

  /* ─── TRUST-BAR Pills kleiner ─── */
  .trust-pill { font-size: .7rem; padding: 5px 11px; }
  .trust-bar  { gap: 6px; margin-bottom: 32px; }

  /* ─── PRICING-BADGES tighter wrap ─── */
  .badge-row { gap: 5px; }
  .badge     { font-size: .66rem; padding: 3px 9px; }

  /* ─── Footer: kompaktere Spalten ─── */
  .footer-inner { gap: 28px; }

  /* ─── Nav: Hamburger-Menü auf Mobile ─── */
  nav.site-nav { padding: 0 16px; gap: 10px; position: relative; }
  .nav-toggle  { display: flex; }

  /* Nav-Links als ausklappendes Panel von oben */
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 0; padding: 8px 0;
    box-shadow: 0 12px 32px rgba(0,0,0,.4);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  nav.nav-open .nav-links { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; width: 100%;
    padding: 14px 24px;
    font-size: .95rem;
    border-radius: 0;
  }
  .nav-links a:hover { background: var(--bg3); }

  /* Lang-Switch + CTA bleiben sichtbar in der Top-Bar */
  .nav-spacer { display: none; }
  .lang-switch          { margin-left: auto; }
  .lang-switch .lang-current { padding: 4px 10px; font-size: .78rem; }
  .nav-cta              { padding: 8px 14px; font-size: .78rem; }

  /* ─── doc-figure padding tighter on mobile ─── */
  .doc-figure { padding: 8px; margin: 14px 0 20px; }
  .doc-figure figcaption { font-size: .76rem; padding: 8px 4px 4px; }

  /* ─── Sicherstellen dass keine Section horizontal scrollt ─── */
  body, html { overflow-x: hidden; max-width: 100vw; }
  img, video, iframe { max-width: 100%; height: auto; }
}

/* iPhone portrait (≤ 480px) — letzter Feinschliff */
@media (max-width: 480px) {
  nav.site-nav { padding: 0 12px; height: 56px; }
  .nav-logo-img  { height: 24px; }
  .nav-logo-text { font-size: 1rem; }

  .slider { padding-bottom: 50px; }
  .slide  { padding: 28px 0 20px; }
  .slide h1 { font-size: clamp(1.65rem, 8vw, 2rem) !important; }

  .prod-hero { padding: 24px 16px; }
  .prod-hero h1 { font-size: 1.45rem !important; }
  .prod-hero p  { font-size: .9rem; }

  .btn { padding: 11px 18px; font-size: .84rem; }

  .pricing-box  { padding: 22px 18px; }
  .pricing-price{ font-size: 1.7rem; }

  /* Feat-Cards kompakter */
  .feat-card    { padding: 18px; }
  .feat-card h3 { font-size: .95rem; }
  .feat-card p  { font-size: .82rem; }

  /* Doc-Cards in #deepdive */
  .doc-card     { padding: 16px; }
  .doc-card h4  { font-size: .92rem; }
  .doc-card p   { font-size: .8rem; }

  /* Footer */
  footer.site-footer { padding: 40px 16px 20px; }
  .footer-bottom     { flex-direction: column; align-items: flex-start; gap: 8px; }
}
