body {
  background-color: #F6F4F1
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  
  
}

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


/* Header Styles */
header {
  background-color: #b1b1b1;
  color: white;
  padding: 1rem;  /* Höhe des Headers mit 1rem Padding (kann bei Bedarf angepasst werden) */
  width: 100%;    /* Der Header füllt die gesamte Bildschirmbreite */
  position: fixed;  /* Der Header bleibt immer oben fixiert */
  z-index: 999;    /* Sicherstellen, dass der Header immer im Vordergrund bleibt */
  top: 0;
}

/* Navigation innerhalb des Headers */
header nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;  /* Zentriert die Navigation horizontal */
}

header nav ul li {
  margin: 0 20px;  /* Abstand zwischen den Listenelementen */
}

/* Links im Header */
header nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

header nav ul li a:hover {
  color: white;
  text-decoration: underline;  /* Unterstreichung beim Hover */
}

header nav ul li a:hover, footer a:hover {
  color: #ffffff; 
}

/* Footer Styles */
footer {
  background-color: #b1b1b1;
  color: white;
  padding: 10px 0; /* Gleiche Höhe wie der Header */
  text-align: center;
}



.banner {
  width: 100%;
  height: 30vh;
  /* margin: 0; */
  margin-top: 41px;
  background-color: #ffffff;
  object-fit: contain;
}

.banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.video-fixed-size {
  width: 100%;  /* Feste Breite */
  height: 480px; /* Feste Höhe */
  overflow: visible; /* Overflow zulassen, damit das Video auch über den Bereich hinaus sichtbar ist */
  position: relative;
  margin: 0 auto; /* Zentriert das Video */
}
html, body {
  height: 100%; /* Der gesamte Bildschirm soll genutzt werden */
  margin: 0;    /* Kein Standard-Rand */
  padding: 0;   /* Kein Standard-Padding */
  overflow-x: hidden; /* Verhindert horizontales Scrollen */
  overflow-y: auto; /* Kein vertikales Scrollen */
  
}
.image-container {
  width: 100vw;
  height: 280px; /* Gleiche Höhe wie das Banner-Video */
  overflow: hidden; /* Sicherstellen, dass das Bild überläuft */
  position:relative;
  margin-right: 3000px;
  margin-left: 3000px
  margin-bottom: 0%;
  top: 0;
  left: 0;
 
  
}
.image-container img {
  width: 100%;  /* Volle Breite des Containers */
  height: 100%; /* Volle Höhe des Containers */
  object-fit: contain; /* Bild vollständig anzeigen, ohne Kanten abzuschneiden */
  display: block;
  position: absolute; /* Sicherstellen, dass das Bild den Container füllt */
  margin-right: 0;
  margin-left: 0;
}


main {
  padding: 0rem;
  /* max-width: 1100px; */
  margin: 0 auto;
}
h1 {
  font-size: 2.5rem; 
  color: #b1b1b1;
  margin-top: 1rem;
  margin-bottom: 5rem;
}

h2 {
  font-size: 2.5rem; 
  margin-top: 0px;
  margin-bottom: 50px;


  p {
    color: #ff69b4; /* Helles Pink */
    font-family: Arial, sans-serif; /* Optional: Schriftart */
    font-size: 24px; /* Optional: Schriftgröße */
    font-weight: bold; /* Optional: Fettdruck */
    margin: 10px 0; /* Abstand nach oben und unten */
    text-align: center; /* Zentriert den Text */
}
}
h2, h3 {
  display: block;      /* Sicherstellen, dass sie als Block-Elemente angezeigt werden */
  visibility: visible; /* Sicherstellen, dass sie sichtbar sind */
  color:  #c0d6c1;         /* Textfarbe sicherstellen */
  margin-top: 0rem;  /* Abstand oben, wenn nötig */

}
.image-container {
  width: 100vw
  height: 280px; /* Gleiche Höhe wie das Banner-Video */
  overflow: hidden; /* Sicherstellen, dass das Bild überläuft */
  position:absolute;
  display: block
  margin-right: 0;
  margin-left: -0px;
  margin-bottom: 0px;
  top: 0;
  left: 0;
}
.image-container img {
  width: 100%;  /* Volle Breite des Containers */
  height: 100%; /* Volle Höhe des Containers */
  object-fit: cover; /* Bild anpassen, damit es den gesamten Container ausfüllt */
  display: block;
  position: absolute; /* Sicherstellen, dass das Bild den Container füllt */
  margin-right: 0;
  margin-left: 0;
}
h3 {
  font-size: 2.5rem; 
  margin-top: 5rem;
  margin-bottom: 5rem;
}

section {
  margin-bottom: 0rem;
}

section .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 10px 20px;
  background-color: #c0d6c1;;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

section .btn:hover {
  background-color: #c0d6c1;;
}

