:root {
/* Color styles */
--ready4impact-primary-100: rgba(149, 165, 142, 1);
--ready4impact-primary-300: rgba(96, 120, 86, 1);
--ready4impact-primary-500: rgba(41, 74, 28, 1);
--ready4impact-primary-900: rgba(5, 8, 3, 1);


/* Text-size styles */
--ready4impact-h1: 45px;
--ready4impact-h2: 45px;
--ready4impact-h3: 34px;
--ready4impact-h4: 26px;
--ready4impact-h5: 18px;
--ready4impact-body: 16px;
}

@font-face {
  font-family: Aileron-light;
  src: url(../fonts/Aileron-Light.otf);
  font-display: swap;
}

@font-face {
  font-family: Aileron-regular;
  src: url(../fonts/Aileron-Regular.otf);
  font-display: swap;
}

@font-face {
  font-family: Aileron-bold;
  src: url(../fonts/Aileron-Bold.otf);
  font-display: swap;
}

::-moz-selection { /* Code for Firefox */
  background: #ecf3d5;
}

::selection {
  background: #ecf3d5;
}

.container-fluid {
  padding: 0px 64px;
  max-width: 2000px;
}

a {
  text-decoration: none;
  color: #003f5a;
}

/* Base Text styles */

h1 {
  font-family: "Aileron-bold";
  font-size: var(--ready4impact-h1);
  font-style: normal;
  line-height: 42px;
  letter-spacing: 0.9px;
  color: var(--ready4impact-primary-500);
}

h2 {
  font-family: "Aileron-bold";
  font-size: var(--ready4impact-h2);
  font-style: normal;
  font-weight: 500;
  line-height: 42px;
  color: var(--ready4impact-primary-500);
}

h3 {
  font-family: "Aileron-bold";
  font-size: var(--ready4impact-h3);
  font-style: normal;
  font-weight: 500;
  line-height: 32px;
  color: var(--ready4impact-primary-500);
}

h4 {
  font-family: "Aileron-bold";
}

h5 {
  font-family: "Aileron-regular";
  font-size: var(--ready4impact-body);
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  color: var(--ready4impact-primary-500);
}

p {
  font-family: "Aileron-light";
  margin-bottom: 0px;
  color: var(--ready4impact-primary-900);
  hyphens: auto; 
	text-align: justify
}

#datenschutz p {
  margin-bottom: 8px !important;
  width: 100%;
  text-wrap: wrap;
  overflow-wrap: break-word;
}

#datenschutz a {
  text-wrap: wrap;
  overflow-wrap: break-word;
}

span {
  font-family: "Aileron-light";
  color: var(--ready4impact-primary-500);
}

/* Navbar styles */

.navbar {
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: 0px;
  padding-right: 0px;
  background-color: transparent !important;
  position:fixed;
  width: 100vw;
  z-index: 2;
}

.navbar-logo-light {
  display: none;
}

.navbar-toggler {
  border: none;
  background-color: #fff;
}

.navbar-toggler-icon {
  background-image: url(../img/menu.svg) !important;
}

.navbar-collapse {
  flex-grow: 0;
}

.navbar-nav {
  flex-direction: row;
  gap: 56px;
}

.nav-link {
  font-family: "Aileron-regular";
  font-size: var(--ready4impact-body);
  font-style: normal;
  font-weight: 700;
  line-height: 100%; /* 18px */
  text-transform: uppercase;
  color: #ffffff !important;
}

.nav-link:hover {
  color: #ffffff !important;
  cursor: pointer;
}

.scrolled {
  background-color: var(--ready4impact-primary-500) !important;
}

.scrolled .nav-link {
  color: #fff !important;
}

.scrolled .navbar-logo-light {
  display: block;
}

.scrolled .navbar-logo-dark {
  display: none;
}

/* Header styles */

.header-slider-container {
  padding: 0px 0px 0px 64px;
}

.header-slide {
  display: flex;
  flex-direction: row;
}

.header-text {
  width: 50vw;
  height: 100vh;
  padding: 0px 64px 160px 64px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
}

.header-image {
  width: 50vw;
  height: 100vh;
}

.header-esg {
  margin-top: 200px;
}

.img-slide-1 {
  background-image: url("../img/index/slide-3.jpg");
  background-size: cover;
}

.img-slide-2 {
  background-image: url("../img/index/slide-2.jpg");
  background-size: cover;
  background-position: center;
}

.img-slide-3 {
  background-image: url("../img/index/slide-1.jpg");
  background-size: cover;
  background-position: center;
}

.header-slider {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  align-items: flex-start;
  justify-content: flex-start;
}

.header-slider a {
  position: relative !important;
  opacity: 1 !important;
  align-items: flex-start;
  justify-content: flex-start;
  width: auto;
}

