/* ============================================================
   JUNG UNTERNEHMENSLÖSUNGEN — Subpage Stylesheet
   Extends style.css — do not use standalone.
   ============================================================ */


/* ============================================================
   NAVBAR — solid on subpages (no transparent start)
   ============================================================ */
.navbar--solid {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.18);
}


/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #7C3AED, #C084FC);
  z-index: 200;
  width: 0%;
  transition: width 0.1s linear;
}


/* ============================================================
   SECTION BASE
   ============================================================ */
.sp-section {
  position: relative;
  overflow: hidden;
}


/* ============================================================
   [1] HERO
   ============================================================ */
.sp-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-height-mobile);
  overflow: hidden;
}

@media (min-width: 768px) {
  .sp-hero { padding-top: var(--nav-height-desktop); }
}

/* Animated ambient background */
.sp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.sp-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  animation: sp-orb-fade-in 1.2s ease forwards, sp-orb-drift 14s ease-in-out infinite alternate;
}

.sp-orb--a {
  width: 600px;
  height: 600px;
  top: -160px;
  right: -100px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, transparent 70%);
  animation-delay: 0.2s, 1.4s;
  animation-duration: 1.2s, 12s;
}

.sp-orb--b {
  width: 400px;
  height: 400px;
  bottom: 0;
  left: -80px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.25) 0%, transparent 70%);
  animation-delay: 0.5s, 1.7s;
  animation-duration: 1.2s, 9s;
}

.sp-orb--c {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 35%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.18) 0%, transparent 70%);
  animation-delay: 0.8s, 2s;
  animation-duration: 1.2s, 16s;
}

@keyframes sp-orb-fade-in {
  to { opacity: 1; }
}

@keyframes sp-orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -20px) scale(1.05); }
  66%  { transform: translate(-20px, 15px) scale(0.97); }
  100% { transform: translate(15px, -10px) scale(1.03); }
}

/* Subtle grid overlay */
.sp-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* Hero content */
.sp-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(48px, 8vh, 96px);
  padding-bottom: clamp(64px, 10vh, 120px);
}

.sp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.sp-breadcrumb a {
  color: var(--color-text-secondary);
  transition: color var(--transition-base);
}

.sp-breadcrumb a:hover { color: var(--color-accent-bright); }
.sp-breadcrumb span { color: var(--color-text-muted); }

.sp-hero-headline {
  color: var(--color-text-primary);
  margin-block: var(--space-sm) var(--space-md);
  max-width: 760px;
}

.sp-hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.72;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin-bottom: var(--space-lg);
}

.sp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.sp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  min-height: 48px;
  transition: color var(--transition-base), border-color var(--transition-base);
}

.sp-btn-ghost:hover {
  color: var(--color-text-primary);
  border-color: rgba(124, 58, 237, 0.4);
}

/* ============================================================
   Premium scroll indicator
   ============================================================ */
.sp-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  z-index: 10;
  text-decoration: none;
  animation: sp-float 3s ease-in-out infinite;
  cursor: pointer;
}

/* Glowing dot */
.sp-scroll-hint::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C084FC;
  box-shadow: 0 0 8px 2px rgba(192, 132, 252, 0.7), 0 0 20px 6px rgba(124, 58, 237, 0.35);
  animation: sp-glow-pulse 3s ease-in-out infinite;
  margin-bottom: 6px;
}

/* Vertical line */
.sp-scroll-line {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(192, 132, 252, 0.9), rgba(124, 58, 237, 0.15));
}

/* Chevron */
.sp-scroll-chevron {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid rgba(192, 132, 252, 0.8);
  border-bottom: 1.5px solid rgba(192, 132, 252, 0.8);
  transform: rotate(45deg);
  margin-top: 4px;
}

@keyframes sp-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

@keyframes sp-glow-pulse {
  0%, 100% { box-shadow: 0 0 8px 2px rgba(192, 132, 252, 0.7), 0 0 20px 6px rgba(124, 58, 237, 0.35); }
  50%       { box-shadow: 0 0 12px 4px rgba(192, 132, 252, 1),   0 0 32px 10px rgba(124, 58, 237, 0.6); }
}


/* ============================================================
   [2] PROBLEM CARDS
   ============================================================ */
.sp-problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .sp-problem-grid { grid-template-columns: repeat(3, 1fr); }
}

.sp-problem-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.sp-problem-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--glow-card);
}