.hero {
  text-align: center;
  padding: 4rem 1rem;
  background-color: white;
  color: white;
}

.intro, .cta {
  text-align: center;
}
.services, .featured-projects {
  background-color: #f2f2f2;  /* Setzt den Hintergrund auf #f2f2f2 für die Services- und Featured Projects-Sektion */
  padding: 40px;  /* Optional: Padding hinzu, um den Inhalt etwas einzurücken */
}


/* Stile für die Startseite */


.project-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
/* Allgemeine Stile für die Projektseite */
#projects {
  position: relative;
  width: 100%;
  height: 100vh; /* Obere Hälfte des Bildschirms */
  display: flex;
  justify-content: center;
  align-items: flex-end;
  
  #projects-page .bild-container img {
    opacity: 1; /* Bilder sind sofort sichtbar */
   

  }
}
header {
  background-color: #b1b1b1;
  color: white;
  padding: 1rem;
  width: 100vw;
  position: fixed;
  z-index: 999;
  top: 0;
}
body{
background:  #F6F4F1
}

header nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
}

header nav ul li {
  margin: 0 20px;
}

header nav ul li a, footer a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

header nav ul li a:hover {
  color: #8ded9f;
 }

header nav ul li a:hover, footer a:hover {
  text-decoration: underline;  
  color: #ffffff; 
}

.headline {
  text-align: center;
  color: #c0d6c1; /* Grüner Farbton */
  font-size: 2.5em;
  margin-top: 20px; /* Abstand zwischen Header und Überschrift */
  margin-bottom: 660px; /* so bleibt der header am Bildschirmrand kleben */
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
}

#projects {
  position: relative;
  width: 100%;
  height: auto; /* Sichtbare Höhe der Seite */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 60px; /* Abstand zwischen Header und Inhalt */
  overflow: hidden;
}



/* Rechteckige Bilder (vertikal länger als horizontal) */


/* Responsive Design: Bei kleineren Bildschirmen (unter 768px) */
@media (max-width: 768px) {
  .photo-gallery {
    grid-template-columns: 1fr; /* Auf kleineren Bildschirmen untereinander */
  }

  .photo-box img {
    height: 200px; /* Kleinere Höhe für mobile Geräte */
  }
}
/* Bildcontainer */
.bild-container {
  position: absolute;
  bottom: 0;
  display: inline-block;
  white-space: nowrap;
  align-items: flex-end;
  justify-content: space-evenly;
  width: 100%;
  height: 100%;
  animation: 40s linear infinite;
}


/* Bild-Stile */
.bild {
  height: 7cm;
  width: 5cm;
  object-fit: cover;
  position: relative;
  margin-left: -10px; /* Leichtes Überlappen */
}

.bild-container-slide{
  padding: 200px 20px;

}


/* Hover-Effekt für Bilder */
.bild:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Verschiedene Ausrichtungen der Bilder */
.bild:nth-child(1) {
  transform: rotate(-10deg); /* Bild 1 schräg nach links */
}

.bild:nth-child(2) {
  transform: rotate(15deg); /* Bild 2 schräg nach rechts */
}

.bild:nth-child(3) {
  transform: rotate(0deg); /* Bild 3 gerade */
}

.bild:nth-child(4) {
  transform: rotate(-5deg); /* Bild 4 schräg nach links */
}

.bild:nth-child(5) {
  transform: rotate(10deg); /* Bild 5 schräg nach rechts */
}
.bild:nth-child(6) {
  transform: rotate(-10deg); /* Bild 6 schräg nach links */
}

.bild:nth-child(7) {
  transform: rotate(15deg); /* Bild 7 schräg nach rechts */
}

.bild:nth-child(8) {
  transform: rotate(0deg); /* Bild 8 gerade */
}

.bild:nth-child(9) {
  transform: rotate(-5deg); /* Bild 9 schräg nach links */
}

.bild:nth-child(10) {
  transform: rotate(10deg); /* Bild 10 schräg nach rechts */
}
/* Hover-Effekt für Bilder */
.bild:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.bild:nth-child(11) {
  transform: rotate(-10deg); /* Bild 1 schräg nach links */
}

.bild:nth-child(12) {
  transform: rotate(15deg); /* Bild 2 schräg nach rechts */
}

.bild:nth-child(13) {
  transform: rotate(0deg); /* Bild 3 gerade */
}

.bild:nth-child(14) {
  transform: rotate(-5deg); /* Bild 4 schräg nach links */
}

.bild:nth-child(15) {
  transform: rotate(10deg); /* Bild 5 schräg nach rechts */
}
.bild:nth-child(16) {
  transform: rotate(-10deg); /* Bild 6 schräg nach links */
}

.bild:nth-child(17) {
  transform: rotate(15deg); /* Bild 7 schräg nach rechts */
}

