/* ============================================================
   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-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.55;
}

/* ---- 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; }
}

/* ---- Header Logo ---- */
.header-logo {
  display: block;
  height: 48px;
  width: auto;
  transition: height var(--transition);
}
.header.scrolled .header-logo {
  height: 36px;
}
@media (max-width: 768px) {
  .header-logo { height: 36px; }
  .header.scrolled .header-logo { height: 30px; }
}