/* =================================================================
   STYLE.CSS — NexxProzess Landing Page
   
   ALLE FONTS WERDEN LOKAL GELADEN (kein Google Fonts CDN).
   Dadurch keine Datenübertragung an Dritte = kein Cookie nötig.
   
   Font-Dateien liegen in: /fonts/
   ================================================================= */

/* -----------------------------------------------------------------
   @FONT-FACE — Lokale Fonts
   
   Instrument Serif: Display-Font (Überschriften)
   Satoshi: Body-Font (Fließtext, Buttons, Labels)
   
   HINWEIS: Falls Dateinamen abweichen, hier anpassen.
   Unterstützte Formate: woff2 (bevorzugt), woff, ttf
   ----------------------------------------------------------------- */

/* --- Instrument Serif --- */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-v5-latin_latin-ext-regular.woff2') format('woff2'),
       url('../fonts/instrument-serif-v5-latin_latin-ext-regular.woff') format('woff');
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-v5-latin_latin-ext-italic.woff2') format('woff2'),
       url('../fonts/instrument-serif-v5-latin_latin-ext-italic.woff') format('woff');
}

/* --- Satoshi --- */
@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Satoshi-Regular.woff2') format('woff2'),
       url('../fonts/Satoshi-Regular.woff') format('woff'),
       url('../fonts/Satoshi-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Satoshi-Medium.woff2') format('woff2'),
       url('../fonts/Satoshi-Medium.woff') format('woff'),
       url('../fonts/Satoshi-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Satoshi-Bold.woff2') format('woff2'),
       url('../fonts/Satoshi-Bold.woff') format('woff'),
       url('../fonts/Satoshi-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/Satoshi-Black.woff2') format('woff2'),
       url('../fonts/Satoshi-Black.woff') format('woff'),
       url('../fonts/Satoshi-Black.ttf') format('truetype');
}

/* -----------------------------------------------------------------
   ROOT VARIABLES
   ----------------------------------------------------------------- */
:root {
  --brand-400: #4ade80;
  --brand-500: #22c55e;
  --surface-950: #030712;
  --surface-900: #0a0f1a;
  --surface-800: #111827;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* -----------------------------------------------------------------
   FONT FAMILIES
   ----------------------------------------------------------------- */
.font-display { font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif; }
.font-body    { font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
body          { font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }

/* -----------------------------------------------------------------
   GLOBAL
   ----------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
::selection { background: rgba(74, 222, 128, 0.25); color: #fff; }

::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface-950); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* Navigation */
#navbar { background: transparent; }
#navbar.scrolled {
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-link {
  font-family: 'Satoshi', sans-serif; font-size: 0.875rem; font-weight: 500;
  color: rgba(255,255,255,0.6); transition: color 0.3s ease; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--brand-400);
  transition: width 0.3s var(--ease-out-expo);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

.mobile-nav-link {
  font-family: 'Satoshi', sans-serif; font-size: 1.125rem; font-weight: 500;
  color: rgba(255,255,255,0.7); padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05); transition: color 0.2s;
}
.mobile-nav-link:hover { color: #fff; }

/* Buttons */
.cta-button-sm {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-family: 'Satoshi', sans-serif; font-size: 0.875rem; font-weight: 600;
  color: var(--surface-950); background: var(--brand-500);
  border-radius: 0.5rem; transition: all 0.3s var(--ease-out-expo);
}
.cta-button-sm:hover {
  background: var(--brand-400); transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(34,197,94,0.3);
}

.cta-button-lg {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: 'Satoshi', sans-serif; font-size: 1rem; font-weight: 700;
  color: var(--surface-950); background: var(--brand-500);
  border-radius: 0.75rem; transition: all 0.3s var(--ease-out-expo);
  position: relative; overflow: hidden;
}
.cta-button-lg::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
  transform: translateX(-100%); transition: transform 0.6s var(--ease-out-expo);
}
.cta-button-lg:hover {
  background: var(--brand-400); transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(34,197,94,0.35);
}
.cta-button-lg:hover::before { transform: translateX(100%); }

.cta-button-ghost {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: 'Satoshi', sans-serif; font-size: 1rem; font-weight: 600;
  color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0.75rem; transition: all 0.3s var(--ease-out-expo);
}
.cta-button-ghost:hover {
  border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05);
  color: #fff; transform: translateY(-1px);
}

