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

body {
  font-family: 'Inter', sans-serif;
}

header {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  background-color: #fff;
}



.navbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  align-items: center; /* Zentriert die Links vertikal, falls sie in einer flexbox sind */
  justify-content: center; /* Zentriert die Links horizontal */
  list-style: none;
  padding: 0;
  z-index: 1000; 
}

.nav-links li {
}

.nav-links a {
  text-decoration: none;
  font-size: 16px;
  color: #3C3B3B;
  transition: color 0.3s ease;
  padding: 0 15px;
}

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

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

.menu-toggle .fa-times {
  display: none;
}

.hero {
  background-color: #F8F9F9; /* Oder ein anderes Farbschema, das du verwendest */
  text-align: center;
  padding: 50px 30px;
  margin: 0 0 50px 0;
  background-color: #F8F9F9;
text-align: center;
align-items: center;
}



.feature{
  background-color: #696EE9;
  padding: 80px 0;
}


.feature .content p,
.feature .content h2{
  color: #FFF;
}

.content-box {
  background-color: #FFF;
  width: 60%;
    margin: 0 auto 30px auto;
    text-align: center;
    padding: 40px 50px;
    border-radius: 30px;
  }

.content-box p{
  color: #333;
}


.content-box h3 {
  font-size: 23px;
  font-weight: normal;
}

.content-box .prompt {
    background-color: #E9ECF2;
    color: #333;
    padding: 20px 40px;
    border-radius: 30px;
    width: 80%;
    margin: 0 auto;
}

.prompt-dark {
    background-color: #ECF0F3;
    color: #E9ECF2;
    padding: 30px 40px;
    border-radius: 30px;
    width: 80%;
    margin: 0 auto;
    font-style: italic;
    font-size: 14px;
}

/* COntent für Texte */
.breadcrumb{
  margin: 0 auto;
}


.content {
  max-width: 50%; /* Oder jede andere Maximalbreite, die du bevorzugst */
  margin: 0 auto; /* Zentriert den .hero-content innerhalb des .hero */
  text-align: center; /* Setzt den Text auf linksbündig */
}

.content h1 {
  color: #444444; 
  font-size: 52px;
  font-weight: 400;
  line-height: 63px;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 300;
  margin: 0;
}

.content h2 {
  color: #444444; 
  font-size: 43px;
  font-weight: 400;
  line-height: 50px;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  margin: 0;
  font-weight: 300;
}

.content-big{
  max-width: 80%; 
  margin: 0 auto;
  text-align: center; 
}

/* COntent für Texte ENDE */

.subhead {
  color: #444444; 
  font-size: 35px;
  margin: 0;
  font-weight: 300;
  width: 100%;
}


.service-title{
  font-weight: 300;
  color: #444444; 
}

.service-item {
    padding: 50px 30px 40px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background: #fff;
}

.service-icon-image{
  color: #FF512F;
}

.content p {
  color: #666666; /* Deine gewählte Text Farbe */
  margin-bottom: 30px; 
    font-size: 20px;
}

.feature-link{
  color: #FF512F;
}

