/* ============================================================
   SerDev – Digital Solution | Design System
   Premium 2D · Stripe/Linear/Vercel Level
   ============================================================ */

/* ---- Fonts: lokal gehostet (DSGVO-konform) ---- */
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/Satoshi-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/Satoshi-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/Satoshi-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('/assets/fonts/GeneralSans-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('/assets/fonts/GeneralSans-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('/assets/fonts/GeneralSans-Semibold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---- CSS Variables ---- */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-darker: #1e40af;
  --primary-light: #3b82f6;
  --primary-lighter: #60a5fa;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;

  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --border: #e2e8f0;
  --border-subtle: #f1f5f9;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --font-display: 'Satoshi', system-ui, -apple-system, sans-serif;
  --font-body: 'General Sans', system-ui, -apple-system, sans-serif;

  --section-y: clamp(5rem, 10vw, 8rem);
  --container-x: clamp(1.25rem, 5vw, 2rem);
  --container-max: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-lighter) 60%, transparent 100%);
  z-index: 9999;
  pointer-events: none;
}

::selection { background: var(--primary-100); color: var(--primary-darker); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 700;
  line-height: 1.15;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lighter) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-x); }
.container-wide { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--container-x); }
.container-narrow { width: 100%; max-width: 800px; margin: 0 auto; padding: 0 var(--container-x); }
.section { padding: var(--section-y) 0; }
.section-alt { background: #f8fafc; border-top: 1px solid #e8edf5; border-bottom: 1px solid #e8edf5; }
.text-center { text-align: center; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; }
.grid-2-equal { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

/* ---- Overline ---- */
.overline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.overline::before {
  content: '';
  width: 1.5rem;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* ---- Section Header ---- */
.section-header { margin-bottom: 3.5rem; }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.025em;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}
.section-header p {
  color: var(--text-secondary);
  max-width: 560px;
  font-size: 1.0625rem;
  line-height: 1.7;
}
.section-header.text-center p { margin: 0 auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(37,99,235,0.1), 0 0 0 1px rgba(37,99,235,0.1);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(37,99,235,0.25);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--border);
}
.btn-secondary:hover {
  background: var(--bg-subtle);
  box-shadow: inset 0 0 0 1.5px var(--text-muted);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  padding: 0.5rem 0;
}
.btn-ghost:hover { color: var(--primary-dark); }
.btn-ghost svg { transition: transform var(--transition); }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-white {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0,0,0,0.2); }

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.7);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.2);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.05); color: #fff; }

.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-group-center { justify-content: center; }

/* Arrow SVG inline */
.icon-arrow { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Cards ---- */
.card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--primary-lighter);
  box-shadow: 0 8px 32px rgba(37,99,235,0.12), 0 2px 8px rgba(0,0,0,0.05);
  transform: translateY(-3px);
}

.card-flat {
  background: var(--bg-subtle);
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  padding: 1.75rem;
  transition: all var(--transition);
}
.card-flat:hover {
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

/* ---- Icon Box ---- */
.icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  border-radius: 12px;
  flex-shrink: 0;
}
.icon-box svg { width: 22px; height: 22px; stroke: var(--primary); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-box-lg { width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--primary-100); }
.icon-box-lg svg { width: 24px; height: 24px; }
.icon-box-sm { width: 28px; height: 28px; border-radius: 8px; }
.icon-box-sm svg { width: 14px; height: 14px; }
.icon-box-check { width: 20px; height: 20px; border-radius: 6px; }
.icon-box-check svg { width: 12px; height: 12px; stroke-width: 2.5; }

