/* ══════════════════════════════════════════════════════════════════════
   Collrd — Website CSS (Marketing / Public Pages)
   Ästhetik: Neon on Dark Velvet
   Referenz: design_system.md v1.0
   ══════════════════════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────────────────── */
:root {
  /* Hintergründe (Dark Velvet) */
  --bg-void:      #08080c;
  --bg-surface:   #0e0e14;
  --bg-card:      #13131c;
  --bg-elevated:  #1c1c2a;
  --bg-hover:     #252538;
  --bg-overlay:   rgba(8,8,12,0.85);

  /* Neon-Farben (Primär-Trias) */
  --neon-magenta:      #ff2d7b;
  --neon-magenta-soft: rgba(255,45,123,0.12);
  --neon-magenta-glow: rgba(255,45,123,0.4);
  --neon-cyan:         #00e5ff;
  --neon-cyan-soft:    rgba(0,229,255,0.10);
  --neon-cyan-glow:    rgba(0,229,255,0.35);
  --neon-violet:       #a855f7;
  --neon-violet-soft:  rgba(168,85,247,0.12);
  --neon-violet-glow:  rgba(168,85,247,0.30);

  /* Gold */
  --gold:       #c9a84c;
  --gold-light: #f5e6b8;
  --gold-dim:   #9a7a2e;
  --gold-soft:  rgba(201,168,76,0.10);
  --gold-glow:  rgba(201,168,76,0.30);

  /* Text */
  --text-primary:   #f4f4f8;
  --text-secondary: #9898aa;
  --text-tertiary:  #6b6b80;
  --text-disabled:  #3e3e4e;

  /* Borders */
  --border-subtle:  rgba(255,255,255,0.06);
  --border-default: rgba(255,255,255,0.10);
  --border-strong:  rgba(255,255,255,0.18);

  /* Status */
  --status-success: #4ade80;
  --status-error:   #ff4d6a;
  --status-warning: #fbbf24;

  /* Spacing (8px base) */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Typography */
  --font-display: 'Outfit', -apple-system, sans-serif;
  --font-body:    'Outfit', -apple-system, sans-serif;
  --font-mono:    'Space Mono', monospace;

  /* Breakpoints (for reference — used in @media) */
  /* --bp-mobile: 480px; --bp-tablet: 768px; --bp-desktop: 1024px; --bp-wide: 1280px; */
}


/* ── Reset & Base ──────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.website-body {
  background: var(--bg-void);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--text-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* ── Container ─────────────────────────────────────────────────────── */

.w-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}
@media (min-width: 768px) {
  .w-container { padding: 0 var(--space-6); }
}


/* ── Section-Label (// OVERLINE) ───────────────────────────────────── */

.w-section-label {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: var(--space-4);
}
.w-section-label::before {
  content: '//';
  color: var(--text-tertiary);
  margin-right: 8px;
}


/* ══════════════════════════════════════════════════════════════════════
   TOP NAVIGATION
   ══════════════════════════════════════════════════════════════════════ */

.w-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 72px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.w-nav.scrolled {
  background: rgba(8,8,12,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.w-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Logo ── */
.w-nav-logo {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.w-nav-logo .w-logo-svg {
  height: 42px;
  width: auto;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* ── Desktop Nav Links ── */
.w-nav-links {
  display: none;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}
.w-nav-links a {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
  position: relative;
  padding: 8px 4px;
}
.w-nav-links a:hover {
  color: var(--text-primary);
}
.w-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-magenta);
  box-shadow: 0 0 8px var(--neon-magenta-glow);
  transition: width 0.2s ease;
}
.w-nav-links a:hover::after {
  width: 100%;
}

@media (min-width: 768px) {
  .w-nav-links { display: flex; }
}

/* ── Nav Actions (Login + CTA) ── */
.w-nav-actions {
  display: none;
  align-items: center;
  gap: var(--space-3);
}
.w-nav-actions .w-btn-login {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}
.w-nav-actions .w-btn-login:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}
.w-nav-actions .w-btn-cta {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--neon-magenta);
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 0 16px var(--neon-magenta-glow);
}
.w-nav-actions .w-btn-cta:hover {
  background: #ff4590;
  box-shadow: 0 0 24px var(--neon-magenta-glow);
  transform: translateY(-1px);
  color: #fff;
}

@media (min-width: 768px) {
  .w-nav-actions { display: flex; }
}


/* ══════════════════════════════════════════════════════════════════════
   MOBILE HAMBURGER (CSS-only)
   ══════════════════════════════════════════════════════════════════════ */

.w-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 210;
  background: none;
  border: none;
  padding: 10px;
}
.w-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

@media (min-width: 768px) {
  .w-hamburger { display: none; }
}

/* Hamburger → X animation */
.w-mobile-toggle:checked ~ .w-nav .w-hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--neon-magenta);
}
.w-mobile-toggle:checked ~ .w-nav .w-hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.w-mobile-toggle:checked ~ .w-nav .w-hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--neon-magenta);
}

/* Hidden checkbox for CSS-only toggle */
.w-mobile-toggle {
  display: none;
}

/* ── Mobile Menu Panel ── */
.w-mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-void);
  z-index: 190;
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.w-mobile-toggle:checked ~ .w-mobile-menu {
  transform: translateX(0);
}

.w-mobile-menu a {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color 0.15s ease, padding-left 0.2s ease;
}
.w-mobile-menu a:hover {
  color: var(--text-primary);
  padding-left: var(--space-3);
}

.w-mobile-menu .w-mobile-cta {
  margin-top: var(--space-6);
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--neon-magenta);
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  box-shadow: 0 0 20px var(--neon-magenta-glow);
  border-bottom: none;
}
.w-mobile-menu .w-mobile-cta:hover {
  padding-left: 0;
  background: #ff4590;
}
.w-mobile-menu .w-mobile-login {
  text-align: center;
  color: var(--text-tertiary);
  border-bottom: none;
  font-size: 14px;
}

@media (min-width: 768px) {
  .w-mobile-menu { display: none !important; }
}


/* ══════════════════════════════════════════════════════════════════════
   MAIN CONTENT
   ══════════════════════════════════════════════════════════════════════ */

.w-main {
  padding-top: 64px; /* Nav-Höhe */
}


/* Footer + Lang-Toggle → extracted to footer.css (F5 RED-H01) */


/* ══════════════════════════════════════════════════════════════════════
   BUTTONS (Website-specific variants)
   ══════════════════════════════════════════════════════════════════════ */

.w-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: var(--radius-sm);
}

.w-btn-primary {
  font-size: 16px;
  color: #fff;
  background: var(--neon-magenta);
  padding: 14px 32px;
  box-shadow: 0 0 20px var(--neon-magenta-glow);
}
.w-btn-primary:hover {
  background: #ff4590;
  box-shadow: 0 0 32px var(--neon-magenta-glow);
  transform: translateY(-2px);
  color: #fff;
}
.w-btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.w-btn-outline {
  font-size: 14px;
  color: var(--neon-cyan);
  background: transparent;
  border: 1px solid var(--neon-cyan);
  padding: 12px 24px;
}
.w-btn-outline:hover {
  background: var(--neon-cyan-soft);
  box-shadow: 0 0 12px var(--neon-cyan-glow);
  color: var(--neon-cyan);
}

.w-btn-ghost {
  font-size: 14px;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-default);
  padding: 12px 24px;
}
.w-btn-ghost:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}


/* ══════════════════════════════════════════════════════════════════════
   TEXTURES & ATMOSPHERE
   ══════════════════════════════════════════════════════════════════════ */

.w-texture-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.w-texture-neon-ambient {
  background: linear-gradient(
    135deg,
    var(--neon-magenta-soft) 0%,
    transparent 50%,
    var(--neon-cyan-soft) 100%
  );
}


/* ══════════════════════════════════════════════════════════════════════
   TYPOGRAPHY (Website Marketing)
   ══════════════════════════════════════════════════════════════════════ */

.w-display-xl {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
}
.w-display-lg {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
}
.w-display-md {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}
.w-heading-lg {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .w-display-xl { font-size: 48px; }
  .w-display-lg { font-size: 32px; }
  .w-display-md { font-size: 24px; }
  .w-heading-lg { font-size: 20px; }
}


/* ══════════════════════════════════════════════════════════════════════
   SECTION LAYOUT (Marketing Pages)
   ══════════════════════════════════════════════════════════════════════ */

.w-section {
  padding: var(--space-16) 0;
}
.w-section + .w-section {
  border-top: 1px solid var(--border-subtle);
}

.w-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-12);
}
.w-section-header p {
  margin-top: var(--space-3);
  font-size: 16px;
  color: var(--text-secondary);
}


/* ── Trust Bar ── */
.w-trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.w-trust-item {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.w-trust-item i {
  font-size: 16px;
  color: var(--neon-cyan);
}
.w-trust-sep {
  color: var(--text-tertiary);
  font-size: 12px;
  user-select: none;
}


/* ══════════════════════════════════════════════════════════════════════
   LEGAL PAGE LAYOUT
   ══════════════════════════════════════════════════════════════════════ */

.w-legal {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-4);
}
.w-legal h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}
.w-legal .w-legal-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 1px;
  margin-bottom: var(--space-8);
}
.w-legal h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: var(--space-10);
  margin-bottom: var(--space-3);
}
.w-legal h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}
.w-legal p {
  font-size: 16px;
  margin-bottom: var(--space-4);
  color: var(--text-secondary);
  line-height: 1.7;
}
.w-legal ul, .w-legal ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
  color: var(--text-secondary);
}
.w-legal li {
  font-size: 16px;
  margin-bottom: var(--space-2);
  line-height: 1.7;
}
.w-legal a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}
.w-legal a:hover {
  color: var(--neon-magenta);
}

