

/*------------------- Grundlegende Einstellungen -----------------*/
:root {
    --dark: #0f3b60;
    --light: #1ca4a6;
    --active: #98c01e;
    --field: #f6f6f6;
    --gray-light: #e0e0e0;
    --gray-dark: #444;
    --footer-middle: #5b5b5b;
    --footer-social: #414141;
    --footer-top: #686a68;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Nunito', sans-serif;
    background-color: white;
    color: #111;
    line-height: 1.6;
  }
  
  /*------------------------ NAVIGATION -------------------------*/
  .navbar {
    position: sticky;
    top: 0;
    background-color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    z-index: 1000;
  }
  
  .logo img {
    height: 90px;
  }
  
  .nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 2rem;
    font-size: 1.3rem;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: var(--active);
  }
  
  /* -----------------------------HERO-------------------------- */
    .hero-parallax {
      position: relative;
      height: 400px; /* Passe die Höhe an, wie du willst */
      overflow: hidden;
    }
    
    .parallax-bg {
      background-image: url('pics/teeblätter.jpg');
      background-size: 100% auto;
      background-position: center;
      position: absolute;
      top: -25%; /* früher war top: 0 */
      left: 0;
      width: 100%;
      height: 150%;
      z-index: 1;
      transform: translateY(0);
      transition: transform 0.05s ease-out;
      will-change: transform; /* Optimierung für sanftes Scrollen */
    }
    
    .hero-content {
      position: relative;
      z-index: 2;
      height: 100%;
      display: flex;
      align-items: flex-end;
      justify-content: flex-end;
      padding: 1rem;
    }
    
    .watermark {
      font-size: 0.6rem;
      background-color: rgba(255, 255, 255, 0.5);
      color: var(--dark);
      padding: 2px 6px;
      border-radius: 3px;
      font-weight: 600;
      user-select: none;
    }

  
  /* ----------------------ABOUT SECTION------------------------*/
  .about {
    background-color: #ebeaed;
    padding: 4rem 2rem;
  }
  
  .about-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
  }
  
  .about-img {
    flex: 1 1 200px;
    max-width: 250px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .about-text {
    flex: 2 1 400px;
  }
  
  .about-text h2 {
    color: var(--dark);
    margin-bottom: 1rem;
  }
  
  .about-text p {
    margin-bottom: 1rem;
  }
  
  .learn-more {
    color: var(--light);
    font-weight: 600;
    text-decoration: none;
  }
  
  .learn-more:hover {
    text-decoration: underline;
  }
  
  /*--------------------------- NEWS SECTION ---------------------*/
  .news {
    background-color: #E5F1FB;
    color: var(--dark);
    padding: 4rem 2rem;
  }
  
  .news h2 {
    color: var(--dark);
    text-align: left;
    margin-bottom: 2rem;
  }

  .news h3 {
    color: var(--dark);
    padding: 1rem;
    margin-bottom: 0.2rem;
    padding-bottom: 0;
  }
  
  .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .news-item {
    background-color: white;
    color: #111;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
  }

  .news-item:hover {
    transform: scale(1.05);
  }
  
  .news-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }
  
  .news-item p {
    margin-top: 0;
    padding-top: 0;
    padding: 1rem;
  }
  
  .news-link  {
    display: inline-block; 
    color: var(--light);
    font-weight: 600;
    text-decoration: none;
    padding: 0 1rem 1rem 1rem;
  }

  .news-link:hover {
    text-decoration: underline;
  }
  
  /* ------------------------FOOTER ---------------------------*/
  footer {
    font-size: 0.9rem;
  }
  
  /*---------- Top links----------- */
  .footer-top {
    background-color: var(--footer-top);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-top: 1px solid #ccc;
  }
  
  .footer-top a {
    color: white;
    text-decoration: none;
    font-weight: 600;
  }
  
  .footer-top a:hover {
    color: var(--active);
  }
  
  /*---------- EU + Biodiversa logos ---------*/
  .footer-middle {
    background-color: var(--footer-middle);
    color: white;
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
  }
  
  .footer-middle img {
    height: 3rem;
    object-fit: contain;
  }
  
  /*------------ Social Media -----------*/
  .footer-social {
    background-color: var(--footer-social);
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
  }
  
  .footer-social img {
    height: 2rem;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.2s ease;
  }

  .footer-social img:hover {
    transform: scale(1.05);
  }
  
  /* ----------Bottom Logo--------- */
  .footer-bottom {
    background-color: var(--dark);
    text-align: center;
    padding: 1rem;
  }
  
  .footer-bottom img {
    height: 40px;
  }

