/* ========================================================================
   JC-Solutions Premium Webseite — Design System
   Brand: AI-Native Infrastructure für den Mittelstand
   Last update: 2026-05-12
   ======================================================================== */

/* ----- 1. Tokens ----- */
:root {
  /* Brand */
  --jc-blue: #3B82F6;
  --jc-purple: #8B5CF6;
  --jc-indigo: #6366F1;
  --grad-brand: linear-gradient(135deg, var(--jc-blue) 0%, var(--jc-purple) 100%);
  --grad-soft: linear-gradient(135deg, rgba(59,130,246,.12) 0%, rgba(139,92,246,.08) 100%);

  /* Dark Base */
  --bg-0: #0A0A0F;
  --bg-1: #0F0F18;
  --bg-2: #161623;
  --bg-3: #1E1E2E;

  /* Text */
  --txt-1: #F5F5F0;        /* Cloud Dancer */
  --txt-2: #C0C0CC;
  --txt-3: #888899;
  --txt-4: #555566;

  /* Borders */
  --bd-1: rgba(255,255,255,.08);
  --bd-2: rgba(255,255,255,.14);
  --bd-brand: rgba(139,92,246,.4);

  /* Surface */
  --surf-glass: rgba(255,255,255,.04);
  --surf-card: rgba(15,15,24,.7);

  /* Status */
  --ok: #22D87A;
  --warn: #FBBF24;
  --danger: #EF4444;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 4px 12px rgba(0,0,0,.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.5);
  --shadow-glow: 0 0 60px rgba(99,102,241,.4);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  --font-display: 'Inter', system-ui, sans-serif;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-8: 48px;
  --sp-10: 64px;
  --sp-12: 96px;
  --sp-16: 128px;

  /* Containers */
  --max-w: 1280px;
  --max-w-narrow: 920px;

  /* Motion */
  --easing: cubic-bezier(.2,.8,.2,1);
  --easing-bounce: cubic-bezier(.16, 1.1, .3, 1);
  --t-fast: 180ms;
  --t-base: 280ms;
  --t-slow: 480ms;
}

/* Light Mode Override (Toggle-fähig später) */
[data-theme="light"] {
  --bg-0: #FAFAFA;
  --bg-1: #FFFFFF;
  --bg-2: #F5F5F0;
  --bg-3: #EBEBEB;
  --txt-1: #0A0A0F;
  --txt-2: #444455;
  --txt-3: #777788;
  --bd-1: rgba(0,0,0,.08);
  --bd-2: rgba(0,0,0,.14);
}

/* ----- 2. Reset + Base ----- */
* { box-sizing: border-box; margin: 0; padding: 0; }
*::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--txt-1);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  min-height: 100svh;
  overflow-x: hidden;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button { cursor: pointer; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--jc-purple); color: white; }

/* ----- 3. Background Noise Layer ----- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ----- 4. Typography ----- */
.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--txt-1);
}

.h-1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.h-2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.h-3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.lead {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--txt-2);
  line-height: 1.55;
  max-width: 64ch;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--jc-purple);
  display: inline-block;
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.mono { font-family: var(--font-mono); }

/* ----- 5. Container ----- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
  position: relative;
  z-index: 10;
}

.container-narrow {
  max-width: var(--max-w-narrow);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
  position: relative;
  z-index: 10;
}

section { padding-block: clamp(64px, 10vw, 128px); position: relative; }

/* ----- 6. Buttons (Sitedrop-Style Transparent Glas) ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform var(--t-fast) var(--easing), box-shadow var(--t-base), background var(--t-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--bd-brand);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(59,130,246,.28), rgba(139,92,246,.28));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--t-base);
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(139,92,246,.3);
}

.btn-primary:hover::before { opacity: .25; }

.btn-ghost {
  background: rgba(255,255,255,.04);
  color: var(--txt-1);
  border-color: var(--bd-2);
}

.btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--bd-brand);
  transform: translateY(-2px);
}

.btn-arrow::after {
  content: '→';
  transition: transform var(--t-fast) var(--easing);
}

.btn:hover .btn-arrow::after,
.btn-arrow:hover::after { transform: translateX(4px); }

/* ----- 7. Card Glas ----- */
.card {
  background: var(--surf-card);
  border: 1px solid var(--bd-1);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 32px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform var(--t-base) var(--easing), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--bd-brand);
}

.card-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--t-base);
}

.card-glow:hover::before { opacity: 1; }

