/* ==========================================================================
   avaris/IT AG - Corporate Design System & Stylesheet
   Identity: Authentic avaris Look (Clean Swiss MSP Modernity)
   Rechtschreibung: Schweizer Rechtschreibung (kein "ß", nur "ss")
   ========================================================================== */

:root {
  --purple: #522583;
  --purple-hover: #401b67;
  --purple-light: rgba(82, 37, 131, 0.08);
  --purple-glow: rgba(82, 37, 131, 0.18);
  
  --d-purple: #2c1d48;
  --d-purple-hover: #221638;
  
  --red: #d5102f;
  --red-hover: #b80a25;
  --red-light: rgba(213, 16, 47, 0.08);
  
  --bg-page: #f8f8fb;
  --bg-surface: #ffffff;
  --bg-muted: #f3f2f7;
  
  --text-title: #2c1d48;
  --text-body: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-light: #e6e4ed;
  --border-medium: #d4d0e0;
  
  --success: #059669;
  --success-bg: #ecfdf5;
  --success-border: #a7f3d0;
  
  --warning: #d97706;
  --warning-bg: #fffbeb;
  --warning-border: #fde68a;
  
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  
  --shadow-sm: 0 2px 6px rgba(44, 29, 72, 0.04);
  --shadow-md: 0 8px 24px rgba(44, 29, 72, 0.08);
  --shadow-lg: 0 16px 40px rgba(44, 29, 72, 0.12);
  
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, Monaco, monospace;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ==========================================================================
   Header (Authentic avaris Style - Responsive)
   ========================================================================== */
.avaris-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(44, 29, 72, 0.04);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.avaris-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.header-separator {
  height: 24px;
  width: 1px;
  background-color: var(--border-light);
}

.header-tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--d-purple);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.header-tag span {
  color: var(--red);
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-lead-inbox {
  background: var(--purple-light);
  color: var(--purple);
  border: 1px solid var(--purple);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.btn-lead-inbox:hover {
  background: var(--purple);
  color: #ffffff;
}

.lead-count-badge {
  background: var(--red);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 10px;
}

@media (max-width: 640px) {
  .header-separator, .header-tag {
    display: none;
  }
}

/* Tab Switcher */
.module-switcher {
  display: flex;
  background: var(--bg-muted);
  padding: 0.3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  gap: 0.3rem;
}

.module-btn {
  background: transparent;
  border: none;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  text-decoration: none;
}

.module-btn:hover {
  color: var(--d-purple);
}

.module-btn.active {
  background: var(--purple);
  color: #ffffff;
  box-shadow: 0 3px 12px var(--purple-glow);
}

@media (max-width: 860px) {
  .header-container {
    flex-direction: column;
    align-items: stretch;
  }
  .header-left {
    justify-content: space-between;
  }
  .module-switcher {
    width: 100%;
  }
  .module-btn {
    flex: 1;
    justify-content: center;
    padding: 0.6rem 0.75rem;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   Main Container & Hero
   ========================================================================== */
.main-wrapper {
  max-width: 1280px;
  width: 100%;
  margin: 1.8rem auto 3rem;
  padding: 0 1.5rem;
  flex: 1;
}

@media (max-width: 640px) {
  .main-wrapper {
    padding: 0 1rem;
    margin-top: 1.2rem;
  }
}

.module-content {
  display: none;
  animation: slideFadeIn 0.25s ease-out forwards;
}

.module-content.active {
  display: block;
}

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

/* Hero Section */
.hero-banner {
  background: linear-gradient(135deg, var(--d-purple) 0%, var(--purple) 85%, #6a2ea6 100%);
  border-radius: var(--radius-md);
  padding: 2.2rem 2.4rem;
  color: #ffffff;
  margin-bottom: 1.8rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(44, 29, 72, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-banner::after {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 16, 47, 0.3) 0%, rgba(82, 37, 131, 0) 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 1.8s infinite;
}

.hero-title {
  font-size: clamp(1.45rem, 3.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 0.65rem;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.hero-desc {
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  color: #ede9f6;
  max-width: 820px;
  line-height: 1.62;
  margin: 0 0 1.2rem 0;
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.2s ease;
}

.trust-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .hero-banner {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-sm);
  }
  .hero-title {
    font-size: 1.5rem;
    line-height: 1.25;
  }
  .hero-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1rem;
  }
  .hero-trust-pills {
    gap: 0.4rem;
  }
  .trust-pill {
    font-size: 0.72rem;
    padding: 0.25rem 0.55rem;
  }
}

/* ==========================================================================
   Two-Column Grid Layout
   ========================================================================== */
.panel-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 1.8rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .panel-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Cards */
.avaris-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
  min-width: 0;
  overflow: hidden;
}

.avaris-card:hover {
  box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
  .avaris-card {
    padding: 1.25rem;
  }
}

.card-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--d-purple);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bg-muted);
  padding-bottom: 0.75rem;
}

/* ==========================================================================
   Modul 1: Seductive Scanner Console & Input Elements
   ========================================================================== */
.scanner-card {
  border-top: 4px solid var(--purple) !important;
  position: relative;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite;
}

.scanner-input-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.scanner-input-icon {
  position: absolute;
  left: 1rem;
  font-size: 1.15rem;
  pointer-events: none;
  opacity: 0.65;
  z-index: 2;
}

.scanner-input-field {
  padding-left: 2.85rem !important;
  min-height: 52px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border: 2px solid #cbd5e1 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: var(--d-purple) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.scanner-input-field:focus {
  border-color: var(--purple) !important;
  box-shadow: 0 0 0 4px var(--purple-light) !important;
  outline: none !important;
}

.field-help-seduce {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.45rem;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}

.field-help-seduce .help-bullet {
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.btn-scan-action {
  min-height: 52px !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, var(--red) 0%, #b80d27 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 20px rgba(213, 16, 47, 0.28) !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
}

.btn-scan-action:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 26px rgba(213, 16, 47, 0.4) !important;
  background: linear-gradient(135deg, #e61435 0%, #9e0b21 100%) !important;
}

.btn-scan-action .btn-scan-arrow {
  transition: transform 0.2s ease;
  display: inline-block;
  font-size: 1.1rem;
}

.btn-scan-action:hover .btn-scan-arrow {
  transform: translateX(4px);
}

.scan-micro-guarantees {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1.1rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border-light);
}

.micro-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: #475569;
  font-weight: 500;
}

