/* ============================================
   TYPOGRAPHY SYSTEM
   L'ÉQUIPE Football Agency
   ============================================ */

/* ============================================
   BASE TYPOGRAPHY
   ============================================ */

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-relaxed);
  color: var(--text-primary);
  letter-spacing: var(--letter-spacing-tight);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   HEADINGS
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headline);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--text-primary);
  margin-bottom: 1rem;
}

/* H1 - Hero Title */
h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem); /* 40px - 72px */
  font-weight: var(--font-weight-black);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
}

/* H2 - Section Titles */
h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem); /* 28px - 40px */
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
}

/* H3 - Subsection Titles */
h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem); /* 20px - 28px */
  font-weight: var(--font-weight-bold);
  font-family: var(--font-subheading);
}

/* H4 - Card Titles */
h4 {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem); /* 18px - 22px */
  font-weight: var(--font-weight-semibold);
  font-family: var(--font-subheading);
}

/* H5 - Small Headings */
h5 {
  font-size: var(--font-size-lg); /* 18px */
  font-weight: var(--font-weight-medium);
  font-family: var(--font-body);
}

/* H6 - Tiny Headings */
h6 {
  font-size: var(--font-size-base); /* 16px */
  font-weight: var(--font-weight-medium);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
}

/* ============================================
   PARAGRAPH & TEXT STYLES
   ============================================ */

p {
  margin-bottom: 1rem;
  line-height: var(--line-height-relaxed);
}

.lead {
  font-size: clamp(1.125rem, 2vw, 1.375rem); /* 18px - 22px */
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-relaxed);
  color: var(--text-primary);
}

.text-small {
  font-size: var(--font-size-sm); /* 14px */
}

.text-tiny {
  font-size: var(--font-size-xs); /* 12px */
}

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
}

/* ============================================
   HERO TYPOGRAPHY - SPLIT LAYOUT
   ============================================ */

/* Swiss Badge Split */
.swiss-badge-split {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(1rem, 2vw, 1.5rem);
  background: linear-gradient(135deg, rgb(25, 35, 45), rgb(20, 30, 40));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-sm);
  color: var(--text-light);
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all var(--duration-fast) var(--ease-default);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  flex-wrap: nowrap;
}

.badge-pill i {
  flex-shrink: 0;
}

.badge-pill span {
  flex-shrink: 1;
  min-width: 0;
}

.badge-pill i {
  color: var(--electric-mint);
  font-size: 0.875rem;
}

.badge-pill:hover {
  background: linear-gradient(135deg, rgb(30, 40, 50), rgb(25, 35, 45));
  border-color: rgba(0, 255, 135, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Split Hero Title */
.hero-split-title {
  font-size: clamp(1.75rem, 5vw, 4rem);
  font-weight: var(--font-weight-black);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0 0 clamp(1rem, 3vw, 2rem) 0;
}

/* German language adjustment for longer words */
html[lang="de"] .hero-split-title {
  font-size: clamp(1.6rem, 4.5vw, 4rem);
  letter-spacing: 0.01em;
}

/* Language adjustments for badge (German, French, etc.) */
html[lang="de"] .badge-pill,
html[lang="fr"] .badge-pill {
  font-size: clamp(0.65rem, 1.3vw, 0.8rem);
  padding: clamp(0.45rem, 1.3vw, 0.7rem) clamp(0.9rem, 1.8vw, 1.4rem);
}

@media (max-height: 600px) {
  html[lang="de"] .badge-pill,
  html[lang="fr"] .badge-pill {
    font-size: 0.55rem;
    padding: 0.22rem 0.55rem;
  }
}

@media (max-height: 450px) {
  html[lang="de"] .badge-pill,
  html[lang="fr"] .badge-pill {
    font-size: 0.5rem;
    padding: 0.2rem 0.48rem;
  }
}

/* Small phones with language translations (≤375px width) */
@media (max-width: 375px) {
  html[lang="de"] .badge-pill,
  html[lang="fr"] .badge-pill {
    font-size: 0.58rem;
    padding: 0.3rem 0.7rem;
    gap: 0.28rem;
  }

  html[lang="de"] .hero-split-title {
    font-size: clamp(1.25rem, 7vw, 1.9rem);
    letter-spacing: 0.005em;
  }

  html[lang="fr"] .hero-split-title {
    font-size: clamp(1.3rem, 7.2vw, 1.95rem);
  }
}

/* Very small phones with language translations (≤360px width) */
@media (max-width: 360px) {
  html[lang="de"] .badge-pill,
  html[lang="fr"] .badge-pill {
    font-size: 0.54rem;
    padding: 0.26rem 0.62rem;
    gap: 0.25rem;
  }

  html[lang="de"] .hero-split-title {
    font-size: clamp(1.18rem, 6.5vw, 1.75rem);
    letter-spacing: 0;
  }

  html[lang="fr"] .hero-split-title {
    font-size: clamp(1.22rem, 6.8vw, 1.8rem);
  }
}

/* CTA Buttons Split */
.hero-cta-split {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  margin-top: clamp(1rem, 3vw, 2rem);
}

/* Hero Feature Cards (Right Side) */
.hero-features-split {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.hero-feature-card {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  padding: clamp(0.75rem, 2.5vw, 1.5rem) clamp(1rem, 3vw, 1.75rem);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(100px);
  transition: all var(--duration-normal) var(--ease-default);
  position: relative;
  overflow: hidden;
  min-height: fit-content;
}

.hero-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--electric-mint), var(--neon-blue));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--duration-normal) var(--ease-default);
}

