:root {
  --primary-color: #dcba95;
  --primary-color-highlight: #c8c6c6;
  --bs-body-bg: #e3c7a8;
  --accent_color: #b07a4d;
  --accent_color_light: #d1ae88;
} 

::selection {
  background: var(--accent_color_light);
}


body {
  font-family: 'Poppins', sans-serif!important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif!important;
}


a {
  color: black;
  transition: all 2s

}
a:hover {
  color: var(--accent_color);
  transition: 0.2s;

}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: black;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: white;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/*
  * Custom Container
  */
.container-custom {
  width: 80%;
  padding: 0 1rem;
  margin: 0 auto;
}

@media (min-width: 1200px) {
  .container-custom {
    width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container-custom {
    width: 1340px;
  }
}

@media (min-width: 1600px) {
  .container-custom {
    width: 1520px;
  }
}

/*
  * Main Header
  */
.header {
  z-index: 2;
}
/*
  * Hero Section, aka video auf Anfangsseite
  */

html {
  scroll-behavior: smooth;
}
.hero {
  position: relative;
  height: 100vh;
  background-color: var(--primary-color);
  overflow: hidden;
}

@media (min-width: 1400px) {
  .hero__heading {
    font-size: 3.2rem;
  }
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
}

.hero__overlay {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: black;
  opacity: 0.5;
  z-index: 1;
}

.hero__content {
  z-index: 1;
}

.hero__content-width {
  max-width: 600px;
}

.hero__scroll-btn {
  position: absolute;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--bs-body-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: color 0.3s, opacity 0.3s;
}

.hero__scroll-btn:hover {
  color: var(--accent_color) !important;
  opacity: 0.8;
  transition: 0.3s;
}

.hero__scroll-btn .bi {
  transition-delay: 5s;
  animation: bounce 0.8s infinite alternate;
}

@keyframes bounce {
  from {
    transform: translateY(10px);
  }
  to {
    transform: translateY(-20px);
    color: var(--bs-body-bg);

  }
}

/*
  * Steps Section
  */
.steps {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

.steps__section-thumbnail {
  height: 120px;
  object-fit: cover !important;
  margin: 0 auto;
}

.steps__content-width {
  max-width: 1000px;
  margin: 0 auto;
}

.steps--background {
  background-color: var(--primary-color);
}

@media (min-width: 544px) {
  .steps {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .steps__section-thumbnail {
    height: auto;
  }
}
/*
  * Footer
  */
.footer .border-highlight {
  border-top: 1px solid var(--primary-color-highlight);
}


/*
  * Sidebar
*/
/* Dropdown Menu */

/*
.dropdown-item {
  color: gray !important;
  font-size: 1rem !important;
  background-color: white !important;
  border: 2 !important;

}

.dropdown-item:hover {
  color: var(--accent_color) !important;
  font-weight: bold !important;  
  font-size: 110%;
  background-color: white !important;
}
*/

.nav-item .nav-link {
    background-color: white !important;  /* Ensure background is visible */
    padding: 7.5px;
    border-radius: 0px;
    color: gray !important;
    font-size: 1.5rem !important;
}


.nav-item .nav-link:hover {
    /*background-color: var(--accent_color_light) !important;*/
    color: white !important;
    color: var(--accent_color) !important;
    font-weight: bold !important;
    font-size: 110%;
}


/* Remove border from toggler */

.navbar-toggler {
    border: 0 !important;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 2 !important;
}

/* Add highlight on the section we are on scroll */
.nav-link.active {
    font-weight: bold !important;
}

/* Toggler Icon */
.navbar-toggler .toggler-icon {
    width: 40px;
    height: 5px;
    background-color: var(--accent_color);
    display: block;
    transition: all 0.8s;
}

/* Lines of the Toggler */
.toggler-icon{
    width: 40px;
    height: 5px;
    background-color: var(--accent_color);
    display: block;
    transition: all 0.8s;
}

/* Adds Space between the lines */
.middle-bar{
    margin: 7px auto;
}

/* State when navbar is opened (START) */
.navbar-toggler .top-bar {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
    width: 43px;

}

.navbar-toggler .middle-bar {
    opacity: 0;
    filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
    width: 43px;

}
/* State when navbar is opened (END) */

/* State when navbar is collapsed (START) */
.navbar-toggler.collapsed .top-bar {
    transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
    transform: rotate(0);
}
/* State when navbar is collapsed (END) */

/* Color of Toggler when collapsed */
.navbar-toggler.collapsed .toggler-icon {
    background-color: #484848;
}


/*
Map disable notice
*/

.map_mobile_style {
  display: none;
  color: var(--accent_color);
}

/*
Sources image colorful when hovered
*/

.source-image {
  filter : grayscale(80%);
  transition: all 0.4s;
}

.source-image:hover {
  filter: grayscale(0%);
  transform: scale(1.02);

}
  /*
  Custom Arrow Up hover
  */

  .button-custom {
    color: #484848;
    border: var(--accent_color  );
    padding: 10px 20px;
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.8s;
  }
  .button-custom:hover {
    color: var(--accent_color);
  }


/*
SVG hover happy Claude
*/

.svg_hover_1{
  transition: all 0.8s;
  animation: jump-hoveroff 0.8s forwards ease-out;
}
.svg_hover_1:hover {
  fill: var(--accent_color);
  animation: jump 0.3s 10 alternate forwards;

}

@keyframes jump {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-20px);
    color: var(--bs-body-bg);

  }
}


@keyframes jump-hoveroff {
  from {
    transform: translateY(-15px);
    color: var(--bs-body-bg);
  }
  to {
    transform: translateY(0px);

  }
}

/*
SVG hover happy Benedikt
*/

.svg_hover_2{
  transition: all 2s;
}
.svg_hover_2:hover {
  fill: var(--accent_color);
  transform: perspective(250px) rotateY(500deg);
}

/*
SVG hover happy Damian
*/

.svg_hover_3{
  transition: all 0.3s;
  animation: wiggle-hoveroff 0.3s forwards ease-out;
}
.svg_hover_3:hover {
  fill: var(--accent_color);
  animation: wiggle 0.3s infinite alternate ease-out;

}

@keyframes wiggle {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(5deg);
    color: var(--bs-body-bg);

  }
}

