/* ============================================================
   BERGMANN & CO. — REBRANDED DESIGN SYSTEM v2
   White + #0e0e0e | Animated SaaS Finance Aesthetic
   ============================================================ */

/* ---- RESET & TOKENS ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --color-dark: #0e0e0e;
  --color-dark-80: rgba(14, 14, 14, 0.80);
  --color-dark-60: rgba(14, 14, 14, 0.60);
  --color-dark-40: rgba(14, 14, 14, 0.40);
  --color-dark-10: rgba(14, 14, 14, 0.10);
  --color-dark-05: rgba(14, 14, 14, 0.05);
  --color-white: #ffffff;
  --color-white-80: rgba(255, 255, 255, 0.80);
  --color-white-60: rgba(255, 255, 255, 0.60);
  --color-white-40: rgba(255, 255, 255, 0.40);
  --color-white-10: rgba(255, 255, 255, 0.10);
  --color-surface: #fafafa;
  --color-border: rgba(14, 14, 14, 0.08);
  --color-border-strong: rgba(14, 14, 14, 0.15);

  --gradient-accent: linear-gradient(135deg, #0e0e0e 0%, #2a2a2a 40%, #3d3d3d 100%);
  --gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(14, 14, 14, 0.06) 0%, transparent 70%);

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --nav-height: 72px;
  --section-pad: clamp(80px, 10vw, 140px);
  --container-max: 1200px;
  --container-pad: clamp(20px, 4vw, 64px);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration: 0.6s;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ---- UTILITIES ---- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark-60);
  padding: 6px 14px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-full);
  width: fit-content;
}

.section-tag--light {
  color: var(--color-white-60);
  border-color: var(--color-white-10);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-dark);
  margin-top: 20px;
}

.section-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-dark-60);
  max-width: 580px;
  margin-top: 16px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: none;
}

.btn--primary {
  background: var(--color-dark);
  color: var(--color-white);
  border: 1px solid var(--color-dark);
}
.btn--primary:hover {
  background: #3d3a40;
  border-color: #3d3a40;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(14, 14, 14, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--color-dark);
  border: 1px solid var(--color-border-strong);
}
.btn--ghost:hover {
  background: var(--color-dark-05);
  border-color: var(--color-dark-40);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-dark);
  border: 1px solid var(--color-white);
}
.btn--white:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.btn--lg { padding: 16px 36px; font-size: 16px; }
.btn--full { width: 100%; }

.btn svg { transition: transform 0.3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

/* ---- FORM STYLES ---- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  margin-bottom: 12px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-dark-60);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  padding: 11px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-dark);
  background: var(--color-white);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  outline: none;
  transition: all 0.25s var(--ease-out);
}

.form-input::placeholder {
  color: var(--color-dark-40);
}

.form-input:focus {
  border-color: var(--color-dark-40);
  box-shadow: 0 0 0 3px var(--color-dark-05);
}

.form-input--dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
}

.form-input--dark::placeholder {
  color: var(--color-white-40);
}

.form-input--dark:focus {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-textarea--sm {
  min-height: 60px;
}

/* ---- LIGHTBOX ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 14, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  padding: 20px;
}

.lightbox__card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.5s var(--ease-out);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

.lightbox.is-open .lightbox__card {
  transform: translateY(0) scale(1);
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-dark-40);
  transition: all 0.25s;
}

.lightbox__close:hover {
  background: var(--color-dark-05);
  color: var(--color-dark);
}

.lightbox__header {
  margin-bottom: 28px;
}

.lightbox__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lightbox__subtitle {
  font-size: 14px;
  color: var(--color-dark-60);
  margin-top: 6px;
}

.lightbox__form .form-group:last-of-type {
  margin-bottom: 20px;
}

.lightbox__success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.lightbox__success.is-visible {
  display: block;
}

.lightbox__success-icon {
  color: var(--color-dark);
  margin-bottom: 16px;
}

.lightbox__success-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.lightbox__success-text {
  font-size: 15px;
  color: var(--color-dark-60);
}

/* ---- LOADER ---- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.loader__logo {
  width: 180px;
  opacity: 0;
}

.loader__bar {
  width: 180px;
  height: 2px;
  background: var(--color-white-10);
  border-radius: 2px;
  overflow: hidden;
}

.loader__progress {
  width: 0%;
  height: 100%;
  background: var(--color-white);
  border-radius: 2px;
  transition: width 0.05s linear;
}

.loader.is-done {
  pointer-events: none;
}

/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all 0.4s var(--ease-out);
  background: rgba(255, 255, 255, 0.0);
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
}

.nav__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo-img { height: 35px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-size: 14px;
  font-weight: 450;
  color: var(--color-dark-60);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all 0.25s var(--ease-out);
}

.nav__link:hover {
  color: var(--color-dark);
  background: var(--color-dark-05);
}

.nav__link--cta {
  color: var(--color-white);
  background: var(--color-dark);
  margin-left: 8px;
  font-weight: 500;
}

.nav__link--cta:hover {
  background: #3d3a40;
  color: var(--color-white);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.nav__burger.is-active span:first-child {
  transform: rotate(45deg) translate(2.3px, 2.3px);
}
.nav__burger.is-active span:last-child {
  transform: rotate(-45deg) translate(2.3px, -2.3px);
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 12px;
  background: var(--color-dark-05);
  border-radius: var(--radius-full);
  padding: 3px;
}

.lang-switch__btn {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-dark-40);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
  border: none;
  background: none;
}

.lang-switch__btn.is-active {
  background: var(--color-dark);
  color: var(--color-white);
}

.lang-switch__btn:hover:not(.is-active) {
  color: var(--color-dark);
}

.lang-switch--mobile {
  display: none;
}

.nav__right-mobile {
  display: none;
  align-items: center;
  gap: 8px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 600;
  color: var(--color-dark);
  padding: 8px 0;
  transition: opacity 0.25s;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu__link:hover { opacity: 0.6; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + 40px) var(--container-pad) 60px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(14, 14, 14, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 100%, rgba(14, 14, 14, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 20% 60%, rgba(14, 14, 14, 0.02) 0%, transparent 40%);
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 14, 14, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 14, 14, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

/* Hero animated orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  animation: orb-float 12s ease-in-out infinite;
}

.hero__orb--1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(14, 14, 14, 0.22) 0%, rgba(14, 14, 14, 0.08) 40%, transparent 70%);
  top: 5%;
  left: 10%;
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(14, 14, 14, 0.18) 0%, rgba(14, 14, 14, 0.06) 40%, transparent 70%);
  top: 45%;
  right: 8%;
  animation-delay: -4s;
}

.hero__orb--3 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(14, 14, 14, 0.20) 0%, rgba(14, 14, 14, 0.07) 40%, transparent 70%);
  bottom: 5%;
  left: 38%;
  animation-delay: -8s;
}

@keyframes orb-float {
  0%, 100% {
    opacity: 0.75;
    transform: translate(0, 0) scale(1);
  }
  25% {
    opacity: 1;
    transform: translate(40px, -30px) scale(1.08);
  }
  50% {
    opacity: 0.85;
    transform: translate(-25px, 20px) scale(0.93);
  }
  75% {
    opacity: 1;
    transform: translate(20px, 35px) scale(1.04);
  }
}

@media (max-width: 767px) {
  .hero__orb--1 { width: 280px; height: 280px; left: 5%; }
  .hero__orb--2 { width: 220px; height: 220px; right: 5%; }
  .hero__orb--3 { width: 260px; height: 260px; left: 30%; }
}

/* Hero particles */
.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__particle {
  position: absolute;
  border-radius: 50%;
  background: var(--color-dark);
  opacity: 0;
  box-shadow: 0 0 6px rgba(14, 14, 14, 0.3);
}

