

.hero-container {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px
}


.hero-bg {
  background-size: cover;
  background-position: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.5);
  /* Abdunklung */
  width: 100%;
  padding: 60px 20px;
  color: white;
}

/* CSS von Antonio für Grundlayout HomePage */

/* Heading */

#headlineSection {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #FFFFFF;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 85vh;
}

/* Overlay */
#headlineSection::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  /* Je höher, desto dunkler */
  z-index: 0;
}

.headlineContent {
  margin-bottom: 30px;
  position: relative;
}

.headlineH1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.headlineP {
  font-size: 2rem;
  line-height: 1.5;
  margin-bottom: 30px;
  font-weight: bold;
  max-width: 70%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.headlineButtons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Backed By */

#backedBySection {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

.profH1Container {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 20px;
}

.profContainer {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 100px;
  margin-top: 2rem;
  padding: 0 20px;
}

.profElement {
  text-align: center;
  transition: transform 0.3s ease;
}

.profElement img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #08C044;
  background-color: #f5f5f5;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.profElement img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.profElement p {
  margin-top: 18px;
  font-size: 1.6rem;
  font-weight: 600;
  color: #222;
  letter-spacing: 0.4px;
  line-height: 1.4;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.partnerH1Container {
  margin-top: 3rem;
}

.partnerContainer {
  width: 90%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin: 1rem auto 40px;
  padding: 0 20px;
}

.partnerElement {
  flex: 0 1 250px;
  /* größere Breite erlaubt */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.partnerElement img {
  width: 100%;
  height: auto;
  max-width: 250px;
  /* hier Bildgröße steuern */
  filter: grayscale(100%) brightness(90%);
  transition: all 0.4s ease;
  border-radius: 8px;
}

.partnerElement img:hover {
  filter: grayscale(0%) brightness(100%);
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Bento Grid Layout */

#gridWbiteSection {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 100vh;
}

.gridContainer {
  display: grid;
  grid-auto-columns: 200px;
  grid-auto-rows: 150px;
  gap: 1.5rem;
  grid-template-areas:
    "box-1 box-2 box-2 box-3"
    "box-1 box-2 box-2 box-4"
    "box-5 box-6 box-7 box-7";
}

@media(max-width: 56em) {
  .gridContainer {
    display: grid;
    grid-auto-columns: 200px;
    grid-auto-rows: 150px;
    gap: 1em;
    grid-template-areas:
      "box-1 box-7 box-7"
      "box-1 box-2 box-2"
      "box-3 box-2 box-2"
      "box-4 box-5 box-6";
  }
}

@media(max-width: 40em) {
  .gridContainer {
    display: grid;
    grid-auto-columns: 210px;
    grid-auto-rows: 160px;
    gap: 1em;
    grid-template-areas:
      "box-1 box-3"
      "box-1 box-4"
      "box-2 box-2"
      "box-2 box-2"
      "box-7 box-7"
      "box-5 box-6";
  }
}

.box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 5%;
}

.box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(90deg, #9bea66, #4ba262, #93fbb9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.box:hover::before {
  transform: scaleX(1);
}

.box h2 {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.3;
  color: #1a202c;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.box h3 {
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.3;
  color: #2d3748;
  margin-bottom: 0.5rem;
}

.box h4 {
  font-weight: 500;
  font-size: 1rem;
  color: #4a5568;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.box p {
  line-height: 1.5;
  font-size: 0.9rem;
  color: #718096;
  opacity: 0.8;
}

.box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 1);
}

.box:hover h2,
.box:hover h3,
.box:hover h4 {
  transform: translateY(-2px);
}

.energy-icon::before {
  content: "⚡";
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}