@keyframes wiggle-hoveroff {
  from {
    transform: rotate(2.5deg);
    color: var(--bs-body-bg);

  }
  to {
    transform: rotate(0deg);

  }
}


/*
Timeline / Methods
*/
.timeline-with-icons {
  border-left: 6px solid var(--primary-color);
  position: relative;
  list-style: none;
  left: 1rem;
}

.timeline-with-icons .timeline-item {
  position: relative;
}

.timeline-with-icons .timeline-item:after {
  position: absolute;
  display: block;
  top: 0;
}

.timeline-with-icons .timeline-icon {
  position: absolute;
  left: -61px;
  background-color: var(--primary-color);
  color: hsl(217, 88.8%, 35.1%);
  border-radius: 50%;
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  transition: transform 0.8s, background-color 0.8s;
}

.timeline-with-icons .timeline-item:hover .timeline-icon {
  background-color: var(--accent_color);
  transform: scale(1.2);
}


.rq-with-icons {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rq-with-icons .rq-item {
  display: flex;
  align-items: center;
  background-color: var(--primary-color);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 10px; 
  position: relative;
  transition: background-color 0.3s;
}


.rq-with-icons .rq-icon {
  border-radius: 50%;
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  transition: transform 0.6s
}

.rq-with-icons .rq-item:hover .rq-icon {
  transform: ...;
}


.rq-with-icons .rq-item:hover {
  background-color: ...;
}

.rq-with-icons .rq-content h5 {
  margin: 0 0 10px 0;
}

.rq-with-icons .rq-content p {
  margin: 0;
}

/*SDGS goal boxes*/
.sdgs-box-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
    align-items: stretch; /* <--- this is key */
  margin-top: 30px;
}

/* The link wrapper behaves as a flex item */
.sdgs-box-link {
  flex: 1 1 calc(33.333% - 40px); /* 3 items per row with gap */
  min-width: 250px;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box; /* Ensures padding/margin don't break the layout */
    display: flex; /* <--- add this */
}

