* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  /* font-size: 10px; */
  /* 10px / 16px = 0.625 = 62.5% */
  /* Percentage of user's browser font-size setting */
  font-size: 62.5% !important;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "inter", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #555;
  overflow-x: hidden;
}

.progress {
  font-size: 18rem;
  color: red;
}

/**************************/
/* GENERAL REUSABLE COMPONENTS */
/**************************/

.container {
  /* 1140px */
  max-width: 120rem;
  padding: 0 3.2rem;
  padding-bottom: 1.8rem;
  margin: 0 auto;
}

.container-tech-people {
  /* 1140px */
  max-width: 120rem;
  padding: 0 3.2rem;
  padding-bottom: 6rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  column-gap: 6.4rem;
  row-gap: 9.6rem;
}

.grid:not(:last-child) {
  margin-bottom: 12.8rem;
}

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);

  align-items: center; /* vertikale Zentrierung */
  justify-items: center; /* horizontale Zentrierung in den Spalten */
}

.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
}

.grid--5-cols {
  grid-template-columns: repeat(5, 1fr);
}

.grid--center-v {
  align-items: center;
}

.subheading {
  display: block;
  font-size: 1.6rem;
  font-weight: 200;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  letter-spacing: 0.75px;
  text-align: center;
}

.heading-primary,
.heading-secondary,
.heading-tertiary {
  font-weight: 700;
  color: #265147;
  /* color: #343a40; */
  letter-spacing: -0.5px;
}

.heading-primary {
  font-size: 8.4rem;
  line-height: 1.05;
  margin-bottom: 3.2rem;
  text-align: center;
  font-family: inter;
}

.heading-secondary {
  font-size: 4.4rem;
  line-height: 1.2;
  margin-bottom: 1.6rem;
  text-align: center;
  color: #265147;
  font-weight: 500;
}

.heading-tertiary {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 3.2rem;
}

.btn,
.btn:link,
.btn:visited {
  display: inline-block;

  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  padding: 1.6rem 3.2rem;
  border-radius: 9px;

  /* Only necessary for .btn */
  border: none;
  cursor: pointer;
  font-family: inherit;

  /* Put transition on original "state" */
  /* transition: background-color 0.3s; */
  transition: all 0.3s;
  margin-bottom: 1.6rem;
  z-index: 10;
  position: relative;
}

.btn--full:link,
.btn--full:visited {
  background-color: #0e7c7b;
  /*   background-color: #e67e22; */
  color: #fff;
}

.btn--full:hover,
.btn--full:active {
  background-color: #cf711f;
}

.btn--outline:link,
.btn--outline:visited {
  background-color: #fff;
  color: #2f6559;
  border: 1px solid #2f6559;
}

.btn--outline:hover,
.btn--outline:active {
  background-color: #fff;
  transition: all 0.3s;

  /* border: 3px solid #fff; */

  /* Trick to add border inside */
  box-shadow: inset 0 0 0 3px #fff;
  border: 2px solid #2f6559;
}

.btn--form {
  background-color: #45260a;
  color: #fff;
  align-self: end;
  padding: 1.2rem;
}

.btn--form:hover {
  background-color: #fff;
  color: #555;
}

.link:link,
.link:visited {
  display: inline-block;
  color: #2f6559;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: all 0.3s;
}

.link:hover,
.link:active {
  color: #2f6559;
  /*   color: #cf711f; */
  border-bottom: 1px solid transparent;
}

