/**
 * Vokal-Netzwerk Bayern & Antonia Scheugenpflug
 * High-Definition Luxury Design System (HD-LDS)
 * Version: 1.0.0 (2026/2027)
 * 
 * Wiederverwendbare High-Definition Komponenten für alle Webseiten,
 * Satelliten, Portale und Print-Factsheets.
 */

/* ==========================================================================
   1. CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
  /* Metallic Gold Palette */
  --hd-gold-primary: #c5a059;
  --hd-gold-light: #f3dfb2;
  --hd-gold-hover: #dfb76c;
  --hd-gold-dark: #8c6316;
  --hd-gold-deep: #5e430e;
  --hd-gold-soft: #fcf9f2;
  --hd-gold-border: rgba(197, 160, 89, 0.32);
  --hd-gold-glow: 0 0 25px rgba(197, 160, 89, 0.22);
  --hd-gold-metallic: linear-gradient(135deg, #c5a059 0%, #fef3d6 35%, #dfb76c 70%, #8c6316 100%);
  --hd-gold-metallic-subtle: linear-gradient(135deg, rgba(197,160,89,0.12) 0%, rgba(254,243,214,0.25) 50%, rgba(140,99,22,0.1) 100%);

  /* High-Contrast Slate & Neutral Palette */
  --hd-slate-950: #090d16;
  --hd-slate-900: #0f172a;
  --hd-slate-800: #1e293b;
  --hd-slate-700: #334155;
  --hd-slate-600: #475569;
  --hd-slate-500: #64748b;
  --hd-slate-400: #94a3b8;
  --hd-slate-200: #e2e8f0;
  --hd-slate-100: #f1f5f9;
  --hd-slate-50: #f8fafc;
  
  /* Semantic Accents */
  --hd-emerald-600: #059669;
  --hd-emerald-50: #ecfdf5;
  --hd-emerald-border: rgba(5, 150, 105, 0.3);
  --hd-rose-600: #e11d48;
  --hd-rose-50: #fff1f2;
  --hd-rose-border: rgba(225, 29, 72, 0.25);

  /* Typography */
  --hd-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --hd-font-serif: 'Playfair Display', Georgia, serif;
  --hd-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Elevation & Glassmorphism */
  --hd-surface: #ffffff;
  --hd-surface-soft: #fcfbf9;
  --hd-glass-bg: rgba(255, 255, 255, 0.92);
  --hd-glass-border: rgba(197, 160, 89, 0.22);
  --hd-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --hd-shadow-sm: 0 4px 10px rgba(15, 23, 42, 0.04);
  --hd-shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --hd-shadow-lg: 0 20px 35px -10px rgba(197, 160, 89, 0.16), 0 10px 20px -5px rgba(0, 0, 0, 0.04);
  --hd-shadow-luxury: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 20px rgba(197, 160, 89, 0.15);

  /* Radius */
  --hd-radius-sm: 8px;
  --hd-radius-md: 14px;
  --hd-radius-lg: 20px;
  --hd-radius-pill: 9999px;

  /* Transitions */
  --hd-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --hd-transition: all 0.28s var(--hd-ease);
}

/* ==========================================================================
   2. HIGH-DEFINITION SEALS & WAX BADGES
   ========================================================================== */
.hd-seal-container {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hd-seal-gold {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--hd-gold-metallic);
  padding: 3px;
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  user-select: none;
}

.hd-seal-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #f9f5ea 70%, #edd9b1 100%);
  border: 1px dashed var(--hd-gold-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--hd-gold-dark);
  text-align: center;
  line-height: 1;
}

.hd-seal-inner svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.hd-seal-inner span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

.hd-seal-text {
  display: flex;
  flex-direction: column;
}

.hd-seal-title {
  font-family: var(--hd-font-sans);
  font-weight: 800;
  font-size: 13px;
  color: var(--hd-slate-900);
  line-height: 1.25;
}