.micro-check {
  color: #059669;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ==========================================================================
   Interactive Radar & Preview Placeholder
   ========================================================================== */
.scanner-placeholder-box {
  text-align: center;
  padding: 2rem 1.2rem;
}

.radar-scan-animation {
  position: relative;
  width: 68px;
  height: 68px;
  margin: 0 auto 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-icon-box {
  font-size: 2.2rem;
  position: relative;
  z-index: 2;
}

.radar-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--purple-light);
  animation: radarPulse 2.4s ease-out infinite;
}

.placeholder-title {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--d-purple);
  margin-bottom: 0.4rem;
}

.placeholder-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 1.4rem;
  line-height: 1.5;
}

.preview-pillars-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  text-align: left;
  margin-bottom: 1.4rem;
}

@media (max-width: 640px) {
  .preview-pillars-mini {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

.mini-pillar {
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mini-pillar:hover {
  transform: translateY(-1px);
  border-color: var(--purple);
}

.mini-pillar-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  line-height: 1.2;
  margin-top: 1px;
}

.mini-pillar-info strong {
  display: block;
  font-size: 0.82rem;
  color: var(--d-purple);
  margin-bottom: 2px;
  font-weight: 700;
}

.mini-pillar-info span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.placeholder-callout {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #f5f3f9;
  border: 1px solid #e2daf0;
  color: var(--purple);
  padding: 0.45rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes radarPulse {
  0% { transform: scale(0.85); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 0.3; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ==========================================================================
   Form Controls
   ========================================================================== */
.form-field {
  margin-bottom: 1.2rem;
}

.field-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 0.4rem;
}

.field-input, .field-select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--d-purple);
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.field-input:focus, .field-select:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-light);
}

.field-help {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.4;
}

/* Slider Controls */
.slider-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slider-input {
  flex: 1;
  accent-color: var(--purple);
  cursor: pointer;
}

.slider-value-display {
  font-weight: 700;
  color: var(--d-purple);
  font-size: 1rem;
  min-width: 70px;
  text-align: right;
}

/* Preset Buttons */
.preset-button-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.preset-btn {
  background: var(--bg-muted);
  border: 1.5px solid var(--border-light);
  padding: 0.55rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-title);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
  line-height: 1.3;
}

