/* General Styles */
:root {
/* CSS HEX */
--pistachio: #96d289;
--light-green: #a9e99bff;
--celadon: #bbefa9ff;
--tea-green: #cdf5b7ff;
--nyanza: #dbfdd8ff;
--fairy-tale: #ffcae9ff;
--lavender-pink: #ffa8d9ff;
--persian-pink: #ff85c8ff;
--persian-pink-2: #ff7bc4ff;
--hot-pink: #ff70bfff;
--text-gray: #6b6b6b;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-gray);
}
  
  
/* --------------------Navbar Styles-------------------- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--pistachio);
  padding: 10px;
  border-radius: 5px;
}

nav img {
  height: 50px;
}

nav div {
  display: flex;
  flex-grow: 1; /* Ermöglicht es dem Container, den verfügbaren Raum zu nutzen */
  justify-content: center; /* Zentriert die Links innerhalb des Containers */
}

nav a {
  font-size: 25px;
  font-weight: bolder;
  margin: 0 10px;
  text-decoration: none;
  color: var(--nyanza);
  transition: all 0.3s ease;
}

nav a:hover {
  transform: scale(1.1);
  text-shadow: 0 0 20px white;
  text-decoration: underline;
}

/* Media Query für mobile Geräte */
@media (max-width: 768px) {
  nav div {
    flex-direction: column; /* Stapelt die Links vertikal */
  }

  nav div a {
    margin: 5px 0; /* Vertikaler Abstand zwischen den Links */
    text-align: center; /* Zentriert den Text der Links */
  }
}

/* --------------------Allgemeine Scrollbalken-Stilisierung-------------------- */
::-webkit-scrollbar {
  width: 12px; /* Breite des Scrollbalkens */
}

/* Griff des Scrollbalkens */
::-webkit-scrollbar-thumb {
  background-color: var(--pistachio); /* Grün der Buttons */
  border-radius: 10px; /* Abrunden der Ecken */
  border: 3px solid var(--nyanza); /* Hintergrundfarbe der Section als Rand */
}

/* Hintergrund des Scrollbalkens */
::-webkit-scrollbar-track {
  background-color: var(--nyanza); /* Helleres Grün der Sectionen */
  border-radius: 10px; /* Abrunden der Ecken */
}

/* Bei Hover über den Griff */
::-webkit-scrollbar-thumb:hover {
  background-color: var(--light-green); /* Etwas dunkleres Grün für den Hover-Effekt */
}

  
/* --------------------Home Section Styles-------------------- */
#start {
  margin-top: 15px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
  border: 3px solid var(--light-green); /* Schwarzer Rahmen, Farbe nach Bedarf anpassen */
  border-radius: 5px; /* Abgerundete Ecken */
}

#start .start-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#start .start-content h1 {
  font-size: 35px;
}

@media (max-width: 768px) {
  /* Anpassungen für kleinere Bildschirme */
  #start {
    flex-direction: column; /* Stapelt Inhalt vertikal */
  }
}


/* CSS Button */
.button1 {
  touch-action: manipulation;
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  font-size: inherit;
  font-family: inherit;
  margin: 20px;
}
.button1 {
  touch-action: manipulation;
  font-weight: 600;
  color: var(--text-gray);
  text-transform: uppercase;
  padding: 1.25em 2em;
  background: #fff0f0;
  border: 2px solid var(--persian-pink-2);
  border-radius: 0.75em;
  transform-style: preserve-3d;
  transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1);
}
.button1::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f9c4d2;
  border-radius: inherit;
  box-shadow: 0 0 0 2px var(--persian-pink-2), 0 0.625em 0 0 #ffe3e2;
  transform: translate3d(0, 0.75em, -1em);
  transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
}
.button1:hover {
  background: #ffe9e9;
  transform: translate(0, 0.25em);
}
.button1:hover::before {
  box-shadow: 0 0 0 2px var(--persian-pink-2), 0 0.5em 0 0 #ffe3e2;
  transform: translate3d(0, 0.5em, -1em);
}
.button1:active {
  background: #ffe9e9;
  transform: translate(0em, 0.75em);
}
.button1:active::before {
  box-shadow: 0 0 0 2px #b18597, 0 0 #ffe3e2;
  transform: translate3d(0, 0, -1em);
}

