@font-face {
    font-family: Manrope;
    src: url(Manrope-VariableFont_wght.ttf);
  }
  
  body {
    margin: 0;
    padding: 0;
    font-family: Manrope;
  }
  
  header {
    background-color: rgb(244, 244, 244);
    height: 120px;
    position: sticky;
    top: 0;
    z-index: 10;
    padding-left: 4%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); 
  }
  
  h1 {
    font-size: clamp(24px, 6vw, 38px);
    margin: 0;
  }
  
  h2 {
    font-size: clamp(22px, 5vw, 32px);
    margin: 0 0 12px;
  }
  
  h3 {
    font-size: clamp(18px, 4vw, 26px);
    margin: 0 0 10px;
  }
  h4 {
    font-size: clamp(16px, 3vw, 22px);
    margin: 0 0 10px;
  }
  
  p, #tagline {
    font-size: clamp(14px, 2.8vw, 18px);
    font-weight: 300;
    margin: 0;
  }

  #techHeadline {
    text-align: center;
  }

  #logo-karussel {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 40px 0;
  }

  #backButton {
    position: absolute;
    top: 50%;
    right: 4%;
    transform: translateY(-50%);
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 12px;
    font-family: Manrope;
    font-size: 14px;
    text-decoration: none;
  }
  
  #backButton:hover {
    background-color: rgb(244, 244, 244);
    color: black;
    cursor: pointer;
  }

  
  .carousel::-webkit-scrollbar {
    display: none;
  }
  
  .carousel-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f2f2f2;
    padding: 10px;
  }
  
  .carousel-item img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
    object-fit: contain;
  }
  
  #rotaLogos {
    display: flex;
    width: max-content;
    animation: scrollLogos 18s linear infinite;
  }
  
  #rotaLogos img {
    width: clamp(65px, 7vw, 85px);
    margin-right: 70px;
    flex-shrink: 0;
  }
  
  @keyframes scrollLogos {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-100% / 2));
    }
  }

  #about{
    margin-bottom: 1%;
    margin-top: 1%;
  }


  #tagline {
    margin-top: 6px;
  }
  
  #content {
    padding: 2%;
  }
  
  section {
    scroll-margin-top: 140px;
  }
  
  .bereich {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 30px;
    text-align: center;
  }

  #projektQR {
    background-color: white;
    padding: 1%;
    color: black;
    justify-content: center;
    margin-bottom: 3%;
  }
  #projektQR img {
    width: clamp(400px, 7vw, 600px);
    padding: 1%;
  }

  #QRflex {
    display: flex;
    justify-content: space-between; /* Bild und Text nebeneinander */
    align-items: center; /* Bild oben, Text unten */
    gap: 40px;
    flex-wrap: wrap;
    text-align: left;
  }
  
  #QRflex img {
    max-width: 100%;
    width: 40%;
    min-width: 280px;
  }
  
  #QRTextBlock {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    min-width: 280px;
    align-items: center;
    height: 100%;
  }
  
  #QRTextBlock p {
    text-align: center;
    margin-bottom: 2%;
  }
  
  #QRCodeLink {
    margin: 4%;
    padding: 12px 24px;
    border-radius: 15px;
    font-family: Manrope;
    font-weight: bold;
    font-size: clamp(14px, 2.5vw, 18px);
    background-color: rgb(244, 244, 244);
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: black;
  }
  
  #QRCodeLink:hover {
    background-color: rgb(32, 32, 32);
    color: white;
  }


  #projektCyan {
    background-color: white;
    padding: 1%;
    color: black;
    justify-content: center;
    margin-bottom: 3%;
  }
  #projektCyan img {
    width: clamp(400px, 7vw, 600px);
    padding: 1%;
  }

  #CCflex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: left;
  }
  #CCflex img {
    max-width: 100%;
    width: 40%;
    min-width: 280px;
  }

  #CCTextBlock {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    min-width: 280px;
    align-items: center;
    height: 100%;
  }

  #CCTextBlock p {
    text-align: center;
    margin: 2%;
  }

  #CCLink {
    padding: 12px 24px;
    border-radius: 15px;
    font-family: Manrope;
    font-weight: bold;
    font-size: clamp(14px, 2.5vw, 18px);
    background-color: rgb(244, 244, 244);
    border: none;
    cursor: pointer;
    margin: 4%;
    text-decoration: none;
    color: black;
  }

  #CCLink:hover {
    background-color: rgb(32, 32, 32);
    color: white;
  }


  #projektRechner {
    background-color: rgb(32, 32, 32);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 3%;
  }

  #scrollToProjetsBtn{
    padding: 12px;
    margin-bottom: 10%;
    font-family: Manrope;
    font-weight: bold;
    border: 0cap;
    border-radius: 15px;
    background-color: rgb(32, 32, 32);
    color: white;
    font-size: clamp(12px, 3vw, 20px);
}
#scrollToProjetsBtn:hover{
    background-color: rgb(244, 244, 244);
    color: black;
}

#downloadBtn{
  padding: 12px;
  margin: 1.5%;
  margin-bottom: 10%;
  font-family: Manrope;
  font-weight: bold;
  border: 0cap;
  border-radius: 15px;
  background-color: rgb(32, 32, 32);
  color: white;
  font-size: clamp(12px, 3vw, 20px);
}
#downloadBtn:hover{
  background-color: rgb(244, 244, 244);
  color: black;
}

#projectTitle {
  margin-bottom: 2%;
}

  @media (max-width: 900px) {
    .bereich {
      padding: 50px 30px;
    }
    p:not(#tagline){
      padding: 2%;
    }

    #rotaLogos img {
      margin-right: 35px;
    }

    #about{
      margin-top: 2%;
      margin-bottom: 2%;
    }

    #scrollToProjetsBtn{
      margin-bottom: 24%;
    }

    #QRflex {
      flex-direction: column;
      align-items: stretch;
      text-align: center;
    }
  
    #QRTextBlock {
      align-items: center;
      width: 100%;
    }

    #QRTextBlock p {
      text-align: center;
    }

    #projektQR img {
      width: 100%;
      max-width: 500px;
      margin: 0 auto;
    }
  
    #QRCodeLink {
      width: 80%;
      margin-top: 10px;
    }
    #CCflex {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    #CCTextBlock {
      width: 100%;
      align-items: center;
    }
  
    #CCTextBlock p {
      text-align: center;
    }
  
    #CCflex img {
      width: 100%;
      max-width: 500px;
      margin-top: 0px;
    }
  
    #CCLink {
      width: 80%;
      margin: 12px 0 8px;
    }
    #CCflex {
      flex-direction: column;
    }
  
    #projektCyan #CCflex img {
      order: 1;
    }
  
    #projektCyan #CCflex #CCTextBlock {
      order: 2;
    }
  }

  