.hd-seal-sub {
  font-size: 11px;
  color: var(--hd-slate-500);
  font-weight: 500;
}

/* ==========================================================================
   3. SHIMMER TRUST BADGES & STATUS PILLS
   ========================================================================== */
.hd-badge-shimmer {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--hd-radius-pill);
  background: #ffffff;
  border: 1px solid var(--hd-gold-border);
  color: var(--hd-gold-dark);
  font-family: var(--hd-font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.12);
  overflow: hidden;
}

.hd-badge-shimmer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transform: skewX(-20deg);
  animation: hdShimmerSweep 3.5s infinite;
}

@keyframes hdShimmerSweep {
  0% { left: -100%; }
  35% { left: 160%; }
  100% { left: 160%; }
}

.hd-badge-shimmer svg {
  width: 14px;
  height: 14px;
  fill: var(--hd-gold-primary);
  flex-shrink: 0;
}

.hd-monopoly-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--hd-radius-pill);
  background: var(--hd-emerald-50);
  border: 1px solid var(--hd-emerald-border);
  color: var(--hd-emerald-600);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hd-monopoly-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--hd-emerald-600);
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.5);
  animation: hdPulse 2s infinite;
}

@keyframes hdPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.hd-exclusive-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--hd-radius-pill);
  background: var(--hd-gold-metallic);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* ==========================================================================
   4. HIGH-DEFINITION METRIC & KPI CARDS (BENTO STYLE)
   ========================================================================== */
.hd-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.hd-kpi-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--hd-slate-200);
  border-radius: var(--hd-radius-md);
  padding: 22px 20px;
  box-shadow: var(--hd-shadow-sm);
  transition: var(--hd-transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hd-kpi-card:hover {
  transform: translateY(-2px);
  border-color: var(--hd-gold-primary);
  box-shadow: var(--hd-shadow-md), var(--hd-gold-glow);
}

.hd-kpi-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--hd-gold-metallic);
  opacity: 0.85;
}

.hd-kpi-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.hd-kpi-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hd-slate-500);
}

.hd-kpi-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--hd-gold-soft);
  border: 1px solid var(--hd-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hd-gold-dark);
  font-size: 13px;
}

.hd-kpi-metric-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.hd-kpi-metric {
  font-family: var(--hd-font-sans);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hd-slate-900);
  line-height: 1;
}

.hd-kpi-trend {
  font-size: 11px;
  font-weight: 700;
  color: var(--hd-emerald-600);
  background: var(--hd-emerald-50);
  padding: 2px 6px;
  border-radius: 4px;
}

.hd-kpi-desc {
  font-size: 11.5px;
  color: var(--hd-slate-600);
  line-height: 1.45;
}

/* ==========================================================================
   5. COMPARISON & MATRIX CARDS
   ========================================================================== */
.hd-matrix-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1.5px solid var(--hd-slate-200);
  border-radius: var(--hd-radius-md);
  background: #ffffff;
  box-shadow: var(--hd-shadow-sm);
  margin: 24px 0;
}

.hd-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--hd-font-sans);
  text-align: left;
  font-size: 13px;
}

.hd-matrix-table th,
.hd-matrix-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--hd-slate-200);
}

.hd-matrix-table th {
  background: var(--hd-slate-50);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hd-slate-600);
}

.hd-matrix-table th.highlight-col,
.hd-matrix-table td.highlight-col {
  background: rgba(197, 160, 89, 0.06);
  border-left: 2px solid var(--hd-gold-primary);
  border-right: 2px solid var(--hd-gold-primary);
}

.hd-matrix-table tr:last-child td {
  border-bottom: none;
}

.hd-matrix-badge-free {
  display: inline-block;
  background: var(--hd-gold-metallic);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: var(--hd-radius-pill);
  font-weight: 800;
  font-size: 11px;
}

