/* Globale Einstellungen */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #ECEFE7;
  color: #2B2B2B;
}

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

.header-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.logo {
  width: 300px;
  height: auto;
}

.hero-text h1 {
  margin: 0;
  font-size: 2rem;
}

.subtitle {
  margin-top: 0.25rem;
  font-weight: 400;
}

/*intro-box*/
.intro-box {
  background-color: #2B2B2B;
  color: #ECEFE7;
  padding: 4rem 2rem;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  max-width: 900px;
  margin: 4rem auto 3rem auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.intro-box h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.intro-box p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background-color: #ECEFE7;
  color: #2B2B2B;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: 
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.4s ease,
    transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background-color: #d6d9d1;
  color: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}


.vision-banner {
  background: linear-gradient(90deg, #2B2B2B, #1e1e1e);
  color: #ECEFE7;
  text-align: center;
  padding: 2rem;
  font-size: 1.3rem;
  font-family: 'Poppins', sans-serif;
  margin: 3rem 0;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.vision-banner .highlight {
  font-weight: 600;
  color: #ffffff;
}




/* Leistungen */

.services-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.services h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.service-card {
  position: relative;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 250px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: white;
}

.service-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.9);  /* vorher 0.4 */
  padding: 0.5rem 1rem;
  border-radius: 8px;
  z-index: 2;
  position: relative;
  color: white;
}

/* Hover-Beschreibung */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 44, 44, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  padding: 1rem;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.service-card:hover .overlay {
  opacity: 1;
}
.service-card.active .overlay {
  opacity: 1;
  pointer-events: auto;
}
section {
  padding: 4rem 2rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.services ul {
  list-style: none;
  padding-left: 0;
}

.services li {
  margin-bottom: 0.5rem;
  font-weight: 400;
}

/* Über uns */
.about {
  background-color: #2B2B2B;
  color: #ECEFE7;
  padding: 4rem 2rem;
  text-align: center;
}

.about h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  font-family: 'Poppins', sans-serif;
}

/* Kontakt */
.contact {
  background-color: #ECEFE7;
  color: #2B2B2B;
  text-align: center;
  padding: 4rem 2rem;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
}

.contact-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-family: 'Poppins', sans-serif;
}

.contact-button {
  background-color: #2B2B2B;
  color: #ECEFE7;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-button:hover {
  background-color: #1e1e1e;
  transform: translateY(-2px);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  opacity: 0.6;
}