.sp-problem-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-muted);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: var(--radius-md);
  color: var(--color-accent-bright);
  margin-bottom: var(--space-md);
}

.sp-problem-title {
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.sp-problem-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}


/* ============================================================
   [3] CONSEQUENCES
   ============================================================ */
.sp-consequences {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.sp-cons-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin-inline: auto;
}

.sp-cons-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--space-md);
  align-items: start;
  padding-block: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.sp-cons-item:last-child { border-bottom: none; }

.sp-cons-number {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: rgba(124, 58, 237, 0.25);
  line-height: 1;
  letter-spacing: -0.02em;
  padding-top: 4px;
  transition: color var(--transition-base);
  user-select: none;
}

.sp-cons-item:hover .sp-cons-number {
  color: var(--color-accent);
}

.sp-cons-title {
  color: var(--color-text-primary);
  margin-bottom: 10px;
}

.sp-cons-body {
  font-size: 15px;
  line-height: 1.72;
  color: var(--color-text-secondary);
}


/* ============================================================
   [4] SOLUTION
   ============================================================ */

/* Transformation visual */
.sp-transform {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-md);
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  margin-bottom: var(--space-xl);
}

@media (max-width: 600px) {
  .sp-transform {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .sp-transform-arrow { justify-self: center; }
}

.sp-transform-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.sp-transform-before .sp-transform-label { color: var(--color-text-muted); }
.sp-transform-after  .sp-transform-label { color: var(--color-accent-bright); }

.sp-transform-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sp-transform-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.sp-transform-list--bad  li { color: var(--color-text-muted); }
.sp-transform-list--good li { color: var(--color-text-primary); }

.sp-x {
  color: #EF4444;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.sp-check {
  color: #22C55E;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.sp-transform-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Solution pillars */
.sp-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .sp-pillars { grid-template-columns: repeat(3, 1fr); }
}

.sp-pillar {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.sp-pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #7C3AED, #C084FC);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.sp-pillar:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--glow-card);
}

.sp-pillar:hover::before { opacity: 1; }

.sp-pillar-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-muted);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: var(--radius-md);
  color: var(--color-accent-bright);
  margin-bottom: var(--space-md);
}

.sp-pillar-num {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.sp-pillar-title {
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.sp-pillar-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}


/* ============================================================
   [5] TRUST / PROOF
   ============================================================ */
.sp-trust {
  background: var(--color-bg);
}

.sp-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

@media (min-width: 600px) {
  .sp-results-grid { grid-template-columns: repeat(3, 1fr); }
}

.sp-result-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  text-align: center;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.sp-result-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--glow-card);
}

.sp-result-metric {
  background: linear-gradient(135deg, #ffffff 0%, #C084FC 50%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.sp-result-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}

.sp-result-context {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Testimonial */
.sp-testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 48px);
  max-width: 760px;
  margin-inline: auto;
}

.sp-testimonial-text {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.78;
  color: var(--color-text-primary);
  font-style: italic;
  margin-bottom: var(--space-md);
}

.sp-testimonial-author cite {
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  color: var(--color-text-muted);
}


/* ============================================================
   [6] CTA SECTION
   ============================================================ */
.sp-cta-section {
  background: var(--color-bg);
  overflow: hidden;
}

.sp-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.sp-cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.sp-cta-orb--a {
  width: 500px;
  height: 500px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.32) 0%, transparent 70%);
  animation: sp-orb-drift 10s ease-in-out infinite alternate;
}

.sp-cta-orb--b {
  width: 300px;
  height: 300px;
  bottom: -80px;
  right: 10%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.22) 0%, transparent 70%);
  animation: sp-orb-drift 14s ease-in-out infinite alternate-reverse;
}

.sp-cta-inner {
  position: relative;
  z-index: 1;
  padding-block: var(--space-2xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.sp-cta-headline {
  color: var(--color-text-primary);
  max-width: 640px;
}

.sp-cta-sub {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.75;
  color: var(--color-text-secondary);
  max-width: 520px;
}

.sp-cta-reassurances {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px var(--space-md);
  margin-top: var(--space-sm);
}

.sp-cta-reassurances li {
  font-size: 13px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-left: var(--space-md);
  border-left: 1px solid rgba(124, 58, 237, 0.35);
}

.sp-cta-reassurances li:first-child {
  padding-left: 0;
  border-left: none;
}


/* Footer styles are inherited from style.css — no overrides needed. */
