:root {
  --primary-red: #bf0d0d;   /* Hauptrot */
  --secondary-red: #d81b1b; /* etwas heller */
  --dark-red: #7f0909;      /* deutlich dunkler */
  --light-red: #f7cfcf;     /* sehr hell (Background/Glow) */

  --dark-bg: #0F172A;
  --card-bg: #1E293B;
  --border-color: #334155;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --success-green: #10B981;

  /* Option A: Alerts im gleichen Rotton */
  --danger-red: #bf0d0d;

  --accent-purple: #8B5CF6;
}

    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body {
      font-family: 'Inter', sans-serif;
      background-color: var(--dark-bg);
      color: var(--text-primary);
      min-height: 100vh;
      background-image: 
        radial-gradient(ellipse at top left, rgba(255, 0, 0, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at center, rgba(255, 51, 51, 0.05) 0%, transparent 70%);
    }
    
    .gradient-text {
      background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 50%, var(--accent-purple) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    
    .hero-gradient {
      background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
      border: 1px solid rgba(255, 0, 0, 0.2);
      backdrop-filter: blur(10px);
    }
    
    .card {
      background: rgba(30, 41, 59, 0.8);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
    }
    
    .card:hover {
      border-color: rgba(255, 0, 0, 0.4);
      box-shadow: 0 0 30px rgba(255, 0, 0, 0.15);
      transform: translateY(-2px);
    }
    
    .step-card {
      background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 28px;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }
    
    .step-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--primary-red), var(--accent-purple));
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    
    .step-card:hover::before {
      opacity: 1;
    }
    
    .step-card:hover {
      transform: translateY(-4px);
      border-color: rgba(255, 0, 0, 0.4);
      box-shadow: 0 20px 40px rgba(255, 0, 0, 0.15);
    }
    
    .step-number {
      width: 48px;
      height: 48px;
      background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
      border: 2px solid var(--secondary-red);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: white;
      font-size: 20px;
      box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
    }
    
    .active .step-number {
      background: linear-gradient(135deg, var(--secondary-red) 0%, var(--primary-red) 100%);
      box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
      animation: pulse-red 2s ease-in-out infinite;
    }
    
    @keyframes pulse-red {
      0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(255, 0, 0, 0.5); }
      50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(255, 0, 0, 0.7); }
    }
    
    .step-line {
      height: 2px;
      background: var(--border-color);
      position: relative;
      overflow: hidden;
    }
    
    .step-line::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 30%;
      background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
      animation: flow 3s ease-in-out infinite;
    }
    
    @keyframes flow {
      0% { left: -30%; }
      100% { left: 100%; }
    }
    
    .btn-primary {
      background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
      color: white;
      font-weight: 600;
      padding: 14px 36px;
      border-radius: 12px;
      transition: all 0.3s ease;
      display: inline-block;
      text-decoration: none;
      position: relative;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    }
    
    .btn-primary::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      transition: left 0.7s;
    }
    
    .btn-primary:hover::before {
      left: 100%;
    }
    
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 25px rgba(255, 0, 0, 0.4);
    }
    
    .btn-secondary {
      background: transparent;
      color: var(--primary-red);
      border: 2px solid var(--primary-red);
      font-weight: 600;
      padding: 12px 34px;
      border-radius: 12px;
      transition: all 0.3s ease;
      display: inline-block;
      text-decoration: none;
    }
    
    .btn-secondary:hover {
      background: rgba(255, 0, 0, 0.1);
      transform: translateY(-2px);
      box-shadow: 0 6px 25px rgba(255, 0, 0, 0.3);
      border-color: var(--secondary-red);
    }
    
    .alert-box {
      background: rgba(16, 185, 129, 0.1);
      border: 1px solid rgba(16, 185, 129, 0.3);
      border-radius: 12px;
      padding: 16px 20px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    
    .warning-box {
      background: rgba(239, 68, 68, 0.1);
      border: 1px solid rgba(239, 68, 68, 0.3);
      border-radius: 12px;
      padding: 16px 20px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    
    .code-display {
      background: linear-gradient(135deg, rgba(255, 0, 0, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
      border: 2px dashed rgba(255, 0, 0, 0.3);
      border-radius: 16px;
      padding: 32px;
      font-family: 'Courier New', monospace;
      font-size: 24px;
      text-align: center;
      color: var(--secondary-red);
      letter-spacing: 3px;
      position: relative;
      overflow: hidden;
    }
    
    .code-display::before {
      content: '';
      position: absolute;
      top: -2px;
      left: -2px;
      right: -2px;
      bottom: -2px;
      background: linear-gradient(45deg, var(--primary-red), transparent, var(--accent-purple));
      border-radius: 16px;
      opacity: 0;
      animation: glow-red 3s ease-in-out infinite;
      z-index: -1;
    }
    
    @keyframes glow-red {
      0%, 100% { opacity: 0; }
      50% { opacity: 0.4; }
    }
    
    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 20px;
      background: rgba(16, 185, 129, 0.1);
      border: 1px solid rgba(16, 185, 129, 0.3);
      border-radius: 24px;
      font-size: 13px;
      font-weight: 600;
      color: var(--success-green);
    }
    
    .status-dot {
      width: 8px;
      height: 8px;
      background: var(--success-green);
      border-radius: 50%;
      animation: pulse 2s ease-in-out infinite;
    }
    
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(1.2); }
    }
    
    .feature-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 16px;
      margin: 24px 0;
    }
    
    .feature-item {
      background: rgba(255, 0, 0, 0.05);
      border: 1px solid rgba(255, 0, 0, 0.2);
      border-radius: 12px;
      padding: 16px;
      transition: all 0.3s ease;
      text-align: center;
    }
    
    .feature-item:hover {
      background: rgba(255, 0, 0, 0.1);
      border-color: rgba(255, 0, 0, 0.4);
      transform: translateY(-2px);
    }
    
    .icon {
      width: 24px;
      height: 24px;
      stroke: var(--primary-red);
      stroke-width: 2;
    }
    
    .check-icon {
      width: 20px;
      height: 20px;
      stroke: var(--success-green);
      stroke-width: 3;
    }
    
    .nav-header {
      background: rgba(15, 23, 42, 0.8);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border-color);
      position: sticky;
      top: 0;
      z-index: 100;
    }
    
    .logo {
      font-size: 24px;
      font-weight: 800;
      background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    
    .feature-card {
      background: rgba(30, 41, 59, 0.6);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 32px;
      text-align: center;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }
    
    .feature-card::after {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    
    .feature-card:hover::after {
      opacity: 1;
    }
    
    .feature-card:hover {
      transform: translateY(-4px);
      border-color: rgba(255, 0, 0, 0.4);
      box-shadow: 0 20px 40px rgba(255, 0, 0, 0.15);
    }
    
    
    /* Mobile: kleinere Schrift im Footer */
@media (max-width: 640px) {
  .border-t.border-gray-800 .text-sm {
    font-size: 0.75rem;   /* 12px */
    line-height: 1rem;
  }

  .border-t.border-gray-800 .text-xs {
    font-size: 0.6875rem; /* 11px */
    line-height: 0.95rem;
  }
  .btn-primary svg {
    width: 26px;
    height: 26px;
  }
}


/* Smooth Modal */
.psz-modal[hidden] { display: none; }

.psz-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 16px;
}

.psz-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .25s ease;
}