.hd-matrix-badge-cross {
  color: var(--hd-rose-600);
  font-weight: 700;
  font-size: 12px;
}

/* ==========================================================================
   6. STEP-BY-STEP PROCESS TIMELINE
   ========================================================================== */
.hd-steps-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  margin: 30px 0;
}

@media (max-width: 768px) {
  .hd-steps-track {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.hd-step-node {
  background: #ffffff;
  border: 1.5px solid var(--hd-slate-200);
  border-radius: var(--hd-radius-md);
  padding: 24px 20px;
  position: relative;
  transition: var(--hd-transition);
  box-shadow: var(--hd-shadow-sm);
}

.hd-step-node:hover {
  border-color: var(--hd-gold-primary);
  transform: translateY(-2px);
  box-shadow: var(--hd-shadow-md);
}

.hd-step-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--hd-gold-metallic);
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.35);
}

.hd-step-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--hd-slate-900);
  margin-bottom: 6px;
}

.hd-step-text {
  font-size: 12.5px;
  color: var(--hd-slate-600);
  line-height: 1.5;
}

/* ==========================================================================
   7. DOMAIN FLEET MATRIX & PILLS
   ========================================================================== */
.hd-fleet-matrix {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.hd-fleet-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--hd-radius-pill);
  background: var(--hd-slate-50);
  border: 1px solid var(--hd-slate-200);
  font-family: var(--hd-font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--hd-slate-700);
  text-decoration: none;
  transition: var(--hd-transition);
}

.hd-fleet-pill:hover {
  border-color: var(--hd-gold-primary);
  background: var(--hd-gold-soft);
  color: var(--hd-gold-dark);
}

.hd-fleet-pill.active-fleet {
  border-color: rgba(197, 160, 89, 0.4);
  background: #ffffff;
}

.hd-fleet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hd-gold-primary);
}

/* ==========================================================================
   8. LUXURY BUTTONS & CONVERSION CARDS
   ========================================================================== */
.hd-btn-luxury {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--hd-radius-pill);
  background: var(--hd-gold-metallic);
  color: #ffffff;
  font-family: var(--hd-font-sans);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.35);
  transition: var(--hd-transition);
  overflow: hidden;
}

.hd-btn-luxury:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(197, 160, 89, 0.45);
}

.hd-btn-luxury::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: 0.6s;
}

.hd-btn-luxury:hover::before {
  left: 150%;
}

.hd-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--hd-radius-pill);
  background: #ffffff;
  border: 1.5px solid var(--hd-slate-200);
  color: var(--hd-slate-800);
  font-family: var(--hd-font-sans);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--hd-transition);
}

.hd-btn-secondary:hover {
  border-color: var(--hd-gold-primary);
  color: var(--hd-gold-dark);
  background: var(--hd-gold-soft);
}