.hero-feature-card:hover {
  transform: translateX(8px);
  border-color: rgba(0, 255, 135, 0.3);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: 0 8px 24px rgba(0, 255, 135, 0.15);
}

.hero-feature-card:hover::before {
  transform: scaleY(1);
}

.feature-card-icon {
  width: clamp(40px, 8vw, 56px);
  height: clamp(40px, 8vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 255, 135, 0.1);
  border: 1px solid rgba(0, 255, 135, 0.3);
  border-radius: var(--border-radius-md);
  flex-shrink: 0;
  transition: all var(--duration-normal) var(--ease-default);
}

.feature-card-icon i {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--electric-mint);
}

.hero-feature-card:hover .feature-card-icon {
  background: rgba(0, 255, 135, 0.15);
  transform: scale(1.05);
}

.feature-card-content {
  flex: 1;
  min-width: 0; /* Allows text to wrap properly */
}

.feature-card-title {
  font-size: clamp(0.9rem, 2vw, 1.125rem);
  font-weight: var(--font-weight-bold);
  color: var(--text-light);
  margin: 0 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.feature-card-text {
  font-size: clamp(0.8rem, 1.5vw, 0.9375rem);
  color: var(--text-light);
  opacity: 0.85;
  margin: 0;
  line-height: 1.5;
}

.btn-hero-primary,
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--border-radius-md);
  transition: all var(--duration-normal) var(--ease-default);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-height: 44px; /* Touch-friendly minimum */
  white-space: nowrap;
}

.btn-hero-primary {
  background: var(--electric-mint);
  color: var(--deep-navy);
  border: 2px solid var(--electric-mint);
  box-shadow: 0 4px 12px rgba(0, 255, 135, 0.3);
}

.btn-hero-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.btn-hero-primary:hover::before {
  left: 100%;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 255, 135, 0.5);
}