/* ================================= About Us ================================== */
/* ------------- BACKGROUND & HISTORY ------------- */
.background-section {
  background-color: var(--field);
  color: var(--dark);
  padding: 4rem 2rem;
}

.background-content {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
}

.side-heading {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
  color: var(--dark);
}

.background-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  flex: 1;
  color: black;
}


/* ------------ VISION & MISSION SLIDESHOW ----------- */
.slideshow-section {
  background-color: var(--light);
  padding: 4rem 2rem;
  text-align: center;
}

.slideshow-section h2 {
  color: white;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.slideshow-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 3rem;
  overflow: visible;
}

.slide {
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  padding: 0;
}

.slide-nav.left {
  left: 0rem;
  transform: translateX(-100%);
}

.slide-nav.right {
  right: 0rem;
  transform: translateX(100%);    
}

.slide.active {
  display: flex;
}

.slide img {
  width: 40%;
  border-radius: 8px;
  object-fit: cover;
}

.slide-text {
  flex: 1;
  text-align: left;
}

.slide-text p {
  font-size: 1.1rem;
  color: white;
  margin: 0;
  padding: 0;
}

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.2rem 0.6rem;
  cursor: pointer;
  z-index: 2;
}

.slide-nav.left {
  left: 0;
}

.slide-nav.right {
  right: 0;
}

.slide-dots {
  margin-top: 1.5rem;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  border-radius: 50%;
  display: inline-block;
  background-color: white;
  opacity: 0.3;
  transition: opacity 0.3s;
}

.dot.active {
  opacity: 1;
  background-color: white;
}


