/* Mitr Font Classes */
.mitr-extralight {
  font-family: "Mitr", serif;
  font-weight: 200;
  font-style: normal;
}

.mitr-light {
  font-family: "Mitr", serif;
  font-weight: 300;
  font-style: normal;
}

.mitr-regular {
  font-family: "Mitr", serif;
  font-weight: 400;
  font-style: normal;
}

.mitr-medium {
  font-family: "Mitr", serif;
  font-weight: 500;
  font-style: normal;
}

.mitr-semibold {
  font-family: "Mitr", serif;
  font-weight: 600;
  font-style: normal;
}

.mitr-bold {
  font-family: "Mitr", serif;
  font-weight: 700;
  font-style: normal;
}

/* Module Styles */
.text-block-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.mega-text {
  width: 100%;
  white-space: nowrap;
  transform-origin: center center;
  color: white;
  line-height: 1.1;
  font-size: 70.4px;
}

.mega-text span {
  color: white;
}

@media (max-width: 768px) {
  .text-[200px] {
    font-size: 64px;
    line-height: 72px;
  }
  
  .leading-[220px] {
    line-height: 1.2;
  }
  
  .mega-text {
    font-size: 35.2px;
    line-height: 1.1;
  }
}

.w-screen {
  width: 100vw;
}

.hero-wrapper {
  width: 100%;
  position: relative;
  background: linear-gradient(199.79deg, rgba(16, 133, 199, 1) 0%, rgba(31, 39, 75, 1) 50%, #0d1f4f 100%);
}

.hero-content {
  width: 100%;
  position: relative;
  z-index: 1;
}
 
.w-full {
  position: relative;
  width: 100%;
}

.gradient-wrapper {
  display: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  padding: 60px 0;
}

.hero-container .bg-[#476efb] {
  padding-left: 2rem;
  padding-right: 2rem;
  min-width: max-content;
}

.mega-text-container {
  width: 100%;
  max-width: 800px;
}

.spacing-section .text-[#1f3d4e]/80 {
  color: #FFFFFF;
  font-family: "Source Sans 3", sans-serif;
}

.spacing-section {
  margin-bottom: 1rem;
}

.mega-text-container > * {
  margin-bottom: 1rem;
}

.image-section {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 20px;
  overflow: visible;
  margin: -20px auto 0;
  max-width: 1920px;
}

.image-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img:first-child {
  position: relative;
  z-index: 3;
}

.werfer-svg {
  position: absolute;
  left: -500px;
  top: -5%;
  transform: translateY(0);
  width: 200px;
  height: auto;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-container {
    padding: 120px 0;
  }
  
  .image-section {
    margin: -40px auto 0;
  }
  
  .mega-text {
    font-size: 64px;
    line-height: 1.1;
  }
  
  .spacing-section {
    margin-bottom: 2rem;
  }
  
  .mega-text-container > * {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .werfer-svg {
    width: 120px;
    left: -50px;
    top: -5%;
    transform: translateY(0);
    z-index: 1;
  }
}

/* Add this to your existing CSS */
.custom-weight {
  font-weight: 475; /* Between regular (400) and medium (500) */
}

/* Add this to your existing CSS */
.emphasis-text {
  color: #1085C7;
}

.description-text {
  font-family: "Source Sans 3", sans-serif;
  color: #FFFFFF;
  font-size: 1.21rem;
}

.description-text > div {
  margin-bottom: 0.5rem;
}

/* Special handling for description pairs */
.description-text > div:nth-child(2) {
  margin-bottom: 0;
}

.description-text > div:nth-child(3) {
  margin-top: -0.25rem;
  margin-bottom: 0.5rem;
}

.description-text > div:nth-child(4) {
  margin-bottom: 0;
}

.description-text > div:nth-child(5) {
  margin-top: -0.25rem;
  margin-bottom: 0.5rem;
}

.description-text > div:last-child {
  margin-bottom: 0;
}

/* Font weight variations for descriptions */
.description-text > div:first-child,
.description-text > div:last-child {
  font-weight: 600;
}

.description-text > div:nth-child(2),
.description-text > div:nth-child(3),
.description-text > div:nth-child(4),
.description-text > div:nth-child(5) {
  font-weight: 300;
}

@media (max-width: 768px) {
  .mega-text-large {
    font-size: 64px;
    line-height: 72px;
  }
  
  .mega-text-leading {
    line-height: 1.2;
  }
}

.hero-container .primary-button {
  padding-left: 2rem;
  padding-right: 2rem;
  min-width: max-content;
}

.spacing-section .description {
  color: #FFFFFF;
  font-family: "Source Sans 3", sans-serif;
}

/* Update styles for steine svg */
.steine-svg {
  position: absolute;
  right: 15%;
  top: 10%;
  width: 240px;
  height: auto;
  z-index: 3;
}

@media (max-width: 768px) {
  .steine-svg {
    width: 160px;
    right: -5%;
    top: 0%;
  }
}

/* Update button styles */
.button-section {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 3rem 1rem;
  position: relative;
  z-index: 10;
  margin-top: -1px;
}

.button-container {
  height: 3.5rem;
  background-color: #1085C7;
  border-radius: 0.5rem;
  border: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 11;
}

.button-container:hover {
  background-color: #0B6A9F;
}

.button-text {
  color: white;
  font-family: "Mitr", sans-serif;
  font-weight: 400;
  font-size: 1.24rem;
  line-height: normal;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .button-container {
    height: 3rem;
  }
  
  .button-text {
    font-size: 1.1rem;
  }
  
  .button-section {
    padding: 2rem 1rem;
  }
}