/* ----- 8. Pill / Badge ----- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: var(--font-mono);
}

.pill-live { background: rgba(34,216,122,.14); color: var(--ok); }
.pill-beta { background: rgba(251,191,36,.14); color: var(--warn); }
.pill-soon { background: rgba(255,255,255,.06); color: var(--txt-3); }
.pill-brand { background: rgba(139,92,246,.14); color: #c9aef0; }

.pill-live::before, .pill-beta::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

/* ----- 9. Nav ----- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 14px;
  transition: background var(--t-base), backdrop-filter var(--t-base), border-color var(--t-base);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10,10,15,.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--bd-1);
}

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 12px rgba(139,92,246,.5);
  animation: dotPulse 3s ease-in-out infinite;
}

.logo-mini-monitor {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 8px rgba(99,102,241,0.5));
  animation: mini-monitor-pulse 4s ease-in-out infinite;
}

.logo-mini-monitor .mini-screen {
  animation: mini-screen-glow 4s ease-in-out infinite;
}
.logo-mini-monitor .mini-cursor {
  animation: terminal-cursor-blink 1s steps(2, jump-none) infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

@keyframes mini-monitor-pulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(99,102,241,0.4)); }
  50%      { filter: drop-shadow(0 0 12px rgba(139,92,246,0.7)); }
}

@keyframes mini-screen-glow {
  0%, 100% { fill: #0d1117; }
  50%      { fill: #161b22; }
}

/* Footer logo can stay smaller */
.footer-brand .logo-mini-monitor { width: 24px; height: 24px; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--txt-2);
  transition: color var(--t-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--grad-brand);
  transition: width var(--t-base);
}

.nav-links a:hover { color: var(--txt-1); }
.nav-links a:hover::after { width: 100%; }

.nav-burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(59,130,246,.18), rgba(139,92,246,.18));
  border: 1px solid rgba(139,92,246,.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  z-index: 100;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav-burger:hover {
  background: linear-gradient(135deg, rgba(59,130,246,.28), rgba(139,92,246,.28));
  border-color: rgba(139,92,246,.55);
  transform: scale(1.05);
}
.nav-burger span {
  width: 20px; height: 2px;
  background: var(--txt-1);
  border-radius: 2px;
  transform-origin: center;
  transition: transform var(--t-base) var(--easing), opacity var(--t-fast);
}
.nav-burger.active {
  background: linear-gradient(135deg, rgba(59,130,246,.32), rgba(139,92,246,.32));
  border-color: rgba(139,92,246,.7);
}
.nav-burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----- Nav Toggles (Theme + Language) ----- */
.nav-toggles {
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav-toggle {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--bd-1);
  color: var(--txt-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  cursor: pointer;
}
.nav-toggle:hover {
  background: rgba(139,92,246,.12);
  color: var(--txt-1);
  border-color: var(--bd-brand);
}
.lang-current { font-size: 11px; font-weight: 700; }

/* ----- Tooltips für Fachbegriffe ----- */
[data-hint] {
  position: relative;
  cursor: help;
  border-bottom: 1px dotted rgba(139,92,246,.4);
}
[data-hint]::after {
  content: attr(data-hint);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 10px 14px;
  background: var(--bg-3);
  border: 1px solid var(--bd-brand);
  border-radius: var(--r-md);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--txt-1);
  white-space: normal;
  width: max-content;
  max-width: 280px;
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--font-sans);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base);
  z-index: 50;
  box-shadow: 0 12px 32px rgba(0,0,0,.5);
}
[data-hint]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ----- Toast Messages ----- */
.jc-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 22px;
  background: var(--bg-2);
  border: 1px solid var(--bd-brand);
  border-radius: var(--r-full);
  font-size: 13px;
  color: var(--txt-1);
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base);
}
.jc-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ----- Light Mode (Soft, nicht flashbang) ----- */
[data-theme="light"] {
  --bg-0: #EFEEF0;        /* warm light grey statt pure white */
  --bg-1: #F7F6F8;
  --bg-2: #FAFAFC;
  --bg-3: #ECECF0;
  --txt-1: #1A1A24;
  --txt-2: #444455;
  --txt-3: #6B6B7A;
  --txt-4: #A0A0AC;
  --bd-1: rgba(0,0,0,.10);
  --bd-2: rgba(0,0,0,.16);
  --bd-brand: rgba(99,102,241,.45);
  --surf-glass: rgba(255,255,255,.6);
  --surf-card: rgba(255,255,255,.85);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
}

[data-theme="light"] body {
  background: var(--bg-0);
  color: var(--txt-1);
}
[data-theme="light"] body::before { opacity: .025; }

[data-theme="light"] .hero-mesh {
  background:
    radial-gradient(circle at 22% 30%, rgba(59,130,246,.12), transparent 45%),
    radial-gradient(circle at 78% 70%, rgba(139,92,246,.12), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(99,102,241,.08), transparent 60%),
    var(--bg-0);
}

[data-theme="light"] .hero-trust span {
  background: rgba(255,255,255,.85);
  border-color: rgba(0,0,0,.10);
  color: var(--txt-1);
}

[data-theme="light"] .nav { background: transparent; }
[data-theme="light"] .nav.scrolled {
  background: rgba(247,246,248,.85);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(0,0,0,.06);
}