.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.list-item {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.list-icon {
  width: 3rem;
  height: 3rem;
  color: #2f6559;
}

*:focus {
  outline: none;
  /* outline: 4px dotted #e67e22; */
  /* outline-offset: 8px; */
  box-shadow: 0 0 0 0.8rem rgba(38, 87, 63, 0.248);
}

/* HELPER/SETTINGS CLASSES */
.margin-right-sm {
  margin-right: 1.6rem !important;
}

.margin-bottom-md {
  margin-bottom: 4.8rem !important;
}

.center-text {
  text-align: center;
}

strong {
  font-weight: 500;
}

/**************************/
/* HEADER */
/**************************/

.header {
  /* → macht den Header selbst transparent, sodass das Hero-Bild durchscheint */
  background-color: transparent !important;
  background-image: none !important;

  /* position: relative bleibt, damit sich .header-inner daran orientieren kann */
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;

  /* Höhe und Padding können entfallen, weil .header-inner die weiße Box übernimmt */
  height: auto;
  padding: 0;
}

.header-inner {
  position: absolute;
  top: 3rem; /* Abstand von oben – passe den Wert an, z. B. 2rem oder 3rem */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10; /* sorgt dafür, dass die Box über allem anderen liegt */

  width: calc(
    100% - 4rem
  ); /* nimmt die volle Breite minus je 2rem Rand links/rechts */
  max-width: 140rem;

  padding: 1.2rem 2.8rem; /* oben/unten 1.8rem, links/rechts 3.2rem */

  background-color: #ffffff; /* hier entsteht die weiße Box */
  border-radius: 1.2rem; /* Medium-Radius (ca. 12px) */
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);

  /* ─────────────────────────────────────────
     4) Flex-Layout für Logo + Nav-Links
     ───────────────────────────────────────── */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* .logo {
  height: 2.2rem;
}
 */

/**************************/
/* NAVIGATION */
/**************************/

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 3.2rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #265147;
  font-weight: 500;
  font-size: 1.8rem;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #265147;
  /*   color: #cf711f; */
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  color: #fff;
  background-color: #265147;

  /*  background-color: #e67e22; */
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
  background-color: #265147;
}

.nav-arrow {
  width: 2rem;
  height: 2rem;
  color: #cf711f;
  /*   color: #cf711f; */
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* MOBILE  */

.btn-mobile-nav {
  position: relative;
  z-index: 1000;
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;

  color: #333;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

.logo-text {
  font-size: 3.2rem;
  margin-right: auto;
  color: #2f6559;
}

/**************************/
/* HERO SECTION */
/**************************/

.section-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;

  /* 1. Hintergrund + Fallback */
  background: url("../img/Vernetzung-10.jpg") 80% center / cover no-repeat;
  background-color: #f9f6ef;

  /* 2. Seitenverhältnis & Mindesthöhe */
  aspect-ratio: 16 / 9;
  min-height: 70vh;

  /* 3. Layout & Abstände */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-inline-start: clamp(1.5rem, 5vw, 3rem);
  margin-bottom: clamp(10rem, 15vw, 0rem);

  /* 4. Typografie */
  font-family: "Inter", sans-serif;
}

/* Bauchbinde mit Blur */
.hero-overlay {
  position: absolute;
  top: 40%;
  transform: translateY(-33%);
  right: 0;
  left: auto;
  width: 110%;
  padding: 2.5rem 3.5rem;

  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari */
  border-radius: 1.2rem 0 0 1.2rem;

  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  overflow: hidden;

  z-index: 6;
}

/* Text in der Bauchbinde */
.hero-text {
  position: relative;
  z-index: 2;
  font-size: 2.4rem;
  line-height: 1.4;
  font-weight: 600;
  color: #265147;
  margin: 0;
  text-align: left;
}

.hero-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 2;
  align-items: flex-start;
}

.btn.btn--outline.hero-btn {
  font-size: 1.8rem;
  padding: 1.5rem 3.8rem;
}

.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  padding: 1.6rem 3.2rem;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s;
  margin-bottom: 1.6rem;
}

.btn--outline:link,
.btn--outline:visited {
  background-color: #fff;
  color: #2f6559;
  border: 1px solid #2f6559;
}

.btn--outline:hover,
.btn--outline:active {
  background-color: #fff;
  box-shadow: inset 0 0 0 3px #fff;
}

/* Optionale Struktur falls .hero-content genutzt wird */
.hero-content {
  position: absolute;
  top: 70%;
  right: 0rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  width: 70rem;
  max-width: calc(100% - 4rem);
  z-index: 5;
}

.btn,
.btn:link,
.btn:visited {
  display: inline-block;

  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  padding: 1.6rem 3.2rem;
  border-radius: 9px;

  /* Only necessary for .btn */
  border: none;
  cursor: pointer;
  font-family: inherit;

  /* Put transition on original "state" */
  /* transition: background-color 0.3s; */
  transition: all 0.3s;
  margin-bottom: 1.6rem;
}

.btn--outline:link,
.btn--outline:visited {
  background-color: #fff;
  color: #2f6559;
  border: 1px solid #2f6559;
}