/* Legal — Section Label (like landing page "// REALITY CHECK") */
.w-legal-label {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

/* Legal — Address Card (subtle elevated card for address blocks) */
.w-legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--neon-cyan);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-6);
}
.w-legal-card p {
  margin-bottom: 0;
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.8;
}

/* Legal — Note (secondary info, smaller) */
.w-legal-note {
  font-size: 14px;
  color: var(--text-tertiary);
  font-style: italic;
}


/* ══════════════════════════════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ══════════════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ══════════════════════════════════════════════════════════════════════ */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ══════════════════════════════════════════════════════════════════════
   SEKTION 1: HERO — Neon Pulse
   ══════════════════════════════════════════════════════════════════════ */

.w-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px var(--space-4) var(--space-16);
  margin-top: -64px;
  padding-top: 140px;
}

/* Background layers */
.w-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.w-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
}

/* WebGL Smoke Canvas */
.w-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.55;
}

/* CSS gradient fallback if WebGL unavailable */
.w-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(255,45,123,0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0,229,255,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(168,85,247,0.12) 0%, transparent 50%);
  z-index: -1;
}

/* Hero content */
.w-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.w-hero-headline {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}
@media (min-width: 768px) {
  .w-hero-headline { font-size: 56px; }
}
@media (min-width: 1024px) {
  .w-hero-headline { font-size: 64px; }
}

.w-hero-sub {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto var(--space-10);
}
@media (min-width: 768px) {
  .w-hero-sub { font-size: 19px; }
}

.w-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.w-btn-hero {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: var(--radius-sm);
}
.w-btn-hero.w-btn-primary {
  box-shadow: 0 0 28px var(--neon-magenta-glow), 0 4px 16px rgba(0,0,0,0.3);
}
.w-btn-hero.w-btn-primary:hover {
  box-shadow: 0 0 40px var(--neon-magenta-glow), 0 6px 24px rgba(0,0,0,0.4);
}


/* ══════════════════════════════════════════════════════════════════════
   SEKTION 2: PROBLEM / SOLUTION — Side by Side
   ══════════════════════════════════════════════════════════════════════ */

.w-section--ps {
  padding: var(--space-16) 0;
  border-top: none;
}
.w-section--ps + .w-section {
  border-top: 1px solid var(--border-subtle);
}

.w-ps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .w-ps-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    align-items: stretch;
  }
}

/* Card base — both fully readable */
.w-ps-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.w-ps-card:hover {
  transform: translateY(-3px);
}

/* Problem — neutral, clean */
.w-ps-card--problem:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Solution — magenta accent, elevated */
.w-ps-card--solution {
  border-color: var(--neon-magenta);
  box-shadow: 0 0 24px var(--neon-magenta-glow);
  position: relative;
  overflow: hidden;
}
.w-ps-card--solution::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--neon-magenta-soft) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.w-ps-card--solution > * {
  position: relative;
  z-index: 1;
}
.w-ps-card--solution:hover {
  box-shadow: 0 0 36px var(--neon-magenta-glow), 0 8px 24px rgba(0,0,0,0.3);
}

/* Typography — identical on both cards */
.w-ps-headline {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}
@media (min-width: 768px) {
  .w-ps-headline { font-size: 28px; }
}

.w-ps-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}


/* ══════════════════════════════════════════════════════════════════════
   SEKTION 3: FEATURES — Carousel + Drawer
   ══════════════════════════════════════════════════════════════════════ */

/* Section background: subtle circuit grid */
.w-section--features {
  position: relative;
  overflow: visible;
}
.w-section--features::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}
.w-section--features > * {
  position: relative;
  z-index: 1;
}

/* ── Carousel Header (title + nav arrows) ── */
.w-carousel-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.w-carousel-nav {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
}

.w-carousel-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.w-carousel-btn:hover:not(:disabled) {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: var(--bg-elevated);
}
.w-carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* ── Carousel Track ── */
.w-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  outline: none;
}
.w-carousel::-webkit-scrollbar {
  display: none;
}

.w-carousel-track {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-2) max(var(--space-4), calc((100vw - 1200px) / 2 + var(--space-4)));
}

/* ── Individual Slide ── */
.w-slide {
  flex: 0 0 85%;
  max-width: 420px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
@media (min-width: 640px) {
  .w-slide {
    flex: 0 0 380px;
  }
}
@media (min-width: 1024px) {
  .w-slide {
    flex: 0 0 400px;
  }
}

.w-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* Color-coded top accent on hover */
.w-slide[data-color="gold"]:hover   { border-color: var(--gold); box-shadow: 0 0 24px var(--gold-glow), 0 12px 40px rgba(0,0,0,0.3); }
.w-slide[data-color="cyan"]:hover   { border-color: var(--neon-cyan); box-shadow: 0 0 24px var(--neon-cyan-glow), 0 12px 40px rgba(0,0,0,0.3); }
.w-slide[data-color="violet"]:hover { border-color: var(--neon-violet); box-shadow: 0 0 24px var(--neon-violet-glow), 0 12px 40px rgba(0,0,0,0.3); }
.w-slide[data-color="magenta"]:hover{ border-color: var(--neon-magenta); box-shadow: 0 0 24px var(--neon-magenta-glow), 0 12px 40px rgba(0,0,0,0.3); }
.w-slide[data-color="neutral"]:hover{ border-color: var(--border-strong); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }

/* Visual area (animation container) */
.w-slide-visual {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
}

/* ── Feature Animations ── */
.w-anim { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3); height: 100%; }

/* 1. XP & Level — Ring + Counter */
.w-anim--xp { position: relative; }
.w-anim-ring { filter: drop-shadow(0 0 8px var(--gold-glow)); }
.w-anim-ring-fill { transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1); }
.w-anim--xp.animated .w-anim-ring-fill { stroke-dashoffset: 98; }
.w-anim-xp-inner { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); text-align: center; }
.w-anim-xp-level { font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary); letter-spacing: 2px; display: block; }
.w-anim-xp-num { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--gold); display: block; line-height: 1; }
.w-anim-xp-gems { font-family: var(--font-mono); font-size: 14px; color: var(--gold-light); display: flex; align-items: center; gap: 4px; }

