/* --- 1. GLOBAL VARIABLES & RESET --- */
:root {
  user-select: none;
  /* Standard */
  -webkit-user-select: none;
  /* Safari/Chrome */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* IE/Edge */
  caret-color: transparent;
  /* Colors */
  --bg-body: hsla(0, 0%, 80%, 1);
  --text-main: #1a1b25;
  --text-muted: #64748b;

  /* Hauptfarbe*/
  --accent-primary: #6366f1;
  --button: #0d6efd;

  /* Indigo */
  --accent-secondary: #a855f7;

  /* Violet */
  --accent-success: #10b981;
  --accent-orange: #f59e0b;
  --accent-danger: #ef4444;
  --stop-icon-fill: hsla(0, 52%, 41%, 1);

  /* Glassmorphism */

  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-blur: blur(20px);

  /* Shapes & Shadows */
  --card-radius: 24px;
  --card-shadow: 0 15px 25px rgba(0, 0, 0, 0.12);
  --card-hover-shadow: 0 25px 60px rgba(99, 102, 241, 0.25);

  /* Rainbow Gradient für Text */
  --rainbow-font-color: linear-gradient(
    90deg,
    hsl(324, 100%, 72%) 0%,
    hsl(33, 93%, 54%) 10%,
    hsl(48, 96%, 53%) 20%,
    hsl(142, 69%, 58%) 30%,
    hsl(191, 95%, 55%) 40%,
    hsl(242, 87%, 71%) 50%,
    hsl(281, 48%, 56%) 60%,
    hsl(324, 100%, 72%) 70%,
    hsl(33, 93%, 54%) 80%,
    hsl(48, 96%, 53%) 90%,
    hsl(24, 100%, 50%) 100%
  );
}