.button2 {
  background-color: var(--nyanza); /* Füllungsfarbe */
  color: var(--persian-pink-2); /* Schriftfarbe */
  border: 2px solid var(--persian-pink-2); /* Rahmenfarbe */
  padding: 10px 20px; /* Innerer Abstand */
  border-radius: 5px; /* Leicht abgerundete Ecken */
  transition: all 0.3s ease; /* Glatter Übergang für Hover-Effekte */
  font-size: 16px; /* Schriftgröße */
  font-weight: bold;
  cursor: pointer; /* Mauszeiger als Finger */
}

.button2:hover {
  background-color: var(--light-green); /* Hintergrundfarbe beim Hovern */
  transform: scale(1.05); /* Vergrößerung beim Hovern */
}

  
/* Service Cards Styles */
.section-title {
  text-align: center; /* Zentriert den Text */
  font-size: 30px; /* Schriftgröße anpassen */
  margin-top: 20px; /* Abstand nach oben */
  margin-bottom: 20px; /* Abstand nach unten */
}

#servicecards {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap; /* Erlaubt das Umfließen auf eine neue Zeile */
  padding-bottom: 50px; /* Abstand zum Footer */
}
  
#servicecards article {
  width: calc(33.33% - 20px); /* Drittel der Breite abzüglich eines Abstands */
  margin: 10px; /* Abstand um die Karten */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Inhalte vertikal verteilen */
  margin-bottom: 20px;
}
  
#servicecards img {
  width: 100%;
  height: auto;
  border: 3px solid var(--light-green); /* Schwarzer Rahmen, Farbe nach Bedarf anpassen */
  border-radius: 5px; /* Abgerundete Ecken */
}

#servicecards p {
  padding: 10px;
}

/* Responsive Design für Mobilgeräte */
@media (max-width: 768px) {
  #servicecards {
      display: block; /* Ändert Flexbox-Layout zu Block-Layout */
  }

  #servicecards article {
      width: 100%; /* Karten nehmen die volle Breite ein */
      margin: 20px 0; /* Erhöhter vertikaler Abstand zwischen den Karten */
  }

  #servicecards .weiter-button {
      width: 50%; /* Reduzierte Breite der Buttons */
      margin: 10px auto; /* Zentriert den Button und fügt vertikalen Abstand hinzu */
      display: block; /* Stellt sicher, dass der Button als Block-Element behandelt wird */
  }
}


/* --------------------Kontakt Styles-------------------- */

.lottie-selection {
  border: 3px solid var(--pistachio);
  display: flex;
  flex-wrap: wrap; /* Ermöglicht das Umfließen der Elemente */
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  border-radius: 5px;
  gap: 30px;
  position: relative; /* Wichtig für die korrekte Positionierung des Logos */
  background-image: url('src/images/kleineslogo.png'); /* Pfad zum Logo */
  background-position: center top; /* Zentriert das Logo horizontal und positioniert es oben */
  background-repeat: no-repeat; /* Verhindert das Wiederholen des Hintergrundbildes */
  background-size: contain; /* Passt die Größe des Logos an den Container an */
}

.contact-text-left {
  flex: 1;
  margin: 15px;
  padding-top: 20px;
  padding-right: 80px;
  padding-left: 80px;
}

.contact-text-right {
  flex: 1;
  margin: 15px;
  padding: 30px;
  border: 3px solid var(--pistachio);
  border-radius: 5px;
}

@media (max-width: 1250px) {
  .lottie-selection {
      flex-direction: column;
  }

  .contact-text-left, .contact-text-right {
      order: -1; /* Platziert die Texte über den Lotties */
  }
}

.lottie-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
  flex: 0 1 calc(33.333% - 40px); /* Einstellung für drei Elemente nebeneinander auf breiteren Bildschirmen */
  z-index: 2; /* Stellt sicher, dass die Lottie-Container über dem Logo sind */
}

/* Erste Lottie-Animation (Lob & Kritik) über den anderen */
.lottie-selection > :first-child {
  flex-basis: 100%; /* Nimmt die volle Breite ein auf breiteren Bildschirmen */
}

.lottie {
  background-color: var(--nyanza);
  border: 3px solid var(--pistachio);
  width: 400px;
  height: 300px;
  cursor: pointer;
  border-radius: 5px;
}