[data-theme="light"] .logo { color: var(--txt-1); }
[data-theme="light"] .nav-links a { color: var(--txt-2); }
[data-theme="light"] .nav-toggle {
  background: rgba(0,0,0,.04);
  color: var(--txt-2);
  border-color: rgba(0,0,0,.08);
}
[data-theme="light"] .nav-toggle:hover {
  background: rgba(99,102,241,.10);
  color: var(--txt-1);
  border-color: var(--bd-brand);
}

/* Cards + Service-Cards */
[data-theme="light"] .card,
[data-theme="light"] .service-card,
[data-theme="light"] .price-card,
[data-theme="light"] .bento-tile,
[data-theme="light"] .faq-item,
[data-theme="light"] .bip-stat,
[data-theme="light"] .price-it-support,
[data-theme="light"] .price-enterprise {
  background: rgba(255,255,255,.85);
  border-color: rgba(0,0,0,.08);
  color: var(--txt-1);
}

[data-theme="light"] .card:hover,
[data-theme="light"] .service-card:hover,
[data-theme="light"] .price-card:hover,
[data-theme="light"] .bento-tile:hover { border-color: var(--bd-brand); background: rgba(255,255,255,.95); }

[data-theme="light"] .service-icon {
  background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(139,92,246,.08));
}

[data-theme="light"] .pricing-tripwire {
  background: linear-gradient(135deg, rgba(251,191,36,.10), rgba(255,255,255,.85));
  border-color: rgba(251,191,36,.4);
}

[data-theme="light"] .price-card.featured {
  background: linear-gradient(180deg, rgba(139,92,246,.10), rgba(255,255,255,.92));
}

[data-theme="light"] .cta-final {
  background: linear-gradient(135deg, rgba(59,130,246,.10), rgba(139,92,246,.10));
}

[data-theme="light"] .footer {
  background: var(--bg-1);
  border-top-color: var(--bd-1);
}

[data-theme="light"] .pain-list li {
  background: rgba(255,255,255,.7);
  border-color: var(--bd-1);
}

[data-theme="light"] .faq-item summary::after {
  background: rgba(99,102,241,.15);
}

[data-theme="light"] .marquee-item { color: var(--txt-2); }

[data-theme="light"] .pill-soon { background: rgba(0,0,0,.06); color: var(--txt-3); }

[data-theme="light"] [data-hint]::after {
  background: var(--txt-1);
  color: white;
  border-color: var(--bd-brand);
}

[data-theme="light"] .jc-toast {
  background: rgba(255,255,255,.95);
  color: var(--txt-1);
}

[data-theme="light"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: block !important; }

/* Sole-Bubble bleibt dark (Akzent) auch im Light Mode */
[data-theme="light"] .sole-bubble {
  background: radial-gradient(circle at 30% 30%, rgba(99,102,241,.6), rgba(20,20,30,.95));
}

/* Hero-Headline + Grad-Text bleiben sichtbar */
[data-theme="light"] .hero-headline { color: var(--txt-1); }
[data-theme="light"] .grad-text {
  background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Cursor bleibt dark mix-blend für Light Mode */
[data-theme="light"] .cursor-dot {
  background: var(--txt-1);
  mix-blend-mode: difference;
}

/* ----- 10. Hero ----- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 96px;
}

/* Statischer Hintergrund (kein Hell/Dunkel-Shift mehr) */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 22% 30%, rgba(59,130,246,.22), transparent 45%),
    radial-gradient(circle at 78% 70%, rgba(139,92,246,.22), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(99,102,241,.14), transparent 60%),
    var(--bg-0);
}

/* Particle-Network Canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .8;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

.hero-content .hero-eyebrow { margin-inline: auto; }
.hero-ctas { justify-content: center; }
.hero-trust { justify-content: center; }

.hero-eyebrow {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: rgba(139,92,246,.1);
  border: 1px solid var(--bd-brand);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #c9aef0;
  margin: 0 auto 24px;
  backdrop-filter: blur(8px);
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 7vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -0.02em;
    padding-inline: 4px;
  }
  .hero-sub { font-size: 15px; padding-inline: 4px; }
  .hero-trust { gap: 6px; }
  .hero-trust span { font-size: 10px; padding: 4px 9px; }
  .container { padding-inline: 16px; }
  .hero-ctas .btn { padding: 11px 18px; font-size: 14px; }
}

@media (max-width: 380px) {
  .hero-headline { font-size: 28px; }
}

.hero-headline .grad-text { line-height: 1.1; }

.hero-sub {
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--txt-2);
  line-height: 1.55;
  max-width: 64ch;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #F5F5F0;
  letter-spacing: .02em;
}

.hero-trust span::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--txt-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.hero-scroll-hint::after {
  content: '';
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--txt-3), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ----- 11. Section Helpers ----- */
.section-head { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head .h-1 { margin-bottom: 14px; }
.section-head .lead { margin-inline: auto; }

/* ----- 12. Pain → Solution ----- */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.pain-col h3 { margin-bottom: 20px; font-size: 22px; font-weight: 700; }
.pain-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.pain-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 18px;
  background: var(--surf-glass);
  border: 1px solid var(--bd-1);
  border-radius: var(--r-md);
  font-size: 15px;
  line-height: 1.5;
  color: var(--txt-2);
}
.pain-list .icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.pain-col.pain .icon { background: rgba(239,68,68,.15); color: var(--danger); }
.pain-col.sol .icon  { background: rgba(34,216,122,.15); color: var(--ok); }