.header-slider-left {
  rotate: 180deg;
}

button {
  background-color: none;
  border: none;
}

/* Main styles */

main {
  margin-bottom: 196px;
}

.section {
  margin-top: 196px;
}

/* Key Area styles */

.key-area-row {
  gap: 96px;
}

.key-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 64px;
  max-width: 45%;
}

/* Products styles */

.product-headline-row {
  align-items: center;
}

.products-headline {
  color: var(--ready4impact-primary-500);
  margin-bottom: 12px;
}

.margin-btm-24 {
  margin-bottom: 24px;
}

.products-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.button-products {
  max-width: fit-content;
  margin: auto;
}

/* Team styles */

.team-headline {
  margin-bottom: 12px;
}

.team-text {
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.margin-btm-64 {
  margin-bottom: 64px;
}

/* ESG styles */

.esg {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.esg:first-of-type {
  padding: 0px 32px 0px 15px;
}

.esg:last-of-type {
  padding: 0px 15px 0px 32px;
}

.esg-button {
  margin: auto;
}

.button-primary {
  margin-top: 24px;
  padding: 16px 32px;
  background-color: var(--ready4impact-primary-500);
  border-radius: 8px;
  color: #ffffff;
  font-family: "Aileron-light";
  font-size: var(--ready4impact-h5);
}

.button-primary:hover {
  background-color: var(--ready4impact-primary-300);
  text-decoration: underline;
  color: #ffffff;
}

.button-primary:active {
  color: #ffffff;
}

.button-secondary {
  margin-top: 24px;
  padding: 16px 32px;
  background-color: #fff;
  border: 1px solid var(--ready4impact-primary-500);
  border-radius: 8px;
  color: var(--ready4impact-primary-900);
  font-family: "Aileron-light";
  font-size: var(--ready4impact-h5);
}

.button-secondary:hover {
  background-color: #EFEFEF;
  border-color: transparent;
  text-decoration: none;
  color: var(--ready4impact-primary-900);
}

.button-secondary:active {
  color: #ffffff;
}

/* Contact styles */
.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 80%;
  margin: auto;
  border-radius: 12px;
  background-color: #EFEFEF;
  padding: 64px 64px;
  min-height: 320px;
  text-align: center;
  line-height: 120%;
}

/* Footer styles */

footer {
  padding: 48px 0px;
  background-color: var(--ready4impact-primary-500);
}

.footer-link-list {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 24px;
}

.footer-link {
  font-family: "Aileron-light";
  font-size: var(--ready4impact-h5);
  color: #ffffff;
  opacity: 80%;
  text-decoration: none;
}

.footer-link:hover {
  color: #ffffff;
  opacity: 1;
}

/* ESG Site styles */
.esg-impact {
  margin-top: 64px;
  margin-bottom: 96px;
}

.esg-impact p {
  margin-bottom: 12px;
}

.text-img  {
  display: flex;
  align-items: center;
  margin-top: 96px;
}

.text-img img {
  width: 100%;
  height: auto;
  max-width: 600px;
}

.text-img-last {
  align-items: flex-start;
}

.text-img-first {
  margin-top: 0px;
}

.text-img-first img {
  max-width: 400px;
}

ul {
  font-family: "Aileron-light";
  margin-bottom: 0px;
  color: var(--ready4impact-primary-900);
  hyphens: auto; 
	text-align: justify;
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 16px;
}

.esg-site li{
  margin-bottom: 12px;
}

.esg-site li:first-of-type{
  margin-top: 12px;
}

.esg-site .last-img {
  width: auto;
  max-height: 800px;
}

.image-side {

  background-size: cover;
}

/* Team Site styles */
.card-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 64px;
}

.team-card {
  background-color: #EFEFEF;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.2s;
}

.team-card:hover {
  background-color: var(--ready4impact-primary-100);
}

.team-card:hover .team-job-link {
  background-color: #fff;
}

.team-image img {
  width: 100%;
  overflow: hidden;
  transition: 0.2s;
}

.team-names {
  font-family: "Aileron-light";
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 20px;
  text-align: left;
  color: var(--ready4impact-primary-900);
}

.team-jobs {
  color: var(--ready4impact-primary-900);
  font-size: 12px;
  opacity: 50%;
  text-align: left;
  text-transform: uppercase;
}

.team-link:hover img {
  transform: scale(1.1);
}

.contact-buttons {
  display: flex;
  gap: 24px;
}

.button-icon {
  display: flex;
  width: 48px !important;
  height: 48px !important;
}

.mail-button {
  background-image: url(../img/team/mail.svg);
  background-size: contain;
}

.linkedin-button {
  background-image: url(../img/team/linkedin.svg);
  background-size: contain;
}