/* VIP Conversion Box */
.hd-vip-card {
  background: radial-gradient(circle at top left, #ffffff 0%, var(--hd-gold-soft) 100%);
  border: 2px solid var(--hd-gold-primary);
  border-radius: var(--hd-radius-lg);
  padding: 32px;
  box-shadow: var(--hd-shadow-lg);
  margin: 36px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

/* ==========================================================================
   9. GLASSY OSWAP & 3D LAYER DEPTH ENGINE (OPTICAL SWAP)
   ========================================================================== */
.hd-glass-oswap,
.hd-glass-oswap-active {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: transform 0.15s ease-out, box-shadow 0.25s ease;
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

/* Specular Glass Glare / Spotlight Refraction */
.hd-glass-oswap-active::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    circle 260px at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.45) 0%,
    rgba(223, 183, 108, 0.20) 35%,
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
  mix-blend-mode: overlay;
}

.hd-glass-oswap-active:hover::before {
  opacity: 1;
}

/* Dynamic Optical Swap Border ("Oswap") */
.hd-glass-oswap-active::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(
    calc(var(--tilt-y, 0deg) * 12 + 135deg),
    rgba(255, 255, 255, 0.85) 0%,
    rgba(197, 160, 89, 0.95) 35%,
    rgba(140, 99, 22, 0.4) 70%,
    rgba(255, 255, 255, 0.75) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  z-index: 11;
}

.hd-glass-oswap-active:hover::after {
  opacity: 1;
}

/* Dynamic Cursor-Responsive Shadow */
.hd-glass-oswap-active:hover {
  box-shadow: 
    calc(var(--tilt-y, 0deg) * -1.5) calc(var(--tilt-x, 0deg) * 1.5 + 14px) 32px rgba(15, 23, 42, 0.10),
    0 0 25px rgba(197, 160, 89, 0.22);
}

/* 3-Layer Spatial Z-Separation on Hover */
.hd-glass-oswap-active .hd-kpi-header,
.hd-glass-oswap-active .hd-step-badge,
.hd-glass-oswap-active .hd-oswap-layer-1 {
  transform: translateZ(16px);
  transition: transform 0.25s var(--hd-ease);
}

.hd-glass-oswap-active .hd-kpi-metric-wrap,
.hd-glass-oswap-active .hd-step-title,
.hd-glass-oswap-active .hd-kpi-icon,
.hd-glass-oswap-active .hd-oswap-layer-2 {
  transform: translateZ(28px);
  transition: transform 0.25s var(--hd-ease);
}

.hd-glass-oswap-active .hd-kpi-trend,
.hd-glass-oswap-active .hd-step-text,
.hd-glass-oswap-active .hd-oswap-layer-3 {
  transform: translateZ(42px);
  transition: transform 0.25s var(--hd-ease);
}

/* Specialized 3-Layer Icon Box with Optical Hover Shimmer */
.hd-icon-oswap-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #faf8f2 100%);
  border: 1.5px solid var(--hd-gold-border);
  border-radius: var(--hd-radius-md);
  box-shadow: var(--hd-shadow-sm);
  transition: all 0.35s var(--hd-ease);
  transform-style: preserve-3d;
  cursor: pointer;
  overflow: hidden;
}

.hd-icon-oswap-box:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: var(--hd-gold-primary);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08), 0 0 20px rgba(197, 160, 89, 0.3);
}

.hd-icon-oswap-box img,
.hd-icon-oswap-box svg {
  transition: transform 0.35s var(--hd-ease), filter 0.35s ease;
  transform: translateZ(20px);
}

.hd-icon-oswap-box:hover img,
.hd-icon-oswap-box:hover svg {
  transform: translateZ(35px) scale(1.1);
  filter: drop-shadow(0 6px 14px rgba(197, 160, 89, 0.45));
}

/* Diagonal Glass Optical Sweep across Icon Box */
.hd-icon-oswap-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-25deg);
  transition: 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 5;
  pointer-events: none;
}

.hd-icon-oswap-box:hover::before {
  left: 170%;
}

@media (prefers-reduced-motion: reduce) {
  .hd-glass-oswap,
  .hd-glass-oswap-active {
    transform: none !important;
  }
}

/* ==========================================================================
   10. HIGH-DPI PRINT STYLESHEET (300 DPI VECTOR EXPORT)
   ========================================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 12mm 10mm;
  }
  
  body {
    background: #ffffff !important;
    color: #111827 !important;
    padding: 0 !important;
    font-size: 11pt !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .no-print,
  .hd-no-print {
    display: none !important;
  }

  .hd-kpi-card,
  .hd-step-node,
  .hd-matrix-table-wrap,
  .hd-vip-card {
    box-shadow: none !important;
    border: 1px solid #cbd5e1 !important;
    page-break-inside: avoid;
  }

  .hd-seal-gold {
    box-shadow: none !important;
    border: 1px solid var(--hd-gold-dark) !important;
  }

  a {
    color: inherit !important;
    text-decoration: none !important;
  }
}
