/* ===================================================
   MIG Consulting – Premium Stylesheet
   =================================================== */

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

/* ---------- Custom Properties ---------- */
:root {
  --navy:       #0A1628;
  --navy-mid:   #1E3A5F;
  --navy-light: #0C4A6E;
  --accent:     #0EA5E9;
  --accent-2:   #06B6D4;
  --accent-glow:rgba(6,182,212,0.15);
  --text-dark:  #0F172A;
  --text-body:  #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --bg-white:   #FFFFFF;
  --bg-light:   #F8FAFC;
  --bg-subtle:  #F1F5F9;
  --border:     rgba(15,23,42,0.08);
  --border-light: rgba(255,255,255,0.12);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.12);
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
  --max-w:      1200px;
  --nav-h:      72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { overflow-x: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--text-body); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }

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

.text-center { text-align: center; }
.text-left   { text-align: left; }

.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: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(6,182,212,0.3);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(6,182,212,0.4);
}
.btn-outline {
  border: 1px solid var(--border);
  color: var(--text-dark);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}
.btn-ghost-light {
  border: 1px solid var(--border-light);
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.15);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; border-radius: var(--radius-sm); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  height: var(--nav-h);
  transition: all var(--transition);
}
.nav.transparent {
  background: transparent;
}
.nav.scrolled {
  background: rgba(10,22,40,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
}
.nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.nav-logo img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-2);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta { margin-left: 1rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 18, 36, 0.55);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  padding: calc(var(--nav-h) + 2rem) 2rem 2rem;
  z-index: 98;
  flex-direction: column;
  gap: 0;
  border: none;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 1.25rem;
  font-weight: 500;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition), padding-left var(--transition);
  letter-spacing: 0.01em;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: #fff; padding-left: 0.4rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0A1628 0%, #1E3A5F 50%, #0C4A6E 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(6,182,212,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(14,165,233,0.08) 0%, transparent 50%);
}
.hero-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: 60px 60px;
}
.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, transparent 40%, transparent 60%, var(--navy) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-content-centered {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.hero-content-centered .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}
.hero-content-centered .hero-actions {
  justify-content: center;
}
.hero-content .eyebrow { color: var(--accent-2); }
.hero h1 { color: #fff; margin-bottom: 1.5rem; }
.hero h1 span { display: block; }
.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.62);
  margin-bottom: 0.9rem;
  max-width: 600px;
  line-height: 1.7;
  letter-spacing: 0.005em;
}
.hero-subtitle strong {
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}
.hero-subtitle-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.42);
  font-style: italic;
  letter-spacing: 0.02em;
  max-width: 520px;
  margin-top: 0;
  margin-bottom: 2.5rem;
  position: relative;
  padding-top: 0.85rem;
}
.hero-subtitle-tagline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 1px;
  background: rgba(56,189,248,0.5);
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg-white);
  clip-path: ellipse(60% 100% at 50% 100%);
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--bg-white);
  padding: 0.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 1.5rem 2rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-number span { color: var(--accent); }
.stat-deweit-short { display: none; }
@media (max-width: 768px) {
  .stat-deweit-full { display: none; }
  .stat-deweit-short { display: inline; color: inherit; }
}
@media (max-width: 768px) {
  .about-badge { display: none; }
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ---------- Section Headers ---------- */
.section-header {
  margin-bottom: 3.5rem;
}
.section-header.centered,
.section-header.text-center { text-align: center; }
.section-header p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
}
.section-header.centered p,
.section-header.text-center p { margin: 1rem auto 0; }

/* ---------- Services Cards ---------- */
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover {
  border-color: rgba(14,165,233,0.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(6,182,212,0.1));
  border: 1px solid rgba(14,165,233,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition);
}
.service-card:hover .card-link { gap: 0.7rem; }

/* ---------- About Preview ---------- */
.about-section { background: var(--bg-light); }
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top center;
}
.about-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(10,22,40,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  color: #fff;
}
.about-badge .badge-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-2);
  line-height: 1;
}
.about-badge .badge-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.2rem;
}
.about-content h2 { margin-bottom: 1.25rem; }
.about-content p { margin-bottom: 1rem; color: var(--text-muted); line-height: 1.8; }

