* {
  box-sizing: border-box;
}

html {
  /* Removed CSS smooth scroll - using custom JS implementation */
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease;
  overflow: hidden; /* Prevent scrolling initially */
}

body.scrollable {
  overflow: auto; /* Allow scrolling when unlocked */
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.08) 100%),
    radial-gradient(circle at 50% 10%, rgba(247, 147, 30, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(247, 147, 30, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(247, 147, 30, 0.04) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
}

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

header {
  text-align: center;
  min-height: 100vh;
  height: 100vh; /* Lock to viewport height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 8rem 0 2rem;
  background:
    radial-gradient(800px circle at 50% 20%, rgba(247, 147, 30, 0.04) 0%, transparent 50%),
    radial-gradient(600px circle at 80% 60%, rgba(247, 147, 30, 0.02) 0%, transparent 50%);
}

header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 147, 30, 0.15), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}

.logo-main {
  position: relative;
  display: flex;
  align-items: flex-start;
  line-height: 0.8;
}

.e-lower {
  font-size: 12rem;
  font-weight: 900;
  color: #3a3a3a;
  letter-spacing: -0.05em;
  line-height: 0.8;
  opacity: 0;
  transform: scale(0.95);
}

.logo.visible .e-lower {
  animation: logoFadeIn 0.6s ease-out forwards;
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.two {
  font-size: 6rem;
  font-weight: 900;
  color: #f7931e;
  position: relative;
  top: -0.5rem;
  margin-left: -1rem;
  opacity: 0;
  transform: scale(0.8);
}

.logo.visible .two {
  animation: twoFadeIn 0.5s ease-out 1.4s forwards;
}

@keyframes twoFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.konsulting {
  font-size: 2rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.35em;
  margin-top: -1rem;
  opacity: 0;
}

.logo.visible .konsulting {
  animation: konsultingFadeIn 1.2s ease-out 0.4s forwards;
}

@keyframes konsultingFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.logo-ground {
  width: 600px;
  height: 50px;
  position: relative;
  margin: 0 auto 1.5rem;
}

.logo-ground::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
}

.logo-ground::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 40px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 0%, transparent 100%);
  filter: blur(12px);
}

.headline-wrapper {
  font-size: 4rem;
  font-weight: 900;
  margin: 0 0 3rem;
  color: #1a1a1a;
  line-height: 1.3;
  letter-spacing: -0.04em;
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 2rem;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.08));
  min-height: calc(4rem * 1.3 * 2);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.bracket {
  color: #f7931e;
  font-weight: 900;
}

.typed-text {
  display: inline;
}

.typed-text .bracket {
  color: #f7931e;
}

.cursor {
  display: inline;
  animation: blink 0.7s step-end infinite;
}

.cursor-transform {
  display: inline-block;
  color: #1a1a1a;
  animation: morphToArrow 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  transform-origin: center center;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  50.01%, 100% {
    opacity: 0;
  }
}

@keyframes morphToArrow {
  0% {
    transform: scaleX(1) skewX(0deg) rotate(0deg);
    color: #1a1a1a;
  }
  25% {
    transform: scaleX(0.7) skewX(-10deg) rotate(5deg);
    color: #8a6a0f;
  }
  50% {
    transform: scaleX(1.2) skewX(15deg) rotate(25deg);
    color: #c87d19;
  }
  75% {
    transform: scaleX(1.4) skewX(25deg) rotate(35deg);
    color: #f7931e;
  }
  100% {
    transform: scaleX(1) skewX(0deg) rotate(0deg);
    color: #f7931e;
  }
}

.tagline {
  font-size: 1.25rem;
  color: #555;
  max-width: 650px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
  line-height: 1.7;
  font-weight: 400;
  opacity: 0;
  transform: translateY(15px);
}

.tagline.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 2.5rem;
  background: linear-gradient(135deg, #f7931e 0%, #ff9f3a 100%);
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.05rem;
  box-shadow: 0 4px 16px rgba(247, 147, 30, 0.25);
  opacity: 0;
  transform: translateY(20px);
}

.btn-primary.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(247, 147, 30, 0.35);
}

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

.scroll-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #888;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
}

.scroll-indicator.visible {
  animation: fadeInUpCentered 0.6s ease-out forwards;
}

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

.scroll-indicator:hover {
  color: #f7931e;
}

.scroll-indicator svg {
  width: 16px;
  height: 16px;
  animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

.scroll-indicator:hover svg {
  animation-play-state: paused;
}

.stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  color: #f7931e;
  margin-bottom: 0.25rem;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: #666;
}

.section {
  margin: 4rem 0;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  opacity: 0;
  pointer-events: none;
}

.section.visible {
  opacity: 1;
  pointer-events: auto;
}

.section.fade-out {
  opacity: 0;
  transform: translateY(30px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card,
.approach-item,
.cta-section {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.service-card.visible,
.approach-item.visible,
.cta-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:nth-child(1).visible {
  transition-delay: 0.1s;
}

.service-card:nth-child(2).visible {
  transition-delay: 0.2s;
}

.service-card:nth-child(3).visible {
  transition-delay: 0.3s;
}

.approach-item:nth-child(1).visible {
  transition-delay: 0.1s;
}

.approach-item:nth-child(2).visible {
  transition-delay: 0.2s;
}

.approach-item:nth-child(3).visible {
  transition-delay: 0.3s;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.75rem;
  color: #222;
}

.section-subtitle {
  font-size: 1rem;
  text-align: center;
  color: #666;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f7931e, #ff9f3a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: #f7931e;
  box-shadow: 0 12px 32px rgba(247, 147, 30, 0.12);
}

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

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #f7931e 0%, #ff9f3a 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  box-shadow: 0 8px 16px rgba(247, 147, 30, 0.2);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: white;
  stroke: white;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
}

.approach-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.approach-item {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
}

.approach-item:hover {
  border-color: rgba(247, 147, 30, 0.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06), 0 1px 4px rgba(247, 147, 30, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.approach-item strong {
  color: #f7931e;
  font-weight: 600;
}

.cta-section {
  text-align: center;
  padding: 3rem 2rem;
  margin: 4rem 0;
}

.tech-section {
  max-width: 900px;
  margin: 6rem auto 5rem;
  text-align: center;
  padding: 0 2rem;
  position: relative;
}

.tech-section::before {
  content: '';
  position: absolute;
  top: -3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f7931e, transparent);
  border-radius: 2px;
}

.tech-intro {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 2rem;
  padding: 2rem 0 1rem;
  position: relative;
}

.tech-tags::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 147, 30, 0.2), transparent);
}

.tech-tag {
  padding: 0.5rem 1.1rem;
  background: white;
  color: #1a1a1a;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(247, 147, 30, 0.12);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.tech-tag:hover {
  background: linear-gradient(135deg, rgba(247, 147, 30, 0.08) 0%, rgba(255, 159, 58, 0.06) 100%);
  border-color: rgba(247, 147, 30, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(247, 147, 30, 0.1);
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: #f7931e;
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.25s ease, transform 0.15s ease;
  font-size: 1.05rem;
}

.btn:hover {
  background-color: #d97e16;
  transform: translateY(-2px);
}

footer {
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
  color: #888;
  border-top: 1px solid #e5e5e5;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  /* Skip scroll lock on mobile */
  body {
    overflow: auto !important;
  }

  /* Show all sections immediately on mobile */
  .section {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* Show all elements immediately - no animations */
  .logo,
  .logo .e-lower,
  .logo .two,
  .logo .konsulting,
  .tagline,
  .btn-primary,
  .scroll-indicator,
  .service-card,
  .approach-item,
  .cta-section {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  header {
    min-height: auto;
    height: auto;
    padding: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .logo {
    margin-bottom: 1.5rem;
  }

  .e-lower {
    font-size: 3rem;
  }

  .two {
    font-size: 1.5rem;
    top: -0.2rem;
    margin-left: -0.4rem;
  }

  .konsulting {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    margin-top: -0.4rem;
  }

  .headline-wrapper {
    font-size: 1.5rem;
    min-height: 4rem;
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    width: 100%;
    text-align: center;
  }

  .tagline {
    font-size: 0.95rem;
    padding: 0 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    width: 100%;
    text-align: center;
    max-width: 100%;
  }

  .hero-cta {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .scroll-indicator {
    position: static;
    transform: none !important;
    margin: 1rem auto 0;
    bottom: auto;
    left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
  }

  h1::after {
    width: 80px;
    height: 3px;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 2rem;
  }
}