.lottie-label {
  text-align: center;
  font-size: 24px;
  font-weight: bold; /* Schrift fett machen */
  color: var(--pistachio); /* Farbanpassung entsprechend der Variablen */
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .lottie-container,
  .contact-text-left,
  .contact-text-right {
      width: auto;
      padding: 15px;
      margin: 10px;
  }

  .lottie {
    width: 300px; /* Verkleinert die Lottie-Animationen auf kleineren Bildschirmen */
    height: 225px;
  }

  .lottie-container {
    margin-bottom: 30px;
    flex: 0 1 calc(50% - 20px); /* Einstellung für zwei Elemente nebeneinander auf mittelgroßen Bildschirmen */
  }

  .lottie-selection {
    flex-direction: column;
}
}

@media (max-width: 480px) {
  .lottie-container,
  .contact-text-left,
  .contact-text-right {
      flex-basis: 100%;
      width: auto;
      margin: 0 15px; /* Fügt einen kleinen Abstand an den Seiten hinzu */
  }

  .lottie {
      width: 100%;
      max-width: 100px;
      height: auto;
  }
}


form {
  margin: 20px;
}
 
fieldset {
  border: 1px solid #ccc;
  padding: 20px;
  margin-bottom: 20px;
}
 
legend {
  font-weight: bold;
}
 
label {
  display: block;
  margin-bottom: 5px;
}
 
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
}
 
textarea {
  resize: vertical;
}
 
button[type="submit"] {
  background-color: var(--pistachio);
  color: white;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
}
 
button[type="submit"]:hover {
  background-color: #45a049;
}

/* Kontaktformular Styles */
#kontakt {
  padding: 20px;
  background-color: var(--nyanza);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  margin-top: 15px;
  margin-bottom: 30px;
  font-size: 19px;
}

#kontakt h1 {
  color: var(--pistachio);
  text-align: center;
  margin-bottom: 20px;
}

#kontaktFormular {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  max-width: 600px; /* Maximale Breite des Formulars */
  margin: auto; /* Zentriert das Formular */
  margin-bottom: 40px;
  border: 3px solid var(--pistachio);
}

#kontaktFormular div {
  margin-bottom: 15px;
}

#kontaktFormular label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

#kontaktFormular input[type='text'],
#kontaktFormular input[type='email'],
#kontaktFormular input[type='tel'],
#kontaktFormular input[type='date'],
#kontaktFormular select,
#kontaktFormular textarea {
  font-size: 17px;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid var(--pistachio);
  border-radius: 5px;
  box-sizing: border-box; /* Stellt sicher, dass die Breite Padding und Rand einschließt */
}

/* Stil für das Dropdown-Menü */
#kontaktFormular select {
    -webkit-appearance: none; /* Entfernt den Standard-Style für Dropdown-Menüs in Webkit-Browsern */
    -moz-appearance: none;    /* Entfernt den Standard-Style für Dropdown-Menüs in Mozilla-Browsern */
    appearance: none;         /* Standard-Style für Dropdown-Menüs entfernen */
    background-color: white;
    padding: 10px;            /* Konsistentes Padding */
    border: 1px solid var(--pistachio);
    border-radius: 5px;
}

/* Pfeil-Icon für das Dropdown-Menü */
#kontaktFormular select {
    background-image: url('path/to/your/dropdown-arrow-image.svg');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
}

/* Alternativ, wenn das Label keine ID oder spezifische Klasse hat */
label input[type='file'] {
  margin-top: 15px;
  margin-bottom: 20px;
}


#kontaktFormular input[type='checkbox'],
#kontaktFormular input[type='radio'] {
  margin-right: 5px;
}

#kontaktFormular button {
  background-color: var(--pistachio);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 19px;
}

#kontaktFormular button:hover {
  background-color: var(--persian-pink);
}

.anrede-label span {
  font-weight: bold; /* Macht den Text fett */
}

@media (max-width: 480px) {
  .anrede-label {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Ermöglicht das Umfließen der Elemente */
  }

  .anrede-label span {
    display: flex;
    align-items: center; /* Zentriert den Text vertikal zu den Radio-Buttons */
    font-weight: bold; /* Macht den Text fett */
    margin-right: 15px; /* Abstand zwischen den Anrede-Optionen */
  }

  .anrede-label input[type="radio"] {
    margin-right: 5px;
  }
}


/* Stil für die Blumenwiese */
#blumenwiese {
  display: flex; /* Ermöglicht eine horizontale Anordnung der Blumen */
  justify-content: space-around; /* Verteilt die Blumen gleichmäßig */
  align-items: flex-end; /* Ausrichtung am unteren Rand */
  width: 100%; /* Nimmt die volle Breite ein */
}