/* 2. Routinen — Abstract Checklist */
.w-anim--checklist { align-items: flex-start; padding: 0 var(--space-8); width: 100%; gap: 2px; }
.w-anim-check-item { display: flex; align-items: center; gap: var(--space-3); padding: 8px 0; opacity: 0; transform: translateX(-12px); transition: opacity 0.3s ease, transform 0.3s ease; }
.w-anim--checklist.animated .w-anim-check-item { opacity: 1; transform: translateX(0); }
.w-anim--checklist.animated .w-anim-check-item[data-delay="1"] { transition-delay: 0.15s; }
.w-anim--checklist.animated .w-anim-check-item[data-delay="2"] { transition-delay: 0.3s; }
.w-anim-checkbox { width: 20px; height: 20px; border: 2px solid var(--neon-cyan); border-radius: 4px; flex-shrink: 0; position: relative; }
.w-anim-check-item[data-delay="0"] .w-anim-checkbox { transition: background 0.2s ease 0.5s; }
.w-anim-check-item[data-delay="1"] .w-anim-checkbox { transition: background 0.2s ease 0.7s; }
.w-anim-check-item[data-delay="2"] .w-anim-checkbox { transition: background 0.2s ease 0.9s; }
.w-anim--checklist.animated .w-anim-checkbox { background: var(--neon-cyan); }
.w-anim-checkbox::after { content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--bg-void); font-weight: 700; opacity: 0; }
.w-anim-check-item[data-delay="0"] .w-anim-checkbox::after { transition: opacity 0.2s ease 0.6s; }
.w-anim-check-item[data-delay="1"] .w-anim-checkbox::after { transition: opacity 0.2s ease 0.8s; }
.w-anim-check-item[data-delay="2"] .w-anim-checkbox::after { transition: opacity 0.2s ease 1.0s; }
.w-anim--checklist.animated .w-anim-checkbox::after { opacity: 1; }
.w-anim-check-line { display: inline-block; height: 8px; background: #2a2a3a; border-radius: 4px; width: 150px; }
.w-anim-check-line--short { width: 105px; }
.w-anim-streak { font-family: var(--font-mono); font-size: 14px; color: var(--neon-magenta); margin-top: var(--space-3); opacity: 0; transition: opacity 0.3s ease 1.2s; }
.w-anim--checklist.animated .w-anim-streak { opacity: 1; }

/* 3. Keuschheit — Lock + Timer */
.w-anim--lock { gap: var(--space-4); }
.w-anim-lock-svg { filter: drop-shadow(0 0 12px var(--neon-violet-glow)); }
.w-anim-lock-shackle { transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s; transform-origin: 50% 44px; }
.w-anim--lock.animated .w-anim-lock-shackle { transform: translateY(0); }
.w-anim-timer { text-align: center; }
.w-anim-timer-val { font-family: var(--font-mono); font-size: 28px; font-weight: 700; color: var(--neon-violet); letter-spacing: 2px; display: block; }
.w-anim-timer-label { font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 3px; }

/* 4. Safety — Shield Pulse */
.w-anim--safety { position: relative; }
.w-anim-shield-ring { position: absolute; border-radius: 50%; border: 1px solid var(--neon-cyan); opacity: 0; }
.w-anim-shield-ring--outer { width: 120px; height: 120px; top: 50%; left: 50%; transform: translate(-50%, -55%) scale(0.8); }
.w-anim-shield-ring--inner { width: 90px; height: 90px; top: 50%; left: 50%; transform: translate(-50%, -55%) scale(0.8); }
.w-anim--safety.animated .w-anim-shield-ring--outer { animation: shieldPulse 2s ease-out forwards; }
.w-anim--safety.animated .w-anim-shield-ring--inner { animation: shieldPulse 2s ease-out 0.2s forwards; }
@keyframes shieldPulse { 0% { opacity: 0.6; transform: translate(-50%, -55%) scale(0.8); } 100% { opacity: 0; transform: translate(-50%, -55%) scale(1.5); } }
.w-anim-shield-svg { filter: drop-shadow(0 0 10px var(--neon-cyan-glow)); position: relative; z-index: 1; }
.w-anim-shield-check { transition: stroke-dashoffset 0.5s ease 0.4s; }
.w-anim--safety.animated .w-anim-shield-check { stroke-dashoffset: 0; }
.w-anim-freeze-btn { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 3px; color: var(--neon-cyan); border: 1px solid var(--neon-cyan); border-radius: var(--radius-sm); padding: 6px 16px; opacity: 0; transition: opacity 0.3s ease 0.8s; }
.w-anim--safety.animated .w-anim-freeze-btn { opacity: 1; }

/* 5. Verträge — Contract Signature */
.w-anim--contract { padding: 0 var(--space-6); width: 100%; }
.w-anim-doc { background: var(--bg-elevated); border: 1px solid var(--border-default); border-radius: var(--radius-sm); padding: var(--space-5); }
.w-anim-doc-line { height: 6px; background: var(--border-default); border-radius: 3px; margin-bottom: 8px; opacity: 0; transform: scaleX(0); transform-origin: left; transition: opacity 0.2s ease, transform 0.3s ease; }
.w-anim--contract.animated .w-anim-doc-line { opacity: 1; transform: scaleX(1); }
.w-anim--contract.animated .w-anim-doc-line:nth-child(1) { transition-delay: 0s; }
.w-anim--contract.animated .w-anim-doc-line:nth-child(2) { transition-delay: 0.08s; }
.w-anim--contract.animated .w-anim-doc-line:nth-child(3) { transition-delay: 0.16s; }
.w-anim--contract.animated .w-anim-doc-line:nth-child(4) { transition-delay: 0.24s; }
.w-anim--contract.animated .w-anim-doc-line:nth-child(5) { transition-delay: 0.32s; }
.w-anim-doc-line--title { height: 10px; width: 60%; background: var(--border-strong); }
.w-anim-doc-line--short { width: 45%; }
.w-anim-doc-sep { height: 1px; background: var(--border-subtle); margin: 12px 0; }
.w-anim-sig { display: block; margin-top: 4px; }
.w-anim-sig-path { transition: stroke-dashoffset 1s ease 0.6s; }
.w-anim--contract.animated .w-anim-sig-path { stroke-dashoffset: 0; }

/* 6. Journal — Typewriter */
.w-anim--journal { padding: 0 var(--space-6); width: 100%; align-items: stretch; }
.w-anim-journal-page { background: var(--bg-elevated); border: 1px solid var(--border-default); border-radius: var(--radius-sm); padding: var(--space-5); min-height: 120px; }
.w-anim-journal-date { font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary); letter-spacing: 1px; margin-bottom: var(--space-3); }
.w-anim-journal-text { font-family: var(--font-body); font-size: 14px; color: var(--text-secondary); line-height: 1.6; display: inline; }
.w-anim-cursor { font-family: var(--font-mono); color: var(--text-secondary); animation: cursorBlink 0.8s ease infinite; }
@keyframes cursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.w-anim-mood { display: flex; gap: 8px; margin-top: var(--space-3); justify-content: center; }
.w-anim-mood-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--border-strong); transition: all 0.3s ease; }
.w-anim-mood-dot--1 { border-color: var(--neon-cyan); background: var(--neon-cyan); box-shadow: 0 0 8px var(--neon-cyan-glow); }
.w-anim-mood-dot--2 { border-color: var(--neon-violet); }
.w-anim-mood-dot--3 { border-color: var(--neon-magenta); }

/* 7. Solo — Avatar + XP Bar */
.w-anim--solo { gap: var(--space-2); }
.w-anim-avatar { filter: drop-shadow(0 0 8px var(--neon-magenta-glow)); }
.w-anim-solo-name { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--text-primary); }
.w-anim-solo-rank { font-family: var(--font-mono); font-size: 11px; color: var(--neon-magenta); letter-spacing: 2px; text-transform: uppercase; }
.w-anim-xpbar { width: 160px; height: 6px; background: var(--bg-elevated); border-radius: 3px; overflow: hidden; margin-top: var(--space-2); }
.w-anim-xpbar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--neon-magenta), var(--neon-violet)); border-radius: 3px; box-shadow: 0 0 8px var(--neon-magenta-glow); transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s; }
.w-anim--solo.animated .w-anim-xpbar-fill { width: 62%; }
.w-anim-xpbar-label { font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary); margin-top: 4px; }

/* 8. Dom-Dashboard — Stat Cards */
.w-anim--dashboard { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 var(--space-5); width: 100%; }
.w-anim-stat-card { background: var(--bg-elevated); border: 1px solid var(--border-default); border-radius: var(--radius-sm); padding: var(--space-4) var(--space-3); text-align: center; opacity: 0; transform: translateY(16px) scale(0.9); transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.w-anim--dashboard.animated .w-anim-stat-card { opacity: 1; transform: translateY(0) scale(1); }
.w-anim--dashboard.animated .w-anim-stat-card[data-delay="1"] { transition-delay: 0.12s; }
.w-anim--dashboard.animated .w-anim-stat-card[data-delay="2"] { transition-delay: 0.24s; }
.w-anim--dashboard.animated .w-anim-stat-card[data-delay="3"] { transition-delay: 0.36s; }
.w-anim-stat-val { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--neon-magenta); display: block; }
.w-anim-stat-lbl { font-family: var(--font-mono); font-size: 9px; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 1px; }

/* 9. Aufgaben — Slot Machine Spin */
.w-anim--spin { gap: var(--space-4); }
.w-anim-spin-window {
  width: 220px;
  height: 44px;
  border: 1px solid var(--neon-cyan);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  box-shadow: 0 0 16px var(--neon-cyan-glow), inset 0 0 12px rgba(0,229,255,0.05);
  position: relative;
  clip-path: inset(0 0 0 0 round 6px);
}
.w-anim-spin-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.w-anim--spin.animated .w-anim-spin-track {
  animation: spinSlot 2.5s cubic-bezier(0.15, 0.85, 0.35, 1) forwards;
}
.w-anim-spin-item {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}
@keyframes spinSlot {
  0%   { transform: translateY(0); }
  15%  { transform: translateY(-44px); }
  30%  { transform: translateY(-88px); }
  45%  { transform: translateY(-132px); }
  60%  { transform: translateY(-176px); }
  80%  { transform: translateY(-224px); }
  90%  { transform: translateY(-218px); }
  100% { transform: translateY(-220px); }
}
.w-anim-spin-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-cyan);
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.w-anim--spin.animated .w-anim-spin-label {
  opacity: 1;
  transition-delay: 2.6s;
}

/* 10. Belohnungen — Reward Shelf */
.w-anim--rewards { gap: var(--space-4); }
.w-anim-reward-shelf { display: flex; gap: 12px; }
.w-anim-reward-item { display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--bg-elevated); border: 1px solid var(--border-default); border-radius: var(--radius-sm); padding: 12px 16px; opacity: 0; transform: scale(0.8); transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.w-anim--rewards.animated .w-anim-reward-item { opacity: 1; transform: scale(1); }
.w-anim--rewards.animated .w-anim-reward-item[data-delay="1"] { transition-delay: 0.12s; }
.w-anim--rewards.animated .w-anim-reward-item[data-delay="2"] { transition-delay: 0.24s; }
.w-anim-reward-item span:first-child { font-size: 28px; }
.w-anim-reward-cost { font-family: var(--font-mono); font-size: 11px; color: var(--gold); }
.w-anim-reward-balance { font-family: var(--font-mono); font-size: 16px; color: var(--gold-light); display: flex; align-items: center; gap: 4px; opacity: 0; transition: opacity 0.3s ease 0.5s; }
.w-anim--rewards.animated .w-anim-reward-balance { opacity: 1; }

/* 11. Strafen — Spin (Magenta Variant) */
.w-anim-spin-window--magenta {
  border-color: var(--neon-magenta);
  box-shadow: 0 0 16px var(--neon-magenta-glow), inset 0 0 12px rgba(255,45,123,0.05);
}
.w-anim-spin-label--magenta {
  color: var(--neon-magenta);
}

