:root {
  --bg-color: #D4D6C9;
  --grey: #2c2c2c;
  --text-color: #f9fafb;
  --text-darker: #a1a1aa;
  --accent-color: #6d28d9;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg-color);
  color: var(--grey);
}

header {
  background: var(--grey);
  font-size: 1.5rem;
  gap: 5rem;
  padding: 2rem 1rem;
}

nav {
  background: var(--grey);
  display: flex;
  justify-content: center;
  gap: 8rem;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
}

.hero {
  text-align: center;
  padding: 3rem 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--grey);
} 

.hero p1 { 
  font-size: 1.2rem; 
  color: var(--grey);
} 

.hero p2 {
  font-size: 2rem; 
  color: var(--grey); 
} 

.hero p3 { 
text-align: center;
font-size: 2rem;
color: var(--grey);
}

.hero p4 { 
text-align: center;
font-size: 1.5rem;
color: var(--grey);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.service img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  transition: transform 0.4s ease;
}

.service:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(44, 44, 44, 0.75);
  color: var(--text-color);
  text-align: center;
  font-size: 1.2rem;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.service:hover .overlay {
  opacity: 1;
}

footer {
  background: var(--grey);
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-color);
  margin-top: 2rem;
}

.menu-toggle {
  display: none;
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 2rem;
  cursor: pointer;
  z-index: 1000;
}

@media (max-width: 768px) {
  .services {
    grid-template-columns: 1fr;
  }
}

/* ===== MOBILE ANPASSUNGEN ===== */
@media (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 3rem;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    left: 1rem;
    top: 1.2rem;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1000;
  }

  nav {
    display: none;
    flex-direction: column;
    align-items: center;
    background: var(--grey);
    position: absolute;
    top: 5rem;
    left: 0;
    right: 0;
    padding: 1rem 0;
    gap: 1rem;
    border-top: 2px solid var(--text-darker);
    z-index: 999;
  }

  nav.open {
    display: flex;
  }

  nav a {
    font-size: 1.1rem;
  }

  .hero img {
    width: 60%;
    height: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .services {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .service img {
    width: 100%;
    height: auto;
  }

  footer {
    font-size: 0.8rem;
    padding: 1rem;
  }
}

  a {
    text-decoration: none;
    color: black;
  }
  a:hover {
    color: gray;
  }

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services {
    grid-template-columns: 1fr;
  }
}
