/*------------------------------------------------------------------------------------------ General: */



@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Manrope:wght@200..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Libre Baskerville' !important;
  font-weight: 500 !important;
  color: #021F51 !important;
}

/*Grey: #f8f9fa*/

.btn {
  border-radius: 0 !important;
}

.btn-white {
  background-color: white !important;
  color: #021F51 !important;
  border: 1px solid white !important;
  border-radius: 2px !important;
  transition: .3s;
}

.btn-white:hover {
  background-color: transparent !important;
  color: white !important;
}

.btn-blue {
  background-color: #021F51 !important;
  color: white !important;
  border: 1px solid #021F51 !important;
  border-radius: 2px !important;
  transition: .3s;
}

.btn-blue:hover {
  background-color: transparent !important;
  color: #021F51 !important;
  border: 1px solid #021F51 !important;
}

/*------------------------------------------------------------------------------------------ Navbar: */

.logo-nav {
  width: 300px;
}

.navbar {
  padding: 10px 0 !important;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.transparent {
  background-color: transparent !important;
  box-shadow: none !important;
}

.navbar.scrolled {
  background-color: #021F51 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.offcanvas-body,
.offcanvas-header {
  background-color: #021F51 !important;
}

.offcanvas-header {
  border-bottom: 1px solid white;
}

.x-button {
  background: transparent;
  border: none;
}

.x-button i {
  color: white !important;
}

.logo-offcanvas {
  width: 200px;
}

.nav-link {
  color: white !important;
}

.navbar-toggler {
  border: none !important;
  background-color: white !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  padding: 8px !important;
}

.navbar-toggler i {
  font-size: xx-large;
  color: #021F51;
}

/*------------------------------------------------------------------------------------------ Hero: */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero h1 {
  color: white !important;
}

.hero p {
  color: white !important;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero .container {
  z-index: 2;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(to right, rgba(3, 42, 77, 0.85), rgba(3, 42, 77, 0) 70%);
  pointer-events: none;
  /* damit Klicks durchgelassen werden */
}

/*------------------------------------------------------------------------------------------ Section-1: */

.section-1 {
  padding: 150px 0;
}

.img-container-section-1 {
  border-radius: 2px;
  height: 70vh;
  background-image: url(../images/handshake.jpg);
  background-blend-mode: multiply;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/*------------------------------------------------------------------------------------------ Section-2: */

.section-2 {
  padding: 150px 0;
  background-color: #f8f9fa;
}

.content-container-1-section-2 {
  padding: 40px 30px;
  border-radius: 2px;
  background: linear-gradient(to top, rgba(3, 42, 77, 0.9), rgba(3, 42, 77, 0)),
    url('../images/construction-site.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  /* Optional: für gute Lesbarkeit */
  position: relative;
}

.content-container-2-section-2 {
  padding: 40px 30px;
  border-radius: 2px;
  background: linear-gradient(to top, rgba(3, 42, 77, 0.9), rgba(3, 42, 77, 0)),
    url('../images/explaining-ipad.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  /* Optional: für gute Lesbarkeit */
  position: relative;
}

.content-container-3-section-2 {
  padding: 40px 30px;
  border-radius: 2px;
  background: linear-gradient(to top, rgba(3, 42, 77, 0.9), rgba(3, 42, 77, 0)),
    url('../images/team.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  /* Optional: für gute Lesbarkeit */
  position: relative;
}

.content-container-4-section-2 {
  padding: 40px 30px;
  border-radius: 2px;
  background: linear-gradient(to top, rgba(3, 42, 77, 0.9), rgba(3, 42, 77, 0)),
    url('../images/windpark.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  /* Optional: für gute Lesbarkeit */
  position: relative;
}

.h4-section-2 {
  color: white !important;
}

.p-section-2 {
  color: white !important;
  margin: 0 !important;
}

.hr-section-2 {
  border: 1px solid white !important;
  opacity: 100% !important;
  width: 50%;
}

/*------------------------------------------------------------------------------------------ Section-3: */

.section-3 {
  padding: 150px 0;
}

.slider-container {
  overflow-x: auto;
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding-bottom: 20px;
}

.slider-item {
  flex: 0 0 auto;
  /* Wichtig: verhindert Zusammendrücken */
  width: 300px;
  height: 500px;
  background-color: #021F51;
  border-radius: 2px;
  scroll-snap-align: start;
  padding: 20px;
  color: white;
}

.slider-icon {
  width: 50px;
}

.slider-heading {
  color: white !important;
  margin: 0 !important;
}

.section-3-hr {
  opacity: 100% !important;
  border: 1px solid white !important;
  width: 50% !important;
}

/*------------------------------------------------------------------------------------------ Section-4: */

.section-4 {
  background-color: #021F51;
  padding: 150px 0;
}

.section-4-heading {
  color: white !important;
}

.section-4-paragraph {
  color: white !important;
}

.content-container-section-4 {
  background-color: white;
  border-radius: 2px;
  padding-bottom: 20px;
}

.content-container-section-4 img {
  width: 100%;
  height: 200px;
  border-radius: 2px 2px 0 0;
  object-fit: cover;
}

.content-container-section-4 h5 {
  margin: 20px !important;
}

.content-container-section-4 p {
  margin: 0 20px !important;
}

.content-container-section-4 a {
  margin: 0 20px !important;
}

/*------------------------------------------------------------------------------------------ Section-5: */

.section-5 {
  padding: 150px 0;
}

.content-container-section-5 {
  background-color: #021F51;
  border-radius: 2px;
  padding: 50px;
}

.content-container-section-5 hr {
  width: 50% !important;
  border: 1px solid white !important;
  opacity: 100% !important;
}

.content-container-section-5 h5 {
  color: white !important;
}

.content-container-section-5 li {
  color: white !important;
}

.content-container-section-5 p {
  color: white !important;
}

.content-container-section-5 ul {
  margin: 0 !important;
}

/*------------------------------------------------------------------------------------------ Section-6: */

.section-6 {
  padding: 150px 0;
  background-color: #f8f9fa !important;
}

.content-container-team {
  position: relative;
  background-image: url('../images/thumbnail_Robert_Ridolfi.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  color: white;
  overflow: hidden;
  border-radius: 2px;
  height: 500px;
}

.content-container-team h5 {
  color: white !important;
}

.content-container-team p {
  margin: 0 !important;
}

.content-container-team::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(to top,
      #021F51 0%,
      rgba(3, 42, 77, 0.8) 10%,
      rgba(3, 42, 77, 0.4) 40%,
      rgba(3, 42, 77, 0) 100%);
  z-index: 1;
}

.text-overlay {
  position: relative;
  z-index: 2;
  padding: 300px 20px 20px;
  width: 100%;
  background: transparent;
}

/*------------------------------------------------------------------------------------------ Section-6: */

.section-7 {
  padding: 150px 0;
}

.heading-contact {
  margin-top: 50px !important;
}

.content-container-section-7 {
  padding: 50px 20px;
  background-color: #021F51;
  border-radius: 2px;
}

.content-container-section-7 h2 {
  color: white !important;
}

.content-container-section-7 p {
  color: white !important;
}

.content-container-section-7 i {
  margin-right: 10px;
}

.content-container-section-7 img {
  width: 200px;
  margin: 0 auto;
}

.content-container-section-7 a {
  width: 100%;
}

/*------------------------------------------------------------------------------------------ Footer: */

footer {
  background-color: #021F51;
  padding: 20px 0 10px;
}

footer hr {
  width: 10% !important;
  border: 1px solid white !important;
  opacity: 100%;
  margin: 10px 0 !important;
}

footer img {
  width: 200px;
}

footer p {
  color: white !important;
}

footer a {
  text-decoration: none !important;
  color: white !important;
}

footer h6 {
  color: white !important;
}

/*------------------------------------------------------------------------------------------ Mediaquery: */

@media (min-width: 992px) {
  .content-container-section-4 {
    min-height: 500px;
  }
}

@media (max-width: 768px) {
  .logo-nav {
    width: 200px;
  }

  .hero {
    padding: 50px 0 0;
  }

  .section-1,
  .section-2,
  .section-3,
  .section-4,
  .section-5,
  .section-6,
  .section-7 {
    padding: 100px 0;
  }
}

@media (min-width: 1200px) {
  h1 {
    font-size: 50px !important;
  }

  h2 {
    font-size: 45px !important;
  }

  h3 {
    font-size: 40px !important;
  }

  h4 {
    font-size: 30px !important;
  }

  h5 {
    font-size: 25px !important;
  }

  h6 {
    font-size: 20px !important;
  }

  p {
    font-size: 18px !important;
  }

  a {
    font-size: 18px !important;
  }

  li {
    font-size: 18px !important;
  }

  small {
    font-size: 17px !important;
  }
}