/* 12. Verbindungen — Connection Nodes */
.w-anim--connections { gap: var(--space-3); }
.w-anim-conn-nodes { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.w-anim-conn-node { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.w-anim-conn-node span { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }
.w-anim-conn-node--dom span { color: var(--neon-magenta); }
.w-anim-conn-node--dom svg { filter: drop-shadow(0 0 6px var(--neon-magenta-glow)); }
.w-anim-conn-node--sub svg { filter: drop-shadow(0 0 6px var(--neon-violet-glow)); }
.w-anim-conn-lines { display: flex; gap: 16px; justify-content: center; }
.w-anim-conn-line { width: 2px; height: 20px; background: var(--border-default); opacity: 0; transform: scaleY(0); transform-origin: top; transition: opacity 0.3s ease, transform 0.3s ease; }
.w-anim--connections.animated .w-anim-conn-line { opacity: 1; transform: scaleY(1); }
.w-anim--connections.animated .w-anim-conn-line[data-delay="1"] { transition-delay: 0.1s; }
.w-anim--connections.animated .w-anim-conn-line[data-delay="2"] { transition-delay: 0.2s; }
.w-anim-conn-subs { display: flex; gap: 12px; }
.w-anim-conn-node--sub { opacity: 0; transform: translateY(-8px); transition: opacity 0.3s ease, transform 0.3s ease; }
.w-anim--connections.animated .w-anim-conn-node--sub { opacity: 1; transform: translateY(0); }
.w-anim--connections.animated .w-anim-conn-node--sub[data-delay="0"] { transition-delay: 0.2s; }
.w-anim--connections.animated .w-anim-conn-node--sub[data-delay="1"] { transition-delay: 0.3s; }
.w-anim--connections.animated .w-anim-conn-node--sub[data-delay="2"] { transition-delay: 0.4s; }
.w-anim-conn-label { font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary); text-align: center; opacity: 0; transition: opacity 0.3s ease 0.6s; }
.w-anim--connections.animated .w-anim-conn-label { opacity: 1; }

/* 13. Mantras — Hypno Spiral */
.w-anim--hypno { gap: var(--space-4); }
.w-anim-hypno-spiral {
  animation: hypnoSpin 4s linear infinite;
}
.w-anim-hypno-svg {
  filter: drop-shadow(0 0 10px var(--neon-violet-glow));
  display: block;
}
@keyframes hypnoSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Content area */
.w-slide-content {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.w-slide-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: var(--space-3);
}

.w-slide-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: var(--space-5);
}

.w-slide-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--neon-cyan);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
  align-self: flex-start;
}
.w-slide-more:hover {
  color: var(--text-primary);
}
.w-slide-more::after {
  content: '→';
  transition: transform 0.2s ease;
}
.w-slide-more:hover::after {
  transform: translateX(4px);
}

/* ── Progress Dots ── */
.w-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: var(--space-6);
  padding: 0 var(--space-4);
}
.w-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-default);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.w-carousel-dot.active {
  background: var(--neon-magenta);
  box-shadow: 0 0 8px var(--neon-magenta-glow);
  width: 24px;
  border-radius: 4px;
}


/* ══════════════════════════════════════════════════════════════════════
   LIGHTBOX (Feature Detail Modal — centered)
   ══════════════════════════════════════════════════════════════════════ */

.w-lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8,8,12,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.w-lightbox-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.w-lightbox {
  position: fixed;
  inset: 0;
  z-index: 510;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  opacity: 0;
  pointer-events: none;
}
.w-lightbox.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  animation: lbFadeIn 0.3s ease forwards;
}
@keyframes lbFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.w-lightbox-scroll {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - var(--space-12));
  max-height: calc(100dvh - var(--space-12));
  overflow-y: auto;
  overscroll-behavior: contain;
  position: relative;
  transform: scale(0.95) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 1px rgba(255,255,255,0.06);
}
.w-lightbox.open .w-lightbox-scroll {
  transform: scale(1) translateY(0);
}

/* Scrollbar styling */
.w-lightbox-scroll::-webkit-scrollbar { width: 6px; }
.w-lightbox-scroll::-webkit-scrollbar-track { background: transparent; }
.w-lightbox-scroll::-webkit-scrollbar-thumb {
  background: var(--border-default);
  border-radius: 3px;
}
.w-lightbox-scroll::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }

.w-lightbox-close {
  position: sticky;
  top: var(--space-4);
  float: right;
  margin: var(--space-4) var(--space-4) calc(-1 * var(--space-4) - 44px) 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  z-index: 2;
  flex-shrink: 0;
}
.w-lightbox-close:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--bg-hover);
}

.w-lightbox-header {
  padding: var(--space-8) var(--space-8) var(--space-4);
  text-align: center;
}
.w-lightbox-icon {
  font-size: 32px;
  display: block;
  margin-bottom: var(--space-3);
  line-height: 1;
}
.w-lightbox-icon:empty { display: none; }
.w-lightbox-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: var(--space-3);
}
.w-lightbox-tagline {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 540px;
  margin: 0 auto;
}
.w-lightbox-tagline:empty { display: none; }

.w-lightbox-body {
  padding: var(--space-4) var(--space-8) var(--space-6);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.w-lightbox-body p {
  margin-bottom: var(--space-4);
}
.w-lightbox-body p:last-child {
  margin-bottom: 0;
}

/* Screenshot container (for later use) */
.w-lightbox-screenshot {
  margin: var(--space-5) 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  background: var(--bg-surface);
}
.w-lightbox-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

/* Key highlights */
.w-lightbox-highlights {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.w-lightbox-highlight {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.w-lightbox-highlight-icon {
  flex-shrink: 0;
  width: 20px;
  color: var(--neon-cyan);
  font-size: 16px;
  padding-top: 2px;
}
.w-lightbox-highlight-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.w-lightbox-footer {
  padding: var(--space-4) var(--space-8) var(--space-8);
  text-align: center;
}
.w-lightbox-cta {
  min-width: 200px;
}

/* ── Lightbox Mobile: Full-screen bottom sheet ── */
@media (max-width: 480px) {
  .w-lightbox {
    padding: 0;
    align-items: flex-end;
  }
  .w-lightbox-scroll {
    max-height: 92vh;
    max-height: 92dvh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(100%);
  }
  .w-lightbox.open .w-lightbox-scroll {
    transform: translateY(0);
  }
  .w-lightbox-header {
    padding: var(--space-6) var(--space-5) var(--space-3);
  }
  .w-lightbox-body {
    padding: var(--space-3) var(--space-5) var(--space-5);
  }
  .w-lightbox-footer {
    padding: var(--space-3) var(--space-5) var(--space-6);
  }
  .w-lightbox-title {
    font-size: 22px;
  }
  .w-lightbox-close {
    top: var(--space-3);
    right: var(--space-3);
  }
}


/* ══════════════════════════════════════════════════════════════════════
   SEKTION 4: SOCIAL PROOF
   ══════════════════════════════════════════════════════════════════════ */

.w-section--proof {
  border-top: none;
}

.w-proof-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.w-proof-stat {
  text-align: center;
  min-width: 140px;
}

.w-proof-number {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  display: inline;
}
@media (min-width: 768px) {
  .w-proof-number { font-size: 64px; }
}

.w-proof-plus {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--neon-magenta);
  line-height: 1;
}
@media (min-width: 768px) {
  .w-proof-plus { font-size: 48px; }
}

.w-proof-label {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: var(--space-2);
}

.w-proof-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.w-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
}
.w-proof-badge i {
  color: var(--neon-cyan);
  font-size: 16px;
}


/* ══════════════════════════════════════════════════════════════════════
   SEKTION 5: PRICING — Squishy Colored Cards
   ══════════════════════════════════════════════════════════════════════ */

.w-pricing-toggle {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
  background: var(--bg-card);
  border-radius: var(--radius-full);
  padding: 4px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.w-toggle-btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  padding: 10px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.w-toggle-btn:hover {
  color: var(--text-primary);
}
.w-toggle-btn.active {
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.w-toggle-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--neon-magenta);
  background: var(--neon-magenta-soft);
  border-radius: var(--radius-full);
  padding: 3px 8px;
  white-space: nowrap;
}

/* Pricing Grid */
.w-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  max-width: 1040px;
  margin: 0 auto;
  align-items: stretch;
}
@media (min-width: 768px) {
  .w-pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Card Base ── */
.w-pricing-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  cursor: default;
}
.w-pricing-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 48px rgba(0,0,0,0.45);
}

/* SVG background shapes */
.w-pricing-bg-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.w-pricing-card:hover .w-pricing-bg-shape {
  transform: scale(1.15) rotate(3deg);
}