.team-site-single h5 {
  margin-bottom: 24px;
  text-transform: uppercase;
}

/* About us site styles */

.header-about-us {
  margin-top: 200px;
}

#wer-wir-sind {
  margin-top: 48px;
}

.about-header-img {
  width: 100%;
  height: 480px;
  background-image: url("../img/wer-wir-sind/header.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-us-text p {
  margin-bottom: 24px;
}

.about-us-text li {
  margin-bottom: 4px;
}

.push-up-48 {
  margin-top: 48px;
}

.push-down-24 {
  margin-bottom: 24px;
}

.text-over-list {
  margin-bottom: 12px !important;
}

i {
  font-style: italic !important;
}

b {
  font-family: Aileron-bold;
}

#wer-wir-sind span {
  font-family: "Aileron-light";
  margin-bottom: 0px;
  color: var(--ready4impact-primary-900);
  hyphens: auto; 
  text-align: justify
}

/* Just for Team card section */
@media (max-width: 1500px) {
  .card-list {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    justify-content: center;                    
  }
}

@media (max-width: 1331px) {
  .card-list {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    justify-content: center;                    
  }
}

/* Larger devices (desktop, less than 1140px) */
@media (max-width: 1199.98px) {

  .key-area-row {
    gap: 48px;
    justify-content: space-between;
  }
  
  .key-area {
    max-width: 45%;
  }

  .team-slide {
    max-height: 100%;
  }

  .team-img img {
    object-fit: cover;
  }

  .esg:first-of-type {
    margin-bottom: 64px;
  }

  .esg {
    padding: 0px 15px !important;
  }

}

@media (max-width: 1520px) {
  .navbar {
    background-color: #fff !important;
    box-shadow: 0px 10px 15px -3px rgba(41, 74, 28, 0.25);
  }

  .navbar .nav-link {
    color: var(--ready4impact-primary-500) !important;
  }
  
  .navbar .navbar-logo-light {
    display: none;
  }
  
  .navbar .navbar-logo-dark {
    display: block;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {

  body {
    overflow-x: hidden;
  }

  header {
    padding-top: 106px;
  }

  .navbar {
    background-color: #fff !important;
    box-shadow: 0px 10px 15px -3px rgba(41, 74, 28, 0.25);
  }

  .navbar .nav-link {
    color: var(--ready4impact-primary-100) !important;
  }
  
  .navbar .navbar-logo-light {
    display: none;
  }
  
  .navbar .navbar-logo-dark {
    display: block;
  }

  .header-slide {
    flex-direction: column-reverse;
  }

  .header-image {
    height: 50vh;
    width: 100%;
  }

  .header-text {
    height: 100%;
    padding: 24px 0px;
    width: 90vw;
  }

  .team-headline {
    padding: 0px 24px;
  }

  .team-slide {
    flex-direction: column-reverse;
    padding: 0px 24px;
  }

  .card-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .team-img {
    padding: 0px;
  }

  .two-images {
    display: flex;
    flex-direction: column;
  }

  .text-img-first {
    display: flex;
    align-items: flex-start;
  }
  
  .two-images img{
    width: 100%;
    max-height: 600px;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 12px;
    text-align: right;
  }

  .container-fluid {
    padding: 0px 24px !important;
  }

  #team .container-fluid {
    padding: 0px !important;
  }

  .image-side {
    display: none;
  }

  .about-header-img {
    height: 240px;
  }

  .header-about-us {
    margin-top: 120px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.99px) {

  .card-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  header {
    padding-top: 106px;
  }

  .navbar {
    background-color: #fff !important;
    box-shadow: 0px 10px 15px -3px rgba(41, 74, 28, 0.25);
  }

  .navbar .nav-link {
    color: var(--ready4impact-primary-100) !important;
  }
  
  .navbar .navbar-logo-light {
    display: none;
  }
  
  .navbar .navbar-logo-dark {
    display: block;
  }

  .footer-link-list {
    flex-direction: column;
    align-items: center;
  }

  .footer-link--brand {
    display: block;
    width: 100%;
    margin: auto;
    text-align: center;
    margin-bottom: 24px;
  }

  .container-fluid {
    padding: 0px 24px !important;
  }

  #team .container-fluid {
    padding: 0px !important;
  }

  .key-area-row {
    gap: 0px;
  }
  
  .key-area {
    max-width: 100%;
  }

  .img-left {
    flex-direction: column-reverse;
  }

  .team-site-single {
    .team-image {
      margin-bottom: 48px;
    }
  }

  .header-esg {
    margin-top: 100px;
  }

  .about-us-h1 {
    font-size: 28px;
    line-height: 120%;
  }

  .products-text {
    margin-bottom: 24px;
  }
}