.btn-hero-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-hero-secondary:hover {
  background: var(--text-light);
  color: var(--deep-navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* ============================================
   HERO RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablets & Mobile - Center all content */
@media (max-width: 991.98px) {
  .swiss-badge-split {
    display: block;
    text-align: center;
  }

  .hero-split-title,
  html[lang="de"] .hero-split-title {
    text-align: center;
  }

  .hero-cta-split {
    justify-content: center;
  }

  .hero-features-split {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile - Stack buttons vertically */
@media (max-width: 575.98px) {
  .swiss-badge-split {
    margin-bottom: 0.85rem;
  }

  .badge-pill {
    padding: 0.4rem 0.9rem;
    font-size: 0.7rem;
    gap: 0.4rem;
  }

  .badge-pill i {
    font-size: 0.75rem;
  }

  .hero-split-title,
  html[lang="de"] .hero-split-title {
    font-size: clamp(1.5rem, 8vw, 2.25rem);
    margin-bottom: 0.85rem;
    line-height: 1.15;
  }

  .hero-cta-split {
    flex-direction: column;
    width: 100%;
    margin-top: 0.85rem;
    gap: 0.75rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
    min-height: 44px;
  }

  .hero-features-split {
    gap: 0.75rem;
  }

  .hero-feature-card {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .feature-card-icon {
    width: 38px;
    height: 38px;
  }

  .feature-card-icon i {
    font-size: 1.15rem;
  }

  .feature-card-title {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
  }

  .feature-card-text {
    font-size: 0.75rem;
    line-height: 1.4;
  }
}

/* Small phones - iPhone SE, Samsung S8+ (≤375px width) */
@media (max-width: 375px) {
  .swiss-badge-split {
    margin-bottom: 0.65rem;
  }

  .badge-pill {
    padding: 0.32rem 0.75rem;
    font-size: 0.62rem;
    gap: 0.32rem;
    letter-spacing: 0.04em;
  }

  .badge-pill i {
    font-size: 0.68rem;
  }

  .hero-split-title,
  html[lang="de"] .hero-split-title {
    font-size: clamp(1.35rem, 7.5vw, 2rem);
    margin-bottom: 0.65rem;
    line-height: 1.15;
  }

  .hero-cta-split {
    margin-top: 0.7rem;
    gap: 0.65rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.7rem 1.15rem;
    font-size: 0.75rem;
    min-height: 42px;
  }

  .hero-features-split {
    gap: 0.65rem;
  }

  .hero-feature-card {
    padding: 0.65rem 0.85rem;
    gap: 0.65rem;
  }

  .feature-card-icon {
    width: 34px;
    height: 34px;
  }

  .feature-card-icon i {
    font-size: 1.05rem;
  }

  .feature-card-title {
    font-size: 0.78rem;
    margin-bottom: 0.18rem;
  }

  .feature-card-text {
    font-size: 0.7rem;
    line-height: 1.35;
  }
}

/* Mobile with medium height (≤575px width, ≤710px height) */
@media (max-width: 575.98px) and (max-height: 710px) {
  .swiss-badge-split {
    margin-bottom: 0.65rem;
  }

  .badge-pill {
    padding: 0.35rem 0.85rem;
    font-size: 0.68rem;
  }

  .hero-split-title,
  html[lang="de"] .hero-split-title {
    font-size: clamp(1.4rem, 7.5vw, 2.15rem);
    margin-bottom: 0.7rem;
    line-height: 1.15;
  }

  .hero-cta-split {
    margin-top: 0.7rem;
    gap: 0.65rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.7rem 1.25rem;
    font-size: 0.78rem;
  }

  .hero-features-split {
    gap: 0.65rem;
  }

  .hero-feature-card {
    padding: 0.65rem 0.85rem;
  }

  .feature-card-icon {
    width: 36px;
    height: 36px;
  }

  .feature-card-icon i {
    font-size: 1.1rem;
  }

  .feature-card-title {
    font-size: 0.8rem;
  }

  .feature-card-text {
    font-size: 0.72rem;
  }
}

/* Mobile with medium-short height (≤575px width, ≤660px height) */
@media (max-width: 575.98px) and (max-height: 660px) {
  .swiss-badge-split {
    margin-bottom: 0.6rem;
  }

  .badge-pill {
    padding: 0.33rem 0.8rem;
    font-size: 0.66rem;
  }

  .hero-split-title,
  html[lang="de"] .hero-split-title {
    font-size: clamp(1.38rem, 7.3vw, 2.08rem);
    margin-bottom: 0.65rem;
  }

  .hero-cta-split {
    margin-top: 0.65rem;
    gap: 0.62rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.68rem 1.2rem;
    font-size: 0.76rem;
  }

  .hero-features-split {
    gap: 0.62rem;
  }

  .hero-feature-card {
    padding: 0.62rem 0.82rem;
  }

  .feature-card-icon {
    width: 34px;
    height: 34px;
  }

  .feature-card-icon i {
    font-size: 1.08rem;
  }

  .feature-card-title {
    font-size: 0.78rem;
  }

  .feature-card-text {
    font-size: 0.7rem;
  }
}

/* Mobile with lower medium height (≤575px width, ≤620px height) */
@media (max-width: 575.98px) and (max-height: 620px) {
  .swiss-badge-split {
    margin-bottom: 0.55rem;
  }

  .badge-pill {
    padding: 0.32rem 0.75rem;
    font-size: 0.65rem;
  }

  .hero-split-title,
  html[lang="de"] .hero-split-title {
    font-size: clamp(1.35rem, 7.2vw, 2.05rem);
    margin-bottom: 0.6rem;
    line-height: 1.13;
  }

  .hero-cta-split {
    margin-top: 0.6rem;
    gap: 0.6rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.65rem 1.18rem;
    font-size: 0.74rem;
  }

  .hero-features-split {
    gap: 0.6rem;
  }

  .hero-feature-card {
    padding: 0.6rem 0.8rem;
  }

  .feature-card-icon {
    width: 33px;
    height: 33px;
  }

  .feature-card-icon i {
    font-size: 1.05rem;
  }

  .feature-card-title {
    font-size: 0.76rem;
  }

  .feature-card-text {
    font-size: 0.69rem;
  }
}

/* Mobile with medium/short height (≤575px width, ≤590px height) */
@media (max-width: 575.98px) and (max-height: 590px) {
  .swiss-badge-split {
    margin-bottom: 0.5rem;
  }

  .badge-pill {
    padding: 0.3rem 0.7rem;
    font-size: 0.64rem;
  }

  .hero-split-title,
  html[lang="de"] .hero-split-title {
    font-size: clamp(1.3rem, 7vw, 1.95rem);
    margin-bottom: 0.5rem;
    line-height: 1.12;
  }

  .hero-cta-split {
    margin-top: 0.55rem;
    gap: 0.55rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.6rem 1.1rem;
    font-size: 0.73rem;
  }

  .hero-features-split {
    gap: 0.5rem;
  }

  .hero-feature-card {
    padding: 0.5rem 0.7rem;
  }

  .feature-card-icon {
    width: 32px;
    height: 32px;
  }

  .feature-card-icon i {
    font-size: 1rem;
  }

  .feature-card-title {
    font-size: 0.74rem;
    margin-bottom: 0.12rem;
  }

  .feature-card-text {
    font-size: 0.67rem;
    line-height: 1.25;
  }
}

/* Mobile with medium/short height (≤575px width, ≤585px height) */
@media (max-width: 575.98px) and (max-height: 585px) {
  .swiss-badge-split {
    margin-bottom: 0.5rem;
  }

  .badge-pill {
    padding: 0.3rem 0.7rem;
    font-size: 0.64rem;
  }

  .hero-split-title,
  html[lang="de"] .hero-split-title {
    font-size: clamp(1.3rem, 7vw, 1.95rem);
    margin-bottom: 0.5rem;
  }

  .hero-cta-split {
    margin-top: 0.55rem;
    gap: 0.55rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.6rem 1.1rem;
    font-size: 0.73rem;
  }

  .hero-features-split {
    gap: 0.5rem;
  }

  .hero-feature-card {
    padding: 0.5rem 0.7rem;
  }

  .feature-card-icon {
    width: 32px;
    height: 32px;
  }

  .feature-card-icon i {
    font-size: 1rem;
  }

  .feature-card-title {
    font-size: 0.74rem;
  }

  .feature-card-text {
    font-size: 0.67rem;
  }
}

/* Mobile with short height (≤575px width, ≤520px height) */
@media (max-width: 575.98px) and (max-height: 520px) {
  .swiss-badge-split {
    margin-bottom: 0.5rem;
  }

  .badge-pill {
    padding: 0.3rem 0.7rem;
    font-size: 0.65rem;
  }

  .hero-split-title,
  html[lang="de"] .hero-split-title {
    font-size: clamp(1.3rem, 7vw, 1.95rem);
    margin-bottom: 0.55rem;
  }

  .hero-cta-split {
    margin-top: 0.6rem;
    gap: 0.6rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.65rem 1.1rem;
    font-size: 0.75rem;
  }

  .hero-features-split {
    gap: 0.6rem;
  }

  .hero-feature-card {
    padding: 0.6rem 0.8rem;
  }

  .feature-card-icon {
    width: 34px;
    height: 34px;
  }

  .feature-card-icon i {
    font-size: 1.08rem;
  }

  .feature-card-title {
    font-size: 0.8rem;
  }

  .feature-card-text {
    font-size: 0.71rem;
  }
}

/* Very small phones - Samsung S8, Galaxy S5 (≤360px width) */
@media (max-width: 360px) {
  .swiss-badge-split {
    margin-bottom: 0.55rem;
  }

  .badge-pill {
    padding: 0.28rem 0.65rem;
    font-size: 0.58rem;
    gap: 0.28rem;
    letter-spacing: 0.03em;
  }

  .badge-pill i {
    font-size: 0.62rem;
  }

  .hero-split-title,
  html[lang="de"] .hero-split-title {
    font-size: clamp(1.25rem, 7vw, 1.85rem);
    margin-bottom: 0.55rem;
    line-height: 1.12;
  }
}

/* Small phones with short height (≤375px width, ≤585px height) */
@media (max-width: 375px) and (max-height: 585px) {
  .swiss-badge-split {
    margin-bottom: 0.5rem;
  }

  .badge-pill {
    padding: 0.28rem 0.68rem;
    font-size: 0.6rem;
  }

  .hero-split-title,
  html[lang="de"] .hero-split-title {
    font-size: clamp(1.28rem, 7vw, 1.9rem);
    margin-bottom: 0.55rem;
  }

  .hero-cta-split {
    margin-top: 0.6rem;
    gap: 0.6rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.65rem 1.1rem;
    font-size: 0.73rem;
  }

  .hero-features-split {
    gap: 0.6rem;
  }

  .hero-feature-card {
    padding: 0.6rem 0.8rem;
  }

  .feature-card-icon {
    width: 33px;
    height: 33px;
  }

  .feature-card-icon i {
    font-size: 1.05rem;
  }

  .feature-card-title {
    font-size: 0.77rem;
  }

  .feature-card-text {
    font-size: 0.69rem;
  }

  .hero-cta-split {
    margin-top: 0.65rem;
    gap: 0.6rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.65rem 1.05rem;
    font-size: 0.72rem;
    min-height: 42px;
  }

  .hero-features-split {
    gap: 0.6rem;
  }

  .hero-feature-card {
    padding: 0.6rem 0.75rem;
    gap: 0.6rem;
  }

  .feature-card-icon {
    width: 32px;
    height: 32px;
  }

  .feature-card-icon i {
    font-size: 1rem;
  }

  .feature-card-title {
    font-size: 0.75rem;
    margin-bottom: 0.16rem;
  }

  .feature-card-text {
    font-size: 0.68rem;
    line-height: 1.32;
  }
}

/* Medium screens with medium/short heights (576-991px width, ≤900px height) */
@media (min-width: 576px) and (max-width: 991.98px) and (max-height: 900px) {
  .swiss-badge-split {
    margin-bottom: 0.75rem;
  }

  .badge-pill {
    padding: 0.45rem 1rem;
    font-size: 0.75rem;
  }

  .hero-split-title,
  html[lang="de"] .hero-split-title {
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    margin-bottom: 0.85rem;
    line-height: 1.15;
  }

  .hero-cta-split {
    margin-top: 1rem;
    gap: 0.85rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
  }

  .hero-features-split {
    gap: 1rem;
  }

  .hero-feature-card {
    padding: 0.85rem 1.1rem;
    gap: 0.85rem;
  }

  .feature-card-icon {
    width: 44px;
    height: 44px;
  }

  .feature-card-icon i {
    font-size: 1.35rem;
  }

  .feature-card-title {
    font-size: 0.95rem;
  }

  .feature-card-text {
    font-size: 0.85rem;
  }
}

/* Medium screens with short height (576-991px width, ≤800px height) */
@media (min-width: 576px) and (max-width: 991.98px) and (max-height: 800px) {
  .swiss-badge-split {
    margin-bottom: 0.65rem;
  }

  .badge-pill {
    padding: 0.4rem 0.9rem;
    font-size: 0.7rem;
  }

  .hero-split-title,
  html[lang="de"] .hero-split-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    margin-bottom: 0.75rem;
  }

  .hero-cta-split {
    margin-top: 0.85rem;
    gap: 0.75rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.75rem 1.4rem;
    font-size: 0.82rem;
  }

  .hero-features-split {
    gap: 0.85rem;
  }

  .hero-feature-card {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .feature-card-icon {
    width: 42px;
    height: 42px;
  }

  .feature-card-icon i {
    font-size: 1.25rem;
  }

  .feature-card-title {
    font-size: 0.9rem;
  }

  .feature-card-text {
    font-size: 0.8rem;
  }
}

/* Medium screens with very short height (576-991px width, ≤700px height) */
@media (min-width: 576px) and (max-width: 991.98px) and (max-height: 700px) {
  .swiss-badge-split {
    margin-bottom: 0.55rem;
  }

  .badge-pill {
    padding: 0.35rem 0.8rem;
    font-size: 0.68rem;
  }

  .hero-split-title,
  html[lang="de"] .hero-split-title {
    font-size: clamp(1.5rem, 3.8vw, 2.25rem);
    margin-bottom: 0.65rem;
  }

  .hero-cta-split {
    margin-top: 0.75rem;
    gap: 0.65rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.7rem 1.3rem;
    font-size: 0.78rem;
  }

  .hero-features-split {
    gap: 0.75rem;
  }

  .hero-feature-card {
    padding: 0.7rem 0.9rem;
    gap: 0.7rem;
  }

  .feature-card-icon {
    width: 40px;
    height: 40px;
  }

  .feature-card-icon i {
    font-size: 1.2rem;
  }

  .feature-card-title {
    font-size: 0.85rem;
  }

  .feature-card-text {
    font-size: 0.78rem;
  }
}

/* Short Height Screens - ALL orientations (≤600px height) */
@media (max-height: 600px) {
  .swiss-badge-split {
    margin-bottom: 0.25rem;
  }

  .badge-pill {
    padding: 0.25rem 0.6rem;
    font-size: 0.58rem;
    gap: 0.35rem;
    letter-spacing: 0.05em;
  }

  .badge-pill i {
    font-size: 0.7rem;
  }

  .hero-split-title,
  html[lang="de"] .hero-split-title {
    font-size: clamp(1.4rem, 4.5vw, 2.25rem);
    margin-bottom: 0.4rem;
    line-height: 1.1;
  }

  .hero-cta-split {
    margin-top: 0.4rem;
    gap: 0.45rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    min-height: 38px;
  }

  .hero-features-split {
    gap: 0.45rem;
  }

  .hero-feature-card {
    padding: 0.45rem 0.65rem;
    gap: 0.45rem;
  }

  .feature-card-icon {
    width: 36px;
    height: 36px;
  }

  .feature-card-icon i {
    font-size: 1.1rem;
  }

  .feature-card-title {
    font-size: 0.8rem;
    margin-bottom: 0.12rem;
  }

  .feature-card-text {
    font-size: 0.7rem;
    line-height: 1.3;
  }
}

/* Wide screens with short height - Two column layout optimization */
@media (max-height: 600px) and (min-width: 768px) {
  .swiss-badge-split {
    display: block;
    text-align: left;
    margin-bottom: 0.3rem;
  }

  .badge-pill {
    padding: 0.28rem 0.65rem;
    font-size: 0.6rem;
  }

  .hero-split-title,
  html[lang="de"] .hero-split-title {
    text-align: left;
    font-size: clamp(1.3rem, 3.5vw, 2rem);
    margin-bottom: 0.4rem;
  }

  .hero-cta-split {
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: auto;
    padding: 0.45rem 0.9rem;
    font-size: 0.7rem;
  }

  .hero-features-split {
    gap: 0.5rem;
  }

  .hero-feature-card {
    padding: 0.4rem 0.6rem;
  }
}

/* Portrait or narrow landscape - keep stacked */
@media (max-height: 600px) and (max-width: 767.98px) {
  .hero-cta-split {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
  }
}

/* Very Short Height (≤450px) */
@media (max-height: 450px) {
  .swiss-badge-split {
    margin-bottom: 0.2rem;
  }

  .badge-pill {
    padding: 0.22rem 0.5rem;
    font-size: 0.52rem;
    gap: 0.3rem;
  }

  .badge-pill i {
    font-size: 0.65rem;
  }

  .hero-split-title,
  html[lang="de"] .hero-split-title {
    font-size: clamp(1.15rem, 4vw, 1.85rem);
    margin-bottom: 0.3rem;
    line-height: 1.05;
  }

  .hero-cta-split {
    margin-top: 0.3rem;
    gap: 0.35rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.4rem 0.8rem;
    font-size: 0.68rem;
    min-height: 36px;
  }

  .hero-features-split {
    gap: 0.35rem;
  }

  .hero-feature-card {
    padding: 0.35rem 0.55rem;
    gap: 0.35rem;
  }

  .feature-card-icon {
    width: 32px;
    height: 32px;
  }

  .feature-card-icon i {
    font-size: 1rem;
  }

  .feature-card-title {
    font-size: 0.72rem;
    margin-bottom: 0.08rem;
  }

  .feature-card-text {
    font-size: 0.65rem;
    line-height: 1.25;
  }
}

/* Ultra Short Height (≤380px) */
@media (max-height: 380px) {
  .swiss-badge-split {
    margin-bottom: 0.15rem;
  }

  .badge-pill {
    padding: 0.18rem 0.45rem;
    font-size: 0.48rem;
    gap: 0.25rem;
  }

  .badge-pill i {
    font-size: 0.6rem;
  }

  .hero-split-title,
  html[lang="de"] .hero-split-title {
    font-size: clamp(1rem, 3.5vw, 1.6rem);
    margin-bottom: 0.2rem;
    line-height: 1;
  }

  .hero-cta-split {
    margin-top: 0.25rem;
    gap: 0.3rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.32rem 0.65rem;
    font-size: 0.6rem;
    min-height: 32px;
  }

  .hero-features-split {
    gap: 0.3rem;
  }

  .hero-feature-card {
    padding: 0.3rem 0.45rem;
    gap: 0.3rem;
  }

  .feature-card-icon {
    width: 28px;
    height: 28px;
  }

  .feature-card-icon i {
    font-size: 0.85rem;
  }

  .feature-card-title {
    font-size: 0.62rem;
    margin-bottom: 0.06rem;
    line-height: 1.2;
  }

  .feature-card-text {
    font-size: 0.56rem;
    line-height: 1.2;
  }
}

/* ============================================
   OLD HERO STYLES - KEEP FOR REFERENCE
   ============================================ */
.hero-title-old {
  font-size: clamp(2.5rem, 6vw, 4.5rem); /* 40px - 72px */
  font-weight: var(--font-weight-black);
  line-height: 1.1;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: var(--spacing-3);
  text-shadow: 0 0 40px rgba(0, 255, 135, 0.3), 0 0 80px rgba(0, 255, 135, 0.2),
    0 4px 20px rgba(0, 0, 0, 0.8), 0 8px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  padding: var(--spacing-4) var(--spacing-5);
  padding-left: calc(var(--spacing-5) + 8px);
  padding-right: calc(var(--spacing-5) + 8px);
  background: linear-gradient(
      to right,
      rgba(0, 255, 135, 0.03),
      transparent,
      rgba(0, 255, 135, 0.03)
    ),
    linear-gradient(135deg, rgba(6, 22, 37, 0.9) 0%, rgba(5, 16, 24, 0.95) 100%);
  border-radius: var(--border-radius-lg);
  border-left: 4px solid var(--electric-mint);
  border-right: 4px solid var(--electric-mint);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -8px 0 24px rgba(0, 255, 135, 0.15),
    8px 0 24px rgba(0, 255, 135, 0.15), 0 8px 32px rgba(0, 0, 0, 0.5),
    0 16px 64px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 255, 135, 0.1);
}

.hero-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: linear-gradient(180deg, var(--electric-mint), var(--neon-blue));
  filter: blur(4px);
}

.hero-title::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: linear-gradient(180deg, var(--electric-mint), var(--neon-blue));
  filter: blur(4px);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.375rem); /* 16px - 22px */
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-relaxed);
  color: var(--cool-white);
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 4px 24px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(0, 255, 135, 0.15);
  padding: var(--spacing-3) var(--spacing-4);
  padding-left: calc(var(--spacing-4) + 8px);
  padding-right: calc(var(--spacing-4) + 8px);
  background: linear-gradient(
      to right,
      rgba(0, 255, 135, 0.03),
      transparent,
      rgba(0, 255, 135, 0.03)
    ),
    rgba(6, 22, 37, 0.3);
  border-radius: var(--border-radius-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-left: 3px solid var(--electric-mint);
  border-right: 3px solid var(--electric-mint);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -6px 0 20px rgba(0, 255, 135, 0.15),
    6px 0 20px rgba(0, 255, 135, 0.15), 0 4px 24px rgba(0, 0, 0, 0.3),
    inset 0 0 40px rgba(0, 255, 135, 0.03);
  position: relative;
}

.hero-subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: linear-gradient(180deg, var(--electric-mint), var(--neon-blue));
  filter: blur(4px);
}