/* Inner content */
.w-pricing-inner {
  position: relative;
  z-index: 1;
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Tier colors */
.w-pricing-card--cyan {
  background: linear-gradient(135deg, #0097a7 0%, #00838f 100%);
}
.w-pricing-card--magenta {
  background: linear-gradient(135deg, #e91e6c 0%, #c2185b 100%);
}
.w-pricing-card--violet {
  background: linear-gradient(135deg, #7e3aed 0%, #6025c0 100%);
}

/* Popular badge */
.w-pricing-popular-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--neon-magenta);
  background: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

/* Label pill */
.w-pricing-label {
  display: inline-block;
  width: fit-content;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  margin-bottom: var(--space-5);
}

/* Description — fixed min-height for consistent price alignment */
.w-pricing-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-5);
  min-height: 44px;
}
.w-pricing-desc-line {
  white-space: nowrap;
}

/* Price */
.w-pricing-price {
  margin-bottom: var(--space-5);
}

.w-price-amount {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.w-price-unit {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-left: var(--space-1);
}

/* Feature list */
.w-pricing-features {
  list-style: none;
  margin-bottom: var(--space-6);
  flex: 1;
}
.w-pricing-features li {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}
.w-pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.7);
  font-weight: 700;
  font-size: 14px;
}

/* CTA Button */
.w-pricing-cta {
  display: block;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1a1a2e;
  background: #fff;
  border: 2px solid #fff;
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.w-pricing-cta:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.8);
}
.w-pricing-cta:focus-visible {
  outline: 2px solid rgba(255,255,255,0.5);
  outline-offset: 2px;
}

/* MwSt.-Hinweis */
.w-pricing-vat {
  text-align: center;
  margin-top: var(--space-6);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
}

/* Dom-Hinweis */
.w-pricing-dom-note {
  text-align: center;
  margin-top: var(--space-10);
  font-size: 16px;
  color: var(--neon-magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  padding: var(--space-4) var(--space-6);
  background: var(--neon-magenta-soft);
  border-radius: var(--radius-md);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.w-pricing-dom-note i {
  font-size: 18px;
}

.w-pricing-detail-link {
  text-align: center;
  margin-top: var(--space-6);
}
.w-pricing-detail-link a {
  font-size: 14px;
  font-weight: 500;
  color: var(--neon-cyan);
  transition: color 0.15s ease;
}
.w-pricing-detail-link a:hover {
  color: var(--text-primary);
}


/* ══════════════════════════════════════════════════════════════════════
   SEKTION 6: FINAL CTA
   ══════════════════════════════════════════════════════════════════════ */

.w-section--final-cta {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  border-top: none;
}

.w-final-cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(255,45,123,0.15) 0%,
      transparent 40%,
      transparent 60%,
      rgba(0,229,255,0.12) 100%
    );
  z-index: 0;
}
.w-final-cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 24px 24px;
}

.w-final-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.w-final-cta-content .w-display-xl {
  margin-bottom: var(--space-4);
}

.w-final-sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
}

.w-btn-final {
  padding: 18px 44px;
  font-size: 16px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 32px var(--neon-magenta-glow), 0 4px 16px rgba(0,0,0,0.3);
}
.w-btn-final:hover {
  box-shadow: 0 0 48px var(--neon-magenta-glow), 0 6px 24px rgba(0,0,0,0.4);
}

.w-trust-bar--final {
  margin-top: var(--space-8);
}


/* ══════════════════════════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════════════════════════ */

/* ── Page-level Circuit Grid Texture ── */

.w-about-page {
  position: relative;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 20px 20px;
  background-attachment: fixed;
}
.w-about-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      160deg,
      rgba(255,45,123,0.06) 0%,
      transparent 35%,
      transparent 65%,
      rgba(0,229,255,0.05) 100%
    );
  pointer-events: none;
  z-index: 0;
}
.w-about-page > section {
  position: relative;
  z-index: 1;
}

/* ── Global centering for all About sections ── */

.w-about-center {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}


/* ── Opener (Level up your Kink + Warum Collrd) ── */

.w-section--about-opener {
  padding-top: 120px;
  border-top: none !important;
}

.w-about-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--space-10);
  color: var(--neon-magenta);
  text-shadow: 0 0 40px var(--neon-magenta-glow), 0 0 80px rgba(255,45,123,0.15);
}
@media (min-width: 768px) {
  .w-about-title { font-size: 56px; }
}


/* ── Prose ── */

.w-about-prose {
  max-width: 640px;
  margin: var(--space-4) auto 0;
  text-align: left;
}
.w-about-prose p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}
.w-about-prose p:last-child {
  margin-bottom: 0;
}

.w-about-statement {
  color: var(--text-primary) !important;
  font-weight: 500;
  font-size: 18px !important;
}


/* ── Two-Column Feature Cards (Solo / Dynamik) ── */

.w-about-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin: var(--space-8) auto;
  text-align: left;
}
@media (min-width: 768px) {
  .w-about-two-col {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

.w-about-col {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  padding-top: calc(var(--space-6) + 2px);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.4s ease, transform 0.3s ease;
}
.w-about-col:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

/* Accent lines for feature cards */
.w-about-col-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  transition: height 0.3s ease, box-shadow 0.3s ease;
}
.w-about-col:hover .w-about-col-accent {
  height: 3px;
}

.w-about-col-accent--magenta {
  background: var(--neon-magenta);
  box-shadow: 0 0 8px var(--neon-magenta-glow);
}
.w-about-col-accent--violet {
  background: var(--neon-violet);
  box-shadow: 0 0 8px var(--neon-violet-glow);
}
.w-about-col:hover .w-about-col-accent--magenta {
  box-shadow: 0 0 32px var(--neon-magenta-glow), 0 0 64px rgba(255,45,123,0.15);
}
.w-about-col:hover .w-about-col-accent--violet {
  box-shadow: 0 0 32px var(--neon-violet-glow), 0 0 64px rgba(168,85,247,0.15);
}

.w-about-col-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
  font-size: 22px;
}
.w-about-col:first-child .w-about-col-icon {
  background: var(--neon-magenta-soft);
  color: var(--neon-magenta);
}
.w-about-col:last-child .w-about-col-icon {
  background: var(--neon-violet-soft);
  color: var(--neon-violet);
}

.w-about-col-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.w-about-col p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.w-about-closer {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  font-style: italic;
}


/* ── Values Grid ── */

.w-section--about-values .w-display-lg {
  margin-top: var(--space-3);
  margin-bottom: var(--space-10);
}

.w-about-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  text-align: left;
}
@media (min-width: 768px) {
  .w-about-values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.w-about-value {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  padding-top: calc(var(--space-6) + 2px);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.4s ease, transform 0.3s ease;
}
.w-about-value:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.w-about-value-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  transition: height 0.3s ease, box-shadow 0.3s ease;
}
.w-about-value:hover .w-about-value-accent {
  height: 3px;
}

.w-about-value-accent--cyan {
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan-glow);
}
.w-about-value-accent--magenta {
  background: var(--neon-magenta);
  box-shadow: 0 0 8px var(--neon-magenta-glow);
}
.w-about-value-accent--violet {
  background: var(--neon-violet);
  box-shadow: 0 0 8px var(--neon-violet-glow);
}
.w-about-value-accent--gold {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold-glow);
}

.w-about-value:hover .w-about-value-accent--cyan {
  box-shadow: 0 0 32px var(--neon-cyan-glow), 0 0 64px rgba(0,229,255,0.15);
}
.w-about-value:hover .w-about-value-accent--magenta {
  box-shadow: 0 0 32px var(--neon-magenta-glow), 0 0 64px rgba(255,45,123,0.15);
}
.w-about-value:hover .w-about-value-accent--violet {
  box-shadow: 0 0 32px var(--neon-violet-glow), 0 0 64px rgba(168,85,247,0.15);
}
.w-about-value:hover .w-about-value-accent--gold {
  box-shadow: 0 0 32px var(--gold-glow), 0 0 64px rgba(201,168,76,0.15);
}

.w-about-value h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.w-about-value p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}


/* ── Fun / CTA Section ── */

.w-section--about-fun {
  position: relative;
  overflow: hidden;
  border-top: none !important;
}
.w-section--about-fun::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%,
      rgba(255,45,123,0.08) 0%,
      transparent 70%
    );
  z-index: 0;
}
.w-section--about-fun .w-about-center {
  position: relative;
  z-index: 1;
}

.w-about-fun-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  margin: var(--space-6) auto var(--space-8);
}

.w-btn-lg {
  padding: 16px 40px;
  font-size: 16px;
  box-shadow: 0 0 28px var(--neon-magenta-glow), 0 4px 16px rgba(0,0,0,0.3);
}
.w-btn-lg:hover {
  box-shadow: 0 0 44px var(--neon-magenta-glow), 0 6px 24px rgba(0,0,0,0.4);
}


/* ══════════════════════════════════════════════════════════════════════
   FAQ PAGE
   ══════════════════════════════════════════════════════════════════════ */

/* ── FAQ Header ── */

.w-section--faq-header {
  padding-top: 120px;
  padding-bottom: var(--space-8);
  border-top: none !important;
}
.w-section--faq-header + .w-section {
  border-top: none !important;
}


/* ── Category Tabs ── */

.w-faq-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.w-faq-tab {
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}
.w-faq-tab:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.w-faq-tab.active {
  color: #fff;
  border-color: var(--neon-magenta);
  background: var(--neon-magenta);
  box-shadow: 0 0 16px var(--neon-magenta-glow);
}


/* ── FAQ List ── */

.w-faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.w-faq-category {
  display: none;
}
.w-faq-category.active {
  display: block;
  animation: faqFadeIn 0.35s ease;
}