.psz-modal__panel{
  position: relative;
  width: min(520px, 100%);
  border-radius: 18px;
  border: 1px solid var(--border-color);
  background: rgba(30, 41, 59, 0.88);
  backdrop-filter: blur(12px);
  padding: 26px 22px 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);

  transform: translateY(14px) scale(.96);
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
}

/* Open State */
.psz-modal.is-open .psz-modal__backdrop{ opacity: 1; }
.psz-modal.is-open .psz-modal__panel{
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Text */
.psz-modal__title{
  margin-top: 12px;
  font-weight: 800;
  font-size: 22px;
  color: var(--text-primary);
  text-align: center;
}

.psz-modal__text{
  margin-top: 8px;
  color: var(--text-secondary);
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
}

.psz-modal__actions{
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

/* Animated green check */
.psz-modal__icon{
  width: 76px;
  height: 76px;
  margin: 0 auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  transform: scale(.9);
}

.psz-check{ width: 46px; height: 46px; }

.psz-check__circle,
.psz-check__tick{
  fill: none;
  stroke: #10B981;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.psz-modal.is-open .psz-modal__icon{
  animation: psz-pop .45s cubic-bezier(.2,1.2,.3,1) forwards;
}

.psz-modal.is-open .psz-check__circle{
  animation: psz-draw .55s ease forwards;
}

.psz-modal.is-open .psz-check__tick{
  animation: psz-draw .35s ease .20s forwards;
}

@keyframes psz-draw { to { stroke-dashoffset: 0; } }
@keyframes psz-pop{
  0%{ transform: scale(.85); }
  60%{ transform: scale(1.08); }
  100%{ transform: scale(1); }
}

@media (prefers-reduced-motion: reduce){
  .psz-modal__backdrop, .psz-modal__panel{ transition: none; }
  .psz-modal__icon{ animation: none; transform: none; }
  .psz-check__circle, .psz-check__tick{ animation: none; stroke-dashoffset: 0; }
}

/* FIX: Buttons mit Icon wirklich als Flex rendern (überschreibt inline-block) */
a.btn-primary, button.btn-primary,
a.btn-secondary, button.btn-secondary{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1.2; /* verhindert komische Vertikal-Offsets */
}

/* SVG-Icon sauber zentrieren */
a.btn-primary svg, button.btn-primary svg,
a.btn-secondary svg, button.btn-secondary svg{
  display: block;
  flex-shrink: 0;
}

/* Falls es minimal immer noch “hoch” wirkt: 1px nach unten */
a.btn-primary svg, button.btn-primary svg,
a.btn-secondary svg, button.btn-secondary svg{
  transform: translateY(1px);
}