#blumenwiese img {
  flex-grow: 1; /* Ermöglicht den Blumen, zu wachsen und den verfügbaren Platz auszufüllen */
  width: calc(100% / 7); /* Teilt die Breite durch die Anzahl der Blumen */
  height: auto; /* Passt die Höhe automatisch an */
}

#kontaktFormular .datenschutz-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.8em; /* Verkleinert den Text ein wenig */
}

#kontaktFormular .datenschutz-checkbox input[type='checkbox'] {
  margin-right: 10px; /* Abstand zwischen Checkbox und Text */
  position: relative;
  top: -2px; /* Leichte vertikale Verschiebung für Feinabstimmung */
}



/* --------------------Formular_status Styles-------------------- */

/* Angenommen, der Container mit den Elementen hat die Klasse 'status-container' */
.feedback-container {
  display: flex; /* Aktiviert Flexbox */
  flex-direction: column; /* Stapelt die Elemente vertikal */
  justify-content: center; /* Zentriert die Elemente vertikal im Container */
  align-items: center; /* Zentriert die Elemente horizontal im Container */
  min-height: 100vh; /* Stellt sicher, dass der Container mindestens so hoch wie der Viewport ist */
  text-align: center; /* Zentriert den Text innerhalb der Elemente */
}

/* Falls du auch eine spezifische Anpassung für den Button oder andere Elemente haben möchtest */
.feedback-button {
  margin-top: 20px; /* Fügt Abstand oberhalb des Buttons hinzu */
  padding: 10px 20px; /* Fügt innere Abstände hinzu */
  /* ...weitere Stile... */
}

/* Container für die Lottie-Animation */
#feedbackAnimation {
  height: 350px; /* Feste Höhe der Animation */
  width: auto; /* Breite passt sich automatisch an */
  display: flex; /* Verwendet Flexbox für die Zentrierung */
  justify-content: center; /* Zentriert die Animation horizontal */
  margin-bottom: 20px; /* Abstand unterhalb der Animation */
}

/* Feedback-Nachrichten-Container */
#feedbackMessage {
  max-width: 600px; /* Maximale Breite des Textcontainers */
  padding: 20px; /* Innerer Abstand */
  text-align: center; /* Zentrierter Text */
}

/* Feedback-Nachricht */
#messageText {
  font-size: 2em; /* Größere Schrift für bessere Lesbarkeit */
}


/* --------------------Service Styles-------------------- */
#service {
  padding: 20px;
  background-color: var(--nyanza); /* Ersetze dies mit deiner Farbvariable */
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  margin-top: 15px;
  margin-bottom: 30px;
  position: relative; /* Für absolute Positionierung der Indikatoren */
}

#carouselNav {
  display: flex;
  justify-content: center;
  padding: 10px;
  z-index: 1000; /* Stellt sicher, dass die Navigation immer sichtbar ist */
  background-color: white; /* Hintergrundfarbe */
  margin-top: 10px;
  border-radius: 5px;
  gap: 80px; /* Abstand zwischen den Flex-Items */
}

.btn-active .petal {
  background: linear-gradient(#96d289, #ffcae9ff);
  border: 0.5px solid #ffcae9ff;
}

.btn-active .flower {
  grid-template-columns: 1.5em 1.5em;
}

.btn-active .flower .petal {
  width: 1.5em;
  height: 1.5em;
}

.btn-active .text {
  background: var(--celadon);
}

.btn-active div.flower1 {
  animation: 15s linear 0s normal none infinite running flower1;
}

.btn-active div.flower2 {
  animation: 13s linear 0s normal none infinite running flower2;
}

.btn-active div.flower3 {
  animation: 16s linear 0s normal none infinite running flower3;
}

.btn-active div.flower4 {
  animation: 17s linear 0s normal none infinite running flower4;
}

.btn-active div.flower5 {
  animation: 20s linear 0s normal none infinite running flower5;
}

.btn-active div.flower6 {
  animation: 15s linear 0s normal none infinite running flower6;
}


@media (max-width: 480px) {
  #carouselNav {
    flex-direction: column;
    align-items: center;
  }

  #carouselNav {
    gap: 20px; /* Abstand zwischen den Flex-Items */
  }
}

#carouselNav .btn {
  height: 6em; /* Originalhöhe */
  width: 12em; /* Originalbreite */
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0px solid black;
  cursor: pointer;
  transform: scale(1.5); /* Skaliert den Button um 50% größer */
}


.wrapper {
  height: 2em;
  width: 8em;
  position: relative;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text {
  font-size: 19px;
  z-index: 1;
  color: var(--text-gray);
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--pistachio);
  transition: all 0.5s ease;
}