@media (max-width: 768px) {
  .pain-grid { grid-template-columns: 1fr; }
}

/* ----- 13. Services 3-Säulen ----- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.service-card {
  padding: 28px;
  background: var(--surf-card);
  border: 1px solid var(--bd-1);
  border-radius: var(--r-lg);
  transition: transform var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--t-base);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--bd-brand);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--grad-soft);
  border: 1px solid var(--bd-brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--txt-2); font-size: 15px; line-height: 1.6; }
.service-meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--bd-1);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--txt-3);
}

/* ----- 14. Bento Sub-Brand-Showcase ----- */
.bento {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  grid-template-areas:
    "feature small1 small2"
    "feature small3 small4";
}

.bento-tile {
  background: var(--surf-card);
  border: 1px solid var(--bd-1);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--t-base), border-color var(--t-base);
}

.bento-tile:hover {
  transform: translateY(-4px);
  border-color: var(--bd-brand);
}

.bento-feature { grid-area: feature; padding: 36px; min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; }

.bento-features {
  list-style: none;
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bento-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--bd-1);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--txt-2);
  line-height: 1.3;
}
.bento-features .bf-icon { font-size: 16px; }

.bento-feature-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--bd-1);
}
.bento-stats {
  font-size: 11px;
  color: var(--txt-3);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bento-stats::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 8px var(--warn);
}

@media (max-width: 540px) {
  .bento-features { grid-template-columns: 1fr; }
}
.bento-feature::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bento-s1 { grid-area: small1; }
.bento-s2 { grid-area: small2; }
.bento-s3 { grid-area: small3; }
.bento-s4 { grid-area: small4; }

.bento-tile h3 { font-size: 22px; margin-bottom: 8px; }
.bento-feature h3 { font-size: 32px; line-height: 1.1; margin-bottom: 12px; }
.bento-tile p { color: var(--txt-2); font-size: 14px; line-height: 1.5; }
.bento-feature p { font-size: 17px; }
.bento-tile .pill { margin-bottom: 14px; }
.bento-tile .link-arrow {
  margin-top: 18px;
  font-size: 13px;
  color: var(--jc-purple);
  font-family: var(--font-mono);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--t-fast);
}
.bento-tile:hover .link-arrow { gap: 10px; }

@media (max-width: 900px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "feature feature"
      "small1 small2"
      "small3 small4";
  }
  .bento-feature { min-height: 280px; }
}

@media (max-width: 540px) {
  .bento {
    grid-template-columns: 1fr;
    grid-template-areas: "feature" "small1" "small2" "small3" "small4";
  }
}

/* ----- 15. Pricing ----- */
.pricing-tripwire {
  background: linear-gradient(135deg, rgba(251,191,36,.06), rgba(239,68,68,.04));
  border: 1px solid rgba(251,191,36,.3);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.pricing-tripwire::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(251,191,36,.12), transparent 70%);
  border-radius: 50%;
}

.tripwire-info { flex: 1; min-width: 280px; position: relative; }
.tripwire-info h3 { font-size: 24px; margin-bottom: 6px; }
.tripwire-info p { color: var(--txt-2); font-size: 14px; max-width: 56ch; }
.tripwire-info .pill-brand { background: rgba(251,191,36,.16); color: var(--warn); margin-bottom: 12px; }
.tripwire-price { font-family: var(--font-display); font-size: 42px; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.tripwire-price-note { font-size: 12px; color: var(--txt-3); font-family: var(--font-mono); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.price-card {
  position: relative;
  padding: 32px 28px;
  background: var(--surf-card);
  border: 1px solid var(--bd-1);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base), border-color var(--t-base);
}

.price-card.featured {
  border: 1px solid var(--bd-brand);
  background: linear-gradient(180deg, rgba(139,92,246,.08), var(--surf-card));
  transform: scale(1.03);
  box-shadow: 0 0 60px rgba(139,92,246,.15);
}

.price-card.featured::before {
  content: 'Empfohlen';
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px;
  background: linear-gradient(135deg, rgba(59,130,246,.32), rgba(139,92,246,.32));
  border: 1px solid var(--bd-brand);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--txt-1);
  border-radius: var(--r-full);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
  font-weight: 700; text-transform: uppercase;
  box-shadow: var(--shadow-md);
}

.price-card:hover { transform: translateY(-4px); border-color: var(--bd-brand); }
.price-card.featured:hover { transform: translateY(-4px) scale(1.03); }