/* ---- Badge ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
}

.tech-tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  font-size: 0.6875rem;
  font-weight: 500;
  border-radius: 5px;
  color: var(--text-secondary);
}

/* ---- Trust items ---- */
.trust-row { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.trust-item { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; color: var(--text-muted); font-weight: 500; }
.trust-item svg { width: 14px; height: 14px; stroke: var(--primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Check list ---- */
.check-list { display: flex; flex-direction: column; gap: 0.75rem; }
.check-item { display: flex; gap: 0.625rem; align-items: flex-start; }
.check-item span { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.6; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.4s var(--ease);
  height: 80px;
}
.header.scrolled {
  height: 64px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226,232,240,0.8);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-left, .nav-right { display: flex; align-items: center; gap: 2rem; flex: 1; }
.nav-right { justify-content: flex-end; }

.nav-link {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: width var(--transition);
  border-radius: 1px;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--primary); }
.nav-link.active::after { width: 100%; }

/* Logo */
.logo { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.logo img, .header-logo { height: 36px; width: auto; display: block; }

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(4rem, 12vw, 8rem) 0 clamp(4rem, 10vw, 7rem);
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.10) 0%, transparent 70%);
  pointer-events: none;
}
/* Hero Code Animation Canvas */
.hero-code-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-code-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.045;
}
/* Fade edges so code blends into white */
.hero-code-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 60% at 50% 50%, transparent 30%, rgba(255,255,255,0.97) 80%),
    linear-gradient(to bottom, rgba(255,255,255,0.5) 0%, transparent 20%, transparent 80%, rgba(255,255,255,0.9) 100%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}
.hero .subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

/* Page hero (smaller) */
.page-hero {
  background: var(--bg-subtle);
  background-image: radial-gradient(rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  border-bottom: 1px solid var(--border);
  padding: clamp(3rem, 8vw, 5rem) 0 var(--section-y);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg-subtle));
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  letter-spacing: -0.025em;
  max-width: 700px;
  margin: 0.75rem auto 1rem;
}
.page-hero p {
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.process-list { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 2rem; }
.process-step { position: relative; padding-left: 4rem; padding-bottom: 1rem; }
.process-step::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 2.5rem;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.process-step:last-child::before { display: none; }
.step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-50);
  border: 1.5px solid var(--primary-100);
  border-radius: 10px;
}
.process-step h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.375rem; letter-spacing: -0.01em; }
.process-step p { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.7; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}
.faq-trigger:hover { color: var(--primary); }
.faq-trigger svg {
  flex-shrink: 0;
  transition: transform var(--transition);
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.faq-trigger.active svg { transform: rotate(45deg); }
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-content.open { max-height: 300px; }
.faq-content p { padding-bottom: 1.25rem; color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.7; }

/* ============================================================
   CTA DARK SECTION
   ============================================================ */
.cta-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-dark-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.cta-dark-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-dark h2 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.025em; margin-bottom: 1rem; }
.cta-dark p { color: rgba(255,255,255,0.6); font-size: 1.0625rem; line-height: 1.7; max-width: 500px; margin: 0 auto 2.5rem; }
.cta-dark .trust-line { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 2.5rem; }
.cta-dark .trust-line svg { width: 14px; height: 14px; stroke: rgba(255,255,255,0.4); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cta-dark .trust-line span { color: rgba(255,255,255,0.4); font-size: 0.8125rem; font-weight: 500; }

/* ============================================================
   PROJECT CARDS
   ============================================================ */
.project-preview {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--bg-subtle) 0%, var(--bg-muted) 100%);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.browser-dots {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 10px;
}
.browser-dots span { width: 8px; height: 8px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }
.project-preview-label { font-size: 0.8125rem; color: var(--text-muted); font-weight: 500; margin-top: 14px; }
.tech-tags { display: flex; gap: 0.375rem; flex-wrap: wrap; padding-top: 1rem; border-top: 1px solid var(--border); }

/* ============================================================
   TEAM
   ============================================================ */
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 2px solid var(--primary-100);
}
.team-avatar span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.form-label-opt { color: var(--text-muted); font-weight: 400; }
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  transition: all var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { resize: vertical; min-height: 140px; }

.checkbox-wrap { display: flex; gap: 0.75rem; align-items: flex-start; }
.checkbox-wrap input { margin-top: 4px; accent-color: var(--primary); width: 16px; height: 16px; cursor: pointer; }
.checkbox-wrap label { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.6; cursor: pointer; }
.checkbox-wrap a { color: var(--primary); text-decoration: underline; }

.form-success {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--primary-50);
  border-radius: 16px;
  border: 1px solid var(--primary-100);
}
.form-success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--text-secondary); font-size: 0.9375rem; }

.contact-sidebar h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: -0.01em; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-subtle);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.contact-card:hover { border-color: var(--primary-lighter); }
.contact-card-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; margin-bottom: 0.125rem; }
.contact-card-value { font-size: 0.9375rem; color: var(--text); font-weight: 500; }

.expect-list { display: flex; flex-direction: column; gap: 0.875rem; }
.expect-item { display: flex; align-items: center; gap: 0.625rem; font-size: 0.9375rem; color: var(--text-secondary); }