.hero-subtitle::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: linear-gradient(180deg, var(--electric-mint), var(--neon-blue));
  filter: blur(4px);
}

/* Mobile Optimizations */
@media (max-width: 767.98px) {
  .hero-title {
    padding: var(--spacing-3) var(--spacing-3);
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    text-shadow: 0 0 20px rgba(0, 255, 135, 0.25),
      0 0 40px rgba(0, 255, 135, 0.15), 0 2px 12px rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  }

  .hero-subtitle {
    padding: var(--spacing-2) var(--spacing-3);
    font-size: clamp(0.875rem, 4vw, 1rem);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 255, 135, 0.1);
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    padding: var(--spacing-2) var(--spacing-2);
    margin-bottom: var(--spacing-2);
    word-break: break-word;
    hyphens: auto;
  }

  .hero-subtitle {
    padding: var(--spacing-2);
  }
}

/* ============================================
   SECTION TYPOGRAPHY
   ============================================ */

.section-title {
  font-size: clamp(1.875rem, 4vw, 3rem); /* 30px - 48px */
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--spacing-4);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem); /* 16px - 20px */
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-relaxed);
  color: var(--text-muted);
}

.section-content {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
}

/* ============================================
   STATS & NUMBERS
   ============================================ */

.stat-number {
  font-size: clamp(3rem, 6vw, 5rem); /* 48px - 80px */
  font-weight: var(--font-weight-black);
  font-family: var(--font-mono);
  line-height: 1;
  color: var(--electric-mint);
  display: block;
  margin-bottom: var(--spacing-2);
}

