/* Allgemeines Layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

/* Navigation */
.navbar {
  height: 100px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffe8d6;
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 300px;
  display: block;
  object-fit: contain;
}

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

.nav-links a {
  text-decoration: none;
  color: #6b4f4f;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #a67878;
}

/* Hero-Bereich */
.hero {
  background-color: #dbe7f0;
  padding: 4rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background-color: #a3d2ca;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #85c1b5;
}

/* Schwerpunkte */
.schwerpunkte {
  padding: 3rem 2rem;
  background-color: #fdf6f0;
}

.schwerpunkte h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #5e4b4b;
}

.punkte-liste {
  max-width: 600px;
  margin: 0 auto;
  list-style: disc;
  padding-left: 1.5rem;
  color: #444;
  font-size: 1.1rem;
}

/* Fortbildungs-Kacheln Layout */
.angebote {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 20px;
}

.kachel {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  height: 250px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.kachel-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform, box-shadow;
}

.kachel:hover .kachel-inner {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.kachel-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 1.5rem;
  text-align: center;
  border-radius: 15px;
}

.kachel h2 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  color: #fff;
}

.kachel p {
  font-size: 1rem;
  color: #f0f0f0;
}

.kachel-overlay a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
}

.kachel-overlay a:visited {
  color: #ffffff;
}

/* Hintergrundbilder je Kachel */
.kachel-kita {
  background-image: url('img/kita.jpg');
}

.kachel-schule {
  background-image: url('img/grundschule.jpg');
}

.kachel-schulbegleitung {
  background-image: url('img/schulbegleitung.jpg');
}

.kachel-team {
  background-image: url('img/team.jpg');
}

/* Footer */
footer {
  background-color: #ffe8d6;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #5e4b4b;
  margin-top: 2rem;
}

.section-content {
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.section-content h1 {
  font-size: 2rem;
  color: #5e4b4b;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-content h2 {
  font-size: 1.3rem;
  color: #6b4f4f;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.section-content p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
}

/* Burger Menü */
.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #6b4f4f;
  margin: 5px;
  transition: all 0.3s ease;
}

.burger.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.toggle .line2 {
  opacity: 0;
}

.burger.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    background-color: #ffe8d6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in;
    padding-top: 2rem;
    gap: 2rem;
    z-index: 100;
  }

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

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .section-content h1 {
    font-size: 1.8rem;
  }

  .section-content p,
  .punkte-liste li {
    font-size: 1rem;
    padding: 0 1rem;
    word-break: break-word;
  }

  .angebote {
    grid-template-columns: 1fr;
  }

  footer p {
    font-size: 0.8rem;
  }

  .burger {
    display: block;
  }

  .ueber-mich .container {
    flex-direction: column;
    text-align: center;
  }
}
