@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/Roboto-Regular.tff') format('tff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/Roboto-Light.tff') format('tff');
  font-weight: 300;
  font-style: normal;
}



.title {
    color: green;
}


body, html {
          margin: 0;
          padding: 0;
          overflow-x: hidden;
          overflow-y: auto;
          height: 100vh;
          background-color: #042d3c;
          color: #ddd;
          font-family: 'Roboto', sans-serif;
          font-weight: 300; /* Light */
        }

h1, h2 {
  font-weight: 400; /* Regular */
}

/* Frontpage *********************************************************************************/

        .hero-section {
          display: flex;
          width: 100vw;
          min-height: 100vh;
          position: relative;
          overflow: hidden;
          background-image: url('assets/frontpage_bkg.jpg');
          background-repeat: no-repeat;
          background-size: auto;
          background-position-x: right;
          
        }

        /* Alle Pfeile nutzen ähnliche clip-paths, aber mit anderer Breite & Position */

        .arrow {
          position: absolute;
          top: 0;
          height: 100%;
          width: 100%;
          clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);
        }
          
        .arrow-container {
          position: relative;
          width: 50%;
          height: 100vh;
        }


        .arrow-blue {
          background-color: #11a7de; /* Blau */
          z-index: 3;
          animation: slideBlue 0.2s ease-out forwards;
          animation-delay: 0.7s;
        }

        .arrow-green {
          background-color: #22e8b7; /* Türkis */
          z-index: 2;
          animation: slideGreen 0.2s ease-out forwards;
          animation-delay: 0.9s;
        }
          
        .arrow-gray {
          background-color: #777;
          background-image: url('assets/hexpattern_bkg.jpg'); /* Pfad zur Grafik */
          background-size: cover;                 /* Füllt den ganzen Pfeil aus */
          background-position: center;           /* Zentriert die Grafik */
          background-repeat: no-repeat; 
          left: 0;
          z-index: 3;
        }

        .foreground-content {
          position: absolute;
          width: 70%;
          bottom: 35%;
          left: 15%;
          font-family: sans-serif;
          font-size: 1.5rem;
          z-index: 4;
          animation: slideleft 0.5s ease-out forwards;
        }

        .logo {
          width: 90%;
          max-width: 90%;
          margin-top: 40px;
        }