.hero__container {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-dark-60);
  padding: 8px 18px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  margin-bottom: 32px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--color-dark);
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--color-dark) 0%, #6b6570 60%, #8a8490 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.7;
  color: var(--color-dark-60);
  max-width: 600px;
  margin-top: 24px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero stats strip */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 56px;
  padding: 20px 36px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-dark);
}

.hero__stat-suffix {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark-60);
}

.hero__stat-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-dark-40);
  margin-top: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: var(--color-border);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: var(--color-dark-10);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--color-dark-40);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { top: -40%; }
  100% { top: 100%; }
}

/* ---- FEATURES (Capital Solutions) ---- */
.features {
  padding: var(--section-pad) 0;
  background: var(--color-white);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-strong), transparent);
}

.features__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.features__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 64px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.feature-card {
  background: var(--color-white);
  padding: 40px 36px;
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}

.feature-card:hover::after { opacity: 1; }
.feature-card:hover { background: var(--color-surface); }

/* Animated icons for feature cards */
.feature-card__anim {
  width: 77px;
  height: 77px;
  margin-bottom: 24px;
  color: var(--color-dark);
}

.anim-icon {
  width: 77px;
  height: 77px;
}

/* --- Feature Card SVG initial states (GSAP-driven, see main.js) --- */
.fi-path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
}