@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ── FAQ Item (Accordion) ── */

.w-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.w-faq-item:last-child {
  margin-bottom: 0;
}
.w-faq-item.open {
  background: var(--bg-elevated);
  border-color: var(--border-strong);
}

.w-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-5) var(--space-5);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.w-faq-item.open .w-faq-question {
  color: var(--text-primary);
}
.w-faq-question:hover {
  color: var(--text-primary);
}

.w-faq-icon {
  font-size: 18px;
  color: var(--text-tertiary);
  transition: transform 0.25s ease, color 0.2s ease;
  flex-shrink: 0;
}
.w-faq-item.open .w-faq-icon {
  transform: rotate(45deg);
  color: var(--neon-magenta);
}

.w-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 var(--space-5);
}
.w-faq-item.open .w-faq-answer {
  max-height: 300px;
  padding: 0 var(--space-5) var(--space-5);
}

.w-faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}


/* ── FAQ CTA Buttons ── */

.w-faq-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}


/* ══════════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════════════════ */

.w-section--contact {
  padding-top: 120px;
  border-top: none !important;
}

.w-contact-sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
}

/* ── Honeypot (invisible to humans) ── */
/* H13: Zwei Honeypot-Varianten.
   - .w-contact-hp:   CSS-versteckt (immer off-screen)
   - .w-contact-jshp: JS entfernt das Wrap-DIV beim Pageload — Bots ohne JS
                      sehen es im DOM, Browser nicht. Defensive: gleiches CSS
                      wie .w-contact-hp, falls JS scheitert ist es trotzdem
                      versteckt. Die Bot-Falle wirkt nur, wenn der Bot kein
                      JS rendert UND das Feld dann ausfuellt. */
.w-contact-hp,
.w-contact-jshp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* ── Form ── */
.w-contact-form {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.w-contact-field {
  margin-bottom: var(--space-5);
}

.w-contact-field label {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.w-contact-input-wrap {
  display: flex;
  align-items: center;
  height: 48px;
  padding-left: var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.w-contact-input-wrap:focus-within {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px var(--neon-cyan-soft), 0 0 12px var(--neon-cyan-glow);
}

.w-contact-input-icon {
  font-size: 18px;
  color: var(--text-tertiary);
  flex-shrink: 0;
}
.w-contact-input-wrap:focus-within .w-contact-input-icon {
  color: var(--neon-cyan);
}

.w-contact-input-wrap input {
  flex: 1;
  height: 100%;
  padding: 0 var(--space-3);
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-primary);
}
.w-contact-input-wrap input::placeholder {
  color: var(--text-tertiary);
}

/* ── Category Pill-Tabs ── */
.w-contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.w-contact-pills input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.w-contact-pills label {
  font-family: var(--font-body);
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--text-secondary) !important;
  background: transparent;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 0 !important;
}
.w-contact-pills label:hover {
  color: var(--text-primary) !important;
  border-color: var(--border-strong);
}
.w-contact-pills input[type="radio"]:checked + label {
  color: #fff !important;
  border-color: var(--neon-magenta);
  background: var(--neon-magenta);
  box-shadow: 0 0 16px var(--neon-magenta-glow);
}

.w-contact-field textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-primary);
  resize: vertical;
  min-height: 120px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.w-contact-field textarea::placeholder {
  color: var(--text-tertiary);
}
.w-contact-field textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px var(--neon-cyan-soft), 0 0 12px var(--neon-cyan-glow);
}

.w-contact-submit {
  width: 100%;
  margin-top: var(--space-4);
  gap: var(--space-2);
}

.w-contact-note {
  margin-top: var(--space-6);
  font-size: 14px;
  color: var(--text-tertiary);
  text-align: center;
}
.w-contact-note a {
  color: var(--neon-cyan);
}
.w-contact-note a:hover {
  color: var(--text-primary);
}

/* ── Flash Messages ── */
.w-contact-flash {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: 480px;
  margin: 0 auto var(--space-6);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-size: 16px;
  text-align: left;
}
.w-contact-flash i {
  font-size: 20px;
  flex-shrink: 0;
}
.w-contact-flash--success {
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  color: var(--status-success);
}
.w-contact-flash--error {
  background: rgba(255, 77, 106, 0.08);
  border: 1px solid rgba(255, 77, 106, 0.2);
  color: var(--status-error);
}


/* ══════════════════════════════════════════════════════════════════════
   PLACEHOLDER PAGES (Blog — bis E6)
   ══════════════════════════════════════════════════════════════════════ */

.w-placeholder {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8);
}
.w-placeholder i {
  font-size: 48px;
  color: var(--text-tertiary);
  margin-bottom: var(--space-4);
}
.w-placeholder h1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}
.w-placeholder p {
  font-size: 16px;
  color: var(--text-tertiary);
  max-width: 420px;
}


/* ══════════════════════════════════════════════════════════════════════
   BLOG — Index + Post
   ══════════════════════════════════════════════════════════════════════ */

/* ── Blog Page Background (Circuit Grid + Neon Ambient) ── */

.w-blog-page {
  position: relative;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 20px 20px;
  background-attachment: fixed;
}
.w-blog-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      160deg,
      rgba(255,45,123,0.06) 0%,
      transparent 35%,
      transparent 65%,
      rgba(0,229,255,0.05) 100%
    );
  pointer-events: none;
  z-index: 0;
}
.w-blog-page > * {
  position: relative;
  z-index: 1;
}


/* ── Blog Index: Header ── */

.w-blog-index {
  padding-top: 120px;
  border-top: none !important;
}

.w-blog-index__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-8);
}
.w-blog-index__header .w-section-label {
  margin-bottom: var(--space-4);
}
.w-blog-index__title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}
@media (max-width: 767px) {
  .w-blog-index__title { font-size: 32px; }
}
.w-blog-index__subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}
.w-blog-index__filter-value {
  color: var(--neon-cyan);
}


/* ── Blog Kategorie-Tabs (Pill-Tabs, analog FAQ) ── */

.w-blog-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}
.w-blog-tab {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}
.w-blog-tab:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.w-blog-tab--active {
  color: #fff;
  border-color: var(--neon-magenta);
  background: var(--neon-magenta);
  box-shadow: 0 0 16px var(--neon-magenta-glow);
}
.w-blog-tab__count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  margin-left: 6px;
}
.w-blog-tab--active .w-blog-tab__count {
  color: rgba(255,255,255,0.7);
}


/* ── Active Tag Filter ── */

.w-blog-active-filter {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-8);
}
.w-blog-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--neon-cyan);
  background: var(--neon-cyan-soft);
  border: 1px solid rgba(0,229,255,0.15);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.w-blog-tag:hover {
  background: rgba(0,229,255,0.18);
  border-color: rgba(0,229,255,0.3);
  color: var(--neon-cyan);
}
.w-blog-tag__remove {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.w-blog-tag__remove:hover {
  color: var(--status-error);
}


/* ── Blog Card Grid ── */

.w-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .w-blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .w-blog-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}


/* ── Blog Card ── */

.w-blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.4s ease, transform 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.w-blog-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

/* Accent Line (top) — Farbe via CSS custom property */
.w-blog-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--card-accent, var(--neon-cyan));
  box-shadow: 0 0 8px var(--card-glow, var(--neon-cyan-glow));
  transition: height 0.3s ease, box-shadow 0.3s ease;
}
.w-blog-card:hover .w-blog-card__accent {
  height: 3px;
  box-shadow: 0 0 24px var(--card-glow, var(--neon-cyan-glow)), 0 0 48px rgba(0,229,255,0.1);
}

/* Category-specific accent colors */
.w-blog-card--education {
  --card-accent: var(--neon-cyan);
  --card-glow: var(--neon-cyan-glow);
}
.w-blog-card--comparison {
  --card-accent: var(--neon-magenta);
  --card-glow: var(--neon-magenta-glow);
}
.w-blog-card--guide {
  --card-accent: var(--neon-violet);
  --card-glow: var(--neon-violet-glow);
}
.w-blog-card--news {
  --card-accent: var(--gold);
  --card-glow: var(--gold-glow);
}

/* Card Image */
.w-blog-card__image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-surface);
}
.w-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.w-blog-card:hover .w-blog-card__image img {
  transform: scale(1.03);
}

/* Placeholder gradient when no image */
.w-blog-card__image-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
      135deg,
      var(--bg-elevated) 0%,
      var(--bg-card) 40%,
      var(--bg-elevated) 100%
    );
  background-image:
    linear-gradient(
      135deg,
      var(--bg-elevated) 0%,
      var(--bg-card) 40%,
      var(--bg-elevated) 100%
    ),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 100% 100%, 16px 16px, 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.w-blog-card__image-placeholder i {
  font-size: 36px;
  color: var(--text-tertiary);
  opacity: 0.4;
}

/* Card Body */
.w-blog-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  padding-top: var(--space-5);
}
.w-blog-card__category {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--card-accent, var(--neon-cyan));
  margin-bottom: var(--space-3);
}
.w-blog-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}
.w-blog-card__excerpt {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
  flex: 1;
  /* Clamp to 3 lines */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.w-blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);
}
.w-blog-card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.w-blog-card__meta i {
  font-size: 14px;
}
.w-blog-card__readmore {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--neon-cyan);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}
.w-blog-card:hover .w-blog-card__readmore {
  color: #fff;
}


