/* ================================================================
   GALAXYWEB AG — product_wordpress.css
   Seitenspezifisches CSS für pages/product_wordpress.php
   Abhängigkeiten: main.css, main_extensions.css, pricing.css
   ================================================================ */

/* ═══ 1: WP-DASHBOARD MOCKUP (Hero rechts) ══════════════════ */

.wp-dashboard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,30,80,.18), 0 0 0 1px rgba(0,120,200,.08);
  width: 100%;
  max-width: 460px;
  /* Schwebt wie perf-dashboard */
  transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
  transition: transform .4s ease, box-shadow .4s ease;
}
.wp-dashboard:hover {
  transform: perspective(900px) rotateY(-1deg) rotateX(0deg);
  box-shadow: 0 32px 100px rgba(0,30,80,.22), 0 0 0 1px rgba(0,120,200,.12);
}
body.dark .wp-dashboard {
  box-shadow: 0 24px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(0,120,200,.12);
}

/* Titelleiste */
.wpd-bar {
  background: #1d2327;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wpd-logo {
  width: 24px; height: 24px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wpd-logo svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wpd-bar-title { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); }
.wpd-bar-live {
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,.35);
}
.wpd-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16,185,129,.7);
  animation: wpdPulse 2s ease-in-out infinite;
}
@keyframes wpdPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .45; transform: scale(.8); }
}

/* Layout body */
.wpd-body { display: flex; min-height: 260px; }