/* ============================================================
   SERVICE DETAIL (Leistungen page)
   ============================================================ */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.service-block + .service-block { margin-top: 6rem; }
.service-meta h3 { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 1rem; }
.use-cases { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.use-case-tag {
  padding: 0.375rem 0.75rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content { color: var(--text-secondary); font-size: 1rem; line-height: 1.8; }
.legal-content h2 { font-size: 1.25rem; font-weight: 600; color: var(--text); margin-bottom: 0.75rem; margin-top: 2rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.375rem; margin-top: 0.75rem; }
.legal-content p { margin-bottom: 0.75rem; }
.legal-content ul { padding-left: 1.5rem; margin: 0.5rem 0; display: flex; flex-direction: column; gap: 0.375rem; }
.legal-content ul li { list-style: disc; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-subtle); border-top: 1px solid var(--border); }
.footer-inner { padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.footer-brand p { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.7; margin-top: 0.75rem; }
.footer-col h4 { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a { color: var(--text-secondary); font-size: 0.9375rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: var(--text-muted); font-size: 0.8125rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: var(--text-muted); font-size: 0.8125rem; transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--primary); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 200;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.75rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  max-width: 480px;
  width: calc(100% - 2rem);
  transition: transform 0.5s var(--ease);
}
.cookie-banner.visible { transform: translateX(-50%) translateY(0); }
.cookie-banner p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.6; }
.cookie-banner a { color: var(--primary); text-decoration: underline; }
.cookie-btns { display: flex; gap: 0.75rem; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-y: clamp(3.5rem, 8vw, 5rem); }

  .nav-left, .nav-right { display: none; }
  .hamburger { display: flex; }

  .grid-2-equal { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-block { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }
  .trust-row { flex-direction: column; align-items: center; gap: 0.75rem; }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-subtle); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
/* ============================================================
   NEUE KOMPONENTEN – Stats, Testimonials, Mockups, LinkedIn
   ============================================================ */

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item { padding: 0.5rem; }
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.375rem;
}
.stat-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ---- Testimonials ---- */
.grid-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
}
.testimonial-card blockquote p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-50);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
}
.testimonial-author strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}
.testimonial-author span {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ---- Projekt Mockup ---- */
.project-mockup {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  aspect-ratio: 16/9;
  background: var(--bg-muted);
}
.project-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.card:hover .project-mockup img { transform: scale(1.03); }

.project-mockup-full {
  aspect-ratio: 16/9;
  background: var(--bg-muted);
  overflow: hidden;
}
.project-mockup-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.card:hover .project-mockup-full img { transform: scale(1.03); }

/* ---- Footer Social (LinkedIn) ---- */
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  transition: color var(--transition);
  text-decoration: none;
}
.footer-social:hover { color: var(--primary); }

/* ---- Hero Code Canvas ---- */
.hero-code-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-code-bg canvas {
  width: 100%;
  height: 100%;
  opacity: 0.22;
}

/* ---- Responsive additions ---- */
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-value { font-size: 1.75rem; }
}


/* ============================================================
   STORY HERO – dark cinematic opener
   ============================================================ */
.story-hero {
  position: relative;
  background: var(--bg-subtle);
  padding: clamp(3rem,8vw,5rem) 0 var(--section-y);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.story-hero__bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.story-hero__glow {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg-subtle));
  pointer-events: none;
}

.story-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}
.story-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
  animation: sFadeUp .8s var(--ease) both;
}
.story-hero__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(37,99,235,.5);
  animation: sDotBlink 2s ease-in-out infinite;
}
@keyframes sDotBlink { 0%,100% { opacity:1; } 50% { opacity:.35; } }
.story-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem,5vw,3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--text);
  margin: .75rem auto 1rem;
  max-width: 700px;
  animation: sFadeUp .9s var(--ease) .1s both;
}
.story-hero__title-accent {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.story-hero__sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 2rem;
  animation: sFadeUp 1s var(--ease) .22s both;
}
.story-hero__br { display: none; }
@media (min-width:640px) { .story-hero__br { display: inline; } }
.story-hero__scroll {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color .3s, color .3s, transform .3s;
  animation: sFadeUp 1s var(--ease) .35s both, sArrowBob 2.5s ease-in-out 1.5s infinite;
}
.story-hero__scroll:hover { border-color: var(--primary); color: var(--primary); }
@keyframes sArrowBob { 0%,100% { transform:translateY(0); } 50% { transform:translateY(6px); } }
@keyframes sFadeUp   { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }



/* ============================================================
   TL – Timeline "So läuft das Projekt ab" Style
   Große Zahlen · dünne Mittellinie · Text links/rechts · keine Cards
   ============================================================ */

/* Section */
.tl-section {
  padding: clamp(5rem,10vw,8rem) 0 clamp(6rem,12vw,10rem);
  background: var(--bg);
  overflow: hidden;
}

/* Section header */
.tl-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(4rem,8vw,6rem);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.tl-header.tl-in { opacity: 1; transform: none; }
.tl-header__h2 {
  font-size: clamp(2.25rem,5.5vw,3.5rem);
  letter-spacing: -.04em;
  line-height: 1.08;
  margin: .5rem 0 1rem;
}
.tl-header__p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* ── Timeline wrapper ── */
.tl-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  /* Space between steps – like the reference image */
  gap: clamp(3.5rem, 7vw, 5.5rem);
}

/* ── Center line ── */
.tl-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: #dde1e7;
  z-index: 0;
  pointer-events: none;
}
.tl-line__fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 0;
  background: linear-gradient(to bottom, var(--primary), var(--primary-lighter));
  transition: height .06s linear;
}
.tl-line__dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15), 0 0 12px rgba(37,99,235,.5);
  opacity: 0;
  transition: top .06s linear, opacity .3s;
  animation: tlDotPulse 2s ease-in-out infinite;
}
@keyframes tlDotPulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(37,99,235,.15), 0 0 12px rgba(37,99,235,.5); }
  50%      { box-shadow: 0 0 0 6px rgba(37,99,235,.08), 0 0 22px rgba(37,99,235,.8); }
}

/* ── Step (row) ── */
.tl-step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  opacity: 0;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.tl-step--r { transform: translateX(40px); }
.tl-step--l { transform: translateX(-40px); }
.tl-step.tl-in {
  opacity: 1;
  transform: none !important;
}

/* Half-column: empty spacer OR content */
.tl-step__side {
  flex: 1;
  min-width: 0;
  padding-top: .25rem;
}


/* Right-aligned text (for left steps) */
.tl-step__side--text-right {
  text-align: right;
  padding-right: 2rem;
}

/* Padding for right-side content */
.tl-step--r .tl-step__side:last-child {
  padding-left: 2rem;
}

/* ── Center column: the big number ── */
.tl-step__mid {
  flex: 0 0 88px;
  display: flex;
  justify-content: center;
  /* Push number down slightly so it aligns with text top */
  padding-top: 0;
}

/* ── Node: big bold number ── */
.tl-node {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  position: relative;
}
.tl-node__num {
  font-family: var(--font-display);
  /* LARGE number – key visual element like in reference image */
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--border);
  transition: color .6s var(--ease);
  /* Small white circle behind number to break the line */
  background: var(--bg);
  padding: .125rem .5rem;
}
/* When step is visible, number turns primary */
.tl-step.tl-in .tl-node__num {
  color: var(--text);
}
/* Active accent */
.tl-step.tl-in .tl-node--accent .tl-node__num,
.tl-step.tl-in .tl-node--vision .tl-node__num {
  color: var(--primary);
}

/* ── Text elements ── */
.tl-meta {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .625rem;
}
.tl-meta--accent { color: var(--primary); }

.tl-h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: .75rem;
}

.tl-p {
  font-size: .9375rem;
  color: var(--text-secondary);
  line-height: 1.78;
  margin-bottom: .625rem;
}
.tl-p:last-of-type { margin-bottom: 0; }

/* Quote */
.tl-quote {
  display: block;
  margin-top: 1rem;
  padding-left: .875rem;
  border-left: 2px solid var(--primary);
  font-size: .9375rem;
  font-style: italic;
  font-weight: 500;
  color: var(--text);
  line-height: 1.65;
}
.tl-step__side--text-right .tl-quote {
  padding-left: 0;
  padding-right: .875rem;
  border-left: none;
  border-right: 2px solid var(--primary);
}

/* Milestone row */
.tl-milestone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  font-size: .875rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}
.tl-milestone svg { color: var(--primary); flex-shrink: 0; }
.tl-milestone strong { color: var(--primary); font-weight: 700; }

