/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-400: #60a5fa;
  --blue-200: #bfdbfe;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection {
  background: rgba(37, 99, 235, 0.2);
  color: var(--slate-800);
}

/* ========================================
   Utilities
   ======================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.mt-40 { margin-top: 2.5rem; }
.mt-80 { margin-top: 5rem; }

.bg-white { background: var(--white); }
.bg-slate { background: var(--slate-50); }

.grid-2 {
  display: grid;
  gap: 4rem;
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
}

.align-center { align-items: center; }

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

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

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50% { transform: translateY(-8px) translateX(-50%); }
}

.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
.animate-fade-in-delay-1 { animation: fadeInUp 0.8s ease-out 0.2s forwards; opacity: 0; }
.animate-fade-in-delay-2 { animation: fadeInUp 0.8s ease-out 0.4s forwards; opacity: 0; }
.animate-fade-in-delay-3 { animation: fadeInUp 0.8s ease-out 0.6s forwards; opacity: 0; }

/* ========================================
   Gradient Text
   ======================================== */
.gradient-text {
  background: linear-gradient(135deg, var(--blue-600) 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   Buttons & Links
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 9999px;
  padding: 0.875rem 2rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-700); }

.btn-outline {
  background: transparent;
  color: var(--slate-700);
  border: 1px solid var(--slate-300);
}
.btn-outline:hover {
  border-color: var(--blue-200);
  background: var(--blue-50);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-600);
  transition: color 0.2s;
  margin-top: 2.5rem;
}
.link-arrow:hover { color: var(--blue-700); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow svg { transition: transform 0.2s; }

/* ========================================
   Section base
   ======================================== */
.section {
  position: relative;
  padding: 8rem 0;
}

.section-divider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--blue-200), transparent);
  pointer-events: none;
}

.section-label {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

.section-text {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--slate-500);
}

.center-text {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
}

/* ========================================
   Badge
   ======================================== */
.badge {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--blue-200);
  background: var(--blue-50);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-600);
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid var(--slate-200);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.navbar-inner {
  display: flex;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1.5rem;
}

.logo-img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav-link {
  font-size: 1.05rem;
  letter-spacing: 0.025em;
  color: var(--slate-500);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--blue-600); }

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.nav-links.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
  padding: 1.5rem;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .mobile-toggle { display: none; }
}

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, var(--blue-50), var(--white));
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(191, 219, 254, 0.2);
  filter: blur(80px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.hero-title {
  max-width: 900px;
  margin: 0 auto;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

.hero-subtitle {
  max-width: 640px;
  margin: 2rem auto 0;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--slate-500);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--blue-400);
  animation: bounce 2s infinite;
  transition: color 0.2s;
}
.scroll-indicator:hover { color: var(--blue-600); }

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; justify-content: center; }
}

@media (min-width: 768px) {
  .hero-title { font-size: 4.5rem; }
  .hero-subtitle { font-size: 1.25rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 5.5rem; }
}

/* ========================================
   Glass Card (About)
   ======================================== */
.feature-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.glass-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(37, 99, 235, 0.03);
  border: 1px solid rgba(37, 99, 235, 0.1);
  transition: all 0.3s;
}
.glass-card:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.2);
}

.icon-box {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--blue-50);
  color: var(--blue-600);
  margin-bottom: 1rem;
  transition: background 0.3s;
}
.glass-card:hover .icon-box { background: var(--blue-100); }

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate-900);
}

.card-text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--slate-500);
}

/* ========================================
   Service Cards
   ======================================== */
.service-card {
  padding: 2rem;
  border-radius: 1rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  transition: all 0.3s;
}
.service-card:hover {
  border-color: var(--blue-200);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.08);
}

.icon-box-lg {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: var(--blue-50);
  color: var(--blue-600);
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}
.service-card:hover .icon-box-lg { background: var(--blue-100); }

.service-card-numbered {
  display: flex;
  flex-direction: column;
}

.service-number {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--blue-200);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  list-style: none;
  padding: 0;
}

.service-tags li {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--blue-50);
  color: var(--blue-600);
  font-weight: 500;
}