.mirror-flower {
  transform: scaleX(-1);
}


.flower {
  display: grid;
  grid-template-columns: 1em 1em;
  position: absolute;
  transition: grid-template-columns 0.8s ease;
}

.flower1 {
  top: -12px;
  left: -13px;
  transform: rotate(5deg);
}

.flower2 {
  bottom: -5px;
  left: 8px;
  transform: rotate(35deg);
}

.flower3 {
  bottom: -15px;
  transform: rotate(0deg);
}

.flower4 {
  top: -14px;
  transform: rotate(15deg);
}

.flower5 {
  right: 11px;
  top: -3px;
  transform: rotate(25deg);
}

.flower6 {
  right: -15px;
  bottom: -15px;
  transform: rotate(30deg);
}

.petal {
  height: 1em;
  width: 1em;
  border-radius: 40% 70% / 7% 90%;
  background: linear-gradient(#96d289, #ffcae9ff);
  border: 0.5px solid #ffcae9ff;
  z-index: 0;
  transition: width 0.8s ease, height 0.8s ease;
}

.two {
  transform: rotate(90deg);
}

.three {
  transform: rotate(270deg);
}

.four {
  transform: rotate(180deg);
}

.btn:hover .petal {
  background: linear-gradient(#96d289, #ffcae9ff);
  border: 0.5px solid #ffcae9ff;
}

.btn:hover .flower {
  grid-template-columns: 1.5em 1.5em;
}

.btn:hover .flower .petal {
  width: 1.5em;
  height: 1.5em;
}

.btn:hover .text {
  background: var(--celadon);
}

.btn:hover div.flower1 {
  animation: 15s linear 0s normal none infinite running flower1;
}

@keyframes flower1 {
  0% {
    transform: rotate(5deg);
  }

  100% {
    transform: rotate(365deg);
  }
}

.btn:hover div.flower2 {
  animation: 13s linear 1s normal none infinite running flower2;
}

@keyframes flower2 {
  0% {
    transform: rotate(35deg);
  }

  100% {
    transform: rotate(-325deg);
  }
}

.btn:hover div.flower3 {
  animation: 16s linear 1s normal none infinite running flower3;
}

@keyframes flower3 {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.btn:hover div.flower4 {
  animation: 17s linear 1s normal none infinite running flower4;
}

@keyframes flower4 {
  0% {
    transform: rotate(15deg);
  }

  100% {
    transform: rotate(375deg);
  }
}

.btn:hover div.flower5 {
  animation: 20s linear 1s normal none infinite running flower5;
}

@keyframes flower5 {
  0% {
    transform: rotate(25deg);
  }

  100% {
    transform: rotate(-335deg);
  }
}

.btn:hover div.flower6 {
  animation: 15s linear 1s normal none infinite running flower6;
}

@keyframes flower6 {
  0% {
    transform: rotate(30deg);
  }

  100% {
    transform: rotate(390deg);
  }
}


#carouselNav button {
  margin: 5px;
  padding: 15px;
  cursor: pointer;
  border: none;
  background-color: var(--pistachio); /* Button-Hintergrundfarbe */
  color: white; /* Button-Textfarbe */
  font-size: 18px;
  font-weight: bold;
  border-radius: 5px;
}

#serviceCarousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.carouselSection {
  position: relative;
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 100%;
  padding: 0px;
  box-sizing: border-box;
  font-size: 18px;
  z-index: 1;
}

.pflegekonzept-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 15px;
  border: 3px solid var(--light-green);
  border-radius: 5px;
  background-color: transparent;
}

.animation-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.5);; /* Hintergrundfarbe */
  opacity: 0.8; /* Transparenz des Hintergrunds */
}

.text-content {
  position: relative;
  z-index: 1; /* Stellen Sie sicher, dass der Text unter der Animation liegt */
  opacity: 0; /* Text standardmäßig ausblenden */
  transition: opacity 0.3s ease; /* Glatter Übergang */
}

.pflegekonzept-content:hover .animation-container {
  display: none; /* Animation ausblenden beim Hovern */
}

.pflegekonzept-content:hover .text-content {
  opacity: 1; /* Text einblenden beim Hovern */
}

.service-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 20px;
  border: 3px solid var(--light-green);
  border-radius: 5px;
  background-color: transparent;
}