/* ── Blog Pagination ── */

.w-blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  margin-top: var(--space-12);
}
.w-blog-pagination__info {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-tertiary);
}


/* ══════════════════════════════════════════════════════════════════════
   BLOG — Post (Einzelansicht)
   ══════════════════════════════════════════════════════════════════════ */

/* ── Preview Banner ── */

.w-blog-preview-banner {
  background: var(--status-warning);
  color: #000;
  text-align: center;
  padding: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ── Post Header ── */

.w-blog-post {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 120px;
}

.w-blog-post__header {
  max-width: 780px;
  margin: 0 auto var(--space-10);
  text-align: center;
}
.w-blog-post__breadcrumb {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: var(--space-6);
}
.w-blog-post__breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.w-blog-post__breadcrumb a:hover {
  color: var(--neon-cyan);
}
.w-blog-post__breadcrumb-sep {
  margin: 0 8px;
  color: var(--text-tertiary);
}

.w-blog-post__title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
}
@media (max-width: 767px) {
  .w-blog-post__title { font-size: 28px; }
}

.w-blog-post__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
}
.w-blog-post__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.w-blog-post__meta-item i {
  font-size: 16px;
}
.w-blog-post__meta-updated {
  color: var(--neon-cyan);
}

.w-blog-post__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

/* ── Hero Image ── */

.w-blog-post__hero-image {
  max-width: 880px;
  margin: 0 auto var(--space-10);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-default);
}
.w-blog-post__hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Content Layout (TOC + Body) ── */

.w-blog-post__layout {
  max-width: 780px;
  margin: 0 auto;
}
.w-blog-post__layout--with-toc {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}
@media (min-width: 1024px) {
  .w-blog-post__layout--with-toc {
    grid-template-columns: 220px 1fr;
  }
}

/* ── Table of Contents ── */

.w-blog-toc {
  display: none;
}
@media (min-width: 1024px) {
  .w-blog-toc {
    display: block;
  }
}
.w-blog-toc__sticky {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.w-blog-toc .w-section-label {
  font-size: 11px;
  margin-bottom: var(--space-4);
}

/* TOC list styling (generated by python-markdown toc extension) */
.w-blog-toc .toc {
  list-style: none;
  padding: 0;
  margin: 0;
}
.w-blog-toc .toc ul {
  list-style: none;
  padding-left: var(--space-4);
  margin: 0;
}
.w-blog-toc .toc li {
  margin-bottom: var(--space-3);
}
.w-blog-toc .toc a {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  padding: 3px 0;
}
.w-blog-toc .toc a:hover {
  color: var(--neon-cyan);
}

/* ── Prose (Markdown-rendered content) ── */

.w-prose {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 720px;
}
.w-prose h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: var(--space-12);
  margin-bottom: var(--space-5);
  line-height: 1.2;
}
.w-prose h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  line-height: 1.3;
}
.w-prose p {
  margin-bottom: var(--space-5);
}
.w-prose strong {
  color: var(--text-primary);
  font-weight: 600;
}
.w-prose a {
  color: var(--neon-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,229,255,0.3);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.w-prose a:hover {
  color: #fff;
  border-bottom-color: var(--neon-cyan);
}
.w-prose ul,
.w-prose ol {
  margin-bottom: var(--space-5);
  padding-left: var(--space-6);
}
.w-prose li {
  margin-bottom: var(--space-2);
}
.w-prose li::marker {
  color: var(--neon-cyan);
}
.w-prose ol li::marker {
  color: var(--neon-magenta);
  font-weight: 600;
}
.w-prose blockquote {
  border-left: 3px solid var(--neon-violet);
  padding-left: var(--space-5);
  margin: var(--space-6) 0;
  color: var(--text-secondary);
  font-style: italic;
}
.w-prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--neon-cyan);
}
.w-prose pre {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
  overflow-x: auto;
  margin-bottom: var(--space-5);
}
.w-prose pre code {
  background: transparent;
  padding: 0;
  color: var(--text-primary);
}
.w-prose hr {
  border: none;
  border-top: 1px solid var(--border-default);
  margin: var(--space-10) 0;
}
.w-prose img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: var(--space-5) 0;
}

/* Tables (rendered from Markdown) */
.w-prose-table-wrap {
  overflow-x: auto;
  margin: var(--space-8) 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  -webkit-overflow-scrolling: touch;
}
.w-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}
.w-prose thead {
  position: relative;
}
.w-prose thead::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan-glow);
}
.w-prose th {
  background: var(--bg-elevated);
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-default);
  white-space: nowrap;
}
.w-prose th:first-child {
  color: var(--text-secondary);
}
.w-prose td {
  padding: 12px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}
.w-prose tr:last-child td {
  border-bottom: none;
}
.w-prose tbody tr:nth-child(odd) {
  background: var(--bg-card);
}
.w-prose tbody tr:nth-child(even) {
  background: var(--bg-surface);
}
.w-prose tbody tr:hover {
  background: var(--bg-elevated);
}
/* First column (category labels) */
.w-prose td:first-child {
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
}
/* Second column (Collrd) — subtle highlight */
.w-prose th:nth-child(2) {
  color: var(--neon-cyan);
}
.w-prose td:nth-child(2) {
  color: var(--text-primary);
}
/* Responsive: horizontal scroll on mobile */
@media (max-width: 767px) {
  .w-prose table {
    font-size: 14px;
    min-width: 580px;
  }
  .w-prose th,
  .w-prose td {
    padding: 10px 12px;
  }
}

/* Permalink anchors (TOC jump links) */
.w-blog-anchor {
  color: var(--text-tertiary);
  text-decoration: none;
  margin-left: 8px;
  font-size: 0.75em;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.w-prose h2:hover .w-blog-anchor,
.w-prose h3:hover .w-blog-anchor {
  opacity: 1;
}
.w-blog-anchor:hover {
  color: var(--neon-cyan);
}


/* ── Post CTA Footer ── */

.w-blog-post__cta {
  margin-top: var(--space-16);
  margin-bottom: var(--space-12);
}
.w-blog-post__cta-inner {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-8);
  position: relative;
  overflow: hidden;
}
.w-blog-post__cta-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-magenta), var(--neon-violet), var(--neon-cyan));
  box-shadow: 0 0 20px var(--neon-magenta-glow);
}
.w-blog-post__cta h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin: var(--space-4) 0;
}
.w-blog-post__cta p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.w-btn-lg {
  font-size: 16px;
  padding: 16px 36px;
}


/* ── Related Posts ── */

.w-blog-related {
  max-width: 1100px;
  margin: 0 auto var(--space-16);
  text-align: center;
}
.w-blog-related .w-section-label {
  margin-bottom: var(--space-8);
}
.w-blog-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  text-align: left;
}
@media (min-width: 768px) {
  .w-blog-related__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Compact variant for related posts (no image) */
.w-blog-card--compact {
  padding: var(--space-6);
  padding-top: calc(var(--space-6) + 2px);
}
.w-blog-card--compact .w-blog-card__excerpt {
  -webkit-line-clamp: 2;
}
.w-blog-card--compact .w-blog-card__title {
  font-size: 18px;
}
.w-blog-card--compact .w-blog-card__meta {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: none;
}


/* ── Empty state ── */

.w-blog-empty {
  text-align: center;
  padding: var(--space-16) var(--space-6);
}
.w-blog-empty i {
  font-size: 48px;
  color: var(--text-tertiary);
  margin-bottom: var(--space-5);
  display: block;
}
.w-blog-empty p {
  font-size: 16px;
  color: var(--text-tertiary);
}

/* ══════════════════════════════════════════════════════════════════════
   H10.6f — Lightbox Screenshot Integration (Pattern C)
   Hero + Thumbnails in Feature-Lightbox -> PhotoSwipe Image-Lightbox
   z-index: PhotoSwipe 600 > Feature-Lightbox 510

   UI/UX-Pro-Max compliance:
   - Focus-visible rings on all interactive elements (a11y CRITICAL)
   - Touch-targets ≥ 44×44px (Thumbs 110×70 OK, close 44×44, arrows 60×100)
   - touch-action: manipulation (no 300ms tap-delay on mobile)
   - Reduced-motion fallback (animations disabled)
   - Color-not-only (counter text + active-state border, not just glow)
   - Stable interaction states (translateY only, no layout shifts)
   - Token-driven colors (no raw hex in this block — uses CSS vars)
   ══════════════════════════════════════════════════════════════════════ */

/* ── Feature-Lightbox: Wider Variant for Screenshot-Heavy Content ─── */
.w-lightbox-scroll.has-screenshots {
  max-width: 960px;
}

/* ── Hero Screenshot Block (top of lightbox body) ─────────────────── */
.w-lb-hero {
  margin: var(--space-5) var(--space-8) var(--space-4);
  position: relative;
}

.w-lb-hero-frame {
  position: relative;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--border-subtle);
  /* Default soft glow */
  --frame-glow-color: rgba(255, 255, 255, 0.15);
  --frame-glow-soft:  rgba(255, 255, 255, 0.05);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease;
  /* Aspect-Ratio cap: never taller than 65vh */
  max-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Prevent 300ms tap-delay on mobile (UI/UX-Pro-Max: tap-delay) */
  touch-action: manipulation;
  /* Native button reset (so we can use <button> for a11y) */
  width: 100%;
  padding: 0;
  font: inherit;
  color: inherit;
}