.stat-label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: var(--text-muted);
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.service-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem); /* 20px - 24px */
  font-weight: var(--font-weight-bold);
  font-family: var(--font-subheading);
  color: var(--text-primary);
  margin-bottom: var(--spacing-3);
}

.service-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.service-list li {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--text-primary);
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: var(--spacing-2);
}

.service-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--electric-mint);
  font-weight: var(--font-weight-bold);
}

/* ============================================
   FORM LABELS
   ============================================ */

.form-label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: var(--text-primary);
  margin-bottom: var(--spacing-1);
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav-link {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
}

.navbar-brand .logo-text {
  font-size: clamp(1.25rem, 2vw, 1.75rem); /* 20px - 28px */
  font-weight: var(--font-weight-black);
  font-family: var(--font-headline);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
}

/* Very small screens - reduce logo to prevent navbar wrapping */
@media (max-width: 321px) {
  .navbar-brand .logo-text {
    font-size: 1rem !important; /* 16px - fixed size for very narrow screens */
    letter-spacing: 0.08em;
  }
}

/* ============================================
   FOOTER
   ============================================ */

.footer-logo {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-black);
  font-family: var(--font-headline);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  color: var(--text-light);
}

.footer-heading {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: var(--text-light);
  margin-bottom: var(--spacing-3);
}