.price-name { font-family: var(--font-mono); font-size: 12px; color: var(--txt-3); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 8px; }
.price-card h3 { font-size: 22px; margin-bottom: 8px; }
.price-tagline { font-size: 14px; color: var(--txt-2); margin-bottom: 24px; min-height: 42px; }

.price-amount { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; margin-bottom: 4px; }
.price-amount-note { font-size: 12px; color: var(--txt-3); font-family: var(--font-mono); margin-bottom: 24px; }

.price-features { list-style: none; flex: 1; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.price-features li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--txt-2); line-height: 1.5;
}
.price-features li::before {
  content: '✓';
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(34,216,122,.15);
  color: var(--ok);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  margin-top: 1px;
}

.price-enterprise {
  margin-top: 32px;
  background: var(--surf-card);
  border: 1px solid var(--bd-1);
  border-radius: var(--r-xl);
  padding: 32px;
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  gap: 28px;
  align-items: center;
}

.price-enterprise h3 { font-size: 22px; margin-bottom: 6px; }
.price-enterprise p { color: var(--txt-2); font-size: 14px; max-width: 60ch; }
.price-enterprise-amount { font-family: var(--font-display); font-size: 28px; font-weight: 800; text-align: right; }
.price-enterprise-amount span { display: block; font-size: 11px; font-family: var(--font-mono); color: var(--txt-3); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }

.price-it-support {
  margin-top: 16px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--bd-1);
  border-radius: var(--r-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--txt-3);
}

.price-it-support strong { color: var(--txt-2); font-weight: 600; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }
  .price-enterprise { grid-template-columns: 1fr; text-align: left; }
  .price-enterprise-amount { text-align: left; }
}

/* ----- 16. ROI-Calculator ----- */
.roi-calc {
  background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(139,92,246,.04));
  border: 1px solid var(--bd-brand);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.roi-input label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--txt-3);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 8px;
}

.roi-input input[type=range] {
  width: 100%;
  appearance: none;
  background: transparent;
  cursor: pointer;
  height: 32px;
}

.roi-input input[type=range]::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(to right, var(--jc-blue), var(--jc-purple));
  border-radius: 2px;
}

.roi-input input[type=range]::-webkit-slider-thumb {
  appearance: none;
  width: 24px; height: 24px;
  background: white;
  border-radius: 50%;
  margin-top: -10px;
  box-shadow: 0 0 0 4px rgba(139,92,246,.3), 0 4px 12px rgba(0,0,0,.3);
  cursor: grab;
}

.roi-value {
  font-family: var(--font-display);
  font-size: 48px; font-weight: 800;
  line-height: 1.1;
  margin-block: 8px;
}

.roi-output { padding: 24px; background: var(--surf-card); border-radius: var(--r-lg); border: 1px solid var(--bd-1); }
.roi-output h4 { font-size: 13px; color: var(--txt-3); margin-bottom: 6px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; }

@media (max-width: 800px) {
  .roi-calc { grid-template-columns: 1fr; }
}

/* ----- 17. Founder-Section ----- */
.founder {
  background: var(--bg-1);
  position: relative;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.founder-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(99,102,241,.18), rgba(10,10,15,1));
  border: 1px solid var(--bd-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.jc-logo-monitor {
  width: 100%;
  height: auto;
  max-width: 360px;
  position: relative;
  z-index: 2;
}

/* Monitor "Boot-Up" — subtle screen glow */
.jc-logo-monitor .screen {
  animation: screen-glow 4s ease-in-out infinite;
}
@keyframes screen-glow {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.12); }
}

/* Terminal-Block (HTML in foreignObject — auto-centered) */
.jc-logo-monitor .terminal-block {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #F5F5F0;
  white-space: nowrap;
}

.jc-logo-monitor .terminal-cursor-html {
  display: inline-block;
  color: #22d3ee;
  margin-left: 2px;
  animation: terminal-cursor-blink 1s steps(2, jump-none) infinite;
}

/* Terminal Cursor Blink — blockig wie PowerShell/Bash */
.jc-logo-monitor .terminal-cursor,
.jc-logo-monitor .terminal-cursor-rect {
  animation: terminal-cursor-blink 1s steps(2, jump-none) infinite;
}
@keyframes terminal-cursor-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Typewriter SOLUTIONS-Text */
.jc-logo-monitor .typed-text {
  animation: type-solutions 8s steps(10, jump-none) infinite;
}
@keyframes type-solutions {
  0%   { }
  100% { }
}

/* Stripe Color-Wave */
.jc-logo-monitor .monitor-stripe {
  animation: stripe-shift 6s ease-in-out infinite alternate;
}
@keyframes stripe-shift {
  0%   { opacity: 0.85; }
  50%  { opacity: 1; }
  100% { opacity: 0.85; }
}

/* JC Text Glow */
.jc-logo-monitor .jc-text {
  filter: drop-shadow(0 0 8px rgba(99,102,241,0.5));
}