/* ========================================
   Product Visual
   ======================================== */
.product-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: 1.5rem;
  border: 1px solid var(--blue-100);
  background: linear-gradient(to bottom right, var(--blue-50), var(--white));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-container {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(to bottom right, rgba(191, 219, 254, 0.5), rgba(219, 234, 254, 0.2));
  filter: blur(4px);
}

.orb-core {
  position: absolute;
  inset: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-icon { color: var(--blue-600); }

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
}
.orb-ring-1 { inset: -2rem; border-color: rgba(191, 219, 254, 0.3); }
.orb-ring-2 { inset: -4rem; border-color: rgba(191, 219, 254, 0.2); }
.orb-ring-3 { inset: -6rem; border-color: rgba(219, 234, 254, 0.15); }

.product-label-top {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 0.75rem;
  color: var(--blue-400);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-400);
}

.product-label-bottom {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 0.75rem;
  color: rgba(96, 165, 250, 0.6);
}

/* Feature list (Product) */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
}

.icon-box-sm {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: var(--blue-50);
  color: var(--blue-600);
}

.feature-title {
  font-weight: 600;
  color: var(--slate-900);
}

.feature-desc {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* ========================================
   Stats
   ======================================== */
.stats-section {
  background: var(--blue-600);
  padding: 6rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat { text-align: center; }

.stat-value {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  color: var(--blue-200);
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-value { font-size: 3rem; }
}

/* ========================================
   Jobs / Careers
   ======================================== */
.jobs-list {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--slate-200);
  background: var(--white);
  transition: all 0.3s;
}
.job-card:hover {
  border-color: var(--blue-200);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.08);
}

.job-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.job-title {
  font-weight: 600;
  color: var(--slate-900);
}

.job-badge {
  font-size: 0.75rem;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  background: var(--blue-50);
  color: var(--blue-600);
}

.job-meta {
  margin-top: 0.375rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--slate-400);
}

.job-arrow {
  flex-shrink: 0;
  color: var(--slate-300);
  transition: all 0.3s;
}
.job-card:hover .job-arrow {
  color: var(--blue-600);
  transform: translateX(4px);
}

/* ========================================
   Newsletter
   ======================================== */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 448px;
  margin: 2.5rem auto 0;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid var(--slate-300);
  background: var(--white);
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--slate-900);
  outline: none;
  transition: all 0.2s;
}
.newsletter-input::placeholder { color: var(--slate-400); }
.newsletter-input:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.newsletter-hint {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--slate-400);
}

@media (min-width: 640px) {
  .newsletter-form { flex-direction: row; }
}

/* Contact Cards */
.contact-cards {
  display: grid;
  gap: 1.5rem;
  max-width: 896px;
  margin-left: auto;
  margin-right: auto;
}

.contact-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  text-align: center;
}

.contact-card-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-900);
}

.contact-card-value {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--slate-500);
}

@media (min-width: 640px) {
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
}

/* ========================================
   Footer
   ======================================== */
.footer {
  border-top: 1px solid var(--slate-200);
  background: var(--slate-50);
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

.footer-brand {
  max-width: 320px;
}

.footer-desc {
  margin-top: 1rem;
  max-width: 280px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--slate-500);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: var(--blue-50);
  color: var(--slate-400);
  transition: all 0.2s;
}
.social-link:hover {
  background: var(--blue-100);
  color: var(--blue-600);
}

.footer-links-group {
  min-width: 0;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  color: var(--slate-900);
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--slate-500);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blue-600); }

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--slate-400);
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ========================================
   Impressum
   ======================================== */
.impressum-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.impressum-subheading {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.lang-toggle {
  background: transparent;
  border: 1.5px solid var(--slate-300);
  color: var(--slate-600);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: auto;
}

@media (min-width: 768px) {
  .lang-toggle { margin-left: 0; }
}

.lang-toggle:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}

.workflow-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.datenschutz-list {
  padding-left: 1.5rem;
  list-style: disc;
}

.datenschutz-list li {
  margin-bottom: 0.35rem;
}
