/* Allgemein */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #faf9f6;
  color: #333;
}

.container {
  max-width: 1000px;       /* angenehme Breite */
  margin: 0 auto;
  padding: 40px 20px;
}

/* Header / Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f5f3ef;
  padding: 12px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

  .navbar .logo img {
  height: 100px;   /* Logo wird doppelt so hoch */
  width: auto;     /* bleibt im richtigen Seitenverhältnis */
}


.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: #5d4037;
  font-weight: 600;
  transition: color 0.3s, transform 0.2s;
}

.nav-links li a:hover {
  color: #2e7d32;
  transform: scale(1.05);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #5d4037;
  border-radius: 3px;
  transition: all 0.4s;
}

.hamburger.toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.toggle span:nth-child(2) {
  opacity: 0;
}

.hamburger.toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #f5f3ef;
    flex-direction: column;
    width: 220px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    border-radius: 0 0 8px 8px;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    margin: 15px 0;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }
}

/* Hero Section */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  background-color: #e8f5e9;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.hero-content {
  max-width: 600px;
}

.hero-content h1 {
  font-size: 2rem;
  color: #2e7d32;
}

.hero-content p {
  margin: 15px 0;
  font-size: 1.1rem;
}

.btn-primary {
  display: inline-block;
  background-color: #2e7d32;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #1b5e20;
}

.hero-image img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin: 0 auto;
}

/* Sections */
section h2 {
  font-size: 2rem;
  color: #2e7d32;
  text-align: center;
  margin-bottom: 25px;
}

section p {
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.6;
  text-align: center;
}

/* Grid für Leistungen / Referenzen */
.service-grid,
.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-items: center;
}

.service-item,
.reference-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.service-item img,
.reference-item img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  background-color: #f5f3ef;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  color: #5d4037;
}