.preset-btn:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.preset-btn.active {
  background: var(--purple-light);
  border-color: var(--purple);
  color: var(--purple);
}

/* Feature Checkboxes */
.feature-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.feature-check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-body);
  cursor: pointer;
}

.feature-check-item input[type="checkbox"] {
  accent-color: var(--purple);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Buttons */
.btn-avaris-primary {
  background: var(--purple);
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 14px var(--purple-glow);
}

.btn-avaris-primary:hover {
  background: var(--d-purple);
  transform: translateY(-1px);
}

.btn-avaris-outline {
  background: #ffffff;
  color: var(--purple);
  border: 1.5px solid var(--purple);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.3rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-avaris-outline:hover {
  background: var(--purple);
  color: #ffffff;
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.82rem;
}

/* Quick Tags */
.quick-domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.q-tag {
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.28rem 0.6rem;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.q-tag:hover {
  background: var(--purple-light);
  color: var(--purple);
  border-color: var(--purple);
}

/* ==========================================================================
   Results / Teaser Score Presentation
   ========================================================================== */
.score-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.4rem;
  border: 1.5px solid;
  min-width: 0;
}

@media (max-width: 640px) {
  .score-banner {
    flex-direction: column;
    text-align: center;
    gap: 0.9rem;
    padding: 1.1rem;
  }
}

.score-banner.danger {
  background: var(--danger-bg);
  border-color: var(--danger-border);
}

.score-banner.warning {
  background: var(--warning-bg);
  border-color: var(--warning-border);
}

.score-banner.success {
  background: var(--success-bg);
  border-color: var(--success-border);
}

.score-badge-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  color: #ffffff;
}

.score-badge-circle.danger { background: var(--danger); }
.score-badge-circle.warning { background: var(--warning); }
.score-badge-circle.success { background: var(--success); }

.score-badge-circle .num {
  font-size: 1.65rem;
  line-height: 1;
}

.score-badge-circle .sub {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.score-info {
  min-width: 0;
  flex: 1;
  word-break: break-word;
  overflow-wrap: break-word;
}

.score-info h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--d-purple);
  margin-bottom: 0.3rem;
  line-height: 1.35;
}