/* The actual box */
.sdgs-box {
  width: 100%; /* Fills the entire link wrapper */
  background-color: var(--primary-color);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  transition: background-color 0.3s;
  display: flex;             /* <--- new */
  flex-direction: column;    /* <--- new */
  justify-content: space-between; /* optional: keeps image/text balanced */
}

.sdgs-box:hover {
  background-color: var(--accent_color_light);
}

.sdgs-box-image {
  max-width: 60%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
  margin: 0 auto 15px auto; /* centers horizontally */
  display: block; /* required for margin: auto to work on images */
}

.sdgs-box-text {
  margin: 0;
  font-size: 1rem;
  color: black;
}

/* Optional: keep hover effect when link is hovered */
.sdgs-box-link:hover .sdgs-box {
  background-color: var(--accent_color_light);
}


/*
UN Goals Image hover
*/

.un_image {
  display: block !important;
  max-width:1000px !important;
  max-height:200px !important;
  width: auto !important;
  height: auto !important;
  object-fit: cover !important;
  transition: all 1s;
}

.un_image:hover {
  transform: perspective(250px) rotateY(-10deg);
  box-shadow: 0 0 30px rgba(255, 53, 22, 0.758);
}



.un_image2 {
  display: block !important;
  max-width:1000px !important;
  max-height:200px !important;
  width: auto !important;
  height: auto !important;
  object-fit: cover !important;
  transition: all 1s;
}

.un_image2:hover {
  transform: perspective(250px) rotateY(10deg);
  box-shadow: 0 0 30px rgba(255, 106, 0, 0.758);
}



/*
Findings
*/

.findings__box:hover {
 box-shadow: none;
  transform: none;
}

.findings__icon{
  font-size: 100px !important;
  transition: all 0.5s;
}


.text_bottom{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: red
}

.timeline {
  position: relative;
  margin: 40px 0;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #bbb;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-date {
  position: absolute;
  left: -100px;
  width: 80px;
  text-align: right;
  font-weight: bold;
  color: #333;
}

.timeline-content {
  padding: 10px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

/* Vergangene Einträge grau darstellen */
.timeline-item.past .timeline-content {
  background: #f0f0f0;
  color: #888;
}

/* Highlight für den 30.04.2025 */
.timeline-item.highlight .timeline-content {
  border: 2px solid #007bff;
  background: #e7f1ff;
}

/* Styling für alle anderen */
.timeline-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.timeline-content p {
  margin: 0;
}

/* Runde Ecken für Navbar-Links */
.navbar-nav .nav-link {
  border-radius: 12px;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease;
}

/* Hover- und Fokus-Effekt */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Aktiver Link */
.navbar-nav .nav-link.active {
  background-color: rgba(255, 255, 255, 0.2);
}

.ai-image-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
}

.ai-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

/* Vollflächiger Overlay mit mittigem Text */
.ai-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.8rem;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ai-image-wrapper:hover .ai-overlay {
  opacity: 1;
}

.ai-overlay a {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
}

ul.custom-indent {
  list-style: disc inside none;
  padding-left: 1.5rem;
}

ul.custom-indent li {
  text-indent: -1.2rem;
  padding-left: 1.2rem;
}

.hover-card {
  background-color: var(--accent_color_light);
  padding:20px;
  border-radius: 1rem;
  transition: all 0.3s ease-in-out;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.hover-card:hover {
  background-color: var(--accent_color_light);
  
}

.hover-card p {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: all 0.3s ease-in-out;
}

.hover-card:hover p {
  max-height: 1000px; /* groß genug, damit alles angezeigt wird */
  opacity: 1;
  margin-top: 1rem;
}

.hover-toggle-title {
  font-weight: 500; /* statt 600 oder default von h4 */
}

.hover-card .arrow-icon {
  font-size: 0.9rem;
  font-weight: normal;
  opacity: 0.75;
  transition: transform 0.3s ease;
  display: inline-block;
}

/* Wenn Text sichtbar ist (on hover), drehe den Pfeil */
.hover-card:hover .arrow-icon {
  transform: rotate(90deg); /* ▶ wird zu ▼ */
}