/* Hero */
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 80%);
}
.hero-glow {
  position: absolute; top: -20%; left: -10%; width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(34,197,94,0.08) 0%, transparent 70%);
  filter: blur(80px); pointer-events: none;
}
.hero-gradient-text {
  background: linear-gradient(135deg, var(--brand-400) 0%, #34d399 40%, #a78bfa 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.scroll-indicator { animation: fadeInUp 1s var(--ease-out-expo) 1.5s both; }

.metric-item { display: flex; flex-direction: column; gap: 0.25rem; }
.metric-number { font-family: 'Instrument Serif', serif; font-size: 2rem; line-height: 1; color: #fff; }
.metric-label {
  font-family: 'Satoshi', sans-serif; font-size: 0.75rem;
  color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.05em;
}

/* Section Utilities */
.section-tag {
  display: inline-block;
  font-family: 'Satoshi', sans-serif; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em; color: var(--brand-400);
  padding: 0.375rem 1rem; border: 1px solid rgba(74,222,128,0.2);
  border-radius: 9999px; background: rgba(74,222,128,0.05);
}
.section-divider-top {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06) 50%, transparent);
}

/* Pain Cards */
.pain-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.06); border-radius: 1rem; padding: 2rem;
  transition: all 0.4s var(--ease-out-expo); position: relative; overflow: hidden;
}
.pain-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(248,113,113,0.5), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.pain-card:hover {
  border-color: rgba(255,255,255,0.1); transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.pain-card:hover::before { opacity: 1; }

.pain-card-icon {
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.15);
  display: flex; align-items: center; justify-content: center;
  color: #f87171; margin-bottom: 1.5rem;
}
.pain-card-icon.orange { background: rgba(251,146,60,0.1); border-color: rgba(251,146,60,0.15); color: #fb923c; }
.pain-card-icon.red    { background: rgba(239,68,68,0.1);  border-color: rgba(239,68,68,0.15);  color: #ef4444; }
.pain-card-counter { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 1rem; }

/* Vertical Cards */
.vertical-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.005) 100%);
  border: 1px solid rgba(255,255,255,0.06); border-radius: 1.5rem; padding: 2.5rem;
  transition: border-color 0.4s;
}
.vertical-card:hover { border-color: rgba(255,255,255,0.1); }
.feature-item { display: flex; align-items: center; gap: 0.75rem; }

.vertical-visual {
  background: linear-gradient(135deg, rgba(59,130,246,0.05) 0%, rgba(59,130,246,0.02) 100%);
  border: 1px solid rgba(59,130,246,0.1); border-radius: 1rem; padding: 0; overflow: hidden;
}
.vertical-visual.amber {
  background: linear-gradient(135deg, rgba(245,158,11,0.05) 0%, rgba(245,158,11,0.02) 100%);
  border-color: rgba(245,158,11,0.1);
}

.speed-to-lead-demo { padding: 1.5rem; }
.demo-header {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.5rem; padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.demo-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.demo-dot.green { background: #22c55e; }
.demo-dot.amber { background: #f59e0b; }

.demo-flow { display: flex; flex-direction: column; gap: 0; }
.demo-step {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.875rem 1rem; border-radius: 0.625rem;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.5);
  font-family: 'Satoshi', sans-serif; font-size: 0.875rem; transition: all 0.3s;
}
.demo-step.active {
  background: rgba(59,130,246,0.08); border-color: rgba(59,130,246,0.2); color: #fff;
}
.demo-time {
  margin-left: auto; font-size: 0.75rem; font-weight: 600;
  color: rgba(59,130,246,0.6); font-family: 'Satoshi', sans-serif;
}
.demo-step.active .demo-time { color: #60a5fa; }
.demo-connector { width: 1px; height: 16px; background: rgba(255,255,255,0.08); margin-left: 1.75rem; }

.before-after-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ba-column { display: flex; flex-direction: column; gap: 0.5rem; }
.ba-label {
  font-family: 'Satoshi', sans-serif; font-size: 0.625rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.25rem;
}
.ba-column.before .ba-label { color: #f87171; }
.ba-column.after .ba-label { color: #4ade80; }
.ba-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: 'Satoshi', sans-serif; font-size: 0.8125rem;
  color: rgba(255,255,255,0.6); padding: 0.5rem 0.75rem;
  border-radius: 0.5rem; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
}
.ba-column.before .ba-item { border-color: rgba(248,113,113,0.1); text-decoration: line-through; opacity: 0.6; }
.ba-column.after .ba-item { border-color: rgba(74,222,128,0.15); color: rgba(255,255,255,0.85); }

/* ROI Calculator */
.roi-calculator {
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.06); border-radius: 1.5rem; padding: 2.5rem;
}
.roi-input-group { display: flex; flex-direction: column; gap: 0.75rem; }
.roi-label {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: 'Satoshi', sans-serif; font-size: 0.875rem; font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.roi-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.08); outline: none; transition: background 0.2s;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-500); cursor: pointer;
  border: 3px solid var(--surface-950);
  box-shadow: 0 0 0 2px var(--brand-500), 0 4px 12px rgba(34,197,94,0.3);
  transition: all 0.2s;
}
.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 3px var(--brand-400), 0 6px 20px rgba(34,197,94,0.4);
}
.roi-slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-500); cursor: pointer;
  border: 3px solid var(--surface-950);
  box-shadow: 0 0 0 2px var(--brand-500), 0 4px 12px rgba(34,197,94,0.3);
}