.check-list { margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.75rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-body);
}
.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 1px;
}

/* ---------- USP / Why Section ---------- */
.why-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(6,182,212,0.08) 0%, transparent 60%);
}
.why-section .section-header h2 { color: #fff; }
.why-section .section-header p { color: rgba(255,255,255,0.55); }
.why-section .eyebrow { color: var(--accent-2); }

.usp-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  height: 100%;
  transition: all var(--transition);
}
.usp-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(6,182,212,0.3);
}
.usp-icon {
  margin-bottom: 1rem;
  color: var(--accent-2);
  display: flex;
  align-items: center;
}
.text-center .usp-icon { justify-content: center; }
.usp-icon svg { width: 26px; height: 26px; }
.usp-card h4 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.usp-card p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ---------- Process ---------- */
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.process-step:last-child { border-bottom: none; }
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.step-content h4 { margin-bottom: 0.4rem; font-size: 1rem; }
.step-content p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ---------- References ---------- */
.ref-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition);
}
.ref-card:hover {
  border-color: rgba(14,165,233,0.25);
  box-shadow: var(--shadow-md);
}
.ref-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(6,182,212,0.08);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 1rem;
}
.ref-card h4 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.ref-card p { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: color var(--transition);
  gap: 1rem;
}
.faq-question:hover { color: var(--accent); }
.faq-question.open { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 1rem;
  line-height: 1;
}
.faq-question.open .faq-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-answer.open { display: block; }

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(6,182,212,0.12) 0%, transparent 60%);
}
.cta-inner {
  position: relative;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-inner h2 { color: #fff; margin-bottom: 1rem; }
.cta-inner p { color: rgba(255,255,255,0.6); margin-bottom: 2.5rem; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-actions .btn-lg,
.hero-actions .btn-lg { padding: 0.75rem 1.75rem; font-size: 0.9rem; }

/* ---------- Contact ---------- */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-2);
}
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item-content h4 { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; margin-bottom: 0.2rem; }
.contact-item-content p, .contact-item-content a {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}
.contact-item-content a:hover { color: var(--accent); }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 140px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.privacy-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}
.privacy-note a { color: var(--accent); text-decoration: underline; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(6,182,212,0.1) 0%, transparent 60%);
}
.page-hero-content { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: rgba(255,255,255,0.6); margin-top: 1rem; font-size: 1.1rem; max-width: 520px; }
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.breadcrumb span { color: var(--accent-2); }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 2rem;
}
.footer-brand img { height: 80px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.25rem; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--accent-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--accent-2); }

.social-links { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.social-link:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
  background: rgba(6,182,212,0.08);
}

/* ---------- Divider Line ---------- */
.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  margin: 1.25rem 0 1.5rem;
}
.divider.centered { margin: 1.25rem auto 1.5rem; }

/* ---------- Image Section ---------- */
.img-feature {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.img-feature img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.img-feature:hover img { transform: scale(1.03); }

/* ---------- Tags ---------- */
.tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-body);
}
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }

/* ---------- Alert / Notice ---------- */
.notice {
  background: rgba(6,182,212,0.06);
  border: 1px solid rgba(6,182,212,0.2);
  border-left: 3px solid var(--accent-2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-body);
}