.bild:nth-child(18) {
  transform: rotate(0deg); /* Bild 8 gerade */
}

.bild:nth-child(19) {
  transform: rotate(-5deg); /* Bild 9 schräg nach links */
}

.bild:nth-child(20) {
  transform: rotate(10deg); /* Bild 10 schräg nach rechts */
}
/* Hover-Effekt für Bilder */
.bild:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
/* Animation: Bilder von links nach rechts bewegen */
@keyframes endless-scroll {
from {
      transform: translateX(0); /* Startpunkt (außerhalb des Bildschirms) */
  }
  to{
      transform: translateX(-100%); /* Endpunkt (außerhalb des Bildschirms rechts) */
  }
}
@keyframes loop {
  0% {transform: translateX(0%);}
  100% {transform: translateX(-50%);}
}
/* Anwendung der Animation */
.bild-container {
  animation: endless-scroll 40s linear infinite; /* Die Bilder bewegen sich kontinuierlich von rechts nach links */
}
/* Styling nur für die project.html-Seite */
.container-container-project-page  {
  display: flex;
  justify-content: center; /* Zentriert das Bild horizontal */
  align-items: center; /* Zentriert das Bild vertikal */
  margin-top: 150px; /* Fügt Abstand oben hinzu, um das Bild von der Bildreihe zu trennen */
  margin-bottom: 0; /* Optionaler Abstand nach unten */
  margin-right: 0;
  margin-left: 0;
  height: 100vh;
  width: 100%;

}

.image-container-project-page {
  width: 400px; /* Breite des Bildcontainers (kann angepasst werden) */
  height: 400px; /* Höhe des Bildcontainers (macht das Bild quadratisch) */
  display: flex;
  justify-content: center;
  align-items: center;
  border: 5px solid #2232e3; /* Optionaler Rand um das Bild */
}

/* Styling für das Bild selbst */
.image-container-project-page img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Stellt sicher, dass das Bild korrekt skaliert wird, ohne seine Proportionen zu verlieren */
}

/* -------------------------------- */

footer {
  text-align: center;
  width: 100%;
  background-color: #b1b1b1;
  color: white;
  padding: 20px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between; /* Verteilt die Inhalte gleichmäßig */
  align-items: center;  /* Vertikale Zentrierung */
  padding: 0 20px; /* Abstand zu den Seiten */
}

.footer-content .left,
.footer-content .center,
.footer-content .right {
  flex: 1;  /* Alle drei Spalten haben gleichen Platz */
}

.footer-content .left {
  text-align: left; 
}

.footer-content .center {
  text-align: center; 
}

.footer-content .right {
  text-align: right;
}


#about
/* Allgemeine Stile für den Body */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #F6F4F1; /* Hintergrundfarbe für den Body */
  height: 100vh; /* Der Body muss die volle Höhe des Bildschirms einnehmen */
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
header {
  background-color: #b1b1b1;
  color: white;
  padding: 1rem;
  width: 100%; /* Header nimmt die gesamte Breite ein */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000; /* Stellt sicher, dass der Header immer oben bleibt */
}

header nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
}

header nav ul li {
  margin: 0 20px;
}

header nav ul li a, footer a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

header nav ul li a:hover {
  color: #8ded9f;
}

header h1 {
  font-size: 1.5em;
  text-align: center;
}


/* Weißer horizontaler Block */
.about-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Höhe des Blocks in cm */
  background-color: white;
  display: flex;
  align-items: center; /* Vertikale Zentrierung des Inhalts im Block */
  padding: 0 20px;
  box-sizing: border-box;
  margin-top: 0px; /* Abstand von 5 cm zum Header */
  margin-bottom: 0px;
}

  .image-container {
  position: absolute; /* Absolut positioniert, um die ganze Seite zu füllen */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Verhindert, dass das Bild über den Container hinausragt */
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Bild anpassen, um den gesamten Container auszufüllen */
  display: block;
}