/* Orbiting Brand Dots */
.jc-logo-monitor .orbit-dot {
  animation: orbit-pulse 3s ease-in-out infinite;
  filter: drop-shadow(0 0 6px currentColor);
}
.jc-logo-monitor .dot-1 { animation-delay: 0s; }
.jc-logo-monitor .dot-2 { animation-delay: 0.7s; }
.jc-logo-monitor .dot-3 { animation-delay: 1.4s; }
.jc-logo-monitor .dot-4 { animation-delay: 2.1s; }
@keyframes orbit-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.3); }
}

/* Monitor Frame Subtle Glow */
.jc-logo-monitor .jc-glow {
  animation: monitor-glow 4s ease-in-out infinite alternate;
}
@keyframes monitor-glow {
  0%   { opacity: 0.3; }
  100% { opacity: 0.7; }
}

.founder-photo-tag {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  letter-spacing: .25em;
  z-index: 3;
}

[data-theme="light"] .founder-photo {
  background: radial-gradient(circle at 50% 40%, rgba(99,102,241,.10), #FAFAFC);
  border-color: rgba(99,102,241,.25);
}
[data-theme="light"] .founder-photo-tag { color: var(--txt-3); }

/* (Founder-Photo-Overlay deprecated — replaced by JC-Logo-Monitor) */

/* Sole-Avatar: Jay-Wire-Icon (vom V2 Admin-Panel) */
.sole-avatar-wrap {
  width: 40px; height: 40px;
  position: relative;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle, rgba(99,102,241,.25), rgba(10,10,15,.8));
  border: 1px solid var(--bd-brand);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Jay-Wire SVG Animation — clean + simple (wie Admin Panel V2) */
.jay-wire-svg { display: block; }
.jay-wire-svg .jw {
  stroke: #22d3ee;
  stroke-width: .7;
  fill: none;
  opacity: .9;
  stroke-dasharray: 40;
  animation: jw-trace 4s linear infinite;
}
.jay-wire-svg .jn {
  fill: #fff;
  opacity: .95;
}
.jay-wire-svg .jm {
  fill: #e879f9;
  opacity: .9;
  animation: jm-pulse 2s ease-in-out infinite alternate;
}
@keyframes jw-trace {
  0%   { stroke-dashoffset: 40; opacity: .6; }
  50%  { stroke-dashoffset: 0;  opacity: 1;  }
  100% { stroke-dashoffset:-40; opacity: .6; }
}
@keyframes jm-pulse {
  0%   { opacity: .5; r: 1;   }
  100% { opacity: 1;  r: 1.6; }
}

.founder-content h2 { margin-bottom: 16px; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; }
.founder-content p { color: var(--txt-2); font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
.founder-content p:last-of-type { margin-bottom: 28px; }
.founder-content strong { color: var(--txt-1); font-weight: 600; }

@media (max-width: 768px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 320px; margin-inline: auto; }
}

/* ----- 18. Build-in-Public Stats ----- */
.bip {
  position: relative;
  overflow: hidden;
}

.bip-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.bip-stat {
  text-align: center;
  padding: 28px 18px;
  background: var(--surf-card);
  border: 1px solid var(--bd-1);
  border-radius: var(--r-lg);
}

.bip-stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  margin-bottom: 6px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bip-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--txt-3);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 24px;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: inline-flex;
  gap: 64px;
  animation: marqueeScroll 28s linear infinite;
  white-space: nowrap;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--txt-3);
  display: inline-flex; align-items: center; gap: 10px;
  letter-spacing: -0.02em;
}

.marquee-item::after { content: '·'; color: var(--jc-purple); font-size: 24px; }

@media (max-width: 700px) {
  .bip-stats { grid-template-columns: 1fr 1fr; }
}

/* ----- 19. FAQ ----- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin-inline: auto; }

.faq-item {
  background: var(--surf-card);
  border: 1px solid var(--bd-1);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-base);
}
.faq-item:hover { border-color: var(--bd-2); }
.faq-item[open] { border-color: var(--bd-brand); }

.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(139,92,246,.14);
  color: var(--jc-purple);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  transition: transform var(--t-base);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-body {
  padding: 0 22px 22px;
  color: var(--txt-2);
  font-size: 15px;
  line-height: 1.65;
}

/* ----- 20. Final CTA ----- */
.cta-final {
  text-align: center;
  background: linear-gradient(135deg, rgba(59,130,246,.08), rgba(139,92,246,.08));
  border: 1px solid var(--bd-brand);
  border-radius: var(--r-2xl);
  padding: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 48px);
  margin-block: clamp(48px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(139,92,246,.18), transparent 60%);
  z-index: 0;
}

.cta-final > * { position: relative; z-index: 1; }
.cta-final h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; line-height: 1.1; }
.cta-final p { color: var(--txt-2); margin-bottom: 28px; font-size: 17px; }
.cta-final-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ----- 21. Footer ----- */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--bd-1);
  padding-block: 64px 32px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo { font-size: 22px; margin-bottom: 14px; }
.footer-brand p { color: var(--txt-3); font-size: 14px; max-width: 32ch; line-height: 1.6; }