.btn-gradient {
  display: inline-block;
  padding: 10px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #fff;
  border: none;
  border-radius: 20px;
  text-decoration: none;
  background: linear-gradient(to right, #FF512F, #DD2476); /* Gradient */
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.btn-white {
  display: inline-block;
  padding: 10px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #2065ED;
  border: 2px solid #FFFFFF;
  border-radius: 20px;
  text-decoration: none;
  background: #FFFFFF;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.btn-outline-white {
  display: inline-block;
  padding: 10px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  border-radius: 20px;
  text-decoration: none;
  background: #2065ED;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.header-buttons .btn-gradient {
  color: #fff;
  padding: 10px 20px;
}

.header-buttons .btn-gradient:hover  {
  color: #fff;
}

.btn-gradient:hover {
  background: linear-gradient(to right, #E63946, #C2185B); /* Dunklerer Gradient beim Hover */
   color: #fff;
}

/* Portfolio */
.portfolio-wrap{
  max-width: 60%;
    margin: 0 auto 80px auto; /* Zentriert den Container */
  padding: 0 20px; /* Fügt einen Innenabstand hinzu */
}

.portfolio-grid {
  display: flex;
  margin-bottom: 20px;
  justify-content: space-between; /* Stellt gleichen Abstand zwischen den Elementen sicher */
  flex-wrap: wrap; /* Ermöglicht das Umfließen auf kleinere Bildschirme */
}

.portfolio-item {
  flex: 1; /* Jedes Element nimmt gleichen Platz ein */
  margin: 10px; /* Fügt einen Außenabstand hinzu */
  max-width: calc(33.333% - 20px); /* Drei Elemente pro Reihe, minus margin */
}

.portfolio-item-2col {
  flex: 1; /* Jedes Element nimmt gleichen Platz ein */
  margin: 10px; /* Fügt einen Außenabstand hinzu */
  max-width: calc(50% - 20px); /* 2 Elemente pro Reihe, minus margin */
}

.portfolio-item-1col {
  flex: 1; /* Jedes Element nimmt gleichen Platz ein */
  margin: 0 auto; /* Fügt einen Außenabstand hinzu */
  max-width: calc(95% - 20px); /* 1 Elemente pro Reihe, minus margin */
}

.portfolio-link:hover {
    border: 1x solid #FF512F;
  }


.text-container{
  float: left;
  width: 57%;
  text-align: left;
}

.img-container{
  float: right;
  width: 40%;
  margin: 30px 0 0 0;
}

/* FAQ */
.faq {
  font-weight: 300;
  overflow: hidden;
  text-align: center;
  margin: 0 0 80px 0;
}

.faq h3,
.portfolio-item-title{
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: ExtraLight;
  font-weight: normal;
  text-align: center;
  font-size: 22px;
  color: #4E616B;
}

.portfolio-item-title p{
  font-weight: 500;
  font-size: 14px;
}

.portfolio-item-title:hover {
  color: #FF512F;
}


.faq-item {
    width: 50%;
    margin-bottom: 1rem;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    overflow: hidden;
    margin: 10px auto;
    transition: box-shadow 0.3s ease;
    background-color: #FFF; /* Oder ein anderes Farbschema, das du verwendest */
    text-align: center;
    padding: 20px;
}

.faq-item:hover {
    background-color: #FEF8F9; /* Oder ein anderes Farbschema, das du verwendest */
}

.faq-question h3 {
    font-weight: normal;
    display: inline-block;
    margin: 0;
}

.faq-toggle {
    display: inline-block;
    margin-left: 10px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    margin-top: 0.5rem;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg); /* Verwenden Sie 45 Grad, um ein Kreuz-Symbol zu erzeugen */
}

.margin{
  margin: 0 0 80px 0;
}


.full-width-image {
  width: 100vw; /* 100% der Viewport-Breite */
  height: 100px; /* oder die Höhe, die du möchtest */
  background-image: url('https://fittespferd.de/images/Welle-pink-kontakt.svg'); /* Ersetze 'dein-bild.jpg' mit dem Pfad zu deinem Bild */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.detail-image{
  width: 50%;
  margin: 30px 0 0 0;
}

.hero-home {
  background-color: #F8F9F9; /* Oder ein anderes Farbschema, das du verwendest */
  padding: 0px;
  margin: 0 0px 50px 0;
  width: 100%;
}

.content-hero{
    max-width: 75%;
    margin: 0 auto;
    text-align: center;
  }

  /* Text- und Bildcontainer anpassen */
.content-hero-2 {
   display: flex; /* Flexbox aktivieren */
  justify-content: space-between; /* Abstand zwischen Text und Bild */
  align-items: flex-end; /* Bild am unteren Rand des Textes ausrichten */
  max-width: 75%; /* Maximale Breite */
  margin: 0 auto; /* Zentriert den gesamten Container */
  padding: 0px 20px; /* Innenabstand hinzufügen */
}

.text-container-2 {
  width: 55%; /* Breite des Textbereichs */
  text-align: left;
  padding: 40px 0;
  margin: auto 0;
}

.img-container-2 {
  width: 40%; /* Breite des Bildbereichs */
  display: flex;
  justify-content: center; /* Zentriert das Bild horizontal */
    align-items: flex-end; /* Bild am unteren Rand ausrichten */

}

.img-container-2 img {
  width: 100%; /* Bild auf Containergröße skalieren */
}

/* ---------------------------------  Medium size ------------------------------  */

@media (max-width: 1200px) {
    /* Portfolio */
    .portfolio-wrap{
      max-width: 90%;
        margin: 0 auto 80px auto; /* Zentriert den Container */
      padding: 0 20px; /* Fügt einen Innenabstand hinzu */
    }

     .content-hero-2 {
    flex-direction: column; /* Elemente untereinander anordnen */
    align-items: center; /* Zentriere die Elemente */
  }

  .text-container-2, .img-container-2 {
    width: 100%; /* Volle Breite für Text und Bild */
    text-align: center; /* Text zentrieren */
    margin-bottom: 00px; /* Abstand zwischen den Elementen */
  }

  .text-container-2 {
    margin-bottom: 0; /* Kein Abstand unten */
  }

  .img-container-2 {
    margin-top: 20px; /* Abstand nach oben für Bild */
  }

  .img-container-2 img {
    width: 80%; /* Kleinere Bildgröße für mobile Ansicht */
  }

}


/* ---------------------------------  Responsive Styles ------------------------------  */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-top: 1px solid #ccc;
     z-index: 1000; 
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: left;
  }

  .nav-links li a {
    padding: 15px;
    border-bottom: 1px solid #ccc;
    display: block;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle .fa-bars {
    display: block;
  }

  .navbar.active .menu-toggle .fa-bars {
    display: none;
  }

  .navbar.active .menu-toggle .fa-times {
    display: block;
  }
  
  .hidden {
    display: none !important;
  }

.content {
  max-width: 95%; /* Oder jede andere Maximalbreite, die du bevorzugst */
}

.content h1 {
  font-size: 40px;
}

.content h2 {
  font-size: 28px;
}


.portfolio-wrap{
  max-width: 95%;
    margin: 0 auto; /* Zentriert den Container */
  padding: 0 20px; /* Fügt einen Innenabstand hinzu */
}

  .portfolio-grid {
     display: block;
  }

   .portfolio-item {
    max-width: 100%; /* Jedes Element nimmt die volle Breite ein */
    margin: 10px 0 50px 0; /* Angepasster vertikaler Abstand */
  }

  .detail-image{
  width: 100%;
  margin: 30px 0 0 0;
}

/* FAQ */
.faq-item {
    width: 80%;
}

.text-container{
  float: none;
  width: 100%;
  text-align: center;
  margin: 0 0 20px 0;
}

.img-container{
  float: none;
  width: 100%;
}

.content-hero{
    max-width: 95%;
    margin: 0 auto;
    text-align: center;
  }

 

}