.w-lb-hero-frame img {
  display: block;
  max-width: 100%;
  max-height: 65vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Hover lift + glow intensification (transform-only, no layout shift) */
.w-lb-hero-frame:hover {
  transform: translateY(-2px);
  border-color: var(--frame-glow-color);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--frame-glow-color),
    0 0 24px var(--frame-glow-soft);
}

/* Focus-visible: keyboard navigation (UI/UX-Pro-Max CRITICAL) */
.w-lb-hero-frame:focus-visible {
  outline: 3px solid var(--frame-glow-color);
  outline-offset: 3px;
}

/* Zoom-in icon overlay (visual hint that this is clickable) */
.w-lb-hero-frame::after {
  content: '';
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3Cline x1='11' y1='8' x2='11' y2='14'%3E%3C/line%3E%3Cline x1='8' y1='11' x2='14' y2='11'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.w-lb-hero-frame:hover::after,
.w-lb-hero-frame:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

/* ── Aspect-Ratio Adaptations ─────────────────────────────────────── */
/* Ultra-wide (>= 2.5:1): show full width, no height cap */
.w-lb-hero-frame[data-ar="ultra-wide"] {
  max-height: none;
}
.w-lb-hero-frame[data-ar="ultra-wide"] img {
  width: 100%;
  max-height: none;
  height: auto;
}

/* Ultra-portrait (<= 0.55:1): cap visible height, hint that more is below */
.w-lb-hero-frame[data-ar="ultra-portrait"] {
  max-height: 60vh;
}
.w-lb-hero-frame[data-ar="ultra-portrait"] img {
  max-height: 60vh;
  width: auto;
  /* Crop at bottom — top portion is more important (shows nav, status) */
  object-position: top center;
}
/* Visual hint that image continues beyond visible area */
.w-lb-hero-frame[data-ar="ultra-portrait"]::before {
  content: '↓ ' attr(data-fullhint);
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.7);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  white-space: nowrap;
}

/* ── Thumbnail Strip ──────────────────────────────────────────────── */
.w-lb-thumbs {
  display: flex;
  gap: var(--space-3);
  margin: 0 var(--space-8) var(--space-4);
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: var(--space-2);
  scrollbar-width: thin;
  scrollbar-color: var(--border-default) transparent;
  /* Smooth horizontal scroll on mobile */
  -webkit-overflow-scrolling: touch;
}
.w-lb-thumbs::-webkit-scrollbar { height: 6px; }
.w-lb-thumbs::-webkit-scrollbar-track { background: transparent; }
.w-lb-thumbs::-webkit-scrollbar-thumb {
  background: var(--border-default);
  border-radius: 3px;
}
.w-lb-thumbs::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }

/* Hide thumbnail strip if there's only one screenshot (no choice to make) */
.w-lb-thumbs:empty {
  display: none;
}

.w-lb-thumb {
  flex-shrink: 0;
  width: 110px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  cursor: pointer;
  position: relative;
  padding: 0;
  /* Default frame glow vars (overridden by [data-glow]) */
  --frame-glow-color: var(--border-strong);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  /* a11y + touch */
  touch-action: manipulation;
  font: inherit;
  color: inherit;
}
.w-lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.w-lb-thumb:hover {
  transform: translateY(-2px);
  border-color: var(--frame-glow-color);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35),
              0 0 0 1px var(--frame-glow-color);
}
/* Focus-visible: keyboard a11y */
.w-lb-thumb:focus-visible {
  outline: 3px solid var(--frame-glow-color);
  outline-offset: 2px;
}
/* Active state — dual signal (border + ring), not color-only */
.w-lb-thumb.is-active {
  border-color: var(--frame-glow-color);
  box-shadow: 0 0 0 2px var(--frame-glow-color);
}
.w-lb-thumb.is-active::after {
  /* Visible checkmark for color-not-only (UI/UX-Pro-Max: color-not-only) */
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--frame-glow-color);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Feature-Color Glow Mapping (set on .w-lightbox-scroll) ──────── */
/* Gold: gamification, rewards */
.w-lightbox-scroll[data-glow="gold"] .w-lb-hero-frame,
.w-lightbox-scroll[data-glow="gold"] .w-lb-thumb {
  --frame-glow-color: rgba(201, 168, 76, 0.55);
  --frame-glow-soft:  rgba(201, 168, 76, 0.25);
}

/* Cyan: tasks, routines, safety */
.w-lightbox-scroll[data-glow="cyan"] .w-lb-hero-frame,
.w-lightbox-scroll[data-glow="cyan"] .w-lb-thumb {
  --frame-glow-color: rgba(0, 229, 255, 0.55);
  --frame-glow-soft:  rgba(0, 229, 255, 0.22);
}

/* Magenta: punishments, connections, dom dashboard */
.w-lightbox-scroll[data-glow="magenta"] .w-lb-hero-frame,
.w-lightbox-scroll[data-glow="magenta"] .w-lb-thumb {
  --frame-glow-color: rgba(255, 45, 123, 0.55);
  --frame-glow-soft:  rgba(255, 45, 123, 0.25);
}

/* Violet: chastity, contracts, mantras, journal */
.w-lightbox-scroll[data-glow="violet"] .w-lb-hero-frame,
.w-lightbox-scroll[data-glow="violet"] .w-lb-thumb {
  --frame-glow-color: rgba(168, 85, 247, 0.55);
  --frame-glow-soft:  rgba(168, 85, 247, 0.25);
}

/* Permanent subtle glow on hero (always visible, intensifies on hover/focus) */
.w-lightbox-scroll[data-glow] .w-lb-hero-frame {
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 0 0 1px var(--frame-glow-color),
    0 0 18px var(--frame-glow-soft);
}

/* ── Mobile Adaptations ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .w-lightbox-scroll.has-screenshots {
    max-width: 100%;
  }
  .w-lb-hero,
  .w-lb-thumbs {
    margin-left: var(--space-5);
    margin-right: var(--space-5);
  }
  .w-lb-hero-frame {
    max-height: 50vh;
  }
  .w-lb-hero-frame img {
    max-height: 50vh;
  }
  .w-lb-hero-frame[data-ar="ultra-portrait"] {
    max-height: 45vh;
  }
  .w-lb-hero-frame[data-ar="ultra-portrait"] img {
    max-height: 45vh;
  }
  .w-lb-thumb {
    width: 92px;
    height: 60px;
  }
  /* Hide hover-only zoom indicator on touch */
  .w-lb-hero-frame::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .w-lb-hero,
  .w-lb-thumbs {
    margin-left: var(--space-4);
    margin-right: var(--space-4);
  }
}

/* ── Reduced Motion (UI/UX-Pro-Max CRITICAL: reduced-motion) ─────── */
@media (prefers-reduced-motion: reduce) {
  .w-lb-hero-frame,
  .w-lb-hero-frame::after,
  .w-lb-thumb {
    transition: none !important;
  }
  .w-lb-hero-frame:hover,
  .w-lb-thumb:hover {
    transform: none;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   PhotoSwipe v5 Customization (Image-Lightbox / Pattern C inner layer)
   Native lib brings: pinch-zoom, swipe-to-close, keyboard nav, a11y
   ══════════════════════════════════════════════════════════════════════ */

.pswp {
  --pswp-bg: rgba(8, 8, 12, 0.96);
  --pswp-placeholder-bg: var(--bg-surface);
  --pswp-root-z-index: 600;
  --pswp-icon-color: #ffffff;
  --pswp-icon-color-secondary: rgba(0, 0, 0, 0.5);
  --pswp-icon-stroke-color: rgba(255, 255, 255, 0.4);
  --pswp-icon-stroke-width: 2px;
  --pswp-error-text-color: var(--text-secondary);
}

/* Backdrop blur for premium feel */
.pswp__bg {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Counter: counter-only mode (per user request) — make it prominent */
.pswp__counter {
  font-family: var(--font-display, 'Outfit', system-ui, sans-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.95;
  margin-left: var(--space-5, 20px);
  margin-top: var(--space-4, 16px);
  background: rgba(0, 0, 0, 0.45);
  padding: 8px 16px;
  border-radius: 999px;
  height: auto;
  line-height: 1.4;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Top bar gradient for legibility */
.pswp__top-bar {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, transparent 100%);
}

/* Buttons — gentle hover */
.pswp__button {
  transition: opacity 0.2s ease;
}
.pswp__button:hover,
.pswp__button:focus {
  opacity: 1;
}
.pswp__button:hover .pswp__icn,
.pswp__button:focus-visible .pswp__icn {
  transform: scale(1.1);
}
.pswp__icn {
  transition: transform 0.2s ease;
}

/* Arrow buttons — visible & touch-friendly (60×100px well above 44 min) */
.pswp__button--arrow {
  width: 60px;
  height: 100px;
}
.pswp__button--arrow .pswp__icn {
  background: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  padding: 10px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Image — subtle radius */
.pswp__img {
  border-radius: 4px;
}

/* Reduced motion for PhotoSwipe interactions */
@media (prefers-reduced-motion: reduce) {
  .pswp__button,
  .pswp__icn {
    transition: none !important;
  }
}
