/* =============================== Mission and Vision ====================== */
.vision-mission-section {
  display: flex;
  flex-direction: column;
  max-height: 750px;
}

.vm-header {
  background: radial-gradient(circle at bottom, #013f6f, #030305);
  color: white;
  text-align: center;
  padding: 50px 15px 200px;
  position: relative;
  z-index: 1;
}

.vm-header .vm-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.vm-header h2 {
 color: white;
}

.vm-header p {
  font-size: 16px;
  line-height: 1.6;
  margin: auto;
  padding: 15px 0 15px;
  max-width: 650px;
}

.vm-bottom {
  background-color: white;
  padding: 0px 20px;
  position: relative;
  top: -180px; /* elegante Überlappung */
  display: flex;
  justify-content: center;
}

.vm-cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  gap: 24px;
  max-width: 1000px;
  width: 100%;
  position: relative;
}

.vm-card {
  background-color: #fff;
  color: #444;
  border-radius: 4px;
  padding: 40px 2%;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.vm-card:hover {
  transform: translateY(-8px);
}

.vm-icon-img {
  width: 120px;
  height: auto;
}

.vm-card h3 {
  font-size: 2.5rem;
  font-weight: 100;
  color: #013f6f;
  margin: 0;
}

.vm-card p {
  color: #888;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .vm-card {
    padding: 30px 0px;
  }
}
@media (max-width: 900px) {

  .vision-mission-section{
    max-height: 1200px;
  }
  .vm-cards-wrapper {
    flex-direction: column;
    align-items: center;
    }
  .vm-card {
    padding: 40px 2%;
    }
  .vm-header p {
    padding: 0px 30px;
  }
}
@media (max-width: 900px) {
  .vm-header {
    padding: 50px 10px 200px;
  }
}






/* =============================== CEO Statement ====================== */

.ceo-statement {
  background-color: #f9f9f9;
  
  position: relative; /* Stapelkontext für z-index */
  z-index: 1;
}

.section-header {
  position: relative;
  z-index: 1;
}

.section-header h2 {
  background: linear-gradient( to top, #0093d2, #013f6f);
  padding: 100px 20px 90px;
  margin: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: white;
}


/* Wrapper für Bild + Zitat */
.ceo-content {
  padding: 0px 4% 30px;
}

/* Bild */
.ceo-image {
  max-width: 1200px;
  margin: -60px auto 0; /* Bild überlappt Header */
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 5 / 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2; /* wichtig: über dem Header */
}

.ceo-image img {
  width: 100%;
  height: auto;
  display: block;
  
}

/* Zitatbox */

.quote-box-container{
  padding: 0px 4% 40px;
}
.quote-box {
  background-color: #ffffff;
  margin: -60px auto 0;
  padding: 5px 4% 10px;
  max-width: 750px;
  border-radius: 4px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 3;
}

.quote-icon {
  font-size: 40px;
  color: #ddd;
  margin-bottom: 5px;
  text-align: center;
}

.quote-text {
  font-size: 18px;
  color: #222;
  line-height: 1.8;
}


@media (max-width: 900px){
  .quote-box {
    padding: 0px 10px 5px;
  }
 
  .ceo-image {
    aspect-ratio: 4 / 2;
  }

}

@media (max-width: 500px){
   .quote-text {
    margin: 0px 0px;
    line-height: 1,3;
    font-size: 15px;
  }
}







/* =============================== Geschichte ====================== */




.timeline-section {
  width: 100%;
  padding: 30px 0px 60px;

 }

.timeline-wrapper {
  display: grid;
  grid-template-columns: 1fr 8px 1fr;
  grid-template-areas: "left line right";
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
  align-items: start;
  padding: 0px;
}

/* Reihenfolge normal */
.timeline-left {
  grid-area: left;
  text-align: right;
}

.timeline-right {
  grid-area: right;
}

.timeline-line {
  grid-area: line;
  background-color: #013f6f;
  width: 8px;
  height: 150%;
  margin: 0 auto;
  position: relative;
}

#timeline-line-end {
  height: 100%;
}
/* Reverse Layout */
.timeline-section.reverse .timeline-wrapper {
  grid-template-areas: "right line left";
}