/* Solutions *********************************************************************************/

    .solutions-section {
      background-color: #222; /* etwas dunklerer Bereich für Kontrast */
      background: linear-gradient(to bottom right, #333, #163c4a);
      padding: 80px 5vw 7rem;
      box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .solutions-inner {
      max-width: 1200px;
      margin: 0 auto;
      text-align: center;
    }

    .solutions-section h2 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }

    .solutions-intro {
      font-size: 1.2rem;
      margin-bottom: 3rem;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    .solution-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
      padding: 0 10px;
    }

    .solution-box {
      background-color: #0c3b4d;
      padding: 30px 20px;
      border-radius: 10px;
      
      
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
      transition: transform 0.3s ease;
      text-align: left;
    }

    .soluftion-box-title {
      font-size: 1.3rem;
      font-weight: bold;
      margin-bottom: 1rem;
    }

    .solution-box:hover {
      transform: translateY(-5px);
      /*background-color: #11a7de;*/
      color: #fff;
    }



/* Team *********************************************************************************/
.team-section {
  padding: 4rem 2rem 6rem 2rem;
  background-color: #031e29;
  /*background: linear-gradient(to bottom right, #042d3c, #052d3c);*/
  background-image: url(assets/hexpattern_bkg.jpg);
  background-attachment: fixed;
  background-size: cover;
  color: white;
  text-align: center;
}

.team-section h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  flex: 1 1 30%;
  position: relative;
  background: linear-gradient(to bottom right, #06526a, #042d3c);
  min-width: 200px;
  max-width: 300px;
  height: 500px;
  /*padding: 1.5rem;*/
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.75);
  transform: translateY(20px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /*animation: fadeInUp 0.8s ease forwards;*/
  opacity: 0;
  cursor: pointer;
  overflow: hidden;
}

.bkg_A {
  background-image: url("assets/bkg_A.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.bkg_B {
  background-image: url("assets/bkg_B.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.bkg_C {
  background-image: url("assets/bkg_C.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.bkg_D {
  background-image: url("assets/bkg_D.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.bkg_E {
  background-image: url("assets/bkg_E.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.bkg_F {
  background-image: url("assets/bkg_F.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.bkg_G {
  background-image: url("assets/bkg_G.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.bkg_H {
  background-image: url("assets/bkg_H.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.bkg_I {
  background-image: url("assets/bkg_I.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.team-member.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

.team-member:nth-child(1) { animation-delay: 0.2s; }
.team-member:nth-child(2) { animation-delay: 0.4s; }
.team-member:nth-child(3) { animation-delay: 0.6s; }

.member-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
    width: 100%;
  background-color: #031e29;
  opacity: 70%;
  border-radius: 1rem 1rem 0 0;
  padding: 1.5rem;
  box-sizing: border-box;
}

.member-tasks {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.member-tasks li {
  margin: 0.4rem 0;
  font-size: 1rem;
}

.member-quote {
  opacity: 0;
  font-style: italic;
  color: #68bfe0;
  font-size: 1.1rem;
  margin-top: auto;
  margin-bottom: 3rem;
  padding: 0 1rem 0 1rem;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.team-member:hover .member-quote {
  opacity: 1;
  transform: translateY(0);
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* retrospective *********************************************************************************/
.portfolio-section {
  padding: 4rem 2rem;
  background-color: #021920;
  background: linear-gradient(to bottom right, #021920, #163c4a);
  box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.5);
  color: white;
}

.portfolio-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.portfolio-main {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

.project-text {
  width: 100%;
  margin-bottom: 4rem;
  margin-top: 6rem;
  background-color: #222;
  background: linear-gradient(to bottom right, #06526a, #042d3c);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.75);
  padding: 1rem;
  border-radius: 1rem;
}

.place_right {
  margin-left: auto;
} 

.place_center {
  margin-left: auto;
  margin-right: auto;
} 

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 5px;
  
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.75);
}

.project_hanse-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 5px;
  
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.75);
}

.project_lez-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 5px;
  
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.75);
}

.project_ioe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 5px;
  
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.75);
}

.grid-item {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* Desktop-Positionierung */
.to_item1 { grid-column: 1 / 3; grid-row: 1 / 2; }
.to_item2 { grid-column: 3 / 4; grid-row: 1 / 2; }
.to_item3 { grid-column: 4 / 5; grid-row: 1 / 2; }
.to_item4 { grid-column: 1 / 3; grid-row: 2 / 3; }
.to_item5 { grid-column: 3 / 5; grid-row: 2 / 3; }
.to_item6 { grid-column: 3 / 5; grid-row: 2 / 3; }

.lez_item1 { grid-column: 1 / 3; grid-row: 1 / 2; }
.lez_item2 { grid-column: 3 / 3; grid-row: 1 / 2; }
.lez_item3 { grid-column: 3 / 6; grid-row: 1 / 2; }

.ioe_item1 { grid-column: 1 / 4; grid-row: 1 / 2; }

.s7_item1 { grid-column: 1 / 3; grid-row: 1 / 2; }

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
}

.portfolio-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

/* Die schwarze Overlay-Fläche */
.overlay {
  position: absolute;
  bottom: -100%; /* Startet komplett außerhalb */
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* halbtransparent schwarz */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: bottom 0.4s ease;
}

.portfolio-item.active .overlay {
  bottom: 0;
}

/* Der Text im Overlay */
.overlay-text {
  color: white;
  font-size: 1.2rem;
  padding: 1rem;
  text-align: center;
}

/* Beim Hover bewegt sich das Overlay nach oben */
.portfolio-item:hover .overlay {
  bottom: 0;
}



/* Contact*/
.contact-section {
  background: linear-gradient(to bottom, #042d3c, #06495c);
  color: white;
  padding: 5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.75);
}

.contact-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-text {
  flex: 1 1 40%;
}

.contact-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-text p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.contact-form {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-row input {
  flex: 1;
  padding: 0.8rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
}

.contact-form textarea {
  padding: 0.8rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  background-color: #22e8b7;
  color: #042d3c;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #11a7de;
}

/* Mobile (max. 768px): Neue Reihenfolge */
@media (max-width: 600px) {
  
  .hero-section {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 450px;
    background:#333;
  }

  .arrow-container {
    width: 100%;
    height: auto;
    position: relative;
  }

  .arrow {
    position: relative;
    width: 100%;
    height: 400px; /* Höhe der Pfeile */
    /*clip-path: polygon(0 0, 100% 0, 50% 100%);*/ /* Dreieck nach unten */
    /*clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);*/
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
  }

  .arrow-blue {
    background-color: #11a7de;
    z-index: 2;
    margin-top: -420px; /* Überlappung nach oben */
    animation: none; /* Animation auf Mobile optional aus */
  
    
  }

  .arrow-green {
    background-color: #22e8b7;
    z-index: 1;
    margin-top: 40px;
    animation: none;
  }

  .arrow-gray {
    background-color: #777;
    background-image: url('assets/hexpattern_bkg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 4;
    margin-top: -452px;

  }

  .foreground-content {
    position: relative;
    width: 80%;
    bottom: auto;
    left: auto;
    margin: 2rem auto;
    text-align: center;
    font-size: 1.1rem;
  }

  .logo {
    max-width: 60%;
    margin-bottom: 1rem;
  }
  
  .solutions-section {      
      background: linear-gradient(to bottom, #333, #163c4a);
      padding: 20px 5vw 7rem;
      box-shadow: none;
    }
  
  .solutions-grid {
    grid-template-columns: 1fr; 
    justify-items: center; /* Zentriert die Boxen in der Spalte */
  }
  
  
  .team-members {
    flex-direction: column; /* alle untereinander */
    align-items: center;
  }

  .team-member {
    flex: 1 1 100%; /* volle Breite */
    max-width: 70%; /* etwas Abstand an den Seiten */
  }
  
  .project-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-auto-flow: dense;
  }
  
  .portfolio-main {
  width: 80%;
 }

  .item1 {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .item2 {
    grid-column: 1 / 2;
  }

  .item3 {
    grid-column: 2 / 3;
  }

  .item6 {
    grid-column: 1 / -1;
  }

  .item5 {
    grid-column: 1 / -1;
  }
}

/* Imprint *********************************************************************************/

/* Contact*/
.imprint-section {
  background: linear-gradient(to bottom, #042d3c, #06495c);
  padding: 5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.75);
}

.footer-links {
    /*position: absolute;*/
    bottom: 20px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    cursor: pointer;
  }

  .footer-links a:hover {
    color: #00ffff;
  }

  /* Modal Styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
    padding-top: 60px;
  }

  .modal-content {
    background-image: url('assets/modal-background.jpg');
    background-size: cover;
    background-position: center;
    color: #BDBDBD;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    background-color: white; /* Fallback-Farbe */
    border-radius: 8px;
  }

  .close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
  }

  .close:hover,
  .close:focus {
    color: black;
  }
  
  
  /* Mobile Optimierung */
  @media (max-width: 600px) {
    .tagline {
      bottom: 30%;
      font-size: 1.8rem;
    }

    .footer-links {
      gap: 20px;
      bottom: 15px;
    }

    .footer-links a {
      font-size: 0.9rem;
    }

    .modal-content {
      padding: 20px;
    }
  }

@media (max-width: 600px) {
  
  .solution-grid {
    grid-template-columns: 1fr; 
    justify-items: center; /* Zentriert die Boxen in der Spalte */
  }
}



/* Animations *********************************************************************************/

            
        /* Keyframes */
        @keyframes slideBlue {
      from {
        transform: translateX(0%);
        opacity: 0;
      }
      to {
        transform: translateX(2%);
        opacity: 75%;
      }
    }

    @keyframes slideGreen {
      from {
        transform: translateX(0%);
        opacity: 0;
      }
      to {
        transform: translateX(4%);
        opacity: 50%;
      }
    }
          
    @keyframes slideleft {
      from {
        transform: translateX(-10%);
        opacity: 0%;
      }
      to {
        transform: translateX(0%);
        opacity: 100%;
      }
    }

    @keyframes shimmer {
      to {
        left: 100%;
      }
    }