/* ------------ RESEARCH SECTION ------------- */
.research-section {
  background-color: white;
  padding: 4rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.research-content {
  max-width: 1000px;
  margin: auto;
  display: flex;
  gap: 2rem;
}

.research-text {
  flex: 2;
  font-size: 1.1rem;
  color: black;
}

.section-title.right {
  flex: 1;
  text-align: right;
  color: var(--dark);
  font-size: 2rem;
}


/* ------------ METHODS SECTION -------------- */
.methods-section {
  background-color: #E5F1FB;
  padding: 4rem 2rem;
}

.methods-content {
  max-width: 1000px;
  margin: auto;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.section-title.left {
  flex: 1;
  text-align: left;
  color: var(--dark);
  font-size: 2rem;
}

.methods-text {
  flex: 2;
  font-size: 1.1rem;
  color: black;
}

/* -------------- Project-Structure ------------- */
.team-section {
  background-color: var(--field);
  padding: 4rem 2rem;
  text-align: center;
}

.team-section h2 {
  color: var(--dark);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.team-members-intro {
  color: black;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}   

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.team-member {
  max-width: 200px;
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: contain;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.team-member img:hover {
  transform: scale(1.05);
  }

.team-member h3 {
  color: var(--dark);
  font-size: 1.2rem; 
}

.team-member p {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: black;
}

/* ================================= Funding ================================== */

.funding {
  background-color: #ebeaed;
  padding: 4rem 2rem;
}

.funding-content {
  max-width: 1200px;
  margin: auto;
  color: var(--dark);
}

.funding-text h1 {
  color: var(--dark);
  margin-bottom: 1rem;
}

.funding-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.funding-text h2 {
  margin-bottom: 1rem;
}

.funding-text ul {
  list-style: none;
  padding: 0;
}

.funding-text li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.funding-text a {
  font-weight: 600;
  text-decoration: none;
  color: var(--dark);
}

.funding-text a:hover {
  text-decoration: none;
  color: var(--active);
}
/* -------- LOGO GRID SECTION -------- */
.funding-logos {
  background-color: white;
  padding: 2rem;
}

.funding-title h2{
  color: var(--dark);
  margin-bottom: 1rem;
}

.funder {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.funder-logo {
  width: 200px;
  height: 100px;
  object-fit: contain;
  margin: 1rem;
  transition: transform 0.2s ease;
}

.funder-logo:hover {
  transform: scale(1.05);
}

/* ================================= NETWORKING ================================== */
.network-section {
  background-color: #f9f9f9;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
}

.network-container {
  position: relative;
  width: 600px;
  height: 600px;
  margin: 4rem auto;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.network-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  z-index: 0;
  pointer-events: none;
}

.node {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 1;
}

.node:hover {
  transform: scale(1.1);
}

.node img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  border-radius: 50%;
}

.node.center {
  width: 100px;
  height: 100px;
  background-color: var(--dark);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.tooltip {
  position: absolute;
  background: white;
  border: 1px solid var(--light);
  border-radius: 8px;
  padding: 1rem;
  max-width: 220px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  text-align: left;
}

.tooltip h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--dark);
}

.tooltip p {
  font-size: 0.95rem;
  margin: 0.5rem 0;
}

.tooltip a {
  color: var(--light);
  font-weight: bold;
  text-decoration: none;
}

.tooltip a:hover {
  text-decoration: underline;
}

.hidden {
  display: none;
}

/* ================================= RESOURCES SECTION ================================== */
.resources {
  background-color: #ebeaed;
  padding: 4rem 2rem;
  color: #111;
}

.resources h1 {
  color: var(--dark);
  margin-bottom: 2rem;
  text-align: left;
}

.resources p {
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  font-size: 1rem;
  color: #111;
  text-align: left;
  padding-left: 0;
}

/* Download-Bereich als Grid */
.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Einzelnes Element */
.resource-item {
  background-color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resource-item h3 {
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.resource-item p {
  flex-grow: 1;
  margin-bottom: 1.5rem;
  color: #333;
}

/* Download-Button */
.download-btn {
  background-color: var(--dark);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.2s ease;
}

.download-btn:hover {
  background-color: var(--light);
}

/* ================================= Privacy ================================== */
.privacy-policy {
  background-color: #f4f4f4;
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 3rem auto;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-family: inherit;
  color: #333;
}

.privacy-policy h1,
.privacy-policy h2 {
  color: #003366;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-policy h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.privacy-policy p,
.privacy-policy ul {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.privacy-policy ul {
  padding-left: 1.5rem;
  list-style-type: disc;
}

.privacy-policy ul li {
  margin-bottom: 0.75rem;
}

.privacy-policy a {
  color: #003366;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.privacy-policy a:hover {
  color: var(--active);
}


 /* ================================= Contact ================================== */
.contact-form {
  background-color: #f4f4f4;
  padding: 3rem 1rem;
  max-width: 600px;
  margin: 3rem auto;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: #003366;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-top: 1rem;
  font-weight: 600;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form button {
  margin-top: 2rem;
  padding: 0.75rem;
  background-color: #003366;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #0055aa;
}

.checkbox-label {
  margin-top: 1rem;
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

  /* ---------------Thank You-------------*/
.thankyou-page {
  background-color: var(--field);
  padding: 5rem 2rem;
  text-align: center;
  min-height: 60vh;
}

.thankyou-page h1 {
  color: var(--dark);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.thankyou-page p {
  font-size: 1.2rem;
  color: var(--15);
  margin-bottom: 2rem;
}

.thankyou-page .back-home {
  background-color: var(--light);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.thankyou-page .back-home:hover {
  background-color: var(--active);
}
  
/* ================================= Responsive ================================== */
  @media (max-width: 768px) {
    .about-content {
      flex-direction: column;
      text-align: center;
    }
  
    .nav-links a {
      margin-left: 1rem;
    }
  
    .news-grid {
      grid-template-columns: 1fr;
    }
  }