.footer-col h5 {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--txt-3); margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--txt-2); transition: color var(--t-fast); }
.footer-col a:hover { color: var(--txt-1); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--bd-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--txt-3);
  font-family: var(--font-mono);
}

.footer-bottom a:hover { color: var(--txt-2); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ----- 22. Custom Cursor — Comet-Trail + Spotlight (Desktop only) ----- */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, .btn, .nav-burger, summary, input, .bento-tile, .price-card, .service-card, .faq-item { cursor: none; }

  /* Spotlight-Glow — beleuchtet Hero-Hintergrund */
  .cursor-spotlight {
    position: fixed;
    top: 0; left: 0;
    width: 480px; height: 480px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(139,92,246,.18) 0%, rgba(99,102,241,.10) 30%, transparent 65%);
    mix-blend-mode: screen;
    transition: opacity var(--t-base);
    opacity: 0;
  }
  .cursor-spotlight.in-hero { opacity: 1; }

  /* Lead-Dot — Haupt-Pointer */
  .cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: white;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 14px rgba(255,255,255,.6), 0 0 32px rgba(139,92,246,.4);
    transition: width var(--t-fast), height var(--t-fast), background var(--t-fast);
  }

  .cursor-dot.hover {
    width: 28px; height: 28px;
    background: var(--jc-purple);
    box-shadow: 0 0 22px rgba(139,92,246,.9), 0 0 50px rgba(139,92,246,.5);
  }

  /* Comet-Trail dots */
  .cursor-trail {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(139,92,246,.7);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
  }
}

/* ----- 23. Mobile Nav Drawer ----- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-cta { display: none; }
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,15,.96), rgba(10,10,15,.99));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 90;
  padding: 90px 28px 32px;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-slow) var(--easing), opacity var(--t-base);
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
[data-theme="light"] .mobile-drawer {
  background: linear-gradient(180deg, rgba(239,238,240,.96), rgba(239,238,240,.99));
}

.mobile-drawer.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Animated gradient ribbon on the left edge */
.mobile-drawer::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #3B82F6 0%, #8B5CF6 50%, #EC4899 100%);
  opacity: 0;
  transition: opacity var(--t-slow) 200ms;
}
.mobile-drawer.open::before { opacity: 1; }

.mobile-drawer a {
  position: relative;
  padding: 18px 20px;
  font-size: 20px;
  font-weight: 600;
  color: var(--txt-1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid transparent;
  background: rgba(255,255,255,.02);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  opacity: 0;
  transform: translateX(20px);
  animation: drawerItemIn 500ms var(--easing) forwards;
}
[data-theme="light"] .mobile-drawer a {
  background: rgba(0,0,0,.02);
}
.mobile-drawer a::after {
  content: "→";
  font-family: var(--font-mono);
  color: var(--txt-3);
  font-size: 16px;
  transition: transform var(--t-fast), color var(--t-fast);
}
.mobile-drawer a:hover, .mobile-drawer a:active {
  background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(139,92,246,.12));
  border-color: rgba(139,92,246,.35);
  transform: translateX(4px);
}
.mobile-drawer a:hover::after, .mobile-drawer a:active::after {
  color: var(--jc-purple);
  transform: translateX(4px);
}

.mobile-drawer a.btn {
  margin-top: 24px;
  padding: 20px 24px;
  font-size: 18px;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59,130,246,.32), rgba(139,92,246,.32));
  border-color: rgba(139,92,246,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--txt-1);
}
.mobile-drawer a.btn::after { content: ""; }

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  animation: drawerItemIn 600ms 400ms var(--easing) forwards;
}
.mobile-drawer-toggles {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.mobile-drawer-toggles .nav-toggle {
  width: 48px; height: 48px;
  font-size: 13px;
}
.mobile-drawer-brand {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--txt-3);
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

/* Stagger drawer items */
.mobile-drawer.open a:nth-child(1) { animation-delay: 80ms; }
.mobile-drawer.open a:nth-child(2) { animation-delay: 140ms; }
.mobile-drawer.open a:nth-child(3) { animation-delay: 200ms; }
.mobile-drawer.open a:nth-child(4) { animation-delay: 260ms; }
.mobile-drawer.open a:nth-child(5) { animation-delay: 320ms; }
.mobile-drawer.open a:nth-child(6) { animation-delay: 380ms; }

@keyframes drawerItemIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ----- 24. Reveal-On-Scroll ----- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--easing), transform 800ms var(--easing);
}

[data-reveal].in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ----- 25. Sole Chat Widget ----- */
.sole-bubble {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(99,102,241,.5), rgba(20,20,30,.95));
  border: 1px solid var(--bd-brand);
  box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 40px rgba(139,92,246,.4);
  cursor: pointer;
  z-index: 95;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 0;
  transition: transform var(--t-base) var(--easing), box-shadow var(--t-base);
  animation: solePulse 3s ease-in-out infinite;
  /* Mobile touch fix - prevent iOS Save-Image / long-press dialog */
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-drag: none;
}
.sole-bubble > svg { pointer-events: none; }