/* Tags */
.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  margin-top: 1rem;
  justify-content: flex-end; /* right-aligned for left steps */
}
.tl-step--r .tl-tags { justify-content: flex-start; }
.tl-tags span {
  padding: .3rem .75rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* CTA button */
.tl-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.5rem;
  padding: .8125rem 1.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-size: .9375rem;
  font-weight: 600;
  transition: background .3s, box-shadow .3s, transform .3s;
}
.tl-cta svg { transition: transform .3s var(--ease); }
.tl-cta:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(37,99,235,.3);
  transform: translateY(-2px);
}
.tl-cta:hover svg { transform: translateX(4px); }

/* ============================================================
   SERVICE CAROUSEL (Premium Apple-style)
   ============================================================ */
.carousel-section {
  position: relative;
  padding: 4rem 0 6rem;
  overflow: hidden;
}

.carousel-viewport {
  width: 100%;
  padding: 2rem 0;
  cursor: grab;
  user-select: none;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto; /* Important for manual drift */
}

.carousel-viewport.no-snap {
  scroll-snap-type: none !important;
}

.carousel-viewport::-webkit-scrollbar { display: none; }

.carousel-viewport:active { cursor: grabbing; }

.carousel-track {
  display: flex;
  gap: 2rem;
  padding: 0 max(2rem, calc((100vw - 1200px) / 2));
}

.carousel-item {
  flex: 0 0 clamp(300px, 80vw, 420px);
  scroll-snap-align: center;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}

.service-card-premium {
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, transparent 100%);
  z-index: 0;
}

.service-card-premium > * { position: relative; z-index: 1; }

.service-card-premium:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.12);
  border-color: var(--primary-100);
}

.card-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--primary-50);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--primary);
  transition: transform 0.4s var(--ease);
}

.service-card-premium:hover .card-icon-wrap { transform: rotate(5deg) scale(1.1); }

.card-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.card-content p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.card-benefits {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.card-benefits h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.benefit-pill-track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.benefit-pill {
  padding: 0.5rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Pagination Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.dot.active {
  width: 24px;
  background: var(--primary);
  border-radius: 100px;
}

/* Nav Arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  pointer-events: none;
  z-index: 10;
}

.nav-btn {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s var(--ease);
  opacity: 0;
  transform: scale(0.8);
}

.carousel-section:hover .nav-btn {
  opacity: 1;
  transform: scale(1);
}

.nav-btn:hover {
  background: #fff;
  border-color: var(--primary-lighter);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  color: var(--primary);
}

@media (max-width: 768px) {
  .carousel-track { padding: 0 1.5rem; }
  .carousel-nav { display: none; }
  .service-card-premium { padding: 2.5rem 2rem; }
}

/* ============================================================
   TL RESPONSIVE
   ============================================================ */
@media (max-width: 700px) {
  /* Line moves to left */
  .tl-line { left: 20px; transform: none; }

  .tl-step--r,
  .tl-step--l {
    flex-direction: row !important;
    transform: translateY(24px) !important;
    align-items: flex-start;
  }
  .tl-step.tl-in { transform: none !important; }

  /* Hide empty spacer on mobile */
  .tl-step__side--empty { display: none; }

  /* Mid: node column slim */
  .tl-step__mid { flex: 0 0 56px; }
  .tl-node { width: 56px; }
  .tl-node__num { font-size: 2rem; padding: .125rem .25rem; }

  /* Content always right of node, left-aligned */
  .tl-step__side--text-right {
    text-align: left;
    padding-right: 0;
    padding-left: .75rem;
    order: 3;
  }
  .tl-step--l .tl-step__mid { order: 1; }
  .tl-step--l .tl-step__side--text-right { order: 2; }

  .tl-step--r .tl-step__side:last-child { padding-left: .75rem; }

  .tl-quote {
    padding-left: .75rem;
    padding-right: 0;
    border-left: 2px solid var(--primary);
    border-right: none;
  }
  .tl-tags { justify-content: flex-start; }
}

/* Print Overrides */
@media print {
  .cookie-banner, 
  .header, 
  .footer, 
  .carousel-nav, 
  .carousel-dots, 
  .story-hero__scroll, 
  .print-btn,
  .agb-toc-sidebar {
    display: none !important;
  }
}
