/* ============================================================================
   HUBER SOLUTIONS - COMPONENTS CSS
   Production-ready dark premium B2B theme
   Inspired by Vercel, Linear, Stripe aesthetics
   ============================================================================ */

/* ============================================================================
   1. HEADER
   ============================================================================ */

.hs-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.hs-header--scrolled {
  background: rgba(5, 10, 20, 0.85);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hs-header--hidden {
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.18, 1), background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.hs-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 2rem;
  height: 72px;
  max-width: 1440px;
  margin: 0 auto;
}

/* --- Logo --- */

.hs-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.25s ease;
}

.hs-header__logo:hover {
  opacity: 0.85;
}

.hs-header__logo-img {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}

.hs-header__logo-text {
  display: flex;
  align-items: baseline;
  gap: 0.1em;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-white);
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 1;
}

.hs-header__logo-mark {
  color: var(--color-text-dim);
  font-weight: 400;
  font-size: 0.85em;
  opacity: 0.5;
}

.hs-header__logo-accent {
  color: var(--color-electric);
  margin-left: 0.15em;
}

/* ============================================================================
   2. DESKTOP NAVIGATION
   ============================================================================ */

.hs-nav {
  display: none;
  flex: 1;
  justify-content: center;
}

.hs-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hs-nav__list li {
  list-style: none;
}

.hs-nav__list li a,
.hs-nav__list .menu-item a {
  display: block;
  padding: 0.5rem 0.875rem;
  color: var(--color-text-dim);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.hs-nav__list li a:hover,
.hs-nav__list .menu-item a:hover,
.hs-nav__list li a.is-active,
.hs-nav__list .current-menu-item a {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
}

/* Show nav on desktop */
@media (min-width: 1024px) {
  .hs-nav {
    display: flex;
  }
}

/* --- Header Actions --- */

.hs-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.hs-header__cta {
  display: none;
}

@media (min-width: 1024px) {
  .hs-header__cta {
    display: inline-flex;
  }
}

/* ============================================================================
   3. HAMBURGER
   ============================================================================ */

.hs-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.hs-hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.18, 1),
              opacity 0.25s ease;
  transform-origin: center center;
}

/* X transform: line 1 rotates 45deg, line 2 hides, line 3 rotates -45deg */
.hs-hamburger.is-active .hs-hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hs-hamburger.is-active .hs-hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hs-hamburger.is-active .hs-hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .hs-hamburger {
    display: none;
  }
}

/* ============================================================================
   4. MOBILE MENU
   ============================================================================ */

.hs-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(5, 10, 20, 0.97);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: 999;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem 2rem 3rem;
}

.hs-mobile-menu.is-active {
  transform: translateX(0);
}

.hs-mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 320px;
}

.hs-mobile-menu__list {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  width: 100%;
  text-align: center;
}

.hs-mobile-menu__list li {
  list-style: none;
}

.hs-mobile-menu__list li a,
.hs-mobile-menu__list .menu-item a {
  display: block;
  color: var(--color-white);
  text-decoration: none;
  padding: 1rem 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.25s ease;
}

.hs-mobile-menu__list li:last-child a {
  border-bottom: none;
}

.hs-mobile-menu__list li a:hover {
  color: var(--color-electric);
}

.hs-mobile-menu__cta {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
}

/* Prevent body scroll when menu open */
body.hs-menu-open {
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hs-mobile-menu {
    display: none !important;
  }
}

/* Spacer to push content below fixed header */
.hs-main {
  padding-top: 0;
}

/* Hero already is 100vh so no extra spacing needed */

/* ============================================================================
   5. BUTTONS
   ============================================================================ */

.hs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Primary button */
.hs-btn--primary {
  background: var(--gradient-cta);
  color: var(--color-midnight);
  font-weight: 700;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.3);
}

