@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;700&display=swap');


html, body {
  font-family: 'Work Sans', sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url("/website/images/Tim_Glaus_Profilbild.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

}

.hero-title {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  text-align: left;
  max-width: 40%;
  z-index: 10;
}

.hero-title div {
  display: inline-block;
  background: rgb(0, 60, 105);
  color: white;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.site-nav-hero {
  position: absolute;
  top: 2rem;        
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;        
  font-weight: 600;
  font-size: 1.1rem;
  color: white;
  z-index: 20;
  text-align: center;
}

.site-nav-hero a {
  color: rgb(0, 60, 105);
  font-weight: 600;
  text-decoration: none;
  font-size: clamp(1rem, 2vw, 1.5rem);
}

.external-link svg {
  vertical-align: middle;   
  transform: translateY(-1px); 
  width: 20px;
  height: 20px;
}

.home-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.points-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.point {
  background: rgb(0, 60, 105);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.text-primary {
  color: rgb(0, 60, 105);
}

@media (max-width: 768px) {

  .hero {
    min-height: 60vh;
    background-size: cover;
    background-position: 35% top;
  }

  .hero-title {
    top: auto;
    bottom: -7rem;
    left: 5%;
    right: 5%;
    max-width: 90%;
  }

  .hero-title div {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

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

  .points-grid > * {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem;             
    box-sizing: border-box;        
  }

  .home-content {
    padding: 2rem 1rem;           
  }
}