.score-info p {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.45;
  margin: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Teaser Alarm Box (Öffentlicher Schmerzpunkt) */
.teaser-alert-card {
  background: linear-gradient(135deg, #fff5f5 0%, #fffbfb 100%);
  border: 1.5px solid var(--danger-border);
  border-left: 5px solid var(--red);
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.teaser-alert-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--danger);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.teaser-alert-desc {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.55;
}

/* ==========================================================================
   LEAD-GATE & GATED CONTENT (Das Herzstück für Leads)
   ========================================================================== */
.gated-container {
  position: relative;
  margin-top: 1.5rem;
}

/* Blur-Effekt auf gesperrtem Inhalt */
.gated-content-locked {
  filter: blur(5px);
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
  transition: all 0.4s ease;
}

.gated-content-locked.unlocked {
  filter: none;
  opacity: 1;
  pointer-events: auto;
  user-select: auto;
}

/* Das Lead-Capture-Formular (Im Fokus über dem verschwommenen Bereich) */
.lead-gate-card {
  background: #ffffff;
  border: 2px solid var(--purple);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 12px 36px rgba(82, 37, 131, 0.2);
  margin-bottom: 1.8rem;
  position: relative;
  z-index: 10;
  animation: slideFadeIn 0.3s ease-out forwards;
}

@media (max-width: 640px) {
  .lead-gate-card {
    padding: 1.4rem 1.2rem;
  }
}

.lead-gate-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.lead-gate-badge {
  display: inline-block;
  background: var(--purple-light);
  color: var(--purple);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

.lead-gate-title {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: var(--d-purple);
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.lead-gate-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 680px) {
  .lead-form-grid {
    grid-template-columns: 1fr;
  }
}

.lead-success-message {
  display: none;
  background: #f0fdf4;
  border: 2px solid var(--success-border);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(5, 150, 105, 0.08);
  animation: fadeIn 0.4s ease-out;
}

.success-icon-badge {
  width: 56px;
  height: 56px;
  background: var(--success);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem auto;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.25);
}

.success-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 0.6rem;
}

.success-note {
  font-size: 0.95rem;
  color: #065f46;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 1.4rem auto;
}

.success-trust-card {
  background: #ffffff;
  border: 1px solid var(--success-border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.trust-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.trust-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.trust-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-title);
  margin-bottom: 0.15rem;
}

.trust-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   Auto-Refresh 20-Sekunden Countdown Widget
   ========================================================================== */
.refresh-countdown-container {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  margin-top: 1.25rem;
  box-shadow: 0 2px 8px rgba(44, 29, 72, 0.04);
}

.countdown-bar-wrapper {
  height: 6px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.countdown-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--purple) 0%, var(--red) 100%);
  border-radius: 4px;
}

.countdown-text-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.84rem;
}

