/**********************
          NAV
************************/

.navbar-brand img {
  max-height: 80px;
}

nav {
  
  margin-top: 1rem;
  margin-bottom: 1rem;
}

nav .w-60 {
  width: 65%;
}

.nav-item a {
  white-space: nowrap;
}

li a {
  font-size: 20px !important;
}

nav li a.active {
  color: var(--goldenBrown) !important;
  border-bottom: solid 2px var(--goldenBrown);
}

/* Für extra große Bildschirme (xl) und aufwärts (≥1200px) */
@media (min-width: 1200px) {
  .navbar ul {
    margin-right: 10rem !important;
  }
}

/**********************
        HAMBURGER
************************/

.collapse {
  transition: background-color 0.5s ease;
}

.collapse.show {
  background-color: rgba(255, 255, 255, 0.9);
}

/**********************
        TITELBILD
************************/

#titelbild .container-fluid {
  padding: 0 !important;
}

/* Für extra große Bildschirme (xl) und aufwärts (≥1200px) */
@media (min-width: 1400px) {
  #titelbild img,
  #stiftung_1 img,
  .titelbild img {
    width: calc(100% - 140px);
    margin-right: 140px;
    object-fit: cover !important;
  }
}



/*************** 
     INDEX 
****************/

/* #zitat .text-40 {
  font-size: 1.75rem;
} */

.hero-a {
  transition: border-bottom 0.3s ease;
}

.hero-a:hover {
  border-bottom: solid 2px var(--goldenBrown);
}


/*************** 
    STIFTUNG 
****************/



/* Medium (md) Geräte (≥768px) */
@media (min-width: 300px) and (max-width: 1024px) {
  .mobile_bg {    
    background-color: #fff;
    height: 50px;
    margin-top: 3rem !important;
    /* margin-bottom: 3rem; */
    display: block;
  }  
}

/* Für extra Tablet (lg) und aufwärts (≥992px) */
@media (min-width: 992px) {
  #stiftung_2 .mt-lg-7 {
    margin-top: 9.5rem !important;
  }
}


/* Für extra große Bildschirme (xl) und aufwärts (≥1200px) */
@media (min-width: 1200px) {
  #stiftung_3 p {
    font-size: 1.25rem;
  }
} 



/* Für extra große Bildschirme (xl) und aufwärts (≥1200px) */
 @media (min-width: 1600px) {
  .box {
    background-color: var(--bs-light);
    width: 80vw;
    margin: auto;
  }
} 




/******************* 
    UNTERSTÜTZUNG 
*******************/


.mb-01 {
  margin-bottom: -1rem !important;
}

/* Für kleinere Bildschirme */
@media (max-width: 992px) {
  .col-lg-4, .col-xl-3 {
    width: 100%; /* Für kleinere Bildschirme sollen die Bilder die gesamte Breite einnehmen */
  }

  #projekt_2 .transform-img img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Macht die Bilder quadratisch */
    object-fit: cover; /* Skaliert das Bild, ohne es zu verzerren */
  }
}

.arrow_right {
  fill: var(--darkGray);
  transition: all 0.3s;
}



.btn-gold:hover .arrow_right {
  fill: #ffffff; /* SVG-Farbe auf Weiß ändern, wenn der gesamte Button gehovt wird */
}





/* Medium (md) Geräte (≥768px) */
@media (min-width: 768px) {
  #projekt_3 .mt-6 {
    margin-top: 7rem !important;  
  }

 .projekt-1::after  {
    content: "";
    border-left: solid 1px var(--darkGray);
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0.5;
  } 
  
}





/*********** 
    ÜBER 
*************/

#timeline p, #timeline img {
  opacity: 0;
  transform: translateY(-10px); /* Leichtes Verschieben nach oben */
  max-height: 0; /* Höhe auf 0 setzen */
  overflow: hidden; /* Inhalte ausblenden */
  transition: opacity 0.5s ease, transform 0.5s ease, max-height 0.6s ease; /* Glatte Transition */
}

#timeline p.show, #timeline img.show {
  opacity: 1;
  transform: translateY(0); /* Zurück zur ursprünglichen Position */
  max-height: 300px; /* Große max-height, um das Element anzuzeigen */
  
}



#timeline h3 {
  cursor: pointer;
  position: relative;
  color: var(--goldenBrown);
}

#timeline h3:hover {
   color: #806c3b;
}

.mt-25 {
  margin-top: 26rem;
}

#timeline .links::after, #timeline .rechts::before  {
  content: "+";
  position: absolute;
  right: -52px; /* Position links von der vertikalen Linie */
  top: 50%;
  transform: translateY(-50%); /* Vertikale Zentrierung */
  border: solid 1px #b09551;
  width: 30px;
  height: 30px;
  border-radius: 50%; /* Kreisform */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: #b09551 !important;
  background-color: white; /* Hintergrundfarbe hinzufügen */
  z-index: 2;
  transition: content 0.3s ease;
}

#timeline .links.open::after,
#timeline .rechts.open::before {
  content: "-"; /* Wechselt zu Minuszeichen, wenn 'open' vorhanden ist */
}