.fi-decline {
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
}

.fi-decline-bg { opacity: 0.04; }
.fi-base { opacity: 0.06; }

.feature-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-dark-60);
}

/* ---- SERVICES ---- */
.services {
  padding: var(--section-pad) 0;
  background: var(--color-surface);
  position: relative;
}

.services__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.services__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 64px;
}

.services__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* Service card with animated border */
.service-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--color-white);
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
  padding: 1px;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: var(--color-border);
  z-index: 0;
}

/* Cursor-following glow on service cards */
.service-card__glow {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}

.service-card:hover .service-card__glow {
  opacity: 1;
}

.service-card__glow-inner {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(14, 14, 14, 0.08), 0 1px 3px rgba(14, 14, 14, 0.04);
}

.service-card__inner {
  position: relative;
  z-index: 1;
  padding: 48px 40px;
  background: var(--color-white);
  border-radius: calc(var(--radius-xl) - 1px);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__text { flex: 0; }
.service-card__features { flex: 1; }

/* ---- SERVICES DARK VARIANT ---- */
.services--dark {
  background: var(--color-dark);
}

.section-title--light { color: var(--color-white); }
.section-desc--light { color: var(--color-white-60); }

.service-card--on-dark {
  background: transparent;
}

.service-card--on-dark::before {
  background: rgba(255, 255, 255, 0.1);
}

.service-card--on-dark .service-card__inner {
  background: rgba(255, 255, 255, 0.04);
}

.service-card--on-dark .service-card__tag { color: var(--color-white-40); }
.service-card--on-dark .service-card__title { color: var(--color-white); }
.service-card--on-dark .service-card__text { color: var(--color-white-60); }
.service-card--on-dark .service-card__feature { color: var(--color-white-80); }
.service-card--on-dark .service-card__feature svg { color: var(--color-white-40); }
.service-card--on-dark .service-card__cta { color: var(--color-white); }

.service-card--on-dark .service-card__glow-inner {
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
}

.service-card--on-dark:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-dark-40);
  margin-bottom: 16px;
}

.service-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.service-card__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-dark-60);
  margin-bottom: 28px;
}

.service-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.service-card__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 450;
  color: var(--color-dark-80);
}

.service-card__feature svg {
  color: var(--color-dark-40);
  flex-shrink: 0;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
  color: var(--color-dark);
  transition: all 0.25s var(--ease-out);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-body);
}

.service-card__cta:hover { gap: 12px; }
.service-card__cta svg { transition: transform 0.3s var(--ease-out); }
.service-card__cta:hover svg { transform: translateX(3px); }

/* ---- CTA BAND ---- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
}

.cta-band__bg {
  position: absolute;
  inset: 0;
}

.cta-band__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
}

.cta-band__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-pad) var(--container-pad);
  position: relative;
  z-index: 1;
}

.cta-band__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.cta-band__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-white);
}

.cta-band__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white-40);
  margin: 20px 0 12px;
}

.cta-band__text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-white-60);
  margin-bottom: 0;
}

/* CTA inline form */
.cta-form .form-group:last-of-type {
  margin-bottom: 16px;
}

.cta-band__form-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 32px;
}

/* ---- PROCESS ---- */
.process {
  padding: var(--section-pad) 0;
  background: var(--color-white);
  position: relative;
}

.process__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.process__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 80px;
}

.process__timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.process__line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-border);
}

.process__line-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--color-dark), var(--color-dark-40));
  transform: scaleY(0);
  transform-origin: top center;
  will-change: transform;
}

