/* =========================================================
   Auristec — Main Stylesheet
   Visual System: Deep Navy / Slate / Technical Blue Glow / Gold
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---------------------------------------------------------
   CSS Custom Properties
   --------------------------------------------------------- */
:root {
  --navy:      #0B1426;
  --slate:     #1E2D42;
  --slate-mid: #243347;
  --blue-glow: #0EA5E9;
  --blue-dim:  #0369A1;
  --gold:      #F59E0B;
  --gold-dim:  #B45309;
  --text:      #E2E8F0;
  --muted:     #94A3B8;
  --border:    rgba(14, 165, 233, 0.18);
  --card-bg:   rgba(30, 45, 66, 0.7);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --radius:    8px;
  --radius-lg: 16px;
  --transition: 0.25s ease;

  --nav-h: 72px;
  --max-w: 1200px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-glow); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-sans); }

/* ---------------------------------------------------------
   Language Toggle
   --------------------------------------------------------- */
.lang-en .de { display: none !important; }
.lang-de .en { display: none !important; }

/* Show the active language. Default visible = DE (no-JS fallback) */
.en { display: none; }
.lang-en .en { display: revert !important; }

/* ---------------------------------------------------------
   Typography
   --------------------------------------------------------- */
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; }

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

.text-gold   { color: var(--gold); }
.text-blue   { color: var(--blue-glow); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.text-upper  { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; font-weight: 600; }

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

/* ---------------------------------------------------------
   Layout Utilities
   --------------------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}
.section--sm {
  padding: 3rem 0;
}
.section--dark {
  background: var(--slate);
}
.section--darker {
  background: #0D1B30;
}

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

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

/* ---------------------------------------------------------
   Glow Effects
   --------------------------------------------------------- */
.glow-blue {
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.3), 0 0 60px rgba(14, 165, 233, 0.12);
}
.glow-gold {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4), 0 0 60px rgba(245, 158, 11, 0.15);
}
.text-glow-blue { text-shadow: 0 0 20px rgba(14, 165, 233, 0.6); }
.text-glow-gold { text-shadow: 0 0 20px rgba(245, 158, 11, 0.7); }

/* ---------------------------------------------------------
   Navigation
   --------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(11, 20, 38, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav__logo span { color: var(--blue-glow); }

/* Main menu */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav__link:hover,
.nav__link.active { color: var(--text); background: rgba(14, 165, 233, 0.08); }