#timeline .rechts::before {
  left: -52px; /* Position rechts von der vertikalen Linie */
  right: auto;
  }

#timeline .links.open::after,
#timeline .rechts.open::before {
  content: "-"; /* Minuszeichen */
}

.vertical-line {
  width: 2px; /* Breite der vertikalen Linie */
  height: 100%; /* Höhe der Linie */
  background-color: #000; /* Farbe der Linie */
  border: none; /* Rand entfernen */
  margin: 0 auto; /* Zentrieren */
}

.text-light-45-frank {
  font-size: 3rem !important;
}

@media (max-width: 767px) {

  #timeline .links::after, #timeline .rechts::before  {
    display: none;
  }

  #timeline {
    text-align: center;
  }

}

@media (min-width: 768px) {
  #timeline p, #timeline img {
    display: non;
  }  
}

  


@media (max-width: 992px) {


#unterstuetzung_nav .bg-right {
    width: 100% !important;
    margin-left: 0 !important;    
  }

  #unterstuetzung_nav .trennlinie {
    display: none !important;
  }
}


/**********************
        KONATK FORM
************************/

form input,
textarea {
  font-family: "Frank Ruhl Libre", sans-serif !important;
  color: var(--darkGray);
  padding: 17px !important;
  border: 1px solid #b09551 !important;
  /* border-bottom: 1px solid #b09551 !important; */
  margin: 2px !important;
  border-radius: 15px !important;
  /* background-color: rgba(244, 243, 243, 0.414) !important; */
  margin-bottom: 15px !important;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form input[type="password"]:focus,
textarea:focus {
  outline: none !important;
  box-shadow: 0 0 8px var(--goldenBrown) !important;
}


label {
  display: inline !important;
}

input::placeholder,
textarea::placeholder {
  color: #b09551a0 !important;
  font-family: "Frank Ruhl Libre", sans-serif !important;
  font-size: 18px;
}

input:focus,
textarea:focus {
  /* box-shadow: inset -1.5px -1.5px 10px #b09551, inset 1.5px 1.5px 10px #ffffff !important; */
  border: none !important;
  /* outline: none !important; */
}

.form_btn:hover {
  background-color: #ffffff !important;
  color: #b09551 !important;
  border-color: #b09551;
}

.form_btn {
  background-color: #b09551;
  color: #fff !important;
  border-color: #b09551;
  transition: 0.5s;
}

@media (max-width: 768px) {
  .mt-10 {
    margin-top: 1rem !important;
  }

  .form .row {
    padding-bottom: 2rem !important;
  }
}

@media (min-width: 1200px) {
  #kontaktdaten {
    display: block !important;
   
  }
}

/**********************
     BACK TO TOP BTN
************************/

/* Standardstil für Desktops */
#myBtn {
  display: block;
  border: none;
}

.btn-back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  color: #b09551;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.btn-back-to-top .circle {
  width: 60px;
  height: 60px;
  border: 2px solid #b09551;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;

  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-back-to-top .circle svg {
  fill: #b09551;
  stroke-width: 5;
}

.btn-back-to-top:hover .circle {
  background-color: #b09551;
}

.btn-back-to-top:hover .circle svg {
  fill: #fff;
}

.btn-back-to-top span {
  font-size: 0.875rem;
  color: #b09551;
  margin-top: 5px;
  display: block;
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Anpassungen für Tablets (max-width: 768px) */
@media (max-width: 768px) {
  .btn-back-to-top {
    right: 15px;
    bottom: 15px;
  }

  .btn-back-to-top .circle {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
  }

  .btn-back-to-top .circle i {
    font-size: 1.25rem;
  }

  .btn-back-to-top span {
    font-size: 0.75rem;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.25rem;
    border-radius: 5px;
  }
}

/* Anpassungen für Smartphones (max-width: 480px) */
@media (max-width: 480px) {
  .btn-back-to-top {
    right: 10px;
    bottom: 10px;
  }

  .btn-back-to-top .circle {
    width: 45px;
    height: 45px;
  }

  .btn-back-to-top .circle i {
    font-size: 1rem;
  }

  .btn-back-to-top span {
    font-size: 0.7rem;
  }

  #toTopBtn span {
    display: none;
  }
}

/**********************
     VIDEO
************************/

/* Extra extra large (xxl) Geräte (≥1400px) */
@media screen and (min-width: 1400px) {
  #video {
    margin-bottom: 6rem;
    display: flex;
    justify-content: center;
  }
}

/**********************
     MEDIA
************************/

@media (min-width: 370px) and (max-width: 768px) {
  #zitat h2,
  #footer h2
    {
    font-size: 2rem;
  }

  #footer .iban {
    font-size: 1.75rem !important;
  }
}

@media (max-width: 1400px) {
  .neg-margin {
    margin-top: -4rem !important;
    padding-bottom: 1rem;
}
}

@media (min-width: 1400px) {
  .neg-margin {
    margin-top: -5.5rem !important;
    padding-bottom: 1rem;
}
}