.process__step {
  display: flex;
  gap: 32px;
  padding-bottom: 48px;
  position: relative;
}

.process__step:last-child { padding-bottom: 0; }

.process__step-marker {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all 0.4s var(--ease-out);
}

.process__step.is-active .process__step-marker {
  background: var(--color-dark);
  border-color: var(--color-dark);
}

.process__step-num {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark-40);
  transition: color 0.4s var(--ease-out);
}

.process__step.is-active .process__step-num { color: var(--color-white); }

.process__step-content { padding-top: 12px; }

.process__step-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.process__step-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-dark-60);
}

/* ---- INDUSTRIES ---- */
.industries {
  padding: var(--section-pad) 0;
  background: var(--color-surface);
  position: relative;
}

.industries__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.industries__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 64px;
}

.industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.industry-card:hover::before { transform: scaleX(1); }

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(14, 14, 14, 0.08);
  border-color: var(--color-dark-10);
}

/* Animated industry illustrations */
.industry-card__anim-wrap {
  width: 100%;
  height: 100px;
  margin-bottom: 16px;
  overflow: hidden;
}

.industry-anim {
  width: 100%;
  height: 100%;
  color: var(--color-dark);
}

/* --- Industry: Mittelstand — bars grow up, trend line draws --- */
/* GSAP-driven — see main.js initIndustryAnims() */

/* --- Industry: Real Estate — buildings rise, windows fade in --- */
/* GSAP-driven — see main.js initIndustryAnims() */

/* --- Industry: High Yield — curve draws with travelling dot --- */
.ind-curve {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

/* --- Industry: Emissionen — network pulses --- */
/* GSAP-driven — see main.js initIndustryAnims() */

.industry-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.industry-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-dark-60);
}

/* ---- FOOTER ---- */
.footer {
  padding: 64px 0 32px;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.footer__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border);
}

.footer__brand { max-width: 360px; }

.footer__logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}

.footer__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-dark-60);
}

.footer__nav {
  display: flex;
  gap: 64px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.footer__link {
  font-size: 14px;
  color: var(--color-dark-60);
  transition: color 0.25s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-body);
  text-align: left;
}

.footer__link:hover { color: var(--color-dark); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
}

.footer__copy {
  font-size: 13px;
  color: var(--color-dark-40);
}

.footer__email {
  font-size: 13px;
  color: var(--color-dark-40);
  transition: color 0.25s;
}

.footer__email:hover { color: var(--color-dark); }

/* ---- ANIMATION STATES ---- */
.anim-fade-up {
  opacity: 0;
  transform: translateY(24px);
}

.anim-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__right-mobile { display: flex; }
  .lang-switch--mobile { display: flex; }

  .features__grid { grid-template-columns: 1fr; }
  .services__cards { grid-template-columns: 1fr; }

  .cta-band__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .industries__grid { grid-template-columns: repeat(2, 1fr); }

  .hero__stats {
    flex-wrap: wrap;
    gap: 20px;
    padding: 16px 24px;
  }

  .hero__stat-divider {
    display: none;
  }
}

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

  .hero__title { font-size: clamp(36px, 8vw, 48px); }
  .footer__nav { gap: 40px; }

  .form-row { grid-template-columns: 1fr; }

  .lightbox__card { padding: 28px; }
}

@media (max-width: 479px) {
  .hero { padding-top: calc(var(--nav-height) + 24px); }

  .hero__badge {
    font-size: 10px;
    padding: 6px 12px;
    letter-spacing: 0.03em;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 16px 12px;
    text-align: center;
  }

  .hero__stat-value {
    font-size: 22px;
  }

  .hero__stat-suffix {
    font-size: 13px;
  }

  .hero__stat-label {
    font-size: 9px;
    letter-spacing: 0.02em;
  }

  .hero__stat-divider {
    display: none;
  }

  .service-card__inner { padding: 32px 24px; }

  .footer__top {
    flex-direction: column;
    gap: 40px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .cta-band__form-wrap { padding: 20px; }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .anim-fade-up {
    opacity: 1;
    transform: none;
  }

  .hero__scroll-line::after,
  .hero__badge-dot,
  .hero__orb {
    animation: none;
  }
}