.nav__link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--slate);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(14,165,233,0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown a {
  display: block;
  padding: 0.65rem 1rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav__dropdown a:hover {
  color: var(--text);
  background: rgba(14, 165, 233, 0.1);
}
.nav__dropdown a .drop-label-de,
.nav__dropdown a .drop-label-en { display: block; }

/* Nav right */
.nav__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  background: var(--slate-mid);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.lang-toggle button {
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: none;
  transition: all var(--transition);
  letter-spacing: 0.05em;
}
.lang-toggle button.active {
  background: var(--blue-glow);
  color: #fff;
}

/* CTA Button in nav */
.btn-nav {
  padding: 0.5rem 1.25rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-nav:hover {
  background: #FBBF24;
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--slate);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  z-index: 999;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.nav__mobile.open { display: block; }
.nav__mobile a {
  display: block;
  padding: 0.75rem 0.5rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.nav__mobile a:hover { color: var(--text); }
.nav__mobile .mobile-group-label {
  display: block;
  padding: 1rem 0.5rem 0.25rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav__mobile .mobile-lang {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
}
.nav__mobile .mobile-lang button {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--slate-mid);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.nav__mobile .mobile-lang button.active {
  background: var(--blue-glow);
  color: #fff;
  border-color: var(--blue-glow);
}
.nav__mobile .btn-cta-mobile {
  display: block;
  margin-top: 1rem;
  padding: 0.85rem;
  text-align: center;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
}

/* ---------------------------------------------------------
   Hero Sections
   --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero--home {
  min-height: 100vh;
}

/* Hero background with image + gradient overlay */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 20, 38, 0.88) 0%,
    rgba(11, 20, 38, 0.72) 50%,
    rgba(11, 20, 38, 0.55) 100%
  );
}

/* CSS-only hero fallback (used when no image is available) */
.hero__bg--css {
  background:
    radial-gradient(ellipse 70% 50% at 65% 45%, rgba(14, 165, 233, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 30% 60%, rgba(245, 158, 11, 0.07) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, #0D1B30 50%, #0B2240 100%);
}

/* Grid pattern overlay for CSS heroes */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-glow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero__eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue-glow);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero__title {
  max-width: 720px;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.hero__title .accent { color: var(--gold); }
.hero__title .accent-blue { color: var(--blue-glow); }

.hero__sub {
  max-width: 580px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Dual path CTA (homepage) */
.hero__paths {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__path-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(30, 45, 66, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: all var(--transition);
  min-width: 200px;
  text-decoration: none;
}
.hero__path-card:hover {
  border-color: var(--gold);
  background: rgba(30, 45, 66, 0.85);
  transform: translateY(-2px);
}
.hero__path-card .path-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__path-card .path-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.hero__path-card .path-arrow {
  color: var(--gold);
  font-size: 1.1rem;
  margin-top: 0.25rem;
}

/* Hero stats bar */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero__stat .stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.hero__stat .stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: #FBBF24;
  border-color: #FBBF24;
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
}

.btn--secondary {
  background: transparent;
  color: var(--blue-glow);
  border-color: var(--blue-glow);
}
.btn--secondary:hover {
  background: rgba(14, 165, 233, 0.12);
  color: var(--blue-glow);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(14, 165, 233, 0.08);
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  background: rgba(14, 165, 233, 0.15);
  border-color: var(--blue-glow);
  color: var(--text);
}

.btn--sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

/* ---------------------------------------------------------
   Cards
   --------------------------------------------------------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.card:hover {
  border-color: rgba(14, 165, 233, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(14,165,233,0.06);
}

.card__icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 10px;
  margin-bottom: 1.25rem;
  color: var(--blue-glow);
}
.card__icon--gold {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
  color: var(--gold);
}

.card h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.card p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }

/* ---------------------------------------------------------
   Feature List (bullet points used in solution pages)
   --------------------------------------------------------- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.feature-item__dot {
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

.feature-item__content h4 {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.feature-item__content p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   Page Hero (sub-pages, smaller than homepage)
   --------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: var(--nav-h);
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(11, 20, 38, 0.9) 0%,
    rgba(11, 20, 38, 0.75) 60%,
    rgba(11, 20, 38, 0.5) 100%
  );
}

.page-hero__bg--css {
  background:
    radial-gradient(ellipse 60% 50% at 65% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 70%),
    linear-gradient(135deg, var(--navy) 0%, #0D1B30 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.page-hero__title {
  max-width: 700px;
  margin-bottom: 1.25rem;
}
.page-hero__sub {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ---------------------------------------------------------
   Section Headers
   --------------------------------------------------------- */
.section-header {
  margin-bottom: 3rem;
}
.section-header.center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--muted); font-size: 1rem; line-height: 1.7; }

/* ---------------------------------------------------------
   Image + Content Split Layout (for solution pages)
   --------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.split__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.split__image--css {
  height: 400px;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 70%),
    linear-gradient(135deg, var(--slate) 0%, #0D1B30 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.split__image--css .coming-soon {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}
.split__image--css .coming-soon span {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* ---------------------------------------------------------
   Tech Strip (logos / tech tags)
   --------------------------------------------------------- */
.tech-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-glow);
  letter-spacing: 0.05em;
}
.tech-tag--gold {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
  color: var(--gold);
}

/* ---------------------------------------------------------
   CTA Section (full-width closing blocks)
   --------------------------------------------------------- */
.cta-section {
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(14, 165, 233, 0.08) 0%, transparent 70%),
    var(--slate);
  text-align: center;
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { color: var(--muted); max-width: 540px; margin: 0 auto 2.5rem; font-size: 1rem; }
.cta-section .cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.footer {
  background: #08101E;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand .brand-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.footer__brand .brand-logo span { color: var(--blue-glow); }
.footer__brand p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.footer__col h5 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col ul li a {
  color: var(--muted);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: var(--text); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.footer__contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--blue-glow); }

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom p { color: var(--muted); font-size: 0.8rem; }
.footer__bottom a { color: var(--muted); font-size: 0.8rem; }
.footer__bottom a:hover { color: var(--blue-glow); }
.footer__bottom-links { display: flex; gap: 1.5rem; }

/* ---------------------------------------------------------
   Contact Form
   --------------------------------------------------------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--slate);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-glow);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select option { background: var(--slate); }

/* ---------------------------------------------------------
   About / Team
   --------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover { border-color: rgba(14,165,233,0.4); transform: translateY(-4px); }
.team-card__avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--slate-mid), var(--slate));
  border: 2px solid var(--border);
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--blue-glow);
}
.team-card h4 { margin-bottom: 0.25rem; }
.team-card .role { color: var(--blue-glow); font-size: 0.8rem; font-weight: 500; }

/* ---------------------------------------------------------
   Info / Legal blocks (Impressum)
   --------------------------------------------------------- */
.legal-block {
  max-width: 800px;
  margin: 0 auto;
}
.legal-block h3 {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.legal-block p,
.legal-block li {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.legal-block a { color: var(--blue-glow); }

/* ---------------------------------------------------------
   Stats / Counter Row
   --------------------------------------------------------- */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  padding: 3rem 0;
}
.stat-item { text-align: center; }
.stat-item .num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-item .lbl {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ---------------------------------------------------------
   Process Steps
   --------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
}
.step {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.step__number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.15);
  border: 2px solid var(--blue-glow);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--blue-glow);
  margin-bottom: 1rem;
}
.step h4 { margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse { direction: ltr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav__menu,
  .nav__right .btn-nav { display: none; }

  .nav__right .lang-toggle { display: none; }
  .nav__hamburger { display: flex; }

  .hero { min-height: 100svh; }
  .hero--home { min-height: 100svh; }
  .hero__ctas, .hero__paths { flex-direction: column; align-items: flex-start; }
  .hero__stats { gap: 1.25rem; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  .split__image img,
  .split__image--css { height: 260px; }

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

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .section { padding: 3rem 0; }

  .cta-section .cta-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .btn { width: 100%; justify-content: center; }
  .hero__path-card { width: 100%; }
}