.btn--outline:hover,
.btn--outline:active {
  background-color: #fff;

  /* border: 3px solid #fff; */

  /* Trick to add border inside */
  box-shadow: 0 0 0 3px rgba(47, 101, 89, 0.682);
}

.section-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.09); /* Heller Schleier */
  z-index: 1;
}

/**************************/
/* Section Hiring Cards */
/**************************/

.card-container {
  display: flex;
  flex-wrap: wrap;

  justify-content: center;
  padding-bottom: 2rem;
  padding-top: 2rem;
  gap: 2.8rem;
}

.card {
  flex: 1 1 280px;
  max-width: 380px;
  width: 100%;
  gap: 1.5rem;

  min-height: 450px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background-color: white;
  transition: transform 0.3s ease;
}

.card-img {
  width: 100%;
  aspect-ratio: 19 / 28;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.card-1 .card-img {
  object-position: 60% -60px;
  aspect-ratio: 2 / 3; /* definiert Höhe automatisch */
}

.card-2 .card-img {
  aspect-ratio: 2 / 2; /* definiert Höhe automatisch */
}

.card-3 .card-img {
  object-position: 48% -30px;
}

.section-hiring {
  padding: 1.6rem 0;
}

.consultation {
  text-align: center;
  font-size: 1.8rem;
}

.text-card-übertext {
  color: #555;
  font-size: 1.6rem;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.25px;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  pointer-events: none;
  box-shadow: inset 0 0 0 0 transparent;
  background-color: rgba(255, 255, 255, 0); /* für Aufhellung */
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.card:hover::after {
  box-shadow: inset 0 0 0 10px #82a39b;
  background-color: rgba(255, 255, 255, 0.08); /* ✨ leichte Aufhellung */
}

.card-wave {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 300px;
  overflow: hidden;
}
.card-wave svg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 1280px;
}

/* Diese Klassen verschieben die Welle in jeder Karte richtig */
.card-1 svg {
  transform: translateX(0);
}
.card-2 svg {
  transform: translateX(-390px);
}
.card-3 svg {
  transform: translateX(-838px);
}

.card-text {
  color: #d5e0de;
  padding: 4rem 2rem 2rem;
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  height: 100%; /* wichtig für vertikales Zentrieren */
  font-size: 1.6rem;
  font-weight: 100;
  line-height: 1.2;
}

.card-text p {
  display: none;
  font-size: 1.6rem;
  opacity: 0.85;
  margin: 0;
  line-height: 1.2;
}

.card:hover .card-text p {
  display: block;
  color: white;
  text-align: left;
}

.card-3 .img-container {
  height: 82%;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.card-3 .img-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: static;
  transform: none;
  min-width: 0;
  min-height: 0;
}

/**************************/
/* HOW IT WORKS SECTION */
/**************************/

.section-how {
  padding: 12rem 0;
}

.step-number {
  font-size: 8.6rem;
  font-weight: 600;
  color: #ddd;
  margin-bottom: 1.2rem;
}

.step-description {
  font-size: 1.8rem;
  line-height: 1.8;
}

.step-img-box {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 110%;
  max-width: 90rem; /* Bild + Kreise werden größer */
}

.step-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2rem; /* Runde Ecken auch fürs Bild */
  border: 6px solid #39705b;
}

.step-img-box::before,
.step-img-box::after {
  content: "";
  display: block;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.step-img-box::before {
  width: 60%;
  /* height: 60%; */

  /* 60% of parent's width */
  padding-bottom: 60%;

  background-color: #c5d7d0;
  z-index: -2;
}

.step-img-box::after {
  width: 45%;
  padding-bottom: 45%;
  background-color: #8bafa1;
  z-index: -1;
}

.step-img {
  width: 35%;
  /* z-index: 10; */
}

/**************************/
/* Hiring steps section */
/**************************/

.hiring-img {
  position: relative;
  z-index: 1;
  overflow: visible;
  background-image: url("../img/hiring-journey-4.jpg");
  background-size: cover;
  background-position: 100% center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 2vw;
  font-family: inter;
  margin-bottom: 10rem;
}

/**********************************
TESTIMONIALS SECTION 
*********************************/

.card-hiring-steps-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;

  gap: 3rem;
  z-index: 2;

  flex-wrap: wrap;
  margin-bottom: 12rem;
}

.container.center-text {
  margin-bottom: 1.8rem; /* oder 8rem je nach gewünschtem Abstand */
}