.service-content:hover {
  background-color: rgba(255, 255, 255, 0.5); /* Transparent weißer Hintergrund beim Hover */
}

.service-text {
  width: 60%;
  z-index: 2;
}

.service-image-container {
  width: 25%;
  position: relative;
  /* Stellen Sie sicher, dass der Container die Mindestgröße des Bildes respektiert */
  min-width: 300px; /* Beispiel für eine Mindestbreite */
  min-height: 100px; /* Beispiel für eine Mindesthöhe */
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: 6px;
  border: 3px solid var(--light-green);
}

@media screen and (max-width: 768px) {
  .service-content {
    flex-direction: column;
  }
  .service-text {
    width: 100%;
  }
  .service-image-container{
    margin-top: 20px;
  }
}


.background-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/src/images/Logogrün.png'); /* Update with the correct path */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.1;  /* Adjust for desired transparency */
  filter: drop-shadow(0 0 10px black); /* Adjust as needed */
  z-index: -1; /* Ensure it's behind the content */
}


/* ... (Der Rest deines CSS für .content-section, .scroll-indicator usw.) ... */

@media screen and (max-width: 768px) {
  /* Anpassungen für kleinere Bildschirme */
  .carouselSection {
    width: 100%;
    height: auto; /* Passt die Höhe an den Inhalt an */
  }
}

/* Stil für den Container */
.scroll-hint-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px; /* Anpassen nach Bedarf */
  text-align: center;
}

/* Stil für den Text */
.scroll-hint-text {
  font-size: 1.2em;
  margin-right: 10px;
}

/* Stil und Animation für die Pfeile */
.scroll-hint-arrows {
  font-size: 2em;
  animation: pulseArrows 1.5s ease-in-out infinite;
}

/* Schlüsselbild-Animation für die Pfeile */
@keyframes pulseArrows {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px); /* Anpassen für stärkere oder schwächere Bewegung */
  }
}

/* Styles for Leistungsübersicht Table */
#leistungUebersicht {
  background-color: var(--nyanza); /* Hintergrundfarbe der Sektion */
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 30px;
  overflow-x: auto; /* Fügt bei Bedarf einen horizontalen Scrollbalken hinzu */
}

#leistungUebersicht .section-title {
  color: var(--pistachio); /* Farbe für den Abschnittstitel */
  text-align: center;
  margin-bottom: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 8px;
  border: 1px solid var(--light-green); /* Rahmenfarbe */
  text-align: center;
  font-weight: bold;
}

th {
  background-color: var(--pistachio); /* Hintergrundfarbe der Kopfzeile */
  color: white;
}

tr:nth-child(even) {
  background-color: var(--tea-green); /* Hintergrundfarbe für gerade Zeilen */
}

.small-text {
  font-size: 0.8em; /* Kleinere Schriftgröße für zusätzlichen Text */
}


/* --------------------Footer Styles-------------------- */
footer {
  background-color: var(--pistachio);
  border-radius: 5px;
  padding: 20px;
  text-align: center; /* Zentriert den Inhalt */
}

footer div {
  display: inline-block;
  width: 100%;
}

footer iframe {
  width: 100%;
  height: 150px;
  border: 3px solid var(--light-green);
  border-radius: 5px;
  margin-bottom: 20px; /* Abstand zum unteren Text */
}

footer div a {
  text-decoration: none;
  color: black;
  margin: 0 10px; /* Abstand um die Links */
}

footer div p {
  text-decoration: none;
  color: black;
}

/* Trennstrich zwischen den Links */
footer div a:not(:last-child):after {
  content: "|" ;
  margin-left: 20px;
}

/* Modalfenster-Stil */
.modal {
  display: none; /* Versteckt das Fenster standardmäßig */
  position: fixed; /* Bleibt an Ort und Stelle beim Scrollen */
  z-index: 1000; /* Stellt sicher, dass es über anderen Elementen liegt */
  left: 0;
  top: 0;
  width: 100%; /* Volle Breite */
  height: 100%; /* Volle Höhe */
  overflow: auto; /* Ermöglicht das Scrollen, falls der Inhalt zu lang ist */
  background-color: rgba(0, 0, 0, 0.4); /* Dunkler Hintergrund */
}

/* Modalfenster-Inhalt */
.modal-content {
  border-radius: 5px;
  background-color: #fefefe;
  margin: 15% auto; /* Zentriert */
  padding: 20px;
  border: 2px solid var(--pistachio);
  width: 80%; /* Breite des Inhalts */
}

/* Schließ-Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