.footer-description {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  color: var(--slate-blue);
}

.footer-copyright {
  font-size: var(--font-size-xs);
  color: var(--slate-blue);
}

/* ============================================
   LINKS
   ============================================ */

a {
  color: var(--electric-mint);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default);
}

a:hover {
  color: var(--vivid-rose);
}

a:focus-visible {
  outline: 2px solid var(--electric-mint);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================
   LISTS
   ============================================ */

ul,
ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* ============================================
   BADGES & LABELS
   ============================================ */

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  padding: 0.375rem 0.875rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-full);
  color: var(--text-light);
}

.swiss-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  color: var(--text-light);
}

.badge-flag {
  font-size: var(--font-size-2xl);
}

.badge-text {
  font-size: var(--font-size-sm);
  color: var(--slate-blue);
}

.switzerland-badge {
  display: inline;
  color: var(--vivid-rose);
  font-weight: var(--font-weight-black);
  letter-spacing: 0.05em;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.skip-to-main {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 1rem 1.5rem;
  background-color: var(--electric-mint);
  color: var(--deep-navy);
  text-decoration: none;
  font-weight: var(--font-weight-bold);
  border-radius: var(--border-radius-md);
}

.skip-to-main:focus {
  left: 1rem;
  top: 1rem;
}

/* ============================================
   RESPONSIVE TYPOGRAPHY
   ============================================ */

/* Tablet */
@media (min-width: 768px) {
  body {
    font-size: 1.0625rem; /* 17px */
  }

  .lead {
    font-size: 1.25rem; /* 20px */
  }
}

/* Desktop */
@media (min-width: 992px) {
  body {
    font-size: 1.125rem; /* 18px */
  }

  .section-content {
    font-size: 1.0625rem; /* 17px */
  }
}

/* ============================================
   TEXT SELECTION
   ============================================ */

::selection {
  background-color: var(--electric-mint);
  color: var(--deep-navy);
}

::-moz-selection {
  background-color: var(--electric-mint);
  color: var(--deep-navy);
}