.wpd-nav {
  background: #1d2327;
  width: 58px;
  padding: 14px 0;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  border-right: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.wpd-nav-item {
  width: 40px; height: 32px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  cursor: default;
}
.wpd-nav-item.active { background: var(--blue); }
.wpd-nav-item svg {
  width: 16px; height: 16px;
  fill: none; stroke: rgba(255,255,255,.35);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.wpd-nav-item.active svg { stroke: #fff; }

.wpd-content { flex: 1; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }

/* Stat-Karten */
.wpd-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.wpd-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px 12px;
}
body.dark .wpd-stat { background: rgba(255,255,255,.04); }
.wpd-stat-label {
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 4px;
}
.wpd-stat-val { font-size: 20px; font-weight: 800; color: var(--text); }

/* Update-Badge */
.wpd-update {
  display: flex; align-items: center; gap: 10px;
  background: rgba(0,120,200,.07);
  border: 1px solid rgba(0,120,200,.2);
  border-radius: 9px;
  padding: 9px 14px;
}
body.dark .wpd-update { background: rgba(0,120,200,.13); border-color: rgba(0,120,200,.28); }
.wpd-update-dot { width: 9px; height: 9px; border-radius: 50%; background: #10b981; flex-shrink: 0; }
.wpd-update-text { font-size: 12px; color: var(--muted); line-height: 1.3; }
.wpd-update-text strong { color: var(--text); font-weight: 700; }

/* Speicher-Balken */
.wpd-disk {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px 14px;
}
body.dark .wpd-disk { background: rgba(255,255,255,.04); }
.wpd-disk-meta {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--muted); margin-bottom: 7px;
}
.wpd-disk-meta span:first-child { font-weight: 700; color: var(--text); }
.wpd-disk-track { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.wpd-disk-fill  { height: 100%; width: 38%; background: var(--blue); border-radius: 3px; }


/* ═══ 2: FÜR WEN — 3-KARTEN-GRID ═══════════════════════════ */

.fuer-wen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.fuer-wen-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.fuer-wen-card:hover {
  border-color: rgba(0,120,200,.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,30,80,.08);
}
body.dark .fuer-wen-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.3); }

.fwc-icon {
  width: 44px; height: 44px;
  background: #e0f4ff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
body.dark .fwc-icon { background: rgba(0,120,200,.18); }
.fwc-icon svg {
  width: 20px; height: 20px;
  fill: none; stroke: var(--blue-d);
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.fwc-title { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.fwc-text  { font-size: 14px; color: var(--muted); line-height: 1.65; }


/* ═══ 3: WARUM GALAXYWEB — wpv-visual CONTAINER ════════════
   Eigener Wrapper statt .feature-img — kein aspect-ratio,
   kein overflow:hidden, kein festes Seitenverhältnis.
   Höhe bestimmt der Inhalt.
   ═══════════════════════════════════════════════════════════ */

.wpv-visual {
  border-radius: var(--rl, 14px);
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(11,20,38,.65);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: center;
}

/* ── Performance-Balken ─────────────────────────── */
.wpv-perf-header {
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  margin-bottom: 4px;
}
.wpv-perf-row {
  display: flex; align-items: center; gap: 14px;
}
.wpv-perf-label {
  font-size: 13px; color: rgba(255,255,255,.55);
  width: 130px; flex-shrink: 0;
}
.wpv-perf-track {
  flex: 1; height: 10px;
  background: rgba(255,255,255,.08);
  border-radius: 5px; overflow: hidden;
}
.wpv-perf-fill         { height: 100%; border-radius: 5px; transition: width .6s ease; }
.wpv-perf-fill-blue    { background: var(--blue); }
.wpv-perf-fill-muted   { background: rgba(255,255,255,.15); }
.wpv-perf-val          { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.5); width: 38px; text-align: right; flex-shrink: 0; }
.wpv-val-highlight     { color: #fff; }
.wpv-perf-note         { font-size: 11px; color: rgba(255,255,255,.25); margin-top: 4px; }

/* ── Security-Checkliste ────────────────────────── */
.wpv-sec-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.7);
}
.wpv-sec-check {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(16,185,129,.18);
  border: 1px solid rgba(16,185,129,.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wpv-sec-check svg {
  width: 12px; height: 12px; fill: none;
  stroke: #6ee7b7; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ── Migration-Flow ─────────────────────────────── */
.wpv-visual-migr {
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  padding: 32px 28px;
  position: relative;
}
.wpv-migr-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 10px;
  padding: 20px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  min-width: 120px;
}
.wpv-migr-step-accent {
  border-color: rgba(0,120,200,.5);
  background: rgba(0,120,200,.15);
  box-shadow: 0 0 24px rgba(0,120,200,.2);
}
.wpv-migr-step-done {
  border-color: rgba(16,185,129,.3);
  background: rgba(16,185,129,.07);
}
.wpv-migr-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
}
.wpv-migr-step-accent .wpv-migr-icon { background: rgba(0,120,200,.25); color: var(--blue-brand, #5badff); }
.wpv-migr-icon-done { background: rgba(16,185,129,.2); color: #6ee7b7; }
.wpv-migr-label {
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
}
.wpv-migr-val { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.8); }
.wpv-migr-step-accent .wpv-migr-val { color: var(--blue-brand, #5badff); }
.wpv-migr-step-done .wpv-migr-val { color: #6ee7b7; }
.wpv-migr-connector {
  padding: 0 10px; color: rgba(255,255,255,.2);
  flex-shrink: 0; margin-top: -16px;
}
.wpv-migr-note {
  width: 100%; text-align: center;
  font-size: 11px; color: rgba(255,255,255,.25);
  margin-top: 8px;
  flex-basis: 100%;
}




/* ═══ 5: PARALLAX MIT FOTO-HINTERGRUND ═════════════════════
   Modifier-Klasse für Parallax-Sections mit Bild dahinter.
   Fügt ein dunkles Overlay ein ohne das HTML zu verändern.
   Sections ohne Bild (nur dunkler Hintergrund) brauchen
   diese Klasse nicht.
   ═══════════════════════════════════════════════════════════ */

.parallax-section--image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 12, 28, .30);
  pointer-events: none;
  z-index: 2;
}
.parallax-section--image .parallax-content {
  position: relative;
  z-index: 3;
}

/* feature-text Typografie */
#parallax-mindset .feature-text h3            { color: #fff; }
#parallax-mindset .feature-text h3 em         { color: var(--blue-brand, #5badff); }
#parallax-mindset .feature-text p             { color: rgba(255,255,255,.85); }
#parallax-mindset .feature-text .gw-label     { color: rgba(255,255,255,.72); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.16); }

/* feat-list auf dunklem Hintergrund */
#parallax-mindset .feat-list li               { color: #fff; }
#parallax-mindset .feat-list li::before       { background: rgba(16,185,129,.18); color: #6ee7b7; }

/* CTA-Button */
#parallax-mindset .btn.btn-primary            { background: var(--blue); color: #fff; border-color: var(--blue); }

/* feature-row.reverse: img links, text rechts */
#parallax-mindset .feature-row.reverse .feature-img  { order: 1; }
#parallax-mindset .feature-row.reverse .feature-text { order: 2; }
#parallax-mindset .feature-row.reverse .wpv-visual   { order: 1; }

/* ═══ RESPONSIVE ════════════════════════════════════════════ */
@media (max-width: 900px) {
  .fuer-wen-grid { grid-template-columns: 1fr; }
  .wp-dashboard  { max-width: 100%; transform: none; }
  .wp-dashboard:hover { transform: none; }
}
@media (max-width: 768px) {
  .wp-dashboard  { display: none; }
  .wpd-stat-row  { grid-template-columns: repeat(2, 1fr); }
}