:root {
      --dark-gray: #2E2E2E;
      --sage: #A8BDB0;
      --beige: #F5F1E6;
      --black: #1C1C1C;
      --light-gray: #CCCCCC;
    }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
}

h1,h2,h3,h4 {
    font-family: 'Poppins', sans-serif;
}
p, li, a, button {
    font-family: 'Montserrat', sans-serif
}
li {
    list-style: none;
}

/* --------------------------------------------------------- */
/* HEADER */
/* Video-Hintergrund */
.header-video {
  position: absolute;
  left: 0;
  width: 100vw;   
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}

/* Overlay-Inhalte */
.header-content {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  z-index: 1;
  position: relative;
}
.header-content h1 {
  text-transform: uppercase;
  letter-spacing: 5px;
}
.header-content button {
  border-radius: 5px;
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background-color: var(--sage);
  border: none;
  color: var(--black);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s ease-in;
}

.header-content button:hover {
  color: white;
  transition: color 0.3s ease-out;

}

.header-overlay {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  background: linear-gradient(to bottom, rgba(46, 46, 46, 0.75));
}

/* --------------------------------------------------------- */
/* SEKTION */
main section {
  padding: 4rem 2rem;
  text-align: center;
}

.intro h2,
.home-services h2,
.philosophie h2,
.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

main p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 2rem;
}
.intro {
  background-color: var(--dark-gray);
}
.intro h2, .intro p {
  color: white;
}

/* Leistungen */
.services-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: nowrap;
  /* margin-top: 2rem; */
}

.service-box {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  /* width: 330px; */
  width: calc(33.333% - 2rem); /* 3 Boxen nebeneinander + Gap */
  min-width: 280px;
  max-width: 100%;  
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-box img{
  width: 40px;
  margin-bottom: 1rem;
}

.service-box h3 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0.5rem;
}

/* CTA Button */
.btn-primary {
  display: inline-block;
  background-color: var(--sage);
  color: var(--black);
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease-in;
  margin-top: 15px;
}

.btn-primary:hover {
  background-color: #94a79a;
  color: white;
  transition: color 0.3s ease-out;
}

.philosophie {
  background-color: var(--dark-gray);
}

.philosophie h2,
.philosophie p {
  color: white;
}
.service-box:hover {
  transform: translateY(-5px);
}

@media (max-width: 900px) {
  .services-grid {
    flex-wrap: wrap; /* wieder umbrechen */
  }

  .service-box {
    width: 100%; /* volle Breite untereinander */
    max-width: 400px;
  }
}