.roi-results { display: flex; flex-direction: column; gap: 1rem; }
.roi-result-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1rem; padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.roi-result-card.highlight {
  background: linear-gradient(135deg, rgba(34,197,94,0.08) 0%, rgba(34,197,94,0.02) 100%);
  border-color: rgba(34,197,94,0.2);
}
.roi-result-label {
  font-family: 'Satoshi', sans-serif; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5);
}
.roi-result-value { font-family: 'Instrument Serif', serif; font-size: 2.5rem; line-height: 1; color: var(--brand-400); }
.roi-result-value.small { font-size: 1.75rem; color: #fff; }

/* Video Cards */
.video-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.06); border-radius: 1rem; overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}
.video-card:hover {
  border-color: rgba(255,255,255,0.12); transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.video-thumb {
  position: relative; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--surface-800), var(--surface-900));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.video-thumb-content { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-play-btn {
  position: relative; z-index: 2; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease-out-expo); cursor: pointer;
}
.video-card:hover .video-play-btn {
  background: var(--brand-500); transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(34,197,94,0.4);
}
.video-duration {
  position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 2;
  font-family: 'Satoshi', sans-serif; font-size: 0.75rem; font-weight: 600;
  color: #fff; background: rgba(0,0,0,0.7);
  padding: 0.125rem 0.5rem; border-radius: 0.25rem;
}

/* Why Us */
.why-us-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem; border-radius: 0.75rem; transition: background 0.3s;
}
.why-us-item:hover { background: rgba(255,255,255,0.03); }
.why-us-icon {
  width: 2.5rem; height: 2.5rem; min-width: 2.5rem; border-radius: 0.5rem;
  background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.15);
  display: flex; align-items: center; justify-content: center;
}

.process-visual {
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.06); border-radius: 1.5rem; padding: 2rem;
}
.process-step { display: flex; align-items: flex-start; gap: 1.25rem; padding: 1rem; }
.process-number {
  font-family: 'Instrument Serif', serif; font-size: 1.5rem;
  color: rgba(255,255,255,0.2); min-width: 2.5rem; transition: color 0.3s;
}
.process-number.active { color: var(--brand-400); }
.process-step:hover .process-number { color: var(--brand-400); }
.process-connector { width: 1px; height: 1rem; background: rgba(255,255,255,0.06); margin-left: 2.2rem; }

/* Contact Form */
.contact-form-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 1.5rem; padding: 2.5rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { font-family: 'Satoshi', sans-serif; font-size: 0.8125rem; font-weight: 600; color: rgba(255,255,255,0.7); }
.form-input {
  font-family: 'Satoshi', sans-serif; font-size: 0.9375rem; color: #fff;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.625rem; padding: 0.75rem 1rem; outline: none;
  transition: all 0.3s; width: 100%;
}
.form-input::placeholder { color: rgba(255,255,255,0.25); }
.form-input:focus { border-color: var(--brand-500); background: rgba(255,255,255,0.06); box-shadow: 0 0 0 3px rgba(34,197,94,0.1); }
.form-input.error { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248,113,113,0.1); }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer;
}
.form-select option { background: var(--surface-800); color: #fff; }
.form-error { font-family: 'Satoshi', sans-serif; font-size: 0.75rem; color: #f87171; display: none; }
.form-error.visible { display: block; }
textarea.form-input { resize: vertical; min-height: 100px; }

/* Legal Pages */
.legal-content h2 { margin-top: 2.5rem; }
.legal-content h3 { margin-top: 1.5rem; }
.legal-content p { color: rgba(255,255,255,0.65); }
.legal-content strong { color: rgba(255,255,255,0.9); }

/* Reveal Animations */
.reveal-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.reveal-up:nth-child(2) { transition-delay: 0.08s; }
.reveal-up:nth-child(3) { transition-delay: 0.16s; }
.reveal-up:nth-child(4) { transition-delay: 0.24s; }

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

a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }

/* Responsive */
@media (max-width: 768px) {
  .vertical-card, .roi-calculator, .contact-form-card { padding: 1.5rem; }
  .metric-number { font-size: 1.5rem; }
  .roi-result-value { font-size: 2rem; }
  .roi-result-value.small { font-size: 1.25rem; }
  .before-after-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 640px) {
  #hero h1 { font-size: 2.5rem; }
  .pain-card { padding: 1.5rem; }
}