.card-hiring-steps {
  position: relative;
  background-color: #39705b;
  color: white;
  padding: 2rem;

  border-radius: 1rem;
  width: 300px;
  height: 300px;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 3px solid transparent;
  transition: border 0.3s ease, background-color 0.3s ease;
}

.card-hiring-steps {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* damit Text unten ist */
  color: white;
}

.card-hiring-steps:hover {
  border: 6px solid #82a39b;
  background-color: #3e7963; /* fester Farbton statt transparent */
}

.card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Beispielbild je Karte */
.card-hiring-steps:nth-child(1) .card-image {
  background-image: url("../img/hiring-11.jpg");
}

.card-hiring-steps:nth-child(2) .card-image {
  background-image: url("../img/hiring-10.jpg");
}

.card-hiring-steps:nth-child(3) .card-image {
  background-image: url("../img/hiring3.jpg");
}

/* Grünfilter */
.green-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(57, 112, 91, 0.7); /* grün + Transparenz */
  z-index: 1;
}

/* Inhalt über dem Bild */
.card-hiring-steps h3,
.card-hiring-steps .card-description {
  position: relative;
  z-index: 2;
  padding: 1rem;
}

.card-description {
  display: none;
  opacity: 0;
  font-size: 1.4rem;
  line-height: 1.4;
  transition: opacity 0.3s ease;
}

.card-hiring-steps:hover .card-description {
  display: block;
  opacity: 1;
}

.card-hiring-steps h3 {
  margin-top: 0;
  font-size: 1.6rem;
  margin-bottom: 1.2rem; /* war: 30rem – das war viel zu viel! */
}

.card-hiring-steps p {
  font-size: 0.95rem;
  line-height: 1.4;
}

/**********************************
TESTIMONIALS WAVE SECTION
**********************************/

/* Section-Wrapper */
.wave-section {
  position: relative;
  width: 100%;
  height: 100vh; /* oder passend zum Hintergrundbild */
  background-image: url("dein-wellenbild.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Inhalt zentrieren */
.wave-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* oder center, wenn du willst */
  gap: 2rem;
  position: absolute;
  left: 18%;
  top: 63%;
  transform: translateY(-50%);
}

/* Text */
.wave-caption {
  color: #cdd3ce;

  font-family: inter;

  letter-spacing: 1px;

  font-size: 3.8rem;
  font-weight: 500;
  line-height: 1.5;
  font-family: "Inter", sans-serif;
  text-shadow: 0 2px 4px rgba(31, 97, 56, 0.5);
  margin: 0;
}

/* Button */
.btn--team:link,
.btn--team:visited {
  display: inline-flex;
  align-items: center;
  gap: 10.5rem;
  background-color: transparent;
  color: #cdd3ce;
  border: 1px solid #fff;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
  font-size: 2.8rem;
  line-height: 1;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
}

.btn--team:hover,
.btn--team:active {
  color: #23db3f;
  box-shadow: inset 0 0 0 2px #fff;
  transition: all 0.3s;
}

.btn--glow {
  border: 2px solid white;
  padding: 1.6rem 3.2rem;
  border-radius: 10px;
  font-size: 2rem;
  color: white;
  background-color: transparent;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease-in-out;
}

.btn--glow::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 12px;
  background: radial-gradient(
    circle,
    rgba(255, 102, 0, 0.6) 0%,
    rgba(255, 102, 0, 0) 80%
  );
  z-index: -1;
  opacity: 0.6;
  filter: blur(8px);
  transition: all 0.3s ease-in-out;
}

/**************************/
/* FOOTER */
/**************************/

.footer-divider {
  border: none;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08); /* für dunkle Hintergründe */
  margin: 4rem 0; /* vertikaler Abstand */
}

.footer {
  padding: 12.8rem 0;
  border-top: 1px solid #eee;
}

.grid--footer {
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
}

.logo-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: block;
  margin-bottom: 3.2rem;
}

.footer-logo img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

.social-icon {
  height: 2.4rem;
  width: 2.4rem;
}

.copyright {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #767676;
  margin-top: auto;
}

.footer-heading {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 4rem;
}

.contacts {
  font-style: normal;
  font-size: 1.4rem;
  line-height: 1.6;
}

.address {
  margin-bottom: 2.4rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.4rem;
  color: #767676;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #555;
}