.timeline-section.reverse .timeline-left {
  grid-area: right;
  text-align: right;
}

.timeline-section.reverse .timeline-right {
  grid-area: left;
}

/* Jahr, Bild und Textformatierungen */
.timeline-year {
  font-size: 48px;
  color: #013f6f;
  margin-bottom: 0px;
  position: relative;
  z-index: 5;
  padding-top: 12px;
  font-family: ;
  font-weight: 600;

}

.pdd-r-50{
  padding-right: 50px;
}
.pdd-l-50{
  padding-left: 50px;
}

.timeline-left img,
.timeline-right img {
  border-radius: 4px;
  margin-top: 0px;
  width: 100%;        /* passt sich dem Container an */
  max-width: 400px;   /* aber nicht größer als 500px */
  height: auto;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  z-index: 1;
}

.timeline-left h2,
.timeline-right h2 {
  font-size: 24px;
  text-transform: uppercase;
  color: #013f6f;
  margin-bottom: 16px;
}

.timeline-left p,
.timeline-right p {
  font-size: 18px;
  color: #013f6f;
  line-height: 1.5;
  padding: 0px 10px;
}



/* ========== Responsive design =========== */
@media (max-width: 900px) {
  /* Wrapper wird einspaltig */
  .timeline-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 15px;
    position: relative;
    gap: 10px;
  }

  /* Linie ganz nach links */
  .timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 4px;
    transform: none;
    z-index: 0;
  }

  /* Inhalte zentrieren und stapeln */
  .timeline-left,
  .timeline-right {
    width: 100%;
    text-align: left;
    padding-left: 24px; /* Abstand zur Linie */
    box-sizing: border-box;
  }

  /* Bild kleiner */
  .timeline-left img,
  .timeline-right img {
    max-width: 700px;
    width: 100%;
    margin-bottom: 10px;
    aspect-ratio: 4 / 2;
  }

  /* Text kleiner & kompakter */
  .timeline-left h2,
  .timeline-right h2 {
    font-size: 20px;
    margin-bottom: 12px;
    text-align: left;
  }

  .timeline-left p,
  .timeline-right p {
    font-size: 16px;
    line-height: 1.4;
    text-align: left;
  }

  .pdd-r-50,
  .pdd-l-50 {
    padding-right: 0 !important;
    padding-left: 20px !important;
  }


  /* Für normale Sektionen: Bild (timeline-left) oben, Text (timeline-right) unten – passt */
  .timeline-left {
    order: 0;
  }

  .timeline-right {
    order: 1;
  }

  /* Für .reverse-Sektionen: Reihenfolge umdrehen, damit Bild + Jahr oben ist */
  .timeline-section.reverse .timeline-left {
    order: 1;
  }

  .timeline-section.reverse .timeline-right {
    order: 0;
  }
}

@media (max-width: 500px) {

  .timeline-left img,
  .timeline-right img {
      aspect-ratio: 3 / 2;
  }
  .timeline-wrapper {
    padding: 0 10px;
  }
}








/* =============================== Team =============================== */

.team-section {
  padding: 30px 15px 60px;
  background: #f9f9f9;
}

.team-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
  max-width: 1200px;
  margin: 40px auto;

}

.team-card {
  text-align: center;
  background-color: white;
  border-radius: 4px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
}

.team-card h3 {
  color: #013f6f;
  font-size: 24px
  margin-bottom: 8px;
}

.team-card p {
  color: #555;
  font-size: 16px;
  margin: 0;
}

.team-card-line-60 {
  border: none;
  border-top: 1px solid #ddd;
  margin: 10px auto;
  width: 60%;
}
.team-card-line-30 {
  border: none;
  border-top: 1px solid #ddd;
  margin: 10px auto;
  width: 30%;
}

.team-tenure {
  color: #777;
  margin-top: 5px;
  line-height: 1.4;
}

.team-phone {
  color: #444;
  font-size: 15px;
  margin-top: 5px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .team-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    
  }
}

@media (max-width: 500px) {
  .team-wrapper {
    grid-template-columns: 1fr;
   
    gap: 10px;
  }
  .team-section {
     padding: 30px 10px 60px;
  }
  .team-card {
    padding: 15px;
    margin: 0 auto;
  }
}