body {
  font-family: "Poppins", sans-serif;

  background-color: hsla(0, 0%, 100%, 1) !important;
  background-image:
    radial-gradient(
      circle at 10% 20%,
      rgba(255, 255, 255, 0.1),
      transparent 30%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.1),
      transparent 30%
    );
  background-size: 200% 200%;
  color: var(--text-main);
  overflow-x: hidden;
  /* Subtiler globaler Hintergrund */
  background:
    radial-gradient(circle at top left, #f5f3ff 0%, transparent 30%),
    radial-gradient(circle at bottom right, #eff6ff 0%, transparent 30%);
  overscroll-behavior: none !important;
  font-family: "Poppins", sans-serif !important;
  padding-top: var(--navbar-height) !important;

  background-size: 200% 200% !important;
  animation: aurora-gradient 15s ease infinite !important;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Typography Utilities */
.text-gradient {
  background: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fw-800 {
  font-weight: 800;
}

/* --- 2. ANIMATIONS --- */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

/* --- 4. HERO SECTION --- */
.hero-modern {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  /* Platz für Navbar */
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  opacity: 0.5;
  animation: pulse-blob 8s infinite alternate;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: var(--accent-secondary);
}

.blob-2 {
  bottom: 20%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: var(--accent-primary);
  animation-delay: 2s;
}

.blob-3 {
  top: 20%;
  right: 35%;
  width: 200px;
  height: 200px;
  background: var(--accent-success);
  animation-delay: 4s;
}

@keyframes pulse-blob {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

@keyframes aurora-gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Sanfte Bewegung für die Hintergrund-Blobs */
.blob {
  animation: gentle-float 20s ease-in-out infinite alternate !important;
}

@keyframes gentle-float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }

  100% {
    transform: translate(10px, -10px) scale(1.05);
  }
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

/* Left Side: Content */
.hero-text-content {
  animation: fadeUpHero 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes fadeUpHero {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modern-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 28px;
  background: white;
  border: 1px solid #eef2ff;
  border-radius: 30px;
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.1);
}

.hero-headline {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-description {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.2;
  margin-bottom: 2.5rem;
  max-width: 35rem;
}

/* Buttons */
.btn-hero-primary {
  background: var(--button);
  color: white;
  padding: 1rem 2rem;
  border-radius: 16px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary:hover {
  transform: translateY(-4px);
  background: var(--button);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.3);
  color: white;
}

.btn-hero-secondary {
  background: white;
  color: var(--text-main);
  padding: 1rem 2rem;
  border-radius: 16px;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 1rem 1rem 0 1rem;
}

.btn-hero-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  color: var(--text-main);
}

/* NEU: Hero Stats */
.hero-stats-container {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-icon {
  width: 45px;
  height: 45px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.stat-text h4 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.stat-text p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Right Side: Visual Stack */
.hero-visuals {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glass-stack {
  position: relative;
  width: 300px;
  height: 400px;
}

.stack-card {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.85)
  );
  backdrop-filter: var(--glass-blur);
  border: 1px solid white;
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  /* Smoother transition for all state changes */
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.3s ease;
  transform-origin: center bottom;
  will-change: transform, opacity;
}

/* States */
.card-back {
  transform: scale(0.9) translateY(-40px) rotate(-6deg);
  z-index: 1;
  opacity: 0.85 !important;
  background: #e0e7ff;
  pointer-events: none;
}

.card-middle {
  transform: scale(0.95) translateY(-20px) rotate(3deg);
  z-index: 2;
  opacity: 0.95 !important;
  background: #eef2ff;
  pointer-events: none;
}

.card-front {
  z-index: 3;
  opacity: 1 !important;
  transform: scale(1) translateY(0) rotate(0);
  /* Only animate float when idle to prevent conflict with swipe */
  animation: float-front 6s ease-in-out infinite;
}

/* Swipe Actions */
.swipe-left {
  transform: translateX(-120%) rotate(-25deg) !important;
  opacity: 0 !important;
  pointer-events: none;
}

.swipe-right {
  transform: translateX(120%) rotate(25deg) !important;
  opacity: 0 !important;
  pointer-events: none;
}

/* Action Buttons (Check/Cross) */
.card-actions {
  display: flex;
  gap: 20px;
  margin-top: auto;
  width: 100%;
  justify-content: center;
  padding-top: 1rem;
}

.btn-action {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.btn-action:hover {
  transform: scale(1.15);
}

.btn-action:active {
  transform: scale(0.9);
}

.card-icon-lg {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 100%
  );
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
  flex-shrink: 0;

  /* Scroll Animation */
  animation: icon-scroll-out linear both;
  animation-timeline: view();
  animation-range: exit 0% exit 50%;
}

@keyframes icon-scroll-out {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0);
  }
}

.orbit-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  font-size: 1.6rem;
  color: var(--text-main);
  z-index: 4;
}

.orbit-1 {
  z-index: 1;
  top: 5%;
  left: -15%;
  color: var(--accent-orange);
  animation: float-orbit 5s ease-in-out infinite;
}

.orbit-2 {
  z-index: 1;
  top: 15%;
  right: -20%;
  color: var(--accent-success);
  animation: float-orbit 7s ease-in-out infinite 1s;
}

.orbit-3 {
  z-index: 1;
  bottom: 10%;
  left: -10%;
  color: var(--accent-secondary);
  animation: float-orbit 6s ease-in-out infinite 2s;
}

.orbit-4 {
  z-index: 1;
  top: 45%;
  left: -22%;
  color: #8b5cf6;
  animation: float-orbit 6s ease-in-out infinite 2s;
}

.orbit-5 {
  z-index: 1;
  bottom: 25%;
  right: -18%;
  color: #ef4444;
  animation: float-orbit 7s ease-in-out infinite 0.5s;
}

.swipe-hand {
  position: absolute;
  bottom: -31px;
  right: -40px;
  width: 70px;
  height: 70px;
  background: var(--text-main);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  z-index: 5;
  animation: swipe-gesture 3s ease-in-out infinite;
}

/* Animations */

@media (prefers-reduced-motion: reduce) {
  .card-front {
    animation: none !important;
  }

  .orbit-1,
  .orbit-2,
  .orbit-3,
  .orbit-4,
  .orbit-5 {
    animation: none !important;
  }

  .swipe-hand {
    animation: none !important;
  }
}

@keyframes float-front {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes float-mid {
  0%,
  100% {
    transform: scale(0.95) translateY(-20px) rotate(3deg);
  }

  50% {
    transform: scale(0.95) translateY(-32px) rotate(1deg);
  }
}

@keyframes float-back {
  0%,
  100% {
    transform: scale(0.9) translateY(-40px) rotate(-6deg);
  }

  50% {
    transform: scale(0.9) translateY(-52px) rotate(-8deg);
  }
}

@keyframes float-orbit {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes swipe-gesture {
  0% {
    transform: translateX(0) rotate(-10deg);
  }

  50% {
    transform: translateX(-30px) rotate(-20deg) scale(0.9);
  }

  100% {
    transform: translateX(0) rotate(-10deg);
  }
}

/* --- 5. SECTIONS GENERAL --- */
.section-std {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 55rem;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  background: #eef2ff;
  color: var(--accent-primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800 !important;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--text-muted);
}

/* Cards */
.feature-card,
.step-card {
  background: hsla(0, 0%, 96%, 1);
  padding: 2.5rem;
  border-radius: var(--card-radius);
  border: 1px solid #f1f5f9;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.16));
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card:hover,
.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-hover-shadow);
  border-color: var(--accent-primary);
}

.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

/* --- 6. PRICING CARDS (Original Design) --- */
.pricing-column {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Container für die Buttons unten */
.card-actions {
  margin-top: auto;
  /* Schiebt Buttons nach unten */
  width: 100%;
  padding: 0 1rem;
}

/* Button Basis-Style (Anpassung an dein Design) */
.btn-action1 {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s ease,
    background-color 0.2s;
  cursor: pointer;
  margin: 0 auto;
  /* Zentrieren */
  position: relative;
}

.btn-check-swipe {
  background-color: #dcfce7;
  color: #16a34a;
}

.btn-check-swipe:hover {
  background-color: #22c55e;
  color: white;
  transform: scale(1.15);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}

.btn-cross-swipe {
  background-color: #fee2e2;
  color: #dc2626;
}

.btn-cross-swipe:hover {
  background-color: #ef4444;
  color: white;
  transform: scale(1.15);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
}

/* Icons in den Buttons */
.btn-action1 i {
  font-size: 1.5rem;
  font-style: normal;
}

/* Hinweis-Container Styles (aus deinem Inline-Style übernommen) */
.hint-cont {
  margin-top: 15px;
  background: hsla(0, 0%, 100%, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid hsla(0, 0%, 100%, 0.7);
  border-radius: 1rem;
  box-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.1);
  padding: 5px 10px;
  font-size: 0.8rem;
  color: #0d6efd;
  /* Bootstrap primary text color */
  font-weight: bold;
  opacity: 0.8;
  text-align: center;
}

.pricing-top-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.5rem 1.5rem;
  border-radius: 20px 20px 0 0;
  width: fit-content;
  margin-left: 2rem;
  margin-bottom: -5px;
  z-index: 1;
  position: relative;
  background: #eef0f7;
  color: var(--text-muted);
}

.pricing-top-badge.purple {
  background: #f3e8ff;
  color: var(--accent-secondary);
}

.pricing-card-v2 {
  background: hsla(0, 0%, 96%, 1);
  border-radius: var(--card-radius);
  padding: 2.5rem;
  border: 1px solid #f1f5f9;
  box-shadow: var(--card-shadow);
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.pricing-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-hover-shadow);
}

.pricing-card-v2.pro {
  border: 5px solid var(--accent-secondary);
}

.empfehlung {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  top: -15px;
  right: -10px;
  background: linear-gradient(97deg, rgb(70 170 217) 0%, rgb(43 129 255) 40%);
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 900;
  border: none;
  transform: rotate(15deg);
  box-shadow: 0 5px 15px rgba(43, 129, 255, 0.4);
}

.d-icon {
  color: #d19711ff;
  margin-right: 5px;
  font-size: 28px;
  animation: icon-bounce 0.5s infinite ease-in-out;
}

@keyframes icon-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.price-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.icon-core {
  background: #f1f5f9;
  color: #64748b;
}

.icon-adv {
  background: #f3e8ff;
  color: #a855f7;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.plan-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  color: #475569;
}

.pricing-features-list i {
  color: var(--accent-primary);
  font-size: 1.1rem;
}

.btn-pricing {
  width: 100%;
  padding: 0.8rem;
  border-radius: 12px;
  font-weight: 600;
  margin-bottom: 2rem;
  border: none;
  transition: 0.2s;
}

.btn-pricing.outline {
  background: #f8fafc;
  color: var(--text-main);
  border: 1px solid #e2e8f0;
}

.btn-pricing.outline:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.btn-pricing.solid {
  background: var(--button);
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-pricing.solid:hover {
  transform: translateY(-2px);
  background: var(--button);
}

/* --- 8. RESPONSIVE --- */
@media (max-width: 992px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }

  .hero-text-content {
    align-items: center;
  }

  .hero-description {
    max-width: 100%;
    margin-left: 2rem;
    margin-right: 2rem;
  }

  .mini-steps {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats-container {
    justify-content: center;
  }

  .hero-visuals {
    transform: scale(0.9);
  }
}

/* 
        // Responsive Anpassungen für die Orbit-Icons */
@media (max-width: 768px) {
  .hero-visuals {
    overflow: visible;
  }

  .orbit-icon {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  }

  .orbit-1 {
    left: 4%;
    top: 4%;
  }

  .orbit-2 {
    right: 4%;
    top: 8%;
  }

  .orbit-3 {
    left: 6%;
    bottom: 8%;
  }

  .orbit-4 {
    left: 10%;
    top: 40%;
  }

  .orbit-5 {
    right: 6%;
    bottom: 10%;
  }
}

/* Responsiv für sehr kleine Bildschirme: Orbit-Icons ausblenden */
@media (max-width: 420px) {
  .orbit-1,
  .orbit-2,
  .orbit-3,
  .orbit-4,
  .orbit-5,
  .orbit-icon {
    display: none !important;
    transform: none !important;
  }
}

.rainbow-font-color {
  font-size: clamp(2.8rem, 5vw, 4rem);
  background: var(--rainbow-font-color);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: regenbogen 4s linear infinite;
}

@keyframes regenbogen {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}