.hs-btn--primary:hover {
  box-shadow: 0 0 24px 0 rgba(245, 158, 11, 0.5),
              inset 0 0 20px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.hs-btn--primary:active {
  transform: translateY(0);
}

/* Ghost button */
.hs-btn--ghost {
  background: transparent;
  border: 2px solid white;
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hs-btn--ghost:hover {
  background: white;
  color: var(--color-midnight);
  box-shadow: 0 0 20px 0 rgba(255, 255, 255, 0.3);
}

.hs-btn--ghost:active {
  transform: scale(0.98);
}

/* Small button */
.hs-btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Full width button */
.hs-btn--full {
  width: 100%;
}

/* Button group */
.hs-btn__group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================================
   6. GLASS CARDS
   ============================================================================ */

.hs-glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(20px) saturate(180%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.hs-glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(59, 158, 255, 0) 0%,
    rgba(245, 158, 11, 0) 50%,
    rgba(59, 158, 255, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.hs-glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 0 40px 0 rgba(59, 158, 255, 0.2),
              inset 0 0 20px 0 rgba(59, 158, 255, 0.05);
}

.hs-glass-card:hover::before {
  opacity: 0.5;
}

/* ============================================================================
   7. SERVICE CARDS
   ============================================================================ */

.hs-service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hs-service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--color-electric);
  transition: color 0.3s ease, filter 0.3s ease;
}

.hs-service-card:hover .hs-service-card__icon {
  color: var(--color-neon);
  filter: drop-shadow(0 0 12px var(--color-electric));
}

.hs-service-card__title {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  font-family: var(--font-heading);
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.01em;
}

.hs-service-card__description {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

/* ============================================================================
   8. SERVICES GRID
   ============================================================================ */

.hs-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

@media (max-width: 1024px) {
  .hs-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hs-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   9. ERP LAYOUT
   ============================================================================ */

.hs-erp-layout {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hs-erp-layout__left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hs-erp-layout__big-text {
  font-family: 'Syne', var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  color: white;
  margin: 0;
  letter-spacing: -0.02em;
}

.hs-erp-layout__big-text .hs-gradient-text {
  background: var(--gradient-text);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hs-erp-layout__right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .hs-erp-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hs-erp-layout__big-text {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
}

/* ============================================================================
   10. ERP TILES
   ============================================================================ */

.hs-erp-tile {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(20px) saturate(180%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hs-erp-tile__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.hs-erp-tile__name {
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  font-family: var(--font-heading);
}

.hs-erp-tile__body {
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hs-erp-tile:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 0 24px 0 rgba(59, 158, 255, 0.15);
}

/* ============================================================================
   11. BADGES
   ============================================================================ */

.hs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hs-badge--success {
  background: rgba(34, 197, 94, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.hs-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  display: inline-block;
}

.hs-badge__dot--pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

/* ============================================================================
   12. TAGS
   ============================================================================ */

.hs-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(59, 158, 255, 0.1);
  border: 1px solid rgba(59, 158, 255, 0.2);
  border-radius: 9999px;
  color: var(--color-electric);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.hs-tag:hover {
  background: rgba(59, 158, 255, 0.2);
  border-color: rgba(59, 158, 255, 0.4);
  box-shadow: 0 0 12px rgba(59, 158, 255, 0.2);
}

/* ============================================================================
   13. STATS SECTION
   ============================================================================ */

.hs-stats-section {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.08) 0%,
    rgba(5, 10, 20, 1) 100%
  );
  border-top: 1px solid rgba(245, 158, 11, 0.15);
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.hs-stats-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.1) 0%,
    transparent 70%
  );
  filter: blur(60px);
  pointer-events: none;
}

/* ============================================================================
   14. STATS GRID
   ============================================================================ */

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

.hs-stat {
  position: relative;
  padding: 0 1rem;
}

.hs-stat__number {
  font-family: 'Syne', var(--font-heading);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1;
  color: white;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}

.hs-stat__label {
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .hs-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .hs-stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hs-stat__number {
    font-size: clamp(2rem, 5vw, 3rem);
  }
}

/* ============================================================================
   15. PROJECT CARDS
   ============================================================================ */

.hs-project-card {
  width: 380px;
  flex-shrink: 0;
  background: var(--color-midnight);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  scroll-snap-align: start;
}

.hs-project-card__visual {
  position: relative;
  height: 200px;
  background: linear-gradient(
    135deg,
    rgba(59, 158, 255, 0.2) 0%,
    rgba(245, 158, 11, 0.1) 100%
  );
  border-bottom: 1px solid var(--glass-border);
}

.hs-project-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.hs-project-card:hover .hs-project-card__image {
  opacity: 0.7;
}

.hs-project-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: rgba(5, 10, 20, 0.7);
  backdrop-filter: blur(10px);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-electric);
  border: 1px solid rgba(59, 158, 255, 0.2);
}

.hs-project-card__body {
  padding: 1.5rem;
}

.hs-project-card__title {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

.hs-project-card__description {
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.hs-project-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 0 30px 0 rgba(59, 158, 255, 0.15);
  transform: translateY(-4px);
}

/* ============================================================================
   16. PROJECTS SCROLL CONTAINER
   ============================================================================ */

.hs-projects-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar - webkit browsers */
.hs-projects-scroll::-webkit-scrollbar {
  height: 6px;
}

.hs-projects-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.hs-projects-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.hs-projects-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Hide scrollbar - firefox */
.hs-projects-scroll {
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
  scrollbar-width: thin;
}

.hs-projects-track {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  width: fit-content;
}

/* ============================================================================
   17. ABOUT LAYOUT
   ============================================================================ */

.hs-about-layout {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hs-about-layout__left {
  position: relative;
  height: 100%;
  min-height: 500px;
}

.hs-about-photo {
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
}

.hs-about-photo__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hs-about-photo__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(59, 158, 255, 0.1) 0%, rgba(15, 42, 74, 0.5) 100%);
}

.hs-about-photo__frame {
  position: absolute;
  inset: 1.5rem;
  border: 2px solid var(--glass-border);
  border-radius: 0.75rem;
  pointer-events: none;
  transform: rotate(-2deg);
}

.hs-about-layout__right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hs-about-quote {
  font-size: 1.5rem;
  line-height: 1.6;
  font-weight: 600;
  margin: 0;
  padding-left: 1.5rem;
  border-left: 4px solid var(--color-electric);
  background: var(--gradient-text);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hs-about-text {
  color: var(--color-text);
  line-height: 1.8;
  font-size: 1rem;
  margin: 0;
}

@media (max-width: 1024px) {
  .hs-about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hs-about-layout__left {
    min-height: 400px;
  }

  .hs-about-photo {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 640px) {
  .hs-about-layout__left {
    min-height: 300px;
  }

  .hs-about-photo {
    aspect-ratio: auto;
    min-height: 300px;
  }
}

/* ============================================================================
   18. TECH GRID
   ============================================================================ */

.hs-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
}

@media (max-width: 768px) {
  .hs-tech-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   19. TECH BARS
   ============================================================================ */

.hs-tech-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hs-tech-bar__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hs-tech-bar__name {
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  font-family: var(--font-heading);
}

.hs-tech-bar__percentage {
  color: var(--color-electric);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
}

.hs-tech-bar__track {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.hs-tech-bar__fill {
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--color-electric) 0%,
    var(--color-neon) 100%
  );
  border-radius: 999px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* ============================================================================
   20. CONTACT SECTION
   ============================================================================ */

.hs-kontakt-section {
  position: relative;
  overflow: hidden;
}

.hs-kontakt-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(
    circle,
    var(--color-electric) 0%,
    transparent 70%
  );
  opacity: 0.1;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================================
   21. CONTACT LAYOUT
   ============================================================================ */

.hs-kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .hs-kontakt-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================================================
   22. FORM STYLES
   ============================================================================ */

.hs-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hs-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hs-form__label {
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hs-form__input,
.hs-form__textarea {
  background: var(--color-midnight);
  border: 1px solid var(--glass-border);
  color: white;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.hs-form__input::placeholder,
.hs-form__textarea::placeholder {
  color: var(--color-text-dim);
}

.hs-form__input:focus,
.hs-form__textarea:focus {
  outline: none;
  border-color: var(--color-electric);
  box-shadow: 0 0 0 3px rgba(59, 158, 255, 0.1),
              0 0 12px 0 rgba(59, 158, 255, 0.2);
  background: rgba(59, 158, 255, 0.02);
}

.hs-form__textarea {
  resize: vertical;
  min-height: 120px;
  font-size: 0.9rem;
}

/* ============================================================================
   23. CONTACT INFO
   ============================================================================ */

.hs-kontakt-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hs-kontakt-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.hs-kontakt-info__icon {
  width: 24px;
  height: 24px;
  color: var(--color-electric);
  flex-shrink: 0;
  margin-top: 0.25rem;
  transition: color 0.25s ease;
}

.hs-kontakt-info__item:hover .hs-kontakt-info__icon {
  color: var(--color-neon);
}

.hs-kontakt-info__content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hs-kontakt-info__label {
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.hs-kontakt-info__value {
  color: white;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s ease;
}

.hs-kontakt-info__value:hover {
  color: var(--color-electric);
}

/* ============================================================================
   24. MAP PLACEHOLDER
   ============================================================================ */

.hs-kontakt-map {
  aspect-ratio: 16 / 9;
  background: var(--color-midnight);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.hs-kontakt-map__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.hs-kontakt-map__embed {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.hs-kontakt-map__embed iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(1) invert(0.92) contrast(0.9) hue-rotate(180deg);
  border-radius: 1rem;
}

.hs-kontakt-map__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-text-dim);
  font-size: 0.95rem;
}

/* ============================================================================
   25. FOOTER
   ============================================================================ */

.hs-footer {
  background: var(--color-void);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 0 2rem;
  position: relative;
}

.hs-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--glass-border);
}

.hs-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 200px;
}

.hs-footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

.hs-footer__description {
  color: var(--color-text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.hs-footer__links {
  display: flex;
  gap: 3rem;
  flex: 1;
}

.hs-footer__column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hs-footer__heading {
  color: white;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.hs-footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hs-footer__list-item {
  margin: 0;
}

.hs-footer__link {
  color: var(--color-text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.25s ease;
}

.hs-footer__link:hover {
  color: white;
}

.hs-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.hs-footer__bottom-text {
  margin: 0;
}

.hs-footer__social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hs-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-text-dim);
  transition: color 0.25s ease, transform 0.25s ease;
  text-decoration: none;
}

.hs-footer__social-link:hover {
  color: var(--color-electric);
  transform: translateY(-2px);
}

.hs-footer__social svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .hs-footer__top {
    flex-direction: column;
    gap: 2rem;
  }

  .hs-footer__links {
    flex-direction: column;
    gap: 2rem;
  }

  .hs-footer__bottom {
    flex-direction: column;
    justify-content: center;
  }
}

/* ============================================================================
   26. HERO SECTION
   ============================================================================ */

.hs-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 20%,
    rgba(59, 158, 255, 0.15) 0%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 1;
}

/* Optional hero background image via Customizer */
.hs-hero[style*="--hero-bg-image"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.hs-hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 1.5rem;
}

.hs-hero__title {
  margin-bottom: 1.5rem;
}

.hs-hero__sub {
  color: var(--color-text);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

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

.hs-hero__stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.hs-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
}

.hs-hero__stat-value {
  font-family: var(--font-heading);
  font-weight: 800;
  color: white;
  font-size: 1.1rem;
  line-height: 1;
}

.hs-hero__stat-label {
  font-size: 0.75rem;
  color: var(--color-text-dim);
  display: block;
  font-weight: 500;
}

.hs-hero__stat-divider {
  width: 1px;
  height: 2rem;
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
  .hs-hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .hs-hero__ctas .hs-btn {
    width: 100%;
  }

  .hs-hero__stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hs-hero__stat-divider {
    display: none;
  }
}

/* ============================================================================
   27. HERO SCROLL INDICATOR
   ============================================================================ */

.hs-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  animation: fadeInUp 1s ease 0.8s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.hs-hero__scroll-label {
  color: var(--color-text-dim);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  white-space: nowrap;
}

.hs-hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(
    to bottom,
    white 0%,
    transparent 100%
  );
  animation: scrollDown 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

@keyframes scrollDown {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

/* ============================================================================
   28. HERO SPOTLIGHT (MOUSE FOLLOWER)
   ============================================================================ */

.hs-hero__spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  background: radial-gradient(
    circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(59, 158, 255, 0.06) 0%,
    transparent 70%
  );
}

/* ============================================================================
   29. SECTION HEADER
   ============================================================================ */

.hs-section__header {
  text-align: center;
  margin-bottom: var(--space-lg, 3rem);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hs-section__label {
  color: var(--color-electric);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hs-section__title {
  margin: 0 0 1rem;
}

.hs-section__intro {
  color: var(--color-text);
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* ============================================================================
   30. PAGE LOAD CURTAIN
   ============================================================================ */

.hs-curtain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-void);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  overflow: hidden;
}

.hs-curtain__inner {
  position: absolute;
  inset: 0;
  background: var(--color-midnight);
  animation: curtainReveal 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes curtainReveal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

.hs-curtain--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hs-curtain--hidden .hs-curtain__inner {
  animation: none;
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */

.hs-gradient-text {
  background: var(--gradient-text);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hs-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hs-section {
  padding: 3rem 0;
}

.hs-section--lg {
  padding: 5rem 0;
}

.hs-section--xl {
  padding: 7rem 0;
}

/* ============================================================================
   RESPONSIVE UTILITIES
   ============================================================================ */

@media (max-width: 640px) {
  .hs-container {
    padding: 0 1rem;
  }

  .hs-section {
    padding: 2rem 0;
  }

  .hs-section--lg {
    padding: 3rem 0;
  }

  .hs-section--xl {
    padding: 4rem 0;
  }
}

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

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

  .hs-hero__scroll-line {
    animation: none;
  }
}

/* ============================================================================
   WHATSAPP BUTTON
   ============================================================================ */

.hs-btn--whatsapp {
  background: #25D366;
  color: #fff;
  font-weight: 700;
  gap: 0.625rem;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hs-btn--whatsapp:hover {
  background: #1ebe5d;
  box-shadow: 0 0 24px 0 rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.hs-btn--whatsapp:active {
  transform: translateY(0);
}

.hs-btn--whatsapp svg {
  flex-shrink: 0;
}

/* WhatsApp item highlight */
.hs-kontakt-info__item--whatsapp svg {
  color: #25D366;
}

.hs-kontakt-info__item--whatsapp a {
  color: #25D366;
  transition: color 0.25s ease;
}

.hs-kontakt-info__item--whatsapp a:hover {
  color: #1ebe5d;
}

/* ============================================================================
   FORM STATUS MESSAGES
   ============================================================================ */

.hs-form__status {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 500;
}

.hs-form__status--success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.hs-form__status--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* Loading spinner */
.hs-spinner {
  animation: hs-spin 1s linear infinite;
}

@keyframes hs-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hs-form__btn-text,
.hs-form__btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================================================
   DARK MODE (System preference)
   ============================================================================ */

@media (prefers-color-scheme: dark) {
  /* Already in dark mode - no changes needed */
}

@media (prefers-color-scheme: light) {
  /* If light mode is preferred, the theme should still work */
  /* These are defined in style.css with CSS variables */
}
