/* H2 */
.text-component h2 {
    margin-top: 60px !important;
}

/* Separator  */
.standard-spacing .separator {
    margin-top: 20px;}


/* Collection V3 hack - Script separat */
.collection-v3 {
    margin-top: 0px;
}

  h2.collection-v3-listing__heading {
    font-size: 2.375rem;
    line-height: 1.3em;
    font-family: "PwC ITC Charter", Georgia, Serif;
    font-style: normal;
    font-weight: normal;
    color: #2d2d2d;
  }


@media (max-width: 767px) {
h2.collection-v3-listing__heading {
        font-size: 1.6rem;
        line-height: 1.2em;
padding: 10px 0 20px;
    }
}

/* Quote */
#quote .text-component p {
margin-bottom: 15px !important;
}

.profile-wrapper {
  display: flex;
  align-items: flex-end; /* Bild unten im Container ausrichten */
  background: linear-gradient(135deg, #EEEFF1 0%, #CBD1D6 100%);
  padding: 30px 30px 0 30px;
  font-family: Arial, sans-serif;
  position: relative;
  clip-path: polygon(
    0 0,
    calc(100% - 80px) 0,
    100% 40px,
    100% 100%,
    80px 100%,
    0 calc(100% - 40px)
  );
  min-height: 500px; /* Höhe passend zum Bild */
  gap: 10px;
}

.profile-image {
  width: 500px;
  height: 500px;
  flex-shrink: 0; /* Bild schrumpft nicht */
  position: relative;
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.profile-text {
  max-width: 700px;
  color: #000;
  flex-grow: 1;  /* Text nimmt restlichen Platz ein */
  flex-shrink: 1; /* Text darf schrumpfen */
  flex-basis: auto;

  display: flex;
  flex-direction: column; /* Standard Textfluss */
  justify-content: center; /* Vertikale Zentrierung im Textcontainer */
  height: 500px; /* Gleiche Höhe wie Bild */
}

.profile-text h2 {
  font-weight: 500;
  font-size: 2.25rem;
  margin: 0 0 10px 0;
}

.profile-text h3 {
  font-weight: 700;
  font-size: 1.55rem;
  margin: 0 0 12px 0;
}

.profile-text h4 {
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0 0 12px 0;
}

.underline {
  width: 50px;
  height: 3px;
  background-color: #d93954;
  margin-bottom: 24px;
}

.profile-text p {
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 100%;
  margin-bottom: 40px;
}

/* Breakpoint zwischen 992px und 1199px */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .profile-wrapper {
    min-height: 300px;
    padding: 20px 20px 0 20px;
  }

  .profile-image {
    width: 400px;
    height: 400px;
  }

  .profile-text {
    height: auto;
  }
  
  .profile-text p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .profile-text h3 {
  font-weight: 700;
  font-size: 1.2rem;
  } 

  .profile-text h4 {
    font-size: 1rem;
  }  
}

/* Mobile Ansicht unter 992px: Spalten-Layout, Bild unten */
@media (max-width: 991.98px) {
  .profile-wrapper {
    flex-direction: column;
    align-items: center;  /* Zentriert die Items horizontal */
    clip-path: none;
    padding: 20px 20px 0 20px;
    position: relative;
  }

  .profile-text {
    max-width: 100%;
    margin-left: 0;
    height: auto;
    order: 1; /* Erst Text */
  }

  .profile-text h3 {
  font-weight: 700;
  font-size: 1.15rem;
  }

  .profile-text h4 {
    font-size: 1rem;
  } 

  .profile-text p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .profile-image {
    width: 70%;           /* Bild verkleinert */
    height: auto;
    order: 2;             /* Bild darunter */
    margin: 0;            /* Kein Abstand unten */
    padding-bottom: 0;
    align-self: center;   /* horizontal zentrieren im flex-container */
  }

  .profile-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
}