.countdown-label {
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.countdown-label strong {
  color: var(--d-purple);
  font-size: 0.95rem;
}

.pulse-clock {
  animation: pulseDot 1.5s infinite;
  display: inline-block;
}

.countdown-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-cancel-refresh {
  background: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-muted);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  font-size: 0.76rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cancel-refresh:hover {
  background: #f1f5f9;
  color: var(--d-purple);
}

.btn-refresh-now {
  background: var(--purple-light);
  border: 1px solid var(--purple);
  color: var(--purple);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-refresh-now:hover {
  background: var(--purple);
  color: #ffffff;
}

/* ==========================================================================
   Modul 2: Quick Cyber Security Awareness Test & Pistachio Practice
   ========================================================================== */
.awareness-stage-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.awareness-header-hud {
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
}

.awareness-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hud-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hud-category-badge.type-phish {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.hud-category-badge.type-train {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.hud-score-ticker {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hud-score-ticker strong {
  color: var(--purple);
  font-size: 1.05rem;
}

.awareness-progress-track {
  height: 6px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.awareness-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple) 0%, #10b981 100%);
  border-radius: 4px;
  transition: width 0.35s ease;
}

/* Szenario View Card */
.scenario-view-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.sc-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.sc-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.sc-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--d-purple);
  line-height: 1.3;
}

.sc-step-pill {
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.25rem 0.65rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Mockup Windows (Outlook, Workplace, SMS, Document) */
.sc-mockup-wrapper {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.email-mockup-window {
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.mockup-header-bar {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.45rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.mock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.mock-dot.red { background: #ef4444; }
.mock-dot.yellow { background: #f59e0b; }
.mock-dot.green { background: #10b981; }

.mock-title {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  margin-left: 0.35rem;
}

.mockup-email-meta {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.highlight-spoof {
  background: #fee2e2;
  color: #991b1b;
  padding: 1px 4px;
  border-radius: 3px;
  font-family: monospace;
}

.mockup-email-body {
  padding: 1.25rem 1.15rem;
  font-size: 0.88rem;
  color: #1e293b;
  line-height: 1.55;
}

.mock-btn-cta {
  display: inline-block;
  background: #d5102f;
  color: #ffffff;
  font-weight: 700;
  padding: 0.65rem 1.2rem;
  border-radius: 6px;
  font-size: 0.86rem;
  box-shadow: 0 2px 6px rgba(213, 16, 47, 0.25);
}

/* Workplace Incident Mockup */
.workplace-mockup-card {
  background: #f8fafc;
  padding: 1.4rem;
  text-align: center;
}

.incident-badge {
  display: inline-block;
  background: #ede9fe;
  color: #5b21b6;
  border: 1px solid #ddd6fe;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  margin-bottom: 0.85rem;
}

.incident-visual {
  margin: 0.6rem auto 1rem;
}

.usb-graphic {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border: 2px dashed #94a3b8;
  border-radius: 8px;
  padding: 0.85rem 1.4rem;
}

.usb-icon {
  font-size: 2.4rem;
}

.usb-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #1e293b;
  margin-top: 0.4rem;
  background: #fef08a;
  padding: 2px 8px;
  border-radius: 4px;
}

.incident-text {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.55;
  max-width: 540px;
  margin: 0 auto;
}

/* SMS Mockup */
.sms-mockup-bubble {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  max-width: 360px;
  margin: 0.6rem auto;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.sms-sender {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.sms-text {
  font-size: 0.88rem;
  color: #0f172a;
  line-height: 1.45;
}

.sms-time {
  font-size: 0.68rem;
  color: #94a3b8;
  text-align: right;
  margin-top: 0.4rem;
}

/* Question & Choices */
.sc-question-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
}

.sc-question-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--d-purple);
  margin-bottom: 0.95rem;
}

.sc-options-grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sc-choice-btn {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #1e293b;
  min-height: 52px;
}

.sc-choice-btn:hover:not(:disabled) {
  border-color: var(--purple);
  background: #faf8fd;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(82, 37, 131, 0.08);
}

.choice-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--d-purple);
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.choice-text {
  flex: 1;
  font-weight: 600;
}

.sc-choice-btn.opt-correct {
  border-color: #059669 !important;
  background: #ecfdf5 !important;
  color: #065f46 !important;
}

.sc-choice-btn.opt-correct .choice-letter {
  background: #059669 !important;
  color: #ffffff !important;
}

.sc-choice-btn.opt-wrong {
  border-color: #dc2626 !important;
  background: #fef2f2 !important;
  color: #991b1b !important;
}

.sc-choice-btn.opt-wrong .choice-letter {
  background: #dc2626 !important;
  color: #ffffff !important;
}

.sc-choice-btn.opt-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Feedback Banner */
.scenario-feedback-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  animation: fadeIn 0.3s ease;
}

.feedback-result-banner {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: 8px;
}

.feedback-result-banner.success {
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  color: #065f46;
}

.feedback-result-banner.danger {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #991b1b;
}

.feedback-icon {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.feedback-text-wrap h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.feedback-text-wrap p {
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
}

.feedback-tip-box {
  background: #fdfaf5;
  border-left: 4px solid #f59e0b;
  border-radius: 4px;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  color: #78350f;
  line-height: 1.5;
}

.tip-heading {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.btn-next-step {
  font-size: 0.95rem !important;
  padding: 0.85rem 1.2rem !important;
}

/* Completion Screen & Pistachio Solution */
.awareness-completion-card {
  padding: 1.75rem 1.25rem;
  text-align: center;
  animation: fadeIn 0.4s ease;
}

.result-score-circle-wrap {
  margin: 0 auto 1.25rem;
  display: flex;
  justify-content: center;
}

.score-circle-graphic {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.score-circle-graphic.success {
  background: #ecfdf5;
  border: 4px solid #059669;
  color: #065f46;
}

.score-circle-graphic.warning {
  background: #fffbeb;
  border: 4px solid #d97706;
  color: #92400e;
}

.score-circle-graphic.danger {
  background: #fef2f2;
  border: 4px solid #dc2626;
  color: #991b1b;
}

.score-circle-graphic span {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}

.score-circle-graphic small {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.result-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--d-purple);
  margin-bottom: 0.5rem;
}

.result-summary-text {
  font-size: 0.92rem;
  color: var(--text-body);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* Pistachio Solution Showcase */
.pistachio-solution-card {
  background: linear-gradient(135deg, #2c1d48 0%, #1a102e 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(44, 29, 72, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pistachio-badge {
  display: inline-block;
  background: rgba(213, 16, 47, 0.35);
  border: 1px solid rgba(213, 16, 47, 0.6);
  color: #ffc2cc;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  margin-bottom: 0.85rem;
}

.pistachio-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.pistachio-desc {
  font-size: 0.92rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 1.6rem;
  max-width: 680px;
}

.pistachio-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin-bottom: 1.8rem;
}

@media (max-width: 680px) {
  .pistachio-features-grid {
    grid-template-columns: 1fr;
  }
}

.p-feature-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.p-feature-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.p-feature-item strong {
  display: block;
  font-size: 0.88rem;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.p-feature-item span {
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.pistachio-cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.btn-pistachio-main {
  background: linear-gradient(135deg, #d5102f 0%, #b80a25 100%);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.95rem 1.6rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 20px rgba(213, 16, 47, 0.35);
  transition: all 0.25s ease;
  text-align: center;
}

.btn-pistachio-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(213, 16, 47, 0.5);
  background: linear-gradient(135deg, #e61435 0%, #9e0b21 100%);
}

.pistachio-cta-sub {
  font-size: 0.76rem;
  color: #cbd5e1;
}

/* Quick Inquiry Inside Result Card */
.pistachio-quick-inquiry {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
}

.pistachio-quick-inquiry h5 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.pistachio-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0.6rem;
}

@media (max-width: 860px) {
  .pistachio-form-row {
    grid-template-columns: 1fr;
  }
}

.p-success-note {
  background: rgba(5, 150, 105, 0.2);
  border: 1px solid rgba(5, 150, 105, 0.4);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  color: #a7f3d0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.p-success-title {
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

/* Sidebar Scenario Navigation List */
.scenario-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.scenario-nav-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all 0.2s;
  width: 100%;
}

.scenario-nav-item:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.scenario-nav-item.active {
  border-color: var(--purple);
  background: var(--purple-light);
}

.scenario-nav-item.pass {
  border-color: #a7f3d0;
  background: #ecfdf5;
}

.scenario-nav-item.fail {
  border-color: #fecaca;
  background: #fef2f2;
}

.sc-item-icon {
  font-size: 0.95rem;
  width: 22px;
  text-align: center;
}

.sc-item-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sc-item-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--d-purple);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-item-type {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Sidebar Pistachio Teaser */
.sidebar-pistachio-teaser {
  background: linear-gradient(135deg, #2c1d48 0%, #3e1b64 100%);
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  position: relative;
}

.sidebar-pistachio-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: #f472b6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.sidebar-pistachio-teaser h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.sidebar-pistachio-teaser p {
  font-size: 0.78rem;
  color: #e2e8f0;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.btn-pistachio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #ffffff !important;
  background: var(--red);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-pistachio-link:hover {
  background: #b80a25;
  transform: translateX(2px);
}

.outreach-toggle {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}

.outreach-toggle-btn {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.outreach-toggle-btn.active {
  background: var(--purple);
  color: #ffffff;
  border-color: var(--purple);
}

.copyable-email-text {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #1e293b;
  white-space: pre-wrap;
  font-family: var(--font-main);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
  word-break: break-word;
}

/* ==========================================================================
   Audit-Report Ansicht (A4 Druck & PDF Styling)
   ========================================================================== */
.audit-report-container {
  background: #ffffff;
  color: #1e293b;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
  border: 1px solid var(--border-light);
}

.audit-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 3px solid var(--purple);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.audit-meta-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--d-purple);
  letter-spacing: -0.02em;
}

.audit-meta-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.audit-meta-box {
  text-align: right;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.audit-executive-summary {
  background: var(--bg-muted);
  border-left: 5px solid var(--purple);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
}

.audit-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 0.88rem;
}

.audit-table th {
  background: var(--d-purple);
  color: #ffffff;
  padding: 0.8rem 1rem;
  text-align: left;
  font-weight: 600;
}

.audit-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
}

.audit-table tr:nth-child(even) {
  background-color: #faf9fc;
}

.audit-status-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 700;
}

.audit-status-badge.pass { background: var(--success-bg); color: var(--success); border: 1px solid var(--success-border); }
.audit-status-badge.warn { background: var(--warning-bg); color: var(--warning); border: 1px solid var(--warning-border); }
.audit-status-badge.fail { background: var(--danger-bg); color: var(--danger); border: 1px solid var(--danger-border); }

.audit-roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.roadmap-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
}

.roadmap-card h5 {
  font-size: 0.95rem;
  color: var(--d-purple);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.audit-footer-box {
  border-top: 1px solid var(--border-light);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Lead-Inbox Modal (Vertriebs-Übersicht für gesammelte Leads)
   ========================================================================== */
.lead-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 29, 72, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lead-modal-overlay.active {
  display: flex;
}

.lead-modal-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  max-width: 750px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.lead-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lead-modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--d-purple);
}

.lead-modal-close {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-muted);
}

.lead-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.lead-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.lead-table th {
  background: var(--bg-muted);
  color: var(--d-purple);
  padding: 0.6rem 0.75rem;
  text-align: left;
}

.lead-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

/* ==========================================================================
   4-Säulen-Audit Dashboard & Säulen-Karten
   ========================================================================== */
.pillars-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.4rem;
  width: 100%;
}

@media (max-width: 1150px) {
  .pillars-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (max-width: 560px) {
  .pillars-summary-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.8rem;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--purple);
}

.pillar-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
  min-width: 0;
}

.pillar-card-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.pillar-card-score {
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.pillar-card-score.pass {
  background: var(--success-bg);
  color: var(--success);
}

.pillar-card-score.warn {
  background: var(--warning-bg);
  color: var(--warning);
}

.pillar-card-score.danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.pillar-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--d-purple);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pillar-card-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive Table Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
  border-radius: var(--radius-sm);
}

/* Anti-Inspect Redacted Obfuscation Styles */
.redacted-dummy-text {
  display: inline-block;
  background: #cbd5e1;
  color: transparent;
  border-radius: 4px;
  user-select: none;
  opacity: 0.65;
  letter-spacing: 0.15em;
  font-family: monospace;
}

.redacted-dummy-code {
  display: inline-block;
  background: #e2e8f0;
  color: #94a3b8;
  font-family: monospace;
  font-size: 0.8rem;
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  user-select: none;
}

@media (max-width: 580px) {
  .action-bar-interactive {
    flex-direction: column;
    align-items: stretch !important;
  }
  .action-bar-interactive .btn-sm {
    width: 100%;
    justify-content: center;
  }
}

/* Filter-Pills für Audit-Matrix */
.filter-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.filter-pill {
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-pill:hover {
  background: var(--purple-light);
  color: var(--purple);
  border-color: var(--purple);
}

.filter-pill.active {
  background: var(--purple);
  color: #ffffff;
  border-color: var(--purple);
}

/* Mail-Status Badges */
.mail-status-banner {
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  color: #065f46;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.spinner-inline {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Live Scanning Console HUD (7-10s Diagnostic Experience)
   ========================================================================== */
.scanner-loading-console {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  animation: fadeIn 0.4s ease-out;
}

.loading-hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.loading-hud-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.loading-pulse-ring {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
  animation: pulseBlue 1.5s infinite;
  display: inline-block;
}

@keyframes pulseBlue {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(59, 130, 246, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.loading-hud-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.loading-target-domain {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-title);
  font-family: var(--font-mono);
}

.loading-percent-wrap {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple);
  font-family: var(--font-mono);
  min-width: 65px;
  text-align: right;
}

.loading-bar-track {
  width: 100%;
  height: 8px;
  background: var(--bg-muted);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.loading-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple) 0%, #3b82f6 50%, #10b981 100%);
  background-size: 200% 100%;
  border-radius: 999px;
  transition: width 0.25s linear;
  animation: shimmerBar 2s infinite linear;
}

@keyframes shimmerBar {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.loading-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.loading-step-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.loading-step-row.active {
  background: rgba(82, 37, 131, 0.04);
  border-color: var(--purple);
  box-shadow: 0 4px 14px rgba(82, 37, 131, 0.08);
}

.loading-step-row.completed {
  background: #f0fdf4;
  border-color: var(--success-border);
}

.step-indicator {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.loading-step-row.active .step-indicator {
  background: #ede9fe;
}

.loading-step-row.completed .step-indicator {
  background: #dcfce7;
}

.step-spin {
  position: absolute;
  inset: -3px;
  border: 2px solid transparent;
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

.loading-step-row.active .step-spin {
  display: block;
}

.step-info {
  flex: 1;
  min-width: 0;
}

.step-title-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}

.step-title-line strong {
  font-size: 0.95rem;
  color: var(--text-title);
}

.step-detail {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.step-status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  white-space: nowrap;
}

.step-status-badge.pending {
  background: var(--bg-muted);
  color: var(--text-light);
}

.step-status-badge.running {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.step-status-badge.done {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

/* Terminal Log View */
.loading-terminal-box {
  background: #0f172a;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid #1e293b;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.terminal-header {
  background: #1e293b;
  padding: 0.4rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.terminal-dots {
  display: flex;
  gap: 4px;
}

.terminal-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-dots i:nth-child(1) { background: #ef4444; }
.terminal-dots i:nth-child(2) { background: #f59e0b; }
.terminal-dots i:nth-child(3) { background: #10b981; }

.terminal-title {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #94a3b8;
  letter-spacing: 0.03em;
}

.terminal-log-content {
  padding: 0.75rem 0.85rem;
  height: 82px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #38bdf8;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.terminal-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.term-time {
  color: #64748b;
  margin-right: 0.4rem;
}

.terminal-line.term-success {
  color: #4ade80;
}

.terminal-line.term-warn {
  color: #fbbf24;
}

/* ==========================================================================
   Mobile Responsive Optimierungen (Smartphones & Tablets)
   ========================================================================== */
@media (max-width: 768px) {
  .sc-title {
    font-size: 1.1rem;
  }
  .pistachio-solution-card {
    padding: 1.5rem 1.15rem;
  }
  .pistachio-title {
    font-size: 1.25rem;
  }
  .btn-pistachio-main {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
  }
  .countdown-text-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .countdown-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .sc-choice-btn {
    padding: 0.75rem 0.95rem;
    font-size: 0.84rem;
  }
  .mockup-email-meta {
    font-size: 0.76rem;
  }
  .mockup-email-body {
    padding: 1rem 0.85rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.45rem;
  }
  .hero-trust-pills {
    flex-direction: column;
    align-items: stretch;
  }
  .trust-pill {
    justify-content: center;
  }
  .sc-step-pill {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }
  .score-circle-graphic {
    width: 90px;
    height: 90px;
  }
  .score-circle-graphic span {
    font-size: 1.6rem;
  }
  .feedback-result-banner {
    flex-direction: column;
  }
}

/* ==========================================================================
   Exaktes A4 Drucklayout für PDF
   ========================================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 12mm 15mm;
  }
  
  body {
    background: #ffffff !important;
    color: #1e293b !important;
    font-size: 11pt !important;
  }
  
  .avaris-header, .module-switcher, aside, .btn-avaris-primary, .btn-avaris-outline, 
  .outreach-container, .hero-banner, .action-bar-interactive, .raw-dns-box,
  .lead-gate-card, .teaser-alert-card, .header-right-actions, .filter-pill-group {
    display: none !important;
  }
  
  .main-wrapper {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .panel-grid {
    display: block !important;
  }
  
  .avaris-card {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  
  .gated-content-locked {
    filter: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
  .audit-report-container {
    display: block !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