.sole-bubble .jay-wire-svg {
  width: 32px;
  height: 38px;
}

.sole-bubble:hover { transform: scale(1.08); animation-play-state: paused; }
.sole-bubble.hidden { transform: scale(0); }

@keyframes solePulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}

.sole-modal {
  position: fixed;
  bottom: 100px; right: 24px;
  width: 400px; max-width: calc(100vw - 32px);
  height: 600px; max-height: calc(100svh - 140px);
  background: var(--bg-1);
  border: 1px solid var(--bd-2);
  border-radius: var(--r-xl);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  z-index: 81;
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  animation: soleOpen 260ms var(--easing);
}
.sole-modal.open { display: flex; }

@keyframes soleOpen {
  from { opacity: 0; transform: scale(.85) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.sole-head {
  padding: 16px 18px;
  border-bottom: 1px solid var(--bd-1);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-2);
}
.sole-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59,130,246,.28), rgba(139,92,246,.28));
  border: 1px solid var(--bd-brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--txt-1);
  font-weight: 700;
}
.sole-head-info { flex: 1; }
.sole-head-info strong { font-size: 14px; }
.sole-head-info small { color: var(--txt-3); font-size: 11px; display: block; }
.sole-close { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--txt-2); font-size: 16px; }
.sole-close:hover { background: rgba(255,255,255,.12); }

.sole-disclaimer {
  padding: 8px 18px;
  background: rgba(251,191,36,.08);
  border-bottom: 1px solid var(--bd-1);
  font-size: 11px;
  color: var(--txt-3);
  text-align: center;
  font-family: var(--font-mono);
}

.sole-messages { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }

.sole-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  word-wrap: break-word;
}
.sole-msg.bot { background: var(--bg-2); border-bottom-left-radius: 6px; align-self: flex-start; }
.sole-msg.user {
  background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(139,92,246,.2));
  border: 1px solid var(--bd-brand);
  backdrop-filter: blur(8px);
  color: var(--txt-1);
  border-bottom-right-radius: 6px;
  align-self: flex-end;
}

.sole-typing { display: inline-flex; gap: 4px; padding: 10px 14px; }
.sole-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--txt-3); animation: typingBounce 1.4s ease-in-out infinite; }
.sole-typing span:nth-child(2) { animation-delay: 0.2s; }
.sole-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.sole-quick { padding: 0 18px 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.sole-quick button {
  padding: 6px 12px;
  background: rgba(139,92,246,.1);
  border: 1px solid var(--bd-brand);
  border-radius: var(--r-full);
  font-size: 12px;
  color: #c9aef0;
  cursor: pointer;
  transition: background var(--t-fast);
}
.sole-quick button:hover { background: rgba(139,92,246,.2); }

.sole-input-row {
  padding: 14px 18px;
  border-top: 1px solid var(--bd-1);
  display: flex;
  gap: 10px;
  background: var(--bg-2);
}
.sole-input-row input {
  flex: 1;
  background: var(--bg-1);
  border: 1px solid var(--bd-1);
  border-radius: var(--r-full);
  padding: 10px 16px;
  font-size: 14px;
  color: var(--txt-1);
}
.sole-input-row input:focus { outline: none; border-color: var(--bd-brand); }
.sole-input-row button.send {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59,130,246,.28), rgba(139,92,246,.28));
  border: 1px solid var(--bd-brand);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--txt-1);
  font-size: 16px;
  flex-shrink: 0;
  transition: background var(--t-base), border-color var(--t-base);
}
.sole-input-row button.send:hover {
  background: linear-gradient(135deg, rgba(59,130,246,.4), rgba(139,92,246,.4));
  border-color: var(--jc-purple);
}
.sole-input-row button.send:disabled { opacity: .4; cursor: not-allowed; }

@media (max-width: 540px) {
  .sole-modal {
    inset: 0;
    width: 100%;
    height: 100svh;
    max-height: 100svh;
    bottom: 0; right: 0;
    border-radius: 0;
  }
}

/* ----- Back-to-Top Button ----- */
#backToTop {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59,130,246,.32), rgba(139,92,246,.32));
  border: 1px solid var(--bd-brand);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--txt-1);
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 85;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity var(--t-base), transform var(--t-base), background var(--t-base);
  box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 30px rgba(139,92,246,.2);
}
#backToTop.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#backToTop:hover {
  background: linear-gradient(135deg, rgba(59,130,246,.45), rgba(139,92,246,.45));
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  #backToTop {
    bottom: 24px;
    left: 24px;
    right: auto;
    width: 42px;
    height: 42px;
  }
}

/* ----- 26. Misc Utilities ----- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 32px; } .mt-8 { margin-top: 48px; }
.flex { display: flex; }
.gap-3 { gap: 12px; }
.center { display: flex; align-items: center; justify-content: center; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
