/* Grundlegendes Reset */
:root {
  --primary-color: #f2921f;
  --secondary-color: #8bc43e;
}

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

body {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.5;
}

/* Navbar Styling */

.navbar {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
/* Linke Seite */
.navbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

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

.slogan {
  font-size: 1.1rem;
  font-weight: 500;
  color: #000;
  white-space: nowrap;
}

/* Rechte Seite */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: flex-end;
}

.navbar-right a {
  text-decoration: none;
  color: #000;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.navbar-right a:hover {
  color: #2d7a2f;
}

/* Grüner Trennstrich */

.separator {
  width: 1px;
  height: 35px;
  background-color: #7fc242;
  margin: 0 1rem;
}


.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  display: block;
  border-radius: 2px;
}

@media (max-width: 992px) {
  .navbar-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .navbar-left {
    flex: 1 1 auto;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    flex-wrap: wrap;
  }

  .slogan {
    flex: 1 1 100%;
    font-size: 1rem;
    white-space: normal;
    line-height: 1.3;
    margin-top: 0.5rem;
  }

  .separator {
    display: none;
  }

  .menu-toggle {
    flex-shrink: 0;
    align-self: flex-start;
    margin-left: auto;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
  }
}


/* Responsive Anpassung */
@media (max-width: 992px) {
  .navbar-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-right {
    flex-wrap: wrap;
    gap: 1rem;
 /*   margin-top: 1rem; */
  }

  .slogan {
    font-size: 1rem;
  }
}


/* Hero-Bereich */
#hero {
  background: url("assets/Altersfplege\ Header.png") no-repeat center/cover;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.5);
  /* abgedunkelter Hintergrund */
  padding: 2rem;
  border-radius: 8px;
}

#hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

#infoHeader {
  background-color: white;
  /* Heller Hintergrund für besseren Kontrast */
  padding: 3rem 0;
  text-align: center;
}

.info-content {
  max-width: 1200px;
  /* Begrenzte Breite für bessere Lesbarkeit */
  margin: 0 auto;
  /* Zentrieren */
  padding: 2rem;
  border-radius: 8px;
}

.info-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.info-content p {
  line-height: 1.6;
  color: #555;
}


/* LEISTUNGEN SEKTION */

#leistungen {
  background-color: var(--primary-color);
  /* Kräftiges Orange */
  padding: 3rem 0;
  text-align: center;
  color: white;
}

#leistungen h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: bold;
}

.leistungen-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .leistungen-container {
    flex-direction: column;
    align-items: center;
  }
}

.leistung {
  background-color: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  text-align: center;
  transition: transform 0.2s;
}

.leistung:hover {
  transform: scale(1.05);
}

.leistung img {
  width: 100%;
  height: 200px;
  /* Einheitliche Bildhöhe */
  object-fit: cover;
  border-radius: 8px;
}

.leistung p {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #333;
  font-weight: bold;
}



/* ÜBER MICH SEKTION */

#ueber-mich {
  padding: 3rem 0;
  background-color: white;
}

.ueber-mich-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.ueber-mich-text {
  flex: 2;
  color: #333;
}

.ueber-mich-text h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.ueber-mich-text p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.ueber-mich-bild {
  flex: 1;
}

.ueber-mich-bild img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* Responsive Anpassung für kleinere Bildschirme */
@media (max-width: 768px) {
  .ueber-mich-container {
    flex-direction: column;
    align-items: center;
  }

  .ueber-mich-bild {
    margin-top: 2rem;
    width: 80%;
  }
}


/* Kontakt */
/* KONTAKT SEKTION */

#kontakt {
  background-color: #f28c28;
  /* Orange Hintergrund */
  padding: 3rem 0;
  color: #000;
  font-family: "Poppins", sans-serif;
}

#kontakt a {
  color: #fff;
  text-decoration: none;
}

.kontakt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

/* Linke Seite */
.kontakt-info {
  flex: 1;
  min-width: 280px;
}

.kontakt-info h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.kontakt-info p {
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.kontakt-info i {
  font-size: 1.2rem;
}

/* Rechte Seite: Formular */
.kontakt-formular {
  flex: 1.5;
  min-width: 300px;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

label {
  margin-bottom: 0.3rem;
  font-weight: 500;
}

input,
textarea {
  padding: 0.6rem;
  border: 1px solid #333;
  border-radius: 6px;
  background-color: #fcd5a1;
  font-size: 1rem;
}

.absenden-btn {
  background-color: #fcd5a1;
  color: #000;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.absenden-btn:hover {
  background-color: #ffd18f;
}

/* Responsive */
@media (max-width: 768px) {
  .kontakt-container {
    flex-direction: column;
    align-items: center;
  }

  .form-row {
    flex-direction: column;
  }

  .kontakt-info,
  .kontakt-formular {
    width: 100%;
  }
}


.map-image-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.map-image {
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
  border: none;
}

/* Footer wie gehabt */
.site-footer {
  background-color: #8cc63f;
  color: #000;
  padding: 1.5rem 2rem;
  font-size: 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

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

.footer-links a:hover {
  color: #444;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.antwort-box {
  margin-top: 1rem;
  font-weight: bold;
  color: #2e7d32;
  /* grün für Erfolg */
}

.antwort-box h2 {
  font-size: 1.2rem;
}