.image-container {
  width: 100vw;
  height: 850px; /* Gleiche Höhe wie das Banner-Video */
  overflow: hidden; /* Sicherstellen, dass das Bild überläuft */
  position:relative;
  margin-right: 0;
  margin-left: -20px;
  margin-bottom: 15px;
  top: 0;
  left: 0;
 
  
}
.image-container img {
  width: 100%;  /* Volle Breite des Containers */
  height: 100%; /* Volle Höhe des Containers */
  object-fit: cover; /* Bild anpassen, damit es den gesamten Container ausfüllt */
  display: block;
  position: absolute; /* Sicherstellen, dass das Bild den Container füllt */
  margin-right: 0;
  margin-left: 0;
}





  
/* Footer Styles */
footer {
  background-color: #b1b1b1;
  color: white;
  padding: 20px 0;
  text-align: center;
  position: relative;
  width: 100%; /* Footer nimmt die gesamte Breite ein */
  bottom: 0;
  margin-top: auto;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

footer p {
  margin: 0;
  font-size: 1rem;
}

.poppins-regular {
  font-family: "Poppins", serif;
  font-weight: 400;
  font-style: normal;
}





/* Responsives Design */
@media (max-width: 768px) {
  .about-text-container {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .profile-img {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
  }

  .about1-text-container p {
    width: 100%; /* Textcontainer nimmt 100% der Breite auf kleineren Bildschirmen */
    text-align: center;
  }
}

#contact {
  width: 100%;
  max-width: 700px; /* Maximale Breite des Formulars */
  margin: 90px auto; /* Zentriert das Formular auf der Seite mit etwas Abstand oben */
  padding: 70px;
  background-color: #ffffff; /* Weißer Hintergrund für das Formular */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Weicher Schatten für den Formularbereich */
  border-radius: 8px; /* Abgerundete Ecken */
}
header {
  background-color: #b1b1b1;
  color: white;
  padding: 1rem;  /* Höhe des Headers mit 1rem Padding (kann bei Bedarf angepasst werden) */
  width: 100%;    /* Der Header füllt die gesamte Bildschirmbreite */
  position: fixed;  /* Der Header bleibt immer oben fixiert */
  z-index: 999;    /* Sicherstellen, dass der Header immer im Vordergrund bleibt */
  top: 0;
}

/* Navigation innerhalb des Headers */
header nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;  /* Zentriert die Navigation horizontal */
}

header nav ul li {
  margin: 0 20px;  /* Abstand zwischen den Listenelementen */
}

/* Links im Header */
header nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

header nav ul li a:hover {
  color: white;
  text-decoration: underline;  /* Unterstreichung beim Hover */
}

header nav ul li a:hover, footer a:hover {
  color: #ffffff; 
}

/* Footer Styles */
footer {
  background-color: #b1b1b1;
  color: white;
  padding: 10px 0; /* Gleiche Höhe wie der Header */
  text-align: center;
}



/* Überschrift des Formulars */
h1 {
  text-align: center; /* Zentriert die Überschrift */
  color: #c0d6c1;; /* Grüner Farbton für die Überschrift */
  font-size: 2.2em; /* Größere Schrift für den Titel */
  margin-bottom: 30px; /* Abstand unter der Überschrift */
}

/* Label für die Formulareingabefelder */
label {
  font-size: 16px;
  color: #555; /* Helles Grau für die Labels */
  margin-bottom: 8px; /* Etwas Abstand nach unten */
  display: block; /* Blockdarstellung für Labels */
}

/* Allgemeine Formulareingabefelder (input und textarea) */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 12px;
  margin: 8px 0 20px 0; /* Abstand nach oben, unten und zwischen den Feldern */
  border: 1px solid #ddd; /* Helle Grenze */
  border-radius: 5px; /* Abgerundete Ecken */
  font-size: 16px;
  box-sizing: border-box; /* Stellt sicher, dass Padding und Border in der Breite enthalten sind */
}

/* Fokussierung auf Eingabefelder (input, textarea) */
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #4CAF50; /* Grüne Grenze, wenn das Feld fokussiert ist */
  outline: none; /* Entfernt den Standardrahmen */
}

/* Styling für das Textarea-Feld */
textarea {
  resize: vertical; /* Ermöglicht das Vergrößern des Textfelds in der Höhe */
  min-height: 150px; /* Mindesthöhe für das Textarea */
}

/* Styling für den Absenden-Button */
button {
  width: 100%; /* Button auf volle Breite setzen */
  padding: 14px;
  background-color: #c0d6c1; /* Grüner Hintergrund */
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer; /* Zeiger-Cursor zeigt an, dass der Button klickbar ist */
  transition: background-color 0.3s ease; /* Sanfte Farbänderung bei Hover */
}

button:hover {
  background-color: #dc79bd; /* Etwas dunkleres Grün bei Hover */
}

/* Styling für ungültige Felder */
input:invalid, textarea:invalid {
  border-color:#c0d6c1;; /* Rote Grenze für ungültige Felder */
}

input:valid, textarea:valid {
  border-color: #2ecc71; /* Grüne Grenze für gültige Felder */
}

/* Responsives Design */
@media (max-width: 768px) {
  #contact {
      margin: 20px; /* Weniger Abstand auf mobilen Geräten */
      padding: 15px;
  }

  h1 {
      font-size: 1.8em; /* Kleinere Schriftgröße für den Titel auf kleineren Bildschirmen */
  }

  input[type="text"], input[type="email"], textarea, button {
      font-size: 14px; /* Kleinere Schriftgröße für Eingabefelder und Button */
  }
}