/* ---------- Legal Pages ---------- */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.3rem;
  margin: 2.5rem 0 1rem;
  color: var(--text-dark);
}
.legal-content h3 {
  font-size: 1.05rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--text-dark);
}
.legal-content p, .legal-content li {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 0.75rem;
}
.legal-content ul { padding-left: 1.25rem; list-style: disc; }
.legal-content a { color: var(--accent); text-decoration: underline; }

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes pulse-ring {
  0%   { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes count-up {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

/* Base animation classes */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

.scale-up {
  opacity: 0;
  transform: scale(0.93);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1),
              transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.scale-up.visible { opacity: 1; transform: scale(1); }

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.4s; }
.delay-6 { transition-delay: 0.48s; }

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 200;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(6,182,212,0.6);
}

/* ---------- Hero Floating Badges ---------- */
.hero-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2.5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  font-weight: 500;
  animation: floatY 4s ease-in-out infinite;
}
.hero-badge:nth-child(2) { animation-delay: 0.7s; }
.hero-badge:nth-child(3) { animation-delay: 1.4s; }
.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-2);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- Hero Floating Badges (an den Hero-Rändern) ---------- */
.hero-badges-float {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.hero-badge-float {
  position: absolute;
  pointer-events: auto;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: none;
  white-space: nowrap;
  font-size: 0.72rem;
  padding: 0.4rem 0.9rem;
  color: rgba(255,255,255,0.55);
  animation: floatY 7s ease-in-out infinite;
}
.hero-badge-float .badge-dot {
  width: 5px;
  height: 5px;
  background: rgba(56,189,248,0.6);
}
.hero-badge-float.pos-tl { top: 58%; left: calc(50% - 510px); animation-delay: 0s; }
.hero-badge-float.pos-bl { top: 77%; left: calc(50% - 440px); animation-delay: 1.5s; }
.hero-badge-float.pos-tr { top: 63%; right: calc(50% - 470px); animation-delay: 0.8s; }
.hero-badge-float.pos-br { top: 81%; right: calc(50% - 515px); animation-delay: 2.3s; }

@media (max-width: 1100px) {
  .hero-badges-float { display: none; }
}

/* ---------- Hero Orbs / Glow ---------- */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(6,182,212,0.12);
  top: -100px;
  right: -100px;
  animation: floatY 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(14,165,233,0.1);
  bottom: 100px;
  left: -50px;
  animation: floatY 10s ease-in-out infinite reverse;
}

/* ---------- Marquee Strip ---------- */
.marquee-section {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 2.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-dot {
  width: 4px;
  height: 4px;
  background: var(--accent-2);
  border-radius: 50%;
}

/* ---------- Image Break / Quote ---------- */
.image-break {
  position: relative;
  overflow: hidden;
  height: 420px;
}
.image-break img {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center 60%;
  will-change: transform;
}
.image-break-content blockquote strong { font-style: italic; }
.image-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.5) 60%, rgba(10,22,40,0.3) 100%);
  display: flex;
  align-items: center;
}
.image-break-content {
  max-width: 680px;
}
.image-break-content blockquote {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.55;
  letter-spacing: -0.01em;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.image-break-content blockquote strong {
  font-weight: 700;
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.image-break-credit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.image-break-credit::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent-2);
}

/* ---------- Branchen Section ---------- */
.branchen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.branchen-item {
  background: var(--bg-white);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  transition: background var(--transition);
  cursor: default;
}
.branchen-item:hover { background: var(--bg-light); }
.branchen-icon {
  flex-shrink: 0;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(6,182,212,0.1));
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: var(--radius-sm);
}
.branchen-icon svg { width: 22px; height: 22px; }
.branchen-item h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.branchen-item p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- Highlight Line ---------- */
.section-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}
.section-line::before,
.section-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.section-line span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}

/* ---------- Counter Number ---------- */
.counter-number {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
  .branchen-grid { grid-template-columns: repeat(2, 1fr); }
  .image-break { height: 320px; }
  .image-break-content blockquote { font-size: 1.2rem; }

  .nav-logo img { height: 48px; }
  .nav-links { display: none; }
  .nav-cta  { display: none; }
  .hamburger { display: flex; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .hero-image { display: none; }
  .hero-content { max-width: 100%; }
  .hero-subtitle { font-size: 1rem; }

  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-item { padding: 1.25rem 0.25rem; }
  .stat-number { font-size: 1.4rem; }
  .stat-label { font-size: 0.58rem; word-break: break-word; line-height: 1.3; }

  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; align-items: stretch; box-sizing: border-box; width: 100%; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; align-items: stretch; box-sizing: border-box; width: 100%; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .page-hero { padding: 6rem 0 3.5rem; }

  .about-image-wrap img { height: 360px; }

  .process-step { grid-template-columns: 48px 1fr; }
}

@media (max-width: 480px) {
  .btn-lg { padding: 0.875rem 1.75rem; font-size: 0.95rem; }
  .hero-actions { flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
  .hero-actions .btn-lg { padding: 0.65rem 1.1rem; font-size: 0.82rem; }
  .cta-actions { flex-direction: row; align-items: center; justify-content: center; }
  .cta-actions .btn-lg { padding: 0.65rem 1.1rem; font-size: 0.82rem; }
  .stat-number { font-size: 1.8rem; }
  .branchen-grid { grid-template-columns: 1fr; }
  .hero-badges { gap: 0.5rem; display: grid; grid-template-columns: repeat(2, 1fr); }
  .hero-badge { font-size: 0.72rem; padding: 0.4rem 0.6rem; justify-content: center; }
  .hide-mobile { display: none !important; }
  .usp-card { padding: 1.25rem 1rem; }
  .grid-4 { gap: 0.5rem; }
  .container { overflow: hidden; }
}

/* ============================================
   Numbered Services Section (Homepage)
   ============================================ */
.sn-section {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate; /* prevents hero-grid bleed-through */
}

.sn-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.sn-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 40%;
  will-change: transform;
}
.sn-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,22,40,0.82) 0%,
    rgba(14,30,55,0.75) 50%,
    rgba(10,22,40,0.90) 100%
  );
}

/* Top copy */
.sn-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 4rem;
}
.sn-headline {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
}
.sn-top-right p {
  color: rgba(255,255,255,0.62);
  line-height: 1.85;
  font-size: 1rem;
}

/* ---- Items row ---- */
.sn-items {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-left: 1px solid rgba(255,255,255,0.08);
}

.sn-item {
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  padding: 2.5rem 2rem;
  transition: background 0.3s ease;
  cursor: default;
}
.sn-item:first-child { background: rgba(255,255,255,0.06); }
.sn-item:hover { background: rgba(6,182,212,0.08); }

/* Accent top line slides in on hover */
.sn-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.sn-item:hover::after { transform: scaleX(1); }

.sn-item-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sn-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-2);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.sn-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin: 0 0 1rem;
}

.sn-expand {
  margin-top: 0;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.sn-expand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.sn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 0.02em;
  transition: gap 0.2s ease, color 0.2s ease;
}
.sn-link:hover { gap: 0.55rem; color: var(--accent); }

/* Responsive */
@media (max-width: 1024px) {
  .sn-top { gap: 3rem; }
}
@media (max-width: 768px) {
  .sn-top { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 3.5rem; padding-bottom: 2.5rem; }
  .sn-items { grid-template-columns: repeat(2, 1fr); }
  .sn-number { font-size: 1.8rem; }
}
@media (max-width: 480px) {
  .sn-items { grid-template-columns: 1fr; }
}

/* ============================================
   Contact Page – new layout
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

/* Info panel (left) */
.contact-panel-info h2 {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.contact-steps {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-white);
}
.contact-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.contact-step:last-child { border-bottom: none; }
.cstep-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.contact-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Form card (right) */
.contact-form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.07);
  overflow: hidden;
}
.form-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 2rem 2rem 1.75rem;
  position: relative;
  overflow: hidden;
}
.form-card-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.form-card-header h3 {
  color: #fff;
  font-size: 1.3rem;
  margin: 0.4rem 0 0.5rem;
}
.form-card-header p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
}
.contact-form-card form {
  padding: 1.75rem 2rem 2rem;
}
.contact-form-card .form-control {
  background: var(--bg-light);
  border-color: transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.contact-form-card .form-control:focus {
  background: var(--bg-white);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 480px) {
  .contact-form-card form { padding: 1.25rem; }
  .form-card-header { padding: 1.5rem; }
}
